tencentcloud-sdk-python-tat 3.1.31__tar.gz → 3.1.51__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_tat-3.1.31 → tencentcloud_sdk_python_tat-3.1.51}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tat-3.1.31 → tencentcloud_sdk_python_tat-3.1.51}/setup.py +1 -1
- {tencentcloud_sdk_python_tat-3.1.31 → tencentcloud_sdk_python_tat-3.1.51}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tat-3.1.31 → tencentcloud_sdk_python_tat-3.1.51}/tencentcloud/tat/v20201028/models.py +62 -88
- {tencentcloud_sdk_python_tat-3.1.31 → tencentcloud_sdk_python_tat-3.1.51}/tencentcloud_sdk_python_tat.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tat-3.1.51/tencentcloud_sdk_python_tat.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tat-3.1.31/tencentcloud_sdk_python_tat.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tat-3.1.31 → tencentcloud_sdk_python_tat-3.1.51}/README.rst +0 -0
- {tencentcloud_sdk_python_tat-3.1.31 → tencentcloud_sdk_python_tat-3.1.51}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tat-3.1.31 → tencentcloud_sdk_python_tat-3.1.51}/tencentcloud/tat/__init__.py +0 -0
- {tencentcloud_sdk_python_tat-3.1.31 → tencentcloud_sdk_python_tat-3.1.51}/tencentcloud/tat/v20201028/__init__.py +0 -0
- {tencentcloud_sdk_python_tat-3.1.31 → tencentcloud_sdk_python_tat-3.1.51}/tencentcloud/tat/v20201028/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tat-3.1.31 → tencentcloud_sdk_python_tat-3.1.51}/tencentcloud/tat/v20201028/tat_client.py +0 -0
- {tencentcloud_sdk_python_tat-3.1.31 → tencentcloud_sdk_python_tat-3.1.51}/tencentcloud/tat/v20201028/tat_client_async.py +0 -0
- {tencentcloud_sdk_python_tat-3.1.31 → tencentcloud_sdk_python_tat-3.1.51}/tencentcloud_sdk_python_tat.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tat-3.1.31 → tencentcloud_sdk_python_tat-3.1.51}/tencentcloud_sdk_python_tat.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tat-3.1.31 → tencentcloud_sdk_python_tat-3.1.51}/tencentcloud_sdk_python_tat.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tat
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.51
|
|
4
4
|
Summary: Tencent Cloud Tat SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.51
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-tat',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.51,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tat SDK for Python',
|
|
@@ -233,43 +233,43 @@ class Command(AbstractModel):
|
|
|
233
233
|
|
|
234
234
|
def __init__(self):
|
|
235
235
|
r"""
|
|
236
|
-
:param _CommandId:
|
|
236
|
+
:param _CommandId: <p>命令ID。</p>
|
|
237
237
|
:type CommandId: str
|
|
238
|
-
:param _CommandName:
|
|
238
|
+
:param _CommandName: <p>命令名称。</p>
|
|
239
239
|
:type CommandName: str
|
|
240
|
-
:param _Description:
|
|
240
|
+
:param _Description: <p>命令描述。</p>
|
|
241
241
|
:type Description: str
|
|
242
|
-
:param _Content: Base64
|
|
242
|
+
:param _Content: <p>Base64编码后的命令内容。</p>
|
|
243
243
|
:type Content: str
|
|
244
|
-
:param _CommandType:
|
|
244
|
+
:param _CommandType: <p>命令类型。取值为 SHELL、POWERSHELL、BAT 之一。</p>
|
|
245
245
|
:type CommandType: str
|
|
246
|
-
:param _WorkingDirectory:
|
|
246
|
+
:param _WorkingDirectory: <p>命令执行路径。</p>
|
|
247
247
|
:type WorkingDirectory: str
|
|
248
|
-
:param _Timeout:
|
|
248
|
+
:param _Timeout: <p>命令超时时间。</p><p>单位:秒</p><p>指定 OutputCOSBucketUrl 参数时,超时时间将包含命令输出上传 COS 的耗时</p>
|
|
249
249
|
:type Timeout: int
|
|
250
|
-
:param _CreatedTime:
|
|
250
|
+
:param _CreatedTime: <p>命令创建时间。格式为:YYYY-MM-DDThh:mm:ssZ</p>
|
|
251
251
|
:type CreatedTime: str
|
|
252
|
-
:param _UpdatedTime:
|
|
252
|
+
:param _UpdatedTime: <p>命令更新时间。格式为:YYYY-MM-DDThh:mm:ssZ</p>
|
|
253
253
|
:type UpdatedTime: str
|
|
254
|
-
:param _EnableParameter:
|
|
254
|
+
:param _EnableParameter: <p>是否启用自定义参数功能。</p>
|
|
255
255
|
:type EnableParameter: bool
|
|
256
|
-
:param _DefaultParameters:
|
|
256
|
+
:param _DefaultParameters: <p>自定义参数的默认取值。</p>
|
|
257
257
|
:type DefaultParameters: str
|
|
258
|
-
:param _DefaultParameterConfs:
|
|
258
|
+
:param _DefaultParameterConfs: <p>自定义参数的默认取值。</p>
|
|
259
259
|
:type DefaultParameterConfs: list of DefaultParameterConf
|
|
260
|
-
:param _Scenes:
|
|
260
|
+
:param _Scenes: <p>命令关联的场景</p>
|
|
261
261
|
:type Scenes: list of str
|
|
262
|
-
:param _FormattedDescription:
|
|
262
|
+
:param _FormattedDescription: <p>命令的结构化描述。公共命令有值,用户命令为空字符串。</p>
|
|
263
263
|
:type FormattedDescription: str
|
|
264
|
-
:param _CreatedBy:
|
|
264
|
+
:param _CreatedBy: <p>命令创建者。</p><p>枚举值:</p><ul><li>TAT: 公共命令</li><li>USER: 个人创建的命令</li></ul>
|
|
265
265
|
:type CreatedBy: str
|
|
266
|
-
:param _Tags:
|
|
266
|
+
:param _Tags: <p>命令关联的标签列表。</p>
|
|
267
267
|
:type Tags: list of Tag
|
|
268
|
-
:param _Username:
|
|
268
|
+
:param _Username: <p>在实例上执行命令的用户名。</p>
|
|
269
269
|
:type Username: str
|
|
270
|
-
:param _OutputCOSBucketUrl:
|
|
270
|
+
:param _OutputCOSBucketUrl: <p>日志上传的cos bucket 地址。</p>
|
|
271
271
|
:type OutputCOSBucketUrl: str
|
|
272
|
-
:param _OutputCOSKeyPrefix:
|
|
272
|
+
:param _OutputCOSKeyPrefix: <p>日志在cos bucket中的目录。</p>
|
|
273
273
|
:type OutputCOSKeyPrefix: str
|
|
274
274
|
"""
|
|
275
275
|
self._CommandId = None
|
|
@@ -294,7 +294,7 @@ class Command(AbstractModel):
|
|
|
294
294
|
|
|
295
295
|
@property
|
|
296
296
|
def CommandId(self):
|
|
297
|
-
r"""
|
|
297
|
+
r"""<p>命令ID。</p>
|
|
298
298
|
:rtype: str
|
|
299
299
|
"""
|
|
300
300
|
return self._CommandId
|
|
@@ -305,7 +305,7 @@ class Command(AbstractModel):
|
|
|
305
305
|
|
|
306
306
|
@property
|
|
307
307
|
def CommandName(self):
|
|
308
|
-
r"""
|
|
308
|
+
r"""<p>命令名称。</p>
|
|
309
309
|
:rtype: str
|
|
310
310
|
"""
|
|
311
311
|
return self._CommandName
|
|
@@ -316,7 +316,7 @@ class Command(AbstractModel):
|
|
|
316
316
|
|
|
317
317
|
@property
|
|
318
318
|
def Description(self):
|
|
319
|
-
r"""
|
|
319
|
+
r"""<p>命令描述。</p>
|
|
320
320
|
:rtype: str
|
|
321
321
|
"""
|
|
322
322
|
return self._Description
|
|
@@ -327,7 +327,7 @@ class Command(AbstractModel):
|
|
|
327
327
|
|
|
328
328
|
@property
|
|
329
329
|
def Content(self):
|
|
330
|
-
r"""Base64
|
|
330
|
+
r"""<p>Base64编码后的命令内容。</p>
|
|
331
331
|
:rtype: str
|
|
332
332
|
"""
|
|
333
333
|
return self._Content
|
|
@@ -338,7 +338,7 @@ class Command(AbstractModel):
|
|
|
338
338
|
|
|
339
339
|
@property
|
|
340
340
|
def CommandType(self):
|
|
341
|
-
r"""
|
|
341
|
+
r"""<p>命令类型。取值为 SHELL、POWERSHELL、BAT 之一。</p>
|
|
342
342
|
:rtype: str
|
|
343
343
|
"""
|
|
344
344
|
return self._CommandType
|
|
@@ -349,7 +349,7 @@ class Command(AbstractModel):
|
|
|
349
349
|
|
|
350
350
|
@property
|
|
351
351
|
def WorkingDirectory(self):
|
|
352
|
-
r"""
|
|
352
|
+
r"""<p>命令执行路径。</p>
|
|
353
353
|
:rtype: str
|
|
354
354
|
"""
|
|
355
355
|
return self._WorkingDirectory
|
|
@@ -360,7 +360,7 @@ class Command(AbstractModel):
|
|
|
360
360
|
|
|
361
361
|
@property
|
|
362
362
|
def Timeout(self):
|
|
363
|
-
r"""
|
|
363
|
+
r"""<p>命令超时时间。</p><p>单位:秒</p><p>指定 OutputCOSBucketUrl 参数时,超时时间将包含命令输出上传 COS 的耗时</p>
|
|
364
364
|
:rtype: int
|
|
365
365
|
"""
|
|
366
366
|
return self._Timeout
|
|
@@ -371,7 +371,7 @@ class Command(AbstractModel):
|
|
|
371
371
|
|
|
372
372
|
@property
|
|
373
373
|
def CreatedTime(self):
|
|
374
|
-
r"""
|
|
374
|
+
r"""<p>命令创建时间。格式为:YYYY-MM-DDThh:mm:ssZ</p>
|
|
375
375
|
:rtype: str
|
|
376
376
|
"""
|
|
377
377
|
return self._CreatedTime
|
|
@@ -382,7 +382,7 @@ class Command(AbstractModel):
|
|
|
382
382
|
|
|
383
383
|
@property
|
|
384
384
|
def UpdatedTime(self):
|
|
385
|
-
r"""
|
|
385
|
+
r"""<p>命令更新时间。格式为:YYYY-MM-DDThh:mm:ssZ</p>
|
|
386
386
|
:rtype: str
|
|
387
387
|
"""
|
|
388
388
|
return self._UpdatedTime
|
|
@@ -393,7 +393,7 @@ class Command(AbstractModel):
|
|
|
393
393
|
|
|
394
394
|
@property
|
|
395
395
|
def EnableParameter(self):
|
|
396
|
-
r"""
|
|
396
|
+
r"""<p>是否启用自定义参数功能。</p>
|
|
397
397
|
:rtype: bool
|
|
398
398
|
"""
|
|
399
399
|
return self._EnableParameter
|
|
@@ -404,7 +404,7 @@ class Command(AbstractModel):
|
|
|
404
404
|
|
|
405
405
|
@property
|
|
406
406
|
def DefaultParameters(self):
|
|
407
|
-
r"""
|
|
407
|
+
r"""<p>自定义参数的默认取值。</p>
|
|
408
408
|
:rtype: str
|
|
409
409
|
"""
|
|
410
410
|
return self._DefaultParameters
|
|
@@ -415,7 +415,7 @@ class Command(AbstractModel):
|
|
|
415
415
|
|
|
416
416
|
@property
|
|
417
417
|
def DefaultParameterConfs(self):
|
|
418
|
-
r"""
|
|
418
|
+
r"""<p>自定义参数的默认取值。</p>
|
|
419
419
|
:rtype: list of DefaultParameterConf
|
|
420
420
|
"""
|
|
421
421
|
return self._DefaultParameterConfs
|
|
@@ -426,7 +426,7 @@ class Command(AbstractModel):
|
|
|
426
426
|
|
|
427
427
|
@property
|
|
428
428
|
def Scenes(self):
|
|
429
|
-
r"""
|
|
429
|
+
r"""<p>命令关联的场景</p>
|
|
430
430
|
:rtype: list of str
|
|
431
431
|
"""
|
|
432
432
|
return self._Scenes
|
|
@@ -437,7 +437,7 @@ class Command(AbstractModel):
|
|
|
437
437
|
|
|
438
438
|
@property
|
|
439
439
|
def FormattedDescription(self):
|
|
440
|
-
r"""
|
|
440
|
+
r"""<p>命令的结构化描述。公共命令有值,用户命令为空字符串。</p>
|
|
441
441
|
:rtype: str
|
|
442
442
|
"""
|
|
443
443
|
return self._FormattedDescription
|
|
@@ -448,7 +448,7 @@ class Command(AbstractModel):
|
|
|
448
448
|
|
|
449
449
|
@property
|
|
450
450
|
def CreatedBy(self):
|
|
451
|
-
r"""
|
|
451
|
+
r"""<p>命令创建者。</p><p>枚举值:</p><ul><li>TAT: 公共命令</li><li>USER: 个人创建的命令</li></ul>
|
|
452
452
|
:rtype: str
|
|
453
453
|
"""
|
|
454
454
|
return self._CreatedBy
|
|
@@ -459,7 +459,7 @@ class Command(AbstractModel):
|
|
|
459
459
|
|
|
460
460
|
@property
|
|
461
461
|
def Tags(self):
|
|
462
|
-
r"""
|
|
462
|
+
r"""<p>命令关联的标签列表。</p>
|
|
463
463
|
:rtype: list of Tag
|
|
464
464
|
"""
|
|
465
465
|
return self._Tags
|
|
@@ -470,7 +470,7 @@ class Command(AbstractModel):
|
|
|
470
470
|
|
|
471
471
|
@property
|
|
472
472
|
def Username(self):
|
|
473
|
-
r"""
|
|
473
|
+
r"""<p>在实例上执行命令的用户名。</p>
|
|
474
474
|
:rtype: str
|
|
475
475
|
"""
|
|
476
476
|
return self._Username
|
|
@@ -481,7 +481,7 @@ class Command(AbstractModel):
|
|
|
481
481
|
|
|
482
482
|
@property
|
|
483
483
|
def OutputCOSBucketUrl(self):
|
|
484
|
-
r"""
|
|
484
|
+
r"""<p>日志上传的cos bucket 地址。</p>
|
|
485
485
|
:rtype: str
|
|
486
486
|
"""
|
|
487
487
|
return self._OutputCOSBucketUrl
|
|
@@ -492,7 +492,7 @@ class Command(AbstractModel):
|
|
|
492
492
|
|
|
493
493
|
@property
|
|
494
494
|
def OutputCOSKeyPrefix(self):
|
|
495
|
-
r"""
|
|
495
|
+
r"""<p>日志在cos bucket中的目录。</p>
|
|
496
496
|
:rtype: str
|
|
497
497
|
"""
|
|
498
498
|
return self._OutputCOSKeyPrefix
|
|
@@ -5097,42 +5097,29 @@ class ModifyCommandRequest(AbstractModel):
|
|
|
5097
5097
|
|
|
5098
5098
|
def __init__(self):
|
|
5099
5099
|
r"""
|
|
5100
|
-
:param _CommandId:
|
|
5100
|
+
:param _CommandId: <p>命令ID。可通过 <a href="https://cloud.tencent.com/document/api/1340/52681">DescribeCommands(查询命令详情)</a> 接口获取。</p>
|
|
5101
5101
|
:type CommandId: str
|
|
5102
|
-
:param _CommandName:
|
|
5102
|
+
:param _CommandName: <p>命令名称。名称仅支持中文、英文、数字、下划线、分隔符"-"、小数点,最大长度不能超60个字节。</p>
|
|
5103
5103
|
:type CommandName: str
|
|
5104
|
-
:param _Description:
|
|
5104
|
+
:param _Description: <p>命令描述。不超过120字符。</p>
|
|
5105
5105
|
:type Description: str
|
|
5106
|
-
:param _Content: Base64编码后的命令内容,长度不可超过64KB
|
|
5106
|
+
:param _Content: <p>Base64编码后的命令内容,长度不可超过64KB。</p>
|
|
5107
5107
|
:type Content: str
|
|
5108
|
-
:param _CommandType:
|
|
5108
|
+
:param _CommandType: <p>命令类型,目前支持取值:SHELL、POWERSHELL、BAT。</p>
|
|
5109
5109
|
:type CommandType: str
|
|
5110
|
-
:param _WorkingDirectory:
|
|
5110
|
+
:param _WorkingDirectory: <p>命令执行路径。</p>
|
|
5111
5111
|
:type WorkingDirectory: str
|
|
5112
|
-
:param _Timeout:
|
|
5112
|
+
:param _Timeout: <p>命令超时时间。</p><p>取值范围:[1, 86400]</p><p>单位:秒</p><p>默认值:60</p><p>指定 OutputCOSBucketUrl 参数时,超时时间将包含命令输出上传 COS 的耗时</p>
|
|
5113
5113
|
:type Timeout: int
|
|
5114
|
-
:param _DefaultParameters:
|
|
5115
|
-
参数不支持同时指定 `DefaultParameters` 和 `DefaultParameterConfs` 。
|
|
5116
|
-
采取整体全覆盖式修改,即修改时必须提供所有新默认值。
|
|
5117
|
-
仅在命令的 EnableParameter 为 true 时,才允许修改此参数。可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取命令的 EnableParameter 设置。
|
|
5118
|
-
key为自定义参数名称,value为该参数的默认取值。kv均为字符串型。
|
|
5119
|
-
自定义参数最多20个。
|
|
5120
|
-
自定义参数名称需符合以下规范:字符数目上限64,可选范围【a-zA-Z0-9-_】。
|
|
5114
|
+
:param _DefaultParameters: <p>启用自定义参数功能时,自定义参数的默认取值。字段类型为json encoded string。如:{"varA": "222"}。<br>参数不支持同时指定 <code>DefaultParameters</code> 和 <code>DefaultParameterConfs</code> 。<br>采取整体全覆盖式修改,即修改时必须提供所有新默认值。<br>仅在命令的 EnableParameter 为 true 时,才允许修改此参数。可通过 <a href="https://cloud.tencent.com/document/api/1340/52681">DescribeCommands(查询命令详情)</a> 接口获取命令的 EnableParameter 设置。<br>key为自定义参数名称,value为该参数的默认取值。kv均为字符串型。<br>自定义参数最多20个。<br>自定义参数名称需符合以下规范:字符数目上限64,可选范围【a-zA-Z0-9-_】。</p>
|
|
5121
5115
|
:type DefaultParameters: str
|
|
5122
|
-
:param _DefaultParameterConfs:
|
|
5123
|
-
参数不支持同时指定 `DefaultParameters` 和 `DefaultParameterConfs` 。
|
|
5124
|
-
仅在命令的 EnableParameter 为 true 时,才允许修改此参数。可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取命令的 EnableParameter 设置。
|
|
5125
|
-
自定义参数最多20个。
|
|
5116
|
+
:param _DefaultParameterConfs: <p>自定义参数数组。如果 InvokeCommand 时未提供参数取值,将使用这里的默认值进行替换。<br>参数不支持同时指定 <code>DefaultParameters</code> 和 <code>DefaultParameterConfs</code> 。<br>仅在命令的 EnableParameter 为 true 时,才允许修改此参数。可通过 <a href="https://cloud.tencent.com/document/api/1340/52681">DescribeCommands(查询命令详情)</a> 接口获取命令的 EnableParameter 设置。<br>自定义参数最多20个。</p>
|
|
5126
5117
|
:type DefaultParameterConfs: list of DefaultParameterConf
|
|
5127
|
-
:param _Username:
|
|
5128
|
-
使用最小权限执行命令是权限管理的最佳实践,建议您以普通用户身份执行云助手命令。
|
|
5118
|
+
:param _Username: <p>在 CVM 或 Lighthouse 实例中执行命令的用户名称。<br>使用最小权限执行命令是权限管理的最佳实践,建议您以普通用户身份执行云助手命令。</p>
|
|
5129
5119
|
:type Username: str
|
|
5130
|
-
:param _OutputCOSBucketUrl:
|
|
5120
|
+
:param _OutputCOSBucketUrl: <p>指定日志上传的cos bucket 地址,必须以https开头,如 https://BucketName-123454321.cos.ap-beijing.myqcloud.com。</p>
|
|
5131
5121
|
:type OutputCOSBucketUrl: str
|
|
5132
|
-
:param _OutputCOSKeyPrefix:
|
|
5133
|
-
1. 可用数字、中英文和可见字符的组合,长度最多为60。
|
|
5134
|
-
2. 用 / 分割路径,可快速创建子目录。
|
|
5135
|
-
3. 不允许连续 / ;不允许以 / 开头;不允许以..作为文件夹名称。
|
|
5122
|
+
:param _OutputCOSKeyPrefix: <p>指定日志在cos bucket中的目录,目录命名有如下规则:</p><ol><li>可用数字、中英文和可见字符的组合,长度最多为60。</li><li>用 / 分割路径,可快速创建子目录。</li><li>不允许连续 / ;不允许以 / 开头;不允许以..作为文件夹名称。</li></ol>
|
|
5136
5123
|
:type OutputCOSKeyPrefix: str
|
|
5137
5124
|
"""
|
|
5138
5125
|
self._CommandId = None
|
|
@@ -5150,7 +5137,7 @@ key为自定义参数名称,value为该参数的默认取值。kv均为字符
|
|
|
5150
5137
|
|
|
5151
5138
|
@property
|
|
5152
5139
|
def CommandId(self):
|
|
5153
|
-
r"""
|
|
5140
|
+
r"""<p>命令ID。可通过 <a href="https://cloud.tencent.com/document/api/1340/52681">DescribeCommands(查询命令详情)</a> 接口获取。</p>
|
|
5154
5141
|
:rtype: str
|
|
5155
5142
|
"""
|
|
5156
5143
|
return self._CommandId
|
|
@@ -5161,7 +5148,7 @@ key为自定义参数名称,value为该参数的默认取值。kv均为字符
|
|
|
5161
5148
|
|
|
5162
5149
|
@property
|
|
5163
5150
|
def CommandName(self):
|
|
5164
|
-
r"""
|
|
5151
|
+
r"""<p>命令名称。名称仅支持中文、英文、数字、下划线、分隔符"-"、小数点,最大长度不能超60个字节。</p>
|
|
5165
5152
|
:rtype: str
|
|
5166
5153
|
"""
|
|
5167
5154
|
return self._CommandName
|
|
@@ -5172,7 +5159,7 @@ key为自定义参数名称,value为该参数的默认取值。kv均为字符
|
|
|
5172
5159
|
|
|
5173
5160
|
@property
|
|
5174
5161
|
def Description(self):
|
|
5175
|
-
r"""
|
|
5162
|
+
r"""<p>命令描述。不超过120字符。</p>
|
|
5176
5163
|
:rtype: str
|
|
5177
5164
|
"""
|
|
5178
5165
|
return self._Description
|
|
@@ -5183,7 +5170,7 @@ key为自定义参数名称,value为该参数的默认取值。kv均为字符
|
|
|
5183
5170
|
|
|
5184
5171
|
@property
|
|
5185
5172
|
def Content(self):
|
|
5186
|
-
r"""Base64编码后的命令内容,长度不可超过64KB
|
|
5173
|
+
r"""<p>Base64编码后的命令内容,长度不可超过64KB。</p>
|
|
5187
5174
|
:rtype: str
|
|
5188
5175
|
"""
|
|
5189
5176
|
return self._Content
|
|
@@ -5194,7 +5181,7 @@ key为自定义参数名称,value为该参数的默认取值。kv均为字符
|
|
|
5194
5181
|
|
|
5195
5182
|
@property
|
|
5196
5183
|
def CommandType(self):
|
|
5197
|
-
r"""
|
|
5184
|
+
r"""<p>命令类型,目前支持取值:SHELL、POWERSHELL、BAT。</p>
|
|
5198
5185
|
:rtype: str
|
|
5199
5186
|
"""
|
|
5200
5187
|
return self._CommandType
|
|
@@ -5205,7 +5192,7 @@ key为自定义参数名称,value为该参数的默认取值。kv均为字符
|
|
|
5205
5192
|
|
|
5206
5193
|
@property
|
|
5207
5194
|
def WorkingDirectory(self):
|
|
5208
|
-
r"""
|
|
5195
|
+
r"""<p>命令执行路径。</p>
|
|
5209
5196
|
:rtype: str
|
|
5210
5197
|
"""
|
|
5211
5198
|
return self._WorkingDirectory
|
|
@@ -5216,7 +5203,7 @@ key为自定义参数名称,value为该参数的默认取值。kv均为字符
|
|
|
5216
5203
|
|
|
5217
5204
|
@property
|
|
5218
5205
|
def Timeout(self):
|
|
5219
|
-
r"""
|
|
5206
|
+
r"""<p>命令超时时间。</p><p>取值范围:[1, 86400]</p><p>单位:秒</p><p>默认值:60</p><p>指定 OutputCOSBucketUrl 参数时,超时时间将包含命令输出上传 COS 的耗时</p>
|
|
5220
5207
|
:rtype: int
|
|
5221
5208
|
"""
|
|
5222
5209
|
return self._Timeout
|
|
@@ -5227,13 +5214,7 @@ key为自定义参数名称,value为该参数的默认取值。kv均为字符
|
|
|
5227
5214
|
|
|
5228
5215
|
@property
|
|
5229
5216
|
def DefaultParameters(self):
|
|
5230
|
-
r"""
|
|
5231
|
-
参数不支持同时指定 `DefaultParameters` 和 `DefaultParameterConfs` 。
|
|
5232
|
-
采取整体全覆盖式修改,即修改时必须提供所有新默认值。
|
|
5233
|
-
仅在命令的 EnableParameter 为 true 时,才允许修改此参数。可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取命令的 EnableParameter 设置。
|
|
5234
|
-
key为自定义参数名称,value为该参数的默认取值。kv均为字符串型。
|
|
5235
|
-
自定义参数最多20个。
|
|
5236
|
-
自定义参数名称需符合以下规范:字符数目上限64,可选范围【a-zA-Z0-9-_】。
|
|
5217
|
+
r"""<p>启用自定义参数功能时,自定义参数的默认取值。字段类型为json encoded string。如:{"varA": "222"}。<br>参数不支持同时指定 <code>DefaultParameters</code> 和 <code>DefaultParameterConfs</code> 。<br>采取整体全覆盖式修改,即修改时必须提供所有新默认值。<br>仅在命令的 EnableParameter 为 true 时,才允许修改此参数。可通过 <a href="https://cloud.tencent.com/document/api/1340/52681">DescribeCommands(查询命令详情)</a> 接口获取命令的 EnableParameter 设置。<br>key为自定义参数名称,value为该参数的默认取值。kv均为字符串型。<br>自定义参数最多20个。<br>自定义参数名称需符合以下规范:字符数目上限64,可选范围【a-zA-Z0-9-_】。</p>
|
|
5237
5218
|
:rtype: str
|
|
5238
5219
|
"""
|
|
5239
5220
|
return self._DefaultParameters
|
|
@@ -5244,10 +5225,7 @@ key为自定义参数名称,value为该参数的默认取值。kv均为字符
|
|
|
5244
5225
|
|
|
5245
5226
|
@property
|
|
5246
5227
|
def DefaultParameterConfs(self):
|
|
5247
|
-
r"""
|
|
5248
|
-
参数不支持同时指定 `DefaultParameters` 和 `DefaultParameterConfs` 。
|
|
5249
|
-
仅在命令的 EnableParameter 为 true 时,才允许修改此参数。可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取命令的 EnableParameter 设置。
|
|
5250
|
-
自定义参数最多20个。
|
|
5228
|
+
r"""<p>自定义参数数组。如果 InvokeCommand 时未提供参数取值,将使用这里的默认值进行替换。<br>参数不支持同时指定 <code>DefaultParameters</code> 和 <code>DefaultParameterConfs</code> 。<br>仅在命令的 EnableParameter 为 true 时,才允许修改此参数。可通过 <a href="https://cloud.tencent.com/document/api/1340/52681">DescribeCommands(查询命令详情)</a> 接口获取命令的 EnableParameter 设置。<br>自定义参数最多20个。</p>
|
|
5251
5229
|
:rtype: list of DefaultParameterConf
|
|
5252
5230
|
"""
|
|
5253
5231
|
return self._DefaultParameterConfs
|
|
@@ -5258,8 +5236,7 @@ key为自定义参数名称,value为该参数的默认取值。kv均为字符
|
|
|
5258
5236
|
|
|
5259
5237
|
@property
|
|
5260
5238
|
def Username(self):
|
|
5261
|
-
r"""
|
|
5262
|
-
使用最小权限执行命令是权限管理的最佳实践,建议您以普通用户身份执行云助手命令。
|
|
5239
|
+
r"""<p>在 CVM 或 Lighthouse 实例中执行命令的用户名称。<br>使用最小权限执行命令是权限管理的最佳实践,建议您以普通用户身份执行云助手命令。</p>
|
|
5263
5240
|
:rtype: str
|
|
5264
5241
|
"""
|
|
5265
5242
|
return self._Username
|
|
@@ -5270,7 +5247,7 @@ key为自定义参数名称,value为该参数的默认取值。kv均为字符
|
|
|
5270
5247
|
|
|
5271
5248
|
@property
|
|
5272
5249
|
def OutputCOSBucketUrl(self):
|
|
5273
|
-
r"""
|
|
5250
|
+
r"""<p>指定日志上传的cos bucket 地址,必须以https开头,如 https://BucketName-123454321.cos.ap-beijing.myqcloud.com。</p>
|
|
5274
5251
|
:rtype: str
|
|
5275
5252
|
"""
|
|
5276
5253
|
return self._OutputCOSBucketUrl
|
|
@@ -5281,10 +5258,7 @@ key为自定义参数名称,value为该参数的默认取值。kv均为字符
|
|
|
5281
5258
|
|
|
5282
5259
|
@property
|
|
5283
5260
|
def OutputCOSKeyPrefix(self):
|
|
5284
|
-
r"""
|
|
5285
|
-
1. 可用数字、中英文和可见字符的组合,长度最多为60。
|
|
5286
|
-
2. 用 / 分割路径,可快速创建子目录。
|
|
5287
|
-
3. 不允许连续 / ;不允许以 / 开头;不允许以..作为文件夹名称。
|
|
5261
|
+
r"""<p>指定日志在cos bucket中的目录,目录命名有如下规则:</p><ol><li>可用数字、中英文和可见字符的组合,长度最多为60。</li><li>用 / 分割路径,可快速创建子目录。</li><li>不允许连续 / ;不允许以 / 开头;不允许以..作为文件夹名称。</li></ol>
|
|
5288
5262
|
:rtype: str
|
|
5289
5263
|
"""
|
|
5290
5264
|
return self._OutputCOSKeyPrefix
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tat
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.51
|
|
4
4
|
Summary: Tencent Cloud Tat SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.51
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.51
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.31
|
|
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
|