UNPKG

@pulumi/linode

Version:

A Pulumi package for creating and managing linode cloud resources.

98 lines (97 loc) 3.3 kB
import * as pulumi from "@pulumi/pulumi"; /** * `linode.ConsumerImageShareGroupToken` provides details about a Token for an Image Share Group. * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-sharegroup-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 a Token for an Image Share Group. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as linode from "@pulumi/linode"; * * const token = linode.getConsumerImageShareGroupToken({ * tokenUuid: "db58ab2e-3021-4b08-9426-8e456f6dd268", * }); * ``` */ export declare function getConsumerImageShareGroupToken(args: GetConsumerImageShareGroupTokenArgs, opts?: pulumi.InvokeOptions): Promise<GetConsumerImageShareGroupTokenResult>; /** * A collection of arguments for invoking getConsumerImageShareGroupToken. */ export interface GetConsumerImageShareGroupTokenArgs { /** * The UUID of the token. */ tokenUuid: string; } /** * A collection of values returned by getConsumerImageShareGroupToken. */ export interface GetConsumerImageShareGroupTokenResult { /** * When the token was created. */ readonly created: string; /** * When the token will expire. */ readonly expiry: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * A label for the token. */ readonly label: string; /** * The label of the Image Share Group that the token is for. */ readonly sharegroupLabel: string; /** * The UUID of the Image Share Group that the token is for. */ readonly sharegroupUuid: string; /** * The status of the token. */ readonly status: string; readonly tokenUuid: string; /** * When the token was last updated. */ readonly updated: string; /** * The UUID of the Image Share Group for which to create a token. */ readonly validForSharegroupUuid: string; } /** * `linode.ConsumerImageShareGroupToken` provides details about a Token for an Image Share Group. * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-sharegroup-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 a Token for an Image Share Group. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as linode from "@pulumi/linode"; * * const token = linode.getConsumerImageShareGroupToken({ * tokenUuid: "db58ab2e-3021-4b08-9426-8e456f6dd268", * }); * ``` */ export declare function getConsumerImageShareGroupTokenOutput(args: GetConsumerImageShareGroupTokenOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConsumerImageShareGroupTokenResult>; /** * A collection of arguments for invoking getConsumerImageShareGroupToken. */ export interface GetConsumerImageShareGroupTokenOutputArgs { /** * The UUID of the token. */ tokenUuid: pulumi.Input<string>; }