tencentcloud-sdk-nodejs-cynosdb 4.0.850 → 4.0.852
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/products.md +35 -35
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +71 -9
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +437 -201
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +23 -3
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +33 -3
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +427 -203
@@ -15,6 +15,25 @@ export interface UpgradeProxyVersionResponse {
|
|
15
15
|
*/
|
16
16
|
RequestId?: string;
|
17
17
|
}
|
18
|
+
/**
|
19
|
+
* DescribeInstanceCLSLogDelivery返回参数结构体
|
20
|
+
*/
|
21
|
+
export interface DescribeInstanceCLSLogDeliveryResponse {
|
22
|
+
/**
|
23
|
+
* 总数量
|
24
|
+
|
25
|
+
*/
|
26
|
+
TotalCount?: number;
|
27
|
+
/**
|
28
|
+
* 实例投递信息
|
29
|
+
|
30
|
+
*/
|
31
|
+
InstanceCLSDeliveryInfos?: Array<InstanceCLSDeliveryInfo>;
|
32
|
+
/**
|
33
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
34
|
+
*/
|
35
|
+
RequestId?: string;
|
36
|
+
}
|
18
37
|
/**
|
19
38
|
* ModifyMaintainPeriodConfig请求参数结构体
|
20
39
|
*/
|
@@ -479,6 +498,19 @@ export interface UserHostPrivilege {
|
|
479
498
|
*/
|
480
499
|
DbPrivilege: string;
|
481
500
|
}
|
501
|
+
/**
|
502
|
+
* StopCLSDelivery请求参数结构体
|
503
|
+
*/
|
504
|
+
export interface StopCLSDeliveryRequest {
|
505
|
+
/**
|
506
|
+
* 实例id
|
507
|
+
*/
|
508
|
+
InstanceId: string;
|
509
|
+
/**
|
510
|
+
* 日志主题id
|
511
|
+
*/
|
512
|
+
CLSTopicIds: Array<string>;
|
513
|
+
}
|
482
514
|
/**
|
483
515
|
* DescribeClusters请求参数结构体
|
484
516
|
*/
|
@@ -1475,6 +1507,19 @@ export interface ModifyAccountPrivilegesRequest {
|
|
1475
1507
|
*/
|
1476
1508
|
TablePrivileges?: Array<TablePrivileges>;
|
1477
1509
|
}
|
1510
|
+
/**
|
1511
|
+
* StartCLSDelivery返回参数结构体
|
1512
|
+
*/
|
1513
|
+
export interface StartCLSDeliveryResponse {
|
1514
|
+
/**
|
1515
|
+
* 异步任务id
|
1516
|
+
*/
|
1517
|
+
TaskId?: number;
|
1518
|
+
/**
|
1519
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1520
|
+
*/
|
1521
|
+
RequestId?: string;
|
1522
|
+
}
|
1478
1523
|
/**
|
1479
1524
|
* 参数变化信息
|
1480
1525
|
*/
|
@@ -1613,6 +1658,20 @@ export interface DescribeZonesResponse {
|
|
1613
1658
|
*/
|
1614
1659
|
RequestId?: string;
|
1615
1660
|
}
|
1661
|
+
/**
|
1662
|
+
* SearchClusterTables返回参数结构体
|
1663
|
+
*/
|
1664
|
+
export interface SearchClusterTablesResponse {
|
1665
|
+
/**
|
1666
|
+
* 数据表列表
|
1667
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1668
|
+
*/
|
1669
|
+
Tables?: Array<DatabaseTables>;
|
1670
|
+
/**
|
1671
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1672
|
+
*/
|
1673
|
+
RequestId?: string;
|
1674
|
+
}
|
1616
1675
|
/**
|
1617
1676
|
* ModifyParamTemplate请求参数结构体
|
1618
1677
|
*/
|
@@ -1754,13 +1813,195 @@ export interface InquirePriceCreateResponse {
|
|
1754
1813
|
RequestId?: string;
|
1755
1814
|
}
|
1756
1815
|
/**
|
1757
|
-
*
|
1816
|
+
* CreateClusters请求参数结构体
|
1758
1817
|
*/
|
1759
|
-
export interface
|
1818
|
+
export interface CreateClustersRequest {
|
1760
1819
|
/**
|
1761
|
-
*
|
1820
|
+
* 可用区
|
1762
1821
|
*/
|
1763
|
-
|
1822
|
+
Zone: string;
|
1823
|
+
/**
|
1824
|
+
* 所属VPC网络ID
|
1825
|
+
*/
|
1826
|
+
VpcId: string;
|
1827
|
+
/**
|
1828
|
+
* 所属子网ID
|
1829
|
+
*/
|
1830
|
+
SubnetId: string;
|
1831
|
+
/**
|
1832
|
+
* 数据库类型,取值范围:
|
1833
|
+
<li> MYSQL </li>
|
1834
|
+
*/
|
1835
|
+
DbType: string;
|
1836
|
+
/**
|
1837
|
+
* 数据库版本,取值范围:
|
1838
|
+
<li> MYSQL可选值:5.7,8.0 </li>
|
1839
|
+
*/
|
1840
|
+
DbVersion: string;
|
1841
|
+
/**
|
1842
|
+
* 所属项目ID
|
1843
|
+
*/
|
1844
|
+
ProjectId?: number;
|
1845
|
+
/**
|
1846
|
+
* 当DbMode为NORMAL或不填时必选
|
1847
|
+
普通实例Cpu核数
|
1848
|
+
*/
|
1849
|
+
Cpu?: number;
|
1850
|
+
/**
|
1851
|
+
* 当DbMode为NORMAL或不填时必选
|
1852
|
+
普通实例内存,单位GB
|
1853
|
+
*/
|
1854
|
+
Memory?: number;
|
1855
|
+
/**
|
1856
|
+
* 该参数无实际意义,已废弃。
|
1857
|
+
存储大小,单位GB。
|
1858
|
+
*/
|
1859
|
+
Storage?: number;
|
1860
|
+
/**
|
1861
|
+
* 集群名称,长度小于64个字符,每个字符取值范围:大/小写字母,数字,特殊符号('-','_','.')
|
1862
|
+
*/
|
1863
|
+
ClusterName?: string;
|
1864
|
+
/**
|
1865
|
+
* 账号密码(8-64个字符,包含大小写英文字母、数字和符号~!@#$%^&*_-+=`|\(){}[]:;'<>,.?/中的任意三种)
|
1866
|
+
*/
|
1867
|
+
AdminPassword?: string;
|
1868
|
+
/**
|
1869
|
+
* 端口,默认3306,取值范围[0, 65535)
|
1870
|
+
*/
|
1871
|
+
Port?: number;
|
1872
|
+
/**
|
1873
|
+
* 计费模式,按量计费:0,包年包月:1。默认按量计费。
|
1874
|
+
*/
|
1875
|
+
PayMode?: number;
|
1876
|
+
/**
|
1877
|
+
* 购买集群数,可选值范围[1,50],默认为1
|
1878
|
+
*/
|
1879
|
+
Count?: number;
|
1880
|
+
/**
|
1881
|
+
* 回档类型:
|
1882
|
+
noneRollback:不回档;
|
1883
|
+
snapRollback,快照回档;
|
1884
|
+
timeRollback,时间点回档
|
1885
|
+
*/
|
1886
|
+
RollbackStrategy?: string;
|
1887
|
+
/**
|
1888
|
+
* 快照回档,表示snapshotId;时间点回档,表示queryId,为0,表示需要判断时间点是否有效
|
1889
|
+
*/
|
1890
|
+
RollbackId?: number;
|
1891
|
+
/**
|
1892
|
+
* 回档时,传入源集群ID,用于查找源poolId
|
1893
|
+
*/
|
1894
|
+
OriginalClusterId?: string;
|
1895
|
+
/**
|
1896
|
+
* 时间点回档,指定时间;快照回档,快照时间
|
1897
|
+
*/
|
1898
|
+
ExpectTime?: string;
|
1899
|
+
/**
|
1900
|
+
* 该参数无实际意义,已废弃。
|
1901
|
+
时间点回档,指定时间允许范围
|
1902
|
+
*/
|
1903
|
+
ExpectTimeThresh?: number;
|
1904
|
+
/**
|
1905
|
+
* 普通实例存储上限,单位GB
|
1906
|
+
当DbType为MYSQL,且存储计费模式为预付费时,该参数需不大于cpu与memory对应存储规格上限
|
1907
|
+
*/
|
1908
|
+
StorageLimit?: number;
|
1909
|
+
/**
|
1910
|
+
* 实例数量,数量范围为(0,16]
|
1911
|
+
*/
|
1912
|
+
InstanceCount?: number;
|
1913
|
+
/**
|
1914
|
+
* 包年包月购买时长
|
1915
|
+
*/
|
1916
|
+
TimeSpan?: number;
|
1917
|
+
/**
|
1918
|
+
* 包年包月购买时长单位,['s','d','m','y']
|
1919
|
+
*/
|
1920
|
+
TimeUnit?: string;
|
1921
|
+
/**
|
1922
|
+
* 包年包月购买是否自动续费,默认为0。
|
1923
|
+
0标识默认续费方式,1表示自动续费,2表示手不自动续费。
|
1924
|
+
*/
|
1925
|
+
AutoRenewFlag?: number;
|
1926
|
+
/**
|
1927
|
+
* 是否自动选择代金券 1是 0否 默认为0
|
1928
|
+
*/
|
1929
|
+
AutoVoucher?: number;
|
1930
|
+
/**
|
1931
|
+
* 实例数量(该参数已不再使用,只做存量兼容处理)
|
1932
|
+
*/
|
1933
|
+
HaCount?: number;
|
1934
|
+
/**
|
1935
|
+
* 订单来源
|
1936
|
+
*/
|
1937
|
+
OrderSource?: string;
|
1938
|
+
/**
|
1939
|
+
* 集群创建需要绑定的tag数组信息
|
1940
|
+
*/
|
1941
|
+
ResourceTags?: Array<Tag>;
|
1942
|
+
/**
|
1943
|
+
* Db类型
|
1944
|
+
当DbType为MYSQL时可选(默认NORMAL):
|
1945
|
+
<li>NORMAL</li>
|
1946
|
+
<li>SERVERLESS</li>
|
1947
|
+
*/
|
1948
|
+
DbMode?: string;
|
1949
|
+
/**
|
1950
|
+
* 当DbMode为SERVERLESS时必填
|
1951
|
+
cpu最小值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
1952
|
+
*/
|
1953
|
+
MinCpu?: number;
|
1954
|
+
/**
|
1955
|
+
* 当DbMode为SERVERLESS时必填:
|
1956
|
+
cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
1957
|
+
*/
|
1958
|
+
MaxCpu?: number;
|
1959
|
+
/**
|
1960
|
+
* 当DbMode为SERVERLESS时,指定集群是否自动暂停,可选范围
|
1961
|
+
<li>yes</li>
|
1962
|
+
<li>no</li>
|
1963
|
+
默认值:yes
|
1964
|
+
*/
|
1965
|
+
AutoPause?: string;
|
1966
|
+
/**
|
1967
|
+
* 当DbMode为SERVERLESS时,指定集群自动暂停的延迟,单位秒,可选范围[600,691200]
|
1968
|
+
默认值:600
|
1969
|
+
*/
|
1970
|
+
AutoPauseDelay?: number;
|
1971
|
+
/**
|
1972
|
+
* 集群存储计费模式,按量计费:0,包年包月:1。默认按量计费
|
1973
|
+
当DbType为MYSQL时,在集群计算计费模式为后付费(包括DbMode为SERVERLESS)时,存储计费模式仅可为按量计费
|
1974
|
+
回档与克隆均不支持包年包月存储
|
1975
|
+
*/
|
1976
|
+
StoragePayMode?: number;
|
1977
|
+
/**
|
1978
|
+
* 安全组id数组
|
1979
|
+
*/
|
1980
|
+
SecurityGroupIds?: Array<string>;
|
1981
|
+
/**
|
1982
|
+
* 告警策略Id数组
|
1983
|
+
*/
|
1984
|
+
AlarmPolicyIds?: Array<string>;
|
1985
|
+
/**
|
1986
|
+
* 参数数组,暂时支持character_set_server (utf8|latin1|gbk|utf8mb4) ,lower_case_table_names,1-大小写不敏感,0-大小写敏感
|
1987
|
+
*/
|
1988
|
+
ClusterParams?: Array<ParamItem>;
|
1989
|
+
/**
|
1990
|
+
* 交易模式,0-下单且支付,1-下单
|
1991
|
+
*/
|
1992
|
+
DealMode?: number;
|
1993
|
+
/**
|
1994
|
+
* 参数模板ID,可以通过查询参数模板信息DescribeParamTemplates获得参数模板ID
|
1995
|
+
*/
|
1996
|
+
ParamTemplateId?: number;
|
1997
|
+
/**
|
1998
|
+
* 多可用区地址
|
1999
|
+
*/
|
2000
|
+
SlaveZone?: string;
|
2001
|
+
/**
|
2002
|
+
* 实例初始化配置信息,主要用于购买集群时选不同规格实例
|
2003
|
+
*/
|
2004
|
+
InstanceInitInfos?: Array<InstanceInitInfo>;
|
1764
2005
|
}
|
1765
2006
|
/**
|
1766
2007
|
* DescribeClusterParamLogs请求参数结构体
|
@@ -1931,6 +2172,57 @@ export interface ModifyClusterDatabaseRequest {
|
|
1931
2172
|
*/
|
1932
2173
|
OldUserHostPrivileges?: Array<UserHostPrivilege>;
|
1933
2174
|
}
|
2175
|
+
/**
|
2176
|
+
* 实例日志投递信息
|
2177
|
+
*/
|
2178
|
+
export interface InstanceCLSDeliveryInfo {
|
2179
|
+
/**
|
2180
|
+
* 实例id
|
2181
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2182
|
+
*/
|
2183
|
+
InstanceId?: string;
|
2184
|
+
/**
|
2185
|
+
* 实例name
|
2186
|
+
|
2187
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2188
|
+
*/
|
2189
|
+
InstanceName?: string;
|
2190
|
+
/**
|
2191
|
+
* 日志主题id
|
2192
|
+
|
2193
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2194
|
+
*/
|
2195
|
+
TopicId?: string;
|
2196
|
+
/**
|
2197
|
+
* 日志主题name
|
2198
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2199
|
+
*/
|
2200
|
+
TopicName?: string;
|
2201
|
+
/**
|
2202
|
+
* 日志集id
|
2203
|
+
|
2204
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2205
|
+
*/
|
2206
|
+
GroupId?: string;
|
2207
|
+
/**
|
2208
|
+
* 日志集name
|
2209
|
+
|
2210
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2211
|
+
*/
|
2212
|
+
GroupName?: string;
|
2213
|
+
/**
|
2214
|
+
* 日志投递地域
|
2215
|
+
|
2216
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2217
|
+
*/
|
2218
|
+
Region?: string;
|
2219
|
+
/**
|
2220
|
+
* 投递状态creating,running,offlining,offlined
|
2221
|
+
|
2222
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2223
|
+
*/
|
2224
|
+
Status?: string;
|
2225
|
+
}
|
1934
2226
|
/**
|
1935
2227
|
* ModifyMaintainPeriodConfig返回参数结构体
|
1936
2228
|
*/
|
@@ -2023,6 +2315,32 @@ export interface DescribeAccountAllGrantPrivilegesRequest {
|
|
2023
2315
|
*/
|
2024
2316
|
Account: InputAccount;
|
2025
2317
|
}
|
2318
|
+
/**
|
2319
|
+
* DeleteCLSDelivery请求参数结构体
|
2320
|
+
*/
|
2321
|
+
export interface DeleteCLSDeliveryRequest {
|
2322
|
+
/**
|
2323
|
+
* 实例id
|
2324
|
+
*/
|
2325
|
+
InstanceId: string;
|
2326
|
+
/**
|
2327
|
+
* 日志主题id
|
2328
|
+
*/
|
2329
|
+
CLSTopicIds: Array<string>;
|
2330
|
+
}
|
2331
|
+
/**
|
2332
|
+
* CreateCLSDelivery返回参数结构体
|
2333
|
+
*/
|
2334
|
+
export interface CreateCLSDeliveryResponse {
|
2335
|
+
/**
|
2336
|
+
* 异步任务id
|
2337
|
+
*/
|
2338
|
+
TaskId?: number;
|
2339
|
+
/**
|
2340
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2341
|
+
*/
|
2342
|
+
RequestId?: string;
|
2343
|
+
}
|
2026
2344
|
/**
|
2027
2345
|
* 手动备份任务信息
|
2028
2346
|
*/
|
@@ -2899,15 +3217,29 @@ export interface RuleTemplateInfo {
|
|
2899
3217
|
*/
|
2900
3218
|
AlarmLevel?: number;
|
2901
3219
|
/**
|
2902
|
-
* 告警策略。0-不告警,1-告警。
|
2903
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3220
|
+
* 告警策略。0-不告警,1-告警。
|
3221
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3222
|
+
*/
|
3223
|
+
AlarmPolicy?: number;
|
3224
|
+
/**
|
3225
|
+
* 规则描述。
|
3226
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3227
|
+
*/
|
3228
|
+
Description?: string;
|
3229
|
+
}
|
3230
|
+
/**
|
3231
|
+
* StopCLSDelivery返回参数结构体
|
3232
|
+
*/
|
3233
|
+
export interface StopCLSDeliveryResponse {
|
3234
|
+
/**
|
3235
|
+
* 异步任务id
|
3236
|
+
|
2904
3237
|
*/
|
2905
|
-
|
3238
|
+
TaskId?: number;
|
2906
3239
|
/**
|
2907
|
-
*
|
2908
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3240
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2909
3241
|
*/
|
2910
|
-
|
3242
|
+
RequestId?: string;
|
2911
3243
|
}
|
2912
3244
|
/**
|
2913
3245
|
* CreateAuditLogFile返回参数结构体
|
@@ -2988,195 +3320,13 @@ export interface SetRenewFlagResponse {
|
|
2988
3320
|
RequestId?: string;
|
2989
3321
|
}
|
2990
3322
|
/**
|
2991
|
-
*
|
3323
|
+
* CreateClusterDatabase返回参数结构体
|
2992
3324
|
*/
|
2993
|
-
export interface
|
2994
|
-
/**
|
2995
|
-
* 可用区
|
2996
|
-
*/
|
2997
|
-
Zone: string;
|
2998
|
-
/**
|
2999
|
-
* 所属VPC网络ID
|
3000
|
-
*/
|
3001
|
-
VpcId: string;
|
3002
|
-
/**
|
3003
|
-
* 所属子网ID
|
3004
|
-
*/
|
3005
|
-
SubnetId: string;
|
3006
|
-
/**
|
3007
|
-
* 数据库类型,取值范围:
|
3008
|
-
<li> MYSQL </li>
|
3009
|
-
*/
|
3010
|
-
DbType: string;
|
3011
|
-
/**
|
3012
|
-
* 数据库版本,取值范围:
|
3013
|
-
<li> MYSQL可选值:5.7,8.0 </li>
|
3014
|
-
*/
|
3015
|
-
DbVersion: string;
|
3016
|
-
/**
|
3017
|
-
* 所属项目ID
|
3018
|
-
*/
|
3019
|
-
ProjectId?: number;
|
3020
|
-
/**
|
3021
|
-
* 当DbMode为NORMAL或不填时必选
|
3022
|
-
普通实例Cpu核数
|
3023
|
-
*/
|
3024
|
-
Cpu?: number;
|
3025
|
-
/**
|
3026
|
-
* 当DbMode为NORMAL或不填时必选
|
3027
|
-
普通实例内存,单位GB
|
3028
|
-
*/
|
3029
|
-
Memory?: number;
|
3030
|
-
/**
|
3031
|
-
* 该参数无实际意义,已废弃。
|
3032
|
-
存储大小,单位GB。
|
3033
|
-
*/
|
3034
|
-
Storage?: number;
|
3035
|
-
/**
|
3036
|
-
* 集群名称,长度小于64个字符,每个字符取值范围:大/小写字母,数字,特殊符号('-','_','.')
|
3037
|
-
*/
|
3038
|
-
ClusterName?: string;
|
3039
|
-
/**
|
3040
|
-
* 账号密码(8-64个字符,包含大小写英文字母、数字和符号~!@#$%^&*_-+=`|\(){}[]:;'<>,.?/中的任意三种)
|
3041
|
-
*/
|
3042
|
-
AdminPassword?: string;
|
3043
|
-
/**
|
3044
|
-
* 端口,默认3306,取值范围[0, 65535)
|
3045
|
-
*/
|
3046
|
-
Port?: number;
|
3047
|
-
/**
|
3048
|
-
* 计费模式,按量计费:0,包年包月:1。默认按量计费。
|
3049
|
-
*/
|
3050
|
-
PayMode?: number;
|
3051
|
-
/**
|
3052
|
-
* 购买集群数,可选值范围[1,50],默认为1
|
3053
|
-
*/
|
3054
|
-
Count?: number;
|
3055
|
-
/**
|
3056
|
-
* 回档类型:
|
3057
|
-
noneRollback:不回档;
|
3058
|
-
snapRollback,快照回档;
|
3059
|
-
timeRollback,时间点回档
|
3060
|
-
*/
|
3061
|
-
RollbackStrategy?: string;
|
3062
|
-
/**
|
3063
|
-
* 快照回档,表示snapshotId;时间点回档,表示queryId,为0,表示需要判断时间点是否有效
|
3064
|
-
*/
|
3065
|
-
RollbackId?: number;
|
3066
|
-
/**
|
3067
|
-
* 回档时,传入源集群ID,用于查找源poolId
|
3068
|
-
*/
|
3069
|
-
OriginalClusterId?: string;
|
3070
|
-
/**
|
3071
|
-
* 时间点回档,指定时间;快照回档,快照时间
|
3072
|
-
*/
|
3073
|
-
ExpectTime?: string;
|
3074
|
-
/**
|
3075
|
-
* 该参数无实际意义,已废弃。
|
3076
|
-
时间点回档,指定时间允许范围
|
3077
|
-
*/
|
3078
|
-
ExpectTimeThresh?: number;
|
3079
|
-
/**
|
3080
|
-
* 普通实例存储上限,单位GB
|
3081
|
-
当DbType为MYSQL,且存储计费模式为预付费时,该参数需不大于cpu与memory对应存储规格上限
|
3082
|
-
*/
|
3083
|
-
StorageLimit?: number;
|
3084
|
-
/**
|
3085
|
-
* 实例数量,数量范围为(0,16]
|
3086
|
-
*/
|
3087
|
-
InstanceCount?: number;
|
3088
|
-
/**
|
3089
|
-
* 包年包月购买时长
|
3090
|
-
*/
|
3091
|
-
TimeSpan?: number;
|
3092
|
-
/**
|
3093
|
-
* 包年包月购买时长单位,['s','d','m','y']
|
3094
|
-
*/
|
3095
|
-
TimeUnit?: string;
|
3096
|
-
/**
|
3097
|
-
* 包年包月购买是否自动续费,默认为0。
|
3098
|
-
0标识默认续费方式,1表示自动续费,2表示手不自动续费。
|
3099
|
-
*/
|
3100
|
-
AutoRenewFlag?: number;
|
3101
|
-
/**
|
3102
|
-
* 是否自动选择代金券 1是 0否 默认为0
|
3103
|
-
*/
|
3104
|
-
AutoVoucher?: number;
|
3105
|
-
/**
|
3106
|
-
* 实例数量(该参数已不再使用,只做存量兼容处理)
|
3107
|
-
*/
|
3108
|
-
HaCount?: number;
|
3109
|
-
/**
|
3110
|
-
* 订单来源
|
3111
|
-
*/
|
3112
|
-
OrderSource?: string;
|
3113
|
-
/**
|
3114
|
-
* 集群创建需要绑定的tag数组信息
|
3115
|
-
*/
|
3116
|
-
ResourceTags?: Array<Tag>;
|
3117
|
-
/**
|
3118
|
-
* Db类型
|
3119
|
-
当DbType为MYSQL时可选(默认NORMAL):
|
3120
|
-
<li>NORMAL</li>
|
3121
|
-
<li>SERVERLESS</li>
|
3122
|
-
*/
|
3123
|
-
DbMode?: string;
|
3124
|
-
/**
|
3125
|
-
* 当DbMode为SERVERLESS时必填
|
3126
|
-
cpu最小值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
3127
|
-
*/
|
3128
|
-
MinCpu?: number;
|
3129
|
-
/**
|
3130
|
-
* 当DbMode为SERVERLESS时必填:
|
3131
|
-
cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
3132
|
-
*/
|
3133
|
-
MaxCpu?: number;
|
3134
|
-
/**
|
3135
|
-
* 当DbMode为SERVERLESS时,指定集群是否自动暂停,可选范围
|
3136
|
-
<li>yes</li>
|
3137
|
-
<li>no</li>
|
3138
|
-
默认值:yes
|
3139
|
-
*/
|
3140
|
-
AutoPause?: string;
|
3141
|
-
/**
|
3142
|
-
* 当DbMode为SERVERLESS时,指定集群自动暂停的延迟,单位秒,可选范围[600,691200]
|
3143
|
-
默认值:600
|
3144
|
-
*/
|
3145
|
-
AutoPauseDelay?: number;
|
3146
|
-
/**
|
3147
|
-
* 集群存储计费模式,按量计费:0,包年包月:1。默认按量计费
|
3148
|
-
当DbType为MYSQL时,在集群计算计费模式为后付费(包括DbMode为SERVERLESS)时,存储计费模式仅可为按量计费
|
3149
|
-
回档与克隆均不支持包年包月存储
|
3150
|
-
*/
|
3151
|
-
StoragePayMode?: number;
|
3152
|
-
/**
|
3153
|
-
* 安全组id数组
|
3154
|
-
*/
|
3155
|
-
SecurityGroupIds?: Array<string>;
|
3156
|
-
/**
|
3157
|
-
* 告警策略Id数组
|
3158
|
-
*/
|
3159
|
-
AlarmPolicyIds?: Array<string>;
|
3160
|
-
/**
|
3161
|
-
* 参数数组,暂时支持character_set_server (utf8|latin1|gbk|utf8mb4) ,lower_case_table_names,1-大小写不敏感,0-大小写敏感
|
3162
|
-
*/
|
3163
|
-
ClusterParams?: Array<ParamItem>;
|
3164
|
-
/**
|
3165
|
-
* 交易模式,0-下单且支付,1-下单
|
3166
|
-
*/
|
3167
|
-
DealMode?: number;
|
3168
|
-
/**
|
3169
|
-
* 参数模板ID,可以通过查询参数模板信息DescribeParamTemplates获得参数模板ID
|
3170
|
-
*/
|
3171
|
-
ParamTemplateId?: number;
|
3172
|
-
/**
|
3173
|
-
* 多可用区地址
|
3174
|
-
*/
|
3175
|
-
SlaveZone?: string;
|
3325
|
+
export interface CreateClusterDatabaseResponse {
|
3176
3326
|
/**
|
3177
|
-
*
|
3327
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3178
3328
|
*/
|
3179
|
-
|
3329
|
+
RequestId?: string;
|
3180
3330
|
}
|
3181
3331
|
/**
|
3182
3332
|
* DescribeClusters返回参数结构体
|
@@ -3796,6 +3946,19 @@ export interface SwitchProxyVpcResponse {
|
|
3796
3946
|
*/
|
3797
3947
|
RequestId?: string;
|
3798
3948
|
}
|
3949
|
+
/**
|
3950
|
+
* StartCLSDelivery请求参数结构体
|
3951
|
+
*/
|
3952
|
+
export interface StartCLSDeliveryRequest {
|
3953
|
+
/**
|
3954
|
+
* 实例id
|
3955
|
+
*/
|
3956
|
+
InstanceId: string;
|
3957
|
+
/**
|
3958
|
+
* 开通的日志主题id
|
3959
|
+
*/
|
3960
|
+
CLSTopicIds: Array<string>;
|
3961
|
+
}
|
3799
3962
|
/**
|
3800
3963
|
* 可用区属性项
|
3801
3964
|
*/
|
@@ -3828,6 +3991,45 @@ export interface DescribeChangedParamsAfterUpgradeRequest {
|
|
3828
3991
|
*/
|
3829
3992
|
DstMem: number;
|
3830
3993
|
}
|
3994
|
+
/**
|
3995
|
+
* CLS日志投递配置
|
3996
|
+
*/
|
3997
|
+
export interface CLSInfo {
|
3998
|
+
/**
|
3999
|
+
* 日志主题操作:可选create,reuse。
|
4000
|
+
create:新增日志主题,使用TopicName创建日志主题。
|
4001
|
+
reuse:使用已有日志主题,使用TopicId指定日志主题。
|
4002
|
+
不允许使用已有日志主题且新建日志集的组合。
|
4003
|
+
*/
|
4004
|
+
TopicOperation: string;
|
4005
|
+
/**
|
4006
|
+
* 日志集操作:可选create,reuse。
|
4007
|
+
create:新增日志集,使用GroupName创建日志集。
|
4008
|
+
reuse:使用已有日志集,使用GroupId指定日志集。
|
4009
|
+
不允许使用已有日志主题且新建日志集的组合。
|
4010
|
+
*/
|
4011
|
+
GroupOperation: string;
|
4012
|
+
/**
|
4013
|
+
* 日志投递地域
|
4014
|
+
*/
|
4015
|
+
Region: string;
|
4016
|
+
/**
|
4017
|
+
* 日志主题id
|
4018
|
+
*/
|
4019
|
+
TopicId?: string;
|
4020
|
+
/**
|
4021
|
+
* 日志主题name
|
4022
|
+
*/
|
4023
|
+
TopicName?: string;
|
4024
|
+
/**
|
4025
|
+
* 日志集id
|
4026
|
+
*/
|
4027
|
+
GroupId?: string;
|
4028
|
+
/**
|
4029
|
+
* 日志集name
|
4030
|
+
*/
|
4031
|
+
GroupName?: string;
|
4032
|
+
}
|
3831
4033
|
/**
|
3832
4034
|
* SwitchProxyVpc请求参数结构体
|
3833
4035
|
*/
|
@@ -6643,18 +6845,17 @@ export interface CreateBackupRequest {
|
|
6643
6845
|
BackupName?: string;
|
6644
6846
|
}
|
6645
6847
|
/**
|
6646
|
-
*
|
6848
|
+
* CreateCLSDelivery请求参数结构体
|
6647
6849
|
*/
|
6648
|
-
export interface
|
6850
|
+
export interface CreateCLSDeliveryRequest {
|
6649
6851
|
/**
|
6650
|
-
*
|
6651
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6852
|
+
* 实例id
|
6652
6853
|
*/
|
6653
|
-
|
6854
|
+
InstanceId: string;
|
6654
6855
|
/**
|
6655
|
-
*
|
6856
|
+
* 日志投递配置
|
6656
6857
|
*/
|
6657
|
-
|
6858
|
+
CLSInfoList: Array<CLSInfo>;
|
6658
6859
|
}
|
6659
6860
|
/**
|
6660
6861
|
* DescribeMaintainPeriod返回参数结构体
|
@@ -8675,6 +8876,15 @@ export interface ModifyAccountDescriptionRequest {
|
|
8675
8876
|
*/
|
8676
8877
|
Host?: string;
|
8677
8878
|
}
|
8879
|
+
/**
|
8880
|
+
* DescribeInstanceCLSLogDelivery请求参数结构体
|
8881
|
+
*/
|
8882
|
+
export interface DescribeInstanceCLSLogDeliveryRequest {
|
8883
|
+
/**
|
8884
|
+
* 实例id
|
8885
|
+
*/
|
8886
|
+
InstanceId: string;
|
8887
|
+
}
|
8678
8888
|
/**
|
8679
8889
|
* UpgradeInstance返回参数结构体
|
8680
8890
|
*/
|
@@ -9337,6 +9547,20 @@ export interface ZoneStockInfo {
|
|
9337
9547
|
*/
|
9338
9548
|
SlaveZoneStockInfos?: Array<SlaveZoneStockInfo>;
|
9339
9549
|
}
|
9550
|
+
/**
|
9551
|
+
* DeleteCLSDelivery返回参数结构体
|
9552
|
+
*/
|
9553
|
+
export interface DeleteCLSDeliveryResponse {
|
9554
|
+
/**
|
9555
|
+
* 异步任务id
|
9556
|
+
|
9557
|
+
*/
|
9558
|
+
TaskId?: number;
|
9559
|
+
/**
|
9560
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9561
|
+
*/
|
9562
|
+
RequestId?: string;
|
9563
|
+
}
|
9340
9564
|
/**
|
9341
9565
|
* InquirePriceRenew返回参数结构体
|
9342
9566
|
*/
|