UNPKG

@pulumi/pulumiservice

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fpulumiservice.svg)](https://www.npmjs.com/package/@pulumi/pulumiservice) [![Python version](https://badge.fury.io

70 lines 2.52 kB
import * as pulumi from "@pulumi/pulumi"; /** * The Pulumi Cloud allows users to create access tokens scoped to orgs. Org access tokens is a resource to create them and assign them to an org */ export declare class OrgAccessToken extends pulumi.CustomResource { /** * Get an existing OrgAccessToken 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): OrgAccessToken; /** * Returns true if the given object is an instance of OrgAccessToken. 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 OrgAccessToken; /** * Optional. True if this is an admin token. */ readonly admin: pulumi.Output<boolean | undefined>; /** * Optional. Description for the token. */ readonly description: pulumi.Output<string | undefined>; /** * The name for the token. */ readonly name: pulumi.Output<string>; /** * The organization's name. */ readonly organizationName: pulumi.Output<string>; /** * The token's value. */ readonly value: pulumi.Output<string>; /** * Create a OrgAccessToken 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: OrgAccessTokenArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a OrgAccessToken resource. */ export interface OrgAccessTokenArgs { /** * Optional. True if this is an admin token. */ admin?: pulumi.Input<boolean | undefined>; /** * Optional. Description for the token. */ description?: pulumi.Input<string | undefined>; /** * The name for the token. */ name: pulumi.Input<string>; /** * The organization's name. */ organizationName: pulumi.Input<string>; } //# sourceMappingURL=orgAccessToken.d.ts.map