@pulumi/linode
Version:
A Pulumi package for creating and managing linode cloud resources.
98 lines (97 loc) • 3.11 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* `linode.ProducerImageShareGroup` provides details about an Image Share Group.
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-sharegroup). 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.getProducerImageShareGroup({
* id: 12345,
* });
* ```
*/
export declare function getProducerImageShareGroup(args: GetProducerImageShareGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetProducerImageShareGroupResult>;
/**
* A collection of arguments for invoking getProducerImageShareGroup.
*/
export interface GetProducerImageShareGroupArgs {
/**
* The ID of the Image Share Group.
*/
id: number;
}
/**
* A collection of values returned by getProducerImageShareGroup.
*/
export interface GetProducerImageShareGroupResult {
/**
* The date and time the Image Share Group was created.
*/
readonly created: string;
/**
* The description of the Image Share Group.
*/
readonly description: string;
/**
* The date and time the Image Share Group will expire.
*/
readonly expiry: string;
readonly id: number;
/**
* The number of images in the Image Share Group.
*/
readonly imagesCount: number;
/**
* Whether the Image Share Group is suspended.
*/
readonly isSuspended: boolean;
/**
* The label of the Image Share Group.
*/
readonly label: string;
/**
* The number of members in the Image Share Group.
*/
readonly membersCount: number;
/**
* 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.ProducerImageShareGroup` provides details about an Image Share Group.
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-sharegroup). 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.getProducerImageShareGroup({
* id: 12345,
* });
* ```
*/
export declare function getProducerImageShareGroupOutput(args: GetProducerImageShareGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProducerImageShareGroupResult>;
/**
* A collection of arguments for invoking getProducerImageShareGroup.
*/
export interface GetProducerImageShareGroupOutputArgs {
/**
* The ID of the Image Share Group.
*/
id: pulumi.Input<number>;
}