tencentcloud-sdk-python 3.0.1271__py2.py3-none-any.whl → 3.0.1273__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/billing/v20180709/models.py +0 -6
- tencentcloud/bsca/v20210811/models.py +17 -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/cdwdoris/v20211228/models.py +73 -0
- tencentcloud/cfg/v20210820/cfg_client.py +23 -0
- tencentcloud/cfg/v20210820/models.py +210 -0
- tencentcloud/cfs/v20190719/models.py +4 -4
- tencentcloud/cvm/v20170312/models.py +2 -2
- tencentcloud/cynosdb/v20190107/models.py +19 -2
- tencentcloud/dnspod/v20210323/errorcodes.py +3 -3
- tencentcloud/dnspod/v20210323/models.py +2 -2
- tencentcloud/dts/v20211206/models.py +2 -2
- tencentcloud/essbasic/v20210526/essbasic_client.py +1 -1
- tencentcloud/essbasic/v20210526/models.py +2 -2
- tencentcloud/gwlb/v20240906/errorcodes.py +3 -0
- tencentcloud/gwlb/v20240906/models.py +2 -2
- tencentcloud/iotexplorer/v20190423/models.py +17 -17
- tencentcloud/live/v20180801/errorcodes.py +57 -0
- tencentcloud/live/v20180801/live_client.py +302 -0
- tencentcloud/live/v20180801/models.py +1965 -132
- tencentcloud/lke/v20231130/lke_client.py +23 -0
- tencentcloud/lke/v20231130/models.py +1464 -220
- tencentcloud/ocr/v20181119/models.py +31 -0
- tencentcloud/svp/v20240125/models.py +0 -2
- tencentcloud/thpc/v20230321/models.py +4 -4
- tencentcloud/tke/v20180525/models.py +15 -0
- tencentcloud/trtc/v20190722/models.py +46 -4
- tencentcloud/tse/v20201207/models.py +6 -6
- tencentcloud/vpc/v20170312/models.py +0 -6
- tencentcloud/vpc/v20170312/vpc_client.py +0 -1
- tencentcloud/wedata/v20210820/models.py +6 -6
- {tencentcloud_sdk_python-3.0.1271.dist-info → tencentcloud_sdk_python-3.0.1273.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1271.dist-info → tencentcloud_sdk_python-3.0.1273.dist-info}/RECORD +39 -39
- {tencentcloud_sdk_python-3.0.1271.dist-info → tencentcloud_sdk_python-3.0.1273.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1271.dist-info → tencentcloud_sdk_python-3.0.1273.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1271.dist-info → tencentcloud_sdk_python-3.0.1273.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -24166,7 +24166,6 @@ class DescribeVoucherInfoResponse(AbstractModel):
|
|
24166
24166
|
:param _TotalBalance: 总余额(微分)
|
24167
24167
|
:type TotalBalance: int
|
24168
24168
|
:param _VoucherInfos: 代金券相关信息
|
24169
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
24170
24169
|
:type VoucherInfos: list of VoucherInfos
|
24171
24170
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
24172
24171
|
:type RequestId: str
|
@@ -24201,7 +24200,6 @@ class DescribeVoucherInfoResponse(AbstractModel):
|
|
24201
24200
|
@property
|
24202
24201
|
def VoucherInfos(self):
|
24203
24202
|
"""代金券相关信息
|
24204
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
24205
24203
|
:rtype: list of VoucherInfos
|
24206
24204
|
"""
|
24207
24205
|
return self._VoucherInfos
|
@@ -27913,10 +27911,8 @@ class VoucherInfos(AbstractModel):
|
|
27913
27911
|
:param _EndTime: 有效期截止时间
|
27914
27912
|
:type EndTime: str
|
27915
27913
|
:param _ApplicableProducts: 适用商品信息
|
27916
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
27917
27914
|
:type ApplicableProducts: :class:`tencentcloud.billing.v20180709.models.ApplicableProducts`
|
27918
27915
|
:param _ExcludedProducts: 不适用商品信息
|
27919
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
27920
27916
|
:type ExcludedProducts: list of ExcludedProducts
|
27921
27917
|
"""
|
27922
27918
|
self._OwnerUin = None
|
@@ -28033,7 +28029,6 @@ class VoucherInfos(AbstractModel):
|
|
28033
28029
|
@property
|
28034
28030
|
def ApplicableProducts(self):
|
28035
28031
|
"""适用商品信息
|
28036
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
28037
28032
|
:rtype: :class:`tencentcloud.billing.v20180709.models.ApplicableProducts`
|
28038
28033
|
"""
|
28039
28034
|
return self._ApplicableProducts
|
@@ -28045,7 +28040,6 @@ class VoucherInfos(AbstractModel):
|
|
28045
28040
|
@property
|
28046
28041
|
def ExcludedProducts(self):
|
28047
28042
|
"""不适用商品信息
|
28048
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
28049
28043
|
:rtype: list of ExcludedProducts
|
28050
28044
|
"""
|
28051
28045
|
return self._ExcludedProducts
|
@@ -1340,14 +1340,17 @@ class DescribeKBComponentVulnerabilityResponse(AbstractModel):
|
|
1340
1340
|
:type VulnerabilityList: list of ComponentVulnerabilityUnion
|
1341
1341
|
:param _PURL: 组件purl
|
1342
1342
|
:type PURL: :class:`tencentcloud.bsca.v20210811.models.PURL`
|
1343
|
-
:param _RecommendedVersion:
|
1343
|
+
:param _RecommendedVersion: 推荐版本,最小无高危/严重漏洞的版本。无法升级到安全版本时的备选方案。
|
1344
1344
|
:type RecommendedVersion: str
|
1345
|
+
:param _SecureVersion: 安全版本(首选),最小无漏洞的版本。当无法升级到安全版本时可考虑使用推荐版本。
|
1346
|
+
:type SecureVersion: str
|
1345
1347
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1346
1348
|
:type RequestId: str
|
1347
1349
|
"""
|
1348
1350
|
self._VulnerabilityList = None
|
1349
1351
|
self._PURL = None
|
1350
1352
|
self._RecommendedVersion = None
|
1353
|
+
self._SecureVersion = None
|
1351
1354
|
self._RequestId = None
|
1352
1355
|
|
1353
1356
|
@property
|
@@ -1375,7 +1378,7 @@ class DescribeKBComponentVulnerabilityResponse(AbstractModel):
|
|
1375
1378
|
|
1376
1379
|
@property
|
1377
1380
|
def RecommendedVersion(self):
|
1378
|
-
"""
|
1381
|
+
"""推荐版本,最小无高危/严重漏洞的版本。无法升级到安全版本时的备选方案。
|
1379
1382
|
:rtype: str
|
1380
1383
|
"""
|
1381
1384
|
return self._RecommendedVersion
|
@@ -1384,6 +1387,17 @@ class DescribeKBComponentVulnerabilityResponse(AbstractModel):
|
|
1384
1387
|
def RecommendedVersion(self, RecommendedVersion):
|
1385
1388
|
self._RecommendedVersion = RecommendedVersion
|
1386
1389
|
|
1390
|
+
@property
|
1391
|
+
def SecureVersion(self):
|
1392
|
+
"""安全版本(首选),最小无漏洞的版本。当无法升级到安全版本时可考虑使用推荐版本。
|
1393
|
+
:rtype: str
|
1394
|
+
"""
|
1395
|
+
return self._SecureVersion
|
1396
|
+
|
1397
|
+
@SecureVersion.setter
|
1398
|
+
def SecureVersion(self, SecureVersion):
|
1399
|
+
self._SecureVersion = SecureVersion
|
1400
|
+
|
1387
1401
|
@property
|
1388
1402
|
def RequestId(self):
|
1389
1403
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -1407,6 +1421,7 @@ class DescribeKBComponentVulnerabilityResponse(AbstractModel):
|
|
1407
1421
|
self._PURL = PURL()
|
1408
1422
|
self._PURL._deserialize(params.get("PURL"))
|
1409
1423
|
self._RecommendedVersion = params.get("RecommendedVersion")
|
1424
|
+
self._SecureVersion = params.get("SecureVersion")
|
1410
1425
|
self._RequestId = params.get("RequestId")
|
1411
1426
|
|
1412
1427
|
|
@@ -441,7 +441,7 @@ class CdbClient(AbstractClient):
|
|
441
441
|
|
442
442
|
|
443
443
|
def CreateCdbProxy(self, request):
|
444
|
-
"""
|
444
|
+
"""本接口(CreateCdbProxy)用于主实例创建数据库代理。
|
445
445
|
|
446
446
|
:param request: Request instance for CreateCdbProxy.
|
447
447
|
:type request: :class:`tencentcloud.cdb.v20170320.models.CreateCdbProxyRequest`
|
@@ -7171,14 +7171,16 @@ class CreateCdbProxyRequest(AbstractModel):
|
|
7171
7171
|
:type UniqVpcId: str
|
7172
7172
|
:param _UniqSubnetId: 私有子网ID
|
7173
7173
|
:type UniqSubnetId: str
|
7174
|
-
:param _ProxyNodeCustom:
|
7175
|
-
备注:数据库代理支持的节点规格为:2C4000MB、4C8000MB、8C16000MB。
|
7174
|
+
:param _ProxyNodeCustom: 节点规格配置。
|
7176
7175
|
示例中参数说明:
|
7177
7176
|
NodeCount:节点个数。
|
7178
7177
|
Region:节点地域。
|
7179
7178
|
Zone:节点可用区。
|
7180
7179
|
Cpu:单个代理节点核数(单位:核)。
|
7181
7180
|
Mem:单个代理节点内存数(单位:MB)。
|
7181
|
+
备注:
|
7182
|
+
1. 数据库代理支持的节点规格为:2C4000MB、4C8000MB、8C16000MB。
|
7183
|
+
2. 上述参数项(如节点个数、可用区等)均为必填,在调用接口时如未填写完整,可能会创建失败。
|
7182
7184
|
:type ProxyNodeCustom: list of ProxyNodeCustom
|
7183
7185
|
:param _SecurityGroup: 安全组
|
7184
7186
|
:type SecurityGroup: list of str
|
@@ -7234,14 +7236,16 @@ Mem:单个代理节点内存数(单位:MB)。
|
|
7234
7236
|
|
7235
7237
|
@property
|
7236
7238
|
def ProxyNodeCustom(self):
|
7237
|
-
"""
|
7238
|
-
备注:数据库代理支持的节点规格为:2C4000MB、4C8000MB、8C16000MB。
|
7239
|
+
"""节点规格配置。
|
7239
7240
|
示例中参数说明:
|
7240
7241
|
NodeCount:节点个数。
|
7241
7242
|
Region:节点地域。
|
7242
7243
|
Zone:节点可用区。
|
7243
7244
|
Cpu:单个代理节点核数(单位:核)。
|
7244
7245
|
Mem:单个代理节点内存数(单位:MB)。
|
7246
|
+
备注:
|
7247
|
+
1. 数据库代理支持的节点规格为:2C4000MB、4C8000MB、8C16000MB。
|
7248
|
+
2. 上述参数项(如节点个数、可用区等)均为必填,在调用接口时如未填写完整,可能会创建失败。
|
7245
7249
|
:rtype: list of ProxyNodeCustom
|
7246
7250
|
"""
|
7247
7251
|
return self._ProxyNodeCustom
|
@@ -1061,7 +1061,6 @@ class CdnClient(AbstractClient):
|
|
1061
1061
|
|
1062
1062
|
注意:
|
1063
1063
|
+ 仅支持 90 天内数据查询,且从2021年09月20日开始有数据
|
1064
|
-
+ 本接口为beta版,尚未正式全量发布
|
1065
1064
|
|
1066
1065
|
:param request: Request instance for DescribeTopData.
|
1067
1066
|
:type request: :class:`tencentcloud.cdn.v20180606.models.DescribeTopDataRequest`
|
@@ -4034,10 +4034,22 @@ class DescribeBackUpTablesResponse(AbstractModel):
|
|
4034
4034
|
r"""
|
4035
4035
|
:param _AvailableTables: 可备份表列表
|
4036
4036
|
:type AvailableTables: list of BackupTableContent
|
4037
|
+
:param _Msg: msg
|
4038
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4039
|
+
:type Msg: str
|
4040
|
+
:param _IsUnknownVersion: 未知version
|
4041
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4042
|
+
:type IsUnknownVersion: bool
|
4043
|
+
:param _ErrorMsg: 错误信息
|
4044
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4045
|
+
:type ErrorMsg: str
|
4037
4046
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4038
4047
|
:type RequestId: str
|
4039
4048
|
"""
|
4040
4049
|
self._AvailableTables = None
|
4050
|
+
self._Msg = None
|
4051
|
+
self._IsUnknownVersion = None
|
4052
|
+
self._ErrorMsg = None
|
4041
4053
|
self._RequestId = None
|
4042
4054
|
|
4043
4055
|
@property
|
@@ -4051,6 +4063,42 @@ class DescribeBackUpTablesResponse(AbstractModel):
|
|
4051
4063
|
def AvailableTables(self, AvailableTables):
|
4052
4064
|
self._AvailableTables = AvailableTables
|
4053
4065
|
|
4066
|
+
@property
|
4067
|
+
def Msg(self):
|
4068
|
+
"""msg
|
4069
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4070
|
+
:rtype: str
|
4071
|
+
"""
|
4072
|
+
return self._Msg
|
4073
|
+
|
4074
|
+
@Msg.setter
|
4075
|
+
def Msg(self, Msg):
|
4076
|
+
self._Msg = Msg
|
4077
|
+
|
4078
|
+
@property
|
4079
|
+
def IsUnknownVersion(self):
|
4080
|
+
"""未知version
|
4081
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4082
|
+
:rtype: bool
|
4083
|
+
"""
|
4084
|
+
return self._IsUnknownVersion
|
4085
|
+
|
4086
|
+
@IsUnknownVersion.setter
|
4087
|
+
def IsUnknownVersion(self, IsUnknownVersion):
|
4088
|
+
self._IsUnknownVersion = IsUnknownVersion
|
4089
|
+
|
4090
|
+
@property
|
4091
|
+
def ErrorMsg(self):
|
4092
|
+
"""错误信息
|
4093
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4094
|
+
:rtype: str
|
4095
|
+
"""
|
4096
|
+
return self._ErrorMsg
|
4097
|
+
|
4098
|
+
@ErrorMsg.setter
|
4099
|
+
def ErrorMsg(self, ErrorMsg):
|
4100
|
+
self._ErrorMsg = ErrorMsg
|
4101
|
+
|
4054
4102
|
@property
|
4055
4103
|
def RequestId(self):
|
4056
4104
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -4070,6 +4118,9 @@ class DescribeBackUpTablesResponse(AbstractModel):
|
|
4070
4118
|
obj = BackupTableContent()
|
4071
4119
|
obj._deserialize(item)
|
4072
4120
|
self._AvailableTables.append(obj)
|
4121
|
+
self._Msg = params.get("Msg")
|
4122
|
+
self._IsUnknownVersion = params.get("IsUnknownVersion")
|
4123
|
+
self._ErrorMsg = params.get("ErrorMsg")
|
4073
4124
|
self._RequestId = params.get("RequestId")
|
4074
4125
|
|
4075
4126
|
|
@@ -5383,6 +5434,9 @@ class DescribeDatabaseAuditRecordsResponse(AbstractModel):
|
|
5383
5434
|
:type TotalCount: int
|
5384
5435
|
:param _SlowQueryRecords: 记录列表
|
5385
5436
|
:type SlowQueryRecords: :class:`tencentcloud.cdwdoris.v20211228.models.DataBaseAuditRecord`
|
5437
|
+
:param _Records: 记录列表
|
5438
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5439
|
+
:type Records: list of DataBaseAuditRecord
|
5386
5440
|
:param _ErrorMsg: 错误信息
|
5387
5441
|
注意:此字段可能返回 null,表示取不到有效值。
|
5388
5442
|
:type ErrorMsg: str
|
@@ -5391,6 +5445,7 @@ class DescribeDatabaseAuditRecordsResponse(AbstractModel):
|
|
5391
5445
|
"""
|
5392
5446
|
self._TotalCount = None
|
5393
5447
|
self._SlowQueryRecords = None
|
5448
|
+
self._Records = None
|
5394
5449
|
self._ErrorMsg = None
|
5395
5450
|
self._RequestId = None
|
5396
5451
|
|
@@ -5416,6 +5471,18 @@ class DescribeDatabaseAuditRecordsResponse(AbstractModel):
|
|
5416
5471
|
def SlowQueryRecords(self, SlowQueryRecords):
|
5417
5472
|
self._SlowQueryRecords = SlowQueryRecords
|
5418
5473
|
|
5474
|
+
@property
|
5475
|
+
def Records(self):
|
5476
|
+
"""记录列表
|
5477
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5478
|
+
:rtype: list of DataBaseAuditRecord
|
5479
|
+
"""
|
5480
|
+
return self._Records
|
5481
|
+
|
5482
|
+
@Records.setter
|
5483
|
+
def Records(self, Records):
|
5484
|
+
self._Records = Records
|
5485
|
+
|
5419
5486
|
@property
|
5420
5487
|
def ErrorMsg(self):
|
5421
5488
|
"""错误信息
|
@@ -5445,6 +5512,12 @@ class DescribeDatabaseAuditRecordsResponse(AbstractModel):
|
|
5445
5512
|
if params.get("SlowQueryRecords") is not None:
|
5446
5513
|
self._SlowQueryRecords = DataBaseAuditRecord()
|
5447
5514
|
self._SlowQueryRecords._deserialize(params.get("SlowQueryRecords"))
|
5515
|
+
if params.get("Records") is not None:
|
5516
|
+
self._Records = []
|
5517
|
+
for item in params.get("Records"):
|
5518
|
+
obj = DataBaseAuditRecord()
|
5519
|
+
obj._deserialize(item)
|
5520
|
+
self._Records.append(obj)
|
5448
5521
|
self._ErrorMsg = params.get("ErrorMsg")
|
5449
5522
|
self._RequestId = params.get("RequestId")
|
5450
5523
|
|
@@ -49,6 +49,29 @@ class CfgClient(AbstractClient):
|
|
49
49
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
50
50
|
|
51
51
|
|
52
|
+
def CreateTaskFromMultiAction(self, request):
|
53
|
+
"""以多个动作创建演练
|
54
|
+
|
55
|
+
:param request: Request instance for CreateTaskFromMultiAction.
|
56
|
+
:type request: :class:`tencentcloud.cfg.v20210820.models.CreateTaskFromMultiActionRequest`
|
57
|
+
:rtype: :class:`tencentcloud.cfg.v20210820.models.CreateTaskFromMultiActionResponse`
|
58
|
+
|
59
|
+
"""
|
60
|
+
try:
|
61
|
+
params = request._serialize()
|
62
|
+
headers = request.headers
|
63
|
+
body = self.call("CreateTaskFromMultiAction", params, headers=headers)
|
64
|
+
response = json.loads(body)
|
65
|
+
model = models.CreateTaskFromMultiActionResponse()
|
66
|
+
model._deserialize(response["Response"])
|
67
|
+
return model
|
68
|
+
except Exception as e:
|
69
|
+
if isinstance(e, TencentCloudSDKException):
|
70
|
+
raise
|
71
|
+
else:
|
72
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
73
|
+
|
74
|
+
|
52
75
|
def CreateTaskFromTemplate(self, request):
|
53
76
|
"""从经验库创建演练
|
54
77
|
|
@@ -956,6 +956,150 @@ class CreateTaskFromActionResponse(AbstractModel):
|
|
956
956
|
self._RequestId = params.get("RequestId")
|
957
957
|
|
958
958
|
|
959
|
+
class CreateTaskFromMultiActionRequest(AbstractModel):
|
960
|
+
"""CreateTaskFromMultiAction请求参数结构体
|
961
|
+
|
962
|
+
"""
|
963
|
+
|
964
|
+
def __init__(self):
|
965
|
+
r"""
|
966
|
+
:param _TaskInstances: 参与演练的实例ID
|
967
|
+
:type TaskInstances: list of str
|
968
|
+
:param _TaskTitle: 演练名称,不填则默认取动作名称
|
969
|
+
:type TaskTitle: str
|
970
|
+
:param _TaskDescription: 演练描述,不填则默认取动作描述
|
971
|
+
:type TaskDescription: str
|
972
|
+
:param _TaskPauseDuration: 演练自动暂停时间,单位分钟, 不填则默认为60
|
973
|
+
:type TaskPauseDuration: int
|
974
|
+
:param _TaskAction: 演练动作组配置
|
975
|
+
:type TaskAction: list of TaskGroupForAction
|
976
|
+
"""
|
977
|
+
self._TaskInstances = None
|
978
|
+
self._TaskTitle = None
|
979
|
+
self._TaskDescription = None
|
980
|
+
self._TaskPauseDuration = None
|
981
|
+
self._TaskAction = None
|
982
|
+
|
983
|
+
@property
|
984
|
+
def TaskInstances(self):
|
985
|
+
"""参与演练的实例ID
|
986
|
+
:rtype: list of str
|
987
|
+
"""
|
988
|
+
return self._TaskInstances
|
989
|
+
|
990
|
+
@TaskInstances.setter
|
991
|
+
def TaskInstances(self, TaskInstances):
|
992
|
+
self._TaskInstances = TaskInstances
|
993
|
+
|
994
|
+
@property
|
995
|
+
def TaskTitle(self):
|
996
|
+
"""演练名称,不填则默认取动作名称
|
997
|
+
:rtype: str
|
998
|
+
"""
|
999
|
+
return self._TaskTitle
|
1000
|
+
|
1001
|
+
@TaskTitle.setter
|
1002
|
+
def TaskTitle(self, TaskTitle):
|
1003
|
+
self._TaskTitle = TaskTitle
|
1004
|
+
|
1005
|
+
@property
|
1006
|
+
def TaskDescription(self):
|
1007
|
+
"""演练描述,不填则默认取动作描述
|
1008
|
+
:rtype: str
|
1009
|
+
"""
|
1010
|
+
return self._TaskDescription
|
1011
|
+
|
1012
|
+
@TaskDescription.setter
|
1013
|
+
def TaskDescription(self, TaskDescription):
|
1014
|
+
self._TaskDescription = TaskDescription
|
1015
|
+
|
1016
|
+
@property
|
1017
|
+
def TaskPauseDuration(self):
|
1018
|
+
"""演练自动暂停时间,单位分钟, 不填则默认为60
|
1019
|
+
:rtype: int
|
1020
|
+
"""
|
1021
|
+
return self._TaskPauseDuration
|
1022
|
+
|
1023
|
+
@TaskPauseDuration.setter
|
1024
|
+
def TaskPauseDuration(self, TaskPauseDuration):
|
1025
|
+
self._TaskPauseDuration = TaskPauseDuration
|
1026
|
+
|
1027
|
+
@property
|
1028
|
+
def TaskAction(self):
|
1029
|
+
"""演练动作组配置
|
1030
|
+
:rtype: list of TaskGroupForAction
|
1031
|
+
"""
|
1032
|
+
return self._TaskAction
|
1033
|
+
|
1034
|
+
@TaskAction.setter
|
1035
|
+
def TaskAction(self, TaskAction):
|
1036
|
+
self._TaskAction = TaskAction
|
1037
|
+
|
1038
|
+
|
1039
|
+
def _deserialize(self, params):
|
1040
|
+
self._TaskInstances = params.get("TaskInstances")
|
1041
|
+
self._TaskTitle = params.get("TaskTitle")
|
1042
|
+
self._TaskDescription = params.get("TaskDescription")
|
1043
|
+
self._TaskPauseDuration = params.get("TaskPauseDuration")
|
1044
|
+
if params.get("TaskAction") is not None:
|
1045
|
+
self._TaskAction = []
|
1046
|
+
for item in params.get("TaskAction"):
|
1047
|
+
obj = TaskGroupForAction()
|
1048
|
+
obj._deserialize(item)
|
1049
|
+
self._TaskAction.append(obj)
|
1050
|
+
memeber_set = set(params.keys())
|
1051
|
+
for name, value in vars(self).items():
|
1052
|
+
property_name = name[1:]
|
1053
|
+
if property_name in memeber_set:
|
1054
|
+
memeber_set.remove(property_name)
|
1055
|
+
if len(memeber_set) > 0:
|
1056
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1057
|
+
|
1058
|
+
|
1059
|
+
|
1060
|
+
class CreateTaskFromMultiActionResponse(AbstractModel):
|
1061
|
+
"""CreateTaskFromMultiAction返回参数结构体
|
1062
|
+
|
1063
|
+
"""
|
1064
|
+
|
1065
|
+
def __init__(self):
|
1066
|
+
r"""
|
1067
|
+
:param _TaskId: 创建成功的演练ID
|
1068
|
+
:type TaskId: int
|
1069
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1070
|
+
:type RequestId: str
|
1071
|
+
"""
|
1072
|
+
self._TaskId = None
|
1073
|
+
self._RequestId = None
|
1074
|
+
|
1075
|
+
@property
|
1076
|
+
def TaskId(self):
|
1077
|
+
"""创建成功的演练ID
|
1078
|
+
:rtype: int
|
1079
|
+
"""
|
1080
|
+
return self._TaskId
|
1081
|
+
|
1082
|
+
@TaskId.setter
|
1083
|
+
def TaskId(self, TaskId):
|
1084
|
+
self._TaskId = TaskId
|
1085
|
+
|
1086
|
+
@property
|
1087
|
+
def RequestId(self):
|
1088
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1089
|
+
:rtype: str
|
1090
|
+
"""
|
1091
|
+
return self._RequestId
|
1092
|
+
|
1093
|
+
@RequestId.setter
|
1094
|
+
def RequestId(self, RequestId):
|
1095
|
+
self._RequestId = RequestId
|
1096
|
+
|
1097
|
+
|
1098
|
+
def _deserialize(self, params):
|
1099
|
+
self._TaskId = params.get("TaskId")
|
1100
|
+
self._RequestId = params.get("RequestId")
|
1101
|
+
|
1102
|
+
|
959
1103
|
class CreateTaskFromTemplateRequest(AbstractModel):
|
960
1104
|
"""CreateTaskFromTemplate请求参数结构体
|
961
1105
|
|
@@ -5059,6 +5203,72 @@ class TaskGroupConfig(AbstractModel):
|
|
5059
5203
|
|
5060
5204
|
|
5061
5205
|
|
5206
|
+
class TaskGroupForAction(AbstractModel):
|
5207
|
+
"""演练动作组简易配置
|
5208
|
+
|
5209
|
+
"""
|
5210
|
+
|
5211
|
+
def __init__(self):
|
5212
|
+
r"""
|
5213
|
+
:param _TaskActionId: 动作ID
|
5214
|
+
:type TaskActionId: int
|
5215
|
+
:param _TaskActionGeneralConfiguration: {"ActionTimeout":1800}
|
5216
|
+
:type TaskActionGeneralConfiguration: str
|
5217
|
+
:param _TaskActionCustomConfiguration: {"ip": "0.0.0.0"}
|
5218
|
+
:type TaskActionCustomConfiguration: str
|
5219
|
+
"""
|
5220
|
+
self._TaskActionId = None
|
5221
|
+
self._TaskActionGeneralConfiguration = None
|
5222
|
+
self._TaskActionCustomConfiguration = None
|
5223
|
+
|
5224
|
+
@property
|
5225
|
+
def TaskActionId(self):
|
5226
|
+
"""动作ID
|
5227
|
+
:rtype: int
|
5228
|
+
"""
|
5229
|
+
return self._TaskActionId
|
5230
|
+
|
5231
|
+
@TaskActionId.setter
|
5232
|
+
def TaskActionId(self, TaskActionId):
|
5233
|
+
self._TaskActionId = TaskActionId
|
5234
|
+
|
5235
|
+
@property
|
5236
|
+
def TaskActionGeneralConfiguration(self):
|
5237
|
+
"""{"ActionTimeout":1800}
|
5238
|
+
:rtype: str
|
5239
|
+
"""
|
5240
|
+
return self._TaskActionGeneralConfiguration
|
5241
|
+
|
5242
|
+
@TaskActionGeneralConfiguration.setter
|
5243
|
+
def TaskActionGeneralConfiguration(self, TaskActionGeneralConfiguration):
|
5244
|
+
self._TaskActionGeneralConfiguration = TaskActionGeneralConfiguration
|
5245
|
+
|
5246
|
+
@property
|
5247
|
+
def TaskActionCustomConfiguration(self):
|
5248
|
+
"""{"ip": "0.0.0.0"}
|
5249
|
+
:rtype: str
|
5250
|
+
"""
|
5251
|
+
return self._TaskActionCustomConfiguration
|
5252
|
+
|
5253
|
+
@TaskActionCustomConfiguration.setter
|
5254
|
+
def TaskActionCustomConfiguration(self, TaskActionCustomConfiguration):
|
5255
|
+
self._TaskActionCustomConfiguration = TaskActionCustomConfiguration
|
5256
|
+
|
5257
|
+
|
5258
|
+
def _deserialize(self, params):
|
5259
|
+
self._TaskActionId = params.get("TaskActionId")
|
5260
|
+
self._TaskActionGeneralConfiguration = params.get("TaskActionGeneralConfiguration")
|
5261
|
+
self._TaskActionCustomConfiguration = params.get("TaskActionCustomConfiguration")
|
5262
|
+
memeber_set = set(params.keys())
|
5263
|
+
for name, value in vars(self).items():
|
5264
|
+
property_name = name[1:]
|
5265
|
+
if property_name in memeber_set:
|
5266
|
+
memeber_set.remove(property_name)
|
5267
|
+
if len(memeber_set) > 0:
|
5268
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
5269
|
+
|
5270
|
+
|
5271
|
+
|
5062
5272
|
class TaskGroupInstance(AbstractModel):
|
5063
5273
|
"""任务分组动作实例
|
5064
5274
|
|
@@ -4414,8 +4414,8 @@ class DescribeUserQuotaRequest(AbstractModel):
|
|
4414
4414
|
:param _FileSystemId: 文件系统 ID
|
4415
4415
|
:type FileSystemId: str
|
4416
4416
|
:param _Filters: 过滤条件。
|
4417
|
-
|
4418
|
-
|
4417
|
+
UserType - Array of String - 是否必填:否 -(过滤条件)按配额类型过滤。(Uid|Gid|Dir )
|
4418
|
+
UserId- Array of String - 是否必填:否 -(过滤条件)按id过滤。
|
4419
4419
|
:type Filters: list of Filter
|
4420
4420
|
:param _Offset: Offset 分页码
|
4421
4421
|
:type Offset: int
|
@@ -4441,8 +4441,8 @@ class DescribeUserQuotaRequest(AbstractModel):
|
|
4441
4441
|
@property
|
4442
4442
|
def Filters(self):
|
4443
4443
|
"""过滤条件。
|
4444
|
-
|
4445
|
-
|
4444
|
+
UserType - Array of String - 是否必填:否 -(过滤条件)按配额类型过滤。(Uid|Gid|Dir )
|
4445
|
+
UserId- Array of String - 是否必填:否 -(过滤条件)按id过滤。
|
4446
4446
|
:rtype: list of Filter
|
4447
4447
|
"""
|
4448
4448
|
return self._Filters
|
@@ -16673,7 +16673,7 @@ class ModifyInstancesProjectRequest(AbstractModel):
|
|
16673
16673
|
r"""
|
16674
16674
|
:param _InstanceIds: 一个或多个待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) API返回值中的`InstanceId`获取。每次请求允许操作的实例数量上限是100。
|
16675
16675
|
:type InstanceIds: list of str
|
16676
|
-
:param _ProjectId: 项目ID。项目可以使用[AddProject](https://cloud.tencent.com/document/
|
16676
|
+
:param _ProjectId: 项目ID。项目可以使用[AddProject](https://cloud.tencent.com/document/api/651/81952)接口创建。可通过[`DescribeProject`](https://cloud.tencent.com/document/api/651/78725) API返回值中的`projectId`获取。后续使用[DescribeInstances](https://cloud.tencent.com/document/api/213/15728)接口查询实例时,项目ID可用于过滤结果。
|
16677
16677
|
:type ProjectId: int
|
16678
16678
|
"""
|
16679
16679
|
self._InstanceIds = None
|
@@ -16692,7 +16692,7 @@ class ModifyInstancesProjectRequest(AbstractModel):
|
|
16692
16692
|
|
16693
16693
|
@property
|
16694
16694
|
def ProjectId(self):
|
16695
|
-
"""项目ID。项目可以使用[AddProject](https://cloud.tencent.com/document/
|
16695
|
+
"""项目ID。项目可以使用[AddProject](https://cloud.tencent.com/document/api/651/81952)接口创建。可通过[`DescribeProject`](https://cloud.tencent.com/document/api/651/78725) API返回值中的`projectId`获取。后续使用[DescribeInstances](https://cloud.tencent.com/document/api/213/15728)接口查询实例时,项目ID可用于过滤结果。
|
16696
16696
|
:rtype: int
|
16697
16697
|
"""
|
16698
16698
|
return self._ProjectId
|
@@ -10208,6 +10208,9 @@ pause
|
|
10208
10208
|
:type MinCpu: float
|
10209
10209
|
:param _MaxCpu: serverless实例cpu上限
|
10210
10210
|
:type MaxCpu: float
|
10211
|
+
:param _DbMode: Db类型:<li>NORMAL</li><li>SERVERLESS</li>
|
10212
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
10213
|
+
:type DbMode: str
|
10211
10214
|
"""
|
10212
10215
|
self._Uin = None
|
10213
10216
|
self._AppId = None
|
@@ -10243,6 +10246,7 @@ pause
|
|
10243
10246
|
self._RenewFlag = None
|
10244
10247
|
self._MinCpu = None
|
10245
10248
|
self._MaxCpu = None
|
10249
|
+
self._DbMode = None
|
10246
10250
|
|
10247
10251
|
@property
|
10248
10252
|
def Uin(self):
|
@@ -10620,6 +10624,18 @@ pause
|
|
10620
10624
|
def MaxCpu(self, MaxCpu):
|
10621
10625
|
self._MaxCpu = MaxCpu
|
10622
10626
|
|
10627
|
+
@property
|
10628
|
+
def DbMode(self):
|
10629
|
+
"""Db类型:<li>NORMAL</li><li>SERVERLESS</li>
|
10630
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
10631
|
+
:rtype: str
|
10632
|
+
"""
|
10633
|
+
return self._DbMode
|
10634
|
+
|
10635
|
+
@DbMode.setter
|
10636
|
+
def DbMode(self, DbMode):
|
10637
|
+
self._DbMode = DbMode
|
10638
|
+
|
10623
10639
|
|
10624
10640
|
def _deserialize(self, params):
|
10625
10641
|
self._Uin = params.get("Uin")
|
@@ -10656,6 +10672,7 @@ pause
|
|
10656
10672
|
self._RenewFlag = params.get("RenewFlag")
|
10657
10673
|
self._MinCpu = params.get("MinCpu")
|
10658
10674
|
self._MaxCpu = params.get("MaxCpu")
|
10675
|
+
self._DbMode = params.get("DbMode")
|
10659
10676
|
memeber_set = set(params.keys())
|
10660
10677
|
for name, value in vars(self).items():
|
10661
10678
|
property_name = name[1:]
|
@@ -28993,7 +29010,7 @@ class OpenClusterReadOnlyInstanceGroupAccessResponse(AbstractModel):
|
|
28993
29010
|
def __init__(self):
|
28994
29011
|
r"""
|
28995
29012
|
:param _FlowId: 开启流程ID
|
28996
|
-
:type FlowId:
|
29013
|
+
:type FlowId: int
|
28997
29014
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
28998
29015
|
:type RequestId: str
|
28999
29016
|
"""
|
@@ -29003,7 +29020,7 @@ class OpenClusterReadOnlyInstanceGroupAccessResponse(AbstractModel):
|
|
29003
29020
|
@property
|
29004
29021
|
def FlowId(self):
|
29005
29022
|
"""开启流程ID
|
29006
|
-
:rtype:
|
29023
|
+
:rtype: int
|
29007
29024
|
"""
|
29008
29025
|
return self._FlowId
|
29009
29026
|
|
@@ -173,7 +173,7 @@ INVALIDPARAMETER_BATCHRECORDREMOVEACTIONERROR = 'InvalidParameter.BatchRecordRem
|
|
173
173
|
# 批量替换记录任务失败,原因:内部错误。
|
174
174
|
INVALIDPARAMETER_BATCHRECORDREPLACEACTIONERROR = 'InvalidParameter.BatchRecordReplaceActionError'
|
175
175
|
|
176
|
-
#
|
176
|
+
# 超过单个账号的批量任务数并发上限4个。
|
177
177
|
INVALIDPARAMETER_BATCHTASKCOUNTLIMIT = 'InvalidParameter.BatchTaskCountLimit'
|
178
178
|
|
179
179
|
# 任务不存在,无法获取任务详情。
|
@@ -359,7 +359,7 @@ INVALIDPARAMETER_IPAREA = 'InvalidParameter.IpArea'
|
|
359
359
|
# ips 过长。
|
360
360
|
INVALIDPARAMETER_IPSEXCEEDLIMIT = 'InvalidParameter.IpsExceedLimit'
|
361
361
|
|
362
|
-
#
|
362
|
+
# 单次任务记录数量超过上限5000条。
|
363
363
|
INVALIDPARAMETER_JOBGREATERTHANLIMIT = 'InvalidParameter.JobGreaterThanLimit'
|
364
364
|
|
365
365
|
# 线路格式不正确。
|
@@ -692,7 +692,7 @@ OPERATIONDENIED_VIPDOMAINALLOWED = 'OperationDenied.VipDomainAllowed'
|
|
692
692
|
# 请求的次数超过了频率限制。
|
693
693
|
REQUESTLIMITEXCEEDED = 'RequestLimitExceeded'
|
694
694
|
|
695
|
-
# 您的IP
|
695
|
+
# 您的IP添加了过多任务。每个小时内,一个IP最多可提交80个任务,请稍后重试。
|
696
696
|
REQUESTLIMITEXCEEDED_BATCHTASKLIMIT = 'RequestLimitExceeded.BatchTaskLimit'
|
697
697
|
|
698
698
|
# 您的账号在短时间内添加了大量的域名,请控制添加频率。
|