tencentcloud-sdk-python 3.0.1256__py2.py3-none-any.whl → 3.0.1258__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/apm/v20210622/models.py +26 -0
- tencentcloud/asr/v20190614/models.py +3 -2
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +7 -1
- tencentcloud/autoscaling/v20180419/errorcodes.py +3 -0
- tencentcloud/autoscaling/v20180419/models.py +18 -2
- tencentcloud/bi/v20220105/models.py +44 -4
- tencentcloud/billing/v20180709/billing_client.py +23 -0
- tencentcloud/billing/v20180709/errorcodes.py +6 -0
- tencentcloud/billing/v20180709/models.py +424 -0
- tencentcloud/bsca/v20210811/models.py +306 -1
- tencentcloud/ccc/v20200210/ccc_client.py +23 -0
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +249 -136
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +25 -1
- tencentcloud/cdn/v20180606/models.py +1 -1
- tencentcloud/cdwdoris/v20211228/models.py +29 -2
- tencentcloud/cfw/v20190904/cfw_client.py +6 -30
- tencentcloud/cfw/v20190904/models.py +267 -479
- tencentcloud/ciam/v20220331/models.py +13 -0
- tencentcloud/ckafka/v20190819/models.py +5 -5
- tencentcloud/clb/v20180317/models.py +1 -1
- tencentcloud/cloudaudit/v20190319/cloudaudit_client.py +30 -34
- tencentcloud/cloudaudit/v20190319/errorcodes.py +0 -39
- tencentcloud/cloudaudit/v20190319/models.py +328 -254
- tencentcloud/cls/v20201016/cls_client.py +8 -1
- tencentcloud/cls/v20201016/models.py +551 -109
- tencentcloud/csip/v20221121/models.py +225 -12
- tencentcloud/cvm/v20170312/errorcodes.py +6 -0
- tencentcloud/cvm/v20170312/models.py +78 -0
- tencentcloud/cwp/v20180228/cwp_client.py +3 -1
- tencentcloud/cwp/v20180228/models.py +206 -52
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +27 -27
- tencentcloud/cynosdb/v20190107/models.py +78 -0
- tencentcloud/dasb/v20191018/models.py +155 -0
- tencentcloud/dlc/v20210125/models.py +13 -0
- tencentcloud/domain/v20180808/errorcodes.py +45 -0
- tencentcloud/eb/v20210416/models.py +19 -19
- tencentcloud/emr/v20190103/models.py +12 -0
- tencentcloud/es/v20180416/errorcodes.py +4 -1
- tencentcloud/es/v20180416/es_client.py +92 -0
- tencentcloud/es/v20180416/models.py +770 -12
- tencentcloud/ess/v20201111/ess_client.py +71 -4
- tencentcloud/ess/v20201111/models.py +260 -10
- tencentcloud/essbasic/v20210526/essbasic_client.py +135 -51
- tencentcloud/essbasic/v20210526/models.py +390 -21
- tencentcloud/gaap/v20180529/models.py +40 -3
- tencentcloud/hunyuan/v20230901/models.py +12 -0
- tencentcloud/ioa/v20220601/errorcodes.py +15 -0
- tencentcloud/ioa/v20220601/ioa_client.py +26 -2
- tencentcloud/ioa/v20220601/models.py +516 -46
- tencentcloud/iotexplorer/v20190423/models.py +52 -0
- tencentcloud/iotvideo/v20191126/iotvideo_client.py +46 -0
- tencentcloud/iotvideo/v20191126/models.py +379 -0
- tencentcloud/iss/v20230517/models.py +25 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +1 -1
- tencentcloud/live/v20180801/models.py +51 -0
- tencentcloud/mongodb/v20190725/models.py +3 -7
- tencentcloud/mqtt/v20240516/models.py +4 -4
- tencentcloud/ocr/v20181119/models.py +7 -16
- tencentcloud/ocr/v20181119/ocr_client.py +1 -0
- tencentcloud/organization/v20210331/errorcodes.py +31 -1
- tencentcloud/organization/v20210331/models.py +674 -0
- tencentcloud/organization/v20210331/organization_client.py +138 -0
- tencentcloud/partners/v20180321/models.py +71 -0
- tencentcloud/partners/v20180321/partners_client.py +23 -0
- tencentcloud/privatedns/v20201028/errorcodes.py +12 -0
- tencentcloud/privatedns/v20201028/models.py +858 -4
- tencentcloud/privatedns/v20201028/privatedns_client.py +92 -0
- tencentcloud/region/v20220627/models.py +0 -1
- tencentcloud/scf/v20180416/models.py +889 -8
- tencentcloud/scf/v20180416/scf_client.py +115 -0
- tencentcloud/smop/v20201203/models.py +17 -17
- tencentcloud/ssl/v20191205/models.py +44 -3
- tencentcloud/ssm/v20190923/models.py +84 -0
- tencentcloud/tat/v20201028/models.py +1 -29
- tencentcloud/tcss/v20201101/models.py +815 -33
- tencentcloud/tcss/v20201101/tcss_client.py +1 -1
- tencentcloud/tdmq/v20200217/models.py +7 -7
- tencentcloud/tem/v20210701/models.py +202 -198
- tencentcloud/teo/v20220901/errorcodes.py +51 -0
- tencentcloud/teo/v20220901/models.py +1470 -97
- tencentcloud/teo/v20220901/teo_client.py +115 -0
- tencentcloud/tke/v20180525/models.py +70 -0
- tencentcloud/tke/v20180525/tke_client.py +23 -0
- tencentcloud/tms/v20201229/models.py +0 -558
- tencentcloud/tms/v20201229/tms_client.py +0 -23
- tencentcloud/trp/v20210515/models.py +6 -6
- tencentcloud/trtc/v20190722/models.py +353 -4
- tencentcloud/tse/v20201207/models.py +94 -0
- tencentcloud/tse/v20201207/tse_client.py +23 -0
- tencentcloud/vclm/v20240523/models.py +166 -0
- tencentcloud/vpc/v20170312/models.py +137 -6
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/waf/v20180125/models.py +99 -0
- tencentcloud/waf/v20180125/waf_client.py +23 -0
- tencentcloud/wedata/v20210820/models.py +991 -0
- tencentcloud/wedata/v20210820/wedata_client.py +46 -0
- {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/RECORD +104 -109
- tencentcloud/cr/__init__.py +0 -0
- tencentcloud/cr/v20180321/__init__.py +0 -0
- tencentcloud/cr/v20180321/cr_client.py +0 -672
- tencentcloud/cr/v20180321/errorcodes.py +0 -114
- tencentcloud/cr/v20180321/models.py +0 -4966
- {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/top_level.txt +0 -0
@@ -3365,7 +3365,7 @@ class CertificateInfo(AbstractModel):
|
|
3365
3365
|
|
3366
3366
|
def __init__(self):
|
3367
3367
|
r"""
|
3368
|
-
:param _CertId: 证书 ID。
|
3368
|
+
:param _CertId: 证书 ID。来源于 SSL 侧,您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/ssl) 查看 CertId。
|
3369
3369
|
:type CertId: str
|
3370
3370
|
:param _Alias: 证书备注名。
|
3371
3371
|
:type Alias: str
|
@@ -3558,6 +3558,71 @@ class CheckCnameStatusResponse(AbstractModel):
|
|
3558
3558
|
self._RequestId = params.get("RequestId")
|
3559
3559
|
|
3560
3560
|
|
3561
|
+
class CheckRegionHealthStatus(AbstractModel):
|
3562
|
+
"""各个健康检查区域下源站的健康状态。
|
3563
|
+
|
3564
|
+
"""
|
3565
|
+
|
3566
|
+
def __init__(self):
|
3567
|
+
r"""
|
3568
|
+
:param _Region: 健康检查区域,ISO-3166-1 两位字母代码。
|
3569
|
+
:type Region: str
|
3570
|
+
:param _Healthy: 单健康检查区域下探测源站的健康状态,取值有:
|
3571
|
+
<li>Healthy:健康;</li>
|
3572
|
+
<li>Unhealthy:不健康;</li>
|
3573
|
+
<li> Undetected:未探测到数据。</li>说明:单健康检查区域下所有源站为健康,则状态为健康,否则为不健康。
|
3574
|
+
:type Healthy: str
|
3575
|
+
:param _OriginHealthStatus: 源站健康状态。
|
3576
|
+
:type OriginHealthStatus: list of OriginHealthStatus
|
3577
|
+
"""
|
3578
|
+
self._Region = None
|
3579
|
+
self._Healthy = None
|
3580
|
+
self._OriginHealthStatus = None
|
3581
|
+
|
3582
|
+
@property
|
3583
|
+
def Region(self):
|
3584
|
+
return self._Region
|
3585
|
+
|
3586
|
+
@Region.setter
|
3587
|
+
def Region(self, Region):
|
3588
|
+
self._Region = Region
|
3589
|
+
|
3590
|
+
@property
|
3591
|
+
def Healthy(self):
|
3592
|
+
return self._Healthy
|
3593
|
+
|
3594
|
+
@Healthy.setter
|
3595
|
+
def Healthy(self, Healthy):
|
3596
|
+
self._Healthy = Healthy
|
3597
|
+
|
3598
|
+
@property
|
3599
|
+
def OriginHealthStatus(self):
|
3600
|
+
return self._OriginHealthStatus
|
3601
|
+
|
3602
|
+
@OriginHealthStatus.setter
|
3603
|
+
def OriginHealthStatus(self, OriginHealthStatus):
|
3604
|
+
self._OriginHealthStatus = OriginHealthStatus
|
3605
|
+
|
3606
|
+
|
3607
|
+
def _deserialize(self, params):
|
3608
|
+
self._Region = params.get("Region")
|
3609
|
+
self._Healthy = params.get("Healthy")
|
3610
|
+
if params.get("OriginHealthStatus") is not None:
|
3611
|
+
self._OriginHealthStatus = []
|
3612
|
+
for item in params.get("OriginHealthStatus"):
|
3613
|
+
obj = OriginHealthStatus()
|
3614
|
+
obj._deserialize(item)
|
3615
|
+
self._OriginHealthStatus.append(obj)
|
3616
|
+
memeber_set = set(params.keys())
|
3617
|
+
for name, value in vars(self).items():
|
3618
|
+
property_name = name[1:]
|
3619
|
+
if property_name in memeber_set:
|
3620
|
+
memeber_set.remove(property_name)
|
3621
|
+
if len(memeber_set) > 0:
|
3622
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
3623
|
+
|
3624
|
+
|
3625
|
+
|
3561
3626
|
class ClientIpCountry(AbstractModel):
|
3562
3627
|
"""回源时携带客户端IP所属地域信息,值的格式为ISO-3166-1两位字母代码。
|
3563
3628
|
|
@@ -3617,8 +3682,7 @@ class ClientIpHeader(AbstractModel):
|
|
3617
3682
|
<li>on:开启;</li>
|
3618
3683
|
<li>off:关闭。</li>
|
3619
3684
|
:type Switch: str
|
3620
|
-
:param _HeaderName: 回源时,存放客户端 IP
|
3621
|
-
为空则使用默认值:X-Forwarded-IP。
|
3685
|
+
:param _HeaderName: 回源时,存放客户端 IP 的请求头名称。当 Switch 为 on 时,该参数必填。该参数不允许填写 X-Forwarded-For。
|
3622
3686
|
注意:此字段可能返回 null,表示取不到有效值。
|
3623
3687
|
:type HeaderName: str
|
3624
3688
|
"""
|
@@ -5363,6 +5427,160 @@ class CreateL4ProxyRulesResponse(AbstractModel):
|
|
5363
5427
|
self._RequestId = params.get("RequestId")
|
5364
5428
|
|
5365
5429
|
|
5430
|
+
class CreateLoadBalancerRequest(AbstractModel):
|
5431
|
+
"""CreateLoadBalancer请求参数结构体
|
5432
|
+
|
5433
|
+
"""
|
5434
|
+
|
5435
|
+
def __init__(self):
|
5436
|
+
r"""
|
5437
|
+
:param _ZoneId: 站点 ID。
|
5438
|
+
:type ZoneId: str
|
5439
|
+
:param _Name: 实例名称,可输入 1-200 个字符,允许字符为 a-z,A-Z,0-9,_,-。
|
5440
|
+
:type Name: str
|
5441
|
+
:param _Type: 实例类型,取值有:
|
5442
|
+
<li>HTTP:HTTP 专用型,支持添加 HTTP 专用型和通用型源站组,仅支持被站点加速相关服务引用(如域名服务和规则引擎);</li>
|
5443
|
+
<li>GENERAL:通用型,仅支持添加通用型源站组,能被站点加速服务(如域名服务和规则引擎)和四层代理引用。</li>
|
5444
|
+
:type Type: str
|
5445
|
+
:param _OriginGroups: 源站组列表及其对应的容灾调度优先级。详情请参考 [快速创建负载均衡实例](https://cloud.tencent.com/document/product/1552/104223) 中的示例场景。
|
5446
|
+
:type OriginGroups: list of OriginGroupInLoadBalancer
|
5447
|
+
:param _HealthChecker: 健康检查策略。详情请参考 [健康检查策略介绍](https://cloud.tencent.com/document/product/1552/104228)。不填写时,默认为不启用健康检查。
|
5448
|
+
:type HealthChecker: :class:`tencentcloud.teo.v20220901.models.HealthChecker`
|
5449
|
+
:param _SteeringPolicy: 源站组间的流量调度策略,取值有:
|
5450
|
+
<li>Pritory:按优先级顺序进行故障转移。</li>默认值为 Pritory。
|
5451
|
+
:type SteeringPolicy: str
|
5452
|
+
:param _FailoverPolicy: 实际访问某源站失败时的请求重试策略,详情请参考 [请求重试策略介绍](https://cloud.tencent.com/document/product/1552/104227),取值有:
|
5453
|
+
<li>OtherOriginGroup:单次请求失败后,请求优先重试下一优先级源站组;</li>
|
5454
|
+
<li>OtherRecordInOriginGroup:单次请求失败后,请求优先重试同源站组内的其他源站。</li>默认值为 OtherRecordInOriginGroup。
|
5455
|
+
:type FailoverPolicy: str
|
5456
|
+
"""
|
5457
|
+
self._ZoneId = None
|
5458
|
+
self._Name = None
|
5459
|
+
self._Type = None
|
5460
|
+
self._OriginGroups = None
|
5461
|
+
self._HealthChecker = None
|
5462
|
+
self._SteeringPolicy = None
|
5463
|
+
self._FailoverPolicy = None
|
5464
|
+
|
5465
|
+
@property
|
5466
|
+
def ZoneId(self):
|
5467
|
+
return self._ZoneId
|
5468
|
+
|
5469
|
+
@ZoneId.setter
|
5470
|
+
def ZoneId(self, ZoneId):
|
5471
|
+
self._ZoneId = ZoneId
|
5472
|
+
|
5473
|
+
@property
|
5474
|
+
def Name(self):
|
5475
|
+
return self._Name
|
5476
|
+
|
5477
|
+
@Name.setter
|
5478
|
+
def Name(self, Name):
|
5479
|
+
self._Name = Name
|
5480
|
+
|
5481
|
+
@property
|
5482
|
+
def Type(self):
|
5483
|
+
return self._Type
|
5484
|
+
|
5485
|
+
@Type.setter
|
5486
|
+
def Type(self, Type):
|
5487
|
+
self._Type = Type
|
5488
|
+
|
5489
|
+
@property
|
5490
|
+
def OriginGroups(self):
|
5491
|
+
return self._OriginGroups
|
5492
|
+
|
5493
|
+
@OriginGroups.setter
|
5494
|
+
def OriginGroups(self, OriginGroups):
|
5495
|
+
self._OriginGroups = OriginGroups
|
5496
|
+
|
5497
|
+
@property
|
5498
|
+
def HealthChecker(self):
|
5499
|
+
return self._HealthChecker
|
5500
|
+
|
5501
|
+
@HealthChecker.setter
|
5502
|
+
def HealthChecker(self, HealthChecker):
|
5503
|
+
self._HealthChecker = HealthChecker
|
5504
|
+
|
5505
|
+
@property
|
5506
|
+
def SteeringPolicy(self):
|
5507
|
+
return self._SteeringPolicy
|
5508
|
+
|
5509
|
+
@SteeringPolicy.setter
|
5510
|
+
def SteeringPolicy(self, SteeringPolicy):
|
5511
|
+
self._SteeringPolicy = SteeringPolicy
|
5512
|
+
|
5513
|
+
@property
|
5514
|
+
def FailoverPolicy(self):
|
5515
|
+
return self._FailoverPolicy
|
5516
|
+
|
5517
|
+
@FailoverPolicy.setter
|
5518
|
+
def FailoverPolicy(self, FailoverPolicy):
|
5519
|
+
self._FailoverPolicy = FailoverPolicy
|
5520
|
+
|
5521
|
+
|
5522
|
+
def _deserialize(self, params):
|
5523
|
+
self._ZoneId = params.get("ZoneId")
|
5524
|
+
self._Name = params.get("Name")
|
5525
|
+
self._Type = params.get("Type")
|
5526
|
+
if params.get("OriginGroups") is not None:
|
5527
|
+
self._OriginGroups = []
|
5528
|
+
for item in params.get("OriginGroups"):
|
5529
|
+
obj = OriginGroupInLoadBalancer()
|
5530
|
+
obj._deserialize(item)
|
5531
|
+
self._OriginGroups.append(obj)
|
5532
|
+
if params.get("HealthChecker") is not None:
|
5533
|
+
self._HealthChecker = HealthChecker()
|
5534
|
+
self._HealthChecker._deserialize(params.get("HealthChecker"))
|
5535
|
+
self._SteeringPolicy = params.get("SteeringPolicy")
|
5536
|
+
self._FailoverPolicy = params.get("FailoverPolicy")
|
5537
|
+
memeber_set = set(params.keys())
|
5538
|
+
for name, value in vars(self).items():
|
5539
|
+
property_name = name[1:]
|
5540
|
+
if property_name in memeber_set:
|
5541
|
+
memeber_set.remove(property_name)
|
5542
|
+
if len(memeber_set) > 0:
|
5543
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
5544
|
+
|
5545
|
+
|
5546
|
+
|
5547
|
+
class CreateLoadBalancerResponse(AbstractModel):
|
5548
|
+
"""CreateLoadBalancer返回参数结构体
|
5549
|
+
|
5550
|
+
"""
|
5551
|
+
|
5552
|
+
def __init__(self):
|
5553
|
+
r"""
|
5554
|
+
:param _InstanceId: 负载均衡实例 ID。
|
5555
|
+
:type InstanceId: str
|
5556
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5557
|
+
:type RequestId: str
|
5558
|
+
"""
|
5559
|
+
self._InstanceId = None
|
5560
|
+
self._RequestId = None
|
5561
|
+
|
5562
|
+
@property
|
5563
|
+
def InstanceId(self):
|
5564
|
+
return self._InstanceId
|
5565
|
+
|
5566
|
+
@InstanceId.setter
|
5567
|
+
def InstanceId(self, InstanceId):
|
5568
|
+
self._InstanceId = InstanceId
|
5569
|
+
|
5570
|
+
@property
|
5571
|
+
def RequestId(self):
|
5572
|
+
return self._RequestId
|
5573
|
+
|
5574
|
+
@RequestId.setter
|
5575
|
+
def RequestId(self, RequestId):
|
5576
|
+
self._RequestId = RequestId
|
5577
|
+
|
5578
|
+
|
5579
|
+
def _deserialize(self, params):
|
5580
|
+
self._InstanceId = params.get("InstanceId")
|
5581
|
+
self._RequestId = params.get("RequestId")
|
5582
|
+
|
5583
|
+
|
5366
5584
|
class CreateOriginGroupRequest(AbstractModel):
|
5367
5585
|
"""CreateOriginGroup请求参数结构体
|
5368
5586
|
|
@@ -7036,6 +7254,53 @@ class CustomField(AbstractModel):
|
|
7036
7254
|
|
7037
7255
|
|
7038
7256
|
|
7257
|
+
class CustomizedHeader(AbstractModel):
|
7258
|
+
"""负载均衡实例 HTTP/HTTPS 健康检查策略下可配置的自定义头部。
|
7259
|
+
|
7260
|
+
"""
|
7261
|
+
|
7262
|
+
def __init__(self):
|
7263
|
+
r"""
|
7264
|
+
:param _Key: 自定义头部 Key。
|
7265
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7266
|
+
:type Key: str
|
7267
|
+
:param _Value: 自定义头部 Value。
|
7268
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7269
|
+
:type Value: str
|
7270
|
+
"""
|
7271
|
+
self._Key = None
|
7272
|
+
self._Value = None
|
7273
|
+
|
7274
|
+
@property
|
7275
|
+
def Key(self):
|
7276
|
+
return self._Key
|
7277
|
+
|
7278
|
+
@Key.setter
|
7279
|
+
def Key(self, Key):
|
7280
|
+
self._Key = Key
|
7281
|
+
|
7282
|
+
@property
|
7283
|
+
def Value(self):
|
7284
|
+
return self._Value
|
7285
|
+
|
7286
|
+
@Value.setter
|
7287
|
+
def Value(self, Value):
|
7288
|
+
self._Value = Value
|
7289
|
+
|
7290
|
+
|
7291
|
+
def _deserialize(self, params):
|
7292
|
+
self._Key = params.get("Key")
|
7293
|
+
self._Value = params.get("Value")
|
7294
|
+
memeber_set = set(params.keys())
|
7295
|
+
for name, value in vars(self).items():
|
7296
|
+
property_name = name[1:]
|
7297
|
+
if property_name in memeber_set:
|
7298
|
+
memeber_set.remove(property_name)
|
7299
|
+
if len(memeber_set) > 0:
|
7300
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
7301
|
+
|
7302
|
+
|
7303
|
+
|
7039
7304
|
class DDoS(AbstractModel):
|
7040
7305
|
"""DDoS配置
|
7041
7306
|
|
@@ -8184,6 +8449,76 @@ class DeleteL4ProxyRulesResponse(AbstractModel):
|
|
8184
8449
|
self._RequestId = params.get("RequestId")
|
8185
8450
|
|
8186
8451
|
|
8452
|
+
class DeleteLoadBalancerRequest(AbstractModel):
|
8453
|
+
"""DeleteLoadBalancer请求参数结构体
|
8454
|
+
|
8455
|
+
"""
|
8456
|
+
|
8457
|
+
def __init__(self):
|
8458
|
+
r"""
|
8459
|
+
:param _ZoneId: 站点 ID。
|
8460
|
+
:type ZoneId: str
|
8461
|
+
:param _InstanceId: 负载均衡实例 ID。
|
8462
|
+
:type InstanceId: str
|
8463
|
+
"""
|
8464
|
+
self._ZoneId = None
|
8465
|
+
self._InstanceId = None
|
8466
|
+
|
8467
|
+
@property
|
8468
|
+
def ZoneId(self):
|
8469
|
+
return self._ZoneId
|
8470
|
+
|
8471
|
+
@ZoneId.setter
|
8472
|
+
def ZoneId(self, ZoneId):
|
8473
|
+
self._ZoneId = ZoneId
|
8474
|
+
|
8475
|
+
@property
|
8476
|
+
def InstanceId(self):
|
8477
|
+
return self._InstanceId
|
8478
|
+
|
8479
|
+
@InstanceId.setter
|
8480
|
+
def InstanceId(self, InstanceId):
|
8481
|
+
self._InstanceId = InstanceId
|
8482
|
+
|
8483
|
+
|
8484
|
+
def _deserialize(self, params):
|
8485
|
+
self._ZoneId = params.get("ZoneId")
|
8486
|
+
self._InstanceId = params.get("InstanceId")
|
8487
|
+
memeber_set = set(params.keys())
|
8488
|
+
for name, value in vars(self).items():
|
8489
|
+
property_name = name[1:]
|
8490
|
+
if property_name in memeber_set:
|
8491
|
+
memeber_set.remove(property_name)
|
8492
|
+
if len(memeber_set) > 0:
|
8493
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
8494
|
+
|
8495
|
+
|
8496
|
+
|
8497
|
+
class DeleteLoadBalancerResponse(AbstractModel):
|
8498
|
+
"""DeleteLoadBalancer返回参数结构体
|
8499
|
+
|
8500
|
+
"""
|
8501
|
+
|
8502
|
+
def __init__(self):
|
8503
|
+
r"""
|
8504
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8505
|
+
:type RequestId: str
|
8506
|
+
"""
|
8507
|
+
self._RequestId = None
|
8508
|
+
|
8509
|
+
@property
|
8510
|
+
def RequestId(self):
|
8511
|
+
return self._RequestId
|
8512
|
+
|
8513
|
+
@RequestId.setter
|
8514
|
+
def RequestId(self, RequestId):
|
8515
|
+
self._RequestId = RequestId
|
8516
|
+
|
8517
|
+
|
8518
|
+
def _deserialize(self, params):
|
8519
|
+
self._RequestId = params.get("RequestId")
|
8520
|
+
|
8521
|
+
|
8187
8522
|
class DeleteOriginGroupRequest(AbstractModel):
|
8188
8523
|
"""DeleteOriginGroup请求参数结构体
|
8189
8524
|
|
@@ -11792,7 +12127,237 @@ class DescribeL4ProxyRulesResponse(AbstractModel):
|
|
11792
12127
|
self._RequestId = params.get("RequestId")
|
11793
12128
|
|
11794
12129
|
|
11795
|
-
class
|
12130
|
+
class DescribeLoadBalancerListRequest(AbstractModel):
|
12131
|
+
"""DescribeLoadBalancerList请求参数结构体
|
12132
|
+
|
12133
|
+
"""
|
12134
|
+
|
12135
|
+
def __init__(self):
|
12136
|
+
r"""
|
12137
|
+
:param _ZoneId: 站点 ID。
|
12138
|
+
:type ZoneId: str
|
12139
|
+
:param _Offset: 分页查询偏移量,默认为 0。
|
12140
|
+
:type Offset: int
|
12141
|
+
:param _Limit: 分页查询限制数目,默认值:20,最大值:100。
|
12142
|
+
:type Limit: int
|
12143
|
+
:param _Filters: 过滤条件,Filters.Values 的上限为 20。该参数不填写时,返回当前 zone-id 下所有负载均衡实例信息。详细的过滤条件如下:
|
12144
|
+
<li>InstanceName:按照负载均衡实例名称进行过滤;</li>
|
12145
|
+
<li>InstanceId:按照负载均衡实例 ID 进行过滤。</li>
|
12146
|
+
|
12147
|
+
:type Filters: list of Filter
|
12148
|
+
"""
|
12149
|
+
self._ZoneId = None
|
12150
|
+
self._Offset = None
|
12151
|
+
self._Limit = None
|
12152
|
+
self._Filters = None
|
12153
|
+
|
12154
|
+
@property
|
12155
|
+
def ZoneId(self):
|
12156
|
+
return self._ZoneId
|
12157
|
+
|
12158
|
+
@ZoneId.setter
|
12159
|
+
def ZoneId(self, ZoneId):
|
12160
|
+
self._ZoneId = ZoneId
|
12161
|
+
|
12162
|
+
@property
|
12163
|
+
def Offset(self):
|
12164
|
+
return self._Offset
|
12165
|
+
|
12166
|
+
@Offset.setter
|
12167
|
+
def Offset(self, Offset):
|
12168
|
+
self._Offset = Offset
|
12169
|
+
|
12170
|
+
@property
|
12171
|
+
def Limit(self):
|
12172
|
+
return self._Limit
|
12173
|
+
|
12174
|
+
@Limit.setter
|
12175
|
+
def Limit(self, Limit):
|
12176
|
+
self._Limit = Limit
|
12177
|
+
|
12178
|
+
@property
|
12179
|
+
def Filters(self):
|
12180
|
+
return self._Filters
|
12181
|
+
|
12182
|
+
@Filters.setter
|
12183
|
+
def Filters(self, Filters):
|
12184
|
+
self._Filters = Filters
|
12185
|
+
|
12186
|
+
|
12187
|
+
def _deserialize(self, params):
|
12188
|
+
self._ZoneId = params.get("ZoneId")
|
12189
|
+
self._Offset = params.get("Offset")
|
12190
|
+
self._Limit = params.get("Limit")
|
12191
|
+
if params.get("Filters") is not None:
|
12192
|
+
self._Filters = []
|
12193
|
+
for item in params.get("Filters"):
|
12194
|
+
obj = Filter()
|
12195
|
+
obj._deserialize(item)
|
12196
|
+
self._Filters.append(obj)
|
12197
|
+
memeber_set = set(params.keys())
|
12198
|
+
for name, value in vars(self).items():
|
12199
|
+
property_name = name[1:]
|
12200
|
+
if property_name in memeber_set:
|
12201
|
+
memeber_set.remove(property_name)
|
12202
|
+
if len(memeber_set) > 0:
|
12203
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
12204
|
+
|
12205
|
+
|
12206
|
+
|
12207
|
+
class DescribeLoadBalancerListResponse(AbstractModel):
|
12208
|
+
"""DescribeLoadBalancerList返回参数结构体
|
12209
|
+
|
12210
|
+
"""
|
12211
|
+
|
12212
|
+
def __init__(self):
|
12213
|
+
r"""
|
12214
|
+
:param _TotalCount: 负载均衡实例总数。
|
12215
|
+
:type TotalCount: int
|
12216
|
+
:param _LoadBalancerList: 负载均衡实例列表。
|
12217
|
+
:type LoadBalancerList: list of LoadBalancer
|
12218
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12219
|
+
:type RequestId: str
|
12220
|
+
"""
|
12221
|
+
self._TotalCount = None
|
12222
|
+
self._LoadBalancerList = None
|
12223
|
+
self._RequestId = None
|
12224
|
+
|
12225
|
+
@property
|
12226
|
+
def TotalCount(self):
|
12227
|
+
return self._TotalCount
|
12228
|
+
|
12229
|
+
@TotalCount.setter
|
12230
|
+
def TotalCount(self, TotalCount):
|
12231
|
+
self._TotalCount = TotalCount
|
12232
|
+
|
12233
|
+
@property
|
12234
|
+
def LoadBalancerList(self):
|
12235
|
+
return self._LoadBalancerList
|
12236
|
+
|
12237
|
+
@LoadBalancerList.setter
|
12238
|
+
def LoadBalancerList(self, LoadBalancerList):
|
12239
|
+
self._LoadBalancerList = LoadBalancerList
|
12240
|
+
|
12241
|
+
@property
|
12242
|
+
def RequestId(self):
|
12243
|
+
return self._RequestId
|
12244
|
+
|
12245
|
+
@RequestId.setter
|
12246
|
+
def RequestId(self, RequestId):
|
12247
|
+
self._RequestId = RequestId
|
12248
|
+
|
12249
|
+
|
12250
|
+
def _deserialize(self, params):
|
12251
|
+
self._TotalCount = params.get("TotalCount")
|
12252
|
+
if params.get("LoadBalancerList") is not None:
|
12253
|
+
self._LoadBalancerList = []
|
12254
|
+
for item in params.get("LoadBalancerList"):
|
12255
|
+
obj = LoadBalancer()
|
12256
|
+
obj._deserialize(item)
|
12257
|
+
self._LoadBalancerList.append(obj)
|
12258
|
+
self._RequestId = params.get("RequestId")
|
12259
|
+
|
12260
|
+
|
12261
|
+
class DescribeOriginGroupHealthStatusRequest(AbstractModel):
|
12262
|
+
"""DescribeOriginGroupHealthStatus请求参数结构体
|
12263
|
+
|
12264
|
+
"""
|
12265
|
+
|
12266
|
+
def __init__(self):
|
12267
|
+
r"""
|
12268
|
+
:param _ZoneId: 站点 ID。
|
12269
|
+
:type ZoneId: str
|
12270
|
+
:param _LBInstanceId: 负载均衡实例 ID。
|
12271
|
+
:type LBInstanceId: str
|
12272
|
+
:param _OriginGroupIds: 源站组 ID。不填写时默认获取负载均衡下所有源站组的健康状态。
|
12273
|
+
:type OriginGroupIds: list of str
|
12274
|
+
"""
|
12275
|
+
self._ZoneId = None
|
12276
|
+
self._LBInstanceId = None
|
12277
|
+
self._OriginGroupIds = None
|
12278
|
+
|
12279
|
+
@property
|
12280
|
+
def ZoneId(self):
|
12281
|
+
return self._ZoneId
|
12282
|
+
|
12283
|
+
@ZoneId.setter
|
12284
|
+
def ZoneId(self, ZoneId):
|
12285
|
+
self._ZoneId = ZoneId
|
12286
|
+
|
12287
|
+
@property
|
12288
|
+
def LBInstanceId(self):
|
12289
|
+
return self._LBInstanceId
|
12290
|
+
|
12291
|
+
@LBInstanceId.setter
|
12292
|
+
def LBInstanceId(self, LBInstanceId):
|
12293
|
+
self._LBInstanceId = LBInstanceId
|
12294
|
+
|
12295
|
+
@property
|
12296
|
+
def OriginGroupIds(self):
|
12297
|
+
return self._OriginGroupIds
|
12298
|
+
|
12299
|
+
@OriginGroupIds.setter
|
12300
|
+
def OriginGroupIds(self, OriginGroupIds):
|
12301
|
+
self._OriginGroupIds = OriginGroupIds
|
12302
|
+
|
12303
|
+
|
12304
|
+
def _deserialize(self, params):
|
12305
|
+
self._ZoneId = params.get("ZoneId")
|
12306
|
+
self._LBInstanceId = params.get("LBInstanceId")
|
12307
|
+
self._OriginGroupIds = params.get("OriginGroupIds")
|
12308
|
+
memeber_set = set(params.keys())
|
12309
|
+
for name, value in vars(self).items():
|
12310
|
+
property_name = name[1:]
|
12311
|
+
if property_name in memeber_set:
|
12312
|
+
memeber_set.remove(property_name)
|
12313
|
+
if len(memeber_set) > 0:
|
12314
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
12315
|
+
|
12316
|
+
|
12317
|
+
|
12318
|
+
class DescribeOriginGroupHealthStatusResponse(AbstractModel):
|
12319
|
+
"""DescribeOriginGroupHealthStatus返回参数结构体
|
12320
|
+
|
12321
|
+
"""
|
12322
|
+
|
12323
|
+
def __init__(self):
|
12324
|
+
r"""
|
12325
|
+
:param _OriginGroupHealthStatusList: 源站组下源站的健康状态。
|
12326
|
+
:type OriginGroupHealthStatusList: list of OriginGroupHealthStatusDetail
|
12327
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12328
|
+
:type RequestId: str
|
12329
|
+
"""
|
12330
|
+
self._OriginGroupHealthStatusList = None
|
12331
|
+
self._RequestId = None
|
12332
|
+
|
12333
|
+
@property
|
12334
|
+
def OriginGroupHealthStatusList(self):
|
12335
|
+
return self._OriginGroupHealthStatusList
|
12336
|
+
|
12337
|
+
@OriginGroupHealthStatusList.setter
|
12338
|
+
def OriginGroupHealthStatusList(self, OriginGroupHealthStatusList):
|
12339
|
+
self._OriginGroupHealthStatusList = OriginGroupHealthStatusList
|
12340
|
+
|
12341
|
+
@property
|
12342
|
+
def RequestId(self):
|
12343
|
+
return self._RequestId
|
12344
|
+
|
12345
|
+
@RequestId.setter
|
12346
|
+
def RequestId(self, RequestId):
|
12347
|
+
self._RequestId = RequestId
|
12348
|
+
|
12349
|
+
|
12350
|
+
def _deserialize(self, params):
|
12351
|
+
if params.get("OriginGroupHealthStatusList") is not None:
|
12352
|
+
self._OriginGroupHealthStatusList = []
|
12353
|
+
for item in params.get("OriginGroupHealthStatusList"):
|
12354
|
+
obj = OriginGroupHealthStatusDetail()
|
12355
|
+
obj._deserialize(item)
|
12356
|
+
self._OriginGroupHealthStatusList.append(obj)
|
12357
|
+
self._RequestId = params.get("RequestId")
|
12358
|
+
|
12359
|
+
|
12360
|
+
class DescribeOriginGroupRequest(AbstractModel):
|
11796
12361
|
"""DescribeOriginGroup请求参数结构体
|
11797
12362
|
|
11798
12363
|
"""
|
@@ -16134,7 +16699,7 @@ class FirstPartConfig(AbstractModel):
|
|
16134
16699
|
|
16135
16700
|
|
16136
16701
|
class FollowOrigin(AbstractModel):
|
16137
|
-
"""
|
16702
|
+
"""缓存遵循源站配置。
|
16138
16703
|
|
16139
16704
|
"""
|
16140
16705
|
|
@@ -16144,20 +16709,24 @@ class FollowOrigin(AbstractModel):
|
|
16144
16709
|
<li>on:开启;</li>
|
16145
16710
|
<li>off:关闭。</li>
|
16146
16711
|
:type Switch: str
|
16147
|
-
:param
|
16148
|
-
|
16149
|
-
|
16150
|
-
:param _DefaultCache: 源站未返回 Cache-Control 头时, 设置缓存/不缓存
|
16712
|
+
:param _DefaultCache: 源站未返回 Cache-Control 头时,缓存/不缓存开关。当 Switch 为 on 时,此字段必填,否则此字段不生效。取值有:
|
16713
|
+
<li>on:缓存;</li>
|
16714
|
+
<li>off:不缓存。</li>
|
16151
16715
|
注意:此字段可能返回 null,表示取不到有效值。
|
16152
16716
|
:type DefaultCache: str
|
16153
|
-
:param _DefaultCacheStrategy: 源站未返回 Cache-Control
|
16717
|
+
:param _DefaultCacheStrategy: 源站未返回 Cache-Control 头时,使用/不使用默认缓存策略开关。当 DefaultCache 为 on 时,此字段必填,否则此字段不生效;当 DefaultCacheTime 不为 0 时,此字段必须为 off。取值有:
|
16718
|
+
<li>on:使用默认缓存策略;</li>
|
16719
|
+
<li>off:不使用默认缓存策略。</li>
|
16154
16720
|
注意:此字段可能返回 null,表示取不到有效值。
|
16155
16721
|
:type DefaultCacheStrategy: str
|
16722
|
+
:param _DefaultCacheTime: 源站未返回 Cache-Control 头时,表示默认的缓存时间,单位为秒,取值:0~315360000。当 DefaultCache 为 on 时,此字段必填,否则此字段不生效;当 DefaultCacheStrategy 为 on 时, 此字段必须为 0。
|
16723
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16724
|
+
:type DefaultCacheTime: int
|
16156
16725
|
"""
|
16157
16726
|
self._Switch = None
|
16158
|
-
self._DefaultCacheTime = None
|
16159
16727
|
self._DefaultCache = None
|
16160
16728
|
self._DefaultCacheStrategy = None
|
16729
|
+
self._DefaultCacheTime = None
|
16161
16730
|
|
16162
16731
|
@property
|
16163
16732
|
def Switch(self):
|
@@ -16167,14 +16736,6 @@ class FollowOrigin(AbstractModel):
|
|
16167
16736
|
def Switch(self, Switch):
|
16168
16737
|
self._Switch = Switch
|
16169
16738
|
|
16170
|
-
@property
|
16171
|
-
def DefaultCacheTime(self):
|
16172
|
-
return self._DefaultCacheTime
|
16173
|
-
|
16174
|
-
@DefaultCacheTime.setter
|
16175
|
-
def DefaultCacheTime(self, DefaultCacheTime):
|
16176
|
-
self._DefaultCacheTime = DefaultCacheTime
|
16177
|
-
|
16178
16739
|
@property
|
16179
16740
|
def DefaultCache(self):
|
16180
16741
|
return self._DefaultCache
|
@@ -16191,12 +16752,20 @@ class FollowOrigin(AbstractModel):
|
|
16191
16752
|
def DefaultCacheStrategy(self, DefaultCacheStrategy):
|
16192
16753
|
self._DefaultCacheStrategy = DefaultCacheStrategy
|
16193
16754
|
|
16755
|
+
@property
|
16756
|
+
def DefaultCacheTime(self):
|
16757
|
+
return self._DefaultCacheTime
|
16758
|
+
|
16759
|
+
@DefaultCacheTime.setter
|
16760
|
+
def DefaultCacheTime(self, DefaultCacheTime):
|
16761
|
+
self._DefaultCacheTime = DefaultCacheTime
|
16762
|
+
|
16194
16763
|
|
16195
16764
|
def _deserialize(self, params):
|
16196
16765
|
self._Switch = params.get("Switch")
|
16197
|
-
self._DefaultCacheTime = params.get("DefaultCacheTime")
|
16198
16766
|
self._DefaultCache = params.get("DefaultCache")
|
16199
16767
|
self._DefaultCacheStrategy = params.get("DefaultCacheStrategy")
|
16768
|
+
self._DefaultCacheTime = params.get("DefaultCacheTime")
|
16200
16769
|
memeber_set = set(params.keys())
|
16201
16770
|
for name, value in vars(self).items():
|
16202
16771
|
property_name = name[1:]
|
@@ -16208,7 +16777,7 @@ class FollowOrigin(AbstractModel):
|
|
16208
16777
|
|
16209
16778
|
|
16210
16779
|
class ForceRedirect(AbstractModel):
|
16211
|
-
"""访问协议强制
|
16780
|
+
"""访问协议强制 HTTPS 跳转配置。
|
16212
16781
|
|
16213
16782
|
"""
|
16214
16783
|
|
@@ -16776,55 +17345,247 @@ class Header(AbstractModel):
|
|
16776
17345
|
|
16777
17346
|
|
16778
17347
|
|
16779
|
-
class
|
16780
|
-
"""
|
17348
|
+
class HealthChecker(AbstractModel):
|
17349
|
+
"""负载均衡实例健康检查策略。
|
16781
17350
|
|
16782
17351
|
"""
|
16783
17352
|
|
16784
17353
|
def __init__(self):
|
16785
17354
|
r"""
|
16786
|
-
:param
|
16787
|
-
<li>
|
16788
|
-
<li>
|
16789
|
-
|
16790
|
-
|
16791
|
-
|
16792
|
-
|
16793
|
-
|
16794
|
-
|
16795
|
-
|
16796
|
-
|
16797
|
-
:
|
16798
|
-
:
|
16799
|
-
|
16800
|
-
|
16801
|
-
|
16802
|
-
:type
|
17355
|
+
:param _Type: 健康检查策略,取值有:
|
17356
|
+
<li>HTTP;</li>
|
17357
|
+
<li>HTTPS;</li>
|
17358
|
+
<li>TCP;</li>
|
17359
|
+
<li>UDP;</li>
|
17360
|
+
<li>ICMP Ping;</li>
|
17361
|
+
<li>NoCheck。</li>
|
17362
|
+
注意:NoCheck 表示不启用健康检查策略。
|
17363
|
+
:type Type: str
|
17364
|
+
:param _Port: 检查端口。当 Type=HTTP 或 Type=HTTPS 或 Type=TCP 或 Type=UDP 时为必填。
|
17365
|
+
:type Port: int
|
17366
|
+
:param _Interval: 检查频率,表示多久发起一次健康检查任务,单位为秒。可取值有:30,60,180,300 或 600。
|
17367
|
+
:type Interval: int
|
17368
|
+
:param _Timeout: 每一次健康检查的超时时间,若健康检查消耗时间大于此值,则检查结果判定为”不健康“, 单位为秒,默认值为 5s,取值必须小于 Interval。
|
17369
|
+
:type Timeout: int
|
17370
|
+
:param _HealthThreshold: 健康阈值,表示连续几次健康检查结果为"健康",则判断源站为"健康",单位为次,默认 3 次,最小取值 1 次。
|
17371
|
+
:type HealthThreshold: int
|
17372
|
+
:param _CriticalThreshold: 不健康阈值,表示连续几次健康检查结果为"不健康",则判断源站为"不健康",单位为次,默认 2 次。
|
17373
|
+
:type CriticalThreshold: int
|
17374
|
+
:param _Path: 该参数仅当 Type=HTTP 或 Type=HTTPS 时有效,表示探测路径,需要填写完整的 host/path,不包含协议部分,例如:www.example.com/test。
|
17375
|
+
|
17376
|
+
:type Path: str
|
17377
|
+
:param _Method: 该参数仅当 Type=HTTP 或 Type=HTTPS 时有效,表示请求方法,取值有:
|
17378
|
+
<li>GET;</li>
|
17379
|
+
<li>HEAD。</li>
|
17380
|
+
:type Method: str
|
17381
|
+
:param _ExpectedCodes: 该参数仅当 Type=HTTP 或 Type=HTTPS 时有效,表示探测节点向源站发起健康检查时,响应哪些状态码可用于认定探测结果为健康。
|
17382
|
+
:type ExpectedCodes: list of str
|
17383
|
+
:param _Headers: 该参数仅当 Type=HTTP 或 Type=HTTPS 时有效,表示探测请求携带的自定义 HTTP 请求头,至多可配置 10 个。
|
17384
|
+
:type Headers: list of CustomizedHeader
|
17385
|
+
:param _FollowRedirect: 该参数仅当 Type=HTTP 或 Type=HTTPS 时有效,表示是否启用遵循 301/302 重定向。启用后,301/302 默认为"健康"的状态码,默认跳转 3 次。
|
17386
|
+
:type FollowRedirect: str
|
17387
|
+
:param _SendContext: 该参数仅当 Type=UDP 时有效,表示健康检查发送的内容。只允许 ASCII 可见字符,最大长度限制 500 个字符。
|
17388
|
+
:type SendContext: str
|
17389
|
+
:param _RecvContext: 该参数仅当 Type=UDP 时有效,表示健康检查期望源站返回结果。只允许 ASCII 可见字符,最大长度限制 500 个字符。
|
17390
|
+
:type RecvContext: str
|
16803
17391
|
"""
|
16804
|
-
self.
|
16805
|
-
self.
|
16806
|
-
self.
|
16807
|
-
self.
|
17392
|
+
self._Type = None
|
17393
|
+
self._Port = None
|
17394
|
+
self._Interval = None
|
17395
|
+
self._Timeout = None
|
17396
|
+
self._HealthThreshold = None
|
17397
|
+
self._CriticalThreshold = None
|
17398
|
+
self._Path = None
|
17399
|
+
self._Method = None
|
17400
|
+
self._ExpectedCodes = None
|
17401
|
+
self._Headers = None
|
17402
|
+
self._FollowRedirect = None
|
17403
|
+
self._SendContext = None
|
17404
|
+
self._RecvContext = None
|
16808
17405
|
|
16809
17406
|
@property
|
16810
|
-
def
|
16811
|
-
return self.
|
17407
|
+
def Type(self):
|
17408
|
+
return self._Type
|
16812
17409
|
|
16813
|
-
@
|
16814
|
-
def
|
16815
|
-
self.
|
17410
|
+
@Type.setter
|
17411
|
+
def Type(self, Type):
|
17412
|
+
self._Type = Type
|
16816
17413
|
|
16817
17414
|
@property
|
16818
|
-
def
|
16819
|
-
return self.
|
17415
|
+
def Port(self):
|
17416
|
+
return self._Port
|
16820
17417
|
|
16821
|
-
@
|
16822
|
-
def
|
16823
|
-
self.
|
17418
|
+
@Port.setter
|
17419
|
+
def Port(self, Port):
|
17420
|
+
self._Port = Port
|
16824
17421
|
|
16825
17422
|
@property
|
16826
|
-
def
|
16827
|
-
return self.
|
17423
|
+
def Interval(self):
|
17424
|
+
return self._Interval
|
17425
|
+
|
17426
|
+
@Interval.setter
|
17427
|
+
def Interval(self, Interval):
|
17428
|
+
self._Interval = Interval
|
17429
|
+
|
17430
|
+
@property
|
17431
|
+
def Timeout(self):
|
17432
|
+
return self._Timeout
|
17433
|
+
|
17434
|
+
@Timeout.setter
|
17435
|
+
def Timeout(self, Timeout):
|
17436
|
+
self._Timeout = Timeout
|
17437
|
+
|
17438
|
+
@property
|
17439
|
+
def HealthThreshold(self):
|
17440
|
+
return self._HealthThreshold
|
17441
|
+
|
17442
|
+
@HealthThreshold.setter
|
17443
|
+
def HealthThreshold(self, HealthThreshold):
|
17444
|
+
self._HealthThreshold = HealthThreshold
|
17445
|
+
|
17446
|
+
@property
|
17447
|
+
def CriticalThreshold(self):
|
17448
|
+
return self._CriticalThreshold
|
17449
|
+
|
17450
|
+
@CriticalThreshold.setter
|
17451
|
+
def CriticalThreshold(self, CriticalThreshold):
|
17452
|
+
self._CriticalThreshold = CriticalThreshold
|
17453
|
+
|
17454
|
+
@property
|
17455
|
+
def Path(self):
|
17456
|
+
return self._Path
|
17457
|
+
|
17458
|
+
@Path.setter
|
17459
|
+
def Path(self, Path):
|
17460
|
+
self._Path = Path
|
17461
|
+
|
17462
|
+
@property
|
17463
|
+
def Method(self):
|
17464
|
+
return self._Method
|
17465
|
+
|
17466
|
+
@Method.setter
|
17467
|
+
def Method(self, Method):
|
17468
|
+
self._Method = Method
|
17469
|
+
|
17470
|
+
@property
|
17471
|
+
def ExpectedCodes(self):
|
17472
|
+
return self._ExpectedCodes
|
17473
|
+
|
17474
|
+
@ExpectedCodes.setter
|
17475
|
+
def ExpectedCodes(self, ExpectedCodes):
|
17476
|
+
self._ExpectedCodes = ExpectedCodes
|
17477
|
+
|
17478
|
+
@property
|
17479
|
+
def Headers(self):
|
17480
|
+
return self._Headers
|
17481
|
+
|
17482
|
+
@Headers.setter
|
17483
|
+
def Headers(self, Headers):
|
17484
|
+
self._Headers = Headers
|
17485
|
+
|
17486
|
+
@property
|
17487
|
+
def FollowRedirect(self):
|
17488
|
+
return self._FollowRedirect
|
17489
|
+
|
17490
|
+
@FollowRedirect.setter
|
17491
|
+
def FollowRedirect(self, FollowRedirect):
|
17492
|
+
self._FollowRedirect = FollowRedirect
|
17493
|
+
|
17494
|
+
@property
|
17495
|
+
def SendContext(self):
|
17496
|
+
return self._SendContext
|
17497
|
+
|
17498
|
+
@SendContext.setter
|
17499
|
+
def SendContext(self, SendContext):
|
17500
|
+
self._SendContext = SendContext
|
17501
|
+
|
17502
|
+
@property
|
17503
|
+
def RecvContext(self):
|
17504
|
+
return self._RecvContext
|
17505
|
+
|
17506
|
+
@RecvContext.setter
|
17507
|
+
def RecvContext(self, RecvContext):
|
17508
|
+
self._RecvContext = RecvContext
|
17509
|
+
|
17510
|
+
|
17511
|
+
def _deserialize(self, params):
|
17512
|
+
self._Type = params.get("Type")
|
17513
|
+
self._Port = params.get("Port")
|
17514
|
+
self._Interval = params.get("Interval")
|
17515
|
+
self._Timeout = params.get("Timeout")
|
17516
|
+
self._HealthThreshold = params.get("HealthThreshold")
|
17517
|
+
self._CriticalThreshold = params.get("CriticalThreshold")
|
17518
|
+
self._Path = params.get("Path")
|
17519
|
+
self._Method = params.get("Method")
|
17520
|
+
self._ExpectedCodes = params.get("ExpectedCodes")
|
17521
|
+
if params.get("Headers") is not None:
|
17522
|
+
self._Headers = []
|
17523
|
+
for item in params.get("Headers"):
|
17524
|
+
obj = CustomizedHeader()
|
17525
|
+
obj._deserialize(item)
|
17526
|
+
self._Headers.append(obj)
|
17527
|
+
self._FollowRedirect = params.get("FollowRedirect")
|
17528
|
+
self._SendContext = params.get("SendContext")
|
17529
|
+
self._RecvContext = params.get("RecvContext")
|
17530
|
+
memeber_set = set(params.keys())
|
17531
|
+
for name, value in vars(self).items():
|
17532
|
+
property_name = name[1:]
|
17533
|
+
if property_name in memeber_set:
|
17534
|
+
memeber_set.remove(property_name)
|
17535
|
+
if len(memeber_set) > 0:
|
17536
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
17537
|
+
|
17538
|
+
|
17539
|
+
|
17540
|
+
class Hsts(AbstractModel):
|
17541
|
+
"""Hsts配置
|
17542
|
+
|
17543
|
+
"""
|
17544
|
+
|
17545
|
+
def __init__(self):
|
17546
|
+
r"""
|
17547
|
+
:param _Switch: 是否开启,取值有:
|
17548
|
+
<li>on:开启;</li>
|
17549
|
+
<li>off:关闭。</li>
|
17550
|
+
:type Switch: str
|
17551
|
+
:param _MaxAge: MaxAge 数值。单位为秒,最大值为1天。
|
17552
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
17553
|
+
:type MaxAge: int
|
17554
|
+
:param _IncludeSubDomains: 是否包含子域名,取值有:
|
17555
|
+
<li>on:开启;</li>
|
17556
|
+
<li>off:关闭。</li>
|
17557
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
17558
|
+
:type IncludeSubDomains: str
|
17559
|
+
:param _Preload: 是否开启预加载,取值有:
|
17560
|
+
<li>on:开启;</li>
|
17561
|
+
<li>off:关闭。</li>
|
17562
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
17563
|
+
:type Preload: str
|
17564
|
+
"""
|
17565
|
+
self._Switch = None
|
17566
|
+
self._MaxAge = None
|
17567
|
+
self._IncludeSubDomains = None
|
17568
|
+
self._Preload = None
|
17569
|
+
|
17570
|
+
@property
|
17571
|
+
def Switch(self):
|
17572
|
+
return self._Switch
|
17573
|
+
|
17574
|
+
@Switch.setter
|
17575
|
+
def Switch(self, Switch):
|
17576
|
+
self._Switch = Switch
|
17577
|
+
|
17578
|
+
@property
|
17579
|
+
def MaxAge(self):
|
17580
|
+
return self._MaxAge
|
17581
|
+
|
17582
|
+
@MaxAge.setter
|
17583
|
+
def MaxAge(self, MaxAge):
|
17584
|
+
self._MaxAge = MaxAge
|
17585
|
+
|
17586
|
+
@property
|
17587
|
+
def IncludeSubDomains(self):
|
17588
|
+
return self._IncludeSubDomains
|
16828
17589
|
|
16829
17590
|
@IncludeSubDomains.setter
|
16830
17591
|
def IncludeSubDomains(self, IncludeSubDomains):
|
@@ -17806,6 +18567,41 @@ class Ipv6(AbstractModel):
|
|
17806
18567
|
|
17807
18568
|
|
17808
18569
|
|
18570
|
+
class JITVideoProcess(AbstractModel):
|
18571
|
+
"""视频即时处理配置
|
18572
|
+
|
18573
|
+
"""
|
18574
|
+
|
18575
|
+
def __init__(self):
|
18576
|
+
r"""
|
18577
|
+
:param _Switch: 视频即时处理配置开关,取值有:
|
18578
|
+
<li>on:开启;</li>
|
18579
|
+
<li>off:关闭。</li>
|
18580
|
+
:type Switch: str
|
18581
|
+
"""
|
18582
|
+
self._Switch = None
|
18583
|
+
|
18584
|
+
@property
|
18585
|
+
def Switch(self):
|
18586
|
+
return self._Switch
|
18587
|
+
|
18588
|
+
@Switch.setter
|
18589
|
+
def Switch(self, Switch):
|
18590
|
+
self._Switch = Switch
|
18591
|
+
|
18592
|
+
|
18593
|
+
def _deserialize(self, params):
|
18594
|
+
self._Switch = params.get("Switch")
|
18595
|
+
memeber_set = set(params.keys())
|
18596
|
+
for name, value in vars(self).items():
|
18597
|
+
property_name = name[1:]
|
18598
|
+
if property_name in memeber_set:
|
18599
|
+
memeber_set.remove(property_name)
|
18600
|
+
if len(memeber_set) > 0:
|
18601
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
18602
|
+
|
18603
|
+
|
18604
|
+
|
17809
18605
|
class L4OfflineLog(AbstractModel):
|
17810
18606
|
"""离线日志详细信息
|
17811
18607
|
|
@@ -18516,6 +19312,162 @@ class L7OfflineLog(AbstractModel):
|
|
18516
19312
|
|
18517
19313
|
|
18518
19314
|
|
19315
|
+
class LoadBalancer(AbstractModel):
|
19316
|
+
"""负载均衡实例信息。
|
19317
|
+
|
19318
|
+
"""
|
19319
|
+
|
19320
|
+
def __init__(self):
|
19321
|
+
r"""
|
19322
|
+
:param _InstanceId: 实例 ID。
|
19323
|
+
:type InstanceId: str
|
19324
|
+
:param _Name: 实例名称,可输入 1-200 个字符,允许字符为 a-z,A-Z,0-9,_,-。
|
19325
|
+
:type Name: str
|
19326
|
+
:param _Type: 实例类型,取值有:
|
19327
|
+
<li>HTTP:HTTP 专用型,支持添加 HTTP 专用型和通用型源站组,仅支持被站点加速相关服务引用(如域名服务和规则引擎);</li>
|
19328
|
+
<li>GENERAL:通用型,仅支持添加通用型源站组,能被站点加速服务(如域名服务和规则引擎)和四层代理引用。</li>
|
19329
|
+
:type Type: str
|
19330
|
+
:param _HealthChecker: 健康检查策略。详情请参考 [健康检查策略介绍](https://cloud.tencent.com/document/product/1552/104228)。
|
19331
|
+
:type HealthChecker: :class:`tencentcloud.teo.v20220901.models.HealthChecker`
|
19332
|
+
:param _SteeringPolicy: 源站组间的流量调度策略,取值有:
|
19333
|
+
<li>Pritory:按优先级顺序进行故障转移 。</li>
|
19334
|
+
:type SteeringPolicy: str
|
19335
|
+
:param _FailoverPolicy: 实际访问某源站失败时的请求重试策略,详情请参考 [请求重试策略介绍](https://cloud.tencent.com/document/product/1552/104227),取值有:
|
19336
|
+
<li>OtherOriginGroup:单次请求失败后,请求优先重试下一优先级源站组;</li>
|
19337
|
+
<li>OtherRecordInOriginGroup:单次请求失败后,请求优先重试同源站组内的其他源站。</li>
|
19338
|
+
:type FailoverPolicy: str
|
19339
|
+
:param _OriginGroupHealthStatus: 源站组健康状态。
|
19340
|
+
:type OriginGroupHealthStatus: list of OriginGroupHealthStatus
|
19341
|
+
:param _Status: 负载均衡状态,取值有:
|
19342
|
+
<li>Pending:部署中;</li>
|
19343
|
+
<li>Deleting:删除中;</li>
|
19344
|
+
<li>Running:已生效。</li>
|
19345
|
+
:type Status: str
|
19346
|
+
:param _L4UsedList: 该负载均衡实例绑的定四层层代理实例的列表。
|
19347
|
+
:type L4UsedList: list of str
|
19348
|
+
:param _L7UsedList: 该负载均衡实例绑定的七层域名列表。
|
19349
|
+
:type L7UsedList: list of str
|
19350
|
+
"""
|
19351
|
+
self._InstanceId = None
|
19352
|
+
self._Name = None
|
19353
|
+
self._Type = None
|
19354
|
+
self._HealthChecker = None
|
19355
|
+
self._SteeringPolicy = None
|
19356
|
+
self._FailoverPolicy = None
|
19357
|
+
self._OriginGroupHealthStatus = None
|
19358
|
+
self._Status = None
|
19359
|
+
self._L4UsedList = None
|
19360
|
+
self._L7UsedList = None
|
19361
|
+
|
19362
|
+
@property
|
19363
|
+
def InstanceId(self):
|
19364
|
+
return self._InstanceId
|
19365
|
+
|
19366
|
+
@InstanceId.setter
|
19367
|
+
def InstanceId(self, InstanceId):
|
19368
|
+
self._InstanceId = InstanceId
|
19369
|
+
|
19370
|
+
@property
|
19371
|
+
def Name(self):
|
19372
|
+
return self._Name
|
19373
|
+
|
19374
|
+
@Name.setter
|
19375
|
+
def Name(self, Name):
|
19376
|
+
self._Name = Name
|
19377
|
+
|
19378
|
+
@property
|
19379
|
+
def Type(self):
|
19380
|
+
return self._Type
|
19381
|
+
|
19382
|
+
@Type.setter
|
19383
|
+
def Type(self, Type):
|
19384
|
+
self._Type = Type
|
19385
|
+
|
19386
|
+
@property
|
19387
|
+
def HealthChecker(self):
|
19388
|
+
return self._HealthChecker
|
19389
|
+
|
19390
|
+
@HealthChecker.setter
|
19391
|
+
def HealthChecker(self, HealthChecker):
|
19392
|
+
self._HealthChecker = HealthChecker
|
19393
|
+
|
19394
|
+
@property
|
19395
|
+
def SteeringPolicy(self):
|
19396
|
+
return self._SteeringPolicy
|
19397
|
+
|
19398
|
+
@SteeringPolicy.setter
|
19399
|
+
def SteeringPolicy(self, SteeringPolicy):
|
19400
|
+
self._SteeringPolicy = SteeringPolicy
|
19401
|
+
|
19402
|
+
@property
|
19403
|
+
def FailoverPolicy(self):
|
19404
|
+
return self._FailoverPolicy
|
19405
|
+
|
19406
|
+
@FailoverPolicy.setter
|
19407
|
+
def FailoverPolicy(self, FailoverPolicy):
|
19408
|
+
self._FailoverPolicy = FailoverPolicy
|
19409
|
+
|
19410
|
+
@property
|
19411
|
+
def OriginGroupHealthStatus(self):
|
19412
|
+
return self._OriginGroupHealthStatus
|
19413
|
+
|
19414
|
+
@OriginGroupHealthStatus.setter
|
19415
|
+
def OriginGroupHealthStatus(self, OriginGroupHealthStatus):
|
19416
|
+
self._OriginGroupHealthStatus = OriginGroupHealthStatus
|
19417
|
+
|
19418
|
+
@property
|
19419
|
+
def Status(self):
|
19420
|
+
return self._Status
|
19421
|
+
|
19422
|
+
@Status.setter
|
19423
|
+
def Status(self, Status):
|
19424
|
+
self._Status = Status
|
19425
|
+
|
19426
|
+
@property
|
19427
|
+
def L4UsedList(self):
|
19428
|
+
return self._L4UsedList
|
19429
|
+
|
19430
|
+
@L4UsedList.setter
|
19431
|
+
def L4UsedList(self, L4UsedList):
|
19432
|
+
self._L4UsedList = L4UsedList
|
19433
|
+
|
19434
|
+
@property
|
19435
|
+
def L7UsedList(self):
|
19436
|
+
return self._L7UsedList
|
19437
|
+
|
19438
|
+
@L7UsedList.setter
|
19439
|
+
def L7UsedList(self, L7UsedList):
|
19440
|
+
self._L7UsedList = L7UsedList
|
19441
|
+
|
19442
|
+
|
19443
|
+
def _deserialize(self, params):
|
19444
|
+
self._InstanceId = params.get("InstanceId")
|
19445
|
+
self._Name = params.get("Name")
|
19446
|
+
self._Type = params.get("Type")
|
19447
|
+
if params.get("HealthChecker") is not None:
|
19448
|
+
self._HealthChecker = HealthChecker()
|
19449
|
+
self._HealthChecker._deserialize(params.get("HealthChecker"))
|
19450
|
+
self._SteeringPolicy = params.get("SteeringPolicy")
|
19451
|
+
self._FailoverPolicy = params.get("FailoverPolicy")
|
19452
|
+
if params.get("OriginGroupHealthStatus") is not None:
|
19453
|
+
self._OriginGroupHealthStatus = []
|
19454
|
+
for item in params.get("OriginGroupHealthStatus"):
|
19455
|
+
obj = OriginGroupHealthStatus()
|
19456
|
+
obj._deserialize(item)
|
19457
|
+
self._OriginGroupHealthStatus.append(obj)
|
19458
|
+
self._Status = params.get("Status")
|
19459
|
+
self._L4UsedList = params.get("L4UsedList")
|
19460
|
+
self._L7UsedList = params.get("L7UsedList")
|
19461
|
+
memeber_set = set(params.keys())
|
19462
|
+
for name, value in vars(self).items():
|
19463
|
+
property_name = name[1:]
|
19464
|
+
if property_name in memeber_set:
|
19465
|
+
memeber_set.remove(property_name)
|
19466
|
+
if len(memeber_set) > 0:
|
19467
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
19468
|
+
|
19469
|
+
|
19470
|
+
|
18519
19471
|
class LogFormat(AbstractModel):
|
18520
19472
|
"""实时日志投递的输出格式。您可以直接通过 FormatType 参数使用指定预设日志输出格式(JSON Lines / csv),也可以在预设日志输出格式基础上,通过其他参数来自定义变体输出格式。
|
18521
19473
|
|
@@ -20043,15 +20995,14 @@ class ModifyHostsCertificateRequest(AbstractModel):
|
|
20043
20995
|
<li>sslcert:配置 SSL 托管服务端证书;</li>
|
20044
20996
|
不填写表示服务端证书保持原有配置。
|
20045
20997
|
:type Mode: str
|
20046
|
-
:param _ServerCertInfo: SSL 证书配置,本参数仅在 mode 为 sslcert 时生效,传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/
|
20998
|
+
:param _ServerCertInfo: SSL 证书配置,本参数仅在 mode 为 sslcert 时生效,传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/ssl) 查看 CertId。
|
20047
20999
|
:type ServerCertInfo: list of ServerCertInfo
|
20048
21000
|
:param _ApplyType: 托管类型,取值有:
|
20049
21001
|
<li>none:不托管EO;</li>
|
20050
21002
|
<li>apply:托管EO</li>
|
20051
21003
|
不填,默认取值为none。
|
20052
21004
|
:type ApplyType: str
|
20053
|
-
:param _ClientCertInfo:
|
20054
|
-
不填写表示边缘双向认证保持原有配置。
|
21005
|
+
:param _ClientCertInfo: 在边缘双向认证场景下,该字段为客户端的 CA 证书,部署在 EO 的入口侧,用于客户端对 EO 节点进行认证。不填写表示保持原有配置。
|
20055
21006
|
:type ClientCertInfo: :class:`tencentcloud.teo.v20220901.models.MutualTLS`
|
20056
21007
|
"""
|
20057
21008
|
self._ZoneId = None
|
@@ -20370,7 +21321,100 @@ class ModifyL4ProxyRulesStatusRequest(AbstractModel):
|
|
20370
21321
|
"""
|
20371
21322
|
self._ZoneId = None
|
20372
21323
|
self._ProxyId = None
|
20373
|
-
self._RuleIds = None
|
21324
|
+
self._RuleIds = None
|
21325
|
+
self._Status = None
|
21326
|
+
|
21327
|
+
@property
|
21328
|
+
def ZoneId(self):
|
21329
|
+
return self._ZoneId
|
21330
|
+
|
21331
|
+
@ZoneId.setter
|
21332
|
+
def ZoneId(self, ZoneId):
|
21333
|
+
self._ZoneId = ZoneId
|
21334
|
+
|
21335
|
+
@property
|
21336
|
+
def ProxyId(self):
|
21337
|
+
return self._ProxyId
|
21338
|
+
|
21339
|
+
@ProxyId.setter
|
21340
|
+
def ProxyId(self, ProxyId):
|
21341
|
+
self._ProxyId = ProxyId
|
21342
|
+
|
21343
|
+
@property
|
21344
|
+
def RuleIds(self):
|
21345
|
+
return self._RuleIds
|
21346
|
+
|
21347
|
+
@RuleIds.setter
|
21348
|
+
def RuleIds(self, RuleIds):
|
21349
|
+
self._RuleIds = RuleIds
|
21350
|
+
|
21351
|
+
@property
|
21352
|
+
def Status(self):
|
21353
|
+
return self._Status
|
21354
|
+
|
21355
|
+
@Status.setter
|
21356
|
+
def Status(self, Status):
|
21357
|
+
self._Status = Status
|
21358
|
+
|
21359
|
+
|
21360
|
+
def _deserialize(self, params):
|
21361
|
+
self._ZoneId = params.get("ZoneId")
|
21362
|
+
self._ProxyId = params.get("ProxyId")
|
21363
|
+
self._RuleIds = params.get("RuleIds")
|
21364
|
+
self._Status = params.get("Status")
|
21365
|
+
memeber_set = set(params.keys())
|
21366
|
+
for name, value in vars(self).items():
|
21367
|
+
property_name = name[1:]
|
21368
|
+
if property_name in memeber_set:
|
21369
|
+
memeber_set.remove(property_name)
|
21370
|
+
if len(memeber_set) > 0:
|
21371
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
21372
|
+
|
21373
|
+
|
21374
|
+
|
21375
|
+
class ModifyL4ProxyRulesStatusResponse(AbstractModel):
|
21376
|
+
"""ModifyL4ProxyRulesStatus返回参数结构体
|
21377
|
+
|
21378
|
+
"""
|
21379
|
+
|
21380
|
+
def __init__(self):
|
21381
|
+
r"""
|
21382
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
21383
|
+
:type RequestId: str
|
21384
|
+
"""
|
21385
|
+
self._RequestId = None
|
21386
|
+
|
21387
|
+
@property
|
21388
|
+
def RequestId(self):
|
21389
|
+
return self._RequestId
|
21390
|
+
|
21391
|
+
@RequestId.setter
|
21392
|
+
def RequestId(self, RequestId):
|
21393
|
+
self._RequestId = RequestId
|
21394
|
+
|
21395
|
+
|
21396
|
+
def _deserialize(self, params):
|
21397
|
+
self._RequestId = params.get("RequestId")
|
21398
|
+
|
21399
|
+
|
21400
|
+
class ModifyL4ProxyStatusRequest(AbstractModel):
|
21401
|
+
"""ModifyL4ProxyStatus请求参数结构体
|
21402
|
+
|
21403
|
+
"""
|
21404
|
+
|
21405
|
+
def __init__(self):
|
21406
|
+
r"""
|
21407
|
+
:param _ZoneId: 站点 ID。
|
21408
|
+
:type ZoneId: str
|
21409
|
+
:param _ProxyId: 四层代理实例 ID。
|
21410
|
+
:type ProxyId: str
|
21411
|
+
:param _Status: 四层代理实例状态,取值有:
|
21412
|
+
<li>online:启用;</li>
|
21413
|
+
<li>offline:停用。</li>
|
21414
|
+
:type Status: str
|
21415
|
+
"""
|
21416
|
+
self._ZoneId = None
|
21417
|
+
self._ProxyId = None
|
20374
21418
|
self._Status = None
|
20375
21419
|
|
20376
21420
|
@property
|
@@ -20389,14 +21433,6 @@ class ModifyL4ProxyRulesStatusRequest(AbstractModel):
|
|
20389
21433
|
def ProxyId(self, ProxyId):
|
20390
21434
|
self._ProxyId = ProxyId
|
20391
21435
|
|
20392
|
-
@property
|
20393
|
-
def RuleIds(self):
|
20394
|
-
return self._RuleIds
|
20395
|
-
|
20396
|
-
@RuleIds.setter
|
20397
|
-
def RuleIds(self, RuleIds):
|
20398
|
-
self._RuleIds = RuleIds
|
20399
|
-
|
20400
21436
|
@property
|
20401
21437
|
def Status(self):
|
20402
21438
|
return self._Status
|
@@ -20409,7 +21445,6 @@ class ModifyL4ProxyRulesStatusRequest(AbstractModel):
|
|
20409
21445
|
def _deserialize(self, params):
|
20410
21446
|
self._ZoneId = params.get("ZoneId")
|
20411
21447
|
self._ProxyId = params.get("ProxyId")
|
20412
|
-
self._RuleIds = params.get("RuleIds")
|
20413
21448
|
self._Status = params.get("Status")
|
20414
21449
|
memeber_set = set(params.keys())
|
20415
21450
|
for name, value in vars(self).items():
|
@@ -20421,8 +21456,8 @@ class ModifyL4ProxyRulesStatusRequest(AbstractModel):
|
|
20421
21456
|
|
20422
21457
|
|
20423
21458
|
|
20424
|
-
class
|
20425
|
-
"""
|
21459
|
+
class ModifyL4ProxyStatusResponse(AbstractModel):
|
21460
|
+
"""ModifyL4ProxyStatus返回参数结构体
|
20426
21461
|
|
20427
21462
|
"""
|
20428
21463
|
|
@@ -20446,8 +21481,8 @@ class ModifyL4ProxyRulesStatusResponse(AbstractModel):
|
|
20446
21481
|
self._RequestId = params.get("RequestId")
|
20447
21482
|
|
20448
21483
|
|
20449
|
-
class
|
20450
|
-
"""
|
21484
|
+
class ModifyLoadBalancerRequest(AbstractModel):
|
21485
|
+
"""ModifyLoadBalancer请求参数结构体
|
20451
21486
|
|
20452
21487
|
"""
|
20453
21488
|
|
@@ -20455,16 +21490,29 @@ class ModifyL4ProxyStatusRequest(AbstractModel):
|
|
20455
21490
|
r"""
|
20456
21491
|
:param _ZoneId: 站点 ID。
|
20457
21492
|
:type ZoneId: str
|
20458
|
-
:param
|
20459
|
-
:type
|
20460
|
-
:param
|
20461
|
-
|
20462
|
-
|
20463
|
-
:type
|
21493
|
+
:param _InstanceId: 负载均衡实例 ID。
|
21494
|
+
:type InstanceId: str
|
21495
|
+
:param _Name: 实例名称,可输入 1-200 个字符,允许字符为 a-z,A-Z,0-9,_,-。不填写表示维持原有配置。
|
21496
|
+
:type Name: str
|
21497
|
+
:param _OriginGroups: 源站组列表及其对应的容灾调度优先级。详情请参考 [快速创建负载均衡实例](https://cloud.tencent.com/document/product/1552/104223) 中的示例场景。不填写表示维持原有配置。
|
21498
|
+
:type OriginGroups: list of OriginGroupInLoadBalancer
|
21499
|
+
:param _HealthChecker: 健康检查策略。详情请参考 [健康检查策略介绍](https://cloud.tencent.com/document/product/1552/104228)。不填写表示维持原有配置。
|
21500
|
+
:type HealthChecker: :class:`tencentcloud.teo.v20220901.models.HealthChecker`
|
21501
|
+
:param _SteeringPolicy: 源站组间的流量调度策略,取值有:
|
21502
|
+
<li>Pritory:按优先级顺序进行故障转移 。</li>不填写表示维持原有配置。
|
21503
|
+
:type SteeringPolicy: str
|
21504
|
+
:param _FailoverPolicy: 实际访问某源站失败时的请求重试策略,详情请参考 [请求重试策略介绍](https://cloud.tencent.com/document/product/1552/104227),取值有:
|
21505
|
+
<li>OtherOriginGroup:单次请求失败后,请求优先重试下一优先级源站组;</li>
|
21506
|
+
<li>OtherRecordInOriginGroup:单次请求失败后,请求优先重试同源站组内的其他源站。</li>不填写表示维持原有配置。
|
21507
|
+
:type FailoverPolicy: str
|
20464
21508
|
"""
|
20465
21509
|
self._ZoneId = None
|
20466
|
-
self.
|
20467
|
-
self.
|
21510
|
+
self._InstanceId = None
|
21511
|
+
self._Name = None
|
21512
|
+
self._OriginGroups = None
|
21513
|
+
self._HealthChecker = None
|
21514
|
+
self._SteeringPolicy = None
|
21515
|
+
self._FailoverPolicy = None
|
20468
21516
|
|
20469
21517
|
@property
|
20470
21518
|
def ZoneId(self):
|
@@ -20475,26 +21523,69 @@ class ModifyL4ProxyStatusRequest(AbstractModel):
|
|
20475
21523
|
self._ZoneId = ZoneId
|
20476
21524
|
|
20477
21525
|
@property
|
20478
|
-
def
|
20479
|
-
return self.
|
21526
|
+
def InstanceId(self):
|
21527
|
+
return self._InstanceId
|
20480
21528
|
|
20481
|
-
@
|
20482
|
-
def
|
20483
|
-
self.
|
21529
|
+
@InstanceId.setter
|
21530
|
+
def InstanceId(self, InstanceId):
|
21531
|
+
self._InstanceId = InstanceId
|
20484
21532
|
|
20485
21533
|
@property
|
20486
|
-
def
|
20487
|
-
return self.
|
21534
|
+
def Name(self):
|
21535
|
+
return self._Name
|
20488
21536
|
|
20489
|
-
@
|
20490
|
-
def
|
20491
|
-
self.
|
21537
|
+
@Name.setter
|
21538
|
+
def Name(self, Name):
|
21539
|
+
self._Name = Name
|
21540
|
+
|
21541
|
+
@property
|
21542
|
+
def OriginGroups(self):
|
21543
|
+
return self._OriginGroups
|
21544
|
+
|
21545
|
+
@OriginGroups.setter
|
21546
|
+
def OriginGroups(self, OriginGroups):
|
21547
|
+
self._OriginGroups = OriginGroups
|
21548
|
+
|
21549
|
+
@property
|
21550
|
+
def HealthChecker(self):
|
21551
|
+
return self._HealthChecker
|
21552
|
+
|
21553
|
+
@HealthChecker.setter
|
21554
|
+
def HealthChecker(self, HealthChecker):
|
21555
|
+
self._HealthChecker = HealthChecker
|
21556
|
+
|
21557
|
+
@property
|
21558
|
+
def SteeringPolicy(self):
|
21559
|
+
return self._SteeringPolicy
|
21560
|
+
|
21561
|
+
@SteeringPolicy.setter
|
21562
|
+
def SteeringPolicy(self, SteeringPolicy):
|
21563
|
+
self._SteeringPolicy = SteeringPolicy
|
21564
|
+
|
21565
|
+
@property
|
21566
|
+
def FailoverPolicy(self):
|
21567
|
+
return self._FailoverPolicy
|
21568
|
+
|
21569
|
+
@FailoverPolicy.setter
|
21570
|
+
def FailoverPolicy(self, FailoverPolicy):
|
21571
|
+
self._FailoverPolicy = FailoverPolicy
|
20492
21572
|
|
20493
21573
|
|
20494
21574
|
def _deserialize(self, params):
|
20495
21575
|
self._ZoneId = params.get("ZoneId")
|
20496
|
-
self.
|
20497
|
-
self.
|
21576
|
+
self._InstanceId = params.get("InstanceId")
|
21577
|
+
self._Name = params.get("Name")
|
21578
|
+
if params.get("OriginGroups") is not None:
|
21579
|
+
self._OriginGroups = []
|
21580
|
+
for item in params.get("OriginGroups"):
|
21581
|
+
obj = OriginGroupInLoadBalancer()
|
21582
|
+
obj._deserialize(item)
|
21583
|
+
self._OriginGroups.append(obj)
|
21584
|
+
if params.get("HealthChecker") is not None:
|
21585
|
+
self._HealthChecker = HealthChecker()
|
21586
|
+
self._HealthChecker._deserialize(params.get("HealthChecker"))
|
21587
|
+
self._SteeringPolicy = params.get("SteeringPolicy")
|
21588
|
+
self._FailoverPolicy = params.get("FailoverPolicy")
|
20498
21589
|
memeber_set = set(params.keys())
|
20499
21590
|
for name, value in vars(self).items():
|
20500
21591
|
property_name = name[1:]
|
@@ -20505,8 +21596,8 @@ class ModifyL4ProxyStatusRequest(AbstractModel):
|
|
20505
21596
|
|
20506
21597
|
|
20507
21598
|
|
20508
|
-
class
|
20509
|
-
"""
|
21599
|
+
class ModifyLoadBalancerResponse(AbstractModel):
|
21600
|
+
"""ModifyLoadBalancer返回参数结构体
|
20510
21601
|
|
20511
21602
|
"""
|
20512
21603
|
|
@@ -21458,6 +22549,8 @@ class ModifyZoneSettingRequest(AbstractModel):
|
|
21458
22549
|
:type ImageOptimize: :class:`tencentcloud.teo.v20220901.models.ImageOptimize`
|
21459
22550
|
:param _StandardDebug: 标准 Debug 配置。
|
21460
22551
|
:type StandardDebug: :class:`tencentcloud.teo.v20220901.models.StandardDebug`
|
22552
|
+
:param _JITVideoProcess: 视频即时处理配置。不填写表示保持原有配置。
|
22553
|
+
:type JITVideoProcess: :class:`tencentcloud.teo.v20220901.models.JITVideoProcess`
|
21461
22554
|
"""
|
21462
22555
|
self._ZoneId = None
|
21463
22556
|
self._CacheConfig = None
|
@@ -21480,6 +22573,7 @@ class ModifyZoneSettingRequest(AbstractModel):
|
|
21480
22573
|
self._Grpc = None
|
21481
22574
|
self._ImageOptimize = None
|
21482
22575
|
self._StandardDebug = None
|
22576
|
+
self._JITVideoProcess = None
|
21483
22577
|
|
21484
22578
|
@property
|
21485
22579
|
def ZoneId(self):
|
@@ -21649,6 +22743,14 @@ class ModifyZoneSettingRequest(AbstractModel):
|
|
21649
22743
|
def StandardDebug(self, StandardDebug):
|
21650
22744
|
self._StandardDebug = StandardDebug
|
21651
22745
|
|
22746
|
+
@property
|
22747
|
+
def JITVideoProcess(self):
|
22748
|
+
return self._JITVideoProcess
|
22749
|
+
|
22750
|
+
@JITVideoProcess.setter
|
22751
|
+
def JITVideoProcess(self, JITVideoProcess):
|
22752
|
+
self._JITVideoProcess = JITVideoProcess
|
22753
|
+
|
21652
22754
|
|
21653
22755
|
def _deserialize(self, params):
|
21654
22756
|
self._ZoneId = params.get("ZoneId")
|
@@ -21712,6 +22814,9 @@ class ModifyZoneSettingRequest(AbstractModel):
|
|
21712
22814
|
if params.get("StandardDebug") is not None:
|
21713
22815
|
self._StandardDebug = StandardDebug()
|
21714
22816
|
self._StandardDebug._deserialize(params.get("StandardDebug"))
|
22817
|
+
if params.get("JITVideoProcess") is not None:
|
22818
|
+
self._JITVideoProcess = JITVideoProcess()
|
22819
|
+
self._JITVideoProcess._deserialize(params.get("JITVideoProcess"))
|
21715
22820
|
memeber_set = set(params.keys())
|
21716
22821
|
for name, value in vars(self).items():
|
21717
22822
|
property_name = name[1:]
|
@@ -21831,7 +22936,7 @@ class MutualTLS(AbstractModel):
|
|
21831
22936
|
<li>off:关闭。</li>
|
21832
22937
|
:type Switch: str
|
21833
22938
|
:param _CertInfos: 双向认证证书列表。
|
21834
|
-
注意:MutualTLS 在 ModifyHostsCertificate 作为入参使用时,该参数传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/
|
22939
|
+
注意:MutualTLS 在 ModifyHostsCertificate 作为入参使用时,该参数传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/ssl) 查看 CertId。
|
21835
22940
|
:type CertInfos: list of CertificateInfo
|
21836
22941
|
"""
|
21837
22942
|
self._Switch = None
|
@@ -22407,6 +23512,209 @@ class OriginGroup(AbstractModel):
|
|
22407
23512
|
|
22408
23513
|
|
22409
23514
|
|
23515
|
+
class OriginGroupHealthStatus(AbstractModel):
|
23516
|
+
"""源站组健康状态。
|
23517
|
+
|
23518
|
+
"""
|
23519
|
+
|
23520
|
+
def __init__(self):
|
23521
|
+
r"""
|
23522
|
+
:param _OriginGroupID: 源站组 ID。
|
23523
|
+
:type OriginGroupID: str
|
23524
|
+
:param _OriginGroupName: 源站组名。
|
23525
|
+
:type OriginGroupName: str
|
23526
|
+
:param _OriginType: 源站组类型,取值有:
|
23527
|
+
<li>HTTP:HTTP 专用型;</li>
|
23528
|
+
<li>GENERAL:通用型。</li>
|
23529
|
+
:type OriginType: str
|
23530
|
+
:param _Priority: 优先级。
|
23531
|
+
:type Priority: str
|
23532
|
+
:param _OriginHealthStatus: 源站组里各源站的健康状态。
|
23533
|
+
:type OriginHealthStatus: list of OriginHealthStatus
|
23534
|
+
"""
|
23535
|
+
self._OriginGroupID = None
|
23536
|
+
self._OriginGroupName = None
|
23537
|
+
self._OriginType = None
|
23538
|
+
self._Priority = None
|
23539
|
+
self._OriginHealthStatus = None
|
23540
|
+
|
23541
|
+
@property
|
23542
|
+
def OriginGroupID(self):
|
23543
|
+
return self._OriginGroupID
|
23544
|
+
|
23545
|
+
@OriginGroupID.setter
|
23546
|
+
def OriginGroupID(self, OriginGroupID):
|
23547
|
+
self._OriginGroupID = OriginGroupID
|
23548
|
+
|
23549
|
+
@property
|
23550
|
+
def OriginGroupName(self):
|
23551
|
+
return self._OriginGroupName
|
23552
|
+
|
23553
|
+
@OriginGroupName.setter
|
23554
|
+
def OriginGroupName(self, OriginGroupName):
|
23555
|
+
self._OriginGroupName = OriginGroupName
|
23556
|
+
|
23557
|
+
@property
|
23558
|
+
def OriginType(self):
|
23559
|
+
return self._OriginType
|
23560
|
+
|
23561
|
+
@OriginType.setter
|
23562
|
+
def OriginType(self, OriginType):
|
23563
|
+
self._OriginType = OriginType
|
23564
|
+
|
23565
|
+
@property
|
23566
|
+
def Priority(self):
|
23567
|
+
return self._Priority
|
23568
|
+
|
23569
|
+
@Priority.setter
|
23570
|
+
def Priority(self, Priority):
|
23571
|
+
self._Priority = Priority
|
23572
|
+
|
23573
|
+
@property
|
23574
|
+
def OriginHealthStatus(self):
|
23575
|
+
return self._OriginHealthStatus
|
23576
|
+
|
23577
|
+
@OriginHealthStatus.setter
|
23578
|
+
def OriginHealthStatus(self, OriginHealthStatus):
|
23579
|
+
self._OriginHealthStatus = OriginHealthStatus
|
23580
|
+
|
23581
|
+
|
23582
|
+
def _deserialize(self, params):
|
23583
|
+
self._OriginGroupID = params.get("OriginGroupID")
|
23584
|
+
self._OriginGroupName = params.get("OriginGroupName")
|
23585
|
+
self._OriginType = params.get("OriginType")
|
23586
|
+
self._Priority = params.get("Priority")
|
23587
|
+
if params.get("OriginHealthStatus") is not None:
|
23588
|
+
self._OriginHealthStatus = []
|
23589
|
+
for item in params.get("OriginHealthStatus"):
|
23590
|
+
obj = OriginHealthStatus()
|
23591
|
+
obj._deserialize(item)
|
23592
|
+
self._OriginHealthStatus.append(obj)
|
23593
|
+
memeber_set = set(params.keys())
|
23594
|
+
for name, value in vars(self).items():
|
23595
|
+
property_name = name[1:]
|
23596
|
+
if property_name in memeber_set:
|
23597
|
+
memeber_set.remove(property_name)
|
23598
|
+
if len(memeber_set) > 0:
|
23599
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
23600
|
+
|
23601
|
+
|
23602
|
+
|
23603
|
+
class OriginGroupHealthStatusDetail(AbstractModel):
|
23604
|
+
"""源站组健康状态详情。
|
23605
|
+
|
23606
|
+
"""
|
23607
|
+
|
23608
|
+
def __init__(self):
|
23609
|
+
r"""
|
23610
|
+
:param _OriginGroupId: 源站组 ID。
|
23611
|
+
:type OriginGroupId: str
|
23612
|
+
:param _OriginHealthStatus: 根据所有探测区域的结果综合决策出来的源站组下各个源站的健康状态。超过一半的地域判定该源站不健康,则对应状态为不健康,否则为健康。
|
23613
|
+
:type OriginHealthStatus: list of OriginHealthStatus
|
23614
|
+
:param _CheckRegionHealthStatus: 各个健康检查区域下源站的健康状态。
|
23615
|
+
:type CheckRegionHealthStatus: list of CheckRegionHealthStatus
|
23616
|
+
"""
|
23617
|
+
self._OriginGroupId = None
|
23618
|
+
self._OriginHealthStatus = None
|
23619
|
+
self._CheckRegionHealthStatus = None
|
23620
|
+
|
23621
|
+
@property
|
23622
|
+
def OriginGroupId(self):
|
23623
|
+
return self._OriginGroupId
|
23624
|
+
|
23625
|
+
@OriginGroupId.setter
|
23626
|
+
def OriginGroupId(self, OriginGroupId):
|
23627
|
+
self._OriginGroupId = OriginGroupId
|
23628
|
+
|
23629
|
+
@property
|
23630
|
+
def OriginHealthStatus(self):
|
23631
|
+
return self._OriginHealthStatus
|
23632
|
+
|
23633
|
+
@OriginHealthStatus.setter
|
23634
|
+
def OriginHealthStatus(self, OriginHealthStatus):
|
23635
|
+
self._OriginHealthStatus = OriginHealthStatus
|
23636
|
+
|
23637
|
+
@property
|
23638
|
+
def CheckRegionHealthStatus(self):
|
23639
|
+
return self._CheckRegionHealthStatus
|
23640
|
+
|
23641
|
+
@CheckRegionHealthStatus.setter
|
23642
|
+
def CheckRegionHealthStatus(self, CheckRegionHealthStatus):
|
23643
|
+
self._CheckRegionHealthStatus = CheckRegionHealthStatus
|
23644
|
+
|
23645
|
+
|
23646
|
+
def _deserialize(self, params):
|
23647
|
+
self._OriginGroupId = params.get("OriginGroupId")
|
23648
|
+
if params.get("OriginHealthStatus") is not None:
|
23649
|
+
self._OriginHealthStatus = []
|
23650
|
+
for item in params.get("OriginHealthStatus"):
|
23651
|
+
obj = OriginHealthStatus()
|
23652
|
+
obj._deserialize(item)
|
23653
|
+
self._OriginHealthStatus.append(obj)
|
23654
|
+
if params.get("CheckRegionHealthStatus") is not None:
|
23655
|
+
self._CheckRegionHealthStatus = []
|
23656
|
+
for item in params.get("CheckRegionHealthStatus"):
|
23657
|
+
obj = CheckRegionHealthStatus()
|
23658
|
+
obj._deserialize(item)
|
23659
|
+
self._CheckRegionHealthStatus.append(obj)
|
23660
|
+
memeber_set = set(params.keys())
|
23661
|
+
for name, value in vars(self).items():
|
23662
|
+
property_name = name[1:]
|
23663
|
+
if property_name in memeber_set:
|
23664
|
+
memeber_set.remove(property_name)
|
23665
|
+
if len(memeber_set) > 0:
|
23666
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
23667
|
+
|
23668
|
+
|
23669
|
+
|
23670
|
+
class OriginGroupInLoadBalancer(AbstractModel):
|
23671
|
+
"""负载均衡实例中需要绑定的源站组和优先级关系。
|
23672
|
+
|
23673
|
+
"""
|
23674
|
+
|
23675
|
+
def __init__(self):
|
23676
|
+
r"""
|
23677
|
+
:param _Priority: 优先级,填写格式为 "priority_" + "数字",最高优先级为 "priority_1"。参考取值有:
|
23678
|
+
<li>priority_1:第一优先级;</li>
|
23679
|
+
<li>priority_2:第二优先级;</li>
|
23680
|
+
<li>priority_3:第三优先级。</li>其他优先级可以将数字递增,最多可以递增至 "priority_10"。
|
23681
|
+
:type Priority: str
|
23682
|
+
:param _OriginGroupId: 源站组 ID。
|
23683
|
+
:type OriginGroupId: str
|
23684
|
+
"""
|
23685
|
+
self._Priority = None
|
23686
|
+
self._OriginGroupId = None
|
23687
|
+
|
23688
|
+
@property
|
23689
|
+
def Priority(self):
|
23690
|
+
return self._Priority
|
23691
|
+
|
23692
|
+
@Priority.setter
|
23693
|
+
def Priority(self, Priority):
|
23694
|
+
self._Priority = Priority
|
23695
|
+
|
23696
|
+
@property
|
23697
|
+
def OriginGroupId(self):
|
23698
|
+
return self._OriginGroupId
|
23699
|
+
|
23700
|
+
@OriginGroupId.setter
|
23701
|
+
def OriginGroupId(self, OriginGroupId):
|
23702
|
+
self._OriginGroupId = OriginGroupId
|
23703
|
+
|
23704
|
+
|
23705
|
+
def _deserialize(self, params):
|
23706
|
+
self._Priority = params.get("Priority")
|
23707
|
+
self._OriginGroupId = params.get("OriginGroupId")
|
23708
|
+
memeber_set = set(params.keys())
|
23709
|
+
for name, value in vars(self).items():
|
23710
|
+
property_name = name[1:]
|
23711
|
+
if property_name in memeber_set:
|
23712
|
+
memeber_set.remove(property_name)
|
23713
|
+
if len(memeber_set) > 0:
|
23714
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
23715
|
+
|
23716
|
+
|
23717
|
+
|
22410
23718
|
class OriginGroupReference(AbstractModel):
|
22411
23719
|
"""源站组引用服务。
|
22412
23720
|
|
@@ -22468,6 +23776,55 @@ class OriginGroupReference(AbstractModel):
|
|
22468
23776
|
|
22469
23777
|
|
22470
23778
|
|
23779
|
+
class OriginHealthStatus(AbstractModel):
|
23780
|
+
"""源站组里的源站健康状态。
|
23781
|
+
|
23782
|
+
"""
|
23783
|
+
|
23784
|
+
def __init__(self):
|
23785
|
+
r"""
|
23786
|
+
:param _Origin: 源站。
|
23787
|
+
:type Origin: str
|
23788
|
+
:param _Healthy: 源站健康状态,取值有:
|
23789
|
+
<li>Healthy:健康;</li>
|
23790
|
+
<li>Unhealthy:不健康;</li>
|
23791
|
+
<li>Undetected:未探测到数据。</li>
|
23792
|
+
|
23793
|
+
:type Healthy: str
|
23794
|
+
"""
|
23795
|
+
self._Origin = None
|
23796
|
+
self._Healthy = None
|
23797
|
+
|
23798
|
+
@property
|
23799
|
+
def Origin(self):
|
23800
|
+
return self._Origin
|
23801
|
+
|
23802
|
+
@Origin.setter
|
23803
|
+
def Origin(self, Origin):
|
23804
|
+
self._Origin = Origin
|
23805
|
+
|
23806
|
+
@property
|
23807
|
+
def Healthy(self):
|
23808
|
+
return self._Healthy
|
23809
|
+
|
23810
|
+
@Healthy.setter
|
23811
|
+
def Healthy(self, Healthy):
|
23812
|
+
self._Healthy = Healthy
|
23813
|
+
|
23814
|
+
|
23815
|
+
def _deserialize(self, params):
|
23816
|
+
self._Origin = params.get("Origin")
|
23817
|
+
self._Healthy = params.get("Healthy")
|
23818
|
+
memeber_set = set(params.keys())
|
23819
|
+
for name, value in vars(self).items():
|
23820
|
+
property_name = name[1:]
|
23821
|
+
if property_name in memeber_set:
|
23822
|
+
memeber_set.remove(property_name)
|
23823
|
+
if len(memeber_set) > 0:
|
23824
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
23825
|
+
|
23826
|
+
|
23827
|
+
|
22471
23828
|
class OriginInfo(AbstractModel):
|
22472
23829
|
"""加速域名源站信息。
|
22473
23830
|
|
@@ -26082,7 +27439,8 @@ class ServerCertInfo(AbstractModel):
|
|
26082
27439
|
|
26083
27440
|
def __init__(self):
|
26084
27441
|
r"""
|
26085
|
-
:param _CertId: 服务器证书 ID。
|
27442
|
+
:param _CertId: 服务器证书 ID。来源于 SSL 侧,您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/ssl) 查看 CertId。
|
27443
|
+
|
26086
27444
|
注意:此字段可能返回 null,表示取不到有效值。
|
26087
27445
|
:type CertId: str
|
26088
27446
|
:param _Alias: 证书备注名。
|
@@ -28352,6 +29710,9 @@ class ZoneSetting(AbstractModel):
|
|
28352
29710
|
:param _StandardDebug: 标准 Debug 配置。
|
28353
29711
|
注意:此字段可能返回 null,表示取不到有效值。
|
28354
29712
|
:type StandardDebug: :class:`tencentcloud.teo.v20220901.models.StandardDebug`
|
29713
|
+
:param _JITVideoProcess: 视频即时处理配置。
|
29714
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
29715
|
+
:type JITVideoProcess: :class:`tencentcloud.teo.v20220901.models.JITVideoProcess`
|
28355
29716
|
"""
|
28356
29717
|
self._ZoneName = None
|
28357
29718
|
self._Area = None
|
@@ -28376,6 +29737,7 @@ class ZoneSetting(AbstractModel):
|
|
28376
29737
|
self._ImageOptimize = None
|
28377
29738
|
self._AccelerateMainland = None
|
28378
29739
|
self._StandardDebug = None
|
29740
|
+
self._JITVideoProcess = None
|
28379
29741
|
|
28380
29742
|
@property
|
28381
29743
|
def ZoneName(self):
|
@@ -28561,6 +29923,14 @@ class ZoneSetting(AbstractModel):
|
|
28561
29923
|
def StandardDebug(self, StandardDebug):
|
28562
29924
|
self._StandardDebug = StandardDebug
|
28563
29925
|
|
29926
|
+
@property
|
29927
|
+
def JITVideoProcess(self):
|
29928
|
+
return self._JITVideoProcess
|
29929
|
+
|
29930
|
+
@JITVideoProcess.setter
|
29931
|
+
def JITVideoProcess(self, JITVideoProcess):
|
29932
|
+
self._JITVideoProcess = JITVideoProcess
|
29933
|
+
|
28564
29934
|
|
28565
29935
|
def _deserialize(self, params):
|
28566
29936
|
self._ZoneName = params.get("ZoneName")
|
@@ -28628,6 +29998,9 @@ class ZoneSetting(AbstractModel):
|
|
28628
29998
|
if params.get("StandardDebug") is not None:
|
28629
29999
|
self._StandardDebug = StandardDebug()
|
28630
30000
|
self._StandardDebug._deserialize(params.get("StandardDebug"))
|
30001
|
+
if params.get("JITVideoProcess") is not None:
|
30002
|
+
self._JITVideoProcess = JITVideoProcess()
|
30003
|
+
self._JITVideoProcess._deserialize(params.get("JITVideoProcess"))
|
28631
30004
|
memeber_set = set(params.keys())
|
28632
30005
|
for name, value in vars(self).items():
|
28633
30006
|
property_name = name[1:]
|