@pulumi/pulumiservice
Version:
[](https://slack.pulumi.com) [](https://www.npmjs.com/package/@pulumi/pulumiservice) [ and cannot exceed 40 characters. The `expires` field accepts a unix epoch timestamp up to two years from the present, or `0` for no expiry (default).
*
* **Important:** The token value in the response is only returned once at creation time and cannot be retrieved later.
*/
export declare class TeamToken extends pulumi.CustomResource {
/**
* Get an existing TeamToken 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 opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): TeamToken;
/**
* Returns true if the given object is an instance of TeamToken. 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 TeamToken;
/**
* The unique identifier
*/
readonly tokenId: pulumi.Output<string>;
/**
* The token value
*/
readonly tokenValue: pulumi.Output<string>;
/**
* Create a TeamToken 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: TeamTokenArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a TeamToken resource.
*/
export interface TeamTokenArgs {
/**
* The description
*/
description: pulumi.Input<string>;
/**
* The expiration time
*/
expires: pulumi.Input<number>;
/**
* The name
*/
name: pulumi.Input<string>;
/**
* The organization name
*/
orgName: pulumi.Input<string>;
/**
* Audit log reason for creating this token
*/
reason?: pulumi.Input<string | undefined>;
/**
* The team name
*/
teamName: pulumi.Input<string>;
}
//# sourceMappingURL=teamToken.d.ts.map