tencentcloud-sdk-python 3.0.1359__py2.py3-none-any.whl → 3.0.1361__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 +115 -0
- tencentcloud/bh/v20230418/models.py +1064 -131
- tencentcloud/cbs/v20170312/models.py +2 -2
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +6 -6
- tencentcloud/cdwdoris/v20211228/models.py +30 -0
- tencentcloud/cdwpg/v20201230/models.py +22 -206
- tencentcloud/ckafka/v20190819/ckafka_client.py +46 -0
- tencentcloud/ckafka/v20190819/models.py +367 -0
- tencentcloud/cvm/v20170312/cvm_client.py +10 -7
- tencentcloud/cvm/v20170312/errorcodes.py +3 -0
- tencentcloud/cvm/v20170312/models.py +186 -174
- tencentcloud/cynosdb/v20190107/models.py +105 -0
- tencentcloud/dlc/v20210125/models.py +107 -564
- tencentcloud/dsgc/v20190723/models.py +30 -0
- tencentcloud/emr/v20190103/emr_client.py +23 -0
- tencentcloud/emr/v20190103/models.py +214 -0
- tencentcloud/ess/v20201111/models.py +256 -0
- tencentcloud/essbasic/v20210526/models.py +281 -13
- tencentcloud/gaap/v20180529/models.py +0 -166
- 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/ioa/v20220601/ioa_client.py +46 -0
- tencentcloud/ioa/v20220601/models.py +358 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +46 -0
- tencentcloud/iotexplorer/v20190423/models.py +600 -0
- tencentcloud/kms/v20190118/models.py +71 -0
- tencentcloud/lcic/v20220817/models.py +34 -0
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +4 -1
- tencentcloud/lighthouse/v20200324/models.py +14 -10
- tencentcloud/monitor/v20180724/models.py +2 -2
- tencentcloud/monitor/v20180724/monitor_client.py +1 -1
- tencentcloud/mps/v20190612/models.py +12 -10
- tencentcloud/privatedns/v20201028/models.py +36 -6
- tencentcloud/tan/v20220420/tan_client.py +3 -1
- tencentcloud/tcb/v20180608/models.py +60 -0
- tencentcloud/tione/v20211111/errorcodes.py +3 -0
- tencentcloud/tione/v20211111/models.py +53 -0
- tencentcloud/trocket/v20230308/models.py +1398 -66
- tencentcloud/trocket/v20230308/trocket_client.py +214 -0
- 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.1359.dist-info → tencentcloud_sdk_python-3.0.1361.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1359.dist-info → tencentcloud_sdk_python-3.0.1361.dist-info}/RECORD +55 -55
- {tencentcloud_sdk_python-3.0.1359.dist-info → tencentcloud_sdk_python-3.0.1361.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1359.dist-info → tencentcloud_sdk_python-3.0.1361.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1359.dist-info → tencentcloud_sdk_python-3.0.1361.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
|
@@ -1786,13 +1776,18 @@ class ConvertOperatingSystemsRequest(AbstractModel):
|
|
1786
1776
|
|
1787
1777
|
def __init__(self):
|
1788
1778
|
r"""
|
1789
|
-
:param _InstanceIds: 执行操作系统转换的实例 ID
|
1779
|
+
:param _InstanceIds: 执行操作系统转换的实例 ID。
|
1780
|
+
可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
1781
|
+
仅支持操作系统为 CentOS 7、CentOS 8 的实例执行转换。
|
1790
1782
|
:type InstanceIds: list of str
|
1791
|
-
:param _MinimalConversion:
|
1783
|
+
:param _MinimalConversion: 是否最小规模转换。
|
1784
|
+
默认值:false
|
1792
1785
|
:type MinimalConversion: bool
|
1793
|
-
:param _DryRun:
|
1786
|
+
:param _DryRun: 是否只预检。
|
1787
|
+
默认值:false
|
1794
1788
|
:type DryRun: bool
|
1795
1789
|
:param _TargetOSType: 转换的目标操作系统类型。仅支持 TencentOS。
|
1790
|
+
默认值:TencentOS
|
1796
1791
|
:type TargetOSType: str
|
1797
1792
|
"""
|
1798
1793
|
self._InstanceIds = None
|
@@ -1802,7 +1797,9 @@ class ConvertOperatingSystemsRequest(AbstractModel):
|
|
1802
1797
|
|
1803
1798
|
@property
|
1804
1799
|
def InstanceIds(self):
|
1805
|
-
"""执行操作系统转换的实例 ID
|
1800
|
+
"""执行操作系统转换的实例 ID。
|
1801
|
+
可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
1802
|
+
仅支持操作系统为 CentOS 7、CentOS 8 的实例执行转换。
|
1806
1803
|
:rtype: list of str
|
1807
1804
|
"""
|
1808
1805
|
return self._InstanceIds
|
@@ -1813,7 +1810,8 @@ class ConvertOperatingSystemsRequest(AbstractModel):
|
|
1813
1810
|
|
1814
1811
|
@property
|
1815
1812
|
def MinimalConversion(self):
|
1816
|
-
"""
|
1813
|
+
"""是否最小规模转换。
|
1814
|
+
默认值:false
|
1817
1815
|
:rtype: bool
|
1818
1816
|
"""
|
1819
1817
|
return self._MinimalConversion
|
@@ -1824,7 +1822,8 @@ class ConvertOperatingSystemsRequest(AbstractModel):
|
|
1824
1822
|
|
1825
1823
|
@property
|
1826
1824
|
def DryRun(self):
|
1827
|
-
"""
|
1825
|
+
"""是否只预检。
|
1826
|
+
默认值:false
|
1828
1827
|
:rtype: bool
|
1829
1828
|
"""
|
1830
1829
|
return self._DryRun
|
@@ -1836,6 +1835,7 @@ class ConvertOperatingSystemsRequest(AbstractModel):
|
|
1836
1835
|
@property
|
1837
1836
|
def TargetOSType(self):
|
1838
1837
|
"""转换的目标操作系统类型。仅支持 TencentOS。
|
1838
|
+
默认值:TencentOS
|
1839
1839
|
:rtype: str
|
1840
1840
|
"""
|
1841
1841
|
return self._TargetOSType
|
@@ -2366,11 +2366,15 @@ class CreateImageRequest(AbstractModel):
|
|
2366
2366
|
|
2367
2367
|
def __init__(self):
|
2368
2368
|
r"""
|
2369
|
-
:param _ImageName:
|
2369
|
+
:param _ImageName: 镜像名称。
|
2370
|
+
最多支持60个字符。
|
2370
2371
|
:type ImageName: str
|
2371
2372
|
:param _InstanceId: 需要制作镜像的实例ID。基于实例创建镜像时,为必填参数。
|
2373
|
+
InstanceId 和 SnapshotIds 为二选一必填参数。
|
2374
|
+
可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
2372
2375
|
:type InstanceId: str
|
2373
|
-
:param _ImageDescription:
|
2376
|
+
:param _ImageDescription: 镜像描述。
|
2377
|
+
最多支持 256 个字符。
|
2374
2378
|
:type ImageDescription: str
|
2375
2379
|
:param _ForcePoweroff: 是否执行强制关机以制作镜像。
|
2376
2380
|
取值范围:<br><li>true:表示关机之后制作镜像</li><br><li>false:表示开机状态制作镜像</li><br><br>默认取值:false。<br><br>开机状态制作镜像,可能导致部分数据未备份,影响数据安全。
|
@@ -2380,13 +2384,18 @@ class CreateImageRequest(AbstractModel):
|
|
2380
2384
|
|
2381
2385
|
关于Sysprep的详情请参考[链接](https://cloud.tencent.com/document/product/213/43498)。
|
2382
2386
|
:type Sysprep: str
|
2383
|
-
:param _DataDiskIds: 基于实例创建整机镜像时,指定包含在镜像里的数据盘ID
|
2387
|
+
:param _DataDiskIds: 基于实例创建整机镜像时,指定包含在镜像里的数据盘ID。
|
2388
|
+
DataDiskIds 只能在指定 InstanceId 实例所包含的数据盘范围内指定。
|
2389
|
+
可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的 `DataDisks` 获取。
|
2384
2390
|
:type DataDiskIds: list of str
|
2385
|
-
:param _SnapshotIds: 基于快照创建镜像,指定快照ID,必须包含一个系统盘快照。不可与InstanceId同时传入。
|
2391
|
+
:param _SnapshotIds: 基于快照创建镜像,指定快照ID,必须包含一个系统盘快照。不可与 InstanceId 同时传入。
|
2392
|
+
InstanceId 和 SnapshotIds 为二选一必填参数。
|
2393
|
+
可通过 [DescribeSnapshots](https://cloud.tencent.com/document/product/362/15647) 接口返回值中的`SnapshotId`获取。
|
2386
2394
|
:type SnapshotIds: list of str
|
2387
2395
|
:param _DryRun: 检测本次请求的是否成功,但不会对操作的资源产生任何影响。默认取值为false。
|
2388
2396
|
:type DryRun: bool
|
2389
2397
|
:param _TagSpecification: 标签描述列表。通过指定该参数可以同时绑定标签到自定义镜像。
|
2398
|
+
可通过 [DescribeTags](https://cloud.tencent.com/document/api/651/35316) 接口返回值中的 `TagKey` 和 `TagValue` 获取。
|
2390
2399
|
:type TagSpecification: list of TagSpecification
|
2391
2400
|
:param _ImageFamily: 镜像族
|
2392
2401
|
:type ImageFamily: str
|
@@ -2404,7 +2413,8 @@ class CreateImageRequest(AbstractModel):
|
|
2404
2413
|
|
2405
2414
|
@property
|
2406
2415
|
def ImageName(self):
|
2407
|
-
"""
|
2416
|
+
"""镜像名称。
|
2417
|
+
最多支持60个字符。
|
2408
2418
|
:rtype: str
|
2409
2419
|
"""
|
2410
2420
|
return self._ImageName
|
@@ -2416,6 +2426,8 @@ class CreateImageRequest(AbstractModel):
|
|
2416
2426
|
@property
|
2417
2427
|
def InstanceId(self):
|
2418
2428
|
"""需要制作镜像的实例ID。基于实例创建镜像时,为必填参数。
|
2429
|
+
InstanceId 和 SnapshotIds 为二选一必填参数。
|
2430
|
+
可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
2419
2431
|
:rtype: str
|
2420
2432
|
"""
|
2421
2433
|
return self._InstanceId
|
@@ -2426,7 +2438,8 @@ class CreateImageRequest(AbstractModel):
|
|
2426
2438
|
|
2427
2439
|
@property
|
2428
2440
|
def ImageDescription(self):
|
2429
|
-
"""
|
2441
|
+
"""镜像描述。
|
2442
|
+
最多支持 256 个字符。
|
2430
2443
|
:rtype: str
|
2431
2444
|
"""
|
2432
2445
|
return self._ImageDescription
|
@@ -2463,7 +2476,9 @@ class CreateImageRequest(AbstractModel):
|
|
2463
2476
|
|
2464
2477
|
@property
|
2465
2478
|
def DataDiskIds(self):
|
2466
|
-
"""基于实例创建整机镜像时,指定包含在镜像里的数据盘ID
|
2479
|
+
"""基于实例创建整机镜像时,指定包含在镜像里的数据盘ID。
|
2480
|
+
DataDiskIds 只能在指定 InstanceId 实例所包含的数据盘范围内指定。
|
2481
|
+
可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的 `DataDisks` 获取。
|
2467
2482
|
:rtype: list of str
|
2468
2483
|
"""
|
2469
2484
|
return self._DataDiskIds
|
@@ -2474,7 +2489,9 @@ class CreateImageRequest(AbstractModel):
|
|
2474
2489
|
|
2475
2490
|
@property
|
2476
2491
|
def SnapshotIds(self):
|
2477
|
-
"""基于快照创建镜像,指定快照ID,必须包含一个系统盘快照。不可与InstanceId同时传入。
|
2492
|
+
"""基于快照创建镜像,指定快照ID,必须包含一个系统盘快照。不可与 InstanceId 同时传入。
|
2493
|
+
InstanceId 和 SnapshotIds 为二选一必填参数。
|
2494
|
+
可通过 [DescribeSnapshots](https://cloud.tencent.com/document/product/362/15647) 接口返回值中的`SnapshotId`获取。
|
2478
2495
|
:rtype: list of str
|
2479
2496
|
"""
|
2480
2497
|
return self._SnapshotIds
|
@@ -2497,6 +2514,7 @@ class CreateImageRequest(AbstractModel):
|
|
2497
2514
|
@property
|
2498
2515
|
def TagSpecification(self):
|
2499
2516
|
"""标签描述列表。通过指定该参数可以同时绑定标签到自定义镜像。
|
2517
|
+
可通过 [DescribeTags](https://cloud.tencent.com/document/api/651/35316) 接口返回值中的 `TagKey` 和 `TagValue` 获取。
|
2500
2518
|
:rtype: list of TagSpecification
|
2501
2519
|
"""
|
2502
2520
|
return self._TagSpecification
|
@@ -3771,23 +3789,11 @@ class DataDisk(AbstractModel):
|
|
3771
3789
|
:param _DiskId: 数据盘ID。
|
3772
3790
|
该参数目前仅用于`DescribeInstances`等查询类接口的返回参数,不可用于`RunInstances`等写接口的入参。
|
3773
3791
|
:type DiskId: str
|
3774
|
-
:param _DeleteWithInstance:
|
3775
|
-
<li>true:子机销毁时,销毁数据盘,只支持按小时后付费云盘</li>
|
3776
|
-
<li>
|
3777
|
-
false:子机销毁时,保留数据盘<br />
|
3778
|
-
默认取值:true<br />
|
3779
|
-
该参数目前仅用于 `RunInstances` 接口。
|
3780
|
-
</li>
|
3792
|
+
:param _DeleteWithInstance: 数据盘是否随子机销毁。取值范围:<li>true:子机销毁时,销毁数据盘,只支持按小时后付费云盘</li><li>false:子机销毁时,保留数据盘</li><br/>默认取值:true <br/>该参数目前仅用于 `RunInstances` 接口。
|
3781
3793
|
:type DeleteWithInstance: bool
|
3782
3794
|
:param _SnapshotId: 数据盘快照ID。选择的数据盘快照大小需小于数据盘大小。
|
3783
3795
|
:type SnapshotId: str
|
3784
|
-
:param _Encrypt:
|
3785
|
-
<li>true:加密</li>
|
3786
|
-
<li>
|
3787
|
-
false:不加密<br />
|
3788
|
-
默认取值:false<br />
|
3789
|
-
该参数目前仅用于 `RunInstances` 接口。
|
3790
|
-
</li>
|
3796
|
+
:param _Encrypt: 数据盘是否加密。取值范围:<li>true:加密</li><li>false:不加密</li><br/>默认取值:false<br/>该参数目前仅用于 `RunInstances` 接口。
|
3791
3797
|
:type Encrypt: bool
|
3792
3798
|
:param _KmsKeyId: 自定义CMK对应的ID,取值为UUID或者类似kms-abcd1234。用于加密云盘。
|
3793
3799
|
|
@@ -3854,13 +3860,7 @@ class DataDisk(AbstractModel):
|
|
3854
3860
|
|
3855
3861
|
@property
|
3856
3862
|
def DeleteWithInstance(self):
|
3857
|
-
"""
|
3858
|
-
<li>true:子机销毁时,销毁数据盘,只支持按小时后付费云盘</li>
|
3859
|
-
<li>
|
3860
|
-
false:子机销毁时,保留数据盘<br />
|
3861
|
-
默认取值:true<br />
|
3862
|
-
该参数目前仅用于 `RunInstances` 接口。
|
3863
|
-
</li>
|
3863
|
+
"""数据盘是否随子机销毁。取值范围:<li>true:子机销毁时,销毁数据盘,只支持按小时后付费云盘</li><li>false:子机销毁时,保留数据盘</li><br/>默认取值:true <br/>该参数目前仅用于 `RunInstances` 接口。
|
3864
3864
|
:rtype: bool
|
3865
3865
|
"""
|
3866
3866
|
return self._DeleteWithInstance
|
@@ -3882,13 +3882,7 @@ class DataDisk(AbstractModel):
|
|
3882
3882
|
|
3883
3883
|
@property
|
3884
3884
|
def Encrypt(self):
|
3885
|
-
"""
|
3886
|
-
<li>true:加密</li>
|
3887
|
-
<li>
|
3888
|
-
false:不加密<br />
|
3889
|
-
默认取值:false<br />
|
3890
|
-
该参数目前仅用于 `RunInstances` 接口。
|
3891
|
-
</li>
|
3885
|
+
"""数据盘是否加密。取值范围:<li>true:加密</li><li>false:不加密</li><br/>默认取值:false<br/>该参数目前仅用于 `RunInstances` 接口。
|
3892
3886
|
:rtype: bool
|
3893
3887
|
"""
|
3894
3888
|
return self._Encrypt
|
@@ -4116,11 +4110,14 @@ class DeleteImagesRequest(AbstractModel):
|
|
4116
4110
|
|
4117
4111
|
def __init__(self):
|
4118
4112
|
r"""
|
4119
|
-
:param _ImageIds:
|
4113
|
+
:param _ImageIds: 删除的镜像 ID 列表。
|
4114
|
+
可通过 [DescribeImages](https://cloud.tencent.com/document/api/213/15715) 接口返回值中的`ImageId`获取。
|
4120
4115
|
:type ImageIds: list of str
|
4121
|
-
:param _DeleteBindedSnap:
|
4116
|
+
:param _DeleteBindedSnap: 是否删除镜像关联的快照。
|
4117
|
+
默认值:false
|
4122
4118
|
:type DeleteBindedSnap: bool
|
4123
|
-
:param _DryRun:
|
4119
|
+
:param _DryRun: 检测是否支持删除镜像。
|
4120
|
+
默认值:false
|
4124
4121
|
:type DryRun: bool
|
4125
4122
|
"""
|
4126
4123
|
self._ImageIds = None
|
@@ -4129,7 +4126,8 @@ class DeleteImagesRequest(AbstractModel):
|
|
4129
4126
|
|
4130
4127
|
@property
|
4131
4128
|
def ImageIds(self):
|
4132
|
-
"""
|
4129
|
+
"""删除的镜像 ID 列表。
|
4130
|
+
可通过 [DescribeImages](https://cloud.tencent.com/document/api/213/15715) 接口返回值中的`ImageId`获取。
|
4133
4131
|
:rtype: list of str
|
4134
4132
|
"""
|
4135
4133
|
return self._ImageIds
|
@@ -4140,7 +4138,8 @@ class DeleteImagesRequest(AbstractModel):
|
|
4140
4138
|
|
4141
4139
|
@property
|
4142
4140
|
def DeleteBindedSnap(self):
|
4143
|
-
"""
|
4141
|
+
"""是否删除镜像关联的快照。
|
4142
|
+
默认值:false
|
4144
4143
|
:rtype: bool
|
4145
4144
|
"""
|
4146
4145
|
return self._DeleteBindedSnap
|
@@ -4151,7 +4150,8 @@ class DeleteImagesRequest(AbstractModel):
|
|
4151
4150
|
|
4152
4151
|
@property
|
4153
4152
|
def DryRun(self):
|
4154
|
-
"""
|
4153
|
+
"""检测是否支持删除镜像。
|
4154
|
+
默认值:false
|
4155
4155
|
:rtype: bool
|
4156
4156
|
"""
|
4157
4157
|
return self._DryRun
|
@@ -4210,14 +4210,14 @@ class DeleteInstancesActionTimerRequest(AbstractModel):
|
|
4210
4210
|
|
4211
4211
|
def __init__(self):
|
4212
4212
|
r"""
|
4213
|
-
:param _ActionTimerIds: 定时任务ID列表,可以通过DescribeInstancesActionTimer接口查询。只能删除未执行的定时任务。
|
4213
|
+
:param _ActionTimerIds: 定时任务ID列表,可以通过[ DescribeInstancesActionTimer ](https://cloud.tencent.com/document/product/213/103950)接口查询。只能删除未执行的定时任务。
|
4214
4214
|
:type ActionTimerIds: list of str
|
4215
4215
|
"""
|
4216
4216
|
self._ActionTimerIds = None
|
4217
4217
|
|
4218
4218
|
@property
|
4219
4219
|
def ActionTimerIds(self):
|
4220
|
-
"""定时任务ID列表,可以通过DescribeInstancesActionTimer接口查询。只能删除未执行的定时任务。
|
4220
|
+
"""定时任务ID列表,可以通过[ DescribeInstancesActionTimer ](https://cloud.tencent.com/document/product/213/103950)接口查询。只能删除未执行的定时任务。
|
4221
4221
|
:rtype: list of str
|
4222
4222
|
"""
|
4223
4223
|
return self._ActionTimerIds
|
@@ -4338,14 +4338,14 @@ class DeleteLaunchTemplateRequest(AbstractModel):
|
|
4338
4338
|
|
4339
4339
|
def __init__(self):
|
4340
4340
|
r"""
|
4341
|
-
:param _LaunchTemplateId: 启动模板ID
|
4341
|
+
:param _LaunchTemplateId: 启动模板ID。可通过 [DescribeLaunchTemplates](https://cloud.tencent.com/document/api/213/66322) 接口返回值中的`LaunchTemplateId`获取。
|
4342
4342
|
:type LaunchTemplateId: str
|
4343
4343
|
"""
|
4344
4344
|
self._LaunchTemplateId = None
|
4345
4345
|
|
4346
4346
|
@property
|
4347
4347
|
def LaunchTemplateId(self):
|
4348
|
-
"""启动模板ID
|
4348
|
+
"""启动模板ID。可通过 [DescribeLaunchTemplates](https://cloud.tencent.com/document/api/213/66322) 接口返回值中的`LaunchTemplateId`获取。
|
4349
4349
|
:rtype: str
|
4350
4350
|
"""
|
4351
4351
|
return self._LaunchTemplateId
|
@@ -4402,9 +4402,9 @@ class DeleteLaunchTemplateVersionsRequest(AbstractModel):
|
|
4402
4402
|
|
4403
4403
|
def __init__(self):
|
4404
4404
|
r"""
|
4405
|
-
:param _LaunchTemplateId: 启动模板ID
|
4405
|
+
:param _LaunchTemplateId: 启动模板ID。可通过 [DescribeLaunchTemplates](https://cloud.tencent.com/document/api/213/66322) 接口返回值中的`LaunchTemplateId`获取。
|
4406
4406
|
:type LaunchTemplateId: str
|
4407
|
-
:param _LaunchTemplateVersions:
|
4407
|
+
:param _LaunchTemplateVersions: 实例启动模板版本列表。可通过 [DescribeLaunchTemplateVersions](https://cloud.tencent.com/document/api/213/66323) 接口返回值中的`LaunchTemplateVersion`获取。
|
4408
4408
|
:type LaunchTemplateVersions: list of int
|
4409
4409
|
"""
|
4410
4410
|
self._LaunchTemplateId = None
|
@@ -4412,7 +4412,7 @@ class DeleteLaunchTemplateVersionsRequest(AbstractModel):
|
|
4412
4412
|
|
4413
4413
|
@property
|
4414
4414
|
def LaunchTemplateId(self):
|
4415
|
-
"""启动模板ID
|
4415
|
+
"""启动模板ID。可通过 [DescribeLaunchTemplates](https://cloud.tencent.com/document/api/213/66322) 接口返回值中的`LaunchTemplateId`获取。
|
4416
4416
|
:rtype: str
|
4417
4417
|
"""
|
4418
4418
|
return self._LaunchTemplateId
|
@@ -4423,7 +4423,7 @@ class DeleteLaunchTemplateVersionsRequest(AbstractModel):
|
|
4423
4423
|
|
4424
4424
|
@property
|
4425
4425
|
def LaunchTemplateVersions(self):
|
4426
|
-
"""
|
4426
|
+
"""实例启动模板版本列表。可通过 [DescribeLaunchTemplateVersions](https://cloud.tencent.com/document/api/213/66323) 接口返回值中的`LaunchTemplateVersion`获取。
|
4427
4427
|
:rtype: list of int
|
4428
4428
|
"""
|
4429
4429
|
return self._LaunchTemplateVersions
|
@@ -4484,7 +4484,7 @@ class DescribeAccountQuotaRequest(AbstractModel):
|
|
4484
4484
|
:param _Filters: <li><strong>zone</strong></li>
|
4485
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>
|
4486
4486
|
<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;"
|
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>
|
4488
4488
|
:type Filters: list of Filter
|
4489
4489
|
"""
|
4490
4490
|
self._Filters = None
|
@@ -4494,7 +4494,7 @@ class DescribeAccountQuotaRequest(AbstractModel):
|
|
4494
4494
|
"""<li><strong>zone</strong></li>
|
4495
4495
|
<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
4496
|
<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;"
|
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;">可选项:</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
4498
|
:rtype: list of Filter
|
4499
4499
|
"""
|
4500
4500
|
return self._Filters
|
@@ -6251,14 +6251,14 @@ class DescribeInstanceVncUrlRequest(AbstractModel):
|
|
6251
6251
|
|
6252
6252
|
def __init__(self):
|
6253
6253
|
r"""
|
6254
|
-
:param _InstanceId: 一个操作的实例ID。可通过[
|
6254
|
+
:param _InstanceId: 一个操作的实例ID。可通过[ DescribeInstances ](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
6255
6255
|
:type InstanceId: str
|
6256
6256
|
"""
|
6257
6257
|
self._InstanceId = None
|
6258
6258
|
|
6259
6259
|
@property
|
6260
6260
|
def InstanceId(self):
|
6261
|
-
"""一个操作的实例ID。可通过[
|
6261
|
+
"""一个操作的实例ID。可通过[ DescribeInstances ](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
6262
6262
|
:rtype: str
|
6263
6263
|
"""
|
6264
6264
|
return self._InstanceId
|
@@ -6332,15 +6332,15 @@ class DescribeInstancesActionTimerRequest(AbstractModel):
|
|
6332
6332
|
r"""
|
6333
6333
|
:param _ActionTimerIds: 定时任务ID列表。
|
6334
6334
|
:type ActionTimerIds: list of str
|
6335
|
-
:param _InstanceIds: 按照一个或者多个实例ID
|
6335
|
+
:param _InstanceIds: 按照一个或者多个实例ID查询。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
6336
6336
|
:type InstanceIds: list of str
|
6337
6337
|
:param _TimerAction: 定时器动作,目前仅支持销毁一个值:TerminateInstances。
|
6338
6338
|
:type TimerAction: str
|
6339
|
-
:param _EndActionTime:
|
6339
|
+
:param _EndActionTime: 定时任务执行时间的结束范围,用于条件筛选,格式如2018-05-01 19:00:00。
|
6340
6340
|
:type EndActionTime: str
|
6341
|
-
:param _StartActionTime:
|
6341
|
+
:param _StartActionTime: 定时任务执行时间的开始范围,用于条件筛选,格式如2018-05-01 19:00:00。
|
6342
6342
|
:type StartActionTime: str
|
6343
|
-
:param _StatusList: 定时任务状态列表。<br><li>UNDO:未执行</li> <
|
6343
|
+
:param _StatusList: 定时任务状态列表。<br><li>UNDO:未执行</li> <li>DOING:正在执行</li><li>DONE:执行完成。</li>
|
6344
6344
|
:type StatusList: list of str
|
6345
6345
|
"""
|
6346
6346
|
self._ActionTimerIds = None
|
@@ -6363,7 +6363,7 @@ class DescribeInstancesActionTimerRequest(AbstractModel):
|
|
6363
6363
|
|
6364
6364
|
@property
|
6365
6365
|
def InstanceIds(self):
|
6366
|
-
"""按照一个或者多个实例ID
|
6366
|
+
"""按照一个或者多个实例ID查询。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
6367
6367
|
:rtype: list of str
|
6368
6368
|
"""
|
6369
6369
|
return self._InstanceIds
|
@@ -6385,7 +6385,7 @@ class DescribeInstancesActionTimerRequest(AbstractModel):
|
|
6385
6385
|
|
6386
6386
|
@property
|
6387
6387
|
def EndActionTime(self):
|
6388
|
-
"""
|
6388
|
+
"""定时任务执行时间的结束范围,用于条件筛选,格式如2018-05-01 19:00:00。
|
6389
6389
|
:rtype: str
|
6390
6390
|
"""
|
6391
6391
|
return self._EndActionTime
|
@@ -6396,7 +6396,7 @@ class DescribeInstancesActionTimerRequest(AbstractModel):
|
|
6396
6396
|
|
6397
6397
|
@property
|
6398
6398
|
def StartActionTime(self):
|
6399
|
-
"""
|
6399
|
+
"""定时任务执行时间的开始范围,用于条件筛选,格式如2018-05-01 19:00:00。
|
6400
6400
|
:rtype: str
|
6401
6401
|
"""
|
6402
6402
|
return self._StartActionTime
|
@@ -6407,7 +6407,7 @@ class DescribeInstancesActionTimerRequest(AbstractModel):
|
|
6407
6407
|
|
6408
6408
|
@property
|
6409
6409
|
def StatusList(self):
|
6410
|
-
"""定时任务状态列表。<br><li>UNDO:未执行</li> <
|
6410
|
+
"""定时任务状态列表。<br><li>UNDO:未执行</li> <li>DOING:正在执行</li><li>DONE:执行完成。</li>
|
6411
6411
|
:rtype: list of str
|
6412
6412
|
"""
|
6413
6413
|
return self._StatusList
|
@@ -6492,7 +6492,7 @@ class DescribeInstancesAttributesRequest(AbstractModel):
|
|
6492
6492
|
:param _Attributes: 需要获取的实例属性。可选值:
|
6493
6493
|
UserData: 实例自定义数据
|
6494
6494
|
:type Attributes: list of str
|
6495
|
-
:param _InstanceIds: 实例ID
|
6495
|
+
:param _InstanceIds: 实例ID列表。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
6496
6496
|
:type InstanceIds: list of str
|
6497
6497
|
"""
|
6498
6498
|
self._Attributes = None
|
@@ -6512,7 +6512,7 @@ UserData: 实例自定义数据
|
|
6512
6512
|
|
6513
6513
|
@property
|
6514
6514
|
def InstanceIds(self):
|
6515
|
-
"""实例ID
|
6515
|
+
"""实例ID列表。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
6516
6516
|
:rtype: list of str
|
6517
6517
|
"""
|
6518
6518
|
return self._InstanceIds
|
@@ -6593,7 +6593,7 @@ class DescribeInstancesModificationRequest(AbstractModel):
|
|
6593
6593
|
:param _InstanceIds: 一个或多个待查询的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。每次请求批量实例的上限为20。
|
6594
6594
|
:type InstanceIds: list of str
|
6595
6595
|
: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>
|
6596
|
+
<p style="padding-left: 30px;">按照【<strong>配置规格状态</strong>】进行过滤。配置规格状态形如:SELL(表示实例可售卖)、UNAVAILABLE(表示实例不可用)。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
6597
6597
|
每次请求的`Filters`的上限为10,`Filter.Values`的上限为2。
|
6598
6598
|
:type Filters: list of Filter
|
6599
6599
|
"""
|
@@ -6614,7 +6614,7 @@ class DescribeInstancesModificationRequest(AbstractModel):
|
|
6614
6614
|
@property
|
6615
6615
|
def Filters(self):
|
6616
6616
|
"""<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>
|
6617
|
+
<p style="padding-left: 30px;">按照【<strong>配置规格状态</strong>】进行过滤。配置规格状态形如:SELL(表示实例可售卖)、UNAVAILABLE(表示实例不可用)。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
6618
6618
|
每次请求的`Filters`的上限为10,`Filter.Values`的上限为2。
|
6619
6619
|
:rtype: list of Filter
|
6620
6620
|
"""
|
@@ -6716,7 +6716,7 @@ class DescribeInstancesOperationLimitRequest(AbstractModel):
|
|
6716
6716
|
: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
6717
|
:type InstanceIds: list of str
|
6718
6718
|
:param _Operation: 实例操作。
|
6719
|
-
<li> INSTANCE_DEGRADE:实例降配操作</li>
|
6719
|
+
<li> INSTANCE_DEGRADE:实例降配操作</li><li> INTERNET_CHARGE_TYPE_CHANGE:实例调整带宽付费模式操作</li>
|
6720
6720
|
:type Operation: str
|
6721
6721
|
"""
|
6722
6722
|
self._InstanceIds = None
|
@@ -6736,7 +6736,7 @@ class DescribeInstancesOperationLimitRequest(AbstractModel):
|
|
6736
6736
|
@property
|
6737
6737
|
def Operation(self):
|
6738
6738
|
"""实例操作。
|
6739
|
-
<li> INSTANCE_DEGRADE:实例降配操作</li>
|
6739
|
+
<li> INSTANCE_DEGRADE:实例降配操作</li><li> INTERNET_CHARGE_TYPE_CHANGE:实例调整带宽付费模式操作</li>
|
6740
6740
|
:rtype: str
|
6741
6741
|
"""
|
6742
6742
|
return self._Operation
|
@@ -8417,7 +8417,7 @@ class DescribeZoneInstanceConfigInfosRequest(AbstractModel):
|
|
8417
8417
|
<li><strong>instance-type</strong></li>
|
8418
8418
|
<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
8419
|
<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>
|
8420
|
+
<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
8421
|
<li><strong>sort-keys</strong></li>
|
8422
8422
|
<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
8423
|
每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。
|
@@ -8434,7 +8434,7 @@ class DescribeZoneInstanceConfigInfosRequest(AbstractModel):
|
|
8434
8434
|
<li><strong>instance-type</strong></li>
|
8435
8435
|
<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
8436
|
<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>
|
8437
|
+
<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
8438
|
<li><strong>sort-keys</strong></li>
|
8439
8439
|
<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
8440
|
每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。
|
@@ -8682,9 +8682,9 @@ class DisassociateSecurityGroupsRequest(AbstractModel):
|
|
8682
8682
|
|
8683
8683
|
def __init__(self):
|
8684
8684
|
r"""
|
8685
|
-
:param _SecurityGroupIds: 要解绑的`安全组ID`,类似sg-efil73jd
|
8685
|
+
:param _SecurityGroupIds: 要解绑的`安全组ID`,类似sg-efil73jd,只支持解绑单个安全组。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`SecurityGroupIds`获取实例绑定的安全组。
|
8686
8686
|
:type SecurityGroupIds: list of str
|
8687
|
-
:param _InstanceIds: 被解绑的`实例ID`,类似ins-lesecurk,支持指定多个实例,每次请求批量实例的上限为100
|
8687
|
+
:param _InstanceIds: 被解绑的`实例ID`,类似ins-lesecurk,支持指定多个实例,每次请求批量实例的上限为100。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
8688
8688
|
:type InstanceIds: list of str
|
8689
8689
|
"""
|
8690
8690
|
self._SecurityGroupIds = None
|
@@ -8692,7 +8692,7 @@ class DisassociateSecurityGroupsRequest(AbstractModel):
|
|
8692
8692
|
|
8693
8693
|
@property
|
8694
8694
|
def SecurityGroupIds(self):
|
8695
|
-
"""要解绑的`安全组ID`,类似sg-efil73jd
|
8695
|
+
"""要解绑的`安全组ID`,类似sg-efil73jd,只支持解绑单个安全组。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`SecurityGroupIds`获取实例绑定的安全组。
|
8696
8696
|
:rtype: list of str
|
8697
8697
|
"""
|
8698
8698
|
return self._SecurityGroupIds
|
@@ -8703,7 +8703,7 @@ class DisassociateSecurityGroupsRequest(AbstractModel):
|
|
8703
8703
|
|
8704
8704
|
@property
|
8705
8705
|
def InstanceIds(self):
|
8706
|
-
"""被解绑的`实例ID`,类似ins-lesecurk,支持指定多个实例,每次请求批量实例的上限为100
|
8706
|
+
"""被解绑的`实例ID`,类似ins-lesecurk,支持指定多个实例,每次请求批量实例的上限为100。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
8707
8707
|
:rtype: list of str
|
8708
8708
|
"""
|
8709
8709
|
return self._InstanceIds
|
@@ -9224,14 +9224,14 @@ class ExitRescueModeRequest(AbstractModel):
|
|
9224
9224
|
|
9225
9225
|
def __init__(self):
|
9226
9226
|
r"""
|
9227
|
-
:param _InstanceId: 退出救援模式的实例id
|
9227
|
+
:param _InstanceId: 退出救援模式的实例id。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
9228
9228
|
:type InstanceId: str
|
9229
9229
|
"""
|
9230
9230
|
self._InstanceId = None
|
9231
9231
|
|
9232
9232
|
@property
|
9233
9233
|
def InstanceId(self):
|
9234
|
-
"""退出救援模式的实例id
|
9234
|
+
"""退出救援模式的实例id。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
9235
9235
|
:rtype: str
|
9236
9236
|
"""
|
9237
9237
|
return self._InstanceId
|
@@ -9288,17 +9288,22 @@ class ExportImagesRequest(AbstractModel):
|
|
9288
9288
|
|
9289
9289
|
def __init__(self):
|
9290
9290
|
r"""
|
9291
|
-
:param _BucketName: COS
|
9291
|
+
:param _BucketName: COS存储桶名称。
|
9292
|
+
可通过 [List Buckets](https://cloud.tencent.com/document/product/436/8291) 接口查询请求者名下的所有存储桶列表或特定地域下的存储桶列表。
|
9292
9293
|
:type BucketName: str
|
9293
9294
|
:param _ImageIds: 镜像ID列表。调用 ExportImages 接口时,参数 ImageIds 和 SnapshotIds 为二选一必填参数,目前参数 SnapshotIds 暂未对外开放。
|
9295
|
+
可通过 [DescribeImages](https://cloud.tencent.com/document/api/213/15715) 接口返回值中的`ImageId`获取。
|
9294
9296
|
:type ImageIds: list of str
|
9295
9297
|
:param _ExportFormat: 镜像文件导出格式。取值范围:RAW,QCOW2,VHD,VMDK。默认为RAW
|
9296
9298
|
:type ExportFormat: str
|
9297
|
-
:param _FileNamePrefixList:
|
9299
|
+
:param _FileNamePrefixList: 导出文件的名称前缀列表。
|
9300
|
+
默认导出文件无名称前缀。
|
9298
9301
|
:type FileNamePrefixList: list of str
|
9299
|
-
:param _OnlyExportRootDisk:
|
9302
|
+
:param _OnlyExportRootDisk: 是否只导出系统盘。
|
9303
|
+
默认值:false
|
9300
9304
|
:type OnlyExportRootDisk: bool
|
9301
|
-
:param _DryRun:
|
9305
|
+
:param _DryRun: 检测镜像是否支持导出。
|
9306
|
+
默认值:false
|
9302
9307
|
:type DryRun: bool
|
9303
9308
|
:param _RoleName: 角色名称。默认为CVM_QcsRole,发起请求前请确认是否存在该角色,以及是否已正确配置COS写入权限。
|
9304
9309
|
:type RoleName: str
|
@@ -9313,7 +9318,8 @@ class ExportImagesRequest(AbstractModel):
|
|
9313
9318
|
|
9314
9319
|
@property
|
9315
9320
|
def BucketName(self):
|
9316
|
-
"""COS
|
9321
|
+
"""COS存储桶名称。
|
9322
|
+
可通过 [List Buckets](https://cloud.tencent.com/document/product/436/8291) 接口查询请求者名下的所有存储桶列表或特定地域下的存储桶列表。
|
9317
9323
|
:rtype: str
|
9318
9324
|
"""
|
9319
9325
|
return self._BucketName
|
@@ -9325,6 +9331,7 @@ class ExportImagesRequest(AbstractModel):
|
|
9325
9331
|
@property
|
9326
9332
|
def ImageIds(self):
|
9327
9333
|
"""镜像ID列表。调用 ExportImages 接口时,参数 ImageIds 和 SnapshotIds 为二选一必填参数,目前参数 SnapshotIds 暂未对外开放。
|
9334
|
+
可通过 [DescribeImages](https://cloud.tencent.com/document/api/213/15715) 接口返回值中的`ImageId`获取。
|
9328
9335
|
:rtype: list of str
|
9329
9336
|
"""
|
9330
9337
|
return self._ImageIds
|
@@ -9346,7 +9353,8 @@ class ExportImagesRequest(AbstractModel):
|
|
9346
9353
|
|
9347
9354
|
@property
|
9348
9355
|
def FileNamePrefixList(self):
|
9349
|
-
"""
|
9356
|
+
"""导出文件的名称前缀列表。
|
9357
|
+
默认导出文件无名称前缀。
|
9350
9358
|
:rtype: list of str
|
9351
9359
|
"""
|
9352
9360
|
return self._FileNamePrefixList
|
@@ -9357,7 +9365,8 @@ class ExportImagesRequest(AbstractModel):
|
|
9357
9365
|
|
9358
9366
|
@property
|
9359
9367
|
def OnlyExportRootDisk(self):
|
9360
|
-
"""
|
9368
|
+
"""是否只导出系统盘。
|
9369
|
+
默认值:false
|
9361
9370
|
:rtype: bool
|
9362
9371
|
"""
|
9363
9372
|
return self._OnlyExportRootDisk
|
@@ -9368,7 +9377,8 @@ class ExportImagesRequest(AbstractModel):
|
|
9368
9377
|
|
9369
9378
|
@property
|
9370
9379
|
def DryRun(self):
|
9371
|
-
"""
|
9380
|
+
"""检测镜像是否支持导出。
|
9381
|
+
默认值:false
|
9372
9382
|
:rtype: bool
|
9373
9383
|
"""
|
9374
9384
|
return self._DryRun
|
@@ -9416,7 +9426,9 @@ class ExportImagesResponse(AbstractModel):
|
|
9416
9426
|
r"""
|
9417
9427
|
:param _TaskId: 导出镜像任务ID
|
9418
9428
|
:type TaskId: int
|
9419
|
-
:param _CosPaths: 导出镜像的COS
|
9429
|
+
:param _CosPaths: 导出镜像的COS文件名列表。其中,文件名格式如下。
|
9430
|
+
* 系统盘:前缀名_镜像ID_system_快照ID.镜像格式
|
9431
|
+
* 数据盘:前缀名_镜像ID_data_快照ID.镜像格式
|
9420
9432
|
:type CosPaths: list of str
|
9421
9433
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9422
9434
|
:type RequestId: str
|
@@ -9438,7 +9450,9 @@ class ExportImagesResponse(AbstractModel):
|
|
9438
9450
|
|
9439
9451
|
@property
|
9440
9452
|
def CosPaths(self):
|
9441
|
-
"""导出镜像的COS
|
9453
|
+
"""导出镜像的COS文件名列表。其中,文件名格式如下。
|
9454
|
+
* 系统盘:前缀名_镜像ID_system_快照ID.镜像格式
|
9455
|
+
* 数据盘:前缀名_镜像ID_data_快照ID.镜像格式
|
9442
9456
|
:rtype: list of str
|
9443
9457
|
"""
|
9444
9458
|
return self._CosPaths
|
@@ -11068,7 +11082,7 @@ class ImportInstancesActionTimerRequest(AbstractModel):
|
|
11068
11082
|
|
11069
11083
|
def __init__(self):
|
11070
11084
|
r"""
|
11071
|
-
:param _InstanceIds: 实例id
|
11085
|
+
:param _InstanceIds: 实例id列表,可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
11072
11086
|
:type InstanceIds: list of str
|
11073
11087
|
:param _ActionTimer: 定时器任务信息,目前仅支持定时销毁。
|
11074
11088
|
:type ActionTimer: :class:`tencentcloud.cvm.v20170312.models.ActionTimer`
|
@@ -11078,7 +11092,7 @@ class ImportInstancesActionTimerRequest(AbstractModel):
|
|
11078
11092
|
|
11079
11093
|
@property
|
11080
11094
|
def InstanceIds(self):
|
11081
|
-
"""实例id
|
11095
|
+
"""实例id列表,可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
11082
11096
|
:rtype: list of str
|
11083
11097
|
"""
|
11084
11098
|
return self._InstanceIds
|
@@ -12174,12 +12188,12 @@ class InquiryPriceResizeInstanceDisksRequest(AbstractModel):
|
|
12174
12188
|
|
12175
12189
|
def __init__(self):
|
12176
12190
|
r"""
|
12177
|
-
:param _InstanceId: 待操作的实例ID。可通过[
|
12191
|
+
:param _InstanceId: 待操作的实例ID。可通过[ DescribeInstances ](https://cloud.tencent.com/document/api/213/15728)接口返回值中的`InstanceId`获取。
|
12178
12192
|
:type InstanceId: str
|
12179
|
-
:param _DataDisks:
|
12193
|
+
:param _DataDisks: 待扩容的数据盘配置信息。只支持扩容非弹性数据盘[ DescribeDisks ](https://cloud.tencent.com/document/api/362/16315)接口返回值中的`Portable`为`false`表示非弹性)。数据盘容量单位:GB。最小扩容步长:10G。关于数据盘类型的选择请参考硬盘产品简介。可选数据盘类型受到实例类型`InstanceType`限制。另外允许扩容的最大容量也因数据盘类型的不同而有所差异。
|
12180
12194
|
<dx-alert infotype="explain" title="">您必须指定参数DataDisks与SystemDisk的其中一个,但不能同时指定。</dx-alert>
|
12181
12195
|
:type DataDisks: list of DataDisk
|
12182
|
-
:param _ForceStop: 是否对运行中的实例选择强制关机。建议对运行中的实例先手动关机,然后再重置用户密码。取值范围:<br><li>true:表示在正常关机失败后进行强制关机</li><br><li>false:表示在正常关机失败后不进行强制关机</li><br
|
12196
|
+
:param _ForceStop: 是否对运行中的实例选择强制关机。建议对运行中的实例先手动关机,然后再重置用户密码。取值范围:<br><li>true:表示在正常关机失败后进行强制关机</li><br><li>false:表示在正常关机失败后不进行强制关机</li><br>默认取值:false。<br><br>强制关机的效果等同于关闭物理计算机的电源开关。强制关机可能会导致数据丢失或文件系统损坏,请仅在服务器不能正常关机时使用。
|
12183
12197
|
:type ForceStop: bool
|
12184
12198
|
"""
|
12185
12199
|
self._InstanceId = None
|
@@ -12188,7 +12202,7 @@ class InquiryPriceResizeInstanceDisksRequest(AbstractModel):
|
|
12188
12202
|
|
12189
12203
|
@property
|
12190
12204
|
def InstanceId(self):
|
12191
|
-
"""待操作的实例ID。可通过[
|
12205
|
+
"""待操作的实例ID。可通过[ DescribeInstances ](https://cloud.tencent.com/document/api/213/15728)接口返回值中的`InstanceId`获取。
|
12192
12206
|
:rtype: str
|
12193
12207
|
"""
|
12194
12208
|
return self._InstanceId
|
@@ -12199,7 +12213,7 @@ class InquiryPriceResizeInstanceDisksRequest(AbstractModel):
|
|
12199
12213
|
|
12200
12214
|
@property
|
12201
12215
|
def DataDisks(self):
|
12202
|
-
"""
|
12216
|
+
"""待扩容的数据盘配置信息。只支持扩容非弹性数据盘[ DescribeDisks ](https://cloud.tencent.com/document/api/362/16315)接口返回值中的`Portable`为`false`表示非弹性)。数据盘容量单位:GB。最小扩容步长:10G。关于数据盘类型的选择请参考硬盘产品简介。可选数据盘类型受到实例类型`InstanceType`限制。另外允许扩容的最大容量也因数据盘类型的不同而有所差异。
|
12203
12217
|
<dx-alert infotype="explain" title="">您必须指定参数DataDisks与SystemDisk的其中一个,但不能同时指定。</dx-alert>
|
12204
12218
|
:rtype: list of DataDisk
|
12205
12219
|
"""
|
@@ -12211,7 +12225,7 @@ class InquiryPriceResizeInstanceDisksRequest(AbstractModel):
|
|
12211
12225
|
|
12212
12226
|
@property
|
12213
12227
|
def ForceStop(self):
|
12214
|
-
"""是否对运行中的实例选择强制关机。建议对运行中的实例先手动关机,然后再重置用户密码。取值范围:<br><li>true:表示在正常关机失败后进行强制关机</li><br><li>false:表示在正常关机失败后不进行强制关机</li><br
|
12228
|
+
"""是否对运行中的实例选择强制关机。建议对运行中的实例先手动关机,然后再重置用户密码。取值范围:<br><li>true:表示在正常关机失败后进行强制关机</li><br><li>false:表示在正常关机失败后不进行强制关机</li><br>默认取值:false。<br><br>强制关机的效果等同于关闭物理计算机的电源开关。强制关机可能会导致数据丢失或文件系统损坏,请仅在服务器不能正常关机时使用。
|
12215
12229
|
:rtype: bool
|
12216
12230
|
"""
|
12217
12231
|
return self._ForceStop
|
@@ -12302,7 +12316,8 @@ class InquiryPriceRunInstancesRequest(AbstractModel):
|
|
12302
12316
|
:type InstanceChargeType: str
|
12303
12317
|
:param _InstanceChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。
|
12304
12318
|
:type InstanceChargePrepaid: :class:`tencentcloud.cvm.v20170312.models.InstanceChargePrepaid`
|
12305
|
-
:param _InstanceType:
|
12319
|
+
:param _InstanceType: 实例机型。不同实例机型指定了不同的资源规格。
|
12320
|
+
<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
12321
|
:type InstanceType: str
|
12307
12322
|
:param _SystemDisk: 实例系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。
|
12308
12323
|
:type SystemDisk: :class:`tencentcloud.cvm.v20170312.models.SystemDisk`
|
@@ -12318,7 +12333,7 @@ class InquiryPriceRunInstancesRequest(AbstractModel):
|
|
12318
12333
|
:type InstanceName: str
|
12319
12334
|
:param _LoginSettings: 实例登录设置。通过该参数可以设置实例的登录方式密码、密钥或保持镜像的原始登录设置。默认情况下会随机生成密码,并以站内信方式知会到用户。
|
12320
12335
|
:type LoginSettings: :class:`tencentcloud.cvm.v20170312.models.LoginSettings`
|
12321
|
-
:param _SecurityGroupIds: 实例所属安全组。该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808)
|
12336
|
+
:param _SecurityGroupIds: 实例所属安全组。该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的`SecurityGroupId`字段来获取。若不指定该参数,则默认不绑定安全组。
|
12322
12337
|
:type SecurityGroupIds: list of str
|
12323
12338
|
:param _EnhancedService: 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。若不指定该参数,则默认开启云监控、云安全服务。
|
12324
12339
|
:type EnhancedService: :class:`tencentcloud.cvm.v20170312.models.EnhancedService`
|
@@ -12407,7 +12422,8 @@ class InquiryPriceRunInstancesRequest(AbstractModel):
|
|
12407
12422
|
|
12408
12423
|
@property
|
12409
12424
|
def InstanceType(self):
|
12410
|
-
"""
|
12425
|
+
"""实例机型。不同实例机型指定了不同的资源规格。
|
12426
|
+
<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
12427
|
:rtype: str
|
12412
12428
|
"""
|
12413
12429
|
return self._InstanceType
|
@@ -12495,7 +12511,7 @@ class InquiryPriceRunInstancesRequest(AbstractModel):
|
|
12495
12511
|
|
12496
12512
|
@property
|
12497
12513
|
def SecurityGroupIds(self):
|
12498
|
-
"""实例所属安全组。该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808)
|
12514
|
+
"""实例所属安全组。该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的`SecurityGroupId`字段来获取。若不指定该参数,则默认不绑定安全组。
|
12499
12515
|
:rtype: list of str
|
12500
12516
|
"""
|
12501
12517
|
return self._SecurityGroupIds
|
@@ -13805,7 +13821,7 @@ class InstanceTypeConfig(AbstractModel):
|
|
13805
13821
|
:type GPU: int
|
13806
13822
|
:param _CPU: CPU核数,单位:核。
|
13807
13823
|
:type CPU: int
|
13808
|
-
:param _Memory: 内存容量,单位:`
|
13824
|
+
:param _Memory: 内存容量,单位:`GiB`。
|
13809
13825
|
:type Memory: int
|
13810
13826
|
:param _FPGA: FPGA核数,单位:核。
|
13811
13827
|
:type FPGA: int
|
@@ -13878,7 +13894,7 @@ class InstanceTypeConfig(AbstractModel):
|
|
13878
13894
|
|
13879
13895
|
@property
|
13880
13896
|
def Memory(self):
|
13881
|
-
"""内存容量,单位:`
|
13897
|
+
"""内存容量,单位:`GiB`。
|
13882
13898
|
:rtype: int
|
13883
13899
|
"""
|
13884
13900
|
return self._Memory
|
@@ -14008,7 +14024,7 @@ class InstanceTypeQuotaItem(AbstractModel):
|
|
14008
14024
|
:type Zone: str
|
14009
14025
|
:param _InstanceType: 实例机型。
|
14010
14026
|
:type InstanceType: str
|
14011
|
-
:param _InstanceChargeType: 实例计费模式。取值范围: <br><li>PREPAID:表示预付费,即包年包月<br></li>POSTPAID_BY_HOUR
|
14027
|
+
: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
14028
|
:type InstanceChargeType: str
|
14013
14029
|
:param _NetworkCard: 网卡类型,例如:25代表25G网卡
|
14014
14030
|
:type NetworkCard: int
|
@@ -14024,7 +14040,7 @@ class InstanceTypeQuotaItem(AbstractModel):
|
|
14024
14040
|
:type TypeName: str
|
14025
14041
|
:param _LocalDiskTypeList: 本地磁盘规格列表。当该参数返回为空值时,表示当前情况下无法创建本地盘。
|
14026
14042
|
:type LocalDiskTypeList: list of LocalDiskType
|
14027
|
-
:param _Status: 实例是否售卖。取值范围: <br><li>SELL:表示实例可购买<br></li>SOLD_OUT
|
14043
|
+
:param _Status: 实例是否售卖。取值范围: <br><li>SELL:表示实例可购买<br></li><li>SOLD_OUT:表示实例已售罄。</li>
|
14028
14044
|
:type Status: str
|
14029
14045
|
:param _Price: 实例的售卖价格。
|
14030
14046
|
:type Price: :class:`tencentcloud.cvm.v20170312.models.ItemPrice`
|
@@ -14049,10 +14065,7 @@ class InstanceTypeQuotaItem(AbstractModel):
|
|
14049
14065
|
:param _Frequency: 实例的CPU主频信息
|
14050
14066
|
:type Frequency: str
|
14051
14067
|
:param _StatusCategory: 描述库存情况。取值范围:
|
14052
|
-
<li> EnoughStock:表示对应库存非常充足</li>
|
14053
|
-
<li>NormalStock:表示对应库存供应有保障</li>
|
14054
|
-
<li> UnderStock:表示对应库存即将售罄</li>
|
14055
|
-
<li>WithoutStock:表示对应库存已经售罄</li>
|
14068
|
+
<li> EnoughStock:表示对应库存非常充足</li> <li>NormalStock:表示对应库存供应有保障</li><li> UnderStock:表示对应库存即将售罄</li> <li>WithoutStock:表示对应库存已经售罄</li>
|
14056
14069
|
:type StatusCategory: str
|
14057
14070
|
"""
|
14058
14071
|
self._Zone = None
|
@@ -14103,7 +14116,7 @@ class InstanceTypeQuotaItem(AbstractModel):
|
|
14103
14116
|
|
14104
14117
|
@property
|
14105
14118
|
def InstanceChargeType(self):
|
14106
|
-
"""实例计费模式。取值范围: <br><li>PREPAID:表示预付费,即包年包月<br></li>POSTPAID_BY_HOUR
|
14119
|
+
"""实例计费模式。取值范围: <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
14120
|
:rtype: str
|
14108
14121
|
"""
|
14109
14122
|
return self._InstanceChargeType
|
@@ -14191,7 +14204,7 @@ class InstanceTypeQuotaItem(AbstractModel):
|
|
14191
14204
|
|
14192
14205
|
@property
|
14193
14206
|
def Status(self):
|
14194
|
-
"""实例是否售卖。取值范围: <br><li>SELL:表示实例可购买<br></li>SOLD_OUT
|
14207
|
+
"""实例是否售卖。取值范围: <br><li>SELL:表示实例可购买<br></li><li>SOLD_OUT:表示实例已售罄。</li>
|
14195
14208
|
:rtype: str
|
14196
14209
|
"""
|
14197
14210
|
return self._Status
|
@@ -14324,10 +14337,7 @@ class InstanceTypeQuotaItem(AbstractModel):
|
|
14324
14337
|
@property
|
14325
14338
|
def StatusCategory(self):
|
14326
14339
|
"""描述库存情况。取值范围:
|
14327
|
-
<li> EnoughStock:表示对应库存非常充足</li>
|
14328
|
-
<li>NormalStock:表示对应库存供应有保障</li>
|
14329
|
-
<li> UnderStock:表示对应库存即将售罄</li>
|
14330
|
-
<li>WithoutStock:表示对应库存已经售罄</li>
|
14340
|
+
<li> EnoughStock:表示对应库存非常充足</li> <li>NormalStock:表示对应库存供应有保障</li><li> UnderStock:表示对应库存即将售罄</li> <li>WithoutStock:表示对应库存已经售罄</li>
|
14331
14341
|
:rtype: str
|
14332
14342
|
"""
|
14333
14343
|
return self._StatusCategory
|
@@ -14536,7 +14546,7 @@ class InternetChargeTypeConfig(AbstractModel):
|
|
14536
14546
|
|
14537
14547
|
def __init__(self):
|
14538
14548
|
r"""
|
14539
|
-
:param _InternetChargeType:
|
14549
|
+
:param _InternetChargeType: 网络计费类型。取值范围:<br><li>BANDWIDTH_PREPAID:预付费按带宽结算</li><li>TRAFFIC_POSTPAID_BY_HOUR:流量按小时后付费</li><li>BANDWIDTH_POSTPAID_BY_HOUR:带宽按小时后付费</li><li>BANDWIDTH_PACKAGE:带宽包用户</li>默认取值:非带宽包用户默认与子机付费类型保持一致,比如子机付费类型为预付费,网络计费类型默认为预付费;子机付费类型为后付费,网络计费类型默认为后付费。
|
14540
14550
|
:type InternetChargeType: str
|
14541
14551
|
:param _Description: 网络计费模式描述信息。
|
14542
14552
|
:type Description: str
|
@@ -14546,7 +14556,7 @@ class InternetChargeTypeConfig(AbstractModel):
|
|
14546
14556
|
|
14547
14557
|
@property
|
14548
14558
|
def InternetChargeType(self):
|
14549
|
-
"""
|
14559
|
+
"""网络计费类型。取值范围:<br><li>BANDWIDTH_PREPAID:预付费按带宽结算</li><li>TRAFFIC_POSTPAID_BY_HOUR:流量按小时后付费</li><li>BANDWIDTH_POSTPAID_BY_HOUR:带宽按小时后付费</li><li>BANDWIDTH_PACKAGE:带宽包用户</li>默认取值:非带宽包用户默认与子机付费类型保持一致,比如子机付费类型为预付费,网络计费类型默认为预付费;子机付费类型为后付费,网络计费类型默认为后付费。
|
14550
14560
|
:rtype: str
|
14551
14561
|
"""
|
14552
14562
|
return self._InternetChargeType
|
@@ -15688,7 +15698,7 @@ class LaunchTemplateVersionInfo(AbstractModel):
|
|
15688
15698
|
:type IsDefaultVersion: bool
|
15689
15699
|
:param _LaunchTemplateVersionDescription: 实例启动模板版本描述信息。
|
15690
15700
|
:type LaunchTemplateVersionDescription: str
|
15691
|
-
:param _CreatedBy:
|
15701
|
+
:param _CreatedBy: 创建者的AppId。
|
15692
15702
|
:type CreatedBy: str
|
15693
15703
|
"""
|
15694
15704
|
self._LaunchTemplateVersion = None
|
@@ -15767,7 +15777,7 @@ class LaunchTemplateVersionInfo(AbstractModel):
|
|
15767
15777
|
|
15768
15778
|
@property
|
15769
15779
|
def CreatedBy(self):
|
15770
|
-
"""
|
15780
|
+
"""创建者的AppId。
|
15771
15781
|
:rtype: str
|
15772
15782
|
"""
|
15773
15783
|
return self._CreatedBy
|
@@ -16607,7 +16617,7 @@ class ModifyInstanceDiskTypeRequest(AbstractModel):
|
|
16607
16617
|
|
16608
16618
|
def __init__(self):
|
16609
16619
|
r"""
|
16610
|
-
:param _InstanceId: 待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/
|
16620
|
+
:param _InstanceId: 待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
16611
16621
|
:type InstanceId: str
|
16612
16622
|
:param _DataDisks: 实例数据盘配置信息,只需要指定要转换的目标云硬盘的介质类型,指定DiskType的值,当前只支持一个数据盘转化。只支持CDHPAID类型实例指定CdcId参数。
|
16613
16623
|
:type DataDisks: list of DataDisk
|
@@ -16620,7 +16630,7 @@ class ModifyInstanceDiskTypeRequest(AbstractModel):
|
|
16620
16630
|
|
16621
16631
|
@property
|
16622
16632
|
def InstanceId(self):
|
16623
|
-
"""待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/
|
16633
|
+
"""待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
16624
16634
|
:rtype: str
|
16625
16635
|
"""
|
16626
16636
|
return self._InstanceId
|
@@ -16711,11 +16721,10 @@ class ModifyInstancesAttributeRequest(AbstractModel):
|
|
16711
16721
|
:param _InstanceIds: 一个或多个待操作的实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/213/15728) API返回值中的`InstanceId`获取。每次请求允许操作的实例数量上限是100。
|
16712
16722
|
:type InstanceIds: list of str
|
16713
16723
|
:param _InstanceName: 修改后实例名称。可任意命名,但不得超过60个字符。
|
16714
|
-
<dx-alert infotype="explain" title="">必须指定InstanceName与SecurityGroups的其中一个,但不能同时设置</dx-alert>
|
16715
16724
|
:type InstanceName: str
|
16716
16725
|
:param _UserData: 提供给实例使用的用户数据,需要以 base64 方式编码,支持的最大数据大小为 16 KB。关于获取此参数的详细介绍,请参阅 [Windows](https://cloud.tencent.com/document/product/213/17526) 和 [Linux](https://cloud.tencent.com/document/product/213/17525) 启动时运行命令。
|
16717
16726
|
:type UserData: str
|
16718
|
-
:param _SecurityGroups: 指定实例的修改后的安全组Id
|
16727
|
+
:param _SecurityGroups: 指定实例的修改后的安全组Id列表,子机将重新关联指定列表的安全组,原本关联的安全组会被解绑。
|
16719
16728
|
:type SecurityGroups: list of str
|
16720
16729
|
:param _CamRoleName: 给实例绑定用户角色,传空值为解绑操作
|
16721
16730
|
:type CamRoleName: str
|
@@ -16757,7 +16766,6 @@ class ModifyInstancesAttributeRequest(AbstractModel):
|
|
16757
16766
|
@property
|
16758
16767
|
def InstanceName(self):
|
16759
16768
|
"""修改后实例名称。可任意命名,但不得超过60个字符。
|
16760
|
-
<dx-alert infotype="explain" title="">必须指定InstanceName与SecurityGroups的其中一个,但不能同时设置</dx-alert>
|
16761
16769
|
:rtype: str
|
16762
16770
|
"""
|
16763
16771
|
return self._InstanceName
|
@@ -16779,7 +16787,7 @@ class ModifyInstancesAttributeRequest(AbstractModel):
|
|
16779
16787
|
|
16780
16788
|
@property
|
16781
16789
|
def SecurityGroups(self):
|
16782
|
-
"""指定实例的修改后的安全组Id
|
16790
|
+
"""指定实例的修改后的安全组Id列表,子机将重新关联指定列表的安全组,原本关联的安全组会被解绑。
|
16783
16791
|
:rtype: list of str
|
16784
16792
|
"""
|
16785
16793
|
return self._SecurityGroups
|
@@ -16906,11 +16914,11 @@ class ModifyInstancesChargeTypeRequest(AbstractModel):
|
|
16906
16914
|
r"""
|
16907
16915
|
:param _InstanceIds: 一个或多个待操作的实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/213/15728)接口返回值中的`InstanceId`获取。每次请求批量实例的上限为30。
|
16908
16916
|
:type InstanceIds: list of str
|
16909
|
-
:param _InstanceChargeType: 修改后实例[计费类型](https://cloud.tencent.com/document/product/213/2180)。<
|
16917
|
+
:param _InstanceChargeType: 修改后实例[计费类型](https://cloud.tencent.com/document/product/213/2180)。<li> PREPAID:预付费,即包年包月。</li><li> POSTPAID_BY_HOUR:后付费,即按量付费。</li>
|
16910
16918
|
:type InstanceChargeType: str
|
16911
16919
|
:param _InstanceChargePrepaid: 修改后预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。<dx-alert infotype="explain" title="">若指定实例的付费模式为预付费则该参数必传。</dx-alert>
|
16912
16920
|
:type InstanceChargePrepaid: :class:`tencentcloud.cvm.v20170312.models.InstanceChargePrepaid`
|
16913
|
-
:param _ModifyPortableDataDisk: 是否同时切换弹性数据云盘计费模式。取值范围:<
|
16921
|
+
:param _ModifyPortableDataDisk: 是否同时切换弹性数据云盘计费模式。取值范围:<li> true:表示切换弹性数据云盘计费模式</li><li> false:表示不切换弹性数据云盘计费模式</li>默认取值:false。
|
16914
16922
|
:type ModifyPortableDataDisk: bool
|
16915
16923
|
"""
|
16916
16924
|
self._InstanceIds = None
|
@@ -16931,7 +16939,7 @@ class ModifyInstancesChargeTypeRequest(AbstractModel):
|
|
16931
16939
|
|
16932
16940
|
@property
|
16933
16941
|
def InstanceChargeType(self):
|
16934
|
-
"""修改后实例[计费类型](https://cloud.tencent.com/document/product/213/2180)。<
|
16942
|
+
"""修改后实例[计费类型](https://cloud.tencent.com/document/product/213/2180)。<li> PREPAID:预付费,即包年包月。</li><li> POSTPAID_BY_HOUR:后付费,即按量付费。</li>
|
16935
16943
|
:rtype: str
|
16936
16944
|
"""
|
16937
16945
|
return self._InstanceChargeType
|
@@ -16953,7 +16961,7 @@ class ModifyInstancesChargeTypeRequest(AbstractModel):
|
|
16953
16961
|
|
16954
16962
|
@property
|
16955
16963
|
def ModifyPortableDataDisk(self):
|
16956
|
-
"""是否同时切换弹性数据云盘计费模式。取值范围:<
|
16964
|
+
"""是否同时切换弹性数据云盘计费模式。取值范围:<li> true:表示切换弹性数据云盘计费模式</li><li> false:表示不切换弹性数据云盘计费模式</li>默认取值:false。
|
16957
16965
|
:rtype: bool
|
16958
16966
|
"""
|
16959
16967
|
return self._ModifyPortableDataDisk
|
@@ -17111,7 +17119,7 @@ class ModifyInstancesProjectRequest(AbstractModel):
|
|
17111
17119
|
r"""
|
17112
17120
|
:param _InstanceIds: 一个或多个待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) API返回值中的`InstanceId`获取。每次请求允许操作的实例数量上限是100。
|
17113
17121
|
:type InstanceIds: list of str
|
17114
|
-
:param _ProjectId: 项目ID。项目可以使用[AddProject](https://cloud.tencent.com/document/api/651/81952)接口创建。可通过[
|
17122
|
+
: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
17123
|
:type ProjectId: int
|
17116
17124
|
"""
|
17117
17125
|
self._InstanceIds = None
|
@@ -17130,7 +17138,7 @@ class ModifyInstancesProjectRequest(AbstractModel):
|
|
17130
17138
|
|
17131
17139
|
@property
|
17132
17140
|
def ProjectId(self):
|
17133
|
-
"""项目ID。项目可以使用[AddProject](https://cloud.tencent.com/document/api/651/81952)接口创建。可通过[
|
17141
|
+
"""项目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
17142
|
:rtype: int
|
17135
17143
|
"""
|
17136
17144
|
return self._ProjectId
|
@@ -17472,9 +17480,9 @@ class ModifyLaunchTemplateDefaultVersionRequest(AbstractModel):
|
|
17472
17480
|
|
17473
17481
|
def __init__(self):
|
17474
17482
|
r"""
|
17475
|
-
:param _LaunchTemplateId: 启动模板ID
|
17483
|
+
:param _LaunchTemplateId: 启动模板ID。可通过 [DescribeLaunchTemplates](https://cloud.tencent.com/document/api/213/66322) 接口返回值中的`LaunchTemplateId `获取。
|
17476
17484
|
:type LaunchTemplateId: str
|
17477
|
-
:param _DefaultVersion:
|
17485
|
+
:param _DefaultVersion: 待设置的默认版本号。可通过 [DescribeLaunchTemplateVersions](https://cloud.tencent.com/document/api/213/66323) 接口返回值中的`LaunchTemplateVersion`获取。
|
17478
17486
|
:type DefaultVersion: int
|
17479
17487
|
"""
|
17480
17488
|
self._LaunchTemplateId = None
|
@@ -17482,7 +17490,7 @@ class ModifyLaunchTemplateDefaultVersionRequest(AbstractModel):
|
|
17482
17490
|
|
17483
17491
|
@property
|
17484
17492
|
def LaunchTemplateId(self):
|
17485
|
-
"""启动模板ID
|
17493
|
+
"""启动模板ID。可通过 [DescribeLaunchTemplates](https://cloud.tencent.com/document/api/213/66322) 接口返回值中的`LaunchTemplateId `获取。
|
17486
17494
|
:rtype: str
|
17487
17495
|
"""
|
17488
17496
|
return self._LaunchTemplateId
|
@@ -17493,7 +17501,7 @@ class ModifyLaunchTemplateDefaultVersionRequest(AbstractModel):
|
|
17493
17501
|
|
17494
17502
|
@property
|
17495
17503
|
def DefaultVersion(self):
|
17496
|
-
"""
|
17504
|
+
"""待设置的默认版本号。可通过 [DescribeLaunchTemplateVersions](https://cloud.tencent.com/document/api/213/66323) 接口返回值中的`LaunchTemplateVersion`获取。
|
17497
17505
|
:rtype: int
|
17498
17506
|
"""
|
17499
17507
|
return self._DefaultVersion
|
@@ -18011,7 +18019,7 @@ class ProgramFpgaImageRequest(AbstractModel):
|
|
18011
18019
|
|
18012
18020
|
def __init__(self):
|
18013
18021
|
r"""
|
18014
|
-
:param _InstanceId: 实例的ID
|
18022
|
+
:param _InstanceId: 实例的ID信息。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
18015
18023
|
:type InstanceId: str
|
18016
18024
|
:param _FPGAUrl: FPGA镜像文件的COS URL地址。
|
18017
18025
|
:type FPGAUrl: str
|
@@ -18027,7 +18035,7 @@ class ProgramFpgaImageRequest(AbstractModel):
|
|
18027
18035
|
|
18028
18036
|
@property
|
18029
18037
|
def InstanceId(self):
|
18030
|
-
"""实例的ID
|
18038
|
+
"""实例的ID信息。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
18031
18039
|
:rtype: str
|
18032
18040
|
"""
|
18033
18041
|
return self._InstanceId
|
@@ -20609,7 +20617,7 @@ class ResetInstancesTypeRequest(AbstractModel):
|
|
20609
20617
|
r"""
|
20610
20618
|
:param _InstanceIds: 一个或多个待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。本接口目前仅支持每次操作1个实例。
|
20611
20619
|
:type InstanceIds: list of str
|
20612
|
-
:param _InstanceType: 调整后的实例机型。不同实例机型指定了不同的资源规格,具体取值可通过调用接口[
|
20620
|
+
:param _InstanceType: 调整后的实例机型。不同实例机型指定了不同的资源规格,具体取值可通过调用接口[ DescribeInstanceTypeConfigs ](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例类型](https://cloud.tencent.com/document/product/213/11518)描述。
|
20613
20621
|
:type InstanceType: str
|
20614
20622
|
:param _ForceStop: 是否对运行中的实例选择强制关机。建议对运行中的实例先手动关机。取值范围:<br><li>true:表示在正常关机失败后进行强制关机</li><br><li>false:表示在正常关机失败后不进行强制关机</li><br><br>默认取值:false。<br><br>强制关机的效果等同于关闭物理计算机的电源开关。强制关机可能会导致数据丢失或文件系统损坏,请仅在服务器不能正常关机时使用。
|
20615
20623
|
:type ForceStop: bool
|
@@ -20631,7 +20639,7 @@ class ResetInstancesTypeRequest(AbstractModel):
|
|
20631
20639
|
|
20632
20640
|
@property
|
20633
20641
|
def InstanceType(self):
|
20634
|
-
"""调整后的实例机型。不同实例机型指定了不同的资源规格,具体取值可通过调用接口[
|
20642
|
+
"""调整后的实例机型。不同实例机型指定了不同的资源规格,具体取值可通过调用接口[ DescribeInstanceTypeConfigs ](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例类型](https://cloud.tencent.com/document/product/213/11518)描述。
|
20635
20643
|
:rtype: str
|
20636
20644
|
"""
|
20637
20645
|
return self._InstanceType
|
@@ -21921,9 +21929,9 @@ class StorageBlock(AbstractModel):
|
|
21921
21929
|
r"""
|
21922
21930
|
:param _Type: HDD本地存储类型,值为:LOCAL_PRO.
|
21923
21931
|
:type Type: str
|
21924
|
-
:param _MinSize: HDD
|
21932
|
+
:param _MinSize: HDD本地存储的最小容量。单位:GiB。
|
21925
21933
|
:type MinSize: int
|
21926
|
-
:param _MaxSize: HDD
|
21934
|
+
:param _MaxSize: HDD本地存储的最大容量。单位:GiB。
|
21927
21935
|
:type MaxSize: int
|
21928
21936
|
"""
|
21929
21937
|
self._Type = None
|
@@ -21943,7 +21951,7 @@ class StorageBlock(AbstractModel):
|
|
21943
21951
|
|
21944
21952
|
@property
|
21945
21953
|
def MinSize(self):
|
21946
|
-
"""HDD
|
21954
|
+
"""HDD本地存储的最小容量。单位:GiB。
|
21947
21955
|
:rtype: int
|
21948
21956
|
"""
|
21949
21957
|
return self._MinSize
|
@@ -21954,7 +21962,7 @@ class StorageBlock(AbstractModel):
|
|
21954
21962
|
|
21955
21963
|
@property
|
21956
21964
|
def MaxSize(self):
|
21957
|
-
"""HDD
|
21965
|
+
"""HDD本地存储的最大容量。单位:GiB。
|
21958
21966
|
:rtype: int
|
21959
21967
|
"""
|
21960
21968
|
return self._MaxSize
|
@@ -22036,25 +22044,27 @@ class SyncImagesRequest(AbstractModel):
|
|
22036
22044
|
|
22037
22045
|
def __init__(self):
|
22038
22046
|
r"""
|
22039
|
-
:param _ImageIds: 镜像ID列表 ,镜像ID可以通过如下方式获取:<br><li>通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId
|
22047
|
+
: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
22048
|
: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)。
|
22049
|
+
: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
22050
|
:type DestinationRegions: list of str
|
22043
22051
|
:param _DryRun: 检测是否支持发起同步镜像。
|
22044
22052
|
默认值: false
|
22045
22053
|
:type DryRun: bool
|
22046
22054
|
:param _ImageName: 目标镜像名称。默认使用源镜像名称。
|
22055
|
+
最多支持 60 个字符。
|
22047
22056
|
:type ImageName: str
|
22048
22057
|
:param _ImageSetRequired: 是否需要返回目的地域的镜像ID。
|
22049
22058
|
默认值: false
|
22050
22059
|
:type ImageSetRequired: bool
|
22051
22060
|
:param _Encrypt: 是否复制为加密自定义镜像。
|
22052
22061
|
默认值为 false。
|
22053
|
-
|
22062
|
+
复制加密自定义镜像仅支持同地域, 即 DestinationRegions 仅支持填写指定镜像所在地域。
|
22054
22063
|
:type Encrypt: bool
|
22055
22064
|
:param _KmsKeyId: 加密自定义镜像使用的 KMS 密钥 ID。
|
22056
22065
|
仅当复制加密镜像时,即 Encrypt 为 true 时,此参数有效;
|
22057
22066
|
不指定 KmsKeyId,默认使用 CBS 云产品 KMS 密钥。
|
22067
|
+
KMS 密钥 ID 通过[KMS 控制台](https://console.cloud.tencent.com/kms2)获取。
|
22058
22068
|
:type KmsKeyId: str
|
22059
22069
|
"""
|
22060
22070
|
self._ImageIds = None
|
@@ -22067,7 +22077,7 @@ class SyncImagesRequest(AbstractModel):
|
|
22067
22077
|
|
22068
22078
|
@property
|
22069
22079
|
def ImageIds(self):
|
22070
|
-
"""镜像ID列表 ,镜像ID可以通过如下方式获取:<br><li>通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId
|
22080
|
+
"""镜像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
22081
|
:rtype: list of str
|
22072
22082
|
"""
|
22073
22083
|
return self._ImageIds
|
@@ -22078,7 +22088,7 @@ class SyncImagesRequest(AbstractModel):
|
|
22078
22088
|
|
22079
22089
|
@property
|
22080
22090
|
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)。
|
22091
|
+
"""目的同步地域列表,必须满足如下限制:<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
22092
|
:rtype: list of str
|
22083
22093
|
"""
|
22084
22094
|
return self._DestinationRegions
|
@@ -22102,6 +22112,7 @@ class SyncImagesRequest(AbstractModel):
|
|
22102
22112
|
@property
|
22103
22113
|
def ImageName(self):
|
22104
22114
|
"""目标镜像名称。默认使用源镜像名称。
|
22115
|
+
最多支持 60 个字符。
|
22105
22116
|
:rtype: str
|
22106
22117
|
"""
|
22107
22118
|
return self._ImageName
|
@@ -22126,7 +22137,7 @@ class SyncImagesRequest(AbstractModel):
|
|
22126
22137
|
def Encrypt(self):
|
22127
22138
|
"""是否复制为加密自定义镜像。
|
22128
22139
|
默认值为 false。
|
22129
|
-
|
22140
|
+
复制加密自定义镜像仅支持同地域, 即 DestinationRegions 仅支持填写指定镜像所在地域。
|
22130
22141
|
:rtype: bool
|
22131
22142
|
"""
|
22132
22143
|
return self._Encrypt
|
@@ -22140,6 +22151,7 @@ class SyncImagesRequest(AbstractModel):
|
|
22140
22151
|
"""加密自定义镜像使用的 KMS 密钥 ID。
|
22141
22152
|
仅当复制加密镜像时,即 Encrypt 为 true 时,此参数有效;
|
22142
22153
|
不指定 KmsKeyId,默认使用 CBS 云产品 KMS 密钥。
|
22154
|
+
KMS 密钥 ID 通过[KMS 控制台](https://console.cloud.tencent.com/kms2)获取。
|
22143
22155
|
:rtype: str
|
22144
22156
|
"""
|
22145
22157
|
return self._KmsKeyId
|