Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.GoldenGate.getDeploymentEnvironments
Explore with Pulumi AI
This data source provides the list of Deployment Environments in Oracle Cloud Infrastructure Golden Gate service.
Returns an array of DeploymentEnvironmentDescriptor
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDeploymentEnvironments = oci.GoldenGate.getDeploymentEnvironments({
compartmentId: compartmentId,
});
import pulumi
import pulumi_oci as oci
test_deployment_environments = oci.GoldenGate.get_deployment_environments(compartment_id=compartment_id)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/GoldenGate"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := GoldenGate.GetDeploymentEnvironments(ctx, &goldengate.GetDeploymentEnvironmentsArgs{
CompartmentId: compartmentId,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testDeploymentEnvironments = Oci.GoldenGate.GetDeploymentEnvironments.Invoke(new()
{
CompartmentId = compartmentId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.GoldenGate.GoldenGateFunctions;
import com.pulumi.oci.GoldenGate.inputs.GetDeploymentEnvironmentsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testDeploymentEnvironments = GoldenGateFunctions.getDeploymentEnvironments(GetDeploymentEnvironmentsArgs.builder()
.compartmentId(compartmentId)
.build());
}
}
variables:
testDeploymentEnvironments:
fn::invoke:
Function: oci:GoldenGate:getDeploymentEnvironments
Arguments:
compartmentId: ${compartmentId}
Using getDeploymentEnvironments
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDeploymentEnvironments(args: GetDeploymentEnvironmentsArgs, opts?: InvokeOptions): Promise<GetDeploymentEnvironmentsResult>
function getDeploymentEnvironmentsOutput(args: GetDeploymentEnvironmentsOutputArgs, opts?: InvokeOptions): Output<GetDeploymentEnvironmentsResult>
def get_deployment_environments(compartment_id: Optional[str] = None,
filters: Optional[Sequence[_goldengate.GetDeploymentEnvironmentsFilter]] = None,
opts: Optional[InvokeOptions] = None) -> GetDeploymentEnvironmentsResult
def get_deployment_environments_output(compartment_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_goldengate.GetDeploymentEnvironmentsFilterArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDeploymentEnvironmentsResult]
func GetDeploymentEnvironments(ctx *Context, args *GetDeploymentEnvironmentsArgs, opts ...InvokeOption) (*GetDeploymentEnvironmentsResult, error)
func GetDeploymentEnvironmentsOutput(ctx *Context, args *GetDeploymentEnvironmentsOutputArgs, opts ...InvokeOption) GetDeploymentEnvironmentsResultOutput
> Note: This function is named GetDeploymentEnvironments
in the Go SDK.
public static class GetDeploymentEnvironments
{
public static Task<GetDeploymentEnvironmentsResult> InvokeAsync(GetDeploymentEnvironmentsArgs args, InvokeOptions? opts = null)
public static Output<GetDeploymentEnvironmentsResult> Invoke(GetDeploymentEnvironmentsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDeploymentEnvironmentsResult> getDeploymentEnvironments(GetDeploymentEnvironmentsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:GoldenGate/getDeploymentEnvironments:getDeploymentEnvironments
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request concerns multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used.
- Filters
List<Get
Deployment Environments Filter>
- Compartment
Id string - The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request concerns multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used.
- Filters
[]Get
Deployment Environments Filter
- compartment
Id String - The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request concerns multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used.
- filters
List<Get
Deployment Environments Filter>
- compartment
Id string - The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request concerns multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used.
- filters
Get
Deployment Environments Filter[]
- compartment_
id str - The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request concerns multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used.
- filters
Sequence[goldengate.
Get Deployment Environments Filter]
- compartment
Id String - The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request concerns multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used.
- filters List<Property Map>
getDeploymentEnvironments Result
The following output properties are available:
- Compartment
Id string - Deployment
Environment List<GetCollections Deployment Environments Deployment Environment Collection> - The list of deployment_environment_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
List<Get
Deployment Environments Filter>
- Compartment
Id string - Deployment
Environment []GetCollections Deployment Environments Deployment Environment Collection - The list of deployment_environment_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]Get
Deployment Environments Filter
- compartment
Id String - deployment
Environment List<GetCollections Deployment Environments Deployment Environment Collection> - The list of deployment_environment_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- filters
List<Get
Deployment Environments Filter>
- compartment
Id string - deployment
Environment GetCollections Deployment Environments Deployment Environment Collection[] - The list of deployment_environment_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- filters
Get
Deployment Environments Filter[]
- compartment_
id str - deployment_
environment_ Sequence[goldengate.collections Get Deployment Environments Deployment Environment Collection] - The list of deployment_environment_collection.
- id str
- The provider-assigned unique ID for this managed resource.
- filters
Sequence[goldengate.
Get Deployment Environments Filter]
- compartment
Id String - deployment
Environment List<Property Map>Collections - The list of deployment_environment_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- filters List<Property Map>
Supporting Types
GetDeploymentEnvironmentsDeploymentEnvironmentCollection
- Items
List<Get
Deployment Environments Deployment Environment Collection Item> - Array of DeploymentEnvironmentSummary objects.
- Items
[]Get
Deployment Environments Deployment Environment Collection Item - Array of DeploymentEnvironmentSummary objects.
- items
List<Get
Deployment Environments Deployment Environment Collection Item> - Array of DeploymentEnvironmentSummary objects.
- items
Get
Deployment Environments Deployment Environment Collection Item[] - Array of DeploymentEnvironmentSummary objects.
- items
Sequence[goldengate.
Get Deployment Environments Deployment Environment Collection Item] - Array of DeploymentEnvironmentSummary objects.
- items List<Property Map>
- Array of DeploymentEnvironmentSummary objects.
GetDeploymentEnvironmentsDeploymentEnvironmentCollectionItem
- Category string
- The deployment category defines the broad separation of the deployment type into three categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS' and 'DATA_TRANSFORMS'.
- Default
Cpu intCore Count - The default CPU core count.
- Display
Name string - An object's Display Name.
- Environment
Type string - Specifies whether the deployment is used in a production or development/testing environment.
- Is
Auto boolScaling Enabled By Default - Specifies whether the "Auto scaling" option should be enabled by default or not.
- Max
Cpu intCore Count - The maximum CPU core count.
- Memory
Per intOcpu In Gbs - The multiplier value between CPU core count and memory size.
- Min
Cpu intCore Count - The minimum CPU core count.
- Network
Bandwidth intPer Ocpu In Gbps - The multiplier value between CPU core count and network bandwidth.
- Storage
Usage intLimit Per Ocpu In Gbs - The multiplier value between CPU core count and storage usage limit size.
- Category string
- The deployment category defines the broad separation of the deployment type into three categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS' and 'DATA_TRANSFORMS'.
- Default
Cpu intCore Count - The default CPU core count.
- Display
Name string - An object's Display Name.
- Environment
Type string - Specifies whether the deployment is used in a production or development/testing environment.
- Is
Auto boolScaling Enabled By Default - Specifies whether the "Auto scaling" option should be enabled by default or not.
- Max
Cpu intCore Count - The maximum CPU core count.
- Memory
Per intOcpu In Gbs - The multiplier value between CPU core count and memory size.
- Min
Cpu intCore Count - The minimum CPU core count.
- Network
Bandwidth intPer Ocpu In Gbps - The multiplier value between CPU core count and network bandwidth.
- Storage
Usage intLimit Per Ocpu In Gbs - The multiplier value between CPU core count and storage usage limit size.
- category String
- The deployment category defines the broad separation of the deployment type into three categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS' and 'DATA_TRANSFORMS'.
- default
Cpu IntegerCore Count - The default CPU core count.
- display
Name String - An object's Display Name.
- environment
Type String - Specifies whether the deployment is used in a production or development/testing environment.
- is
Auto BooleanScaling Enabled By Default - Specifies whether the "Auto scaling" option should be enabled by default or not.
- max
Cpu IntegerCore Count - The maximum CPU core count.
- memory
Per IntegerOcpu In Gbs - The multiplier value between CPU core count and memory size.
- min
Cpu IntegerCore Count - The minimum CPU core count.
- network
Bandwidth IntegerPer Ocpu In Gbps - The multiplier value between CPU core count and network bandwidth.
- storage
Usage IntegerLimit Per Ocpu In Gbs - The multiplier value between CPU core count and storage usage limit size.
- category string
- The deployment category defines the broad separation of the deployment type into three categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS' and 'DATA_TRANSFORMS'.
- default
Cpu numberCore Count - The default CPU core count.
- display
Name string - An object's Display Name.
- environment
Type string - Specifies whether the deployment is used in a production or development/testing environment.
- is
Auto booleanScaling Enabled By Default - Specifies whether the "Auto scaling" option should be enabled by default or not.
- max
Cpu numberCore Count - The maximum CPU core count.
- memory
Per numberOcpu In Gbs - The multiplier value between CPU core count and memory size.
- min
Cpu numberCore Count - The minimum CPU core count.
- network
Bandwidth numberPer Ocpu In Gbps - The multiplier value between CPU core count and network bandwidth.
- storage
Usage numberLimit Per Ocpu In Gbs - The multiplier value between CPU core count and storage usage limit size.
- category str
- The deployment category defines the broad separation of the deployment type into three categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS' and 'DATA_TRANSFORMS'.
- default_
cpu_ intcore_ count - The default CPU core count.
- display_
name str - An object's Display Name.
- environment_
type str - Specifies whether the deployment is used in a production or development/testing environment.
- is_
auto_ boolscaling_ enabled_ by_ default - Specifies whether the "Auto scaling" option should be enabled by default or not.
- max_
cpu_ intcore_ count - The maximum CPU core count.
- memory_
per_ intocpu_ in_ gbs - The multiplier value between CPU core count and memory size.
- min_
cpu_ intcore_ count - The minimum CPU core count.
- network_
bandwidth_ intper_ ocpu_ in_ gbps - The multiplier value between CPU core count and network bandwidth.
- storage_
usage_ intlimit_ per_ ocpu_ in_ gbs - The multiplier value between CPU core count and storage usage limit size.
- category String
- The deployment category defines the broad separation of the deployment type into three categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS' and 'DATA_TRANSFORMS'.
- default
Cpu NumberCore Count - The default CPU core count.
- display
Name String - An object's Display Name.
- environment
Type String - Specifies whether the deployment is used in a production or development/testing environment.
- is
Auto BooleanScaling Enabled By Default - Specifies whether the "Auto scaling" option should be enabled by default or not.
- max
Cpu NumberCore Count - The maximum CPU core count.
- memory
Per NumberOcpu In Gbs - The multiplier value between CPU core count and memory size.
- min
Cpu NumberCore Count - The minimum CPU core count.
- network
Bandwidth NumberPer Ocpu In Gbps - The multiplier value between CPU core count and network bandwidth.
- storage
Usage NumberLimit Per Ocpu In Gbs - The multiplier value between CPU core count and storage usage limit size.
GetDeploymentEnvironmentsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.