tencentcloud-sdk-python 3.0.1358__py2.py3-none-any.whl → 3.0.1360__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/batch/v20170312/models.py +14 -44
- tencentcloud/bh/v20230418/bh_client.py +92 -0
- tencentcloud/bh/v20230418/models.py +855 -61
- tencentcloud/cbs/v20170312/models.py +2 -2
- tencentcloud/ccc/v20200210/ccc_client.py +69 -0
- tencentcloud/ccc/v20200210/models.py +559 -0
- tencentcloud/cdwpg/v20201230/models.py +0 -8
- tencentcloud/ckafka/v20190819/ckafka_client.py +46 -0
- tencentcloud/ckafka/v20190819/models.py +367 -0
- tencentcloud/clb/v20180317/models.py +17 -0
- tencentcloud/cvm/v20170312/cvm_client.py +10 -7
- tencentcloud/cvm/v20170312/errorcodes.py +3 -0
- tencentcloud/cvm/v20170312/models.py +166 -164
- tencentcloud/cwp/v20180228/cwp_client.py +1 -1
- tencentcloud/cwp/v20180228/models.py +2 -2
- tencentcloud/cynosdb/v20190107/models.py +60 -0
- tencentcloud/ess/v20201111/ess_client.py +5 -4
- tencentcloud/essbasic/v20210526/essbasic_client.py +4 -4
- tencentcloud/gs/v20191118/errorcodes.py +24 -0
- tencentcloud/gs/v20191118/gs_client.py +138 -0
- tencentcloud/gs/v20191118/models.py +683 -21
- tencentcloud/gwlb/v20240906/gwlb_client.py +5 -7
- tencentcloud/gwlb/v20240906/models.py +72 -54
- tencentcloud/hunyuan/v20230901/errorcodes.py +27 -0
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +46 -0
- tencentcloud/hunyuan/v20230901/models.py +345 -0
- tencentcloud/live/v20180801/models.py +2 -14
- tencentcloud/lke/v20231130/models.py +232 -2
- tencentcloud/lkeap/v20240522/lkeap_client.py +3 -3
- tencentcloud/monitor/v20180724/errorcodes.py +3 -0
- tencentcloud/monitor/v20180724/models.py +34 -0
- tencentcloud/monitor/v20180724/monitor_client.py +23 -0
- tencentcloud/mps/v20190612/models.py +46 -26
- tencentcloud/privatedns/v20201028/models.py +30 -0
- tencentcloud/tcb/v20180608/models.py +60 -0
- tencentcloud/tione/v20211111/errorcodes.py +3 -0
- tencentcloud/tione/v20211111/models.py +53 -0
- tencentcloud/trtc/v20190722/models.py +4 -10
- tencentcloud/trtc/v20190722/trtc_client.py +4 -0
- tencentcloud/tse/v20201207/models.py +0 -2
- tencentcloud/vclm/v20240523/models.py +2 -2
- tencentcloud/vpc/v20170312/models.py +263 -81
- tencentcloud/vpc/v20170312/vpc_client.py +25 -2
- tencentcloud/wedata/v20210820/models.py +2691 -4
- tencentcloud/wedata/v20210820/wedata_client.py +69 -0
- {tencentcloud_sdk_python-3.0.1358.dist-info → tencentcloud_sdk_python-3.0.1360.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1358.dist-info → tencentcloud_sdk_python-3.0.1360.dist-info}/RECORD +51 -51
- {tencentcloud_sdk_python-3.0.1358.dist-info → tencentcloud_sdk_python-3.0.1360.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1358.dist-info → tencentcloud_sdk_python-3.0.1360.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1358.dist-info → tencentcloud_sdk_python-3.0.1360.dist-info}/top_level.txt +0 -0
@@ -203,18 +203,13 @@ class ActionTimer(AbstractModel):
|
|
203
203
|
:type TimerAction: str
|
204
204
|
:param _ActionTime: 执行时间,按照ISO8601标准表示,并且使用UTC时间。格式为 YYYY-MM-DDThh:mm:ssZ。例如 2018-05-29T11:26:40Z,执行时间必须大于当前时间5分钟。
|
205
205
|
:type ActionTime: str
|
206
|
-
:param _Externals:
|
206
|
+
:param _Externals: 扩展数据。仅做出参使用。
|
207
207
|
:type Externals: :class:`tencentcloud.cvm.v20170312.models.Externals`
|
208
|
-
:param _ActionTimerId: 定时器ID
|
208
|
+
:param _ActionTimerId: 定时器ID。仅做出参使用。
|
209
209
|
:type ActionTimerId: str
|
210
|
-
:param _Status:
|
211
|
-
|
212
|
-
UNDO:未触发
|
213
|
-
DOING:触发中
|
214
|
-
DONE:已经触发
|
215
|
-
|
210
|
+
:param _Status: 定时器状态,仅做出参使用。取值范围:<br><li>UNDO:未执行</li> <li>DOING:正在执行</li><li>DONE:执行完成。</li>
|
216
211
|
:type Status: str
|
217
|
-
:param _InstanceId: 定时器对应的实例ID
|
212
|
+
:param _InstanceId: 定时器对应的实例ID。仅做出参使用。
|
218
213
|
:type InstanceId: str
|
219
214
|
"""
|
220
215
|
self._TimerAction = None
|
@@ -248,7 +243,7 @@ DONE:已经触发
|
|
248
243
|
|
249
244
|
@property
|
250
245
|
def Externals(self):
|
251
|
-
"""
|
246
|
+
"""扩展数据。仅做出参使用。
|
252
247
|
:rtype: :class:`tencentcloud.cvm.v20170312.models.Externals`
|
253
248
|
"""
|
254
249
|
return self._Externals
|
@@ -259,7 +254,7 @@ DONE:已经触发
|
|
259
254
|
|
260
255
|
@property
|
261
256
|
def ActionTimerId(self):
|
262
|
-
"""定时器ID
|
257
|
+
"""定时器ID。仅做出参使用。
|
263
258
|
:rtype: str
|
264
259
|
"""
|
265
260
|
return self._ActionTimerId
|
@@ -270,12 +265,7 @@ DONE:已经触发
|
|
270
265
|
|
271
266
|
@property
|
272
267
|
def Status(self):
|
273
|
-
"""
|
274
|
-
|
275
|
-
UNDO:未触发
|
276
|
-
DOING:触发中
|
277
|
-
DONE:已经触发
|
278
|
-
|
268
|
+
"""定时器状态,仅做出参使用。取值范围:<br><li>UNDO:未执行</li> <li>DOING:正在执行</li><li>DONE:执行完成。</li>
|
279
269
|
:rtype: str
|
280
270
|
"""
|
281
271
|
return self._Status
|
@@ -286,7 +276,7 @@ DONE:已经触发
|
|
286
276
|
|
287
277
|
@property
|
288
278
|
def InstanceId(self):
|
289
|
-
"""定时器对应的实例ID
|
279
|
+
"""定时器对应的实例ID。仅做出参使用。
|
290
280
|
:rtype: str
|
291
281
|
"""
|
292
282
|
return self._InstanceId
|
@@ -594,9 +584,9 @@ class AssociateSecurityGroupsRequest(AbstractModel):
|
|
594
584
|
|
595
585
|
def __init__(self):
|
596
586
|
r"""
|
597
|
-
:param _SecurityGroupIds: 要绑定的`安全组ID`,类似sg-efil73jd
|
587
|
+
:param _SecurityGroupIds: 要绑定的`安全组ID`,类似sg-efil73jd,只支持绑定单个安全组。可通过 [DescribeSecurityGroups](https://cloud.tencent.com/document/product/215/15808) 接口返回值中的`SecurityGroupId`获取。
|
598
588
|
:type SecurityGroupIds: list of str
|
599
|
-
:param _InstanceIds: 被绑定的`实例ID`,类似ins-lesecurk,支持指定多个实例,每次请求批量实例的上限为100
|
589
|
+
:param _InstanceIds: 被绑定的`实例ID`,类似ins-lesecurk,支持指定多个实例,每次请求批量实例的上限为100。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
600
590
|
:type InstanceIds: list of str
|
601
591
|
"""
|
602
592
|
self._SecurityGroupIds = None
|
@@ -604,7 +594,7 @@ class AssociateSecurityGroupsRequest(AbstractModel):
|
|
604
594
|
|
605
595
|
@property
|
606
596
|
def SecurityGroupIds(self):
|
607
|
-
"""要绑定的`安全组ID`,类似sg-efil73jd
|
597
|
+
"""要绑定的`安全组ID`,类似sg-efil73jd,只支持绑定单个安全组。可通过 [DescribeSecurityGroups](https://cloud.tencent.com/document/product/215/15808) 接口返回值中的`SecurityGroupId`获取。
|
608
598
|
:rtype: list of str
|
609
599
|
"""
|
610
600
|
return self._SecurityGroupIds
|
@@ -615,7 +605,7 @@ class AssociateSecurityGroupsRequest(AbstractModel):
|
|
615
605
|
|
616
606
|
@property
|
617
607
|
def InstanceIds(self):
|
618
|
-
"""被绑定的`实例ID`,类似ins-lesecurk,支持指定多个实例,每次请求批量实例的上限为100
|
608
|
+
"""被绑定的`实例ID`,类似ins-lesecurk,支持指定多个实例,每次请求批量实例的上限为100。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
619
609
|
:rtype: list of str
|
620
610
|
"""
|
621
611
|
return self._InstanceIds
|
@@ -2366,11 +2356,15 @@ class CreateImageRequest(AbstractModel):
|
|
2366
2356
|
|
2367
2357
|
def __init__(self):
|
2368
2358
|
r"""
|
2369
|
-
:param _ImageName:
|
2359
|
+
:param _ImageName: 镜像名称。
|
2360
|
+
最多支持60个字符。
|
2370
2361
|
:type ImageName: str
|
2371
2362
|
:param _InstanceId: 需要制作镜像的实例ID。基于实例创建镜像时,为必填参数。
|
2363
|
+
InstanceId 和 SnapshotIds 为二选一必填参数。
|
2364
|
+
可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
2372
2365
|
:type InstanceId: str
|
2373
|
-
:param _ImageDescription:
|
2366
|
+
:param _ImageDescription: 镜像描述。
|
2367
|
+
最多支持 256 个字符。
|
2374
2368
|
:type ImageDescription: str
|
2375
2369
|
:param _ForcePoweroff: 是否执行强制关机以制作镜像。
|
2376
2370
|
取值范围:<br><li>true:表示关机之后制作镜像</li><br><li>false:表示开机状态制作镜像</li><br><br>默认取值:false。<br><br>开机状态制作镜像,可能导致部分数据未备份,影响数据安全。
|
@@ -2380,13 +2374,18 @@ class CreateImageRequest(AbstractModel):
|
|
2380
2374
|
|
2381
2375
|
关于Sysprep的详情请参考[链接](https://cloud.tencent.com/document/product/213/43498)。
|
2382
2376
|
:type Sysprep: str
|
2383
|
-
:param _DataDiskIds: 基于实例创建整机镜像时,指定包含在镜像里的数据盘ID
|
2377
|
+
:param _DataDiskIds: 基于实例创建整机镜像时,指定包含在镜像里的数据盘ID。
|
2378
|
+
DataDiskIds 只能在指定 InstanceId 实例所包含的数据盘范围内指定。
|
2379
|
+
可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的 `DataDisks` 获取。
|
2384
2380
|
:type DataDiskIds: list of str
|
2385
|
-
:param _SnapshotIds: 基于快照创建镜像,指定快照ID,必须包含一个系统盘快照。不可与InstanceId同时传入。
|
2381
|
+
:param _SnapshotIds: 基于快照创建镜像,指定快照ID,必须包含一个系统盘快照。不可与 InstanceId 同时传入。
|
2382
|
+
InstanceId 和 SnapshotIds 为二选一必填参数。
|
2383
|
+
可通过 [DescribeSnapshots](https://cloud.tencent.com/document/product/362/15647) 接口返回值中的`SnapshotId`获取。
|
2386
2384
|
:type SnapshotIds: list of str
|
2387
2385
|
:param _DryRun: 检测本次请求的是否成功,但不会对操作的资源产生任何影响。默认取值为false。
|
2388
2386
|
:type DryRun: bool
|
2389
2387
|
:param _TagSpecification: 标签描述列表。通过指定该参数可以同时绑定标签到自定义镜像。
|
2388
|
+
可通过 [DescribeTags](https://cloud.tencent.com/document/api/651/35316) 接口返回值中的 `TagKey` 和 `TagValue` 获取。
|
2390
2389
|
:type TagSpecification: list of TagSpecification
|
2391
2390
|
:param _ImageFamily: 镜像族
|
2392
2391
|
:type ImageFamily: str
|
@@ -2404,7 +2403,8 @@ class CreateImageRequest(AbstractModel):
|
|
2404
2403
|
|
2405
2404
|
@property
|
2406
2405
|
def ImageName(self):
|
2407
|
-
"""
|
2406
|
+
"""镜像名称。
|
2407
|
+
最多支持60个字符。
|
2408
2408
|
:rtype: str
|
2409
2409
|
"""
|
2410
2410
|
return self._ImageName
|
@@ -2416,6 +2416,8 @@ class CreateImageRequest(AbstractModel):
|
|
2416
2416
|
@property
|
2417
2417
|
def InstanceId(self):
|
2418
2418
|
"""需要制作镜像的实例ID。基于实例创建镜像时,为必填参数。
|
2419
|
+
InstanceId 和 SnapshotIds 为二选一必填参数。
|
2420
|
+
可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
2419
2421
|
:rtype: str
|
2420
2422
|
"""
|
2421
2423
|
return self._InstanceId
|
@@ -2426,7 +2428,8 @@ class CreateImageRequest(AbstractModel):
|
|
2426
2428
|
|
2427
2429
|
@property
|
2428
2430
|
def ImageDescription(self):
|
2429
|
-
"""
|
2431
|
+
"""镜像描述。
|
2432
|
+
最多支持 256 个字符。
|
2430
2433
|
:rtype: str
|
2431
2434
|
"""
|
2432
2435
|
return self._ImageDescription
|
@@ -2463,7 +2466,9 @@ class CreateImageRequest(AbstractModel):
|
|
2463
2466
|
|
2464
2467
|
@property
|
2465
2468
|
def DataDiskIds(self):
|
2466
|
-
"""基于实例创建整机镜像时,指定包含在镜像里的数据盘ID
|
2469
|
+
"""基于实例创建整机镜像时,指定包含在镜像里的数据盘ID。
|
2470
|
+
DataDiskIds 只能在指定 InstanceId 实例所包含的数据盘范围内指定。
|
2471
|
+
可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的 `DataDisks` 获取。
|
2467
2472
|
:rtype: list of str
|
2468
2473
|
"""
|
2469
2474
|
return self._DataDiskIds
|
@@ -2474,7 +2479,9 @@ class CreateImageRequest(AbstractModel):
|
|
2474
2479
|
|
2475
2480
|
@property
|
2476
2481
|
def SnapshotIds(self):
|
2477
|
-
"""基于快照创建镜像,指定快照ID,必须包含一个系统盘快照。不可与InstanceId同时传入。
|
2482
|
+
"""基于快照创建镜像,指定快照ID,必须包含一个系统盘快照。不可与 InstanceId 同时传入。
|
2483
|
+
InstanceId 和 SnapshotIds 为二选一必填参数。
|
2484
|
+
可通过 [DescribeSnapshots](https://cloud.tencent.com/document/product/362/15647) 接口返回值中的`SnapshotId`获取。
|
2478
2485
|
:rtype: list of str
|
2479
2486
|
"""
|
2480
2487
|
return self._SnapshotIds
|
@@ -2497,6 +2504,7 @@ class CreateImageRequest(AbstractModel):
|
|
2497
2504
|
@property
|
2498
2505
|
def TagSpecification(self):
|
2499
2506
|
"""标签描述列表。通过指定该参数可以同时绑定标签到自定义镜像。
|
2507
|
+
可通过 [DescribeTags](https://cloud.tencent.com/document/api/651/35316) 接口返回值中的 `TagKey` 和 `TagValue` 获取。
|
2500
2508
|
:rtype: list of TagSpecification
|
2501
2509
|
"""
|
2502
2510
|
return self._TagSpecification
|
@@ -3771,23 +3779,11 @@ class DataDisk(AbstractModel):
|
|
3771
3779
|
:param _DiskId: 数据盘ID。
|
3772
3780
|
该参数目前仅用于`DescribeInstances`等查询类接口的返回参数,不可用于`RunInstances`等写接口的入参。
|
3773
3781
|
:type DiskId: str
|
3774
|
-
:param _DeleteWithInstance:
|
3775
|
-
<li>true:子机销毁时,销毁数据盘,只支持按小时后付费云盘</li>
|
3776
|
-
<li>
|
3777
|
-
false:子机销毁时,保留数据盘<br />
|
3778
|
-
默认取值:true<br />
|
3779
|
-
该参数目前仅用于 `RunInstances` 接口。
|
3780
|
-
</li>
|
3782
|
+
:param _DeleteWithInstance: 数据盘是否随子机销毁。取值范围:<li>true:子机销毁时,销毁数据盘,只支持按小时后付费云盘</li><li>false:子机销毁时,保留数据盘</li><br/>默认取值:true <br/>该参数目前仅用于 `RunInstances` 接口。
|
3781
3783
|
:type DeleteWithInstance: bool
|
3782
3784
|
:param _SnapshotId: 数据盘快照ID。选择的数据盘快照大小需小于数据盘大小。
|
3783
3785
|
:type SnapshotId: str
|
3784
|
-
:param _Encrypt:
|
3785
|
-
<li>true:加密</li>
|
3786
|
-
<li>
|
3787
|
-
false:不加密<br />
|
3788
|
-
默认取值:false<br />
|
3789
|
-
该参数目前仅用于 `RunInstances` 接口。
|
3790
|
-
</li>
|
3786
|
+
:param _Encrypt: 数据盘是否加密。取值范围:<li>true:加密</li><li>false:不加密</li><br/>默认取值:false<br/>该参数目前仅用于 `RunInstances` 接口。
|
3791
3787
|
:type Encrypt: bool
|
3792
3788
|
:param _KmsKeyId: 自定义CMK对应的ID,取值为UUID或者类似kms-abcd1234。用于加密云盘。
|
3793
3789
|
|
@@ -3854,13 +3850,7 @@ class DataDisk(AbstractModel):
|
|
3854
3850
|
|
3855
3851
|
@property
|
3856
3852
|
def DeleteWithInstance(self):
|
3857
|
-
"""
|
3858
|
-
<li>true:子机销毁时,销毁数据盘,只支持按小时后付费云盘</li>
|
3859
|
-
<li>
|
3860
|
-
false:子机销毁时,保留数据盘<br />
|
3861
|
-
默认取值:true<br />
|
3862
|
-
该参数目前仅用于 `RunInstances` 接口。
|
3863
|
-
</li>
|
3853
|
+
"""数据盘是否随子机销毁。取值范围:<li>true:子机销毁时,销毁数据盘,只支持按小时后付费云盘</li><li>false:子机销毁时,保留数据盘</li><br/>默认取值:true <br/>该参数目前仅用于 `RunInstances` 接口。
|
3864
3854
|
:rtype: bool
|
3865
3855
|
"""
|
3866
3856
|
return self._DeleteWithInstance
|
@@ -3882,13 +3872,7 @@ class DataDisk(AbstractModel):
|
|
3882
3872
|
|
3883
3873
|
@property
|
3884
3874
|
def Encrypt(self):
|
3885
|
-
"""
|
3886
|
-
<li>true:加密</li>
|
3887
|
-
<li>
|
3888
|
-
false:不加密<br />
|
3889
|
-
默认取值:false<br />
|
3890
|
-
该参数目前仅用于 `RunInstances` 接口。
|
3891
|
-
</li>
|
3875
|
+
"""数据盘是否加密。取值范围:<li>true:加密</li><li>false:不加密</li><br/>默认取值:false<br/>该参数目前仅用于 `RunInstances` 接口。
|
3892
3876
|
:rtype: bool
|
3893
3877
|
"""
|
3894
3878
|
return self._Encrypt
|
@@ -4116,11 +4100,14 @@ class DeleteImagesRequest(AbstractModel):
|
|
4116
4100
|
|
4117
4101
|
def __init__(self):
|
4118
4102
|
r"""
|
4119
|
-
:param _ImageIds:
|
4103
|
+
:param _ImageIds: 删除的镜像 ID 列表。
|
4104
|
+
可通过 [DescribeImages](https://cloud.tencent.com/document/api/213/15715) 接口返回值中的`ImageId`获取。
|
4120
4105
|
:type ImageIds: list of str
|
4121
|
-
:param _DeleteBindedSnap:
|
4106
|
+
:param _DeleteBindedSnap: 是否删除镜像关联的快照。
|
4107
|
+
默认值:false
|
4122
4108
|
:type DeleteBindedSnap: bool
|
4123
|
-
:param _DryRun:
|
4109
|
+
:param _DryRun: 检测是否支持删除镜像。
|
4110
|
+
默认值:false
|
4124
4111
|
:type DryRun: bool
|
4125
4112
|
"""
|
4126
4113
|
self._ImageIds = None
|
@@ -4129,7 +4116,8 @@ class DeleteImagesRequest(AbstractModel):
|
|
4129
4116
|
|
4130
4117
|
@property
|
4131
4118
|
def ImageIds(self):
|
4132
|
-
"""
|
4119
|
+
"""删除的镜像 ID 列表。
|
4120
|
+
可通过 [DescribeImages](https://cloud.tencent.com/document/api/213/15715) 接口返回值中的`ImageId`获取。
|
4133
4121
|
:rtype: list of str
|
4134
4122
|
"""
|
4135
4123
|
return self._ImageIds
|
@@ -4140,7 +4128,8 @@ class DeleteImagesRequest(AbstractModel):
|
|
4140
4128
|
|
4141
4129
|
@property
|
4142
4130
|
def DeleteBindedSnap(self):
|
4143
|
-
"""
|
4131
|
+
"""是否删除镜像关联的快照。
|
4132
|
+
默认值:false
|
4144
4133
|
:rtype: bool
|
4145
4134
|
"""
|
4146
4135
|
return self._DeleteBindedSnap
|
@@ -4151,7 +4140,8 @@ class DeleteImagesRequest(AbstractModel):
|
|
4151
4140
|
|
4152
4141
|
@property
|
4153
4142
|
def DryRun(self):
|
4154
|
-
"""
|
4143
|
+
"""检测是否支持删除镜像。
|
4144
|
+
默认值:false
|
4155
4145
|
:rtype: bool
|
4156
4146
|
"""
|
4157
4147
|
return self._DryRun
|
@@ -4210,14 +4200,14 @@ class DeleteInstancesActionTimerRequest(AbstractModel):
|
|
4210
4200
|
|
4211
4201
|
def __init__(self):
|
4212
4202
|
r"""
|
4213
|
-
:param _ActionTimerIds: 定时任务ID列表,可以通过DescribeInstancesActionTimer接口查询。只能删除未执行的定时任务。
|
4203
|
+
:param _ActionTimerIds: 定时任务ID列表,可以通过[ DescribeInstancesActionTimer ](https://cloud.tencent.com/document/product/213/103950)接口查询。只能删除未执行的定时任务。
|
4214
4204
|
:type ActionTimerIds: list of str
|
4215
4205
|
"""
|
4216
4206
|
self._ActionTimerIds = None
|
4217
4207
|
|
4218
4208
|
@property
|
4219
4209
|
def ActionTimerIds(self):
|
4220
|
-
"""定时任务ID列表,可以通过DescribeInstancesActionTimer接口查询。只能删除未执行的定时任务。
|
4210
|
+
"""定时任务ID列表,可以通过[ DescribeInstancesActionTimer ](https://cloud.tencent.com/document/product/213/103950)接口查询。只能删除未执行的定时任务。
|
4221
4211
|
:rtype: list of str
|
4222
4212
|
"""
|
4223
4213
|
return self._ActionTimerIds
|
@@ -4402,9 +4392,9 @@ class DeleteLaunchTemplateVersionsRequest(AbstractModel):
|
|
4402
4392
|
|
4403
4393
|
def __init__(self):
|
4404
4394
|
r"""
|
4405
|
-
:param _LaunchTemplateId: 启动模板ID
|
4395
|
+
:param _LaunchTemplateId: 启动模板ID。可通过 [DescribeLaunchTemplates](https://cloud.tencent.com/document/api/213/66322) 接口返回值中的`LaunchTemplateId`获取。
|
4406
4396
|
:type LaunchTemplateId: str
|
4407
|
-
:param _LaunchTemplateVersions:
|
4397
|
+
:param _LaunchTemplateVersions: 实例启动模板版本列表。可通过 [DescribeLaunchTemplateVersions](https://cloud.tencent.com/document/api/213/66323) 接口返回值中的`LaunchTemplateVersion`获取。
|
4408
4398
|
:type LaunchTemplateVersions: list of int
|
4409
4399
|
"""
|
4410
4400
|
self._LaunchTemplateId = None
|
@@ -4412,7 +4402,7 @@ class DeleteLaunchTemplateVersionsRequest(AbstractModel):
|
|
4412
4402
|
|
4413
4403
|
@property
|
4414
4404
|
def LaunchTemplateId(self):
|
4415
|
-
"""启动模板ID
|
4405
|
+
"""启动模板ID。可通过 [DescribeLaunchTemplates](https://cloud.tencent.com/document/api/213/66322) 接口返回值中的`LaunchTemplateId`获取。
|
4416
4406
|
:rtype: str
|
4417
4407
|
"""
|
4418
4408
|
return self._LaunchTemplateId
|
@@ -4423,7 +4413,7 @@ class DeleteLaunchTemplateVersionsRequest(AbstractModel):
|
|
4423
4413
|
|
4424
4414
|
@property
|
4425
4415
|
def LaunchTemplateVersions(self):
|
4426
|
-
"""
|
4416
|
+
"""实例启动模板版本列表。可通过 [DescribeLaunchTemplateVersions](https://cloud.tencent.com/document/api/213/66323) 接口返回值中的`LaunchTemplateVersion`获取。
|
4427
4417
|
:rtype: list of int
|
4428
4418
|
"""
|
4429
4419
|
return self._LaunchTemplateVersions
|
@@ -4484,7 +4474,7 @@ class DescribeAccountQuotaRequest(AbstractModel):
|
|
4484
4474
|
:param _Filters: <li><strong>zone</strong></li>
|
4485
4475
|
<p style="padding-left: 30px;">按照【<strong>可用区</strong>】进行过滤。可用区形如:ap-guangzhou-1。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:<a href="https://cloud.tencent.com/document/product/213/6091">可用区列表</a></p>
|
4486
4476
|
<li><strong>quota-type</strong></li>
|
4487
|
-
<p style="padding-left: 30px;">按照【<strong>配额类型</strong>】进行过滤。配额类型形如:PostPaidQuotaSet。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;"
|
4477
|
+
<p style="padding-left: 30px;">按照【<strong>配额类型</strong>】进行过滤。配额类型形如:PostPaidQuotaSet。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:</p><p style="padding-left: 30px;">PostPaidQuotaSet: 后付费配额</p><p style="padding-left: 30px;">PrePaidQuotaSet: 预付费配额</p><p style="padding-left: 30px;">SpotPaidQuotaSet: 竞价配额</p><p style="padding-left: 30px;">ImageQuotaSet: 镜像配额</p><p style="padding-left: 30px;">DisasterRecoverGroupQuotaSet: 置放群组配额</p>
|
4488
4478
|
:type Filters: list of Filter
|
4489
4479
|
"""
|
4490
4480
|
self._Filters = None
|
@@ -4494,7 +4484,7 @@ class DescribeAccountQuotaRequest(AbstractModel):
|
|
4494
4484
|
"""<li><strong>zone</strong></li>
|
4495
4485
|
<p style="padding-left: 30px;">按照【<strong>可用区</strong>】进行过滤。可用区形如:ap-guangzhou-1。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:<a href="https://cloud.tencent.com/document/product/213/6091">可用区列表</a></p>
|
4496
4486
|
<li><strong>quota-type</strong></li>
|
4497
|
-
<p style="padding-left: 30px;">按照【<strong>配额类型</strong>】进行过滤。配额类型形如:PostPaidQuotaSet。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;"
|
4487
|
+
<p style="padding-left: 30px;">按照【<strong>配额类型</strong>】进行过滤。配额类型形如:PostPaidQuotaSet。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:</p><p style="padding-left: 30px;">PostPaidQuotaSet: 后付费配额</p><p style="padding-left: 30px;">PrePaidQuotaSet: 预付费配额</p><p style="padding-left: 30px;">SpotPaidQuotaSet: 竞价配额</p><p style="padding-left: 30px;">ImageQuotaSet: 镜像配额</p><p style="padding-left: 30px;">DisasterRecoverGroupQuotaSet: 置放群组配额</p>
|
4498
4488
|
:rtype: list of Filter
|
4499
4489
|
"""
|
4500
4490
|
return self._Filters
|
@@ -6251,14 +6241,14 @@ class DescribeInstanceVncUrlRequest(AbstractModel):
|
|
6251
6241
|
|
6252
6242
|
def __init__(self):
|
6253
6243
|
r"""
|
6254
|
-
:param _InstanceId: 一个操作的实例ID。可通过[
|
6244
|
+
:param _InstanceId: 一个操作的实例ID。可通过[ DescribeInstances ](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
6255
6245
|
:type InstanceId: str
|
6256
6246
|
"""
|
6257
6247
|
self._InstanceId = None
|
6258
6248
|
|
6259
6249
|
@property
|
6260
6250
|
def InstanceId(self):
|
6261
|
-
"""一个操作的实例ID。可通过[
|
6251
|
+
"""一个操作的实例ID。可通过[ DescribeInstances ](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
6262
6252
|
:rtype: str
|
6263
6253
|
"""
|
6264
6254
|
return self._InstanceId
|
@@ -6332,15 +6322,15 @@ class DescribeInstancesActionTimerRequest(AbstractModel):
|
|
6332
6322
|
r"""
|
6333
6323
|
:param _ActionTimerIds: 定时任务ID列表。
|
6334
6324
|
:type ActionTimerIds: list of str
|
6335
|
-
:param _InstanceIds: 按照一个或者多个实例ID
|
6325
|
+
:param _InstanceIds: 按照一个或者多个实例ID查询。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
6336
6326
|
:type InstanceIds: list of str
|
6337
6327
|
:param _TimerAction: 定时器动作,目前仅支持销毁一个值:TerminateInstances。
|
6338
6328
|
:type TimerAction: str
|
6339
|
-
:param _EndActionTime:
|
6329
|
+
:param _EndActionTime: 定时任务执行时间的结束范围,用于条件筛选,格式如2018-05-01 19:00:00。
|
6340
6330
|
:type EndActionTime: str
|
6341
|
-
:param _StartActionTime:
|
6331
|
+
:param _StartActionTime: 定时任务执行时间的开始范围,用于条件筛选,格式如2018-05-01 19:00:00。
|
6342
6332
|
:type StartActionTime: str
|
6343
|
-
:param _StatusList: 定时任务状态列表。<br><li>UNDO:未执行</li> <
|
6333
|
+
:param _StatusList: 定时任务状态列表。<br><li>UNDO:未执行</li> <li>DOING:正在执行</li><li>DONE:执行完成。</li>
|
6344
6334
|
:type StatusList: list of str
|
6345
6335
|
"""
|
6346
6336
|
self._ActionTimerIds = None
|
@@ -6363,7 +6353,7 @@ class DescribeInstancesActionTimerRequest(AbstractModel):
|
|
6363
6353
|
|
6364
6354
|
@property
|
6365
6355
|
def InstanceIds(self):
|
6366
|
-
"""按照一个或者多个实例ID
|
6356
|
+
"""按照一个或者多个实例ID查询。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
6367
6357
|
:rtype: list of str
|
6368
6358
|
"""
|
6369
6359
|
return self._InstanceIds
|
@@ -6385,7 +6375,7 @@ class DescribeInstancesActionTimerRequest(AbstractModel):
|
|
6385
6375
|
|
6386
6376
|
@property
|
6387
6377
|
def EndActionTime(self):
|
6388
|
-
"""
|
6378
|
+
"""定时任务执行时间的结束范围,用于条件筛选,格式如2018-05-01 19:00:00。
|
6389
6379
|
:rtype: str
|
6390
6380
|
"""
|
6391
6381
|
return self._EndActionTime
|
@@ -6396,7 +6386,7 @@ class DescribeInstancesActionTimerRequest(AbstractModel):
|
|
6396
6386
|
|
6397
6387
|
@property
|
6398
6388
|
def StartActionTime(self):
|
6399
|
-
"""
|
6389
|
+
"""定时任务执行时间的开始范围,用于条件筛选,格式如2018-05-01 19:00:00。
|
6400
6390
|
:rtype: str
|
6401
6391
|
"""
|
6402
6392
|
return self._StartActionTime
|
@@ -6407,7 +6397,7 @@ class DescribeInstancesActionTimerRequest(AbstractModel):
|
|
6407
6397
|
|
6408
6398
|
@property
|
6409
6399
|
def StatusList(self):
|
6410
|
-
"""定时任务状态列表。<br><li>UNDO:未执行</li> <
|
6400
|
+
"""定时任务状态列表。<br><li>UNDO:未执行</li> <li>DOING:正在执行</li><li>DONE:执行完成。</li>
|
6411
6401
|
:rtype: list of str
|
6412
6402
|
"""
|
6413
6403
|
return self._StatusList
|
@@ -6492,7 +6482,7 @@ class DescribeInstancesAttributesRequest(AbstractModel):
|
|
6492
6482
|
:param _Attributes: 需要获取的实例属性。可选值:
|
6493
6483
|
UserData: 实例自定义数据
|
6494
6484
|
:type Attributes: list of str
|
6495
|
-
:param _InstanceIds: 实例ID
|
6485
|
+
:param _InstanceIds: 实例ID列表。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
6496
6486
|
:type InstanceIds: list of str
|
6497
6487
|
"""
|
6498
6488
|
self._Attributes = None
|
@@ -6512,7 +6502,7 @@ UserData: 实例自定义数据
|
|
6512
6502
|
|
6513
6503
|
@property
|
6514
6504
|
def InstanceIds(self):
|
6515
|
-
"""实例ID
|
6505
|
+
"""实例ID列表。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
6516
6506
|
:rtype: list of str
|
6517
6507
|
"""
|
6518
6508
|
return self._InstanceIds
|
@@ -6593,7 +6583,7 @@ class DescribeInstancesModificationRequest(AbstractModel):
|
|
6593
6583
|
:param _InstanceIds: 一个或多个待查询的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。每次请求批量实例的上限为20。
|
6594
6584
|
:type InstanceIds: list of str
|
6595
6585
|
:param _Filters: <li><strong>status</strong></li>
|
6596
|
-
<p style="padding-left: 30px;">按照【<strong>配置规格状态</strong>】进行过滤。配置规格状态形如:SELL、UNAVAILABLE。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
6586
|
+
<p style="padding-left: 30px;">按照【<strong>配置规格状态</strong>】进行过滤。配置规格状态形如:SELL(表示实例可售卖)、UNAVAILABLE(表示实例不可用)。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
6597
6587
|
每次请求的`Filters`的上限为10,`Filter.Values`的上限为2。
|
6598
6588
|
:type Filters: list of Filter
|
6599
6589
|
"""
|
@@ -6614,7 +6604,7 @@ class DescribeInstancesModificationRequest(AbstractModel):
|
|
6614
6604
|
@property
|
6615
6605
|
def Filters(self):
|
6616
6606
|
"""<li><strong>status</strong></li>
|
6617
|
-
<p style="padding-left: 30px;">按照【<strong>配置规格状态</strong>】进行过滤。配置规格状态形如:SELL、UNAVAILABLE。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
6607
|
+
<p style="padding-left: 30px;">按照【<strong>配置规格状态</strong>】进行过滤。配置规格状态形如:SELL(表示实例可售卖)、UNAVAILABLE(表示实例不可用)。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
6618
6608
|
每次请求的`Filters`的上限为10,`Filter.Values`的上限为2。
|
6619
6609
|
:rtype: list of Filter
|
6620
6610
|
"""
|
@@ -6716,7 +6706,7 @@ class DescribeInstancesOperationLimitRequest(AbstractModel):
|
|
6716
6706
|
:param _InstanceIds: 按照一个或者多个实例ID查询,可通过[DescribeInstances](https://cloud.tencent.com/document/api/213/15728)API返回值中的InstanceId获取。实例ID形如:ins-xxxxxxxx。(此参数的具体格式可参考API[简介](https://cloud.tencent.com/document/api/213/15688)的ids.N一节)。每次请求的实例的上限为100。
|
6717
6707
|
:type InstanceIds: list of str
|
6718
6708
|
:param _Operation: 实例操作。
|
6719
|
-
<li> INSTANCE_DEGRADE:实例降配操作</li>
|
6709
|
+
<li> INSTANCE_DEGRADE:实例降配操作</li><li> INTERNET_CHARGE_TYPE_CHANGE:实例调整带宽付费模式操作</li>
|
6720
6710
|
:type Operation: str
|
6721
6711
|
"""
|
6722
6712
|
self._InstanceIds = None
|
@@ -6736,7 +6726,7 @@ class DescribeInstancesOperationLimitRequest(AbstractModel):
|
|
6736
6726
|
@property
|
6737
6727
|
def Operation(self):
|
6738
6728
|
"""实例操作。
|
6739
|
-
<li> INSTANCE_DEGRADE:实例降配操作</li>
|
6729
|
+
<li> INSTANCE_DEGRADE:实例降配操作</li><li> INTERNET_CHARGE_TYPE_CHANGE:实例调整带宽付费模式操作</li>
|
6740
6730
|
:rtype: str
|
6741
6731
|
"""
|
6742
6732
|
return self._Operation
|
@@ -8417,7 +8407,7 @@ class DescribeZoneInstanceConfigInfosRequest(AbstractModel):
|
|
8417
8407
|
<li><strong>instance-type</strong></li>
|
8418
8408
|
<p style="padding-left: 30px;">按照【<strong>实例机型</strong>】进行过滤。不同实例机型指定了不同的资源规格,具体取值可通过调用接口 [DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/product/213/15749) 来获得最新的规格表或参见[实例类型](https://cloud.tencent.com/document/product/213/11518)描述。若不指定该参数,则默认查询筛选条件下所有机型。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
8419
8409
|
<li><strong>instance-charge-type</strong></li>
|
8420
|
-
<p style="padding-left: 30px;">按照【<strong>实例计费模式</strong>】进行过滤。(PREPAID:表示预付费,即包年包月 | POSTPAID_BY_HOUR:表示后付费,即按量计费 )</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
8410
|
+
<p style="padding-left: 30px;">按照【<strong>实例计费模式</strong>】进行过滤。(PREPAID:表示预付费,即包年包月 | POSTPAID_BY_HOUR:表示后付费,即按量计费 | CDHPAID:表示独享子机 | SPOTPAID:表示竞价付费 | CDCPAID:表示专用集群付费)</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
8421
8411
|
<li><strong>sort-keys</strong></li>
|
8422
8412
|
<p style="padding-left: 30px;">按关键字进行排序,格式为排序字段加排序方式,中间用冒号分隔。 例如: 按cpu数逆序排序 "cpu:desc", 按mem大小顺序排序 "mem:asc"</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
8423
8413
|
每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。
|
@@ -8434,7 +8424,7 @@ class DescribeZoneInstanceConfigInfosRequest(AbstractModel):
|
|
8434
8424
|
<li><strong>instance-type</strong></li>
|
8435
8425
|
<p style="padding-left: 30px;">按照【<strong>实例机型</strong>】进行过滤。不同实例机型指定了不同的资源规格,具体取值可通过调用接口 [DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/product/213/15749) 来获得最新的规格表或参见[实例类型](https://cloud.tencent.com/document/product/213/11518)描述。若不指定该参数,则默认查询筛选条件下所有机型。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
8436
8426
|
<li><strong>instance-charge-type</strong></li>
|
8437
|
-
<p style="padding-left: 30px;">按照【<strong>实例计费模式</strong>】进行过滤。(PREPAID:表示预付费,即包年包月 | POSTPAID_BY_HOUR:表示后付费,即按量计费 )</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
8427
|
+
<p style="padding-left: 30px;">按照【<strong>实例计费模式</strong>】进行过滤。(PREPAID:表示预付费,即包年包月 | POSTPAID_BY_HOUR:表示后付费,即按量计费 | CDHPAID:表示独享子机 | SPOTPAID:表示竞价付费 | CDCPAID:表示专用集群付费)</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
8438
8428
|
<li><strong>sort-keys</strong></li>
|
8439
8429
|
<p style="padding-left: 30px;">按关键字进行排序,格式为排序字段加排序方式,中间用冒号分隔。 例如: 按cpu数逆序排序 "cpu:desc", 按mem大小顺序排序 "mem:asc"</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
8440
8430
|
每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。
|
@@ -8682,9 +8672,9 @@ class DisassociateSecurityGroupsRequest(AbstractModel):
|
|
8682
8672
|
|
8683
8673
|
def __init__(self):
|
8684
8674
|
r"""
|
8685
|
-
:param _SecurityGroupIds: 要解绑的`安全组ID`,类似sg-efil73jd
|
8675
|
+
:param _SecurityGroupIds: 要解绑的`安全组ID`,类似sg-efil73jd,只支持解绑单个安全组。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`SecurityGroupIds`获取实例绑定的安全组。
|
8686
8676
|
:type SecurityGroupIds: list of str
|
8687
|
-
:param _InstanceIds: 被解绑的`实例ID`,类似ins-lesecurk,支持指定多个实例,每次请求批量实例的上限为100
|
8677
|
+
:param _InstanceIds: 被解绑的`实例ID`,类似ins-lesecurk,支持指定多个实例,每次请求批量实例的上限为100。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
8688
8678
|
:type InstanceIds: list of str
|
8689
8679
|
"""
|
8690
8680
|
self._SecurityGroupIds = None
|
@@ -8692,7 +8682,7 @@ class DisassociateSecurityGroupsRequest(AbstractModel):
|
|
8692
8682
|
|
8693
8683
|
@property
|
8694
8684
|
def SecurityGroupIds(self):
|
8695
|
-
"""要解绑的`安全组ID`,类似sg-efil73jd
|
8685
|
+
"""要解绑的`安全组ID`,类似sg-efil73jd,只支持解绑单个安全组。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`SecurityGroupIds`获取实例绑定的安全组。
|
8696
8686
|
:rtype: list of str
|
8697
8687
|
"""
|
8698
8688
|
return self._SecurityGroupIds
|
@@ -8703,7 +8693,7 @@ class DisassociateSecurityGroupsRequest(AbstractModel):
|
|
8703
8693
|
|
8704
8694
|
@property
|
8705
8695
|
def InstanceIds(self):
|
8706
|
-
"""被解绑的`实例ID`,类似ins-lesecurk,支持指定多个实例,每次请求批量实例的上限为100
|
8696
|
+
"""被解绑的`实例ID`,类似ins-lesecurk,支持指定多个实例,每次请求批量实例的上限为100。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
8707
8697
|
:rtype: list of str
|
8708
8698
|
"""
|
8709
8699
|
return self._InstanceIds
|
@@ -9224,14 +9214,14 @@ class ExitRescueModeRequest(AbstractModel):
|
|
9224
9214
|
|
9225
9215
|
def __init__(self):
|
9226
9216
|
r"""
|
9227
|
-
:param _InstanceId: 退出救援模式的实例id
|
9217
|
+
:param _InstanceId: 退出救援模式的实例id。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
9228
9218
|
:type InstanceId: str
|
9229
9219
|
"""
|
9230
9220
|
self._InstanceId = None
|
9231
9221
|
|
9232
9222
|
@property
|
9233
9223
|
def InstanceId(self):
|
9234
|
-
"""退出救援模式的实例id
|
9224
|
+
"""退出救援模式的实例id。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
9235
9225
|
:rtype: str
|
9236
9226
|
"""
|
9237
9227
|
return self._InstanceId
|
@@ -9288,17 +9278,22 @@ class ExportImagesRequest(AbstractModel):
|
|
9288
9278
|
|
9289
9279
|
def __init__(self):
|
9290
9280
|
r"""
|
9291
|
-
:param _BucketName: COS
|
9281
|
+
:param _BucketName: COS存储桶名称。
|
9282
|
+
可通过 [List Buckets](https://cloud.tencent.com/document/product/436/8291) 接口查询请求者名下的所有存储桶列表或特定地域下的存储桶列表。
|
9292
9283
|
:type BucketName: str
|
9293
9284
|
:param _ImageIds: 镜像ID列表。调用 ExportImages 接口时,参数 ImageIds 和 SnapshotIds 为二选一必填参数,目前参数 SnapshotIds 暂未对外开放。
|
9285
|
+
可通过 [DescribeImages](https://cloud.tencent.com/document/api/213/15715) 接口返回值中的`ImageId`获取。
|
9294
9286
|
:type ImageIds: list of str
|
9295
9287
|
:param _ExportFormat: 镜像文件导出格式。取值范围:RAW,QCOW2,VHD,VMDK。默认为RAW
|
9296
9288
|
:type ExportFormat: str
|
9297
|
-
:param _FileNamePrefixList:
|
9289
|
+
:param _FileNamePrefixList: 导出文件的名称前缀列表。
|
9290
|
+
默认导出文件无名称前缀。
|
9298
9291
|
:type FileNamePrefixList: list of str
|
9299
|
-
:param _OnlyExportRootDisk:
|
9292
|
+
:param _OnlyExportRootDisk: 是否只导出系统盘。
|
9293
|
+
默认值:false
|
9300
9294
|
:type OnlyExportRootDisk: bool
|
9301
|
-
:param _DryRun:
|
9295
|
+
:param _DryRun: 检测镜像是否支持导出。
|
9296
|
+
默认值:false
|
9302
9297
|
:type DryRun: bool
|
9303
9298
|
:param _RoleName: 角色名称。默认为CVM_QcsRole,发起请求前请确认是否存在该角色,以及是否已正确配置COS写入权限。
|
9304
9299
|
:type RoleName: str
|
@@ -9313,7 +9308,8 @@ class ExportImagesRequest(AbstractModel):
|
|
9313
9308
|
|
9314
9309
|
@property
|
9315
9310
|
def BucketName(self):
|
9316
|
-
"""COS
|
9311
|
+
"""COS存储桶名称。
|
9312
|
+
可通过 [List Buckets](https://cloud.tencent.com/document/product/436/8291) 接口查询请求者名下的所有存储桶列表或特定地域下的存储桶列表。
|
9317
9313
|
:rtype: str
|
9318
9314
|
"""
|
9319
9315
|
return self._BucketName
|
@@ -9325,6 +9321,7 @@ class ExportImagesRequest(AbstractModel):
|
|
9325
9321
|
@property
|
9326
9322
|
def ImageIds(self):
|
9327
9323
|
"""镜像ID列表。调用 ExportImages 接口时,参数 ImageIds 和 SnapshotIds 为二选一必填参数,目前参数 SnapshotIds 暂未对外开放。
|
9324
|
+
可通过 [DescribeImages](https://cloud.tencent.com/document/api/213/15715) 接口返回值中的`ImageId`获取。
|
9328
9325
|
:rtype: list of str
|
9329
9326
|
"""
|
9330
9327
|
return self._ImageIds
|
@@ -9346,7 +9343,8 @@ class ExportImagesRequest(AbstractModel):
|
|
9346
9343
|
|
9347
9344
|
@property
|
9348
9345
|
def FileNamePrefixList(self):
|
9349
|
-
"""
|
9346
|
+
"""导出文件的名称前缀列表。
|
9347
|
+
默认导出文件无名称前缀。
|
9350
9348
|
:rtype: list of str
|
9351
9349
|
"""
|
9352
9350
|
return self._FileNamePrefixList
|
@@ -9357,7 +9355,8 @@ class ExportImagesRequest(AbstractModel):
|
|
9357
9355
|
|
9358
9356
|
@property
|
9359
9357
|
def OnlyExportRootDisk(self):
|
9360
|
-
"""
|
9358
|
+
"""是否只导出系统盘。
|
9359
|
+
默认值:false
|
9361
9360
|
:rtype: bool
|
9362
9361
|
"""
|
9363
9362
|
return self._OnlyExportRootDisk
|
@@ -9368,7 +9367,8 @@ class ExportImagesRequest(AbstractModel):
|
|
9368
9367
|
|
9369
9368
|
@property
|
9370
9369
|
def DryRun(self):
|
9371
|
-
"""
|
9370
|
+
"""检测镜像是否支持导出。
|
9371
|
+
默认值:false
|
9372
9372
|
:rtype: bool
|
9373
9373
|
"""
|
9374
9374
|
return self._DryRun
|
@@ -9416,7 +9416,9 @@ class ExportImagesResponse(AbstractModel):
|
|
9416
9416
|
r"""
|
9417
9417
|
:param _TaskId: 导出镜像任务ID
|
9418
9418
|
:type TaskId: int
|
9419
|
-
:param _CosPaths: 导出镜像的COS
|
9419
|
+
:param _CosPaths: 导出镜像的COS文件名列表。其中,文件名格式如下。
|
9420
|
+
* 系统盘:前缀名_镜像ID_system_快照ID.镜像格式
|
9421
|
+
* 数据盘:前缀名_镜像ID_data_快照ID.镜像格式
|
9420
9422
|
:type CosPaths: list of str
|
9421
9423
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9422
9424
|
:type RequestId: str
|
@@ -9438,7 +9440,9 @@ class ExportImagesResponse(AbstractModel):
|
|
9438
9440
|
|
9439
9441
|
@property
|
9440
9442
|
def CosPaths(self):
|
9441
|
-
"""导出镜像的COS
|
9443
|
+
"""导出镜像的COS文件名列表。其中,文件名格式如下。
|
9444
|
+
* 系统盘:前缀名_镜像ID_system_快照ID.镜像格式
|
9445
|
+
* 数据盘:前缀名_镜像ID_data_快照ID.镜像格式
|
9442
9446
|
:rtype: list of str
|
9443
9447
|
"""
|
9444
9448
|
return self._CosPaths
|
@@ -11068,7 +11072,7 @@ class ImportInstancesActionTimerRequest(AbstractModel):
|
|
11068
11072
|
|
11069
11073
|
def __init__(self):
|
11070
11074
|
r"""
|
11071
|
-
:param _InstanceIds: 实例id
|
11075
|
+
:param _InstanceIds: 实例id列表,可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
11072
11076
|
:type InstanceIds: list of str
|
11073
11077
|
:param _ActionTimer: 定时器任务信息,目前仅支持定时销毁。
|
11074
11078
|
:type ActionTimer: :class:`tencentcloud.cvm.v20170312.models.ActionTimer`
|
@@ -11078,7 +11082,7 @@ class ImportInstancesActionTimerRequest(AbstractModel):
|
|
11078
11082
|
|
11079
11083
|
@property
|
11080
11084
|
def InstanceIds(self):
|
11081
|
-
"""实例id
|
11085
|
+
"""实例id列表,可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
11082
11086
|
:rtype: list of str
|
11083
11087
|
"""
|
11084
11088
|
return self._InstanceIds
|
@@ -12174,12 +12178,12 @@ class InquiryPriceResizeInstanceDisksRequest(AbstractModel):
|
|
12174
12178
|
|
12175
12179
|
def __init__(self):
|
12176
12180
|
r"""
|
12177
|
-
:param _InstanceId: 待操作的实例ID。可通过[
|
12181
|
+
:param _InstanceId: 待操作的实例ID。可通过[ DescribeInstances ](https://cloud.tencent.com/document/api/213/15728)接口返回值中的`InstanceId`获取。
|
12178
12182
|
:type InstanceId: str
|
12179
|
-
:param _DataDisks:
|
12183
|
+
:param _DataDisks: 待扩容的数据盘配置信息。只支持扩容非弹性数据盘[ DescribeDisks ](https://cloud.tencent.com/document/api/362/16315)接口返回值中的`Portable`为`false`表示非弹性)。数据盘容量单位:GB。最小扩容步长:10G。关于数据盘类型的选择请参考硬盘产品简介。可选数据盘类型受到实例类型`InstanceType`限制。另外允许扩容的最大容量也因数据盘类型的不同而有所差异。
|
12180
12184
|
<dx-alert infotype="explain" title="">您必须指定参数DataDisks与SystemDisk的其中一个,但不能同时指定。</dx-alert>
|
12181
12185
|
:type DataDisks: list of DataDisk
|
12182
|
-
:param _ForceStop: 是否对运行中的实例选择强制关机。建议对运行中的实例先手动关机,然后再重置用户密码。取值范围:<br><li>true:表示在正常关机失败后进行强制关机</li><br><li>false:表示在正常关机失败后不进行强制关机</li><br
|
12186
|
+
:param _ForceStop: 是否对运行中的实例选择强制关机。建议对运行中的实例先手动关机,然后再重置用户密码。取值范围:<br><li>true:表示在正常关机失败后进行强制关机</li><br><li>false:表示在正常关机失败后不进行强制关机</li><br>默认取值:false。<br><br>强制关机的效果等同于关闭物理计算机的电源开关。强制关机可能会导致数据丢失或文件系统损坏,请仅在服务器不能正常关机时使用。
|
12183
12187
|
:type ForceStop: bool
|
12184
12188
|
"""
|
12185
12189
|
self._InstanceId = None
|
@@ -12188,7 +12192,7 @@ class InquiryPriceResizeInstanceDisksRequest(AbstractModel):
|
|
12188
12192
|
|
12189
12193
|
@property
|
12190
12194
|
def InstanceId(self):
|
12191
|
-
"""待操作的实例ID。可通过[
|
12195
|
+
"""待操作的实例ID。可通过[ DescribeInstances ](https://cloud.tencent.com/document/api/213/15728)接口返回值中的`InstanceId`获取。
|
12192
12196
|
:rtype: str
|
12193
12197
|
"""
|
12194
12198
|
return self._InstanceId
|
@@ -12199,7 +12203,7 @@ class InquiryPriceResizeInstanceDisksRequest(AbstractModel):
|
|
12199
12203
|
|
12200
12204
|
@property
|
12201
12205
|
def DataDisks(self):
|
12202
|
-
"""
|
12206
|
+
"""待扩容的数据盘配置信息。只支持扩容非弹性数据盘[ DescribeDisks ](https://cloud.tencent.com/document/api/362/16315)接口返回值中的`Portable`为`false`表示非弹性)。数据盘容量单位:GB。最小扩容步长:10G。关于数据盘类型的选择请参考硬盘产品简介。可选数据盘类型受到实例类型`InstanceType`限制。另外允许扩容的最大容量也因数据盘类型的不同而有所差异。
|
12203
12207
|
<dx-alert infotype="explain" title="">您必须指定参数DataDisks与SystemDisk的其中一个,但不能同时指定。</dx-alert>
|
12204
12208
|
:rtype: list of DataDisk
|
12205
12209
|
"""
|
@@ -12211,7 +12215,7 @@ class InquiryPriceResizeInstanceDisksRequest(AbstractModel):
|
|
12211
12215
|
|
12212
12216
|
@property
|
12213
12217
|
def ForceStop(self):
|
12214
|
-
"""是否对运行中的实例选择强制关机。建议对运行中的实例先手动关机,然后再重置用户密码。取值范围:<br><li>true:表示在正常关机失败后进行强制关机</li><br><li>false:表示在正常关机失败后不进行强制关机</li><br
|
12218
|
+
"""是否对运行中的实例选择强制关机。建议对运行中的实例先手动关机,然后再重置用户密码。取值范围:<br><li>true:表示在正常关机失败后进行强制关机</li><br><li>false:表示在正常关机失败后不进行强制关机</li><br>默认取值:false。<br><br>强制关机的效果等同于关闭物理计算机的电源开关。强制关机可能会导致数据丢失或文件系统损坏,请仅在服务器不能正常关机时使用。
|
12215
12219
|
:rtype: bool
|
12216
12220
|
"""
|
12217
12221
|
return self._ForceStop
|
@@ -12302,7 +12306,8 @@ class InquiryPriceRunInstancesRequest(AbstractModel):
|
|
12302
12306
|
:type InstanceChargeType: str
|
12303
12307
|
:param _InstanceChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。
|
12304
12308
|
:type InstanceChargePrepaid: :class:`tencentcloud.cvm.v20170312.models.InstanceChargePrepaid`
|
12305
|
-
:param _InstanceType:
|
12309
|
+
:param _InstanceType: 实例机型。不同实例机型指定了不同的资源规格。
|
12310
|
+
<br><li>对于付费模式为PREPAID或POSTPAID_BY_HOUR的实例创建,具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)描述。若不指定该参数,则系统将根据当前地域的资源售卖情况动态指定默认机型。</li><br><li>对于付费模式为CDHPAID的实例创建,该参数以"CDH_"为前缀,根据CPU和内存配置生成,具体形式为:CDH_XCXG,例如对于创建CPU为1核,内存为1G大小的专用宿主机的实例,该参数应该为CDH_1C1G。</li>
|
12306
12311
|
:type InstanceType: str
|
12307
12312
|
:param _SystemDisk: 实例系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。
|
12308
12313
|
:type SystemDisk: :class:`tencentcloud.cvm.v20170312.models.SystemDisk`
|
@@ -12318,7 +12323,7 @@ class InquiryPriceRunInstancesRequest(AbstractModel):
|
|
12318
12323
|
:type InstanceName: str
|
12319
12324
|
:param _LoginSettings: 实例登录设置。通过该参数可以设置实例的登录方式密码、密钥或保持镜像的原始登录设置。默认情况下会随机生成密码,并以站内信方式知会到用户。
|
12320
12325
|
:type LoginSettings: :class:`tencentcloud.cvm.v20170312.models.LoginSettings`
|
12321
|
-
:param _SecurityGroupIds: 实例所属安全组。该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808)
|
12326
|
+
:param _SecurityGroupIds: 实例所属安全组。该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的`SecurityGroupId`字段来获取。若不指定该参数,则默认不绑定安全组。
|
12322
12327
|
:type SecurityGroupIds: list of str
|
12323
12328
|
:param _EnhancedService: 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。若不指定该参数,则默认开启云监控、云安全服务。
|
12324
12329
|
:type EnhancedService: :class:`tencentcloud.cvm.v20170312.models.EnhancedService`
|
@@ -12407,7 +12412,8 @@ class InquiryPriceRunInstancesRequest(AbstractModel):
|
|
12407
12412
|
|
12408
12413
|
@property
|
12409
12414
|
def InstanceType(self):
|
12410
|
-
"""
|
12415
|
+
"""实例机型。不同实例机型指定了不同的资源规格。
|
12416
|
+
<br><li>对于付费模式为PREPAID或POSTPAID_BY_HOUR的实例创建,具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)描述。若不指定该参数,则系统将根据当前地域的资源售卖情况动态指定默认机型。</li><br><li>对于付费模式为CDHPAID的实例创建,该参数以"CDH_"为前缀,根据CPU和内存配置生成,具体形式为:CDH_XCXG,例如对于创建CPU为1核,内存为1G大小的专用宿主机的实例,该参数应该为CDH_1C1G。</li>
|
12411
12417
|
:rtype: str
|
12412
12418
|
"""
|
12413
12419
|
return self._InstanceType
|
@@ -12495,7 +12501,7 @@ class InquiryPriceRunInstancesRequest(AbstractModel):
|
|
12495
12501
|
|
12496
12502
|
@property
|
12497
12503
|
def SecurityGroupIds(self):
|
12498
|
-
"""实例所属安全组。该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808)
|
12504
|
+
"""实例所属安全组。该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的`SecurityGroupId`字段来获取。若不指定该参数,则默认不绑定安全组。
|
12499
12505
|
:rtype: list of str
|
12500
12506
|
"""
|
12501
12507
|
return self._SecurityGroupIds
|
@@ -13805,7 +13811,7 @@ class InstanceTypeConfig(AbstractModel):
|
|
13805
13811
|
:type GPU: int
|
13806
13812
|
:param _CPU: CPU核数,单位:核。
|
13807
13813
|
:type CPU: int
|
13808
|
-
:param _Memory: 内存容量,单位:`
|
13814
|
+
:param _Memory: 内存容量,单位:`GiB`。
|
13809
13815
|
:type Memory: int
|
13810
13816
|
:param _FPGA: FPGA核数,单位:核。
|
13811
13817
|
:type FPGA: int
|
@@ -13878,7 +13884,7 @@ class InstanceTypeConfig(AbstractModel):
|
|
13878
13884
|
|
13879
13885
|
@property
|
13880
13886
|
def Memory(self):
|
13881
|
-
"""内存容量,单位:`
|
13887
|
+
"""内存容量,单位:`GiB`。
|
13882
13888
|
:rtype: int
|
13883
13889
|
"""
|
13884
13890
|
return self._Memory
|
@@ -14008,7 +14014,7 @@ class InstanceTypeQuotaItem(AbstractModel):
|
|
14008
14014
|
:type Zone: str
|
14009
14015
|
:param _InstanceType: 实例机型。
|
14010
14016
|
:type InstanceType: str
|
14011
|
-
:param _InstanceChargeType: 实例计费模式。取值范围: <br><li>PREPAID:表示预付费,即包年包月<br></li>POSTPAID_BY_HOUR
|
14017
|
+
:param _InstanceChargeType: 实例计费模式。取值范围: <br><li>PREPAID:表示预付费,即包年包月<br></li><li>POSTPAID_BY_HOUR:表示后付费,即按量计费</li><li>CDHPAID:表示[专用宿主机](https://cloud.tencent.com/document/product/416)付费,即只对`专用宿主机`计费,不对`专用宿主机`上的实例计费。<br></li><li>SPOTPAID:表示竞价实例付费。</li>
|
14012
14018
|
:type InstanceChargeType: str
|
14013
14019
|
:param _NetworkCard: 网卡类型,例如:25代表25G网卡
|
14014
14020
|
:type NetworkCard: int
|
@@ -14024,7 +14030,7 @@ class InstanceTypeQuotaItem(AbstractModel):
|
|
14024
14030
|
:type TypeName: str
|
14025
14031
|
:param _LocalDiskTypeList: 本地磁盘规格列表。当该参数返回为空值时,表示当前情况下无法创建本地盘。
|
14026
14032
|
:type LocalDiskTypeList: list of LocalDiskType
|
14027
|
-
:param _Status: 实例是否售卖。取值范围: <br><li>SELL:表示实例可购买<br></li>SOLD_OUT
|
14033
|
+
:param _Status: 实例是否售卖。取值范围: <br><li>SELL:表示实例可购买<br></li><li>SOLD_OUT:表示实例已售罄。</li>
|
14028
14034
|
:type Status: str
|
14029
14035
|
:param _Price: 实例的售卖价格。
|
14030
14036
|
:type Price: :class:`tencentcloud.cvm.v20170312.models.ItemPrice`
|
@@ -14049,10 +14055,7 @@ class InstanceTypeQuotaItem(AbstractModel):
|
|
14049
14055
|
:param _Frequency: 实例的CPU主频信息
|
14050
14056
|
:type Frequency: str
|
14051
14057
|
:param _StatusCategory: 描述库存情况。取值范围:
|
14052
|
-
<li> EnoughStock:表示对应库存非常充足</li>
|
14053
|
-
<li>NormalStock:表示对应库存供应有保障</li>
|
14054
|
-
<li> UnderStock:表示对应库存即将售罄</li>
|
14055
|
-
<li>WithoutStock:表示对应库存已经售罄</li>
|
14058
|
+
<li> EnoughStock:表示对应库存非常充足</li> <li>NormalStock:表示对应库存供应有保障</li><li> UnderStock:表示对应库存即将售罄</li> <li>WithoutStock:表示对应库存已经售罄</li>
|
14056
14059
|
:type StatusCategory: str
|
14057
14060
|
"""
|
14058
14061
|
self._Zone = None
|
@@ -14103,7 +14106,7 @@ class InstanceTypeQuotaItem(AbstractModel):
|
|
14103
14106
|
|
14104
14107
|
@property
|
14105
14108
|
def InstanceChargeType(self):
|
14106
|
-
"""实例计费模式。取值范围: <br><li>PREPAID:表示预付费,即包年包月<br></li>POSTPAID_BY_HOUR
|
14109
|
+
"""实例计费模式。取值范围: <br><li>PREPAID:表示预付费,即包年包月<br></li><li>POSTPAID_BY_HOUR:表示后付费,即按量计费</li><li>CDHPAID:表示[专用宿主机](https://cloud.tencent.com/document/product/416)付费,即只对`专用宿主机`计费,不对`专用宿主机`上的实例计费。<br></li><li>SPOTPAID:表示竞价实例付费。</li>
|
14107
14110
|
:rtype: str
|
14108
14111
|
"""
|
14109
14112
|
return self._InstanceChargeType
|
@@ -14191,7 +14194,7 @@ class InstanceTypeQuotaItem(AbstractModel):
|
|
14191
14194
|
|
14192
14195
|
@property
|
14193
14196
|
def Status(self):
|
14194
|
-
"""实例是否售卖。取值范围: <br><li>SELL:表示实例可购买<br></li>SOLD_OUT
|
14197
|
+
"""实例是否售卖。取值范围: <br><li>SELL:表示实例可购买<br></li><li>SOLD_OUT:表示实例已售罄。</li>
|
14195
14198
|
:rtype: str
|
14196
14199
|
"""
|
14197
14200
|
return self._Status
|
@@ -14324,10 +14327,7 @@ class InstanceTypeQuotaItem(AbstractModel):
|
|
14324
14327
|
@property
|
14325
14328
|
def StatusCategory(self):
|
14326
14329
|
"""描述库存情况。取值范围:
|
14327
|
-
<li> EnoughStock:表示对应库存非常充足</li>
|
14328
|
-
<li>NormalStock:表示对应库存供应有保障</li>
|
14329
|
-
<li> UnderStock:表示对应库存即将售罄</li>
|
14330
|
-
<li>WithoutStock:表示对应库存已经售罄</li>
|
14330
|
+
<li> EnoughStock:表示对应库存非常充足</li> <li>NormalStock:表示对应库存供应有保障</li><li> UnderStock:表示对应库存即将售罄</li> <li>WithoutStock:表示对应库存已经售罄</li>
|
14331
14331
|
:rtype: str
|
14332
14332
|
"""
|
14333
14333
|
return self._StatusCategory
|
@@ -15688,7 +15688,7 @@ class LaunchTemplateVersionInfo(AbstractModel):
|
|
15688
15688
|
:type IsDefaultVersion: bool
|
15689
15689
|
:param _LaunchTemplateVersionDescription: 实例启动模板版本描述信息。
|
15690
15690
|
:type LaunchTemplateVersionDescription: str
|
15691
|
-
:param _CreatedBy:
|
15691
|
+
:param _CreatedBy: 创建者的AppId。
|
15692
15692
|
:type CreatedBy: str
|
15693
15693
|
"""
|
15694
15694
|
self._LaunchTemplateVersion = None
|
@@ -15767,7 +15767,7 @@ class LaunchTemplateVersionInfo(AbstractModel):
|
|
15767
15767
|
|
15768
15768
|
@property
|
15769
15769
|
def CreatedBy(self):
|
15770
|
-
"""
|
15770
|
+
"""创建者的AppId。
|
15771
15771
|
:rtype: str
|
15772
15772
|
"""
|
15773
15773
|
return self._CreatedBy
|
@@ -16607,7 +16607,7 @@ class ModifyInstanceDiskTypeRequest(AbstractModel):
|
|
16607
16607
|
|
16608
16608
|
def __init__(self):
|
16609
16609
|
r"""
|
16610
|
-
:param _InstanceId: 待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/
|
16610
|
+
:param _InstanceId: 待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
16611
16611
|
:type InstanceId: str
|
16612
16612
|
:param _DataDisks: 实例数据盘配置信息,只需要指定要转换的目标云硬盘的介质类型,指定DiskType的值,当前只支持一个数据盘转化。只支持CDHPAID类型实例指定CdcId参数。
|
16613
16613
|
:type DataDisks: list of DataDisk
|
@@ -16620,7 +16620,7 @@ class ModifyInstanceDiskTypeRequest(AbstractModel):
|
|
16620
16620
|
|
16621
16621
|
@property
|
16622
16622
|
def InstanceId(self):
|
16623
|
-
"""待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/
|
16623
|
+
"""待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
16624
16624
|
:rtype: str
|
16625
16625
|
"""
|
16626
16626
|
return self._InstanceId
|
@@ -16711,11 +16711,10 @@ class ModifyInstancesAttributeRequest(AbstractModel):
|
|
16711
16711
|
:param _InstanceIds: 一个或多个待操作的实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/213/15728) API返回值中的`InstanceId`获取。每次请求允许操作的实例数量上限是100。
|
16712
16712
|
:type InstanceIds: list of str
|
16713
16713
|
:param _InstanceName: 修改后实例名称。可任意命名,但不得超过60个字符。
|
16714
|
-
<dx-alert infotype="explain" title="">必须指定InstanceName与SecurityGroups的其中一个,但不能同时设置</dx-alert>
|
16715
16714
|
:type InstanceName: str
|
16716
16715
|
:param _UserData: 提供给实例使用的用户数据,需要以 base64 方式编码,支持的最大数据大小为 16 KB。关于获取此参数的详细介绍,请参阅 [Windows](https://cloud.tencent.com/document/product/213/17526) 和 [Linux](https://cloud.tencent.com/document/product/213/17525) 启动时运行命令。
|
16717
16716
|
:type UserData: str
|
16718
|
-
:param _SecurityGroups: 指定实例的修改后的安全组Id
|
16717
|
+
:param _SecurityGroups: 指定实例的修改后的安全组Id列表,子机将重新关联指定列表的安全组,原本关联的安全组会被解绑。
|
16719
16718
|
:type SecurityGroups: list of str
|
16720
16719
|
:param _CamRoleName: 给实例绑定用户角色,传空值为解绑操作
|
16721
16720
|
:type CamRoleName: str
|
@@ -16757,7 +16756,6 @@ class ModifyInstancesAttributeRequest(AbstractModel):
|
|
16757
16756
|
@property
|
16758
16757
|
def InstanceName(self):
|
16759
16758
|
"""修改后实例名称。可任意命名,但不得超过60个字符。
|
16760
|
-
<dx-alert infotype="explain" title="">必须指定InstanceName与SecurityGroups的其中一个,但不能同时设置</dx-alert>
|
16761
16759
|
:rtype: str
|
16762
16760
|
"""
|
16763
16761
|
return self._InstanceName
|
@@ -16779,7 +16777,7 @@ class ModifyInstancesAttributeRequest(AbstractModel):
|
|
16779
16777
|
|
16780
16778
|
@property
|
16781
16779
|
def SecurityGroups(self):
|
16782
|
-
"""指定实例的修改后的安全组Id
|
16780
|
+
"""指定实例的修改后的安全组Id列表,子机将重新关联指定列表的安全组,原本关联的安全组会被解绑。
|
16783
16781
|
:rtype: list of str
|
16784
16782
|
"""
|
16785
16783
|
return self._SecurityGroups
|
@@ -16906,11 +16904,11 @@ class ModifyInstancesChargeTypeRequest(AbstractModel):
|
|
16906
16904
|
r"""
|
16907
16905
|
:param _InstanceIds: 一个或多个待操作的实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/213/15728)接口返回值中的`InstanceId`获取。每次请求批量实例的上限为30。
|
16908
16906
|
:type InstanceIds: list of str
|
16909
|
-
:param _InstanceChargeType: 修改后实例[计费类型](https://cloud.tencent.com/document/product/213/2180)。<
|
16907
|
+
:param _InstanceChargeType: 修改后实例[计费类型](https://cloud.tencent.com/document/product/213/2180)。<li> PREPAID:预付费,即包年包月。</li><li> POSTPAID_BY_HOUR:后付费,即按量付费。</li>
|
16910
16908
|
:type InstanceChargeType: str
|
16911
16909
|
:param _InstanceChargePrepaid: 修改后预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。<dx-alert infotype="explain" title="">若指定实例的付费模式为预付费则该参数必传。</dx-alert>
|
16912
16910
|
:type InstanceChargePrepaid: :class:`tencentcloud.cvm.v20170312.models.InstanceChargePrepaid`
|
16913
|
-
:param _ModifyPortableDataDisk: 是否同时切换弹性数据云盘计费模式。取值范围:<
|
16911
|
+
:param _ModifyPortableDataDisk: 是否同时切换弹性数据云盘计费模式。取值范围:<li> true:表示切换弹性数据云盘计费模式</li><li> false:表示不切换弹性数据云盘计费模式</li>默认取值:false。
|
16914
16912
|
:type ModifyPortableDataDisk: bool
|
16915
16913
|
"""
|
16916
16914
|
self._InstanceIds = None
|
@@ -16931,7 +16929,7 @@ class ModifyInstancesChargeTypeRequest(AbstractModel):
|
|
16931
16929
|
|
16932
16930
|
@property
|
16933
16931
|
def InstanceChargeType(self):
|
16934
|
-
"""修改后实例[计费类型](https://cloud.tencent.com/document/product/213/2180)。<
|
16932
|
+
"""修改后实例[计费类型](https://cloud.tencent.com/document/product/213/2180)。<li> PREPAID:预付费,即包年包月。</li><li> POSTPAID_BY_HOUR:后付费,即按量付费。</li>
|
16935
16933
|
:rtype: str
|
16936
16934
|
"""
|
16937
16935
|
return self._InstanceChargeType
|
@@ -16953,7 +16951,7 @@ class ModifyInstancesChargeTypeRequest(AbstractModel):
|
|
16953
16951
|
|
16954
16952
|
@property
|
16955
16953
|
def ModifyPortableDataDisk(self):
|
16956
|
-
"""是否同时切换弹性数据云盘计费模式。取值范围:<
|
16954
|
+
"""是否同时切换弹性数据云盘计费模式。取值范围:<li> true:表示切换弹性数据云盘计费模式</li><li> false:表示不切换弹性数据云盘计费模式</li>默认取值:false。
|
16957
16955
|
:rtype: bool
|
16958
16956
|
"""
|
16959
16957
|
return self._ModifyPortableDataDisk
|
@@ -17111,7 +17109,7 @@ class ModifyInstancesProjectRequest(AbstractModel):
|
|
17111
17109
|
r"""
|
17112
17110
|
:param _InstanceIds: 一个或多个待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) API返回值中的`InstanceId`获取。每次请求允许操作的实例数量上限是100。
|
17113
17111
|
:type InstanceIds: list of str
|
17114
|
-
:param _ProjectId: 项目ID。项目可以使用[AddProject](https://cloud.tencent.com/document/api/651/81952)接口创建。可通过[
|
17112
|
+
:param _ProjectId: 项目ID。项目可以使用[ AddProject ](https://cloud.tencent.com/document/api/651/81952)接口创建。可通过[ DescribeProject ](https://cloud.tencent.com/document/api/651/78725) 接口返回值中的`projectId`获取。后续使用[DescribeInstances](https://cloud.tencent.com/document/api/213/15728)接口查询实例时,项目ID可用于过滤结果。
|
17115
17113
|
:type ProjectId: int
|
17116
17114
|
"""
|
17117
17115
|
self._InstanceIds = None
|
@@ -17130,7 +17128,7 @@ class ModifyInstancesProjectRequest(AbstractModel):
|
|
17130
17128
|
|
17131
17129
|
@property
|
17132
17130
|
def ProjectId(self):
|
17133
|
-
"""项目ID。项目可以使用[AddProject](https://cloud.tencent.com/document/api/651/81952)接口创建。可通过[
|
17131
|
+
"""项目ID。项目可以使用[ AddProject ](https://cloud.tencent.com/document/api/651/81952)接口创建。可通过[ DescribeProject ](https://cloud.tencent.com/document/api/651/78725) 接口返回值中的`projectId`获取。后续使用[DescribeInstances](https://cloud.tencent.com/document/api/213/15728)接口查询实例时,项目ID可用于过滤结果。
|
17134
17132
|
:rtype: int
|
17135
17133
|
"""
|
17136
17134
|
return self._ProjectId
|
@@ -17472,9 +17470,9 @@ class ModifyLaunchTemplateDefaultVersionRequest(AbstractModel):
|
|
17472
17470
|
|
17473
17471
|
def __init__(self):
|
17474
17472
|
r"""
|
17475
|
-
:param _LaunchTemplateId: 启动模板ID
|
17473
|
+
:param _LaunchTemplateId: 启动模板ID。可通过 [DescribeLaunchTemplates](https://cloud.tencent.com/document/api/213/66322) 接口返回值中的`LaunchTemplateId `获取。
|
17476
17474
|
:type LaunchTemplateId: str
|
17477
|
-
:param _DefaultVersion:
|
17475
|
+
:param _DefaultVersion: 待设置的默认版本号。可通过 [DescribeLaunchTemplateVersions](https://cloud.tencent.com/document/api/213/66323) 接口返回值中的`LaunchTemplateVersion`获取。
|
17478
17476
|
:type DefaultVersion: int
|
17479
17477
|
"""
|
17480
17478
|
self._LaunchTemplateId = None
|
@@ -17482,7 +17480,7 @@ class ModifyLaunchTemplateDefaultVersionRequest(AbstractModel):
|
|
17482
17480
|
|
17483
17481
|
@property
|
17484
17482
|
def LaunchTemplateId(self):
|
17485
|
-
"""启动模板ID
|
17483
|
+
"""启动模板ID。可通过 [DescribeLaunchTemplates](https://cloud.tencent.com/document/api/213/66322) 接口返回值中的`LaunchTemplateId `获取。
|
17486
17484
|
:rtype: str
|
17487
17485
|
"""
|
17488
17486
|
return self._LaunchTemplateId
|
@@ -17493,7 +17491,7 @@ class ModifyLaunchTemplateDefaultVersionRequest(AbstractModel):
|
|
17493
17491
|
|
17494
17492
|
@property
|
17495
17493
|
def DefaultVersion(self):
|
17496
|
-
"""
|
17494
|
+
"""待设置的默认版本号。可通过 [DescribeLaunchTemplateVersions](https://cloud.tencent.com/document/api/213/66323) 接口返回值中的`LaunchTemplateVersion`获取。
|
17497
17495
|
:rtype: int
|
17498
17496
|
"""
|
17499
17497
|
return self._DefaultVersion
|
@@ -18011,7 +18009,7 @@ class ProgramFpgaImageRequest(AbstractModel):
|
|
18011
18009
|
|
18012
18010
|
def __init__(self):
|
18013
18011
|
r"""
|
18014
|
-
:param _InstanceId: 实例的ID
|
18012
|
+
:param _InstanceId: 实例的ID信息。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
18015
18013
|
:type InstanceId: str
|
18016
18014
|
:param _FPGAUrl: FPGA镜像文件的COS URL地址。
|
18017
18015
|
:type FPGAUrl: str
|
@@ -18027,7 +18025,7 @@ class ProgramFpgaImageRequest(AbstractModel):
|
|
18027
18025
|
|
18028
18026
|
@property
|
18029
18027
|
def InstanceId(self):
|
18030
|
-
"""实例的ID
|
18028
|
+
"""实例的ID信息。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
18031
18029
|
:rtype: str
|
18032
18030
|
"""
|
18033
18031
|
return self._InstanceId
|
@@ -20609,7 +20607,7 @@ class ResetInstancesTypeRequest(AbstractModel):
|
|
20609
20607
|
r"""
|
20610
20608
|
:param _InstanceIds: 一个或多个待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。本接口目前仅支持每次操作1个实例。
|
20611
20609
|
:type InstanceIds: list of str
|
20612
|
-
:param _InstanceType: 调整后的实例机型。不同实例机型指定了不同的资源规格,具体取值可通过调用接口[
|
20610
|
+
:param _InstanceType: 调整后的实例机型。不同实例机型指定了不同的资源规格,具体取值可通过调用接口[ DescribeInstanceTypeConfigs ](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例类型](https://cloud.tencent.com/document/product/213/11518)描述。
|
20613
20611
|
:type InstanceType: str
|
20614
20612
|
:param _ForceStop: 是否对运行中的实例选择强制关机。建议对运行中的实例先手动关机。取值范围:<br><li>true:表示在正常关机失败后进行强制关机</li><br><li>false:表示在正常关机失败后不进行强制关机</li><br><br>默认取值:false。<br><br>强制关机的效果等同于关闭物理计算机的电源开关。强制关机可能会导致数据丢失或文件系统损坏,请仅在服务器不能正常关机时使用。
|
20615
20613
|
:type ForceStop: bool
|
@@ -20631,7 +20629,7 @@ class ResetInstancesTypeRequest(AbstractModel):
|
|
20631
20629
|
|
20632
20630
|
@property
|
20633
20631
|
def InstanceType(self):
|
20634
|
-
"""调整后的实例机型。不同实例机型指定了不同的资源规格,具体取值可通过调用接口[
|
20632
|
+
"""调整后的实例机型。不同实例机型指定了不同的资源规格,具体取值可通过调用接口[ DescribeInstanceTypeConfigs ](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例类型](https://cloud.tencent.com/document/product/213/11518)描述。
|
20635
20633
|
:rtype: str
|
20636
20634
|
"""
|
20637
20635
|
return self._InstanceType
|
@@ -21921,9 +21919,9 @@ class StorageBlock(AbstractModel):
|
|
21921
21919
|
r"""
|
21922
21920
|
:param _Type: HDD本地存储类型,值为:LOCAL_PRO.
|
21923
21921
|
:type Type: str
|
21924
|
-
:param _MinSize: HDD
|
21922
|
+
:param _MinSize: HDD本地存储的最小容量。单位:GiB。
|
21925
21923
|
:type MinSize: int
|
21926
|
-
:param _MaxSize: HDD
|
21924
|
+
:param _MaxSize: HDD本地存储的最大容量。单位:GiB。
|
21927
21925
|
:type MaxSize: int
|
21928
21926
|
"""
|
21929
21927
|
self._Type = None
|
@@ -21943,7 +21941,7 @@ class StorageBlock(AbstractModel):
|
|
21943
21941
|
|
21944
21942
|
@property
|
21945
21943
|
def MinSize(self):
|
21946
|
-
"""HDD
|
21944
|
+
"""HDD本地存储的最小容量。单位:GiB。
|
21947
21945
|
:rtype: int
|
21948
21946
|
"""
|
21949
21947
|
return self._MinSize
|
@@ -21954,7 +21952,7 @@ class StorageBlock(AbstractModel):
|
|
21954
21952
|
|
21955
21953
|
@property
|
21956
21954
|
def MaxSize(self):
|
21957
|
-
"""HDD
|
21955
|
+
"""HDD本地存储的最大容量。单位:GiB。
|
21958
21956
|
:rtype: int
|
21959
21957
|
"""
|
21960
21958
|
return self._MaxSize
|
@@ -22036,25 +22034,27 @@ class SyncImagesRequest(AbstractModel):
|
|
22036
22034
|
|
22037
22035
|
def __init__(self):
|
22038
22036
|
r"""
|
22039
|
-
:param _ImageIds: 镜像ID列表 ,镜像ID可以通过如下方式获取:<br><li>通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId
|
22037
|
+
:param _ImageIds: 镜像ID列表 ,镜像ID可以通过如下方式获取:<br><li>通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取,镜像ID对应的镜像状态必须为`NORMAL`。</li><li>通过[镜像控制台](https://console.cloud.tencent.com/cvm/image)获取。</li>
|
22040
22038
|
:type ImageIds: list of str
|
22041
|
-
:param _DestinationRegions: 目的同步地域列表,必须满足如下限制:<br><li>必须是一个合法的Region。</li><li>如果是自定义镜像,则目标同步地域不能为源地域。</li><li>如果是共享镜像,则目的同步地域仅支持源地域,表示将共享镜像复制为源地域的自定义镜像。</li><li>暂不支持部分地域同步,请参考[复制镜像](https://cloud.tencent.com/document/product/213/4943#.E5.A4.8D.E5.88.B6.E8.AF.B4.E6.98.8E)。</li>具体地域参数请参考[Region](https://cloud.tencent.com/document/product/213/6091)。
|
22039
|
+
:param _DestinationRegions: 目的同步地域列表,必须满足如下限制:<br><li>必须是一个合法的Region。</li><li>如果是自定义镜像,则目标同步地域不能为源地域。</li><li>如果是共享镜像,则目的同步地域仅支持源地域,表示将共享镜像复制为源地域的自定义镜像。</li><li>如果是自定义镜像复制为加密自定义镜像,则目的同步地域仅支持源地域,表示将自定义镜像复制为源地域的加密自定义镜像。</li><li>暂不支持部分地域同步,请参考[复制镜像](https://cloud.tencent.com/document/product/213/4943#.E5.A4.8D.E5.88.B6.E8.AF.B4.E6.98.8E)。</li>具体地域参数请参考[Region](https://cloud.tencent.com/document/product/213/6091)。
|
22042
22040
|
:type DestinationRegions: list of str
|
22043
22041
|
:param _DryRun: 检测是否支持发起同步镜像。
|
22044
22042
|
默认值: false
|
22045
22043
|
:type DryRun: bool
|
22046
22044
|
:param _ImageName: 目标镜像名称。默认使用源镜像名称。
|
22045
|
+
最多支持 60 个字符。
|
22047
22046
|
:type ImageName: str
|
22048
22047
|
:param _ImageSetRequired: 是否需要返回目的地域的镜像ID。
|
22049
22048
|
默认值: false
|
22050
22049
|
:type ImageSetRequired: bool
|
22051
22050
|
:param _Encrypt: 是否复制为加密自定义镜像。
|
22052
22051
|
默认值为 false。
|
22053
|
-
|
22052
|
+
复制加密自定义镜像仅支持同地域, 即 DestinationRegions 仅支持填写指定镜像所在地域。
|
22054
22053
|
:type Encrypt: bool
|
22055
22054
|
:param _KmsKeyId: 加密自定义镜像使用的 KMS 密钥 ID。
|
22056
22055
|
仅当复制加密镜像时,即 Encrypt 为 true 时,此参数有效;
|
22057
22056
|
不指定 KmsKeyId,默认使用 CBS 云产品 KMS 密钥。
|
22057
|
+
KMS 密钥 ID 通过[KMS 控制台](https://console.cloud.tencent.com/kms2)获取。
|
22058
22058
|
:type KmsKeyId: str
|
22059
22059
|
"""
|
22060
22060
|
self._ImageIds = None
|
@@ -22067,7 +22067,7 @@ class SyncImagesRequest(AbstractModel):
|
|
22067
22067
|
|
22068
22068
|
@property
|
22069
22069
|
def ImageIds(self):
|
22070
|
-
"""镜像ID列表 ,镜像ID可以通过如下方式获取:<br><li>通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId
|
22070
|
+
"""镜像ID列表 ,镜像ID可以通过如下方式获取:<br><li>通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取,镜像ID对应的镜像状态必须为`NORMAL`。</li><li>通过[镜像控制台](https://console.cloud.tencent.com/cvm/image)获取。</li>
|
22071
22071
|
:rtype: list of str
|
22072
22072
|
"""
|
22073
22073
|
return self._ImageIds
|
@@ -22078,7 +22078,7 @@ class SyncImagesRequest(AbstractModel):
|
|
22078
22078
|
|
22079
22079
|
@property
|
22080
22080
|
def DestinationRegions(self):
|
22081
|
-
"""目的同步地域列表,必须满足如下限制:<br><li>必须是一个合法的Region。</li><li>如果是自定义镜像,则目标同步地域不能为源地域。</li><li>如果是共享镜像,则目的同步地域仅支持源地域,表示将共享镜像复制为源地域的自定义镜像。</li><li>暂不支持部分地域同步,请参考[复制镜像](https://cloud.tencent.com/document/product/213/4943#.E5.A4.8D.E5.88.B6.E8.AF.B4.E6.98.8E)。</li>具体地域参数请参考[Region](https://cloud.tencent.com/document/product/213/6091)。
|
22081
|
+
"""目的同步地域列表,必须满足如下限制:<br><li>必须是一个合法的Region。</li><li>如果是自定义镜像,则目标同步地域不能为源地域。</li><li>如果是共享镜像,则目的同步地域仅支持源地域,表示将共享镜像复制为源地域的自定义镜像。</li><li>如果是自定义镜像复制为加密自定义镜像,则目的同步地域仅支持源地域,表示将自定义镜像复制为源地域的加密自定义镜像。</li><li>暂不支持部分地域同步,请参考[复制镜像](https://cloud.tencent.com/document/product/213/4943#.E5.A4.8D.E5.88.B6.E8.AF.B4.E6.98.8E)。</li>具体地域参数请参考[Region](https://cloud.tencent.com/document/product/213/6091)。
|
22082
22082
|
:rtype: list of str
|
22083
22083
|
"""
|
22084
22084
|
return self._DestinationRegions
|
@@ -22102,6 +22102,7 @@ class SyncImagesRequest(AbstractModel):
|
|
22102
22102
|
@property
|
22103
22103
|
def ImageName(self):
|
22104
22104
|
"""目标镜像名称。默认使用源镜像名称。
|
22105
|
+
最多支持 60 个字符。
|
22105
22106
|
:rtype: str
|
22106
22107
|
"""
|
22107
22108
|
return self._ImageName
|
@@ -22126,7 +22127,7 @@ class SyncImagesRequest(AbstractModel):
|
|
22126
22127
|
def Encrypt(self):
|
22127
22128
|
"""是否复制为加密自定义镜像。
|
22128
22129
|
默认值为 false。
|
22129
|
-
|
22130
|
+
复制加密自定义镜像仅支持同地域, 即 DestinationRegions 仅支持填写指定镜像所在地域。
|
22130
22131
|
:rtype: bool
|
22131
22132
|
"""
|
22132
22133
|
return self._Encrypt
|
@@ -22140,6 +22141,7 @@ class SyncImagesRequest(AbstractModel):
|
|
22140
22141
|
"""加密自定义镜像使用的 KMS 密钥 ID。
|
22141
22142
|
仅当复制加密镜像时,即 Encrypt 为 true 时,此参数有效;
|
22142
22143
|
不指定 KmsKeyId,默认使用 CBS 云产品 KMS 密钥。
|
22144
|
+
KMS 密钥 ID 通过[KMS 控制台](https://console.cloud.tencent.com/kms2)获取。
|
22143
22145
|
:rtype: str
|
22144
22146
|
"""
|
22145
22147
|
return self._KmsKeyId
|