oci.GoldenGate.getDeploymentType
Explore with Pulumi AI
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=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
display_name=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
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:
- Compartment
Id string The OCID of the compartment in which to list resources.
- Display
Name string A filter to return only the resources that match the entire 'displayName' given.
- Compartment
Id string The OCID of the compartment in which to list resources.
- Display
Name string A filter to return only the resources that match the entire 'displayName' given.
- compartment
Id String The OCID of the compartment in which to list resources.
- display
Name String A filter to return only the resources that match the entire 'displayName' given.
- compartment
Id string The OCID of the compartment in which to list resources.
- display
Name 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.
- compartment
Id String The OCID of the compartment in which to list resources.
- display
Name String A filter to return only the resources that match the entire 'displayName' given.
getDeploymentType Result
The following output properties are available:
- Compartment
Id string - Id string
The provider-assigned unique ID for this managed resource.
- Items
List<Get
Deployment Type Item> Array of DeploymentTypeSummary
- Display
Name string An object's Display Name.
- Compartment
Id string - Id string
The provider-assigned unique ID for this managed resource.
- Items
[]Get
Deployment Type Item Array of DeploymentTypeSummary
- Display
Name string An object's Display Name.
- compartment
Id String - id String
The provider-assigned unique ID for this managed resource.
- items
List<Get
Deployment Type Item> Array of DeploymentTypeSummary
- display
Name String An object's Display Name.
- compartment
Id string - id string
The provider-assigned unique ID for this managed resource.
- items
Get
Deployment Type Item[] Array of DeploymentTypeSummary
- display
Name string An object's Display Name.
- compartment_
id str - id str
The provider-assigned unique ID for this managed resource.
- items
Get
Deployment Type Item] Array of DeploymentTypeSummary
- display_
name str An object's Display Name.
- compartment
Id String - id String
The provider-assigned unique ID for this managed resource.
- items List<Property Map>
Array of DeploymentTypeSummary
- display
Name 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'.
- Connection
Types List<string> An array of connectionTypes.
- Deployment
Type 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.
- Display
Name string A filter to return only the resources that match the entire 'displayName' given.
- Source
Technologies 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" ]
- Target
Technologies 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'.
- Connection
Types []string An array of connectionTypes.
- Deployment
Type 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.
- Display
Name string A filter to return only the resources that match the entire 'displayName' given.
- Source
Technologies []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" ]
- Target
Technologies []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'.
- connection
Types List<String> An array of connectionTypes.
- deployment
Type 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.
- display
Name String A filter to return only the resources that match the entire 'displayName' given.
- source
Technologies 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" ]
- target
Technologies 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'.
- connection
Types string[] An array of connectionTypes.
- deployment
Type 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.
- display
Name string A filter to return only the resources that match the entire 'displayName' given.
- source
Technologies 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" ]
- target
Technologies 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'.
- connection
Types List<String> An array of connectionTypes.
- deployment
Type 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.
- display
Name String A filter to return only the resources that match the entire 'displayName' given.
- source
Technologies 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" ]
- target
Technologies 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.