@pulumi/yandex
Version:
A Pulumi package for creating and managing yandex cloud resources.
148 lines (147 loc) • 4.77 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Allows management of [Yandex.Cloud IoT Registry](https://cloud.yandex.com/docs/iot-core/quickstart).
*
* ## Example Usage
*
* ```typescript
* 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",
* ],
* });
* ```
*/
export declare class IotCoreRegistry extends pulumi.CustomResource {
/**
* Get an existing IotCoreRegistry resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: IotCoreRegistryState, opts?: pulumi.CustomResourceOptions): IotCoreRegistry;
/**
* Returns true if the given object is an instance of IotCoreRegistry. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is IotCoreRegistry;
/**
* A set of certificate's fingerprints for the IoT Core Registry
*/
readonly certificates: pulumi.Output<string[] | undefined>;
/**
* Creation timestamp of the IoT Core Registry
*/
readonly createdAt: pulumi.Output<string>;
/**
* Description of the IoT Core Registry
*/
readonly description: pulumi.Output<string | undefined>;
/**
* Folder ID for the IoT Core Registry
*/
readonly folderId: pulumi.Output<string>;
/**
* A set of key/value label pairs to assign to the IoT Core Registry.
*/
readonly labels: pulumi.Output<{
[key: string]: string;
} | undefined>;
/**
* IoT Core Device name used to define registry
*/
readonly name: pulumi.Output<string>;
/**
* A set of passwords's id for the IoT Core Registry
*/
readonly passwords: pulumi.Output<string[] | undefined>;
/**
* Create a IotCoreRegistry resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: IotCoreRegistryArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering IotCoreRegistry resources.
*/
export interface IotCoreRegistryState {
/**
* A set of certificate's fingerprints for the IoT Core Registry
*/
certificates?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Creation timestamp of the IoT Core Registry
*/
createdAt?: pulumi.Input<string>;
/**
* Description of the IoT Core Registry
*/
description?: pulumi.Input<string>;
/**
* Folder ID for the IoT Core Registry
*/
folderId?: pulumi.Input<string>;
/**
* A set of key/value label pairs to assign to the IoT Core Registry.
*/
labels?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
/**
* IoT Core Device name used to define registry
*/
name?: pulumi.Input<string>;
/**
* A set of passwords's id for the IoT Core Registry
*/
passwords?: pulumi.Input<pulumi.Input<string>[]>;
}
/**
* The set of arguments for constructing a IotCoreRegistry resource.
*/
export interface IotCoreRegistryArgs {
/**
* A set of certificate's fingerprints for the IoT Core Registry
*/
certificates?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Description of the IoT Core Registry
*/
description?: pulumi.Input<string>;
/**
* Folder ID for the IoT Core Registry
*/
folderId?: pulumi.Input<string>;
/**
* A set of key/value label pairs to assign to the IoT Core Registry.
*/
labels?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
/**
* IoT Core Device name used to define registry
*/
name?: pulumi.Input<string>;
/**
* A set of passwords's id for the IoT Core Registry
*/
passwords?: pulumi.Input<pulumi.Input<string>[]>;
}