import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::RDSPostgreSQL::Instance */ export declare function getInstance(args: GetInstanceArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getInstance. */ export interface GetInstanceArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getInstance. */ export interface GetInstanceResult { /** * Allowlist ID. To bind multiple allowlists, separate allowlist IDs with commas (,). An instance can bind up to 100 allowlists. */ readonly allowListIds: string[]; /** * Payment method */ readonly chargeDetail: outputs.rdspostgresql.GetInstanceChargeDetail; /** * Instance creation time */ readonly createTime: string; /** * Synchronization mode. Value: Async (asynchronous synchronization) */ readonly dataSyncMode: string; /** * Compatible version */ readonly dbEngineVersion: string; /** * Instance connection information */ readonly endpoints: outputs.rdspostgresql.GetInstanceEndpoint[]; /** * Uniquely identifies the resource. */ readonly id: string; /** * Instance ID */ readonly instanceId: string; /** * Instance name */ readonly instanceName: string; /** * Instance status */ readonly instanceStatus: string; /** * Instance type. Value: HA (high availability edition) */ readonly instanceType: string; /** * Instance maintenance window */ readonly maintenanceWindow: outputs.rdspostgresql.GetInstanceMaintenanceWindow; /** * Memory size, unit: GB */ readonly memory: number; /** * Instance specification configuration */ readonly nodeInfos: outputs.rdspostgresql.GetInstanceNodeInfo[]; /** * Number of nodes */ readonly nodeNumber: number; /** * Primary node specification */ readonly nodeSpec: string; /** * Project. Default value: default project */ readonly projectName: string; /** * Replication slot list for the instance */ readonly replicationSlots: outputs.rdspostgresql.GetInstanceReplicationSlot[]; /** * Restore backup data to the current instance */ readonly restoreToExistedInstance: outputs.rdspostgresql.GetInstanceRestoreToExistedInstance; /** * Data file space used by the primary node. Unit: Byte */ readonly storageDataUse: number; /** * Log file space used by the primary node. Unit: Byte */ readonly storageLogUse: number; /** * Instance storage space. Value range: [20, 3000], unit: GB, increment: 10GB. Default value is 100 */ readonly storageSpace: number; /** * Temporary file space used by the primary node. Unit: Byte */ readonly storageTempUse: number; /** * Instance storage type, fixed value LocalSSD (local SSD disk) */ readonly storageType: string; /** * Used storage space of the instance. Unit: Byte */ readonly storageUse: number; /** * Used WAL file space of the instance's primary node. Unit: Byte */ readonly storageWalUse: number; /** * Subnet ID */ readonly subnetId: string; /** * Tag information of the cloud disk */ readonly tags: outputs.rdspostgresql.GetInstanceTag[]; /** * Instance update time */ readonly updateTime: string; /** * CPU size. For example: 1 means 1U */ readonly vcpu: number; /** * Use this parameter to specify the private network for the instance */ readonly vpcId: string; /** * Availability zone ID */ readonly zoneId: string; } /** * Data Source schema for Volcengine::RDSPostgreSQL::Instance */ export declare function getInstanceOutput(args: GetInstanceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getInstance. */ export interface GetInstanceOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }