import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::RDSMsSQL::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 { /** * Advanced instance features to modify. This API currently requires allowlisting. To use it, contact technical support. Example value: {"Key":"Value"} */ readonly advancedFeatures: string; /** * Allowlist ID list permitted for access. */ readonly allowListIds: string[]; /** * Used backup space for the instance, in GiB. */ readonly backupUse: number; /** * Payment method. */ readonly chargeInfo: outputs.rdsmssql.GetInstanceChargeInfo; /** * Connection information. */ readonly connectionInfos: outputs.rdsmssql.GetInstanceConnectionInfo[]; /** * Creation time. */ readonly createdTime: string; /** * Compatible version. Values: SQLServer*2019*Std: SQL Server 2019 Standard Edition. SQLServer*2019*Ent: SQL Server 2019 Enterprise Edition. SQLServer*2019*Web: SQL Server 2019 Web Edition. SQLServer*2022*Std: SQL Server 2022 Standard Edition. SQLServer*2022*Ent: SQL Server 2022 Enterprise Edition. SQLServer*2022*Web: SQL Server 2022 Web Edition. */ readonly dbEngineVersion: string; /** * Uniquely identifies the resource. */ readonly id: string; /** * Kernel version number. */ readonly innerVersion: string; /** * Instance category. Values: Primary: primary instance. ReadOnly: read-only instance. */ readonly instanceCategory: 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. Values: Running: running. Creating: creating. CreateFailed: creation failed. Deleting: deleting. Restarting: restarting. Updating: updating. MasterChanging: primary node switching. Error: error. */ readonly instanceStatus: string; /** * Instance type. Available values: HA (High Availability), Basic, Cluster. Supported types vary by engine version: 2019 Std supports HA/Basic; 2019 Ent supports Cluster/Basic; 2019 Web supports Basic. */ readonly instanceType: string; /** * Instance maintenance window. Format: HH:mmZ-HH:mmZ (UTC time). Default: UTC18:00Z-21:59Z (Beijing time 02:00-05:59). Note: To ensure cloud database stability, the system performs maintenance on instances periodically. It is recommended to set the maintenance window during off-peak hours to avoid business impact. During the maintenance window, the instance may experience 1–2 brief disconnections. Ensure your application supports automatic reconnection. The minimum maintenance window is 1 hour, the maximum is 24 hours, and cross-day maintenance windows are not allowed. */ readonly maintenanceTime: string; /** * Primary node ID. This parameter is required when manually switching master and standby nodes. */ readonly masterNodeId: string; /** * Memory size, in GiB. */ readonly memory: number; /** * Instance node information. */ readonly nodeDetailInfos: outputs.rdsmssql.GetInstanceNodeDetailInfo[]; /** * Instance specification code. */ readonly nodeSpec: string; /** * Port. */ readonly port: string; /** * Primary instance ID. If this field is empty, this instance is the primary instance. */ readonly primaryInstanceId: string; /** * Project. */ readonly projectName: string; /** * Number of read-only instances. */ readonly readOnlyNumber: number; /** * Instance collation. Default: Chinese*PRC*CI*AS. Most native collations are supported. Available values: Latin1*General*CI*AS, Latin1*General*CS*AS, SQL*Latin1*General*CP1*CI*AS, SQL*Latin1*General*CP1*CS*AS, Chinese*PRC*CI*AS, Chinese*PRC*CS*AS, Chinese*PRC*BIN, Japanese*CI*AS, Japanese*CS*AS, Chinese*Taiwan*Stroke*CI*AS, Chinese*Taiwan*Stroke*CS*AS, Thai*CI*AS, Chinese*PRC*CI*AI, Chinese*PRC*BIN2, Cyrillic*General*CI_AS. */ readonly serverCollation: string; /** * Indicates whether slow logs are enabled. Available values: true: slow logs enabled. false: slow logs disabled. */ readonly slowQueryEnable: boolean; /** * Slow log threshold. Range: [1~10], unit: seconds (s). */ readonly slowQueryTime: string; /** * Storage size, in GiB. Range: 20 GiB ~ 4000 GiB, increment: 10 GiB. */ readonly storageSpace: number; /** * Instance storage type. */ readonly storageType: string; /** * Used storage space for the instance. Unit: GiB. */ readonly storageUse: number; /** * Subnet ID. If the primary and standby nodes are in different availability zones, their subnets must be set to the corresponding private network subnets for each zone. Use a semicolon (;) to separate multiple zones. */ readonly subnetId: string; /** * Password for the high-privilege account. Password rules: 8–32 characters; must include at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Allowed special characters: !@#$%^&*()_+-=. */ readonly superAccountPassword: string; /** * Tag list. */ readonly tags: outputs.rdsmssql.GetInstanceTag[]; /** * Time zone. */ readonly timeZone: string; /** * Update time. */ readonly updatedTime: string; /** * CPU size. For example: 1 means 1 core. */ readonly vcpu: number; /** * VPC ID */ readonly vpcId: string; /** * Availability zone of the node. If the primary and standby nodes are in different availability zones, use a semicolon (;) to separate them. The first is the primary node's zone by default, the second is the standby node's zone. */ readonly zoneId: string; } /** * Data Source schema for Volcengine::RDSMsSQL::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; }