@pulumi/linode
Version:
A Pulumi package for creating and managing linode cloud resources.
90 lines (89 loc) • 3.17 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* `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",
* });
* ```
*/
export declare function getConsumerImageShareGroup(args: GetConsumerImageShareGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetConsumerImageShareGroupResult>;
/**
* A collection of arguments for invoking getConsumerImageShareGroup.
*/
export interface GetConsumerImageShareGroupArgs {
/**
* The UUID of the token that has been accepted into the Image Share Group.
*/
tokenUuid: string;
}
/**
* A collection of values returned by getConsumerImageShareGroup.
*/
export interface GetConsumerImageShareGroupResult {
/**
* The date and time the Image Share Group was created.
*/
readonly created: string;
/**
* The description of the Image Share Group.
*/
readonly description: string;
/**
* The ID of the Image Share Group.
*/
readonly id: number;
/**
* Whether the Image Share Group is suspended.
*/
readonly isSuspended: boolean;
/**
* The label of the Image Share Group.
*/
readonly label: string;
readonly tokenUuid: string;
/**
* The date and time the Image Share Group was last updated.
*/
readonly updated: string;
/**
* The UUID of the Image Share Group.
*/
readonly uuid: string;
}
/**
* `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",
* });
* ```
*/
export declare function getConsumerImageShareGroupOutput(args: GetConsumerImageShareGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConsumerImageShareGroupResult>;
/**
* A collection of arguments for invoking getConsumerImageShareGroup.
*/
export interface GetConsumerImageShareGroupOutputArgs {
/**
* The UUID of the token that has been accepted into the Image Share Group.
*/
tokenUuid: pulumi.Input<string>;
}