UNPKG

@pulumi/yandex

Version:

A Pulumi package for creating and managing yandex cloud resources.

40 lines 1.64 kB
"use strict"; // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getIotCoreRegistryOutput = exports.getIotCoreRegistry = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * 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. */ function getIotCoreRegistry(args, opts) { args = args || {}; if (!opts) { opts = {}; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); return pulumi.runtime.invoke("yandex:index/getIotCoreRegistry:getIotCoreRegistry", { "folderId": args.folderId, "name": args.name, "registryId": args.registryId, }, opts); } exports.getIotCoreRegistry = getIotCoreRegistry; function getIotCoreRegistryOutput(args, opts) { return pulumi.output(args).apply(a => getIotCoreRegistry(a, opts)); } exports.getIotCoreRegistryOutput = getIotCoreRegistryOutput; //# sourceMappingURL=getIotCoreRegistry.js.map