import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Cloud database instance management * * ## Import * * ```sh * $ pulumi import volcenginecc:rdspostgresql/instance:Instance example "instance_id" * ``` */ export declare class Instance extends pulumi.CustomResource { /** * Get an existing Instance 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?: InstanceState, opts?: pulumi.CustomResourceOptions): Instance; /** * Returns true if the given object is an instance of Instance. 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 Instance; /** * Allowlist ID. To bind multiple allowlists, separate allowlist IDs with commas (,). An instance can bind up to 100 allowlists. */ readonly allowListIds: pulumi.Output; /** * Payment method */ readonly chargeDetail: pulumi.Output; /** * Instance creation time */ readonly createTime: pulumi.Output; /** * Synchronization mode. Value: Async (asynchronous synchronization) */ readonly dataSyncMode: pulumi.Output; /** * Compatible version */ readonly dbEngineVersion: pulumi.Output; readonly endpoints: pulumi.Output; /** * Instance ID */ readonly instanceId: pulumi.Output; /** * Instance name */ readonly instanceName: pulumi.Output; /** * Instance status */ readonly instanceStatus: pulumi.Output; /** * Instance type. Value: HA (high availability edition) */ readonly instanceType: pulumi.Output; /** * Instance maintenance window */ readonly maintenanceWindow: pulumi.Output; /** * Memory size, unit: GB */ readonly memory: pulumi.Output; readonly nodeInfos: pulumi.Output; /** * Number of nodes */ readonly nodeNumber: pulumi.Output; /** * Primary node specification */ readonly nodeSpec: pulumi.Output; /** * Project. Default value: default project */ readonly projectName: pulumi.Output; readonly replicationSlots: pulumi.Output; /** * Restore backup data to the current instance */ readonly restoreToExistedInstance: pulumi.Output; /** * Data file space used by the primary node. Unit: Byte */ readonly storageDataUse: pulumi.Output; /** * Log file space used by the primary node. Unit: Byte */ readonly storageLogUse: pulumi.Output; /** * Instance storage space. Value range: [20, 3000], unit: GB, increment: 10GB. Default value is 100 */ readonly storageSpace: pulumi.Output; /** * Temporary file space used by the primary node. Unit: Byte */ readonly storageTempUse: pulumi.Output; /** * Instance storage type, fixed value LocalSSD (local SSD disk) */ readonly storageType: pulumi.Output; /** * Used storage space of the instance. Unit: Byte */ readonly storageUse: pulumi.Output; /** * Used WAL file space of the instance's primary node. Unit: Byte */ readonly storageWalUse: pulumi.Output; /** * Subnet ID */ readonly subnetId: pulumi.Output; readonly tags: pulumi.Output; /** * Instance update time */ readonly updateTime: pulumi.Output; /** * CPU size. For example: 1 means 1U */ readonly vcpu: pulumi.Output; /** * Use this parameter to specify the private network for the instance */ readonly vpcId: pulumi.Output; /** * Availability zone ID */ readonly zoneId: pulumi.Output; /** * Create a Instance 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: InstanceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Instance resources. */ export interface InstanceState { /** * Allowlist ID. To bind multiple allowlists, separate allowlist IDs with commas (,). An instance can bind up to 100 allowlists. */ allowListIds?: pulumi.Input[]>; /** * Payment method */ chargeDetail?: pulumi.Input; /** * Instance creation time */ createTime?: pulumi.Input; /** * Synchronization mode. Value: Async (asynchronous synchronization) */ dataSyncMode?: pulumi.Input; /** * Compatible version */ dbEngineVersion?: pulumi.Input; endpoints?: pulumi.Input[]>; /** * Instance ID */ instanceId?: pulumi.Input; /** * Instance name */ instanceName?: pulumi.Input; /** * Instance status */ instanceStatus?: pulumi.Input; /** * Instance type. Value: HA (high availability edition) */ instanceType?: pulumi.Input; /** * Instance maintenance window */ maintenanceWindow?: pulumi.Input; /** * Memory size, unit: GB */ memory?: pulumi.Input; nodeInfos?: pulumi.Input[]>; /** * Number of nodes */ nodeNumber?: pulumi.Input; /** * Primary node specification */ nodeSpec?: pulumi.Input; /** * Project. Default value: default project */ projectName?: pulumi.Input; replicationSlots?: pulumi.Input[]>; /** * Restore backup data to the current instance */ restoreToExistedInstance?: pulumi.Input; /** * Data file space used by the primary node. Unit: Byte */ storageDataUse?: pulumi.Input; /** * Log file space used by the primary node. Unit: Byte */ storageLogUse?: pulumi.Input; /** * Instance storage space. Value range: [20, 3000], unit: GB, increment: 10GB. Default value is 100 */ storageSpace?: pulumi.Input; /** * Temporary file space used by the primary node. Unit: Byte */ storageTempUse?: pulumi.Input; /** * Instance storage type, fixed value LocalSSD (local SSD disk) */ storageType?: pulumi.Input; /** * Used storage space of the instance. Unit: Byte */ storageUse?: pulumi.Input; /** * Used WAL file space of the instance's primary node. Unit: Byte */ storageWalUse?: pulumi.Input; /** * Subnet ID */ subnetId?: pulumi.Input; tags?: pulumi.Input[]>; /** * Instance update time */ updateTime?: pulumi.Input; /** * CPU size. For example: 1 means 1U */ vcpu?: pulumi.Input; /** * Use this parameter to specify the private network for the instance */ vpcId?: pulumi.Input; /** * Availability zone ID */ zoneId?: pulumi.Input; } /** * The set of arguments for constructing a Instance resource. */ export interface InstanceArgs { /** * Allowlist ID. To bind multiple allowlists, separate allowlist IDs with commas (,). An instance can bind up to 100 allowlists. */ allowListIds?: pulumi.Input[]>; /** * Payment method */ chargeDetail: pulumi.Input; /** * Compatible version */ dbEngineVersion: pulumi.Input; /** * Instance name */ instanceName?: pulumi.Input; /** * Instance maintenance window */ maintenanceWindow?: pulumi.Input; nodeInfos: pulumi.Input[]>; /** * Project. Default value: default project */ projectName?: pulumi.Input; replicationSlots?: pulumi.Input[]>; /** * Restore backup data to the current instance */ restoreToExistedInstance?: pulumi.Input; /** * Instance storage space. Value range: [20, 3000], unit: GB, increment: 10GB. Default value is 100 */ storageSpace?: pulumi.Input; /** * Instance storage type, fixed value LocalSSD (local SSD disk) */ storageType: pulumi.Input; /** * Subnet ID */ subnetId: pulumi.Input; tags?: pulumi.Input[]>; /** * Use this parameter to specify the private network for the instance */ vpcId: pulumi.Input; }