tencentcloud-sdk-python-cfg 3.0.1393__tar.gz → 3.0.1413__tar.gz
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-sdk-python-cfg-3.0.1393 → tencentcloud-sdk-python-cfg-3.0.1413}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cfg-3.0.1393 → tencentcloud-sdk-python-cfg-3.0.1413}/setup.py +1 -1
- {tencentcloud-sdk-python-cfg-3.0.1393 → tencentcloud-sdk-python-cfg-3.0.1413}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cfg-3.0.1393 → tencentcloud-sdk-python-cfg-3.0.1413}/tencentcloud/cfg/v20210820/models.py +123 -0
- {tencentcloud-sdk-python-cfg-3.0.1393 → tencentcloud-sdk-python-cfg-3.0.1413}/tencentcloud_sdk_python_cfg.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cfg-3.0.1413/tencentcloud_sdk_python_cfg.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cfg-3.0.1393/tencentcloud_sdk_python_cfg.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cfg-3.0.1393 → tencentcloud-sdk-python-cfg-3.0.1413}/README.rst +0 -0
- {tencentcloud-sdk-python-cfg-3.0.1393 → tencentcloud-sdk-python-cfg-3.0.1413}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cfg-3.0.1393 → tencentcloud-sdk-python-cfg-3.0.1413}/tencentcloud/cfg/__init__.py +0 -0
- {tencentcloud-sdk-python-cfg-3.0.1393 → tencentcloud-sdk-python-cfg-3.0.1413}/tencentcloud/cfg/v20210820/__init__.py +0 -0
- {tencentcloud-sdk-python-cfg-3.0.1393 → tencentcloud-sdk-python-cfg-3.0.1413}/tencentcloud/cfg/v20210820/cfg_client.py +0 -0
- {tencentcloud-sdk-python-cfg-3.0.1393 → tencentcloud-sdk-python-cfg-3.0.1413}/tencentcloud/cfg/v20210820/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cfg-3.0.1393 → tencentcloud-sdk-python-cfg-3.0.1413}/tencentcloud_sdk_python_cfg.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cfg-3.0.1393 → tencentcloud-sdk-python-cfg-3.0.1413}/tencentcloud_sdk_python_cfg.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cfg-3.0.1393 → tencentcloud-sdk-python-cfg-3.0.1413}/tencentcloud_sdk_python_cfg.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-cfg',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1413"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cfg SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -3837,6 +3837,10 @@ class Task(AbstractModel):
|
|
|
3837
3837
|
:type TaskRegionName: str
|
|
3838
3838
|
:param _TaskArchId: 架构ID
|
|
3839
3839
|
:type TaskArchId: str
|
|
3840
|
+
:param _TaskScenario: 演练场景
|
|
3841
|
+
:type TaskScenario: list of TaskTarget
|
|
3842
|
+
:param _TaskPurpose: 演练目的
|
|
3843
|
+
:type TaskPurpose: list of TaskTarget
|
|
3840
3844
|
"""
|
|
3841
3845
|
self._TaskId = None
|
|
3842
3846
|
self._TaskTitle = None
|
|
@@ -3873,6 +3877,8 @@ class Task(AbstractModel):
|
|
|
3873
3877
|
self._TaskIssue = None
|
|
3874
3878
|
self._TaskRegionName = None
|
|
3875
3879
|
self._TaskArchId = None
|
|
3880
|
+
self._TaskScenario = None
|
|
3881
|
+
self._TaskPurpose = None
|
|
3876
3882
|
|
|
3877
3883
|
@property
|
|
3878
3884
|
def TaskId(self):
|
|
@@ -4273,6 +4279,28 @@ class Task(AbstractModel):
|
|
|
4273
4279
|
def TaskArchId(self, TaskArchId):
|
|
4274
4280
|
self._TaskArchId = TaskArchId
|
|
4275
4281
|
|
|
4282
|
+
@property
|
|
4283
|
+
def TaskScenario(self):
|
|
4284
|
+
"""演练场景
|
|
4285
|
+
:rtype: list of TaskTarget
|
|
4286
|
+
"""
|
|
4287
|
+
return self._TaskScenario
|
|
4288
|
+
|
|
4289
|
+
@TaskScenario.setter
|
|
4290
|
+
def TaskScenario(self, TaskScenario):
|
|
4291
|
+
self._TaskScenario = TaskScenario
|
|
4292
|
+
|
|
4293
|
+
@property
|
|
4294
|
+
def TaskPurpose(self):
|
|
4295
|
+
"""演练目的
|
|
4296
|
+
:rtype: list of TaskTarget
|
|
4297
|
+
"""
|
|
4298
|
+
return self._TaskPurpose
|
|
4299
|
+
|
|
4300
|
+
@TaskPurpose.setter
|
|
4301
|
+
def TaskPurpose(self, TaskPurpose):
|
|
4302
|
+
self._TaskPurpose = TaskPurpose
|
|
4303
|
+
|
|
4276
4304
|
|
|
4277
4305
|
def _deserialize(self, params):
|
|
4278
4306
|
self._TaskId = params.get("TaskId")
|
|
@@ -4337,6 +4365,18 @@ class Task(AbstractModel):
|
|
|
4337
4365
|
self._TaskIssue = params.get("TaskIssue")
|
|
4338
4366
|
self._TaskRegionName = params.get("TaskRegionName")
|
|
4339
4367
|
self._TaskArchId = params.get("TaskArchId")
|
|
4368
|
+
if params.get("TaskScenario") is not None:
|
|
4369
|
+
self._TaskScenario = []
|
|
4370
|
+
for item in params.get("TaskScenario"):
|
|
4371
|
+
obj = TaskTarget()
|
|
4372
|
+
obj._deserialize(item)
|
|
4373
|
+
self._TaskScenario.append(obj)
|
|
4374
|
+
if params.get("TaskPurpose") is not None:
|
|
4375
|
+
self._TaskPurpose = []
|
|
4376
|
+
for item in params.get("TaskPurpose"):
|
|
4377
|
+
obj = TaskTarget()
|
|
4378
|
+
obj._deserialize(item)
|
|
4379
|
+
self._TaskPurpose.append(obj)
|
|
4340
4380
|
memeber_set = set(params.keys())
|
|
4341
4381
|
for name, value in vars(self).items():
|
|
4342
4382
|
property_name = name[1:]
|
|
@@ -6175,6 +6215,89 @@ class TaskReportInfo(AbstractModel):
|
|
|
6175
6215
|
|
|
6176
6216
|
|
|
6177
6217
|
|
|
6218
|
+
class TaskTarget(AbstractModel):
|
|
6219
|
+
"""演练目标
|
|
6220
|
+
|
|
6221
|
+
"""
|
|
6222
|
+
|
|
6223
|
+
def __init__(self):
|
|
6224
|
+
r"""
|
|
6225
|
+
:param _TargetId: 目标标签ID
|
|
6226
|
+
:type TargetId: int
|
|
6227
|
+
:param _TargetDesc: 目标描述
|
|
6228
|
+
:type TargetDesc: str
|
|
6229
|
+
:param _Type: 1:演练场景
|
|
6230
|
+
2:演练目标
|
|
6231
|
+
:type Type: int
|
|
6232
|
+
:param _Source: 1:平台 2:用户个人
|
|
6233
|
+
:type Source: int
|
|
6234
|
+
"""
|
|
6235
|
+
self._TargetId = None
|
|
6236
|
+
self._TargetDesc = None
|
|
6237
|
+
self._Type = None
|
|
6238
|
+
self._Source = None
|
|
6239
|
+
|
|
6240
|
+
@property
|
|
6241
|
+
def TargetId(self):
|
|
6242
|
+
"""目标标签ID
|
|
6243
|
+
:rtype: int
|
|
6244
|
+
"""
|
|
6245
|
+
return self._TargetId
|
|
6246
|
+
|
|
6247
|
+
@TargetId.setter
|
|
6248
|
+
def TargetId(self, TargetId):
|
|
6249
|
+
self._TargetId = TargetId
|
|
6250
|
+
|
|
6251
|
+
@property
|
|
6252
|
+
def TargetDesc(self):
|
|
6253
|
+
"""目标描述
|
|
6254
|
+
:rtype: str
|
|
6255
|
+
"""
|
|
6256
|
+
return self._TargetDesc
|
|
6257
|
+
|
|
6258
|
+
@TargetDesc.setter
|
|
6259
|
+
def TargetDesc(self, TargetDesc):
|
|
6260
|
+
self._TargetDesc = TargetDesc
|
|
6261
|
+
|
|
6262
|
+
@property
|
|
6263
|
+
def Type(self):
|
|
6264
|
+
"""1:演练场景
|
|
6265
|
+
2:演练目标
|
|
6266
|
+
:rtype: int
|
|
6267
|
+
"""
|
|
6268
|
+
return self._Type
|
|
6269
|
+
|
|
6270
|
+
@Type.setter
|
|
6271
|
+
def Type(self, Type):
|
|
6272
|
+
self._Type = Type
|
|
6273
|
+
|
|
6274
|
+
@property
|
|
6275
|
+
def Source(self):
|
|
6276
|
+
"""1:平台 2:用户个人
|
|
6277
|
+
:rtype: int
|
|
6278
|
+
"""
|
|
6279
|
+
return self._Source
|
|
6280
|
+
|
|
6281
|
+
@Source.setter
|
|
6282
|
+
def Source(self, Source):
|
|
6283
|
+
self._Source = Source
|
|
6284
|
+
|
|
6285
|
+
|
|
6286
|
+
def _deserialize(self, params):
|
|
6287
|
+
self._TargetId = params.get("TargetId")
|
|
6288
|
+
self._TargetDesc = params.get("TargetDesc")
|
|
6289
|
+
self._Type = params.get("Type")
|
|
6290
|
+
self._Source = params.get("Source")
|
|
6291
|
+
memeber_set = set(params.keys())
|
|
6292
|
+
for name, value in vars(self).items():
|
|
6293
|
+
property_name = name[1:]
|
|
6294
|
+
if property_name in memeber_set:
|
|
6295
|
+
memeber_set.remove(property_name)
|
|
6296
|
+
if len(memeber_set) > 0:
|
|
6297
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6298
|
+
|
|
6299
|
+
|
|
6300
|
+
|
|
6178
6301
|
class Template(AbstractModel):
|
|
6179
6302
|
"""经验库
|
|
6180
6303
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1413
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1393
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|