tencentcloud-sdk-python 3.0.1370__py2.py3-none-any.whl → 3.0.1371__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/ams_client.py +17 -6
- tencentcloud/ams/v20201229/models.py +8 -6
- tencentcloud/bi/v20220105/models.py +15 -0
- tencentcloud/cdb/v20170320/cdb_client.py +2 -2
- tencentcloud/cdb/v20170320/models.py +10 -10
- tencentcloud/cdwch/v20200915/errorcodes.py +15 -0
- tencentcloud/ckafka/v20190819/models.py +0 -8
- tencentcloud/cynosdb/v20190107/models.py +0 -6
- tencentcloud/gs/v20191118/models.py +51 -6
- tencentcloud/gwlb/v20240906/models.py +0 -24
- tencentcloud/ims/v20201229/models.py +6 -4
- tencentcloud/lighthouse/v20200324/models.py +2 -0
- tencentcloud/lke/v20231130/models.py +2 -0
- tencentcloud/postgres/v20170312/models.py +36 -106
- tencentcloud/soe/v20180724/models.py +4 -2
- tencentcloud/tse/v20201207/models.py +45 -0
- tencentcloud/tts/v20190823/tts_client.py +2 -2
- tencentcloud/vm/v20210922/models.py +2 -2
- tencentcloud/vm/v20210922/vm_client.py +16 -8
- tencentcloud/vod/v20180717/models.py +12 -0
- tencentcloud/wedata/v20210820/models.py +69 -26
- {tencentcloud_sdk_python-3.0.1370.dist-info → tencentcloud_sdk_python-3.0.1371.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1370.dist-info → tencentcloud_sdk_python-3.0.1371.dist-info}/RECORD +27 -27
- {tencentcloud_sdk_python-3.0.1370.dist-info → tencentcloud_sdk_python-3.0.1371.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1370.dist-info → tencentcloud_sdk_python-3.0.1371.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1370.dist-info → tencentcloud_sdk_python-3.0.1371.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -89,8 +89,19 @@ class AmsClient(AbstractClient):
|
|
89
89
|
|
90
90
|
### 功能使用说明:
|
91
91
|
- 前往“[内容安全控制台-音频内容安全](https://console.cloud.tencent.com/cms)”开启使用音频内容安全服务,首次开通可获得**10小时**免费调用时长,有效期为1个月。
|
92
|
-
|
93
|
-
|
92
|
+
|
93
|
+
### 审核并发限制说明:
|
94
|
+
|
95
|
+
- **点播音频(异步审核)**
|
96
|
+
- 默认并发路数:10
|
97
|
+
- 队列处理机制:
|
98
|
+
- 当并发任务达到上限时,新任务进入队列等待处理;
|
99
|
+
- 新送审任务优先处理,旧任务往后排;
|
100
|
+
- **直播音频(异步审核)**
|
101
|
+
- 默认并发路数:100
|
102
|
+
- 队列处理机制:
|
103
|
+
- 运行中的审核任务达到上限时,新请求会提示超频错误:`RequestLimitExceeded`,错误详细为:`You have reached the concurrency limit`;
|
104
|
+
- 不支持排队;
|
94
105
|
|
95
106
|
### 接口功能说明:
|
96
107
|
- 支持对音频流或音频文件进行检测,判断其中是否包含违规内容;
|
@@ -98,15 +109,15 @@ class AmsClient(AbstractClient):
|
|
98
109
|
- 支持识别违规内容,包括:低俗、谩骂、色情、广告等场景;
|
99
110
|
- 支持批量提交检测任务,检测任务列表**最多支持10个**。
|
100
111
|
|
101
|
-
###
|
112
|
+
### 音频文件流调用说明:
|
102
113
|
- 音频文件大小支持:**文件 < 500M**;
|
103
114
|
- 音频文件时长支持:**< 1小时**;
|
104
115
|
- 音频码率类型支持:128 Kbps - 256 Kbps ;
|
105
116
|
- 音频文件支持格式:wav、mp3、aac、flac、amr、3gp、 m4a、wma、ogg、ape;
|
106
117
|
- (**当输入为视频文件时**)支持分离视频文件音轨,并对音频内容进行独立审核。
|
107
118
|
|
108
|
-
###
|
109
|
-
-
|
119
|
+
### 直播音频流调用说明:
|
120
|
+
- 音频流时长支持:**24小时以内**,超过需要重新推送审核任务;
|
110
121
|
- 音频码率类型支持:128 Kbps - 256 Kbps ;
|
111
122
|
- 音频流支持的传输协议:RTMP、HTTP、HTTPS;
|
112
123
|
- 音频流格式支持的类型:rtp、srtp、rtmp、rtmps、mmsh、 mmst、hls、http、tcp、https、m3u8;
|
@@ -115,7 +126,7 @@ class AmsClient(AbstractClient):
|
|
115
126
|
### 直播断流处理说明:
|
116
127
|
- 请确认已对接[取消任务](https://cloud.tencent.com/document/product/1219/53258)。
|
117
128
|
- 如果直播任务取消/结束,则终止直播拉流并退出审核。
|
118
|
-
-
|
129
|
+
- 在直播任务未取消或结束的情况下,若推流中断(例如 `Operation not permitted` 错误),审核服务将在 10分钟内持续尝试重新拉流。检测到有效的图片或音频数据,审核将自动恢复正常;否则,10分钟后终止拉流并退出审核。此时如有需要,请重新提交审核请求。对于因网络问题导致的拉流失败(如 `HTTP 404 Not Found` 错误),系统将进行最多 16次重试。若成功获取有效数据,审核流程即刻恢复;若所有重试均失败,则同样终止拉流并退出审核,需用户重新送审。
|
119
130
|
|
120
131
|
:param request: Request instance for CreateAudioModerationTask.
|
121
132
|
:type request: :class:`tencentcloud.ams.v20201229.models.CreateAudioModerationTaskRequest`
|
@@ -1501,11 +1501,12 @@ class CreateAudioModerationTaskRequest(AbstractModel):
|
|
1501
1501
|
r"""
|
1502
1502
|
:param _Tasks: 该字段表示输入的音频审核任务信息,具体输入内容请参见TaskInput数据结构的详细描述。<br> 备注:最多同时可创建**10个任务**。
|
1503
1503
|
:type Tasks: list of TaskInput
|
1504
|
-
:param _BizType:
|
1504
|
+
:param _BizType: 该字段表示使用的策略的具体编号,该字段需要先在[内容安全控制台](https://console.cloud.tencent.com/cms/clouds/manage)中配置。
|
1505
|
+
备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。
|
1505
1506
|
:type BizType: str
|
1506
|
-
:param _Type:
|
1507
|
+
:param _Type: 该字段表示输入的音频审核类型,取值含:**AUDIO**(点播音频)、**LIVE_AUDIO**(直播音频)、**AUDIO_AIGC**(AI生成识别)三种,默认值为AUDIO。
|
1507
1508
|
:type Type: str
|
1508
|
-
:param _Seed:
|
1509
|
+
:param _Seed: 可选参数,该字段表示回调签名的key信息,用于保证数据的安全性。 签名方法为在返回的HTTP头部添加 X-Signature 的字段,值为: seed + body 的 SHA256 编码和Hex字符串,在收到回调数据后,可以根据返回的body,用 **sha256(seed + body)**, 计算出 `X-Signature` 进行验证。<br>具体使用实例可参考 [回调签名示例](https://cloud.tencent.com/document/product/1219/104000#42dd87d2-580f-46cf-a953-639a787d1eda)。
|
1509
1510
|
:type Seed: str
|
1510
1511
|
:param _CallbackUrl: 接收审核信息回调地址。如果设置了该字段,在审核过程中发现违规音频片段结果将发送至该接口。更多详情请参阅[回调配置说明](https://cloud.tencent.com/document/product/1219/104000)。
|
1511
1512
|
:type CallbackUrl: str
|
@@ -1532,7 +1533,8 @@ class CreateAudioModerationTaskRequest(AbstractModel):
|
|
1532
1533
|
|
1533
1534
|
@property
|
1534
1535
|
def BizType(self):
|
1535
|
-
"""
|
1536
|
+
"""该字段表示使用的策略的具体编号,该字段需要先在[内容安全控制台](https://console.cloud.tencent.com/cms/clouds/manage)中配置。
|
1537
|
+
备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。
|
1536
1538
|
:rtype: str
|
1537
1539
|
"""
|
1538
1540
|
return self._BizType
|
@@ -1543,7 +1545,7 @@ class CreateAudioModerationTaskRequest(AbstractModel):
|
|
1543
1545
|
|
1544
1546
|
@property
|
1545
1547
|
def Type(self):
|
1546
|
-
"""
|
1548
|
+
"""该字段表示输入的音频审核类型,取值含:**AUDIO**(点播音频)、**LIVE_AUDIO**(直播音频)、**AUDIO_AIGC**(AI生成识别)三种,默认值为AUDIO。
|
1547
1549
|
:rtype: str
|
1548
1550
|
"""
|
1549
1551
|
return self._Type
|
@@ -1554,7 +1556,7 @@ class CreateAudioModerationTaskRequest(AbstractModel):
|
|
1554
1556
|
|
1555
1557
|
@property
|
1556
1558
|
def Seed(self):
|
1557
|
-
"""
|
1559
|
+
"""可选参数,该字段表示回调签名的key信息,用于保证数据的安全性。 签名方法为在返回的HTTP头部添加 X-Signature 的字段,值为: seed + body 的 SHA256 编码和Hex字符串,在收到回调数据后,可以根据返回的body,用 **sha256(seed + body)**, 计算出 `X-Signature` 进行验证。<br>具体使用实例可参考 [回调签名示例](https://cloud.tencent.com/document/product/1219/104000#42dd87d2-580f-46cf-a953-639a787d1eda)。
|
1558
1560
|
:rtype: str
|
1559
1561
|
"""
|
1560
1562
|
return self._Seed
|
@@ -4570,6 +4570,8 @@ class DescribeUserProjectListRequest(AbstractModel):
|
|
4570
4570
|
:type IsFilterPerAuthUser: bool
|
4571
4571
|
:param _IsFilterCurrentUser: 是否过滤掉当前用户
|
4572
4572
|
:type IsFilterCurrentUser: bool
|
4573
|
+
:param _Keyword: 关键字
|
4574
|
+
:type Keyword: str
|
4573
4575
|
"""
|
4574
4576
|
self._ProjectId = None
|
4575
4577
|
self._AllPage = None
|
@@ -4577,6 +4579,7 @@ class DescribeUserProjectListRequest(AbstractModel):
|
|
4577
4579
|
self._PageSize = None
|
4578
4580
|
self._IsFilterPerAuthUser = None
|
4579
4581
|
self._IsFilterCurrentUser = None
|
4582
|
+
self._Keyword = None
|
4580
4583
|
|
4581
4584
|
@property
|
4582
4585
|
def ProjectId(self):
|
@@ -4644,6 +4647,17 @@ class DescribeUserProjectListRequest(AbstractModel):
|
|
4644
4647
|
def IsFilterCurrentUser(self, IsFilterCurrentUser):
|
4645
4648
|
self._IsFilterCurrentUser = IsFilterCurrentUser
|
4646
4649
|
|
4650
|
+
@property
|
4651
|
+
def Keyword(self):
|
4652
|
+
"""关键字
|
4653
|
+
:rtype: str
|
4654
|
+
"""
|
4655
|
+
return self._Keyword
|
4656
|
+
|
4657
|
+
@Keyword.setter
|
4658
|
+
def Keyword(self, Keyword):
|
4659
|
+
self._Keyword = Keyword
|
4660
|
+
|
4647
4661
|
|
4648
4662
|
def _deserialize(self, params):
|
4649
4663
|
self._ProjectId = params.get("ProjectId")
|
@@ -4652,6 +4666,7 @@ class DescribeUserProjectListRequest(AbstractModel):
|
|
4652
4666
|
self._PageSize = params.get("PageSize")
|
4653
4667
|
self._IsFilterPerAuthUser = params.get("IsFilterPerAuthUser")
|
4654
4668
|
self._IsFilterCurrentUser = params.get("IsFilterCurrentUser")
|
4669
|
+
self._Keyword = params.get("Keyword")
|
4655
4670
|
memeber_set = set(params.keys())
|
4656
4671
|
for name, value in vars(self).items():
|
4657
4672
|
property_name = name[1:]
|
@@ -165,7 +165,7 @@ class CdbClient(AbstractClient):
|
|
165
165
|
|
166
166
|
|
167
167
|
def CheckMigrateCluster(self, request):
|
168
|
-
"""本接口(CheckMigrateCluster
|
168
|
+
"""本接口(CheckMigrateCluster)用于高可用实例一键迁移到云盘版校验。
|
169
169
|
|
170
170
|
:param request: Request instance for CheckMigrateCluster.
|
171
171
|
:type request: :class:`tencentcloud.cdb.v20170320.models.CheckMigrateClusterRequest`
|
@@ -1521,7 +1521,7 @@ class CdbClient(AbstractClient):
|
|
1521
1521
|
|
1522
1522
|
|
1523
1523
|
def DescribeClusterInfo(self, request):
|
1524
|
-
"""本接口(DescribeClusterInfo
|
1524
|
+
"""本接口(DescribeClusterInfo)用于查询云盘版实例信息。
|
1525
1525
|
|
1526
1526
|
:param request: Request instance for DescribeClusterInfo.
|
1527
1527
|
:type request: :class:`tencentcloud.cdb.v20170320.models.DescribeClusterInfoRequest`
|
@@ -4837,9 +4837,9 @@ class CheckMigrateClusterRequest(AbstractModel):
|
|
4837
4837
|
:type Volume: int
|
4838
4838
|
:param _DiskType: 磁盘类型。 CLOUD_SSD: SSD云硬盘; CLOUD_HSSD: 增强型SSD云硬盘
|
4839
4839
|
:type DiskType: str
|
4840
|
-
:param _ClusterTopology:
|
4840
|
+
:param _ClusterTopology: 云盘版节点拓扑配置。
|
4841
4841
|
:type ClusterTopology: :class:`tencentcloud.cdb.v20170320.models.ClusterTopology`
|
4842
|
-
:param _DeviceType: 迁移实例类型。支持值包括: "CLOUD_NATIVE_CLUSTER" -
|
4842
|
+
:param _DeviceType: 迁移实例类型。支持值包括: "CLOUD_NATIVE_CLUSTER" - 标准型云盘版实例, "CLOUD_NATIVE_CLUSTER_EXCLUSIVE" - 加强型云盘版实例。
|
4843
4843
|
:type DeviceType: str
|
4844
4844
|
:param _RoInfo: 只读实例信息
|
4845
4845
|
:type RoInfo: list of MigrateClusterRoInfo
|
@@ -4910,7 +4910,7 @@ class CheckMigrateClusterRequest(AbstractModel):
|
|
4910
4910
|
|
4911
4911
|
@property
|
4912
4912
|
def ClusterTopology(self):
|
4913
|
-
"""
|
4913
|
+
"""云盘版节点拓扑配置。
|
4914
4914
|
:rtype: :class:`tencentcloud.cdb.v20170320.models.ClusterTopology`
|
4915
4915
|
"""
|
4916
4916
|
return self._ClusterTopology
|
@@ -4921,7 +4921,7 @@ class CheckMigrateClusterRequest(AbstractModel):
|
|
4921
4921
|
|
4922
4922
|
@property
|
4923
4923
|
def DeviceType(self):
|
4924
|
-
"""迁移实例类型。支持值包括: "CLOUD_NATIVE_CLUSTER" -
|
4924
|
+
"""迁移实例类型。支持值包括: "CLOUD_NATIVE_CLUSTER" - 标准型云盘版实例, "CLOUD_NATIVE_CLUSTER_EXCLUSIVE" - 加强型云盘版实例。
|
4925
4925
|
:rtype: str
|
4926
4926
|
"""
|
4927
4927
|
return self._DeviceType
|
@@ -15268,11 +15268,11 @@ class DescribeClusterInfoResponse(AbstractModel):
|
|
15268
15268
|
r"""
|
15269
15269
|
:param _ClusterName: 实例名称。
|
15270
15270
|
:type ClusterName: str
|
15271
|
-
:param _ReadWriteAddress:
|
15271
|
+
:param _ReadWriteAddress: 云盘版实例的读写地址信息。
|
15272
15272
|
:type ReadWriteAddress: :class:`tencentcloud.cdb.v20170320.models.AddressInfo`
|
15273
|
-
:param _ReadOnlyAddress:
|
15273
|
+
:param _ReadOnlyAddress: 云盘版实例的只读地址信息。
|
15274
15274
|
:type ReadOnlyAddress: list of AddressInfo
|
15275
|
-
:param _NodeList:
|
15275
|
+
:param _NodeList: 云盘版实例的节点列表信息。
|
15276
15276
|
:type NodeList: list of ClusterNodeInfo
|
15277
15277
|
:param _ReadonlyLimit: 只读空间保护阈值,单位GB
|
15278
15278
|
:type ReadonlyLimit: int
|
@@ -15302,7 +15302,7 @@ class DescribeClusterInfoResponse(AbstractModel):
|
|
15302
15302
|
|
15303
15303
|
@property
|
15304
15304
|
def ReadWriteAddress(self):
|
15305
|
-
"""
|
15305
|
+
"""云盘版实例的读写地址信息。
|
15306
15306
|
:rtype: :class:`tencentcloud.cdb.v20170320.models.AddressInfo`
|
15307
15307
|
"""
|
15308
15308
|
return self._ReadWriteAddress
|
@@ -15313,7 +15313,7 @@ class DescribeClusterInfoResponse(AbstractModel):
|
|
15313
15313
|
|
15314
15314
|
@property
|
15315
15315
|
def ReadOnlyAddress(self):
|
15316
|
-
"""
|
15316
|
+
"""云盘版实例的只读地址信息。
|
15317
15317
|
:rtype: list of AddressInfo
|
15318
15318
|
"""
|
15319
15319
|
return self._ReadOnlyAddress
|
@@ -15324,7 +15324,7 @@ class DescribeClusterInfoResponse(AbstractModel):
|
|
15324
15324
|
|
15325
15325
|
@property
|
15326
15326
|
def NodeList(self):
|
15327
|
-
"""
|
15327
|
+
"""云盘版实例的节点列表信息。
|
15328
15328
|
:rtype: list of ClusterNodeInfo
|
15329
15329
|
"""
|
15330
15330
|
return self._NodeList
|
@@ -20,5 +20,20 @@ FAILEDOPERATION = 'FailedOperation'
|
|
20
20
|
# 内部错误。
|
21
21
|
INTERNALERROR = 'InternalError'
|
22
22
|
|
23
|
+
# 参数错误。
|
24
|
+
INVALIDPARAMETER = 'InvalidParameter'
|
25
|
+
|
26
|
+
# 参数取值错误。
|
27
|
+
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
28
|
+
|
29
|
+
# 操作被拒绝。
|
30
|
+
OPERATIONDENIED = 'OperationDenied'
|
31
|
+
|
23
32
|
# 资源不存在。
|
24
33
|
RESOURCENOTFOUND = 'ResourceNotFound'
|
34
|
+
|
35
|
+
# 资源不可用。
|
36
|
+
RESOURCEUNAVAILABLE = 'ResourceUnavailable'
|
37
|
+
|
38
|
+
# 未知参数错误。
|
39
|
+
UNKNOWNPARAMETER = 'UnknownParameter'
|
@@ -7972,12 +7972,10 @@ class CvmAndIpInfo(AbstractModel):
|
|
7972
7972
|
def __init__(self):
|
7973
7973
|
r"""
|
7974
7974
|
:param _CkafkaInstanceId: ckafka集群实例Id
|
7975
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7976
7975
|
:type CkafkaInstanceId: str
|
7977
7976
|
:param _InstanceId: CVM实例ID
|
7978
7977
|
:type InstanceId: str
|
7979
7978
|
:param _Ip: IP地址
|
7980
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7981
7979
|
:type Ip: str
|
7982
7980
|
"""
|
7983
7981
|
self._CkafkaInstanceId = None
|
@@ -7987,7 +7985,6 @@ class CvmAndIpInfo(AbstractModel):
|
|
7987
7985
|
@property
|
7988
7986
|
def CkafkaInstanceId(self):
|
7989
7987
|
"""ckafka集群实例Id
|
7990
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7991
7988
|
:rtype: str
|
7992
7989
|
"""
|
7993
7990
|
return self._CkafkaInstanceId
|
@@ -8010,7 +8007,6 @@ class CvmAndIpInfo(AbstractModel):
|
|
8010
8007
|
@property
|
8011
8008
|
def Ip(self):
|
8012
8009
|
"""IP地址
|
8013
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8014
8010
|
:rtype: str
|
8015
8011
|
"""
|
8016
8012
|
return self._Ip
|
@@ -22431,10 +22427,8 @@ class ListCvmAndIpInfoRsp(AbstractModel):
|
|
22431
22427
|
def __init__(self):
|
22432
22428
|
r"""
|
22433
22429
|
:param _CvmList: cvm和IP 列表
|
22434
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
22435
22430
|
:type CvmList: list of CvmAndIpInfo
|
22436
22431
|
:param _TotalCount: 实例数据量
|
22437
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
22438
22432
|
:type TotalCount: int
|
22439
22433
|
"""
|
22440
22434
|
self._CvmList = None
|
@@ -22443,7 +22437,6 @@ class ListCvmAndIpInfoRsp(AbstractModel):
|
|
22443
22437
|
@property
|
22444
22438
|
def CvmList(self):
|
22445
22439
|
"""cvm和IP 列表
|
22446
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
22447
22440
|
:rtype: list of CvmAndIpInfo
|
22448
22441
|
"""
|
22449
22442
|
return self._CvmList
|
@@ -22455,7 +22448,6 @@ class ListCvmAndIpInfoRsp(AbstractModel):
|
|
22455
22448
|
@property
|
22456
22449
|
def TotalCount(self):
|
22457
22450
|
"""实例数据量
|
22458
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
22459
22451
|
:rtype: int
|
22460
22452
|
"""
|
22461
22453
|
return self._TotalCount
|
@@ -19946,7 +19946,6 @@ class DescribeSSLStatusResponse(AbstractModel):
|
|
19946
19946
|
def __init__(self):
|
19947
19947
|
r"""
|
19948
19948
|
:param _IsOpenSSL: yes-开启,no-关闭
|
19949
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19950
19949
|
:type IsOpenSSL: str
|
19951
19950
|
:param _DownloadUrl: 证书下载地址
|
19952
19951
|
:type DownloadUrl: str
|
@@ -19960,7 +19959,6 @@ class DescribeSSLStatusResponse(AbstractModel):
|
|
19960
19959
|
@property
|
19961
19960
|
def IsOpenSSL(self):
|
19962
19961
|
"""yes-开启,no-关闭
|
19963
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19964
19962
|
:rtype: str
|
19965
19963
|
"""
|
19966
19964
|
return self._IsOpenSSL
|
@@ -29799,10 +29797,8 @@ class OpenSSLResponse(AbstractModel):
|
|
29799
29797
|
def __init__(self):
|
29800
29798
|
r"""
|
29801
29799
|
:param _FlowId: 任务流ID
|
29802
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29803
29800
|
:type FlowId: int
|
29804
29801
|
:param _TaskId: 任务id
|
29805
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29806
29802
|
:type TaskId: int
|
29807
29803
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
29808
29804
|
:type RequestId: str
|
@@ -29814,7 +29810,6 @@ class OpenSSLResponse(AbstractModel):
|
|
29814
29810
|
@property
|
29815
29811
|
def FlowId(self):
|
29816
29812
|
"""任务流ID
|
29817
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29818
29813
|
:rtype: int
|
29819
29814
|
"""
|
29820
29815
|
return self._FlowId
|
@@ -29826,7 +29821,6 @@ class OpenSSLResponse(AbstractModel):
|
|
29826
29821
|
@property
|
29827
29822
|
def TaskId(self):
|
29828
29823
|
"""任务id
|
29829
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29830
29824
|
:rtype: int
|
29831
29825
|
"""
|
29832
29826
|
return self._TaskId
|
@@ -215,13 +215,16 @@ CREATE_FAIL:创建失败、CREATE_SUCCESS:创建成功)
|
|
215
215
|
:type State: str
|
216
216
|
:param _CreateTime: 安卓应用版本创建时间
|
217
217
|
:type CreateTime: str
|
218
|
-
:param _Command: shell
|
218
|
+
:param _Command: shell 安装命令(支持多条命令执行,通过 && 组合;只在应用 AppMode 为 ADVANCED 高级模式下 才会生效)
|
219
219
|
:type Command: str
|
220
|
+
:param _UninstallCommand: shell 卸载命令(支持多条命令执行,通过 && 组合;只在应用 AppMode 为 ADVANCED 高级模式下 才会生效)
|
221
|
+
:type UninstallCommand: str
|
220
222
|
"""
|
221
223
|
self._AndroidAppVersion = None
|
222
224
|
self._State = None
|
223
225
|
self._CreateTime = None
|
224
226
|
self._Command = None
|
227
|
+
self._UninstallCommand = None
|
225
228
|
|
226
229
|
@property
|
227
230
|
def AndroidAppVersion(self):
|
@@ -260,7 +263,7 @@ CREATE_FAIL:创建失败、CREATE_SUCCESS:创建成功)
|
|
260
263
|
|
261
264
|
@property
|
262
265
|
def Command(self):
|
263
|
-
"""shell
|
266
|
+
"""shell 安装命令(支持多条命令执行,通过 && 组合;只在应用 AppMode 为 ADVANCED 高级模式下 才会生效)
|
264
267
|
:rtype: str
|
265
268
|
"""
|
266
269
|
return self._Command
|
@@ -269,12 +272,24 @@ CREATE_FAIL:创建失败、CREATE_SUCCESS:创建成功)
|
|
269
272
|
def Command(self, Command):
|
270
273
|
self._Command = Command
|
271
274
|
|
275
|
+
@property
|
276
|
+
def UninstallCommand(self):
|
277
|
+
"""shell 卸载命令(支持多条命令执行,通过 && 组合;只在应用 AppMode 为 ADVANCED 高级模式下 才会生效)
|
278
|
+
:rtype: str
|
279
|
+
"""
|
280
|
+
return self._UninstallCommand
|
281
|
+
|
282
|
+
@UninstallCommand.setter
|
283
|
+
def UninstallCommand(self, UninstallCommand):
|
284
|
+
self._UninstallCommand = UninstallCommand
|
285
|
+
|
272
286
|
|
273
287
|
def _deserialize(self, params):
|
274
288
|
self._AndroidAppVersion = params.get("AndroidAppVersion")
|
275
289
|
self._State = params.get("State")
|
276
290
|
self._CreateTime = params.get("CreateTime")
|
277
291
|
self._Command = params.get("Command")
|
292
|
+
self._UninstallCommand = params.get("UninstallCommand")
|
278
293
|
memeber_set = set(params.keys())
|
279
294
|
for name, value in vars(self).items():
|
280
295
|
property_name = name[1:]
|
@@ -1569,12 +1584,15 @@ class CreateAndroidAppVersionRequest(AbstractModel):
|
|
1569
1584
|
:type AndroidAppId: str
|
1570
1585
|
:param _DownloadUrl: 应用包下载地址
|
1571
1586
|
:type DownloadUrl: str
|
1572
|
-
:param _Command: shell
|
1587
|
+
:param _Command: 应用 shell 安装命令(支持多条命令执行,通过 && 组合;只在应用 AppMode 为 ADVANCED 高级模式下 才会生效)
|
1573
1588
|
:type Command: str
|
1589
|
+
:param _UninstallCommand: 应用 shell 卸载命令(支持多条命令执行,通过 && 组合;只在应用 AppMode 为 ADVANCED 高级模式下 才会生效)
|
1590
|
+
:type UninstallCommand: str
|
1574
1591
|
"""
|
1575
1592
|
self._AndroidAppId = None
|
1576
1593
|
self._DownloadUrl = None
|
1577
1594
|
self._Command = None
|
1595
|
+
self._UninstallCommand = None
|
1578
1596
|
|
1579
1597
|
@property
|
1580
1598
|
def AndroidAppId(self):
|
@@ -1600,7 +1618,7 @@ class CreateAndroidAppVersionRequest(AbstractModel):
|
|
1600
1618
|
|
1601
1619
|
@property
|
1602
1620
|
def Command(self):
|
1603
|
-
"""shell
|
1621
|
+
"""应用 shell 安装命令(支持多条命令执行,通过 && 组合;只在应用 AppMode 为 ADVANCED 高级模式下 才会生效)
|
1604
1622
|
:rtype: str
|
1605
1623
|
"""
|
1606
1624
|
return self._Command
|
@@ -1609,11 +1627,23 @@ class CreateAndroidAppVersionRequest(AbstractModel):
|
|
1609
1627
|
def Command(self, Command):
|
1610
1628
|
self._Command = Command
|
1611
1629
|
|
1630
|
+
@property
|
1631
|
+
def UninstallCommand(self):
|
1632
|
+
"""应用 shell 卸载命令(支持多条命令执行,通过 && 组合;只在应用 AppMode 为 ADVANCED 高级模式下 才会生效)
|
1633
|
+
:rtype: str
|
1634
|
+
"""
|
1635
|
+
return self._UninstallCommand
|
1636
|
+
|
1637
|
+
@UninstallCommand.setter
|
1638
|
+
def UninstallCommand(self, UninstallCommand):
|
1639
|
+
self._UninstallCommand = UninstallCommand
|
1640
|
+
|
1612
1641
|
|
1613
1642
|
def _deserialize(self, params):
|
1614
1643
|
self._AndroidAppId = params.get("AndroidAppId")
|
1615
1644
|
self._DownloadUrl = params.get("DownloadUrl")
|
1616
1645
|
self._Command = params.get("Command")
|
1646
|
+
self._UninstallCommand = params.get("UninstallCommand")
|
1617
1647
|
memeber_set = set(params.keys())
|
1618
1648
|
for name, value in vars(self).items():
|
1619
1649
|
property_name = name[1:]
|
@@ -4852,13 +4882,16 @@ class ModifyAndroidAppVersionRequest(AbstractModel):
|
|
4852
4882
|
:type AndroidAppVersion: str
|
4853
4883
|
:param _AndroidAppVersionName: 安卓应用版本名称
|
4854
4884
|
:type AndroidAppVersionName: str
|
4855
|
-
:param _Command: shell
|
4885
|
+
:param _Command: 应用 shell 安装命令(支持多条命令执行,通过 && 组合;只在应用 AppMode 为 ADVANCED 高级模式下 才会生效)
|
4856
4886
|
:type Command: str
|
4887
|
+
:param _UninstallCommand: 应用 shell 卸载命令(支持多条命令执行,通过 && 组合;只在应用 AppMode 为 ADVANCED 高级模式下 才会生效)
|
4888
|
+
:type UninstallCommand: str
|
4857
4889
|
"""
|
4858
4890
|
self._AndroidAppId = None
|
4859
4891
|
self._AndroidAppVersion = None
|
4860
4892
|
self._AndroidAppVersionName = None
|
4861
4893
|
self._Command = None
|
4894
|
+
self._UninstallCommand = None
|
4862
4895
|
|
4863
4896
|
@property
|
4864
4897
|
def AndroidAppId(self):
|
@@ -4895,7 +4928,7 @@ class ModifyAndroidAppVersionRequest(AbstractModel):
|
|
4895
4928
|
|
4896
4929
|
@property
|
4897
4930
|
def Command(self):
|
4898
|
-
"""shell
|
4931
|
+
"""应用 shell 安装命令(支持多条命令执行,通过 && 组合;只在应用 AppMode 为 ADVANCED 高级模式下 才会生效)
|
4899
4932
|
:rtype: str
|
4900
4933
|
"""
|
4901
4934
|
return self._Command
|
@@ -4904,12 +4937,24 @@ class ModifyAndroidAppVersionRequest(AbstractModel):
|
|
4904
4937
|
def Command(self, Command):
|
4905
4938
|
self._Command = Command
|
4906
4939
|
|
4940
|
+
@property
|
4941
|
+
def UninstallCommand(self):
|
4942
|
+
"""应用 shell 卸载命令(支持多条命令执行,通过 && 组合;只在应用 AppMode 为 ADVANCED 高级模式下 才会生效)
|
4943
|
+
:rtype: str
|
4944
|
+
"""
|
4945
|
+
return self._UninstallCommand
|
4946
|
+
|
4947
|
+
@UninstallCommand.setter
|
4948
|
+
def UninstallCommand(self, UninstallCommand):
|
4949
|
+
self._UninstallCommand = UninstallCommand
|
4950
|
+
|
4907
4951
|
|
4908
4952
|
def _deserialize(self, params):
|
4909
4953
|
self._AndroidAppId = params.get("AndroidAppId")
|
4910
4954
|
self._AndroidAppVersion = params.get("AndroidAppVersion")
|
4911
4955
|
self._AndroidAppVersionName = params.get("AndroidAppVersionName")
|
4912
4956
|
self._Command = params.get("Command")
|
4957
|
+
self._UninstallCommand = params.get("UninstallCommand")
|
4913
4958
|
memeber_set = set(params.keys())
|
4914
4959
|
for name, value in vars(self).items():
|
4915
4960
|
property_name = name[1:]
|
@@ -263,10 +263,8 @@ class CreateGatewayLoadBalancerResponse(AbstractModel):
|
|
263
263
|
r"""
|
264
264
|
:param _LoadBalancerIds: 由网关负载均衡实例唯一 ID 组成的数组。
|
265
265
|
存在某些场景,如创建出现延迟时,此字段可能返回为空;此时可以根据接口返回的RequestId或DealName参数,通过[DescribeTaskStatus](https://cloud.tencent.com/document/api/1782/111700)接口查询创建的资源ID。
|
266
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
267
266
|
:type LoadBalancerIds: list of str
|
268
267
|
:param _DealName: 订单号。
|
269
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
270
268
|
:type DealName: str
|
271
269
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
272
270
|
:type RequestId: str
|
@@ -279,7 +277,6 @@ class CreateGatewayLoadBalancerResponse(AbstractModel):
|
|
279
277
|
def LoadBalancerIds(self):
|
280
278
|
"""由网关负载均衡实例唯一 ID 组成的数组。
|
281
279
|
存在某些场景,如创建出现延迟时,此字段可能返回为空;此时可以根据接口返回的RequestId或DealName参数,通过[DescribeTaskStatus](https://cloud.tencent.com/document/api/1782/111700)接口查询创建的资源ID。
|
282
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
283
280
|
:rtype: list of str
|
284
281
|
"""
|
285
282
|
return self._LoadBalancerIds
|
@@ -291,7 +288,6 @@ class CreateGatewayLoadBalancerResponse(AbstractModel):
|
|
291
288
|
@property
|
292
289
|
def DealName(self):
|
293
290
|
"""订单号。
|
294
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
295
291
|
:rtype: str
|
296
292
|
"""
|
297
293
|
return self._DealName
|
@@ -2045,10 +2041,8 @@ class ItemPrice(AbstractModel):
|
|
2045
2041
|
def __init__(self):
|
2046
2042
|
r"""
|
2047
2043
|
:param _UnitPrice: 后付费单价,单位:元。
|
2048
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2049
2044
|
:type UnitPrice: float
|
2050
2045
|
:param _ChargeUnit: 后付费计价单元,可取值范围: HOUR:表示计价单元是按每小时来计算。当前涉及该计价单元的场景有:实例按小时后付费(POSTPAID_BY_HOUR)。
|
2051
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2052
2046
|
:type ChargeUnit: str
|
2053
2047
|
:param _OriginalPrice: 预支费用的原价,单位:元。
|
2054
2048
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -2057,10 +2051,8 @@ class ItemPrice(AbstractModel):
|
|
2057
2051
|
注意:此字段可能返回 null,表示取不到有效值。
|
2058
2052
|
:type DiscountPrice: float
|
2059
2053
|
:param _UnitPriceDiscount: 后付费的折扣单价,单位:元。
|
2060
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2061
2054
|
:type UnitPriceDiscount: float
|
2062
2055
|
:param _Discount: 折扣,如20.0代表2折。
|
2063
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2064
2056
|
:type Discount: float
|
2065
2057
|
"""
|
2066
2058
|
self._UnitPrice = None
|
@@ -2073,7 +2065,6 @@ class ItemPrice(AbstractModel):
|
|
2073
2065
|
@property
|
2074
2066
|
def UnitPrice(self):
|
2075
2067
|
"""后付费单价,单位:元。
|
2076
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2077
2068
|
:rtype: float
|
2078
2069
|
"""
|
2079
2070
|
return self._UnitPrice
|
@@ -2085,7 +2076,6 @@ class ItemPrice(AbstractModel):
|
|
2085
2076
|
@property
|
2086
2077
|
def ChargeUnit(self):
|
2087
2078
|
"""后付费计价单元,可取值范围: HOUR:表示计价单元是按每小时来计算。当前涉及该计价单元的场景有:实例按小时后付费(POSTPAID_BY_HOUR)。
|
2088
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2089
2079
|
:rtype: str
|
2090
2080
|
"""
|
2091
2081
|
return self._ChargeUnit
|
@@ -2121,7 +2111,6 @@ class ItemPrice(AbstractModel):
|
|
2121
2111
|
@property
|
2122
2112
|
def UnitPriceDiscount(self):
|
2123
2113
|
"""后付费的折扣单价,单位:元。
|
2124
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2125
2114
|
:rtype: float
|
2126
2115
|
"""
|
2127
2116
|
return self._UnitPriceDiscount
|
@@ -2133,7 +2122,6 @@ class ItemPrice(AbstractModel):
|
|
2133
2122
|
@property
|
2134
2123
|
def Discount(self):
|
2135
2124
|
"""折扣,如20.0代表2折。
|
2136
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2137
2125
|
:rtype: float
|
2138
2126
|
"""
|
2139
2127
|
return self._Discount
|
@@ -2457,10 +2445,8 @@ class Price(AbstractModel):
|
|
2457
2445
|
def __init__(self):
|
2458
2446
|
r"""
|
2459
2447
|
:param _InstancePrice: 描述了实例价格。
|
2460
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2461
2448
|
:type InstancePrice: :class:`tencentcloud.gwlb.v20240906.models.ItemPrice`
|
2462
2449
|
:param _LcuPrice: 描述了GLCU的价格。
|
2463
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2464
2450
|
:type LcuPrice: :class:`tencentcloud.gwlb.v20240906.models.ItemPrice`
|
2465
2451
|
"""
|
2466
2452
|
self._InstancePrice = None
|
@@ -2469,7 +2455,6 @@ class Price(AbstractModel):
|
|
2469
2455
|
@property
|
2470
2456
|
def InstancePrice(self):
|
2471
2457
|
"""描述了实例价格。
|
2472
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2473
2458
|
:rtype: :class:`tencentcloud.gwlb.v20240906.models.ItemPrice`
|
2474
2459
|
"""
|
2475
2460
|
return self._InstancePrice
|
@@ -2481,7 +2466,6 @@ class Price(AbstractModel):
|
|
2481
2466
|
@property
|
2482
2467
|
def LcuPrice(self):
|
2483
2468
|
"""描述了GLCU的价格。
|
2484
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2485
2469
|
:rtype: :class:`tencentcloud.gwlb.v20240906.models.ItemPrice`
|
2486
2470
|
"""
|
2487
2471
|
return self._LcuPrice
|
@@ -2712,16 +2696,12 @@ class TargetGroupBackend(AbstractModel):
|
|
2712
2696
|
:param _Weight: 后端服务的转发权重,取值为0或16
|
2713
2697
|
:type Weight: int
|
2714
2698
|
:param _PublicIpAddresses: 后端服务的外网 IP
|
2715
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2716
2699
|
:type PublicIpAddresses: list of str
|
2717
2700
|
:param _PrivateIpAddresses: 后端服务的内网 IP
|
2718
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2719
2701
|
:type PrivateIpAddresses: list of str
|
2720
2702
|
:param _InstanceName: 后端服务的实例名称
|
2721
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2722
2703
|
:type InstanceName: str
|
2723
2704
|
:param _RegisteredTime: 后端服务被绑定的时间
|
2724
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2725
2705
|
:type RegisteredTime: str
|
2726
2706
|
:param _EniId: 弹性网卡唯一ID
|
2727
2707
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -2800,7 +2780,6 @@ class TargetGroupBackend(AbstractModel):
|
|
2800
2780
|
@property
|
2801
2781
|
def PublicIpAddresses(self):
|
2802
2782
|
"""后端服务的外网 IP
|
2803
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2804
2783
|
:rtype: list of str
|
2805
2784
|
"""
|
2806
2785
|
return self._PublicIpAddresses
|
@@ -2812,7 +2791,6 @@ class TargetGroupBackend(AbstractModel):
|
|
2812
2791
|
@property
|
2813
2792
|
def PrivateIpAddresses(self):
|
2814
2793
|
"""后端服务的内网 IP
|
2815
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2816
2794
|
:rtype: list of str
|
2817
2795
|
"""
|
2818
2796
|
return self._PrivateIpAddresses
|
@@ -2824,7 +2802,6 @@ class TargetGroupBackend(AbstractModel):
|
|
2824
2802
|
@property
|
2825
2803
|
def InstanceName(self):
|
2826
2804
|
"""后端服务的实例名称
|
2827
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2828
2805
|
:rtype: str
|
2829
2806
|
"""
|
2830
2807
|
return self._InstanceName
|
@@ -2836,7 +2813,6 @@ class TargetGroupBackend(AbstractModel):
|
|
2836
2813
|
@property
|
2837
2814
|
def RegisteredTime(self):
|
2838
2815
|
"""后端服务被绑定的时间
|
2839
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2840
2816
|
:rtype: str
|
2841
2817
|
"""
|
2842
2818
|
return self._RegisteredTime
|