oci logo
Oracle Cloud Infrastructure v0.6.0, Jan 23 23

oci.GoldenGate.getDeploymentTypes

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

Returns an array of DeploymentTypeDescriptor

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testDeploymentTypes = Oci.GoldenGate.GetDeploymentTypes.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.GetDeploymentTypes(ctx, &goldengate.GetDeploymentTypesArgs{
			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.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())
            .displayName(var_.deployment_type_display_name())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_deployment_types = oci.GoldenGate.get_deployment_types(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 testDeploymentTypes = oci.GoldenGate.getDeploymentTypes({
    compartmentId: _var.compartment_id,
    displayName: _var.deployment_type_display_name,
});
variables:
  testDeploymentTypes:
    fn::invoke:
      Function: oci:GoldenGate:getDeploymentTypes
      Arguments:
        compartmentId: ${var.compartment_id}
        displayName: ${var.deployment_type_display_name}

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,
                         display_name: Optional[str] = None,
                         filters: Optional[Sequence[_goldengate.GetDeploymentTypesFilter]] = None,
                         opts: Optional[InvokeOptions] = None) -> GetDeploymentTypesResult
def get_deployment_types_output(compartment_id: Optional[pulumi.Input[str]] = None,
                         display_name: Optional[pulumi.Input[str]] = None,
                         filters: Optional[pulumi.Input[Sequence[pulumi.Input[_goldengate.GetDeploymentTypesFilterArgs]]]] = 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 in which to list resources.

DisplayName string

A filter to return only the resources that match the entire 'displayName' given.

Filters List<GetDeploymentTypesFilter>
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.

Filters []GetDeploymentTypesFilter
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.

filters List<GetDeploymentTypesFilter>
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.

filters GetDeploymentTypesFilter[]
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.

filters GetDeploymentTypesFilter]
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.

filters List<Property Map>

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.

DisplayName string

An object's Display Name.

Filters List<GetDeploymentTypesFilter>
CompartmentId string
DeploymentTypeCollections []GetDeploymentTypesDeploymentTypeCollection

The list of deployment_type_collection.

Id string

The provider-assigned unique ID for this managed resource.

DisplayName string

An object's Display Name.

Filters []GetDeploymentTypesFilter
compartmentId String
deploymentTypeCollections List<GetDeploymentTypesDeploymentTypeCollection>

The list of deployment_type_collection.

id String

The provider-assigned unique ID for this managed resource.

displayName String

An object's Display Name.

filters List<GetDeploymentTypesFilter>
compartmentId string
deploymentTypeCollections GetDeploymentTypesDeploymentTypeCollection[]

The list of deployment_type_collection.

id string

The provider-assigned unique ID for this managed resource.

displayName string

An object's Display Name.

filters GetDeploymentTypesFilter[]
compartment_id str
deployment_type_collections GetDeploymentTypesDeploymentTypeCollection]

The list of deployment_type_collection.

id str

The provider-assigned unique ID for this managed resource.

display_name str

An object's Display Name.

filters GetDeploymentTypesFilter]
compartmentId String
deploymentTypeCollections List<Property Map>

The list of deployment_type_collection.

id String

The provider-assigned unique ID for this managed resource.

displayName String

An object's Display Name.

filters List<Property Map>

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 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" ]

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.