tencentcloud-sdk-python-alb 3.1.130__tar.gz → 3.1.145__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_alb-3.1.130 → tencentcloud_sdk_python_alb-3.1.145}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_alb-3.1.130 → tencentcloud_sdk_python_alb-3.1.145}/setup.py +1 -1
- {tencentcloud_sdk_python_alb-3.1.130 → tencentcloud_sdk_python_alb-3.1.145}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_alb-3.1.130 → tencentcloud_sdk_python_alb-3.1.145}/tencentcloud/alb/v20251030/models.py +42 -162
- {tencentcloud_sdk_python_alb-3.1.130 → tencentcloud_sdk_python_alb-3.1.145}/tencentcloud_sdk_python_alb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_alb-3.1.145/tencentcloud_sdk_python_alb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_alb-3.1.130/tencentcloud_sdk_python_alb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_alb-3.1.130 → tencentcloud_sdk_python_alb-3.1.145}/README.rst +0 -0
- {tencentcloud_sdk_python_alb-3.1.130 → tencentcloud_sdk_python_alb-3.1.145}/setup.cfg +0 -0
- {tencentcloud_sdk_python_alb-3.1.130 → tencentcloud_sdk_python_alb-3.1.145}/tencentcloud/alb/__init__.py +0 -0
- {tencentcloud_sdk_python_alb-3.1.130 → tencentcloud_sdk_python_alb-3.1.145}/tencentcloud/alb/v20251030/__init__.py +0 -0
- {tencentcloud_sdk_python_alb-3.1.130 → tencentcloud_sdk_python_alb-3.1.145}/tencentcloud/alb/v20251030/alb_client.py +0 -0
- {tencentcloud_sdk_python_alb-3.1.130 → tencentcloud_sdk_python_alb-3.1.145}/tencentcloud/alb/v20251030/alb_client_async.py +0 -0
- {tencentcloud_sdk_python_alb-3.1.130 → tencentcloud_sdk_python_alb-3.1.145}/tencentcloud/alb/v20251030/errorcodes.py +0 -0
- {tencentcloud_sdk_python_alb-3.1.130 → tencentcloud_sdk_python_alb-3.1.145}/tencentcloud_sdk_python_alb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_alb-3.1.130 → tencentcloud_sdk_python_alb-3.1.145}/tencentcloud_sdk_python_alb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_alb-3.1.130 → tencentcloud_sdk_python_alb-3.1.145}/tencentcloud_sdk_python_alb.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-alb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.145
|
|
4
4
|
Summary: Tencent Cloud Alb 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.145
|
|
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-alb',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.145,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Alb SDK for Python',
|
|
@@ -4112,26 +4112,11 @@ class DescribeLoadBalancersRequest(AbstractModel):
|
|
|
4112
4112
|
|
|
4113
4113
|
def __init__(self):
|
|
4114
4114
|
r"""
|
|
4115
|
-
:param _Filters:
|
|
4116
|
-
- **LoadBalancerId**: 负载均衡实例 ID
|
|
4117
|
-
- **LoadBalancerName**: 负载均衡名称
|
|
4118
|
-
- **LoadBalancerStatus**: 负载均衡状态
|
|
4119
|
-
- **VpcId**: 私有网络 ID
|
|
4120
|
-
- **tag:tag-key**:按标签键值对筛选,tag-key 请替换为实际的标签键。例如 `tag:env` 表示按标签键 `env` 筛选。
|
|
4121
|
-
- **AddressType**: 网络类型
|
|
4122
|
-
- **Intranet**: 内网
|
|
4123
|
-
- **Internet**: 公网
|
|
4124
|
-
- **AddressIpVersion**:
|
|
4125
|
-
- **IPv4**: IPv4 地址
|
|
4126
|
-
- **IPv6** IPv6 地址
|
|
4115
|
+
:param _Filters: <p>查询过滤条件,支持以下几个字段</p><ul><li><strong>LoadBalancerId</strong>: 负载均衡实例 ID</li><li><strong>LoadBalancerName</strong>: 负载均衡名称</li><li><strong>LoadBalancerStatus</strong>: 负载均衡状态</li><li><strong>VpcId</strong>: 私有网络 ID</li><li><strong>tag:tag-key</strong>:按标签键值对筛选,tag-key 请替换为实际的标签键。例如 <code>tag:env</code> 表示按标签键 <code>env</code> 筛选。</li><li><strong>AddressType</strong>: 网络类型<ul><li><strong>Intranet</strong>: 内网</li><li><strong>Internet</strong>: 公网 </li></ul></li><li><strong>AddressIpVersion</strong>:<ul><li><strong>IPv4</strong>: IPv4 地址</li><li><strong>IPv6</strong> IPv6 地址</li></ul></li><li><strong>SecurityGroupId</strong>: 安全组ID</li></ul>
|
|
4127
4116
|
:type Filters: list of Filter
|
|
4128
|
-
:param _MaxResults:
|
|
4129
|
-
|
|
4130
|
-
|
|
4117
|
+
:param _MaxResults: <p>分批次查询时每次显示的条目数。取值范围:<strong>1</strong>~<strong>100</strong>,默认值:<strong>20</strong>。</p>
|
|
4131
4118
|
:type MaxResults: int
|
|
4132
|
-
:param _NextToken:
|
|
4133
|
-
- 第一次查询和没有下一次查询时,均无需填写。
|
|
4134
|
-
- 如果有下一次查询,取值为上一次API调用返回的**NextToken**值。
|
|
4119
|
+
:param _NextToken: <p>是否拥有下一次查询的令牌(Token)。取值:</p><ul><li>第一次查询和没有下一次查询时,均无需填写。</li><li>如果有下一次查询,取值为上一次API调用返回的<strong>NextToken</strong>值。</li></ul>
|
|
4135
4120
|
:type NextToken: str
|
|
4136
4121
|
"""
|
|
4137
4122
|
self._Filters = None
|
|
@@ -4140,18 +4125,7 @@ class DescribeLoadBalancersRequest(AbstractModel):
|
|
|
4140
4125
|
|
|
4141
4126
|
@property
|
|
4142
4127
|
def Filters(self):
|
|
4143
|
-
r"""
|
|
4144
|
-
- **LoadBalancerId**: 负载均衡实例 ID
|
|
4145
|
-
- **LoadBalancerName**: 负载均衡名称
|
|
4146
|
-
- **LoadBalancerStatus**: 负载均衡状态
|
|
4147
|
-
- **VpcId**: 私有网络 ID
|
|
4148
|
-
- **tag:tag-key**:按标签键值对筛选,tag-key 请替换为实际的标签键。例如 `tag:env` 表示按标签键 `env` 筛选。
|
|
4149
|
-
- **AddressType**: 网络类型
|
|
4150
|
-
- **Intranet**: 内网
|
|
4151
|
-
- **Internet**: 公网
|
|
4152
|
-
- **AddressIpVersion**:
|
|
4153
|
-
- **IPv4**: IPv4 地址
|
|
4154
|
-
- **IPv6** IPv6 地址
|
|
4128
|
+
r"""<p>查询过滤条件,支持以下几个字段</p><ul><li><strong>LoadBalancerId</strong>: 负载均衡实例 ID</li><li><strong>LoadBalancerName</strong>: 负载均衡名称</li><li><strong>LoadBalancerStatus</strong>: 负载均衡状态</li><li><strong>VpcId</strong>: 私有网络 ID</li><li><strong>tag:tag-key</strong>:按标签键值对筛选,tag-key 请替换为实际的标签键。例如 <code>tag:env</code> 表示按标签键 <code>env</code> 筛选。</li><li><strong>AddressType</strong>: 网络类型<ul><li><strong>Intranet</strong>: 内网</li><li><strong>Internet</strong>: 公网 </li></ul></li><li><strong>AddressIpVersion</strong>:<ul><li><strong>IPv4</strong>: IPv4 地址</li><li><strong>IPv6</strong> IPv6 地址</li></ul></li><li><strong>SecurityGroupId</strong>: 安全组ID</li></ul>
|
|
4155
4129
|
:rtype: list of Filter
|
|
4156
4130
|
"""
|
|
4157
4131
|
return self._Filters
|
|
@@ -4162,9 +4136,7 @@ class DescribeLoadBalancersRequest(AbstractModel):
|
|
|
4162
4136
|
|
|
4163
4137
|
@property
|
|
4164
4138
|
def MaxResults(self):
|
|
4165
|
-
r"""
|
|
4166
|
-
|
|
4167
|
-
|
|
4139
|
+
r"""<p>分批次查询时每次显示的条目数。取值范围:<strong>1</strong>~<strong>100</strong>,默认值:<strong>20</strong>。</p>
|
|
4168
4140
|
:rtype: int
|
|
4169
4141
|
"""
|
|
4170
4142
|
return self._MaxResults
|
|
@@ -4175,9 +4147,7 @@ class DescribeLoadBalancersRequest(AbstractModel):
|
|
|
4175
4147
|
|
|
4176
4148
|
@property
|
|
4177
4149
|
def NextToken(self):
|
|
4178
|
-
r"""
|
|
4179
|
-
- 第一次查询和没有下一次查询时,均无需填写。
|
|
4180
|
-
- 如果有下一次查询,取值为上一次API调用返回的**NextToken**值。
|
|
4150
|
+
r"""<p>是否拥有下一次查询的令牌(Token)。取值:</p><ul><li>第一次查询和没有下一次查询时,均无需填写。</li><li>如果有下一次查询,取值为上一次API调用返回的<strong>NextToken</strong>值。</li></ul>
|
|
4181
4151
|
:rtype: str
|
|
4182
4152
|
"""
|
|
4183
4153
|
return self._NextToken
|
|
@@ -4213,17 +4183,13 @@ class DescribeLoadBalancersResponse(AbstractModel):
|
|
|
4213
4183
|
|
|
4214
4184
|
def __init__(self):
|
|
4215
4185
|
r"""
|
|
4216
|
-
:param _LoadBalancers:
|
|
4186
|
+
:param _LoadBalancers: <p>应用型负载均衡实例列表。</p>
|
|
4217
4187
|
:type LoadBalancers: list of LoadBalancer
|
|
4218
|
-
:param _MaxResults:
|
|
4219
|
-
|
|
4220
|
-
|
|
4188
|
+
:param _MaxResults: <p>分批次查询时每次显示的条目数。</p>
|
|
4221
4189
|
:type MaxResults: int
|
|
4222
|
-
:param _NextToken:
|
|
4223
|
-
- 如果**NextToken**为空表示没有下一次查询。
|
|
4224
|
-
- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。
|
|
4190
|
+
:param _NextToken: <p>是否拥有下一次查询的令牌(Token)。取值:</p><ul><li>如果<strong>NextToken</strong>为空表示没有下一次查询。</li><li>如果<strong>NextToken</strong>有返回值,该取值表示下一次查询开始的令牌。</li></ul>
|
|
4225
4191
|
:type NextToken: str
|
|
4226
|
-
:param _TotalCount:
|
|
4192
|
+
:param _TotalCount: <p>列表条目数。</p>
|
|
4227
4193
|
:type TotalCount: int
|
|
4228
4194
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4229
4195
|
:type RequestId: str
|
|
@@ -4236,7 +4202,7 @@ class DescribeLoadBalancersResponse(AbstractModel):
|
|
|
4236
4202
|
|
|
4237
4203
|
@property
|
|
4238
4204
|
def LoadBalancers(self):
|
|
4239
|
-
r"""
|
|
4205
|
+
r"""<p>应用型负载均衡实例列表。</p>
|
|
4240
4206
|
:rtype: list of LoadBalancer
|
|
4241
4207
|
"""
|
|
4242
4208
|
return self._LoadBalancers
|
|
@@ -4247,9 +4213,7 @@ class DescribeLoadBalancersResponse(AbstractModel):
|
|
|
4247
4213
|
|
|
4248
4214
|
@property
|
|
4249
4215
|
def MaxResults(self):
|
|
4250
|
-
r"""
|
|
4251
|
-
|
|
4252
|
-
|
|
4216
|
+
r"""<p>分批次查询时每次显示的条目数。</p>
|
|
4253
4217
|
:rtype: int
|
|
4254
4218
|
"""
|
|
4255
4219
|
return self._MaxResults
|
|
@@ -4260,9 +4224,7 @@ class DescribeLoadBalancersResponse(AbstractModel):
|
|
|
4260
4224
|
|
|
4261
4225
|
@property
|
|
4262
4226
|
def NextToken(self):
|
|
4263
|
-
r"""
|
|
4264
|
-
- 如果**NextToken**为空表示没有下一次查询。
|
|
4265
|
-
- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。
|
|
4227
|
+
r"""<p>是否拥有下一次查询的令牌(Token)。取值:</p><ul><li>如果<strong>NextToken</strong>为空表示没有下一次查询。</li><li>如果<strong>NextToken</strong>有返回值,该取值表示下一次查询开始的令牌。</li></ul>
|
|
4266
4228
|
:rtype: str
|
|
4267
4229
|
"""
|
|
4268
4230
|
return self._NextToken
|
|
@@ -4273,7 +4235,7 @@ class DescribeLoadBalancersResponse(AbstractModel):
|
|
|
4273
4235
|
|
|
4274
4236
|
@property
|
|
4275
4237
|
def TotalCount(self):
|
|
4276
|
-
r"""
|
|
4238
|
+
r"""<p>列表条目数。</p>
|
|
4277
4239
|
:rtype: int
|
|
4278
4240
|
"""
|
|
4279
4241
|
return self._TotalCount
|
|
@@ -8382,67 +8344,34 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8382
8344
|
|
|
8383
8345
|
def __init__(self):
|
|
8384
8346
|
r"""
|
|
8385
|
-
:param _HealthCheckTemplateId:
|
|
8347
|
+
:param _HealthCheckTemplateId: <p>健康检查模板 ID,格式为 hct- 后接字母数字。</p>
|
|
8386
8348
|
:type HealthCheckTemplateId: str
|
|
8387
|
-
:param _DryRun:
|
|
8388
|
-
- **false**(默认):发送普通请求,直接修改健康检查模板。
|
|
8389
|
-
- **true**:发送预览请求,检查修改健康检查模板的参数、格式、业务限制等是否符合要求。
|
|
8349
|
+
:param _DryRun: <p>是否预览此次请求。</p><ul><li><strong>false</strong>(默认):发送普通请求,直接修改健康检查模板。</li><li><strong>true</strong>:发送预览请求,检查修改健康检查模板的参数、格式、业务限制等是否符合要求。</li></ul>
|
|
8390
8350
|
:type DryRun: bool
|
|
8391
|
-
:param _HealthCheckCodes:
|
|
8392
|
-
- 当健康检查协议为**HTTP/HTTPS**时:
|
|
8393
|
-
- **http_1xx**
|
|
8394
|
-
- **http_2xx**(默认值)
|
|
8395
|
-
- **http_3xx**
|
|
8396
|
-
- **http_4xx**
|
|
8397
|
-
- **http_5xx**
|
|
8398
|
-
- 当健康检查协议为**GRPC/GRPCS**时:默认值为**12**,数值范围为**0-99**,输入值可为数值、多个数值或者范围以及相互组合,如:
|
|
8399
|
-
- **"20"**
|
|
8400
|
-
- **"0-99"**
|
|
8351
|
+
:param _HealthCheckCodes: <p>健康检查状态码。取值:</p><ul><li>当健康检查协议为<strong>HTTP/HTTPS</strong>时:<ul><li><strong>http_1xx</strong></li><li><strong>http_2xx</strong>(默认值)</li><li><strong>http_3xx</strong></li><li><strong>http_4xx</strong></li><li><strong>http_5xx</strong></li></ul></li><li>当健康检查协议为<strong>GRPC/GRPCS</strong>时:默认值为<strong>12</strong>,数值范围为<strong>0-99</strong>,输入值可为数值、多个数值或者范围以及相互组合,如:<ul><li><strong>"20"</strong></li><li><strong>"0-99"</strong></li></ul></li></ul>
|
|
8401
8352
|
:type HealthCheckCodes: list of str
|
|
8402
|
-
:param _HealthCheckHealthyThreshold:
|
|
8403
|
-
取值范围:**2**-**10**。
|
|
8404
|
-
默认值:**2**。
|
|
8353
|
+
:param _HealthCheckHealthyThreshold: <p>判定后端服务健康的阈值,当健康检查连续成功多少次后,后端服务的状态由<strong>不健康</strong>变为<strong>健康</strong>。<br>取值范围:<strong>2</strong>-<strong>10</strong>。<br>默认值:<strong>2</strong>。</p>
|
|
8405
8354
|
:type HealthCheckHealthyThreshold: int
|
|
8406
|
-
:param _HealthCheckHost:
|
|
8407
|
-
长度限制为 **1-255** 个字符。
|
|
8408
|
-
可包含小写字母、数字、短划线(-)和半角句号(.)。
|
|
8409
|
-
|
|
8410
|
-
> 仅当 **HealthCheckProtocol** 设置为 **HTTP/HTTPS/GRPC/GRPCS** 时,该参数生效。
|
|
8355
|
+
:param _HealthCheckHost: <p>健康检查域名。<br>长度限制为 <strong>1-255</strong> 个字符。<br>可包含小写字母、数字、短划线(-)和半角句号(.)。</p><blockquote><p>仅当 <strong>HealthCheckProtocol</strong> 设置为 <strong>HTTP/HTTPS/GRPC/GRPCS</strong> 时,该参数生效。</p></blockquote>
|
|
8411
8356
|
:type HealthCheckHost: str
|
|
8412
|
-
:param _HealthCheckHttpVersion:
|
|
8413
|
-
- **HTTP1.1**(默认)
|
|
8414
|
-
- **HTTP1.0**
|
|
8415
|
-
> 仅当**HealthCheckProtocol**设置为**HTTP** 或 **HTTPS** 时,该参数生效。
|
|
8357
|
+
:param _HealthCheckHttpVersion: <p>健康检查 HTTP 协议版本,取值:</p><ul><li><strong>HTTP1.1</strong>(默认)</li><li><strong>HTTP1.0</strong> <blockquote><p>仅当<strong>HealthCheckProtocol</strong>设置为<strong>HTTP</strong> 或 <strong>HTTPS</strong> 时,该参数生效。</p></blockquote></li></ul>
|
|
8416
8358
|
:type HealthCheckHttpVersion: str
|
|
8417
|
-
:param _HealthCheckInterval:
|
|
8359
|
+
:param _HealthCheckInterval: <p>健康检查的时间间隔。单位:秒。 取值范围:<strong>2</strong>-<strong>300</strong>。 默认值:<strong>5</strong>。</p>
|
|
8418
8360
|
:type HealthCheckInterval: int
|
|
8419
|
-
:param _HealthCheckMethod:
|
|
8420
|
-
> 仅当**HealthCheckProtocol**设置为**HTTP** 或 **HTTPS** 时,该参数生效。
|
|
8361
|
+
:param _HealthCheckMethod: <p>健康检查方法,取值: - <strong>GET</strong> - <strong>HEAD</strong>(默认值) </p><blockquote><p>仅当<strong>HealthCheckProtocol</strong>设置为<strong>HTTP</strong> 或 <strong>HTTPS</strong> 时,该参数生效。</p></blockquote>
|
|
8421
8362
|
:type HealthCheckMethod: str
|
|
8422
|
-
:param _HealthCheckPath:
|
|
8423
|
-
> 仅当**HealthCheckProtocol**为**HTTP/HTTPS/GRPC/GRPCS**时,转发规则路径参数生效。
|
|
8363
|
+
:param _HealthCheckPath: <p>健康检查的转发规则路径。 长度为 <strong>1-80</strong> 个字符,只能使用字母、数字、字符<code>-/.%?#&=</code>以及扩展字符<code>_;~!()*[]@$^:',+</code>。 URL 必须以正斜线(/)开头。 </p><blockquote><p>仅当<strong>HealthCheckProtocol</strong>为<strong>HTTP/HTTPS/GRPC/GRPCS</strong>时,转发规则路径参数生效。</p></blockquote>
|
|
8424
8364
|
:type HealthCheckPath: str
|
|
8425
|
-
:param _HealthCheckPort:
|
|
8365
|
+
:param _HealthCheckPort: <p>健康检查访问后端服务器的端口。 取值范围:<strong>0-65535</strong>。 默认值:<strong>0</strong>,表示后端服务器的端口。</p>
|
|
8426
8366
|
:type HealthCheckPort: int
|
|
8427
|
-
:param _HealthCheckProtocol:
|
|
8428
|
-
- **HTTP**(默认):通过发送 HEAD 或 GET 请求模拟浏览器的访问行为来检查服务器应用是否健康。
|
|
8429
|
-
- **HTTPS**:通过发送 HEAD 或 GET 请求模拟浏览器的访问行为来检查服务器应用是否健康。(数据加密,相比 HTTP 更安全。)
|
|
8430
|
-
- **TCP**:通过发送 SYN 握手报文来检测服务器端口是否存活。
|
|
8431
|
-
- **GRPC**:通过发送 POST 或 GET 请求来检查服务器应用是否健康。
|
|
8432
|
-
- **GRPCS**:通过发送 POST 或 GET 请求来检查服务器应用是否健康。
|
|
8367
|
+
:param _HealthCheckProtocol: <p>健康检查协议。取值:</p><ul><li><strong>HTTP</strong>(默认):通过发送 HEAD 或 GET 请求模拟浏览器的访问行为来检查服务器应用是否健康。</li><li><strong>HTTPS</strong>:通过发送 HEAD 或 GET 请求模拟浏览器的访问行为来检查服务器应用是否健康。(数据加密,相比 HTTP 更安全。)</li><li><strong>TCP</strong>:通过发送 SYN 握手报文来检测服务器端口是否存活。</li><li><strong>GRPC</strong>:通过发送 POST 或 GET 请求来检查服务器应用是否健康。</li><li><strong>GRPCS</strong>:通过发送 POST 或 GET 请求来检查服务器应用是否健康。</li></ul>
|
|
8433
8368
|
:type HealthCheckProtocol: str
|
|
8434
|
-
:param _HealthCheckTemplateName:
|
|
8369
|
+
:param _HealthCheckTemplateName: <p>健康检查模板名称。长度为 <strong>1-255</strong> 个字符,可包含数字、大小写字母、中文、半角句号(.)、下划线(_)和短划线(-)。</p>
|
|
8435
8370
|
:type HealthCheckTemplateName: str
|
|
8436
|
-
:param _HealthCheckTimeout:
|
|
8437
|
-
取值范围:**2**-**60**。
|
|
8438
|
-
默认值:**2**。
|
|
8371
|
+
:param _HealthCheckTimeout: <p>健康检查的响应超时时间。单位:秒。<br>取值范围:<strong>2</strong>-<strong>60</strong>。<br>默认值:<strong>2</strong>。</p>
|
|
8439
8372
|
:type HealthCheckTimeout: int
|
|
8440
|
-
:param _HealthCheckUnhealthyThreshold:
|
|
8441
|
-
取值范围:**2**-**10**。
|
|
8442
|
-
默认值:**2**。
|
|
8373
|
+
:param _HealthCheckUnhealthyThreshold: <p>判定后端服务不健康的阈值,当健康检查连续失败多少次后,后端服务的状态由<strong>健康</strong>变为<strong>不健康</strong>。<br>取值范围:<strong>2</strong>-<strong>10</strong>。<br>默认值:<strong>2</strong>。</p>
|
|
8443
8374
|
:type HealthCheckUnhealthyThreshold: int
|
|
8444
|
-
:param _Tags: 标签。
|
|
8445
|
-
:type Tags: list of TagInfo
|
|
8446
8375
|
"""
|
|
8447
8376
|
self._HealthCheckTemplateId = None
|
|
8448
8377
|
self._DryRun = None
|
|
@@ -8458,11 +8387,10 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8458
8387
|
self._HealthCheckTemplateName = None
|
|
8459
8388
|
self._HealthCheckTimeout = None
|
|
8460
8389
|
self._HealthCheckUnhealthyThreshold = None
|
|
8461
|
-
self._Tags = None
|
|
8462
8390
|
|
|
8463
8391
|
@property
|
|
8464
8392
|
def HealthCheckTemplateId(self):
|
|
8465
|
-
r"""
|
|
8393
|
+
r"""<p>健康检查模板 ID,格式为 hct- 后接字母数字。</p>
|
|
8466
8394
|
:rtype: str
|
|
8467
8395
|
"""
|
|
8468
8396
|
return self._HealthCheckTemplateId
|
|
@@ -8473,9 +8401,7 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8473
8401
|
|
|
8474
8402
|
@property
|
|
8475
8403
|
def DryRun(self):
|
|
8476
|
-
r"""
|
|
8477
|
-
- **false**(默认):发送普通请求,直接修改健康检查模板。
|
|
8478
|
-
- **true**:发送预览请求,检查修改健康检查模板的参数、格式、业务限制等是否符合要求。
|
|
8404
|
+
r"""<p>是否预览此次请求。</p><ul><li><strong>false</strong>(默认):发送普通请求,直接修改健康检查模板。</li><li><strong>true</strong>:发送预览请求,检查修改健康检查模板的参数、格式、业务限制等是否符合要求。</li></ul>
|
|
8479
8405
|
:rtype: bool
|
|
8480
8406
|
"""
|
|
8481
8407
|
return self._DryRun
|
|
@@ -8486,16 +8412,7 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8486
8412
|
|
|
8487
8413
|
@property
|
|
8488
8414
|
def HealthCheckCodes(self):
|
|
8489
|
-
r"""
|
|
8490
|
-
- 当健康检查协议为**HTTP/HTTPS**时:
|
|
8491
|
-
- **http_1xx**
|
|
8492
|
-
- **http_2xx**(默认值)
|
|
8493
|
-
- **http_3xx**
|
|
8494
|
-
- **http_4xx**
|
|
8495
|
-
- **http_5xx**
|
|
8496
|
-
- 当健康检查协议为**GRPC/GRPCS**时:默认值为**12**,数值范围为**0-99**,输入值可为数值、多个数值或者范围以及相互组合,如:
|
|
8497
|
-
- **"20"**
|
|
8498
|
-
- **"0-99"**
|
|
8415
|
+
r"""<p>健康检查状态码。取值:</p><ul><li>当健康检查协议为<strong>HTTP/HTTPS</strong>时:<ul><li><strong>http_1xx</strong></li><li><strong>http_2xx</strong>(默认值)</li><li><strong>http_3xx</strong></li><li><strong>http_4xx</strong></li><li><strong>http_5xx</strong></li></ul></li><li>当健康检查协议为<strong>GRPC/GRPCS</strong>时:默认值为<strong>12</strong>,数值范围为<strong>0-99</strong>,输入值可为数值、多个数值或者范围以及相互组合,如:<ul><li><strong>"20"</strong></li><li><strong>"0-99"</strong></li></ul></li></ul>
|
|
8499
8416
|
:rtype: list of str
|
|
8500
8417
|
"""
|
|
8501
8418
|
return self._HealthCheckCodes
|
|
@@ -8506,9 +8423,7 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8506
8423
|
|
|
8507
8424
|
@property
|
|
8508
8425
|
def HealthCheckHealthyThreshold(self):
|
|
8509
|
-
r"""
|
|
8510
|
-
取值范围:**2**-**10**。
|
|
8511
|
-
默认值:**2**。
|
|
8426
|
+
r"""<p>判定后端服务健康的阈值,当健康检查连续成功多少次后,后端服务的状态由<strong>不健康</strong>变为<strong>健康</strong>。<br>取值范围:<strong>2</strong>-<strong>10</strong>。<br>默认值:<strong>2</strong>。</p>
|
|
8512
8427
|
:rtype: int
|
|
8513
8428
|
"""
|
|
8514
8429
|
return self._HealthCheckHealthyThreshold
|
|
@@ -8519,11 +8434,7 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8519
8434
|
|
|
8520
8435
|
@property
|
|
8521
8436
|
def HealthCheckHost(self):
|
|
8522
|
-
r"""
|
|
8523
|
-
长度限制为 **1-255** 个字符。
|
|
8524
|
-
可包含小写字母、数字、短划线(-)和半角句号(.)。
|
|
8525
|
-
|
|
8526
|
-
> 仅当 **HealthCheckProtocol** 设置为 **HTTP/HTTPS/GRPC/GRPCS** 时,该参数生效。
|
|
8437
|
+
r"""<p>健康检查域名。<br>长度限制为 <strong>1-255</strong> 个字符。<br>可包含小写字母、数字、短划线(-)和半角句号(.)。</p><blockquote><p>仅当 <strong>HealthCheckProtocol</strong> 设置为 <strong>HTTP/HTTPS/GRPC/GRPCS</strong> 时,该参数生效。</p></blockquote>
|
|
8527
8438
|
:rtype: str
|
|
8528
8439
|
"""
|
|
8529
8440
|
return self._HealthCheckHost
|
|
@@ -8534,10 +8445,7 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8534
8445
|
|
|
8535
8446
|
@property
|
|
8536
8447
|
def HealthCheckHttpVersion(self):
|
|
8537
|
-
r"""
|
|
8538
|
-
- **HTTP1.1**(默认)
|
|
8539
|
-
- **HTTP1.0**
|
|
8540
|
-
> 仅当**HealthCheckProtocol**设置为**HTTP** 或 **HTTPS** 时,该参数生效。
|
|
8448
|
+
r"""<p>健康检查 HTTP 协议版本,取值:</p><ul><li><strong>HTTP1.1</strong>(默认)</li><li><strong>HTTP1.0</strong> <blockquote><p>仅当<strong>HealthCheckProtocol</strong>设置为<strong>HTTP</strong> 或 <strong>HTTPS</strong> 时,该参数生效。</p></blockquote></li></ul>
|
|
8541
8449
|
:rtype: str
|
|
8542
8450
|
"""
|
|
8543
8451
|
return self._HealthCheckHttpVersion
|
|
@@ -8548,7 +8456,7 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8548
8456
|
|
|
8549
8457
|
@property
|
|
8550
8458
|
def HealthCheckInterval(self):
|
|
8551
|
-
r"""
|
|
8459
|
+
r"""<p>健康检查的时间间隔。单位:秒。 取值范围:<strong>2</strong>-<strong>300</strong>。 默认值:<strong>5</strong>。</p>
|
|
8552
8460
|
:rtype: int
|
|
8553
8461
|
"""
|
|
8554
8462
|
return self._HealthCheckInterval
|
|
@@ -8559,8 +8467,7 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8559
8467
|
|
|
8560
8468
|
@property
|
|
8561
8469
|
def HealthCheckMethod(self):
|
|
8562
|
-
r"""
|
|
8563
|
-
> 仅当**HealthCheckProtocol**设置为**HTTP** 或 **HTTPS** 时,该参数生效。
|
|
8470
|
+
r"""<p>健康检查方法,取值: - <strong>GET</strong> - <strong>HEAD</strong>(默认值) </p><blockquote><p>仅当<strong>HealthCheckProtocol</strong>设置为<strong>HTTP</strong> 或 <strong>HTTPS</strong> 时,该参数生效。</p></blockquote>
|
|
8564
8471
|
:rtype: str
|
|
8565
8472
|
"""
|
|
8566
8473
|
return self._HealthCheckMethod
|
|
@@ -8571,8 +8478,7 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8571
8478
|
|
|
8572
8479
|
@property
|
|
8573
8480
|
def HealthCheckPath(self):
|
|
8574
|
-
r"""
|
|
8575
|
-
> 仅当**HealthCheckProtocol**为**HTTP/HTTPS/GRPC/GRPCS**时,转发规则路径参数生效。
|
|
8481
|
+
r"""<p>健康检查的转发规则路径。 长度为 <strong>1-80</strong> 个字符,只能使用字母、数字、字符<code>-/.%?#&=</code>以及扩展字符<code>_;~!()*[]@$^:',+</code>。 URL 必须以正斜线(/)开头。 </p><blockquote><p>仅当<strong>HealthCheckProtocol</strong>为<strong>HTTP/HTTPS/GRPC/GRPCS</strong>时,转发规则路径参数生效。</p></blockquote>
|
|
8576
8482
|
:rtype: str
|
|
8577
8483
|
"""
|
|
8578
8484
|
return self._HealthCheckPath
|
|
@@ -8583,7 +8489,7 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8583
8489
|
|
|
8584
8490
|
@property
|
|
8585
8491
|
def HealthCheckPort(self):
|
|
8586
|
-
r"""
|
|
8492
|
+
r"""<p>健康检查访问后端服务器的端口。 取值范围:<strong>0-65535</strong>。 默认值:<strong>0</strong>,表示后端服务器的端口。</p>
|
|
8587
8493
|
:rtype: int
|
|
8588
8494
|
"""
|
|
8589
8495
|
return self._HealthCheckPort
|
|
@@ -8594,12 +8500,7 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8594
8500
|
|
|
8595
8501
|
@property
|
|
8596
8502
|
def HealthCheckProtocol(self):
|
|
8597
|
-
r"""
|
|
8598
|
-
- **HTTP**(默认):通过发送 HEAD 或 GET 请求模拟浏览器的访问行为来检查服务器应用是否健康。
|
|
8599
|
-
- **HTTPS**:通过发送 HEAD 或 GET 请求模拟浏览器的访问行为来检查服务器应用是否健康。(数据加密,相比 HTTP 更安全。)
|
|
8600
|
-
- **TCP**:通过发送 SYN 握手报文来检测服务器端口是否存活。
|
|
8601
|
-
- **GRPC**:通过发送 POST 或 GET 请求来检查服务器应用是否健康。
|
|
8602
|
-
- **GRPCS**:通过发送 POST 或 GET 请求来检查服务器应用是否健康。
|
|
8503
|
+
r"""<p>健康检查协议。取值:</p><ul><li><strong>HTTP</strong>(默认):通过发送 HEAD 或 GET 请求模拟浏览器的访问行为来检查服务器应用是否健康。</li><li><strong>HTTPS</strong>:通过发送 HEAD 或 GET 请求模拟浏览器的访问行为来检查服务器应用是否健康。(数据加密,相比 HTTP 更安全。)</li><li><strong>TCP</strong>:通过发送 SYN 握手报文来检测服务器端口是否存活。</li><li><strong>GRPC</strong>:通过发送 POST 或 GET 请求来检查服务器应用是否健康。</li><li><strong>GRPCS</strong>:通过发送 POST 或 GET 请求来检查服务器应用是否健康。</li></ul>
|
|
8603
8504
|
:rtype: str
|
|
8604
8505
|
"""
|
|
8605
8506
|
return self._HealthCheckProtocol
|
|
@@ -8610,7 +8511,7 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8610
8511
|
|
|
8611
8512
|
@property
|
|
8612
8513
|
def HealthCheckTemplateName(self):
|
|
8613
|
-
r"""
|
|
8514
|
+
r"""<p>健康检查模板名称。长度为 <strong>1-255</strong> 个字符,可包含数字、大小写字母、中文、半角句号(.)、下划线(_)和短划线(-)。</p>
|
|
8614
8515
|
:rtype: str
|
|
8615
8516
|
"""
|
|
8616
8517
|
return self._HealthCheckTemplateName
|
|
@@ -8621,9 +8522,7 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8621
8522
|
|
|
8622
8523
|
@property
|
|
8623
8524
|
def HealthCheckTimeout(self):
|
|
8624
|
-
r"""
|
|
8625
|
-
取值范围:**2**-**60**。
|
|
8626
|
-
默认值:**2**。
|
|
8525
|
+
r"""<p>健康检查的响应超时时间。单位:秒。<br>取值范围:<strong>2</strong>-<strong>60</strong>。<br>默认值:<strong>2</strong>。</p>
|
|
8627
8526
|
:rtype: int
|
|
8628
8527
|
"""
|
|
8629
8528
|
return self._HealthCheckTimeout
|
|
@@ -8634,9 +8533,7 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8634
8533
|
|
|
8635
8534
|
@property
|
|
8636
8535
|
def HealthCheckUnhealthyThreshold(self):
|
|
8637
|
-
r"""
|
|
8638
|
-
取值范围:**2**-**10**。
|
|
8639
|
-
默认值:**2**。
|
|
8536
|
+
r"""<p>判定后端服务不健康的阈值,当健康检查连续失败多少次后,后端服务的状态由<strong>健康</strong>变为<strong>不健康</strong>。<br>取值范围:<strong>2</strong>-<strong>10</strong>。<br>默认值:<strong>2</strong>。</p>
|
|
8640
8537
|
:rtype: int
|
|
8641
8538
|
"""
|
|
8642
8539
|
return self._HealthCheckUnhealthyThreshold
|
|
@@ -8645,17 +8542,6 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8645
8542
|
def HealthCheckUnhealthyThreshold(self, HealthCheckUnhealthyThreshold):
|
|
8646
8543
|
self._HealthCheckUnhealthyThreshold = HealthCheckUnhealthyThreshold
|
|
8647
8544
|
|
|
8648
|
-
@property
|
|
8649
|
-
def Tags(self):
|
|
8650
|
-
r"""标签。
|
|
8651
|
-
:rtype: list of TagInfo
|
|
8652
|
-
"""
|
|
8653
|
-
return self._Tags
|
|
8654
|
-
|
|
8655
|
-
@Tags.setter
|
|
8656
|
-
def Tags(self, Tags):
|
|
8657
|
-
self._Tags = Tags
|
|
8658
|
-
|
|
8659
8545
|
|
|
8660
8546
|
def _deserialize(self, params):
|
|
8661
8547
|
self._HealthCheckTemplateId = params.get("HealthCheckTemplateId")
|
|
@@ -8672,12 +8558,6 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8672
8558
|
self._HealthCheckTemplateName = params.get("HealthCheckTemplateName")
|
|
8673
8559
|
self._HealthCheckTimeout = params.get("HealthCheckTimeout")
|
|
8674
8560
|
self._HealthCheckUnhealthyThreshold = params.get("HealthCheckUnhealthyThreshold")
|
|
8675
|
-
if params.get("Tags") is not None:
|
|
8676
|
-
self._Tags = []
|
|
8677
|
-
for item in params.get("Tags"):
|
|
8678
|
-
obj = TagInfo()
|
|
8679
|
-
obj._deserialize(item)
|
|
8680
|
-
self._Tags.append(obj)
|
|
8681
8561
|
memeber_set = set(params.keys())
|
|
8682
8562
|
for name, value in vars(self).items():
|
|
8683
8563
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-alb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.145
|
|
4
4
|
Summary: Tencent Cloud Alb 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.145
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.145
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.130
|
|
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
|