tencentcloud-sdk-python 3.0.1270__py2.py3-none-any.whl → 3.0.1272__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/autoscaling/v20180419/models.py +6 -2
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +8 -4
- tencentcloud/cdn/v20180606/cdn_client.py +0 -1
- tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
- tencentcloud/cdwch/v20200915/models.py +175 -0
- tencentcloud/cdwdoris/v20211228/models.py +73 -0
- tencentcloud/cfg/v20210820/cfg_client.py +23 -0
- tencentcloud/cfg/v20210820/models.py +210 -0
- tencentcloud/cynosdb/v20190107/models.py +34 -2
- tencentcloud/dnspod/v20210323/errorcodes.py +3 -3
- tencentcloud/ess/v20201111/models.py +33 -4
- tencentcloud/essbasic/v20210526/essbasic_client.py +1 -1
- tencentcloud/essbasic/v20210526/models.py +50 -6
- tencentcloud/lke/v20231130/lke_client.py +23 -0
- tencentcloud/lke/v20231130/models.py +220 -0
- tencentcloud/market/v20191010/models.py +0 -2
- tencentcloud/mps/v20190612/models.py +284 -0
- tencentcloud/mps/v20190612/mps_client.py +25 -0
- tencentcloud/ocr/v20181119/models.py +31 -0
- tencentcloud/thpc/v20230321/models.py +4 -4
- tencentcloud/trtc/v20190722/models.py +2 -2
- tencentcloud/vpc/v20170312/models.py +0 -6
- tencentcloud/vpc/v20170312/vpc_client.py +0 -1
- tencentcloud/wedata/v20210820/models.py +79 -4
- {tencentcloud_sdk_python-3.0.1270.dist-info → tencentcloud_sdk_python-3.0.1272.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1270.dist-info → tencentcloud_sdk_python-3.0.1272.dist-info}/RECORD +31 -31
- {tencentcloud_sdk_python-3.0.1270.dist-info → tencentcloud_sdk_python-3.0.1272.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1270.dist-info → tencentcloud_sdk_python-3.0.1272.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1270.dist-info → tencentcloud_sdk_python-3.0.1272.dist-info}/top_level.txt +0 -0
@@ -31563,6 +31563,101 @@ class HighlightSegmentItem(AbstractModel):
|
|
31563
31563
|
|
31564
31564
|
|
31565
31565
|
|
31566
|
+
class ImageEncodeConfig(AbstractModel):
|
31567
|
+
"""图片编码格式参数
|
31568
|
+
|
31569
|
+
"""
|
31570
|
+
|
31571
|
+
def __init__(self):
|
31572
|
+
r"""
|
31573
|
+
:param _Format: 图片格式,取值范围:JPG、BMP、GIF、PNG、WebP,缺省为原图格式。
|
31574
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
31575
|
+
:type Format: str
|
31576
|
+
:param _Quality: 图片的相对质量,取值范围:1 - 100,数值以原图质量为标准,缺省为原图质量。
|
31577
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
31578
|
+
:type Quality: int
|
31579
|
+
"""
|
31580
|
+
self._Format = None
|
31581
|
+
self._Quality = None
|
31582
|
+
|
31583
|
+
@property
|
31584
|
+
def Format(self):
|
31585
|
+
"""图片格式,取值范围:JPG、BMP、GIF、PNG、WebP,缺省为原图格式。
|
31586
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
31587
|
+
:rtype: str
|
31588
|
+
"""
|
31589
|
+
return self._Format
|
31590
|
+
|
31591
|
+
@Format.setter
|
31592
|
+
def Format(self, Format):
|
31593
|
+
self._Format = Format
|
31594
|
+
|
31595
|
+
@property
|
31596
|
+
def Quality(self):
|
31597
|
+
"""图片的相对质量,取值范围:1 - 100,数值以原图质量为标准,缺省为原图质量。
|
31598
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
31599
|
+
:rtype: int
|
31600
|
+
"""
|
31601
|
+
return self._Quality
|
31602
|
+
|
31603
|
+
@Quality.setter
|
31604
|
+
def Quality(self, Quality):
|
31605
|
+
self._Quality = Quality
|
31606
|
+
|
31607
|
+
|
31608
|
+
def _deserialize(self, params):
|
31609
|
+
self._Format = params.get("Format")
|
31610
|
+
self._Quality = params.get("Quality")
|
31611
|
+
memeber_set = set(params.keys())
|
31612
|
+
for name, value in vars(self).items():
|
31613
|
+
property_name = name[1:]
|
31614
|
+
if property_name in memeber_set:
|
31615
|
+
memeber_set.remove(property_name)
|
31616
|
+
if len(memeber_set) > 0:
|
31617
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
31618
|
+
|
31619
|
+
|
31620
|
+
|
31621
|
+
class ImageEnhanceConfig(AbstractModel):
|
31622
|
+
"""图片增强参数
|
31623
|
+
|
31624
|
+
"""
|
31625
|
+
|
31626
|
+
def __init__(self):
|
31627
|
+
r"""
|
31628
|
+
:param _SuperResolution: 超分配置。
|
31629
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
31630
|
+
:type SuperResolution: :class:`tencentcloud.mps.v20190612.models.SuperResolutionConfig`
|
31631
|
+
"""
|
31632
|
+
self._SuperResolution = None
|
31633
|
+
|
31634
|
+
@property
|
31635
|
+
def SuperResolution(self):
|
31636
|
+
"""超分配置。
|
31637
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
31638
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.SuperResolutionConfig`
|
31639
|
+
"""
|
31640
|
+
return self._SuperResolution
|
31641
|
+
|
31642
|
+
@SuperResolution.setter
|
31643
|
+
def SuperResolution(self, SuperResolution):
|
31644
|
+
self._SuperResolution = SuperResolution
|
31645
|
+
|
31646
|
+
|
31647
|
+
def _deserialize(self, params):
|
31648
|
+
if params.get("SuperResolution") is not None:
|
31649
|
+
self._SuperResolution = SuperResolutionConfig()
|
31650
|
+
self._SuperResolution._deserialize(params.get("SuperResolution"))
|
31651
|
+
memeber_set = set(params.keys())
|
31652
|
+
for name, value in vars(self).items():
|
31653
|
+
property_name = name[1:]
|
31654
|
+
if property_name in memeber_set:
|
31655
|
+
memeber_set.remove(property_name)
|
31656
|
+
if len(memeber_set) > 0:
|
31657
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
31658
|
+
|
31659
|
+
|
31660
|
+
|
31566
31661
|
class ImageQualityEnhanceConfig(AbstractModel):
|
31567
31662
|
"""综合增强配置
|
31568
31663
|
|
@@ -32030,6 +32125,65 @@ class ImageSpriteTemplate(AbstractModel):
|
|
32030
32125
|
|
32031
32126
|
|
32032
32127
|
|
32128
|
+
class ImageTaskInput(AbstractModel):
|
32129
|
+
"""图片任务输入参数
|
32130
|
+
|
32131
|
+
"""
|
32132
|
+
|
32133
|
+
def __init__(self):
|
32134
|
+
r"""
|
32135
|
+
:param _EncodeConfig: 图片编码配置。
|
32136
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
32137
|
+
:type EncodeConfig: :class:`tencentcloud.mps.v20190612.models.ImageEncodeConfig`
|
32138
|
+
:param _EnhanceConfig: 图片增强配置。
|
32139
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
32140
|
+
:type EnhanceConfig: :class:`tencentcloud.mps.v20190612.models.ImageEnhanceConfig`
|
32141
|
+
"""
|
32142
|
+
self._EncodeConfig = None
|
32143
|
+
self._EnhanceConfig = None
|
32144
|
+
|
32145
|
+
@property
|
32146
|
+
def EncodeConfig(self):
|
32147
|
+
"""图片编码配置。
|
32148
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
32149
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.ImageEncodeConfig`
|
32150
|
+
"""
|
32151
|
+
return self._EncodeConfig
|
32152
|
+
|
32153
|
+
@EncodeConfig.setter
|
32154
|
+
def EncodeConfig(self, EncodeConfig):
|
32155
|
+
self._EncodeConfig = EncodeConfig
|
32156
|
+
|
32157
|
+
@property
|
32158
|
+
def EnhanceConfig(self):
|
32159
|
+
"""图片增强配置。
|
32160
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
32161
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.ImageEnhanceConfig`
|
32162
|
+
"""
|
32163
|
+
return self._EnhanceConfig
|
32164
|
+
|
32165
|
+
@EnhanceConfig.setter
|
32166
|
+
def EnhanceConfig(self, EnhanceConfig):
|
32167
|
+
self._EnhanceConfig = EnhanceConfig
|
32168
|
+
|
32169
|
+
|
32170
|
+
def _deserialize(self, params):
|
32171
|
+
if params.get("EncodeConfig") is not None:
|
32172
|
+
self._EncodeConfig = ImageEncodeConfig()
|
32173
|
+
self._EncodeConfig._deserialize(params.get("EncodeConfig"))
|
32174
|
+
if params.get("EnhanceConfig") is not None:
|
32175
|
+
self._EnhanceConfig = ImageEnhanceConfig()
|
32176
|
+
self._EnhanceConfig._deserialize(params.get("EnhanceConfig"))
|
32177
|
+
memeber_set = set(params.keys())
|
32178
|
+
for name, value in vars(self).items():
|
32179
|
+
property_name = name[1:]
|
32180
|
+
if property_name in memeber_set:
|
32181
|
+
memeber_set.remove(property_name)
|
32182
|
+
if len(memeber_set) > 0:
|
32183
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
32184
|
+
|
32185
|
+
|
32186
|
+
|
32033
32187
|
class ImageWatermarkInput(AbstractModel):
|
32034
32188
|
"""图片水印模板输入参数
|
32035
32189
|
|
@@ -45359,6 +45513,136 @@ class PornOcrReviewTemplateInfoForUpdate(AbstractModel):
|
|
45359
45513
|
|
45360
45514
|
|
45361
45515
|
|
45516
|
+
class ProcessImageRequest(AbstractModel):
|
45517
|
+
"""ProcessImage请求参数结构体
|
45518
|
+
|
45519
|
+
"""
|
45520
|
+
|
45521
|
+
def __init__(self):
|
45522
|
+
r"""
|
45523
|
+
:param _InputInfo: 图片处理的文件输入信息。
|
45524
|
+
:type InputInfo: :class:`tencentcloud.mps.v20190612.models.MediaInputInfo`
|
45525
|
+
:param _OutputStorage: 图片处理输出文件的目标存储。不填则继承 InputInfo 中的存储位置。
|
45526
|
+
:type OutputStorage: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
|
45527
|
+
:param _OutputDir: 图片处理生成的文件输出的路径。如果不填表示与 InputInfo 中文件所在的目录一致。如果是目录,如`/image/201907/`,表示继承原文件名输出到该目录。
|
45528
|
+
:type OutputDir: str
|
45529
|
+
:param _ImageTask: 图片处理参数。
|
45530
|
+
:type ImageTask: :class:`tencentcloud.mps.v20190612.models.ImageTaskInput`
|
45531
|
+
"""
|
45532
|
+
self._InputInfo = None
|
45533
|
+
self._OutputStorage = None
|
45534
|
+
self._OutputDir = None
|
45535
|
+
self._ImageTask = None
|
45536
|
+
|
45537
|
+
@property
|
45538
|
+
def InputInfo(self):
|
45539
|
+
"""图片处理的文件输入信息。
|
45540
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.MediaInputInfo`
|
45541
|
+
"""
|
45542
|
+
return self._InputInfo
|
45543
|
+
|
45544
|
+
@InputInfo.setter
|
45545
|
+
def InputInfo(self, InputInfo):
|
45546
|
+
self._InputInfo = InputInfo
|
45547
|
+
|
45548
|
+
@property
|
45549
|
+
def OutputStorage(self):
|
45550
|
+
"""图片处理输出文件的目标存储。不填则继承 InputInfo 中的存储位置。
|
45551
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
|
45552
|
+
"""
|
45553
|
+
return self._OutputStorage
|
45554
|
+
|
45555
|
+
@OutputStorage.setter
|
45556
|
+
def OutputStorage(self, OutputStorage):
|
45557
|
+
self._OutputStorage = OutputStorage
|
45558
|
+
|
45559
|
+
@property
|
45560
|
+
def OutputDir(self):
|
45561
|
+
"""图片处理生成的文件输出的路径。如果不填表示与 InputInfo 中文件所在的目录一致。如果是目录,如`/image/201907/`,表示继承原文件名输出到该目录。
|
45562
|
+
:rtype: str
|
45563
|
+
"""
|
45564
|
+
return self._OutputDir
|
45565
|
+
|
45566
|
+
@OutputDir.setter
|
45567
|
+
def OutputDir(self, OutputDir):
|
45568
|
+
self._OutputDir = OutputDir
|
45569
|
+
|
45570
|
+
@property
|
45571
|
+
def ImageTask(self):
|
45572
|
+
"""图片处理参数。
|
45573
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.ImageTaskInput`
|
45574
|
+
"""
|
45575
|
+
return self._ImageTask
|
45576
|
+
|
45577
|
+
@ImageTask.setter
|
45578
|
+
def ImageTask(self, ImageTask):
|
45579
|
+
self._ImageTask = ImageTask
|
45580
|
+
|
45581
|
+
|
45582
|
+
def _deserialize(self, params):
|
45583
|
+
if params.get("InputInfo") is not None:
|
45584
|
+
self._InputInfo = MediaInputInfo()
|
45585
|
+
self._InputInfo._deserialize(params.get("InputInfo"))
|
45586
|
+
if params.get("OutputStorage") is not None:
|
45587
|
+
self._OutputStorage = TaskOutputStorage()
|
45588
|
+
self._OutputStorage._deserialize(params.get("OutputStorage"))
|
45589
|
+
self._OutputDir = params.get("OutputDir")
|
45590
|
+
if params.get("ImageTask") is not None:
|
45591
|
+
self._ImageTask = ImageTaskInput()
|
45592
|
+
self._ImageTask._deserialize(params.get("ImageTask"))
|
45593
|
+
memeber_set = set(params.keys())
|
45594
|
+
for name, value in vars(self).items():
|
45595
|
+
property_name = name[1:]
|
45596
|
+
if property_name in memeber_set:
|
45597
|
+
memeber_set.remove(property_name)
|
45598
|
+
if len(memeber_set) > 0:
|
45599
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
45600
|
+
|
45601
|
+
|
45602
|
+
|
45603
|
+
class ProcessImageResponse(AbstractModel):
|
45604
|
+
"""ProcessImage返回参数结构体
|
45605
|
+
|
45606
|
+
"""
|
45607
|
+
|
45608
|
+
def __init__(self):
|
45609
|
+
r"""
|
45610
|
+
:param _TaskId: 任务 ID。
|
45611
|
+
:type TaskId: str
|
45612
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
45613
|
+
:type RequestId: str
|
45614
|
+
"""
|
45615
|
+
self._TaskId = None
|
45616
|
+
self._RequestId = None
|
45617
|
+
|
45618
|
+
@property
|
45619
|
+
def TaskId(self):
|
45620
|
+
"""任务 ID。
|
45621
|
+
:rtype: str
|
45622
|
+
"""
|
45623
|
+
return self._TaskId
|
45624
|
+
|
45625
|
+
@TaskId.setter
|
45626
|
+
def TaskId(self, TaskId):
|
45627
|
+
self._TaskId = TaskId
|
45628
|
+
|
45629
|
+
@property
|
45630
|
+
def RequestId(self):
|
45631
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
45632
|
+
:rtype: str
|
45633
|
+
"""
|
45634
|
+
return self._RequestId
|
45635
|
+
|
45636
|
+
@RequestId.setter
|
45637
|
+
def RequestId(self, RequestId):
|
45638
|
+
self._RequestId = RequestId
|
45639
|
+
|
45640
|
+
|
45641
|
+
def _deserialize(self, params):
|
45642
|
+
self._TaskId = params.get("TaskId")
|
45643
|
+
self._RequestId = params.get("RequestId")
|
45644
|
+
|
45645
|
+
|
45362
45646
|
class ProcessLiveStreamRequest(AbstractModel):
|
45363
45647
|
"""ProcessLiveStream请求参数结构体
|
45364
45648
|
|
@@ -2392,6 +2392,31 @@ class MpsClient(AbstractClient):
|
|
2392
2392
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2393
2393
|
|
2394
2394
|
|
2395
|
+
def ProcessImage(self, request):
|
2396
|
+
"""发起图片处理,功能包括:
|
2397
|
+
1. 格式转换;
|
2398
|
+
2. 图像增强;
|
2399
|
+
|
2400
|
+
:param request: Request instance for ProcessImage.
|
2401
|
+
:type request: :class:`tencentcloud.mps.v20190612.models.ProcessImageRequest`
|
2402
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.ProcessImageResponse`
|
2403
|
+
|
2404
|
+
"""
|
2405
|
+
try:
|
2406
|
+
params = request._serialize()
|
2407
|
+
headers = request.headers
|
2408
|
+
body = self.call("ProcessImage", params, headers=headers)
|
2409
|
+
response = json.loads(body)
|
2410
|
+
model = models.ProcessImageResponse()
|
2411
|
+
model._deserialize(response["Response"])
|
2412
|
+
return model
|
2413
|
+
except Exception as e:
|
2414
|
+
if isinstance(e, TencentCloudSDKException):
|
2415
|
+
raise
|
2416
|
+
else:
|
2417
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2418
|
+
|
2419
|
+
|
2395
2420
|
def ProcessLiveStream(self, request):
|
2396
2421
|
"""对直播流媒体发起处理任务,功能包括:
|
2397
2422
|
|
@@ -25837,6 +25837,16 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
25837
25837
|
-9108 证件模糊告警
|
25838
25838
|
-9109 告警能力未开通
|
25839
25839
|
:type WarnCardInfos: list of int
|
25840
|
+
:param _AdvancedInfo: 字段置信度:
|
25841
|
+
{
|
25842
|
+
"ID": {
|
25843
|
+
"Confidence": 0.9999
|
25844
|
+
},
|
25845
|
+
"ThaiName": {
|
25846
|
+
"Confidence": 0.9996
|
25847
|
+
}
|
25848
|
+
}
|
25849
|
+
:type AdvancedInfo: str
|
25840
25850
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
25841
25851
|
:type RequestId: str
|
25842
25852
|
"""
|
@@ -25855,6 +25865,7 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
25855
25865
|
self._Address = None
|
25856
25866
|
self._PortraitImage = None
|
25857
25867
|
self._WarnCardInfos = None
|
25868
|
+
self._AdvancedInfo = None
|
25858
25869
|
self._RequestId = None
|
25859
25870
|
|
25860
25871
|
@property
|
@@ -26028,6 +26039,25 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
26028
26039
|
def WarnCardInfos(self, WarnCardInfos):
|
26029
26040
|
self._WarnCardInfos = WarnCardInfos
|
26030
26041
|
|
26042
|
+
@property
|
26043
|
+
def AdvancedInfo(self):
|
26044
|
+
"""字段置信度:
|
26045
|
+
{
|
26046
|
+
"ID": {
|
26047
|
+
"Confidence": 0.9999
|
26048
|
+
},
|
26049
|
+
"ThaiName": {
|
26050
|
+
"Confidence": 0.9996
|
26051
|
+
}
|
26052
|
+
}
|
26053
|
+
:rtype: str
|
26054
|
+
"""
|
26055
|
+
return self._AdvancedInfo
|
26056
|
+
|
26057
|
+
@AdvancedInfo.setter
|
26058
|
+
def AdvancedInfo(self, AdvancedInfo):
|
26059
|
+
self._AdvancedInfo = AdvancedInfo
|
26060
|
+
|
26031
26061
|
@property
|
26032
26062
|
def RequestId(self):
|
26033
26063
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -26056,6 +26086,7 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
26056
26086
|
self._Address = params.get("Address")
|
26057
26087
|
self._PortraitImage = params.get("PortraitImage")
|
26058
26088
|
self._WarnCardInfos = params.get("WarnCardInfos")
|
26089
|
+
self._AdvancedInfo = params.get("AdvancedInfo")
|
26059
26090
|
self._RequestId = params.get("RequestId")
|
26060
26091
|
|
26061
26092
|
|
@@ -114,7 +114,7 @@ class AddNodesRequest(AbstractModel):
|
|
114
114
|
:type VirtualPrivateCloud: :class:`tencentcloud.thpc.v20230321.models.VirtualPrivateCloud`
|
115
115
|
:param _Count: 添加节点数量。
|
116
116
|
:type Count: int
|
117
|
-
:param _ImageId: 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx
|
117
|
+
:param _ImageId: 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前支持部分公有镜像和自定义镜像。公共镜像请参考[镜像限制](https://cloud.tencent.com/document/product/1527/64818#.E9.95.9C.E5.83.8F)
|
118
118
|
:type ImageId: str
|
119
119
|
:param _InstanceChargeType: 节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID:预付费,即包年包月</li><li>POSTPAID_BY_HOUR:按小时后付费</li><li>SPOTPAID:竞价付费</li>默认值:POSTPAID_BY_HOUR。
|
120
120
|
:type InstanceChargeType: str
|
@@ -224,7 +224,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
224
224
|
|
225
225
|
@property
|
226
226
|
def ImageId(self):
|
227
|
-
"""指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx
|
227
|
+
"""指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前支持部分公有镜像和自定义镜像。公共镜像请参考[镜像限制](https://cloud.tencent.com/document/product/1527/64818#.E9.95.9C.E5.83.8F)
|
228
228
|
:rtype: str
|
229
229
|
"""
|
230
230
|
return self._ImageId
|
@@ -1610,7 +1610,7 @@ class CreateClusterRequest(AbstractModel):
|
|
1610
1610
|
<li>SLURM:21.08.8、23.11.7</li>
|
1611
1611
|
<li>SGE: 8.1.9</li>
|
1612
1612
|
:type SchedulerVersion: str
|
1613
|
-
:param _ImageId: 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前支持部分公有镜像和自定义镜像。公共镜像请参考[镜像限制](https://cloud.tencent.com/document/product/1527/64818)
|
1613
|
+
:param _ImageId: 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前支持部分公有镜像和自定义镜像。公共镜像请参考[镜像限制](https://cloud.tencent.com/document/product/1527/64818#.E9.95.9C.E5.83.8F)
|
1614
1614
|
:type ImageId: str
|
1615
1615
|
:param _VirtualPrivateCloud: 私有网络相关信息配置。
|
1616
1616
|
:type VirtualPrivateCloud: :class:`tencentcloud.thpc.v20230321.models.VirtualPrivateCloud`
|
@@ -1751,7 +1751,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
1751
1751
|
|
1752
1752
|
@property
|
1753
1753
|
def ImageId(self):
|
1754
|
-
"""指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前支持部分公有镜像和自定义镜像。公共镜像请参考[镜像限制](https://cloud.tencent.com/document/product/1527/64818)
|
1754
|
+
"""指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前支持部分公有镜像和自定义镜像。公共镜像请参考[镜像限制](https://cloud.tencent.com/document/product/1527/64818#.E9.95.9C.E5.83.8F)
|
1755
1755
|
:rtype: str
|
1756
1756
|
"""
|
1757
1757
|
return self._ImageId
|
@@ -9636,7 +9636,7 @@ class RecordParams(AbstractModel):
|
|
9636
9636
|
1:单流录制,分别录制房间的订阅UserId的音频和视频,将录制文件上传至云存储;
|
9637
9637
|
2:合流录制,将房间内订阅UserId的音视频混录成一个音视频文件,将录制文件上传至云存储;
|
9638
9638
|
:type RecordMode: int
|
9639
|
-
:param _MaxIdleTime:
|
9639
|
+
:param _MaxIdleTime: 房间内持续没有主播的状态超过MaxIdleTime的时长,自动停止录制,单位:秒。默认值为 30 秒,该值需大于等于 5秒,且小于等于 86400秒(24小时)。
|
9640
9640
|
:type MaxIdleTime: int
|
9641
9641
|
:param _StreamType: 录制的媒体流类型:
|
9642
9642
|
0:录制音频+视频流(默认);
|
@@ -9684,7 +9684,7 @@ Hls 格式录制此参数不生效。
|
|
9684
9684
|
|
9685
9685
|
@property
|
9686
9686
|
def MaxIdleTime(self):
|
9687
|
-
"""
|
9687
|
+
"""房间内持续没有主播的状态超过MaxIdleTime的时长,自动停止录制,单位:秒。默认值为 30 秒,该值需大于等于 5秒,且小于等于 86400秒(24小时)。
|
9688
9688
|
:rtype: int
|
9689
9689
|
"""
|
9690
9690
|
return self._MaxIdleTime
|
@@ -6772,10 +6772,8 @@ class CcnRouteTableInputPolicy(AbstractModel):
|
|
6772
6772
|
:param _Description: 策略描述。
|
6773
6773
|
:type Description: str
|
6774
6774
|
:param _OperateAsPath: as-path操作
|
6775
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6776
6775
|
:type OperateAsPath: str
|
6777
6776
|
:param _AsPathOperateMode: as-path操作模式
|
6778
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6779
6777
|
:type AsPathOperateMode: str
|
6780
6778
|
"""
|
6781
6779
|
self._RouteConditions = None
|
@@ -6820,7 +6818,6 @@ class CcnRouteTableInputPolicy(AbstractModel):
|
|
6820
6818
|
@property
|
6821
6819
|
def OperateAsPath(self):
|
6822
6820
|
"""as-path操作
|
6823
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6824
6821
|
:rtype: str
|
6825
6822
|
"""
|
6826
6823
|
return self._OperateAsPath
|
@@ -6832,7 +6829,6 @@ class CcnRouteTableInputPolicy(AbstractModel):
|
|
6832
6829
|
@property
|
6833
6830
|
def AsPathOperateMode(self):
|
6834
6831
|
"""as-path操作模式
|
6835
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6836
6832
|
:rtype: str
|
6837
6833
|
"""
|
6838
6834
|
return self._AsPathOperateMode
|
@@ -44164,7 +44160,6 @@ class ModifyAssistantCidrResponse(AbstractModel):
|
|
44164
44160
|
def __init__(self):
|
44165
44161
|
r"""
|
44166
44162
|
:param _AssistantCidrSet: 辅助CIDR数组。
|
44167
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
44168
44163
|
:type AssistantCidrSet: list of AssistantCidr
|
44169
44164
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
44170
44165
|
:type RequestId: str
|
@@ -44175,7 +44170,6 @@ class ModifyAssistantCidrResponse(AbstractModel):
|
|
44175
44170
|
@property
|
44176
44171
|
def AssistantCidrSet(self):
|
44177
44172
|
"""辅助CIDR数组。
|
44178
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
44179
44173
|
:rtype: list of AssistantCidr
|
44180
44174
|
"""
|
44181
44175
|
return self._AssistantCidrSet
|
@@ -8949,7 +8949,6 @@ class VpcClient(AbstractClient):
|
|
8949
8949
|
|
8950
8950
|
如有需要, 可以封禁任意限速实例, 可接入到内部运营系统
|
8951
8951
|
|
8952
|
-
|
8953
8952
|
:param request: Request instance for UnlockCcns.
|
8954
8953
|
:type request: :class:`tencentcloud.vpc.v20170312.models.UnlockCcnsRequest`
|
8955
8954
|
:rtype: :class:`tencentcloud.vpc.v20170312.models.UnlockCcnsResponse`
|
@@ -79113,9 +79113,9 @@ class UpdateDataModelRegistryInfoRequest(AbstractModel):
|
|
79113
79113
|
:type CloudappId: str
|
79114
79114
|
:param _AppCamRole: 数语的CAM角色
|
79115
79115
|
:type AppCamRole: str
|
79116
|
-
:param _Ip:
|
79116
|
+
:param _Ip: 数语的公网访问ip
|
79117
79117
|
:type Ip: str
|
79118
|
-
:param _Port:
|
79118
|
+
:param _Port: 数语的公网访问端口
|
79119
79119
|
:type Port: int
|
79120
79120
|
:param _AppCamRoleId: 数语的CAM角色id
|
79121
79121
|
:type AppCamRoleId: str
|
@@ -79125,6 +79125,16 @@ class UpdateDataModelRegistryInfoRequest(AbstractModel):
|
|
79125
79125
|
:type TenantId: str
|
79126
79126
|
:param _OwnId: 主账号id
|
79127
79127
|
:type OwnId: str
|
79128
|
+
:param _VpcId: VpcId
|
79129
|
+
:type VpcId: str
|
79130
|
+
:param _VpcRegion: Vpc地域
|
79131
|
+
:type VpcRegion: str
|
79132
|
+
:param _Pip: 数语的内网访问ip
|
79133
|
+
:type Pip: str
|
79134
|
+
:param _Pport: 数语的内网访问端口
|
79135
|
+
:type Pport: int
|
79136
|
+
:param _IsPublic: 是否开放公网访问数语, 1:是,0:否,默认1开放
|
79137
|
+
:type IsPublic: int
|
79128
79138
|
"""
|
79129
79139
|
self._CloudappId = None
|
79130
79140
|
self._AppCamRole = None
|
@@ -79134,6 +79144,11 @@ class UpdateDataModelRegistryInfoRequest(AbstractModel):
|
|
79134
79144
|
self._Provider = None
|
79135
79145
|
self._TenantId = None
|
79136
79146
|
self._OwnId = None
|
79147
|
+
self._VpcId = None
|
79148
|
+
self._VpcRegion = None
|
79149
|
+
self._Pip = None
|
79150
|
+
self._Pport = None
|
79151
|
+
self._IsPublic = None
|
79137
79152
|
|
79138
79153
|
@property
|
79139
79154
|
def CloudappId(self):
|
@@ -79159,7 +79174,7 @@ class UpdateDataModelRegistryInfoRequest(AbstractModel):
|
|
79159
79174
|
|
79160
79175
|
@property
|
79161
79176
|
def Ip(self):
|
79162
|
-
"""
|
79177
|
+
"""数语的公网访问ip
|
79163
79178
|
:rtype: str
|
79164
79179
|
"""
|
79165
79180
|
return self._Ip
|
@@ -79170,7 +79185,7 @@ class UpdateDataModelRegistryInfoRequest(AbstractModel):
|
|
79170
79185
|
|
79171
79186
|
@property
|
79172
79187
|
def Port(self):
|
79173
|
-
"""
|
79188
|
+
"""数语的公网访问端口
|
79174
79189
|
:rtype: int
|
79175
79190
|
"""
|
79176
79191
|
return self._Port
|
@@ -79223,6 +79238,61 @@ class UpdateDataModelRegistryInfoRequest(AbstractModel):
|
|
79223
79238
|
def OwnId(self, OwnId):
|
79224
79239
|
self._OwnId = OwnId
|
79225
79240
|
|
79241
|
+
@property
|
79242
|
+
def VpcId(self):
|
79243
|
+
"""VpcId
|
79244
|
+
:rtype: str
|
79245
|
+
"""
|
79246
|
+
return self._VpcId
|
79247
|
+
|
79248
|
+
@VpcId.setter
|
79249
|
+
def VpcId(self, VpcId):
|
79250
|
+
self._VpcId = VpcId
|
79251
|
+
|
79252
|
+
@property
|
79253
|
+
def VpcRegion(self):
|
79254
|
+
"""Vpc地域
|
79255
|
+
:rtype: str
|
79256
|
+
"""
|
79257
|
+
return self._VpcRegion
|
79258
|
+
|
79259
|
+
@VpcRegion.setter
|
79260
|
+
def VpcRegion(self, VpcRegion):
|
79261
|
+
self._VpcRegion = VpcRegion
|
79262
|
+
|
79263
|
+
@property
|
79264
|
+
def Pip(self):
|
79265
|
+
"""数语的内网访问ip
|
79266
|
+
:rtype: str
|
79267
|
+
"""
|
79268
|
+
return self._Pip
|
79269
|
+
|
79270
|
+
@Pip.setter
|
79271
|
+
def Pip(self, Pip):
|
79272
|
+
self._Pip = Pip
|
79273
|
+
|
79274
|
+
@property
|
79275
|
+
def Pport(self):
|
79276
|
+
"""数语的内网访问端口
|
79277
|
+
:rtype: int
|
79278
|
+
"""
|
79279
|
+
return self._Pport
|
79280
|
+
|
79281
|
+
@Pport.setter
|
79282
|
+
def Pport(self, Pport):
|
79283
|
+
self._Pport = Pport
|
79284
|
+
|
79285
|
+
@property
|
79286
|
+
def IsPublic(self):
|
79287
|
+
"""是否开放公网访问数语, 1:是,0:否,默认1开放
|
79288
|
+
:rtype: int
|
79289
|
+
"""
|
79290
|
+
return self._IsPublic
|
79291
|
+
|
79292
|
+
@IsPublic.setter
|
79293
|
+
def IsPublic(self, IsPublic):
|
79294
|
+
self._IsPublic = IsPublic
|
79295
|
+
|
79226
79296
|
|
79227
79297
|
def _deserialize(self, params):
|
79228
79298
|
self._CloudappId = params.get("CloudappId")
|
@@ -79233,6 +79303,11 @@ class UpdateDataModelRegistryInfoRequest(AbstractModel):
|
|
79233
79303
|
self._Provider = params.get("Provider")
|
79234
79304
|
self._TenantId = params.get("TenantId")
|
79235
79305
|
self._OwnId = params.get("OwnId")
|
79306
|
+
self._VpcId = params.get("VpcId")
|
79307
|
+
self._VpcRegion = params.get("VpcRegion")
|
79308
|
+
self._Pip = params.get("Pip")
|
79309
|
+
self._Pport = params.get("Pport")
|
79310
|
+
self._IsPublic = params.get("IsPublic")
|
79236
79311
|
memeber_set = set(params.keys())
|
79237
79312
|
for name, value in vars(self).items():
|
79238
79313
|
property_name = name[1:]
|