UNPKG

@pulumi/linode

Version:

A Pulumi package for creating and managing linode cloud resources.

132 lines (131 loc) 4.31 kB
import * as pulumi from "@pulumi/pulumi"; /** * Manages a member of an Image Share Group. * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/post-sharegroup-members). May not be currently available to all users even under v4beta. * * ## Example Usage * * Accept a member into an Image Share Group: * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as linode from "@pulumi/linode"; * * const example = new linode.ProducerImageShareGroupMember("example", { * sharegroupId: 12345, * token: "abcdefghijklmnopqrstuvwxyz0123456789", * label: "example-member", * }); * ``` */ export declare class ProducerImageShareGroupMember extends pulumi.CustomResource { /** * Get an existing ProducerImageShareGroupMember resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProducerImageShareGroupMemberState, opts?: pulumi.CustomResourceOptions): ProducerImageShareGroupMember; /** * Returns true if the given object is an instance of ProducerImageShareGroupMember. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ProducerImageShareGroupMember; /** * When the member was created. */ readonly created: pulumi.Output<string>; /** * When the member will expire. */ readonly expiry: pulumi.Output<string>; /** * A label for the member. */ readonly label: pulumi.Output<string>; /** * The ID of the Image Share Group to which the member will be added. */ readonly sharegroupId: pulumi.Output<number>; /** * The status of the member. */ readonly status: pulumi.Output<string>; /** * The token of the prospective member. */ readonly token: pulumi.Output<string>; /** * The UUID of member's token. */ readonly tokenUuid: pulumi.Output<string>; /** * When the member was last updated. */ readonly updated: pulumi.Output<string>; /** * Create a ProducerImageShareGroupMember resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ProducerImageShareGroupMemberArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ProducerImageShareGroupMember resources. */ export interface ProducerImageShareGroupMemberState { /** * When the member was created. */ created?: pulumi.Input<string>; /** * When the member will expire. */ expiry?: pulumi.Input<string>; /** * A label for the member. */ label?: pulumi.Input<string>; /** * The ID of the Image Share Group to which the member will be added. */ sharegroupId?: pulumi.Input<number>; /** * The status of the member. */ status?: pulumi.Input<string>; /** * The token of the prospective member. */ token?: pulumi.Input<string>; /** * The UUID of member's token. */ tokenUuid?: pulumi.Input<string>; /** * When the member was last updated. */ updated?: pulumi.Input<string>; } /** * The set of arguments for constructing a ProducerImageShareGroupMember resource. */ export interface ProducerImageShareGroupMemberArgs { /** * A label for the member. */ label: pulumi.Input<string>; /** * The ID of the Image Share Group to which the member will be added. */ sharegroupId: pulumi.Input<number>; /** * The token of the prospective member. */ token: pulumi.Input<string>; }