1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. GoldenGate
  5. getDeploymentEnvironments
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.GoldenGate.getDeploymentEnvironments

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    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:

    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<GetDeploymentEnvironmentsFilter>
    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 []GetDeploymentEnvironmentsFilter
    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<GetDeploymentEnvironmentsFilter>
    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 GetDeploymentEnvironmentsFilter[]
    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.GetDeploymentEnvironmentsFilter]
    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
    DeploymentEnvironmentCollections List<GetDeploymentEnvironmentsDeploymentEnvironmentCollection>
    The list of deployment_environment_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters List<GetDeploymentEnvironmentsFilter>
    CompartmentId string
    DeploymentEnvironmentCollections []GetDeploymentEnvironmentsDeploymentEnvironmentCollection
    The list of deployment_environment_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters []GetDeploymentEnvironmentsFilter
    compartmentId String
    deploymentEnvironmentCollections List<GetDeploymentEnvironmentsDeploymentEnvironmentCollection>
    The list of deployment_environment_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    filters List<GetDeploymentEnvironmentsFilter>
    compartmentId string
    deploymentEnvironmentCollections GetDeploymentEnvironmentsDeploymentEnvironmentCollection[]
    The list of deployment_environment_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    filters GetDeploymentEnvironmentsFilter[]
    compartmentId String
    deploymentEnvironmentCollections List<Property Map>
    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 []GetDeploymentEnvironmentsDeploymentEnvironmentCollectionItem
    Array of DeploymentEnvironmentSummary objects.
    items GetDeploymentEnvironmentsDeploymentEnvironmentCollectionItem[]
    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'.
    DefaultCpuCoreCount int
    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.
    IsAutoScalingEnabledByDefault bool
    Specifies whether the "Auto scaling" option should be enabled by default or not.
    MaxCpuCoreCount int
    The maximum CPU core count.
    MemoryPerOcpuInGbs int
    The multiplier value between CPU core count and memory size.
    MinCpuCoreCount int
    The minimum CPU core count.
    NetworkBandwidthPerOcpuInGbps int
    The multiplier value between CPU core count and network bandwidth.
    StorageUsageLimitPerOcpuInGbs int
    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'.
    DefaultCpuCoreCount int
    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.
    IsAutoScalingEnabledByDefault bool
    Specifies whether the "Auto scaling" option should be enabled by default or not.
    MaxCpuCoreCount int
    The maximum CPU core count.
    MemoryPerOcpuInGbs int
    The multiplier value between CPU core count and memory size.
    MinCpuCoreCount int
    The minimum CPU core count.
    NetworkBandwidthPerOcpuInGbps int
    The multiplier value between CPU core count and network bandwidth.
    StorageUsageLimitPerOcpuInGbs int
    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'.
    defaultCpuCoreCount Integer
    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.
    isAutoScalingEnabledByDefault Boolean
    Specifies whether the "Auto scaling" option should be enabled by default or not.
    maxCpuCoreCount Integer
    The maximum CPU core count.
    memoryPerOcpuInGbs Integer
    The multiplier value between CPU core count and memory size.
    minCpuCoreCount Integer
    The minimum CPU core count.
    networkBandwidthPerOcpuInGbps Integer
    The multiplier value between CPU core count and network bandwidth.
    storageUsageLimitPerOcpuInGbs Integer
    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'.
    defaultCpuCoreCount number
    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.
    isAutoScalingEnabledByDefault boolean
    Specifies whether the "Auto scaling" option should be enabled by default or not.
    maxCpuCoreCount number
    The maximum CPU core count.
    memoryPerOcpuInGbs number
    The multiplier value between CPU core count and memory size.
    minCpuCoreCount number
    The minimum CPU core count.
    networkBandwidthPerOcpuInGbps number
    The multiplier value between CPU core count and network bandwidth.
    storageUsageLimitPerOcpuInGbs number
    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_core_count int
    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_scaling_enabled_by_default bool
    Specifies whether the "Auto scaling" option should be enabled by default or not.
    max_cpu_core_count int
    The maximum CPU core count.
    memory_per_ocpu_in_gbs int
    The multiplier value between CPU core count and memory size.
    min_cpu_core_count int
    The minimum CPU core count.
    network_bandwidth_per_ocpu_in_gbps int
    The multiplier value between CPU core count and network bandwidth.
    storage_usage_limit_per_ocpu_in_gbs int
    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'.
    defaultCpuCoreCount Number
    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.
    isAutoScalingEnabledByDefault Boolean
    Specifies whether the "Auto scaling" option should be enabled by default or not.
    maxCpuCoreCount Number
    The maximum CPU core count.
    memoryPerOcpuInGbs Number
    The multiplier value between CPU core count and memory size.
    minCpuCoreCount Number
    The minimum CPU core count.
    networkBandwidthPerOcpuInGbps Number
    The multiplier value between CPU core count and network bandwidth.
    storageUsageLimitPerOcpuInGbs Number
    The multiplier value between CPU core count and storage usage limit size.

    GetDeploymentEnvironmentsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi