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
@@ -33,6 +33,26 @@ export interface UpgradeProxyVersionResponse {
|
|
33
33
|
RequestId?: string
|
34
34
|
}
|
35
35
|
|
36
|
+
/**
|
37
|
+
* DescribeInstanceCLSLogDelivery返回参数结构体
|
38
|
+
*/
|
39
|
+
export interface DescribeInstanceCLSLogDeliveryResponse {
|
40
|
+
/**
|
41
|
+
* 总数量
|
42
|
+
|
43
|
+
*/
|
44
|
+
TotalCount?: number
|
45
|
+
/**
|
46
|
+
* 实例投递信息
|
47
|
+
|
48
|
+
*/
|
49
|
+
InstanceCLSDeliveryInfos?: Array<InstanceCLSDeliveryInfo>
|
50
|
+
/**
|
51
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
52
|
+
*/
|
53
|
+
RequestId?: string
|
54
|
+
}
|
55
|
+
|
36
56
|
/**
|
37
57
|
* ModifyMaintainPeriodConfig请求参数结构体
|
38
58
|
*/
|
@@ -517,6 +537,20 @@ export interface UserHostPrivilege {
|
|
517
537
|
DbPrivilege: string
|
518
538
|
}
|
519
539
|
|
540
|
+
/**
|
541
|
+
* StopCLSDelivery请求参数结构体
|
542
|
+
*/
|
543
|
+
export interface StopCLSDeliveryRequest {
|
544
|
+
/**
|
545
|
+
* 实例id
|
546
|
+
*/
|
547
|
+
InstanceId: string
|
548
|
+
/**
|
549
|
+
* 日志主题id
|
550
|
+
*/
|
551
|
+
CLSTopicIds: Array<string>
|
552
|
+
}
|
553
|
+
|
520
554
|
/**
|
521
555
|
* DescribeClusters请求参数结构体
|
522
556
|
*/
|
@@ -1541,6 +1575,20 @@ export interface ModifyAccountPrivilegesRequest {
|
|
1541
1575
|
TablePrivileges?: Array<TablePrivileges>
|
1542
1576
|
}
|
1543
1577
|
|
1578
|
+
/**
|
1579
|
+
* StartCLSDelivery返回参数结构体
|
1580
|
+
*/
|
1581
|
+
export interface StartCLSDeliveryResponse {
|
1582
|
+
/**
|
1583
|
+
* 异步任务id
|
1584
|
+
*/
|
1585
|
+
TaskId?: number
|
1586
|
+
/**
|
1587
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1588
|
+
*/
|
1589
|
+
RequestId?: string
|
1590
|
+
}
|
1591
|
+
|
1544
1592
|
/**
|
1545
1593
|
* 参数变化信息
|
1546
1594
|
*/
|
@@ -1685,6 +1733,21 @@ export interface DescribeZonesResponse {
|
|
1685
1733
|
RequestId?: string
|
1686
1734
|
}
|
1687
1735
|
|
1736
|
+
/**
|
1737
|
+
* SearchClusterTables返回参数结构体
|
1738
|
+
*/
|
1739
|
+
export interface SearchClusterTablesResponse {
|
1740
|
+
/**
|
1741
|
+
* 数据表列表
|
1742
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1743
|
+
*/
|
1744
|
+
Tables?: Array<DatabaseTables>
|
1745
|
+
/**
|
1746
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1747
|
+
*/
|
1748
|
+
RequestId?: string
|
1749
|
+
}
|
1750
|
+
|
1688
1751
|
/**
|
1689
1752
|
* ModifyParamTemplate请求参数结构体
|
1690
1753
|
*/
|
@@ -1832,13 +1895,195 @@ export interface InquirePriceCreateResponse {
|
|
1832
1895
|
}
|
1833
1896
|
|
1834
1897
|
/**
|
1835
|
-
*
|
1898
|
+
* CreateClusters请求参数结构体
|
1836
1899
|
*/
|
1837
|
-
export interface
|
1900
|
+
export interface CreateClustersRequest {
|
1838
1901
|
/**
|
1839
|
-
*
|
1902
|
+
* 可用区
|
1840
1903
|
*/
|
1841
|
-
|
1904
|
+
Zone: string
|
1905
|
+
/**
|
1906
|
+
* 所属VPC网络ID
|
1907
|
+
*/
|
1908
|
+
VpcId: string
|
1909
|
+
/**
|
1910
|
+
* 所属子网ID
|
1911
|
+
*/
|
1912
|
+
SubnetId: string
|
1913
|
+
/**
|
1914
|
+
* 数据库类型,取值范围:
|
1915
|
+
<li> MYSQL </li>
|
1916
|
+
*/
|
1917
|
+
DbType: string
|
1918
|
+
/**
|
1919
|
+
* 数据库版本,取值范围:
|
1920
|
+
<li> MYSQL可选值:5.7,8.0 </li>
|
1921
|
+
*/
|
1922
|
+
DbVersion: string
|
1923
|
+
/**
|
1924
|
+
* 所属项目ID
|
1925
|
+
*/
|
1926
|
+
ProjectId?: number
|
1927
|
+
/**
|
1928
|
+
* 当DbMode为NORMAL或不填时必选
|
1929
|
+
普通实例Cpu核数
|
1930
|
+
*/
|
1931
|
+
Cpu?: number
|
1932
|
+
/**
|
1933
|
+
* 当DbMode为NORMAL或不填时必选
|
1934
|
+
普通实例内存,单位GB
|
1935
|
+
*/
|
1936
|
+
Memory?: number
|
1937
|
+
/**
|
1938
|
+
* 该参数无实际意义,已废弃。
|
1939
|
+
存储大小,单位GB。
|
1940
|
+
*/
|
1941
|
+
Storage?: number
|
1942
|
+
/**
|
1943
|
+
* 集群名称,长度小于64个字符,每个字符取值范围:大/小写字母,数字,特殊符号('-','_','.')
|
1944
|
+
*/
|
1945
|
+
ClusterName?: string
|
1946
|
+
/**
|
1947
|
+
* 账号密码(8-64个字符,包含大小写英文字母、数字和符号~!@#$%^&*_-+=`|\(){}[]:;'<>,.?/中的任意三种)
|
1948
|
+
*/
|
1949
|
+
AdminPassword?: string
|
1950
|
+
/**
|
1951
|
+
* 端口,默认3306,取值范围[0, 65535)
|
1952
|
+
*/
|
1953
|
+
Port?: number
|
1954
|
+
/**
|
1955
|
+
* 计费模式,按量计费:0,包年包月:1。默认按量计费。
|
1956
|
+
*/
|
1957
|
+
PayMode?: number
|
1958
|
+
/**
|
1959
|
+
* 购买集群数,可选值范围[1,50],默认为1
|
1960
|
+
*/
|
1961
|
+
Count?: number
|
1962
|
+
/**
|
1963
|
+
* 回档类型:
|
1964
|
+
noneRollback:不回档;
|
1965
|
+
snapRollback,快照回档;
|
1966
|
+
timeRollback,时间点回档
|
1967
|
+
*/
|
1968
|
+
RollbackStrategy?: string
|
1969
|
+
/**
|
1970
|
+
* 快照回档,表示snapshotId;时间点回档,表示queryId,为0,表示需要判断时间点是否有效
|
1971
|
+
*/
|
1972
|
+
RollbackId?: number
|
1973
|
+
/**
|
1974
|
+
* 回档时,传入源集群ID,用于查找源poolId
|
1975
|
+
*/
|
1976
|
+
OriginalClusterId?: string
|
1977
|
+
/**
|
1978
|
+
* 时间点回档,指定时间;快照回档,快照时间
|
1979
|
+
*/
|
1980
|
+
ExpectTime?: string
|
1981
|
+
/**
|
1982
|
+
* 该参数无实际意义,已废弃。
|
1983
|
+
时间点回档,指定时间允许范围
|
1984
|
+
*/
|
1985
|
+
ExpectTimeThresh?: number
|
1986
|
+
/**
|
1987
|
+
* 普通实例存储上限,单位GB
|
1988
|
+
当DbType为MYSQL,且存储计费模式为预付费时,该参数需不大于cpu与memory对应存储规格上限
|
1989
|
+
*/
|
1990
|
+
StorageLimit?: number
|
1991
|
+
/**
|
1992
|
+
* 实例数量,数量范围为(0,16]
|
1993
|
+
*/
|
1994
|
+
InstanceCount?: number
|
1995
|
+
/**
|
1996
|
+
* 包年包月购买时长
|
1997
|
+
*/
|
1998
|
+
TimeSpan?: number
|
1999
|
+
/**
|
2000
|
+
* 包年包月购买时长单位,['s','d','m','y']
|
2001
|
+
*/
|
2002
|
+
TimeUnit?: string
|
2003
|
+
/**
|
2004
|
+
* 包年包月购买是否自动续费,默认为0。
|
2005
|
+
0标识默认续费方式,1表示自动续费,2表示手不自动续费。
|
2006
|
+
*/
|
2007
|
+
AutoRenewFlag?: number
|
2008
|
+
/**
|
2009
|
+
* 是否自动选择代金券 1是 0否 默认为0
|
2010
|
+
*/
|
2011
|
+
AutoVoucher?: number
|
2012
|
+
/**
|
2013
|
+
* 实例数量(该参数已不再使用,只做存量兼容处理)
|
2014
|
+
*/
|
2015
|
+
HaCount?: number
|
2016
|
+
/**
|
2017
|
+
* 订单来源
|
2018
|
+
*/
|
2019
|
+
OrderSource?: string
|
2020
|
+
/**
|
2021
|
+
* 集群创建需要绑定的tag数组信息
|
2022
|
+
*/
|
2023
|
+
ResourceTags?: Array<Tag>
|
2024
|
+
/**
|
2025
|
+
* Db类型
|
2026
|
+
当DbType为MYSQL时可选(默认NORMAL):
|
2027
|
+
<li>NORMAL</li>
|
2028
|
+
<li>SERVERLESS</li>
|
2029
|
+
*/
|
2030
|
+
DbMode?: string
|
2031
|
+
/**
|
2032
|
+
* 当DbMode为SERVERLESS时必填
|
2033
|
+
cpu最小值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
2034
|
+
*/
|
2035
|
+
MinCpu?: number
|
2036
|
+
/**
|
2037
|
+
* 当DbMode为SERVERLESS时必填:
|
2038
|
+
cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
2039
|
+
*/
|
2040
|
+
MaxCpu?: number
|
2041
|
+
/**
|
2042
|
+
* 当DbMode为SERVERLESS时,指定集群是否自动暂停,可选范围
|
2043
|
+
<li>yes</li>
|
2044
|
+
<li>no</li>
|
2045
|
+
默认值:yes
|
2046
|
+
*/
|
2047
|
+
AutoPause?: string
|
2048
|
+
/**
|
2049
|
+
* 当DbMode为SERVERLESS时,指定集群自动暂停的延迟,单位秒,可选范围[600,691200]
|
2050
|
+
默认值:600
|
2051
|
+
*/
|
2052
|
+
AutoPauseDelay?: number
|
2053
|
+
/**
|
2054
|
+
* 集群存储计费模式,按量计费:0,包年包月:1。默认按量计费
|
2055
|
+
当DbType为MYSQL时,在集群计算计费模式为后付费(包括DbMode为SERVERLESS)时,存储计费模式仅可为按量计费
|
2056
|
+
回档与克隆均不支持包年包月存储
|
2057
|
+
*/
|
2058
|
+
StoragePayMode?: number
|
2059
|
+
/**
|
2060
|
+
* 安全组id数组
|
2061
|
+
*/
|
2062
|
+
SecurityGroupIds?: Array<string>
|
2063
|
+
/**
|
2064
|
+
* 告警策略Id数组
|
2065
|
+
*/
|
2066
|
+
AlarmPolicyIds?: Array<string>
|
2067
|
+
/**
|
2068
|
+
* 参数数组,暂时支持character_set_server (utf8|latin1|gbk|utf8mb4) ,lower_case_table_names,1-大小写不敏感,0-大小写敏感
|
2069
|
+
*/
|
2070
|
+
ClusterParams?: Array<ParamItem>
|
2071
|
+
/**
|
2072
|
+
* 交易模式,0-下单且支付,1-下单
|
2073
|
+
*/
|
2074
|
+
DealMode?: number
|
2075
|
+
/**
|
2076
|
+
* 参数模板ID,可以通过查询参数模板信息DescribeParamTemplates获得参数模板ID
|
2077
|
+
*/
|
2078
|
+
ParamTemplateId?: number
|
2079
|
+
/**
|
2080
|
+
* 多可用区地址
|
2081
|
+
*/
|
2082
|
+
SlaveZone?: string
|
2083
|
+
/**
|
2084
|
+
* 实例初始化配置信息,主要用于购买集群时选不同规格实例
|
2085
|
+
*/
|
2086
|
+
InstanceInitInfos?: Array<InstanceInitInfo>
|
1842
2087
|
}
|
1843
2088
|
|
1844
2089
|
/**
|
@@ -2019,6 +2264,58 @@ export interface ModifyClusterDatabaseRequest {
|
|
2019
2264
|
OldUserHostPrivileges?: Array<UserHostPrivilege>
|
2020
2265
|
}
|
2021
2266
|
|
2267
|
+
/**
|
2268
|
+
* 实例日志投递信息
|
2269
|
+
*/
|
2270
|
+
export interface InstanceCLSDeliveryInfo {
|
2271
|
+
/**
|
2272
|
+
* 实例id
|
2273
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2274
|
+
*/
|
2275
|
+
InstanceId?: string
|
2276
|
+
/**
|
2277
|
+
* 实例name
|
2278
|
+
|
2279
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2280
|
+
*/
|
2281
|
+
InstanceName?: string
|
2282
|
+
/**
|
2283
|
+
* 日志主题id
|
2284
|
+
|
2285
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2286
|
+
*/
|
2287
|
+
TopicId?: string
|
2288
|
+
/**
|
2289
|
+
* 日志主题name
|
2290
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2291
|
+
*/
|
2292
|
+
TopicName?: string
|
2293
|
+
/**
|
2294
|
+
* 日志集id
|
2295
|
+
|
2296
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2297
|
+
*/
|
2298
|
+
GroupId?: string
|
2299
|
+
/**
|
2300
|
+
* 日志集name
|
2301
|
+
|
2302
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2303
|
+
*/
|
2304
|
+
GroupName?: string
|
2305
|
+
/**
|
2306
|
+
* 日志投递地域
|
2307
|
+
|
2308
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2309
|
+
*/
|
2310
|
+
Region?: string
|
2311
|
+
/**
|
2312
|
+
* 投递状态creating,running,offlining,offlined
|
2313
|
+
|
2314
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2315
|
+
*/
|
2316
|
+
Status?: string
|
2317
|
+
}
|
2318
|
+
|
2022
2319
|
/**
|
2023
2320
|
* ModifyMaintainPeriodConfig返回参数结构体
|
2024
2321
|
*/
|
@@ -2118,6 +2415,34 @@ export interface DescribeAccountAllGrantPrivilegesRequest {
|
|
2118
2415
|
Account: InputAccount
|
2119
2416
|
}
|
2120
2417
|
|
2418
|
+
/**
|
2419
|
+
* DeleteCLSDelivery请求参数结构体
|
2420
|
+
*/
|
2421
|
+
export interface DeleteCLSDeliveryRequest {
|
2422
|
+
/**
|
2423
|
+
* 实例id
|
2424
|
+
*/
|
2425
|
+
InstanceId: string
|
2426
|
+
/**
|
2427
|
+
* 日志主题id
|
2428
|
+
*/
|
2429
|
+
CLSTopicIds: Array<string>
|
2430
|
+
}
|
2431
|
+
|
2432
|
+
/**
|
2433
|
+
* CreateCLSDelivery返回参数结构体
|
2434
|
+
*/
|
2435
|
+
export interface CreateCLSDeliveryResponse {
|
2436
|
+
/**
|
2437
|
+
* 异步任务id
|
2438
|
+
*/
|
2439
|
+
TaskId?: number
|
2440
|
+
/**
|
2441
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2442
|
+
*/
|
2443
|
+
RequestId?: string
|
2444
|
+
}
|
2445
|
+
|
2121
2446
|
/**
|
2122
2447
|
* 手动备份任务信息
|
2123
2448
|
*/
|
@@ -3038,12 +3363,27 @@ export interface RuleTemplateInfo {
|
|
3038
3363
|
* 告警策略。0-不告警,1-告警。
|
3039
3364
|
注意:此字段可能返回 null,表示取不到有效值。
|
3040
3365
|
*/
|
3041
|
-
AlarmPolicy?: number
|
3366
|
+
AlarmPolicy?: number
|
3367
|
+
/**
|
3368
|
+
* 规则描述。
|
3369
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3370
|
+
*/
|
3371
|
+
Description?: string
|
3372
|
+
}
|
3373
|
+
|
3374
|
+
/**
|
3375
|
+
* StopCLSDelivery返回参数结构体
|
3376
|
+
*/
|
3377
|
+
export interface StopCLSDeliveryResponse {
|
3378
|
+
/**
|
3379
|
+
* 异步任务id
|
3380
|
+
|
3381
|
+
*/
|
3382
|
+
TaskId?: number
|
3042
3383
|
/**
|
3043
|
-
*
|
3044
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3384
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3045
3385
|
*/
|
3046
|
-
|
3386
|
+
RequestId?: string
|
3047
3387
|
}
|
3048
3388
|
|
3049
3389
|
/**
|
@@ -3131,195 +3471,13 @@ export interface SetRenewFlagResponse {
|
|
3131
3471
|
}
|
3132
3472
|
|
3133
3473
|
/**
|
3134
|
-
*
|
3474
|
+
* CreateClusterDatabase返回参数结构体
|
3135
3475
|
*/
|
3136
|
-
export interface
|
3137
|
-
/**
|
3138
|
-
* 可用区
|
3139
|
-
*/
|
3140
|
-
Zone: string
|
3141
|
-
/**
|
3142
|
-
* 所属VPC网络ID
|
3143
|
-
*/
|
3144
|
-
VpcId: string
|
3145
|
-
/**
|
3146
|
-
* 所属子网ID
|
3147
|
-
*/
|
3148
|
-
SubnetId: string
|
3149
|
-
/**
|
3150
|
-
* 数据库类型,取值范围:
|
3151
|
-
<li> MYSQL </li>
|
3152
|
-
*/
|
3153
|
-
DbType: string
|
3154
|
-
/**
|
3155
|
-
* 数据库版本,取值范围:
|
3156
|
-
<li> MYSQL可选值:5.7,8.0 </li>
|
3157
|
-
*/
|
3158
|
-
DbVersion: string
|
3159
|
-
/**
|
3160
|
-
* 所属项目ID
|
3161
|
-
*/
|
3162
|
-
ProjectId?: number
|
3163
|
-
/**
|
3164
|
-
* 当DbMode为NORMAL或不填时必选
|
3165
|
-
普通实例Cpu核数
|
3166
|
-
*/
|
3167
|
-
Cpu?: number
|
3168
|
-
/**
|
3169
|
-
* 当DbMode为NORMAL或不填时必选
|
3170
|
-
普通实例内存,单位GB
|
3171
|
-
*/
|
3172
|
-
Memory?: number
|
3173
|
-
/**
|
3174
|
-
* 该参数无实际意义,已废弃。
|
3175
|
-
存储大小,单位GB。
|
3176
|
-
*/
|
3177
|
-
Storage?: number
|
3178
|
-
/**
|
3179
|
-
* 集群名称,长度小于64个字符,每个字符取值范围:大/小写字母,数字,特殊符号('-','_','.')
|
3180
|
-
*/
|
3181
|
-
ClusterName?: string
|
3182
|
-
/**
|
3183
|
-
* 账号密码(8-64个字符,包含大小写英文字母、数字和符号~!@#$%^&*_-+=`|\(){}[]:;'<>,.?/中的任意三种)
|
3184
|
-
*/
|
3185
|
-
AdminPassword?: string
|
3186
|
-
/**
|
3187
|
-
* 端口,默认3306,取值范围[0, 65535)
|
3188
|
-
*/
|
3189
|
-
Port?: number
|
3190
|
-
/**
|
3191
|
-
* 计费模式,按量计费:0,包年包月:1。默认按量计费。
|
3192
|
-
*/
|
3193
|
-
PayMode?: number
|
3194
|
-
/**
|
3195
|
-
* 购买集群数,可选值范围[1,50],默认为1
|
3196
|
-
*/
|
3197
|
-
Count?: number
|
3198
|
-
/**
|
3199
|
-
* 回档类型:
|
3200
|
-
noneRollback:不回档;
|
3201
|
-
snapRollback,快照回档;
|
3202
|
-
timeRollback,时间点回档
|
3203
|
-
*/
|
3204
|
-
RollbackStrategy?: string
|
3205
|
-
/**
|
3206
|
-
* 快照回档,表示snapshotId;时间点回档,表示queryId,为0,表示需要判断时间点是否有效
|
3207
|
-
*/
|
3208
|
-
RollbackId?: number
|
3209
|
-
/**
|
3210
|
-
* 回档时,传入源集群ID,用于查找源poolId
|
3211
|
-
*/
|
3212
|
-
OriginalClusterId?: string
|
3213
|
-
/**
|
3214
|
-
* 时间点回档,指定时间;快照回档,快照时间
|
3215
|
-
*/
|
3216
|
-
ExpectTime?: string
|
3217
|
-
/**
|
3218
|
-
* 该参数无实际意义,已废弃。
|
3219
|
-
时间点回档,指定时间允许范围
|
3220
|
-
*/
|
3221
|
-
ExpectTimeThresh?: number
|
3222
|
-
/**
|
3223
|
-
* 普通实例存储上限,单位GB
|
3224
|
-
当DbType为MYSQL,且存储计费模式为预付费时,该参数需不大于cpu与memory对应存储规格上限
|
3225
|
-
*/
|
3226
|
-
StorageLimit?: number
|
3227
|
-
/**
|
3228
|
-
* 实例数量,数量范围为(0,16]
|
3229
|
-
*/
|
3230
|
-
InstanceCount?: number
|
3231
|
-
/**
|
3232
|
-
* 包年包月购买时长
|
3233
|
-
*/
|
3234
|
-
TimeSpan?: number
|
3235
|
-
/**
|
3236
|
-
* 包年包月购买时长单位,['s','d','m','y']
|
3237
|
-
*/
|
3238
|
-
TimeUnit?: string
|
3239
|
-
/**
|
3240
|
-
* 包年包月购买是否自动续费,默认为0。
|
3241
|
-
0标识默认续费方式,1表示自动续费,2表示手不自动续费。
|
3242
|
-
*/
|
3243
|
-
AutoRenewFlag?: number
|
3244
|
-
/**
|
3245
|
-
* 是否自动选择代金券 1是 0否 默认为0
|
3246
|
-
*/
|
3247
|
-
AutoVoucher?: number
|
3248
|
-
/**
|
3249
|
-
* 实例数量(该参数已不再使用,只做存量兼容处理)
|
3250
|
-
*/
|
3251
|
-
HaCount?: number
|
3252
|
-
/**
|
3253
|
-
* 订单来源
|
3254
|
-
*/
|
3255
|
-
OrderSource?: string
|
3256
|
-
/**
|
3257
|
-
* 集群创建需要绑定的tag数组信息
|
3258
|
-
*/
|
3259
|
-
ResourceTags?: Array<Tag>
|
3260
|
-
/**
|
3261
|
-
* Db类型
|
3262
|
-
当DbType为MYSQL时可选(默认NORMAL):
|
3263
|
-
<li>NORMAL</li>
|
3264
|
-
<li>SERVERLESS</li>
|
3265
|
-
*/
|
3266
|
-
DbMode?: string
|
3267
|
-
/**
|
3268
|
-
* 当DbMode为SERVERLESS时必填
|
3269
|
-
cpu最小值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
3270
|
-
*/
|
3271
|
-
MinCpu?: number
|
3272
|
-
/**
|
3273
|
-
* 当DbMode为SERVERLESS时必填:
|
3274
|
-
cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
3275
|
-
*/
|
3276
|
-
MaxCpu?: number
|
3277
|
-
/**
|
3278
|
-
* 当DbMode为SERVERLESS时,指定集群是否自动暂停,可选范围
|
3279
|
-
<li>yes</li>
|
3280
|
-
<li>no</li>
|
3281
|
-
默认值:yes
|
3282
|
-
*/
|
3283
|
-
AutoPause?: string
|
3284
|
-
/**
|
3285
|
-
* 当DbMode为SERVERLESS时,指定集群自动暂停的延迟,单位秒,可选范围[600,691200]
|
3286
|
-
默认值:600
|
3287
|
-
*/
|
3288
|
-
AutoPauseDelay?: number
|
3289
|
-
/**
|
3290
|
-
* 集群存储计费模式,按量计费:0,包年包月:1。默认按量计费
|
3291
|
-
当DbType为MYSQL时,在集群计算计费模式为后付费(包括DbMode为SERVERLESS)时,存储计费模式仅可为按量计费
|
3292
|
-
回档与克隆均不支持包年包月存储
|
3293
|
-
*/
|
3294
|
-
StoragePayMode?: number
|
3295
|
-
/**
|
3296
|
-
* 安全组id数组
|
3297
|
-
*/
|
3298
|
-
SecurityGroupIds?: Array<string>
|
3299
|
-
/**
|
3300
|
-
* 告警策略Id数组
|
3301
|
-
*/
|
3302
|
-
AlarmPolicyIds?: Array<string>
|
3303
|
-
/**
|
3304
|
-
* 参数数组,暂时支持character_set_server (utf8|latin1|gbk|utf8mb4) ,lower_case_table_names,1-大小写不敏感,0-大小写敏感
|
3305
|
-
*/
|
3306
|
-
ClusterParams?: Array<ParamItem>
|
3307
|
-
/**
|
3308
|
-
* 交易模式,0-下单且支付,1-下单
|
3309
|
-
*/
|
3310
|
-
DealMode?: number
|
3311
|
-
/**
|
3312
|
-
* 参数模板ID,可以通过查询参数模板信息DescribeParamTemplates获得参数模板ID
|
3313
|
-
*/
|
3314
|
-
ParamTemplateId?: number
|
3315
|
-
/**
|
3316
|
-
* 多可用区地址
|
3317
|
-
*/
|
3318
|
-
SlaveZone?: string
|
3476
|
+
export interface CreateClusterDatabaseResponse {
|
3319
3477
|
/**
|
3320
|
-
*
|
3478
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3321
3479
|
*/
|
3322
|
-
|
3480
|
+
RequestId?: string
|
3323
3481
|
}
|
3324
3482
|
|
3325
3483
|
/**
|
@@ -3963,6 +4121,20 @@ export interface SwitchProxyVpcResponse {
|
|
3963
4121
|
RequestId?: string
|
3964
4122
|
}
|
3965
4123
|
|
4124
|
+
/**
|
4125
|
+
* StartCLSDelivery请求参数结构体
|
4126
|
+
*/
|
4127
|
+
export interface StartCLSDeliveryRequest {
|
4128
|
+
/**
|
4129
|
+
* 实例id
|
4130
|
+
*/
|
4131
|
+
InstanceId: string
|
4132
|
+
/**
|
4133
|
+
* 开通的日志主题id
|
4134
|
+
*/
|
4135
|
+
CLSTopicIds: Array<string>
|
4136
|
+
}
|
4137
|
+
|
3966
4138
|
/**
|
3967
4139
|
* 可用区属性项
|
3968
4140
|
*/
|
@@ -3997,6 +4169,46 @@ export interface DescribeChangedParamsAfterUpgradeRequest {
|
|
3997
4169
|
DstMem: number
|
3998
4170
|
}
|
3999
4171
|
|
4172
|
+
/**
|
4173
|
+
* CLS日志投递配置
|
4174
|
+
*/
|
4175
|
+
export interface CLSInfo {
|
4176
|
+
/**
|
4177
|
+
* 日志主题操作:可选create,reuse。
|
4178
|
+
create:新增日志主题,使用TopicName创建日志主题。
|
4179
|
+
reuse:使用已有日志主题,使用TopicId指定日志主题。
|
4180
|
+
不允许使用已有日志主题且新建日志集的组合。
|
4181
|
+
*/
|
4182
|
+
TopicOperation: string
|
4183
|
+
/**
|
4184
|
+
* 日志集操作:可选create,reuse。
|
4185
|
+
create:新增日志集,使用GroupName创建日志集。
|
4186
|
+
reuse:使用已有日志集,使用GroupId指定日志集。
|
4187
|
+
不允许使用已有日志主题且新建日志集的组合。
|
4188
|
+
*/
|
4189
|
+
GroupOperation: string
|
4190
|
+
/**
|
4191
|
+
* 日志投递地域
|
4192
|
+
*/
|
4193
|
+
Region: string
|
4194
|
+
/**
|
4195
|
+
* 日志主题id
|
4196
|
+
*/
|
4197
|
+
TopicId?: string
|
4198
|
+
/**
|
4199
|
+
* 日志主题name
|
4200
|
+
*/
|
4201
|
+
TopicName?: string
|
4202
|
+
/**
|
4203
|
+
* 日志集id
|
4204
|
+
*/
|
4205
|
+
GroupId?: string
|
4206
|
+
/**
|
4207
|
+
* 日志集name
|
4208
|
+
*/
|
4209
|
+
GroupName?: string
|
4210
|
+
}
|
4211
|
+
|
4000
4212
|
/**
|
4001
4213
|
* SwitchProxyVpc请求参数结构体
|
4002
4214
|
*/
|
@@ -6918,18 +7130,17 @@ export interface CreateBackupRequest {
|
|
6918
7130
|
}
|
6919
7131
|
|
6920
7132
|
/**
|
6921
|
-
*
|
7133
|
+
* CreateCLSDelivery请求参数结构体
|
6922
7134
|
*/
|
6923
|
-
export interface
|
7135
|
+
export interface CreateCLSDeliveryRequest {
|
6924
7136
|
/**
|
6925
|
-
*
|
6926
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7137
|
+
* 实例id
|
6927
7138
|
*/
|
6928
|
-
|
7139
|
+
InstanceId: string
|
6929
7140
|
/**
|
6930
|
-
*
|
7141
|
+
* 日志投递配置
|
6931
7142
|
*/
|
6932
|
-
|
7143
|
+
CLSInfoList: Array<CLSInfo>
|
6933
7144
|
}
|
6934
7145
|
|
6935
7146
|
/**
|
@@ -9034,6 +9245,16 @@ export interface ModifyAccountDescriptionRequest {
|
|
9034
9245
|
Host?: string
|
9035
9246
|
}
|
9036
9247
|
|
9248
|
+
/**
|
9249
|
+
* DescribeInstanceCLSLogDelivery请求参数结构体
|
9250
|
+
*/
|
9251
|
+
export interface DescribeInstanceCLSLogDeliveryRequest {
|
9252
|
+
/**
|
9253
|
+
* 实例id
|
9254
|
+
*/
|
9255
|
+
InstanceId: string
|
9256
|
+
}
|
9257
|
+
|
9037
9258
|
/**
|
9038
9259
|
* UpgradeInstance返回参数结构体
|
9039
9260
|
*/
|
@@ -9723,6 +9944,21 @@ export interface ZoneStockInfo {
|
|
9723
9944
|
SlaveZoneStockInfos?: Array<SlaveZoneStockInfo>
|
9724
9945
|
}
|
9725
9946
|
|
9947
|
+
/**
|
9948
|
+
* DeleteCLSDelivery返回参数结构体
|
9949
|
+
*/
|
9950
|
+
export interface DeleteCLSDeliveryResponse {
|
9951
|
+
/**
|
9952
|
+
* 异步任务id
|
9953
|
+
|
9954
|
+
*/
|
9955
|
+
TaskId?: number
|
9956
|
+
/**
|
9957
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9958
|
+
*/
|
9959
|
+
RequestId?: string
|
9960
|
+
}
|
9961
|
+
|
9726
9962
|
/**
|
9727
9963
|
* InquirePriceRenew返回参数结构体
|
9728
9964
|
*/
|