tencentcloud-sdk-python-autoscaling 3.0.1421__tar.gz → 3.0.1427__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.1421 → tencentcloud-sdk-python-autoscaling-3.0.1427}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-autoscaling-3.0.1421 → tencentcloud-sdk-python-autoscaling-3.0.1427}/setup.py +1 -1
- {tencentcloud-sdk-python-autoscaling-3.0.1421 → tencentcloud-sdk-python-autoscaling-3.0.1427}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-autoscaling-3.0.1421 → tencentcloud-sdk-python-autoscaling-3.0.1427}/tencentcloud/autoscaling/v20180419/models.py +108 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1421 → tencentcloud-sdk-python-autoscaling-3.0.1427}/tencentcloud_sdk_python_autoscaling.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-autoscaling-3.0.1427/tencentcloud_sdk_python_autoscaling.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-autoscaling-3.0.1421/tencentcloud_sdk_python_autoscaling.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-autoscaling-3.0.1421 → tencentcloud-sdk-python-autoscaling-3.0.1427}/README.rst +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1421 → tencentcloud-sdk-python-autoscaling-3.0.1427}/setup.cfg +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1421 → tencentcloud-sdk-python-autoscaling-3.0.1427}/tencentcloud/autoscaling/__init__.py +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1421 → tencentcloud-sdk-python-autoscaling-3.0.1427}/tencentcloud/autoscaling/v20180419/__init__.py +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1421 → tencentcloud-sdk-python-autoscaling-3.0.1427}/tencentcloud/autoscaling/v20180419/autoscaling_client.py +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1421 → tencentcloud-sdk-python-autoscaling-3.0.1427}/tencentcloud/autoscaling/v20180419/errorcodes.py +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1421 → tencentcloud-sdk-python-autoscaling-3.0.1427}/tencentcloud_sdk_python_autoscaling.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1421 → tencentcloud-sdk-python-autoscaling-3.0.1427}/tencentcloud_sdk_python_autoscaling.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1421 → tencentcloud-sdk-python-autoscaling-3.0.1427}/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.1427,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Autoscaling SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -5180,6 +5180,7 @@ class DescribeAutoScalingInstancesRequest(AbstractModel):
|
|
|
5180
5180
|
:param _Filters: 过滤条件。
|
|
5181
5181
|
<li> instance-id - String - 是否必填:否 -(过滤条件)按照实例ID过滤。可通过登录[控制台](https://console.cloud.tencent.com/cvm/index)或调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `InstanceId` 获取实例ID。</li>
|
|
5182
5182
|
<li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID过滤。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
|
5183
|
+
<li> private-ip-address - String - 是否必填:否 -(过滤条件)按照实例内网IP过滤。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `PrivateIpAddresses`获取实例内网IP。</li>
|
|
5183
5184
|
每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`InstanceIds`和`Filters`。
|
|
5184
5185
|
:type Filters: list of Filter
|
|
5185
5186
|
:param _Offset: 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
|
@@ -5211,6 +5212,7 @@ class DescribeAutoScalingInstancesRequest(AbstractModel):
|
|
|
5211
5212
|
"""过滤条件。
|
|
5212
5213
|
<li> instance-id - String - 是否必填:否 -(过滤条件)按照实例ID过滤。可通过登录[控制台](https://console.cloud.tencent.com/cvm/index)或调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `InstanceId` 获取实例ID。</li>
|
|
5213
5214
|
<li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID过滤。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
|
5215
|
+
<li> private-ip-address - String - 是否必填:否 -(过滤条件)按照实例内网IP过滤。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `PrivateIpAddresses`获取实例内网IP。</li>
|
|
5214
5216
|
每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`InstanceIds`和`Filters`。
|
|
5215
5217
|
:rtype: list of Filter
|
|
5216
5218
|
"""
|
|
@@ -8155,11 +8157,46 @@ class InternetAccessible(AbstractModel):
|
|
|
8155
8157
|
:param _BandwidthPackageId: 带宽包ID。可通过[DescribeBandwidthPackages](https://cloud.tencent.com/document/api/215/19209)接口返回值中的`BandwidthPackageId`获取。
|
|
8156
8158
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8157
8159
|
:type BandwidthPackageId: str
|
|
8160
|
+
:param _InternetServiceProvider: 线路类型。各种线路类型详情可参考:[EIP 的 IP 地址类型](https://cloud.tencent.com/document/product/1199/41646)。默认值:BGP。
|
|
8161
|
+
|
|
8162
|
+
<li>BGP:常规 BGP 线路</li>
|
|
8163
|
+
已开通静态单线IP白名单的用户,可选值:
|
|
8164
|
+
|
|
8165
|
+
<li>CMCC:中国移动</li>
|
|
8166
|
+
<li>CTCC:中国电信</li>
|
|
8167
|
+
<li>CUCC:中国联通</li>
|
|
8168
|
+
注意:仅部分地域支持静态单线IP。
|
|
8169
|
+
|
|
8170
|
+
:type InternetServiceProvider: str
|
|
8171
|
+
:param _IPv4AddressType: 公网 IP 类型。
|
|
8172
|
+
|
|
8173
|
+
<li> WanIP:普通公网IP。</li>
|
|
8174
|
+
<li> HighQualityEIP:精品 IP。仅新加坡和中国香港支持精品IP。</li>
|
|
8175
|
+
<li> AntiDDoSEIP:高防 IP。仅部分地域支持高防IP,详情可见[弹性公网IP产品概述](https://cloud.tencent.com/document/product/1199/41646) 。 </li>
|
|
8176
|
+
如需为资源分配公网IPv4地址,请指定公网IPv4地址类型。
|
|
8177
|
+
|
|
8178
|
+
精品IP 高防IP功能仅部分地区灰度开放,如需使用[请提交工单咨询](https://console.cloud.tencent.com/workorder/category)
|
|
8179
|
+
:type IPv4AddressType: str
|
|
8180
|
+
:param _AntiDDoSPackageId: 高防包唯一ID,申请高防IP时,该字段必传。
|
|
8181
|
+
:type AntiDDoSPackageId: str
|
|
8182
|
+
:param _IsKeepEIP: 实例销毁时是否一并销毁绑定的弹性IP。
|
|
8183
|
+
|
|
8184
|
+
取值范围:
|
|
8185
|
+
<li>TRUE:表示保留EIP</li>
|
|
8186
|
+
<li>FALSE:表示不保留</li>
|
|
8187
|
+
请注意,当IPv4AddressType字段指定EIP类型时,默认不保留EIP。WanIP不受此字段影响始终随实例销毁。
|
|
8188
|
+
变更配置此字段,已绑定伸缩组会立刻生效。
|
|
8189
|
+
|
|
8190
|
+
:type IsKeepEIP: bool
|
|
8158
8191
|
"""
|
|
8159
8192
|
self._InternetChargeType = None
|
|
8160
8193
|
self._InternetMaxBandwidthOut = None
|
|
8161
8194
|
self._PublicIpAssigned = None
|
|
8162
8195
|
self._BandwidthPackageId = None
|
|
8196
|
+
self._InternetServiceProvider = None
|
|
8197
|
+
self._IPv4AddressType = None
|
|
8198
|
+
self._AntiDDoSPackageId = None
|
|
8199
|
+
self._IsKeepEIP = None
|
|
8163
8200
|
|
|
8164
8201
|
@property
|
|
8165
8202
|
def InternetChargeType(self):
|
|
@@ -8209,12 +8246,83 @@ class InternetAccessible(AbstractModel):
|
|
|
8209
8246
|
def BandwidthPackageId(self, BandwidthPackageId):
|
|
8210
8247
|
self._BandwidthPackageId = BandwidthPackageId
|
|
8211
8248
|
|
|
8249
|
+
@property
|
|
8250
|
+
def InternetServiceProvider(self):
|
|
8251
|
+
"""线路类型。各种线路类型详情可参考:[EIP 的 IP 地址类型](https://cloud.tencent.com/document/product/1199/41646)。默认值:BGP。
|
|
8252
|
+
|
|
8253
|
+
<li>BGP:常规 BGP 线路</li>
|
|
8254
|
+
已开通静态单线IP白名单的用户,可选值:
|
|
8255
|
+
|
|
8256
|
+
<li>CMCC:中国移动</li>
|
|
8257
|
+
<li>CTCC:中国电信</li>
|
|
8258
|
+
<li>CUCC:中国联通</li>
|
|
8259
|
+
注意:仅部分地域支持静态单线IP。
|
|
8260
|
+
|
|
8261
|
+
:rtype: str
|
|
8262
|
+
"""
|
|
8263
|
+
return self._InternetServiceProvider
|
|
8264
|
+
|
|
8265
|
+
@InternetServiceProvider.setter
|
|
8266
|
+
def InternetServiceProvider(self, InternetServiceProvider):
|
|
8267
|
+
self._InternetServiceProvider = InternetServiceProvider
|
|
8268
|
+
|
|
8269
|
+
@property
|
|
8270
|
+
def IPv4AddressType(self):
|
|
8271
|
+
"""公网 IP 类型。
|
|
8272
|
+
|
|
8273
|
+
<li> WanIP:普通公网IP。</li>
|
|
8274
|
+
<li> HighQualityEIP:精品 IP。仅新加坡和中国香港支持精品IP。</li>
|
|
8275
|
+
<li> AntiDDoSEIP:高防 IP。仅部分地域支持高防IP,详情可见[弹性公网IP产品概述](https://cloud.tencent.com/document/product/1199/41646) 。 </li>
|
|
8276
|
+
如需为资源分配公网IPv4地址,请指定公网IPv4地址类型。
|
|
8277
|
+
|
|
8278
|
+
精品IP 高防IP功能仅部分地区灰度开放,如需使用[请提交工单咨询](https://console.cloud.tencent.com/workorder/category)
|
|
8279
|
+
:rtype: str
|
|
8280
|
+
"""
|
|
8281
|
+
return self._IPv4AddressType
|
|
8282
|
+
|
|
8283
|
+
@IPv4AddressType.setter
|
|
8284
|
+
def IPv4AddressType(self, IPv4AddressType):
|
|
8285
|
+
self._IPv4AddressType = IPv4AddressType
|
|
8286
|
+
|
|
8287
|
+
@property
|
|
8288
|
+
def AntiDDoSPackageId(self):
|
|
8289
|
+
"""高防包唯一ID,申请高防IP时,该字段必传。
|
|
8290
|
+
:rtype: str
|
|
8291
|
+
"""
|
|
8292
|
+
return self._AntiDDoSPackageId
|
|
8293
|
+
|
|
8294
|
+
@AntiDDoSPackageId.setter
|
|
8295
|
+
def AntiDDoSPackageId(self, AntiDDoSPackageId):
|
|
8296
|
+
self._AntiDDoSPackageId = AntiDDoSPackageId
|
|
8297
|
+
|
|
8298
|
+
@property
|
|
8299
|
+
def IsKeepEIP(self):
|
|
8300
|
+
"""实例销毁时是否一并销毁绑定的弹性IP。
|
|
8301
|
+
|
|
8302
|
+
取值范围:
|
|
8303
|
+
<li>TRUE:表示保留EIP</li>
|
|
8304
|
+
<li>FALSE:表示不保留</li>
|
|
8305
|
+
请注意,当IPv4AddressType字段指定EIP类型时,默认不保留EIP。WanIP不受此字段影响始终随实例销毁。
|
|
8306
|
+
变更配置此字段,已绑定伸缩组会立刻生效。
|
|
8307
|
+
|
|
8308
|
+
:rtype: bool
|
|
8309
|
+
"""
|
|
8310
|
+
return self._IsKeepEIP
|
|
8311
|
+
|
|
8312
|
+
@IsKeepEIP.setter
|
|
8313
|
+
def IsKeepEIP(self, IsKeepEIP):
|
|
8314
|
+
self._IsKeepEIP = IsKeepEIP
|
|
8315
|
+
|
|
8212
8316
|
|
|
8213
8317
|
def _deserialize(self, params):
|
|
8214
8318
|
self._InternetChargeType = params.get("InternetChargeType")
|
|
8215
8319
|
self._InternetMaxBandwidthOut = params.get("InternetMaxBandwidthOut")
|
|
8216
8320
|
self._PublicIpAssigned = params.get("PublicIpAssigned")
|
|
8217
8321
|
self._BandwidthPackageId = params.get("BandwidthPackageId")
|
|
8322
|
+
self._InternetServiceProvider = params.get("InternetServiceProvider")
|
|
8323
|
+
self._IPv4AddressType = params.get("IPv4AddressType")
|
|
8324
|
+
self._AntiDDoSPackageId = params.get("AntiDDoSPackageId")
|
|
8325
|
+
self._IsKeepEIP = params.get("IsKeepEIP")
|
|
8218
8326
|
memeber_set = set(params.keys())
|
|
8219
8327
|
for name, value in vars(self).items():
|
|
8220
8328
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1427
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1421
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|