Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

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:

RegistryId string

The registry Ocid.

RegistryId string

The registry Ocid.

registryId String

The registry Ocid.

registryId string

The registry Ocid.

registry_id str

The registry Ocid.

registryId String

The registry Ocid.

getRegistry Result

The following output properties are available:

CompartmentId string

Compartment Identifier

DefinedTags 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

DisplayName string

Data Connectivity Management Registry display name, registries can be renamed

FreeformTags 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

RegistryId 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

StateMessage 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.

TimeCreated string

The time the Data Connectivity Management Registry was created. An RFC3339 formatted datetime string

TimeUpdated string

The time the Data Connectivity Management Registry was updated. An RFC3339 formatted datetime string

UpdatedBy string

Name of the user who updated the DCMS Registry.

CompartmentId string

Compartment Identifier

DefinedTags 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

DisplayName string

Data Connectivity Management Registry display name, registries can be renamed

FreeformTags 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

RegistryId 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

StateMessage 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.

TimeCreated string

The time the Data Connectivity Management Registry was created. An RFC3339 formatted datetime string

TimeUpdated string

The time the Data Connectivity Management Registry was updated. An RFC3339 formatted datetime string

UpdatedBy string

Name of the user who updated the DCMS Registry.

compartmentId String

Compartment Identifier

definedTags 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

displayName String

Data Connectivity Management Registry display name, registries can be renamed

freeformTags 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

registryId 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

stateMessage 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.

timeCreated String

The time the Data Connectivity Management Registry was created. An RFC3339 formatted datetime string

timeUpdated String

The time the Data Connectivity Management Registry was updated. An RFC3339 formatted datetime string

updatedBy String

Name of the user who updated the DCMS Registry.

compartmentId string

Compartment Identifier

definedTags {[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

displayName string

Data Connectivity Management Registry display name, registries can be renamed

freeformTags {[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

registryId 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

stateMessage 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.

timeCreated string

The time the Data Connectivity Management Registry was created. An RFC3339 formatted datetime string

timeUpdated string

The time the Data Connectivity Management Registry was updated. An RFC3339 formatted datetime string

updatedBy string

Name of the user who updated the DCMS Registry.

compartment_id str

Compartment Identifier

defined_tags 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

freeform_tags 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.

compartmentId String

Compartment Identifier

definedTags Map<Any>

Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace.bar-key": "value"}

description String

Registry description

displayName String

Data Connectivity Management Registry display name, registries can be renamed

freeformTags 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

registryId 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

stateMessage 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.

timeCreated String

The time the Data Connectivity Management Registry was created. An RFC3339 formatted datetime string

timeUpdated String

The time the Data Connectivity Management Registry was updated. An RFC3339 formatted datetime string

updatedBy 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.