Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 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[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[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)
public static Output<GetDeploymentEnvironmentsResult> getDeploymentEnvironments(GetDeploymentEnvironmentsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:GoldenGate/getDeploymentEnvironments:getDeploymentEnvironments
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentId 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<GetDeployment Environments Filter> 
- CompartmentId 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
[]GetDeployment Environments Filter 
- compartmentId 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<GetDeployment Environments Filter> 
- compartmentId 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
GetDeployment 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[GetDeployment Environments Filter] 
- compartmentId 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:
- CompartmentId string
- DeploymentEnvironment 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<GetDeployment Environments Filter> 
- CompartmentId string
- DeploymentEnvironment []GetCollections Deployment Environments Deployment Environment Collection 
- The list of deployment_environment_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]GetDeployment Environments Filter 
- compartmentId String
- deploymentEnvironment 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<GetDeployment Environments Filter> 
- compartmentId string
- deploymentEnvironment GetCollections Deployment Environments Deployment Environment Collection[] 
- The list of deployment_environment_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- filters
GetDeployment Environments Filter[] 
- compartment_id str
- deployment_environment_ Sequence[Getcollections Deployment Environments Deployment Environment Collection] 
- The list of deployment_environment_collection.
- id str
- The provider-assigned unique ID for this managed resource.
- filters
Sequence[GetDeployment Environments Filter] 
- compartmentId String
- deploymentEnvironment 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<GetDeployment Environments Deployment Environment Collection Item> 
- Array of DeploymentEnvironmentSummary objects.
- Items
[]GetDeployment Environments Deployment Environment Collection Item 
- Array of DeploymentEnvironmentSummary objects.
- items
List<GetDeployment Environments Deployment Environment Collection Item> 
- Array of DeploymentEnvironmentSummary objects.
- items
GetDeployment Environments Deployment Environment Collection Item[] 
- Array of DeploymentEnvironmentSummary objects.
- items
Sequence[GetDeployment 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'.
- DefaultCpu intCore Count 
- The default CPU core count.
- DisplayName string
- An object's Display Name.
- EnvironmentType string
- Specifies whether the deployment is used in a production or development/testing environment.
- IsAuto boolScaling Enabled By Default 
- Specifies whether the "Auto scaling" option should be enabled by default or not.
- MaxCpu intCore Count 
- The maximum CPU core count.
- MemoryPer intOcpu In Gbs 
- The multiplier value between CPU core count and memory size.
- MinCpu intCore Count 
- The minimum CPU core count.
- NetworkBandwidth intPer Ocpu In Gbps 
- The multiplier value between CPU core count and network bandwidth.
- StorageUsage 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'.
- DefaultCpu intCore Count 
- The default CPU core count.
- DisplayName string
- An object's Display Name.
- EnvironmentType string
- Specifies whether the deployment is used in a production or development/testing environment.
- IsAuto boolScaling Enabled By Default 
- Specifies whether the "Auto scaling" option should be enabled by default or not.
- MaxCpu intCore Count 
- The maximum CPU core count.
- MemoryPer intOcpu In Gbs 
- The multiplier value between CPU core count and memory size.
- MinCpu intCore Count 
- The minimum CPU core count.
- NetworkBandwidth intPer Ocpu In Gbps 
- The multiplier value between CPU core count and network bandwidth.
- StorageUsage 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'.
- defaultCpu IntegerCore Count 
- The default CPU core count.
- displayName String
- An object's Display Name.
- environmentType String
- Specifies whether the deployment is used in a production or development/testing environment.
- isAuto BooleanScaling Enabled By Default 
- Specifies whether the "Auto scaling" option should be enabled by default or not.
- maxCpu IntegerCore Count 
- The maximum CPU core count.
- memoryPer IntegerOcpu In Gbs 
- The multiplier value between CPU core count and memory size.
- minCpu IntegerCore Count 
- The minimum CPU core count.
- networkBandwidth IntegerPer Ocpu In Gbps 
- The multiplier value between CPU core count and network bandwidth.
- storageUsage 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'.
- defaultCpu numberCore Count 
- The default CPU core count.
- displayName string
- An object's Display Name.
- environmentType string
- Specifies whether the deployment is used in a production or development/testing environment.
- isAuto booleanScaling Enabled By Default 
- Specifies whether the "Auto scaling" option should be enabled by default or not.
- maxCpu numberCore Count 
- The maximum CPU core count.
- memoryPer numberOcpu In Gbs 
- The multiplier value between CPU core count and memory size.
- minCpu numberCore Count 
- The minimum CPU core count.
- networkBandwidth numberPer Ocpu In Gbps 
- The multiplier value between CPU core count and network bandwidth.
- storageUsage 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'.
- defaultCpu NumberCore Count 
- The default CPU core count.
- displayName String
- An object's Display Name.
- environmentType String
- Specifies whether the deployment is used in a production or development/testing environment.
- isAuto BooleanScaling Enabled By Default 
- Specifies whether the "Auto scaling" option should be enabled by default or not.
- maxCpu NumberCore Count 
- The maximum CPU core count.
- memoryPer NumberOcpu In Gbs 
- The multiplier value between CPU core count and memory size.
- minCpu NumberCore Count 
- The minimum CPU core count.
- networkBandwidth NumberPer Ocpu In Gbps 
- The multiplier value between CPU core count and network bandwidth.
- storageUsage 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 ociTerraform Provider.