tencentcloud-sdk-python 3.1.132__py2.py3-none-any.whl → 3.1.133__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/alb/v20251030/models.py +28 -110
- tencentcloud/cdb/v20170320/models.py +69 -52
- tencentcloud/cls/v20201016/models.py +85 -44
- tencentcloud/csip/v20221121/csip_client.py +23 -0
- tencentcloud/csip/v20221121/csip_client_async.py +18 -0
- tencentcloud/csip/v20221121/models.py +93 -10
- tencentcloud/es/v20180416/es_client.py +322 -0
- tencentcloud/es/v20180416/es_client_async.py +252 -0
- tencentcloud/es/v20180416/models.py +12026 -7695
- tencentcloud/ess/v20201111/models.py +15 -0
- tencentcloud/essbasic/v20210526/errorcodes.py +3 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +113 -0
- tencentcloud/essbasic/v20210526/essbasic_client_async.py +98 -0
- tencentcloud/essbasic/v20210526/models.py +670 -52
- tencentcloud/faceid/v20180301/models.py +54 -150
- tencentcloud/monitor/v20180724/models.py +242 -284
- tencentcloud/mps/v20190612/models.py +315 -0
- tencentcloud/mps/v20190612/mps_client.py +23 -0
- tencentcloud/mps/v20190612/mps_client_async.py +18 -0
- tencentcloud/rum/v20210622/models.py +8 -8
- tencentcloud/teo/v20220901/errorcodes.py +6 -0
- tencentcloud/teo/v20220901/models.py +875 -26
- tencentcloud/teo/v20220901/teo_client.py +73 -0
- tencentcloud/teo/v20220901/teo_client_async.py +58 -0
- tencentcloud/vod/v20180717/models.py +171 -64
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- {tencentcloud_sdk_python-3.1.132.dist-info → tencentcloud_sdk_python-3.1.133.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.132.dist-info → tencentcloud_sdk_python-3.1.133.dist-info}/RECORD +32 -32
- {tencentcloud_sdk_python-3.1.132.dist-info → tencentcloud_sdk_python-3.1.133.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.132.dist-info → tencentcloud_sdk_python-3.1.133.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.1.132.dist-info → tencentcloud_sdk_python-3.1.133.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -8382,67 +8382,34 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8382
8382
|
|
|
8383
8383
|
def __init__(self):
|
|
8384
8384
|
r"""
|
|
8385
|
-
:param _HealthCheckTemplateId:
|
|
8385
|
+
:param _HealthCheckTemplateId: <p>健康检查模板 ID,格式为 hct- 后接字母数字。</p>
|
|
8386
8386
|
:type HealthCheckTemplateId: str
|
|
8387
|
-
:param _DryRun:
|
|
8388
|
-
- **false**(默认):发送普通请求,直接修改健康检查模板。
|
|
8389
|
-
- **true**:发送预览请求,检查修改健康检查模板的参数、格式、业务限制等是否符合要求。
|
|
8387
|
+
:param _DryRun: <p>是否预览此次请求。</p><ul><li><strong>false</strong>(默认):发送普通请求,直接修改健康检查模板。</li><li><strong>true</strong>:发送预览请求,检查修改健康检查模板的参数、格式、业务限制等是否符合要求。</li></ul>
|
|
8390
8388
|
: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"**
|
|
8389
|
+
: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
8390
|
:type HealthCheckCodes: list of str
|
|
8402
|
-
:param _HealthCheckHealthyThreshold:
|
|
8403
|
-
取值范围:**2**-**10**。
|
|
8404
|
-
默认值:**2**。
|
|
8391
|
+
:param _HealthCheckHealthyThreshold: <p>判定后端服务健康的阈值,当健康检查连续成功多少次后,后端服务的状态由<strong>不健康</strong>变为<strong>健康</strong>。<br>取值范围:<strong>2</strong>-<strong>10</strong>。<br>默认值:<strong>2</strong>。</p>
|
|
8405
8392
|
:type HealthCheckHealthyThreshold: int
|
|
8406
|
-
:param _HealthCheckHost:
|
|
8407
|
-
长度限制为 **1-255** 个字符。
|
|
8408
|
-
可包含小写字母、数字、短划线(-)和半角句号(.)。
|
|
8409
|
-
|
|
8410
|
-
> 仅当 **HealthCheckProtocol** 设置为 **HTTP/HTTPS/GRPC/GRPCS** 时,该参数生效。
|
|
8393
|
+
:param _HealthCheckHost: <p>健康检查域名。<br>长度限制为 <strong>1-255</strong> 个字符。<br>可包含小写字母、数字、短划线(-)和半角句号(.)。</p><blockquote><p>仅当 <strong>HealthCheckProtocol</strong> 设置为 <strong>HTTP/HTTPS/GRPC/GRPCS</strong> 时,该参数生效。</p></blockquote>
|
|
8411
8394
|
:type HealthCheckHost: str
|
|
8412
|
-
:param _HealthCheckHttpVersion:
|
|
8413
|
-
- **HTTP1.1**(默认)
|
|
8414
|
-
- **HTTP1.0**
|
|
8415
|
-
> 仅当**HealthCheckProtocol**设置为**HTTP** 或 **HTTPS** 时,该参数生效。
|
|
8395
|
+
: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
8396
|
:type HealthCheckHttpVersion: str
|
|
8417
|
-
:param _HealthCheckInterval:
|
|
8397
|
+
:param _HealthCheckInterval: <p>健康检查的时间间隔。单位:秒。 取值范围:<strong>2</strong>-<strong>300</strong>。 默认值:<strong>5</strong>。</p>
|
|
8418
8398
|
:type HealthCheckInterval: int
|
|
8419
|
-
:param _HealthCheckMethod:
|
|
8420
|
-
> 仅当**HealthCheckProtocol**设置为**HTTP** 或 **HTTPS** 时,该参数生效。
|
|
8399
|
+
:param _HealthCheckMethod: <p>健康检查方法,取值: - <strong>GET</strong> - <strong>HEAD</strong>(默认值) </p><blockquote><p>仅当<strong>HealthCheckProtocol</strong>设置为<strong>HTTP</strong> 或 <strong>HTTPS</strong> 时,该参数生效。</p></blockquote>
|
|
8421
8400
|
:type HealthCheckMethod: str
|
|
8422
|
-
:param _HealthCheckPath:
|
|
8423
|
-
> 仅当**HealthCheckProtocol**为**HTTP/HTTPS/GRPC/GRPCS**时,转发规则路径参数生效。
|
|
8401
|
+
: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
8402
|
:type HealthCheckPath: str
|
|
8425
|
-
:param _HealthCheckPort:
|
|
8403
|
+
:param _HealthCheckPort: <p>健康检查访问后端服务器的端口。 取值范围:<strong>0-65535</strong>。 默认值:<strong>0</strong>,表示后端服务器的端口。</p>
|
|
8426
8404
|
: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 请求来检查服务器应用是否健康。
|
|
8405
|
+
: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
8406
|
:type HealthCheckProtocol: str
|
|
8434
|
-
:param _HealthCheckTemplateName:
|
|
8407
|
+
:param _HealthCheckTemplateName: <p>健康检查模板名称。长度为 <strong>1-255</strong> 个字符,可包含数字、大小写字母、中文、半角句号(.)、下划线(_)和短划线(-)。</p>
|
|
8435
8408
|
:type HealthCheckTemplateName: str
|
|
8436
|
-
:param _HealthCheckTimeout:
|
|
8437
|
-
取值范围:**2**-**60**。
|
|
8438
|
-
默认值:**2**。
|
|
8409
|
+
:param _HealthCheckTimeout: <p>健康检查的响应超时时间。单位:秒。<br>取值范围:<strong>2</strong>-<strong>60</strong>。<br>默认值:<strong>2</strong>。</p>
|
|
8439
8410
|
:type HealthCheckTimeout: int
|
|
8440
|
-
:param _HealthCheckUnhealthyThreshold:
|
|
8441
|
-
取值范围:**2**-**10**。
|
|
8442
|
-
默认值:**2**。
|
|
8411
|
+
:param _HealthCheckUnhealthyThreshold: <p>判定后端服务不健康的阈值,当健康检查连续失败多少次后,后端服务的状态由<strong>健康</strong>变为<strong>不健康</strong>。<br>取值范围:<strong>2</strong>-<strong>10</strong>。<br>默认值:<strong>2</strong>。</p>
|
|
8443
8412
|
:type HealthCheckUnhealthyThreshold: int
|
|
8444
|
-
:param _Tags: 标签。
|
|
8445
|
-
:type Tags: list of TagInfo
|
|
8446
8413
|
"""
|
|
8447
8414
|
self._HealthCheckTemplateId = None
|
|
8448
8415
|
self._DryRun = None
|
|
@@ -8458,11 +8425,10 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8458
8425
|
self._HealthCheckTemplateName = None
|
|
8459
8426
|
self._HealthCheckTimeout = None
|
|
8460
8427
|
self._HealthCheckUnhealthyThreshold = None
|
|
8461
|
-
self._Tags = None
|
|
8462
8428
|
|
|
8463
8429
|
@property
|
|
8464
8430
|
def HealthCheckTemplateId(self):
|
|
8465
|
-
r"""
|
|
8431
|
+
r"""<p>健康检查模板 ID,格式为 hct- 后接字母数字。</p>
|
|
8466
8432
|
:rtype: str
|
|
8467
8433
|
"""
|
|
8468
8434
|
return self._HealthCheckTemplateId
|
|
@@ -8473,9 +8439,7 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8473
8439
|
|
|
8474
8440
|
@property
|
|
8475
8441
|
def DryRun(self):
|
|
8476
|
-
r"""
|
|
8477
|
-
- **false**(默认):发送普通请求,直接修改健康检查模板。
|
|
8478
|
-
- **true**:发送预览请求,检查修改健康检查模板的参数、格式、业务限制等是否符合要求。
|
|
8442
|
+
r"""<p>是否预览此次请求。</p><ul><li><strong>false</strong>(默认):发送普通请求,直接修改健康检查模板。</li><li><strong>true</strong>:发送预览请求,检查修改健康检查模板的参数、格式、业务限制等是否符合要求。</li></ul>
|
|
8479
8443
|
:rtype: bool
|
|
8480
8444
|
"""
|
|
8481
8445
|
return self._DryRun
|
|
@@ -8486,16 +8450,7 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8486
8450
|
|
|
8487
8451
|
@property
|
|
8488
8452
|
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"**
|
|
8453
|
+
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
8454
|
:rtype: list of str
|
|
8500
8455
|
"""
|
|
8501
8456
|
return self._HealthCheckCodes
|
|
@@ -8506,9 +8461,7 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8506
8461
|
|
|
8507
8462
|
@property
|
|
8508
8463
|
def HealthCheckHealthyThreshold(self):
|
|
8509
|
-
r"""
|
|
8510
|
-
取值范围:**2**-**10**。
|
|
8511
|
-
默认值:**2**。
|
|
8464
|
+
r"""<p>判定后端服务健康的阈值,当健康检查连续成功多少次后,后端服务的状态由<strong>不健康</strong>变为<strong>健康</strong>。<br>取值范围:<strong>2</strong>-<strong>10</strong>。<br>默认值:<strong>2</strong>。</p>
|
|
8512
8465
|
:rtype: int
|
|
8513
8466
|
"""
|
|
8514
8467
|
return self._HealthCheckHealthyThreshold
|
|
@@ -8519,11 +8472,7 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8519
8472
|
|
|
8520
8473
|
@property
|
|
8521
8474
|
def HealthCheckHost(self):
|
|
8522
|
-
r"""
|
|
8523
|
-
长度限制为 **1-255** 个字符。
|
|
8524
|
-
可包含小写字母、数字、短划线(-)和半角句号(.)。
|
|
8525
|
-
|
|
8526
|
-
> 仅当 **HealthCheckProtocol** 设置为 **HTTP/HTTPS/GRPC/GRPCS** 时,该参数生效。
|
|
8475
|
+
r"""<p>健康检查域名。<br>长度限制为 <strong>1-255</strong> 个字符。<br>可包含小写字母、数字、短划线(-)和半角句号(.)。</p><blockquote><p>仅当 <strong>HealthCheckProtocol</strong> 设置为 <strong>HTTP/HTTPS/GRPC/GRPCS</strong> 时,该参数生效。</p></blockquote>
|
|
8527
8476
|
:rtype: str
|
|
8528
8477
|
"""
|
|
8529
8478
|
return self._HealthCheckHost
|
|
@@ -8534,10 +8483,7 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8534
8483
|
|
|
8535
8484
|
@property
|
|
8536
8485
|
def HealthCheckHttpVersion(self):
|
|
8537
|
-
r"""
|
|
8538
|
-
- **HTTP1.1**(默认)
|
|
8539
|
-
- **HTTP1.0**
|
|
8540
|
-
> 仅当**HealthCheckProtocol**设置为**HTTP** 或 **HTTPS** 时,该参数生效。
|
|
8486
|
+
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
8487
|
:rtype: str
|
|
8542
8488
|
"""
|
|
8543
8489
|
return self._HealthCheckHttpVersion
|
|
@@ -8548,7 +8494,7 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8548
8494
|
|
|
8549
8495
|
@property
|
|
8550
8496
|
def HealthCheckInterval(self):
|
|
8551
|
-
r"""
|
|
8497
|
+
r"""<p>健康检查的时间间隔。单位:秒。 取值范围:<strong>2</strong>-<strong>300</strong>。 默认值:<strong>5</strong>。</p>
|
|
8552
8498
|
:rtype: int
|
|
8553
8499
|
"""
|
|
8554
8500
|
return self._HealthCheckInterval
|
|
@@ -8559,8 +8505,7 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8559
8505
|
|
|
8560
8506
|
@property
|
|
8561
8507
|
def HealthCheckMethod(self):
|
|
8562
|
-
r"""
|
|
8563
|
-
> 仅当**HealthCheckProtocol**设置为**HTTP** 或 **HTTPS** 时,该参数生效。
|
|
8508
|
+
r"""<p>健康检查方法,取值: - <strong>GET</strong> - <strong>HEAD</strong>(默认值) </p><blockquote><p>仅当<strong>HealthCheckProtocol</strong>设置为<strong>HTTP</strong> 或 <strong>HTTPS</strong> 时,该参数生效。</p></blockquote>
|
|
8564
8509
|
:rtype: str
|
|
8565
8510
|
"""
|
|
8566
8511
|
return self._HealthCheckMethod
|
|
@@ -8571,8 +8516,7 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8571
8516
|
|
|
8572
8517
|
@property
|
|
8573
8518
|
def HealthCheckPath(self):
|
|
8574
|
-
r"""
|
|
8575
|
-
> 仅当**HealthCheckProtocol**为**HTTP/HTTPS/GRPC/GRPCS**时,转发规则路径参数生效。
|
|
8519
|
+
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
8520
|
:rtype: str
|
|
8577
8521
|
"""
|
|
8578
8522
|
return self._HealthCheckPath
|
|
@@ -8583,7 +8527,7 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8583
8527
|
|
|
8584
8528
|
@property
|
|
8585
8529
|
def HealthCheckPort(self):
|
|
8586
|
-
r"""
|
|
8530
|
+
r"""<p>健康检查访问后端服务器的端口。 取值范围:<strong>0-65535</strong>。 默认值:<strong>0</strong>,表示后端服务器的端口。</p>
|
|
8587
8531
|
:rtype: int
|
|
8588
8532
|
"""
|
|
8589
8533
|
return self._HealthCheckPort
|
|
@@ -8594,12 +8538,7 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8594
8538
|
|
|
8595
8539
|
@property
|
|
8596
8540
|
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 请求来检查服务器应用是否健康。
|
|
8541
|
+
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
8542
|
:rtype: str
|
|
8604
8543
|
"""
|
|
8605
8544
|
return self._HealthCheckProtocol
|
|
@@ -8610,7 +8549,7 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8610
8549
|
|
|
8611
8550
|
@property
|
|
8612
8551
|
def HealthCheckTemplateName(self):
|
|
8613
|
-
r"""
|
|
8552
|
+
r"""<p>健康检查模板名称。长度为 <strong>1-255</strong> 个字符,可包含数字、大小写字母、中文、半角句号(.)、下划线(_)和短划线(-)。</p>
|
|
8614
8553
|
:rtype: str
|
|
8615
8554
|
"""
|
|
8616
8555
|
return self._HealthCheckTemplateName
|
|
@@ -8621,9 +8560,7 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8621
8560
|
|
|
8622
8561
|
@property
|
|
8623
8562
|
def HealthCheckTimeout(self):
|
|
8624
|
-
r"""
|
|
8625
|
-
取值范围:**2**-**60**。
|
|
8626
|
-
默认值:**2**。
|
|
8563
|
+
r"""<p>健康检查的响应超时时间。单位:秒。<br>取值范围:<strong>2</strong>-<strong>60</strong>。<br>默认值:<strong>2</strong>。</p>
|
|
8627
8564
|
:rtype: int
|
|
8628
8565
|
"""
|
|
8629
8566
|
return self._HealthCheckTimeout
|
|
@@ -8634,9 +8571,7 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8634
8571
|
|
|
8635
8572
|
@property
|
|
8636
8573
|
def HealthCheckUnhealthyThreshold(self):
|
|
8637
|
-
r"""
|
|
8638
|
-
取值范围:**2**-**10**。
|
|
8639
|
-
默认值:**2**。
|
|
8574
|
+
r"""<p>判定后端服务不健康的阈值,当健康检查连续失败多少次后,后端服务的状态由<strong>健康</strong>变为<strong>不健康</strong>。<br>取值范围:<strong>2</strong>-<strong>10</strong>。<br>默认值:<strong>2</strong>。</p>
|
|
8640
8575
|
:rtype: int
|
|
8641
8576
|
"""
|
|
8642
8577
|
return self._HealthCheckUnhealthyThreshold
|
|
@@ -8645,17 +8580,6 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8645
8580
|
def HealthCheckUnhealthyThreshold(self, HealthCheckUnhealthyThreshold):
|
|
8646
8581
|
self._HealthCheckUnhealthyThreshold = HealthCheckUnhealthyThreshold
|
|
8647
8582
|
|
|
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
8583
|
|
|
8660
8584
|
def _deserialize(self, params):
|
|
8661
8585
|
self._HealthCheckTemplateId = params.get("HealthCheckTemplateId")
|
|
@@ -8672,12 +8596,6 @@ class ModifyHealthCheckTemplateRequest(AbstractModel):
|
|
|
8672
8596
|
self._HealthCheckTemplateName = params.get("HealthCheckTemplateName")
|
|
8673
8597
|
self._HealthCheckTimeout = params.get("HealthCheckTimeout")
|
|
8674
8598
|
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
8599
|
memeber_set = set(params.keys())
|
|
8682
8600
|
for name, value in vars(self).items():
|
|
8683
8601
|
property_name = name[1:]
|