import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::VEDBM::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 { /** * Billing details. */ readonly chargeDetail: outputs.vedbm.GetInstanceChargeDetail; /** * Instance creation time, format: YYYY-MM-DDTHH:MM:SSZ (UTC time) */ readonly createdTime: string; /** * Instance compatible version. Options: MySQL*8*0: Compatible with community MySQL 8.0. MySQL*5*7: Compatible with community MySQL 5.7 */ readonly dbEngineVersion: string; /** * Select the veDB MySQL minor version based on compatibility. When DBEngineVersion is set to MySQL*5*7, the default value for this parameter is 2.0. When DBEngineVersion is set to MySQL*8*0, the parameter value options are as follows: 3.0 (default): veDB MySQL stable version, 100% compatible with MySQL 8.0. 3.1: Native support for HTAP scenarios, accelerates complex queries. 3.2: Native support for HTAP scenarios, accelerates complex queries. */ readonly dbMinorVersion: string; /** * Instance kernel version. */ readonly dbRevisionVersion: string; /** * Whether deletion protection is enabled for the instance. Value range: enabled: enabled. disabled: disabled. */ readonly deletionProtection: string; /** * Endpoint details */ readonly endpoints: outputs.vedbm.GetInstanceEndpoint[]; /** * Uniquely identifies the resource. */ readonly id: string; /** * Instance ID. */ readonly instanceId: string; /** * Instance name. Naming rules: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be between 1 and 128 characters. */ readonly instanceName: string; /** * Instance status. */ readonly instanceStatus: string; /** * Whether table names are case-sensitive. Value range: 0: table names are case-sensitive; backend stores according to actual table name. 1: table names are not case-sensitive; backend stores table names in lowercase. */ readonly lowerCaseTableNames: string; /** * Instance maintenance window information */ readonly maintenanceWindow: outputs.vedbm.GetInstanceMaintenanceWindow; /** * Number of instance nodes. Value range: 2–16. */ readonly nodeNumber: number; /** * Instance node specification code. */ readonly nodeSpec: string; /** * Instance node details */ readonly nodes: outputs.vedbm.GetInstanceNode[]; /** * Number of instances to create. Range: 1~50. Default: 1 */ readonly number: number; /** * Specify the private network port number for the default connection endpoint created for the instance. Default value is 3306. Value range: 1000–65534. */ readonly port: number; /** * Total prepaid storage capacity, in GiB */ readonly prePaidStorageInGb: number; /** * Project name to which the instance belongs. */ readonly projectName: string; /** * Instance specification type. Values: General: general purpose. Exclusive: dedicated. */ readonly specFamily: string; /** * Storage billing type. If this parameter is not specified, the storage billing type defaults to the same value as the compute billing type. Values: PostPaid: pay-as-you-go. PrePaid: annual/monthly subscription (prepaid). */ readonly storageChargeType: string; /** * Used storage space, in GiB */ readonly storageUsedGiB: number; /** * Subnet ID. The subnet must belong to the selected availability zone. */ readonly subnetId: string; /** * Account name for privileged user. Requirements: Must be unique, 2–32 characters. Letters, numbers, hyphens (-), and underscores (_) only. Must start with a letter and end with a letter or number. Cannot contain prohibited keywords */ readonly superAccountName: string; /** * Password for high-privilege account. The password must meet the following requirements: can only contain uppercase and lowercase letters, numbers, and special characters (such as ~!@#$%^&*_-+=`|(){}[]:;'<>,.?/). Length must be between 8 and 32 characters. Must include at least three of the following: uppercase letters, lowercase letters, numbers, or special characters. */ readonly superAccountPassword: string; /** * Array object of tag keys and tag values bound to the instance. */ readonly tags: outputs.vedbm.GetInstanceTag[]; /** * Parameter template ID */ readonly templateId: string; /** * Instance time zone. The default time zone for all regions in China is UTC +08:00. */ readonly timeZone: string; /** * Private network (VPC) ID. */ readonly vpcId: string; /** * Availability zone ID */ readonly zoneIds: string; } /** * Data Source schema for Volcengine::VEDBM::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; }