tencentcloud-sdk-python 3.0.1222__py2.py3-none-any.whl → 3.0.1223__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/asr/v20190614/asr_client.py +96 -0
- tencentcloud/asr/v20190614/errorcodes.py +3 -0
- tencentcloud/asr/v20190614/models.py +618 -0
- tencentcloud/bi/v20220105/models.py +13 -0
- tencentcloud/cdwdoris/v20211228/models.py +69 -2
- tencentcloud/cfg/v20210820/models.py +168 -0
- 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 +53 -1
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +46 -0
- tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
- tencentcloud/cynosdb/v20190107/models.py +348 -0
- tencentcloud/dasb/v20191018/models.py +12 -0
- tencentcloud/dbbrain/v20210527/models.py +2 -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 +82 -0
- tencentcloud/emr/v20190103/emr_client.py +24 -0
- tencentcloud/emr/v20190103/models.py +82 -0
- tencentcloud/es/v20180416/es_client.py +23 -0
- tencentcloud/es/v20180416/models.py +94 -0
- tencentcloud/essbasic/v20210526/models.py +20 -12
- tencentcloud/hunyuan/v20230901/models.py +1 -1
- tencentcloud/ims/v20201229/ims_client.py +2 -2
- tencentcloud/iss/v20230517/models.py +28 -0
- tencentcloud/lke/v20231130/models.py +224 -2
- tencentcloud/mariadb/v20170312/errorcodes.py +3 -0
- tencentcloud/mariadb/v20170312/mariadb_client.py +23 -0
- tencentcloud/mariadb/v20170312/models.py +82 -0
- tencentcloud/oceanus/v20190422/models.py +13 -0
- tencentcloud/ocr/v20181119/models.py +1 -2
- tencentcloud/ocr/v20181119/ocr_client.py +8 -2
- tencentcloud/postgres/v20170312/errorcodes.py +15 -0
- tencentcloud/scf/v20180416/models.py +7 -8
- tencentcloud/sms/v20190711/errorcodes.py +3 -0
- tencentcloud/sms/v20190711/models.py +21 -22
- tencentcloud/sms/v20190711/sms_client.py +28 -60
- tencentcloud/tdmq/v20200217/models.py +117 -0
- tencentcloud/tke/v20180525/errorcodes.py +3 -0
- tencentcloud/tke/v20180525/models.py +12 -0
- tencentcloud/tmt/v20180321/models.py +1 -1
- tencentcloud/trocket/v20230308/models.py +52 -0
- tencentcloud/vclm/v20240523/errorcodes.py +3 -0
- tencentcloud/vpc/v20170312/models.py +34 -0
- tencentcloud/wedata/v20210820/models.py +265 -0
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1222.dist-info → tencentcloud_sdk_python-3.0.1223.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1222.dist-info → tencentcloud_sdk_python-3.0.1223.dist-info}/RECORD +56 -56
- {tencentcloud_sdk_python-3.0.1222.dist-info → tencentcloud_sdk_python-3.0.1223.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1222.dist-info → tencentcloud_sdk_python-3.0.1223.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1222.dist-info → tencentcloud_sdk_python-3.0.1223.dist-info}/top_level.txt +0 -0
@@ -4532,6 +4532,8 @@ class CreateInstancePostRequest(AbstractModel):
|
|
4532
4532
|
:type InstanceNum: int
|
4533
4533
|
:param _PublicNetworkMonthly: 公网带宽大小,单位 Mbps。默认是没有加上免费 3Mbps 带宽。例如总共需要 3Mbps 公网带宽,此处传 0;总共需要 6Mbps 公网带宽,此处传 3。需要保证传入参数为 3 的整数倍
|
4534
4534
|
:type PublicNetworkMonthly: int
|
4535
|
+
:param _Tags: 标签
|
4536
|
+
:type Tags: list of Tag
|
4535
4537
|
"""
|
4536
4538
|
self._InstanceName = None
|
4537
4539
|
self._VpcId = None
|
@@ -4551,6 +4553,7 @@ class CreateInstancePostRequest(AbstractModel):
|
|
4551
4553
|
self._ZoneIds = None
|
4552
4554
|
self._InstanceNum = None
|
4553
4555
|
self._PublicNetworkMonthly = None
|
4556
|
+
self._Tags = None
|
4554
4557
|
|
4555
4558
|
@property
|
4556
4559
|
def InstanceName(self):
|
@@ -4696,6 +4699,14 @@ class CreateInstancePostRequest(AbstractModel):
|
|
4696
4699
|
def PublicNetworkMonthly(self, PublicNetworkMonthly):
|
4697
4700
|
self._PublicNetworkMonthly = PublicNetworkMonthly
|
4698
4701
|
|
4702
|
+
@property
|
4703
|
+
def Tags(self):
|
4704
|
+
return self._Tags
|
4705
|
+
|
4706
|
+
@Tags.setter
|
4707
|
+
def Tags(self, Tags):
|
4708
|
+
self._Tags = Tags
|
4709
|
+
|
4699
4710
|
|
4700
4711
|
def _deserialize(self, params):
|
4701
4712
|
self._InstanceName = params.get("InstanceName")
|
@@ -4716,6 +4727,12 @@ class CreateInstancePostRequest(AbstractModel):
|
|
4716
4727
|
self._ZoneIds = params.get("ZoneIds")
|
4717
4728
|
self._InstanceNum = params.get("InstanceNum")
|
4718
4729
|
self._PublicNetworkMonthly = params.get("PublicNetworkMonthly")
|
4730
|
+
if params.get("Tags") is not None:
|
4731
|
+
self._Tags = []
|
4732
|
+
for item in params.get("Tags"):
|
4733
|
+
obj = Tag()
|
4734
|
+
obj._deserialize(item)
|
4735
|
+
self._Tags.append(obj)
|
4719
4736
|
memeber_set = set(params.keys())
|
4720
4737
|
for name, value in vars(self).items():
|
4721
4738
|
property_name = name[1:]
|
@@ -5414,7 +5431,7 @@ class CreatePostPaidInstanceRequest(AbstractModel):
|
|
5414
5431
|
:type ClusterId: int
|
5415
5432
|
:param _KafkaVersion: 实例版本。目前支持 "0.10.2","1.1.1","2.4.1","2.4.2","2.8.1"。"2.4.1" 与 "2.4.2" 属于同一个版本,传任意一个均可。
|
5416
5433
|
:type KafkaVersion: str
|
5417
|
-
:param _SpecificationsType: 实例类型。"standard":标准版,"profession"
|
5434
|
+
:param _SpecificationsType: 实例类型。"standard":标准版,"profession":专业版。 (标准版仅国际站支持,国内站目前支持专业版)
|
5418
5435
|
:type SpecificationsType: str
|
5419
5436
|
:param _DiskType: 专业版实例磁盘类型,标准版实例不需要填写。"CLOUD_SSD":SSD云硬盘;"CLOUD_BASIC":高性能云硬盘。不传默认值为 "CLOUD_BASIC"
|
5420
5437
|
:type DiskType: str
|
@@ -5436,6 +5453,8 @@ class CreatePostPaidInstanceRequest(AbstractModel):
|
|
5436
5453
|
:type InstanceNum: int
|
5437
5454
|
:param _PublicNetworkMonthly: 公网带宽大小,单位 Mbps。默认是没有加上免费 3Mbps 带宽。例如总共需要 3Mbps 公网带宽,此处传 0;总共需要 6Mbps 公网带宽,此处传 3。需要保证传入参数为 3 的整数倍
|
5438
5455
|
:type PublicNetworkMonthly: int
|
5456
|
+
:param _Tags: 标签
|
5457
|
+
:type Tags: list of Tag
|
5439
5458
|
"""
|
5440
5459
|
self._InstanceName = None
|
5441
5460
|
self._VpcId = None
|
@@ -5455,6 +5474,7 @@ class CreatePostPaidInstanceRequest(AbstractModel):
|
|
5455
5474
|
self._ZoneIds = None
|
5456
5475
|
self._InstanceNum = None
|
5457
5476
|
self._PublicNetworkMonthly = None
|
5477
|
+
self._Tags = None
|
5458
5478
|
|
5459
5479
|
@property
|
5460
5480
|
def InstanceName(self):
|
@@ -5600,6 +5620,14 @@ class CreatePostPaidInstanceRequest(AbstractModel):
|
|
5600
5620
|
def PublicNetworkMonthly(self, PublicNetworkMonthly):
|
5601
5621
|
self._PublicNetworkMonthly = PublicNetworkMonthly
|
5602
5622
|
|
5623
|
+
@property
|
5624
|
+
def Tags(self):
|
5625
|
+
return self._Tags
|
5626
|
+
|
5627
|
+
@Tags.setter
|
5628
|
+
def Tags(self, Tags):
|
5629
|
+
self._Tags = Tags
|
5630
|
+
|
5603
5631
|
|
5604
5632
|
def _deserialize(self, params):
|
5605
5633
|
self._InstanceName = params.get("InstanceName")
|
@@ -5620,6 +5648,12 @@ class CreatePostPaidInstanceRequest(AbstractModel):
|
|
5620
5648
|
self._ZoneIds = params.get("ZoneIds")
|
5621
5649
|
self._InstanceNum = params.get("InstanceNum")
|
5622
5650
|
self._PublicNetworkMonthly = params.get("PublicNetworkMonthly")
|
5651
|
+
if params.get("Tags") is not None:
|
5652
|
+
self._Tags = []
|
5653
|
+
for item in params.get("Tags"):
|
5654
|
+
obj = Tag()
|
5655
|
+
obj._deserialize(item)
|
5656
|
+
self._Tags.append(obj)
|
5623
5657
|
memeber_set = set(params.keys())
|
5624
5658
|
for name, value in vars(self).items():
|
5625
5659
|
property_name = name[1:]
|
@@ -8297,11 +8331,22 @@ class DeleteRouteTriggerTimeRequest(AbstractModel):
|
|
8297
8331
|
|
8298
8332
|
def __init__(self):
|
8299
8333
|
r"""
|
8334
|
+
:param _InstanceId: 实例id
|
8335
|
+
:type InstanceId: str
|
8300
8336
|
:param _DelayTime: 修改时间
|
8301
8337
|
:type DelayTime: str
|
8302
8338
|
"""
|
8339
|
+
self._InstanceId = None
|
8303
8340
|
self._DelayTime = None
|
8304
8341
|
|
8342
|
+
@property
|
8343
|
+
def InstanceId(self):
|
8344
|
+
return self._InstanceId
|
8345
|
+
|
8346
|
+
@InstanceId.setter
|
8347
|
+
def InstanceId(self, InstanceId):
|
8348
|
+
self._InstanceId = InstanceId
|
8349
|
+
|
8305
8350
|
@property
|
8306
8351
|
def DelayTime(self):
|
8307
8352
|
return self._DelayTime
|
@@ -8312,6 +8357,7 @@ class DeleteRouteTriggerTimeRequest(AbstractModel):
|
|
8312
8357
|
|
8313
8358
|
|
8314
8359
|
def _deserialize(self, params):
|
8360
|
+
self._InstanceId = params.get("InstanceId")
|
8315
8361
|
self._DelayTime = params.get("DelayTime")
|
8316
8362
|
memeber_set = set(params.keys())
|
8317
8363
|
for name, value in vars(self).items():
|
@@ -3064,6 +3064,8 @@ class CreateListenerRequest(AbstractModel):
|
|
3064
3064
|
:type IdleConnectTimeout: int
|
3065
3065
|
:param _SnatEnable: 是否开启SNAT。
|
3066
3066
|
:type SnatEnable: bool
|
3067
|
+
:param _FullEndPorts: 全端口段监听器的结束端口
|
3068
|
+
:type FullEndPorts: list of int
|
3067
3069
|
"""
|
3068
3070
|
self._LoadBalancerId = None
|
3069
3071
|
self._Ports = None
|
@@ -3084,6 +3086,7 @@ class CreateListenerRequest(AbstractModel):
|
|
3084
3086
|
self._MaxCps = None
|
3085
3087
|
self._IdleConnectTimeout = None
|
3086
3088
|
self._SnatEnable = None
|
3089
|
+
self._FullEndPorts = None
|
3087
3090
|
|
3088
3091
|
@property
|
3089
3092
|
def LoadBalancerId(self):
|
@@ -3237,6 +3240,14 @@ class CreateListenerRequest(AbstractModel):
|
|
3237
3240
|
def SnatEnable(self, SnatEnable):
|
3238
3241
|
self._SnatEnable = SnatEnable
|
3239
3242
|
|
3243
|
+
@property
|
3244
|
+
def FullEndPorts(self):
|
3245
|
+
return self._FullEndPorts
|
3246
|
+
|
3247
|
+
@FullEndPorts.setter
|
3248
|
+
def FullEndPorts(self, FullEndPorts):
|
3249
|
+
self._FullEndPorts = FullEndPorts
|
3250
|
+
|
3240
3251
|
|
3241
3252
|
def _deserialize(self, params):
|
3242
3253
|
self._LoadBalancerId = params.get("LoadBalancerId")
|
@@ -3264,6 +3275,7 @@ class CreateListenerRequest(AbstractModel):
|
|
3264
3275
|
self._MaxCps = params.get("MaxCps")
|
3265
3276
|
self._IdleConnectTimeout = params.get("IdleConnectTimeout")
|
3266
3277
|
self._SnatEnable = params.get("SnatEnable")
|
3278
|
+
self._FullEndPorts = params.get("FullEndPorts")
|
3267
3279
|
memeber_set = set(params.keys())
|
3268
3280
|
for name, value in vars(self).items():
|
3269
3281
|
property_name = name[1:]
|
@@ -11406,7 +11418,7 @@ class LoadBalancerDetail(AbstractModel):
|
|
11406
11418
|
:param _LoadBalancerName: 负载均衡实例的名称。
|
11407
11419
|
:type LoadBalancerName: str
|
11408
11420
|
:param _LoadBalancerType: 负载均衡实例的网络类型:
|
11409
|
-
|
11421
|
+
OPEN:公网属性,INTERNAL:内网属性。
|
11410
11422
|
注意:此字段可能返回 null,表示取不到有效值。
|
11411
11423
|
:type LoadBalancerType: str
|
11412
11424
|
:param _Status: 负载均衡实例的状态,包括
|
@@ -11518,6 +11530,16 @@ Public:公网属性, Private:内网属性。
|
|
11518
11530
|
:param _Egress: 网络出口
|
11519
11531
|
注意:此字段可能返回 null,表示取不到有效值。
|
11520
11532
|
:type Egress: str
|
11533
|
+
:param _AttributeFlags: 负载均衡的属性
|
11534
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
11535
|
+
:type AttributeFlags: list of str
|
11536
|
+
:param _SlaType: 负载均衡实例的规格类型信息<ul><li> clb.c1.small:简约型规格 </li><li>clb.c2.medium:标准型规格 </li><li> clb.c3.small:高阶型1规格 </li><li> clb.c3.medium:高阶型2规格 </li><li> clb.c4.small:超强型1规格 </li><li> clb.c4.medium:超强型2规格 </li><li> clb.c4.large:超强型3规格 </li><li> clb.c4.xlarge:超强型4规格 </li><li>"":非性能容量型实例</li></ul>
|
11537
|
+
|
11538
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
11539
|
+
:type SlaType: str
|
11540
|
+
:param _Exclusive: 0:表示非独占型实例,1:表示独占型态实例。
|
11541
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
11542
|
+
:type Exclusive: int
|
11521
11543
|
"""
|
11522
11544
|
self._LoadBalancerId = None
|
11523
11545
|
self._LoadBalancerName = None
|
@@ -11558,6 +11580,9 @@ Public:公网属性, Private:内网属性。
|
|
11558
11580
|
self._SniSwitch = None
|
11559
11581
|
self._LoadBalancerDomain = None
|
11560
11582
|
self._Egress = None
|
11583
|
+
self._AttributeFlags = None
|
11584
|
+
self._SlaType = None
|
11585
|
+
self._Exclusive = None
|
11561
11586
|
|
11562
11587
|
@property
|
11563
11588
|
def LoadBalancerId(self):
|
@@ -11871,6 +11896,30 @@ Public:公网属性, Private:内网属性。
|
|
11871
11896
|
def Egress(self, Egress):
|
11872
11897
|
self._Egress = Egress
|
11873
11898
|
|
11899
|
+
@property
|
11900
|
+
def AttributeFlags(self):
|
11901
|
+
return self._AttributeFlags
|
11902
|
+
|
11903
|
+
@AttributeFlags.setter
|
11904
|
+
def AttributeFlags(self, AttributeFlags):
|
11905
|
+
self._AttributeFlags = AttributeFlags
|
11906
|
+
|
11907
|
+
@property
|
11908
|
+
def SlaType(self):
|
11909
|
+
return self._SlaType
|
11910
|
+
|
11911
|
+
@SlaType.setter
|
11912
|
+
def SlaType(self, SlaType):
|
11913
|
+
self._SlaType = SlaType
|
11914
|
+
|
11915
|
+
@property
|
11916
|
+
def Exclusive(self):
|
11917
|
+
return self._Exclusive
|
11918
|
+
|
11919
|
+
@Exclusive.setter
|
11920
|
+
def Exclusive(self, Exclusive):
|
11921
|
+
self._Exclusive = Exclusive
|
11922
|
+
|
11874
11923
|
|
11875
11924
|
def _deserialize(self, params):
|
11876
11925
|
self._LoadBalancerId = params.get("LoadBalancerId")
|
@@ -11923,6 +11972,9 @@ Public:公网属性, Private:内网属性。
|
|
11923
11972
|
self._SniSwitch = params.get("SniSwitch")
|
11924
11973
|
self._LoadBalancerDomain = params.get("LoadBalancerDomain")
|
11925
11974
|
self._Egress = params.get("Egress")
|
11975
|
+
self._AttributeFlags = params.get("AttributeFlags")
|
11976
|
+
self._SlaType = params.get("SlaType")
|
11977
|
+
self._Exclusive = params.get("Exclusive")
|
11926
11978
|
memeber_set = set(params.keys())
|
11927
11979
|
for name, value in vars(self).items():
|
11928
11980
|
property_name = name[1:]
|
@@ -1753,6 +1753,29 @@ class CynosdbClient(AbstractClient):
|
|
1753
1753
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1754
1754
|
|
1755
1755
|
|
1756
|
+
def DescribeServerlessStrategy(self, request):
|
1757
|
+
"""查询serverless策略
|
1758
|
+
|
1759
|
+
:param request: Request instance for DescribeServerlessStrategy.
|
1760
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.DescribeServerlessStrategyRequest`
|
1761
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.DescribeServerlessStrategyResponse`
|
1762
|
+
|
1763
|
+
"""
|
1764
|
+
try:
|
1765
|
+
params = request._serialize()
|
1766
|
+
headers = request.headers
|
1767
|
+
body = self.call("DescribeServerlessStrategy", params, headers=headers)
|
1768
|
+
response = json.loads(body)
|
1769
|
+
model = models.DescribeServerlessStrategyResponse()
|
1770
|
+
model._deserialize(response["Response"])
|
1771
|
+
return model
|
1772
|
+
except Exception as e:
|
1773
|
+
if isinstance(e, TencentCloudSDKException):
|
1774
|
+
raise
|
1775
|
+
else:
|
1776
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1777
|
+
|
1778
|
+
|
1756
1779
|
def DescribeSupportProxyVersion(self, request):
|
1757
1780
|
"""查询支持的数据库代理版本
|
1758
1781
|
|
@@ -2650,6 +2673,29 @@ class CynosdbClient(AbstractClient):
|
|
2650
2673
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2651
2674
|
|
2652
2675
|
|
2676
|
+
def ModifyServerlessStrategy(self, request):
|
2677
|
+
"""修改serverless策略
|
2678
|
+
|
2679
|
+
:param request: Request instance for ModifyServerlessStrategy.
|
2680
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.ModifyServerlessStrategyRequest`
|
2681
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.ModifyServerlessStrategyResponse`
|
2682
|
+
|
2683
|
+
"""
|
2684
|
+
try:
|
2685
|
+
params = request._serialize()
|
2686
|
+
headers = request.headers
|
2687
|
+
body = self.call("ModifyServerlessStrategy", params, headers=headers)
|
2688
|
+
response = json.loads(body)
|
2689
|
+
model = models.ModifyServerlessStrategyResponse()
|
2690
|
+
model._deserialize(response["Response"])
|
2691
|
+
return model
|
2692
|
+
except Exception as e:
|
2693
|
+
if isinstance(e, TencentCloudSDKException):
|
2694
|
+
raise
|
2695
|
+
else:
|
2696
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2697
|
+
|
2698
|
+
|
2653
2699
|
def ModifyVipVport(self, request):
|
2654
2700
|
"""修改实例组ip,端口
|
2655
2701
|
|
@@ -83,6 +83,9 @@ FAILEDOPERATION_QUERYSPECBYSPECCODEERROR = 'FailedOperation.QuerySpecBySpecCodeE
|
|
83
83
|
# 资源包退款失败
|
84
84
|
FAILEDOPERATION_REFUNDSOURCEPACKAGEERROR = 'FailedOperation.RefundSourcePackageError'
|
85
85
|
|
86
|
+
# 修改策略失败。
|
87
|
+
FAILEDOPERATION_SERVERLESSSETSTRATEGYERROR = 'FailedOperation.ServerlessSetStrategyError'
|
88
|
+
|
86
89
|
# 创建并支付订单失败,请稍后重试。如果持续不成功,请联系客服进行处理。
|
87
90
|
FAILEDOPERATION_TRADECREATEORDERERROR = 'FailedOperation.TradeCreateOrderError'
|
88
91
|
|
@@ -16068,6 +16068,138 @@ class DescribeRollbackTimeValidityResponse(AbstractModel):
|
|
16068
16068
|
self._RequestId = params.get("RequestId")
|
16069
16069
|
|
16070
16070
|
|
16071
|
+
class DescribeServerlessStrategyRequest(AbstractModel):
|
16072
|
+
"""DescribeServerlessStrategy请求参数结构体
|
16073
|
+
|
16074
|
+
"""
|
16075
|
+
|
16076
|
+
def __init__(self):
|
16077
|
+
r"""
|
16078
|
+
:param _ClusterId: serverless集群id
|
16079
|
+
:type ClusterId: str
|
16080
|
+
"""
|
16081
|
+
self._ClusterId = None
|
16082
|
+
|
16083
|
+
@property
|
16084
|
+
def ClusterId(self):
|
16085
|
+
return self._ClusterId
|
16086
|
+
|
16087
|
+
@ClusterId.setter
|
16088
|
+
def ClusterId(self, ClusterId):
|
16089
|
+
self._ClusterId = ClusterId
|
16090
|
+
|
16091
|
+
|
16092
|
+
def _deserialize(self, params):
|
16093
|
+
self._ClusterId = params.get("ClusterId")
|
16094
|
+
memeber_set = set(params.keys())
|
16095
|
+
for name, value in vars(self).items():
|
16096
|
+
property_name = name[1:]
|
16097
|
+
if property_name in memeber_set:
|
16098
|
+
memeber_set.remove(property_name)
|
16099
|
+
if len(memeber_set) > 0:
|
16100
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
16101
|
+
|
16102
|
+
|
16103
|
+
|
16104
|
+
class DescribeServerlessStrategyResponse(AbstractModel):
|
16105
|
+
"""DescribeServerlessStrategy返回参数结构体
|
16106
|
+
|
16107
|
+
"""
|
16108
|
+
|
16109
|
+
def __init__(self):
|
16110
|
+
r"""
|
16111
|
+
:param _AutoPauseDelay: cpu负载为 0 时持续多久(秒)发起自动暂停
|
16112
|
+
:type AutoPauseDelay: int
|
16113
|
+
:param _AutoScaleUpDelay: cpu负载超过当前规格核数时,持续多久(秒)发起自动扩容
|
16114
|
+
:type AutoScaleUpDelay: int
|
16115
|
+
:param _AutoScaleDownDelay: cpu 负载低于低一级规格核数时,持续多久(秒)发起自动缩容
|
16116
|
+
:type AutoScaleDownDelay: int
|
16117
|
+
:param _AutoPause: 是否自动暂停,可能值:
|
16118
|
+
yes
|
16119
|
+
no
|
16120
|
+
:type AutoPause: str
|
16121
|
+
:param _AutoScaleUp: 集群是否允许向上扩容,可选范围<li>yes</li><li>no</li>
|
16122
|
+
:type AutoScaleUp: str
|
16123
|
+
:param _AutoScaleDown: 集群是否允许向下缩容,可选范围<li>yes</li><li>no</li>
|
16124
|
+
:type AutoScaleDown: str
|
16125
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
16126
|
+
:type RequestId: str
|
16127
|
+
"""
|
16128
|
+
self._AutoPauseDelay = None
|
16129
|
+
self._AutoScaleUpDelay = None
|
16130
|
+
self._AutoScaleDownDelay = None
|
16131
|
+
self._AutoPause = None
|
16132
|
+
self._AutoScaleUp = None
|
16133
|
+
self._AutoScaleDown = None
|
16134
|
+
self._RequestId = None
|
16135
|
+
|
16136
|
+
@property
|
16137
|
+
def AutoPauseDelay(self):
|
16138
|
+
return self._AutoPauseDelay
|
16139
|
+
|
16140
|
+
@AutoPauseDelay.setter
|
16141
|
+
def AutoPauseDelay(self, AutoPauseDelay):
|
16142
|
+
self._AutoPauseDelay = AutoPauseDelay
|
16143
|
+
|
16144
|
+
@property
|
16145
|
+
def AutoScaleUpDelay(self):
|
16146
|
+
return self._AutoScaleUpDelay
|
16147
|
+
|
16148
|
+
@AutoScaleUpDelay.setter
|
16149
|
+
def AutoScaleUpDelay(self, AutoScaleUpDelay):
|
16150
|
+
self._AutoScaleUpDelay = AutoScaleUpDelay
|
16151
|
+
|
16152
|
+
@property
|
16153
|
+
def AutoScaleDownDelay(self):
|
16154
|
+
return self._AutoScaleDownDelay
|
16155
|
+
|
16156
|
+
@AutoScaleDownDelay.setter
|
16157
|
+
def AutoScaleDownDelay(self, AutoScaleDownDelay):
|
16158
|
+
self._AutoScaleDownDelay = AutoScaleDownDelay
|
16159
|
+
|
16160
|
+
@property
|
16161
|
+
def AutoPause(self):
|
16162
|
+
return self._AutoPause
|
16163
|
+
|
16164
|
+
@AutoPause.setter
|
16165
|
+
def AutoPause(self, AutoPause):
|
16166
|
+
self._AutoPause = AutoPause
|
16167
|
+
|
16168
|
+
@property
|
16169
|
+
def AutoScaleUp(self):
|
16170
|
+
return self._AutoScaleUp
|
16171
|
+
|
16172
|
+
@AutoScaleUp.setter
|
16173
|
+
def AutoScaleUp(self, AutoScaleUp):
|
16174
|
+
self._AutoScaleUp = AutoScaleUp
|
16175
|
+
|
16176
|
+
@property
|
16177
|
+
def AutoScaleDown(self):
|
16178
|
+
return self._AutoScaleDown
|
16179
|
+
|
16180
|
+
@AutoScaleDown.setter
|
16181
|
+
def AutoScaleDown(self, AutoScaleDown):
|
16182
|
+
self._AutoScaleDown = AutoScaleDown
|
16183
|
+
|
16184
|
+
@property
|
16185
|
+
def RequestId(self):
|
16186
|
+
return self._RequestId
|
16187
|
+
|
16188
|
+
@RequestId.setter
|
16189
|
+
def RequestId(self, RequestId):
|
16190
|
+
self._RequestId = RequestId
|
16191
|
+
|
16192
|
+
|
16193
|
+
def _deserialize(self, params):
|
16194
|
+
self._AutoPauseDelay = params.get("AutoPauseDelay")
|
16195
|
+
self._AutoScaleUpDelay = params.get("AutoScaleUpDelay")
|
16196
|
+
self._AutoScaleDownDelay = params.get("AutoScaleDownDelay")
|
16197
|
+
self._AutoPause = params.get("AutoPause")
|
16198
|
+
self._AutoScaleUp = params.get("AutoScaleUp")
|
16199
|
+
self._AutoScaleDown = params.get("AutoScaleDown")
|
16200
|
+
self._RequestId = params.get("RequestId")
|
16201
|
+
|
16202
|
+
|
16071
16203
|
class DescribeSupportProxyVersionRequest(AbstractModel):
|
16072
16204
|
"""DescribeSupportProxyVersion请求参数结构体
|
16073
16205
|
|
@@ -22334,6 +22466,222 @@ class ModifyResourcePackagesDeductionPriorityResponse(AbstractModel):
|
|
22334
22466
|
self._RequestId = params.get("RequestId")
|
22335
22467
|
|
22336
22468
|
|
22469
|
+
class ModifyServerlessStrategyRequest(AbstractModel):
|
22470
|
+
"""ModifyServerlessStrategy请求参数结构体
|
22471
|
+
|
22472
|
+
"""
|
22473
|
+
|
22474
|
+
def __init__(self):
|
22475
|
+
r"""
|
22476
|
+
:param _ClusterId: serverless集群id
|
22477
|
+
:type ClusterId: str
|
22478
|
+
:param _AutoPause: 集群是否自动暂停,可选范围
|
22479
|
+
<li>yes</li>
|
22480
|
+
<li>no</li>
|
22481
|
+
:type AutoPause: str
|
22482
|
+
:param _AutoPauseDelay: 集群自动暂停的延迟,单位秒,可选范围[600,691200],默认600
|
22483
|
+
:type AutoPauseDelay: int
|
22484
|
+
:param _AutoScaleUpDelay: 该参数暂时无效
|
22485
|
+
:type AutoScaleUpDelay: int
|
22486
|
+
:param _AutoScaleDownDelay: 该参数暂时无效
|
22487
|
+
:type AutoScaleDownDelay: int
|
22488
|
+
:param _MinCpu: cpu最小值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
22489
|
+
:type MinCpu: float
|
22490
|
+
:param _MaxCpu: cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
22491
|
+
:type MaxCpu: float
|
22492
|
+
:param _MinRoCpu: 只读实例cpu最小值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
22493
|
+
:type MinRoCpu: float
|
22494
|
+
:param _MaxRoCpu: 只读cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
22495
|
+
:type MaxRoCpu: float
|
22496
|
+
:param _MinRoCount: 只读节点最小个数
|
22497
|
+
:type MinRoCount: int
|
22498
|
+
:param _MaxRoCount: 只读节点最大个数
|
22499
|
+
:type MaxRoCount: int
|
22500
|
+
:param _AutoScaleUp: 集群是否允许扩容,可选范围<li>yes</li><li>no</li>
|
22501
|
+
:type AutoScaleUp: str
|
22502
|
+
:param _AutoScaleDown: 集群是否允许缩容,可选范围<li>yes</li><li>no</li>
|
22503
|
+
:type AutoScaleDown: str
|
22504
|
+
"""
|
22505
|
+
self._ClusterId = None
|
22506
|
+
self._AutoPause = None
|
22507
|
+
self._AutoPauseDelay = None
|
22508
|
+
self._AutoScaleUpDelay = None
|
22509
|
+
self._AutoScaleDownDelay = None
|
22510
|
+
self._MinCpu = None
|
22511
|
+
self._MaxCpu = None
|
22512
|
+
self._MinRoCpu = None
|
22513
|
+
self._MaxRoCpu = None
|
22514
|
+
self._MinRoCount = None
|
22515
|
+
self._MaxRoCount = None
|
22516
|
+
self._AutoScaleUp = None
|
22517
|
+
self._AutoScaleDown = None
|
22518
|
+
|
22519
|
+
@property
|
22520
|
+
def ClusterId(self):
|
22521
|
+
return self._ClusterId
|
22522
|
+
|
22523
|
+
@ClusterId.setter
|
22524
|
+
def ClusterId(self, ClusterId):
|
22525
|
+
self._ClusterId = ClusterId
|
22526
|
+
|
22527
|
+
@property
|
22528
|
+
def AutoPause(self):
|
22529
|
+
return self._AutoPause
|
22530
|
+
|
22531
|
+
@AutoPause.setter
|
22532
|
+
def AutoPause(self, AutoPause):
|
22533
|
+
self._AutoPause = AutoPause
|
22534
|
+
|
22535
|
+
@property
|
22536
|
+
def AutoPauseDelay(self):
|
22537
|
+
return self._AutoPauseDelay
|
22538
|
+
|
22539
|
+
@AutoPauseDelay.setter
|
22540
|
+
def AutoPauseDelay(self, AutoPauseDelay):
|
22541
|
+
self._AutoPauseDelay = AutoPauseDelay
|
22542
|
+
|
22543
|
+
@property
|
22544
|
+
def AutoScaleUpDelay(self):
|
22545
|
+
return self._AutoScaleUpDelay
|
22546
|
+
|
22547
|
+
@AutoScaleUpDelay.setter
|
22548
|
+
def AutoScaleUpDelay(self, AutoScaleUpDelay):
|
22549
|
+
self._AutoScaleUpDelay = AutoScaleUpDelay
|
22550
|
+
|
22551
|
+
@property
|
22552
|
+
def AutoScaleDownDelay(self):
|
22553
|
+
return self._AutoScaleDownDelay
|
22554
|
+
|
22555
|
+
@AutoScaleDownDelay.setter
|
22556
|
+
def AutoScaleDownDelay(self, AutoScaleDownDelay):
|
22557
|
+
self._AutoScaleDownDelay = AutoScaleDownDelay
|
22558
|
+
|
22559
|
+
@property
|
22560
|
+
def MinCpu(self):
|
22561
|
+
return self._MinCpu
|
22562
|
+
|
22563
|
+
@MinCpu.setter
|
22564
|
+
def MinCpu(self, MinCpu):
|
22565
|
+
self._MinCpu = MinCpu
|
22566
|
+
|
22567
|
+
@property
|
22568
|
+
def MaxCpu(self):
|
22569
|
+
return self._MaxCpu
|
22570
|
+
|
22571
|
+
@MaxCpu.setter
|
22572
|
+
def MaxCpu(self, MaxCpu):
|
22573
|
+
self._MaxCpu = MaxCpu
|
22574
|
+
|
22575
|
+
@property
|
22576
|
+
def MinRoCpu(self):
|
22577
|
+
return self._MinRoCpu
|
22578
|
+
|
22579
|
+
@MinRoCpu.setter
|
22580
|
+
def MinRoCpu(self, MinRoCpu):
|
22581
|
+
self._MinRoCpu = MinRoCpu
|
22582
|
+
|
22583
|
+
@property
|
22584
|
+
def MaxRoCpu(self):
|
22585
|
+
return self._MaxRoCpu
|
22586
|
+
|
22587
|
+
@MaxRoCpu.setter
|
22588
|
+
def MaxRoCpu(self, MaxRoCpu):
|
22589
|
+
self._MaxRoCpu = MaxRoCpu
|
22590
|
+
|
22591
|
+
@property
|
22592
|
+
def MinRoCount(self):
|
22593
|
+
return self._MinRoCount
|
22594
|
+
|
22595
|
+
@MinRoCount.setter
|
22596
|
+
def MinRoCount(self, MinRoCount):
|
22597
|
+
self._MinRoCount = MinRoCount
|
22598
|
+
|
22599
|
+
@property
|
22600
|
+
def MaxRoCount(self):
|
22601
|
+
return self._MaxRoCount
|
22602
|
+
|
22603
|
+
@MaxRoCount.setter
|
22604
|
+
def MaxRoCount(self, MaxRoCount):
|
22605
|
+
self._MaxRoCount = MaxRoCount
|
22606
|
+
|
22607
|
+
@property
|
22608
|
+
def AutoScaleUp(self):
|
22609
|
+
return self._AutoScaleUp
|
22610
|
+
|
22611
|
+
@AutoScaleUp.setter
|
22612
|
+
def AutoScaleUp(self, AutoScaleUp):
|
22613
|
+
self._AutoScaleUp = AutoScaleUp
|
22614
|
+
|
22615
|
+
@property
|
22616
|
+
def AutoScaleDown(self):
|
22617
|
+
return self._AutoScaleDown
|
22618
|
+
|
22619
|
+
@AutoScaleDown.setter
|
22620
|
+
def AutoScaleDown(self, AutoScaleDown):
|
22621
|
+
self._AutoScaleDown = AutoScaleDown
|
22622
|
+
|
22623
|
+
|
22624
|
+
def _deserialize(self, params):
|
22625
|
+
self._ClusterId = params.get("ClusterId")
|
22626
|
+
self._AutoPause = params.get("AutoPause")
|
22627
|
+
self._AutoPauseDelay = params.get("AutoPauseDelay")
|
22628
|
+
self._AutoScaleUpDelay = params.get("AutoScaleUpDelay")
|
22629
|
+
self._AutoScaleDownDelay = params.get("AutoScaleDownDelay")
|
22630
|
+
self._MinCpu = params.get("MinCpu")
|
22631
|
+
self._MaxCpu = params.get("MaxCpu")
|
22632
|
+
self._MinRoCpu = params.get("MinRoCpu")
|
22633
|
+
self._MaxRoCpu = params.get("MaxRoCpu")
|
22634
|
+
self._MinRoCount = params.get("MinRoCount")
|
22635
|
+
self._MaxRoCount = params.get("MaxRoCount")
|
22636
|
+
self._AutoScaleUp = params.get("AutoScaleUp")
|
22637
|
+
self._AutoScaleDown = params.get("AutoScaleDown")
|
22638
|
+
memeber_set = set(params.keys())
|
22639
|
+
for name, value in vars(self).items():
|
22640
|
+
property_name = name[1:]
|
22641
|
+
if property_name in memeber_set:
|
22642
|
+
memeber_set.remove(property_name)
|
22643
|
+
if len(memeber_set) > 0:
|
22644
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
22645
|
+
|
22646
|
+
|
22647
|
+
|
22648
|
+
class ModifyServerlessStrategyResponse(AbstractModel):
|
22649
|
+
"""ModifyServerlessStrategy返回参数结构体
|
22650
|
+
|
22651
|
+
"""
|
22652
|
+
|
22653
|
+
def __init__(self):
|
22654
|
+
r"""
|
22655
|
+
:param _FlowId: 异步流程id
|
22656
|
+
:type FlowId: int
|
22657
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
22658
|
+
:type RequestId: str
|
22659
|
+
"""
|
22660
|
+
self._FlowId = None
|
22661
|
+
self._RequestId = None
|
22662
|
+
|
22663
|
+
@property
|
22664
|
+
def FlowId(self):
|
22665
|
+
return self._FlowId
|
22666
|
+
|
22667
|
+
@FlowId.setter
|
22668
|
+
def FlowId(self, FlowId):
|
22669
|
+
self._FlowId = FlowId
|
22670
|
+
|
22671
|
+
@property
|
22672
|
+
def RequestId(self):
|
22673
|
+
return self._RequestId
|
22674
|
+
|
22675
|
+
@RequestId.setter
|
22676
|
+
def RequestId(self, RequestId):
|
22677
|
+
self._RequestId = RequestId
|
22678
|
+
|
22679
|
+
|
22680
|
+
def _deserialize(self, params):
|
22681
|
+
self._FlowId = params.get("FlowId")
|
22682
|
+
self._RequestId = params.get("RequestId")
|
22683
|
+
|
22684
|
+
|
22337
22685
|
class ModifyVipVportRequest(AbstractModel):
|
22338
22686
|
"""ModifyVipVport请求参数结构体
|
22339
22687
|
|