tencentcloud-sdk-python 3.0.1210__py2.py3-none-any.whl → 3.0.1225__py2.py3-none-any.whl
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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ams/v20201229/models.py +24 -0
- tencentcloud/antiddos/v20200309/models.py +13 -1
- tencentcloud/asr/v20190614/asr_client.py +103 -1
- tencentcloud/asr/v20190614/errorcodes.py +3 -0
- tencentcloud/asr/v20190614/models.py +620 -0
- tencentcloud/batch/v20170312/models.py +2 -2
- tencentcloud/bi/v20220105/models.py +25 -0
- tencentcloud/billing/v20180709/models.py +155 -0
- tencentcloud/ccc/v20200210/models.py +42 -12
- tencentcloud/cdb/v20170320/cdb_client.py +46 -0
- tencentcloud/cdb/v20170320/models.py +280 -2
- tencentcloud/cdwdoris/v20211228/cdwdoris_client.py +211 -165
- tencentcloud/cdwdoris/v20211228/errorcodes.py +0 -3
- tencentcloud/cdwdoris/v20211228/models.py +2316 -2164
- tencentcloud/cfg/v20210820/models.py +182 -1
- tencentcloud/cfw/v20190904/cfw_client.py +23 -0
- tencentcloud/cfw/v20190904/models.py +70 -0
- tencentcloud/ckafka/v20190819/ckafka_client.py +1 -1
- tencentcloud/ckafka/v20190819/models.py +47 -1
- tencentcloud/clb/v20180317/models.py +147 -3
- tencentcloud/cls/v20201016/models.py +259 -9
- tencentcloud/controlcenter/__init__.py +0 -0
- tencentcloud/controlcenter/v20230110/__init__.py +0 -0
- tencentcloud/controlcenter/v20230110/controlcenter_client.py +49 -0
- tencentcloud/controlcenter/v20230110/errorcodes.py +45 -0
- tencentcloud/controlcenter/v20230110/models.py +140 -0
- tencentcloud/csip/v20221121/models.py +385 -0
- tencentcloud/cvm/v20170312/models.py +8 -6
- tencentcloud/cwp/v20180228/models.py +123 -12
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +115 -0
- tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
- tencentcloud/cynosdb/v20190107/models.py +862 -52
- tencentcloud/dasb/v20191018/models.py +25 -0
- tencentcloud/dbbrain/v20210527/models.py +212 -2
- tencentcloud/dc/v20180410/dc_client.py +3 -4
- tencentcloud/dc/v20180410/models.py +78 -18
- tencentcloud/dcdb/v20180411/dcdb_client.py +23 -0
- tencentcloud/dcdb/v20180411/models.py +118 -0
- tencentcloud/dlc/v20210125/models.py +170 -1
- tencentcloud/dnspod/v20210323/errorcodes.py +3 -0
- tencentcloud/dsgc/v20190723/models.py +165 -0
- tencentcloud/ecc/v20181213/ecc_client.py +1 -2
- tencentcloud/emr/v20190103/emr_client.py +24 -0
- tencentcloud/emr/v20190103/models.py +94 -0
- tencentcloud/es/v20180416/es_client.py +24 -0
- tencentcloud/es/v20180416/models.py +270 -1
- tencentcloud/ess/v20201111/ess_client.py +62 -4
- tencentcloud/ess/v20201111/models.py +386 -3
- tencentcloud/essbasic/v20210526/essbasic_client.py +31 -2
- tencentcloud/essbasic/v20210526/models.py +185 -16
- tencentcloud/facefusion/v20181201/models.py +9 -3
- tencentcloud/facefusion/v20220927/errorcodes.py +15 -6
- tencentcloud/facefusion/v20220927/models.py +32 -11
- tencentcloud/faceid/v20180301/faceid_client.py +1 -1
- tencentcloud/faceid/v20180301/models.py +66 -0
- tencentcloud/goosefs/v20220519/models.py +61 -0
- tencentcloud/hunyuan/v20230901/errorcodes.py +21 -0
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +53 -1
- tencentcloud/hunyuan/v20230901/models.py +378 -4
- tencentcloud/ims/v20201229/ims_client.py +3 -3
- tencentcloud/ims/v20201229/models.py +1 -1
- tencentcloud/iotexplorer/v20190423/models.py +14 -6
- tencentcloud/iss/v20230517/errorcodes.py +15 -0
- tencentcloud/iss/v20230517/models.py +103 -0
- tencentcloud/lcic/v20220817/lcic_client.py +23 -0
- tencentcloud/lcic/v20220817/models.py +261 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +3 -0
- tencentcloud/lighthouse/v20200324/models.py +28 -0
- tencentcloud/lke/v20231130/errorcodes.py +1 -1
- tencentcloud/lke/v20231130/models.py +247 -5
- tencentcloud/mariadb/v20170312/errorcodes.py +3 -0
- tencentcloud/mariadb/v20170312/mariadb_client.py +23 -0
- tencentcloud/mariadb/v20170312/models.py +82 -0
- tencentcloud/mna/v20210119/errorcodes.py +6 -0
- tencentcloud/mna/v20210119/mna_client.py +23 -0
- tencentcloud/mna/v20210119/models.py +146 -0
- tencentcloud/mongodb/v20180408/errorcodes.py +1 -1
- tencentcloud/mongodb/v20190725/errorcodes.py +1 -1
- tencentcloud/mongodb/v20190725/models.py +72 -45
- tencentcloud/monitor/v20180724/models.py +13 -0
- tencentcloud/mps/v20190612/models.py +247 -18
- tencentcloud/oceanus/v20190422/models.py +25 -0
- tencentcloud/ocr/v20181119/errorcodes.py +6 -0
- tencentcloud/ocr/v20181119/models.py +281 -2
- tencentcloud/ocr/v20181119/ocr_client.py +54 -2
- tencentcloud/organization/v20210331/errorcodes.py +237 -0
- tencentcloud/organization/v20210331/models.py +12189 -4358
- tencentcloud/organization/v20210331/organization_client.py +1181 -54
- tencentcloud/postgres/v20170312/errorcodes.py +15 -0
- tencentcloud/redis/v20180412/models.py +22 -20
- tencentcloud/rum/v20210622/models.py +12 -0
- tencentcloud/scf/v20180416/models.py +51 -15
- tencentcloud/ses/v20201002/models.py +177 -0
- tencentcloud/sms/v20190711/errorcodes.py +3 -0
- tencentcloud/sms/v20190711/models.py +21 -22
- tencentcloud/sms/v20190711/sms_client.py +28 -60
- tencentcloud/sms/v20210111/errorcodes.py +3 -0
- tencentcloud/sqlserver/v20180328/errorcodes.py +3 -0
- tencentcloud/sqlserver/v20180328/models.py +185 -1
- tencentcloud/sqlserver/v20180328/sqlserver_client.py +23 -0
- tencentcloud/ssl/v20191205/errorcodes.py +6 -0
- tencentcloud/ssl/v20191205/models.py +209 -0
- tencentcloud/ssl/v20191205/ssl_client.py +24 -1
- tencentcloud/tag/v20180813/models.py +33 -33
- tencentcloud/tat/v20201028/errorcodes.py +9 -0
- tencentcloud/tat/v20201028/models.py +221 -1
- tencentcloud/tat/v20201028/tat_client.py +23 -0
- tencentcloud/tcr/v20190924/errorcodes.py +3 -0
- tencentcloud/tdmq/v20200217/models.py +155 -0
- tencentcloud/teo/v20220901/models.py +2 -3
- tencentcloud/thpc/v20230321/models.py +1432 -82
- tencentcloud/thpc/v20230321/thpc_client.py +92 -0
- tencentcloud/tiia/v20190529/models.py +0 -469
- tencentcloud/tiia/v20190529/tiia_client.py +0 -29
- tencentcloud/tke/v20180525/errorcodes.py +3 -0
- tencentcloud/tke/v20180525/models.py +12 -0
- tencentcloud/tms/v20201229/errorcodes.py +0 -6
- tencentcloud/tms/v20201229/models.py +0 -70
- tencentcloud/tms/v20201229/tms_client.py +0 -23
- tencentcloud/tmt/v20180321/errorcodes.py +3 -0
- tencentcloud/tmt/v20180321/models.py +9 -9
- tencentcloud/tmt/v20180321/tmt_client.py +1 -1
- tencentcloud/trocket/v20230308/models.py +123 -7
- tencentcloud/trtc/v20190722/models.py +240 -2
- tencentcloud/trtc/v20190722/trtc_client.py +48 -35
- tencentcloud/tse/v20201207/models.py +88 -0
- tencentcloud/tts/v20190823/models.py +2 -2
- tencentcloud/vclm/v20240523/errorcodes.py +27 -0
- tencentcloud/vclm/v20240523/models.py +12 -0
- tencentcloud/vod/v20180717/errorcodes.py +18 -0
- tencentcloud/vod/v20180717/models.py +617 -12
- tencentcloud/vod/v20180717/vod_client.py +71 -2
- tencentcloud/vpc/v20170312/models.py +332 -2
- tencentcloud/waf/v20180125/models.py +1 -1
- tencentcloud/wedata/v20210820/errorcodes.py +6 -0
- tencentcloud/wedata/v20210820/models.py +2905 -366
- tencentcloud/wedata/v20210820/wedata_client.py +161 -0
- {tencentcloud_sdk_python-3.0.1210.dist-info → tencentcloud_sdk_python-3.0.1225.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1210.dist-info → tencentcloud_sdk_python-3.0.1225.dist-info}/RECORD +143 -138
- {tencentcloud_sdk_python-3.0.1210.dist-info → tencentcloud_sdk_python-3.0.1225.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1210.dist-info → tencentcloud_sdk_python-3.0.1225.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1210.dist-info → tencentcloud_sdk_python-3.0.1225.dist-info}/top_level.txt +0 -0
@@ -2137,6 +2137,66 @@ class BindInstanceInfo(AbstractModel):
|
|
2137
2137
|
|
2138
2138
|
|
2139
2139
|
|
2140
|
+
class BinlogConfigInfo(AbstractModel):
|
2141
|
+
"""binlog配置信息
|
2142
|
+
|
2143
|
+
"""
|
2144
|
+
|
2145
|
+
def __init__(self):
|
2146
|
+
r"""
|
2147
|
+
:param _BinlogSaveDays: binlog保留时间
|
2148
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2149
|
+
:type BinlogSaveDays: int
|
2150
|
+
:param _BinlogCrossRegionsEnable: binlog异地地域备份是否开启
|
2151
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2152
|
+
:type BinlogCrossRegionsEnable: str
|
2153
|
+
:param _BinlogCrossRegions: binlog异地地域
|
2154
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2155
|
+
:type BinlogCrossRegions: list of str
|
2156
|
+
"""
|
2157
|
+
self._BinlogSaveDays = None
|
2158
|
+
self._BinlogCrossRegionsEnable = None
|
2159
|
+
self._BinlogCrossRegions = None
|
2160
|
+
|
2161
|
+
@property
|
2162
|
+
def BinlogSaveDays(self):
|
2163
|
+
return self._BinlogSaveDays
|
2164
|
+
|
2165
|
+
@BinlogSaveDays.setter
|
2166
|
+
def BinlogSaveDays(self, BinlogSaveDays):
|
2167
|
+
self._BinlogSaveDays = BinlogSaveDays
|
2168
|
+
|
2169
|
+
@property
|
2170
|
+
def BinlogCrossRegionsEnable(self):
|
2171
|
+
return self._BinlogCrossRegionsEnable
|
2172
|
+
|
2173
|
+
@BinlogCrossRegionsEnable.setter
|
2174
|
+
def BinlogCrossRegionsEnable(self, BinlogCrossRegionsEnable):
|
2175
|
+
self._BinlogCrossRegionsEnable = BinlogCrossRegionsEnable
|
2176
|
+
|
2177
|
+
@property
|
2178
|
+
def BinlogCrossRegions(self):
|
2179
|
+
return self._BinlogCrossRegions
|
2180
|
+
|
2181
|
+
@BinlogCrossRegions.setter
|
2182
|
+
def BinlogCrossRegions(self, BinlogCrossRegions):
|
2183
|
+
self._BinlogCrossRegions = BinlogCrossRegions
|
2184
|
+
|
2185
|
+
|
2186
|
+
def _deserialize(self, params):
|
2187
|
+
self._BinlogSaveDays = params.get("BinlogSaveDays")
|
2188
|
+
self._BinlogCrossRegionsEnable = params.get("BinlogCrossRegionsEnable")
|
2189
|
+
self._BinlogCrossRegions = params.get("BinlogCrossRegions")
|
2190
|
+
memeber_set = set(params.keys())
|
2191
|
+
for name, value in vars(self).items():
|
2192
|
+
property_name = name[1:]
|
2193
|
+
if property_name in memeber_set:
|
2194
|
+
memeber_set.remove(property_name)
|
2195
|
+
if len(memeber_set) > 0:
|
2196
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2197
|
+
|
2198
|
+
|
2199
|
+
|
2140
2200
|
class BinlogItem(AbstractModel):
|
2141
2201
|
"""Binlog描述
|
2142
2202
|
|
@@ -3324,6 +3384,9 @@ class ClusterInstanceDetail(AbstractModel):
|
|
3324
3384
|
:param _InstanceDeviceType: 实例机器类型
|
3325
3385
|
注意:此字段可能返回 null,表示取不到有效值。
|
3326
3386
|
:type InstanceDeviceType: str
|
3387
|
+
:param _InstanceStorageType: 实例存储类型
|
3388
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3389
|
+
:type InstanceStorageType: str
|
3327
3390
|
"""
|
3328
3391
|
self._InstanceId = None
|
3329
3392
|
self._InstanceName = None
|
@@ -3340,6 +3403,7 @@ class ClusterInstanceDetail(AbstractModel):
|
|
3340
3403
|
self._ServerlessStatus = None
|
3341
3404
|
self._InstanceTasks = None
|
3342
3405
|
self._InstanceDeviceType = None
|
3406
|
+
self._InstanceStorageType = None
|
3343
3407
|
|
3344
3408
|
@property
|
3345
3409
|
def InstanceId(self):
|
@@ -3461,6 +3525,14 @@ class ClusterInstanceDetail(AbstractModel):
|
|
3461
3525
|
def InstanceDeviceType(self, InstanceDeviceType):
|
3462
3526
|
self._InstanceDeviceType = InstanceDeviceType
|
3463
3527
|
|
3528
|
+
@property
|
3529
|
+
def InstanceStorageType(self):
|
3530
|
+
return self._InstanceStorageType
|
3531
|
+
|
3532
|
+
@InstanceStorageType.setter
|
3533
|
+
def InstanceStorageType(self, InstanceStorageType):
|
3534
|
+
self._InstanceStorageType = InstanceStorageType
|
3535
|
+
|
3464
3536
|
|
3465
3537
|
def _deserialize(self, params):
|
3466
3538
|
self._InstanceId = params.get("InstanceId")
|
@@ -3483,6 +3555,7 @@ class ClusterInstanceDetail(AbstractModel):
|
|
3483
3555
|
obj._deserialize(item)
|
3484
3556
|
self._InstanceTasks.append(obj)
|
3485
3557
|
self._InstanceDeviceType = params.get("InstanceDeviceType")
|
3558
|
+
self._InstanceStorageType = params.get("InstanceStorageType")
|
3486
3559
|
memeber_set = set(params.keys())
|
3487
3560
|
for name, value in vars(self).items():
|
3488
3561
|
property_name = name[1:]
|
@@ -5889,10 +5962,9 @@ class CreateResourcePackageRequest(AbstractModel):
|
|
5889
5962
|
|
5890
5963
|
def __init__(self):
|
5891
5964
|
r"""
|
5892
|
-
:param _InstanceType:
|
5965
|
+
:param _InstanceType: 实例类型,目前固定传cynosdb-serverless
|
5893
5966
|
:type InstanceType: str
|
5894
|
-
:param _PackageRegion: 资源包使用地域
|
5895
|
-
china-中国内地通用,overseas-港澳台及海外通用
|
5967
|
+
:param _PackageRegion: 资源包使用地域chineseMainland-中国内地通用,overseas-港澳台及海外通用
|
5896
5968
|
:type PackageRegion: str
|
5897
5969
|
:param _PackageType: 资源包类型:CCU-计算资源包,DISK-存储资源包
|
5898
5970
|
:type PackageType: str
|
@@ -7529,6 +7601,9 @@ pause
|
|
7529
7601
|
:param _DeviceType: 实例机器类型
|
7530
7602
|
注意:此字段可能返回 null,表示取不到有效值。
|
7531
7603
|
:type DeviceType: str
|
7604
|
+
:param _InstanceStorageType: 实例存储类型
|
7605
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7606
|
+
:type InstanceStorageType: str
|
7532
7607
|
"""
|
7533
7608
|
self._Uin = None
|
7534
7609
|
self._AppId = None
|
@@ -7585,6 +7660,7 @@ pause
|
|
7585
7660
|
self._InstanceIndexMode = None
|
7586
7661
|
self._InstanceAbility = None
|
7587
7662
|
self._DeviceType = None
|
7663
|
+
self._InstanceStorageType = None
|
7588
7664
|
|
7589
7665
|
@property
|
7590
7666
|
def Uin(self):
|
@@ -8026,6 +8102,14 @@ pause
|
|
8026
8102
|
def DeviceType(self, DeviceType):
|
8027
8103
|
self._DeviceType = DeviceType
|
8028
8104
|
|
8105
|
+
@property
|
8106
|
+
def InstanceStorageType(self):
|
8107
|
+
return self._InstanceStorageType
|
8108
|
+
|
8109
|
+
@InstanceStorageType.setter
|
8110
|
+
def InstanceStorageType(self, InstanceStorageType):
|
8111
|
+
self._InstanceStorageType = InstanceStorageType
|
8112
|
+
|
8029
8113
|
|
8030
8114
|
def _deserialize(self, params):
|
8031
8115
|
self._Uin = params.get("Uin")
|
@@ -8105,6 +8189,7 @@ pause
|
|
8105
8189
|
self._InstanceAbility = InstanceAbility()
|
8106
8190
|
self._InstanceAbility._deserialize(params.get("InstanceAbility"))
|
8107
8191
|
self._DeviceType = params.get("DeviceType")
|
8192
|
+
self._InstanceStorageType = params.get("InstanceStorageType")
|
8108
8193
|
memeber_set = set(params.keys())
|
8109
8194
|
for name, value in vars(self).items():
|
8110
8195
|
property_name = name[1:]
|
@@ -11550,6 +11635,92 @@ class DescribeBackupListResponse(AbstractModel):
|
|
11550
11635
|
self._RequestId = params.get("RequestId")
|
11551
11636
|
|
11552
11637
|
|
11638
|
+
class DescribeBinlogConfigRequest(AbstractModel):
|
11639
|
+
"""DescribeBinlogConfig请求参数结构体
|
11640
|
+
|
11641
|
+
"""
|
11642
|
+
|
11643
|
+
def __init__(self):
|
11644
|
+
r"""
|
11645
|
+
:param _ClusterId: 集群ID
|
11646
|
+
:type ClusterId: str
|
11647
|
+
"""
|
11648
|
+
self._ClusterId = None
|
11649
|
+
|
11650
|
+
@property
|
11651
|
+
def ClusterId(self):
|
11652
|
+
return self._ClusterId
|
11653
|
+
|
11654
|
+
@ClusterId.setter
|
11655
|
+
def ClusterId(self, ClusterId):
|
11656
|
+
self._ClusterId = ClusterId
|
11657
|
+
|
11658
|
+
|
11659
|
+
def _deserialize(self, params):
|
11660
|
+
self._ClusterId = params.get("ClusterId")
|
11661
|
+
memeber_set = set(params.keys())
|
11662
|
+
for name, value in vars(self).items():
|
11663
|
+
property_name = name[1:]
|
11664
|
+
if property_name in memeber_set:
|
11665
|
+
memeber_set.remove(property_name)
|
11666
|
+
if len(memeber_set) > 0:
|
11667
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
11668
|
+
|
11669
|
+
|
11670
|
+
|
11671
|
+
class DescribeBinlogConfigResponse(AbstractModel):
|
11672
|
+
"""DescribeBinlogConfig返回参数结构体
|
11673
|
+
|
11674
|
+
"""
|
11675
|
+
|
11676
|
+
def __init__(self):
|
11677
|
+
r"""
|
11678
|
+
:param _BinlogCrossRegionsConfigUpdateTime: Binlog跨地域配置更新时间
|
11679
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
11680
|
+
:type BinlogCrossRegionsConfigUpdateTime: str
|
11681
|
+
:param _BinlogConfig: Binlog配置信息
|
11682
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
11683
|
+
:type BinlogConfig: :class:`tencentcloud.cynosdb.v20190107.models.BinlogConfigInfo`
|
11684
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11685
|
+
:type RequestId: str
|
11686
|
+
"""
|
11687
|
+
self._BinlogCrossRegionsConfigUpdateTime = None
|
11688
|
+
self._BinlogConfig = None
|
11689
|
+
self._RequestId = None
|
11690
|
+
|
11691
|
+
@property
|
11692
|
+
def BinlogCrossRegionsConfigUpdateTime(self):
|
11693
|
+
return self._BinlogCrossRegionsConfigUpdateTime
|
11694
|
+
|
11695
|
+
@BinlogCrossRegionsConfigUpdateTime.setter
|
11696
|
+
def BinlogCrossRegionsConfigUpdateTime(self, BinlogCrossRegionsConfigUpdateTime):
|
11697
|
+
self._BinlogCrossRegionsConfigUpdateTime = BinlogCrossRegionsConfigUpdateTime
|
11698
|
+
|
11699
|
+
@property
|
11700
|
+
def BinlogConfig(self):
|
11701
|
+
return self._BinlogConfig
|
11702
|
+
|
11703
|
+
@BinlogConfig.setter
|
11704
|
+
def BinlogConfig(self, BinlogConfig):
|
11705
|
+
self._BinlogConfig = BinlogConfig
|
11706
|
+
|
11707
|
+
@property
|
11708
|
+
def RequestId(self):
|
11709
|
+
return self._RequestId
|
11710
|
+
|
11711
|
+
@RequestId.setter
|
11712
|
+
def RequestId(self, RequestId):
|
11713
|
+
self._RequestId = RequestId
|
11714
|
+
|
11715
|
+
|
11716
|
+
def _deserialize(self, params):
|
11717
|
+
self._BinlogCrossRegionsConfigUpdateTime = params.get("BinlogCrossRegionsConfigUpdateTime")
|
11718
|
+
if params.get("BinlogConfig") is not None:
|
11719
|
+
self._BinlogConfig = BinlogConfigInfo()
|
11720
|
+
self._BinlogConfig._deserialize(params.get("BinlogConfig"))
|
11721
|
+
self._RequestId = params.get("RequestId")
|
11722
|
+
|
11723
|
+
|
11553
11724
|
class DescribeBinlogDownloadUrlRequest(AbstractModel):
|
11554
11725
|
"""DescribeBinlogDownloadUrl请求参数结构体
|
11555
11726
|
|
@@ -14147,29 +14318,98 @@ class DescribeInstancesResponse(AbstractModel):
|
|
14147
14318
|
self._RequestId = params.get("RequestId")
|
14148
14319
|
|
14149
14320
|
|
14150
|
-
class
|
14151
|
-
"""
|
14321
|
+
class DescribeIsolatedInstancesRequest(AbstractModel):
|
14322
|
+
"""DescribeIsolatedInstances请求参数结构体
|
14152
14323
|
|
14153
14324
|
"""
|
14154
14325
|
|
14155
14326
|
def __init__(self):
|
14156
14327
|
r"""
|
14157
|
-
:param
|
14158
|
-
:type
|
14328
|
+
:param _Limit: 返回数量,默认为 20,最大值为 100
|
14329
|
+
:type Limit: int
|
14330
|
+
:param _Offset: 记录偏移量,默认值为0
|
14331
|
+
:type Offset: int
|
14332
|
+
:param _OrderBy: 排序字段,取值范围:
|
14333
|
+
<li> CREATETIME:创建时间</li>
|
14334
|
+
<li> PERIODENDTIME:过期时间</li>
|
14335
|
+
:type OrderBy: str
|
14336
|
+
:param _OrderByType: 排序类型,取值范围:
|
14337
|
+
<li> ASC:升序排序 </li>
|
14338
|
+
<li> DESC:降序排序 </li>
|
14339
|
+
:type OrderByType: str
|
14340
|
+
:param _Filters: 搜索条件,若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
|
14341
|
+
:type Filters: list of QueryFilter
|
14342
|
+
:param _DbType: 引擎类型:目前支持“MYSQL”, “POSTGRESQL”
|
14343
|
+
:type DbType: str
|
14159
14344
|
"""
|
14160
|
-
self.
|
14345
|
+
self._Limit = None
|
14346
|
+
self._Offset = None
|
14347
|
+
self._OrderBy = None
|
14348
|
+
self._OrderByType = None
|
14349
|
+
self._Filters = None
|
14350
|
+
self._DbType = None
|
14161
14351
|
|
14162
14352
|
@property
|
14163
|
-
def
|
14164
|
-
return self.
|
14353
|
+
def Limit(self):
|
14354
|
+
return self._Limit
|
14165
14355
|
|
14166
|
-
@
|
14167
|
-
def
|
14168
|
-
self.
|
14356
|
+
@Limit.setter
|
14357
|
+
def Limit(self, Limit):
|
14358
|
+
self._Limit = Limit
|
14359
|
+
|
14360
|
+
@property
|
14361
|
+
def Offset(self):
|
14362
|
+
return self._Offset
|
14363
|
+
|
14364
|
+
@Offset.setter
|
14365
|
+
def Offset(self, Offset):
|
14366
|
+
self._Offset = Offset
|
14367
|
+
|
14368
|
+
@property
|
14369
|
+
def OrderBy(self):
|
14370
|
+
return self._OrderBy
|
14371
|
+
|
14372
|
+
@OrderBy.setter
|
14373
|
+
def OrderBy(self, OrderBy):
|
14374
|
+
self._OrderBy = OrderBy
|
14375
|
+
|
14376
|
+
@property
|
14377
|
+
def OrderByType(self):
|
14378
|
+
return self._OrderByType
|
14379
|
+
|
14380
|
+
@OrderByType.setter
|
14381
|
+
def OrderByType(self, OrderByType):
|
14382
|
+
self._OrderByType = OrderByType
|
14383
|
+
|
14384
|
+
@property
|
14385
|
+
def Filters(self):
|
14386
|
+
return self._Filters
|
14387
|
+
|
14388
|
+
@Filters.setter
|
14389
|
+
def Filters(self, Filters):
|
14390
|
+
self._Filters = Filters
|
14391
|
+
|
14392
|
+
@property
|
14393
|
+
def DbType(self):
|
14394
|
+
return self._DbType
|
14395
|
+
|
14396
|
+
@DbType.setter
|
14397
|
+
def DbType(self, DbType):
|
14398
|
+
self._DbType = DbType
|
14169
14399
|
|
14170
14400
|
|
14171
14401
|
def _deserialize(self, params):
|
14172
|
-
self.
|
14402
|
+
self._Limit = params.get("Limit")
|
14403
|
+
self._Offset = params.get("Offset")
|
14404
|
+
self._OrderBy = params.get("OrderBy")
|
14405
|
+
self._OrderByType = params.get("OrderByType")
|
14406
|
+
if params.get("Filters") is not None:
|
14407
|
+
self._Filters = []
|
14408
|
+
for item in params.get("Filters"):
|
14409
|
+
obj = QueryFilter()
|
14410
|
+
obj._deserialize(item)
|
14411
|
+
self._Filters.append(obj)
|
14412
|
+
self._DbType = params.get("DbType")
|
14173
14413
|
memeber_set = set(params.keys())
|
14174
14414
|
for name, value in vars(self).items():
|
14175
14415
|
property_name = name[1:]
|
@@ -14180,50 +14420,39 @@ class DescribeMaintainPeriodRequest(AbstractModel):
|
|
14180
14420
|
|
14181
14421
|
|
14182
14422
|
|
14183
|
-
class
|
14184
|
-
"""
|
14423
|
+
class DescribeIsolatedInstancesResponse(AbstractModel):
|
14424
|
+
"""DescribeIsolatedInstances返回参数结构体
|
14185
14425
|
|
14186
14426
|
"""
|
14187
14427
|
|
14188
14428
|
def __init__(self):
|
14189
14429
|
r"""
|
14190
|
-
:param
|
14191
|
-
:type
|
14192
|
-
:param
|
14193
|
-
:type
|
14194
|
-
:param _MaintainDuration: 维护时长,单位秒
|
14195
|
-
:type MaintainDuration: int
|
14430
|
+
:param _TotalCount: 实例个数
|
14431
|
+
:type TotalCount: int
|
14432
|
+
:param _InstanceSet: 实例列表
|
14433
|
+
:type InstanceSet: list of CynosdbInstance
|
14196
14434
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14197
14435
|
:type RequestId: str
|
14198
14436
|
"""
|
14199
|
-
self.
|
14200
|
-
self.
|
14201
|
-
self._MaintainDuration = None
|
14437
|
+
self._TotalCount = None
|
14438
|
+
self._InstanceSet = None
|
14202
14439
|
self._RequestId = None
|
14203
14440
|
|
14204
14441
|
@property
|
14205
|
-
def
|
14206
|
-
return self.
|
14207
|
-
|
14208
|
-
@MaintainWeekDays.setter
|
14209
|
-
def MaintainWeekDays(self, MaintainWeekDays):
|
14210
|
-
self._MaintainWeekDays = MaintainWeekDays
|
14211
|
-
|
14212
|
-
@property
|
14213
|
-
def MaintainStartTime(self):
|
14214
|
-
return self._MaintainStartTime
|
14442
|
+
def TotalCount(self):
|
14443
|
+
return self._TotalCount
|
14215
14444
|
|
14216
|
-
@
|
14217
|
-
def
|
14218
|
-
self.
|
14445
|
+
@TotalCount.setter
|
14446
|
+
def TotalCount(self, TotalCount):
|
14447
|
+
self._TotalCount = TotalCount
|
14219
14448
|
|
14220
14449
|
@property
|
14221
|
-
def
|
14222
|
-
return self.
|
14450
|
+
def InstanceSet(self):
|
14451
|
+
return self._InstanceSet
|
14223
14452
|
|
14224
|
-
@
|
14225
|
-
def
|
14226
|
-
self.
|
14453
|
+
@InstanceSet.setter
|
14454
|
+
def InstanceSet(self, InstanceSet):
|
14455
|
+
self._InstanceSet = InstanceSet
|
14227
14456
|
|
14228
14457
|
@property
|
14229
14458
|
def RequestId(self):
|
@@ -14235,9 +14464,107 @@ class DescribeMaintainPeriodResponse(AbstractModel):
|
|
14235
14464
|
|
14236
14465
|
|
14237
14466
|
def _deserialize(self, params):
|
14238
|
-
self.
|
14239
|
-
|
14240
|
-
|
14467
|
+
self._TotalCount = params.get("TotalCount")
|
14468
|
+
if params.get("InstanceSet") is not None:
|
14469
|
+
self._InstanceSet = []
|
14470
|
+
for item in params.get("InstanceSet"):
|
14471
|
+
obj = CynosdbInstance()
|
14472
|
+
obj._deserialize(item)
|
14473
|
+
self._InstanceSet.append(obj)
|
14474
|
+
self._RequestId = params.get("RequestId")
|
14475
|
+
|
14476
|
+
|
14477
|
+
class DescribeMaintainPeriodRequest(AbstractModel):
|
14478
|
+
"""DescribeMaintainPeriod请求参数结构体
|
14479
|
+
|
14480
|
+
"""
|
14481
|
+
|
14482
|
+
def __init__(self):
|
14483
|
+
r"""
|
14484
|
+
:param _InstanceId: 实例ID
|
14485
|
+
:type InstanceId: str
|
14486
|
+
"""
|
14487
|
+
self._InstanceId = None
|
14488
|
+
|
14489
|
+
@property
|
14490
|
+
def InstanceId(self):
|
14491
|
+
return self._InstanceId
|
14492
|
+
|
14493
|
+
@InstanceId.setter
|
14494
|
+
def InstanceId(self, InstanceId):
|
14495
|
+
self._InstanceId = InstanceId
|
14496
|
+
|
14497
|
+
|
14498
|
+
def _deserialize(self, params):
|
14499
|
+
self._InstanceId = params.get("InstanceId")
|
14500
|
+
memeber_set = set(params.keys())
|
14501
|
+
for name, value in vars(self).items():
|
14502
|
+
property_name = name[1:]
|
14503
|
+
if property_name in memeber_set:
|
14504
|
+
memeber_set.remove(property_name)
|
14505
|
+
if len(memeber_set) > 0:
|
14506
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
14507
|
+
|
14508
|
+
|
14509
|
+
|
14510
|
+
class DescribeMaintainPeriodResponse(AbstractModel):
|
14511
|
+
"""DescribeMaintainPeriod返回参数结构体
|
14512
|
+
|
14513
|
+
"""
|
14514
|
+
|
14515
|
+
def __init__(self):
|
14516
|
+
r"""
|
14517
|
+
:param _MaintainWeekDays: 维护week days
|
14518
|
+
:type MaintainWeekDays: list of str
|
14519
|
+
:param _MaintainStartTime: 维护开始时间,单位秒
|
14520
|
+
:type MaintainStartTime: int
|
14521
|
+
:param _MaintainDuration: 维护时长,单位秒
|
14522
|
+
:type MaintainDuration: int
|
14523
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14524
|
+
:type RequestId: str
|
14525
|
+
"""
|
14526
|
+
self._MaintainWeekDays = None
|
14527
|
+
self._MaintainStartTime = None
|
14528
|
+
self._MaintainDuration = None
|
14529
|
+
self._RequestId = None
|
14530
|
+
|
14531
|
+
@property
|
14532
|
+
def MaintainWeekDays(self):
|
14533
|
+
return self._MaintainWeekDays
|
14534
|
+
|
14535
|
+
@MaintainWeekDays.setter
|
14536
|
+
def MaintainWeekDays(self, MaintainWeekDays):
|
14537
|
+
self._MaintainWeekDays = MaintainWeekDays
|
14538
|
+
|
14539
|
+
@property
|
14540
|
+
def MaintainStartTime(self):
|
14541
|
+
return self._MaintainStartTime
|
14542
|
+
|
14543
|
+
@MaintainStartTime.setter
|
14544
|
+
def MaintainStartTime(self, MaintainStartTime):
|
14545
|
+
self._MaintainStartTime = MaintainStartTime
|
14546
|
+
|
14547
|
+
@property
|
14548
|
+
def MaintainDuration(self):
|
14549
|
+
return self._MaintainDuration
|
14550
|
+
|
14551
|
+
@MaintainDuration.setter
|
14552
|
+
def MaintainDuration(self, MaintainDuration):
|
14553
|
+
self._MaintainDuration = MaintainDuration
|
14554
|
+
|
14555
|
+
@property
|
14556
|
+
def RequestId(self):
|
14557
|
+
return self._RequestId
|
14558
|
+
|
14559
|
+
@RequestId.setter
|
14560
|
+
def RequestId(self, RequestId):
|
14561
|
+
self._RequestId = RequestId
|
14562
|
+
|
14563
|
+
|
14564
|
+
def _deserialize(self, params):
|
14565
|
+
self._MaintainWeekDays = params.get("MaintainWeekDays")
|
14566
|
+
self._MaintainStartTime = params.get("MaintainStartTime")
|
14567
|
+
self._MaintainDuration = params.get("MaintainDuration")
|
14241
14568
|
self._RequestId = params.get("RequestId")
|
14242
14569
|
|
14243
14570
|
|
@@ -15897,6 +16224,138 @@ class DescribeRollbackTimeValidityResponse(AbstractModel):
|
|
15897
16224
|
self._RequestId = params.get("RequestId")
|
15898
16225
|
|
15899
16226
|
|
16227
|
+
class DescribeServerlessStrategyRequest(AbstractModel):
|
16228
|
+
"""DescribeServerlessStrategy请求参数结构体
|
16229
|
+
|
16230
|
+
"""
|
16231
|
+
|
16232
|
+
def __init__(self):
|
16233
|
+
r"""
|
16234
|
+
:param _ClusterId: serverless集群id
|
16235
|
+
:type ClusterId: str
|
16236
|
+
"""
|
16237
|
+
self._ClusterId = None
|
16238
|
+
|
16239
|
+
@property
|
16240
|
+
def ClusterId(self):
|
16241
|
+
return self._ClusterId
|
16242
|
+
|
16243
|
+
@ClusterId.setter
|
16244
|
+
def ClusterId(self, ClusterId):
|
16245
|
+
self._ClusterId = ClusterId
|
16246
|
+
|
16247
|
+
|
16248
|
+
def _deserialize(self, params):
|
16249
|
+
self._ClusterId = params.get("ClusterId")
|
16250
|
+
memeber_set = set(params.keys())
|
16251
|
+
for name, value in vars(self).items():
|
16252
|
+
property_name = name[1:]
|
16253
|
+
if property_name in memeber_set:
|
16254
|
+
memeber_set.remove(property_name)
|
16255
|
+
if len(memeber_set) > 0:
|
16256
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
16257
|
+
|
16258
|
+
|
16259
|
+
|
16260
|
+
class DescribeServerlessStrategyResponse(AbstractModel):
|
16261
|
+
"""DescribeServerlessStrategy返回参数结构体
|
16262
|
+
|
16263
|
+
"""
|
16264
|
+
|
16265
|
+
def __init__(self):
|
16266
|
+
r"""
|
16267
|
+
:param _AutoPauseDelay: cpu负载为 0 时持续多久(秒)发起自动暂停
|
16268
|
+
:type AutoPauseDelay: int
|
16269
|
+
:param _AutoScaleUpDelay: cpu负载超过当前规格核数时,持续多久(秒)发起自动扩容
|
16270
|
+
:type AutoScaleUpDelay: int
|
16271
|
+
:param _AutoScaleDownDelay: cpu 负载低于低一级规格核数时,持续多久(秒)发起自动缩容
|
16272
|
+
:type AutoScaleDownDelay: int
|
16273
|
+
:param _AutoPause: 是否自动暂停,可能值:
|
16274
|
+
yes
|
16275
|
+
no
|
16276
|
+
:type AutoPause: str
|
16277
|
+
:param _AutoScaleUp: 集群是否允许向上扩容,可选范围<li>yes</li><li>no</li>
|
16278
|
+
:type AutoScaleUp: str
|
16279
|
+
:param _AutoScaleDown: 集群是否允许向下缩容,可选范围<li>yes</li><li>no</li>
|
16280
|
+
:type AutoScaleDown: str
|
16281
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
16282
|
+
:type RequestId: str
|
16283
|
+
"""
|
16284
|
+
self._AutoPauseDelay = None
|
16285
|
+
self._AutoScaleUpDelay = None
|
16286
|
+
self._AutoScaleDownDelay = None
|
16287
|
+
self._AutoPause = None
|
16288
|
+
self._AutoScaleUp = None
|
16289
|
+
self._AutoScaleDown = None
|
16290
|
+
self._RequestId = None
|
16291
|
+
|
16292
|
+
@property
|
16293
|
+
def AutoPauseDelay(self):
|
16294
|
+
return self._AutoPauseDelay
|
16295
|
+
|
16296
|
+
@AutoPauseDelay.setter
|
16297
|
+
def AutoPauseDelay(self, AutoPauseDelay):
|
16298
|
+
self._AutoPauseDelay = AutoPauseDelay
|
16299
|
+
|
16300
|
+
@property
|
16301
|
+
def AutoScaleUpDelay(self):
|
16302
|
+
return self._AutoScaleUpDelay
|
16303
|
+
|
16304
|
+
@AutoScaleUpDelay.setter
|
16305
|
+
def AutoScaleUpDelay(self, AutoScaleUpDelay):
|
16306
|
+
self._AutoScaleUpDelay = AutoScaleUpDelay
|
16307
|
+
|
16308
|
+
@property
|
16309
|
+
def AutoScaleDownDelay(self):
|
16310
|
+
return self._AutoScaleDownDelay
|
16311
|
+
|
16312
|
+
@AutoScaleDownDelay.setter
|
16313
|
+
def AutoScaleDownDelay(self, AutoScaleDownDelay):
|
16314
|
+
self._AutoScaleDownDelay = AutoScaleDownDelay
|
16315
|
+
|
16316
|
+
@property
|
16317
|
+
def AutoPause(self):
|
16318
|
+
return self._AutoPause
|
16319
|
+
|
16320
|
+
@AutoPause.setter
|
16321
|
+
def AutoPause(self, AutoPause):
|
16322
|
+
self._AutoPause = AutoPause
|
16323
|
+
|
16324
|
+
@property
|
16325
|
+
def AutoScaleUp(self):
|
16326
|
+
return self._AutoScaleUp
|
16327
|
+
|
16328
|
+
@AutoScaleUp.setter
|
16329
|
+
def AutoScaleUp(self, AutoScaleUp):
|
16330
|
+
self._AutoScaleUp = AutoScaleUp
|
16331
|
+
|
16332
|
+
@property
|
16333
|
+
def AutoScaleDown(self):
|
16334
|
+
return self._AutoScaleDown
|
16335
|
+
|
16336
|
+
@AutoScaleDown.setter
|
16337
|
+
def AutoScaleDown(self, AutoScaleDown):
|
16338
|
+
self._AutoScaleDown = AutoScaleDown
|
16339
|
+
|
16340
|
+
@property
|
16341
|
+
def RequestId(self):
|
16342
|
+
return self._RequestId
|
16343
|
+
|
16344
|
+
@RequestId.setter
|
16345
|
+
def RequestId(self, RequestId):
|
16346
|
+
self._RequestId = RequestId
|
16347
|
+
|
16348
|
+
|
16349
|
+
def _deserialize(self, params):
|
16350
|
+
self._AutoPauseDelay = params.get("AutoPauseDelay")
|
16351
|
+
self._AutoScaleUpDelay = params.get("AutoScaleUpDelay")
|
16352
|
+
self._AutoScaleDownDelay = params.get("AutoScaleDownDelay")
|
16353
|
+
self._AutoPause = params.get("AutoPause")
|
16354
|
+
self._AutoScaleUp = params.get("AutoScaleUp")
|
16355
|
+
self._AutoScaleDown = params.get("AutoScaleDown")
|
16356
|
+
self._RequestId = params.get("RequestId")
|
16357
|
+
|
16358
|
+
|
15900
16359
|
class DescribeSupportProxyVersionRequest(AbstractModel):
|
15901
16360
|
"""DescribeSupportProxyVersion请求参数结构体
|
15902
16361
|
|
@@ -19912,6 +20371,78 @@ class ModifyBackupNameResponse(AbstractModel):
|
|
19912
20371
|
self._RequestId = params.get("RequestId")
|
19913
20372
|
|
19914
20373
|
|
20374
|
+
class ModifyBinlogConfigRequest(AbstractModel):
|
20375
|
+
"""ModifyBinlogConfig请求参数结构体
|
20376
|
+
|
20377
|
+
"""
|
20378
|
+
|
20379
|
+
def __init__(self):
|
20380
|
+
r"""
|
20381
|
+
:param _ClusterId: 集群ID
|
20382
|
+
:type ClusterId: str
|
20383
|
+
:param _BinlogConfig: Binlog配置信息
|
20384
|
+
:type BinlogConfig: :class:`tencentcloud.cynosdb.v20190107.models.BinlogConfigInfo`
|
20385
|
+
"""
|
20386
|
+
self._ClusterId = None
|
20387
|
+
self._BinlogConfig = None
|
20388
|
+
|
20389
|
+
@property
|
20390
|
+
def ClusterId(self):
|
20391
|
+
return self._ClusterId
|
20392
|
+
|
20393
|
+
@ClusterId.setter
|
20394
|
+
def ClusterId(self, ClusterId):
|
20395
|
+
self._ClusterId = ClusterId
|
20396
|
+
|
20397
|
+
@property
|
20398
|
+
def BinlogConfig(self):
|
20399
|
+
return self._BinlogConfig
|
20400
|
+
|
20401
|
+
@BinlogConfig.setter
|
20402
|
+
def BinlogConfig(self, BinlogConfig):
|
20403
|
+
self._BinlogConfig = BinlogConfig
|
20404
|
+
|
20405
|
+
|
20406
|
+
def _deserialize(self, params):
|
20407
|
+
self._ClusterId = params.get("ClusterId")
|
20408
|
+
if params.get("BinlogConfig") is not None:
|
20409
|
+
self._BinlogConfig = BinlogConfigInfo()
|
20410
|
+
self._BinlogConfig._deserialize(params.get("BinlogConfig"))
|
20411
|
+
memeber_set = set(params.keys())
|
20412
|
+
for name, value in vars(self).items():
|
20413
|
+
property_name = name[1:]
|
20414
|
+
if property_name in memeber_set:
|
20415
|
+
memeber_set.remove(property_name)
|
20416
|
+
if len(memeber_set) > 0:
|
20417
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
20418
|
+
|
20419
|
+
|
20420
|
+
|
20421
|
+
class ModifyBinlogConfigResponse(AbstractModel):
|
20422
|
+
"""ModifyBinlogConfig返回参数结构体
|
20423
|
+
|
20424
|
+
"""
|
20425
|
+
|
20426
|
+
def __init__(self):
|
20427
|
+
r"""
|
20428
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
20429
|
+
:type RequestId: str
|
20430
|
+
"""
|
20431
|
+
self._RequestId = None
|
20432
|
+
|
20433
|
+
@property
|
20434
|
+
def RequestId(self):
|
20435
|
+
return self._RequestId
|
20436
|
+
|
20437
|
+
@RequestId.setter
|
20438
|
+
def RequestId(self, RequestId):
|
20439
|
+
self._RequestId = RequestId
|
20440
|
+
|
20441
|
+
|
20442
|
+
def _deserialize(self, params):
|
20443
|
+
self._RequestId = params.get("RequestId")
|
20444
|
+
|
20445
|
+
|
19915
20446
|
class ModifyBinlogSaveDaysRequest(AbstractModel):
|
19916
20447
|
"""ModifyBinlogSaveDays请求参数结构体
|
19917
20448
|
|
@@ -22091,6 +22622,222 @@ class ModifyResourcePackagesDeductionPriorityResponse(AbstractModel):
|
|
22091
22622
|
self._RequestId = params.get("RequestId")
|
22092
22623
|
|
22093
22624
|
|
22625
|
+
class ModifyServerlessStrategyRequest(AbstractModel):
|
22626
|
+
"""ModifyServerlessStrategy请求参数结构体
|
22627
|
+
|
22628
|
+
"""
|
22629
|
+
|
22630
|
+
def __init__(self):
|
22631
|
+
r"""
|
22632
|
+
:param _ClusterId: serverless集群id
|
22633
|
+
:type ClusterId: str
|
22634
|
+
:param _AutoPause: 集群是否自动暂停,可选范围
|
22635
|
+
<li>yes</li>
|
22636
|
+
<li>no</li>
|
22637
|
+
:type AutoPause: str
|
22638
|
+
:param _AutoPauseDelay: 集群自动暂停的延迟,单位秒,可选范围[600,691200],默认600
|
22639
|
+
:type AutoPauseDelay: int
|
22640
|
+
:param _AutoScaleUpDelay: 该参数暂时无效
|
22641
|
+
:type AutoScaleUpDelay: int
|
22642
|
+
:param _AutoScaleDownDelay: 该参数暂时无效
|
22643
|
+
:type AutoScaleDownDelay: int
|
22644
|
+
:param _MinCpu: cpu最小值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
22645
|
+
:type MinCpu: float
|
22646
|
+
:param _MaxCpu: cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
22647
|
+
:type MaxCpu: float
|
22648
|
+
:param _MinRoCpu: 只读实例cpu最小值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
22649
|
+
:type MinRoCpu: float
|
22650
|
+
:param _MaxRoCpu: 只读cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
22651
|
+
:type MaxRoCpu: float
|
22652
|
+
:param _MinRoCount: 只读节点最小个数
|
22653
|
+
:type MinRoCount: int
|
22654
|
+
:param _MaxRoCount: 只读节点最大个数
|
22655
|
+
:type MaxRoCount: int
|
22656
|
+
:param _AutoScaleUp: 集群是否允许扩容,可选范围<li>yes</li><li>no</li>
|
22657
|
+
:type AutoScaleUp: str
|
22658
|
+
:param _AutoScaleDown: 集群是否允许缩容,可选范围<li>yes</li><li>no</li>
|
22659
|
+
:type AutoScaleDown: str
|
22660
|
+
"""
|
22661
|
+
self._ClusterId = None
|
22662
|
+
self._AutoPause = None
|
22663
|
+
self._AutoPauseDelay = None
|
22664
|
+
self._AutoScaleUpDelay = None
|
22665
|
+
self._AutoScaleDownDelay = None
|
22666
|
+
self._MinCpu = None
|
22667
|
+
self._MaxCpu = None
|
22668
|
+
self._MinRoCpu = None
|
22669
|
+
self._MaxRoCpu = None
|
22670
|
+
self._MinRoCount = None
|
22671
|
+
self._MaxRoCount = None
|
22672
|
+
self._AutoScaleUp = None
|
22673
|
+
self._AutoScaleDown = None
|
22674
|
+
|
22675
|
+
@property
|
22676
|
+
def ClusterId(self):
|
22677
|
+
return self._ClusterId
|
22678
|
+
|
22679
|
+
@ClusterId.setter
|
22680
|
+
def ClusterId(self, ClusterId):
|
22681
|
+
self._ClusterId = ClusterId
|
22682
|
+
|
22683
|
+
@property
|
22684
|
+
def AutoPause(self):
|
22685
|
+
return self._AutoPause
|
22686
|
+
|
22687
|
+
@AutoPause.setter
|
22688
|
+
def AutoPause(self, AutoPause):
|
22689
|
+
self._AutoPause = AutoPause
|
22690
|
+
|
22691
|
+
@property
|
22692
|
+
def AutoPauseDelay(self):
|
22693
|
+
return self._AutoPauseDelay
|
22694
|
+
|
22695
|
+
@AutoPauseDelay.setter
|
22696
|
+
def AutoPauseDelay(self, AutoPauseDelay):
|
22697
|
+
self._AutoPauseDelay = AutoPauseDelay
|
22698
|
+
|
22699
|
+
@property
|
22700
|
+
def AutoScaleUpDelay(self):
|
22701
|
+
return self._AutoScaleUpDelay
|
22702
|
+
|
22703
|
+
@AutoScaleUpDelay.setter
|
22704
|
+
def AutoScaleUpDelay(self, AutoScaleUpDelay):
|
22705
|
+
self._AutoScaleUpDelay = AutoScaleUpDelay
|
22706
|
+
|
22707
|
+
@property
|
22708
|
+
def AutoScaleDownDelay(self):
|
22709
|
+
return self._AutoScaleDownDelay
|
22710
|
+
|
22711
|
+
@AutoScaleDownDelay.setter
|
22712
|
+
def AutoScaleDownDelay(self, AutoScaleDownDelay):
|
22713
|
+
self._AutoScaleDownDelay = AutoScaleDownDelay
|
22714
|
+
|
22715
|
+
@property
|
22716
|
+
def MinCpu(self):
|
22717
|
+
return self._MinCpu
|
22718
|
+
|
22719
|
+
@MinCpu.setter
|
22720
|
+
def MinCpu(self, MinCpu):
|
22721
|
+
self._MinCpu = MinCpu
|
22722
|
+
|
22723
|
+
@property
|
22724
|
+
def MaxCpu(self):
|
22725
|
+
return self._MaxCpu
|
22726
|
+
|
22727
|
+
@MaxCpu.setter
|
22728
|
+
def MaxCpu(self, MaxCpu):
|
22729
|
+
self._MaxCpu = MaxCpu
|
22730
|
+
|
22731
|
+
@property
|
22732
|
+
def MinRoCpu(self):
|
22733
|
+
return self._MinRoCpu
|
22734
|
+
|
22735
|
+
@MinRoCpu.setter
|
22736
|
+
def MinRoCpu(self, MinRoCpu):
|
22737
|
+
self._MinRoCpu = MinRoCpu
|
22738
|
+
|
22739
|
+
@property
|
22740
|
+
def MaxRoCpu(self):
|
22741
|
+
return self._MaxRoCpu
|
22742
|
+
|
22743
|
+
@MaxRoCpu.setter
|
22744
|
+
def MaxRoCpu(self, MaxRoCpu):
|
22745
|
+
self._MaxRoCpu = MaxRoCpu
|
22746
|
+
|
22747
|
+
@property
|
22748
|
+
def MinRoCount(self):
|
22749
|
+
return self._MinRoCount
|
22750
|
+
|
22751
|
+
@MinRoCount.setter
|
22752
|
+
def MinRoCount(self, MinRoCount):
|
22753
|
+
self._MinRoCount = MinRoCount
|
22754
|
+
|
22755
|
+
@property
|
22756
|
+
def MaxRoCount(self):
|
22757
|
+
return self._MaxRoCount
|
22758
|
+
|
22759
|
+
@MaxRoCount.setter
|
22760
|
+
def MaxRoCount(self, MaxRoCount):
|
22761
|
+
self._MaxRoCount = MaxRoCount
|
22762
|
+
|
22763
|
+
@property
|
22764
|
+
def AutoScaleUp(self):
|
22765
|
+
return self._AutoScaleUp
|
22766
|
+
|
22767
|
+
@AutoScaleUp.setter
|
22768
|
+
def AutoScaleUp(self, AutoScaleUp):
|
22769
|
+
self._AutoScaleUp = AutoScaleUp
|
22770
|
+
|
22771
|
+
@property
|
22772
|
+
def AutoScaleDown(self):
|
22773
|
+
return self._AutoScaleDown
|
22774
|
+
|
22775
|
+
@AutoScaleDown.setter
|
22776
|
+
def AutoScaleDown(self, AutoScaleDown):
|
22777
|
+
self._AutoScaleDown = AutoScaleDown
|
22778
|
+
|
22779
|
+
|
22780
|
+
def _deserialize(self, params):
|
22781
|
+
self._ClusterId = params.get("ClusterId")
|
22782
|
+
self._AutoPause = params.get("AutoPause")
|
22783
|
+
self._AutoPauseDelay = params.get("AutoPauseDelay")
|
22784
|
+
self._AutoScaleUpDelay = params.get("AutoScaleUpDelay")
|
22785
|
+
self._AutoScaleDownDelay = params.get("AutoScaleDownDelay")
|
22786
|
+
self._MinCpu = params.get("MinCpu")
|
22787
|
+
self._MaxCpu = params.get("MaxCpu")
|
22788
|
+
self._MinRoCpu = params.get("MinRoCpu")
|
22789
|
+
self._MaxRoCpu = params.get("MaxRoCpu")
|
22790
|
+
self._MinRoCount = params.get("MinRoCount")
|
22791
|
+
self._MaxRoCount = params.get("MaxRoCount")
|
22792
|
+
self._AutoScaleUp = params.get("AutoScaleUp")
|
22793
|
+
self._AutoScaleDown = params.get("AutoScaleDown")
|
22794
|
+
memeber_set = set(params.keys())
|
22795
|
+
for name, value in vars(self).items():
|
22796
|
+
property_name = name[1:]
|
22797
|
+
if property_name in memeber_set:
|
22798
|
+
memeber_set.remove(property_name)
|
22799
|
+
if len(memeber_set) > 0:
|
22800
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
22801
|
+
|
22802
|
+
|
22803
|
+
|
22804
|
+
class ModifyServerlessStrategyResponse(AbstractModel):
|
22805
|
+
"""ModifyServerlessStrategy返回参数结构体
|
22806
|
+
|
22807
|
+
"""
|
22808
|
+
|
22809
|
+
def __init__(self):
|
22810
|
+
r"""
|
22811
|
+
:param _FlowId: 异步流程id
|
22812
|
+
:type FlowId: int
|
22813
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
22814
|
+
:type RequestId: str
|
22815
|
+
"""
|
22816
|
+
self._FlowId = None
|
22817
|
+
self._RequestId = None
|
22818
|
+
|
22819
|
+
@property
|
22820
|
+
def FlowId(self):
|
22821
|
+
return self._FlowId
|
22822
|
+
|
22823
|
+
@FlowId.setter
|
22824
|
+
def FlowId(self, FlowId):
|
22825
|
+
self._FlowId = FlowId
|
22826
|
+
|
22827
|
+
@property
|
22828
|
+
def RequestId(self):
|
22829
|
+
return self._RequestId
|
22830
|
+
|
22831
|
+
@RequestId.setter
|
22832
|
+
def RequestId(self, RequestId):
|
22833
|
+
self._RequestId = RequestId
|
22834
|
+
|
22835
|
+
|
22836
|
+
def _deserialize(self, params):
|
22837
|
+
self._FlowId = params.get("FlowId")
|
22838
|
+
self._RequestId = params.get("RequestId")
|
22839
|
+
|
22840
|
+
|
22094
22841
|
class ModifyVipVportRequest(AbstractModel):
|
22095
22842
|
"""ModifyVipVport请求参数结构体
|
22096
22843
|
|
@@ -23096,6 +23843,57 @@ class OpenClusterReadOnlyInstanceGroupAccessRequest(AbstractModel):
|
|
23096
23843
|
|
23097
23844
|
"""
|
23098
23845
|
|
23846
|
+
def __init__(self):
|
23847
|
+
r"""
|
23848
|
+
:param _ClusterId: 集群ID
|
23849
|
+
:type ClusterId: str
|
23850
|
+
:param _Port: 端口
|
23851
|
+
:type Port: str
|
23852
|
+
:param _SecurityGroupIds: 安全组ID
|
23853
|
+
:type SecurityGroupIds: list of str
|
23854
|
+
"""
|
23855
|
+
self._ClusterId = None
|
23856
|
+
self._Port = None
|
23857
|
+
self._SecurityGroupIds = None
|
23858
|
+
|
23859
|
+
@property
|
23860
|
+
def ClusterId(self):
|
23861
|
+
return self._ClusterId
|
23862
|
+
|
23863
|
+
@ClusterId.setter
|
23864
|
+
def ClusterId(self, ClusterId):
|
23865
|
+
self._ClusterId = ClusterId
|
23866
|
+
|
23867
|
+
@property
|
23868
|
+
def Port(self):
|
23869
|
+
return self._Port
|
23870
|
+
|
23871
|
+
@Port.setter
|
23872
|
+
def Port(self, Port):
|
23873
|
+
self._Port = Port
|
23874
|
+
|
23875
|
+
@property
|
23876
|
+
def SecurityGroupIds(self):
|
23877
|
+
return self._SecurityGroupIds
|
23878
|
+
|
23879
|
+
@SecurityGroupIds.setter
|
23880
|
+
def SecurityGroupIds(self, SecurityGroupIds):
|
23881
|
+
self._SecurityGroupIds = SecurityGroupIds
|
23882
|
+
|
23883
|
+
|
23884
|
+
def _deserialize(self, params):
|
23885
|
+
self._ClusterId = params.get("ClusterId")
|
23886
|
+
self._Port = params.get("Port")
|
23887
|
+
self._SecurityGroupIds = params.get("SecurityGroupIds")
|
23888
|
+
memeber_set = set(params.keys())
|
23889
|
+
for name, value in vars(self).items():
|
23890
|
+
property_name = name[1:]
|
23891
|
+
if property_name in memeber_set:
|
23892
|
+
memeber_set.remove(property_name)
|
23893
|
+
if len(memeber_set) > 0:
|
23894
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
23895
|
+
|
23896
|
+
|
23099
23897
|
|
23100
23898
|
class OpenClusterReadOnlyInstanceGroupAccessResponse(AbstractModel):
|
23101
23899
|
"""OpenClusterReadOnlyInstanceGroupAccess返回参数结构体
|
@@ -23104,11 +23902,22 @@ class OpenClusterReadOnlyInstanceGroupAccessResponse(AbstractModel):
|
|
23104
23902
|
|
23105
23903
|
def __init__(self):
|
23106
23904
|
r"""
|
23905
|
+
:param _FlowId: 开启流程ID
|
23906
|
+
:type FlowId: str
|
23107
23907
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
23108
23908
|
:type RequestId: str
|
23109
23909
|
"""
|
23910
|
+
self._FlowId = None
|
23110
23911
|
self._RequestId = None
|
23111
23912
|
|
23913
|
+
@property
|
23914
|
+
def FlowId(self):
|
23915
|
+
return self._FlowId
|
23916
|
+
|
23917
|
+
@FlowId.setter
|
23918
|
+
def FlowId(self, FlowId):
|
23919
|
+
self._FlowId = FlowId
|
23920
|
+
|
23112
23921
|
@property
|
23113
23922
|
def RequestId(self):
|
23114
23923
|
return self._RequestId
|
@@ -23119,6 +23928,7 @@ class OpenClusterReadOnlyInstanceGroupAccessResponse(AbstractModel):
|
|
23119
23928
|
|
23120
23929
|
|
23121
23930
|
def _deserialize(self, params):
|
23931
|
+
self._FlowId = params.get("FlowId")
|
23122
23932
|
self._RequestId = params.get("RequestId")
|
23123
23933
|
|
23124
23934
|
|
@@ -23129,17 +23939,17 @@ class OpenReadOnlyInstanceExclusiveAccessRequest(AbstractModel):
|
|
23129
23939
|
|
23130
23940
|
def __init__(self):
|
23131
23941
|
r"""
|
23132
|
-
:param _ClusterId:
|
23942
|
+
:param _ClusterId: 请使用 [集群信息描述](https://cloud.tencent.com/document/api/1003/48086) 获取 clusterId。
|
23133
23943
|
:type ClusterId: str
|
23134
|
-
:param _InstanceId:
|
23944
|
+
:param _InstanceId: 请使用 [集群信息描述](https://cloud.tencent.com/document/api/1003/48086) 获取 instanceId。
|
23135
23945
|
:type InstanceId: str
|
23136
|
-
:param _VpcId: 指定的vpc ID
|
23946
|
+
:param _VpcId: 指定的 vpc ID,请使用 [查询私有网络列表](https://cloud.tencent.com/document/api/215/15778) 获取 vpc ID。
|
23137
23947
|
:type VpcId: str
|
23138
|
-
:param _SubnetId: 指定的子网ID
|
23948
|
+
:param _SubnetId: 指定的子网 ID,如果设置了 vpc ID,则 SubnetId 必填,请使用 [查询子网列表](https://cloud.tencent.com/document/api/215/15784) 获取 SubnetId。
|
23139
23949
|
:type SubnetId: str
|
23140
|
-
:param _Port:
|
23950
|
+
:param _Port: 用户自定义的端口。
|
23141
23951
|
:type Port: int
|
23142
|
-
:param _SecurityGroupIds: 安全组
|
23952
|
+
:param _SecurityGroupIds: 安全组 ID,请使用 [查看安全组](https://cloud.tencent.com/document/api/215/15808) 获取 SecurityGroupId。
|
23143
23953
|
:type SecurityGroupIds: list of str
|
23144
23954
|
"""
|
23145
23955
|
self._ClusterId = None
|