@pulumi/yandex
Version:
A Pulumi package for creating and managing yandex cloud resources.
87 lines (86 loc) • 2.6 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Get information about a Yandex IoT Core Registry. For more information IoT Core, see
* [Yandex.Cloud IoT Registry](https://cloud.yandex.com/docs/iot-core/quickstart).
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as yandex from "@pulumi/yandex";
*
* const myRegistry = pulumi.output(yandex.getIotCoreRegistry({
* registryId: "are1sampleregistry11",
* }));
* ```
*
* This data source is used to define [Yandex.Cloud IoT Registry](https://cloud.yandex.com/docs/iot-core/quickstart) that can be used by other resources.
*/
export declare function getIotCoreRegistry(args?: GetIotCoreRegistryArgs, opts?: pulumi.InvokeOptions): Promise<GetIotCoreRegistryResult>;
/**
* A collection of arguments for invoking getIotCoreRegistry.
*/
export interface GetIotCoreRegistryArgs {
/**
* Folder ID for the IoT Core Registry
*/
folderId?: string;
/**
* IoT Core Registry name used to define registry
*/
name?: string;
/**
* IoT Core Registry id used to define registry
*/
registryId?: string;
}
/**
* A collection of values returned by getIotCoreRegistry.
*/
export interface GetIotCoreRegistryResult {
/**
* A set of certificate's fingerprints for the IoT Core Registry
*/
readonly certificates: string[];
/**
* Creation timestamp of the IoT Core Registry
*/
readonly createdAt: string;
/**
* Description of the IoT Core Registry
*/
readonly description: string;
readonly folderId?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* A set of key/value label pairs to assign to the IoT Core Registry.
*/
readonly labels: {
[key: string]: string;
};
readonly name?: string;
/**
* A set of passwords's id for the IoT Core Registry
*/
readonly passwords: string[];
readonly registryId?: string;
}
export declare function getIotCoreRegistryOutput(args?: GetIotCoreRegistryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetIotCoreRegistryResult>;
/**
* A collection of arguments for invoking getIotCoreRegistry.
*/
export interface GetIotCoreRegistryOutputArgs {
/**
* Folder ID for the IoT Core Registry
*/
folderId?: pulumi.Input<string>;
/**
* IoT Core Registry name used to define registry
*/
name?: pulumi.Input<string>;
/**
* IoT Core Registry id used to define registry
*/
registryId?: pulumi.Input<string>;
}