yandex.IotCoreRegistry
Explore with Pulumi AI
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
})
}
Coming soon!
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",
],
});
Coming soon!
Create IotCoreRegistry Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IotCoreRegistry(name: string, args?: IotCoreRegistryArgs, opts?: CustomResourceOptions);
@overload
def IotCoreRegistry(resource_name: str,
args: Optional[IotCoreRegistryArgs] = None,
opts: Optional[ResourceOptions] = None)
@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)
func NewIotCoreRegistry(ctx *Context, name string, args *IotCoreRegistryArgs, opts ...ResourceOption) (*IotCoreRegistry, error)
public IotCoreRegistry(string name, IotCoreRegistryArgs? args = null, CustomResourceOptions? opts = null)
public IotCoreRegistry(String name, IotCoreRegistryArgs args)
public IotCoreRegistry(String name, IotCoreRegistryArgs args, CustomResourceOptions options)
type: yandex:IotCoreRegistry
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- 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.
- name String
- The unique name of the resource.
- args IotCoreRegistryArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var iotCoreRegistryResource = new Yandex.IotCoreRegistry("iotCoreRegistryResource", new()
{
Certificates = new[]
{
"string",
},
Description = "string",
FolderId = "string",
Labels =
{
{ "string", "string" },
},
Name = "string",
Passwords = new[]
{
"string",
},
});
example, err := yandex.NewIotCoreRegistry(ctx, "iotCoreRegistryResource", &yandex.IotCoreRegistryArgs{
Certificates: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
FolderId: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
Passwords: pulumi.StringArray{
pulumi.String("string"),
},
})
var iotCoreRegistryResource = new IotCoreRegistry("iotCoreRegistryResource", IotCoreRegistryArgs.builder()
.certificates("string")
.description("string")
.folderId("string")
.labels(Map.of("string", "string"))
.name("string")
.passwords("string")
.build());
iot_core_registry_resource = yandex.IotCoreRegistry("iotCoreRegistryResource",
certificates=["string"],
description="string",
folder_id="string",
labels={
"string": "string",
},
name="string",
passwords=["string"])
const iotCoreRegistryResource = new yandex.IotCoreRegistry("iotCoreRegistryResource", {
certificates: ["string"],
description: "string",
folderId: "string",
labels: {
string: "string",
},
name: "string",
passwords: ["string"],
});
type: yandex:IotCoreRegistry
properties:
certificates:
- string
description: string
folderId: string
labels:
string: string
name: string
passwords:
- string
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
- Folder
Id 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
- Folder
Id 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 List<String>
- A set of certificate's fingerprints for the IoT Core Registry
- description String
- Description of the IoT Core Registry
- folder
Id 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 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
- folder
Id 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
- certificates List<String>
- A set of certificate's fingerprints for the IoT Core Registry
- description String
- Description of the IoT Core Registry
- folder
Id String - Folder ID for the IoT Core Registry
- labels Map<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
Outputs
All input properties are implicitly available as output properties. Additionally, the IotCoreRegistry resource produces the following output properties:
- created_
at str - Creation timestamp of the IoT Core Registry
- id str
- The provider-assigned unique ID for this managed resource.
Look up 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)
public static IotCoreRegistry get(String name, Output<String> id, IotCoreRegistryState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- 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.
- 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
- Folder
Id 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
- Created
At string - Creation timestamp of the IoT Core Registry
- Description string
- Description of the IoT Core Registry
- Folder
Id 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 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
- folder
Id 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 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
- created
At string - Creation timestamp of the IoT Core Registry
- description string
- Description of the IoT Core Registry
- folder
Id 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
- 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
- folder
Id String - Folder ID for the IoT Core Registry
- labels Map<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
Package Details
- Repository
- Yandex pulumi/pulumi-yandex
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
yandex
Terraform Provider.