tencentcloud-sdk-python-cfg 3.0.1479__tar.gz → 3.1.74__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.1.74/PKG-INFO +46 -0
- {tencentcloud-sdk-python-cfg-3.0.1479 → tencentcloud_sdk_python_cfg-3.1.74}/setup.py +2 -1
- {tencentcloud-sdk-python-cfg-3.0.1479 → tencentcloud_sdk_python_cfg-3.1.74}/tencentcloud/__init__.py +1 -1
- tencentcloud_sdk_python_cfg-3.1.74/tencentcloud/cfg/v20210820/cfg_client_async.py +332 -0
- {tencentcloud-sdk-python-cfg-3.0.1479 → tencentcloud_sdk_python_cfg-3.1.74}/tencentcloud/cfg/v20210820/models.py +103 -90
- tencentcloud_sdk_python_cfg-3.1.74/tencentcloud_sdk_python_cfg.egg-info/PKG-INFO +46 -0
- {tencentcloud-sdk-python-cfg-3.0.1479 → tencentcloud_sdk_python_cfg-3.1.74}/tencentcloud_sdk_python_cfg.egg-info/SOURCES.txt +1 -0
- tencentcloud_sdk_python_cfg-3.1.74/tencentcloud_sdk_python_cfg.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cfg-3.0.1479/PKG-INFO +0 -45
- tencentcloud-sdk-python-cfg-3.0.1479/tencentcloud_sdk_python_cfg.egg-info/PKG-INFO +0 -45
- tencentcloud-sdk-python-cfg-3.0.1479/tencentcloud_sdk_python_cfg.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cfg-3.0.1479 → tencentcloud_sdk_python_cfg-3.1.74}/README.rst +0 -0
- {tencentcloud-sdk-python-cfg-3.0.1479 → tencentcloud_sdk_python_cfg-3.1.74}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cfg-3.0.1479 → tencentcloud_sdk_python_cfg-3.1.74}/tencentcloud/cfg/__init__.py +0 -0
- {tencentcloud-sdk-python-cfg-3.0.1479 → tencentcloud_sdk_python_cfg-3.1.74}/tencentcloud/cfg/v20210820/__init__.py +0 -0
- {tencentcloud-sdk-python-cfg-3.0.1479 → tencentcloud_sdk_python_cfg-3.1.74}/tencentcloud/cfg/v20210820/cfg_client.py +0 -0
- {tencentcloud-sdk-python-cfg-3.0.1479 → tencentcloud_sdk_python_cfg-3.1.74}/tencentcloud/cfg/v20210820/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cfg-3.0.1479 → tencentcloud_sdk_python_cfg-3.1.74}/tencentcloud_sdk_python_cfg.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cfg-3.0.1479 → tencentcloud_sdk_python_cfg-3.1.74}/tencentcloud_sdk_python_cfg.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-cfg
|
|
3
|
+
Version: 3.1.74
|
|
4
|
+
Summary: Tencent Cloud Cfg SDK for Python
|
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
+
Author: Tencent Cloud
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Platform: any
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.74
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Cfg SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
25
|
+
The SDK works on Python versions:
|
|
26
|
+
|
|
27
|
+
* 2.7 and greater, including 3.x
|
|
28
|
+
|
|
29
|
+
Quick Start
|
|
30
|
+
-----------
|
|
31
|
+
|
|
32
|
+
First, install the library:
|
|
33
|
+
|
|
34
|
+
.. code-block:: sh
|
|
35
|
+
|
|
36
|
+
$ pip install tencentcloud-sdk-python-common
|
|
37
|
+
$ pip install tencentcloud-sdk-python-cfg
|
|
38
|
+
|
|
39
|
+
or download source code from github and install:
|
|
40
|
+
|
|
41
|
+
.. code-block:: sh
|
|
42
|
+
|
|
43
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
44
|
+
$ cd tencentcloud-sdk-python
|
|
45
|
+
$ python package.py --components common cfg
|
|
46
|
+
|
|
@@ -8,7 +8,8 @@ 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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.74,<4.0.0"],
|
|
12
|
+
|
|
12
13
|
version=tencentcloud.__version__,
|
|
13
14
|
description='Tencent Cloud Cfg SDK for Python',
|
|
14
15
|
long_description=open('README.rst').read(),
|
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
# -*- coding: utf8 -*-
|
|
2
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
from tencentcloud.common.abstract_client_async import AbstractClient
|
|
19
|
+
from tencentcloud.cfg.v20210820 import models
|
|
20
|
+
from typing import Dict
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class CfgClient(AbstractClient):
|
|
24
|
+
_apiVersion = '2021-08-20'
|
|
25
|
+
_endpoint = 'cfg.tencentcloudapi.com'
|
|
26
|
+
_service = 'cfg'
|
|
27
|
+
|
|
28
|
+
async def CreateTaskFromAction(
|
|
29
|
+
self,
|
|
30
|
+
request: models.CreateTaskFromActionRequest,
|
|
31
|
+
opts: Dict = None,
|
|
32
|
+
) -> models.CreateTaskFromActionResponse:
|
|
33
|
+
"""
|
|
34
|
+
从动作创建演练
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
kwargs = {}
|
|
38
|
+
kwargs["action"] = "CreateTaskFromAction"
|
|
39
|
+
kwargs["params"] = request._serialize()
|
|
40
|
+
kwargs["resp_cls"] = models.CreateTaskFromActionResponse
|
|
41
|
+
kwargs["headers"] = request.headers
|
|
42
|
+
kwargs["opts"] = opts or {}
|
|
43
|
+
|
|
44
|
+
return await self.call_and_deserialize(**kwargs)
|
|
45
|
+
|
|
46
|
+
async def CreateTaskFromMultiAction(
|
|
47
|
+
self,
|
|
48
|
+
request: models.CreateTaskFromMultiActionRequest,
|
|
49
|
+
opts: Dict = None,
|
|
50
|
+
) -> models.CreateTaskFromMultiActionResponse:
|
|
51
|
+
"""
|
|
52
|
+
以多个动作创建演练
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
kwargs = {}
|
|
56
|
+
kwargs["action"] = "CreateTaskFromMultiAction"
|
|
57
|
+
kwargs["params"] = request._serialize()
|
|
58
|
+
kwargs["resp_cls"] = models.CreateTaskFromMultiActionResponse
|
|
59
|
+
kwargs["headers"] = request.headers
|
|
60
|
+
kwargs["opts"] = opts or {}
|
|
61
|
+
|
|
62
|
+
return await self.call_and_deserialize(**kwargs)
|
|
63
|
+
|
|
64
|
+
async def CreateTaskFromTemplate(
|
|
65
|
+
self,
|
|
66
|
+
request: models.CreateTaskFromTemplateRequest,
|
|
67
|
+
opts: Dict = None,
|
|
68
|
+
) -> models.CreateTaskFromTemplateResponse:
|
|
69
|
+
"""
|
|
70
|
+
从经验库创建演练
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
kwargs = {}
|
|
74
|
+
kwargs["action"] = "CreateTaskFromTemplate"
|
|
75
|
+
kwargs["params"] = request._serialize()
|
|
76
|
+
kwargs["resp_cls"] = models.CreateTaskFromTemplateResponse
|
|
77
|
+
kwargs["headers"] = request.headers
|
|
78
|
+
kwargs["opts"] = opts or {}
|
|
79
|
+
|
|
80
|
+
return await self.call_and_deserialize(**kwargs)
|
|
81
|
+
|
|
82
|
+
async def DeleteTask(
|
|
83
|
+
self,
|
|
84
|
+
request: models.DeleteTaskRequest,
|
|
85
|
+
opts: Dict = None,
|
|
86
|
+
) -> models.DeleteTaskResponse:
|
|
87
|
+
"""
|
|
88
|
+
删除任务
|
|
89
|
+
"""
|
|
90
|
+
|
|
91
|
+
kwargs = {}
|
|
92
|
+
kwargs["action"] = "DeleteTask"
|
|
93
|
+
kwargs["params"] = request._serialize()
|
|
94
|
+
kwargs["resp_cls"] = models.DeleteTaskResponse
|
|
95
|
+
kwargs["headers"] = request.headers
|
|
96
|
+
kwargs["opts"] = opts or {}
|
|
97
|
+
|
|
98
|
+
return await self.call_and_deserialize(**kwargs)
|
|
99
|
+
|
|
100
|
+
async def DescribeActionFieldConfigList(
|
|
101
|
+
self,
|
|
102
|
+
request: models.DescribeActionFieldConfigListRequest,
|
|
103
|
+
opts: Dict = None,
|
|
104
|
+
) -> models.DescribeActionFieldConfigListResponse:
|
|
105
|
+
"""
|
|
106
|
+
根据动作ID获取动作栏位动态配置参数信息,里面包含动作自有和通用两部分参数。
|
|
107
|
+
"""
|
|
108
|
+
|
|
109
|
+
kwargs = {}
|
|
110
|
+
kwargs["action"] = "DescribeActionFieldConfigList"
|
|
111
|
+
kwargs["params"] = request._serialize()
|
|
112
|
+
kwargs["resp_cls"] = models.DescribeActionFieldConfigListResponse
|
|
113
|
+
kwargs["headers"] = request.headers
|
|
114
|
+
kwargs["opts"] = opts or {}
|
|
115
|
+
|
|
116
|
+
return await self.call_and_deserialize(**kwargs)
|
|
117
|
+
|
|
118
|
+
async def DescribeActionLibraryList(
|
|
119
|
+
self,
|
|
120
|
+
request: models.DescribeActionLibraryListRequest,
|
|
121
|
+
opts: Dict = None,
|
|
122
|
+
) -> models.DescribeActionLibraryListResponse:
|
|
123
|
+
"""
|
|
124
|
+
获取混沌演练平台的动作库列表
|
|
125
|
+
"""
|
|
126
|
+
|
|
127
|
+
kwargs = {}
|
|
128
|
+
kwargs["action"] = "DescribeActionLibraryList"
|
|
129
|
+
kwargs["params"] = request._serialize()
|
|
130
|
+
kwargs["resp_cls"] = models.DescribeActionLibraryListResponse
|
|
131
|
+
kwargs["headers"] = request.headers
|
|
132
|
+
kwargs["opts"] = opts or {}
|
|
133
|
+
|
|
134
|
+
return await self.call_and_deserialize(**kwargs)
|
|
135
|
+
|
|
136
|
+
async def DescribeObjectTypeList(
|
|
137
|
+
self,
|
|
138
|
+
request: models.DescribeObjectTypeListRequest,
|
|
139
|
+
opts: Dict = None,
|
|
140
|
+
) -> models.DescribeObjectTypeListResponse:
|
|
141
|
+
"""
|
|
142
|
+
查询对象类型列表
|
|
143
|
+
"""
|
|
144
|
+
|
|
145
|
+
kwargs = {}
|
|
146
|
+
kwargs["action"] = "DescribeObjectTypeList"
|
|
147
|
+
kwargs["params"] = request._serialize()
|
|
148
|
+
kwargs["resp_cls"] = models.DescribeObjectTypeListResponse
|
|
149
|
+
kwargs["headers"] = request.headers
|
|
150
|
+
kwargs["opts"] = opts or {}
|
|
151
|
+
|
|
152
|
+
return await self.call_and_deserialize(**kwargs)
|
|
153
|
+
|
|
154
|
+
async def DescribeTask(
|
|
155
|
+
self,
|
|
156
|
+
request: models.DescribeTaskRequest,
|
|
157
|
+
opts: Dict = None,
|
|
158
|
+
) -> models.DescribeTaskResponse:
|
|
159
|
+
"""
|
|
160
|
+
查询任务
|
|
161
|
+
"""
|
|
162
|
+
|
|
163
|
+
kwargs = {}
|
|
164
|
+
kwargs["action"] = "DescribeTask"
|
|
165
|
+
kwargs["params"] = request._serialize()
|
|
166
|
+
kwargs["resp_cls"] = models.DescribeTaskResponse
|
|
167
|
+
kwargs["headers"] = request.headers
|
|
168
|
+
kwargs["opts"] = opts or {}
|
|
169
|
+
|
|
170
|
+
return await self.call_and_deserialize(**kwargs)
|
|
171
|
+
|
|
172
|
+
async def DescribeTaskExecuteLogs(
|
|
173
|
+
self,
|
|
174
|
+
request: models.DescribeTaskExecuteLogsRequest,
|
|
175
|
+
opts: Dict = None,
|
|
176
|
+
) -> models.DescribeTaskExecuteLogsResponse:
|
|
177
|
+
"""
|
|
178
|
+
获取演练过程中的所有日志
|
|
179
|
+
"""
|
|
180
|
+
|
|
181
|
+
kwargs = {}
|
|
182
|
+
kwargs["action"] = "DescribeTaskExecuteLogs"
|
|
183
|
+
kwargs["params"] = request._serialize()
|
|
184
|
+
kwargs["resp_cls"] = models.DescribeTaskExecuteLogsResponse
|
|
185
|
+
kwargs["headers"] = request.headers
|
|
186
|
+
kwargs["opts"] = opts or {}
|
|
187
|
+
|
|
188
|
+
return await self.call_and_deserialize(**kwargs)
|
|
189
|
+
|
|
190
|
+
async def DescribeTaskList(
|
|
191
|
+
self,
|
|
192
|
+
request: models.DescribeTaskListRequest,
|
|
193
|
+
opts: Dict = None,
|
|
194
|
+
) -> models.DescribeTaskListResponse:
|
|
195
|
+
"""
|
|
196
|
+
查询任务列表
|
|
197
|
+
"""
|
|
198
|
+
|
|
199
|
+
kwargs = {}
|
|
200
|
+
kwargs["action"] = "DescribeTaskList"
|
|
201
|
+
kwargs["params"] = request._serialize()
|
|
202
|
+
kwargs["resp_cls"] = models.DescribeTaskListResponse
|
|
203
|
+
kwargs["headers"] = request.headers
|
|
204
|
+
kwargs["opts"] = opts or {}
|
|
205
|
+
|
|
206
|
+
return await self.call_and_deserialize(**kwargs)
|
|
207
|
+
|
|
208
|
+
async def DescribeTaskPolicyTriggerLog(
|
|
209
|
+
self,
|
|
210
|
+
request: models.DescribeTaskPolicyTriggerLogRequest,
|
|
211
|
+
opts: Dict = None,
|
|
212
|
+
) -> models.DescribeTaskPolicyTriggerLogResponse:
|
|
213
|
+
"""
|
|
214
|
+
获取护栏触发日志
|
|
215
|
+
"""
|
|
216
|
+
|
|
217
|
+
kwargs = {}
|
|
218
|
+
kwargs["action"] = "DescribeTaskPolicyTriggerLog"
|
|
219
|
+
kwargs["params"] = request._serialize()
|
|
220
|
+
kwargs["resp_cls"] = models.DescribeTaskPolicyTriggerLogResponse
|
|
221
|
+
kwargs["headers"] = request.headers
|
|
222
|
+
kwargs["opts"] = opts or {}
|
|
223
|
+
|
|
224
|
+
return await self.call_and_deserialize(**kwargs)
|
|
225
|
+
|
|
226
|
+
async def DescribeTemplate(
|
|
227
|
+
self,
|
|
228
|
+
request: models.DescribeTemplateRequest,
|
|
229
|
+
opts: Dict = None,
|
|
230
|
+
) -> models.DescribeTemplateResponse:
|
|
231
|
+
"""
|
|
232
|
+
查询经验库
|
|
233
|
+
"""
|
|
234
|
+
|
|
235
|
+
kwargs = {}
|
|
236
|
+
kwargs["action"] = "DescribeTemplate"
|
|
237
|
+
kwargs["params"] = request._serialize()
|
|
238
|
+
kwargs["resp_cls"] = models.DescribeTemplateResponse
|
|
239
|
+
kwargs["headers"] = request.headers
|
|
240
|
+
kwargs["opts"] = opts or {}
|
|
241
|
+
|
|
242
|
+
return await self.call_and_deserialize(**kwargs)
|
|
243
|
+
|
|
244
|
+
async def DescribeTemplateList(
|
|
245
|
+
self,
|
|
246
|
+
request: models.DescribeTemplateListRequest,
|
|
247
|
+
opts: Dict = None,
|
|
248
|
+
) -> models.DescribeTemplateListResponse:
|
|
249
|
+
"""
|
|
250
|
+
查询经验库列表
|
|
251
|
+
"""
|
|
252
|
+
|
|
253
|
+
kwargs = {}
|
|
254
|
+
kwargs["action"] = "DescribeTemplateList"
|
|
255
|
+
kwargs["params"] = request._serialize()
|
|
256
|
+
kwargs["resp_cls"] = models.DescribeTemplateListResponse
|
|
257
|
+
kwargs["headers"] = request.headers
|
|
258
|
+
kwargs["opts"] = opts or {}
|
|
259
|
+
|
|
260
|
+
return await self.call_and_deserialize(**kwargs)
|
|
261
|
+
|
|
262
|
+
async def ExecuteTask(
|
|
263
|
+
self,
|
|
264
|
+
request: models.ExecuteTaskRequest,
|
|
265
|
+
opts: Dict = None,
|
|
266
|
+
) -> models.ExecuteTaskResponse:
|
|
267
|
+
"""
|
|
268
|
+
执行任务
|
|
269
|
+
"""
|
|
270
|
+
|
|
271
|
+
kwargs = {}
|
|
272
|
+
kwargs["action"] = "ExecuteTask"
|
|
273
|
+
kwargs["params"] = request._serialize()
|
|
274
|
+
kwargs["resp_cls"] = models.ExecuteTaskResponse
|
|
275
|
+
kwargs["headers"] = request.headers
|
|
276
|
+
kwargs["opts"] = opts or {}
|
|
277
|
+
|
|
278
|
+
return await self.call_and_deserialize(**kwargs)
|
|
279
|
+
|
|
280
|
+
async def ExecuteTaskInstance(
|
|
281
|
+
self,
|
|
282
|
+
request: models.ExecuteTaskInstanceRequest,
|
|
283
|
+
opts: Dict = None,
|
|
284
|
+
) -> models.ExecuteTaskInstanceResponse:
|
|
285
|
+
"""
|
|
286
|
+
触发混沌演练任务的动作,对于实例进行演练操作
|
|
287
|
+
"""
|
|
288
|
+
|
|
289
|
+
kwargs = {}
|
|
290
|
+
kwargs["action"] = "ExecuteTaskInstance"
|
|
291
|
+
kwargs["params"] = request._serialize()
|
|
292
|
+
kwargs["resp_cls"] = models.ExecuteTaskInstanceResponse
|
|
293
|
+
kwargs["headers"] = request.headers
|
|
294
|
+
kwargs["opts"] = opts or {}
|
|
295
|
+
|
|
296
|
+
return await self.call_and_deserialize(**kwargs)
|
|
297
|
+
|
|
298
|
+
async def ModifyTaskRunStatus(
|
|
299
|
+
self,
|
|
300
|
+
request: models.ModifyTaskRunStatusRequest,
|
|
301
|
+
opts: Dict = None,
|
|
302
|
+
) -> models.ModifyTaskRunStatusResponse:
|
|
303
|
+
"""
|
|
304
|
+
修改任务运行状态
|
|
305
|
+
"""
|
|
306
|
+
|
|
307
|
+
kwargs = {}
|
|
308
|
+
kwargs["action"] = "ModifyTaskRunStatus"
|
|
309
|
+
kwargs["params"] = request._serialize()
|
|
310
|
+
kwargs["resp_cls"] = models.ModifyTaskRunStatusResponse
|
|
311
|
+
kwargs["headers"] = request.headers
|
|
312
|
+
kwargs["opts"] = opts or {}
|
|
313
|
+
|
|
314
|
+
return await self.call_and_deserialize(**kwargs)
|
|
315
|
+
|
|
316
|
+
async def TriggerPolicy(
|
|
317
|
+
self,
|
|
318
|
+
request: models.TriggerPolicyRequest,
|
|
319
|
+
opts: Dict = None,
|
|
320
|
+
) -> models.TriggerPolicyResponse:
|
|
321
|
+
"""
|
|
322
|
+
用于触发混沌演练护栏(类型为触发和恢复2种)
|
|
323
|
+
"""
|
|
324
|
+
|
|
325
|
+
kwargs = {}
|
|
326
|
+
kwargs["action"] = "TriggerPolicy"
|
|
327
|
+
kwargs["params"] = request._serialize()
|
|
328
|
+
kwargs["resp_cls"] = models.TriggerPolicyResponse
|
|
329
|
+
kwargs["headers"] = request.headers
|
|
330
|
+
kwargs["opts"] = opts or {}
|
|
331
|
+
|
|
332
|
+
return await self.call_and_deserialize(**kwargs)
|
|
@@ -1711,13 +1711,13 @@ class DescribePolicy(AbstractModel):
|
|
|
1711
1711
|
|
|
1712
1712
|
def __init__(self):
|
|
1713
1713
|
r"""
|
|
1714
|
-
:param _TaskPolicyIdList:
|
|
1714
|
+
:param _TaskPolicyIdList: <p>保护策略ID列表</p>
|
|
1715
1715
|
:type TaskPolicyIdList: list of str
|
|
1716
|
-
:param _TaskPolicyStatus:
|
|
1716
|
+
:param _TaskPolicyStatus: <p>保护策略状态</p><p>枚举值:</p><ul><li>已触发: 表示已触发护栏策略</li><li>未触发: 表示未触发护栏策略</li><li>已恢复: 表示护栏策略已恢复</li></ul>
|
|
1717
1717
|
:type TaskPolicyStatus: str
|
|
1718
|
-
:param _TaskPolicyRule:
|
|
1718
|
+
:param _TaskPolicyRule: <p>策略规则</p>
|
|
1719
1719
|
:type TaskPolicyRule: str
|
|
1720
|
-
:param _TaskPolicyDealType:
|
|
1720
|
+
:param _TaskPolicyDealType: <p>护栏策略生效处理策略 1:顺序执行,2:暂停</p>
|
|
1721
1721
|
:type TaskPolicyDealType: int
|
|
1722
1722
|
"""
|
|
1723
1723
|
self._TaskPolicyIdList = None
|
|
@@ -1727,7 +1727,7 @@ class DescribePolicy(AbstractModel):
|
|
|
1727
1727
|
|
|
1728
1728
|
@property
|
|
1729
1729
|
def TaskPolicyIdList(self):
|
|
1730
|
-
r"""
|
|
1730
|
+
r"""<p>保护策略ID列表</p>
|
|
1731
1731
|
:rtype: list of str
|
|
1732
1732
|
"""
|
|
1733
1733
|
return self._TaskPolicyIdList
|
|
@@ -1738,7 +1738,7 @@ class DescribePolicy(AbstractModel):
|
|
|
1738
1738
|
|
|
1739
1739
|
@property
|
|
1740
1740
|
def TaskPolicyStatus(self):
|
|
1741
|
-
r"""
|
|
1741
|
+
r"""<p>保护策略状态</p><p>枚举值:</p><ul><li>已触发: 表示已触发护栏策略</li><li>未触发: 表示未触发护栏策略</li><li>已恢复: 表示护栏策略已恢复</li></ul>
|
|
1742
1742
|
:rtype: str
|
|
1743
1743
|
"""
|
|
1744
1744
|
return self._TaskPolicyStatus
|
|
@@ -1749,7 +1749,7 @@ class DescribePolicy(AbstractModel):
|
|
|
1749
1749
|
|
|
1750
1750
|
@property
|
|
1751
1751
|
def TaskPolicyRule(self):
|
|
1752
|
-
r"""
|
|
1752
|
+
r"""<p>策略规则</p>
|
|
1753
1753
|
:rtype: str
|
|
1754
1754
|
"""
|
|
1755
1755
|
return self._TaskPolicyRule
|
|
@@ -1760,7 +1760,7 @@ class DescribePolicy(AbstractModel):
|
|
|
1760
1760
|
|
|
1761
1761
|
@property
|
|
1762
1762
|
def TaskPolicyDealType(self):
|
|
1763
|
-
r"""
|
|
1763
|
+
r"""<p>护栏策略生效处理策略 1:顺序执行,2:暂停</p>
|
|
1764
1764
|
:rtype: int
|
|
1765
1765
|
"""
|
|
1766
1766
|
return self._TaskPolicyDealType
|
|
@@ -2974,6 +2974,8 @@ class ModifyTaskRunStatusRequest(AbstractModel):
|
|
|
2974
2974
|
:type Issue: str
|
|
2975
2975
|
:param _Record: 演练记录
|
|
2976
2976
|
:type Record: str
|
|
2977
|
+
:param _IncludeRecordInReport:
|
|
2978
|
+
:type IncludeRecordInReport: int
|
|
2977
2979
|
"""
|
|
2978
2980
|
self._TaskId = None
|
|
2979
2981
|
self._Status = None
|
|
@@ -2981,6 +2983,7 @@ class ModifyTaskRunStatusRequest(AbstractModel):
|
|
|
2981
2983
|
self._Summary = None
|
|
2982
2984
|
self._Issue = None
|
|
2983
2985
|
self._Record = None
|
|
2986
|
+
self._IncludeRecordInReport = None
|
|
2984
2987
|
|
|
2985
2988
|
@property
|
|
2986
2989
|
def TaskId(self):
|
|
@@ -3048,6 +3051,17 @@ class ModifyTaskRunStatusRequest(AbstractModel):
|
|
|
3048
3051
|
def Record(self, Record):
|
|
3049
3052
|
self._Record = Record
|
|
3050
3053
|
|
|
3054
|
+
@property
|
|
3055
|
+
def IncludeRecordInReport(self):
|
|
3056
|
+
r"""
|
|
3057
|
+
:rtype: int
|
|
3058
|
+
"""
|
|
3059
|
+
return self._IncludeRecordInReport
|
|
3060
|
+
|
|
3061
|
+
@IncludeRecordInReport.setter
|
|
3062
|
+
def IncludeRecordInReport(self, IncludeRecordInReport):
|
|
3063
|
+
self._IncludeRecordInReport = IncludeRecordInReport
|
|
3064
|
+
|
|
3051
3065
|
|
|
3052
3066
|
def _deserialize(self, params):
|
|
3053
3067
|
self._TaskId = params.get("TaskId")
|
|
@@ -3056,6 +3070,7 @@ class ModifyTaskRunStatusRequest(AbstractModel):
|
|
|
3056
3070
|
self._Summary = params.get("Summary")
|
|
3057
3071
|
self._Issue = params.get("Issue")
|
|
3058
3072
|
self._Record = params.get("Record")
|
|
3073
|
+
self._IncludeRecordInReport = params.get("IncludeRecordInReport")
|
|
3059
3074
|
memeber_set = set(params.keys())
|
|
3060
3075
|
for name, value in vars(self).items():
|
|
3061
3076
|
property_name = name[1:]
|
|
@@ -4776,47 +4791,47 @@ class TaskGroupAction(AbstractModel):
|
|
|
4776
4791
|
|
|
4777
4792
|
def __init__(self):
|
|
4778
4793
|
r"""
|
|
4779
|
-
:param _TaskGroupActionId:
|
|
4794
|
+
:param _TaskGroupActionId: <p>任务分组动作ID</p>
|
|
4780
4795
|
:type TaskGroupActionId: int
|
|
4781
|
-
:param _TaskGroupInstances:
|
|
4796
|
+
:param _TaskGroupInstances: <p>任务分组动作实例列表</p>
|
|
4782
4797
|
:type TaskGroupInstances: list of TaskGroupInstance
|
|
4783
|
-
:param _ActionId:
|
|
4798
|
+
:param _ActionId: <p>动作ID</p>
|
|
4784
4799
|
:type ActionId: int
|
|
4785
|
-
:param _TaskGroupActionOrder:
|
|
4800
|
+
:param _TaskGroupActionOrder: <p>分组动作顺序</p>
|
|
4786
4801
|
:type TaskGroupActionOrder: int
|
|
4787
|
-
:param _TaskGroupActionGeneralConfiguration:
|
|
4802
|
+
:param _TaskGroupActionGeneralConfiguration: <p>分组动作通用配置</p>
|
|
4788
4803
|
:type TaskGroupActionGeneralConfiguration: str
|
|
4789
|
-
:param _TaskGroupActionCustomConfiguration:
|
|
4804
|
+
:param _TaskGroupActionCustomConfiguration: <p>分组动作自定义配置</p>
|
|
4790
4805
|
:type TaskGroupActionCustomConfiguration: str
|
|
4791
|
-
:param _TaskGroupActionStatus:
|
|
4806
|
+
:param _TaskGroupActionStatus: <p>分组动作状态</p><p>枚举值:</p><ul><li>2001: 未开始</li><li>2002: 待执行</li><li>2003: 执行中</li><li>2004: 执行结束</li></ul>
|
|
4792
4807
|
:type TaskGroupActionStatus: int
|
|
4793
|
-
:param _TaskGroupActionCreateTime:
|
|
4808
|
+
:param _TaskGroupActionCreateTime: <p>动作分组创建时间</p>
|
|
4794
4809
|
:type TaskGroupActionCreateTime: str
|
|
4795
|
-
:param _TaskGroupActionUpdateTime:
|
|
4810
|
+
:param _TaskGroupActionUpdateTime: <p>动作分组更新时间</p>
|
|
4796
4811
|
:type TaskGroupActionUpdateTime: str
|
|
4797
|
-
:param _ActionTitle:
|
|
4812
|
+
:param _ActionTitle: <p>动作名称</p>
|
|
4798
4813
|
:type ActionTitle: str
|
|
4799
|
-
:param _TaskGroupActionStatusType:
|
|
4814
|
+
:param _TaskGroupActionStatusType: <p>状态类型: 0 -- 无状态,1 -- 成功,2-- 失败,3--终止,4--跳过</p>
|
|
4800
4815
|
:type TaskGroupActionStatusType: int
|
|
4801
|
-
:param _TaskGroupActionRandomId: RandomId
|
|
4816
|
+
:param _TaskGroupActionRandomId: <p>RandomId</p>
|
|
4802
4817
|
:type TaskGroupActionRandomId: int
|
|
4803
|
-
:param _TaskGroupActionRecoverId: RecoverId
|
|
4818
|
+
:param _TaskGroupActionRecoverId: <p>RecoverId</p>
|
|
4804
4819
|
:type TaskGroupActionRecoverId: int
|
|
4805
|
-
:param _TaskGroupActionExecuteId: ExecuteId
|
|
4820
|
+
:param _TaskGroupActionExecuteId: <p>ExecuteId</p>
|
|
4806
4821
|
:type TaskGroupActionExecuteId: int
|
|
4807
|
-
:param _ActionApiType:
|
|
4822
|
+
:param _ActionApiType: <p>调用api类型,0:tat, 1:云api</p>
|
|
4808
4823
|
:type ActionApiType: int
|
|
4809
|
-
:param _ActionAttribute: 1:故障,2
|
|
4824
|
+
:param _ActionAttribute: <p>1:故障,2:恢复</p>
|
|
4810
4825
|
:type ActionAttribute: int
|
|
4811
|
-
:param _ActionType:
|
|
4826
|
+
:param _ActionType: <p>动作类型:平台、自定义</p>
|
|
4812
4827
|
:type ActionType: str
|
|
4813
|
-
:param _IsExecuteRedo:
|
|
4828
|
+
:param _IsExecuteRedo: <p>是否可重试</p>
|
|
4814
4829
|
:type IsExecuteRedo: bool
|
|
4815
|
-
:param _ActionRisk:
|
|
4830
|
+
:param _ActionRisk: <p>动作风险级别</p>
|
|
4816
4831
|
:type ActionRisk: str
|
|
4817
|
-
:param _TaskGroupActionExecuteTime:
|
|
4832
|
+
:param _TaskGroupActionExecuteTime: <p>动作运行时间</p><p>单位:秒</p>
|
|
4818
4833
|
:type TaskGroupActionExecuteTime: int
|
|
4819
|
-
:param _TaskGroupActionStartTime:
|
|
4834
|
+
:param _TaskGroupActionStartTime: <p>动作开始执行时间</p>
|
|
4820
4835
|
:type TaskGroupActionStartTime: str
|
|
4821
4836
|
"""
|
|
4822
4837
|
self._TaskGroupActionId = None
|
|
@@ -4843,7 +4858,7 @@ class TaskGroupAction(AbstractModel):
|
|
|
4843
4858
|
|
|
4844
4859
|
@property
|
|
4845
4860
|
def TaskGroupActionId(self):
|
|
4846
|
-
r"""
|
|
4861
|
+
r"""<p>任务分组动作ID</p>
|
|
4847
4862
|
:rtype: int
|
|
4848
4863
|
"""
|
|
4849
4864
|
return self._TaskGroupActionId
|
|
@@ -4854,7 +4869,7 @@ class TaskGroupAction(AbstractModel):
|
|
|
4854
4869
|
|
|
4855
4870
|
@property
|
|
4856
4871
|
def TaskGroupInstances(self):
|
|
4857
|
-
r"""
|
|
4872
|
+
r"""<p>任务分组动作实例列表</p>
|
|
4858
4873
|
:rtype: list of TaskGroupInstance
|
|
4859
4874
|
"""
|
|
4860
4875
|
return self._TaskGroupInstances
|
|
@@ -4865,7 +4880,7 @@ class TaskGroupAction(AbstractModel):
|
|
|
4865
4880
|
|
|
4866
4881
|
@property
|
|
4867
4882
|
def ActionId(self):
|
|
4868
|
-
r"""
|
|
4883
|
+
r"""<p>动作ID</p>
|
|
4869
4884
|
:rtype: int
|
|
4870
4885
|
"""
|
|
4871
4886
|
return self._ActionId
|
|
@@ -4876,7 +4891,7 @@ class TaskGroupAction(AbstractModel):
|
|
|
4876
4891
|
|
|
4877
4892
|
@property
|
|
4878
4893
|
def TaskGroupActionOrder(self):
|
|
4879
|
-
r"""
|
|
4894
|
+
r"""<p>分组动作顺序</p>
|
|
4880
4895
|
:rtype: int
|
|
4881
4896
|
"""
|
|
4882
4897
|
return self._TaskGroupActionOrder
|
|
@@ -4887,7 +4902,7 @@ class TaskGroupAction(AbstractModel):
|
|
|
4887
4902
|
|
|
4888
4903
|
@property
|
|
4889
4904
|
def TaskGroupActionGeneralConfiguration(self):
|
|
4890
|
-
r"""
|
|
4905
|
+
r"""<p>分组动作通用配置</p>
|
|
4891
4906
|
:rtype: str
|
|
4892
4907
|
"""
|
|
4893
4908
|
return self._TaskGroupActionGeneralConfiguration
|
|
@@ -4898,7 +4913,7 @@ class TaskGroupAction(AbstractModel):
|
|
|
4898
4913
|
|
|
4899
4914
|
@property
|
|
4900
4915
|
def TaskGroupActionCustomConfiguration(self):
|
|
4901
|
-
r"""
|
|
4916
|
+
r"""<p>分组动作自定义配置</p>
|
|
4902
4917
|
:rtype: str
|
|
4903
4918
|
"""
|
|
4904
4919
|
return self._TaskGroupActionCustomConfiguration
|
|
@@ -4909,7 +4924,7 @@ class TaskGroupAction(AbstractModel):
|
|
|
4909
4924
|
|
|
4910
4925
|
@property
|
|
4911
4926
|
def TaskGroupActionStatus(self):
|
|
4912
|
-
r"""
|
|
4927
|
+
r"""<p>分组动作状态</p><p>枚举值:</p><ul><li>2001: 未开始</li><li>2002: 待执行</li><li>2003: 执行中</li><li>2004: 执行结束</li></ul>
|
|
4913
4928
|
:rtype: int
|
|
4914
4929
|
"""
|
|
4915
4930
|
return self._TaskGroupActionStatus
|
|
@@ -4920,7 +4935,7 @@ class TaskGroupAction(AbstractModel):
|
|
|
4920
4935
|
|
|
4921
4936
|
@property
|
|
4922
4937
|
def TaskGroupActionCreateTime(self):
|
|
4923
|
-
r"""
|
|
4938
|
+
r"""<p>动作分组创建时间</p>
|
|
4924
4939
|
:rtype: str
|
|
4925
4940
|
"""
|
|
4926
4941
|
return self._TaskGroupActionCreateTime
|
|
@@ -4931,7 +4946,7 @@ class TaskGroupAction(AbstractModel):
|
|
|
4931
4946
|
|
|
4932
4947
|
@property
|
|
4933
4948
|
def TaskGroupActionUpdateTime(self):
|
|
4934
|
-
r"""
|
|
4949
|
+
r"""<p>动作分组更新时间</p>
|
|
4935
4950
|
:rtype: str
|
|
4936
4951
|
"""
|
|
4937
4952
|
return self._TaskGroupActionUpdateTime
|
|
@@ -4942,7 +4957,7 @@ class TaskGroupAction(AbstractModel):
|
|
|
4942
4957
|
|
|
4943
4958
|
@property
|
|
4944
4959
|
def ActionTitle(self):
|
|
4945
|
-
r"""
|
|
4960
|
+
r"""<p>动作名称</p>
|
|
4946
4961
|
:rtype: str
|
|
4947
4962
|
"""
|
|
4948
4963
|
return self._ActionTitle
|
|
@@ -4953,7 +4968,7 @@ class TaskGroupAction(AbstractModel):
|
|
|
4953
4968
|
|
|
4954
4969
|
@property
|
|
4955
4970
|
def TaskGroupActionStatusType(self):
|
|
4956
|
-
r"""
|
|
4971
|
+
r"""<p>状态类型: 0 -- 无状态,1 -- 成功,2-- 失败,3--终止,4--跳过</p>
|
|
4957
4972
|
:rtype: int
|
|
4958
4973
|
"""
|
|
4959
4974
|
return self._TaskGroupActionStatusType
|
|
@@ -4964,7 +4979,7 @@ class TaskGroupAction(AbstractModel):
|
|
|
4964
4979
|
|
|
4965
4980
|
@property
|
|
4966
4981
|
def TaskGroupActionRandomId(self):
|
|
4967
|
-
r"""RandomId
|
|
4982
|
+
r"""<p>RandomId</p>
|
|
4968
4983
|
:rtype: int
|
|
4969
4984
|
"""
|
|
4970
4985
|
return self._TaskGroupActionRandomId
|
|
@@ -4975,7 +4990,7 @@ class TaskGroupAction(AbstractModel):
|
|
|
4975
4990
|
|
|
4976
4991
|
@property
|
|
4977
4992
|
def TaskGroupActionRecoverId(self):
|
|
4978
|
-
r"""RecoverId
|
|
4993
|
+
r"""<p>RecoverId</p>
|
|
4979
4994
|
:rtype: int
|
|
4980
4995
|
"""
|
|
4981
4996
|
return self._TaskGroupActionRecoverId
|
|
@@ -4986,7 +5001,7 @@ class TaskGroupAction(AbstractModel):
|
|
|
4986
5001
|
|
|
4987
5002
|
@property
|
|
4988
5003
|
def TaskGroupActionExecuteId(self):
|
|
4989
|
-
r"""ExecuteId
|
|
5004
|
+
r"""<p>ExecuteId</p>
|
|
4990
5005
|
:rtype: int
|
|
4991
5006
|
"""
|
|
4992
5007
|
return self._TaskGroupActionExecuteId
|
|
@@ -4997,7 +5012,7 @@ class TaskGroupAction(AbstractModel):
|
|
|
4997
5012
|
|
|
4998
5013
|
@property
|
|
4999
5014
|
def ActionApiType(self):
|
|
5000
|
-
r"""
|
|
5015
|
+
r"""<p>调用api类型,0:tat, 1:云api</p>
|
|
5001
5016
|
:rtype: int
|
|
5002
5017
|
"""
|
|
5003
5018
|
return self._ActionApiType
|
|
@@ -5008,7 +5023,7 @@ class TaskGroupAction(AbstractModel):
|
|
|
5008
5023
|
|
|
5009
5024
|
@property
|
|
5010
5025
|
def ActionAttribute(self):
|
|
5011
|
-
r"""1:故障,2
|
|
5026
|
+
r"""<p>1:故障,2:恢复</p>
|
|
5012
5027
|
:rtype: int
|
|
5013
5028
|
"""
|
|
5014
5029
|
return self._ActionAttribute
|
|
@@ -5019,7 +5034,7 @@ class TaskGroupAction(AbstractModel):
|
|
|
5019
5034
|
|
|
5020
5035
|
@property
|
|
5021
5036
|
def ActionType(self):
|
|
5022
|
-
r"""
|
|
5037
|
+
r"""<p>动作类型:平台、自定义</p>
|
|
5023
5038
|
:rtype: str
|
|
5024
5039
|
"""
|
|
5025
5040
|
return self._ActionType
|
|
@@ -5030,7 +5045,7 @@ class TaskGroupAction(AbstractModel):
|
|
|
5030
5045
|
|
|
5031
5046
|
@property
|
|
5032
5047
|
def IsExecuteRedo(self):
|
|
5033
|
-
r"""
|
|
5048
|
+
r"""<p>是否可重试</p>
|
|
5034
5049
|
:rtype: bool
|
|
5035
5050
|
"""
|
|
5036
5051
|
return self._IsExecuteRedo
|
|
@@ -5041,7 +5056,7 @@ class TaskGroupAction(AbstractModel):
|
|
|
5041
5056
|
|
|
5042
5057
|
@property
|
|
5043
5058
|
def ActionRisk(self):
|
|
5044
|
-
r"""
|
|
5059
|
+
r"""<p>动作风险级别</p>
|
|
5045
5060
|
:rtype: str
|
|
5046
5061
|
"""
|
|
5047
5062
|
return self._ActionRisk
|
|
@@ -5052,7 +5067,7 @@ class TaskGroupAction(AbstractModel):
|
|
|
5052
5067
|
|
|
5053
5068
|
@property
|
|
5054
5069
|
def TaskGroupActionExecuteTime(self):
|
|
5055
|
-
r"""
|
|
5070
|
+
r"""<p>动作运行时间</p><p>单位:秒</p>
|
|
5056
5071
|
:rtype: int
|
|
5057
5072
|
"""
|
|
5058
5073
|
return self._TaskGroupActionExecuteTime
|
|
@@ -5063,7 +5078,7 @@ class TaskGroupAction(AbstractModel):
|
|
|
5063
5078
|
|
|
5064
5079
|
@property
|
|
5065
5080
|
def TaskGroupActionStartTime(self):
|
|
5066
|
-
r"""
|
|
5081
|
+
r"""<p>动作开始执行时间</p>
|
|
5067
5082
|
:rtype: str
|
|
5068
5083
|
"""
|
|
5069
5084
|
return self._TaskGroupActionStartTime
|
|
@@ -5388,28 +5403,28 @@ class TaskGroupInstance(AbstractModel):
|
|
|
5388
5403
|
|
|
5389
5404
|
def __init__(self):
|
|
5390
5405
|
r"""
|
|
5391
|
-
:param _TaskGroupInstanceId:
|
|
5406
|
+
:param _TaskGroupInstanceId: <p>实例ID</p>
|
|
5392
5407
|
:type TaskGroupInstanceId: int
|
|
5393
|
-
:param _TaskGroupInstanceObjectId:
|
|
5408
|
+
:param _TaskGroupInstanceObjectId: <p>实例ID</p>
|
|
5394
5409
|
:type TaskGroupInstanceObjectId: str
|
|
5395
|
-
:param _TaskGroupInstanceStatus:
|
|
5410
|
+
:param _TaskGroupInstanceStatus: <p>实例动作执行状态</p><p>枚举值:</p><ul><li>3001: 未开始</li><li>3002: 执行中</li><li>3003: 执行结束</li><li>3004: 准备中</li></ul>
|
|
5396
5411
|
:type TaskGroupInstanceStatus: int
|
|
5397
|
-
:param _TaskGroupInstanceCreateTime:
|
|
5412
|
+
:param _TaskGroupInstanceCreateTime: <p>实例创建时间</p>
|
|
5398
5413
|
:type TaskGroupInstanceCreateTime: str
|
|
5399
|
-
:param _TaskGroupInstanceUpdateTime:
|
|
5414
|
+
:param _TaskGroupInstanceUpdateTime: <p>实例更新时间</p>
|
|
5400
5415
|
:type TaskGroupInstanceUpdateTime: str
|
|
5401
|
-
:param _TaskGroupInstanceStatusType:
|
|
5416
|
+
:param _TaskGroupInstanceStatusType: <p>状态类型: 0 -- 无状态,1 -- 成功,2-- 失败,3--终止,4--跳过</p>
|
|
5402
5417
|
:type TaskGroupInstanceStatusType: int
|
|
5403
|
-
:param _TaskGroupInstanceStartTime:
|
|
5418
|
+
:param _TaskGroupInstanceStartTime: <p>执行开始时间</p>
|
|
5404
5419
|
:type TaskGroupInstanceStartTime: str
|
|
5405
|
-
:param _TaskGroupInstanceEndTime:
|
|
5420
|
+
:param _TaskGroupInstanceEndTime: <p>执行结束时间</p>
|
|
5406
5421
|
:type TaskGroupInstanceEndTime: str
|
|
5407
|
-
:param _TaskGroupInstanceExecuteLog:
|
|
5422
|
+
:param _TaskGroupInstanceExecuteLog: <p>实例动作执行日志</p>
|
|
5408
5423
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5409
5424
|
:type TaskGroupInstanceExecuteLog: str
|
|
5410
|
-
:param _TaskGroupInstanceIsRedo:
|
|
5425
|
+
:param _TaskGroupInstanceIsRedo: <p>实例是否可重试</p>
|
|
5411
5426
|
:type TaskGroupInstanceIsRedo: bool
|
|
5412
|
-
:param _TaskGroupInstanceExecuteTime:
|
|
5427
|
+
:param _TaskGroupInstanceExecuteTime: <p>动作实例执行时间</p><p>单位:秒</p>
|
|
5413
5428
|
:type TaskGroupInstanceExecuteTime: int
|
|
5414
5429
|
"""
|
|
5415
5430
|
self._TaskGroupInstanceId = None
|
|
@@ -5426,7 +5441,7 @@ class TaskGroupInstance(AbstractModel):
|
|
|
5426
5441
|
|
|
5427
5442
|
@property
|
|
5428
5443
|
def TaskGroupInstanceId(self):
|
|
5429
|
-
r"""
|
|
5444
|
+
r"""<p>实例ID</p>
|
|
5430
5445
|
:rtype: int
|
|
5431
5446
|
"""
|
|
5432
5447
|
return self._TaskGroupInstanceId
|
|
@@ -5437,7 +5452,7 @@ class TaskGroupInstance(AbstractModel):
|
|
|
5437
5452
|
|
|
5438
5453
|
@property
|
|
5439
5454
|
def TaskGroupInstanceObjectId(self):
|
|
5440
|
-
r"""
|
|
5455
|
+
r"""<p>实例ID</p>
|
|
5441
5456
|
:rtype: str
|
|
5442
5457
|
"""
|
|
5443
5458
|
return self._TaskGroupInstanceObjectId
|
|
@@ -5448,7 +5463,7 @@ class TaskGroupInstance(AbstractModel):
|
|
|
5448
5463
|
|
|
5449
5464
|
@property
|
|
5450
5465
|
def TaskGroupInstanceStatus(self):
|
|
5451
|
-
r"""
|
|
5466
|
+
r"""<p>实例动作执行状态</p><p>枚举值:</p><ul><li>3001: 未开始</li><li>3002: 执行中</li><li>3003: 执行结束</li><li>3004: 准备中</li></ul>
|
|
5452
5467
|
:rtype: int
|
|
5453
5468
|
"""
|
|
5454
5469
|
return self._TaskGroupInstanceStatus
|
|
@@ -5459,7 +5474,7 @@ class TaskGroupInstance(AbstractModel):
|
|
|
5459
5474
|
|
|
5460
5475
|
@property
|
|
5461
5476
|
def TaskGroupInstanceCreateTime(self):
|
|
5462
|
-
r"""
|
|
5477
|
+
r"""<p>实例创建时间</p>
|
|
5463
5478
|
:rtype: str
|
|
5464
5479
|
"""
|
|
5465
5480
|
return self._TaskGroupInstanceCreateTime
|
|
@@ -5470,7 +5485,7 @@ class TaskGroupInstance(AbstractModel):
|
|
|
5470
5485
|
|
|
5471
5486
|
@property
|
|
5472
5487
|
def TaskGroupInstanceUpdateTime(self):
|
|
5473
|
-
r"""
|
|
5488
|
+
r"""<p>实例更新时间</p>
|
|
5474
5489
|
:rtype: str
|
|
5475
5490
|
"""
|
|
5476
5491
|
return self._TaskGroupInstanceUpdateTime
|
|
@@ -5481,7 +5496,7 @@ class TaskGroupInstance(AbstractModel):
|
|
|
5481
5496
|
|
|
5482
5497
|
@property
|
|
5483
5498
|
def TaskGroupInstanceStatusType(self):
|
|
5484
|
-
r"""
|
|
5499
|
+
r"""<p>状态类型: 0 -- 无状态,1 -- 成功,2-- 失败,3--终止,4--跳过</p>
|
|
5485
5500
|
:rtype: int
|
|
5486
5501
|
"""
|
|
5487
5502
|
return self._TaskGroupInstanceStatusType
|
|
@@ -5492,7 +5507,7 @@ class TaskGroupInstance(AbstractModel):
|
|
|
5492
5507
|
|
|
5493
5508
|
@property
|
|
5494
5509
|
def TaskGroupInstanceStartTime(self):
|
|
5495
|
-
r"""
|
|
5510
|
+
r"""<p>执行开始时间</p>
|
|
5496
5511
|
:rtype: str
|
|
5497
5512
|
"""
|
|
5498
5513
|
return self._TaskGroupInstanceStartTime
|
|
@@ -5503,7 +5518,7 @@ class TaskGroupInstance(AbstractModel):
|
|
|
5503
5518
|
|
|
5504
5519
|
@property
|
|
5505
5520
|
def TaskGroupInstanceEndTime(self):
|
|
5506
|
-
r"""
|
|
5521
|
+
r"""<p>执行结束时间</p>
|
|
5507
5522
|
:rtype: str
|
|
5508
5523
|
"""
|
|
5509
5524
|
return self._TaskGroupInstanceEndTime
|
|
@@ -5516,7 +5531,7 @@ class TaskGroupInstance(AbstractModel):
|
|
|
5516
5531
|
def TaskGroupInstanceExecuteLog(self):
|
|
5517
5532
|
warnings.warn("parameter `TaskGroupInstanceExecuteLog` is deprecated", DeprecationWarning)
|
|
5518
5533
|
|
|
5519
|
-
r"""
|
|
5534
|
+
r"""<p>实例动作执行日志</p>
|
|
5520
5535
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5521
5536
|
:rtype: str
|
|
5522
5537
|
"""
|
|
@@ -5530,7 +5545,7 @@ class TaskGroupInstance(AbstractModel):
|
|
|
5530
5545
|
|
|
5531
5546
|
@property
|
|
5532
5547
|
def TaskGroupInstanceIsRedo(self):
|
|
5533
|
-
r"""
|
|
5548
|
+
r"""<p>实例是否可重试</p>
|
|
5534
5549
|
:rtype: bool
|
|
5535
5550
|
"""
|
|
5536
5551
|
return self._TaskGroupInstanceIsRedo
|
|
@@ -5541,7 +5556,7 @@ class TaskGroupInstance(AbstractModel):
|
|
|
5541
5556
|
|
|
5542
5557
|
@property
|
|
5543
5558
|
def TaskGroupInstanceExecuteTime(self):
|
|
5544
|
-
r"""
|
|
5559
|
+
r"""<p>动作实例执行时间</p><p>单位:秒</p>
|
|
5545
5560
|
:rtype: int
|
|
5546
5561
|
"""
|
|
5547
5562
|
return self._TaskGroupInstanceExecuteTime
|
|
@@ -5580,11 +5595,11 @@ class TaskGroupInstancesExecuteRules(AbstractModel):
|
|
|
5580
5595
|
|
|
5581
5596
|
def __init__(self):
|
|
5582
5597
|
r"""
|
|
5583
|
-
:param _TaskGroupInstancesExecuteMode:
|
|
5598
|
+
:param _TaskGroupInstancesExecuteMode: <p>实例选取模式</p><p>枚举值:</p><ul><li>1: 全部注入</li><li>2: 随机选取指定比例注入</li><li>3: 随机选取指定数量注入</li></ul>
|
|
5584
5599
|
:type TaskGroupInstancesExecuteMode: int
|
|
5585
|
-
:param _TaskGroupInstancesExecutePercent:
|
|
5600
|
+
:param _TaskGroupInstancesExecutePercent: <p>按比例选取模式下选取比例</p>
|
|
5586
5601
|
:type TaskGroupInstancesExecutePercent: int
|
|
5587
|
-
:param _TaskGroupInstancesExecuteNum:
|
|
5602
|
+
:param _TaskGroupInstancesExecuteNum: <p>按数量选取模式下选取数量</p>
|
|
5588
5603
|
:type TaskGroupInstancesExecuteNum: int
|
|
5589
5604
|
"""
|
|
5590
5605
|
self._TaskGroupInstancesExecuteMode = None
|
|
@@ -5593,7 +5608,7 @@ class TaskGroupInstancesExecuteRules(AbstractModel):
|
|
|
5593
5608
|
|
|
5594
5609
|
@property
|
|
5595
5610
|
def TaskGroupInstancesExecuteMode(self):
|
|
5596
|
-
r"""
|
|
5611
|
+
r"""<p>实例选取模式</p><p>枚举值:</p><ul><li>1: 全部注入</li><li>2: 随机选取指定比例注入</li><li>3: 随机选取指定数量注入</li></ul>
|
|
5597
5612
|
:rtype: int
|
|
5598
5613
|
"""
|
|
5599
5614
|
return self._TaskGroupInstancesExecuteMode
|
|
@@ -5604,7 +5619,7 @@ class TaskGroupInstancesExecuteRules(AbstractModel):
|
|
|
5604
5619
|
|
|
5605
5620
|
@property
|
|
5606
5621
|
def TaskGroupInstancesExecutePercent(self):
|
|
5607
|
-
r"""
|
|
5622
|
+
r"""<p>按比例选取模式下选取比例</p>
|
|
5608
5623
|
:rtype: int
|
|
5609
5624
|
"""
|
|
5610
5625
|
return self._TaskGroupInstancesExecutePercent
|
|
@@ -5615,7 +5630,7 @@ class TaskGroupInstancesExecuteRules(AbstractModel):
|
|
|
5615
5630
|
|
|
5616
5631
|
@property
|
|
5617
5632
|
def TaskGroupInstancesExecuteNum(self):
|
|
5618
|
-
r"""
|
|
5633
|
+
r"""<p>按数量选取模式下选取数量</p>
|
|
5619
5634
|
:rtype: int
|
|
5620
5635
|
"""
|
|
5621
5636
|
return self._TaskGroupInstancesExecuteNum
|
|
@@ -6257,16 +6272,15 @@ class TaskTarget(AbstractModel):
|
|
|
6257
6272
|
|
|
6258
6273
|
def __init__(self):
|
|
6259
6274
|
r"""
|
|
6260
|
-
:param _TargetId:
|
|
6275
|
+
:param _TargetId: <p>目标标签ID</p>
|
|
6261
6276
|
:type TargetId: int
|
|
6262
|
-
:param _TargetDesc:
|
|
6277
|
+
:param _TargetDesc: <p>目标描述</p>
|
|
6263
6278
|
:type TargetDesc: str
|
|
6264
|
-
:param _Type: 1
|
|
6265
|
-
2:演练目标
|
|
6279
|
+
:param _Type: <p>1:演练场景<br>2:演练目标</p>
|
|
6266
6280
|
:type Type: int
|
|
6267
|
-
:param _Source: 1:平台 2
|
|
6281
|
+
:param _Source: <p>1:平台 2:用户个人</p>
|
|
6268
6282
|
:type Source: int
|
|
6269
|
-
:param _TargetStatus:
|
|
6283
|
+
:param _TargetStatus: <p>目标标签是否已被删除</p><p>枚举值:</p><ul><li>0: 未删除</li><li>1: 已删除</li></ul>
|
|
6270
6284
|
:type TargetStatus: int
|
|
6271
6285
|
"""
|
|
6272
6286
|
self._TargetId = None
|
|
@@ -6277,7 +6291,7 @@ class TaskTarget(AbstractModel):
|
|
|
6277
6291
|
|
|
6278
6292
|
@property
|
|
6279
6293
|
def TargetId(self):
|
|
6280
|
-
r"""
|
|
6294
|
+
r"""<p>目标标签ID</p>
|
|
6281
6295
|
:rtype: int
|
|
6282
6296
|
"""
|
|
6283
6297
|
return self._TargetId
|
|
@@ -6288,7 +6302,7 @@ class TaskTarget(AbstractModel):
|
|
|
6288
6302
|
|
|
6289
6303
|
@property
|
|
6290
6304
|
def TargetDesc(self):
|
|
6291
|
-
r"""
|
|
6305
|
+
r"""<p>目标描述</p>
|
|
6292
6306
|
:rtype: str
|
|
6293
6307
|
"""
|
|
6294
6308
|
return self._TargetDesc
|
|
@@ -6299,8 +6313,7 @@ class TaskTarget(AbstractModel):
|
|
|
6299
6313
|
|
|
6300
6314
|
@property
|
|
6301
6315
|
def Type(self):
|
|
6302
|
-
r"""1
|
|
6303
|
-
2:演练目标
|
|
6316
|
+
r"""<p>1:演练场景<br>2:演练目标</p>
|
|
6304
6317
|
:rtype: int
|
|
6305
6318
|
"""
|
|
6306
6319
|
return self._Type
|
|
@@ -6311,7 +6324,7 @@ class TaskTarget(AbstractModel):
|
|
|
6311
6324
|
|
|
6312
6325
|
@property
|
|
6313
6326
|
def Source(self):
|
|
6314
|
-
r"""1:平台 2
|
|
6327
|
+
r"""<p>1:平台 2:用户个人</p>
|
|
6315
6328
|
:rtype: int
|
|
6316
6329
|
"""
|
|
6317
6330
|
return self._Source
|
|
@@ -6322,7 +6335,7 @@ class TaskTarget(AbstractModel):
|
|
|
6322
6335
|
|
|
6323
6336
|
@property
|
|
6324
6337
|
def TargetStatus(self):
|
|
6325
|
-
r"""
|
|
6338
|
+
r"""<p>目标标签是否已被删除</p><p>枚举值:</p><ul><li>0: 未删除</li><li>1: 已删除</li></ul>
|
|
6326
6339
|
:rtype: int
|
|
6327
6340
|
"""
|
|
6328
6341
|
return self._TargetStatus
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-cfg
|
|
3
|
+
Version: 3.1.74
|
|
4
|
+
Summary: Tencent Cloud Cfg SDK for Python
|
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
+
Author: Tencent Cloud
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Platform: any
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.74
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Cfg SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
25
|
+
The SDK works on Python versions:
|
|
26
|
+
|
|
27
|
+
* 2.7 and greater, including 3.x
|
|
28
|
+
|
|
29
|
+
Quick Start
|
|
30
|
+
-----------
|
|
31
|
+
|
|
32
|
+
First, install the library:
|
|
33
|
+
|
|
34
|
+
.. code-block:: sh
|
|
35
|
+
|
|
36
|
+
$ pip install tencentcloud-sdk-python-common
|
|
37
|
+
$ pip install tencentcloud-sdk-python-cfg
|
|
38
|
+
|
|
39
|
+
or download source code from github and install:
|
|
40
|
+
|
|
41
|
+
.. code-block:: sh
|
|
42
|
+
|
|
43
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
44
|
+
$ cd tencentcloud-sdk-python
|
|
45
|
+
$ python package.py --components common cfg
|
|
46
|
+
|
|
@@ -5,6 +5,7 @@ tencentcloud/__init__.py
|
|
|
5
5
|
tencentcloud/cfg/__init__.py
|
|
6
6
|
tencentcloud/cfg/v20210820/__init__.py
|
|
7
7
|
tencentcloud/cfg/v20210820/cfg_client.py
|
|
8
|
+
tencentcloud/cfg/v20210820/cfg_client_async.py
|
|
8
9
|
tencentcloud/cfg/v20210820/errorcodes.py
|
|
9
10
|
tencentcloud/cfg/v20210820/models.py
|
|
10
11
|
tencentcloud_sdk_python_cfg.egg-info/PKG-INFO
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.74
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.2
|
|
2
|
-
Name: tencentcloud-sdk-python-cfg
|
|
3
|
-
Version: 3.0.1479
|
|
4
|
-
Summary: Tencent Cloud Cfg SDK for Python
|
|
5
|
-
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
-
Author: Tencent Cloud
|
|
7
|
-
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
-
License: Apache License 2.0
|
|
9
|
-
Description: ============================
|
|
10
|
-
Tencent Cloud SDK for Python
|
|
11
|
-
============================
|
|
12
|
-
|
|
13
|
-
Tencent Cloud Python Cfg SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
14
|
-
The SDK works on Python versions:
|
|
15
|
-
|
|
16
|
-
* 2.7 and greater, including 3.x
|
|
17
|
-
|
|
18
|
-
Quick Start
|
|
19
|
-
-----------
|
|
20
|
-
|
|
21
|
-
First, install the library:
|
|
22
|
-
|
|
23
|
-
.. code-block:: sh
|
|
24
|
-
|
|
25
|
-
$ pip install tencentcloud-sdk-python-common
|
|
26
|
-
$ pip install tencentcloud-sdk-python-cfg
|
|
27
|
-
|
|
28
|
-
or download source code from github and install:
|
|
29
|
-
|
|
30
|
-
.. code-block:: sh
|
|
31
|
-
|
|
32
|
-
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
33
|
-
$ cd tencentcloud-sdk-python
|
|
34
|
-
$ python package.py --components common cfg
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Platform: any
|
|
38
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
39
|
-
Classifier: Intended Audience :: Developers
|
|
40
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
41
|
-
Classifier: Programming Language :: Python
|
|
42
|
-
Classifier: Programming Language :: Python :: 2.7
|
|
43
|
-
Classifier: Programming Language :: Python :: 3
|
|
44
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
45
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.2
|
|
2
|
-
Name: tencentcloud-sdk-python-cfg
|
|
3
|
-
Version: 3.0.1479
|
|
4
|
-
Summary: Tencent Cloud Cfg SDK for Python
|
|
5
|
-
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
-
Author: Tencent Cloud
|
|
7
|
-
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
-
License: Apache License 2.0
|
|
9
|
-
Description: ============================
|
|
10
|
-
Tencent Cloud SDK for Python
|
|
11
|
-
============================
|
|
12
|
-
|
|
13
|
-
Tencent Cloud Python Cfg SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
14
|
-
The SDK works on Python versions:
|
|
15
|
-
|
|
16
|
-
* 2.7 and greater, including 3.x
|
|
17
|
-
|
|
18
|
-
Quick Start
|
|
19
|
-
-----------
|
|
20
|
-
|
|
21
|
-
First, install the library:
|
|
22
|
-
|
|
23
|
-
.. code-block:: sh
|
|
24
|
-
|
|
25
|
-
$ pip install tencentcloud-sdk-python-common
|
|
26
|
-
$ pip install tencentcloud-sdk-python-cfg
|
|
27
|
-
|
|
28
|
-
or download source code from github and install:
|
|
29
|
-
|
|
30
|
-
.. code-block:: sh
|
|
31
|
-
|
|
32
|
-
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
33
|
-
$ cd tencentcloud-sdk-python
|
|
34
|
-
$ python package.py --components common cfg
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Platform: any
|
|
38
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
39
|
-
Classifier: Intended Audience :: Developers
|
|
40
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
41
|
-
Classifier: Programming Language :: Python
|
|
42
|
-
Classifier: Programming Language :: Python :: 2.7
|
|
43
|
-
Classifier: Programming Language :: Python :: 3
|
|
44
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
45
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1479
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|