import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::RDSMySQL::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 { /** * Connection information for the default endpoint */ readonly addressObjects: outputs.rdsmysql.GetInstanceAddressObject[]; /** * Allowlist ID. To bind multiple allowlists, separate allowlist IDs with commas (,). Each instance can bind up to 100 allowlists */ readonly allowListIds: string[]; /** * Allowlist version */ readonly allowListVersion: string; /** * Auto scaling configuration */ readonly autoStorageScalingConfig: outputs.rdsmysql.GetInstanceAutoStorageScalingConfig; /** * Instance kernel minor version upgrade policy. Values: Auto: Automatic upgrade. Manual: Manual upgrade. */ readonly autoUpgradeMinorVersion: string; /** * Space used by audit logs in backup. */ readonly backupAuditLogSize: number; /** * Space used by binlog logs in backup. */ readonly backupBinLogSize: number; /** * Space used by data in backup. */ readonly backupDataSize: number; /** * Space used by error logs in backups. */ readonly backupErrorLogSize: number; /** * Free backup storage space, in GB */ readonly backupFreeQuotaSize: number; /** * Space used by logs in backups. */ readonly backupLogSize: number; /** * Space used by slow logs in backups. */ readonly backupSlowLogSize: number; /** * Backup space used by the instance, in GB */ readonly backupUse: number; /** * Space used by Binlog logs in basic backups. */ readonly basicBackupBinlogSize: number; /** * Space used by data in the base backup */ readonly basicBackupDataSize: number; /** * Billing method */ readonly chargeDetail: outputs.rdsmysql.GetInstanceChargeDetail; /** * Number of CPU cores for the database proxy service of the instance */ readonly cpuNum: number; /** * Instance creation local time. */ readonly createdTime: string; /** * Instance kernel minor version. */ readonly currentKernelVersion: string; /** * Compatible versions. Values: MySQL*5*7: MySQL 5.7 version. MySQL*8*0: MySQL 8.0 version */ readonly dbEngineVersion: string; /** * Parameter template ID. Default value is the default parameter template for the database engine version */ readonly dbParamGroupId: string; /** * Time zone. Supports UTC -12:00 ~ +13:00. Default is the time zone of the region. */ readonly dbTimeZone: string; /** * Whether to enable instance deletion protection. Values: Enabled: Yes. Disabled: No. Default value. */ readonly deletionProtection: string; /** * Disaster recovery instance information for the instance. */ readonly disasterRecoveryInstances: outputs.rdsmysql.GetInstanceDisasterRecoveryInstance[]; /** * ID of the data synchronization link between the primary and disaster recovery instances in the DTS data synchronization task. */ readonly drDtsTaskId: string; /** * Name of synchronization tasks between primary and disaster recovery instances. */ readonly drDtsTaskName: string; /** * Status of synchronization tasks between primary and disaster recovery instances. */ readonly drDtsTaskStatus: string; /** * Latency between the disaster recovery instance and the primary instance. */ readonly drSecondsBehindMaster: number; /** * Instance connection information. */ readonly endpoints: outputs.rdsmysql.GetInstanceEndpoint[]; /** * Enable global read-only mode. Values: true: enabled. false: disabled (default is false) */ readonly globalReadOnly: boolean; /** * Whether the instance has a disaster recovery instance. Values: true: Yes. false: No. */ readonly hasDisasterRecoveryInstances: boolean; /** * Is the instance in blue-green deployment? Values: true: yes. false: no. */ readonly hasGreenInstance: boolean; /** * Uniquely identifies the resource. */ readonly id: string; /** * Instance ID. */ readonly instanceId: string; /** * Instance name. */ readonly instanceName: string; /** * Instance status. */ readonly instanceStatus: string; /** * Instance type. Values: DoubleNode: dual-node type. MultiNode: multi-node type */ readonly instanceType: string; /** * Whether table names are case-sensitive. Default value is true. Values: false: Table names are stored as fixed and are case-sensitive. true: Table names are stored in lowercase and are case-insensitive. */ readonly lowerCaseTableNames: string; /** * Specify the maintenance window for the instance when creating it. This field is optional. If not set, the default is UTC18:00Z-21:59Z every day of the week (Beijing time 02:00-05:59). */ readonly maintenanceWindow: outputs.rdsmysql.GetInstanceMaintenanceWindow; /** * Primary instance ID */ readonly masterInstanceId: string; /** * Primary instance name. */ readonly masterInstanceName: string; /** * Memory size. Unit: GB. */ readonly memory: number; /** * Average CPU usage of the primary node in the instance over the past minute. */ readonly nodeCpuUsedPercentage: number; /** * Average memory usage of the primary node over the past minute */ readonly nodeMemoryUsedPercentage: number; /** * Number of nodes. */ readonly nodeNumber: string; /** * Average disk usage of the primary node over the past minute */ readonly nodeSpaceUsedPercentage: number; /** * Node specifications. */ readonly nodeSpec: string; /** * Instance node information. */ readonly nodes: outputs.rdsmysql.GetInstanceNode[]; /** * Default endpoint private network port. Port range: 1000~65534, default is 3306. When creating a new connection endpoint or enabling a new address, the default endpoint private network port is used for real-time configuration as the default port. */ readonly port: number; /** * Project. */ readonly projectName: string; /** * proxy information */ readonly proxyDetail: outputs.rdsmysql.GetInstanceProxyDetail; /** * Space used by audit logs in instance storage */ readonly storageAuditLogSize: number; /** * Binlog space usage in the instance storage */ readonly storageBinLogSize: number; /** * Space used by data in instance storage. */ readonly storageDataSize: number; /** * Space used by error logs in instance storage. */ readonly storageErrorLogSize: number; /** * Space used by logs in the instance storage */ readonly storageLogSize: number; /** * Space used by slow logs in instance storage */ readonly storageSlowLogSize: number; /** * Total storage space of the instance, in GB */ readonly storageSpace: number; /** * Instance storage type. Value range: LocalSSD: local disk. CloudESSD*FlexPL: FlexPL cloud disk. CloudESSD*PL0: PL0 cloud disk. */ readonly storageType: string; /** * Storage space used by the instance, in GB */ readonly storageUse: number; /** * Subnet ID. */ readonly subnetId: string; /** * High-privilege account name. If this parameter is not provided, a high-privilege account will not be created by default. */ readonly superAccountName: string; /** * Password for high-privilege account. Password rules: 8–32 characters in length. Must contain at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Special characters: !@#$%^&*()_+-=,.&?|/. */ readonly superAccountPassword: string; /** * Data synchronization mode: SemiSync: semi-synchronous. Async: asynchronous */ readonly syncMode: string; /** * RDS MySQL instance tag information */ readonly tags: outputs.rdsmysql.GetInstanceTag[]; /** * Time zone */ readonly timeZone: string; /** * Instance updates local time. */ readonly updatedTime: string; /** * CPU size. For example: 1 means 1U. */ readonly vcpu: number; /** * VPC (Virtual Private Cloud) ID. */ readonly vpcId: string; /** * Availability zone of the instance's primary node. */ readonly zoneId: string; /** * List of availability zones for each node in the instance. */ readonly zoneIds: string[]; } /** * Data Source schema for Volcengine::RDSMySQL::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; }