Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi
yandex.getIotCoreRegistry
Explore with Pulumi AI
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:
- Folder
Id string - Folder ID for the IoT Core Registry
- Name string
- IoT Core Registry name used to define registry
- Registry
Id string - IoT Core Registry id used to define registry
- Folder
Id string - Folder ID for the IoT Core Registry
- Name string
- IoT Core Registry name used to define registry
- Registry
Id string - IoT Core Registry id used to define registry
- folder
Id String - Folder ID for the IoT Core Registry
- name String
- IoT Core Registry name used to define registry
- registry
Id String - IoT Core Registry id used to define registry
- folder
Id string - Folder ID for the IoT Core Registry
- name string
- IoT Core Registry name used to define registry
- registry
Id 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
- folder
Id String - Folder ID for the IoT Core Registry
- name String
- IoT Core Registry name used to define registry
- registry
Id 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
- Created
At 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
- Folder
Id string - Name string
- Registry
Id string
- Certificates []string
- A set of certificate's fingerprints for the IoT Core Registry
- Created
At 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
- Folder
Id string - Name string
- Registry
Id string
- certificates List<String>
- A set of certificate's fingerprints for the IoT Core Registry
- created
At 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
- folder
Id String - name String
- registry
Id String
- certificates string[]
- A set of certificate's fingerprints for the IoT Core Registry
- created
At 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
- folder
Id string - name string
- registry
Id 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
- created
At 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
- folder
Id String - name String
- registry
Id String
Package Details
- Repository
- Yandex pulumi/pulumi-yandex
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
yandex
Terraform Provider.