Oracle Cloud Infrastructure
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:
- Registry
Id string The registry Ocid.
- Type
Key string key of the a specefic Type.
- Fields List<string>
Specifies the fields to get for an object.
- Registry
Id string The registry Ocid.
- Type
Key string key of the a specefic Type.
- Fields []string
Specifies the fields to get for an object.
- registry
Id String The registry Ocid.
- type
Key String key of the a specefic Type.
- fields List<String>
Specifies the fields to get for an object.
- registry
Id string The registry Ocid.
- type
Key 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.
- registry
Id String The registry Ocid.
- type
Key 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:
- Connection
Attributes Dictionary<string, object> Map of connectionType as key and List of attributes as value
- Data
Asset List<GetAttributes Registry Type Data Asset Attribute> list of attributes for the dataAsset
- Id string
The provider-assigned unique ID for this managed resource.
- Registry
Id string - Type
Key string - Fields List<string>
- Connection
Attributes map[string]interface{} Map of connectionType as key and List of attributes as value
- Data
Asset []GetAttributes Registry Type Data Asset Attribute list of attributes for the dataAsset
- Id string
The provider-assigned unique ID for this managed resource.
- Registry
Id string - Type
Key string - Fields []string
- connection
Attributes Map<String,Object> Map of connectionType as key and List of attributes as value
- data
Asset List<GetAttributes Registry Type Data Asset Attribute> list of attributes for the dataAsset
- id String
The provider-assigned unique ID for this managed resource.
- registry
Id String - type
Key String - fields List<String>
- connection
Attributes {[key: string]: any} Map of connectionType as key and List of attributes as value
- data
Asset GetAttributes Registry Type Data Asset Attribute[] list of attributes for the dataAsset
- id string
The provider-assigned unique ID for this managed resource.
- registry
Id string - type
Key string - fields string[]
- connection_
attributes Mapping[str, Any] Map of connectionType as key and List of attributes as value
- data_
asset_ Getattributes Registry Type Data Asset Attribute] 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]
- connection
Attributes Map<Any> Map of connectionType as key and List of attributes as value
- data
Asset List<Property Map>Attributes list of attributes for the dataAsset
- id String
The provider-assigned unique ID for this managed resource.
- registry
Id String - type
Key String - fields List<String>
Supporting Types
GetRegistryTypeDataAssetAttribute
- Attribute
Type string 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 string
The name of of the Attribute.
- Valid
Key List<string>Lists List of valid key list
- Attribute
Type string 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 string
The name of of the Attribute.
- Valid
Key []stringLists List of valid key list
- attribute
Type String Attribute type details
- is
Base64encoded Boolean True if Attribute is encoded.
- is
Generated Boolean True if Attribute is generated.
- is
Mandatory Boolean True if Attribute is mandatory.
- is
Sensitive Boolean True if Attribute is sensitive.
- name String
The name of of the Attribute.
- valid
Key List<String>Lists List of valid key list
- attribute
Type string Attribute type details
- is
Base64encoded boolean True if Attribute is encoded.
- is
Generated boolean True if Attribute is generated.
- is
Mandatory boolean True if Attribute is mandatory.
- is
Sensitive boolean True if Attribute is sensitive.
- name string
The name of of the Attribute.
- valid
Key string[]Lists 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_ Sequence[str]lists List of valid key list
- attribute
Type String Attribute type details
- is
Base64encoded Boolean True if Attribute is encoded.
- is
Generated Boolean True if Attribute is generated.
- is
Mandatory Boolean True if Attribute is mandatory.
- is
Sensitive Boolean True if Attribute is sensitive.
- name String
The name of of the Attribute.
- valid
Key List<String>Lists 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.