import * as pulumi from "@pulumi/pulumi"; /** * Creates a new DebugToken for the specified app. For security reasons, after the creation operation completes, the `token` field cannot be updated or retrieved, but you can revoke the debug token using DeleteDebugToken. Each app can have a maximum of 20 debug tokens. */ export declare class DebugToken extends pulumi.CustomResource { /** * Get an existing DebugToken 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, opts?: pulumi.CustomResourceOptions): DebugToken; /** * Returns true if the given object is an instance of DebugToken. 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 DebugToken; readonly appId: pulumi.Output; /** * A human readable display name used to identify this debug token. */ readonly displayName: pulumi.Output; /** * The relative resource name of the debug token, in the format: ``` projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id} ``` */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Input only. Immutable. The secret token itself. Must be provided during creation, and must be a UUID4, case insensitive. This field is immutable once set, and cannot be provided during an UpdateDebugToken request. You can, however, delete this debug token using DeleteDebugToken to revoke it. For security reasons, this field will never be populated in any response. */ readonly token: pulumi.Output; /** * Create a DebugToken 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: DebugTokenArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a DebugToken resource. */ export interface DebugTokenArgs { appId: pulumi.Input; /** * A human readable display name used to identify this debug token. */ displayName: pulumi.Input; /** * The relative resource name of the debug token, in the format: ``` projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id} ``` */ name?: pulumi.Input; project?: pulumi.Input; /** * Input only. Immutable. The secret token itself. Must be provided during creation, and must be a UUID4, case insensitive. This field is immutable once set, and cannot be provided during an UpdateDebugToken request. You can, however, delete this debug token using DeleteDebugToken to revoke it. For security reasons, this field will never be populated in any response. */ token: pulumi.Input; }