tencentcloud-sdk-python-cfg 3.0.908__tar.gz → 3.0.910__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.908 → tencentcloud-sdk-python-cfg-3.0.910}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cfg-3.0.908 → tencentcloud-sdk-python-cfg-3.0.910}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cfg-3.0.908 → tencentcloud-sdk-python-cfg-3.0.910}/tencentcloud/cfg/v20210820/models.py +54 -0
- {tencentcloud-sdk-python-cfg-3.0.908 → tencentcloud-sdk-python-cfg-3.0.910}/tencentcloud_sdk_python_cfg.egg-info/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cfg-3.0.908 → tencentcloud-sdk-python-cfg-3.0.910}/README.rst +0 -0
- {tencentcloud-sdk-python-cfg-3.0.908 → tencentcloud-sdk-python-cfg-3.0.910}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cfg-3.0.908 → tencentcloud-sdk-python-cfg-3.0.910}/setup.py +0 -0
- {tencentcloud-sdk-python-cfg-3.0.908 → tencentcloud-sdk-python-cfg-3.0.910}/tencentcloud/cfg/__init__.py +0 -0
- {tencentcloud-sdk-python-cfg-3.0.908 → tencentcloud-sdk-python-cfg-3.0.910}/tencentcloud/cfg/v20210820/__init__.py +0 -0
- {tencentcloud-sdk-python-cfg-3.0.908 → tencentcloud-sdk-python-cfg-3.0.910}/tencentcloud/cfg/v20210820/cfg_client.py +0 -0
- {tencentcloud-sdk-python-cfg-3.0.908 → tencentcloud-sdk-python-cfg-3.0.910}/tencentcloud/cfg/v20210820/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cfg-3.0.908 → tencentcloud-sdk-python-cfg-3.0.910}/tencentcloud_sdk_python_cfg.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cfg-3.0.908 → tencentcloud-sdk-python-cfg-3.0.910}/tencentcloud_sdk_python_cfg.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cfg-3.0.908 → tencentcloud-sdk-python-cfg-3.0.910}/tencentcloud_sdk_python_cfg.egg-info/top_level.txt +0 -0
|
@@ -901,6 +901,14 @@ class TaskGroup(AbstractModel):
|
|
|
901
901
|
:type TaskGroupInstanceList: list of str
|
|
902
902
|
:param TaskGroupMode: 执行模式。1 --- 顺序执行,2 --- 阶段执行
|
|
903
903
|
:type TaskGroupMode: int
|
|
904
|
+
:param TaskGroupDiscardInstanceList: 不参演的实例列表
|
|
905
|
+
:type TaskGroupDiscardInstanceList: list of str
|
|
906
|
+
:param TaskGroupSelectedInstanceList: 参演实例列表
|
|
907
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
908
|
+
:type TaskGroupSelectedInstanceList: list of str
|
|
909
|
+
:param TaskGroupInstancesExecuteRule: 机器选取规则
|
|
910
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
911
|
+
:type TaskGroupInstancesExecuteRule: list of TaskGroupInstancesExecuteRules
|
|
904
912
|
"""
|
|
905
913
|
self.TaskGroupId = None
|
|
906
914
|
self.TaskGroupTitle = None
|
|
@@ -912,6 +920,9 @@ class TaskGroup(AbstractModel):
|
|
|
912
920
|
self.TaskGroupActions = None
|
|
913
921
|
self.TaskGroupInstanceList = None
|
|
914
922
|
self.TaskGroupMode = None
|
|
923
|
+
self.TaskGroupDiscardInstanceList = None
|
|
924
|
+
self.TaskGroupSelectedInstanceList = None
|
|
925
|
+
self.TaskGroupInstancesExecuteRule = None
|
|
915
926
|
|
|
916
927
|
|
|
917
928
|
def _deserialize(self, params):
|
|
@@ -930,6 +941,14 @@ class TaskGroup(AbstractModel):
|
|
|
930
941
|
self.TaskGroupActions.append(obj)
|
|
931
942
|
self.TaskGroupInstanceList = params.get("TaskGroupInstanceList")
|
|
932
943
|
self.TaskGroupMode = params.get("TaskGroupMode")
|
|
944
|
+
self.TaskGroupDiscardInstanceList = params.get("TaskGroupDiscardInstanceList")
|
|
945
|
+
self.TaskGroupSelectedInstanceList = params.get("TaskGroupSelectedInstanceList")
|
|
946
|
+
if params.get("TaskGroupInstancesExecuteRule") is not None:
|
|
947
|
+
self.TaskGroupInstancesExecuteRule = []
|
|
948
|
+
for item in params.get("TaskGroupInstancesExecuteRule"):
|
|
949
|
+
obj = TaskGroupInstancesExecuteRules()
|
|
950
|
+
obj._deserialize(item)
|
|
951
|
+
self.TaskGroupInstancesExecuteRule.append(obj)
|
|
933
952
|
memeber_set = set(params.keys())
|
|
934
953
|
for name, value in vars(self).items():
|
|
935
954
|
if name in memeber_set:
|
|
@@ -1202,6 +1221,41 @@ class TaskGroupInstance(AbstractModel):
|
|
|
1202
1221
|
|
|
1203
1222
|
|
|
1204
1223
|
|
|
1224
|
+
class TaskGroupInstancesExecuteRules(AbstractModel):
|
|
1225
|
+
"""机器选取规则
|
|
1226
|
+
|
|
1227
|
+
"""
|
|
1228
|
+
|
|
1229
|
+
def __init__(self):
|
|
1230
|
+
r"""
|
|
1231
|
+
:param TaskGroupInstancesExecuteMode: 实例选取模式
|
|
1232
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1233
|
+
:type TaskGroupInstancesExecuteMode: int
|
|
1234
|
+
:param TaskGroupInstancesExecutePercent: 按比例选取模式下选取比例
|
|
1235
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1236
|
+
:type TaskGroupInstancesExecutePercent: int
|
|
1237
|
+
:param TaskGroupInstancesExecuteNum: 按数量选取模式下选取数量
|
|
1238
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1239
|
+
:type TaskGroupInstancesExecuteNum: int
|
|
1240
|
+
"""
|
|
1241
|
+
self.TaskGroupInstancesExecuteMode = None
|
|
1242
|
+
self.TaskGroupInstancesExecutePercent = None
|
|
1243
|
+
self.TaskGroupInstancesExecuteNum = None
|
|
1244
|
+
|
|
1245
|
+
|
|
1246
|
+
def _deserialize(self, params):
|
|
1247
|
+
self.TaskGroupInstancesExecuteMode = params.get("TaskGroupInstancesExecuteMode")
|
|
1248
|
+
self.TaskGroupInstancesExecutePercent = params.get("TaskGroupInstancesExecutePercent")
|
|
1249
|
+
self.TaskGroupInstancesExecuteNum = params.get("TaskGroupInstancesExecuteNum")
|
|
1250
|
+
memeber_set = set(params.keys())
|
|
1251
|
+
for name, value in vars(self).items():
|
|
1252
|
+
if name in memeber_set:
|
|
1253
|
+
memeber_set.remove(name)
|
|
1254
|
+
if len(memeber_set) > 0:
|
|
1255
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1256
|
+
|
|
1257
|
+
|
|
1258
|
+
|
|
1205
1259
|
class TaskListItem(AbstractModel):
|
|
1206
1260
|
"""任务列表信息
|
|
1207
1261
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|