tencentcloud-sdk-python 3.0.1197__py2.py3-none-any.whl → 3.0.1199__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/aiart/v20221229/models.py +10 -12
- tencentcloud/ams/v20201229/models.py +398 -3
- tencentcloud/bi/v20220105/models.py +1 -1
- tencentcloud/cat/v20180409/models.py +12 -0
- tencentcloud/cdb/v20170320/models.py +45 -3
- tencentcloud/cdn/v20180606/models.py +141 -0
- tencentcloud/cfg/v20210820/cfg_client.py +92 -0
- tencentcloud/cfg/v20210820/models.py +1384 -49
- tencentcloud/cfw/v20190904/cfw_client.py +23 -0
- tencentcloud/cfw/v20190904/models.py +354 -0
- tencentcloud/cynosdb/v20190107/models.py +121 -0
- tencentcloud/dnspod/v20210323/dnspod_client.py +1 -0
- tencentcloud/ecm/v20190719/models.py +24 -0
- tencentcloud/emr/v20190103/emr_client.py +23 -0
- tencentcloud/emr/v20190103/models.py +469 -108
- tencentcloud/essbasic/v20210526/models.py +12 -0
- tencentcloud/hunyuan/v20230901/errorcodes.py +12 -0
- tencentcloud/hunyuan/v20230901/models.py +198 -13
- tencentcloud/lcic/v20220817/lcic_client.py +23 -0
- tencentcloud/lcic/v20220817/models.py +82 -0
- tencentcloud/lke/v20231130/models.py +7 -7
- tencentcloud/ocr/v20181119/models.py +12 -0
- tencentcloud/tke/v20180525/models.py +274 -0
- tencentcloud/tke/v20180525/tke_client.py +23 -0
- tencentcloud/vclm/v20240523/errorcodes.py +18 -0
- tencentcloud/vclm/v20240523/models.py +212 -0
- tencentcloud/vclm/v20240523/vclm_client.py +48 -0
- tencentcloud/vm/v20201229/models.py +253 -4
- tencentcloud/vm/v20201229/vm_client.py +1 -3
- tencentcloud/vm/v20210922/models.py +5 -6
- {tencentcloud_sdk_python-3.0.1197.dist-info → tencentcloud_sdk_python-3.0.1199.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1197.dist-info → tencentcloud_sdk_python-3.0.1199.dist-info}/RECORD +36 -36
- {tencentcloud_sdk_python-3.0.1197.dist-info → tencentcloud_sdk_python-3.0.1199.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1197.dist-info → tencentcloud_sdk_python-3.0.1199.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1197.dist-info → tencentcloud_sdk_python-3.0.1199.dist-info}/top_level.txt +0 -0
@@ -6110,7 +6110,7 @@ class CreateCloneInstanceRequest(AbstractModel):
|
|
6110
6110
|
:type SlaveZone: str
|
6111
6111
|
:param _BackupZone: 备库 2 的可用区信息,默认为空,克隆强同步主实例时可指定该参数。
|
6112
6112
|
:type BackupZone: str
|
6113
|
-
:param _DeviceType: 克隆实例类型。支持值包括:
|
6113
|
+
:param _DeviceType: 克隆实例类型。支持值包括:"UNIVERSAL" - 通用型实例,"EXCLUSIVE" - 独享型实例,"CLOUD_NATIVE_CLUSTER" - 集群版标准型,"CLOUD_NATIVE_CLUSTER_EXCLUSIVE" - 集群版加强型。不指定则默认为通用型。
|
6114
6114
|
:type DeviceType: str
|
6115
6115
|
:param _InstanceNodes: 新克隆实例节点数。如果需要克隆出三节点实例, 请将该值设置为3 或指定 BackupZone 参数。如果需要克隆出两节点实例,请将该值设置为2。默认克隆出两节点实例。
|
6116
6116
|
:type InstanceNodes: int
|
@@ -6126,6 +6126,8 @@ class CreateCloneInstanceRequest(AbstractModel):
|
|
6126
6126
|
:type PayType: str
|
6127
6127
|
:param _Period: 实例时长,PayType为PRE_PAID时必传,单位:月,可选值包括 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。
|
6128
6128
|
:type Period: int
|
6129
|
+
:param _ClusterTopology: 集群版节点拓扑配置。
|
6130
|
+
:type ClusterTopology: :class:`tencentcloud.cdb.v20170320.models.ClusterTopology`
|
6129
6131
|
"""
|
6130
6132
|
self._InstanceId = None
|
6131
6133
|
self._SpecifiedRollbackTime = None
|
@@ -6150,6 +6152,7 @@ class CreateCloneInstanceRequest(AbstractModel):
|
|
6150
6152
|
self._ProjectId = None
|
6151
6153
|
self._PayType = None
|
6152
6154
|
self._Period = None
|
6155
|
+
self._ClusterTopology = None
|
6153
6156
|
|
6154
6157
|
@property
|
6155
6158
|
def InstanceId(self):
|
@@ -6335,6 +6338,14 @@ class CreateCloneInstanceRequest(AbstractModel):
|
|
6335
6338
|
def Period(self, Period):
|
6336
6339
|
self._Period = Period
|
6337
6340
|
|
6341
|
+
@property
|
6342
|
+
def ClusterTopology(self):
|
6343
|
+
return self._ClusterTopology
|
6344
|
+
|
6345
|
+
@ClusterTopology.setter
|
6346
|
+
def ClusterTopology(self, ClusterTopology):
|
6347
|
+
self._ClusterTopology = ClusterTopology
|
6348
|
+
|
6338
6349
|
|
6339
6350
|
def _deserialize(self, params):
|
6340
6351
|
self._InstanceId = params.get("InstanceId")
|
@@ -6365,6 +6376,9 @@ class CreateCloneInstanceRequest(AbstractModel):
|
|
6365
6376
|
self._ProjectId = params.get("ProjectId")
|
6366
6377
|
self._PayType = params.get("PayType")
|
6367
6378
|
self._Period = params.get("Period")
|
6379
|
+
if params.get("ClusterTopology") is not None:
|
6380
|
+
self._ClusterTopology = ClusterTopology()
|
6381
|
+
self._ClusterTopology._deserialize(params.get("ClusterTopology"))
|
6368
6382
|
memeber_set = set(params.keys())
|
6369
6383
|
for name, value in vars(self).items():
|
6370
6384
|
property_name = name[1:]
|
@@ -6600,7 +6614,7 @@ class CreateDBInstanceHourRequest(AbstractModel):
|
|
6600
6614
|
:type DeployGroupId: str
|
6601
6615
|
:param _ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间在48小时内唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
6602
6616
|
:type ClientToken: str
|
6603
|
-
:param _DeviceType: 实例隔离类型。支持值包括:
|
6617
|
+
:param _DeviceType: 实例隔离类型。支持值包括:"UNIVERSAL" - 通用型实例,"EXCLUSIVE" - 独享型实例,"BASIC_V2" - ONTKE 单节点实例,"CLOUD_NATIVE_CLUSTER" - 集群版标准型,"CLOUD_NATIVE_CLUSTER_EXCLUSIVE" - 集群版加强型。不指定则默认为通用型实例。
|
6604
6618
|
:type DeviceType: str
|
6605
6619
|
:param _ParamTemplateId: 参数模板 id。
|
6606
6620
|
备注:如您使用自定义参数模板 id,可传入自定义参数模板 id;如您计划使用默认参数模板,该参数模板 id 传入 id 无效,需设置 ParamTemplateType。
|
@@ -6626,6 +6640,8 @@ class CreateDBInstanceHourRequest(AbstractModel):
|
|
6626
6640
|
:type EngineType: str
|
6627
6641
|
:param _Vips: 指定实例的IP列表。仅支持主实例指定,按实例顺序,不足则按未指定处理。
|
6628
6642
|
:type Vips: list of str
|
6643
|
+
:param _ClusterTopology: 集群版节点拓扑配置。
|
6644
|
+
:type ClusterTopology: :class:`tencentcloud.cdb.v20170320.models.ClusterTopology`
|
6629
6645
|
"""
|
6630
6646
|
self._GoodsNum = None
|
6631
6647
|
self._Memory = None
|
@@ -6664,6 +6680,7 @@ class CreateDBInstanceHourRequest(AbstractModel):
|
|
6664
6680
|
self._DryRun = None
|
6665
6681
|
self._EngineType = None
|
6666
6682
|
self._Vips = None
|
6683
|
+
self._ClusterTopology = None
|
6667
6684
|
|
6668
6685
|
@property
|
6669
6686
|
def GoodsNum(self):
|
@@ -6961,6 +6978,14 @@ class CreateDBInstanceHourRequest(AbstractModel):
|
|
6961
6978
|
def Vips(self, Vips):
|
6962
6979
|
self._Vips = Vips
|
6963
6980
|
|
6981
|
+
@property
|
6982
|
+
def ClusterTopology(self):
|
6983
|
+
return self._ClusterTopology
|
6984
|
+
|
6985
|
+
@ClusterTopology.setter
|
6986
|
+
def ClusterTopology(self, ClusterTopology):
|
6987
|
+
self._ClusterTopology = ClusterTopology
|
6988
|
+
|
6964
6989
|
|
6965
6990
|
def _deserialize(self, params):
|
6966
6991
|
self._GoodsNum = params.get("GoodsNum")
|
@@ -7012,6 +7037,9 @@ class CreateDBInstanceHourRequest(AbstractModel):
|
|
7012
7037
|
self._DryRun = params.get("DryRun")
|
7013
7038
|
self._EngineType = params.get("EngineType")
|
7014
7039
|
self._Vips = params.get("Vips")
|
7040
|
+
if params.get("ClusterTopology") is not None:
|
7041
|
+
self._ClusterTopology = ClusterTopology()
|
7042
|
+
self._ClusterTopology._deserialize(params.get("ClusterTopology"))
|
7015
7043
|
memeber_set = set(params.keys())
|
7016
7044
|
for name, value in vars(self).items():
|
7017
7045
|
property_name = name[1:]
|
@@ -7131,7 +7159,7 @@ class CreateDBInstanceRequest(AbstractModel):
|
|
7131
7159
|
:type DeployGroupId: str
|
7132
7160
|
:param _ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间在48小时内唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
7133
7161
|
:type ClientToken: str
|
7134
|
-
:param _DeviceType: 实例隔离类型。支持值包括:
|
7162
|
+
:param _DeviceType: 实例隔离类型。支持值包括:"UNIVERSAL" - 通用型实例,"EXCLUSIVE" - 独享型实例,"BASIC_V2" - ONTKE 单节点实例,"CLOUD_NATIVE_CLUSTER" - 集群版标准型,"CLOUD_NATIVE_CLUSTER_EXCLUSIVE" - 集群版加强型。不指定则默认为通用型实例。
|
7135
7163
|
:type DeviceType: str
|
7136
7164
|
:param _ParamTemplateId: 参数模板 id。
|
7137
7165
|
备注:如您使用自定义参数模板 id,可传入自定义参数模板 id;如您计划使用默认参数模板,该参数模板 id 传入 id 无效,需设置 ParamTemplateType。
|
@@ -7158,6 +7186,8 @@ class CreateDBInstanceRequest(AbstractModel):
|
|
7158
7186
|
:type EngineType: str
|
7159
7187
|
:param _Vips: 指定实例的IP列表。仅支持主实例指定,按实例顺序,不足则按未指定处理。
|
7160
7188
|
:type Vips: list of str
|
7189
|
+
:param _ClusterTopology: 集群版节点拓扑配置。
|
7190
|
+
:type ClusterTopology: :class:`tencentcloud.cdb.v20170320.models.ClusterTopology`
|
7161
7191
|
"""
|
7162
7192
|
self._Memory = None
|
7163
7193
|
self._Volume = None
|
@@ -7197,6 +7227,7 @@ class CreateDBInstanceRequest(AbstractModel):
|
|
7197
7227
|
self._DryRun = None
|
7198
7228
|
self._EngineType = None
|
7199
7229
|
self._Vips = None
|
7230
|
+
self._ClusterTopology = None
|
7200
7231
|
|
7201
7232
|
@property
|
7202
7233
|
def Memory(self):
|
@@ -7502,6 +7533,14 @@ class CreateDBInstanceRequest(AbstractModel):
|
|
7502
7533
|
def Vips(self, Vips):
|
7503
7534
|
self._Vips = Vips
|
7504
7535
|
|
7536
|
+
@property
|
7537
|
+
def ClusterTopology(self):
|
7538
|
+
return self._ClusterTopology
|
7539
|
+
|
7540
|
+
@ClusterTopology.setter
|
7541
|
+
def ClusterTopology(self, ClusterTopology):
|
7542
|
+
self._ClusterTopology = ClusterTopology
|
7543
|
+
|
7505
7544
|
|
7506
7545
|
def _deserialize(self, params):
|
7507
7546
|
self._Memory = params.get("Memory")
|
@@ -7554,6 +7593,9 @@ class CreateDBInstanceRequest(AbstractModel):
|
|
7554
7593
|
self._DryRun = params.get("DryRun")
|
7555
7594
|
self._EngineType = params.get("EngineType")
|
7556
7595
|
self._Vips = params.get("Vips")
|
7596
|
+
if params.get("ClusterTopology") is not None:
|
7597
|
+
self._ClusterTopology = ClusterTopology()
|
7598
|
+
self._ClusterTopology._deserialize(params.get("ClusterTopology"))
|
7557
7599
|
memeber_set = set(params.keys())
|
7558
7600
|
for name, value in vars(self).items():
|
7559
7601
|
property_name = name[1:]
|
@@ -12782,6 +12782,9 @@ off:不支持
|
|
12782
12782
|
:param _OthersPrivateAccess: 其他厂商对象存储回源鉴权
|
12783
12783
|
注意:此字段可能返回 null,表示取不到有效值。
|
12784
12784
|
:type OthersPrivateAccess: :class:`tencentcloud.cdn.v20180606.models.OthersPrivateAccess`
|
12785
|
+
:param _ParamFilter: 参数黑名单
|
12786
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12787
|
+
:type ParamFilter: :class:`tencentcloud.cdn.v20180606.models.ParamFilter`
|
12785
12788
|
"""
|
12786
12789
|
self._ResourceId = None
|
12787
12790
|
self._AppId = None
|
@@ -12849,6 +12852,7 @@ off:不支持
|
|
12849
12852
|
self._QnPrivateAccess = None
|
12850
12853
|
self._HttpsBilling = None
|
12851
12854
|
self._OthersPrivateAccess = None
|
12855
|
+
self._ParamFilter = None
|
12852
12856
|
|
12853
12857
|
@property
|
12854
12858
|
def ResourceId(self):
|
@@ -13378,6 +13382,14 @@ off:不支持
|
|
13378
13382
|
def OthersPrivateAccess(self, OthersPrivateAccess):
|
13379
13383
|
self._OthersPrivateAccess = OthersPrivateAccess
|
13380
13384
|
|
13385
|
+
@property
|
13386
|
+
def ParamFilter(self):
|
13387
|
+
return self._ParamFilter
|
13388
|
+
|
13389
|
+
@ParamFilter.setter
|
13390
|
+
def ParamFilter(self, ParamFilter):
|
13391
|
+
self._ParamFilter = ParamFilter
|
13392
|
+
|
13381
13393
|
|
13382
13394
|
def _deserialize(self, params):
|
13383
13395
|
self._ResourceId = params.get("ResourceId")
|
@@ -13554,6 +13566,9 @@ off:不支持
|
|
13554
13566
|
if params.get("OthersPrivateAccess") is not None:
|
13555
13567
|
self._OthersPrivateAccess = OthersPrivateAccess()
|
13556
13568
|
self._OthersPrivateAccess._deserialize(params.get("OthersPrivateAccess"))
|
13569
|
+
if params.get("ParamFilter") is not None:
|
13570
|
+
self._ParamFilter = ParamFilter()
|
13571
|
+
self._ParamFilter._deserialize(params.get("ParamFilter"))
|
13557
13572
|
memeber_set = set(params.keys())
|
13558
13573
|
for name, value in vars(self).items():
|
13559
13574
|
property_name = name[1:]
|
@@ -21217,6 +21232,118 @@ class OverseaConfig(AbstractModel):
|
|
21217
21232
|
|
21218
21233
|
|
21219
21234
|
|
21235
|
+
class ParamFilter(AbstractModel):
|
21236
|
+
"""参数黑名单
|
21237
|
+
|
21238
|
+
"""
|
21239
|
+
|
21240
|
+
def __init__(self):
|
21241
|
+
r"""
|
21242
|
+
:param _Switch: 参数黑名单开关
|
21243
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
21244
|
+
:type Switch: str
|
21245
|
+
:param _FilterRules: 参数黑名单规则
|
21246
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
21247
|
+
:type FilterRules: list of ParamFilterRule
|
21248
|
+
"""
|
21249
|
+
self._Switch = None
|
21250
|
+
self._FilterRules = None
|
21251
|
+
|
21252
|
+
@property
|
21253
|
+
def Switch(self):
|
21254
|
+
return self._Switch
|
21255
|
+
|
21256
|
+
@Switch.setter
|
21257
|
+
def Switch(self, Switch):
|
21258
|
+
self._Switch = Switch
|
21259
|
+
|
21260
|
+
@property
|
21261
|
+
def FilterRules(self):
|
21262
|
+
return self._FilterRules
|
21263
|
+
|
21264
|
+
@FilterRules.setter
|
21265
|
+
def FilterRules(self, FilterRules):
|
21266
|
+
self._FilterRules = FilterRules
|
21267
|
+
|
21268
|
+
|
21269
|
+
def _deserialize(self, params):
|
21270
|
+
self._Switch = params.get("Switch")
|
21271
|
+
if params.get("FilterRules") is not None:
|
21272
|
+
self._FilterRules = []
|
21273
|
+
for item in params.get("FilterRules"):
|
21274
|
+
obj = ParamFilterRule()
|
21275
|
+
obj._deserialize(item)
|
21276
|
+
self._FilterRules.append(obj)
|
21277
|
+
memeber_set = set(params.keys())
|
21278
|
+
for name, value in vars(self).items():
|
21279
|
+
property_name = name[1:]
|
21280
|
+
if property_name in memeber_set:
|
21281
|
+
memeber_set.remove(property_name)
|
21282
|
+
if len(memeber_set) > 0:
|
21283
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
21284
|
+
|
21285
|
+
|
21286
|
+
|
21287
|
+
class ParamFilterRule(AbstractModel):
|
21288
|
+
"""参数黑名单规则
|
21289
|
+
|
21290
|
+
"""
|
21291
|
+
|
21292
|
+
def __init__(self):
|
21293
|
+
r"""
|
21294
|
+
:param _Key: 参数名
|
21295
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
21296
|
+
:type Key: str
|
21297
|
+
:param _Values: 参数值数组, 小于10个
|
21298
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
21299
|
+
:type Values: list of str
|
21300
|
+
:param _ReturnCode: http 返回码 ( 暂仅支持403)
|
21301
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
21302
|
+
:type ReturnCode: str
|
21303
|
+
"""
|
21304
|
+
self._Key = None
|
21305
|
+
self._Values = None
|
21306
|
+
self._ReturnCode = None
|
21307
|
+
|
21308
|
+
@property
|
21309
|
+
def Key(self):
|
21310
|
+
return self._Key
|
21311
|
+
|
21312
|
+
@Key.setter
|
21313
|
+
def Key(self, Key):
|
21314
|
+
self._Key = Key
|
21315
|
+
|
21316
|
+
@property
|
21317
|
+
def Values(self):
|
21318
|
+
return self._Values
|
21319
|
+
|
21320
|
+
@Values.setter
|
21321
|
+
def Values(self, Values):
|
21322
|
+
self._Values = Values
|
21323
|
+
|
21324
|
+
@property
|
21325
|
+
def ReturnCode(self):
|
21326
|
+
return self._ReturnCode
|
21327
|
+
|
21328
|
+
@ReturnCode.setter
|
21329
|
+
def ReturnCode(self, ReturnCode):
|
21330
|
+
self._ReturnCode = ReturnCode
|
21331
|
+
|
21332
|
+
|
21333
|
+
def _deserialize(self, params):
|
21334
|
+
self._Key = params.get("Key")
|
21335
|
+
self._Values = params.get("Values")
|
21336
|
+
self._ReturnCode = params.get("ReturnCode")
|
21337
|
+
memeber_set = set(params.keys())
|
21338
|
+
for name, value in vars(self).items():
|
21339
|
+
property_name = name[1:]
|
21340
|
+
if property_name in memeber_set:
|
21341
|
+
memeber_set.remove(property_name)
|
21342
|
+
if len(memeber_set) > 0:
|
21343
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
21344
|
+
|
21345
|
+
|
21346
|
+
|
21220
21347
|
class PathBasedOriginRule(AbstractModel):
|
21221
21348
|
"""分路径回源规则
|
21222
21349
|
|
@@ -27392,6 +27519,8 @@ global:全球加速
|
|
27392
27519
|
:type OthersPrivateAccess: :class:`tencentcloud.cdn.v20180606.models.OthersPrivateAccess`
|
27393
27520
|
:param _HttpsBilling: HTTPS服务(收费服务,详见计费说明和产品文档)
|
27394
27521
|
:type HttpsBilling: :class:`tencentcloud.cdn.v20180606.models.HttpsBilling`
|
27522
|
+
:param _ParamFilter: 参数黑名单
|
27523
|
+
:type ParamFilter: :class:`tencentcloud.cdn.v20180606.models.ParamFilter`
|
27395
27524
|
"""
|
27396
27525
|
self._Domain = None
|
27397
27526
|
self._ProjectId = None
|
@@ -27442,6 +27571,7 @@ global:全球加速
|
|
27442
27571
|
self._QnPrivateAccess = None
|
27443
27572
|
self._OthersPrivateAccess = None
|
27444
27573
|
self._HttpsBilling = None
|
27574
|
+
self._ParamFilter = None
|
27445
27575
|
|
27446
27576
|
@property
|
27447
27577
|
def Domain(self):
|
@@ -27835,6 +27965,14 @@ global:全球加速
|
|
27835
27965
|
def HttpsBilling(self, HttpsBilling):
|
27836
27966
|
self._HttpsBilling = HttpsBilling
|
27837
27967
|
|
27968
|
+
@property
|
27969
|
+
def ParamFilter(self):
|
27970
|
+
return self._ParamFilter
|
27971
|
+
|
27972
|
+
@ParamFilter.setter
|
27973
|
+
def ParamFilter(self, ParamFilter):
|
27974
|
+
self._ParamFilter = ParamFilter
|
27975
|
+
|
27838
27976
|
|
27839
27977
|
def _deserialize(self, params):
|
27840
27978
|
self._Domain = params.get("Domain")
|
@@ -27974,6 +28112,9 @@ global:全球加速
|
|
27974
28112
|
if params.get("HttpsBilling") is not None:
|
27975
28113
|
self._HttpsBilling = HttpsBilling()
|
27976
28114
|
self._HttpsBilling._deserialize(params.get("HttpsBilling"))
|
28115
|
+
if params.get("ParamFilter") is not None:
|
28116
|
+
self._ParamFilter = ParamFilter()
|
28117
|
+
self._ParamFilter._deserialize(params.get("ParamFilter"))
|
27977
28118
|
memeber_set = set(params.keys())
|
27978
28119
|
for name, value in vars(self).items():
|
27979
28120
|
property_name = name[1:]
|
@@ -26,6 +26,29 @@ class CfgClient(AbstractClient):
|
|
26
26
|
_service = 'cfg'
|
27
27
|
|
28
28
|
|
29
|
+
def CreateTaskFromAction(self, request):
|
30
|
+
"""从动作创建演练
|
31
|
+
|
32
|
+
:param request: Request instance for CreateTaskFromAction.
|
33
|
+
:type request: :class:`tencentcloud.cfg.v20210820.models.CreateTaskFromActionRequest`
|
34
|
+
:rtype: :class:`tencentcloud.cfg.v20210820.models.CreateTaskFromActionResponse`
|
35
|
+
|
36
|
+
"""
|
37
|
+
try:
|
38
|
+
params = request._serialize()
|
39
|
+
headers = request.headers
|
40
|
+
body = self.call("CreateTaskFromAction", params, headers=headers)
|
41
|
+
response = json.loads(body)
|
42
|
+
model = models.CreateTaskFromActionResponse()
|
43
|
+
model._deserialize(response["Response"])
|
44
|
+
return model
|
45
|
+
except Exception as e:
|
46
|
+
if isinstance(e, TencentCloudSDKException):
|
47
|
+
raise
|
48
|
+
else:
|
49
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
50
|
+
|
51
|
+
|
29
52
|
def CreateTaskFromTemplate(self, request):
|
30
53
|
"""从经验库创建演练
|
31
54
|
|
@@ -72,6 +95,75 @@ class CfgClient(AbstractClient):
|
|
72
95
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
73
96
|
|
74
97
|
|
98
|
+
def DescribeActionFieldConfigList(self, request):
|
99
|
+
"""根据动作ID获取动作栏位动态配置参数信息,里面包含动作自有和通用两部分参数。
|
100
|
+
|
101
|
+
:param request: Request instance for DescribeActionFieldConfigList.
|
102
|
+
:type request: :class:`tencentcloud.cfg.v20210820.models.DescribeActionFieldConfigListRequest`
|
103
|
+
:rtype: :class:`tencentcloud.cfg.v20210820.models.DescribeActionFieldConfigListResponse`
|
104
|
+
|
105
|
+
"""
|
106
|
+
try:
|
107
|
+
params = request._serialize()
|
108
|
+
headers = request.headers
|
109
|
+
body = self.call("DescribeActionFieldConfigList", params, headers=headers)
|
110
|
+
response = json.loads(body)
|
111
|
+
model = models.DescribeActionFieldConfigListResponse()
|
112
|
+
model._deserialize(response["Response"])
|
113
|
+
return model
|
114
|
+
except Exception as e:
|
115
|
+
if isinstance(e, TencentCloudSDKException):
|
116
|
+
raise
|
117
|
+
else:
|
118
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
119
|
+
|
120
|
+
|
121
|
+
def DescribeActionLibraryList(self, request):
|
122
|
+
"""获取混沌演练平台的动作库列表
|
123
|
+
|
124
|
+
:param request: Request instance for DescribeActionLibraryList.
|
125
|
+
:type request: :class:`tencentcloud.cfg.v20210820.models.DescribeActionLibraryListRequest`
|
126
|
+
:rtype: :class:`tencentcloud.cfg.v20210820.models.DescribeActionLibraryListResponse`
|
127
|
+
|
128
|
+
"""
|
129
|
+
try:
|
130
|
+
params = request._serialize()
|
131
|
+
headers = request.headers
|
132
|
+
body = self.call("DescribeActionLibraryList", params, headers=headers)
|
133
|
+
response = json.loads(body)
|
134
|
+
model = models.DescribeActionLibraryListResponse()
|
135
|
+
model._deserialize(response["Response"])
|
136
|
+
return model
|
137
|
+
except Exception as e:
|
138
|
+
if isinstance(e, TencentCloudSDKException):
|
139
|
+
raise
|
140
|
+
else:
|
141
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
142
|
+
|
143
|
+
|
144
|
+
def DescribeObjectTypeList(self, request):
|
145
|
+
"""查询对象类型列表
|
146
|
+
|
147
|
+
:param request: Request instance for DescribeObjectTypeList.
|
148
|
+
:type request: :class:`tencentcloud.cfg.v20210820.models.DescribeObjectTypeListRequest`
|
149
|
+
:rtype: :class:`tencentcloud.cfg.v20210820.models.DescribeObjectTypeListResponse`
|
150
|
+
|
151
|
+
"""
|
152
|
+
try:
|
153
|
+
params = request._serialize()
|
154
|
+
headers = request.headers
|
155
|
+
body = self.call("DescribeObjectTypeList", params, headers=headers)
|
156
|
+
response = json.loads(body)
|
157
|
+
model = models.DescribeObjectTypeListResponse()
|
158
|
+
model._deserialize(response["Response"])
|
159
|
+
return model
|
160
|
+
except Exception as e:
|
161
|
+
if isinstance(e, TencentCloudSDKException):
|
162
|
+
raise
|
163
|
+
else:
|
164
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
165
|
+
|
166
|
+
|
75
167
|
def DescribeTask(self, request):
|
76
168
|
"""查询任务
|
77
169
|
|