tencentcloud-sdk-python-intl-en 3.0.1075__py2.py3-none-any.whl → 3.0.1077__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.
Potentially problematic release.
This version of tencentcloud-sdk-python-intl-en might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/advisor/v20200721/models.py +120 -0
- tencentcloud/aiart/v20221229/models.py +95 -0
- tencentcloud/ams/v20201229/models.py +432 -0
- tencentcloud/antiddos/v20200309/models.py +2806 -0
- tencentcloud/apigateway/v20180808/models.py +3945 -0
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +16 -10
- tencentcloud/autoscaling/v20180419/errorcodes.py +3 -0
- tencentcloud/autoscaling/v20180419/models.py +2472 -7
- tencentcloud/batch/v20170312/models.py +1566 -0
- tencentcloud/billing/v20180709/models.py +2418 -0
- tencentcloud/cam/v20190116/models.py +1697 -0
- tencentcloud/captcha/v20190722/models.py +70 -0
- tencentcloud/car/v20220110/models.py +803 -0
- tencentcloud/cbs/v20170312/models.py +1245 -0
- tencentcloud/ccc/v20200210/models.py +1949 -1
- tencentcloud/cdb/v20170320/models.py +4821 -0
- tencentcloud/cdn/v20180606/models.py +4870 -8
- tencentcloud/cdwdoris/v20211228/models.py +3337 -0
- tencentcloud/cfg/v20210820/models.py +1194 -0
- tencentcloud/cfs/v20190719/models.py +1178 -0
- tencentcloud/cfw/v20190904/models.py +2378 -0
- tencentcloud/chdfs/v20201112/models.py +513 -0
- tencentcloud/ciam/v20210420/models.py +49 -0
- tencentcloud/ciam/v20220331/models.py +789 -0
- tencentcloud/ckafka/v20190819/models.py +2576 -0
- tencentcloud/clb/v20180317/models.py +3220 -1
- tencentcloud/cloudaudit/v20190319/models.py +519 -0
- tencentcloud/cls/v20201016/models.py +3652 -1
- tencentcloud/cmq/v20190304/models.py +571 -0
- tencentcloud/controlcenter/v20230110/models.py +15 -0
- tencentcloud/csip/v20221121/models.py +2881 -2
- tencentcloud/cvm/v20170312/models.py +2827 -0
- tencentcloud/cwp/v20180228/models.py +16412 -0
- tencentcloud/cynosdb/v20190107/models.py +4263 -0
- tencentcloud/dataintegration/v20220613/models.py +18 -0
- tencentcloud/dayu/v20180709/models.py +3541 -12
- tencentcloud/dbbrain/v20191016/models.py +1056 -0
- tencentcloud/dbbrain/v20210527/models.py +1763 -0
- tencentcloud/dc/v20180410/models.py +767 -0
- tencentcloud/dcdb/v20180411/models.py +2335 -0
- tencentcloud/dlc/v20210125/models.py +3985 -5
- tencentcloud/dms/v20200819/models.py +51 -0
- tencentcloud/dnspod/v20210323/models.py +1286 -0
- tencentcloud/domain/v20180808/models.py +855 -0
- tencentcloud/dts/v20180330/models.py +791 -0
- tencentcloud/dts/v20211206/models.py +2317 -1
- tencentcloud/eb/v20210416/models.py +858 -0
- tencentcloud/ecdn/v20191012/models.py +811 -0
- tencentcloud/ecm/v20190719/models.py +3972 -1
- tencentcloud/eiam/v20210420/models.py +1265 -0
- tencentcloud/emr/v20190103/models.py +2926 -7
- tencentcloud/es/v20180416/models.py +1523 -0
- tencentcloud/facefusion/v20220927/models.py +211 -0
- tencentcloud/faceid/v20180301/models.py +2071 -0
- tencentcloud/gaap/v20180529/models.py +3103 -8
- tencentcloud/gme/v20180711/models.py +388 -0
- tencentcloud/gpm/v20200820/models.py +674 -0
- tencentcloud/gse/v20191112/models.py +972 -0
- tencentcloud/iai/v20200303/models.py +1430 -0
- tencentcloud/ims/v20201229/models.py +329 -0
- tencentcloud/intlpartnersmgt/v20220928/models.py +988 -0
- tencentcloud/iotcloud/v20210408/models.py +585 -0
- tencentcloud/ip/v20210409/models.py +178 -0
- tencentcloud/kms/v20190118/models.py +869 -0
- tencentcloud/lcic/v20220817/models.py +1658 -0
- tencentcloud/lighthouse/v20200324/models.py +2088 -0
- tencentcloud/live/v20180801/models.py +4287 -0
- tencentcloud/mariadb/v20170312/models.py +1905 -0
- tencentcloud/mdc/v20200828/models.py +1104 -0
- tencentcloud/mdl/v20200326/models.py +1911 -1
- tencentcloud/mdp/v20200527/models.py +452 -0
- tencentcloud/mongodb/v20190725/models.py +1234 -0
- tencentcloud/monitor/v20180724/models.py +5798 -2
- tencentcloud/mps/v20190612/models.py +8135 -0
- tencentcloud/msp/v20180319/models.py +183 -0
- tencentcloud/ocr/v20181119/models.py +3160 -1
- tencentcloud/omics/v20221128/models.py +1086 -0
- tencentcloud/organization/v20181225/models.py +285 -0
- tencentcloud/organization/v20210331/models.py +2267 -0
- tencentcloud/postgres/v20170312/models.py +3248 -0
- tencentcloud/privatedns/v20201028/errorcodes.py +34 -1
- tencentcloud/privatedns/v20201028/models.py +1700 -0
- tencentcloud/privatedns/v20201028/privatedns_client.py +115 -0
- tencentcloud/redis/v20180412/models.py +3298 -3
- tencentcloud/rum/v20210622/models.py +2114 -0
- tencentcloud/scf/v20180416/models.py +1561 -0
- tencentcloud/ses/v20201002/models.py +649 -0
- tencentcloud/sms/v20190711/models.py +575 -0
- tencentcloud/sms/v20210111/models.py +593 -0
- tencentcloud/sqlserver/v20180328/models.py +2780 -0
- tencentcloud/ssl/v20191205/models.py +2267 -0
- tencentcloud/ssm/v20190923/models.py +675 -11
- tencentcloud/sts/v20180813/models.py +161 -0
- tencentcloud/tag/v20180813/models.py +784 -0
- tencentcloud/tat/v20201028/models.py +806 -0
- tencentcloud/tcaplusdb/v20190823/models.py +1860 -0
- tencentcloud/tchd/v20230306/models.py +41 -0
- tencentcloud/tcmpp/v20240801/models.py +3761 -1
- tencentcloud/tcr/v20190924/models.py +1851 -0
- tencentcloud/tcss/v20201101/models.py +12523 -0
- tencentcloud/tdid/v20210519/models.py +1258 -0
- tencentcloud/tdmq/v20200217/models.py +3495 -0
- tencentcloud/tem/v20201221/models.py +803 -0
- tencentcloud/tem/v20210701/models.py +2551 -1
- tencentcloud/teo/v20220106/models.py +4731 -0
- tencentcloud/teo/v20220901/models.py +6066 -0
- tencentcloud/tiw/v20190919/models.py +1678 -1
- tencentcloud/tke/v20180525/models.py +3662 -0
- tencentcloud/tms/v20201229/models.py +176 -0
- tencentcloud/tmt/v20180321/models.py +65 -0
- tencentcloud/trtc/v20190722/models.py +1698 -8
- tencentcloud/tts/v20190823/models.py +72 -0
- tencentcloud/vm/v20201229/models.py +568 -0
- tencentcloud/vm/v20210922/models.py +636 -0
- tencentcloud/vod/v20180717/models.py +13490 -1
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/vpc/v20170312/models.py +6622 -1
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/waf/v20180125/models.py +4814 -0
- tencentcloud/wedata/v20210820/models.py +12594 -0
- tencentcloud/yunjing/v20180228/models.py +1867 -0
- {tencentcloud_sdk_python_intl_en-3.0.1075.dist-info → tencentcloud_sdk_python_intl_en-3.0.1077.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1075.dist-info → tencentcloud_sdk_python_intl_en-3.0.1077.dist-info}/RECORD +126 -126
- {tencentcloud_sdk_python_intl_en-3.0.1075.dist-info → tencentcloud_sdk_python_intl_en-3.0.1077.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1075.dist-info → tencentcloud_sdk_python_intl_en-3.0.1077.dist-info}/top_level.txt +0 -0
|
@@ -45,6 +45,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
45
45
|
|
|
46
46
|
@property
|
|
47
47
|
def Days(self):
|
|
48
|
+
"""Retains one latest snapshot each day within `Days` days. Value range: [0, 100].
|
|
49
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
50
|
+
:rtype: int
|
|
51
|
+
"""
|
|
48
52
|
return self._Days
|
|
49
53
|
|
|
50
54
|
@Days.setter
|
|
@@ -53,6 +57,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
53
57
|
|
|
54
58
|
@property
|
|
55
59
|
def Weeks(self):
|
|
60
|
+
"""Retains one latest snapshot each week within `Weeks` weeks. Value range: [0, 100].
|
|
61
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
62
|
+
:rtype: int
|
|
63
|
+
"""
|
|
56
64
|
return self._Weeks
|
|
57
65
|
|
|
58
66
|
@Weeks.setter
|
|
@@ -61,6 +69,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
61
69
|
|
|
62
70
|
@property
|
|
63
71
|
def Months(self):
|
|
72
|
+
"""Retains one latest snapshot each month within `Months` months. Value range: [0, 100].
|
|
73
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
74
|
+
:rtype: int
|
|
75
|
+
"""
|
|
64
76
|
return self._Months
|
|
65
77
|
|
|
66
78
|
@Months.setter
|
|
@@ -69,6 +81,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
69
81
|
|
|
70
82
|
@property
|
|
71
83
|
def Years(self):
|
|
84
|
+
"""Retains one latest snapshot each year within `Years` years. Value range: [0, 100].
|
|
85
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
86
|
+
:rtype: int
|
|
87
|
+
"""
|
|
72
88
|
return self._Years
|
|
73
89
|
|
|
74
90
|
@Years.setter
|
|
@@ -108,6 +124,9 @@ class ApplyDiskBackupRequest(AbstractModel):
|
|
|
108
124
|
|
|
109
125
|
@property
|
|
110
126
|
def DiskBackupId(self):
|
|
127
|
+
"""ID of the cloud disk backup point, which can be queried through the `DescribeDiskBackups` API.
|
|
128
|
+
:rtype: str
|
|
129
|
+
"""
|
|
111
130
|
return self._DiskBackupId
|
|
112
131
|
|
|
113
132
|
@DiskBackupId.setter
|
|
@@ -116,6 +135,9 @@ class ApplyDiskBackupRequest(AbstractModel):
|
|
|
116
135
|
|
|
117
136
|
@property
|
|
118
137
|
def DiskId(self):
|
|
138
|
+
"""ID of the original cloud disk of the backup point, which can be queried through the `DescribeDisks` API.
|
|
139
|
+
:rtype: str
|
|
140
|
+
"""
|
|
119
141
|
return self._DiskId
|
|
120
142
|
|
|
121
143
|
@DiskId.setter
|
|
@@ -150,6 +172,9 @@ class ApplyDiskBackupResponse(AbstractModel):
|
|
|
150
172
|
|
|
151
173
|
@property
|
|
152
174
|
def RequestId(self):
|
|
175
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
176
|
+
:rtype: str
|
|
177
|
+
"""
|
|
153
178
|
return self._RequestId
|
|
154
179
|
|
|
155
180
|
@RequestId.setter
|
|
@@ -184,6 +209,9 @@ class ApplySnapshotRequest(AbstractModel):
|
|
|
184
209
|
|
|
185
210
|
@property
|
|
186
211
|
def SnapshotId(self):
|
|
212
|
+
"""Snapshot ID, which can be queried via [DescribeSnapshots](https://intl.cloud.tencent.com/document/product/362/15647?from_cn_redirect=1).
|
|
213
|
+
:rtype: str
|
|
214
|
+
"""
|
|
187
215
|
return self._SnapshotId
|
|
188
216
|
|
|
189
217
|
@SnapshotId.setter
|
|
@@ -192,6 +220,9 @@ class ApplySnapshotRequest(AbstractModel):
|
|
|
192
220
|
|
|
193
221
|
@property
|
|
194
222
|
def DiskId(self):
|
|
223
|
+
"""ID of the original cloud disk corresponding to the snapshot, which can be queried via the API [DescribeDisks](https://intl.cloud.tencent.com/document/product/362/16315?from_cn_redirect=1).
|
|
224
|
+
:rtype: str
|
|
225
|
+
"""
|
|
195
226
|
return self._DiskId
|
|
196
227
|
|
|
197
228
|
@DiskId.setter
|
|
@@ -200,6 +231,9 @@ class ApplySnapshotRequest(AbstractModel):
|
|
|
200
231
|
|
|
201
232
|
@property
|
|
202
233
|
def AutoStopInstance(self):
|
|
234
|
+
"""Specifies whether to shut down a CVM automatically before a rollback
|
|
235
|
+
:rtype: bool
|
|
236
|
+
"""
|
|
203
237
|
return self._AutoStopInstance
|
|
204
238
|
|
|
205
239
|
@AutoStopInstance.setter
|
|
@@ -208,6 +242,9 @@ class ApplySnapshotRequest(AbstractModel):
|
|
|
208
242
|
|
|
209
243
|
@property
|
|
210
244
|
def AutoStartInstance(self):
|
|
245
|
+
"""Specifies whether to start up a CVM automatically after a rollback
|
|
246
|
+
:rtype: bool
|
|
247
|
+
"""
|
|
211
248
|
return self._AutoStartInstance
|
|
212
249
|
|
|
213
250
|
@AutoStartInstance.setter
|
|
@@ -244,6 +281,9 @@ class ApplySnapshotResponse(AbstractModel):
|
|
|
244
281
|
|
|
245
282
|
@property
|
|
246
283
|
def RequestId(self):
|
|
284
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
285
|
+
:rtype: str
|
|
286
|
+
"""
|
|
247
287
|
return self._RequestId
|
|
248
288
|
|
|
249
289
|
@RequestId.setter
|
|
@@ -275,6 +315,9 @@ class AttachDetail(AbstractModel):
|
|
|
275
315
|
|
|
276
316
|
@property
|
|
277
317
|
def InstanceId(self):
|
|
318
|
+
"""Instance ID
|
|
319
|
+
:rtype: str
|
|
320
|
+
"""
|
|
278
321
|
return self._InstanceId
|
|
279
322
|
|
|
280
323
|
@InstanceId.setter
|
|
@@ -283,6 +326,9 @@ class AttachDetail(AbstractModel):
|
|
|
283
326
|
|
|
284
327
|
@property
|
|
285
328
|
def AttachedDiskCount(self):
|
|
329
|
+
"""The number of instances mounted to data disk.
|
|
330
|
+
:rtype: int
|
|
331
|
+
"""
|
|
286
332
|
return self._AttachedDiskCount
|
|
287
333
|
|
|
288
334
|
@AttachedDiskCount.setter
|
|
@@ -291,6 +337,9 @@ class AttachDetail(AbstractModel):
|
|
|
291
337
|
|
|
292
338
|
@property
|
|
293
339
|
def MaxAttachCount(self):
|
|
340
|
+
"""The maximum number of instances that can be mounted to data disk.
|
|
341
|
+
:rtype: int
|
|
342
|
+
"""
|
|
294
343
|
return self._MaxAttachCount
|
|
295
344
|
|
|
296
345
|
@MaxAttachCount.setter
|
|
@@ -335,6 +384,9 @@ class AttachDisksRequest(AbstractModel):
|
|
|
335
384
|
|
|
336
385
|
@property
|
|
337
386
|
def InstanceId(self):
|
|
387
|
+
"""ID of the CVM instance on which the cloud disk will be mounted. It can be queried via the API [DescribeInstances](https://intl.cloud.tencent.com/document/product/213/15728?from_cn_redirect=1).
|
|
388
|
+
:rtype: str
|
|
389
|
+
"""
|
|
338
390
|
return self._InstanceId
|
|
339
391
|
|
|
340
392
|
@InstanceId.setter
|
|
@@ -343,6 +395,9 @@ class AttachDisksRequest(AbstractModel):
|
|
|
343
395
|
|
|
344
396
|
@property
|
|
345
397
|
def DiskIds(self):
|
|
398
|
+
"""ID of the elastic cloud disk to be mounted, which can be queried through the API [DescribeDisks](https://intl.cloud.tencent.com/document/product/362/16315?from_cn_redirect=1). A maximum of 10 elastic cloud disks can be mounted in a single request.
|
|
399
|
+
:rtype: list of str
|
|
400
|
+
"""
|
|
346
401
|
return self._DiskIds
|
|
347
402
|
|
|
348
403
|
@DiskIds.setter
|
|
@@ -351,6 +406,9 @@ class AttachDisksRequest(AbstractModel):
|
|
|
351
406
|
|
|
352
407
|
@property
|
|
353
408
|
def DeleteWithInstance(self):
|
|
409
|
+
"""Optional parameter. If this is not passed only the mount operation is executed. If `True` is passed, the cloud disk will be configured to be terminated when the server it is mounted to is terminated. This is only valid for pay-as-you-go cloud disks.
|
|
410
|
+
:rtype: bool
|
|
411
|
+
"""
|
|
354
412
|
return self._DeleteWithInstance
|
|
355
413
|
|
|
356
414
|
@DeleteWithInstance.setter
|
|
@@ -359,6 +417,9 @@ class AttachDisksRequest(AbstractModel):
|
|
|
359
417
|
|
|
360
418
|
@property
|
|
361
419
|
def AttachMode(self):
|
|
420
|
+
"""(Optional) Specifies the cloud disk mounting method. It’s only valid for BM models. Valid values: <br><li>PF<br><li>VF
|
|
421
|
+
:rtype: str
|
|
422
|
+
"""
|
|
362
423
|
return self._AttachMode
|
|
363
424
|
|
|
364
425
|
@AttachMode.setter
|
|
@@ -395,6 +456,9 @@ class AttachDisksResponse(AbstractModel):
|
|
|
395
456
|
|
|
396
457
|
@property
|
|
397
458
|
def RequestId(self):
|
|
459
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
460
|
+
:rtype: str
|
|
461
|
+
"""
|
|
398
462
|
return self._RequestId
|
|
399
463
|
|
|
400
464
|
@RequestId.setter
|
|
@@ -426,6 +490,9 @@ class AutoMountConfiguration(AbstractModel):
|
|
|
426
490
|
|
|
427
491
|
@property
|
|
428
492
|
def InstanceId(self):
|
|
493
|
+
"""ID of the instance to which the cloud disk is attached.
|
|
494
|
+
:rtype: list of str
|
|
495
|
+
"""
|
|
429
496
|
return self._InstanceId
|
|
430
497
|
|
|
431
498
|
@InstanceId.setter
|
|
@@ -434,6 +501,9 @@ class AutoMountConfiguration(AbstractModel):
|
|
|
434
501
|
|
|
435
502
|
@property
|
|
436
503
|
def MountPoint(self):
|
|
504
|
+
"""Mount point in the instance.
|
|
505
|
+
:rtype: list of str
|
|
506
|
+
"""
|
|
437
507
|
return self._MountPoint
|
|
438
508
|
|
|
439
509
|
@MountPoint.setter
|
|
@@ -442,6 +512,9 @@ class AutoMountConfiguration(AbstractModel):
|
|
|
442
512
|
|
|
443
513
|
@property
|
|
444
514
|
def FileSystemType(self):
|
|
515
|
+
"""File system type. Valid values: `ext4`, `xfs`.
|
|
516
|
+
:rtype: str
|
|
517
|
+
"""
|
|
445
518
|
return self._FileSystemType
|
|
446
519
|
|
|
447
520
|
@FileSystemType.setter
|
|
@@ -536,6 +609,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
536
609
|
|
|
537
610
|
@property
|
|
538
611
|
def DiskIdSet(self):
|
|
612
|
+
"""The list of cloud disk IDs that the current scheduled snapshot policy is bound to.
|
|
613
|
+
:rtype: list of str
|
|
614
|
+
"""
|
|
539
615
|
return self._DiskIdSet
|
|
540
616
|
|
|
541
617
|
@DiskIdSet.setter
|
|
@@ -544,6 +620,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
544
620
|
|
|
545
621
|
@property
|
|
546
622
|
def IsActivated(self):
|
|
623
|
+
"""Whether scheduled snapshot policy is activated.
|
|
624
|
+
:rtype: bool
|
|
625
|
+
"""
|
|
547
626
|
return self._IsActivated
|
|
548
627
|
|
|
549
628
|
@IsActivated.setter
|
|
@@ -552,6 +631,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
552
631
|
|
|
553
632
|
@property
|
|
554
633
|
def AutoSnapshotPolicyState(self):
|
|
634
|
+
"""Scheduled snapshot policy state. Value range:<br><li>NORMAL: Normal<br><li>ISOLATED: Isolated.
|
|
635
|
+
:rtype: str
|
|
636
|
+
"""
|
|
555
637
|
return self._AutoSnapshotPolicyState
|
|
556
638
|
|
|
557
639
|
@AutoSnapshotPolicyState.setter
|
|
@@ -560,6 +642,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
560
642
|
|
|
561
643
|
@property
|
|
562
644
|
def IsCopyToRemote(self):
|
|
645
|
+
"""Whether it is to replicate a snapshot across accounts. `1`: yes, `0`: no.
|
|
646
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
647
|
+
:rtype: int
|
|
648
|
+
"""
|
|
563
649
|
return self._IsCopyToRemote
|
|
564
650
|
|
|
565
651
|
@IsCopyToRemote.setter
|
|
@@ -568,6 +654,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
568
654
|
|
|
569
655
|
@property
|
|
570
656
|
def IsPermanent(self):
|
|
657
|
+
"""Whether the snapshot created by this scheduled snapshot policy is retained permanently.
|
|
658
|
+
:rtype: bool
|
|
659
|
+
"""
|
|
571
660
|
return self._IsPermanent
|
|
572
661
|
|
|
573
662
|
@IsPermanent.setter
|
|
@@ -576,6 +665,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
576
665
|
|
|
577
666
|
@property
|
|
578
667
|
def NextTriggerTime(self):
|
|
668
|
+
"""The time the scheduled snapshot will be triggered again.
|
|
669
|
+
:rtype: str
|
|
670
|
+
"""
|
|
579
671
|
return self._NextTriggerTime
|
|
580
672
|
|
|
581
673
|
@NextTriggerTime.setter
|
|
@@ -584,6 +676,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
584
676
|
|
|
585
677
|
@property
|
|
586
678
|
def AutoSnapshotPolicyName(self):
|
|
679
|
+
"""Scheduled snapshot policy name.
|
|
680
|
+
:rtype: str
|
|
681
|
+
"""
|
|
587
682
|
return self._AutoSnapshotPolicyName
|
|
588
683
|
|
|
589
684
|
@AutoSnapshotPolicyName.setter
|
|
@@ -592,6 +687,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
592
687
|
|
|
593
688
|
@property
|
|
594
689
|
def AutoSnapshotPolicyId(self):
|
|
690
|
+
"""Scheduled snapshot policy ID.
|
|
691
|
+
:rtype: str
|
|
692
|
+
"""
|
|
595
693
|
return self._AutoSnapshotPolicyId
|
|
596
694
|
|
|
597
695
|
@AutoSnapshotPolicyId.setter
|
|
@@ -600,6 +698,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
600
698
|
|
|
601
699
|
@property
|
|
602
700
|
def Policy(self):
|
|
701
|
+
"""The policy for executing the scheduled snapshot.
|
|
702
|
+
:rtype: list of Policy
|
|
703
|
+
"""
|
|
603
704
|
return self._Policy
|
|
604
705
|
|
|
605
706
|
@Policy.setter
|
|
@@ -608,6 +709,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
608
709
|
|
|
609
710
|
@property
|
|
610
711
|
def CreateTime(self):
|
|
712
|
+
"""The time the scheduled snapshot policy was created.
|
|
713
|
+
:rtype: str
|
|
714
|
+
"""
|
|
611
715
|
return self._CreateTime
|
|
612
716
|
|
|
613
717
|
@CreateTime.setter
|
|
@@ -616,6 +720,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
616
720
|
|
|
617
721
|
@property
|
|
618
722
|
def RetentionDays(self):
|
|
723
|
+
"""Number of days the snapshot created by this scheduled snapshot policy is retained.
|
|
724
|
+
:rtype: int
|
|
725
|
+
"""
|
|
619
726
|
return self._RetentionDays
|
|
620
727
|
|
|
621
728
|
@RetentionDays.setter
|
|
@@ -624,6 +731,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
624
731
|
|
|
625
732
|
@property
|
|
626
733
|
def CopyToAccountUin(self):
|
|
734
|
+
"""ID of the replication target account
|
|
735
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
736
|
+
:rtype: str
|
|
737
|
+
"""
|
|
627
738
|
return self._CopyToAccountUin
|
|
628
739
|
|
|
629
740
|
@CopyToAccountUin.setter
|
|
@@ -632,6 +743,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
632
743
|
|
|
633
744
|
@property
|
|
634
745
|
def InstanceIdSet(self):
|
|
746
|
+
"""List of IDs of the instances associated with the scheduled snapshot policy.
|
|
747
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
748
|
+
:rtype: list of str
|
|
749
|
+
"""
|
|
635
750
|
return self._InstanceIdSet
|
|
636
751
|
|
|
637
752
|
@InstanceIdSet.setter
|
|
@@ -640,6 +755,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
640
755
|
|
|
641
756
|
@property
|
|
642
757
|
def RetentionMonths(self):
|
|
758
|
+
"""The number of months for which the snapshots created by this scheduled snapshot policy can be retained.
|
|
759
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
760
|
+
:rtype: int
|
|
761
|
+
"""
|
|
643
762
|
return self._RetentionMonths
|
|
644
763
|
|
|
645
764
|
@RetentionMonths.setter
|
|
@@ -648,6 +767,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
648
767
|
|
|
649
768
|
@property
|
|
650
769
|
def RetentionAmount(self):
|
|
770
|
+
"""The maximum number of snapshots created by this scheduled snapshot policy that can be retained.
|
|
771
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
772
|
+
:rtype: int
|
|
773
|
+
"""
|
|
651
774
|
return self._RetentionAmount
|
|
652
775
|
|
|
653
776
|
@RetentionAmount.setter
|
|
@@ -656,6 +779,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
656
779
|
|
|
657
780
|
@property
|
|
658
781
|
def AdvancedRetentionPolicy(self):
|
|
782
|
+
"""Retention policy for scheduled snapshots.
|
|
783
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
784
|
+
:rtype: :class:`tencentcloud.cbs.v20170312.models.AdvancedRetentionPolicy`
|
|
785
|
+
"""
|
|
659
786
|
return self._AdvancedRetentionPolicy
|
|
660
787
|
|
|
661
788
|
@AdvancedRetentionPolicy.setter
|
|
@@ -664,6 +791,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
664
791
|
|
|
665
792
|
@property
|
|
666
793
|
def CopyFromAccountUin(self):
|
|
794
|
+
"""Source account ID of the copied snapshot policy
|
|
795
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
796
|
+
:rtype: str
|
|
797
|
+
"""
|
|
667
798
|
return self._CopyFromAccountUin
|
|
668
799
|
|
|
669
800
|
@CopyFromAccountUin.setter
|
|
@@ -672,6 +803,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
672
803
|
|
|
673
804
|
@property
|
|
674
805
|
def Tags(self):
|
|
806
|
+
"""Tag.
|
|
807
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
808
|
+
:rtype: list of Tag
|
|
809
|
+
"""
|
|
675
810
|
return self._Tags
|
|
676
811
|
|
|
677
812
|
@Tags.setter
|
|
@@ -737,6 +872,9 @@ class BindAutoSnapshotPolicyRequest(AbstractModel):
|
|
|
737
872
|
|
|
738
873
|
@property
|
|
739
874
|
def AutoSnapshotPolicyId(self):
|
|
875
|
+
"""ID of scheduled snapshot policy to be bound.
|
|
876
|
+
:rtype: str
|
|
877
|
+
"""
|
|
740
878
|
return self._AutoSnapshotPolicyId
|
|
741
879
|
|
|
742
880
|
@AutoSnapshotPolicyId.setter
|
|
@@ -745,6 +883,9 @@ class BindAutoSnapshotPolicyRequest(AbstractModel):
|
|
|
745
883
|
|
|
746
884
|
@property
|
|
747
885
|
def DiskIds(self):
|
|
886
|
+
"""List of cloud disk IDs to be bound. Maximum of 80 cloud disks can be bound per request.
|
|
887
|
+
:rtype: list of str
|
|
888
|
+
"""
|
|
748
889
|
return self._DiskIds
|
|
749
890
|
|
|
750
891
|
@DiskIds.setter
|
|
@@ -779,6 +920,9 @@ class BindAutoSnapshotPolicyResponse(AbstractModel):
|
|
|
779
920
|
|
|
780
921
|
@property
|
|
781
922
|
def RequestId(self):
|
|
923
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
924
|
+
:rtype: str
|
|
925
|
+
"""
|
|
782
926
|
return self._RequestId
|
|
783
927
|
|
|
784
928
|
@RequestId.setter
|
|
@@ -810,6 +954,9 @@ class CopySnapshotCrossRegionsRequest(AbstractModel):
|
|
|
810
954
|
|
|
811
955
|
@property
|
|
812
956
|
def DestinationRegions(self):
|
|
957
|
+
"""Destination regions of the replication task. You can query the value of regions by calling [DescribeRegions](https://intl.cloud.tencent.com/document/product/213/9456?from_cn_redirect=1) API. Note that you can only specify regions that support snapshots.
|
|
958
|
+
:rtype: list of str
|
|
959
|
+
"""
|
|
813
960
|
return self._DestinationRegions
|
|
814
961
|
|
|
815
962
|
@DestinationRegions.setter
|
|
@@ -818,6 +965,9 @@ class CopySnapshotCrossRegionsRequest(AbstractModel):
|
|
|
818
965
|
|
|
819
966
|
@property
|
|
820
967
|
def SnapshotId(self):
|
|
968
|
+
"""Snapshot ID, which can be queried via the [DescribeSnapshots](https://intl.cloud.tencent.com/document/product/362/15647?from_cn_redirect=1) API.
|
|
969
|
+
:rtype: str
|
|
970
|
+
"""
|
|
821
971
|
return self._SnapshotId
|
|
822
972
|
|
|
823
973
|
@SnapshotId.setter
|
|
@@ -826,6 +976,9 @@ class CopySnapshotCrossRegionsRequest(AbstractModel):
|
|
|
826
976
|
|
|
827
977
|
@property
|
|
828
978
|
def SnapshotName(self):
|
|
979
|
+
"""Name of the snapshot replica. If it’s not specified, it defaults to “Copied [source snapshot ID from [region name]”
|
|
980
|
+
:rtype: str
|
|
981
|
+
"""
|
|
829
982
|
return self._SnapshotName
|
|
830
983
|
|
|
831
984
|
@SnapshotName.setter
|
|
@@ -864,6 +1017,9 @@ class CopySnapshotCrossRegionsResponse(AbstractModel):
|
|
|
864
1017
|
|
|
865
1018
|
@property
|
|
866
1019
|
def SnapshotCopyResultSet(self):
|
|
1020
|
+
"""Result of the cross-region replication task. The ID of the new snapshot replica is returned if the request succeeds. Otherwise `Error` is returned.
|
|
1021
|
+
:rtype: list of SnapshotCopyResult
|
|
1022
|
+
"""
|
|
867
1023
|
return self._SnapshotCopyResultSet
|
|
868
1024
|
|
|
869
1025
|
@SnapshotCopyResultSet.setter
|
|
@@ -872,6 +1028,9 @@ class CopySnapshotCrossRegionsResponse(AbstractModel):
|
|
|
872
1028
|
|
|
873
1029
|
@property
|
|
874
1030
|
def RequestId(self):
|
|
1031
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1032
|
+
:rtype: str
|
|
1033
|
+
"""
|
|
875
1034
|
return self._RequestId
|
|
876
1035
|
|
|
877
1036
|
@RequestId.setter
|
|
@@ -918,6 +1077,9 @@ class CreateAutoSnapshotPolicyRequest(AbstractModel):
|
|
|
918
1077
|
|
|
919
1078
|
@property
|
|
920
1079
|
def Policy(self):
|
|
1080
|
+
"""The policy for executing the scheduled snapshot.
|
|
1081
|
+
:rtype: list of Policy
|
|
1082
|
+
"""
|
|
921
1083
|
return self._Policy
|
|
922
1084
|
|
|
923
1085
|
@Policy.setter
|
|
@@ -926,6 +1088,9 @@ class CreateAutoSnapshotPolicyRequest(AbstractModel):
|
|
|
926
1088
|
|
|
927
1089
|
@property
|
|
928
1090
|
def AutoSnapshotPolicyName(self):
|
|
1091
|
+
"""The name of the scheduled snapshot policy to be created. If it is left empty, the default is 'Not named'. The maximum length cannot exceed 60 bytes.
|
|
1092
|
+
:rtype: str
|
|
1093
|
+
"""
|
|
929
1094
|
return self._AutoSnapshotPolicyName
|
|
930
1095
|
|
|
931
1096
|
@AutoSnapshotPolicyName.setter
|
|
@@ -934,6 +1099,9 @@ class CreateAutoSnapshotPolicyRequest(AbstractModel):
|
|
|
934
1099
|
|
|
935
1100
|
@property
|
|
936
1101
|
def IsActivated(self):
|
|
1102
|
+
"""Whether or not the scheduled snapshot policy is activated. FALSE: Not activated. TRUE: Activated. The default value is TRUE.
|
|
1103
|
+
:rtype: bool
|
|
1104
|
+
"""
|
|
937
1105
|
return self._IsActivated
|
|
938
1106
|
|
|
939
1107
|
@IsActivated.setter
|
|
@@ -942,6 +1110,9 @@ class CreateAutoSnapshotPolicyRequest(AbstractModel):
|
|
|
942
1110
|
|
|
943
1111
|
@property
|
|
944
1112
|
def IsPermanent(self):
|
|
1113
|
+
"""Whether the snapshot created by this scheduled snapshot policy is retained permanently. FALSE: Not retained permanently. TRUE: Retained permanently. The default value is FALSE.
|
|
1114
|
+
:rtype: bool
|
|
1115
|
+
"""
|
|
945
1116
|
return self._IsPermanent
|
|
946
1117
|
|
|
947
1118
|
@IsPermanent.setter
|
|
@@ -950,6 +1121,9 @@ class CreateAutoSnapshotPolicyRequest(AbstractModel):
|
|
|
950
1121
|
|
|
951
1122
|
@property
|
|
952
1123
|
def RetentionDays(self):
|
|
1124
|
+
"""The number of days that a snapshot created by this scheduled snapshot policy is retained. The default value is 7. If this parameter is specified, the IsPermanent input parameter can not be TRUE, otherwise a conflict will occur.
|
|
1125
|
+
:rtype: int
|
|
1126
|
+
"""
|
|
953
1127
|
return self._RetentionDays
|
|
954
1128
|
|
|
955
1129
|
@RetentionDays.setter
|
|
@@ -958,6 +1132,9 @@ class CreateAutoSnapshotPolicyRequest(AbstractModel):
|
|
|
958
1132
|
|
|
959
1133
|
@property
|
|
960
1134
|
def DryRun(self):
|
|
1135
|
+
"""Whether to create an execution policy for the scheduled snapshot. TRUE: Only the time of the initial backup needs to be obtained, and no scheduled snapshot policy is actually created. FALSE: Create. The default value is FALSE.
|
|
1136
|
+
:rtype: bool
|
|
1137
|
+
"""
|
|
961
1138
|
return self._DryRun
|
|
962
1139
|
|
|
963
1140
|
@DryRun.setter
|
|
@@ -1007,6 +1184,9 @@ class CreateAutoSnapshotPolicyResponse(AbstractModel):
|
|
|
1007
1184
|
|
|
1008
1185
|
@property
|
|
1009
1186
|
def AutoSnapshotPolicyId(self):
|
|
1187
|
+
"""The ID of the newly created scheduled snapshot policy.
|
|
1188
|
+
:rtype: str
|
|
1189
|
+
"""
|
|
1010
1190
|
return self._AutoSnapshotPolicyId
|
|
1011
1191
|
|
|
1012
1192
|
@AutoSnapshotPolicyId.setter
|
|
@@ -1015,6 +1195,9 @@ class CreateAutoSnapshotPolicyResponse(AbstractModel):
|
|
|
1015
1195
|
|
|
1016
1196
|
@property
|
|
1017
1197
|
def NextTriggerTime(self):
|
|
1198
|
+
"""The time that initial backup will start.
|
|
1199
|
+
:rtype: str
|
|
1200
|
+
"""
|
|
1018
1201
|
return self._NextTriggerTime
|
|
1019
1202
|
|
|
1020
1203
|
@NextTriggerTime.setter
|
|
@@ -1023,6 +1206,9 @@ class CreateAutoSnapshotPolicyResponse(AbstractModel):
|
|
|
1023
1206
|
|
|
1024
1207
|
@property
|
|
1025
1208
|
def RequestId(self):
|
|
1209
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1210
|
+
:rtype: str
|
|
1211
|
+
"""
|
|
1026
1212
|
return self._RequestId
|
|
1027
1213
|
|
|
1028
1214
|
@RequestId.setter
|
|
@@ -1053,6 +1239,9 @@ class CreateDiskBackupRequest(AbstractModel):
|
|
|
1053
1239
|
|
|
1054
1240
|
@property
|
|
1055
1241
|
def DiskId(self):
|
|
1242
|
+
"""Name of the cloud disk for which to create a backup point.
|
|
1243
|
+
:rtype: str
|
|
1244
|
+
"""
|
|
1056
1245
|
return self._DiskId
|
|
1057
1246
|
|
|
1058
1247
|
@DiskId.setter
|
|
@@ -1061,6 +1250,9 @@ class CreateDiskBackupRequest(AbstractModel):
|
|
|
1061
1250
|
|
|
1062
1251
|
@property
|
|
1063
1252
|
def DiskBackupName(self):
|
|
1253
|
+
"""Name of the cloud disk backup point, which can contain up to 100 characters.
|
|
1254
|
+
:rtype: str
|
|
1255
|
+
"""
|
|
1064
1256
|
return self._DiskBackupName
|
|
1065
1257
|
|
|
1066
1258
|
@DiskBackupName.setter
|
|
@@ -1098,6 +1290,9 @@ class CreateDiskBackupResponse(AbstractModel):
|
|
|
1098
1290
|
|
|
1099
1291
|
@property
|
|
1100
1292
|
def DiskBackupId(self):
|
|
1293
|
+
"""ID of the cloud disk backup point.
|
|
1294
|
+
:rtype: str
|
|
1295
|
+
"""
|
|
1101
1296
|
return self._DiskBackupId
|
|
1102
1297
|
|
|
1103
1298
|
@DiskBackupId.setter
|
|
@@ -1106,6 +1301,9 @@ class CreateDiskBackupResponse(AbstractModel):
|
|
|
1106
1301
|
|
|
1107
1302
|
@property
|
|
1108
1303
|
def RequestId(self):
|
|
1304
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1305
|
+
:rtype: str
|
|
1306
|
+
"""
|
|
1109
1307
|
return self._RequestId
|
|
1110
1308
|
|
|
1111
1309
|
@RequestId.setter
|
|
@@ -1180,6 +1378,9 @@ class CreateDisksRequest(AbstractModel):
|
|
|
1180
1378
|
|
|
1181
1379
|
@property
|
|
1182
1380
|
def Placement(self):
|
|
1381
|
+
"""Location of the instance. You can use this parameter to specify the attributes of the instance, such as its availability zone and project. If no project is specified, the default project will be used.
|
|
1382
|
+
:rtype: :class:`tencentcloud.cbs.v20170312.models.Placement`
|
|
1383
|
+
"""
|
|
1183
1384
|
return self._Placement
|
|
1184
1385
|
|
|
1185
1386
|
@Placement.setter
|
|
@@ -1188,6 +1389,9 @@ class CreateDisksRequest(AbstractModel):
|
|
|
1188
1389
|
|
|
1189
1390
|
@property
|
|
1190
1391
|
def DiskChargeType(self):
|
|
1392
|
+
"""Cloud disk billing mode. POSTPAID_BY_HOUR: Pay-as-you-go by hour<br><li>CDCPAID: Billed together with the bound dedicated cluster<br>For more information on the pricing in each mode, see [Pricing Overview](https://intl.cloud.tencent.com/document/product/362/2413?from_cn_redirect=1).
|
|
1393
|
+
:rtype: str
|
|
1394
|
+
"""
|
|
1191
1395
|
return self._DiskChargeType
|
|
1192
1396
|
|
|
1193
1397
|
@DiskChargeType.setter
|
|
@@ -1196,6 +1400,9 @@ class CreateDisksRequest(AbstractModel):
|
|
|
1196
1400
|
|
|
1197
1401
|
@property
|
|
1198
1402
|
def DiskType(self):
|
|
1403
|
+
"""Cloud disk media type. Valid values: <br><li>CLOUD_BASIC: HDD Cloud Storage<br><li>CLOUD_PREMIUM: Premium Cloud Disk<br><li>CLOUD_BSSD: Balanced SSD<br><li>CLOUD_SSD: SSD<br><li>CLOUD_HSSD: Enhanced SSD<br><li>CLOUD_TSSD: ulTra SSD.
|
|
1404
|
+
:rtype: str
|
|
1405
|
+
"""
|
|
1199
1406
|
return self._DiskType
|
|
1200
1407
|
|
|
1201
1408
|
@DiskType.setter
|
|
@@ -1204,6 +1411,9 @@ class CreateDisksRequest(AbstractModel):
|
|
|
1204
1411
|
|
|
1205
1412
|
@property
|
|
1206
1413
|
def DiskName(self):
|
|
1414
|
+
"""Cloud disk name. If it is not specified, "Unnamed" will be used by default. The maximum length is 60 bytes.
|
|
1415
|
+
:rtype: str
|
|
1416
|
+
"""
|
|
1207
1417
|
return self._DiskName
|
|
1208
1418
|
|
|
1209
1419
|
@DiskName.setter
|
|
@@ -1212,6 +1422,9 @@ class CreateDisksRequest(AbstractModel):
|
|
|
1212
1422
|
|
|
1213
1423
|
@property
|
|
1214
1424
|
def Tags(self):
|
|
1425
|
+
"""Tags bound to the cloud disk.
|
|
1426
|
+
:rtype: list of Tag
|
|
1427
|
+
"""
|
|
1215
1428
|
return self._Tags
|
|
1216
1429
|
|
|
1217
1430
|
@Tags.setter
|
|
@@ -1220,6 +1433,9 @@ class CreateDisksRequest(AbstractModel):
|
|
|
1220
1433
|
|
|
1221
1434
|
@property
|
|
1222
1435
|
def SnapshotId(self):
|
|
1436
|
+
"""Snapshot ID. If this parameter is specified, the cloud disk will be created based on the snapshot. The snapshot must be a data disk snapshot. To query the type of a snapshot, call the [DescribeSnapshots](https://intl.cloud.tencent.com/document/product/362/15647?from_cn_redirect=1) API and see the `DiskUsage` field in the response.
|
|
1437
|
+
:rtype: str
|
|
1438
|
+
"""
|
|
1223
1439
|
return self._SnapshotId
|
|
1224
1440
|
|
|
1225
1441
|
@SnapshotId.setter
|
|
@@ -1228,6 +1444,9 @@ class CreateDisksRequest(AbstractModel):
|
|
|
1228
1444
|
|
|
1229
1445
|
@property
|
|
1230
1446
|
def DiskCount(self):
|
|
1447
|
+
"""Number of cloud disks to be created. If it is not specified, `1` will be used by default. There is an upper limit on the maximum number of cloud disks that can be created in a single request. For more information, see [Use Limits](https://intl.cloud.tencent.com/doc/product/362/5145?from_cn_redirect=1).
|
|
1448
|
+
:rtype: int
|
|
1449
|
+
"""
|
|
1231
1450
|
return self._DiskCount
|
|
1232
1451
|
|
|
1233
1452
|
@DiskCount.setter
|
|
@@ -1236,6 +1455,9 @@ class CreateDisksRequest(AbstractModel):
|
|
|
1236
1455
|
|
|
1237
1456
|
@property
|
|
1238
1457
|
def ThroughputPerformance(self):
|
|
1458
|
+
"""Extra performance purchased for a cloud disk.<br>This optional parameter is only valid for ulTra SSD (CLOUD_TSSD) and Enhanced SSD (CLOUD_HSSD).
|
|
1459
|
+
:rtype: int
|
|
1460
|
+
"""
|
|
1239
1461
|
return self._ThroughputPerformance
|
|
1240
1462
|
|
|
1241
1463
|
@ThroughputPerformance.setter
|
|
@@ -1244,6 +1466,9 @@ class CreateDisksRequest(AbstractModel):
|
|
|
1244
1466
|
|
|
1245
1467
|
@property
|
|
1246
1468
|
def DiskSize(self):
|
|
1469
|
+
"""Cloud disk size in GB. <br><li>`DiskSize` is not required if `SnapshotId` is specified. In this case, the size of the cloud disk will be equal to that of the snapshot. <br><li>If you specify both `SnapshotId` and `DiskSize`, the specified disk size cannot be smaller than the snapshot size. <br><li>For the value range of cloud disk size, see [Cloud Disk Types](https://intl.cloud.tencent.com/document/product/362/2353?from_cn_redirect=1).
|
|
1470
|
+
:rtype: int
|
|
1471
|
+
"""
|
|
1247
1472
|
return self._DiskSize
|
|
1248
1473
|
|
|
1249
1474
|
@DiskSize.setter
|
|
@@ -1252,6 +1477,9 @@ class CreateDisksRequest(AbstractModel):
|
|
|
1252
1477
|
|
|
1253
1478
|
@property
|
|
1254
1479
|
def Shareable(self):
|
|
1480
|
+
"""Optional parameter. Default value: `False`. If `True` is specified, the new cloud disk will be shared.
|
|
1481
|
+
:rtype: bool
|
|
1482
|
+
"""
|
|
1255
1483
|
return self._Shareable
|
|
1256
1484
|
|
|
1257
1485
|
@Shareable.setter
|
|
@@ -1260,6 +1488,9 @@ class CreateDisksRequest(AbstractModel):
|
|
|
1260
1488
|
|
|
1261
1489
|
@property
|
|
1262
1490
|
def ClientToken(self):
|
|
1491
|
+
"""A unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idempotency of the request cannot be guaranteed.
|
|
1492
|
+
:rtype: str
|
|
1493
|
+
"""
|
|
1263
1494
|
return self._ClientToken
|
|
1264
1495
|
|
|
1265
1496
|
@ClientToken.setter
|
|
@@ -1268,6 +1499,9 @@ class CreateDisksRequest(AbstractModel):
|
|
|
1268
1499
|
|
|
1269
1500
|
@property
|
|
1270
1501
|
def Encrypt(self):
|
|
1502
|
+
"""This parameter is used to create encrypted cloud disks. It is fixed at `ENCRYPT`.
|
|
1503
|
+
:rtype: str
|
|
1504
|
+
"""
|
|
1271
1505
|
return self._Encrypt
|
|
1272
1506
|
|
|
1273
1507
|
@Encrypt.setter
|
|
@@ -1276,6 +1510,9 @@ class CreateDisksRequest(AbstractModel):
|
|
|
1276
1510
|
|
|
1277
1511
|
@property
|
|
1278
1512
|
def DiskChargePrepaid(self):
|
|
1513
|
+
"""Relevant parameter settings for the prepaid mode (i.e., monthly subscription). The monthly subscription cloud disk purchase attributes such as usage period and whether or not auto-renewal is set up can be specified using this parameter. <br>This parameter is required when creating a prepaid cloud disk. This parameter is not required when creating an hourly postpaid cloud disk.
|
|
1514
|
+
:rtype: :class:`tencentcloud.cbs.v20170312.models.DiskChargePrepaid`
|
|
1515
|
+
"""
|
|
1279
1516
|
return self._DiskChargePrepaid
|
|
1280
1517
|
|
|
1281
1518
|
@DiskChargePrepaid.setter
|
|
@@ -1284,6 +1521,9 @@ class CreateDisksRequest(AbstractModel):
|
|
|
1284
1521
|
|
|
1285
1522
|
@property
|
|
1286
1523
|
def DeleteSnapshot(self):
|
|
1524
|
+
"""Whether to delete the associated non-permanently reserved snapshots upon deletion of the source cloud disk. `0`: No (default value). `1`: Yes. To check whether a snapshot is permanently reserved, see the `IsPermanent` field returned by the `DescribeSnapshots` API.
|
|
1525
|
+
:rtype: int
|
|
1526
|
+
"""
|
|
1287
1527
|
return self._DeleteSnapshot
|
|
1288
1528
|
|
|
1289
1529
|
@DeleteSnapshot.setter
|
|
@@ -1292,6 +1532,9 @@ class CreateDisksRequest(AbstractModel):
|
|
|
1292
1532
|
|
|
1293
1533
|
@property
|
|
1294
1534
|
def AutoMountConfiguration(self):
|
|
1535
|
+
"""Specifies whether to automatically attach and initialize the newly created data disk.
|
|
1536
|
+
:rtype: :class:`tencentcloud.cbs.v20170312.models.AutoMountConfiguration`
|
|
1537
|
+
"""
|
|
1295
1538
|
return self._AutoMountConfiguration
|
|
1296
1539
|
|
|
1297
1540
|
@AutoMountConfiguration.setter
|
|
@@ -1300,6 +1543,9 @@ class CreateDisksRequest(AbstractModel):
|
|
|
1300
1543
|
|
|
1301
1544
|
@property
|
|
1302
1545
|
def DiskBackupQuota(self):
|
|
1546
|
+
"""Specifies the cloud disk backup point quota.
|
|
1547
|
+
:rtype: int
|
|
1548
|
+
"""
|
|
1303
1549
|
return self._DiskBackupQuota
|
|
1304
1550
|
|
|
1305
1551
|
@DiskBackupQuota.setter
|
|
@@ -1308,6 +1554,9 @@ class CreateDisksRequest(AbstractModel):
|
|
|
1308
1554
|
|
|
1309
1555
|
@property
|
|
1310
1556
|
def BurstPerformance(self):
|
|
1557
|
+
"""Specifies whether to enable disk bursting.
|
|
1558
|
+
:rtype: bool
|
|
1559
|
+
"""
|
|
1311
1560
|
return self._BurstPerformance
|
|
1312
1561
|
|
|
1313
1562
|
@BurstPerformance.setter
|
|
@@ -1371,6 +1620,9 @@ class CreateDisksResponse(AbstractModel):
|
|
|
1371
1620
|
|
|
1372
1621
|
@property
|
|
1373
1622
|
def DiskIdSet(self):
|
|
1623
|
+
"""ID list of the created cloud disks. Note: This field may return null, indicating that no valid values can be obtained.
|
|
1624
|
+
:rtype: list of str
|
|
1625
|
+
"""
|
|
1374
1626
|
return self._DiskIdSet
|
|
1375
1627
|
|
|
1376
1628
|
@DiskIdSet.setter
|
|
@@ -1379,6 +1631,9 @@ class CreateDisksResponse(AbstractModel):
|
|
|
1379
1631
|
|
|
1380
1632
|
@property
|
|
1381
1633
|
def RequestId(self):
|
|
1634
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1635
|
+
:rtype: str
|
|
1636
|
+
"""
|
|
1382
1637
|
return self._RequestId
|
|
1383
1638
|
|
|
1384
1639
|
@RequestId.setter
|
|
@@ -1417,6 +1672,9 @@ class CreateSnapshotRequest(AbstractModel):
|
|
|
1417
1672
|
|
|
1418
1673
|
@property
|
|
1419
1674
|
def DiskId(self):
|
|
1675
|
+
"""ID of the cloud disk for which to create a snapshot, which can be queried through the [DescribeDisks](https://intl.cloud.tencent.com/document/product/362/16315?from_cn_redirect=1) API.
|
|
1676
|
+
:rtype: str
|
|
1677
|
+
"""
|
|
1420
1678
|
return self._DiskId
|
|
1421
1679
|
|
|
1422
1680
|
@DiskId.setter
|
|
@@ -1425,6 +1683,9 @@ class CreateSnapshotRequest(AbstractModel):
|
|
|
1425
1683
|
|
|
1426
1684
|
@property
|
|
1427
1685
|
def SnapshotName(self):
|
|
1686
|
+
"""Snapshot name. If it is not specified, "Unnamed" will be used by default.
|
|
1687
|
+
:rtype: str
|
|
1688
|
+
"""
|
|
1428
1689
|
return self._SnapshotName
|
|
1429
1690
|
|
|
1430
1691
|
@SnapshotName.setter
|
|
@@ -1433,6 +1694,9 @@ class CreateSnapshotRequest(AbstractModel):
|
|
|
1433
1694
|
|
|
1434
1695
|
@property
|
|
1435
1696
|
def Deadline(self):
|
|
1697
|
+
"""Expiration time of the snapshot. It must be in UTC ISO-8601 format, eg. 2022-01-08T09:47:55+00:00. The snapshot will be automatically deleted when it expires.
|
|
1698
|
+
:rtype: str
|
|
1699
|
+
"""
|
|
1436
1700
|
return self._Deadline
|
|
1437
1701
|
|
|
1438
1702
|
@Deadline.setter
|
|
@@ -1441,6 +1705,9 @@ class CreateSnapshotRequest(AbstractModel):
|
|
|
1441
1705
|
|
|
1442
1706
|
@property
|
|
1443
1707
|
def DiskBackupId(self):
|
|
1708
|
+
"""ID of the cloud disk backup point. When this parameter is specified, the snapshot will be created from the backup point.
|
|
1709
|
+
:rtype: str
|
|
1710
|
+
"""
|
|
1444
1711
|
return self._DiskBackupId
|
|
1445
1712
|
|
|
1446
1713
|
@DiskBackupId.setter
|
|
@@ -1449,6 +1716,9 @@ class CreateSnapshotRequest(AbstractModel):
|
|
|
1449
1716
|
|
|
1450
1717
|
@property
|
|
1451
1718
|
def Tags(self):
|
|
1719
|
+
"""Tags bound to the snapshot.
|
|
1720
|
+
:rtype: list of Tag
|
|
1721
|
+
"""
|
|
1452
1722
|
return self._Tags
|
|
1453
1723
|
|
|
1454
1724
|
@Tags.setter
|
|
@@ -1494,6 +1764,9 @@ class CreateSnapshotResponse(AbstractModel):
|
|
|
1494
1764
|
|
|
1495
1765
|
@property
|
|
1496
1766
|
def SnapshotId(self):
|
|
1767
|
+
"""ID of the created snapshot <br/>Note: This field may return null, indicating that no valid values can be obtained.
|
|
1768
|
+
:rtype: str
|
|
1769
|
+
"""
|
|
1497
1770
|
return self._SnapshotId
|
|
1498
1771
|
|
|
1499
1772
|
@SnapshotId.setter
|
|
@@ -1502,6 +1775,9 @@ class CreateSnapshotResponse(AbstractModel):
|
|
|
1502
1775
|
|
|
1503
1776
|
@property
|
|
1504
1777
|
def RequestId(self):
|
|
1778
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1779
|
+
:rtype: str
|
|
1780
|
+
"""
|
|
1505
1781
|
return self._RequestId
|
|
1506
1782
|
|
|
1507
1783
|
@RequestId.setter
|
|
@@ -1528,6 +1804,9 @@ class DeleteAutoSnapshotPoliciesRequest(AbstractModel):
|
|
|
1528
1804
|
|
|
1529
1805
|
@property
|
|
1530
1806
|
def AutoSnapshotPolicyIds(self):
|
|
1807
|
+
"""List of scheduled snapshot policy IDs to be deleted.
|
|
1808
|
+
:rtype: list of str
|
|
1809
|
+
"""
|
|
1531
1810
|
return self._AutoSnapshotPolicyIds
|
|
1532
1811
|
|
|
1533
1812
|
@AutoSnapshotPolicyIds.setter
|
|
@@ -1561,6 +1840,9 @@ class DeleteAutoSnapshotPoliciesResponse(AbstractModel):
|
|
|
1561
1840
|
|
|
1562
1841
|
@property
|
|
1563
1842
|
def RequestId(self):
|
|
1843
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1844
|
+
:rtype: str
|
|
1845
|
+
"""
|
|
1564
1846
|
return self._RequestId
|
|
1565
1847
|
|
|
1566
1848
|
@RequestId.setter
|
|
@@ -1586,6 +1868,9 @@ class DeleteDiskBackupsRequest(AbstractModel):
|
|
|
1586
1868
|
|
|
1587
1869
|
@property
|
|
1588
1870
|
def DiskBackupIds(self):
|
|
1871
|
+
"""ID of the cloud disk backup point to be deleted.
|
|
1872
|
+
:rtype: list of str
|
|
1873
|
+
"""
|
|
1589
1874
|
return self._DiskBackupIds
|
|
1590
1875
|
|
|
1591
1876
|
@DiskBackupIds.setter
|
|
@@ -1619,6 +1904,9 @@ class DeleteDiskBackupsResponse(AbstractModel):
|
|
|
1619
1904
|
|
|
1620
1905
|
@property
|
|
1621
1906
|
def RequestId(self):
|
|
1907
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1908
|
+
:rtype: str
|
|
1909
|
+
"""
|
|
1622
1910
|
return self._RequestId
|
|
1623
1911
|
|
|
1624
1912
|
@RequestId.setter
|
|
@@ -1647,6 +1935,9 @@ class DeleteSnapshotsRequest(AbstractModel):
|
|
|
1647
1935
|
|
|
1648
1936
|
@property
|
|
1649
1937
|
def SnapshotIds(self):
|
|
1938
|
+
"""List of IDs of snapshots to be deleted, which can be queried via [DescribeSnapshots](https://intl.cloud.tencent.com/document/product/362/15647?from_cn_redirect=1).
|
|
1939
|
+
:rtype: list of str
|
|
1940
|
+
"""
|
|
1650
1941
|
return self._SnapshotIds
|
|
1651
1942
|
|
|
1652
1943
|
@SnapshotIds.setter
|
|
@@ -1655,6 +1946,9 @@ class DeleteSnapshotsRequest(AbstractModel):
|
|
|
1655
1946
|
|
|
1656
1947
|
@property
|
|
1657
1948
|
def DeleteBindImages(self):
|
|
1949
|
+
"""Whether to forcibly delete the image associated with the snapshot
|
|
1950
|
+
:rtype: bool
|
|
1951
|
+
"""
|
|
1658
1952
|
return self._DeleteBindImages
|
|
1659
1953
|
|
|
1660
1954
|
@DeleteBindImages.setter
|
|
@@ -1689,6 +1983,9 @@ class DeleteSnapshotsResponse(AbstractModel):
|
|
|
1689
1983
|
|
|
1690
1984
|
@property
|
|
1691
1985
|
def RequestId(self):
|
|
1986
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1987
|
+
:rtype: str
|
|
1988
|
+
"""
|
|
1692
1989
|
return self._RequestId
|
|
1693
1990
|
|
|
1694
1991
|
@RequestId.setter
|
|
@@ -1729,6 +2026,9 @@ class DescribeAutoSnapshotPoliciesRequest(AbstractModel):
|
|
|
1729
2026
|
|
|
1730
2027
|
@property
|
|
1731
2028
|
def AutoSnapshotPolicyIds(self):
|
|
2029
|
+
"""List of scheduled snapshot policy IDs to be queried. The parameter does not support specifying both `SnapshotIds` and `Filters`.
|
|
2030
|
+
:rtype: list of str
|
|
2031
|
+
"""
|
|
1732
2032
|
return self._AutoSnapshotPolicyIds
|
|
1733
2033
|
|
|
1734
2034
|
@AutoSnapshotPolicyIds.setter
|
|
@@ -1737,6 +2037,9 @@ class DescribeAutoSnapshotPoliciesRequest(AbstractModel):
|
|
|
1737
2037
|
|
|
1738
2038
|
@property
|
|
1739
2039
|
def Filters(self):
|
|
2040
|
+
"""Filter conditions. Specification of both the `AutoSnapshotPolicyIds` and `Filters` parameters is not supported.<br><li>auto-snapshot-policy-id - Array of String - Required or not: No - (Filter condition) Filters according to the scheduled snapshot policy ID. The format of the scheduled snapshot policy ID is as follows: `asp-11112222`. <br><li>auto-snapshot-policy-state - Array of String - Required or not: No - (Filter condition) Filters according to the status of the scheduled snapshot policy. The format of the scheduled snapshot policy ID is as follows: `asp-11112222`. (NORMAL: normal | ISOLATED: isolated)<br><li>auto-snapshot-policy-name - Array of String - Required or not: No - (Filter condition) Filters according to the name of the scheduled snapshot policy.
|
|
2041
|
+
:rtype: list of Filter
|
|
2042
|
+
"""
|
|
1740
2043
|
return self._Filters
|
|
1741
2044
|
|
|
1742
2045
|
@Filters.setter
|
|
@@ -1745,6 +2048,9 @@ class DescribeAutoSnapshotPoliciesRequest(AbstractModel):
|
|
|
1745
2048
|
|
|
1746
2049
|
@property
|
|
1747
2050
|
def Limit(self):
|
|
2051
|
+
"""Number of results to be returned. Default is 20. Maximum is 100. For more information on `Limit`, please see relevant sections in API [Introduction](https://intl.cloud.tencent.com/document/product/362/15633?from_cn_redirect=1).
|
|
2052
|
+
:rtype: int
|
|
2053
|
+
"""
|
|
1748
2054
|
return self._Limit
|
|
1749
2055
|
|
|
1750
2056
|
@Limit.setter
|
|
@@ -1753,6 +2059,9 @@ class DescribeAutoSnapshotPoliciesRequest(AbstractModel):
|
|
|
1753
2059
|
|
|
1754
2060
|
@property
|
|
1755
2061
|
def Offset(self):
|
|
2062
|
+
"""Offset. Default is 0. For more information on `Offset`, please see relevant sections in API [Introduction](https://intl.cloud.tencent.com/document/product/362/15633?from_cn_redirect=1).
|
|
2063
|
+
:rtype: int
|
|
2064
|
+
"""
|
|
1756
2065
|
return self._Offset
|
|
1757
2066
|
|
|
1758
2067
|
@Offset.setter
|
|
@@ -1761,6 +2070,9 @@ class DescribeAutoSnapshotPoliciesRequest(AbstractModel):
|
|
|
1761
2070
|
|
|
1762
2071
|
@property
|
|
1763
2072
|
def Order(self):
|
|
2073
|
+
"""Outputs the ordering of the scheduled snapshot lists. Value range: <br><li>ASC: Ascending order <br><li>DESC: Descending order.
|
|
2074
|
+
:rtype: str
|
|
2075
|
+
"""
|
|
1764
2076
|
return self._Order
|
|
1765
2077
|
|
|
1766
2078
|
@Order.setter
|
|
@@ -1769,6 +2081,9 @@ class DescribeAutoSnapshotPoliciesRequest(AbstractModel):
|
|
|
1769
2081
|
|
|
1770
2082
|
@property
|
|
1771
2083
|
def OrderField(self):
|
|
2084
|
+
"""The sorting filter applied to the scheduled snapshot list. Value range: <Sort by creation time of scheduled snapshot. By default, this is sorted by creation time.
|
|
2085
|
+
:rtype: str
|
|
2086
|
+
"""
|
|
1772
2087
|
return self._OrderField
|
|
1773
2088
|
|
|
1774
2089
|
@OrderField.setter
|
|
@@ -1818,6 +2133,9 @@ class DescribeAutoSnapshotPoliciesResponse(AbstractModel):
|
|
|
1818
2133
|
|
|
1819
2134
|
@property
|
|
1820
2135
|
def TotalCount(self):
|
|
2136
|
+
"""The quantity of valid scheduled snapshot policies.
|
|
2137
|
+
:rtype: int
|
|
2138
|
+
"""
|
|
1821
2139
|
return self._TotalCount
|
|
1822
2140
|
|
|
1823
2141
|
@TotalCount.setter
|
|
@@ -1826,6 +2144,9 @@ class DescribeAutoSnapshotPoliciesResponse(AbstractModel):
|
|
|
1826
2144
|
|
|
1827
2145
|
@property
|
|
1828
2146
|
def AutoSnapshotPolicySet(self):
|
|
2147
|
+
"""List of scheduled snapshot policies.
|
|
2148
|
+
:rtype: list of AutoSnapshotPolicy
|
|
2149
|
+
"""
|
|
1829
2150
|
return self._AutoSnapshotPolicySet
|
|
1830
2151
|
|
|
1831
2152
|
@AutoSnapshotPolicySet.setter
|
|
@@ -1834,6 +2155,9 @@ class DescribeAutoSnapshotPoliciesResponse(AbstractModel):
|
|
|
1834
2155
|
|
|
1835
2156
|
@property
|
|
1836
2157
|
def RequestId(self):
|
|
2158
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
2159
|
+
:rtype: str
|
|
2160
|
+
"""
|
|
1837
2161
|
return self._RequestId
|
|
1838
2162
|
|
|
1839
2163
|
@RequestId.setter
|
|
@@ -1866,6 +2190,9 @@ class DescribeDiskAssociatedAutoSnapshotPolicyRequest(AbstractModel):
|
|
|
1866
2190
|
|
|
1867
2191
|
@property
|
|
1868
2192
|
def DiskId(self):
|
|
2193
|
+
"""The ID of the queried cloud disk.
|
|
2194
|
+
:rtype: str
|
|
2195
|
+
"""
|
|
1869
2196
|
return self._DiskId
|
|
1870
2197
|
|
|
1871
2198
|
@DiskId.setter
|
|
@@ -1905,6 +2232,9 @@ class DescribeDiskAssociatedAutoSnapshotPolicyResponse(AbstractModel):
|
|
|
1905
2232
|
|
|
1906
2233
|
@property
|
|
1907
2234
|
def TotalCount(self):
|
|
2235
|
+
"""The quantity of scheduled snapshots binded to cloud disk.
|
|
2236
|
+
:rtype: int
|
|
2237
|
+
"""
|
|
1908
2238
|
return self._TotalCount
|
|
1909
2239
|
|
|
1910
2240
|
@TotalCount.setter
|
|
@@ -1913,6 +2243,9 @@ class DescribeDiskAssociatedAutoSnapshotPolicyResponse(AbstractModel):
|
|
|
1913
2243
|
|
|
1914
2244
|
@property
|
|
1915
2245
|
def AutoSnapshotPolicySet(self):
|
|
2246
|
+
"""List of scheduled snapshots bound to cloud disk.
|
|
2247
|
+
:rtype: list of AutoSnapshotPolicy
|
|
2248
|
+
"""
|
|
1916
2249
|
return self._AutoSnapshotPolicySet
|
|
1917
2250
|
|
|
1918
2251
|
@AutoSnapshotPolicySet.setter
|
|
@@ -1921,6 +2254,9 @@ class DescribeDiskAssociatedAutoSnapshotPolicyResponse(AbstractModel):
|
|
|
1921
2254
|
|
|
1922
2255
|
@property
|
|
1923
2256
|
def RequestId(self):
|
|
2257
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
2258
|
+
:rtype: str
|
|
2259
|
+
"""
|
|
1924
2260
|
return self._RequestId
|
|
1925
2261
|
|
|
1926
2262
|
@RequestId.setter
|
|
@@ -1970,6 +2306,9 @@ class DescribeDiskBackupsRequest(AbstractModel):
|
|
|
1970
2306
|
|
|
1971
2307
|
@property
|
|
1972
2308
|
def DiskBackupIds(self):
|
|
2309
|
+
"""List of IDs of the backup points to be queried. `DiskBackupIds` and `Filters` cannot be specified at the same time.
|
|
2310
|
+
:rtype: list of str
|
|
2311
|
+
"""
|
|
1973
2312
|
return self._DiskBackupIds
|
|
1974
2313
|
|
|
1975
2314
|
@DiskBackupIds.setter
|
|
@@ -1978,6 +2317,11 @@ class DescribeDiskBackupsRequest(AbstractModel):
|
|
|
1978
2317
|
|
|
1979
2318
|
@property
|
|
1980
2319
|
def Filters(self):
|
|
2320
|
+
"""Filter. `DiskBackupIds` and `Filters` cannot be specified at the same time. Valid values: <br><li>disk-backup-id - Array of String - Required: No - (Filter) Filter by backup point ID in the format of `dbp-11112222`.
|
|
2321
|
+
<br><li>disk-id - Array of String - Required: No - (Filter) Filter by ID of the cloud disk for which backup points are created.
|
|
2322
|
+
<br><li>disk-usage - Array of String - Required: No - (Filter) Filter by type of the cloud disk for which backup points are created. (SYSTEM_DISK: System disk | DATA_DISK: Data disk)
|
|
2323
|
+
:rtype: list of Filter
|
|
2324
|
+
"""
|
|
1981
2325
|
return self._Filters
|
|
1982
2326
|
|
|
1983
2327
|
@Filters.setter
|
|
@@ -1986,6 +2330,9 @@ class DescribeDiskBackupsRequest(AbstractModel):
|
|
|
1986
2330
|
|
|
1987
2331
|
@property
|
|
1988
2332
|
def Offset(self):
|
|
2333
|
+
"""Offset. Default value: 0. For more information on `Offset`, see the relevant section of the API [Overview](https://intl.cloud.tencent.com/document/product/362/15633?from_cn_redirect=1).
|
|
2334
|
+
:rtype: int
|
|
2335
|
+
"""
|
|
1989
2336
|
return self._Offset
|
|
1990
2337
|
|
|
1991
2338
|
@Offset.setter
|
|
@@ -1994,6 +2341,9 @@ class DescribeDiskBackupsRequest(AbstractModel):
|
|
|
1994
2341
|
|
|
1995
2342
|
@property
|
|
1996
2343
|
def Limit(self):
|
|
2344
|
+
"""Number of returned results. Default value: 20. Maximum value: 100. For more information on `Limit`, see the relevant section of the API [Overview](https://intl.cloud.tencent.com/document/product/362/15633?from_cn_redirect=1).
|
|
2345
|
+
:rtype: int
|
|
2346
|
+
"""
|
|
1997
2347
|
return self._Limit
|
|
1998
2348
|
|
|
1999
2349
|
@Limit.setter
|
|
@@ -2002,6 +2352,9 @@ class DescribeDiskBackupsRequest(AbstractModel):
|
|
|
2002
2352
|
|
|
2003
2353
|
@property
|
|
2004
2354
|
def Order(self):
|
|
2355
|
+
"""Sorting order of cloud disk backup points. Valid values:<br><li>ASC: Ascending<br><li>DESC: Descending
|
|
2356
|
+
:rtype: str
|
|
2357
|
+
"""
|
|
2005
2358
|
return self._Order
|
|
2006
2359
|
|
|
2007
2360
|
@Order.setter
|
|
@@ -2010,6 +2363,9 @@ class DescribeDiskBackupsRequest(AbstractModel):
|
|
|
2010
2363
|
|
|
2011
2364
|
@property
|
|
2012
2365
|
def OrderField(self):
|
|
2366
|
+
"""The field by which cloud disk backup points are sorted. Valid values:<br><li>CREATE_TIME: Sort by creation time<br>Backup points are sorted by creation time by default.
|
|
2367
|
+
:rtype: str
|
|
2368
|
+
"""
|
|
2013
2369
|
return self._OrderField
|
|
2014
2370
|
|
|
2015
2371
|
@OrderField.setter
|
|
@@ -2059,6 +2415,9 @@ class DescribeDiskBackupsResponse(AbstractModel):
|
|
|
2059
2415
|
|
|
2060
2416
|
@property
|
|
2061
2417
|
def TotalCount(self):
|
|
2418
|
+
"""Number of eligible cloud disk backup points.
|
|
2419
|
+
:rtype: int
|
|
2420
|
+
"""
|
|
2062
2421
|
return self._TotalCount
|
|
2063
2422
|
|
|
2064
2423
|
@TotalCount.setter
|
|
@@ -2067,6 +2426,9 @@ class DescribeDiskBackupsResponse(AbstractModel):
|
|
|
2067
2426
|
|
|
2068
2427
|
@property
|
|
2069
2428
|
def DiskBackupSet(self):
|
|
2429
|
+
"""List of details of cloud disk backup points.
|
|
2430
|
+
:rtype: list of DiskBackup
|
|
2431
|
+
"""
|
|
2070
2432
|
return self._DiskBackupSet
|
|
2071
2433
|
|
|
2072
2434
|
@DiskBackupSet.setter
|
|
@@ -2075,6 +2437,9 @@ class DescribeDiskBackupsResponse(AbstractModel):
|
|
|
2075
2437
|
|
|
2076
2438
|
@property
|
|
2077
2439
|
def RequestId(self):
|
|
2440
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
2441
|
+
:rtype: str
|
|
2442
|
+
"""
|
|
2078
2443
|
return self._RequestId
|
|
2079
2444
|
|
|
2080
2445
|
@RequestId.setter
|
|
@@ -2128,6 +2493,9 @@ class DescribeDiskConfigQuotaRequest(AbstractModel):
|
|
|
2128
2493
|
|
|
2129
2494
|
@property
|
|
2130
2495
|
def InquiryType(self):
|
|
2496
|
+
"""Inquiry type. Value range: INQUIRY_CBS_CONFIG: query the configuration list of cloud disks <br><li>INQUIRY_CVM_CONFIG: query the configuration list of cloud disks and instances.
|
|
2497
|
+
:rtype: str
|
|
2498
|
+
"""
|
|
2131
2499
|
return self._InquiryType
|
|
2132
2500
|
|
|
2133
2501
|
@InquiryType.setter
|
|
@@ -2136,6 +2504,9 @@ class DescribeDiskConfigQuotaRequest(AbstractModel):
|
|
|
2136
2504
|
|
|
2137
2505
|
@property
|
|
2138
2506
|
def Zones(self):
|
|
2507
|
+
"""Query configuration under one or more [availability zone](https://intl.cloud.tencent.com/document/product/213/15753?from_cn_redirect=1#ZoneInfo).
|
|
2508
|
+
:rtype: list of str
|
|
2509
|
+
"""
|
|
2139
2510
|
return self._Zones
|
|
2140
2511
|
|
|
2141
2512
|
@Zones.setter
|
|
@@ -2144,6 +2515,9 @@ class DescribeDiskConfigQuotaRequest(AbstractModel):
|
|
|
2144
2515
|
|
|
2145
2516
|
@property
|
|
2146
2517
|
def DiskChargeType(self):
|
|
2518
|
+
"""Billing mode. Value range: <br><li>POSTPAID_BY_HOUR: postpaid.
|
|
2519
|
+
:rtype: str
|
|
2520
|
+
"""
|
|
2147
2521
|
return self._DiskChargeType
|
|
2148
2522
|
|
|
2149
2523
|
@DiskChargeType.setter
|
|
@@ -2152,6 +2526,9 @@ class DescribeDiskConfigQuotaRequest(AbstractModel):
|
|
|
2152
2526
|
|
|
2153
2527
|
@property
|
|
2154
2528
|
def DiskTypes(self):
|
|
2529
|
+
"""Cloud disk media type. Valid values: <br><li>CLOUD_BASIC: HDD cloud disk<br><li>CLOUD_PREMIUM: Premium Cloud Storage<br><li>CLOUD_SSD: SSD<br><li>CLOUD_HSSD: Enhanced SSD
|
|
2530
|
+
:rtype: list of str
|
|
2531
|
+
"""
|
|
2155
2532
|
return self._DiskTypes
|
|
2156
2533
|
|
|
2157
2534
|
@DiskTypes.setter
|
|
@@ -2160,6 +2537,9 @@ class DescribeDiskConfigQuotaRequest(AbstractModel):
|
|
|
2160
2537
|
|
|
2161
2538
|
@property
|
|
2162
2539
|
def DiskUsage(self):
|
|
2540
|
+
"""The system disk or data disk. Value range: <br><li>SYSTEM_DISK: System disk <br><li>DATA_DISK: Data disk.
|
|
2541
|
+
:rtype: str
|
|
2542
|
+
"""
|
|
2163
2543
|
return self._DiskUsage
|
|
2164
2544
|
|
|
2165
2545
|
@DiskUsage.setter
|
|
@@ -2168,6 +2548,9 @@ class DescribeDiskConfigQuotaRequest(AbstractModel):
|
|
|
2168
2548
|
|
|
2169
2549
|
@property
|
|
2170
2550
|
def InstanceFamilies(self):
|
|
2551
|
+
"""Filter by the instance model series, such as S1, I1 and M1. For more information, please see [Instance Types](https://intl.cloud.tencent.com/document/product/213/11518?from_cn_redirect=1)
|
|
2552
|
+
:rtype: list of str
|
|
2553
|
+
"""
|
|
2171
2554
|
return self._InstanceFamilies
|
|
2172
2555
|
|
|
2173
2556
|
@InstanceFamilies.setter
|
|
@@ -2176,6 +2559,9 @@ class DescribeDiskConfigQuotaRequest(AbstractModel):
|
|
|
2176
2559
|
|
|
2177
2560
|
@property
|
|
2178
2561
|
def CPU(self):
|
|
2562
|
+
"""Instance CPU cores.
|
|
2563
|
+
:rtype: int
|
|
2564
|
+
"""
|
|
2179
2565
|
return self._CPU
|
|
2180
2566
|
|
|
2181
2567
|
@CPU.setter
|
|
@@ -2184,6 +2570,9 @@ class DescribeDiskConfigQuotaRequest(AbstractModel):
|
|
|
2184
2570
|
|
|
2185
2571
|
@property
|
|
2186
2572
|
def Memory(self):
|
|
2573
|
+
"""Instance memory size.
|
|
2574
|
+
:rtype: int
|
|
2575
|
+
"""
|
|
2187
2576
|
return self._Memory
|
|
2188
2577
|
|
|
2189
2578
|
@Memory.setter
|
|
@@ -2227,6 +2616,9 @@ class DescribeDiskConfigQuotaResponse(AbstractModel):
|
|
|
2227
2616
|
|
|
2228
2617
|
@property
|
|
2229
2618
|
def DiskConfigSet(self):
|
|
2619
|
+
"""List of cloud disk configurations.
|
|
2620
|
+
:rtype: list of DiskConfig
|
|
2621
|
+
"""
|
|
2230
2622
|
return self._DiskConfigSet
|
|
2231
2623
|
|
|
2232
2624
|
@DiskConfigSet.setter
|
|
@@ -2235,6 +2627,9 @@ class DescribeDiskConfigQuotaResponse(AbstractModel):
|
|
|
2235
2627
|
|
|
2236
2628
|
@property
|
|
2237
2629
|
def RequestId(self):
|
|
2630
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
2631
|
+
:rtype: str
|
|
2632
|
+
"""
|
|
2238
2633
|
return self._RequestId
|
|
2239
2634
|
|
|
2240
2635
|
@RequestId.setter
|
|
@@ -2273,6 +2668,10 @@ class DescribeDiskOperationLogsRequest(AbstractModel):
|
|
|
2273
2668
|
|
|
2274
2669
|
@property
|
|
2275
2670
|
def Filters(self):
|
|
2671
|
+
"""Filter conditions. The following conditions are supported:
|
|
2672
|
+
<li>disk-id - Array of String - Required or not: Yes - Filter by cloud disk ID, with maximum of 10 cloud disk IDs able to be specified per request.
|
|
2673
|
+
:rtype: list of Filter
|
|
2674
|
+
"""
|
|
2276
2675
|
return self._Filters
|
|
2277
2676
|
|
|
2278
2677
|
@Filters.setter
|
|
@@ -2281,6 +2680,9 @@ class DescribeDiskOperationLogsRequest(AbstractModel):
|
|
|
2281
2680
|
|
|
2282
2681
|
@property
|
|
2283
2682
|
def BeginTime(self):
|
|
2683
|
+
"""The start time of the operation logs to be queried, for example: '2019-11-22 00:00:00"
|
|
2684
|
+
:rtype: str
|
|
2685
|
+
"""
|
|
2284
2686
|
return self._BeginTime
|
|
2285
2687
|
|
|
2286
2688
|
@BeginTime.setter
|
|
@@ -2289,6 +2691,9 @@ class DescribeDiskOperationLogsRequest(AbstractModel):
|
|
|
2289
2691
|
|
|
2290
2692
|
@property
|
|
2291
2693
|
def EndTime(self):
|
|
2694
|
+
"""The end time of the operation logs to be queried, for example: '2019-11-22 23:59:59"
|
|
2695
|
+
:rtype: str
|
|
2696
|
+
"""
|
|
2292
2697
|
return self._EndTime
|
|
2293
2698
|
|
|
2294
2699
|
@EndTime.setter
|
|
@@ -2332,6 +2737,9 @@ class DescribeDiskOperationLogsResponse(AbstractModel):
|
|
|
2332
2737
|
|
|
2333
2738
|
@property
|
|
2334
2739
|
def DiskOperationLogSet(self):
|
|
2740
|
+
"""List of cloud disk operation logs.
|
|
2741
|
+
:rtype: list of DiskOperationLog
|
|
2742
|
+
"""
|
|
2335
2743
|
return self._DiskOperationLogSet
|
|
2336
2744
|
|
|
2337
2745
|
@DiskOperationLogSet.setter
|
|
@@ -2340,6 +2748,9 @@ class DescribeDiskOperationLogsResponse(AbstractModel):
|
|
|
2340
2748
|
|
|
2341
2749
|
@property
|
|
2342
2750
|
def RequestId(self):
|
|
2751
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
2752
|
+
:rtype: str
|
|
2753
|
+
"""
|
|
2343
2754
|
return self._RequestId
|
|
2344
2755
|
|
|
2345
2756
|
@RequestId.setter
|
|
@@ -2389,6 +2800,9 @@ class DescribeDisksRequest(AbstractModel):
|
|
|
2389
2800
|
|
|
2390
2801
|
@property
|
|
2391
2802
|
def DiskIds(self):
|
|
2803
|
+
"""Query by one or more cloud disk IDs, such as `disk-11112222`. For the format of this parameter, please see the ids.N section of the API [Introduction](https://intl.cloud.tencent.com/document/product/362/15633?from_cn_redirect=1). This parameter does not support specifying both `DiskIds` and `Filters`.
|
|
2804
|
+
:rtype: list of str
|
|
2805
|
+
"""
|
|
2392
2806
|
return self._DiskIds
|
|
2393
2807
|
|
|
2394
2808
|
@DiskIds.setter
|
|
@@ -2397,6 +2811,9 @@ class DescribeDisksRequest(AbstractModel):
|
|
|
2397
2811
|
|
|
2398
2812
|
@property
|
|
2399
2813
|
def Filters(self):
|
|
2814
|
+
"""Filters. You cannot specify `DiskIds` and `Filters` at the same time. <br><li>disk-usage - Array of String - Optional - Filters by cloud disk type. (SYSTEM_DISK: system disk | DATA_DISK: data disk) <br><li>disk-charge-type - Array of String - Optional - Filters by cloud disk billing method. (POSTPAID_BY_HOUR: pay-as-you-go) <br><li>portable - Array of String- Optional - Filters by whether the cloud disk is elastic or not. (TRUE: elastic | FALSE: non-elastic) <br><li>project-id - Array of Integer - Optional - Filters by the ID of the project to which a cloud disk belongs. <br><li>disk-id - Array of String - Optional - Filters by cloud disk ID, such as `disk-11112222`. <br><li>disk-name - Array of String - Optional - Filters by cloud disk name. <br><li>disk-type - Array of String - Optional - Filters by cloud disk media type (CLOUD_BASIC: HDD cloud disk | CLOUD_PREMIUM: Premium Cloud Storage | CLOUD_SSD: SSD cloud disk.) <br><li>disk-state - Array of String - Optional - Filters by cloud disk state. (UNATTACHED: not mounted | ATTACHING: being mounted | ATTACHED: mounted | DETACHING: being unmounted | EXPANDING: being expanded | ROLLBACKING: being rolled back | TORECYCLE: to be repossessed.) <br><li>instance-id - Array of String - Optional - Filters by the ID of the CVM instance on which a cloud disk is mounted. You can use this parameter to query the cloud disks mounted on specific CVMs. <br><li>zone - Array of String - Optional - Filters by [availability zone](https://intl.cloud.tencent.com/document/product/213/15753?from_cn_redirect=1#ZoneInfo) <br><li>instance-ip-address - Array of String - Optional - Filters by the private or public IP of the CVM on which a cloud disk is mounted. <br><li>instance-name - Array of String - Optional - Filters by the name of the instance on which a cloud disk is mounted. <br><li>tag-key - Array of String - Optional - Filters by tag key. <br><li>tag-value - Array of String - Optional - Filters by tag value. <br><li>tag:tag-key - Array of String - Optional - Filters by tag key-value pair. Please replace `tag-key` with a specific tag key.
|
|
2815
|
+
:rtype: list of Filter
|
|
2816
|
+
"""
|
|
2400
2817
|
return self._Filters
|
|
2401
2818
|
|
|
2402
2819
|
@Filters.setter
|
|
@@ -2405,6 +2822,9 @@ class DescribeDisksRequest(AbstractModel):
|
|
|
2405
2822
|
|
|
2406
2823
|
@property
|
|
2407
2824
|
def Offset(self):
|
|
2825
|
+
"""Offset. Default is 0. For more information on `Offset`, please see relevant sections in API [Introduction](https://intl.cloud.tencent.com/document/product/362/15633?from_cn_redirect=1).
|
|
2826
|
+
:rtype: int
|
|
2827
|
+
"""
|
|
2408
2828
|
return self._Offset
|
|
2409
2829
|
|
|
2410
2830
|
@Offset.setter
|
|
@@ -2413,6 +2833,9 @@ class DescribeDisksRequest(AbstractModel):
|
|
|
2413
2833
|
|
|
2414
2834
|
@property
|
|
2415
2835
|
def Limit(self):
|
|
2836
|
+
"""Number of results to be returned. Default is 20. Maximum is 100. For more information on `Limit`, please see relevant sections in API [Introduction](https://intl.cloud.tencent.com/document/product/362/15633?from_cn_redirect=1).
|
|
2837
|
+
:rtype: int
|
|
2838
|
+
"""
|
|
2416
2839
|
return self._Limit
|
|
2417
2840
|
|
|
2418
2841
|
@Limit.setter
|
|
@@ -2421,6 +2844,9 @@ class DescribeDisksRequest(AbstractModel):
|
|
|
2421
2844
|
|
|
2422
2845
|
@property
|
|
2423
2846
|
def Order(self):
|
|
2847
|
+
"""Outputs the ordering of the cloud disk list. Value range: <br><li>ASC: Ascending order <br><li>DESC: Descending order.
|
|
2848
|
+
:rtype: str
|
|
2849
|
+
"""
|
|
2424
2850
|
return self._Order
|
|
2425
2851
|
|
|
2426
2852
|
@Order.setter
|
|
@@ -2429,6 +2855,9 @@ class DescribeDisksRequest(AbstractModel):
|
|
|
2429
2855
|
|
|
2430
2856
|
@property
|
|
2431
2857
|
def OrderField(self):
|
|
2858
|
+
"""The field by which the cloud disk list is sorted. Value range: <br><li>CREATE_TIME: sorted by the creation time of cloud disks <br><li>DEADLINE: sorted by the expiration time of cloud disks<br>By default, the cloud disk list is sorted by the creation time of cloud disks.
|
|
2859
|
+
:rtype: str
|
|
2860
|
+
"""
|
|
2432
2861
|
return self._OrderField
|
|
2433
2862
|
|
|
2434
2863
|
@OrderField.setter
|
|
@@ -2437,6 +2866,9 @@ class DescribeDisksRequest(AbstractModel):
|
|
|
2437
2866
|
|
|
2438
2867
|
@property
|
|
2439
2868
|
def ReturnBindAutoSnapshotPolicy(self):
|
|
2869
|
+
"""Whether the ID of the periodic snapshot policy bound to the cloud disk needs to be returned in the cloud disk details. TRUE: return; FALSE: do not return.
|
|
2870
|
+
:rtype: bool
|
|
2871
|
+
"""
|
|
2440
2872
|
return self._ReturnBindAutoSnapshotPolicy
|
|
2441
2873
|
|
|
2442
2874
|
@ReturnBindAutoSnapshotPolicy.setter
|
|
@@ -2487,6 +2919,9 @@ class DescribeDisksResponse(AbstractModel):
|
|
|
2487
2919
|
|
|
2488
2920
|
@property
|
|
2489
2921
|
def TotalCount(self):
|
|
2922
|
+
"""The quantity of cloud disks meeting the conditions.
|
|
2923
|
+
:rtype: int
|
|
2924
|
+
"""
|
|
2490
2925
|
return self._TotalCount
|
|
2491
2926
|
|
|
2492
2927
|
@TotalCount.setter
|
|
@@ -2495,6 +2930,9 @@ class DescribeDisksResponse(AbstractModel):
|
|
|
2495
2930
|
|
|
2496
2931
|
@property
|
|
2497
2932
|
def DiskSet(self):
|
|
2933
|
+
"""List of cloud disk details.
|
|
2934
|
+
:rtype: list of Disk
|
|
2935
|
+
"""
|
|
2498
2936
|
return self._DiskSet
|
|
2499
2937
|
|
|
2500
2938
|
@DiskSet.setter
|
|
@@ -2503,6 +2941,9 @@ class DescribeDisksResponse(AbstractModel):
|
|
|
2503
2941
|
|
|
2504
2942
|
@property
|
|
2505
2943
|
def RequestId(self):
|
|
2944
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
2945
|
+
:rtype: str
|
|
2946
|
+
"""
|
|
2506
2947
|
return self._RequestId
|
|
2507
2948
|
|
|
2508
2949
|
@RequestId.setter
|
|
@@ -2535,6 +2976,9 @@ class DescribeInstancesDiskNumRequest(AbstractModel):
|
|
|
2535
2976
|
|
|
2536
2977
|
@property
|
|
2537
2978
|
def InstanceIds(self):
|
|
2979
|
+
"""ID of the CVM instance can be queried via the API [DescribeInstances](https://intl.cloud.tencent.com/document/product/213/15728?from_cn_redirect=1).
|
|
2980
|
+
:rtype: list of str
|
|
2981
|
+
"""
|
|
2538
2982
|
return self._InstanceIds
|
|
2539
2983
|
|
|
2540
2984
|
@InstanceIds.setter
|
|
@@ -2571,6 +3015,9 @@ class DescribeInstancesDiskNumResponse(AbstractModel):
|
|
|
2571
3015
|
|
|
2572
3016
|
@property
|
|
2573
3017
|
def AttachDetail(self):
|
|
3018
|
+
"""The quantity of mounted and mountable elastic cloud disks for each cloud virtual machine
|
|
3019
|
+
:rtype: list of AttachDetail
|
|
3020
|
+
"""
|
|
2574
3021
|
return self._AttachDetail
|
|
2575
3022
|
|
|
2576
3023
|
@AttachDetail.setter
|
|
@@ -2579,6 +3026,9 @@ class DescribeInstancesDiskNumResponse(AbstractModel):
|
|
|
2579
3026
|
|
|
2580
3027
|
@property
|
|
2581
3028
|
def RequestId(self):
|
|
3029
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
3030
|
+
:rtype: str
|
|
3031
|
+
"""
|
|
2582
3032
|
return self._RequestId
|
|
2583
3033
|
|
|
2584
3034
|
@RequestId.setter
|
|
@@ -2617,6 +3067,10 @@ class DescribeSnapshotOperationLogsRequest(AbstractModel):
|
|
|
2617
3067
|
|
|
2618
3068
|
@property
|
|
2619
3069
|
def Filters(self):
|
|
3070
|
+
"""Filter conditions. The following conditions are supported:
|
|
3071
|
+
<li>snapshot-id - Array of String - Required or not: Yes - Filter by snapshot ID, with maximum of 10 snapshot IDs able to be specified per request.
|
|
3072
|
+
:rtype: list of Filter
|
|
3073
|
+
"""
|
|
2620
3074
|
return self._Filters
|
|
2621
3075
|
|
|
2622
3076
|
@Filters.setter
|
|
@@ -2625,6 +3079,9 @@ class DescribeSnapshotOperationLogsRequest(AbstractModel):
|
|
|
2625
3079
|
|
|
2626
3080
|
@property
|
|
2627
3081
|
def BeginTime(self):
|
|
3082
|
+
"""The start time of the operation logs to be queried, for example: '2019-11-22 00:00:00"
|
|
3083
|
+
:rtype: str
|
|
3084
|
+
"""
|
|
2628
3085
|
return self._BeginTime
|
|
2629
3086
|
|
|
2630
3087
|
@BeginTime.setter
|
|
@@ -2633,6 +3090,9 @@ class DescribeSnapshotOperationLogsRequest(AbstractModel):
|
|
|
2633
3090
|
|
|
2634
3091
|
@property
|
|
2635
3092
|
def EndTime(self):
|
|
3093
|
+
"""The end time of the operation logs to be queried, for example: '2019-11-22 23:59:59"
|
|
3094
|
+
:rtype: str
|
|
3095
|
+
"""
|
|
2636
3096
|
return self._EndTime
|
|
2637
3097
|
|
|
2638
3098
|
@EndTime.setter
|
|
@@ -2676,6 +3136,9 @@ class DescribeSnapshotOperationLogsResponse(AbstractModel):
|
|
|
2676
3136
|
|
|
2677
3137
|
@property
|
|
2678
3138
|
def SnapshotOperationLogSet(self):
|
|
3139
|
+
"""List of snapshot operation logs.
|
|
3140
|
+
:rtype: list of SnapshotOperationLog
|
|
3141
|
+
"""
|
|
2679
3142
|
return self._SnapshotOperationLogSet
|
|
2680
3143
|
|
|
2681
3144
|
@SnapshotOperationLogSet.setter
|
|
@@ -2684,6 +3147,9 @@ class DescribeSnapshotOperationLogsResponse(AbstractModel):
|
|
|
2684
3147
|
|
|
2685
3148
|
@property
|
|
2686
3149
|
def RequestId(self):
|
|
3150
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
3151
|
+
:rtype: str
|
|
3152
|
+
"""
|
|
2687
3153
|
return self._RequestId
|
|
2688
3154
|
|
|
2689
3155
|
@RequestId.setter
|
|
@@ -2715,6 +3181,9 @@ class DescribeSnapshotSharePermissionRequest(AbstractModel):
|
|
|
2715
3181
|
|
|
2716
3182
|
@property
|
|
2717
3183
|
def SnapshotId(self):
|
|
3184
|
+
"""The ID of the snapshot to be queried. You can obtain this by using [DescribeSnapshots](https://intl.cloud.tencent.com/document/api/362/15647?from_cn_redirect=1).
|
|
3185
|
+
:rtype: str
|
|
3186
|
+
"""
|
|
2718
3187
|
return self._SnapshotId
|
|
2719
3188
|
|
|
2720
3189
|
@SnapshotId.setter
|
|
@@ -2751,6 +3220,9 @@ class DescribeSnapshotSharePermissionResponse(AbstractModel):
|
|
|
2751
3220
|
|
|
2752
3221
|
@property
|
|
2753
3222
|
def SharePermissionSet(self):
|
|
3223
|
+
"""The set of snapshot sharing information
|
|
3224
|
+
:rtype: list of SharePermission
|
|
3225
|
+
"""
|
|
2754
3226
|
return self._SharePermissionSet
|
|
2755
3227
|
|
|
2756
3228
|
@SharePermissionSet.setter
|
|
@@ -2759,6 +3231,9 @@ class DescribeSnapshotSharePermissionResponse(AbstractModel):
|
|
|
2759
3231
|
|
|
2760
3232
|
@property
|
|
2761
3233
|
def RequestId(self):
|
|
3234
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
3235
|
+
:rtype: str
|
|
3236
|
+
"""
|
|
2762
3237
|
return self._RequestId
|
|
2763
3238
|
|
|
2764
3239
|
@RequestId.setter
|
|
@@ -2807,6 +3282,9 @@ class DescribeSnapshotsRequest(AbstractModel):
|
|
|
2807
3282
|
|
|
2808
3283
|
@property
|
|
2809
3284
|
def SnapshotIds(self):
|
|
3285
|
+
"""List of snapshot IDs to be queried. The parameter does not support specifying both `SnapshotIds` and `Filters`.
|
|
3286
|
+
:rtype: list of str
|
|
3287
|
+
"""
|
|
2810
3288
|
return self._SnapshotIds
|
|
2811
3289
|
|
|
2812
3290
|
@SnapshotIds.setter
|
|
@@ -2815,6 +3293,11 @@ class DescribeSnapshotsRequest(AbstractModel):
|
|
|
2815
3293
|
|
|
2816
3294
|
@property
|
|
2817
3295
|
def Filters(self):
|
|
3296
|
+
"""Filters. It cannot be specified together with `SnapshotIds`.<br><li>snapshot-id - Array of String - Optional - Filters by snapshot ID, such as `snap-11112222`.<br><li>snapshot-name - Array of String - Optional - Filters by snapshot name. <br><li>snapshot-state - Array of String - Optional - Filters by snapshot state (NORMAL: normal | CREATING: creating | ROLLBACKING: rolling back). <br><li>disk-usage - Array of String - Optional - Filters by the type of the cloud disk from which a snapshot is created (SYSTEM_DISK: system disk | DATA_DISK: data disk).<br><li>project-id - Array of String - Optional - Filters by the ID of the project to which a cloud disk belongs. <br><li>disk-id - Array of String - Optional - Filters by the ID of the cloud disk from which a snapshot is created.<br><li>zone - Array of String - Optional - Filters by [availability zone](https://intl.cloud.tencent.com/document/product/213/15753?from_cn_redirect=1#ZoneInfo).<br><li>encrypt - Array of String - Optional - Filters by whether a snapshot is created from an encrypted cloud disk. (TRUE: a snapshot of an encrypted cloud disk | FALSE: not a snapshot of an encrypted cloud disk.)
|
|
3297
|
+
<li>snapshot-type- Array of String - Optional - Filters by the snapshot type specified in `snapshot-type`.
|
|
3298
|
+
(SHARED_SNAPSHOT: a shared snapshot | PRIVATE_SNAPSHOT: a private snapshot.)
|
|
3299
|
+
:rtype: list of Filter
|
|
3300
|
+
"""
|
|
2818
3301
|
return self._Filters
|
|
2819
3302
|
|
|
2820
3303
|
@Filters.setter
|
|
@@ -2823,6 +3306,9 @@ class DescribeSnapshotsRequest(AbstractModel):
|
|
|
2823
3306
|
|
|
2824
3307
|
@property
|
|
2825
3308
|
def Offset(self):
|
|
3309
|
+
"""Offset. Default is 0. For more information on `Offset`, please see relevant sections in API [Introduction](https://intl.cloud.tencent.com/document/product/362/15633?from_cn_redirect=1).
|
|
3310
|
+
:rtype: int
|
|
3311
|
+
"""
|
|
2826
3312
|
return self._Offset
|
|
2827
3313
|
|
|
2828
3314
|
@Offset.setter
|
|
@@ -2831,6 +3317,9 @@ class DescribeSnapshotsRequest(AbstractModel):
|
|
|
2831
3317
|
|
|
2832
3318
|
@property
|
|
2833
3319
|
def Limit(self):
|
|
3320
|
+
"""Number of results to be returned. Default is 20. Maximum is 100. For more information on `Limit`, please see relevant sections in API [Introduction](https://intl.cloud.tencent.com/document/product/362/15633?from_cn_redirect=1).
|
|
3321
|
+
:rtype: int
|
|
3322
|
+
"""
|
|
2834
3323
|
return self._Limit
|
|
2835
3324
|
|
|
2836
3325
|
@Limit.setter
|
|
@@ -2839,6 +3328,9 @@ class DescribeSnapshotsRequest(AbstractModel):
|
|
|
2839
3328
|
|
|
2840
3329
|
@property
|
|
2841
3330
|
def Order(self):
|
|
3331
|
+
"""Outputs the ordering of the cloud disk list. Value range: <br><li>ASC: Ascending order <br><li>DESC: Descending order.
|
|
3332
|
+
:rtype: str
|
|
3333
|
+
"""
|
|
2842
3334
|
return self._Order
|
|
2843
3335
|
|
|
2844
3336
|
@Order.setter
|
|
@@ -2847,6 +3339,9 @@ class DescribeSnapshotsRequest(AbstractModel):
|
|
|
2847
3339
|
|
|
2848
3340
|
@property
|
|
2849
3341
|
def OrderField(self):
|
|
3342
|
+
"""The field by which the snapshot list is sorted. Value range: <br><li>CREATE_TIME: sorted by the creation time of the snapshots <br>By default, the snapshot list is sorted by the creation time of snapshots.
|
|
3343
|
+
:rtype: str
|
|
3344
|
+
"""
|
|
2850
3345
|
return self._OrderField
|
|
2851
3346
|
|
|
2852
3347
|
@OrderField.setter
|
|
@@ -2896,6 +3391,9 @@ class DescribeSnapshotsResponse(AbstractModel):
|
|
|
2896
3391
|
|
|
2897
3392
|
@property
|
|
2898
3393
|
def TotalCount(self):
|
|
3394
|
+
"""Number of snapshots.
|
|
3395
|
+
:rtype: int
|
|
3396
|
+
"""
|
|
2899
3397
|
return self._TotalCount
|
|
2900
3398
|
|
|
2901
3399
|
@TotalCount.setter
|
|
@@ -2904,6 +3402,9 @@ class DescribeSnapshotsResponse(AbstractModel):
|
|
|
2904
3402
|
|
|
2905
3403
|
@property
|
|
2906
3404
|
def SnapshotSet(self):
|
|
3405
|
+
"""List of snapshot details.
|
|
3406
|
+
:rtype: list of Snapshot
|
|
3407
|
+
"""
|
|
2907
3408
|
return self._SnapshotSet
|
|
2908
3409
|
|
|
2909
3410
|
@SnapshotSet.setter
|
|
@@ -2912,6 +3413,9 @@ class DescribeSnapshotsResponse(AbstractModel):
|
|
|
2912
3413
|
|
|
2913
3414
|
@property
|
|
2914
3415
|
def RequestId(self):
|
|
3416
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
3417
|
+
:rtype: str
|
|
3418
|
+
"""
|
|
2915
3419
|
return self._RequestId
|
|
2916
3420
|
|
|
2917
3421
|
@RequestId.setter
|
|
@@ -2947,6 +3451,9 @@ class DetachDisksRequest(AbstractModel):
|
|
|
2947
3451
|
|
|
2948
3452
|
@property
|
|
2949
3453
|
def DiskIds(self):
|
|
3454
|
+
"""IDs of the cloud disks to be unmounted, which can be queried via the [DescribeDisks](https://intl.cloud.tencent.com/document/product/362/16315?from_cn_redirect=1) API. Up to 10 elastic cloud disks can be unmounted in a single request.
|
|
3455
|
+
:rtype: list of str
|
|
3456
|
+
"""
|
|
2950
3457
|
return self._DiskIds
|
|
2951
3458
|
|
|
2952
3459
|
@DiskIds.setter
|
|
@@ -2955,6 +3462,9 @@ class DetachDisksRequest(AbstractModel):
|
|
|
2955
3462
|
|
|
2956
3463
|
@property
|
|
2957
3464
|
def InstanceId(self):
|
|
3465
|
+
"""Indicates the CVM from which you want to unmount the disks. This parameter is only available for shared cloud disks.
|
|
3466
|
+
:rtype: str
|
|
3467
|
+
"""
|
|
2958
3468
|
return self._InstanceId
|
|
2959
3469
|
|
|
2960
3470
|
@InstanceId.setter
|
|
@@ -2989,6 +3499,9 @@ class DetachDisksResponse(AbstractModel):
|
|
|
2989
3499
|
|
|
2990
3500
|
@property
|
|
2991
3501
|
def RequestId(self):
|
|
3502
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
3503
|
+
:rtype: str
|
|
3504
|
+
"""
|
|
2992
3505
|
return self._RequestId
|
|
2993
3506
|
|
|
2994
3507
|
@RequestId.setter
|
|
@@ -3054,6 +3567,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3054
3567
|
|
|
3055
3568
|
@property
|
|
3056
3569
|
def PriceTitle(self):
|
|
3570
|
+
"""Name of the billable item.
|
|
3571
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3572
|
+
:rtype: str
|
|
3573
|
+
"""
|
|
3057
3574
|
return self._PriceTitle
|
|
3058
3575
|
|
|
3059
3576
|
@PriceTitle.setter
|
|
@@ -3062,6 +3579,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3062
3579
|
|
|
3063
3580
|
@property
|
|
3064
3581
|
def PriceName(self):
|
|
3582
|
+
"""Name of the billable item displayed in the console.
|
|
3583
|
+
:rtype: str
|
|
3584
|
+
"""
|
|
3065
3585
|
return self._PriceName
|
|
3066
3586
|
|
|
3067
3587
|
@PriceName.setter
|
|
@@ -3070,6 +3590,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3070
3590
|
|
|
3071
3591
|
@property
|
|
3072
3592
|
def OriginalPrice(self):
|
|
3593
|
+
"""Original price of a monthly subscribed cloud disk, in USD.
|
|
3594
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3595
|
+
:rtype: float
|
|
3596
|
+
"""
|
|
3073
3597
|
return self._OriginalPrice
|
|
3074
3598
|
|
|
3075
3599
|
@OriginalPrice.setter
|
|
@@ -3078,6 +3602,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3078
3602
|
|
|
3079
3603
|
@property
|
|
3080
3604
|
def DiscountPrice(self):
|
|
3605
|
+
"""Discounted price of a monthly subscribed cloud disk, in USD.
|
|
3606
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3607
|
+
:rtype: float
|
|
3608
|
+
"""
|
|
3081
3609
|
return self._DiscountPrice
|
|
3082
3610
|
|
|
3083
3611
|
@DiscountPrice.setter
|
|
@@ -3086,6 +3614,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3086
3614
|
|
|
3087
3615
|
@property
|
|
3088
3616
|
def UnitPrice(self):
|
|
3617
|
+
"""Original unit price of a pay-as-you-go cloud disk, in USD.
|
|
3618
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3619
|
+
:rtype: float
|
|
3620
|
+
"""
|
|
3089
3621
|
return self._UnitPrice
|
|
3090
3622
|
|
|
3091
3623
|
@UnitPrice.setter
|
|
@@ -3094,6 +3626,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3094
3626
|
|
|
3095
3627
|
@property
|
|
3096
3628
|
def UnitPriceDiscount(self):
|
|
3629
|
+
"""Discount unit price of a pay-as-you-go cloud disk, in USD.
|
|
3630
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3631
|
+
:rtype: float
|
|
3632
|
+
"""
|
|
3097
3633
|
return self._UnitPriceDiscount
|
|
3098
3634
|
|
|
3099
3635
|
@UnitPriceDiscount.setter
|
|
@@ -3102,6 +3638,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3102
3638
|
|
|
3103
3639
|
@property
|
|
3104
3640
|
def ChargeUnit(self):
|
|
3641
|
+
"""Billing unit for pay-as-you-go cloud disks. Valid value: `HOUR` (billed hourly).
|
|
3642
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3643
|
+
:rtype: str
|
|
3644
|
+
"""
|
|
3105
3645
|
return self._ChargeUnit
|
|
3106
3646
|
|
|
3107
3647
|
@ChargeUnit.setter
|
|
@@ -3110,6 +3650,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3110
3650
|
|
|
3111
3651
|
@property
|
|
3112
3652
|
def OriginalPriceHigh(self):
|
|
3653
|
+
"""Original highly-precise price of a monthly subscribed cloud disk, in USD.
|
|
3654
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3655
|
+
:rtype: str
|
|
3656
|
+
"""
|
|
3113
3657
|
return self._OriginalPriceHigh
|
|
3114
3658
|
|
|
3115
3659
|
@OriginalPriceHigh.setter
|
|
@@ -3118,6 +3662,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3118
3662
|
|
|
3119
3663
|
@property
|
|
3120
3664
|
def DiscountPriceHigh(self):
|
|
3665
|
+
"""Discounted highly-precise price of a monthly subscribed cloud disk, in USD.
|
|
3666
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3667
|
+
:rtype: str
|
|
3668
|
+
"""
|
|
3121
3669
|
return self._DiscountPriceHigh
|
|
3122
3670
|
|
|
3123
3671
|
@DiscountPriceHigh.setter
|
|
@@ -3126,6 +3674,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3126
3674
|
|
|
3127
3675
|
@property
|
|
3128
3676
|
def UnitPriceHigh(self):
|
|
3677
|
+
"""Original highly-precise unit price of a pay-as-you-go cloud disk, in USD.
|
|
3678
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3679
|
+
:rtype: str
|
|
3680
|
+
"""
|
|
3129
3681
|
return self._UnitPriceHigh
|
|
3130
3682
|
|
|
3131
3683
|
@UnitPriceHigh.setter
|
|
@@ -3134,6 +3686,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3134
3686
|
|
|
3135
3687
|
@property
|
|
3136
3688
|
def UnitPriceDiscountHigh(self):
|
|
3689
|
+
"""Discounted highly-precise unit price of a pay-as-you-go cloud disk, in USD.
|
|
3690
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3691
|
+
:rtype: str
|
|
3692
|
+
"""
|
|
3137
3693
|
return self._UnitPriceDiscountHigh
|
|
3138
3694
|
|
|
3139
3695
|
@UnitPriceDiscountHigh.setter
|
|
@@ -3315,6 +3871,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3315
3871
|
|
|
3316
3872
|
@property
|
|
3317
3873
|
def DeleteWithInstance(self):
|
|
3874
|
+
"""Whether the cloud disk terminates along with the instance mounted to it. <br><li>true: Cloud disk will also be terminated when instance terminates, so only hourly postpaid cloud disk are supported.<br><li>false: Cloud disk does not terminate when instance terminates.
|
|
3875
|
+
Note: This field may return null, indicating that no valid value was found.
|
|
3876
|
+
:rtype: bool
|
|
3877
|
+
"""
|
|
3318
3878
|
return self._DeleteWithInstance
|
|
3319
3879
|
|
|
3320
3880
|
@DeleteWithInstance.setter
|
|
@@ -3323,6 +3883,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3323
3883
|
|
|
3324
3884
|
@property
|
|
3325
3885
|
def RenewFlag(self):
|
|
3886
|
+
"""Auto renewal flag. Supported values:<br><li>NOTIFY_AND_AUTO_RENEW: Notify expiry and renew automatically<br><li>NOTIFY_AND_MANUAL_RENEW: Notify expiry but not renew automatically<br><li>DISABLE_NOTIFY_AND_MANUAL_RENEW: Neither notify expiry nor renew automatically.
|
|
3887
|
+
Note: This field may return null, indicating that no valid value was found.
|
|
3888
|
+
:rtype: str
|
|
3889
|
+
"""
|
|
3326
3890
|
return self._RenewFlag
|
|
3327
3891
|
|
|
3328
3892
|
@RenewFlag.setter
|
|
@@ -3331,6 +3895,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3331
3895
|
|
|
3332
3896
|
@property
|
|
3333
3897
|
def DiskType(self):
|
|
3898
|
+
"""Cloud disk types. Valid values: <br><li>CLOUD_BASIC: HDD cloud disk <br><li>CLOUD_PREMIUM: Premium Cloud Disk <br><li>CLOUD_BSSD: General Purpose SSD <br><li>CLOUD_SSD: SSD <br><li>CLOUD_HSSD: Enhanced SSD <br><li>CLOUD_TSSD: Tremendous SSD
|
|
3899
|
+
:rtype: str
|
|
3900
|
+
"""
|
|
3334
3901
|
return self._DiskType
|
|
3335
3902
|
|
|
3336
3903
|
@DiskType.setter
|
|
@@ -3339,6 +3906,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3339
3906
|
|
|
3340
3907
|
@property
|
|
3341
3908
|
def DiskState(self):
|
|
3909
|
+
"""The state of the cloud disk. Value range: <br><li>UNATTACHED: Not mounted <br><li>ATTACHING: Mounting <br><li>ATTACHED: Mounted <br><li>DETACHING: Un-mounting <br><li>EXPANDING: Expanding <br><li>ROLLBACKING: Rolling back <br><li>TORECYCE: Pending recycling. <br><li>DUMPING: Copying the hard drive.
|
|
3910
|
+
:rtype: str
|
|
3911
|
+
"""
|
|
3342
3912
|
return self._DiskState
|
|
3343
3913
|
|
|
3344
3914
|
@DiskState.setter
|
|
@@ -3347,6 +3917,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3347
3917
|
|
|
3348
3918
|
@property
|
|
3349
3919
|
def SnapshotCount(self):
|
|
3920
|
+
"""The total number of snapshots of the cloud disk.
|
|
3921
|
+
:rtype: int
|
|
3922
|
+
"""
|
|
3350
3923
|
return self._SnapshotCount
|
|
3351
3924
|
|
|
3352
3925
|
@SnapshotCount.setter
|
|
@@ -3355,6 +3928,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3355
3928
|
|
|
3356
3929
|
@property
|
|
3357
3930
|
def AutoRenewFlagError(self):
|
|
3931
|
+
"""Cloud disk already mounted to CVM, and both CVM and cloud disk use monthly subscription.<br><li>true: CVM has auto-renewal flag set up, but cloud disk does not.<br><li>false: Cloud disk auto-renewal flag set up normally.
|
|
3932
|
+
Note: This field may return null, indicating that no valid value was found.
|
|
3933
|
+
:rtype: bool
|
|
3934
|
+
"""
|
|
3358
3935
|
return self._AutoRenewFlagError
|
|
3359
3936
|
|
|
3360
3937
|
@AutoRenewFlagError.setter
|
|
@@ -3363,6 +3940,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3363
3940
|
|
|
3364
3941
|
@property
|
|
3365
3942
|
def Rollbacking(self):
|
|
3943
|
+
"""Whether the cloud disk is in the status of snapshot rollback. Value range: <br><li>false: No <br><li>true: Yes
|
|
3944
|
+
:rtype: bool
|
|
3945
|
+
"""
|
|
3366
3946
|
return self._Rollbacking
|
|
3367
3947
|
|
|
3368
3948
|
@Rollbacking.setter
|
|
@@ -3371,6 +3951,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3371
3951
|
|
|
3372
3952
|
@property
|
|
3373
3953
|
def InstanceIdList(self):
|
|
3954
|
+
"""For non-shareable cloud disks, this parameter is null. For shareable cloud disks, this parameters indicates this cloud disk's Instance IDs currently mounted to the CVM.
|
|
3955
|
+
:rtype: list of str
|
|
3956
|
+
"""
|
|
3374
3957
|
return self._InstanceIdList
|
|
3375
3958
|
|
|
3376
3959
|
@InstanceIdList.setter
|
|
@@ -3379,6 +3962,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3379
3962
|
|
|
3380
3963
|
@property
|
|
3381
3964
|
def Encrypt(self):
|
|
3965
|
+
"""Whether the cloud disk is encrypted. Value range: <br><li>false: Not encrypted <br><li>true: Encrypted.
|
|
3966
|
+
:rtype: bool
|
|
3967
|
+
"""
|
|
3382
3968
|
return self._Encrypt
|
|
3383
3969
|
|
|
3384
3970
|
@Encrypt.setter
|
|
@@ -3387,6 +3973,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3387
3973
|
|
|
3388
3974
|
@property
|
|
3389
3975
|
def DiskName(self):
|
|
3976
|
+
"""Cloud disk name.
|
|
3977
|
+
:rtype: str
|
|
3978
|
+
"""
|
|
3390
3979
|
return self._DiskName
|
|
3391
3980
|
|
|
3392
3981
|
@DiskName.setter
|
|
@@ -3395,6 +3984,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3395
3984
|
|
|
3396
3985
|
@property
|
|
3397
3986
|
def BackupDisk(self):
|
|
3987
|
+
"""Specifies whether to create a snapshot when the cloud disk is terminated due to overdue payment or expiration. `true`: create snapshot; `false`: do not create snapshot.
|
|
3988
|
+
:rtype: bool
|
|
3989
|
+
"""
|
|
3398
3990
|
return self._BackupDisk
|
|
3399
3991
|
|
|
3400
3992
|
@BackupDisk.setter
|
|
@@ -3403,6 +3995,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3403
3995
|
|
|
3404
3996
|
@property
|
|
3405
3997
|
def Tags(self):
|
|
3998
|
+
"""The tag bound to the cloud disk. The value Null is used when no tag is bound to the cloud disk.
|
|
3999
|
+
Note: This field may return null, indicating that no valid value was found.
|
|
4000
|
+
:rtype: list of Tag
|
|
4001
|
+
"""
|
|
3406
4002
|
return self._Tags
|
|
3407
4003
|
|
|
3408
4004
|
@Tags.setter
|
|
@@ -3411,6 +4007,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3411
4007
|
|
|
3412
4008
|
@property
|
|
3413
4009
|
def InstanceId(self):
|
|
4010
|
+
"""ID of the CVM to which the cloud disk is mounted.
|
|
4011
|
+
:rtype: str
|
|
4012
|
+
"""
|
|
3414
4013
|
return self._InstanceId
|
|
3415
4014
|
|
|
3416
4015
|
@InstanceId.setter
|
|
@@ -3419,6 +4018,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3419
4018
|
|
|
3420
4019
|
@property
|
|
3421
4020
|
def AttachMode(self):
|
|
4021
|
+
"""Cloud disk mount method. Valid values: <br><li>PF: mount as a PF (Physical Function)<br><li>VF: mount as a VF (Virtual Function)
|
|
4022
|
+
Note: this field may return `null`, indicating that no valid value is obtained.
|
|
4023
|
+
:rtype: str
|
|
4024
|
+
"""
|
|
3422
4025
|
return self._AttachMode
|
|
3423
4026
|
|
|
3424
4027
|
@AttachMode.setter
|
|
@@ -3427,6 +4030,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3427
4030
|
|
|
3428
4031
|
@property
|
|
3429
4032
|
def AutoSnapshotPolicyIds(self):
|
|
4033
|
+
"""ID of the periodic snapshot associated to the cloud disk. This parameter is returned only if the value of parameter ReturnBindAutoSnapshotPolicy is TRUE when the API DescribeDisks is called.
|
|
4034
|
+
Note: This field may return null, indicating that no valid value was found.
|
|
4035
|
+
:rtype: list of str
|
|
4036
|
+
"""
|
|
3430
4037
|
return self._AutoSnapshotPolicyIds
|
|
3431
4038
|
|
|
3432
4039
|
@AutoSnapshotPolicyIds.setter
|
|
@@ -3435,6 +4042,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3435
4042
|
|
|
3436
4043
|
@property
|
|
3437
4044
|
def ThroughputPerformance(self):
|
|
4045
|
+
"""Extra performance for a cloud disk, in MB/sec.
|
|
4046
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
4047
|
+
:rtype: int
|
|
4048
|
+
"""
|
|
3438
4049
|
return self._ThroughputPerformance
|
|
3439
4050
|
|
|
3440
4051
|
@ThroughputPerformance.setter
|
|
@@ -3443,6 +4054,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3443
4054
|
|
|
3444
4055
|
@property
|
|
3445
4056
|
def Migrating(self):
|
|
4057
|
+
"""Whether cloud disk is in process of type change. Value range: <br><li>false: Cloud disk not in process of type change. <br><li>true: Cloud disk type change has been launched, and migration is in process.
|
|
4058
|
+
Note: This field may return null, indicating that no valid value was found.
|
|
4059
|
+
:rtype: bool
|
|
4060
|
+
"""
|
|
3446
4061
|
return self._Migrating
|
|
3447
4062
|
|
|
3448
4063
|
@Migrating.setter
|
|
@@ -3451,6 +4066,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3451
4066
|
|
|
3452
4067
|
@property
|
|
3453
4068
|
def DiskId(self):
|
|
4069
|
+
"""Cloud disk ID.
|
|
4070
|
+
:rtype: str
|
|
4071
|
+
"""
|
|
3454
4072
|
return self._DiskId
|
|
3455
4073
|
|
|
3456
4074
|
@DiskId.setter
|
|
@@ -3459,6 +4077,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3459
4077
|
|
|
3460
4078
|
@property
|
|
3461
4079
|
def SnapshotSize(self):
|
|
4080
|
+
"""The total capacity of the snapshots of the cloud disk. Unit: MB.
|
|
4081
|
+
:rtype: int
|
|
4082
|
+
"""
|
|
3462
4083
|
return self._SnapshotSize
|
|
3463
4084
|
|
|
3464
4085
|
@SnapshotSize.setter
|
|
@@ -3467,6 +4088,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3467
4088
|
|
|
3468
4089
|
@property
|
|
3469
4090
|
def Placement(self):
|
|
4091
|
+
"""Location of the cloud disk.
|
|
4092
|
+
:rtype: :class:`tencentcloud.cbs.v20170312.models.Placement`
|
|
4093
|
+
"""
|
|
3470
4094
|
return self._Placement
|
|
3471
4095
|
|
|
3472
4096
|
@Placement.setter
|
|
@@ -3475,6 +4099,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3475
4099
|
|
|
3476
4100
|
@property
|
|
3477
4101
|
def IsReturnable(self):
|
|
4102
|
+
"""Determines whether or not prepaid cloud disk supports active return. <br><li>true: Active return supported.<br><li>false: Active return not supported.
|
|
4103
|
+
Note: This field may return null, indicating that no valid value was found.
|
|
4104
|
+
:rtype: bool
|
|
4105
|
+
"""
|
|
3478
4106
|
return self._IsReturnable
|
|
3479
4107
|
|
|
3480
4108
|
@IsReturnable.setter
|
|
@@ -3483,6 +4111,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3483
4111
|
|
|
3484
4112
|
@property
|
|
3485
4113
|
def DeadlineTime(self):
|
|
4114
|
+
"""Expiration time of the cloud disk.
|
|
4115
|
+
:rtype: str
|
|
4116
|
+
"""
|
|
3486
4117
|
return self._DeadlineTime
|
|
3487
4118
|
|
|
3488
4119
|
@DeadlineTime.setter
|
|
@@ -3491,6 +4122,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3491
4122
|
|
|
3492
4123
|
@property
|
|
3493
4124
|
def Attached(self):
|
|
4125
|
+
"""Whether the cloud disk is mounted to the CVM. Value range: <br><li>false: Unmounted <br><li>true: Mounted.
|
|
4126
|
+
:rtype: bool
|
|
4127
|
+
"""
|
|
3494
4128
|
return self._Attached
|
|
3495
4129
|
|
|
3496
4130
|
@Attached.setter
|
|
@@ -3499,6 +4133,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3499
4133
|
|
|
3500
4134
|
@property
|
|
3501
4135
|
def DiskSize(self):
|
|
4136
|
+
"""Cloud disk size (in GB).
|
|
4137
|
+
:rtype: int
|
|
4138
|
+
"""
|
|
3502
4139
|
return self._DiskSize
|
|
3503
4140
|
|
|
3504
4141
|
@DiskSize.setter
|
|
@@ -3507,6 +4144,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3507
4144
|
|
|
3508
4145
|
@property
|
|
3509
4146
|
def MigratePercent(self):
|
|
4147
|
+
"""Migration progress of cloud disk type change, from 0 to 100.
|
|
4148
|
+
Note: This field may return null, indicating that no valid value was found.
|
|
4149
|
+
:rtype: int
|
|
4150
|
+
"""
|
|
3510
4151
|
return self._MigratePercent
|
|
3511
4152
|
|
|
3512
4153
|
@MigratePercent.setter
|
|
@@ -3515,6 +4156,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3515
4156
|
|
|
3516
4157
|
@property
|
|
3517
4158
|
def DiskUsage(self):
|
|
4159
|
+
"""Cloud disk type. Value range:<br><li>SYSTEM_DISK: System disk <br><li>DATA_DISK: Data disk.
|
|
4160
|
+
:rtype: str
|
|
4161
|
+
"""
|
|
3518
4162
|
return self._DiskUsage
|
|
3519
4163
|
|
|
3520
4164
|
@DiskUsage.setter
|
|
@@ -3523,6 +4167,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3523
4167
|
|
|
3524
4168
|
@property
|
|
3525
4169
|
def DiskChargeType(self):
|
|
4170
|
+
"""Billing method. Value range: <br><li>PREPAID: Prepaid, that is, monthly subscription<br><li>POSTPAID_BY_HOUR: Postpaid, that is, pay as you go.
|
|
4171
|
+
:rtype: str
|
|
4172
|
+
"""
|
|
3526
4173
|
return self._DiskChargeType
|
|
3527
4174
|
|
|
3528
4175
|
@DiskChargeType.setter
|
|
@@ -3531,6 +4178,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3531
4178
|
|
|
3532
4179
|
@property
|
|
3533
4180
|
def Portable(self):
|
|
4181
|
+
"""Whether it is an elastic cloud disk. false: Non-elastic cloud disk; true: Elastic cloud disk.
|
|
4182
|
+
:rtype: bool
|
|
4183
|
+
"""
|
|
3534
4184
|
return self._Portable
|
|
3535
4185
|
|
|
3536
4186
|
@Portable.setter
|
|
@@ -3539,6 +4189,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3539
4189
|
|
|
3540
4190
|
@property
|
|
3541
4191
|
def SnapshotAbility(self):
|
|
4192
|
+
"""Whether the cloud disk has the capability to create snapshots. Value range: <br><li>false: Cannot create snapshots. true: Can create snapshots.
|
|
4193
|
+
:rtype: bool
|
|
4194
|
+
"""
|
|
3542
4195
|
return self._SnapshotAbility
|
|
3543
4196
|
|
|
3544
4197
|
@SnapshotAbility.setter
|
|
@@ -3547,6 +4200,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3547
4200
|
|
|
3548
4201
|
@property
|
|
3549
4202
|
def DeadlineError(self):
|
|
4203
|
+
"""This field is only applicable when the instance is already mounted to the cloud disk, and both the instance and the cloud disk use monthly subscription. <br><li>true: Expiration time of cloud disk is earlier than that of the instance.<br><li>false:Expiration time of cloud disk is later than that of the instance.
|
|
4204
|
+
Note: This field may return null, indicating that no valid value was found.
|
|
4205
|
+
:rtype: bool
|
|
4206
|
+
"""
|
|
3550
4207
|
return self._DeadlineError
|
|
3551
4208
|
|
|
3552
4209
|
@DeadlineError.setter
|
|
@@ -3555,6 +4212,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3555
4212
|
|
|
3556
4213
|
@property
|
|
3557
4214
|
def RollbackPercent(self):
|
|
4215
|
+
"""Rollback progress of a cloud disk snapshot.
|
|
4216
|
+
:rtype: int
|
|
4217
|
+
"""
|
|
3558
4218
|
return self._RollbackPercent
|
|
3559
4219
|
|
|
3560
4220
|
@RollbackPercent.setter
|
|
@@ -3563,6 +4223,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3563
4223
|
|
|
3564
4224
|
@property
|
|
3565
4225
|
def DifferDaysOfDeadline(self):
|
|
4226
|
+
"""Number of days from current time until disk expiration (only applicable for prepaid disks).
|
|
4227
|
+
Note: This field may return null, indicating that no valid value was found.
|
|
4228
|
+
:rtype: int
|
|
4229
|
+
"""
|
|
3566
4230
|
return self._DifferDaysOfDeadline
|
|
3567
4231
|
|
|
3568
4232
|
@DifferDaysOfDeadline.setter
|
|
@@ -3571,6 +4235,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3571
4235
|
|
|
3572
4236
|
@property
|
|
3573
4237
|
def ReturnFailCode(self):
|
|
4238
|
+
"""In circumstances where the prepaid cloud disk does not support active return, this parameter indicates the reason that return is not supported. Value range: <br><li>1: The cloud disk has already been returned. <br><li>2: The cloud disk has already expired. <br><li>3: The cloud disk does not support return. <br><li> 8: The limit on the number of returns is exceeded.
|
|
4239
|
+
Note: This field may return null, indicating that no valid value was found.
|
|
4240
|
+
:rtype: int
|
|
4241
|
+
"""
|
|
3574
4242
|
return self._ReturnFailCode
|
|
3575
4243
|
|
|
3576
4244
|
@ReturnFailCode.setter
|
|
@@ -3579,6 +4247,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3579
4247
|
|
|
3580
4248
|
@property
|
|
3581
4249
|
def Shareable(self):
|
|
4250
|
+
"""Whether or not cloud disk is shareable cloud disk.
|
|
4251
|
+
:rtype: bool
|
|
4252
|
+
"""
|
|
3582
4253
|
return self._Shareable
|
|
3583
4254
|
|
|
3584
4255
|
@Shareable.setter
|
|
@@ -3587,6 +4258,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3587
4258
|
|
|
3588
4259
|
@property
|
|
3589
4260
|
def CreateTime(self):
|
|
4261
|
+
"""Creation time of the cloud disk.
|
|
4262
|
+
:rtype: str
|
|
4263
|
+
"""
|
|
3590
4264
|
return self._CreateTime
|
|
3591
4265
|
|
|
3592
4266
|
@CreateTime.setter
|
|
@@ -3595,6 +4269,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3595
4269
|
|
|
3596
4270
|
@property
|
|
3597
4271
|
def DeleteSnapshot(self):
|
|
4272
|
+
"""Delete the associated non-permanently reserved snapshots upon deletion of the source cloud disk. `0`: No (default). `1`: Yes. To check whether a snapshot is permanently reserved, refer to the `IsPermanent` field returned by the `DescribeSnapshots` API.
|
|
4273
|
+
:rtype: int
|
|
4274
|
+
"""
|
|
3598
4275
|
return self._DeleteSnapshot
|
|
3599
4276
|
|
|
3600
4277
|
@DeleteSnapshot.setter
|
|
@@ -3603,6 +4280,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3603
4280
|
|
|
3604
4281
|
@property
|
|
3605
4282
|
def DiskBackupQuota(self):
|
|
4283
|
+
"""Quota of cloud disk backup points, i.e., the maximum number of backup points that a cloud disk can have.
|
|
4284
|
+
:rtype: int
|
|
4285
|
+
"""
|
|
3606
4286
|
return self._DiskBackupQuota
|
|
3607
4287
|
|
|
3608
4288
|
@DiskBackupQuota.setter
|
|
@@ -3611,6 +4291,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3611
4291
|
|
|
3612
4292
|
@property
|
|
3613
4293
|
def DiskBackupCount(self):
|
|
4294
|
+
"""Number of used cloud disk backups.
|
|
4295
|
+
:rtype: int
|
|
4296
|
+
"""
|
|
3614
4297
|
return self._DiskBackupCount
|
|
3615
4298
|
|
|
3616
4299
|
@DiskBackupCount.setter
|
|
@@ -3619,6 +4302,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3619
4302
|
|
|
3620
4303
|
@property
|
|
3621
4304
|
def InstanceType(self):
|
|
4305
|
+
"""Type of the instance mounted to the cloud disk. Valid values: <br><li>CVM<br><li>EKS
|
|
4306
|
+
:rtype: str
|
|
4307
|
+
"""
|
|
3622
4308
|
return self._InstanceType
|
|
3623
4309
|
|
|
3624
4310
|
@InstanceType.setter
|
|
@@ -3627,6 +4313,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3627
4313
|
|
|
3628
4314
|
@property
|
|
3629
4315
|
def LastAttachInsId(self):
|
|
4316
|
+
"""ID of the last instance to which the cloud disk is attached
|
|
4317
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4318
|
+
:rtype: str
|
|
4319
|
+
"""
|
|
3630
4320
|
return self._LastAttachInsId
|
|
3631
4321
|
|
|
3632
4322
|
@LastAttachInsId.setter
|
|
@@ -3635,6 +4325,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3635
4325
|
|
|
3636
4326
|
@property
|
|
3637
4327
|
def ErrorPrompt(self):
|
|
4328
|
+
"""Error message for the last operation of the cloud disk
|
|
4329
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4330
|
+
:rtype: str
|
|
4331
|
+
"""
|
|
3638
4332
|
return self._ErrorPrompt
|
|
3639
4333
|
|
|
3640
4334
|
@ErrorPrompt.setter
|
|
@@ -3643,6 +4337,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3643
4337
|
|
|
3644
4338
|
@property
|
|
3645
4339
|
def BurstPerformance(self):
|
|
4340
|
+
"""Whether the cloud disk has enabled disk bursting. Note: This field may return null, indicating that no valid values can be obtained.
|
|
4341
|
+
:rtype: bool
|
|
4342
|
+
"""
|
|
3646
4343
|
return self._BurstPerformance
|
|
3647
4344
|
|
|
3648
4345
|
@BurstPerformance.setter
|
|
@@ -3748,6 +4445,9 @@ class DiskBackup(AbstractModel):
|
|
|
3748
4445
|
|
|
3749
4446
|
@property
|
|
3750
4447
|
def DiskBackupId(self):
|
|
4448
|
+
"""Cloud disk backup point ID.
|
|
4449
|
+
:rtype: str
|
|
4450
|
+
"""
|
|
3751
4451
|
return self._DiskBackupId
|
|
3752
4452
|
|
|
3753
4453
|
@DiskBackupId.setter
|
|
@@ -3756,6 +4456,9 @@ class DiskBackup(AbstractModel):
|
|
|
3756
4456
|
|
|
3757
4457
|
@property
|
|
3758
4458
|
def DiskId(self):
|
|
4459
|
+
"""ID of the cloud disk with which the backup point is associated.
|
|
4460
|
+
:rtype: str
|
|
4461
|
+
"""
|
|
3759
4462
|
return self._DiskId
|
|
3760
4463
|
|
|
3761
4464
|
@DiskId.setter
|
|
@@ -3764,6 +4467,9 @@ class DiskBackup(AbstractModel):
|
|
|
3764
4467
|
|
|
3765
4468
|
@property
|
|
3766
4469
|
def DiskSize(self):
|
|
4470
|
+
"""Cloud disk size in GB.
|
|
4471
|
+
:rtype: int
|
|
4472
|
+
"""
|
|
3767
4473
|
return self._DiskSize
|
|
3768
4474
|
|
|
3769
4475
|
@DiskSize.setter
|
|
@@ -3772,6 +4478,9 @@ class DiskBackup(AbstractModel):
|
|
|
3772
4478
|
|
|
3773
4479
|
@property
|
|
3774
4480
|
def DiskUsage(self):
|
|
4481
|
+
"""Cloud disk type. Valid values:<br><li>SYSTEM_DISK: System disk <br><li>DATA_DISK: Data disk
|
|
4482
|
+
:rtype: str
|
|
4483
|
+
"""
|
|
3775
4484
|
return self._DiskUsage
|
|
3776
4485
|
|
|
3777
4486
|
@DiskUsage.setter
|
|
@@ -3780,6 +4489,9 @@ class DiskBackup(AbstractModel):
|
|
|
3780
4489
|
|
|
3781
4490
|
@property
|
|
3782
4491
|
def DiskBackupName(self):
|
|
4492
|
+
"""Backup point name.
|
|
4493
|
+
:rtype: str
|
|
4494
|
+
"""
|
|
3783
4495
|
return self._DiskBackupName
|
|
3784
4496
|
|
|
3785
4497
|
@DiskBackupName.setter
|
|
@@ -3788,6 +4500,9 @@ class DiskBackup(AbstractModel):
|
|
|
3788
4500
|
|
|
3789
4501
|
@property
|
|
3790
4502
|
def DiskBackupState(self):
|
|
4503
|
+
"""Cloud disk backup point status. Valid values:<br><li>NORMAL: Normal<br><li>CREATING: Creating<br><li>ROLLBACKING: Rolling back
|
|
4504
|
+
:rtype: str
|
|
4505
|
+
"""
|
|
3791
4506
|
return self._DiskBackupState
|
|
3792
4507
|
|
|
3793
4508
|
@DiskBackupState.setter
|
|
@@ -3796,6 +4511,9 @@ class DiskBackup(AbstractModel):
|
|
|
3796
4511
|
|
|
3797
4512
|
@property
|
|
3798
4513
|
def Percent(self):
|
|
4514
|
+
"""Cloud disk creation progress in percentage.
|
|
4515
|
+
:rtype: int
|
|
4516
|
+
"""
|
|
3799
4517
|
return self._Percent
|
|
3800
4518
|
|
|
3801
4519
|
@Percent.setter
|
|
@@ -3804,6 +4522,9 @@ class DiskBackup(AbstractModel):
|
|
|
3804
4522
|
|
|
3805
4523
|
@property
|
|
3806
4524
|
def CreateTime(self):
|
|
4525
|
+
"""Creation time of the cloud disk backup point.
|
|
4526
|
+
:rtype: str
|
|
4527
|
+
"""
|
|
3807
4528
|
return self._CreateTime
|
|
3808
4529
|
|
|
3809
4530
|
@CreateTime.setter
|
|
@@ -3812,6 +4533,9 @@ class DiskBackup(AbstractModel):
|
|
|
3812
4533
|
|
|
3813
4534
|
@property
|
|
3814
4535
|
def Encrypt(self):
|
|
4536
|
+
"""Whether the cloud disk is encrypted. Valid values: <br><li>false: Not encrypted <br><li>true: Encrypted
|
|
4537
|
+
:rtype: bool
|
|
4538
|
+
"""
|
|
3815
4539
|
return self._Encrypt
|
|
3816
4540
|
|
|
3817
4541
|
@Encrypt.setter
|
|
@@ -3859,6 +4583,9 @@ class DiskChargePrepaid(AbstractModel):
|
|
|
3859
4583
|
|
|
3860
4584
|
@property
|
|
3861
4585
|
def Period(self):
|
|
4586
|
+
"""Subscription period of the cloud disk in months. Valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36.
|
|
4587
|
+
:rtype: int
|
|
4588
|
+
"""
|
|
3862
4589
|
return self._Period
|
|
3863
4590
|
|
|
3864
4591
|
@Period.setter
|
|
@@ -3867,6 +4594,9 @@ class DiskChargePrepaid(AbstractModel):
|
|
|
3867
4594
|
|
|
3868
4595
|
@property
|
|
3869
4596
|
def RenewFlag(self):
|
|
4597
|
+
"""Auto-renewal flag. Valid values: <br><li>NOTIFY_AND_AUTO_RENEW: Notify upon expiration and renew automatically <br><li>NOTIFY_AND_MANUAL_RENEW: Notify upon expiration but do not renew automatically <br><li>DISABLE_NOTIFY_AND_MANUAL_RENEW: Neither notify upon expiration nor renew automatically <br><br>Default value: NOTIFY_AND_MANUAL_RENEW.
|
|
4598
|
+
:rtype: str
|
|
4599
|
+
"""
|
|
3870
4600
|
return self._RenewFlag
|
|
3871
4601
|
|
|
3872
4602
|
@RenewFlag.setter
|
|
@@ -3875,6 +4605,9 @@ class DiskChargePrepaid(AbstractModel):
|
|
|
3875
4605
|
|
|
3876
4606
|
@property
|
|
3877
4607
|
def CurInstanceDeadline(self):
|
|
4608
|
+
"""You can specify this parameter when you need to ensure that a cloud disk and the CVM instance to which it is attached have the same expiration time. This parameter represents the current expiration time of the instance. In this case, if you specify `Period`, `Period` will represent how long you want to renew the instance, and the cloud disk will be renewed based on the new expiration time of the instance. For example, the value of this parameter can be `2018-03-30 20:15:03`.
|
|
4609
|
+
:rtype: str
|
|
4610
|
+
"""
|
|
3878
4611
|
return self._CurInstanceDeadline
|
|
3879
4612
|
|
|
3880
4613
|
@CurInstanceDeadline.setter
|
|
@@ -3948,6 +4681,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3948
4681
|
|
|
3949
4682
|
@property
|
|
3950
4683
|
def Available(self):
|
|
4684
|
+
"""Whether the configuration is available.
|
|
4685
|
+
:rtype: bool
|
|
4686
|
+
"""
|
|
3951
4687
|
return self._Available
|
|
3952
4688
|
|
|
3953
4689
|
@Available.setter
|
|
@@ -3956,6 +4692,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3956
4692
|
|
|
3957
4693
|
@property
|
|
3958
4694
|
def DiskChargeType(self):
|
|
4695
|
+
"""Billing method. Value range: <br><li>PREPAID: Prepaid, that is, monthly subscription<br><li>POSTPAID_BY_HOUR: Postpaid, that is, pay as you go.
|
|
4696
|
+
:rtype: str
|
|
4697
|
+
"""
|
|
3959
4698
|
return self._DiskChargeType
|
|
3960
4699
|
|
|
3961
4700
|
@DiskChargeType.setter
|
|
@@ -3964,6 +4703,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3964
4703
|
|
|
3965
4704
|
@property
|
|
3966
4705
|
def Zone(self):
|
|
4706
|
+
"""The [Availability Region](https://intl.cloud.tencent.com/document/product/213/15753?from_cn_redirect=1#ZoneInfo) of the cloud drive.
|
|
4707
|
+
:rtype: str
|
|
4708
|
+
"""
|
|
3967
4709
|
return self._Zone
|
|
3968
4710
|
|
|
3969
4711
|
@Zone.setter
|
|
@@ -3972,6 +4714,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3972
4714
|
|
|
3973
4715
|
@property
|
|
3974
4716
|
def InstanceFamily(self):
|
|
4717
|
+
"""Instance model series. For more information, please see [Instance Models](https://intl.cloud.tencent.com/document/product/213/11518?from_cn_redirect=1)
|
|
4718
|
+
Note: This field may return null, indicating that no valid value was found.
|
|
4719
|
+
:rtype: str
|
|
4720
|
+
"""
|
|
3975
4721
|
return self._InstanceFamily
|
|
3976
4722
|
|
|
3977
4723
|
@InstanceFamily.setter
|
|
@@ -3980,6 +4726,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3980
4726
|
|
|
3981
4727
|
@property
|
|
3982
4728
|
def DiskType(self):
|
|
4729
|
+
"""Type of cloud disk medium. Value range: <br><li>CLOUD_BASIC: Ordinary cloud disk <br><li>CLOUD_PREMIUM: Premium cloud storage <br><li>CLOUD_SSD: SSD cloud disk.
|
|
4730
|
+
:rtype: str
|
|
4731
|
+
"""
|
|
3983
4732
|
return self._DiskType
|
|
3984
4733
|
|
|
3985
4734
|
@DiskType.setter
|
|
@@ -3988,6 +4737,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3988
4737
|
|
|
3989
4738
|
@property
|
|
3990
4739
|
def StepSize(self):
|
|
4740
|
+
"""Minimum increment of cloud disk size adjustment in GB.
|
|
4741
|
+
Note: This field might return null, indicating that no valid values can be obtained.
|
|
4742
|
+
:rtype: int
|
|
4743
|
+
"""
|
|
3991
4744
|
return self._StepSize
|
|
3992
4745
|
|
|
3993
4746
|
@StepSize.setter
|
|
@@ -3996,6 +4749,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3996
4749
|
|
|
3997
4750
|
@property
|
|
3998
4751
|
def ExtraPerformanceRange(self):
|
|
4752
|
+
"""Additional performance range.
|
|
4753
|
+
Note: This field might return null, indicating that no valid values can be obtained.
|
|
4754
|
+
:rtype: list of int
|
|
4755
|
+
"""
|
|
3999
4756
|
return self._ExtraPerformanceRange
|
|
4000
4757
|
|
|
4001
4758
|
@ExtraPerformanceRange.setter
|
|
@@ -4004,6 +4761,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
4004
4761
|
|
|
4005
4762
|
@property
|
|
4006
4763
|
def DeviceClass(self):
|
|
4764
|
+
"""Instance model.
|
|
4765
|
+
Note: This field may return null, indicating that no valid value was found.
|
|
4766
|
+
:rtype: str
|
|
4767
|
+
"""
|
|
4007
4768
|
return self._DeviceClass
|
|
4008
4769
|
|
|
4009
4770
|
@DeviceClass.setter
|
|
@@ -4012,6 +4773,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
4012
4773
|
|
|
4013
4774
|
@property
|
|
4014
4775
|
def DiskUsage(self):
|
|
4776
|
+
"""Cloud disk type. Value range: <br><li>SYSTEM_DISK: System disk <br><li>DATA_DISK: Data disk.
|
|
4777
|
+
:rtype: str
|
|
4778
|
+
"""
|
|
4015
4779
|
return self._DiskUsage
|
|
4016
4780
|
|
|
4017
4781
|
@DiskUsage.setter
|
|
@@ -4020,6 +4784,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
4020
4784
|
|
|
4021
4785
|
@property
|
|
4022
4786
|
def MinDiskSize(self):
|
|
4787
|
+
"""The minimum configurable cloud disk size (in GB).
|
|
4788
|
+
:rtype: int
|
|
4789
|
+
"""
|
|
4023
4790
|
return self._MinDiskSize
|
|
4024
4791
|
|
|
4025
4792
|
@MinDiskSize.setter
|
|
@@ -4028,6 +4795,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
4028
4795
|
|
|
4029
4796
|
@property
|
|
4030
4797
|
def MaxDiskSize(self):
|
|
4798
|
+
"""The maximum configurable cloud disk size (in GB).
|
|
4799
|
+
:rtype: int
|
|
4800
|
+
"""
|
|
4031
4801
|
return self._MaxDiskSize
|
|
4032
4802
|
|
|
4033
4803
|
@MaxDiskSize.setter
|
|
@@ -4036,6 +4806,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
4036
4806
|
|
|
4037
4807
|
@property
|
|
4038
4808
|
def Price(self):
|
|
4809
|
+
"""Price of a monthly subscribed or pay-as-you-go cloud disk.
|
|
4810
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4811
|
+
:rtype: :class:`tencentcloud.cbs.v20170312.models.Price`
|
|
4812
|
+
"""
|
|
4039
4813
|
return self._Price
|
|
4040
4814
|
|
|
4041
4815
|
@Price.setter
|
|
@@ -4109,6 +4883,9 @@ PROCESSING: Operation in process
|
|
|
4109
4883
|
|
|
4110
4884
|
@property
|
|
4111
4885
|
def Operator(self):
|
|
4886
|
+
"""UIN of operator.
|
|
4887
|
+
:rtype: str
|
|
4888
|
+
"""
|
|
4112
4889
|
return self._Operator
|
|
4113
4890
|
|
|
4114
4891
|
@Operator.setter
|
|
@@ -4117,6 +4894,18 @@ PROCESSING: Operation in process
|
|
|
4117
4894
|
|
|
4118
4895
|
@property
|
|
4119
4896
|
def Operation(self):
|
|
4897
|
+
"""Operation type. Value range:
|
|
4898
|
+
CBS_OPERATION_ATTACH: Mount cloud disk
|
|
4899
|
+
CBS_OPERATION_DETACH: Unmount cloud disk
|
|
4900
|
+
CBS_OPERATION_RENEW: Renew
|
|
4901
|
+
CBS_OPERATION_EXPAND: Expand
|
|
4902
|
+
CBS_OPERATION_CREATE: Create
|
|
4903
|
+
CBS_OPERATION_ISOLATE: Isolate
|
|
4904
|
+
CBS_OPERATION_MODIFY: Modify cloud disk attributes
|
|
4905
|
+
ASP_OPERATION_BIND: Associate scheduled snapshot policy
|
|
4906
|
+
ASP_OPERATION_UNBIND: Cancel associated scheduled snapshot policy
|
|
4907
|
+
:rtype: str
|
|
4908
|
+
"""
|
|
4120
4909
|
return self._Operation
|
|
4121
4910
|
|
|
4122
4911
|
@Operation.setter
|
|
@@ -4125,6 +4914,9 @@ PROCESSING: Operation in process
|
|
|
4125
4914
|
|
|
4126
4915
|
@property
|
|
4127
4916
|
def DiskId(self):
|
|
4917
|
+
"""Cloud disk ID of operation.
|
|
4918
|
+
:rtype: str
|
|
4919
|
+
"""
|
|
4128
4920
|
return self._DiskId
|
|
4129
4921
|
|
|
4130
4922
|
@DiskId.setter
|
|
@@ -4133,6 +4925,12 @@ PROCESSING: Operation in process
|
|
|
4133
4925
|
|
|
4134
4926
|
@property
|
|
4135
4927
|
def OperationState(self):
|
|
4928
|
+
"""Status of operation. Value range:
|
|
4929
|
+
SUCCESS: Operation successful
|
|
4930
|
+
FAILED: Operation failed
|
|
4931
|
+
PROCESSING: Operation in process
|
|
4932
|
+
:rtype: str
|
|
4933
|
+
"""
|
|
4136
4934
|
return self._OperationState
|
|
4137
4935
|
|
|
4138
4936
|
@OperationState.setter
|
|
@@ -4141,6 +4939,9 @@ PROCESSING: Operation in process
|
|
|
4141
4939
|
|
|
4142
4940
|
@property
|
|
4143
4941
|
def StartTime(self):
|
|
4942
|
+
"""Start time
|
|
4943
|
+
:rtype: str
|
|
4944
|
+
"""
|
|
4144
4945
|
return self._StartTime
|
|
4145
4946
|
|
|
4146
4947
|
@StartTime.setter
|
|
@@ -4149,6 +4950,9 @@ PROCESSING: Operation in process
|
|
|
4149
4950
|
|
|
4150
4951
|
@property
|
|
4151
4952
|
def EndTime(self):
|
|
4953
|
+
"""End time
|
|
4954
|
+
:rtype: str
|
|
4955
|
+
"""
|
|
4152
4956
|
return self._EndTime
|
|
4153
4957
|
|
|
4154
4958
|
@EndTime.setter
|
|
@@ -4190,6 +4994,9 @@ class Filter(AbstractModel):
|
|
|
4190
4994
|
|
|
4191
4995
|
@property
|
|
4192
4996
|
def Name(self):
|
|
4997
|
+
"""Name of filter key.
|
|
4998
|
+
:rtype: str
|
|
4999
|
+
"""
|
|
4193
5000
|
return self._Name
|
|
4194
5001
|
|
|
4195
5002
|
@Name.setter
|
|
@@ -4198,6 +5005,9 @@ class Filter(AbstractModel):
|
|
|
4198
5005
|
|
|
4199
5006
|
@property
|
|
4200
5007
|
def Values(self):
|
|
5008
|
+
"""One or more filter values.
|
|
5009
|
+
:rtype: list of str
|
|
5010
|
+
"""
|
|
4201
5011
|
return self._Values
|
|
4202
5012
|
|
|
4203
5013
|
@Values.setter
|
|
@@ -4250,6 +5060,9 @@ class GetSnapOverviewResponse(AbstractModel):
|
|
|
4250
5060
|
|
|
4251
5061
|
@property
|
|
4252
5062
|
def TotalSize(self):
|
|
5063
|
+
"""The total snapshot size of the user
|
|
5064
|
+
:rtype: float
|
|
5065
|
+
"""
|
|
4253
5066
|
return self._TotalSize
|
|
4254
5067
|
|
|
4255
5068
|
@TotalSize.setter
|
|
@@ -4258,6 +5071,9 @@ class GetSnapOverviewResponse(AbstractModel):
|
|
|
4258
5071
|
|
|
4259
5072
|
@property
|
|
4260
5073
|
def RealTradeSize(self):
|
|
5074
|
+
"""The total billed snapshot size of the user
|
|
5075
|
+
:rtype: float
|
|
5076
|
+
"""
|
|
4261
5077
|
return self._RealTradeSize
|
|
4262
5078
|
|
|
4263
5079
|
@RealTradeSize.setter
|
|
@@ -4266,6 +5082,9 @@ class GetSnapOverviewResponse(AbstractModel):
|
|
|
4266
5082
|
|
|
4267
5083
|
@property
|
|
4268
5084
|
def FreeQuota(self):
|
|
5085
|
+
"""Free tier of snapshot
|
|
5086
|
+
:rtype: float
|
|
5087
|
+
"""
|
|
4269
5088
|
return self._FreeQuota
|
|
4270
5089
|
|
|
4271
5090
|
@FreeQuota.setter
|
|
@@ -4274,6 +5093,9 @@ class GetSnapOverviewResponse(AbstractModel):
|
|
|
4274
5093
|
|
|
4275
5094
|
@property
|
|
4276
5095
|
def TotalNums(self):
|
|
5096
|
+
"""Total number of snapshots
|
|
5097
|
+
:rtype: int
|
|
5098
|
+
"""
|
|
4277
5099
|
return self._TotalNums
|
|
4278
5100
|
|
|
4279
5101
|
@TotalNums.setter
|
|
@@ -4282,6 +5104,9 @@ class GetSnapOverviewResponse(AbstractModel):
|
|
|
4282
5104
|
|
|
4283
5105
|
@property
|
|
4284
5106
|
def RequestId(self):
|
|
5107
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
5108
|
+
:rtype: str
|
|
5109
|
+
"""
|
|
4285
5110
|
return self._RequestId
|
|
4286
5111
|
|
|
4287
5112
|
@RequestId.setter
|
|
@@ -4314,6 +5139,9 @@ class Image(AbstractModel):
|
|
|
4314
5139
|
|
|
4315
5140
|
@property
|
|
4316
5141
|
def ImageId(self):
|
|
5142
|
+
"""Image instance ID.
|
|
5143
|
+
:rtype: str
|
|
5144
|
+
"""
|
|
4317
5145
|
return self._ImageId
|
|
4318
5146
|
|
|
4319
5147
|
@ImageId.setter
|
|
@@ -4322,6 +5150,9 @@ class Image(AbstractModel):
|
|
|
4322
5150
|
|
|
4323
5151
|
@property
|
|
4324
5152
|
def ImageName(self):
|
|
5153
|
+
"""Image name.
|
|
5154
|
+
:rtype: str
|
|
5155
|
+
"""
|
|
4325
5156
|
return self._ImageName
|
|
4326
5157
|
|
|
4327
5158
|
@ImageName.setter
|
|
@@ -4356,6 +5187,9 @@ class InitializeDisksRequest(AbstractModel):
|
|
|
4356
5187
|
|
|
4357
5188
|
@property
|
|
4358
5189
|
def DiskIds(self):
|
|
5190
|
+
"""ID list of the cloud disks to be reinitialized. Up to 20 disks can be reinitialized at a time.
|
|
5191
|
+
:rtype: list of str
|
|
5192
|
+
"""
|
|
4359
5193
|
return self._DiskIds
|
|
4360
5194
|
|
|
4361
5195
|
@DiskIds.setter
|
|
@@ -4389,6 +5223,9 @@ class InitializeDisksResponse(AbstractModel):
|
|
|
4389
5223
|
|
|
4390
5224
|
@property
|
|
4391
5225
|
def RequestId(self):
|
|
5226
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
5227
|
+
:rtype: str
|
|
5228
|
+
"""
|
|
4392
5229
|
return self._RequestId
|
|
4393
5230
|
|
|
4394
5231
|
@RequestId.setter
|
|
@@ -4417,6 +5254,9 @@ class InquirePriceModifyDiskBackupQuotaRequest(AbstractModel):
|
|
|
4417
5254
|
|
|
4418
5255
|
@property
|
|
4419
5256
|
def DiskId(self):
|
|
5257
|
+
"""Cloud disk ID, which can be queried through the `DescribeDisks` API.
|
|
5258
|
+
:rtype: str
|
|
5259
|
+
"""
|
|
4420
5260
|
return self._DiskId
|
|
4421
5261
|
|
|
4422
5262
|
@DiskId.setter
|
|
@@ -4425,6 +5265,9 @@ class InquirePriceModifyDiskBackupQuotaRequest(AbstractModel):
|
|
|
4425
5265
|
|
|
4426
5266
|
@property
|
|
4427
5267
|
def DiskBackupQuota(self):
|
|
5268
|
+
"""Cloud disk backup point quota after the modification, i.e., the number of backup points that a cloud disk can have.
|
|
5269
|
+
:rtype: int
|
|
5270
|
+
"""
|
|
4428
5271
|
return self._DiskBackupQuota
|
|
4429
5272
|
|
|
4430
5273
|
@DiskBackupQuota.setter
|
|
@@ -4462,6 +5305,9 @@ class InquirePriceModifyDiskBackupQuotaResponse(AbstractModel):
|
|
|
4462
5305
|
|
|
4463
5306
|
@property
|
|
4464
5307
|
def DiskPrice(self):
|
|
5308
|
+
"""Price of the cloud disk after its backup point quota is modified.
|
|
5309
|
+
:rtype: :class:`tencentcloud.cbs.v20170312.models.Price`
|
|
5310
|
+
"""
|
|
4465
5311
|
return self._DiskPrice
|
|
4466
5312
|
|
|
4467
5313
|
@DiskPrice.setter
|
|
@@ -4470,6 +5316,9 @@ class InquirePriceModifyDiskBackupQuotaResponse(AbstractModel):
|
|
|
4470
5316
|
|
|
4471
5317
|
@property
|
|
4472
5318
|
def RequestId(self):
|
|
5319
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
5320
|
+
:rtype: str
|
|
5321
|
+
"""
|
|
4473
5322
|
return self._RequestId
|
|
4474
5323
|
|
|
4475
5324
|
@RequestId.setter
|
|
@@ -4501,6 +5350,9 @@ class InquirePriceModifyDiskExtraPerformanceRequest(AbstractModel):
|
|
|
4501
5350
|
|
|
4502
5351
|
@property
|
|
4503
5352
|
def DiskId(self):
|
|
5353
|
+
"""Cloud disk ID, which can be queried via the [DescribeDisks](https://intl.cloud.tencent.com/document/product/362/16315?from_cn_redirect=1) API.
|
|
5354
|
+
:rtype: str
|
|
5355
|
+
"""
|
|
4504
5356
|
return self._DiskId
|
|
4505
5357
|
|
|
4506
5358
|
@DiskId.setter
|
|
@@ -4509,6 +5361,9 @@ class InquirePriceModifyDiskExtraPerformanceRequest(AbstractModel):
|
|
|
4509
5361
|
|
|
4510
5362
|
@property
|
|
4511
5363
|
def ThroughputPerformance(self):
|
|
5364
|
+
"""The extra throughput to purchase, in MB/s
|
|
5365
|
+
:rtype: int
|
|
5366
|
+
"""
|
|
4512
5367
|
return self._ThroughputPerformance
|
|
4513
5368
|
|
|
4514
5369
|
@ThroughputPerformance.setter
|
|
@@ -4546,6 +5401,9 @@ class InquirePriceModifyDiskExtraPerformanceResponse(AbstractModel):
|
|
|
4546
5401
|
|
|
4547
5402
|
@property
|
|
4548
5403
|
def DiskPrice(self):
|
|
5404
|
+
"""Price for purchasing the extra performance
|
|
5405
|
+
:rtype: :class:`tencentcloud.cbs.v20170312.models.Price`
|
|
5406
|
+
"""
|
|
4549
5407
|
return self._DiskPrice
|
|
4550
5408
|
|
|
4551
5409
|
@DiskPrice.setter
|
|
@@ -4554,6 +5412,9 @@ class InquirePriceModifyDiskExtraPerformanceResponse(AbstractModel):
|
|
|
4554
5412
|
|
|
4555
5413
|
@property
|
|
4556
5414
|
def RequestId(self):
|
|
5415
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
5416
|
+
:rtype: str
|
|
5417
|
+
"""
|
|
4557
5418
|
return self._RequestId
|
|
4558
5419
|
|
|
4559
5420
|
@RequestId.setter
|
|
@@ -4603,6 +5464,9 @@ class InquiryPriceCreateDisksRequest(AbstractModel):
|
|
|
4603
5464
|
|
|
4604
5465
|
@property
|
|
4605
5466
|
def DiskChargeType(self):
|
|
5467
|
+
"""Cloud disk billing mode. <br><li>POSTPAID_BY_HOUR: Hourly pay-as-you-go.
|
|
5468
|
+
:rtype: str
|
|
5469
|
+
"""
|
|
4606
5470
|
return self._DiskChargeType
|
|
4607
5471
|
|
|
4608
5472
|
@DiskChargeType.setter
|
|
@@ -4611,6 +5475,9 @@ class InquiryPriceCreateDisksRequest(AbstractModel):
|
|
|
4611
5475
|
|
|
4612
5476
|
@property
|
|
4613
5477
|
def DiskType(self):
|
|
5478
|
+
"""Cloud disk media type. Valid values: <br><li>CLOUD_BASIC: HDD Cloud Storage<br><li>CLOUD_PREMIUM: Premium Cloud Disk<br><li>CLOUD_SSD: SSD<br><li>CLOUD_HSSD: Enhanced SSD<br><li>CLOUD_TSSD: ulTra SSD.
|
|
5479
|
+
:rtype: str
|
|
5480
|
+
"""
|
|
4614
5481
|
return self._DiskType
|
|
4615
5482
|
|
|
4616
5483
|
@DiskType.setter
|
|
@@ -4619,6 +5486,9 @@ class InquiryPriceCreateDisksRequest(AbstractModel):
|
|
|
4619
5486
|
|
|
4620
5487
|
@property
|
|
4621
5488
|
def DiskSize(self):
|
|
5489
|
+
"""Cloud disk size in GB. For the value range, see [Cloud Disk Types](https://intl.cloud.tencent.com/document/product/362/2353?from_cn_redirect=1).
|
|
5490
|
+
:rtype: int
|
|
5491
|
+
"""
|
|
4622
5492
|
return self._DiskSize
|
|
4623
5493
|
|
|
4624
5494
|
@DiskSize.setter
|
|
@@ -4627,6 +5497,9 @@ class InquiryPriceCreateDisksRequest(AbstractModel):
|
|
|
4627
5497
|
|
|
4628
5498
|
@property
|
|
4629
5499
|
def ProjectId(self):
|
|
5500
|
+
"""ID of the project to which the cloud disk belongs.
|
|
5501
|
+
:rtype: int
|
|
5502
|
+
"""
|
|
4630
5503
|
return self._ProjectId
|
|
4631
5504
|
|
|
4632
5505
|
@ProjectId.setter
|
|
@@ -4635,6 +5508,9 @@ class InquiryPriceCreateDisksRequest(AbstractModel):
|
|
|
4635
5508
|
|
|
4636
5509
|
@property
|
|
4637
5510
|
def DiskCount(self):
|
|
5511
|
+
"""Number of cloud disks to be purchased. If it is not specified, `1` will be used by default.
|
|
5512
|
+
:rtype: int
|
|
5513
|
+
"""
|
|
4638
5514
|
return self._DiskCount
|
|
4639
5515
|
|
|
4640
5516
|
@DiskCount.setter
|
|
@@ -4643,6 +5519,9 @@ class InquiryPriceCreateDisksRequest(AbstractModel):
|
|
|
4643
5519
|
|
|
4644
5520
|
@property
|
|
4645
5521
|
def ThroughputPerformance(self):
|
|
5522
|
+
"""Extra performance in MB/s purchased for a cloud disk.<br>This parameter is only valid for Enhanced SSD (CLOUD_HSSD) and ulTra SSD (CLOUD_TSSD).
|
|
5523
|
+
:rtype: int
|
|
5524
|
+
"""
|
|
4646
5525
|
return self._ThroughputPerformance
|
|
4647
5526
|
|
|
4648
5527
|
@ThroughputPerformance.setter
|
|
@@ -4651,6 +5530,9 @@ class InquiryPriceCreateDisksRequest(AbstractModel):
|
|
|
4651
5530
|
|
|
4652
5531
|
@property
|
|
4653
5532
|
def DiskChargePrepaid(self):
|
|
5533
|
+
"""Relevant parameter settings for the prepaid mode (i.e., monthly subscription). The monthly subscription cloud disk purchase attributes such as usage period and whether or not auto-renewal is set up can be specified using this parameter. <br>This parameter is required when creating a prepaid cloud disk. This parameter is not required when creating an hourly postpaid cloud disk.
|
|
5534
|
+
:rtype: :class:`tencentcloud.cbs.v20170312.models.DiskChargePrepaid`
|
|
5535
|
+
"""
|
|
4654
5536
|
return self._DiskChargePrepaid
|
|
4655
5537
|
|
|
4656
5538
|
@DiskChargePrepaid.setter
|
|
@@ -4659,6 +5541,9 @@ class InquiryPriceCreateDisksRequest(AbstractModel):
|
|
|
4659
5541
|
|
|
4660
5542
|
@property
|
|
4661
5543
|
def DiskBackupQuota(self):
|
|
5544
|
+
"""Specifies the cloud disk backup point quota.
|
|
5545
|
+
:rtype: int
|
|
5546
|
+
"""
|
|
4662
5547
|
return self._DiskBackupQuota
|
|
4663
5548
|
|
|
4664
5549
|
@DiskBackupQuota.setter
|
|
@@ -4704,6 +5589,9 @@ class InquiryPriceCreateDisksResponse(AbstractModel):
|
|
|
4704
5589
|
|
|
4705
5590
|
@property
|
|
4706
5591
|
def DiskPrice(self):
|
|
5592
|
+
"""Describes the price of newly purchased cloud disks.
|
|
5593
|
+
:rtype: :class:`tencentcloud.cbs.v20170312.models.Price`
|
|
5594
|
+
"""
|
|
4707
5595
|
return self._DiskPrice
|
|
4708
5596
|
|
|
4709
5597
|
@DiskPrice.setter
|
|
@@ -4712,6 +5600,9 @@ class InquiryPriceCreateDisksResponse(AbstractModel):
|
|
|
4712
5600
|
|
|
4713
5601
|
@property
|
|
4714
5602
|
def RequestId(self):
|
|
5603
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
5604
|
+
:rtype: str
|
|
5605
|
+
"""
|
|
4715
5606
|
return self._RequestId
|
|
4716
5607
|
|
|
4717
5608
|
@RequestId.setter
|
|
@@ -4746,6 +5637,9 @@ class InquiryPriceResizeDiskRequest(AbstractModel):
|
|
|
4746
5637
|
|
|
4747
5638
|
@property
|
|
4748
5639
|
def DiskId(self):
|
|
5640
|
+
"""ID of the cloud disk, which can be queried via the API [DescribeDisks](https://intl.cloud.tencent.com/document/product/362/16315?from_cn_redirect=1).
|
|
5641
|
+
:rtype: str
|
|
5642
|
+
"""
|
|
4749
5643
|
return self._DiskId
|
|
4750
5644
|
|
|
4751
5645
|
@DiskId.setter
|
|
@@ -4754,6 +5648,9 @@ class InquiryPriceResizeDiskRequest(AbstractModel):
|
|
|
4754
5648
|
|
|
4755
5649
|
@property
|
|
4756
5650
|
def DiskSize(self):
|
|
5651
|
+
"""Cloud disk size after scale out (in GB). This cannot be smaller than the current size of the cloud disk. For the value range of the cloud disk sizes, see cloud disk [Product Types](https://intl.cloud.tencent.com/document/product/362/2353?from_cn_redirect=1).
|
|
5652
|
+
:rtype: int
|
|
5653
|
+
"""
|
|
4757
5654
|
return self._DiskSize
|
|
4758
5655
|
|
|
4759
5656
|
@DiskSize.setter
|
|
@@ -4762,6 +5659,9 @@ class InquiryPriceResizeDiskRequest(AbstractModel):
|
|
|
4762
5659
|
|
|
4763
5660
|
@property
|
|
4764
5661
|
def ProjectId(self):
|
|
5662
|
+
"""ID of project the cloud disk belongs to. If selected, it can only be used for authentication.
|
|
5663
|
+
:rtype: int
|
|
5664
|
+
"""
|
|
4765
5665
|
return self._ProjectId
|
|
4766
5666
|
|
|
4767
5667
|
@ProjectId.setter
|
|
@@ -4800,6 +5700,9 @@ class InquiryPriceResizeDiskResponse(AbstractModel):
|
|
|
4800
5700
|
|
|
4801
5701
|
@property
|
|
4802
5702
|
def DiskPrice(self):
|
|
5703
|
+
"""Describes the price of expanding the cloud disk.
|
|
5704
|
+
:rtype: :class:`tencentcloud.cbs.v20170312.models.PrepayPrice`
|
|
5705
|
+
"""
|
|
4803
5706
|
return self._DiskPrice
|
|
4804
5707
|
|
|
4805
5708
|
@DiskPrice.setter
|
|
@@ -4808,6 +5711,9 @@ class InquiryPriceResizeDiskResponse(AbstractModel):
|
|
|
4808
5711
|
|
|
4809
5712
|
@property
|
|
4810
5713
|
def RequestId(self):
|
|
5714
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
5715
|
+
:rtype: str
|
|
5716
|
+
"""
|
|
4811
5717
|
return self._RequestId
|
|
4812
5718
|
|
|
4813
5719
|
@RequestId.setter
|
|
@@ -4851,6 +5757,9 @@ class ModifyAutoSnapshotPolicyAttributeRequest(AbstractModel):
|
|
|
4851
5757
|
|
|
4852
5758
|
@property
|
|
4853
5759
|
def AutoSnapshotPolicyId(self):
|
|
5760
|
+
"""Scheduled snapshot policy ID.
|
|
5761
|
+
:rtype: str
|
|
5762
|
+
"""
|
|
4854
5763
|
return self._AutoSnapshotPolicyId
|
|
4855
5764
|
|
|
4856
5765
|
@AutoSnapshotPolicyId.setter
|
|
@@ -4859,6 +5768,9 @@ class ModifyAutoSnapshotPolicyAttributeRequest(AbstractModel):
|
|
|
4859
5768
|
|
|
4860
5769
|
@property
|
|
4861
5770
|
def IsActivated(self):
|
|
5771
|
+
"""Whether or not the scheduled snapshot policy is activated. FALSE: Not activated. TRUE: Activated. The default value is TRUE.
|
|
5772
|
+
:rtype: bool
|
|
5773
|
+
"""
|
|
4862
5774
|
return self._IsActivated
|
|
4863
5775
|
|
|
4864
5776
|
@IsActivated.setter
|
|
@@ -4867,6 +5779,9 @@ class ModifyAutoSnapshotPolicyAttributeRequest(AbstractModel):
|
|
|
4867
5779
|
|
|
4868
5780
|
@property
|
|
4869
5781
|
def IsPermanent(self):
|
|
5782
|
+
"""Whether the snapshot created by this scheduled snapshot policy is retained permanently. FALSE: Not retained permanently. TRUE: Retained permanently. The default value is FALSE.
|
|
5783
|
+
:rtype: bool
|
|
5784
|
+
"""
|
|
4870
5785
|
return self._IsPermanent
|
|
4871
5786
|
|
|
4872
5787
|
@IsPermanent.setter
|
|
@@ -4875,6 +5790,9 @@ class ModifyAutoSnapshotPolicyAttributeRequest(AbstractModel):
|
|
|
4875
5790
|
|
|
4876
5791
|
@property
|
|
4877
5792
|
def AutoSnapshotPolicyName(self):
|
|
5793
|
+
"""The name of the scheduled snapshot policy to be created. If it is left empty, the default is 'Not named'. The maximum length cannot exceed 60 bytes.
|
|
5794
|
+
:rtype: str
|
|
5795
|
+
"""
|
|
4878
5796
|
return self._AutoSnapshotPolicyName
|
|
4879
5797
|
|
|
4880
5798
|
@AutoSnapshotPolicyName.setter
|
|
@@ -4883,6 +5801,9 @@ class ModifyAutoSnapshotPolicyAttributeRequest(AbstractModel):
|
|
|
4883
5801
|
|
|
4884
5802
|
@property
|
|
4885
5803
|
def Policy(self):
|
|
5804
|
+
"""The policy for executing the scheduled snapshot.
|
|
5805
|
+
:rtype: list of Policy
|
|
5806
|
+
"""
|
|
4886
5807
|
return self._Policy
|
|
4887
5808
|
|
|
4888
5809
|
@Policy.setter
|
|
@@ -4891,6 +5812,9 @@ class ModifyAutoSnapshotPolicyAttributeRequest(AbstractModel):
|
|
|
4891
5812
|
|
|
4892
5813
|
@property
|
|
4893
5814
|
def RetentionDays(self):
|
|
5815
|
+
"""Number of days to retain the snapshots created according to this scheduled snapshot policy. If this parameter is specified, `IsPermanent` cannot be specified as `TRUE`; otherwise, they will conflict with each other.
|
|
5816
|
+
:rtype: int
|
|
5817
|
+
"""
|
|
4894
5818
|
return self._RetentionDays
|
|
4895
5819
|
|
|
4896
5820
|
@RetentionDays.setter
|
|
@@ -4934,6 +5858,9 @@ class ModifyAutoSnapshotPolicyAttributeResponse(AbstractModel):
|
|
|
4934
5858
|
|
|
4935
5859
|
@property
|
|
4936
5860
|
def RequestId(self):
|
|
5861
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
5862
|
+
:rtype: str
|
|
5863
|
+
"""
|
|
4937
5864
|
return self._RequestId
|
|
4938
5865
|
|
|
4939
5866
|
@RequestId.setter
|
|
@@ -4977,6 +5904,9 @@ class ModifyDiskAttributesRequest(AbstractModel):
|
|
|
4977
5904
|
|
|
4978
5905
|
@property
|
|
4979
5906
|
def DiskIds(self):
|
|
5907
|
+
"""IDs of one or more cloud disks to be operated. If multiple cloud disk IDs are selected, it only supports modifying all cloud disks with the same attributes.
|
|
5908
|
+
:rtype: list of str
|
|
5909
|
+
"""
|
|
4980
5910
|
return self._DiskIds
|
|
4981
5911
|
|
|
4982
5912
|
@DiskIds.setter
|
|
@@ -4985,6 +5915,9 @@ class ModifyDiskAttributesRequest(AbstractModel):
|
|
|
4985
5915
|
|
|
4986
5916
|
@property
|
|
4987
5917
|
def DiskName(self):
|
|
5918
|
+
"""Name of new cloud disk.
|
|
5919
|
+
:rtype: str
|
|
5920
|
+
"""
|
|
4988
5921
|
return self._DiskName
|
|
4989
5922
|
|
|
4990
5923
|
@DiskName.setter
|
|
@@ -4993,6 +5926,9 @@ class ModifyDiskAttributesRequest(AbstractModel):
|
|
|
4993
5926
|
|
|
4994
5927
|
@property
|
|
4995
5928
|
def Portable(self):
|
|
5929
|
+
"""Whether it is an elastic cloud disk. FALSE: non-elastic cloud disk; TRUE: elastic cloud disk. You can only modify non-elastic cloud disks to elastic cloud disks.
|
|
5930
|
+
:rtype: bool
|
|
5931
|
+
"""
|
|
4996
5932
|
return self._Portable
|
|
4997
5933
|
|
|
4998
5934
|
@Portable.setter
|
|
@@ -5001,6 +5937,9 @@ class ModifyDiskAttributesRequest(AbstractModel):
|
|
|
5001
5937
|
|
|
5002
5938
|
@property
|
|
5003
5939
|
def ProjectId(self):
|
|
5940
|
+
"""The new project ID of the cloud disk. Only the project ID of elastic cloud disk can be modified. The available projects and their IDs can be queried via the API [DescribeProject](https://intl.cloud.tencent.com/document/api/378/4400?from_cn_redirect=1).
|
|
5941
|
+
:rtype: int
|
|
5942
|
+
"""
|
|
5004
5943
|
return self._ProjectId
|
|
5005
5944
|
|
|
5006
5945
|
@ProjectId.setter
|
|
@@ -5009,6 +5948,9 @@ class ModifyDiskAttributesRequest(AbstractModel):
|
|
|
5009
5948
|
|
|
5010
5949
|
@property
|
|
5011
5950
|
def DeleteWithInstance(self):
|
|
5951
|
+
"""Whether the cloud disk is terminated with the CVM after it has been successfully mounted. `TRUE` indicates that it is terminated with the CVM. `FALSE` indicates that it is not terminated with the CVM. This is only supported for cloud disks and data disks that are pay-as-you-go.
|
|
5952
|
+
:rtype: bool
|
|
5953
|
+
"""
|
|
5012
5954
|
return self._DeleteWithInstance
|
|
5013
5955
|
|
|
5014
5956
|
@DeleteWithInstance.setter
|
|
@@ -5017,6 +5959,9 @@ class ModifyDiskAttributesRequest(AbstractModel):
|
|
|
5017
5959
|
|
|
5018
5960
|
@property
|
|
5019
5961
|
def DiskType(self):
|
|
5962
|
+
"""When changing the type of a cloud disk, this parameter can be passed to indicate the desired cloud disk type. Value range: <br><li>CLOUD_PREMIUM: Premium cloud storage. <br><li>CLOUD_SSD: SSD cloud disk. <br>Currently, batch operations are not supported for changing type. That is, when `DiskType` is passed, only one cloud disk can be passed through `DiskIds`. <br>When the cloud disk type is changed, the changing of other attributes is not supported concurrently.
|
|
5963
|
+
:rtype: str
|
|
5964
|
+
"""
|
|
5020
5965
|
return self._DiskType
|
|
5021
5966
|
|
|
5022
5967
|
@DiskType.setter
|
|
@@ -5025,6 +5970,9 @@ class ModifyDiskAttributesRequest(AbstractModel):
|
|
|
5025
5970
|
|
|
5026
5971
|
@property
|
|
5027
5972
|
def BurstPerformanceOperation(self):
|
|
5973
|
+
"""Enable/disable disk bursting.
|
|
5974
|
+
:rtype: str
|
|
5975
|
+
"""
|
|
5028
5976
|
return self._BurstPerformanceOperation
|
|
5029
5977
|
|
|
5030
5978
|
@BurstPerformanceOperation.setter
|
|
@@ -5064,6 +6012,9 @@ class ModifyDiskAttributesResponse(AbstractModel):
|
|
|
5064
6012
|
|
|
5065
6013
|
@property
|
|
5066
6014
|
def RequestId(self):
|
|
6015
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
6016
|
+
:rtype: str
|
|
6017
|
+
"""
|
|
5067
6018
|
return self._RequestId
|
|
5068
6019
|
|
|
5069
6020
|
@RequestId.setter
|
|
@@ -5092,6 +6043,9 @@ class ModifyDiskBackupQuotaRequest(AbstractModel):
|
|
|
5092
6043
|
|
|
5093
6044
|
@property
|
|
5094
6045
|
def DiskId(self):
|
|
6046
|
+
"""Cloud disk ID.
|
|
6047
|
+
:rtype: str
|
|
6048
|
+
"""
|
|
5095
6049
|
return self._DiskId
|
|
5096
6050
|
|
|
5097
6051
|
@DiskId.setter
|
|
@@ -5100,6 +6054,9 @@ class ModifyDiskBackupQuotaRequest(AbstractModel):
|
|
|
5100
6054
|
|
|
5101
6055
|
@property
|
|
5102
6056
|
def DiskBackupQuota(self):
|
|
6057
|
+
"""Cloud disk backup point quota after the adjustment
|
|
6058
|
+
:rtype: int
|
|
6059
|
+
"""
|
|
5103
6060
|
return self._DiskBackupQuota
|
|
5104
6061
|
|
|
5105
6062
|
@DiskBackupQuota.setter
|
|
@@ -5134,6 +6091,9 @@ class ModifyDiskBackupQuotaResponse(AbstractModel):
|
|
|
5134
6091
|
|
|
5135
6092
|
@property
|
|
5136
6093
|
def RequestId(self):
|
|
6094
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
6095
|
+
:rtype: str
|
|
6096
|
+
"""
|
|
5137
6097
|
return self._RequestId
|
|
5138
6098
|
|
|
5139
6099
|
@RequestId.setter
|
|
@@ -5162,6 +6122,9 @@ class ModifyDiskExtraPerformanceRequest(AbstractModel):
|
|
|
5162
6122
|
|
|
5163
6123
|
@property
|
|
5164
6124
|
def DiskId(self):
|
|
6125
|
+
"""ID of the cloud disk to create a snapshot, which can be obtained via the [DescribeDisks](https://intl.cloud.tencent.com/document/product/362/16315?from_cn_redirect=1) API.
|
|
6126
|
+
:rtype: str
|
|
6127
|
+
"""
|
|
5165
6128
|
return self._DiskId
|
|
5166
6129
|
|
|
5167
6130
|
@DiskId.setter
|
|
@@ -5170,6 +6133,9 @@ class ModifyDiskExtraPerformanceRequest(AbstractModel):
|
|
|
5170
6133
|
|
|
5171
6134
|
@property
|
|
5172
6135
|
def ThroughputPerformance(self):
|
|
6136
|
+
"""The extra throughput to purchase, in MB/s
|
|
6137
|
+
:rtype: int
|
|
6138
|
+
"""
|
|
5173
6139
|
return self._ThroughputPerformance
|
|
5174
6140
|
|
|
5175
6141
|
@ThroughputPerformance.setter
|
|
@@ -5204,6 +6170,9 @@ class ModifyDiskExtraPerformanceResponse(AbstractModel):
|
|
|
5204
6170
|
|
|
5205
6171
|
@property
|
|
5206
6172
|
def RequestId(self):
|
|
6173
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
6174
|
+
:rtype: str
|
|
6175
|
+
"""
|
|
5207
6176
|
return self._RequestId
|
|
5208
6177
|
|
|
5209
6178
|
@RequestId.setter
|
|
@@ -5238,6 +6207,9 @@ class ModifySnapshotAttributeRequest(AbstractModel):
|
|
|
5238
6207
|
|
|
5239
6208
|
@property
|
|
5240
6209
|
def SnapshotId(self):
|
|
6210
|
+
"""Snapshot ID, which can be queried via [DescribeSnapshots](https://intl.cloud.tencent.com/document/product/362/15647?from_cn_redirect=1).
|
|
6211
|
+
:rtype: str
|
|
6212
|
+
"""
|
|
5241
6213
|
return self._SnapshotId
|
|
5242
6214
|
|
|
5243
6215
|
@SnapshotId.setter
|
|
@@ -5246,6 +6218,9 @@ class ModifySnapshotAttributeRequest(AbstractModel):
|
|
|
5246
6218
|
|
|
5247
6219
|
@property
|
|
5248
6220
|
def SnapshotName(self):
|
|
6221
|
+
"""Name of new snapshot. Maximum length is 60 bytes.
|
|
6222
|
+
:rtype: str
|
|
6223
|
+
"""
|
|
5249
6224
|
return self._SnapshotName
|
|
5250
6225
|
|
|
5251
6226
|
@SnapshotName.setter
|
|
@@ -5254,6 +6229,9 @@ class ModifySnapshotAttributeRequest(AbstractModel):
|
|
|
5254
6229
|
|
|
5255
6230
|
@property
|
|
5256
6231
|
def IsPermanent(self):
|
|
6232
|
+
"""Snapshot retention mode. Valid values: `FALSE`: non-permanent retention; `TRUE`: permanent retention.
|
|
6233
|
+
:rtype: bool
|
|
6234
|
+
"""
|
|
5257
6235
|
return self._IsPermanent
|
|
5258
6236
|
|
|
5259
6237
|
@IsPermanent.setter
|
|
@@ -5262,6 +6240,9 @@ class ModifySnapshotAttributeRequest(AbstractModel):
|
|
|
5262
6240
|
|
|
5263
6241
|
@property
|
|
5264
6242
|
def Deadline(self):
|
|
6243
|
+
"""Expiration time of the snapshot. Setting this parameter will set the snapshot retention mode to `FALSE` (non-permanent retention) and the snapshot will be automatically deleted upon expiration.
|
|
6244
|
+
:rtype: str
|
|
6245
|
+
"""
|
|
5265
6246
|
return self._Deadline
|
|
5266
6247
|
|
|
5267
6248
|
@Deadline.setter
|
|
@@ -5298,6 +6279,9 @@ class ModifySnapshotAttributeResponse(AbstractModel):
|
|
|
5298
6279
|
|
|
5299
6280
|
@property
|
|
5300
6281
|
def RequestId(self):
|
|
6282
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
6283
|
+
:rtype: str
|
|
6284
|
+
"""
|
|
5301
6285
|
return self._RequestId
|
|
5302
6286
|
|
|
5303
6287
|
@RequestId.setter
|
|
@@ -5329,6 +6313,9 @@ class ModifySnapshotsSharePermissionRequest(AbstractModel):
|
|
|
5329
6313
|
|
|
5330
6314
|
@property
|
|
5331
6315
|
def AccountIds(self):
|
|
6316
|
+
"""List of account IDs with which a snapshot is shared. For the format of array-type parameters, see [API Introduction](https://intl.cloud.tencent.com/document/api/213/568?from_cn_redirect=1). You can find the account ID in [Account Information](https://console.cloud.tencent.com/developer).
|
|
6317
|
+
:rtype: list of str
|
|
6318
|
+
"""
|
|
5332
6319
|
return self._AccountIds
|
|
5333
6320
|
|
|
5334
6321
|
@AccountIds.setter
|
|
@@ -5337,6 +6324,9 @@ class ModifySnapshotsSharePermissionRequest(AbstractModel):
|
|
|
5337
6324
|
|
|
5338
6325
|
@property
|
|
5339
6326
|
def Permission(self):
|
|
6327
|
+
"""Operations. Valid values: `SHARE`, sharing an image; `CANCEL`, cancelling the sharing of an image.
|
|
6328
|
+
:rtype: str
|
|
6329
|
+
"""
|
|
5340
6330
|
return self._Permission
|
|
5341
6331
|
|
|
5342
6332
|
@Permission.setter
|
|
@@ -5345,6 +6335,9 @@ class ModifySnapshotsSharePermissionRequest(AbstractModel):
|
|
|
5345
6335
|
|
|
5346
6336
|
@property
|
|
5347
6337
|
def SnapshotIds(self):
|
|
6338
|
+
"""The ID of the snapshot. You can obtain this by using [DescribeSnapshots](https://intl.cloud.tencent.com/document/api/362/15647?from_cn_redirect=1).
|
|
6339
|
+
:rtype: list of str
|
|
6340
|
+
"""
|
|
5348
6341
|
return self._SnapshotIds
|
|
5349
6342
|
|
|
5350
6343
|
@SnapshotIds.setter
|
|
@@ -5380,6 +6373,9 @@ class ModifySnapshotsSharePermissionResponse(AbstractModel):
|
|
|
5380
6373
|
|
|
5381
6374
|
@property
|
|
5382
6375
|
def RequestId(self):
|
|
6376
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
6377
|
+
:rtype: str
|
|
6378
|
+
"""
|
|
5383
6379
|
return self._RequestId
|
|
5384
6380
|
|
|
5385
6381
|
@RequestId.setter
|
|
@@ -5427,6 +6423,9 @@ Note: This field may return null, indicating that no valid value was found.
|
|
|
5427
6423
|
|
|
5428
6424
|
@property
|
|
5429
6425
|
def Zone(self):
|
|
6426
|
+
"""The ID of the [Availability Zone](https://intl.cloud.tencent.com/document/product/213/15753?from_cn_redirect=1#ZoneInfo) to which the cloud disk belongs. This parameter can be obtained from the Zone field in the returned values of [DescribeZones](https://intl.cloud.tencent.com/document/product/213/15707?from_cn_redirect=1).
|
|
6427
|
+
:rtype: str
|
|
6428
|
+
"""
|
|
5430
6429
|
return self._Zone
|
|
5431
6430
|
|
|
5432
6431
|
@Zone.setter
|
|
@@ -5435,6 +6434,10 @@ Note: This field may return null, indicating that no valid value was found.
|
|
|
5435
6434
|
|
|
5436
6435
|
@property
|
|
5437
6436
|
def CageId(self):
|
|
6437
|
+
"""Cage ID. When it is an input parameter, the specified CageID resource is operated, and it can be left blank. When it is an output parameter, it is the ID of the cage the resource belongs to, and it can be left blank.
|
|
6438
|
+
Note: This field may return null, indicating that no valid value was found.
|
|
6439
|
+
:rtype: str
|
|
6440
|
+
"""
|
|
5438
6441
|
return self._CageId
|
|
5439
6442
|
|
|
5440
6443
|
@CageId.setter
|
|
@@ -5443,6 +6446,9 @@ Note: This field may return null, indicating that no valid value was found.
|
|
|
5443
6446
|
|
|
5444
6447
|
@property
|
|
5445
6448
|
def ProjectId(self):
|
|
6449
|
+
"""ID of the project to which the instance belongs. This parameter can be obtained from the projectId field in the returned values of [DescribeProject](https://intl.cloud.tencent.com/document/api/378/4400?from_cn_redirect=1). If this is left empty, default project is used.
|
|
6450
|
+
:rtype: int
|
|
6451
|
+
"""
|
|
5446
6452
|
return self._ProjectId
|
|
5447
6453
|
|
|
5448
6454
|
@ProjectId.setter
|
|
@@ -5451,6 +6457,10 @@ Note: This field may return null, indicating that no valid value was found.
|
|
|
5451
6457
|
|
|
5452
6458
|
@property
|
|
5453
6459
|
def ProjectName(self):
|
|
6460
|
+
"""Project name of the instance.
|
|
6461
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6462
|
+
:rtype: str
|
|
6463
|
+
"""
|
|
5454
6464
|
return self._ProjectName
|
|
5455
6465
|
|
|
5456
6466
|
@ProjectName.setter
|
|
@@ -5459,6 +6469,10 @@ Note: This field may return null, indicating that no valid value was found.
|
|
|
5459
6469
|
|
|
5460
6470
|
@property
|
|
5461
6471
|
def CdcName(self):
|
|
6472
|
+
"""Dedicated cluster name. When it is an input parameter, it is ignored. When it is an output parameter, it is the name of the dedicated cluster the cloud disk belongs to, and it can be left blank.
|
|
6473
|
+
Note: This field may return null, indicating that no valid value was found.
|
|
6474
|
+
:rtype: str
|
|
6475
|
+
"""
|
|
5462
6476
|
return self._CdcName
|
|
5463
6477
|
|
|
5464
6478
|
@CdcName.setter
|
|
@@ -5467,6 +6481,10 @@ Note: This field may return null, indicating that no valid value was found.
|
|
|
5467
6481
|
|
|
5468
6482
|
@property
|
|
5469
6483
|
def CdcId(self):
|
|
6484
|
+
"""ID of dedicated cluster which the instance belongs to. When it is an input parameter, the specified CdcId dedicated cluster resource is operated, and it can be left blank. When it is an output parameter, it is the ID of the dedicated cluster which the resource belongs to, and it can be left blank.
|
|
6485
|
+
Note: This field may return null, indicating that no valid value was found.
|
|
6486
|
+
:rtype: str
|
|
6487
|
+
"""
|
|
5470
6488
|
return self._CdcId
|
|
5471
6489
|
|
|
5472
6490
|
@CdcId.setter
|
|
@@ -5475,6 +6493,9 @@ Note: This field may return null, indicating that no valid value was found.
|
|
|
5475
6493
|
|
|
5476
6494
|
@property
|
|
5477
6495
|
def DedicatedClusterId(self):
|
|
6496
|
+
"""Dedicated cluster ID
|
|
6497
|
+
:rtype: str
|
|
6498
|
+
"""
|
|
5478
6499
|
return self._DedicatedClusterId
|
|
5479
6500
|
|
|
5480
6501
|
@DedicatedClusterId.setter
|
|
@@ -5523,6 +6544,9 @@ class Policy(AbstractModel):
|
|
|
5523
6544
|
|
|
5524
6545
|
@property
|
|
5525
6546
|
def Hour(self):
|
|
6547
|
+
"""Specifies the time that that the scheduled snapshot policy will be triggered. The unit is hour. The value range is [0-23]. 00:00-23:00 is a total of 24 time points that can be selected. 1 indicates 01:00, and so on.
|
|
6548
|
+
:rtype: list of int non-negative
|
|
6549
|
+
"""
|
|
5526
6550
|
return self._Hour
|
|
5527
6551
|
|
|
5528
6552
|
@Hour.setter
|
|
@@ -5531,6 +6555,9 @@ class Policy(AbstractModel):
|
|
|
5531
6555
|
|
|
5532
6556
|
@property
|
|
5533
6557
|
def DayOfWeek(self):
|
|
6558
|
+
"""Specifies the days of the week, from Monday to Sunday, on which a scheduled snapshot will be triggered. Value range: [0, 6]. 0 indicates triggering on Sunday, 1-6 indicate triggering on Monday-Saturday.
|
|
6559
|
+
:rtype: list of int non-negative
|
|
6560
|
+
"""
|
|
5534
6561
|
return self._DayOfWeek
|
|
5535
6562
|
|
|
5536
6563
|
@DayOfWeek.setter
|
|
@@ -5539,6 +6566,9 @@ class Policy(AbstractModel):
|
|
|
5539
6566
|
|
|
5540
6567
|
@property
|
|
5541
6568
|
def DayOfMonth(self):
|
|
6569
|
+
"""Specifies the dates of the month on which a scheduled snapshot will be triggered. Value range: [1, 31]. `1` to `31` indicate the specific dates of the month; for example, `5` indicates the 5th day of the month. Note: If you set a date that does not exist in some months such as 29, 30, and 31, these months will be skipped for scheduled snapshot creation.
|
|
6570
|
+
:rtype: list of int non-negative
|
|
6571
|
+
"""
|
|
5542
6572
|
return self._DayOfMonth
|
|
5543
6573
|
|
|
5544
6574
|
@DayOfMonth.setter
|
|
@@ -5547,6 +6577,9 @@ class Policy(AbstractModel):
|
|
|
5547
6577
|
|
|
5548
6578
|
@property
|
|
5549
6579
|
def IntervalDays(self):
|
|
6580
|
+
"""Specifies the interval for creating scheduled snapshots in days. Value range: [1, 365]. For example, if it is set to `5`, scheduled snapshots will be created every 5 days. Note: If you choose to back up by day, the time for the first backup is theoretically the day when the backup policy is created. If the backup policy creation time on the current day is later than the set backup time, the first backup will be performed in the second backup cycle.
|
|
6581
|
+
:rtype: int
|
|
6582
|
+
"""
|
|
5550
6583
|
return self._IntervalDays
|
|
5551
6584
|
|
|
5552
6585
|
@IntervalDays.setter
|
|
@@ -5616,6 +6649,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
5616
6649
|
|
|
5617
6650
|
@property
|
|
5618
6651
|
def DiscountPrice(self):
|
|
6652
|
+
"""Discounted price of a monthly-subscribed cloud disk or a snapshot, in USD.
|
|
6653
|
+
:rtype: float
|
|
6654
|
+
"""
|
|
5619
6655
|
return self._DiscountPrice
|
|
5620
6656
|
|
|
5621
6657
|
@DiscountPrice.setter
|
|
@@ -5624,6 +6660,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
5624
6660
|
|
|
5625
6661
|
@property
|
|
5626
6662
|
def ChargeUnit(self):
|
|
6663
|
+
"""Billing unit for pay-as-you-go cloud disks. Valid value: <br><li>HOUR: billed hourly.
|
|
6664
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
6665
|
+
:rtype: str
|
|
6666
|
+
"""
|
|
5627
6667
|
return self._ChargeUnit
|
|
5628
6668
|
|
|
5629
6669
|
@ChargeUnit.setter
|
|
@@ -5632,6 +6672,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
5632
6672
|
|
|
5633
6673
|
@property
|
|
5634
6674
|
def UnitPriceHigh(self):
|
|
6675
|
+
"""Original unit price of a pay-as-you-go cloud disk, in USD, with six decimal places.
|
|
6676
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
6677
|
+
:rtype: str
|
|
6678
|
+
"""
|
|
5635
6679
|
return self._UnitPriceHigh
|
|
5636
6680
|
|
|
5637
6681
|
@UnitPriceHigh.setter
|
|
@@ -5640,6 +6684,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
5640
6684
|
|
|
5641
6685
|
@property
|
|
5642
6686
|
def OriginalPriceHigh(self):
|
|
6687
|
+
"""Original payment of a monthly-subscribed cloud disk or a snapshot, in USD, with six decimal places.
|
|
6688
|
+
:rtype: str
|
|
6689
|
+
"""
|
|
5643
6690
|
return self._OriginalPriceHigh
|
|
5644
6691
|
|
|
5645
6692
|
@OriginalPriceHigh.setter
|
|
@@ -5648,6 +6695,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
5648
6695
|
|
|
5649
6696
|
@property
|
|
5650
6697
|
def OriginalPrice(self):
|
|
6698
|
+
"""Original payment of a monthly-subscribed cloud disk or a snapshot, in USD.
|
|
6699
|
+
:rtype: float
|
|
6700
|
+
"""
|
|
5651
6701
|
return self._OriginalPrice
|
|
5652
6702
|
|
|
5653
6703
|
@OriginalPrice.setter
|
|
@@ -5656,6 +6706,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
5656
6706
|
|
|
5657
6707
|
@property
|
|
5658
6708
|
def UnitPriceDiscount(self):
|
|
6709
|
+
"""Discount unit price of a pay-as-you-go cloud disk, in USD.
|
|
6710
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
6711
|
+
:rtype: float
|
|
6712
|
+
"""
|
|
5659
6713
|
return self._UnitPriceDiscount
|
|
5660
6714
|
|
|
5661
6715
|
@UnitPriceDiscount.setter
|
|
@@ -5664,6 +6718,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
5664
6718
|
|
|
5665
6719
|
@property
|
|
5666
6720
|
def UnitPriceDiscountHigh(self):
|
|
6721
|
+
"""Discounted unit price of a pay-as-you-go cloud disk, in USD, with six decimal places.
|
|
6722
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
6723
|
+
:rtype: str
|
|
6724
|
+
"""
|
|
5667
6725
|
return self._UnitPriceDiscountHigh
|
|
5668
6726
|
|
|
5669
6727
|
@UnitPriceDiscountHigh.setter
|
|
@@ -5672,6 +6730,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
5672
6730
|
|
|
5673
6731
|
@property
|
|
5674
6732
|
def DiscountPriceHigh(self):
|
|
6733
|
+
"""Discounted price of a monthly-subscribed cloud disk or a snapshot, in USD, with six decimal places.
|
|
6734
|
+
:rtype: str
|
|
6735
|
+
"""
|
|
5675
6736
|
return self._DiscountPriceHigh
|
|
5676
6737
|
|
|
5677
6738
|
@DiscountPriceHigh.setter
|
|
@@ -5680,6 +6741,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
5680
6741
|
|
|
5681
6742
|
@property
|
|
5682
6743
|
def UnitPrice(self):
|
|
6744
|
+
"""Original unit price of a pay-as-you-go cloud disk, in USD.
|
|
6745
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
6746
|
+
:rtype: float
|
|
6747
|
+
"""
|
|
5683
6748
|
return self._UnitPrice
|
|
5684
6749
|
|
|
5685
6750
|
@UnitPrice.setter
|
|
@@ -5688,6 +6753,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
5688
6753
|
|
|
5689
6754
|
@property
|
|
5690
6755
|
def DetailPrices(self):
|
|
6756
|
+
"""Detailed billing items
|
|
6757
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6758
|
+
:rtype: list of DetailPrice
|
|
6759
|
+
"""
|
|
5691
6760
|
return self._DetailPrices
|
|
5692
6761
|
|
|
5693
6762
|
@DetailPrices.setter
|
|
@@ -5768,6 +6837,10 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
5768
6837
|
|
|
5769
6838
|
@property
|
|
5770
6839
|
def OriginalPrice(self):
|
|
6840
|
+
"""Original price of a monthly-subscribed cloud disk, in USD.
|
|
6841
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
6842
|
+
:rtype: float
|
|
6843
|
+
"""
|
|
5771
6844
|
return self._OriginalPrice
|
|
5772
6845
|
|
|
5773
6846
|
@OriginalPrice.setter
|
|
@@ -5776,6 +6849,10 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
5776
6849
|
|
|
5777
6850
|
@property
|
|
5778
6851
|
def DiscountPrice(self):
|
|
6852
|
+
"""Discounted price of a monthly-subscribed cloud disk, in USD.
|
|
6853
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
6854
|
+
:rtype: float
|
|
6855
|
+
"""
|
|
5779
6856
|
return self._DiscountPrice
|
|
5780
6857
|
|
|
5781
6858
|
@DiscountPrice.setter
|
|
@@ -5784,6 +6861,10 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
5784
6861
|
|
|
5785
6862
|
@property
|
|
5786
6863
|
def UnitPrice(self):
|
|
6864
|
+
"""Original unit price of a pay-as-you-go cloud disk, in USD.
|
|
6865
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
6866
|
+
:rtype: float
|
|
6867
|
+
"""
|
|
5787
6868
|
return self._UnitPrice
|
|
5788
6869
|
|
|
5789
6870
|
@UnitPrice.setter
|
|
@@ -5792,6 +6873,10 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
5792
6873
|
|
|
5793
6874
|
@property
|
|
5794
6875
|
def ChargeUnit(self):
|
|
6876
|
+
"""Billing unit of a postpaid cloud disk. Value range: <br><li>HOUR: Billed by hour.
|
|
6877
|
+
Note: This field may return null, indicating that no valid value was found.
|
|
6878
|
+
:rtype: str
|
|
6879
|
+
"""
|
|
5795
6880
|
return self._ChargeUnit
|
|
5796
6881
|
|
|
5797
6882
|
@ChargeUnit.setter
|
|
@@ -5800,6 +6885,10 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
5800
6885
|
|
|
5801
6886
|
@property
|
|
5802
6887
|
def UnitPriceDiscount(self):
|
|
6888
|
+
"""Discount unit price of a pay-as-you-go cloud disk, in USD.
|
|
6889
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
6890
|
+
:rtype: float
|
|
6891
|
+
"""
|
|
5803
6892
|
return self._UnitPriceDiscount
|
|
5804
6893
|
|
|
5805
6894
|
@UnitPriceDiscount.setter
|
|
@@ -5808,6 +6897,10 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
5808
6897
|
|
|
5809
6898
|
@property
|
|
5810
6899
|
def OriginalPriceHigh(self):
|
|
6900
|
+
"""Original payment of a monthly-subscribed cloud disk, in USD, with six decimal places.
|
|
6901
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
6902
|
+
:rtype: str
|
|
6903
|
+
"""
|
|
5811
6904
|
return self._OriginalPriceHigh
|
|
5812
6905
|
|
|
5813
6906
|
@OriginalPriceHigh.setter
|
|
@@ -5816,6 +6909,10 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
5816
6909
|
|
|
5817
6910
|
@property
|
|
5818
6911
|
def DiscountPriceHigh(self):
|
|
6912
|
+
"""Discounted payment price of a monthly-subscribed cloud disk, in USD, with six decimal places.
|
|
6913
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
6914
|
+
:rtype: str
|
|
6915
|
+
"""
|
|
5819
6916
|
return self._DiscountPriceHigh
|
|
5820
6917
|
|
|
5821
6918
|
@DiscountPriceHigh.setter
|
|
@@ -5824,6 +6921,10 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
5824
6921
|
|
|
5825
6922
|
@property
|
|
5826
6923
|
def UnitPriceHigh(self):
|
|
6924
|
+
"""Original unit price of a pay-as-you-go cloud disk, in USD, with six decimal places.
|
|
6925
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
6926
|
+
:rtype: str
|
|
6927
|
+
"""
|
|
5827
6928
|
return self._UnitPriceHigh
|
|
5828
6929
|
|
|
5829
6930
|
@UnitPriceHigh.setter
|
|
@@ -5832,6 +6933,10 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
5832
6933
|
|
|
5833
6934
|
@property
|
|
5834
6935
|
def UnitPriceDiscountHigh(self):
|
|
6936
|
+
"""Discounted unit price of a pay-as-you-go cloud disk, in USD, with six decimal places.
|
|
6937
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
6938
|
+
:rtype: str
|
|
6939
|
+
"""
|
|
5835
6940
|
return self._UnitPriceDiscountHigh
|
|
5836
6941
|
|
|
5837
6942
|
@UnitPriceDiscountHigh.setter
|
|
@@ -5876,6 +6981,9 @@ class ResizeDiskRequest(AbstractModel):
|
|
|
5876
6981
|
|
|
5877
6982
|
@property
|
|
5878
6983
|
def DiskId(self):
|
|
6984
|
+
"""ID of the cloud disk, which can be queried via the API [DescribeDisks](https://intl.cloud.tencent.com/document/product/362/16315?from_cn_redirect=1).
|
|
6985
|
+
:rtype: str
|
|
6986
|
+
"""
|
|
5879
6987
|
return self._DiskId
|
|
5880
6988
|
|
|
5881
6989
|
@DiskId.setter
|
|
@@ -5884,6 +6992,9 @@ class ResizeDiskRequest(AbstractModel):
|
|
|
5884
6992
|
|
|
5885
6993
|
@property
|
|
5886
6994
|
def DiskSize(self):
|
|
6995
|
+
"""Cloud disk size after scale out (in GB). This must be larger than the current size of the cloud disk. For the value range of the cloud disk sizes, see cloud disk [Product Types](https://intl.cloud.tencent.com/document/product/362/2353?from_cn_redirect=1).
|
|
6996
|
+
:rtype: int
|
|
6997
|
+
"""
|
|
5887
6998
|
return self._DiskSize
|
|
5888
6999
|
|
|
5889
7000
|
@DiskSize.setter
|
|
@@ -5918,6 +7029,9 @@ class ResizeDiskResponse(AbstractModel):
|
|
|
5918
7029
|
|
|
5919
7030
|
@property
|
|
5920
7031
|
def RequestId(self):
|
|
7032
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
7033
|
+
:rtype: str
|
|
7034
|
+
"""
|
|
5921
7035
|
return self._RequestId
|
|
5922
7036
|
|
|
5923
7037
|
@RequestId.setter
|
|
@@ -5946,6 +7060,9 @@ class SharePermission(AbstractModel):
|
|
|
5946
7060
|
|
|
5947
7061
|
@property
|
|
5948
7062
|
def CreatedTime(self):
|
|
7063
|
+
"""Snapshot sharing time
|
|
7064
|
+
:rtype: str
|
|
7065
|
+
"""
|
|
5949
7066
|
return self._CreatedTime
|
|
5950
7067
|
|
|
5951
7068
|
@CreatedTime.setter
|
|
@@ -5954,6 +7071,9 @@ class SharePermission(AbstractModel):
|
|
|
5954
7071
|
|
|
5955
7072
|
@property
|
|
5956
7073
|
def AccountId(self):
|
|
7074
|
+
"""ID of the shared account
|
|
7075
|
+
:rtype: str
|
|
7076
|
+
"""
|
|
5957
7077
|
return self._AccountId
|
|
5958
7078
|
|
|
5959
7079
|
@AccountId.setter
|
|
@@ -6045,6 +7165,9 @@ class Snapshot(AbstractModel):
|
|
|
6045
7165
|
|
|
6046
7166
|
@property
|
|
6047
7167
|
def Placement(self):
|
|
7168
|
+
"""Location of the snapshot.
|
|
7169
|
+
:rtype: :class:`tencentcloud.cbs.v20170312.models.Placement`
|
|
7170
|
+
"""
|
|
6048
7171
|
return self._Placement
|
|
6049
7172
|
|
|
6050
7173
|
@Placement.setter
|
|
@@ -6053,6 +7176,9 @@ class Snapshot(AbstractModel):
|
|
|
6053
7176
|
|
|
6054
7177
|
@property
|
|
6055
7178
|
def CopyFromRemote(self):
|
|
7179
|
+
"""Whether the snapshot is replicated across regions. Value range: <br><li>true: Indicates that the snapshot is replicated across regions. <br><li>false: Indicates that the snapshot belongs to the local region.
|
|
7180
|
+
:rtype: bool
|
|
7181
|
+
"""
|
|
6056
7182
|
return self._CopyFromRemote
|
|
6057
7183
|
|
|
6058
7184
|
@CopyFromRemote.setter
|
|
@@ -6061,6 +7187,9 @@ class Snapshot(AbstractModel):
|
|
|
6061
7187
|
|
|
6062
7188
|
@property
|
|
6063
7189
|
def SnapshotState(self):
|
|
7190
|
+
"""Snapshot status. Valid values: <br><li>NORMAL: normal <br><li>CREATING: creating<br><li>ROLLBACKING: rolling back<br><li>COPYING_FROM_REMOTE: cross-region replicating<li>CHECKING_COPIED: verifying the cross-region replicated data<br><li>TORECYCLE: to be repossessed.
|
|
7191
|
+
:rtype: str
|
|
7192
|
+
"""
|
|
6064
7193
|
return self._SnapshotState
|
|
6065
7194
|
|
|
6066
7195
|
@SnapshotState.setter
|
|
@@ -6069,6 +7198,9 @@ class Snapshot(AbstractModel):
|
|
|
6069
7198
|
|
|
6070
7199
|
@property
|
|
6071
7200
|
def IsPermanent(self):
|
|
7201
|
+
"""Whether it is a permanent snapshot. Value range: <br><li>true: Permanent snapshot <br><li>false: Non-permanent snapshot.
|
|
7202
|
+
:rtype: bool
|
|
7203
|
+
"""
|
|
6072
7204
|
return self._IsPermanent
|
|
6073
7205
|
|
|
6074
7206
|
@IsPermanent.setter
|
|
@@ -6077,6 +7209,9 @@ class Snapshot(AbstractModel):
|
|
|
6077
7209
|
|
|
6078
7210
|
@property
|
|
6079
7211
|
def SnapshotName(self):
|
|
7212
|
+
"""Snapshot name, the user-defined snapshot alias. Call [ModifySnapshotAttribute](https://intl.cloud.tencent.com/document/product/362/15650?from_cn_redirect=1) to modify this field.
|
|
7213
|
+
:rtype: str
|
|
7214
|
+
"""
|
|
6080
7215
|
return self._SnapshotName
|
|
6081
7216
|
|
|
6082
7217
|
@SnapshotName.setter
|
|
@@ -6085,6 +7220,9 @@ class Snapshot(AbstractModel):
|
|
|
6085
7220
|
|
|
6086
7221
|
@property
|
|
6087
7222
|
def DeadlineTime(self):
|
|
7223
|
+
"""The expiration time of the snapshot. If the snapshot is permanently retained, this field is blank.
|
|
7224
|
+
:rtype: str
|
|
7225
|
+
"""
|
|
6088
7226
|
return self._DeadlineTime
|
|
6089
7227
|
|
|
6090
7228
|
@DeadlineTime.setter
|
|
@@ -6093,6 +7231,9 @@ class Snapshot(AbstractModel):
|
|
|
6093
7231
|
|
|
6094
7232
|
@property
|
|
6095
7233
|
def Percent(self):
|
|
7234
|
+
"""The progress percentage for snapshot creation. This field is always 100 after the snapshot is created successfully.
|
|
7235
|
+
:rtype: int
|
|
7236
|
+
"""
|
|
6096
7237
|
return self._Percent
|
|
6097
7238
|
|
|
6098
7239
|
@Percent.setter
|
|
@@ -6101,6 +7242,9 @@ class Snapshot(AbstractModel):
|
|
|
6101
7242
|
|
|
6102
7243
|
@property
|
|
6103
7244
|
def Images(self):
|
|
7245
|
+
"""List of images associated with snapshot.
|
|
7246
|
+
:rtype: list of Image
|
|
7247
|
+
"""
|
|
6104
7248
|
return self._Images
|
|
6105
7249
|
|
|
6106
7250
|
@Images.setter
|
|
@@ -6109,6 +7253,9 @@ class Snapshot(AbstractModel):
|
|
|
6109
7253
|
|
|
6110
7254
|
@property
|
|
6111
7255
|
def ShareReference(self):
|
|
7256
|
+
"""Number of snapshots currently shared
|
|
7257
|
+
:rtype: int
|
|
7258
|
+
"""
|
|
6112
7259
|
return self._ShareReference
|
|
6113
7260
|
|
|
6114
7261
|
@ShareReference.setter
|
|
@@ -6117,6 +7264,9 @@ class Snapshot(AbstractModel):
|
|
|
6117
7264
|
|
|
6118
7265
|
@property
|
|
6119
7266
|
def SnapshotType(self):
|
|
7267
|
+
"""Snapshot type. This value can currently be either PRIVATE_SNAPSHOT or SHARED_SNAPSHOT.
|
|
7268
|
+
:rtype: str
|
|
7269
|
+
"""
|
|
6120
7270
|
return self._SnapshotType
|
|
6121
7271
|
|
|
6122
7272
|
@SnapshotType.setter
|
|
@@ -6125,6 +7275,9 @@ class Snapshot(AbstractModel):
|
|
|
6125
7275
|
|
|
6126
7276
|
@property
|
|
6127
7277
|
def DiskSize(self):
|
|
7278
|
+
"""Size of the cloud disk used to create this snapshot (in GB).
|
|
7279
|
+
:rtype: int
|
|
7280
|
+
"""
|
|
6128
7281
|
return self._DiskSize
|
|
6129
7282
|
|
|
6130
7283
|
@DiskSize.setter
|
|
@@ -6133,6 +7286,9 @@ class Snapshot(AbstractModel):
|
|
|
6133
7286
|
|
|
6134
7287
|
@property
|
|
6135
7288
|
def DiskId(self):
|
|
7289
|
+
"""ID of the cloud disk used to create this snapshot.
|
|
7290
|
+
:rtype: str
|
|
7291
|
+
"""
|
|
6136
7292
|
return self._DiskId
|
|
6137
7293
|
|
|
6138
7294
|
@DiskId.setter
|
|
@@ -6141,6 +7297,9 @@ class Snapshot(AbstractModel):
|
|
|
6141
7297
|
|
|
6142
7298
|
@property
|
|
6143
7299
|
def CopyingToRegions(self):
|
|
7300
|
+
"""The destination region to which the snapshot is being replicated. Default value is [ ].
|
|
7301
|
+
:rtype: list of str
|
|
7302
|
+
"""
|
|
6144
7303
|
return self._CopyingToRegions
|
|
6145
7304
|
|
|
6146
7305
|
@CopyingToRegions.setter
|
|
@@ -6149,6 +7308,9 @@ class Snapshot(AbstractModel):
|
|
|
6149
7308
|
|
|
6150
7309
|
@property
|
|
6151
7310
|
def Encrypt(self):
|
|
7311
|
+
"""Whether the snapshot is created from an encrypted disk. Value range: <br><li>true: Yes <br><li>false: No.
|
|
7312
|
+
:rtype: bool
|
|
7313
|
+
"""
|
|
6152
7314
|
return self._Encrypt
|
|
6153
7315
|
|
|
6154
7316
|
@Encrypt.setter
|
|
@@ -6157,6 +7319,9 @@ class Snapshot(AbstractModel):
|
|
|
6157
7319
|
|
|
6158
7320
|
@property
|
|
6159
7321
|
def CreateTime(self):
|
|
7322
|
+
"""Creation time of the snapshot.
|
|
7323
|
+
:rtype: str
|
|
7324
|
+
"""
|
|
6160
7325
|
return self._CreateTime
|
|
6161
7326
|
|
|
6162
7327
|
@CreateTime.setter
|
|
@@ -6165,6 +7330,9 @@ class Snapshot(AbstractModel):
|
|
|
6165
7330
|
|
|
6166
7331
|
@property
|
|
6167
7332
|
def ImageCount(self):
|
|
7333
|
+
"""Number of images associated with snapshot.
|
|
7334
|
+
:rtype: int
|
|
7335
|
+
"""
|
|
6168
7336
|
return self._ImageCount
|
|
6169
7337
|
|
|
6170
7338
|
@ImageCount.setter
|
|
@@ -6173,6 +7341,9 @@ class Snapshot(AbstractModel):
|
|
|
6173
7341
|
|
|
6174
7342
|
@property
|
|
6175
7343
|
def DiskUsage(self):
|
|
7344
|
+
"""The type of the cloud disk used to create the snapshot. Value range: <br><li>SYSTEM_DISK: System disk <br><li>DATA_DISK: Data disk.
|
|
7345
|
+
:rtype: str
|
|
7346
|
+
"""
|
|
6176
7347
|
return self._DiskUsage
|
|
6177
7348
|
|
|
6178
7349
|
@DiskUsage.setter
|
|
@@ -6181,6 +7352,9 @@ class Snapshot(AbstractModel):
|
|
|
6181
7352
|
|
|
6182
7353
|
@property
|
|
6183
7354
|
def SnapshotId(self):
|
|
7355
|
+
"""Snapshot ID.
|
|
7356
|
+
:rtype: str
|
|
7357
|
+
"""
|
|
6184
7358
|
return self._SnapshotId
|
|
6185
7359
|
|
|
6186
7360
|
@SnapshotId.setter
|
|
@@ -6189,6 +7363,9 @@ class Snapshot(AbstractModel):
|
|
|
6189
7363
|
|
|
6190
7364
|
@property
|
|
6191
7365
|
def TimeStartShare(self):
|
|
7366
|
+
"""The time when the snapshot sharing starts
|
|
7367
|
+
:rtype: str
|
|
7368
|
+
"""
|
|
6192
7369
|
return self._TimeStartShare
|
|
6193
7370
|
|
|
6194
7371
|
@TimeStartShare.setter
|
|
@@ -6197,6 +7374,9 @@ class Snapshot(AbstractModel):
|
|
|
6197
7374
|
|
|
6198
7375
|
@property
|
|
6199
7376
|
def Tags(self):
|
|
7377
|
+
"""List of tags associated with the snapshot.
|
|
7378
|
+
:rtype: list of Tag
|
|
7379
|
+
"""
|
|
6200
7380
|
return self._Tags
|
|
6201
7381
|
|
|
6202
7382
|
@Tags.setter
|
|
@@ -6270,6 +7450,9 @@ class SnapshotCopyResult(AbstractModel):
|
|
|
6270
7450
|
|
|
6271
7451
|
@property
|
|
6272
7452
|
def SnapshotId(self):
|
|
7453
|
+
"""ID of the snapshot replica
|
|
7454
|
+
:rtype: str
|
|
7455
|
+
"""
|
|
6273
7456
|
return self._SnapshotId
|
|
6274
7457
|
|
|
6275
7458
|
@SnapshotId.setter
|
|
@@ -6278,6 +7461,9 @@ class SnapshotCopyResult(AbstractModel):
|
|
|
6278
7461
|
|
|
6279
7462
|
@property
|
|
6280
7463
|
def Message(self):
|
|
7464
|
+
"""Error message. It’s null if the request succeeds.
|
|
7465
|
+
:rtype: str
|
|
7466
|
+
"""
|
|
6281
7467
|
return self._Message
|
|
6282
7468
|
|
|
6283
7469
|
@Message.setter
|
|
@@ -6286,6 +7472,9 @@ class SnapshotCopyResult(AbstractModel):
|
|
|
6286
7472
|
|
|
6287
7473
|
@property
|
|
6288
7474
|
def Code(self):
|
|
7475
|
+
"""Error code. It’s `Success` if the request succeeds.
|
|
7476
|
+
:rtype: str
|
|
7477
|
+
"""
|
|
6289
7478
|
return self._Code
|
|
6290
7479
|
|
|
6291
7480
|
@Code.setter
|
|
@@ -6294,6 +7483,9 @@ class SnapshotCopyResult(AbstractModel):
|
|
|
6294
7483
|
|
|
6295
7484
|
@property
|
|
6296
7485
|
def DestinationRegion(self):
|
|
7486
|
+
"""Destination region of the replication task
|
|
7487
|
+
:rtype: str
|
|
7488
|
+
"""
|
|
6297
7489
|
return self._DestinationRegion
|
|
6298
7490
|
|
|
6299
7491
|
@DestinationRegion.setter
|
|
@@ -6356,6 +7548,12 @@ ASP_OPERATION_DELETE_SNAP: Delete snapshot from scheduled snapshot policy
|
|
|
6356
7548
|
|
|
6357
7549
|
@property
|
|
6358
7550
|
def OperationState(self):
|
|
7551
|
+
"""Status of operation. Value range:
|
|
7552
|
+
SUCCESS: Operation successful
|
|
7553
|
+
FAILED: Operation failed
|
|
7554
|
+
PROCESSING: Operation in process
|
|
7555
|
+
:rtype: str
|
|
7556
|
+
"""
|
|
6359
7557
|
return self._OperationState
|
|
6360
7558
|
|
|
6361
7559
|
@OperationState.setter
|
|
@@ -6364,6 +7562,9 @@ ASP_OPERATION_DELETE_SNAP: Delete snapshot from scheduled snapshot policy
|
|
|
6364
7562
|
|
|
6365
7563
|
@property
|
|
6366
7564
|
def StartTime(self):
|
|
7565
|
+
"""Start time
|
|
7566
|
+
:rtype: str
|
|
7567
|
+
"""
|
|
6367
7568
|
return self._StartTime
|
|
6368
7569
|
|
|
6369
7570
|
@StartTime.setter
|
|
@@ -6372,6 +7573,10 @@ ASP_OPERATION_DELETE_SNAP: Delete snapshot from scheduled snapshot policy
|
|
|
6372
7573
|
|
|
6373
7574
|
@property
|
|
6374
7575
|
def Operator(self):
|
|
7576
|
+
"""UIN of operator.
|
|
7577
|
+
Note: This field may return null, indicating that no valid value was found.
|
|
7578
|
+
:rtype: str
|
|
7579
|
+
"""
|
|
6375
7580
|
return self._Operator
|
|
6376
7581
|
|
|
6377
7582
|
@Operator.setter
|
|
@@ -6380,6 +7585,9 @@ ASP_OPERATION_DELETE_SNAP: Delete snapshot from scheduled snapshot policy
|
|
|
6380
7585
|
|
|
6381
7586
|
@property
|
|
6382
7587
|
def SnapshotId(self):
|
|
7588
|
+
"""ID of snapshot being operated.
|
|
7589
|
+
:rtype: str
|
|
7590
|
+
"""
|
|
6383
7591
|
return self._SnapshotId
|
|
6384
7592
|
|
|
6385
7593
|
@SnapshotId.setter
|
|
@@ -6388,6 +7596,16 @@ ASP_OPERATION_DELETE_SNAP: Delete snapshot from scheduled snapshot policy
|
|
|
6388
7596
|
|
|
6389
7597
|
@property
|
|
6390
7598
|
def Operation(self):
|
|
7599
|
+
"""Operation type. Value range:
|
|
7600
|
+
SNAP_OPERATION_DELETE: Delete snapshot
|
|
7601
|
+
SNAP_OPERATION_ROLLBACK: Roll back snapshot
|
|
7602
|
+
SNAP_OPERATION_MODIFY: Modify snapshot attributes
|
|
7603
|
+
SNAP_OPERATION_CREATE: Create snapshot
|
|
7604
|
+
SNAP_OPERATION_COPY: Cross-region replication of snapshot
|
|
7605
|
+
ASP_OPERATION_CREATE_SNAP: Create snapshot with scheduled snapshot policy
|
|
7606
|
+
ASP_OPERATION_DELETE_SNAP: Delete snapshot from scheduled snapshot policy
|
|
7607
|
+
:rtype: str
|
|
7608
|
+
"""
|
|
6391
7609
|
return self._Operation
|
|
6392
7610
|
|
|
6393
7611
|
@Operation.setter
|
|
@@ -6396,6 +7614,9 @@ ASP_OPERATION_DELETE_SNAP: Delete snapshot from scheduled snapshot policy
|
|
|
6396
7614
|
|
|
6397
7615
|
@property
|
|
6398
7616
|
def EndTime(self):
|
|
7617
|
+
"""End time
|
|
7618
|
+
:rtype: str
|
|
7619
|
+
"""
|
|
6399
7620
|
return self._EndTime
|
|
6400
7621
|
|
|
6401
7622
|
@EndTime.setter
|
|
@@ -6437,6 +7658,9 @@ class Tag(AbstractModel):
|
|
|
6437
7658
|
|
|
6438
7659
|
@property
|
|
6439
7660
|
def Key(self):
|
|
7661
|
+
"""Tag key.
|
|
7662
|
+
:rtype: str
|
|
7663
|
+
"""
|
|
6440
7664
|
return self._Key
|
|
6441
7665
|
|
|
6442
7666
|
@Key.setter
|
|
@@ -6445,6 +7669,9 @@ class Tag(AbstractModel):
|
|
|
6445
7669
|
|
|
6446
7670
|
@property
|
|
6447
7671
|
def Value(self):
|
|
7672
|
+
"""Tag value.
|
|
7673
|
+
:rtype: str
|
|
7674
|
+
"""
|
|
6448
7675
|
return self._Value
|
|
6449
7676
|
|
|
6450
7677
|
@Value.setter
|
|
@@ -6482,6 +7709,9 @@ class TerminateDisksRequest(AbstractModel):
|
|
|
6482
7709
|
|
|
6483
7710
|
@property
|
|
6484
7711
|
def DiskIds(self):
|
|
7712
|
+
"""List of cloud disk IDs required to be returned.
|
|
7713
|
+
:rtype: list of str
|
|
7714
|
+
"""
|
|
6485
7715
|
return self._DiskIds
|
|
6486
7716
|
|
|
6487
7717
|
@DiskIds.setter
|
|
@@ -6490,6 +7720,9 @@ class TerminateDisksRequest(AbstractModel):
|
|
|
6490
7720
|
|
|
6491
7721
|
@property
|
|
6492
7722
|
def DeleteSnapshot(self):
|
|
7723
|
+
"""Delete the associated non-permanently reserved snapshots upon deletion of the source cloud disk. `0`: No (default). `1`: Yes. To check whether a snapshot is permanently reserved, refer to the `IsPermanent` field returned by the `DescribeSnapshots` API.
|
|
7724
|
+
:rtype: int
|
|
7725
|
+
"""
|
|
6493
7726
|
return self._DeleteSnapshot
|
|
6494
7727
|
|
|
6495
7728
|
@DeleteSnapshot.setter
|
|
@@ -6524,6 +7757,9 @@ class TerminateDisksResponse(AbstractModel):
|
|
|
6524
7757
|
|
|
6525
7758
|
@property
|
|
6526
7759
|
def RequestId(self):
|
|
7760
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
7761
|
+
:rtype: str
|
|
7762
|
+
"""
|
|
6527
7763
|
return self._RequestId
|
|
6528
7764
|
|
|
6529
7765
|
@RequestId.setter
|
|
@@ -6552,6 +7788,9 @@ class UnbindAutoSnapshotPolicyRequest(AbstractModel):
|
|
|
6552
7788
|
|
|
6553
7789
|
@property
|
|
6554
7790
|
def DiskIds(self):
|
|
7791
|
+
"""List of cloud disk IDs scheduled snapshot policy to be unbound from.
|
|
7792
|
+
:rtype: list of str
|
|
7793
|
+
"""
|
|
6555
7794
|
return self._DiskIds
|
|
6556
7795
|
|
|
6557
7796
|
@DiskIds.setter
|
|
@@ -6560,6 +7799,9 @@ class UnbindAutoSnapshotPolicyRequest(AbstractModel):
|
|
|
6560
7799
|
|
|
6561
7800
|
@property
|
|
6562
7801
|
def AutoSnapshotPolicyId(self):
|
|
7802
|
+
"""ID of scheduled snapshot policy to be unbound.
|
|
7803
|
+
:rtype: str
|
|
7804
|
+
"""
|
|
6563
7805
|
return self._AutoSnapshotPolicyId
|
|
6564
7806
|
|
|
6565
7807
|
@AutoSnapshotPolicyId.setter
|
|
@@ -6594,6 +7836,9 @@ class UnbindAutoSnapshotPolicyResponse(AbstractModel):
|
|
|
6594
7836
|
|
|
6595
7837
|
@property
|
|
6596
7838
|
def RequestId(self):
|
|
7839
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
7840
|
+
:rtype: str
|
|
7841
|
+
"""
|
|
6597
7842
|
return self._RequestId
|
|
6598
7843
|
|
|
6599
7844
|
@RequestId.setter
|