import * as pulumi from "@pulumi/pulumi"; /** * RDS PostgreSQL Schema resource type * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const rDSPostgreSQLSchemaDemo = new volcenginecc.rdspostgresql.Schema("RDSPostgreSQLSchemaDemo", { * instanceId: "postgres-8d1fcxxxxx", * dbName: "ccapi-terraform-1001", * schemaName: "ccapi-terraform-1", * owner: "test", * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:rdspostgresql/schema:Schema example "instance_id|db_name|schema_name" * ``` */ export declare class Schema extends pulumi.CustomResource { /** * Get an existing Schema 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?: SchemaState, opts?: pulumi.CustomResourceOptions): Schema; /** * Returns true if the given object is an instance of Schema. 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 Schema; /** * Database name */ readonly dbName: pulumi.Output; /** * Instance ID */ readonly instanceId: pulumi.Output; /** * Schema owner. Note that instance read-only accounts, high-privilege accounts with DDL permissions disabled, or regular accounts with DDL permissions disabled cannot be set as the Schema owner. */ readonly owner: pulumi.Output; /** * Schema name. Length: 2–63 characters. Can contain letters, numbers, underscores (*), or hyphens (-). Must start with a letter and end with a letter or number. Reserved keywords are not allowed; for all disabled keywords, see Disabled Keywords. Cannot start with pg* */ readonly schemaName: pulumi.Output; /** * Create a Schema 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: SchemaArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Schema resources. */ export interface SchemaState { /** * Database name */ dbName?: pulumi.Input; /** * Instance ID */ instanceId?: pulumi.Input; /** * Schema owner. Note that instance read-only accounts, high-privilege accounts with DDL permissions disabled, or regular accounts with DDL permissions disabled cannot be set as the Schema owner. */ owner?: pulumi.Input; /** * Schema name. Length: 2–63 characters. Can contain letters, numbers, underscores (*), or hyphens (-). Must start with a letter and end with a letter or number. Reserved keywords are not allowed; for all disabled keywords, see Disabled Keywords. Cannot start with pg* */ schemaName?: pulumi.Input; } /** * The set of arguments for constructing a Schema resource. */ export interface SchemaArgs { /** * Database name */ dbName: pulumi.Input; /** * Instance ID */ instanceId: pulumi.Input; /** * Schema owner. Note that instance read-only accounts, high-privilege accounts with DDL permissions disabled, or regular accounts with DDL permissions disabled cannot be set as the Schema owner. */ owner: pulumi.Input; /** * Schema name. Length: 2–63 characters. Can contain letters, numbers, underscores (*), or hyphens (-). Must start with a letter and end with a letter or number. Reserved keywords are not allowed; for all disabled keywords, see Disabled Keywords. Cannot start with pg* */ schemaName: pulumi.Input; }