Oracle Cloud Infrastructure

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

getRegistryType

This data source provides details about a specific Registry Type resource in Oracle Cloud Infrastructure Data Connectivity service.

This endpoint retrieves dataAsset and connection attributes from DataAssetRegistry

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testRegistryType = Output.Create(Oci.DataConnectivity.GetRegistryType.InvokeAsync(new Oci.DataConnectivity.GetRegistryTypeArgs
        {
            RegistryId = oci_data_connectivity_registry.Test_registry.Id,
            TypeKey = @var.Registry_type_type_key,
            Fields = @var.Registry_type_fields,
        }));
    }

}
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.GetRegistryType(ctx, &dataconnectivity.GetRegistryTypeArgs{
			RegistryId: oci_data_connectivity_registry.Test_registry.Id,
			TypeKey:    _var.Registry_type_type_key,
			Fields:     _var.Registry_type_fields,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_registry_type = oci.DataConnectivity.get_registry_type(registry_id=oci_data_connectivity_registry["test_registry"]["id"],
    type_key=var["registry_type_type_key"],
    fields=var["registry_type_fields"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testRegistryType = oci.DataConnectivity.getRegistryType({
    registryId: oci_data_connectivity_registry.test_registry.id,
    typeKey: _var.registry_type_type_key,
    fields: _var.registry_type_fields,
});

Coming soon!

Using getRegistryType

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 getRegistryType(args: GetRegistryTypeArgs, opts?: InvokeOptions): Promise<GetRegistryTypeResult>
function getRegistryTypeOutput(args: GetRegistryTypeOutputArgs, opts?: InvokeOptions): Output<GetRegistryTypeResult>
def get_registry_type(fields: Optional[Sequence[str]] = None,
                      registry_id: Optional[str] = None,
                      type_key: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetRegistryTypeResult
def get_registry_type_output(fields: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                      registry_id: Optional[pulumi.Input[str]] = None,
                      type_key: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetRegistryTypeResult]
func GetRegistryType(ctx *Context, args *GetRegistryTypeArgs, opts ...InvokeOption) (*GetRegistryTypeResult, error)
func GetRegistryTypeOutput(ctx *Context, args *GetRegistryTypeOutputArgs, opts ...InvokeOption) GetRegistryTypeResultOutput

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

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

The following arguments are supported:

RegistryId string

The registry Ocid.

TypeKey string

key of the a specefic Type.

Fields List<string>

Specifies the fields to get for an object.

RegistryId string

The registry Ocid.

TypeKey string

key of the a specefic Type.

Fields []string

Specifies the fields to get for an object.

registryId String

The registry Ocid.

typeKey String

key of the a specefic Type.

fields List<String>

Specifies the fields to get for an object.

registryId string

The registry Ocid.

typeKey string

key of the a specefic Type.

fields string[]

Specifies the fields to get for an object.

registry_id str

The registry Ocid.

type_key str

key of the a specefic Type.

fields Sequence[str]

Specifies the fields to get for an object.

registryId String

The registry Ocid.

typeKey String

key of the a specefic Type.

fields List<String>

Specifies the fields to get for an object.

getRegistryType Result

The following output properties are available:

ConnectionAttributes Dictionary<string, object>

Map of connectionType as key and List of attributes as value

DataAssetAttributes List<GetRegistryTypeDataAssetAttribute>

list of attributes for the dataAsset

Id string

The provider-assigned unique ID for this managed resource.

RegistryId string
TypeKey string
Fields List<string>
ConnectionAttributes map[string]interface{}

Map of connectionType as key and List of attributes as value

DataAssetAttributes []GetRegistryTypeDataAssetAttribute

list of attributes for the dataAsset

Id string

The provider-assigned unique ID for this managed resource.

RegistryId string
TypeKey string
Fields []string
connectionAttributes Map<String,Object>

Map of connectionType as key and List of attributes as value

dataAssetAttributes List<GetRegistryTypeDataAssetAttribute>

list of attributes for the dataAsset

id String

The provider-assigned unique ID for this managed resource.

registryId String
typeKey String
fields List<String>
connectionAttributes {[key: string]: any}

Map of connectionType as key and List of attributes as value

dataAssetAttributes GetRegistryTypeDataAssetAttribute[]

list of attributes for the dataAsset

id string

The provider-assigned unique ID for this managed resource.

registryId string
typeKey string
fields string[]
connection_attributes Mapping[str, Any]

Map of connectionType as key and List of attributes as value

data_asset_attributes GetRegistryTypeDataAssetAttribute]

list of attributes for the dataAsset

id str

The provider-assigned unique ID for this managed resource.

registry_id str
type_key str
fields Sequence[str]
connectionAttributes Map<Any>

Map of connectionType as key and List of attributes as value

dataAssetAttributes List<Property Map>

list of attributes for the dataAsset

id String

The provider-assigned unique ID for this managed resource.

registryId String
typeKey String
fields List<String>

Supporting Types

GetRegistryTypeDataAssetAttribute

AttributeType string

Attribute type details

IsBase64encoded bool

True if Attribute is encoded.

IsGenerated bool

True if Attribute is generated.

IsMandatory bool

True if Attribute is mandatory.

IsSensitive bool

True if Attribute is sensitive.

Name string

The name of of the Attribute.

ValidKeyLists List<string>

List of valid key list

AttributeType string

Attribute type details

IsBase64encoded bool

True if Attribute is encoded.

IsGenerated bool

True if Attribute is generated.

IsMandatory bool

True if Attribute is mandatory.

IsSensitive bool

True if Attribute is sensitive.

Name string

The name of of the Attribute.

ValidKeyLists []string

List of valid key list

attributeType String

Attribute type details

isBase64encoded Boolean

True if Attribute is encoded.

isGenerated Boolean

True if Attribute is generated.

isMandatory Boolean

True if Attribute is mandatory.

isSensitive Boolean

True if Attribute is sensitive.

name String

The name of of the Attribute.

validKeyLists List<String>

List of valid key list

attributeType string

Attribute type details

isBase64encoded boolean

True if Attribute is encoded.

isGenerated boolean

True if Attribute is generated.

isMandatory boolean

True if Attribute is mandatory.

isSensitive boolean

True if Attribute is sensitive.

name string

The name of of the Attribute.

validKeyLists string[]

List of valid key list

attribute_type str

Attribute type details

is_base64encoded bool

True if Attribute is encoded.

is_generated bool

True if Attribute is generated.

is_mandatory bool

True if Attribute is mandatory.

is_sensitive bool

True if Attribute is sensitive.

name str

The name of of the Attribute.

valid_key_lists Sequence[str]

List of valid key list

attributeType String

Attribute type details

isBase64encoded Boolean

True if Attribute is encoded.

isGenerated Boolean

True if Attribute is generated.

isMandatory Boolean

True if Attribute is mandatory.

isSensitive Boolean

True if Attribute is sensitive.

name String

The name of of the Attribute.

validKeyLists List<String>

List of valid key list

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.