1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. GoldenGate
  5. getDeploymentType
Oracle Cloud Infrastructure v1.23.0 published on Thursday, Feb 15, 2024 by Pulumi

oci.GoldenGate.getDeploymentType

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.23.0 published on Thursday, Feb 15, 2024 by Pulumi

    This data source provides details about a specific Deployment Type resource in Oracle Cloud Infrastructure Golden Gate service.

    Returns an array of DeploymentTypeDescriptor

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testDeploymentType = Oci.GoldenGate.GetDeploymentType.Invoke(new()
        {
            CompartmentId = @var.Compartment_id,
            DisplayName = @var.Deployment_type_display_name,
        });
    
    });
    
    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.GetDeploymentType(ctx, &goldengate.GetDeploymentTypeArgs{
    			CompartmentId: _var.Compartment_id,
    			DisplayName:   pulumi.StringRef(_var.Deployment_type_display_name),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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.GetDeploymentTypeArgs;
    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 testDeploymentType = GoldenGateFunctions.getDeploymentType(GetDeploymentTypeArgs.builder()
                .compartmentId(var_.compartment_id())
                .displayName(var_.deployment_type_display_name())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_oci as oci
    
    test_deployment_type = oci.GoldenGate.get_deployment_type(compartment_id=var["compartment_id"],
        display_name=var["deployment_type_display_name"])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testDeploymentType = oci.GoldenGate.getDeploymentType({
        compartmentId: _var.compartment_id,
        displayName: _var.deployment_type_display_name,
    });
    
    variables:
      testDeploymentType:
        fn::invoke:
          Function: oci:GoldenGate:getDeploymentType
          Arguments:
            compartmentId: ${var.compartment_id}
            displayName: ${var.deployment_type_display_name}
    

    Using getDeploymentType

    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 getDeploymentType(args: GetDeploymentTypeArgs, opts?: InvokeOptions): Promise<GetDeploymentTypeResult>
    function getDeploymentTypeOutput(args: GetDeploymentTypeOutputArgs, opts?: InvokeOptions): Output<GetDeploymentTypeResult>
    def get_deployment_type(compartment_id: Optional[str] = None,
                            display_name: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetDeploymentTypeResult
    def get_deployment_type_output(compartment_id: Optional[pulumi.Input[str]] = None,
                            display_name: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetDeploymentTypeResult]
    func GetDeploymentType(ctx *Context, args *GetDeploymentTypeArgs, opts ...InvokeOption) (*GetDeploymentTypeResult, error)
    func GetDeploymentTypeOutput(ctx *Context, args *GetDeploymentTypeOutputArgs, opts ...InvokeOption) GetDeploymentTypeResultOutput

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

    public static class GetDeploymentType 
    {
        public static Task<GetDeploymentTypeResult> InvokeAsync(GetDeploymentTypeArgs args, InvokeOptions? opts = null)
        public static Output<GetDeploymentTypeResult> Invoke(GetDeploymentTypeInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDeploymentTypeResult> getDeploymentType(GetDeploymentTypeArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:GoldenGate/getDeploymentType:getDeploymentType
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The OCID of the compartment in which to list resources.
    DisplayName string
    A filter to return only the resources that match the entire 'displayName' given.
    CompartmentId string
    The OCID of the compartment in which to list resources.
    DisplayName string
    A filter to return only the resources that match the entire 'displayName' given.
    compartmentId String
    The OCID of the compartment in which to list resources.
    displayName String
    A filter to return only the resources that match the entire 'displayName' given.
    compartmentId string
    The OCID of the compartment in which to list resources.
    displayName string
    A filter to return only the resources that match the entire 'displayName' given.
    compartment_id str
    The OCID of the compartment in which to list resources.
    display_name str
    A filter to return only the resources that match the entire 'displayName' given.
    compartmentId String
    The OCID of the compartment in which to list resources.
    displayName String
    A filter to return only the resources that match the entire 'displayName' given.

    getDeploymentType Result

    The following output properties are available:

    CompartmentId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Items List<GetDeploymentTypeItem>
    Array of DeploymentTypeSummary
    DisplayName string
    An object's Display Name.
    CompartmentId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Items []GetDeploymentTypeItem
    Array of DeploymentTypeSummary
    DisplayName string
    An object's Display Name.
    compartmentId String
    id String
    The provider-assigned unique ID for this managed resource.
    items List<GetDeploymentTypeItem>
    Array of DeploymentTypeSummary
    displayName String
    An object's Display Name.
    compartmentId string
    id string
    The provider-assigned unique ID for this managed resource.
    items GetDeploymentTypeItem[]
    Array of DeploymentTypeSummary
    displayName string
    An object's Display Name.
    compartment_id str
    id str
    The provider-assigned unique ID for this managed resource.
    items GetDeploymentTypeItem]
    Array of DeploymentTypeSummary
    display_name str
    An object's Display Name.
    compartmentId String
    id String
    The provider-assigned unique ID for this managed resource.
    items List<Property Map>
    Array of DeploymentTypeSummary
    displayName String
    An object's Display Name.

    Supporting Types

    GetDeploymentTypeItem

    Category string
    The deployment category defines the broad separation of the deployment type into categories. Currently the separation is 'DATA_REPLICATION' and 'STREAM_ANALYTICS'.
    ConnectionTypes List<string>
    An array of connectionTypes.
    DeploymentType string
    The type of deployment, the value determines the exact 'type' of service executed in the Deployment. NOTE: Use of the value 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in favor of the equivalent 'DATABASE_ORACLE' value.
    DisplayName string
    A filter to return only the resources that match the entire 'displayName' given.
    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" ]
    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 categories. Currently the separation is 'DATA_REPLICATION' and 'STREAM_ANALYTICS'.
    ConnectionTypes []string
    An array of connectionTypes.
    DeploymentType string
    The type of deployment, the value determines the exact 'type' of service executed in the Deployment. NOTE: Use of the value 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in favor of the equivalent 'DATABASE_ORACLE' value.
    DisplayName string
    A filter to return only the resources that match the entire 'displayName' given.
    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" ]
    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 categories. Currently the separation is 'DATA_REPLICATION' and 'STREAM_ANALYTICS'.
    connectionTypes List<String>
    An array of connectionTypes.
    deploymentType String
    The type of deployment, the value determines the exact 'type' of service executed in the Deployment. NOTE: Use of the value 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in favor of the equivalent 'DATABASE_ORACLE' value.
    displayName String
    A filter to return only the resources that match the entire 'displayName' given.
    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" ]
    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 categories. Currently the separation is 'DATA_REPLICATION' and 'STREAM_ANALYTICS'.
    connectionTypes string[]
    An array of connectionTypes.
    deploymentType string
    The type of deployment, the value determines the exact 'type' of service executed in the Deployment. NOTE: Use of the value 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in favor of the equivalent 'DATABASE_ORACLE' value.
    displayName string
    A filter to return only the resources that match the entire 'displayName' given.
    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" ]
    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 categories. Currently the separation is 'DATA_REPLICATION' and 'STREAM_ANALYTICS'.
    connection_types Sequence[str]
    An array of connectionTypes.
    deployment_type str
    The type of deployment, the value determines the exact 'type' of service executed in the Deployment. NOTE: Use of the value 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in favor of the equivalent 'DATABASE_ORACLE' value.
    display_name str
    A filter to return only the resources that match the entire 'displayName' given.
    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" ]
    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 categories. Currently the separation is 'DATA_REPLICATION' and 'STREAM_ANALYTICS'.
    connectionTypes List<String>
    An array of connectionTypes.
    deploymentType String
    The type of deployment, the value determines the exact 'type' of service executed in the Deployment. NOTE: Use of the value 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in favor of the equivalent 'DATABASE_ORACLE' value.
    displayName String
    A filter to return only the resources that match the entire 'displayName' given.
    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" ]
    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" ]

    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.23.0 published on Thursday, Feb 15, 2024 by Pulumi