Oracle Cloud Infrastructure
getRegistry
This data source provides details about a specific Registry resource in Oracle Cloud Infrastructure Data Connectivity service.
Gets a Data Connectivity Management Registry by identifier
Example Usage
using Pulumi;
using Oci = Pulumi.Oci;
class MyStack : Stack
{
public MyStack()
{
var testRegistry = Output.Create(Oci.DataConnectivity.GetRegistry.InvokeAsync(new Oci.DataConnectivity.GetRegistryArgs
{
RegistryId = oci_data_connectivity_registry.Test_registry.Id,
}));
}
}
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/DataConnectivity"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := DataConnectivity.GetRegistry(ctx, &dataconnectivity.GetRegistryArgs{
RegistryId: oci_data_connectivity_registry.Test_registry.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_oci as oci
test_registry = oci.DataConnectivity.get_registry(registry_id=oci_data_connectivity_registry["test_registry"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testRegistry = oci.DataConnectivity.getRegistry({
registryId: oci_data_connectivity_registry.test_registry.id,
});
Coming soon!
Using getRegistry
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 getRegistry(args: GetRegistryArgs, opts?: InvokeOptions): Promise<GetRegistryResult>
function getRegistryOutput(args: GetRegistryOutputArgs, opts?: InvokeOptions): Output<GetRegistryResult>
def get_registry(registry_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRegistryResult
def get_registry_output(registry_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRegistryResult]
func GetRegistry(ctx *Context, args *GetRegistryArgs, opts ...InvokeOption) (*GetRegistryResult, error)
func GetRegistryOutput(ctx *Context, args *GetRegistryOutputArgs, opts ...InvokeOption) GetRegistryResultOutput
> Note: This function is named GetRegistry
in the Go SDK.
public static class GetRegistry
{
public static Task<GetRegistryResult> InvokeAsync(GetRegistryArgs args, InvokeOptions? opts = null)
public static Output<GetRegistryResult> Invoke(GetRegistryInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRegistryResult> getRegistry(GetRegistryArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: oci:DataConnectivity/getRegistry:getRegistry
Arguments:
# Arguments dictionary
The following arguments are supported:
- Registry
Id string The registry Ocid.
- Registry
Id string The registry Ocid.
- registry
Id String The registry Ocid.
- registry
Id string The registry Ocid.
- registry_
id str The registry Ocid.
- registry
Id String The registry Ocid.
getRegistry Result
The following output properties are available:
- Compartment
Id string Compartment Identifier
- Dictionary<string, object>
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- Description string
Registry description
- Display
Name string Data Connectivity Management Registry display name, registries can be renamed
- Dictionary<string, object>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Id string
Unique identifier that is immutable on creation
- Registry
Id string - State string
Lifecycle states for registries in Data Connectivity Management Service CREATING - The resource is being created and may not be usable until the entire metadata is defined UPDATING - The resource is being updated and may not be usable until all changes are commited DELETING - The resource is being deleted and might require deep cleanup of children. ACTIVE - The resource is valid and available for access INACTIVE - The resource might be incomplete in its definition or might have been made unavailable for administrative reasons DELETED - The resource has been deleted and isn't available FAILED - The resource is in a failed state due to validation or other errors
- State
Message string A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Time
Created string The time the Data Connectivity Management Registry was created. An RFC3339 formatted datetime string
- Time
Updated string The time the Data Connectivity Management Registry was updated. An RFC3339 formatted datetime string
- Updated
By string Name of the user who updated the DCMS Registry.
- Compartment
Id string Compartment Identifier
- map[string]interface{}
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- Description string
Registry description
- Display
Name string Data Connectivity Management Registry display name, registries can be renamed
- map[string]interface{}
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Id string
Unique identifier that is immutable on creation
- Registry
Id string - State string
Lifecycle states for registries in Data Connectivity Management Service CREATING - The resource is being created and may not be usable until the entire metadata is defined UPDATING - The resource is being updated and may not be usable until all changes are commited DELETING - The resource is being deleted and might require deep cleanup of children. ACTIVE - The resource is valid and available for access INACTIVE - The resource might be incomplete in its definition or might have been made unavailable for administrative reasons DELETED - The resource has been deleted and isn't available FAILED - The resource is in a failed state due to validation or other errors
- State
Message string A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Time
Created string The time the Data Connectivity Management Registry was created. An RFC3339 formatted datetime string
- Time
Updated string The time the Data Connectivity Management Registry was updated. An RFC3339 formatted datetime string
- Updated
By string Name of the user who updated the DCMS Registry.
- compartment
Id String Compartment Identifier
- Map<String,Object>
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- description String
Registry description
- display
Name String Data Connectivity Management Registry display name, registries can be renamed
- Map<String,Object>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id String
Unique identifier that is immutable on creation
- registry
Id String - state String
Lifecycle states for registries in Data Connectivity Management Service CREATING - The resource is being created and may not be usable until the entire metadata is defined UPDATING - The resource is being updated and may not be usable until all changes are commited DELETING - The resource is being deleted and might require deep cleanup of children. ACTIVE - The resource is valid and available for access INACTIVE - The resource might be incomplete in its definition or might have been made unavailable for administrative reasons DELETED - The resource has been deleted and isn't available FAILED - The resource is in a failed state due to validation or other errors
- state
Message String A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- time
Created String The time the Data Connectivity Management Registry was created. An RFC3339 formatted datetime string
- time
Updated String The time the Data Connectivity Management Registry was updated. An RFC3339 formatted datetime string
- updated
By String Name of the user who updated the DCMS Registry.
- compartment
Id string Compartment Identifier
- {[key: string]: any}
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- description string
Registry description
- display
Name string Data Connectivity Management Registry display name, registries can be renamed
- {[key: string]: any}
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id string
Unique identifier that is immutable on creation
- registry
Id string - state string
Lifecycle states for registries in Data Connectivity Management Service CREATING - The resource is being created and may not be usable until the entire metadata is defined UPDATING - The resource is being updated and may not be usable until all changes are commited DELETING - The resource is being deleted and might require deep cleanup of children. ACTIVE - The resource is valid and available for access INACTIVE - The resource might be incomplete in its definition or might have been made unavailable for administrative reasons DELETED - The resource has been deleted and isn't available FAILED - The resource is in a failed state due to validation or other errors
- state
Message string A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- time
Created string The time the Data Connectivity Management Registry was created. An RFC3339 formatted datetime string
- time
Updated string The time the Data Connectivity Management Registry was updated. An RFC3339 formatted datetime string
- updated
By string Name of the user who updated the DCMS Registry.
- compartment_
id str Compartment Identifier
- Mapping[str, Any]
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- description str
Registry description
- display_
name str Data Connectivity Management Registry display name, registries can be renamed
- Mapping[str, Any]
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id str
Unique identifier that is immutable on creation
- registry_
id str - state str
Lifecycle states for registries in Data Connectivity Management Service CREATING - The resource is being created and may not be usable until the entire metadata is defined UPDATING - The resource is being updated and may not be usable until all changes are commited DELETING - The resource is being deleted and might require deep cleanup of children. ACTIVE - The resource is valid and available for access INACTIVE - The resource might be incomplete in its definition or might have been made unavailable for administrative reasons DELETED - The resource has been deleted and isn't available FAILED - The resource is in a failed state due to validation or other errors
- state_
message str A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- time_
created str The time the Data Connectivity Management Registry was created. An RFC3339 formatted datetime string
- time_
updated str The time the Data Connectivity Management Registry was updated. An RFC3339 formatted datetime string
- updated_
by str Name of the user who updated the DCMS Registry.
- compartment
Id String Compartment Identifier
- Map<Any>
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- description String
Registry description
- display
Name String Data Connectivity Management Registry display name, registries can be renamed
- Map<Any>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id String
Unique identifier that is immutable on creation
- registry
Id String - state String
Lifecycle states for registries in Data Connectivity Management Service CREATING - The resource is being created and may not be usable until the entire metadata is defined UPDATING - The resource is being updated and may not be usable until all changes are commited DELETING - The resource is being deleted and might require deep cleanup of children. ACTIVE - The resource is valid and available for access INACTIVE - The resource might be incomplete in its definition or might have been made unavailable for administrative reasons DELETED - The resource has been deleted and isn't available FAILED - The resource is in a failed state due to validation or other errors
- state
Message String A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- time
Created String The time the Data Connectivity Management Registry was created. An RFC3339 formatted datetime string
- time
Updated String The time the Data Connectivity Management Registry was updated. An RFC3339 formatted datetime string
- updated
By String Name of the user who updated the DCMS Registry.
Package Details
- Repository
- https://github.com/pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.