1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. GoldenGate
  5. getDeploymentTypes
Oracle Cloud Infrastructure v1.27.0 published on Friday, Mar 15, 2024 by Pulumi

oci.GoldenGate.getDeploymentTypes

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.27.0 published on Friday, Mar 15, 2024 by Pulumi

    This data source provides the list of Deployment Types in Oracle Cloud Infrastructure Golden Gate service.

    Returns an array of DeploymentTypeDescriptor

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testDeploymentTypes = oci.GoldenGate.getDeploymentTypes({
        compartmentId: _var.compartment_id,
        deploymentType: _var.deployment_type_deployment_type,
        displayName: _var.deployment_type_display_name,
        oggVersion: _var.deployment_type_ogg_version,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_deployment_types = oci.GoldenGate.get_deployment_types(compartment_id=var["compartment_id"],
        deployment_type=var["deployment_type_deployment_type"],
        display_name=var["deployment_type_display_name"],
        ogg_version=var["deployment_type_ogg_version"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/GoldenGate"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := GoldenGate.GetDeploymentTypes(ctx, &goldengate.GetDeploymentTypesArgs{
    			CompartmentId:  _var.Compartment_id,
    			DeploymentType: pulumi.StringRef(_var.Deployment_type_deployment_type),
    			DisplayName:    pulumi.StringRef(_var.Deployment_type_display_name),
    			OggVersion:     pulumi.StringRef(_var.Deployment_type_ogg_version),
    		}, 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 testDeploymentTypes = Oci.GoldenGate.GetDeploymentTypes.Invoke(new()
        {
            CompartmentId = @var.Compartment_id,
            DeploymentType = @var.Deployment_type_deployment_type,
            DisplayName = @var.Deployment_type_display_name,
            OggVersion = @var.Deployment_type_ogg_version,
        });
    
    });
    
    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.GetDeploymentTypesArgs;
    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 testDeploymentTypes = GoldenGateFunctions.getDeploymentTypes(GetDeploymentTypesArgs.builder()
                .compartmentId(var_.compartment_id())
                .deploymentType(var_.deployment_type_deployment_type())
                .displayName(var_.deployment_type_display_name())
                .oggVersion(var_.deployment_type_ogg_version())
                .build());
    
        }
    }
    
    variables:
      testDeploymentTypes:
        fn::invoke:
          Function: oci:GoldenGate:getDeploymentTypes
          Arguments:
            compartmentId: ${var.compartment_id}
            deploymentType: ${var.deployment_type_deployment_type}
            displayName: ${var.deployment_type_display_name}
            oggVersion: ${var.deployment_type_ogg_version}
    

    Using getDeploymentTypes

    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 getDeploymentTypes(args: GetDeploymentTypesArgs, opts?: InvokeOptions): Promise<GetDeploymentTypesResult>
    function getDeploymentTypesOutput(args: GetDeploymentTypesOutputArgs, opts?: InvokeOptions): Output<GetDeploymentTypesResult>
    def get_deployment_types(compartment_id: Optional[str] = None,
                             deployment_type: Optional[str] = None,
                             display_name: Optional[str] = None,
                             filters: Optional[Sequence[_goldengate.GetDeploymentTypesFilter]] = None,
                             ogg_version: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetDeploymentTypesResult
    def get_deployment_types_output(compartment_id: Optional[pulumi.Input[str]] = None,
                             deployment_type: Optional[pulumi.Input[str]] = None,
                             display_name: Optional[pulumi.Input[str]] = None,
                             filters: Optional[pulumi.Input[Sequence[pulumi.Input[_goldengate.GetDeploymentTypesFilterArgs]]]] = None,
                             ogg_version: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetDeploymentTypesResult]
    func GetDeploymentTypes(ctx *Context, args *GetDeploymentTypesArgs, opts ...InvokeOption) (*GetDeploymentTypesResult, error)
    func GetDeploymentTypesOutput(ctx *Context, args *GetDeploymentTypesOutputArgs, opts ...InvokeOption) GetDeploymentTypesResultOutput

    > Note: This function is named GetDeploymentTypes in the Go SDK.

    public static class GetDeploymentTypes 
    {
        public static Task<GetDeploymentTypesResult> InvokeAsync(GetDeploymentTypesArgs args, InvokeOptions? opts = null)
        public static Output<GetDeploymentTypesResult> Invoke(GetDeploymentTypesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDeploymentTypesResult> getDeploymentTypes(GetDeploymentTypesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:GoldenGate/getDeploymentTypes:getDeploymentTypes
      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.
    DeploymentType string
    The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
    DisplayName string
    A filter to return only the resources that match the entire 'displayName' given.
    Filters List<GetDeploymentTypesFilter>
    OggVersion string
    Allows to query by a specific GoldenGate version.
    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.
    DeploymentType string
    The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
    DisplayName string
    A filter to return only the resources that match the entire 'displayName' given.
    Filters []GetDeploymentTypesFilter
    OggVersion string
    Allows to query by a specific GoldenGate version.
    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.
    deploymentType String
    The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
    displayName String
    A filter to return only the resources that match the entire 'displayName' given.
    filters List<GetDeploymentTypesFilter>
    oggVersion String
    Allows to query by a specific GoldenGate version.
    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.
    deploymentType string
    The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
    displayName string
    A filter to return only the resources that match the entire 'displayName' given.
    filters GetDeploymentTypesFilter[]
    oggVersion string
    Allows to query by a specific GoldenGate version.
    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.
    deployment_type str
    The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
    display_name str
    A filter to return only the resources that match the entire 'displayName' given.
    filters GetDeploymentTypesFilter]
    ogg_version str
    Allows to query by a specific GoldenGate version.
    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.
    deploymentType String
    The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
    displayName String
    A filter to return only the resources that match the entire 'displayName' given.
    filters List<Property Map>
    oggVersion String
    Allows to query by a specific GoldenGate version.

    getDeploymentTypes Result

    The following output properties are available:

    CompartmentId string
    DeploymentTypeCollections List<GetDeploymentTypesDeploymentTypeCollection>
    The list of deployment_type_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    DeploymentType string
    The type of deployment, which can be any one of the Allowed values. NOTE: Use of the value 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in favor of 'DATABASE_ORACLE'.
    DisplayName string
    An object's Display Name.
    Filters List<GetDeploymentTypesFilter>
    OggVersion string
    Version of OGG
    CompartmentId string
    DeploymentTypeCollections []GetDeploymentTypesDeploymentTypeCollection
    The list of deployment_type_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    DeploymentType string
    The type of deployment, which can be any one of the Allowed values. NOTE: Use of the value 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in favor of 'DATABASE_ORACLE'.
    DisplayName string
    An object's Display Name.
    Filters []GetDeploymentTypesFilter
    OggVersion string
    Version of OGG
    compartmentId String
    deploymentTypeCollections List<GetDeploymentTypesDeploymentTypeCollection>
    The list of deployment_type_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    deploymentType String
    The type of deployment, which can be any one of the Allowed values. NOTE: Use of the value 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in favor of 'DATABASE_ORACLE'.
    displayName String
    An object's Display Name.
    filters List<GetDeploymentTypesFilter>
    oggVersion String
    Version of OGG
    compartmentId string
    deploymentTypeCollections GetDeploymentTypesDeploymentTypeCollection[]
    The list of deployment_type_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    deploymentType string
    The type of deployment, which can be any one of the Allowed values. NOTE: Use of the value 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in favor of 'DATABASE_ORACLE'.
    displayName string
    An object's Display Name.
    filters GetDeploymentTypesFilter[]
    oggVersion string
    Version of OGG
    compartment_id str
    deployment_type_collections GetDeploymentTypesDeploymentTypeCollection]
    The list of deployment_type_collection.
    id str
    The provider-assigned unique ID for this managed resource.
    deployment_type str
    The type of deployment, which can be any one of the Allowed values. NOTE: Use of the value 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in favor of 'DATABASE_ORACLE'.
    display_name str
    An object's Display Name.
    filters GetDeploymentTypesFilter]
    ogg_version str
    Version of OGG
    compartmentId String
    deploymentTypeCollections List<Property Map>
    The list of deployment_type_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    deploymentType String
    The type of deployment, which can be any one of the Allowed values. NOTE: Use of the value 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in favor of 'DATABASE_ORACLE'.
    displayName String
    An object's Display Name.
    filters List<Property Map>
    oggVersion String
    Version of OGG

    Supporting Types

    GetDeploymentTypesDeploymentTypeCollection

    items List<Property Map>
    Array of DeploymentTypeSummary

    GetDeploymentTypesDeploymentTypeCollectionItem

    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'.
    ConnectionTypes List<string>
    An array of connectionTypes.
    DefaultUsername string
    The default admin username used by deployment.
    DeploymentType string
    The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
    DisplayName string
    A filter to return only the resources that match the entire 'displayName' given.
    OggVersion string
    Allows to query by a specific GoldenGate version.
    SourceTechnologies List<string>
    List of the supported technologies generally. The value is a freeform text string generally consisting of a description of the technology and optionally the speific version(s) support. For example, [ "Oracle Database 19c", "Oracle Exadata", "OCI Streaming" ]
    SupportedTechnologiesUrl string
    The URL to the webpage listing the supported technologies.
    TargetTechnologies List<string>
    List of the supported technologies generally. The value is a freeform text string generally consisting of a description of the technology and optionally the speific version(s) support. For example, [ "Oracle Database 19c", "Oracle Exadata", "OCI Streaming" ]
    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'.
    ConnectionTypes []string
    An array of connectionTypes.
    DefaultUsername string
    The default admin username used by deployment.
    DeploymentType string
    The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
    DisplayName string
    A filter to return only the resources that match the entire 'displayName' given.
    OggVersion string
    Allows to query by a specific GoldenGate version.
    SourceTechnologies []string
    List of the supported technologies generally. The value is a freeform text string generally consisting of a description of the technology and optionally the speific version(s) support. For example, [ "Oracle Database 19c", "Oracle Exadata", "OCI Streaming" ]
    SupportedTechnologiesUrl string
    The URL to the webpage listing the supported technologies.
    TargetTechnologies []string
    List of the supported technologies generally. The value is a freeform text string generally consisting of a description of the technology and optionally the speific version(s) support. For example, [ "Oracle Database 19c", "Oracle Exadata", "OCI Streaming" ]
    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'.
    connectionTypes List<String>
    An array of connectionTypes.
    defaultUsername String
    The default admin username used by deployment.
    deploymentType String
    The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
    displayName String
    A filter to return only the resources that match the entire 'displayName' given.
    oggVersion String
    Allows to query by a specific GoldenGate version.
    sourceTechnologies List<String>
    List of the supported technologies generally. The value is a freeform text string generally consisting of a description of the technology and optionally the speific version(s) support. For example, [ "Oracle Database 19c", "Oracle Exadata", "OCI Streaming" ]
    supportedTechnologiesUrl String
    The URL to the webpage listing the supported technologies.
    targetTechnologies List<String>
    List of the supported technologies generally. The value is a freeform text string generally consisting of a description of the technology and optionally the speific version(s) support. For example, [ "Oracle Database 19c", "Oracle Exadata", "OCI Streaming" ]
    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'.
    connectionTypes string[]
    An array of connectionTypes.
    defaultUsername string
    The default admin username used by deployment.
    deploymentType string
    The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
    displayName string
    A filter to return only the resources that match the entire 'displayName' given.
    oggVersion string
    Allows to query by a specific GoldenGate version.
    sourceTechnologies string[]
    List of the supported technologies generally. The value is a freeform text string generally consisting of a description of the technology and optionally the speific version(s) support. For example, [ "Oracle Database 19c", "Oracle Exadata", "OCI Streaming" ]
    supportedTechnologiesUrl string
    The URL to the webpage listing the supported technologies.
    targetTechnologies string[]
    List of the supported technologies generally. The value is a freeform text string generally consisting of a description of the technology and optionally the speific version(s) support. For example, [ "Oracle Database 19c", "Oracle Exadata", "OCI Streaming" ]
    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'.
    connection_types Sequence[str]
    An array of connectionTypes.
    default_username str
    The default admin username used by deployment.
    deployment_type str
    The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
    display_name str
    A filter to return only the resources that match the entire 'displayName' given.
    ogg_version str
    Allows to query by a specific GoldenGate version.
    source_technologies Sequence[str]
    List of the supported technologies generally. The value is a freeform text string generally consisting of a description of the technology and optionally the speific version(s) support. For example, [ "Oracle Database 19c", "Oracle Exadata", "OCI Streaming" ]
    supported_technologies_url str
    The URL to the webpage listing the supported technologies.
    target_technologies Sequence[str]
    List of the supported technologies generally. The value is a freeform text string generally consisting of a description of the technology and optionally the speific version(s) support. For example, [ "Oracle Database 19c", "Oracle Exadata", "OCI Streaming" ]
    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'.
    connectionTypes List<String>
    An array of connectionTypes.
    defaultUsername String
    The default admin username used by deployment.
    deploymentType String
    The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
    displayName String
    A filter to return only the resources that match the entire 'displayName' given.
    oggVersion String
    Allows to query by a specific GoldenGate version.
    sourceTechnologies List<String>
    List of the supported technologies generally. The value is a freeform text string generally consisting of a description of the technology and optionally the speific version(s) support. For example, [ "Oracle Database 19c", "Oracle Exadata", "OCI Streaming" ]
    supportedTechnologiesUrl String
    The URL to the webpage listing the supported technologies.
    targetTechnologies List<String>
    List of the supported technologies generally. The value is a freeform text string generally consisting of a description of the technology and optionally the speific version(s) support. For example, [ "Oracle Database 19c", "Oracle Exadata", "OCI Streaming" ]

    GetDeploymentTypesFilter

    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 v1.27.0 published on Friday, Mar 15, 2024 by Pulumi