tencentcloud-sdk-python-autoscaling 3.0.1189__tar.gz → 3.0.1206__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-autoscaling-3.0.1189 → tencentcloud-sdk-python-autoscaling-3.0.1206}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-autoscaling-3.0.1189 → tencentcloud-sdk-python-autoscaling-3.0.1206}/setup.py +1 -1
- {tencentcloud-sdk-python-autoscaling-3.0.1189 → tencentcloud-sdk-python-autoscaling-3.0.1206}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-autoscaling-3.0.1189 → tencentcloud-sdk-python-autoscaling-3.0.1206}/tencentcloud/autoscaling/v20180419/models.py +45 -3
- {tencentcloud-sdk-python-autoscaling-3.0.1189 → tencentcloud-sdk-python-autoscaling-3.0.1206}/tencentcloud_sdk_python_autoscaling.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-autoscaling-3.0.1206/tencentcloud_sdk_python_autoscaling.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-autoscaling-3.0.1189/tencentcloud_sdk_python_autoscaling.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-autoscaling-3.0.1189 → tencentcloud-sdk-python-autoscaling-3.0.1206}/README.rst +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1189 → tencentcloud-sdk-python-autoscaling-3.0.1206}/setup.cfg +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1189 → tencentcloud-sdk-python-autoscaling-3.0.1206}/tencentcloud/autoscaling/__init__.py +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1189 → tencentcloud-sdk-python-autoscaling-3.0.1206}/tencentcloud/autoscaling/v20180419/__init__.py +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1189 → tencentcloud-sdk-python-autoscaling-3.0.1206}/tencentcloud/autoscaling/v20180419/autoscaling_client.py +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1189 → tencentcloud-sdk-python-autoscaling-3.0.1206}/tencentcloud/autoscaling/v20180419/errorcodes.py +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1189 → tencentcloud-sdk-python-autoscaling-3.0.1206}/tencentcloud_sdk_python_autoscaling.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1189 → tencentcloud-sdk-python-autoscaling-3.0.1206}/tencentcloud_sdk_python_autoscaling.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1189 → tencentcloud-sdk-python-autoscaling-3.0.1206}/tencentcloud_sdk_python_autoscaling.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-autoscaling',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1206"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Autoscaling SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -3112,7 +3112,15 @@ class DataDisk(AbstractModel):
|
|
|
3112
3112
|
|
|
3113
3113
|
def __init__(self):
|
|
3114
3114
|
r"""
|
|
3115
|
-
:param _DiskType: 数据盘类型。数据盘类型限制详见[云硬盘类型](https://cloud.tencent.com/document/product/362/2353)
|
|
3115
|
+
:param _DiskType: 数据盘类型。数据盘类型限制详见[云硬盘类型](https://cloud.tencent.com/document/product/362/2353)。取值范围:
|
|
3116
|
+
<li>LOCAL_BASIC:本地硬盘</li>
|
|
3117
|
+
<li>LOCAL_SSD:本地SSD硬盘</li>
|
|
3118
|
+
<li>CLOUD_BASIC:普通云硬盘</li>
|
|
3119
|
+
<li>CLOUD_PREMIUM:高性能云硬盘</li>
|
|
3120
|
+
<li>CLOUD_SSD:SSD云硬盘</li>
|
|
3121
|
+
<li>CLOUD_HSSD:增强型SSD云硬盘</li>
|
|
3122
|
+
<li>CLOUD_TSSD:极速型SSD云硬盘</li>
|
|
3123
|
+
默认取值与系统盘类型(SystemDisk.DiskType)保持一致。
|
|
3116
3124
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3117
3125
|
:type DiskType: str
|
|
3118
3126
|
:param _DiskSize: 数据盘大小,单位:GB。最小调整步长为10G,不同数据盘类型取值范围不同,具体限制详见:[CVM实例配置](https://cloud.tencent.com/document/product/213/2177)。默认值为0,表示不购买数据盘。更多限制详见产品文档。
|
|
@@ -3121,16 +3129,25 @@ class DataDisk(AbstractModel):
|
|
|
3121
3129
|
:param _SnapshotId: 数据盘快照 ID,类似 `snap-l8psqwnt`。
|
|
3122
3130
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3123
3131
|
:type SnapshotId: str
|
|
3124
|
-
:param _DeleteWithInstance:
|
|
3132
|
+
:param _DeleteWithInstance: 数据盘是否随子机销毁。取值范围:
|
|
3133
|
+
<li>TRUE:子机销毁时,销毁数据盘,只支持按小时后付费云盘</li>
|
|
3134
|
+
<li>FALSE:子机销毁时,保留数据盘</li>
|
|
3125
3135
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3126
3136
|
:type DeleteWithInstance: bool
|
|
3127
|
-
:param _Encrypt:
|
|
3137
|
+
:param _Encrypt: 数据盘是否加密。取值范围:
|
|
3138
|
+
<li>TRUE:加密</li>
|
|
3139
|
+
<li>FALSE:不加密</li>
|
|
3128
3140
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3129
3141
|
:type Encrypt: bool
|
|
3130
3142
|
:param _ThroughputPerformance: 云硬盘性能,单位:MB/s。使用此参数可给云硬盘购买额外的性能,功能介绍和类型限制详见:[增强型 SSD 云硬盘额外性能说明](https://cloud.tencent.com/document/product/362/51896#.E5.A2.9E.E5.BC.BA.E5.9E.8B-ssd-.E4.BA.91.E7.A1.AC.E7.9B.98.E9.A2.9D.E5.A4.96.E6.80.A7.E8.83.BD)。
|
|
3131
3143
|
当前仅支持极速型云盘(CLOUD_TSSD)和增强型SSD云硬盘(CLOUD_HSSD)且 需容量 > 460GB。
|
|
3132
3144
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3133
3145
|
:type ThroughputPerformance: int
|
|
3146
|
+
:param _BurstPerformance: 突发性能。是否开启突发性能,默认取值为 false。
|
|
3147
|
+
|
|
3148
|
+
注:内测中,需提单申请后使用。
|
|
3149
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3150
|
+
:type BurstPerformance: bool
|
|
3134
3151
|
"""
|
|
3135
3152
|
self._DiskType = None
|
|
3136
3153
|
self._DiskSize = None
|
|
@@ -3138,6 +3155,7 @@ class DataDisk(AbstractModel):
|
|
|
3138
3155
|
self._DeleteWithInstance = None
|
|
3139
3156
|
self._Encrypt = None
|
|
3140
3157
|
self._ThroughputPerformance = None
|
|
3158
|
+
self._BurstPerformance = None
|
|
3141
3159
|
|
|
3142
3160
|
@property
|
|
3143
3161
|
def DiskType(self):
|
|
@@ -3187,6 +3205,14 @@ class DataDisk(AbstractModel):
|
|
|
3187
3205
|
def ThroughputPerformance(self, ThroughputPerformance):
|
|
3188
3206
|
self._ThroughputPerformance = ThroughputPerformance
|
|
3189
3207
|
|
|
3208
|
+
@property
|
|
3209
|
+
def BurstPerformance(self):
|
|
3210
|
+
return self._BurstPerformance
|
|
3211
|
+
|
|
3212
|
+
@BurstPerformance.setter
|
|
3213
|
+
def BurstPerformance(self, BurstPerformance):
|
|
3214
|
+
self._BurstPerformance = BurstPerformance
|
|
3215
|
+
|
|
3190
3216
|
|
|
3191
3217
|
def _deserialize(self, params):
|
|
3192
3218
|
self._DiskType = params.get("DiskType")
|
|
@@ -3195,6 +3221,7 @@ class DataDisk(AbstractModel):
|
|
|
3195
3221
|
self._DeleteWithInstance = params.get("DeleteWithInstance")
|
|
3196
3222
|
self._Encrypt = params.get("Encrypt")
|
|
3197
3223
|
self._ThroughputPerformance = params.get("ThroughputPerformance")
|
|
3224
|
+
self._BurstPerformance = params.get("BurstPerformance")
|
|
3198
3225
|
memeber_set = set(params.keys())
|
|
3199
3226
|
for name, value in vars(self).items():
|
|
3200
3227
|
property_name = name[1:]
|
|
@@ -6358,9 +6385,15 @@ ORIGINAL,AS 直接将入参中所填的 InstanceName 传递给 CVM,CVM 可
|
|
|
6358
6385
|
|
|
6359
6386
|
UNIQUE,入参所填的 InstanceName 相当于实例名前缀,AS 和 CVM 会对其进行拓展,伸缩组中实例的 InstanceName 可以保证唯一。
|
|
6360
6387
|
:type InstanceNameStyle: str
|
|
6388
|
+
:param _InstanceNameSuffix: 云服务器实例名后缀。字符长度为[1,105],且与 InstanceName 的长度和不能超过107。
|
|
6389
|
+
|
|
6390
|
+
假设后缀名称为 suffix,原实例名为 test.0,最终实例名为 test.0.suffix。
|
|
6391
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6392
|
+
:type InstanceNameSuffix: str
|
|
6361
6393
|
"""
|
|
6362
6394
|
self._InstanceName = None
|
|
6363
6395
|
self._InstanceNameStyle = None
|
|
6396
|
+
self._InstanceNameSuffix = None
|
|
6364
6397
|
|
|
6365
6398
|
@property
|
|
6366
6399
|
def InstanceName(self):
|
|
@@ -6378,10 +6411,19 @@ UNIQUE,入参所填的 InstanceName 相当于实例名前缀,AS 和 CVM 会
|
|
|
6378
6411
|
def InstanceNameStyle(self, InstanceNameStyle):
|
|
6379
6412
|
self._InstanceNameStyle = InstanceNameStyle
|
|
6380
6413
|
|
|
6414
|
+
@property
|
|
6415
|
+
def InstanceNameSuffix(self):
|
|
6416
|
+
return self._InstanceNameSuffix
|
|
6417
|
+
|
|
6418
|
+
@InstanceNameSuffix.setter
|
|
6419
|
+
def InstanceNameSuffix(self, InstanceNameSuffix):
|
|
6420
|
+
self._InstanceNameSuffix = InstanceNameSuffix
|
|
6421
|
+
|
|
6381
6422
|
|
|
6382
6423
|
def _deserialize(self, params):
|
|
6383
6424
|
self._InstanceName = params.get("InstanceName")
|
|
6384
6425
|
self._InstanceNameStyle = params.get("InstanceNameStyle")
|
|
6426
|
+
self._InstanceNameSuffix = params.get("InstanceNameSuffix")
|
|
6385
6427
|
memeber_set = set(params.keys())
|
|
6386
6428
|
for name, value in vars(self).items():
|
|
6387
6429
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1206
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1189
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|