import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class VitessBranchPassword extends pulumi.CustomResource { /** * Get an existing VitessBranchPassword 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?: VitessBranchPasswordState, opts?: pulumi.CustomResourceOptions): VitessBranchPassword; /** * Returns true if the given object is an instance of VitessBranchPassword. 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 VitessBranchPassword; /** * The regional host URL */ readonly accessHostRegionalUrl: pulumi.Output; /** * The read-only replica host URLs */ readonly accessHostRegionalUrls: pulumi.Output; /** * The host URL for the password */ readonly accessHostUrl: pulumi.Output; readonly actor: pulumi.Output; /** * The name of the branch the password belongs to */ readonly branch: pulumi.Output; /** * List of IP addresses or CIDR ranges that can use this password */ readonly cidrs: pulumi.Output; /** * When the password was created */ readonly createdAt: pulumi.Output; /** * The name of the database the password belongs to */ readonly database: pulumi.Output; readonly databaseBranch: pulumi.Output; /** * When the password was deleted */ readonly deletedAt: pulumi.Output; /** * Whether the password connects directly to a VTGate. Requires replacement if changed. */ readonly directVtgate: pulumi.Output; /** * The list of hosts in each availability zone providing direct access to a vtgate */ readonly directVtgateAddresses: pulumi.Output; /** * True if the credentials are expired */ readonly expired: pulumi.Output; /** * When the password will expire */ readonly expiresAt: pulumi.Output; /** * When the password was last used to execute a query */ readonly lastUsedAt: pulumi.Output; /** * Optional name of the password */ readonly name: pulumi.Output; /** * The name of the organization the password belongs to */ readonly organization: pulumi.Output; /** * The plain text password, available only after create */ readonly plainText: pulumi.Output; readonly region: pulumi.Output; /** * Whether or not the password can be renewed */ readonly renewable: pulumi.Output; /** * Whether the password is for a read replica. Requires replacement if changed. */ readonly replica: pulumi.Output; /** * The database role of the password (i.e. admin). must be one of ["reader", "writer", "admin", "readwriter"]; Requires replacement if changed. */ readonly role: pulumi.Output; /** * Time to live (in seconds) for the password. The password will be invalid when TTL has passed. Requires replacement if changed. */ readonly ttl: pulumi.Output; /** * Time to live (in seconds) for the password. The password will be invalid when TTL has passed */ readonly ttlSeconds: pulumi.Output; /** * The username for the password */ readonly username: pulumi.Output; /** * Create a VitessBranchPassword 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: VitessBranchPasswordArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering VitessBranchPassword resources. */ export interface VitessBranchPasswordState { /** * The regional host URL */ accessHostRegionalUrl?: pulumi.Input; /** * The read-only replica host URLs */ accessHostRegionalUrls?: pulumi.Input[]>; /** * The host URL for the password */ accessHostUrl?: pulumi.Input; actor?: pulumi.Input; /** * The name of the branch the password belongs to */ branch?: pulumi.Input; /** * List of IP addresses or CIDR ranges that can use this password */ cidrs?: pulumi.Input[]>; /** * When the password was created */ createdAt?: pulumi.Input; /** * The name of the database the password belongs to */ database?: pulumi.Input; databaseBranch?: pulumi.Input; /** * When the password was deleted */ deletedAt?: pulumi.Input; /** * Whether the password connects directly to a VTGate. Requires replacement if changed. */ directVtgate?: pulumi.Input; /** * The list of hosts in each availability zone providing direct access to a vtgate */ directVtgateAddresses?: pulumi.Input[]>; /** * True if the credentials are expired */ expired?: pulumi.Input; /** * When the password will expire */ expiresAt?: pulumi.Input; /** * When the password was last used to execute a query */ lastUsedAt?: pulumi.Input; /** * Optional name of the password */ name?: pulumi.Input; /** * The name of the organization the password belongs to */ organization?: pulumi.Input; /** * The plain text password, available only after create */ plainText?: pulumi.Input; region?: pulumi.Input; /** * Whether or not the password can be renewed */ renewable?: pulumi.Input; /** * Whether the password is for a read replica. Requires replacement if changed. */ replica?: pulumi.Input; /** * The database role of the password (i.e. admin). must be one of ["reader", "writer", "admin", "readwriter"]; Requires replacement if changed. */ role?: pulumi.Input; /** * Time to live (in seconds) for the password. The password will be invalid when TTL has passed. Requires replacement if changed. */ ttl?: pulumi.Input; /** * Time to live (in seconds) for the password. The password will be invalid when TTL has passed */ ttlSeconds?: pulumi.Input; /** * The username for the password */ username?: pulumi.Input; } /** * The set of arguments for constructing a VitessBranchPassword resource. */ export interface VitessBranchPasswordArgs { /** * The name of the branch the password belongs to */ branch: pulumi.Input; /** * List of IP addresses or CIDR ranges that can use this password */ cidrs?: pulumi.Input[]>; /** * The name of the database the password belongs to */ database: pulumi.Input; /** * Whether the password connects directly to a VTGate. Requires replacement if changed. */ directVtgate?: pulumi.Input; /** * Optional name of the password */ name?: pulumi.Input; /** * The name of the organization the password belongs to */ organization: pulumi.Input; /** * Whether the password is for a read replica. Requires replacement if changed. */ replica?: pulumi.Input; /** * The database role of the password (i.e. admin). must be one of ["reader", "writer", "admin", "readwriter"]; Requires replacement if changed. */ role?: pulumi.Input; /** * Time to live (in seconds) for the password. The password will be invalid when TTL has passed. Requires replacement if changed. */ ttl?: pulumi.Input; }