tencentcloud-sdk-python-cbs 3.1.39__tar.gz → 3.1.101__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tencentcloud_sdk_python_cbs-3.1.39 → tencentcloud_sdk_python_cbs-3.1.101}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cbs-3.1.39 → tencentcloud_sdk_python_cbs-3.1.101}/setup.py +1 -1
- {tencentcloud_sdk_python_cbs-3.1.39 → tencentcloud_sdk_python_cbs-3.1.101}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cbs-3.1.39 → tencentcloud_sdk_python_cbs-3.1.101}/tencentcloud/cbs/v20170312/models.py +217 -217
- {tencentcloud_sdk_python_cbs-3.1.39 → tencentcloud_sdk_python_cbs-3.1.101}/tencentcloud_sdk_python_cbs.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cbs-3.1.101/tencentcloud_sdk_python_cbs.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cbs-3.1.39/tencentcloud_sdk_python_cbs.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cbs-3.1.39 → tencentcloud_sdk_python_cbs-3.1.101}/README.rst +0 -0
- {tencentcloud_sdk_python_cbs-3.1.39 → tencentcloud_sdk_python_cbs-3.1.101}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cbs-3.1.39 → tencentcloud_sdk_python_cbs-3.1.101}/tencentcloud/cbs/__init__.py +0 -0
- {tencentcloud_sdk_python_cbs-3.1.39 → tencentcloud_sdk_python_cbs-3.1.101}/tencentcloud/cbs/v20170312/__init__.py +0 -0
- {tencentcloud_sdk_python_cbs-3.1.39 → tencentcloud_sdk_python_cbs-3.1.101}/tencentcloud/cbs/v20170312/cbs_client.py +0 -0
- {tencentcloud_sdk_python_cbs-3.1.39 → tencentcloud_sdk_python_cbs-3.1.101}/tencentcloud/cbs/v20170312/cbs_client_async.py +0 -0
- {tencentcloud_sdk_python_cbs-3.1.39 → tencentcloud_sdk_python_cbs-3.1.101}/tencentcloud/cbs/v20170312/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cbs-3.1.39 → tencentcloud_sdk_python_cbs-3.1.101}/tencentcloud_sdk_python_cbs.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cbs-3.1.39 → tencentcloud_sdk_python_cbs-3.1.101}/tencentcloud_sdk_python_cbs.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cbs-3.1.39 → tencentcloud_sdk_python_cbs-3.1.101}/tencentcloud_sdk_python_cbs.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cbs
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.101
|
|
4
4
|
Summary: Tencent Cloud Cbs SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.101
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-cbs',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.101,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cbs SDK for Python',
|
|
@@ -3817,14 +3817,14 @@ class DescribeInstancesDiskNumRequest(AbstractModel):
|
|
|
3817
3817
|
|
|
3818
3818
|
def __init__(self):
|
|
3819
3819
|
r"""
|
|
3820
|
-
:param _InstanceIds:
|
|
3820
|
+
:param _InstanceIds: <p>云服务器实例ID,通过<a href="/document/product/213/15728">DescribeInstances</a>接口查询。</p>
|
|
3821
3821
|
:type InstanceIds: list of str
|
|
3822
3822
|
"""
|
|
3823
3823
|
self._InstanceIds = None
|
|
3824
3824
|
|
|
3825
3825
|
@property
|
|
3826
3826
|
def InstanceIds(self):
|
|
3827
|
-
r"""
|
|
3827
|
+
r"""<p>云服务器实例ID,通过<a href="/document/product/213/15728">DescribeInstances</a>接口查询。</p>
|
|
3828
3828
|
:rtype: list of str
|
|
3829
3829
|
"""
|
|
3830
3830
|
return self._InstanceIds
|
|
@@ -3853,7 +3853,7 @@ class DescribeInstancesDiskNumResponse(AbstractModel):
|
|
|
3853
3853
|
|
|
3854
3854
|
def __init__(self):
|
|
3855
3855
|
r"""
|
|
3856
|
-
:param _AttachDetail:
|
|
3856
|
+
:param _AttachDetail: <p>各个云服务器已挂载和可挂载弹性云盘的数量。</p>
|
|
3857
3857
|
:type AttachDetail: list of AttachDetail
|
|
3858
3858
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3859
3859
|
:type RequestId: str
|
|
@@ -3863,7 +3863,7 @@ class DescribeInstancesDiskNumResponse(AbstractModel):
|
|
|
3863
3863
|
|
|
3864
3864
|
@property
|
|
3865
3865
|
def AttachDetail(self):
|
|
3866
|
-
r"""
|
|
3866
|
+
r"""<p>各个云服务器已挂载和可挂载弹性云盘的数量。</p>
|
|
3867
3867
|
:rtype: list of AttachDetail
|
|
3868
3868
|
"""
|
|
3869
3869
|
return self._AttachDetail
|
|
@@ -4483,81 +4483,95 @@ class DetachDisksResponse(AbstractModel):
|
|
|
4483
4483
|
|
|
4484
4484
|
|
|
4485
4485
|
class DetailPrice(AbstractModel):
|
|
4486
|
-
r"""
|
|
4486
|
+
r"""描述购买云硬盘时的费用明细。
|
|
4487
4487
|
|
|
4488
4488
|
"""
|
|
4489
4489
|
|
|
4490
4490
|
def __init__(self):
|
|
4491
4491
|
r"""
|
|
4492
|
-
:param
|
|
4493
|
-
:type PriceTitle: str
|
|
4494
|
-
:param _PriceName: 描述计费项目显示名称,用户控制台展示。
|
|
4495
|
-
:type PriceName: str
|
|
4496
|
-
:param _OriginalPrice: 预付费云盘预支费用的原价,单位:元。
|
|
4492
|
+
:param _ChargeUnit: 后付费云硬盘的计价单元,取值范围:HOUR:表示后付费云硬盘的计价单元是按小时计算。
|
|
4497
4493
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4498
|
-
:type
|
|
4499
|
-
:param _DiscountPrice:
|
|
4494
|
+
:type ChargeUnit: str
|
|
4495
|
+
:param _DiscountPrice: 预付费云硬盘预支费用的折扣价,单位:元。
|
|
4500
4496
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4501
4497
|
:type DiscountPrice: float
|
|
4502
|
-
:param
|
|
4503
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4504
|
-
:type UnitPrice: float
|
|
4505
|
-
:param _UnitPriceDiscount: 后付费云盘折扣单价,单位:元。
|
|
4498
|
+
:param _DiscountPriceHigh: 高精度预付费云硬盘预支费用的折扣价,单位:元。
|
|
4506
4499
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4507
|
-
:type
|
|
4508
|
-
:param
|
|
4500
|
+
:type DiscountPriceHigh: str
|
|
4501
|
+
:param _OriginalPrice: 预付费云硬盘预支费用的原价,单位:元。
|
|
4509
4502
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4510
|
-
:type
|
|
4511
|
-
:param _OriginalPriceHigh:
|
|
4503
|
+
:type OriginalPrice: float
|
|
4504
|
+
:param _OriginalPriceHigh: 高精度预付费云硬盘预支费用的原价,单位:元。
|
|
4512
4505
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4513
4506
|
:type OriginalPriceHigh: str
|
|
4514
|
-
:param
|
|
4507
|
+
:param _PriceName: 描述计费项目名称
|
|
4508
|
+
:type PriceName: str
|
|
4509
|
+
:param _PriceTitle: 描述计费项目显示名称,用户控制台展示
|
|
4510
|
+
:type PriceTitle: str
|
|
4511
|
+
:param _UnitPrice: 后付费云硬盘原单价,单位:元。
|
|
4515
4512
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4516
|
-
:type
|
|
4517
|
-
:param
|
|
4513
|
+
:type UnitPrice: float
|
|
4514
|
+
:param _UnitPriceDiscount: 后付费云硬盘折扣单价,单位:元。
|
|
4518
4515
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4519
|
-
:type
|
|
4520
|
-
:param _UnitPriceDiscountHigh:
|
|
4516
|
+
:type UnitPriceDiscount: float
|
|
4517
|
+
:param _UnitPriceDiscountHigh: 高精度后付费云硬盘折扣单价,单位:元。
|
|
4521
4518
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4522
4519
|
:type UnitPriceDiscountHigh: str
|
|
4520
|
+
:param _UnitPriceHigh: 高精度后付费云硬盘原单价,单位:元。
|
|
4521
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4522
|
+
:type UnitPriceHigh: str
|
|
4523
4523
|
"""
|
|
4524
|
-
self.
|
|
4525
|
-
self._PriceName = None
|
|
4526
|
-
self._OriginalPrice = None
|
|
4524
|
+
self._ChargeUnit = None
|
|
4527
4525
|
self._DiscountPrice = None
|
|
4526
|
+
self._DiscountPriceHigh = None
|
|
4527
|
+
self._OriginalPrice = None
|
|
4528
|
+
self._OriginalPriceHigh = None
|
|
4529
|
+
self._PriceName = None
|
|
4530
|
+
self._PriceTitle = None
|
|
4528
4531
|
self._UnitPrice = None
|
|
4529
4532
|
self._UnitPriceDiscount = None
|
|
4530
|
-
self._ChargeUnit = None
|
|
4531
|
-
self._OriginalPriceHigh = None
|
|
4532
|
-
self._DiscountPriceHigh = None
|
|
4533
|
-
self._UnitPriceHigh = None
|
|
4534
4533
|
self._UnitPriceDiscountHigh = None
|
|
4534
|
+
self._UnitPriceHigh = None
|
|
4535
4535
|
|
|
4536
4536
|
@property
|
|
4537
|
-
def
|
|
4538
|
-
r"""
|
|
4537
|
+
def ChargeUnit(self):
|
|
4538
|
+
r"""后付费云硬盘的计价单元,取值范围:HOUR:表示后付费云硬盘的计价单元是按小时计算。
|
|
4539
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4539
4540
|
:rtype: str
|
|
4540
4541
|
"""
|
|
4541
|
-
return self.
|
|
4542
|
+
return self._ChargeUnit
|
|
4542
4543
|
|
|
4543
|
-
@
|
|
4544
|
-
def
|
|
4545
|
-
self.
|
|
4544
|
+
@ChargeUnit.setter
|
|
4545
|
+
def ChargeUnit(self, ChargeUnit):
|
|
4546
|
+
self._ChargeUnit = ChargeUnit
|
|
4546
4547
|
|
|
4547
4548
|
@property
|
|
4548
|
-
def
|
|
4549
|
-
r"""
|
|
4549
|
+
def DiscountPrice(self):
|
|
4550
|
+
r"""预付费云硬盘预支费用的折扣价,单位:元。
|
|
4551
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4552
|
+
:rtype: float
|
|
4553
|
+
"""
|
|
4554
|
+
return self._DiscountPrice
|
|
4555
|
+
|
|
4556
|
+
@DiscountPrice.setter
|
|
4557
|
+
def DiscountPrice(self, DiscountPrice):
|
|
4558
|
+
self._DiscountPrice = DiscountPrice
|
|
4559
|
+
|
|
4560
|
+
@property
|
|
4561
|
+
def DiscountPriceHigh(self):
|
|
4562
|
+
r"""高精度预付费云硬盘预支费用的折扣价,单位:元。
|
|
4563
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4550
4564
|
:rtype: str
|
|
4551
4565
|
"""
|
|
4552
|
-
return self.
|
|
4566
|
+
return self._DiscountPriceHigh
|
|
4553
4567
|
|
|
4554
|
-
@
|
|
4555
|
-
def
|
|
4556
|
-
self.
|
|
4568
|
+
@DiscountPriceHigh.setter
|
|
4569
|
+
def DiscountPriceHigh(self, DiscountPriceHigh):
|
|
4570
|
+
self._DiscountPriceHigh = DiscountPriceHigh
|
|
4557
4571
|
|
|
4558
4572
|
@property
|
|
4559
4573
|
def OriginalPrice(self):
|
|
4560
|
-
r"""
|
|
4574
|
+
r"""预付费云硬盘预支费用的原价,单位:元。
|
|
4561
4575
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4562
4576
|
:rtype: float
|
|
4563
4577
|
"""
|
|
@@ -4568,20 +4582,42 @@ class DetailPrice(AbstractModel):
|
|
|
4568
4582
|
self._OriginalPrice = OriginalPrice
|
|
4569
4583
|
|
|
4570
4584
|
@property
|
|
4571
|
-
def
|
|
4572
|
-
r"""
|
|
4585
|
+
def OriginalPriceHigh(self):
|
|
4586
|
+
r"""高精度预付费云硬盘预支费用的原价,单位:元。
|
|
4573
4587
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4574
|
-
:rtype:
|
|
4588
|
+
:rtype: str
|
|
4575
4589
|
"""
|
|
4576
|
-
return self.
|
|
4590
|
+
return self._OriginalPriceHigh
|
|
4577
4591
|
|
|
4578
|
-
@
|
|
4579
|
-
def
|
|
4580
|
-
self.
|
|
4592
|
+
@OriginalPriceHigh.setter
|
|
4593
|
+
def OriginalPriceHigh(self, OriginalPriceHigh):
|
|
4594
|
+
self._OriginalPriceHigh = OriginalPriceHigh
|
|
4595
|
+
|
|
4596
|
+
@property
|
|
4597
|
+
def PriceName(self):
|
|
4598
|
+
r"""描述计费项目名称
|
|
4599
|
+
:rtype: str
|
|
4600
|
+
"""
|
|
4601
|
+
return self._PriceName
|
|
4602
|
+
|
|
4603
|
+
@PriceName.setter
|
|
4604
|
+
def PriceName(self, PriceName):
|
|
4605
|
+
self._PriceName = PriceName
|
|
4606
|
+
|
|
4607
|
+
@property
|
|
4608
|
+
def PriceTitle(self):
|
|
4609
|
+
r"""描述计费项目显示名称,用户控制台展示
|
|
4610
|
+
:rtype: str
|
|
4611
|
+
"""
|
|
4612
|
+
return self._PriceTitle
|
|
4613
|
+
|
|
4614
|
+
@PriceTitle.setter
|
|
4615
|
+
def PriceTitle(self, PriceTitle):
|
|
4616
|
+
self._PriceTitle = PriceTitle
|
|
4581
4617
|
|
|
4582
4618
|
@property
|
|
4583
4619
|
def UnitPrice(self):
|
|
4584
|
-
r"""
|
|
4620
|
+
r"""后付费云硬盘原单价,单位:元。
|
|
4585
4621
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4586
4622
|
:rtype: float
|
|
4587
4623
|
"""
|
|
@@ -4593,7 +4629,7 @@ class DetailPrice(AbstractModel):
|
|
|
4593
4629
|
|
|
4594
4630
|
@property
|
|
4595
4631
|
def UnitPriceDiscount(self):
|
|
4596
|
-
r"""
|
|
4632
|
+
r"""后付费云硬盘折扣单价,单位:元。
|
|
4597
4633
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4598
4634
|
:rtype: float
|
|
4599
4635
|
"""
|
|
@@ -4604,44 +4640,20 @@ class DetailPrice(AbstractModel):
|
|
|
4604
4640
|
self._UnitPriceDiscount = UnitPriceDiscount
|
|
4605
4641
|
|
|
4606
4642
|
@property
|
|
4607
|
-
def
|
|
4608
|
-
r"""
|
|
4609
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4610
|
-
:rtype: str
|
|
4611
|
-
"""
|
|
4612
|
-
return self._ChargeUnit
|
|
4613
|
-
|
|
4614
|
-
@ChargeUnit.setter
|
|
4615
|
-
def ChargeUnit(self, ChargeUnit):
|
|
4616
|
-
self._ChargeUnit = ChargeUnit
|
|
4617
|
-
|
|
4618
|
-
@property
|
|
4619
|
-
def OriginalPriceHigh(self):
|
|
4620
|
-
r"""高精度预付费云盘预支费用的原价,单位:元。
|
|
4621
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4622
|
-
:rtype: str
|
|
4623
|
-
"""
|
|
4624
|
-
return self._OriginalPriceHigh
|
|
4625
|
-
|
|
4626
|
-
@OriginalPriceHigh.setter
|
|
4627
|
-
def OriginalPriceHigh(self, OriginalPriceHigh):
|
|
4628
|
-
self._OriginalPriceHigh = OriginalPriceHigh
|
|
4629
|
-
|
|
4630
|
-
@property
|
|
4631
|
-
def DiscountPriceHigh(self):
|
|
4632
|
-
r"""高精度预付费云盘预支费用的折扣价,单位:元。
|
|
4643
|
+
def UnitPriceDiscountHigh(self):
|
|
4644
|
+
r"""高精度后付费云硬盘折扣单价,单位:元。
|
|
4633
4645
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4634
4646
|
:rtype: str
|
|
4635
4647
|
"""
|
|
4636
|
-
return self.
|
|
4648
|
+
return self._UnitPriceDiscountHigh
|
|
4637
4649
|
|
|
4638
|
-
@
|
|
4639
|
-
def
|
|
4640
|
-
self.
|
|
4650
|
+
@UnitPriceDiscountHigh.setter
|
|
4651
|
+
def UnitPriceDiscountHigh(self, UnitPriceDiscountHigh):
|
|
4652
|
+
self._UnitPriceDiscountHigh = UnitPriceDiscountHigh
|
|
4641
4653
|
|
|
4642
4654
|
@property
|
|
4643
4655
|
def UnitPriceHigh(self):
|
|
4644
|
-
r"""
|
|
4656
|
+
r"""高精度后付费云硬盘原单价,单位:元。
|
|
4645
4657
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4646
4658
|
:rtype: str
|
|
4647
4659
|
"""
|
|
@@ -4651,31 +4663,19 @@ class DetailPrice(AbstractModel):
|
|
|
4651
4663
|
def UnitPriceHigh(self, UnitPriceHigh):
|
|
4652
4664
|
self._UnitPriceHigh = UnitPriceHigh
|
|
4653
4665
|
|
|
4654
|
-
@property
|
|
4655
|
-
def UnitPriceDiscountHigh(self):
|
|
4656
|
-
r"""高精度后付费云盘折扣单价,单位:元。
|
|
4657
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4658
|
-
:rtype: str
|
|
4659
|
-
"""
|
|
4660
|
-
return self._UnitPriceDiscountHigh
|
|
4661
|
-
|
|
4662
|
-
@UnitPriceDiscountHigh.setter
|
|
4663
|
-
def UnitPriceDiscountHigh(self, UnitPriceDiscountHigh):
|
|
4664
|
-
self._UnitPriceDiscountHigh = UnitPriceDiscountHigh
|
|
4665
|
-
|
|
4666
4666
|
|
|
4667
4667
|
def _deserialize(self, params):
|
|
4668
|
-
self.
|
|
4669
|
-
self._PriceName = params.get("PriceName")
|
|
4670
|
-
self._OriginalPrice = params.get("OriginalPrice")
|
|
4668
|
+
self._ChargeUnit = params.get("ChargeUnit")
|
|
4671
4669
|
self._DiscountPrice = params.get("DiscountPrice")
|
|
4670
|
+
self._DiscountPriceHigh = params.get("DiscountPriceHigh")
|
|
4671
|
+
self._OriginalPrice = params.get("OriginalPrice")
|
|
4672
|
+
self._OriginalPriceHigh = params.get("OriginalPriceHigh")
|
|
4673
|
+
self._PriceName = params.get("PriceName")
|
|
4674
|
+
self._PriceTitle = params.get("PriceTitle")
|
|
4672
4675
|
self._UnitPrice = params.get("UnitPrice")
|
|
4673
4676
|
self._UnitPriceDiscount = params.get("UnitPriceDiscount")
|
|
4674
|
-
self._ChargeUnit = params.get("ChargeUnit")
|
|
4675
|
-
self._OriginalPriceHigh = params.get("OriginalPriceHigh")
|
|
4676
|
-
self._DiscountPriceHigh = params.get("DiscountPriceHigh")
|
|
4677
|
-
self._UnitPriceHigh = params.get("UnitPriceHigh")
|
|
4678
4677
|
self._UnitPriceDiscountHigh = params.get("UnitPriceDiscountHigh")
|
|
4678
|
+
self._UnitPriceHigh = params.get("UnitPriceHigh")
|
|
4679
4679
|
memeber_set = set(params.keys())
|
|
4680
4680
|
for name, value in vars(self).items():
|
|
4681
4681
|
property_name = name[1:]
|
|
@@ -7617,27 +7617,27 @@ class Placement(AbstractModel):
|
|
|
7617
7617
|
:param _CageId: 围笼Id,可通过 [DescribeDiskStoragePool](https://cloud.tencent.com/document/api/362/62143) 获取。作为入参时,表示对指定的CageId的资源进行操作,可为空。 作为出参时,表示资源所属围笼ID,可为空。
|
|
7618
7618
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7619
7619
|
:type CageId: str
|
|
7620
|
-
:param
|
|
7621
|
-
:type ProjectId: int
|
|
7622
|
-
:param _ProjectName: 实例所属项目名称,可通过[DescribeProject](/document/api/651/78725)获取。
|
|
7620
|
+
:param _CdcId: 实例所属的独享集群ID。可通过 [DescribeDiskStoragePool](https://cloud.tencent.com/document/api/362/62143) 获取。作为入参时,表示对指定的CdcId独享集群的资源进行操作,可为空。 作为出参时,表示资源所属的独享集群的ID,可为空。
|
|
7623
7621
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7624
|
-
:type
|
|
7622
|
+
:type CdcId: str
|
|
7625
7623
|
:param _CdcName: 独享集群名字。作为入参时,忽略。作为出参时,表示云硬盘所属的独享集群名,可为空。
|
|
7626
7624
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7627
7625
|
:type CdcName: str
|
|
7628
|
-
:param _CdcId: 实例所属的独享集群ID。可通过 [DescribeDiskStoragePool](https://cloud.tencent.com/document/api/362/62143) 获取。作为入参时,表示对指定的CdcId独享集群的资源进行操作,可为空。 作为出参时,表示资源所属的独享集群的ID,可为空。
|
|
7629
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7630
|
-
:type CdcId: str
|
|
7631
7626
|
:param _DedicatedClusterId: 独享集群id。
|
|
7632
7627
|
:type DedicatedClusterId: str
|
|
7628
|
+
:param _ProjectId: 实例所属项目ID,可通过DescribeProject获取。不填默认为0,表示默认项目。
|
|
7629
|
+
:type ProjectId: int
|
|
7630
|
+
:param _ProjectName: 实例所属项目名称,可通过[DescribeProject](/document/api/651/78725)获取。
|
|
7631
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7632
|
+
:type ProjectName: str
|
|
7633
7633
|
"""
|
|
7634
7634
|
self._Zone = None
|
|
7635
7635
|
self._CageId = None
|
|
7636
|
-
self._ProjectId = None
|
|
7637
|
-
self._ProjectName = None
|
|
7638
|
-
self._CdcName = None
|
|
7639
7636
|
self._CdcId = None
|
|
7637
|
+
self._CdcName = None
|
|
7640
7638
|
self._DedicatedClusterId = None
|
|
7639
|
+
self._ProjectId = None
|
|
7640
|
+
self._ProjectName = None
|
|
7641
7641
|
|
|
7642
7642
|
@property
|
|
7643
7643
|
def Zone(self):
|
|
@@ -7663,27 +7663,16 @@ class Placement(AbstractModel):
|
|
|
7663
7663
|
self._CageId = CageId
|
|
7664
7664
|
|
|
7665
7665
|
@property
|
|
7666
|
-
def
|
|
7667
|
-
r"""
|
|
7668
|
-
:rtype: int
|
|
7669
|
-
"""
|
|
7670
|
-
return self._ProjectId
|
|
7671
|
-
|
|
7672
|
-
@ProjectId.setter
|
|
7673
|
-
def ProjectId(self, ProjectId):
|
|
7674
|
-
self._ProjectId = ProjectId
|
|
7675
|
-
|
|
7676
|
-
@property
|
|
7677
|
-
def ProjectName(self):
|
|
7678
|
-
r"""实例所属项目名称,可通过[DescribeProject](/document/api/651/78725)获取。
|
|
7666
|
+
def CdcId(self):
|
|
7667
|
+
r"""实例所属的独享集群ID。可通过 [DescribeDiskStoragePool](https://cloud.tencent.com/document/api/362/62143) 获取。作为入参时,表示对指定的CdcId独享集群的资源进行操作,可为空。 作为出参时,表示资源所属的独享集群的ID,可为空。
|
|
7679
7668
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7680
7669
|
:rtype: str
|
|
7681
7670
|
"""
|
|
7682
|
-
return self.
|
|
7671
|
+
return self._CdcId
|
|
7683
7672
|
|
|
7684
|
-
@
|
|
7685
|
-
def
|
|
7686
|
-
self.
|
|
7673
|
+
@CdcId.setter
|
|
7674
|
+
def CdcId(self, CdcId):
|
|
7675
|
+
self._CdcId = CdcId
|
|
7687
7676
|
|
|
7688
7677
|
@property
|
|
7689
7678
|
def CdcName(self):
|
|
@@ -7697,18 +7686,6 @@ class Placement(AbstractModel):
|
|
|
7697
7686
|
def CdcName(self, CdcName):
|
|
7698
7687
|
self._CdcName = CdcName
|
|
7699
7688
|
|
|
7700
|
-
@property
|
|
7701
|
-
def CdcId(self):
|
|
7702
|
-
r"""实例所属的独享集群ID。可通过 [DescribeDiskStoragePool](https://cloud.tencent.com/document/api/362/62143) 获取。作为入参时,表示对指定的CdcId独享集群的资源进行操作,可为空。 作为出参时,表示资源所属的独享集群的ID,可为空。
|
|
7703
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7704
|
-
:rtype: str
|
|
7705
|
-
"""
|
|
7706
|
-
return self._CdcId
|
|
7707
|
-
|
|
7708
|
-
@CdcId.setter
|
|
7709
|
-
def CdcId(self, CdcId):
|
|
7710
|
-
self._CdcId = CdcId
|
|
7711
|
-
|
|
7712
7689
|
@property
|
|
7713
7690
|
def DedicatedClusterId(self):
|
|
7714
7691
|
r"""独享集群id。
|
|
@@ -7720,15 +7697,38 @@ class Placement(AbstractModel):
|
|
|
7720
7697
|
def DedicatedClusterId(self, DedicatedClusterId):
|
|
7721
7698
|
self._DedicatedClusterId = DedicatedClusterId
|
|
7722
7699
|
|
|
7700
|
+
@property
|
|
7701
|
+
def ProjectId(self):
|
|
7702
|
+
r"""实例所属项目ID,可通过DescribeProject获取。不填默认为0,表示默认项目。
|
|
7703
|
+
:rtype: int
|
|
7704
|
+
"""
|
|
7705
|
+
return self._ProjectId
|
|
7706
|
+
|
|
7707
|
+
@ProjectId.setter
|
|
7708
|
+
def ProjectId(self, ProjectId):
|
|
7709
|
+
self._ProjectId = ProjectId
|
|
7710
|
+
|
|
7711
|
+
@property
|
|
7712
|
+
def ProjectName(self):
|
|
7713
|
+
r"""实例所属项目名称,可通过[DescribeProject](/document/api/651/78725)获取。
|
|
7714
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7715
|
+
:rtype: str
|
|
7716
|
+
"""
|
|
7717
|
+
return self._ProjectName
|
|
7718
|
+
|
|
7719
|
+
@ProjectName.setter
|
|
7720
|
+
def ProjectName(self, ProjectName):
|
|
7721
|
+
self._ProjectName = ProjectName
|
|
7722
|
+
|
|
7723
7723
|
|
|
7724
7724
|
def _deserialize(self, params):
|
|
7725
7725
|
self._Zone = params.get("Zone")
|
|
7726
7726
|
self._CageId = params.get("CageId")
|
|
7727
|
-
self._ProjectId = params.get("ProjectId")
|
|
7728
|
-
self._ProjectName = params.get("ProjectName")
|
|
7729
|
-
self._CdcName = params.get("CdcName")
|
|
7730
7727
|
self._CdcId = params.get("CdcId")
|
|
7728
|
+
self._CdcName = params.get("CdcName")
|
|
7731
7729
|
self._DedicatedClusterId = params.get("DedicatedClusterId")
|
|
7730
|
+
self._ProjectId = params.get("ProjectId")
|
|
7731
|
+
self._ProjectName = params.get("ProjectName")
|
|
7732
7732
|
memeber_set = set(params.keys())
|
|
7733
7733
|
for name, value in vars(self).items():
|
|
7734
7734
|
property_name = name[1:]
|
|
@@ -8015,65 +8015,65 @@ class PrepayPrice(AbstractModel):
|
|
|
8015
8015
|
|
|
8016
8016
|
|
|
8017
8017
|
class Price(AbstractModel):
|
|
8018
|
-
r"""
|
|
8018
|
+
r"""描述预付费或后付费云硬盘的价格。
|
|
8019
8019
|
|
|
8020
8020
|
"""
|
|
8021
8021
|
|
|
8022
8022
|
def __init__(self):
|
|
8023
8023
|
r"""
|
|
8024
|
-
:param
|
|
8024
|
+
:param _ChargeUnit: 后付费云硬盘的计价单元,取值范围:HOUR:表示后付费云硬盘的计价单元是按小时计算。
|
|
8025
8025
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8026
|
-
:type
|
|
8027
|
-
:param _DiscountPrice:
|
|
8026
|
+
:type ChargeUnit: str
|
|
8027
|
+
:param _DiscountPrice: 预付费云硬盘预支费用的折扣价,单位:元。
|
|
8028
8028
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8029
8029
|
:type DiscountPrice: float
|
|
8030
|
-
:param
|
|
8030
|
+
:param _DiscountPriceHigh: 高精度预付费云硬盘预支费用的折扣价,单位:元。
|
|
8031
8031
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8032
|
-
:type
|
|
8033
|
-
:param
|
|
8032
|
+
:type DiscountPriceHigh: str
|
|
8033
|
+
:param _OriginalPrice: 预付费云硬盘预支费用的原价,单位:元。
|
|
8034
8034
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8035
|
-
:type
|
|
8036
|
-
:param _OriginalPriceHigh:
|
|
8035
|
+
:type OriginalPrice: float
|
|
8036
|
+
:param _OriginalPriceHigh: 高精度预付费云硬盘预支费用的原价,单位:元。
|
|
8037
8037
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8038
8038
|
:type OriginalPriceHigh: str
|
|
8039
|
-
:param
|
|
8039
|
+
:param _UnitPrice: 后付费云硬盘原单价,单位:元。
|
|
8040
8040
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8041
|
-
:type
|
|
8042
|
-
:param
|
|
8041
|
+
:type UnitPrice: float
|
|
8042
|
+
:param _UnitPriceDiscount: 后付费云硬盘折扣单价,单位:元。
|
|
8043
8043
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8044
|
-
:type
|
|
8045
|
-
:param _UnitPriceDiscountHigh:
|
|
8044
|
+
:type UnitPriceDiscount: float
|
|
8045
|
+
:param _UnitPriceDiscountHigh: 高精度后付费云硬盘折扣单价,单位:元。
|
|
8046
8046
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8047
8047
|
:type UnitPriceDiscountHigh: str
|
|
8048
|
-
:param
|
|
8048
|
+
:param _UnitPriceHigh: 高精度后付费云硬盘原单价,单位:元。
|
|
8049
8049
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8050
|
-
:type
|
|
8050
|
+
:type UnitPriceHigh: str
|
|
8051
8051
|
"""
|
|
8052
|
-
self.
|
|
8052
|
+
self._ChargeUnit = None
|
|
8053
8053
|
self._DiscountPrice = None
|
|
8054
|
-
self._UnitPrice = None
|
|
8055
|
-
self._UnitPriceHigh = None
|
|
8056
|
-
self._OriginalPriceHigh = None
|
|
8057
|
-
self._OriginalPrice = None
|
|
8058
8054
|
self._DiscountPriceHigh = None
|
|
8055
|
+
self._OriginalPrice = None
|
|
8056
|
+
self._OriginalPriceHigh = None
|
|
8057
|
+
self._UnitPrice = None
|
|
8058
|
+
self._UnitPriceDiscount = None
|
|
8059
8059
|
self._UnitPriceDiscountHigh = None
|
|
8060
|
-
self.
|
|
8060
|
+
self._UnitPriceHigh = None
|
|
8061
8061
|
|
|
8062
8062
|
@property
|
|
8063
|
-
def
|
|
8064
|
-
r"""
|
|
8063
|
+
def ChargeUnit(self):
|
|
8064
|
+
r"""后付费云硬盘的计价单元,取值范围:HOUR:表示后付费云硬盘的计价单元是按小时计算。
|
|
8065
8065
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8066
|
-
:rtype:
|
|
8066
|
+
:rtype: str
|
|
8067
8067
|
"""
|
|
8068
|
-
return self.
|
|
8068
|
+
return self._ChargeUnit
|
|
8069
8069
|
|
|
8070
|
-
@
|
|
8071
|
-
def
|
|
8072
|
-
self.
|
|
8070
|
+
@ChargeUnit.setter
|
|
8071
|
+
def ChargeUnit(self, ChargeUnit):
|
|
8072
|
+
self._ChargeUnit = ChargeUnit
|
|
8073
8073
|
|
|
8074
8074
|
@property
|
|
8075
8075
|
def DiscountPrice(self):
|
|
8076
|
-
r"""
|
|
8076
|
+
r"""预付费云硬盘预支费用的折扣价,单位:元。
|
|
8077
8077
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8078
8078
|
:rtype: float
|
|
8079
8079
|
"""
|
|
@@ -8084,32 +8084,32 @@ class Price(AbstractModel):
|
|
|
8084
8084
|
self._DiscountPrice = DiscountPrice
|
|
8085
8085
|
|
|
8086
8086
|
@property
|
|
8087
|
-
def
|
|
8088
|
-
r"""
|
|
8087
|
+
def DiscountPriceHigh(self):
|
|
8088
|
+
r"""高精度预付费云硬盘预支费用的折扣价,单位:元。
|
|
8089
8089
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8090
|
-
:rtype:
|
|
8090
|
+
:rtype: str
|
|
8091
8091
|
"""
|
|
8092
|
-
return self.
|
|
8092
|
+
return self._DiscountPriceHigh
|
|
8093
8093
|
|
|
8094
|
-
@
|
|
8095
|
-
def
|
|
8096
|
-
self.
|
|
8094
|
+
@DiscountPriceHigh.setter
|
|
8095
|
+
def DiscountPriceHigh(self, DiscountPriceHigh):
|
|
8096
|
+
self._DiscountPriceHigh = DiscountPriceHigh
|
|
8097
8097
|
|
|
8098
8098
|
@property
|
|
8099
|
-
def
|
|
8100
|
-
r"""
|
|
8099
|
+
def OriginalPrice(self):
|
|
8100
|
+
r"""预付费云硬盘预支费用的原价,单位:元。
|
|
8101
8101
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8102
|
-
:rtype:
|
|
8102
|
+
:rtype: float
|
|
8103
8103
|
"""
|
|
8104
|
-
return self.
|
|
8104
|
+
return self._OriginalPrice
|
|
8105
8105
|
|
|
8106
|
-
@
|
|
8107
|
-
def
|
|
8108
|
-
self.
|
|
8106
|
+
@OriginalPrice.setter
|
|
8107
|
+
def OriginalPrice(self, OriginalPrice):
|
|
8108
|
+
self._OriginalPrice = OriginalPrice
|
|
8109
8109
|
|
|
8110
8110
|
@property
|
|
8111
8111
|
def OriginalPriceHigh(self):
|
|
8112
|
-
r"""
|
|
8112
|
+
r"""高精度预付费云硬盘预支费用的原价,单位:元。
|
|
8113
8113
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8114
8114
|
:rtype: str
|
|
8115
8115
|
"""
|
|
@@ -8120,32 +8120,32 @@ class Price(AbstractModel):
|
|
|
8120
8120
|
self._OriginalPriceHigh = OriginalPriceHigh
|
|
8121
8121
|
|
|
8122
8122
|
@property
|
|
8123
|
-
def
|
|
8124
|
-
r"""
|
|
8123
|
+
def UnitPrice(self):
|
|
8124
|
+
r"""后付费云硬盘原单价,单位:元。
|
|
8125
8125
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8126
8126
|
:rtype: float
|
|
8127
8127
|
"""
|
|
8128
|
-
return self.
|
|
8128
|
+
return self._UnitPrice
|
|
8129
8129
|
|
|
8130
|
-
@
|
|
8131
|
-
def
|
|
8132
|
-
self.
|
|
8130
|
+
@UnitPrice.setter
|
|
8131
|
+
def UnitPrice(self, UnitPrice):
|
|
8132
|
+
self._UnitPrice = UnitPrice
|
|
8133
8133
|
|
|
8134
8134
|
@property
|
|
8135
|
-
def
|
|
8136
|
-
r"""
|
|
8135
|
+
def UnitPriceDiscount(self):
|
|
8136
|
+
r"""后付费云硬盘折扣单价,单位:元。
|
|
8137
8137
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8138
|
-
:rtype:
|
|
8138
|
+
:rtype: float
|
|
8139
8139
|
"""
|
|
8140
|
-
return self.
|
|
8140
|
+
return self._UnitPriceDiscount
|
|
8141
8141
|
|
|
8142
|
-
@
|
|
8143
|
-
def
|
|
8144
|
-
self.
|
|
8142
|
+
@UnitPriceDiscount.setter
|
|
8143
|
+
def UnitPriceDiscount(self, UnitPriceDiscount):
|
|
8144
|
+
self._UnitPriceDiscount = UnitPriceDiscount
|
|
8145
8145
|
|
|
8146
8146
|
@property
|
|
8147
8147
|
def UnitPriceDiscountHigh(self):
|
|
8148
|
-
r"""
|
|
8148
|
+
r"""高精度后付费云硬盘折扣单价,单位:元。
|
|
8149
8149
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8150
8150
|
:rtype: str
|
|
8151
8151
|
"""
|
|
@@ -8156,28 +8156,28 @@ class Price(AbstractModel):
|
|
|
8156
8156
|
self._UnitPriceDiscountHigh = UnitPriceDiscountHigh
|
|
8157
8157
|
|
|
8158
8158
|
@property
|
|
8159
|
-
def
|
|
8160
|
-
r"""
|
|
8159
|
+
def UnitPriceHigh(self):
|
|
8160
|
+
r"""高精度后付费云硬盘原单价,单位:元。
|
|
8161
8161
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8162
8162
|
:rtype: str
|
|
8163
8163
|
"""
|
|
8164
|
-
return self.
|
|
8164
|
+
return self._UnitPriceHigh
|
|
8165
8165
|
|
|
8166
|
-
@
|
|
8167
|
-
def
|
|
8168
|
-
self.
|
|
8166
|
+
@UnitPriceHigh.setter
|
|
8167
|
+
def UnitPriceHigh(self, UnitPriceHigh):
|
|
8168
|
+
self._UnitPriceHigh = UnitPriceHigh
|
|
8169
8169
|
|
|
8170
8170
|
|
|
8171
8171
|
def _deserialize(self, params):
|
|
8172
|
-
self.
|
|
8172
|
+
self._ChargeUnit = params.get("ChargeUnit")
|
|
8173
8173
|
self._DiscountPrice = params.get("DiscountPrice")
|
|
8174
|
-
self._UnitPrice = params.get("UnitPrice")
|
|
8175
|
-
self._UnitPriceHigh = params.get("UnitPriceHigh")
|
|
8176
|
-
self._OriginalPriceHigh = params.get("OriginalPriceHigh")
|
|
8177
|
-
self._OriginalPrice = params.get("OriginalPrice")
|
|
8178
8174
|
self._DiscountPriceHigh = params.get("DiscountPriceHigh")
|
|
8175
|
+
self._OriginalPrice = params.get("OriginalPrice")
|
|
8176
|
+
self._OriginalPriceHigh = params.get("OriginalPriceHigh")
|
|
8177
|
+
self._UnitPrice = params.get("UnitPrice")
|
|
8178
|
+
self._UnitPriceDiscount = params.get("UnitPriceDiscount")
|
|
8179
8179
|
self._UnitPriceDiscountHigh = params.get("UnitPriceDiscountHigh")
|
|
8180
|
-
self.
|
|
8180
|
+
self._UnitPriceHigh = params.get("UnitPriceHigh")
|
|
8181
8181
|
memeber_set = set(params.keys())
|
|
8182
8182
|
for name, value in vars(self).items():
|
|
8183
8183
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cbs
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.101
|
|
4
4
|
Summary: Tencent Cloud Cbs SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.101
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.101
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.39
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|