import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class PostgresBranchRole extends pulumi.CustomResource { /** * Get an existing PostgresBranchRole 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?: PostgresBranchRoleState, opts?: pulumi.CustomResourceOptions): PostgresBranchRole; /** * Returns true if the given object is an instance of PostgresBranchRole. 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 PostgresBranchRole; /** * The database connection string */ readonly accessHostUrl: pulumi.Output; readonly actorData: pulumi.Output; /** * Branch name from `list_branches`. Example: `main`. */ readonly branch: pulumi.Output; readonly branchData: pulumi.Output; /** * When the role was created */ readonly createdAt: pulumi.Output; /** * Database name slug from `list_databases`. Example: `app-db`. */ readonly database: pulumi.Output; /** * The database name */ readonly databaseName: pulumi.Output; /** * Whether the role is the default postgres user */ readonly default: pulumi.Output; /** * When the role was deleted */ readonly deletedAt: pulumi.Output; /** * When the role was disabled */ readonly disabledAt: pulumi.Output; /** * Error message available when dropping the role fails */ readonly dropFailed: pulumi.Output; /** * When the role was dropped */ readonly droppedAt: pulumi.Output; /** * True if the credentials are expired */ readonly expired: pulumi.Output; /** * When the role expires */ readonly expiresAt: pulumi.Output; /** * Roles to inherit from. Requires replacement if changed. */ readonly inheritedRoles: pulumi.Output; /** * The name of the role */ readonly name: pulumi.Output; /** * Organization name slug from `list_organizations`. Example: `acme`. */ readonly organization: pulumi.Output; /** * The plain text password, available only after create */ readonly password: pulumi.Output; /** * The database connection string for private connections */ readonly privateAccessHostUrl: pulumi.Output; /** * The service name to set up private connectivity */ readonly privateConnectionServiceName: pulumi.Output; readonly querySafetySettings: pulumi.Output; /** * The optional role to reassign ownership to before dropping */ readonly successor: pulumi.Output; /** * Time to live in seconds. Requires replacement if changed. */ readonly ttl: pulumi.Output; /** * When the role was updated */ readonly updatedAt: pulumi.Output; /** * The database user name */ readonly username: pulumi.Output; /** * Create a PostgresBranchRole 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: PostgresBranchRoleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering PostgresBranchRole resources. */ export interface PostgresBranchRoleState { /** * The database connection string */ accessHostUrl?: pulumi.Input; actorData?: pulumi.Input; /** * Branch name from `list_branches`. Example: `main`. */ branch?: pulumi.Input; branchData?: pulumi.Input; /** * When the role was created */ createdAt?: pulumi.Input; /** * Database name slug from `list_databases`. Example: `app-db`. */ database?: pulumi.Input; /** * The database name */ databaseName?: pulumi.Input; /** * Whether the role is the default postgres user */ default?: pulumi.Input; /** * When the role was deleted */ deletedAt?: pulumi.Input; /** * When the role was disabled */ disabledAt?: pulumi.Input; /** * Error message available when dropping the role fails */ dropFailed?: pulumi.Input; /** * When the role was dropped */ droppedAt?: pulumi.Input; /** * True if the credentials are expired */ expired?: pulumi.Input; /** * When the role expires */ expiresAt?: pulumi.Input; /** * Roles to inherit from. Requires replacement if changed. */ inheritedRoles?: pulumi.Input[]>; /** * The name of the role */ name?: pulumi.Input; /** * Organization name slug from `list_organizations`. Example: `acme`. */ organization?: pulumi.Input; /** * The plain text password, available only after create */ password?: pulumi.Input; /** * The database connection string for private connections */ privateAccessHostUrl?: pulumi.Input; /** * The service name to set up private connectivity */ privateConnectionServiceName?: pulumi.Input; querySafetySettings?: pulumi.Input; /** * The optional role to reassign ownership to before dropping */ successor?: pulumi.Input; /** * Time to live in seconds. Requires replacement if changed. */ ttl?: pulumi.Input; /** * When the role was updated */ updatedAt?: pulumi.Input; /** * The database user name */ username?: pulumi.Input; } /** * The set of arguments for constructing a PostgresBranchRole resource. */ export interface PostgresBranchRoleArgs { /** * Branch name from `list_branches`. Example: `main`. */ branch: pulumi.Input; /** * Database name slug from `list_databases`. Example: `app-db`. */ database: pulumi.Input; /** * Roles to inherit from. Requires replacement if changed. */ inheritedRoles?: pulumi.Input[]>; /** * The name of the role */ name?: pulumi.Input; /** * Organization name slug from `list_organizations`. Example: `acme`. */ organization: pulumi.Input; /** * The optional role to reassign ownership to before dropping */ successor?: pulumi.Input; /** * Time to live in seconds. Requires replacement if changed. */ ttl?: pulumi.Input; }