Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

Yandex

v0.10.0 published on Thursday, Nov 18, 2021 by Pulumi

IotCoreRegistry

Allows management of Yandex.Cloud IoT Registry.

Example Usage

using Pulumi;
using Yandex = Pulumi.Yandex;

class MyStack : Stack
{
    public MyStack()
    {
        var myRegistry = new Yandex.IotCoreRegistry("myRegistry", new Yandex.IotCoreRegistryArgs
        {
            Certificates = 
            {
                "public part of certificate1",
                "public part of certificate2",
            },
            Description = "any description",
            Labels = 
            {
                { "my-label", "my-label-value" },
            },
            Passwords = 
            {
                "my-password1",
                "my-password2",
            },
        });
    }

}
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 {
		_, err := yandex.NewIotCoreRegistry(ctx, "myRegistry", &yandex.IotCoreRegistryArgs{
			Certificates: pulumi.StringArray{
				pulumi.String("public part of certificate1"),
				pulumi.String("public part of certificate2"),
			},
			Description: pulumi.String("any description"),
			Labels: pulumi.StringMap{
				"my-label": pulumi.String("my-label-value"),
			},
			Passwords: pulumi.StringArray{
				pulumi.String("my-password1"),
				pulumi.String("my-password2"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
import pulumi
import pulumi_yandex as yandex

my_registry = yandex.IotCoreRegistry("myRegistry",
    certificates=[
        "public part of certificate1",
        "public part of certificate2",
    ],
    description="any description",
    labels={
        "my-label": "my-label-value",
    },
    passwords=[
        "my-password1",
        "my-password2",
    ])
import * as pulumi from "@pulumi/pulumi";
import * as yandex from "@pulumi/yandex";

const myRegistry = new yandex.IotCoreRegistry("my_registry", {
    certificates: [
        "public part of certificate1",
        "public part of certificate2",
    ],
    description: "any description",
    labels: {
        "my-label": "my-label-value",
    },
    passwords: [
        "my-password1",
        "my-password2",
    ],
});

Create a IotCoreRegistry Resource

new IotCoreRegistry(name: string, args?: IotCoreRegistryArgs, opts?: CustomResourceOptions);
@overload
def IotCoreRegistry(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    certificates: Optional[Sequence[str]] = None,
                    description: Optional[str] = None,
                    folder_id: Optional[str] = None,
                    labels: Optional[Mapping[str, str]] = None,
                    name: Optional[str] = None,
                    passwords: Optional[Sequence[str]] = None)
@overload
def IotCoreRegistry(resource_name: str,
                    args: Optional[IotCoreRegistryArgs] = None,
                    opts: Optional[ResourceOptions] = None)
func NewIotCoreRegistry(ctx *Context, name string, args *IotCoreRegistryArgs, opts ...ResourceOption) (*IotCoreRegistry, error)
public IotCoreRegistry(string name, IotCoreRegistryArgs? args = null, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args IotCoreRegistryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args IotCoreRegistryArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args IotCoreRegistryArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args IotCoreRegistryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

IotCoreRegistry Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The IotCoreRegistry resource accepts the following input properties:

Certificates List<string>
A set of certificate’s fingerprints for the IoT Core Registry
Description string
Description of the IoT Core Registry
FolderId string
Folder ID for the IoT Core Registry
Labels Dictionary<string, string>
A set of key/value label pairs to assign to the IoT Core Registry.
Name string
IoT Core Device name used to define registry
Passwords List<string>
A set of passwords’s id for the IoT Core Registry
Certificates []string
A set of certificate’s fingerprints for the IoT Core Registry
Description string
Description of the IoT Core Registry
FolderId string
Folder ID for the IoT Core Registry
Labels map[string]string
A set of key/value label pairs to assign to the IoT Core Registry.
Name string
IoT Core Device name used to define registry
Passwords []string
A set of passwords’s id for the IoT Core Registry
certificates string[]
A set of certificate’s fingerprints for the IoT Core Registry
description string
Description of the IoT Core Registry
folderId string
Folder ID for the IoT Core Registry
labels {[key: string]: string}
A set of key/value label pairs to assign to the IoT Core Registry.
name string
IoT Core Device name used to define registry
passwords string[]
A set of passwords’s id for the IoT Core Registry
certificates Sequence[str]
A set of certificate’s fingerprints for the IoT Core Registry
description str
Description of the IoT Core Registry
folder_id str
Folder ID for the IoT Core Registry
labels Mapping[str, str]
A set of key/value label pairs to assign to the IoT Core Registry.
name str
IoT Core Device name used to define registry
passwords Sequence[str]
A set of passwords’s id for the IoT Core Registry

Outputs

All input properties are implicitly available as output properties. Additionally, the IotCoreRegistry resource produces the following output properties:

CreatedAt string
Creation timestamp of the IoT Core Registry
Id string
The provider-assigned unique ID for this managed resource.
CreatedAt string
Creation timestamp of the IoT Core Registry
Id string
The provider-assigned unique ID for this managed resource.
createdAt string
Creation timestamp of the IoT Core Registry
id string
The provider-assigned unique ID for this managed resource.
created_at str
Creation timestamp of the IoT Core Registry
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing IotCoreRegistry Resource

Get an existing IotCoreRegistry resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: IotCoreRegistryState, opts?: CustomResourceOptions): IotCoreRegistry
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        certificates: Optional[Sequence[str]] = None,
        created_at: Optional[str] = None,
        description: Optional[str] = None,
        folder_id: Optional[str] = None,
        labels: Optional[Mapping[str, str]] = None,
        name: Optional[str] = None,
        passwords: Optional[Sequence[str]] = None) -> IotCoreRegistry
func GetIotCoreRegistry(ctx *Context, name string, id IDInput, state *IotCoreRegistryState, opts ...ResourceOption) (*IotCoreRegistry, error)
public static IotCoreRegistry Get(string name, Input<string> id, IotCoreRegistryState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

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
FolderId string
Folder ID for the IoT Core Registry
Labels Dictionary<string, string>
A set of key/value label pairs to assign to the IoT Core Registry.
Name string
IoT Core Device name used to define registry
Passwords List<string>
A set of passwords’s id for the IoT Core Registry
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
FolderId string
Folder ID for the IoT Core Registry
Labels map[string]string
A set of key/value label pairs to assign to the IoT Core Registry.
Name string
IoT Core Device name used to define registry
Passwords []string
A set of passwords’s id for the IoT Core Registry
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
folderId string
Folder ID for the IoT Core Registry
labels {[key: string]: string}
A set of key/value label pairs to assign to the IoT Core Registry.
name string
IoT Core Device name used to define registry
passwords string[]
A set of passwords’s id for the IoT Core Registry
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
folder_id str
Folder ID for the IoT Core Registry
labels Mapping[str, str]
A set of key/value label pairs to assign to the IoT Core Registry.
name str
IoT Core Device name used to define registry
passwords Sequence[str]
A set of passwords’s id for the IoT Core Registry

Package Details

Repository
https://github.com/pulumi/pulumi-yandex
License
Apache-2.0
Notes
This Pulumi package is based on the yandex Terraform Provider.