tencentcloud-sdk-python 3.0.1250__py2.py3-none-any.whl → 3.0.1252__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/batch/v20170312/models.py +8 -1
- tencentcloud/bma/v20221115/models.py +24 -0
- tencentcloud/cam/v20190116/models.py +16 -16
- tencentcloud/ccc/v20200210/models.py +117 -0
- tencentcloud/cdwdoris/v20211228/models.py +45 -0
- tencentcloud/cfg/v20210820/models.py +26 -0
- tencentcloud/cls/v20201016/cls_client.py +94 -1
- tencentcloud/cls/v20201016/models.py +769 -3
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +1 -1
- tencentcloud/cynosdb/v20190107/models.py +25 -0
- tencentcloud/dasb/v20191018/models.py +21 -9
- tencentcloud/dc/v20180410/dc_client.py +23 -0
- tencentcloud/dc/v20180410/models.py +426 -0
- tencentcloud/dnspod/v20210323/models.py +1 -3
- tencentcloud/emr/v20190103/emr_client.py +92 -0
- tencentcloud/emr/v20190103/errorcodes.py +1 -1
- tencentcloud/emr/v20190103/models.py +1389 -179
- tencentcloud/es/v20180416/models.py +204 -1
- tencentcloud/ess/v20201111/models.py +6 -6
- tencentcloud/essbasic/v20210526/models.py +18 -5
- tencentcloud/facefusion/v20220927/errorcodes.py +15 -0
- tencentcloud/faceid/v20180301/models.py +27 -0
- tencentcloud/gwlb/__init__.py +0 -0
- tencentcloud/gwlb/v20240906/__init__.py +0 -0
- tencentcloud/gwlb/v20240906/errorcodes.py +48 -0
- tencentcloud/gwlb/v20240906/gwlb_client.py +448 -0
- tencentcloud/gwlb/v20240906/models.py +2835 -0
- tencentcloud/hunyuan/v20230901/models.py +139 -13
- tencentcloud/iss/v20230517/errorcodes.py +6 -0
- tencentcloud/iss/v20230517/iss_client.py +1 -1
- tencentcloud/iss/v20230517/models.py +72 -12
- tencentcloud/ocr/v20181119/errorcodes.py +1 -1
- tencentcloud/privatedns/v20201028/errorcodes.py +18 -0
- tencentcloud/privatedns/v20201028/models.py +142 -0
- tencentcloud/privatedns/v20201028/privatedns_client.py +23 -0
- tencentcloud/redis/v20180412/redis_client.py +1 -1
- tencentcloud/sms/v20190711/errorcodes.py +3 -0
- tencentcloud/sms/v20210111/errorcodes.py +2 -2
- tencentcloud/sms/v20210111/models.py +1 -1
- tencentcloud/sqlserver/v20180328/models.py +24 -0
- tencentcloud/sts/v20180813/models.py +2 -2
- tencentcloud/tcss/v20201101/models.py +147 -2
- tencentcloud/teo/v20220901/errorcodes.py +9 -9
- tencentcloud/teo/v20220901/models.py +83 -77
- tencentcloud/teo/v20220901/teo_client.py +4 -4
- tencentcloud/tke/v20180525/errorcodes.py +3 -0
- tencentcloud/tke/v20180525/models.py +248 -2
- tencentcloud/tke/v20180525/tke_client.py +46 -0
- tencentcloud/vclm/v20240523/models.py +12 -0
- tencentcloud/vpc/v20170312/models.py +24 -20
- tencentcloud/vpc/v20170312/vpc_client.py +2 -2
- tencentcloud/vtc/v20240223/models.py +12 -0
- {tencentcloud_sdk_python-3.0.1250.dist-info → tencentcloud_sdk_python-3.0.1252.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1250.dist-info → tencentcloud_sdk_python-3.0.1252.dist-info}/RECORD +58 -53
- {tencentcloud_sdk_python-3.0.1250.dist-info → tencentcloud_sdk_python-3.0.1252.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1250.dist-info → tencentcloud_sdk_python-3.0.1252.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1250.dist-info → tencentcloud_sdk_python-3.0.1252.dist-info}/top_level.txt +0 -0
@@ -11370,6 +11370,100 @@ class DescribeBackupStorageLocationsResponse(AbstractModel):
|
|
11370
11370
|
self._RequestId = params.get("RequestId")
|
11371
11371
|
|
11372
11372
|
|
11373
|
+
class DescribeBatchModifyTagsStatusRequest(AbstractModel):
|
11374
|
+
"""DescribeBatchModifyTagsStatus请求参数结构体
|
11375
|
+
|
11376
|
+
"""
|
11377
|
+
|
11378
|
+
|
11379
|
+
class DescribeBatchModifyTagsStatusResponse(AbstractModel):
|
11380
|
+
"""DescribeBatchModifyTagsStatus返回参数结构体
|
11381
|
+
|
11382
|
+
"""
|
11383
|
+
|
11384
|
+
def __init__(self):
|
11385
|
+
r"""
|
11386
|
+
:param _FailedResources: 失败资源列表
|
11387
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
11388
|
+
:type FailedResources: list of FailedResource
|
11389
|
+
:param _Status: 任务状态:
|
11390
|
+
- running 运行中
|
11391
|
+
- failed 失败
|
11392
|
+
- done 成功
|
11393
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
11394
|
+
:type Status: str
|
11395
|
+
:param _SyncSubresource: 是否同步集群内子资源标签
|
11396
|
+
:type SyncSubresource: bool
|
11397
|
+
:param _Tags: 集群标签
|
11398
|
+
:type Tags: list of Tag
|
11399
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11400
|
+
:type RequestId: str
|
11401
|
+
"""
|
11402
|
+
self._FailedResources = None
|
11403
|
+
self._Status = None
|
11404
|
+
self._SyncSubresource = None
|
11405
|
+
self._Tags = None
|
11406
|
+
self._RequestId = None
|
11407
|
+
|
11408
|
+
@property
|
11409
|
+
def FailedResources(self):
|
11410
|
+
return self._FailedResources
|
11411
|
+
|
11412
|
+
@FailedResources.setter
|
11413
|
+
def FailedResources(self, FailedResources):
|
11414
|
+
self._FailedResources = FailedResources
|
11415
|
+
|
11416
|
+
@property
|
11417
|
+
def Status(self):
|
11418
|
+
return self._Status
|
11419
|
+
|
11420
|
+
@Status.setter
|
11421
|
+
def Status(self, Status):
|
11422
|
+
self._Status = Status
|
11423
|
+
|
11424
|
+
@property
|
11425
|
+
def SyncSubresource(self):
|
11426
|
+
return self._SyncSubresource
|
11427
|
+
|
11428
|
+
@SyncSubresource.setter
|
11429
|
+
def SyncSubresource(self, SyncSubresource):
|
11430
|
+
self._SyncSubresource = SyncSubresource
|
11431
|
+
|
11432
|
+
@property
|
11433
|
+
def Tags(self):
|
11434
|
+
return self._Tags
|
11435
|
+
|
11436
|
+
@Tags.setter
|
11437
|
+
def Tags(self, Tags):
|
11438
|
+
self._Tags = Tags
|
11439
|
+
|
11440
|
+
@property
|
11441
|
+
def RequestId(self):
|
11442
|
+
return self._RequestId
|
11443
|
+
|
11444
|
+
@RequestId.setter
|
11445
|
+
def RequestId(self, RequestId):
|
11446
|
+
self._RequestId = RequestId
|
11447
|
+
|
11448
|
+
|
11449
|
+
def _deserialize(self, params):
|
11450
|
+
if params.get("FailedResources") is not None:
|
11451
|
+
self._FailedResources = []
|
11452
|
+
for item in params.get("FailedResources"):
|
11453
|
+
obj = FailedResource()
|
11454
|
+
obj._deserialize(item)
|
11455
|
+
self._FailedResources.append(obj)
|
11456
|
+
self._Status = params.get("Status")
|
11457
|
+
self._SyncSubresource = params.get("SyncSubresource")
|
11458
|
+
if params.get("Tags") is not None:
|
11459
|
+
self._Tags = []
|
11460
|
+
for item in params.get("Tags"):
|
11461
|
+
obj = Tag()
|
11462
|
+
obj._deserialize(item)
|
11463
|
+
self._Tags.append(obj)
|
11464
|
+
self._RequestId = params.get("RequestId")
|
11465
|
+
|
11466
|
+
|
11373
11467
|
class DescribeClusterAsGroupOptionRequest(AbstractModel):
|
11374
11468
|
"""DescribeClusterAsGroupOption请求参数结构体
|
11375
11469
|
|
@@ -24520,6 +24614,53 @@ class ExtensionAddon(AbstractModel):
|
|
24520
24614
|
|
24521
24615
|
|
24522
24616
|
|
24617
|
+
class FailedResource(AbstractModel):
|
24618
|
+
"""修改标签失败的资源
|
24619
|
+
|
24620
|
+
"""
|
24621
|
+
|
24622
|
+
def __init__(self):
|
24623
|
+
r"""
|
24624
|
+
:param _Resource: 资源六段式
|
24625
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
24626
|
+
:type Resource: str
|
24627
|
+
:param _Error: 执行失败的原因
|
24628
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
24629
|
+
:type Error: str
|
24630
|
+
"""
|
24631
|
+
self._Resource = None
|
24632
|
+
self._Error = None
|
24633
|
+
|
24634
|
+
@property
|
24635
|
+
def Resource(self):
|
24636
|
+
return self._Resource
|
24637
|
+
|
24638
|
+
@Resource.setter
|
24639
|
+
def Resource(self, Resource):
|
24640
|
+
self._Resource = Resource
|
24641
|
+
|
24642
|
+
@property
|
24643
|
+
def Error(self):
|
24644
|
+
return self._Error
|
24645
|
+
|
24646
|
+
@Error.setter
|
24647
|
+
def Error(self, Error):
|
24648
|
+
self._Error = Error
|
24649
|
+
|
24650
|
+
|
24651
|
+
def _deserialize(self, params):
|
24652
|
+
self._Resource = params.get("Resource")
|
24653
|
+
self._Error = params.get("Error")
|
24654
|
+
memeber_set = set(params.keys())
|
24655
|
+
for name, value in vars(self).items():
|
24656
|
+
property_name = name[1:]
|
24657
|
+
if property_name in memeber_set:
|
24658
|
+
memeber_set.remove(property_name)
|
24659
|
+
if len(memeber_set) > 0:
|
24660
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
24661
|
+
|
24662
|
+
|
24663
|
+
|
24523
24664
|
class Filter(AbstractModel):
|
24524
24665
|
"""过滤器
|
24525
24666
|
|
@@ -29067,6 +29208,111 @@ class ModifyClusterRuntimeConfigResponse(AbstractModel):
|
|
29067
29208
|
self._RequestId = params.get("RequestId")
|
29068
29209
|
|
29069
29210
|
|
29211
|
+
class ModifyClusterTagsRequest(AbstractModel):
|
29212
|
+
"""ModifyClusterTags请求参数结构体
|
29213
|
+
|
29214
|
+
"""
|
29215
|
+
|
29216
|
+
def __init__(self):
|
29217
|
+
r"""
|
29218
|
+
:param _ClusterId: 集群ID
|
29219
|
+
:type ClusterId: str
|
29220
|
+
:param _Tags: 集群标签
|
29221
|
+
:type Tags: list of Tag
|
29222
|
+
:param _SyncSubresource: 是否同步集群内子资源标签
|
29223
|
+
:type SyncSubresource: bool
|
29224
|
+
"""
|
29225
|
+
self._ClusterId = None
|
29226
|
+
self._Tags = None
|
29227
|
+
self._SyncSubresource = None
|
29228
|
+
|
29229
|
+
@property
|
29230
|
+
def ClusterId(self):
|
29231
|
+
return self._ClusterId
|
29232
|
+
|
29233
|
+
@ClusterId.setter
|
29234
|
+
def ClusterId(self, ClusterId):
|
29235
|
+
self._ClusterId = ClusterId
|
29236
|
+
|
29237
|
+
@property
|
29238
|
+
def Tags(self):
|
29239
|
+
return self._Tags
|
29240
|
+
|
29241
|
+
@Tags.setter
|
29242
|
+
def Tags(self, Tags):
|
29243
|
+
self._Tags = Tags
|
29244
|
+
|
29245
|
+
@property
|
29246
|
+
def SyncSubresource(self):
|
29247
|
+
return self._SyncSubresource
|
29248
|
+
|
29249
|
+
@SyncSubresource.setter
|
29250
|
+
def SyncSubresource(self, SyncSubresource):
|
29251
|
+
self._SyncSubresource = SyncSubresource
|
29252
|
+
|
29253
|
+
|
29254
|
+
def _deserialize(self, params):
|
29255
|
+
self._ClusterId = params.get("ClusterId")
|
29256
|
+
if params.get("Tags") is not None:
|
29257
|
+
self._Tags = []
|
29258
|
+
for item in params.get("Tags"):
|
29259
|
+
obj = Tag()
|
29260
|
+
obj._deserialize(item)
|
29261
|
+
self._Tags.append(obj)
|
29262
|
+
self._SyncSubresource = params.get("SyncSubresource")
|
29263
|
+
memeber_set = set(params.keys())
|
29264
|
+
for name, value in vars(self).items():
|
29265
|
+
property_name = name[1:]
|
29266
|
+
if property_name in memeber_set:
|
29267
|
+
memeber_set.remove(property_name)
|
29268
|
+
if len(memeber_set) > 0:
|
29269
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
29270
|
+
|
29271
|
+
|
29272
|
+
|
29273
|
+
class ModifyClusterTagsResponse(AbstractModel):
|
29274
|
+
"""ModifyClusterTags返回参数结构体
|
29275
|
+
|
29276
|
+
"""
|
29277
|
+
|
29278
|
+
def __init__(self):
|
29279
|
+
r"""
|
29280
|
+
:param _Tags: 集群标签
|
29281
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
29282
|
+
:type Tags: list of Tag
|
29283
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
29284
|
+
:type RequestId: str
|
29285
|
+
"""
|
29286
|
+
self._Tags = None
|
29287
|
+
self._RequestId = None
|
29288
|
+
|
29289
|
+
@property
|
29290
|
+
def Tags(self):
|
29291
|
+
return self._Tags
|
29292
|
+
|
29293
|
+
@Tags.setter
|
29294
|
+
def Tags(self, Tags):
|
29295
|
+
self._Tags = Tags
|
29296
|
+
|
29297
|
+
@property
|
29298
|
+
def RequestId(self):
|
29299
|
+
return self._RequestId
|
29300
|
+
|
29301
|
+
@RequestId.setter
|
29302
|
+
def RequestId(self, RequestId):
|
29303
|
+
self._RequestId = RequestId
|
29304
|
+
|
29305
|
+
|
29306
|
+
def _deserialize(self, params):
|
29307
|
+
if params.get("Tags") is not None:
|
29308
|
+
self._Tags = []
|
29309
|
+
for item in params.get("Tags"):
|
29310
|
+
obj = Tag()
|
29311
|
+
obj._deserialize(item)
|
29312
|
+
self._Tags.append(obj)
|
29313
|
+
self._RequestId = params.get("RequestId")
|
29314
|
+
|
29315
|
+
|
29070
29316
|
class ModifyClusterVirtualNodePoolRequest(AbstractModel):
|
29071
29317
|
"""ModifyClusterVirtualNodePool请求参数结构体
|
29072
29318
|
|
@@ -31012,7 +31258,7 @@ class OpenPolicyInfo(AbstractModel):
|
|
31012
31258
|
:param _Name: 策略英文名称
|
31013
31259
|
注意:此字段可能返回 null,表示取不到有效值。
|
31014
31260
|
:type Name: str
|
31015
|
-
:param _Kind:
|
31261
|
+
:param _Kind: 策略模板类型
|
31016
31262
|
注意:此字段可能返回 null,表示取不到有效值。
|
31017
31263
|
:type Kind: str
|
31018
31264
|
:param _EnabledStatus: 策略开关状态:open打开,close关闭
|
@@ -31154,7 +31400,7 @@ class OpenPolicySwitch(AbstractModel):
|
|
31154
31400
|
:type EnforcementAction: str
|
31155
31401
|
:param _Name: 策略英文名称
|
31156
31402
|
:type Name: str
|
31157
|
-
:param _Kind:
|
31403
|
+
:param _Kind: 策略模板类型
|
31158
31404
|
:type Kind: str
|
31159
31405
|
:param _EnabledStatus: 策略开关状态:open打开,close关闭
|
31160
31406
|
:type EnabledStatus: str
|
@@ -1705,6 +1705,29 @@ class TkeClient(AbstractClient):
|
|
1705
1705
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1706
1706
|
|
1707
1707
|
|
1708
|
+
def DescribeBatchModifyTagsStatus(self, request):
|
1709
|
+
"""查询批量修改标签状态
|
1710
|
+
|
1711
|
+
:param request: Request instance for DescribeBatchModifyTagsStatus.
|
1712
|
+
:type request: :class:`tencentcloud.tke.v20180525.models.DescribeBatchModifyTagsStatusRequest`
|
1713
|
+
:rtype: :class:`tencentcloud.tke.v20180525.models.DescribeBatchModifyTagsStatusResponse`
|
1714
|
+
|
1715
|
+
"""
|
1716
|
+
try:
|
1717
|
+
params = request._serialize()
|
1718
|
+
headers = request.headers
|
1719
|
+
body = self.call("DescribeBatchModifyTagsStatus", params, headers=headers)
|
1720
|
+
response = json.loads(body)
|
1721
|
+
model = models.DescribeBatchModifyTagsStatusResponse()
|
1722
|
+
model._deserialize(response["Response"])
|
1723
|
+
return model
|
1724
|
+
except Exception as e:
|
1725
|
+
if isinstance(e, TencentCloudSDKException):
|
1726
|
+
raise
|
1727
|
+
else:
|
1728
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1729
|
+
|
1730
|
+
|
1708
1731
|
def DescribeClusterAsGroupOption(self, request):
|
1709
1732
|
"""集群弹性伸缩配置
|
1710
1733
|
|
@@ -4373,6 +4396,29 @@ class TkeClient(AbstractClient):
|
|
4373
4396
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
4374
4397
|
|
4375
4398
|
|
4399
|
+
def ModifyClusterTags(self, request):
|
4400
|
+
"""修改集群标签
|
4401
|
+
|
4402
|
+
:param request: Request instance for ModifyClusterTags.
|
4403
|
+
:type request: :class:`tencentcloud.tke.v20180525.models.ModifyClusterTagsRequest`
|
4404
|
+
:rtype: :class:`tencentcloud.tke.v20180525.models.ModifyClusterTagsResponse`
|
4405
|
+
|
4406
|
+
"""
|
4407
|
+
try:
|
4408
|
+
params = request._serialize()
|
4409
|
+
headers = request.headers
|
4410
|
+
body = self.call("ModifyClusterTags", params, headers=headers)
|
4411
|
+
response = json.loads(body)
|
4412
|
+
model = models.ModifyClusterTagsResponse()
|
4413
|
+
model._deserialize(response["Response"])
|
4414
|
+
return model
|
4415
|
+
except Exception as e:
|
4416
|
+
if isinstance(e, TencentCloudSDKException):
|
4417
|
+
raise
|
4418
|
+
else:
|
4419
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
4420
|
+
|
4421
|
+
|
4376
4422
|
def ModifyClusterVirtualNodePool(self, request):
|
4377
4423
|
"""修改超级节点池
|
4378
4424
|
|
@@ -1138,6 +1138,8 @@ zh(简体中文)、en(英语)、ar(阿拉伯语)、de(德语)、es(西班牙语)
|
|
1138
1138
|
时长要求:【10~300】秒
|
1139
1139
|
大小要求:不超过 100M。
|
1140
1140
|
:type AudioUrl: str
|
1141
|
+
:param _RemoveVocal: 是否需要去除VideoUrl或AudioUrl中背景音,取值范围:0-不需要,1-需要,默认0 。
|
1142
|
+
:type RemoveVocal: int
|
1141
1143
|
:param _Confirm: 是否需要确认翻译结果0:不需要,1:需要
|
1142
1144
|
:type Confirm: int
|
1143
1145
|
:param _LipSync: 是否开启口型驱动,0:不开启,1:开启。默认开启。
|
@@ -1153,6 +1155,7 @@ zh(简体中文)、en(英语)、ar(阿拉伯语)、de(德语)、es(西班牙语)
|
|
1153
1155
|
self._SrcLang = None
|
1154
1156
|
self._DstLang = None
|
1155
1157
|
self._AudioUrl = None
|
1158
|
+
self._RemoveVocal = None
|
1156
1159
|
self._Confirm = None
|
1157
1160
|
self._LipSync = None
|
1158
1161
|
self._VoiceType = None
|
@@ -1189,6 +1192,14 @@ zh(简体中文)、en(英语)、ar(阿拉伯语)、de(德语)、es(西班牙语)
|
|
1189
1192
|
def AudioUrl(self, AudioUrl):
|
1190
1193
|
self._AudioUrl = AudioUrl
|
1191
1194
|
|
1195
|
+
@property
|
1196
|
+
def RemoveVocal(self):
|
1197
|
+
return self._RemoveVocal
|
1198
|
+
|
1199
|
+
@RemoveVocal.setter
|
1200
|
+
def RemoveVocal(self, RemoveVocal):
|
1201
|
+
self._RemoveVocal = RemoveVocal
|
1202
|
+
|
1192
1203
|
@property
|
1193
1204
|
def Confirm(self):
|
1194
1205
|
return self._Confirm
|
@@ -1219,6 +1230,7 @@ zh(简体中文)、en(英语)、ar(阿拉伯语)、de(德语)、es(西班牙语)
|
|
1219
1230
|
self._SrcLang = params.get("SrcLang")
|
1220
1231
|
self._DstLang = params.get("DstLang")
|
1221
1232
|
self._AudioUrl = params.get("AudioUrl")
|
1233
|
+
self._RemoveVocal = params.get("RemoveVocal")
|
1222
1234
|
self._Confirm = params.get("Confirm")
|
1223
1235
|
self._LipSync = params.get("LipSync")
|
1224
1236
|
self._VoiceType = params.get("VoiceType")
|
@@ -8967,27 +8967,27 @@ class CreateNatGatewayRequest(AbstractModel):
|
|
8967
8967
|
:type NatGatewayName: str
|
8968
8968
|
:param _VpcId: VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。
|
8969
8969
|
:type VpcId: str
|
8970
|
-
:param _InternetMaxBandwidthOut: NAT网关最大外网出带宽(
|
8970
|
+
:param _InternetMaxBandwidthOut: NAT网关最大外网出带宽(单位:Mbps),支持的参数值:20, 50, 100, 200, 500, 1000, 2000, 5000,默认: 100Mbps。 当以下NatProductVersion参数值为2即标准型时,此参数无需填写,默认为5000Mbps。
|
8971
8971
|
:type InternetMaxBandwidthOut: int
|
8972
|
-
:param _MaxConcurrentConnection: NAT
|
8972
|
+
:param _MaxConcurrentConnection: NAT网关并发连接数上限,支持参数值:1000000、3000000、10000000,默认值为100000。 当以下NatProductVersion参数值为2即标准型时,此参数无需填写,默认为2000000。
|
8973
8973
|
:type MaxConcurrentConnection: int
|
8974
|
-
:param _AddressCount:
|
8974
|
+
:param _AddressCount: 新建弹性公网IP个数,系统会按您的要求创建对应数量的弹性公网IP,其中AddressCount和PublicAddresses两个参数至少填写一个。
|
8975
8975
|
:type AddressCount: int
|
8976
|
-
:param _PublicIpAddresses: 绑定NAT
|
8976
|
+
:param _PublicIpAddresses: 绑定NAT网关的已有弹性公网IP数组,其中AddressCount和PublicAddresses两个参数至少填写一个。 示例值:["139.199.232.119"]
|
8977
8977
|
:type PublicIpAddresses: list of str
|
8978
8978
|
:param _Zone: 可用区,形如:`ap-guangzhou-1`。
|
8979
8979
|
:type Zone: str
|
8980
8980
|
:param _Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]
|
8981
8981
|
:type Tags: list of Tag
|
8982
|
-
:param _SubnetId: NAT
|
8982
|
+
:param _SubnetId: NAT网关所属子网,已废弃
|
8983
8983
|
:type SubnetId: str
|
8984
|
-
:param _StockPublicIpAddressesBandwidthOut: 绑定NAT
|
8984
|
+
:param _StockPublicIpAddressesBandwidthOut: 绑定NAT网关的弹性公网IP带宽值(单位:Mbps)。不填写此参数时:则该参数默认为弹性公网IP的带宽值,部分用户默认为该用户类型的弹性公网IP的带宽上限。
|
8985
8985
|
:type StockPublicIpAddressesBandwidthOut: int
|
8986
8986
|
:param _PublicIpAddressesBandwidthOut: 需要申请公网IP带宽大小(单位Mbps),默认为当前用户类型所能使用的最大值。
|
8987
8987
|
:type PublicIpAddressesBandwidthOut: int
|
8988
8988
|
:param _PublicIpFromSameZone: 公网IP是否强制与NAT网关来自同可用区,true表示需要与NAT网关同可用区;false表示可与NAT网关不是同一个可用区。此参数只有当参数Zone存在时才能生效。
|
8989
8989
|
:type PublicIpFromSameZone: bool
|
8990
|
-
:param _NatProductVersion: NAT
|
8990
|
+
:param _NatProductVersion: NAT网关类型,1表示传统型NAT网关,2表示标准型NAT网关,默认值是1。
|
8991
8991
|
:type NatProductVersion: int
|
8992
8992
|
"""
|
8993
8993
|
self._NatGatewayName = None
|
@@ -9070,10 +9070,14 @@ class CreateNatGatewayRequest(AbstractModel):
|
|
9070
9070
|
|
9071
9071
|
@property
|
9072
9072
|
def SubnetId(self):
|
9073
|
+
warnings.warn("parameter `SubnetId` is deprecated", DeprecationWarning)
|
9074
|
+
|
9073
9075
|
return self._SubnetId
|
9074
9076
|
|
9075
9077
|
@SubnetId.setter
|
9076
9078
|
def SubnetId(self, SubnetId):
|
9079
|
+
warnings.warn("parameter `SubnetId` is deprecated", DeprecationWarning)
|
9080
|
+
|
9077
9081
|
self._SubnetId = SubnetId
|
9078
9082
|
|
9079
9083
|
@property
|
@@ -41895,7 +41899,7 @@ class NatGateway(AbstractModel):
|
|
41895
41899
|
:param _RestrictState: NAT网关是否被封禁。“NORMAL”:未被封禁,“RESTRICTED”:已被封禁。
|
41896
41900
|
注意:此字段可能返回 null,表示取不到有效值。
|
41897
41901
|
:type RestrictState: str
|
41898
|
-
:param _NatProductVersion: NAT
|
41902
|
+
:param _NatProductVersion: NAT网关类型,1表示传统型NAT网关,2表示标准型NAT网关
|
41899
41903
|
注意:此字段可能返回 null,表示取不到有效值。
|
41900
41904
|
:type NatProductVersion: int
|
41901
41905
|
:param _SmartScheduleMode: 是否启用根据目的网段选择SNAT使用的EIP功能
|
@@ -43568,27 +43572,19 @@ class NetworkInterfaceAttachment(AbstractModel):
|
|
43568
43572
|
|
43569
43573
|
def __init__(self):
|
43570
43574
|
r"""
|
43571
|
-
:param _InstanceId: 云主机实例ID。
|
43572
|
-
:type InstanceId: str
|
43573
43575
|
:param _DeviceIndex: 网卡在云主机实例内的序号。
|
43574
43576
|
:type DeviceIndex: int
|
43575
43577
|
:param _InstanceAccountId: 云主机所有者账户信息。
|
43576
43578
|
:type InstanceAccountId: str
|
43577
43579
|
:param _AttachTime: 绑定时间。
|
43578
43580
|
:type AttachTime: str
|
43581
|
+
:param _InstanceId: 云主机实例ID。
|
43582
|
+
:type InstanceId: str
|
43579
43583
|
"""
|
43580
|
-
self._InstanceId = None
|
43581
43584
|
self._DeviceIndex = None
|
43582
43585
|
self._InstanceAccountId = None
|
43583
43586
|
self._AttachTime = None
|
43584
|
-
|
43585
|
-
@property
|
43586
|
-
def InstanceId(self):
|
43587
|
-
return self._InstanceId
|
43588
|
-
|
43589
|
-
@InstanceId.setter
|
43590
|
-
def InstanceId(self, InstanceId):
|
43591
|
-
self._InstanceId = InstanceId
|
43587
|
+
self._InstanceId = None
|
43592
43588
|
|
43593
43589
|
@property
|
43594
43590
|
def DeviceIndex(self):
|
@@ -43614,12 +43610,20 @@ class NetworkInterfaceAttachment(AbstractModel):
|
|
43614
43610
|
def AttachTime(self, AttachTime):
|
43615
43611
|
self._AttachTime = AttachTime
|
43616
43612
|
|
43613
|
+
@property
|
43614
|
+
def InstanceId(self):
|
43615
|
+
return self._InstanceId
|
43616
|
+
|
43617
|
+
@InstanceId.setter
|
43618
|
+
def InstanceId(self, InstanceId):
|
43619
|
+
self._InstanceId = InstanceId
|
43620
|
+
|
43617
43621
|
|
43618
43622
|
def _deserialize(self, params):
|
43619
|
-
self._InstanceId = params.get("InstanceId")
|
43620
43623
|
self._DeviceIndex = params.get("DeviceIndex")
|
43621
43624
|
self._InstanceAccountId = params.get("InstanceAccountId")
|
43622
43625
|
self._AttachTime = params.get("AttachTime")
|
43626
|
+
self._InstanceId = params.get("InstanceId")
|
43623
43627
|
memeber_set = set(params.keys())
|
43624
43628
|
for name, value in vars(self).items():
|
43625
43629
|
property_name = name[1:]
|
@@ -296,7 +296,7 @@ class VpcClient(AbstractClient):
|
|
296
296
|
def AssignPrivateIpAddresses(self, request):
|
297
297
|
"""本接口(AssignPrivateIpAddresses)用于弹性网卡申请内网 IP。
|
298
298
|
* 一个弹性网卡支持绑定的IP地址是有限制的,更多资源限制信息详见<a href="/document/product/576/18527">弹性网卡使用限制</a>。
|
299
|
-
* 可以指定内网IP地址申请,内网IP地址类型不能为主IP,主IP已存在,不能修改,内网IP
|
299
|
+
* 可以指定内网IP地址申请,内网IP地址类型不能为主IP,主IP已存在,不能修改,内网IP必须要在弹性网卡所在子网内,而且不能被占用。
|
300
300
|
* 在弹性网卡上申请一个到多个辅助内网IP,接口会在弹性网卡所在子网网段内返回指定数量的辅助内网IP。
|
301
301
|
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
302
302
|
>
|
@@ -8750,7 +8750,7 @@ class VpcClient(AbstractClient):
|
|
8750
8750
|
|
8751
8751
|
def UnassignPrivateIpAddresses(self, request):
|
8752
8752
|
"""本接口(UnassignPrivateIpAddresses)用于弹性网卡退还内网 IP。
|
8753
|
-
* 退还弹性网卡上的辅助内网IP
|
8753
|
+
* 退还弹性网卡上的辅助内网IP,接口自动解除关联弹性公网 IP。不能退还弹性网卡的主内网IP。
|
8754
8754
|
|
8755
8755
|
本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。
|
8756
8756
|
|
@@ -507,6 +507,8 @@ zh(简体中文)、en(英语)、ar(阿拉伯语)、de(德语)、es(西班牙语)
|
|
507
507
|
大小要求:不超过 100M。
|
508
508
|
示例值:http://xxx/audio.mp3
|
509
509
|
:type AudioUrl: str
|
510
|
+
:param _RemoveVocal: 是否需要去除VideoUrl或AudioUrl中背景音,取值范围:0-不需要,1-需要,默认0 。
|
511
|
+
:type RemoveVocal: int
|
510
512
|
:param _Confirm: 是否需要确认翻译结果0:不需要,1:需要
|
511
513
|
:type Confirm: int
|
512
514
|
:param _LipSync: 是否开启口型驱动,0:不开启,1:开启。默认开启。
|
@@ -522,6 +524,7 @@ zh(简体中文)、en(英语)、ar(阿拉伯语)、de(德语)、es(西班牙语)
|
|
522
524
|
self._SrcLang = None
|
523
525
|
self._DstLang = None
|
524
526
|
self._AudioUrl = None
|
527
|
+
self._RemoveVocal = None
|
525
528
|
self._Confirm = None
|
526
529
|
self._LipSync = None
|
527
530
|
self._VoiceType = None
|
@@ -558,6 +561,14 @@ zh(简体中文)、en(英语)、ar(阿拉伯语)、de(德语)、es(西班牙语)
|
|
558
561
|
def AudioUrl(self, AudioUrl):
|
559
562
|
self._AudioUrl = AudioUrl
|
560
563
|
|
564
|
+
@property
|
565
|
+
def RemoveVocal(self):
|
566
|
+
return self._RemoveVocal
|
567
|
+
|
568
|
+
@RemoveVocal.setter
|
569
|
+
def RemoveVocal(self, RemoveVocal):
|
570
|
+
self._RemoveVocal = RemoveVocal
|
571
|
+
|
561
572
|
@property
|
562
573
|
def Confirm(self):
|
563
574
|
return self._Confirm
|
@@ -588,6 +599,7 @@ zh(简体中文)、en(英语)、ar(阿拉伯语)、de(德语)、es(西班牙语)
|
|
588
599
|
self._SrcLang = params.get("SrcLang")
|
589
600
|
self._DstLang = params.get("DstLang")
|
590
601
|
self._AudioUrl = params.get("AudioUrl")
|
602
|
+
self._RemoveVocal = params.get("RemoveVocal")
|
591
603
|
self._Confirm = params.get("Confirm")
|
592
604
|
self._LipSync = params.get("LipSync")
|
593
605
|
self._VoiceType = params.get("VoiceType")
|