1. Packages
  2. Yandex
  3. API Docs
  4. getIotCoreRegistry
Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi

yandex.getIotCoreRegistry

Explore with Pulumi AI

yandex logo
Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi

    Get information about a Yandex IoT Core Registry. For more information IoT Core, see Yandex.Cloud IoT Registry.

    import * as pulumi from "@pulumi/pulumi";
    import * as yandex from "@pulumi/yandex";
    
    const myRegistry = pulumi.output(yandex.getIotCoreRegistry({
        registryId: "are1sampleregistry11",
    }));
    
    import pulumi
    import pulumi_yandex as yandex
    
    my_registry = yandex.get_iot_core_registry(registry_id="are1sampleregistry11")
    
    using Pulumi;
    using Yandex = Pulumi.Yandex;
    
    class MyStack : Stack
    {
        public MyStack()
        {
            var myRegistry = Output.Create(Yandex.GetIotCoreRegistry.InvokeAsync(new Yandex.GetIotCoreRegistryArgs
            {
                RegistryId = "are1sampleregistry11",
            }));
        }
    
    }
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-yandex/sdk/go/yandex"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		opt0 := "are1sampleregistry11"
    		_, err := yandex.LookupIotCoreRegistry(ctx, &GetIotCoreRegistryArgs{
    			RegistryId: &opt0,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    This data source is used to define Yandex.Cloud IoT Registry that can be used by other resources.

    Using getIotCoreRegistry

    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 getIotCoreRegistry(args: GetIotCoreRegistryArgs, opts?: InvokeOptions): Promise<GetIotCoreRegistryResult>
    function getIotCoreRegistryOutput(args: GetIotCoreRegistryOutputArgs, opts?: InvokeOptions): Output<GetIotCoreRegistryResult>
    def get_iot_core_registry(folder_id: Optional[str] = None,
                              name: Optional[str] = None,
                              registry_id: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetIotCoreRegistryResult
    def get_iot_core_registry_output(folder_id: Optional[pulumi.Input[str]] = None,
                              name: Optional[pulumi.Input[str]] = None,
                              registry_id: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetIotCoreRegistryResult]
    func LookupIotCoreRegistry(ctx *Context, args *LookupIotCoreRegistryArgs, opts ...InvokeOption) (*LookupIotCoreRegistryResult, error)
    func LookupIotCoreRegistryOutput(ctx *Context, args *LookupIotCoreRegistryOutputArgs, opts ...InvokeOption) LookupIotCoreRegistryResultOutput

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

    public static class GetIotCoreRegistry 
    {
        public static Task<GetIotCoreRegistryResult> InvokeAsync(GetIotCoreRegistryArgs args, InvokeOptions? opts = null)
        public static Output<GetIotCoreRegistryResult> Invoke(GetIotCoreRegistryInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIotCoreRegistryResult> getIotCoreRegistry(GetIotCoreRegistryArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: yandex:index/getIotCoreRegistry:getIotCoreRegistry
      arguments:
        # arguments dictionary

    The following arguments are supported:

    FolderId string
    Folder ID for the IoT Core Registry
    Name string
    IoT Core Registry name used to define registry
    RegistryId string
    IoT Core Registry id used to define registry
    FolderId string
    Folder ID for the IoT Core Registry
    Name string
    IoT Core Registry name used to define registry
    RegistryId string
    IoT Core Registry id used to define registry
    folderId String
    Folder ID for the IoT Core Registry
    name String
    IoT Core Registry name used to define registry
    registryId String
    IoT Core Registry id used to define registry
    folderId string
    Folder ID for the IoT Core Registry
    name string
    IoT Core Registry name used to define registry
    registryId string
    IoT Core Registry id used to define registry
    folder_id str
    Folder ID for the IoT Core Registry
    name str
    IoT Core Registry name used to define registry
    registry_id str
    IoT Core Registry id used to define registry
    folderId String
    Folder ID for the IoT Core Registry
    name String
    IoT Core Registry name used to define registry
    registryId String
    IoT Core Registry id used to define registry

    getIotCoreRegistry Result

    The following output properties are available:

    Certificates List<string>
    A set of certificate's fingerprints for the IoT Core Registry
    CreatedAt string
    Creation timestamp of the IoT Core Registry
    Description string
    Description of the IoT Core Registry
    Id string
    The provider-assigned unique ID for this managed resource.
    Labels Dictionary<string, string>
    A set of key/value label pairs to assign to the IoT Core Registry.
    Passwords List<string>
    A set of passwords's id for the IoT Core Registry
    FolderId string
    Name string
    RegistryId string
    Certificates []string
    A set of certificate's fingerprints for the IoT Core Registry
    CreatedAt string
    Creation timestamp of the IoT Core Registry
    Description string
    Description of the IoT Core Registry
    Id string
    The provider-assigned unique ID for this managed resource.
    Labels map[string]string
    A set of key/value label pairs to assign to the IoT Core Registry.
    Passwords []string
    A set of passwords's id for the IoT Core Registry
    FolderId string
    Name string
    RegistryId string
    certificates List<String>
    A set of certificate's fingerprints for the IoT Core Registry
    createdAt String
    Creation timestamp of the IoT Core Registry
    description String
    Description of the IoT Core Registry
    id String
    The provider-assigned unique ID for this managed resource.
    labels Map<String,String>
    A set of key/value label pairs to assign to the IoT Core Registry.
    passwords List<String>
    A set of passwords's id for the IoT Core Registry
    folderId String
    name String
    registryId String
    certificates string[]
    A set of certificate's fingerprints for the IoT Core Registry
    createdAt string
    Creation timestamp of the IoT Core Registry
    description string
    Description of the IoT Core Registry
    id string
    The provider-assigned unique ID for this managed resource.
    labels {[key: string]: string}
    A set of key/value label pairs to assign to the IoT Core Registry.
    passwords string[]
    A set of passwords's id for the IoT Core Registry
    folderId string
    name string
    registryId string
    certificates Sequence[str]
    A set of certificate's fingerprints for the IoT Core Registry
    created_at str
    Creation timestamp of the IoT Core Registry
    description str
    Description of the IoT Core Registry
    id str
    The provider-assigned unique ID for this managed resource.
    labels Mapping[str, str]
    A set of key/value label pairs to assign to the IoT Core Registry.
    passwords Sequence[str]
    A set of passwords's id for the IoT Core Registry
    folder_id str
    name str
    registry_id str
    certificates List<String>
    A set of certificate's fingerprints for the IoT Core Registry
    createdAt String
    Creation timestamp of the IoT Core Registry
    description String
    Description of the IoT Core Registry
    id String
    The provider-assigned unique ID for this managed resource.
    labels Map<String>
    A set of key/value label pairs to assign to the IoT Core Registry.
    passwords List<String>
    A set of passwords's id for the IoT Core Registry
    folderId String
    name String
    registryId String

    Package Details

    Repository
    Yandex pulumi/pulumi-yandex
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the yandex Terraform Provider.
    yandex logo
    Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi