UNPKG

@pulumi/linode

Version:

A Pulumi package for creating and managing linode cloud resources.

56 lines 2.61 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getConsumerImageShareGroupOutput = exports.getConsumerImageShareGroup = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * `linode.getConsumerImageShareGroup` provides details about an Image Share Group that the user's token has been accepted into. * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-sharegroup-by-token). May not be currently available to all users even under v4beta. * * ## Example Usage * * The following example shows how the datasource might be used to obtain additional information about an Image Share Group. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as linode from "@pulumi/linode"; * * const sg = linode.getConsumerImageShareGroup({ * tokenUuid: "7548d17e-8db4-4a91-b47c-a8e1203063d9", * }); * ``` */ function getConsumerImageShareGroup(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("linode:index/getConsumerImageShareGroup:getConsumerImageShareGroup", { "tokenUuid": args.tokenUuid, }, opts); } exports.getConsumerImageShareGroup = getConsumerImageShareGroup; /** * `linode.getConsumerImageShareGroup` provides details about an Image Share Group that the user's token has been accepted into. * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-sharegroup-by-token). May not be currently available to all users even under v4beta. * * ## Example Usage * * The following example shows how the datasource might be used to obtain additional information about an Image Share Group. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as linode from "@pulumi/linode"; * * const sg = linode.getConsumerImageShareGroup({ * tokenUuid: "7548d17e-8db4-4a91-b47c-a8e1203063d9", * }); * ``` */ function getConsumerImageShareGroupOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("linode:index/getConsumerImageShareGroup:getConsumerImageShareGroup", { "tokenUuid": args.tokenUuid, }, opts); } exports.getConsumerImageShareGroupOutput = getConsumerImageShareGroupOutput; //# sourceMappingURL=getConsumerImageShareGroup.js.map