import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Example Usage * * ## Import * * ```sh * $ pulumi import cloudflare:index/accountToken:AccountToken example '/' * ``` */ export declare class AccountToken extends pulumi.CustomResource { /** * Get an existing AccountToken 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, state?: AccountTokenState, opts?: pulumi.CustomResourceOptions): AccountToken; /** * Returns true if the given object is an instance of AccountToken. 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 AccountToken; /** * Account identifier tag. */ readonly accountId: pulumi.Output; readonly condition: pulumi.Output; /** * The expiration time on or after which the JWT MUST NOT be accepted for processing. */ readonly expiresOn: pulumi.Output; /** * The time on which the token was created. */ readonly issuedOn: pulumi.Output; /** * Last time the token was used. */ readonly lastUsedOn: pulumi.Output; /** * Last time the token was modified. */ readonly modifiedOn: pulumi.Output; /** * Token name. */ readonly name: pulumi.Output; /** * The time before which the token MUST NOT be accepted for processing. */ readonly notBefore: pulumi.Output; /** * List of access policies assigned to the token. */ readonly policies: pulumi.Output; /** * Status of the token. * Available values: "active", "disabled", "expired". */ readonly status: pulumi.Output; /** * The token value. */ readonly value: pulumi.Output; /** * Create a AccountToken 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: AccountTokenArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AccountToken resources. */ export interface AccountTokenState { /** * Account identifier tag. */ accountId?: pulumi.Input; condition?: pulumi.Input; /** * The expiration time on or after which the JWT MUST NOT be accepted for processing. */ expiresOn?: pulumi.Input; /** * The time on which the token was created. */ issuedOn?: pulumi.Input; /** * Last time the token was used. */ lastUsedOn?: pulumi.Input; /** * Last time the token was modified. */ modifiedOn?: pulumi.Input; /** * Token name. */ name?: pulumi.Input; /** * The time before which the token MUST NOT be accepted for processing. */ notBefore?: pulumi.Input; /** * List of access policies assigned to the token. */ policies?: pulumi.Input[]>; /** * Status of the token. * Available values: "active", "disabled", "expired". */ status?: pulumi.Input; /** * The token value. */ value?: pulumi.Input; } /** * The set of arguments for constructing a AccountToken resource. */ export interface AccountTokenArgs { /** * Account identifier tag. */ accountId: pulumi.Input; condition?: pulumi.Input; /** * The expiration time on or after which the JWT MUST NOT be accepted for processing. */ expiresOn?: pulumi.Input; /** * Token name. */ name: pulumi.Input; /** * The time before which the token MUST NOT be accepted for processing. */ notBefore?: pulumi.Input; /** * List of access policies assigned to the token. */ policies: pulumi.Input[]>; }