Oracle Cloud Infrastructure

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

getRegistries

This data source provides the list of Registries in Oracle Cloud Infrastructure Data Connectivity service.

Returns a list of Data Connectivity Management Registries.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testRegistries = Output.Create(Oci.DataConnectivity.GetRegistries.InvokeAsync(new Oci.DataConnectivity.GetRegistriesArgs
        {
            CompartmentId = @var.Compartment_id,
            IsDeepLookup = @var.Registry_is_deep_lookup,
            Name = @var.Registry_name,
            State = @var.Registry_state,
        }));
    }

}
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.GetRegistries(ctx, &dataconnectivity.GetRegistriesArgs{
			CompartmentId: _var.Compartment_id,
			IsDeepLookup:  pulumi.BoolRef(_var.Registry_is_deep_lookup),
			Name:          pulumi.StringRef(_var.Registry_name),
			State:         pulumi.StringRef(_var.Registry_state),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_registries = oci.DataConnectivity.get_registries(compartment_id=var["compartment_id"],
    is_deep_lookup=var["registry_is_deep_lookup"],
    name=var["registry_name"],
    state=var["registry_state"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testRegistries = oci.DataConnectivity.getRegistries({
    compartmentId: _var.compartment_id,
    isDeepLookup: _var.registry_is_deep_lookup,
    name: _var.registry_name,
    state: _var.registry_state,
});

Coming soon!

Using getRegistries

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 getRegistries(args: GetRegistriesArgs, opts?: InvokeOptions): Promise<GetRegistriesResult>
function getRegistriesOutput(args: GetRegistriesOutputArgs, opts?: InvokeOptions): Output<GetRegistriesResult>
def get_registries(compartment_id: Optional[str] = None,
                   filters: Optional[Sequence[_dataconnectivity.GetRegistriesFilter]] = None,
                   is_deep_lookup: Optional[bool] = None,
                   name: Optional[str] = None,
                   state: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetRegistriesResult
def get_registries_output(compartment_id: Optional[pulumi.Input[str]] = None,
                   filters: Optional[pulumi.Input[Sequence[pulumi.Input[_dataconnectivity.GetRegistriesFilterArgs]]]] = None,
                   is_deep_lookup: Optional[pulumi.Input[bool]] = None,
                   name: Optional[pulumi.Input[str]] = None,
                   state: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetRegistriesResult]
func GetRegistries(ctx *Context, args *GetRegistriesArgs, opts ...InvokeOption) (*GetRegistriesResult, error)
func GetRegistriesOutput(ctx *Context, args *GetRegistriesOutputArgs, opts ...InvokeOption) GetRegistriesResultOutput

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

public static class GetRegistries 
{
    public static Task<GetRegistriesResult> InvokeAsync(GetRegistriesArgs args, InvokeOptions? opts = null)
    public static Output<GetRegistriesResult> Invoke(GetRegistriesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRegistriesResult> getRegistries(GetRegistriesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:DataConnectivity/getRegistries:getRegistries
  Arguments:
    # Arguments dictionary

The following arguments are supported:

CompartmentId string

The OCID of the compartment containing the resources you want to list.

Filters List<GetRegistriesFilter>
IsDeepLookup bool

This parameter allows list registries to deep look at whole tenancy.

Name string

Used to filter by the name of the object.

State string

Lifecycle state of the resource.

CompartmentId string

The OCID of the compartment containing the resources you want to list.

Filters []GetRegistriesFilter
IsDeepLookup bool

This parameter allows list registries to deep look at whole tenancy.

Name string

Used to filter by the name of the object.

State string

Lifecycle state of the resource.

compartmentId String

The OCID of the compartment containing the resources you want to list.

filters List<GetRegistriesFilter>
isDeepLookup Boolean

This parameter allows list registries to deep look at whole tenancy.

name String

Used to filter by the name of the object.

state String

Lifecycle state of the resource.

compartmentId string

The OCID of the compartment containing the resources you want to list.

filters GetRegistriesFilter[]
isDeepLookup boolean

This parameter allows list registries to deep look at whole tenancy.

name string

Used to filter by the name of the object.

state string

Lifecycle state of the resource.

compartment_id str

The OCID of the compartment containing the resources you want to list.

filters GetRegistriesFilter]
is_deep_lookup bool

This parameter allows list registries to deep look at whole tenancy.

name str

Used to filter by the name of the object.

state str

Lifecycle state of the resource.

compartmentId String

The OCID of the compartment containing the resources you want to list.

filters List<Property Map>
isDeepLookup Boolean

This parameter allows list registries to deep look at whole tenancy.

name String

Used to filter by the name of the object.

state String

Lifecycle state of the resource.

getRegistries Result

The following output properties are available:

CompartmentId string

Compartment Identifier

Id string

The provider-assigned unique ID for this managed resource.

RegistrySummaryCollections List<GetRegistriesRegistrySummaryCollection>

The list of registry_summary_collection.

Filters List<GetRegistriesFilter>
IsDeepLookup bool
Name 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

CompartmentId string

Compartment Identifier

Id string

The provider-assigned unique ID for this managed resource.

RegistrySummaryCollections []GetRegistriesRegistrySummaryCollection

The list of registry_summary_collection.

Filters []GetRegistriesFilter
IsDeepLookup bool
Name 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

compartmentId String

Compartment Identifier

id String

The provider-assigned unique ID for this managed resource.

registrySummaryCollections List<GetRegistriesRegistrySummaryCollection>

The list of registry_summary_collection.

filters List<GetRegistriesFilter>
isDeepLookup Boolean
name 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

compartmentId string

Compartment Identifier

id string

The provider-assigned unique ID for this managed resource.

registrySummaryCollections GetRegistriesRegistrySummaryCollection[]

The list of registry_summary_collection.

filters GetRegistriesFilter[]
isDeepLookup boolean
name 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

compartment_id str

Compartment Identifier

id str

The provider-assigned unique ID for this managed resource.

registry_summary_collections GetRegistriesRegistrySummaryCollection]

The list of registry_summary_collection.

filters GetRegistriesFilter]
is_deep_lookup bool
name 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

compartmentId String

Compartment Identifier

id String

The provider-assigned unique ID for this managed resource.

registrySummaryCollections List<Property Map>

The list of registry_summary_collection.

filters List<Property Map>
isDeepLookup Boolean
name 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

Supporting Types

GetRegistriesFilter

Name string

Used to filter by the name of the object.

Values List<string>
Regex bool
Name string

Used to filter by the name of the object.

Values []string
Regex bool
name String

Used to filter by the name of the object.

values List<String>
regex Boolean
name string

Used to filter by the name of the object.

values string[]
regex boolean
name str

Used to filter by the name of the object.

values Sequence[str]
regex bool
name String

Used to filter by the name of the object.

values List<String>
regex Boolean

GetRegistriesRegistrySummaryCollection

GetRegistriesRegistrySummaryCollectionItem

CompartmentId string

The OCID of the compartment containing the resources you want to list.

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

State string

Lifecycle state of the resource.

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

The OCID of the compartment containing the resources you want to list.

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

State string

Lifecycle state of the resource.

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

The OCID of the compartment containing the resources you want to list.

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

state String

Lifecycle state of the resource.

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

The OCID of the compartment containing the resources you want to list.

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

state string

Lifecycle state of the resource.

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

The OCID of the compartment containing the resources you want to list.

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

state str

Lifecycle state of the resource.

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

The OCID of the compartment containing the resources you want to list.

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

state String

Lifecycle state of the resource.

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.