tencentcloud-sdk-python-intl-en 3.0.1078__py2.py3-none-any.whl → 3.0.1080__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.
Potentially problematic release.
This version of tencentcloud-sdk-python-intl-en might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/apigateway/v20180808/models.py +6 -6
- tencentcloud/ciam/v20220331/models.py +39 -7
- tencentcloud/gwlb/__init__.py +0 -0
- tencentcloud/gwlb/v20240906/__init__.py +0 -0
- tencentcloud/gwlb/v20240906/errorcodes.py +48 -0
- tencentcloud/gwlb/v20240906/gwlb_client.py +441 -0
- tencentcloud/gwlb/v20240906/models.py +3288 -0
- tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.py +4 -1
- tencentcloud/intlpartnersmgt/v20220928/models.py +22 -8
- tencentcloud/mdp/v20200527/mdp_client.py +644 -0
- tencentcloud/mdp/v20200527/models.py +7008 -1158
- tencentcloud/ocr/v20181119/models.py +2 -2
- tencentcloud/teo/v20220901/errorcodes.py +108 -9
- tencentcloud/teo/v20220901/models.py +2047 -313
- tencentcloud/teo/v20220901/teo_client.py +120 -5
- tencentcloud/tke/v20180525/errorcodes.py +76 -1
- tencentcloud/tke/v20180525/models.py +4268 -875
- tencentcloud/tke/v20180525/tke_client.py +355 -10
- tencentcloud/tmt/v20180321/models.py +62 -36
- tencentcloud/vpc/v20170312/models.py +17 -2
- {tencentcloud_sdk_python_intl_en-3.0.1078.dist-info → tencentcloud_sdk_python_intl_en-3.0.1080.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1078.dist-info → tencentcloud_sdk_python_intl_en-3.0.1080.dist-info}/RECORD +25 -20
- {tencentcloud_sdk_python_intl_en-3.0.1078.dist-info → tencentcloud_sdk_python_intl_en-3.0.1080.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1078.dist-info → tencentcloud_sdk_python_intl_en-3.0.1080.dist-info}/top_level.txt +0 -0
|
@@ -4153,7 +4153,7 @@ class CertificateInfo(AbstractModel):
|
|
|
4153
4153
|
|
|
4154
4154
|
def __init__(self):
|
|
4155
4155
|
r"""
|
|
4156
|
-
:param _CertId: ID
|
|
4156
|
+
:param _CertId: Certificate ID, which originates from the SSL side. You can check the CertId from the [SSL Certificate List](https://console.cloud.tencent.com/ssl).
|
|
4157
4157
|
:type CertId: str
|
|
4158
4158
|
:param _Alias: Alias of the certificate.
|
|
4159
4159
|
:type Alias: str
|
|
@@ -4186,7 +4186,7 @@ u200c<li>`failed`: Application rejected</li>
|
|
|
4186
4186
|
|
|
4187
4187
|
@property
|
|
4188
4188
|
def CertId(self):
|
|
4189
|
-
"""ID
|
|
4189
|
+
"""Certificate ID, which originates from the SSL side. You can check the CertId from the [SSL Certificate List](https://console.cloud.tencent.com/ssl).
|
|
4190
4190
|
:rtype: str
|
|
4191
4191
|
"""
|
|
4192
4192
|
return self._CertId
|
|
@@ -4387,6 +4387,83 @@ class CheckCnameStatusResponse(AbstractModel):
|
|
|
4387
4387
|
self._RequestId = params.get("RequestId")
|
|
4388
4388
|
|
|
4389
4389
|
|
|
4390
|
+
class CheckRegionHealthStatus(AbstractModel):
|
|
4391
|
+
"""Health status of origin servers in each health check region.
|
|
4392
|
+
|
|
4393
|
+
"""
|
|
4394
|
+
|
|
4395
|
+
def __init__(self):
|
|
4396
|
+
r"""
|
|
4397
|
+
:param _Region: Health check region, which is a two-letter code according to ISO-3166-1.
|
|
4398
|
+
:type Region: str
|
|
4399
|
+
:param _Healthy: Health status of origin servers in a single health check region. Valid values:
|
|
4400
|
+
<li>Healthy: healthy.</li>
|
|
4401
|
+
<li>Unhealthy: unhealthy.</li>
|
|
4402
|
+
<li>Undetected: no data detected.</li>Note: If all origin servers in a single health check region are healthy, the status is healthy; otherwise, it is unhealthy.
|
|
4403
|
+
:type Healthy: str
|
|
4404
|
+
:param _OriginHealthStatus: Origin server health status.
|
|
4405
|
+
:type OriginHealthStatus: list of OriginHealthStatus
|
|
4406
|
+
"""
|
|
4407
|
+
self._Region = None
|
|
4408
|
+
self._Healthy = None
|
|
4409
|
+
self._OriginHealthStatus = None
|
|
4410
|
+
|
|
4411
|
+
@property
|
|
4412
|
+
def Region(self):
|
|
4413
|
+
"""Health check region, which is a two-letter code according to ISO-3166-1.
|
|
4414
|
+
:rtype: str
|
|
4415
|
+
"""
|
|
4416
|
+
return self._Region
|
|
4417
|
+
|
|
4418
|
+
@Region.setter
|
|
4419
|
+
def Region(self, Region):
|
|
4420
|
+
self._Region = Region
|
|
4421
|
+
|
|
4422
|
+
@property
|
|
4423
|
+
def Healthy(self):
|
|
4424
|
+
"""Health status of origin servers in a single health check region. Valid values:
|
|
4425
|
+
<li>Healthy: healthy.</li>
|
|
4426
|
+
<li>Unhealthy: unhealthy.</li>
|
|
4427
|
+
<li>Undetected: no data detected.</li>Note: If all origin servers in a single health check region are healthy, the status is healthy; otherwise, it is unhealthy.
|
|
4428
|
+
:rtype: str
|
|
4429
|
+
"""
|
|
4430
|
+
return self._Healthy
|
|
4431
|
+
|
|
4432
|
+
@Healthy.setter
|
|
4433
|
+
def Healthy(self, Healthy):
|
|
4434
|
+
self._Healthy = Healthy
|
|
4435
|
+
|
|
4436
|
+
@property
|
|
4437
|
+
def OriginHealthStatus(self):
|
|
4438
|
+
"""Origin server health status.
|
|
4439
|
+
:rtype: list of OriginHealthStatus
|
|
4440
|
+
"""
|
|
4441
|
+
return self._OriginHealthStatus
|
|
4442
|
+
|
|
4443
|
+
@OriginHealthStatus.setter
|
|
4444
|
+
def OriginHealthStatus(self, OriginHealthStatus):
|
|
4445
|
+
self._OriginHealthStatus = OriginHealthStatus
|
|
4446
|
+
|
|
4447
|
+
|
|
4448
|
+
def _deserialize(self, params):
|
|
4449
|
+
self._Region = params.get("Region")
|
|
4450
|
+
self._Healthy = params.get("Healthy")
|
|
4451
|
+
if params.get("OriginHealthStatus") is not None:
|
|
4452
|
+
self._OriginHealthStatus = []
|
|
4453
|
+
for item in params.get("OriginHealthStatus"):
|
|
4454
|
+
obj = OriginHealthStatus()
|
|
4455
|
+
obj._deserialize(item)
|
|
4456
|
+
self._OriginHealthStatus.append(obj)
|
|
4457
|
+
memeber_set = set(params.keys())
|
|
4458
|
+
for name, value in vars(self).items():
|
|
4459
|
+
property_name = name[1:]
|
|
4460
|
+
if property_name in memeber_set:
|
|
4461
|
+
memeber_set.remove(property_name)
|
|
4462
|
+
if len(memeber_set) > 0:
|
|
4463
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4464
|
+
|
|
4465
|
+
|
|
4466
|
+
|
|
4390
4467
|
class ClientIpCountry(AbstractModel):
|
|
4391
4468
|
"""Location information of the client IP carried in origin-pull. It is formatted as a two-letter ISO-3166-1 country/region code.
|
|
4392
4469
|
|
|
@@ -4455,9 +4532,8 @@ class ClientIpHeader(AbstractModel):
|
|
|
4455
4532
|
<li>`on`: Enable</li>
|
|
4456
4533
|
<li>`off`: Disable</li>
|
|
4457
4534
|
:type Switch: str
|
|
4458
|
-
:param _HeaderName: Name of the request header
|
|
4459
|
-
|
|
4460
|
-
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
4535
|
+
:param _HeaderName: Name of the request header containing the client IP address for origin-pull. When Switch is on, this parameter is required. X-Forwarded-For is not allowed for this parameter.
|
|
4536
|
+
Note: This field may return null, which indicates a failure to obtain a valid value.
|
|
4461
4537
|
:type HeaderName: str
|
|
4462
4538
|
"""
|
|
4463
4539
|
self._Switch = None
|
|
@@ -4478,9 +4554,8 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
4478
4554
|
|
|
4479
4555
|
@property
|
|
4480
4556
|
def HeaderName(self):
|
|
4481
|
-
"""Name of the request header
|
|
4482
|
-
|
|
4483
|
-
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
4557
|
+
"""Name of the request header containing the client IP address for origin-pull. When Switch is on, this parameter is required. X-Forwarded-For is not allowed for this parameter.
|
|
4558
|
+
Note: This field may return null, which indicates a failure to obtain a valid value.
|
|
4484
4559
|
:rtype: str
|
|
4485
4560
|
"""
|
|
4486
4561
|
return self._HeaderName
|
|
@@ -6557,6 +6632,192 @@ class CreateL4ProxyRulesResponse(AbstractModel):
|
|
|
6557
6632
|
self._RequestId = params.get("RequestId")
|
|
6558
6633
|
|
|
6559
6634
|
|
|
6635
|
+
class CreateLoadBalancerRequest(AbstractModel):
|
|
6636
|
+
"""CreateLoadBalancer request structure.
|
|
6637
|
+
|
|
6638
|
+
"""
|
|
6639
|
+
|
|
6640
|
+
def __init__(self):
|
|
6641
|
+
r"""
|
|
6642
|
+
:param _ZoneId: Zone ID.
|
|
6643
|
+
:type ZoneId: str
|
|
6644
|
+
:param _Name: LoadBalancer name, which can contain 1 to 200 characters, including a-z, A-Z, 0-9, underscores (_), and hyphens (-).
|
|
6645
|
+
:type Name: str
|
|
6646
|
+
:param _Type: LoadBalancer type. Valid values:
|
|
6647
|
+
<li>HTTP: HTTP-specific LoadBalancer. It supports adding HTTP-specific and general origin server groups. It can only be referenced by site acceleration services (such as domain name service and rule engine).</li>
|
|
6648
|
+
<li>GENERAL: general LoadBalancer. It only supports adding general origin server groups. It can be referenced by site acceleration services (such as domain name service and rule engine) and Layer-4 proxy.</li>
|
|
6649
|
+
:type Type: str
|
|
6650
|
+
:param _OriginGroups: List of origin server groups and their corresponding disaster recovery scheduling priorities. For details, refer to Sample Scenario in [Quickly Create Load Balancers](https://intl.cloud.tencent.com/document/product/1552/104223?from_cn_redirect=1).
|
|
6651
|
+
:type OriginGroups: list of OriginGroupInLoadBalancer
|
|
6652
|
+
:param _HealthChecker: Health check policy. For details, refer to [Health Check Policies](https://intl.cloud.tencent.com/document/product/1552/104228?from_cn_redirect=1). If left empty, health check is disabled by default.
|
|
6653
|
+
:type HealthChecker: :class:`tencentcloud.teo.v20220901.models.HealthChecker`
|
|
6654
|
+
:param _SteeringPolicy: Traffic scheduling policy among origin server groups. Valid values:
|
|
6655
|
+
<li>Priority: Perform failover according to priority.</li>The default value is Priority.
|
|
6656
|
+
:type SteeringPolicy: str
|
|
6657
|
+
:param _FailoverPolicy: Request retry policy when access to an origin server fails. For details, refer to [Introduction to Request Retry Strategy](https://intl.cloud.tencent.com/document/product/1552/104227?from_cn_redirect=1). Valid values:
|
|
6658
|
+
<li>OtherOriginGroup: After a single request fails, retry with another origin server within the next lower priority origin server group.</li>
|
|
6659
|
+
<li>OtherRecordInOriginGroup: After a single request fails, retry with another origin server within the same origin server group.</li> The default value is OtherRecordInOriginGroup.
|
|
6660
|
+
:type FailoverPolicy: str
|
|
6661
|
+
"""
|
|
6662
|
+
self._ZoneId = None
|
|
6663
|
+
self._Name = None
|
|
6664
|
+
self._Type = None
|
|
6665
|
+
self._OriginGroups = None
|
|
6666
|
+
self._HealthChecker = None
|
|
6667
|
+
self._SteeringPolicy = None
|
|
6668
|
+
self._FailoverPolicy = None
|
|
6669
|
+
|
|
6670
|
+
@property
|
|
6671
|
+
def ZoneId(self):
|
|
6672
|
+
"""Zone ID.
|
|
6673
|
+
:rtype: str
|
|
6674
|
+
"""
|
|
6675
|
+
return self._ZoneId
|
|
6676
|
+
|
|
6677
|
+
@ZoneId.setter
|
|
6678
|
+
def ZoneId(self, ZoneId):
|
|
6679
|
+
self._ZoneId = ZoneId
|
|
6680
|
+
|
|
6681
|
+
@property
|
|
6682
|
+
def Name(self):
|
|
6683
|
+
"""LoadBalancer name, which can contain 1 to 200 characters, including a-z, A-Z, 0-9, underscores (_), and hyphens (-).
|
|
6684
|
+
:rtype: str
|
|
6685
|
+
"""
|
|
6686
|
+
return self._Name
|
|
6687
|
+
|
|
6688
|
+
@Name.setter
|
|
6689
|
+
def Name(self, Name):
|
|
6690
|
+
self._Name = Name
|
|
6691
|
+
|
|
6692
|
+
@property
|
|
6693
|
+
def Type(self):
|
|
6694
|
+
"""LoadBalancer type. Valid values:
|
|
6695
|
+
<li>HTTP: HTTP-specific LoadBalancer. It supports adding HTTP-specific and general origin server groups. It can only be referenced by site acceleration services (such as domain name service and rule engine).</li>
|
|
6696
|
+
<li>GENERAL: general LoadBalancer. It only supports adding general origin server groups. It can be referenced by site acceleration services (such as domain name service and rule engine) and Layer-4 proxy.</li>
|
|
6697
|
+
:rtype: str
|
|
6698
|
+
"""
|
|
6699
|
+
return self._Type
|
|
6700
|
+
|
|
6701
|
+
@Type.setter
|
|
6702
|
+
def Type(self, Type):
|
|
6703
|
+
self._Type = Type
|
|
6704
|
+
|
|
6705
|
+
@property
|
|
6706
|
+
def OriginGroups(self):
|
|
6707
|
+
"""List of origin server groups and their corresponding disaster recovery scheduling priorities. For details, refer to Sample Scenario in [Quickly Create Load Balancers](https://intl.cloud.tencent.com/document/product/1552/104223?from_cn_redirect=1).
|
|
6708
|
+
:rtype: list of OriginGroupInLoadBalancer
|
|
6709
|
+
"""
|
|
6710
|
+
return self._OriginGroups
|
|
6711
|
+
|
|
6712
|
+
@OriginGroups.setter
|
|
6713
|
+
def OriginGroups(self, OriginGroups):
|
|
6714
|
+
self._OriginGroups = OriginGroups
|
|
6715
|
+
|
|
6716
|
+
@property
|
|
6717
|
+
def HealthChecker(self):
|
|
6718
|
+
"""Health check policy. For details, refer to [Health Check Policies](https://intl.cloud.tencent.com/document/product/1552/104228?from_cn_redirect=1). If left empty, health check is disabled by default.
|
|
6719
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.HealthChecker`
|
|
6720
|
+
"""
|
|
6721
|
+
return self._HealthChecker
|
|
6722
|
+
|
|
6723
|
+
@HealthChecker.setter
|
|
6724
|
+
def HealthChecker(self, HealthChecker):
|
|
6725
|
+
self._HealthChecker = HealthChecker
|
|
6726
|
+
|
|
6727
|
+
@property
|
|
6728
|
+
def SteeringPolicy(self):
|
|
6729
|
+
"""Traffic scheduling policy among origin server groups. Valid values:
|
|
6730
|
+
<li>Priority: Perform failover according to priority.</li>The default value is Priority.
|
|
6731
|
+
:rtype: str
|
|
6732
|
+
"""
|
|
6733
|
+
return self._SteeringPolicy
|
|
6734
|
+
|
|
6735
|
+
@SteeringPolicy.setter
|
|
6736
|
+
def SteeringPolicy(self, SteeringPolicy):
|
|
6737
|
+
self._SteeringPolicy = SteeringPolicy
|
|
6738
|
+
|
|
6739
|
+
@property
|
|
6740
|
+
def FailoverPolicy(self):
|
|
6741
|
+
"""Request retry policy when access to an origin server fails. For details, refer to [Introduction to Request Retry Strategy](https://intl.cloud.tencent.com/document/product/1552/104227?from_cn_redirect=1). Valid values:
|
|
6742
|
+
<li>OtherOriginGroup: After a single request fails, retry with another origin server within the next lower priority origin server group.</li>
|
|
6743
|
+
<li>OtherRecordInOriginGroup: After a single request fails, retry with another origin server within the same origin server group.</li> The default value is OtherRecordInOriginGroup.
|
|
6744
|
+
:rtype: str
|
|
6745
|
+
"""
|
|
6746
|
+
return self._FailoverPolicy
|
|
6747
|
+
|
|
6748
|
+
@FailoverPolicy.setter
|
|
6749
|
+
def FailoverPolicy(self, FailoverPolicy):
|
|
6750
|
+
self._FailoverPolicy = FailoverPolicy
|
|
6751
|
+
|
|
6752
|
+
|
|
6753
|
+
def _deserialize(self, params):
|
|
6754
|
+
self._ZoneId = params.get("ZoneId")
|
|
6755
|
+
self._Name = params.get("Name")
|
|
6756
|
+
self._Type = params.get("Type")
|
|
6757
|
+
if params.get("OriginGroups") is not None:
|
|
6758
|
+
self._OriginGroups = []
|
|
6759
|
+
for item in params.get("OriginGroups"):
|
|
6760
|
+
obj = OriginGroupInLoadBalancer()
|
|
6761
|
+
obj._deserialize(item)
|
|
6762
|
+
self._OriginGroups.append(obj)
|
|
6763
|
+
if params.get("HealthChecker") is not None:
|
|
6764
|
+
self._HealthChecker = HealthChecker()
|
|
6765
|
+
self._HealthChecker._deserialize(params.get("HealthChecker"))
|
|
6766
|
+
self._SteeringPolicy = params.get("SteeringPolicy")
|
|
6767
|
+
self._FailoverPolicy = params.get("FailoverPolicy")
|
|
6768
|
+
memeber_set = set(params.keys())
|
|
6769
|
+
for name, value in vars(self).items():
|
|
6770
|
+
property_name = name[1:]
|
|
6771
|
+
if property_name in memeber_set:
|
|
6772
|
+
memeber_set.remove(property_name)
|
|
6773
|
+
if len(memeber_set) > 0:
|
|
6774
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6775
|
+
|
|
6776
|
+
|
|
6777
|
+
|
|
6778
|
+
class CreateLoadBalancerResponse(AbstractModel):
|
|
6779
|
+
"""CreateLoadBalancer response structure.
|
|
6780
|
+
|
|
6781
|
+
"""
|
|
6782
|
+
|
|
6783
|
+
def __init__(self):
|
|
6784
|
+
r"""
|
|
6785
|
+
:param _InstanceId: CLB instance ID.
|
|
6786
|
+
:type InstanceId: str
|
|
6787
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
6788
|
+
:type RequestId: str
|
|
6789
|
+
"""
|
|
6790
|
+
self._InstanceId = None
|
|
6791
|
+
self._RequestId = None
|
|
6792
|
+
|
|
6793
|
+
@property
|
|
6794
|
+
def InstanceId(self):
|
|
6795
|
+
"""CLB instance ID.
|
|
6796
|
+
:rtype: str
|
|
6797
|
+
"""
|
|
6798
|
+
return self._InstanceId
|
|
6799
|
+
|
|
6800
|
+
@InstanceId.setter
|
|
6801
|
+
def InstanceId(self, InstanceId):
|
|
6802
|
+
self._InstanceId = InstanceId
|
|
6803
|
+
|
|
6804
|
+
@property
|
|
6805
|
+
def RequestId(self):
|
|
6806
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
6807
|
+
:rtype: str
|
|
6808
|
+
"""
|
|
6809
|
+
return self._RequestId
|
|
6810
|
+
|
|
6811
|
+
@RequestId.setter
|
|
6812
|
+
def RequestId(self, RequestId):
|
|
6813
|
+
self._RequestId = RequestId
|
|
6814
|
+
|
|
6815
|
+
|
|
6816
|
+
def _deserialize(self, params):
|
|
6817
|
+
self._InstanceId = params.get("InstanceId")
|
|
6818
|
+
self._RequestId = params.get("RequestId")
|
|
6819
|
+
|
|
6820
|
+
|
|
6560
6821
|
class CreateOriginGroupRequest(AbstractModel):
|
|
6561
6822
|
"""CreateOriginGroup request structure.
|
|
6562
6823
|
|
|
@@ -7330,18 +7591,18 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
7330
7591
|
r"""
|
|
7331
7592
|
:param _ZoneId: Zone ID.
|
|
7332
7593
|
:type ZoneId: str
|
|
7333
|
-
:param _TaskName: Name of a real-time log
|
|
7594
|
+
:param _TaskName: Name of a real-time log delivery task, which can contain up to 200 characters, including digits, English letters, hyphens (-) and underscores (_).
|
|
7334
7595
|
:type TaskName: str
|
|
7335
|
-
:param _TaskType: Type of a real-time log
|
|
7596
|
+
:param _TaskType: Type of a real-time log delivery task. Valid values:
|
|
7336
7597
|
<li>cls: push to Tencent Cloud CLS;</li>
|
|
7337
7598
|
<li>custom_endpoint: push to a custom HTTP(S) address;</li>
|
|
7338
7599
|
<li>s3: push to an AWS S3-compatible bucket address.</li>
|
|
7339
7600
|
:type TaskType: str
|
|
7340
|
-
:param _EntityList: List of entities (L7 domain names or L4 proxy instances) corresponding to a real-time log
|
|
7601
|
+
:param _EntityList: List of entities (L7 domain names or L4 proxy instances) corresponding to a real-time log delivery task. Valid value examples:
|
|
7341
7602
|
<li>L7 domain name: domain.example.com;</li>
|
|
7342
7603
|
<li>L4 proxy instance: sid-2s69eb5wcms7.</li>
|
|
7343
7604
|
:type EntityList: list of str
|
|
7344
|
-
:param _LogType:
|
|
7605
|
+
:param _LogType: Dataset type. Valid values:
|
|
7345
7606
|
<li>domain: site acceleration logs;</li>
|
|
7346
7607
|
<li>application: L4 proxy logs;</li>
|
|
7347
7608
|
<li>web-rateLiming: rate limit and CC attack defense logs;</li>
|
|
@@ -7349,17 +7610,17 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
7349
7610
|
<li>web-rule: custom rule logs;</li>
|
|
7350
7611
|
<li>web-bot: Bot management logs.</li>
|
|
7351
7612
|
:type LogType: str
|
|
7352
|
-
:param _Area: Data
|
|
7613
|
+
:param _Area: Data area. Valid values:
|
|
7353
7614
|
<li>mainland: within the Chinese mainland;</li>
|
|
7354
7615
|
<li>overseas: global (excluding the Chinese mainland).</li>
|
|
7355
7616
|
:type Area: str
|
|
7356
|
-
:param _Fields: List of predefined fields for
|
|
7617
|
+
:param _Fields: List of predefined fields for delivery.
|
|
7357
7618
|
:type Fields: list of str
|
|
7358
|
-
:param _CustomFields:
|
|
7619
|
+
:param _CustomFields: The list of custom fields for log delivery, which supports extracting specified content from HTTP request headers, response headers, cookies, and request bodies. Custom field names must be unique. The number of custom fields cannot exceed a maximum of 200. A single real-time log delivery task can configure up to 5 custom fields of the request body type. Currently, only site acceleration logs (LogType=domain) support custom fields.
|
|
7359
7620
|
:type CustomFields: list of CustomField
|
|
7360
|
-
:param _DeliveryConditions: Filter criteria of log
|
|
7621
|
+
:param _DeliveryConditions: Filter criteria of log delivery. If this parameter is not specified, all logs will be shipped.
|
|
7361
7622
|
:type DeliveryConditions: list of DeliveryCondition
|
|
7362
|
-
:param _Sample: Sampling ratio in permille. Value range: 1-1000. For example, 605 indicates a sampling ratio of 60.5%. If this parameter is not
|
|
7623
|
+
:param _Sample: Sampling ratio in permille. Value range: 1-1000. For example, 605 indicates a sampling ratio of 60.5%. If this parameter is not specified, the sampling ratio is 100%.
|
|
7363
7624
|
:type Sample: int
|
|
7364
7625
|
:param _LogFormat: Output format for log delivery. If this field is not specified, the default format is used, which works as follows:
|
|
7365
7626
|
<li>When TaskType is 'custom_endpoint', the default format is an array of JSON objects, with each JSON object representing a log entry;</li>
|
|
@@ -7400,7 +7661,7 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
7400
7661
|
|
|
7401
7662
|
@property
|
|
7402
7663
|
def TaskName(self):
|
|
7403
|
-
"""Name of a real-time log
|
|
7664
|
+
"""Name of a real-time log delivery task, which can contain up to 200 characters, including digits, English letters, hyphens (-) and underscores (_).
|
|
7404
7665
|
:rtype: str
|
|
7405
7666
|
"""
|
|
7406
7667
|
return self._TaskName
|
|
@@ -7411,7 +7672,7 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
7411
7672
|
|
|
7412
7673
|
@property
|
|
7413
7674
|
def TaskType(self):
|
|
7414
|
-
"""Type of a real-time log
|
|
7675
|
+
"""Type of a real-time log delivery task. Valid values:
|
|
7415
7676
|
<li>cls: push to Tencent Cloud CLS;</li>
|
|
7416
7677
|
<li>custom_endpoint: push to a custom HTTP(S) address;</li>
|
|
7417
7678
|
<li>s3: push to an AWS S3-compatible bucket address.</li>
|
|
@@ -7425,7 +7686,7 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
7425
7686
|
|
|
7426
7687
|
@property
|
|
7427
7688
|
def EntityList(self):
|
|
7428
|
-
"""List of entities (L7 domain names or L4 proxy instances) corresponding to a real-time log
|
|
7689
|
+
"""List of entities (L7 domain names or L4 proxy instances) corresponding to a real-time log delivery task. Valid value examples:
|
|
7429
7690
|
<li>L7 domain name: domain.example.com;</li>
|
|
7430
7691
|
<li>L4 proxy instance: sid-2s69eb5wcms7.</li>
|
|
7431
7692
|
:rtype: list of str
|
|
@@ -7438,7 +7699,7 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
7438
7699
|
|
|
7439
7700
|
@property
|
|
7440
7701
|
def LogType(self):
|
|
7441
|
-
"""
|
|
7702
|
+
"""Dataset type. Valid values:
|
|
7442
7703
|
<li>domain: site acceleration logs;</li>
|
|
7443
7704
|
<li>application: L4 proxy logs;</li>
|
|
7444
7705
|
<li>web-rateLiming: rate limit and CC attack defense logs;</li>
|
|
@@ -7455,7 +7716,7 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
7455
7716
|
|
|
7456
7717
|
@property
|
|
7457
7718
|
def Area(self):
|
|
7458
|
-
"""Data
|
|
7719
|
+
"""Data area. Valid values:
|
|
7459
7720
|
<li>mainland: within the Chinese mainland;</li>
|
|
7460
7721
|
<li>overseas: global (excluding the Chinese mainland).</li>
|
|
7461
7722
|
:rtype: str
|
|
@@ -7468,7 +7729,7 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
7468
7729
|
|
|
7469
7730
|
@property
|
|
7470
7731
|
def Fields(self):
|
|
7471
|
-
"""List of predefined fields for
|
|
7732
|
+
"""List of predefined fields for delivery.
|
|
7472
7733
|
:rtype: list of str
|
|
7473
7734
|
"""
|
|
7474
7735
|
return self._Fields
|
|
@@ -7479,7 +7740,7 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
7479
7740
|
|
|
7480
7741
|
@property
|
|
7481
7742
|
def CustomFields(self):
|
|
7482
|
-
"""
|
|
7743
|
+
"""The list of custom fields for log delivery, which supports extracting specified content from HTTP request headers, response headers, cookies, and request bodies. Custom field names must be unique. The number of custom fields cannot exceed a maximum of 200. A single real-time log delivery task can configure up to 5 custom fields of the request body type. Currently, only site acceleration logs (LogType=domain) support custom fields.
|
|
7483
7744
|
:rtype: list of CustomField
|
|
7484
7745
|
"""
|
|
7485
7746
|
return self._CustomFields
|
|
@@ -7490,7 +7751,7 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
7490
7751
|
|
|
7491
7752
|
@property
|
|
7492
7753
|
def DeliveryConditions(self):
|
|
7493
|
-
"""Filter criteria of log
|
|
7754
|
+
"""Filter criteria of log delivery. If this parameter is not specified, all logs will be shipped.
|
|
7494
7755
|
:rtype: list of DeliveryCondition
|
|
7495
7756
|
"""
|
|
7496
7757
|
return self._DeliveryConditions
|
|
@@ -7501,7 +7762,7 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
7501
7762
|
|
|
7502
7763
|
@property
|
|
7503
7764
|
def Sample(self):
|
|
7504
|
-
"""Sampling ratio in permille. Value range: 1-1000. For example, 605 indicates a sampling ratio of 60.5%. If this parameter is not
|
|
7765
|
+
"""Sampling ratio in permille. Value range: 1-1000. For example, 605 indicates a sampling ratio of 60.5%. If this parameter is not specified, the sampling ratio is 100%.
|
|
7505
7766
|
:rtype: int
|
|
7506
7767
|
"""
|
|
7507
7768
|
return self._Sample
|
|
@@ -8502,20 +8763,23 @@ class CustomErrorPage(AbstractModel):
|
|
|
8502
8763
|
|
|
8503
8764
|
|
|
8504
8765
|
class CustomField(AbstractModel):
|
|
8505
|
-
"""The custom log field in a real-time log delivery task
|
|
8766
|
+
"""The custom log field in a real-time log delivery task.
|
|
8506
8767
|
|
|
8507
8768
|
"""
|
|
8508
8769
|
|
|
8509
8770
|
def __init__(self):
|
|
8510
8771
|
r"""
|
|
8511
|
-
:param _Name:
|
|
8512
|
-
<li>ReqHeader: Extract a specified field
|
|
8513
|
-
<li>RspHeader: Extract a specified field
|
|
8514
|
-
<li>
|
|
8515
|
-
|
|
8772
|
+
:param _Name: Type of the custom log filed, which indicates extracting data from a specified position in HTTP requests and responses. Valid values:
|
|
8773
|
+
<li>ReqHeader: Extract the value of a specified field from an HTTP request header;</li>
|
|
8774
|
+
<li>RspHeader: Extract the value of a specified field from an HTTP response header;</li>
|
|
8775
|
+
<li>Cookie: Extract the value of a specified field from a cookie;</li>
|
|
8776
|
+
<li>ReqBody: Extract specified content from an HTTP request body using a Google RE2 regular expression.</li>
|
|
8777
|
+
Note: This field may return null, which indicates a failure to obtain a valid value.
|
|
8516
8778
|
:type Name: str
|
|
8517
|
-
:param _Value:
|
|
8518
|
-
|
|
8779
|
+
:param _Value: Enter the definition of the field value based on the field type (Name). This parameter is case-sensitive.
|
|
8780
|
+
<li>When the field type is ReqHeader, RspHeader, or Cookie, enter the name of the parameter for which you need to extract the value, such as Accept-Language. You can enter 1-100 characters. The name should start with a letter, contain letters, digits, and hyphens (-) in the middle, and end with a letter or digit.</li>
|
|
8781
|
+
<li>When the field type is ReqBody, enter the Google RE2 regular expression. The maximum length of the regular expression is 4 KB.</li>
|
|
8782
|
+
Note: This field may return null, which indicates a failure to obtain a valid value.
|
|
8519
8783
|
:type Value: str
|
|
8520
8784
|
:param _Enabled: Indicates whether to deliver this field. If not filled in, this field will not be delivered.
|
|
8521
8785
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
@@ -8527,11 +8791,12 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
8527
8791
|
|
|
8528
8792
|
@property
|
|
8529
8793
|
def Name(self):
|
|
8530
|
-
"""
|
|
8531
|
-
<li>ReqHeader: Extract a specified field
|
|
8532
|
-
<li>RspHeader: Extract a specified field
|
|
8533
|
-
<li>
|
|
8534
|
-
|
|
8794
|
+
"""Type of the custom log filed, which indicates extracting data from a specified position in HTTP requests and responses. Valid values:
|
|
8795
|
+
<li>ReqHeader: Extract the value of a specified field from an HTTP request header;</li>
|
|
8796
|
+
<li>RspHeader: Extract the value of a specified field from an HTTP response header;</li>
|
|
8797
|
+
<li>Cookie: Extract the value of a specified field from a cookie;</li>
|
|
8798
|
+
<li>ReqBody: Extract specified content from an HTTP request body using a Google RE2 regular expression.</li>
|
|
8799
|
+
Note: This field may return null, which indicates a failure to obtain a valid value.
|
|
8535
8800
|
:rtype: str
|
|
8536
8801
|
"""
|
|
8537
8802
|
return self._Name
|
|
@@ -8542,8 +8807,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
8542
8807
|
|
|
8543
8808
|
@property
|
|
8544
8809
|
def Value(self):
|
|
8545
|
-
"""
|
|
8546
|
-
|
|
8810
|
+
"""Enter the definition of the field value based on the field type (Name). This parameter is case-sensitive.
|
|
8811
|
+
<li>When the field type is ReqHeader, RspHeader, or Cookie, enter the name of the parameter for which you need to extract the value, such as Accept-Language. You can enter 1-100 characters. The name should start with a letter, contain letters, digits, and hyphens (-) in the middle, and end with a letter or digit.</li>
|
|
8812
|
+
<li>When the field type is ReqBody, enter the Google RE2 regular expression. The maximum length of the regular expression is 4 KB.</li>
|
|
8813
|
+
Note: This field may return null, which indicates a failure to obtain a valid value.
|
|
8547
8814
|
:rtype: str
|
|
8548
8815
|
"""
|
|
8549
8816
|
return self._Value
|
|
@@ -8579,6 +8846,61 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
8579
8846
|
|
|
8580
8847
|
|
|
8581
8848
|
|
|
8849
|
+
class CustomizedHeader(AbstractModel):
|
|
8850
|
+
"""Custom header that can be configured for HTTP/HTTPS health check policies under a LoadBalancer.
|
|
8851
|
+
|
|
8852
|
+
"""
|
|
8853
|
+
|
|
8854
|
+
def __init__(self):
|
|
8855
|
+
r"""
|
|
8856
|
+
:param _Key: Custom header key.
|
|
8857
|
+
Note: This field may return null, which indicates a failure to obtain a valid value.
|
|
8858
|
+
:type Key: str
|
|
8859
|
+
:param _Value: Custom header value.
|
|
8860
|
+
Note: This field may return null, which indicates a failure to obtain a valid value.
|
|
8861
|
+
:type Value: str
|
|
8862
|
+
"""
|
|
8863
|
+
self._Key = None
|
|
8864
|
+
self._Value = None
|
|
8865
|
+
|
|
8866
|
+
@property
|
|
8867
|
+
def Key(self):
|
|
8868
|
+
"""Custom header key.
|
|
8869
|
+
Note: This field may return null, which indicates a failure to obtain a valid value.
|
|
8870
|
+
:rtype: str
|
|
8871
|
+
"""
|
|
8872
|
+
return self._Key
|
|
8873
|
+
|
|
8874
|
+
@Key.setter
|
|
8875
|
+
def Key(self, Key):
|
|
8876
|
+
self._Key = Key
|
|
8877
|
+
|
|
8878
|
+
@property
|
|
8879
|
+
def Value(self):
|
|
8880
|
+
"""Custom header value.
|
|
8881
|
+
Note: This field may return null, which indicates a failure to obtain a valid value.
|
|
8882
|
+
:rtype: str
|
|
8883
|
+
"""
|
|
8884
|
+
return self._Value
|
|
8885
|
+
|
|
8886
|
+
@Value.setter
|
|
8887
|
+
def Value(self, Value):
|
|
8888
|
+
self._Value = Value
|
|
8889
|
+
|
|
8890
|
+
|
|
8891
|
+
def _deserialize(self, params):
|
|
8892
|
+
self._Key = params.get("Key")
|
|
8893
|
+
self._Value = params.get("Value")
|
|
8894
|
+
memeber_set = set(params.keys())
|
|
8895
|
+
for name, value in vars(self).items():
|
|
8896
|
+
property_name = name[1:]
|
|
8897
|
+
if property_name in memeber_set:
|
|
8898
|
+
memeber_set.remove(property_name)
|
|
8899
|
+
if len(memeber_set) > 0:
|
|
8900
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8901
|
+
|
|
8902
|
+
|
|
8903
|
+
|
|
8582
8904
|
class DDoS(AbstractModel):
|
|
8583
8905
|
"""DDoS mitigation configuration
|
|
8584
8906
|
|
|
@@ -9929,8 +10251,8 @@ class DeleteL4ProxyRulesResponse(AbstractModel):
|
|
|
9929
10251
|
self._RequestId = params.get("RequestId")
|
|
9930
10252
|
|
|
9931
10253
|
|
|
9932
|
-
class
|
|
9933
|
-
"""
|
|
10254
|
+
class DeleteLoadBalancerRequest(AbstractModel):
|
|
10255
|
+
"""DeleteLoadBalancer request structure.
|
|
9934
10256
|
|
|
9935
10257
|
"""
|
|
9936
10258
|
|
|
@@ -9938,11 +10260,11 @@ class DeleteOriginGroupRequest(AbstractModel):
|
|
|
9938
10260
|
r"""
|
|
9939
10261
|
:param _ZoneId: Zone ID.
|
|
9940
10262
|
:type ZoneId: str
|
|
9941
|
-
:param
|
|
9942
|
-
:type
|
|
10263
|
+
:param _InstanceId: CLB instance ID.
|
|
10264
|
+
:type InstanceId: str
|
|
9943
10265
|
"""
|
|
9944
10266
|
self._ZoneId = None
|
|
9945
|
-
self.
|
|
10267
|
+
self._InstanceId = None
|
|
9946
10268
|
|
|
9947
10269
|
@property
|
|
9948
10270
|
def ZoneId(self):
|
|
@@ -9956,20 +10278,20 @@ class DeleteOriginGroupRequest(AbstractModel):
|
|
|
9956
10278
|
self._ZoneId = ZoneId
|
|
9957
10279
|
|
|
9958
10280
|
@property
|
|
9959
|
-
def
|
|
9960
|
-
"""
|
|
10281
|
+
def InstanceId(self):
|
|
10282
|
+
"""CLB instance ID.
|
|
9961
10283
|
:rtype: str
|
|
9962
10284
|
"""
|
|
9963
|
-
return self.
|
|
10285
|
+
return self._InstanceId
|
|
9964
10286
|
|
|
9965
|
-
@
|
|
9966
|
-
def
|
|
9967
|
-
self.
|
|
10287
|
+
@InstanceId.setter
|
|
10288
|
+
def InstanceId(self, InstanceId):
|
|
10289
|
+
self._InstanceId = InstanceId
|
|
9968
10290
|
|
|
9969
10291
|
|
|
9970
10292
|
def _deserialize(self, params):
|
|
9971
10293
|
self._ZoneId = params.get("ZoneId")
|
|
9972
|
-
self.
|
|
10294
|
+
self._InstanceId = params.get("InstanceId")
|
|
9973
10295
|
memeber_set = set(params.keys())
|
|
9974
10296
|
for name, value in vars(self).items():
|
|
9975
10297
|
property_name = name[1:]
|
|
@@ -9980,7 +10302,86 @@ class DeleteOriginGroupRequest(AbstractModel):
|
|
|
9980
10302
|
|
|
9981
10303
|
|
|
9982
10304
|
|
|
9983
|
-
class
|
|
10305
|
+
class DeleteLoadBalancerResponse(AbstractModel):
|
|
10306
|
+
"""DeleteLoadBalancer response structure.
|
|
10307
|
+
|
|
10308
|
+
"""
|
|
10309
|
+
|
|
10310
|
+
def __init__(self):
|
|
10311
|
+
r"""
|
|
10312
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
10313
|
+
:type RequestId: str
|
|
10314
|
+
"""
|
|
10315
|
+
self._RequestId = None
|
|
10316
|
+
|
|
10317
|
+
@property
|
|
10318
|
+
def RequestId(self):
|
|
10319
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
10320
|
+
:rtype: str
|
|
10321
|
+
"""
|
|
10322
|
+
return self._RequestId
|
|
10323
|
+
|
|
10324
|
+
@RequestId.setter
|
|
10325
|
+
def RequestId(self, RequestId):
|
|
10326
|
+
self._RequestId = RequestId
|
|
10327
|
+
|
|
10328
|
+
|
|
10329
|
+
def _deserialize(self, params):
|
|
10330
|
+
self._RequestId = params.get("RequestId")
|
|
10331
|
+
|
|
10332
|
+
|
|
10333
|
+
class DeleteOriginGroupRequest(AbstractModel):
|
|
10334
|
+
"""DeleteOriginGroup request structure.
|
|
10335
|
+
|
|
10336
|
+
"""
|
|
10337
|
+
|
|
10338
|
+
def __init__(self):
|
|
10339
|
+
r"""
|
|
10340
|
+
:param _ZoneId: Zone ID.
|
|
10341
|
+
:type ZoneId: str
|
|
10342
|
+
:param _GroupId: Origin server group ID. This parameter is required.
|
|
10343
|
+
:type GroupId: str
|
|
10344
|
+
"""
|
|
10345
|
+
self._ZoneId = None
|
|
10346
|
+
self._GroupId = None
|
|
10347
|
+
|
|
10348
|
+
@property
|
|
10349
|
+
def ZoneId(self):
|
|
10350
|
+
"""Zone ID.
|
|
10351
|
+
:rtype: str
|
|
10352
|
+
"""
|
|
10353
|
+
return self._ZoneId
|
|
10354
|
+
|
|
10355
|
+
@ZoneId.setter
|
|
10356
|
+
def ZoneId(self, ZoneId):
|
|
10357
|
+
self._ZoneId = ZoneId
|
|
10358
|
+
|
|
10359
|
+
@property
|
|
10360
|
+
def GroupId(self):
|
|
10361
|
+
"""Origin server group ID. This parameter is required.
|
|
10362
|
+
:rtype: str
|
|
10363
|
+
"""
|
|
10364
|
+
return self._GroupId
|
|
10365
|
+
|
|
10366
|
+
@GroupId.setter
|
|
10367
|
+
def GroupId(self, GroupId):
|
|
10368
|
+
self._GroupId = GroupId
|
|
10369
|
+
|
|
10370
|
+
|
|
10371
|
+
def _deserialize(self, params):
|
|
10372
|
+
self._ZoneId = params.get("ZoneId")
|
|
10373
|
+
self._GroupId = params.get("GroupId")
|
|
10374
|
+
memeber_set = set(params.keys())
|
|
10375
|
+
for name, value in vars(self).items():
|
|
10376
|
+
property_name = name[1:]
|
|
10377
|
+
if property_name in memeber_set:
|
|
10378
|
+
memeber_set.remove(property_name)
|
|
10379
|
+
if len(memeber_set) > 0:
|
|
10380
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10381
|
+
|
|
10382
|
+
|
|
10383
|
+
|
|
10384
|
+
class DeleteOriginGroupResponse(AbstractModel):
|
|
9984
10385
|
"""DeleteOriginGroup response structure.
|
|
9985
10386
|
|
|
9986
10387
|
"""
|
|
@@ -14192,6 +14593,275 @@ class DescribeL4ProxyRulesResponse(AbstractModel):
|
|
|
14192
14593
|
self._RequestId = params.get("RequestId")
|
|
14193
14594
|
|
|
14194
14595
|
|
|
14596
|
+
class DescribeLoadBalancerListRequest(AbstractModel):
|
|
14597
|
+
"""DescribeLoadBalancerList request structure.
|
|
14598
|
+
|
|
14599
|
+
"""
|
|
14600
|
+
|
|
14601
|
+
def __init__(self):
|
|
14602
|
+
r"""
|
|
14603
|
+
:param _ZoneId: Zone ID.
|
|
14604
|
+
:type ZoneId: str
|
|
14605
|
+
:param _Offset: Offset of paginated query. Default value: 0.
|
|
14606
|
+
:type Offset: int
|
|
14607
|
+
:param _Limit: Paginated query limit. Default value: 20, maximum value: 100.
|
|
14608
|
+
:type Limit: int
|
|
14609
|
+
:param _Filters: Filter criteria. The maximum value of Filters.Values is 20. If this parameter is left empty, all LoadBalancer information under the current zone ID will be returned. The detailed filter criteria are as follows:
|
|
14610
|
+
<li>InstanceName: Filter by LoadBalancer name.</li>
|
|
14611
|
+
<li>InstanceId: Filter by LoadBalancer ID.</li>
|
|
14612
|
+
|
|
14613
|
+
:type Filters: list of Filter
|
|
14614
|
+
"""
|
|
14615
|
+
self._ZoneId = None
|
|
14616
|
+
self._Offset = None
|
|
14617
|
+
self._Limit = None
|
|
14618
|
+
self._Filters = None
|
|
14619
|
+
|
|
14620
|
+
@property
|
|
14621
|
+
def ZoneId(self):
|
|
14622
|
+
"""Zone ID.
|
|
14623
|
+
:rtype: str
|
|
14624
|
+
"""
|
|
14625
|
+
return self._ZoneId
|
|
14626
|
+
|
|
14627
|
+
@ZoneId.setter
|
|
14628
|
+
def ZoneId(self, ZoneId):
|
|
14629
|
+
self._ZoneId = ZoneId
|
|
14630
|
+
|
|
14631
|
+
@property
|
|
14632
|
+
def Offset(self):
|
|
14633
|
+
"""Offset of paginated query. Default value: 0.
|
|
14634
|
+
:rtype: int
|
|
14635
|
+
"""
|
|
14636
|
+
return self._Offset
|
|
14637
|
+
|
|
14638
|
+
@Offset.setter
|
|
14639
|
+
def Offset(self, Offset):
|
|
14640
|
+
self._Offset = Offset
|
|
14641
|
+
|
|
14642
|
+
@property
|
|
14643
|
+
def Limit(self):
|
|
14644
|
+
"""Paginated query limit. Default value: 20, maximum value: 100.
|
|
14645
|
+
:rtype: int
|
|
14646
|
+
"""
|
|
14647
|
+
return self._Limit
|
|
14648
|
+
|
|
14649
|
+
@Limit.setter
|
|
14650
|
+
def Limit(self, Limit):
|
|
14651
|
+
self._Limit = Limit
|
|
14652
|
+
|
|
14653
|
+
@property
|
|
14654
|
+
def Filters(self):
|
|
14655
|
+
"""Filter criteria. The maximum value of Filters.Values is 20. If this parameter is left empty, all LoadBalancer information under the current zone ID will be returned. The detailed filter criteria are as follows:
|
|
14656
|
+
<li>InstanceName: Filter by LoadBalancer name.</li>
|
|
14657
|
+
<li>InstanceId: Filter by LoadBalancer ID.</li>
|
|
14658
|
+
|
|
14659
|
+
:rtype: list of Filter
|
|
14660
|
+
"""
|
|
14661
|
+
return self._Filters
|
|
14662
|
+
|
|
14663
|
+
@Filters.setter
|
|
14664
|
+
def Filters(self, Filters):
|
|
14665
|
+
self._Filters = Filters
|
|
14666
|
+
|
|
14667
|
+
|
|
14668
|
+
def _deserialize(self, params):
|
|
14669
|
+
self._ZoneId = params.get("ZoneId")
|
|
14670
|
+
self._Offset = params.get("Offset")
|
|
14671
|
+
self._Limit = params.get("Limit")
|
|
14672
|
+
if params.get("Filters") is not None:
|
|
14673
|
+
self._Filters = []
|
|
14674
|
+
for item in params.get("Filters"):
|
|
14675
|
+
obj = Filter()
|
|
14676
|
+
obj._deserialize(item)
|
|
14677
|
+
self._Filters.append(obj)
|
|
14678
|
+
memeber_set = set(params.keys())
|
|
14679
|
+
for name, value in vars(self).items():
|
|
14680
|
+
property_name = name[1:]
|
|
14681
|
+
if property_name in memeber_set:
|
|
14682
|
+
memeber_set.remove(property_name)
|
|
14683
|
+
if len(memeber_set) > 0:
|
|
14684
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
14685
|
+
|
|
14686
|
+
|
|
14687
|
+
|
|
14688
|
+
class DescribeLoadBalancerListResponse(AbstractModel):
|
|
14689
|
+
"""DescribeLoadBalancerList response structure.
|
|
14690
|
+
|
|
14691
|
+
"""
|
|
14692
|
+
|
|
14693
|
+
def __init__(self):
|
|
14694
|
+
r"""
|
|
14695
|
+
:param _TotalCount: Total number of LoadBalancers.
|
|
14696
|
+
:type TotalCount: int
|
|
14697
|
+
:param _LoadBalancerList: LoadBalancer list.
|
|
14698
|
+
:type LoadBalancerList: list of LoadBalancer
|
|
14699
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
14700
|
+
:type RequestId: str
|
|
14701
|
+
"""
|
|
14702
|
+
self._TotalCount = None
|
|
14703
|
+
self._LoadBalancerList = None
|
|
14704
|
+
self._RequestId = None
|
|
14705
|
+
|
|
14706
|
+
@property
|
|
14707
|
+
def TotalCount(self):
|
|
14708
|
+
"""Total number of LoadBalancers.
|
|
14709
|
+
:rtype: int
|
|
14710
|
+
"""
|
|
14711
|
+
return self._TotalCount
|
|
14712
|
+
|
|
14713
|
+
@TotalCount.setter
|
|
14714
|
+
def TotalCount(self, TotalCount):
|
|
14715
|
+
self._TotalCount = TotalCount
|
|
14716
|
+
|
|
14717
|
+
@property
|
|
14718
|
+
def LoadBalancerList(self):
|
|
14719
|
+
"""LoadBalancer list.
|
|
14720
|
+
:rtype: list of LoadBalancer
|
|
14721
|
+
"""
|
|
14722
|
+
return self._LoadBalancerList
|
|
14723
|
+
|
|
14724
|
+
@LoadBalancerList.setter
|
|
14725
|
+
def LoadBalancerList(self, LoadBalancerList):
|
|
14726
|
+
self._LoadBalancerList = LoadBalancerList
|
|
14727
|
+
|
|
14728
|
+
@property
|
|
14729
|
+
def RequestId(self):
|
|
14730
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
14731
|
+
:rtype: str
|
|
14732
|
+
"""
|
|
14733
|
+
return self._RequestId
|
|
14734
|
+
|
|
14735
|
+
@RequestId.setter
|
|
14736
|
+
def RequestId(self, RequestId):
|
|
14737
|
+
self._RequestId = RequestId
|
|
14738
|
+
|
|
14739
|
+
|
|
14740
|
+
def _deserialize(self, params):
|
|
14741
|
+
self._TotalCount = params.get("TotalCount")
|
|
14742
|
+
if params.get("LoadBalancerList") is not None:
|
|
14743
|
+
self._LoadBalancerList = []
|
|
14744
|
+
for item in params.get("LoadBalancerList"):
|
|
14745
|
+
obj = LoadBalancer()
|
|
14746
|
+
obj._deserialize(item)
|
|
14747
|
+
self._LoadBalancerList.append(obj)
|
|
14748
|
+
self._RequestId = params.get("RequestId")
|
|
14749
|
+
|
|
14750
|
+
|
|
14751
|
+
class DescribeOriginGroupHealthStatusRequest(AbstractModel):
|
|
14752
|
+
"""DescribeOriginGroupHealthStatus request structure.
|
|
14753
|
+
|
|
14754
|
+
"""
|
|
14755
|
+
|
|
14756
|
+
def __init__(self):
|
|
14757
|
+
r"""
|
|
14758
|
+
:param _ZoneId: Zone ID.
|
|
14759
|
+
:type ZoneId: str
|
|
14760
|
+
:param _LBInstanceId: CLB instance ID.
|
|
14761
|
+
:type LBInstanceId: str
|
|
14762
|
+
:param _OriginGroupIds: Origin server group ID. If left empty, the health status of all origin server groups under a LoadBalancer is obtained by default.
|
|
14763
|
+
:type OriginGroupIds: list of str
|
|
14764
|
+
"""
|
|
14765
|
+
self._ZoneId = None
|
|
14766
|
+
self._LBInstanceId = None
|
|
14767
|
+
self._OriginGroupIds = None
|
|
14768
|
+
|
|
14769
|
+
@property
|
|
14770
|
+
def ZoneId(self):
|
|
14771
|
+
"""Zone ID.
|
|
14772
|
+
:rtype: str
|
|
14773
|
+
"""
|
|
14774
|
+
return self._ZoneId
|
|
14775
|
+
|
|
14776
|
+
@ZoneId.setter
|
|
14777
|
+
def ZoneId(self, ZoneId):
|
|
14778
|
+
self._ZoneId = ZoneId
|
|
14779
|
+
|
|
14780
|
+
@property
|
|
14781
|
+
def LBInstanceId(self):
|
|
14782
|
+
"""CLB instance ID.
|
|
14783
|
+
:rtype: str
|
|
14784
|
+
"""
|
|
14785
|
+
return self._LBInstanceId
|
|
14786
|
+
|
|
14787
|
+
@LBInstanceId.setter
|
|
14788
|
+
def LBInstanceId(self, LBInstanceId):
|
|
14789
|
+
self._LBInstanceId = LBInstanceId
|
|
14790
|
+
|
|
14791
|
+
@property
|
|
14792
|
+
def OriginGroupIds(self):
|
|
14793
|
+
"""Origin server group ID. If left empty, the health status of all origin server groups under a LoadBalancer is obtained by default.
|
|
14794
|
+
:rtype: list of str
|
|
14795
|
+
"""
|
|
14796
|
+
return self._OriginGroupIds
|
|
14797
|
+
|
|
14798
|
+
@OriginGroupIds.setter
|
|
14799
|
+
def OriginGroupIds(self, OriginGroupIds):
|
|
14800
|
+
self._OriginGroupIds = OriginGroupIds
|
|
14801
|
+
|
|
14802
|
+
|
|
14803
|
+
def _deserialize(self, params):
|
|
14804
|
+
self._ZoneId = params.get("ZoneId")
|
|
14805
|
+
self._LBInstanceId = params.get("LBInstanceId")
|
|
14806
|
+
self._OriginGroupIds = params.get("OriginGroupIds")
|
|
14807
|
+
memeber_set = set(params.keys())
|
|
14808
|
+
for name, value in vars(self).items():
|
|
14809
|
+
property_name = name[1:]
|
|
14810
|
+
if property_name in memeber_set:
|
|
14811
|
+
memeber_set.remove(property_name)
|
|
14812
|
+
if len(memeber_set) > 0:
|
|
14813
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
14814
|
+
|
|
14815
|
+
|
|
14816
|
+
|
|
14817
|
+
class DescribeOriginGroupHealthStatusResponse(AbstractModel):
|
|
14818
|
+
"""DescribeOriginGroupHealthStatus response structure.
|
|
14819
|
+
|
|
14820
|
+
"""
|
|
14821
|
+
|
|
14822
|
+
def __init__(self):
|
|
14823
|
+
r"""
|
|
14824
|
+
:param _OriginGroupHealthStatusList: Health status of origin servers in an origin server group.
|
|
14825
|
+
:type OriginGroupHealthStatusList: list of OriginGroupHealthStatusDetail
|
|
14826
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
14827
|
+
:type RequestId: str
|
|
14828
|
+
"""
|
|
14829
|
+
self._OriginGroupHealthStatusList = None
|
|
14830
|
+
self._RequestId = None
|
|
14831
|
+
|
|
14832
|
+
@property
|
|
14833
|
+
def OriginGroupHealthStatusList(self):
|
|
14834
|
+
"""Health status of origin servers in an origin server group.
|
|
14835
|
+
:rtype: list of OriginGroupHealthStatusDetail
|
|
14836
|
+
"""
|
|
14837
|
+
return self._OriginGroupHealthStatusList
|
|
14838
|
+
|
|
14839
|
+
@OriginGroupHealthStatusList.setter
|
|
14840
|
+
def OriginGroupHealthStatusList(self, OriginGroupHealthStatusList):
|
|
14841
|
+
self._OriginGroupHealthStatusList = OriginGroupHealthStatusList
|
|
14842
|
+
|
|
14843
|
+
@property
|
|
14844
|
+
def RequestId(self):
|
|
14845
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
14846
|
+
:rtype: str
|
|
14847
|
+
"""
|
|
14848
|
+
return self._RequestId
|
|
14849
|
+
|
|
14850
|
+
@RequestId.setter
|
|
14851
|
+
def RequestId(self, RequestId):
|
|
14852
|
+
self._RequestId = RequestId
|
|
14853
|
+
|
|
14854
|
+
|
|
14855
|
+
def _deserialize(self, params):
|
|
14856
|
+
if params.get("OriginGroupHealthStatusList") is not None:
|
|
14857
|
+
self._OriginGroupHealthStatusList = []
|
|
14858
|
+
for item in params.get("OriginGroupHealthStatusList"):
|
|
14859
|
+
obj = OriginGroupHealthStatusDetail()
|
|
14860
|
+
obj._deserialize(item)
|
|
14861
|
+
self._OriginGroupHealthStatusList.append(obj)
|
|
14862
|
+
self._RequestId = params.get("RequestId")
|
|
14863
|
+
|
|
14864
|
+
|
|
14195
14865
|
class DescribeOriginGroupRequest(AbstractModel):
|
|
14196
14866
|
"""DescribeOriginGroup request structure.
|
|
14197
14867
|
|
|
@@ -16046,46 +16716,46 @@ class DescribeTimingL7AnalysisDataRequest(AbstractModel):
|
|
|
16046
16716
|
:type StartTime: str
|
|
16047
16717
|
:param _EndTime: The end time.
|
|
16048
16718
|
:type EndTime: str
|
|
16049
|
-
:param _MetricNames:
|
|
16050
|
-
<li>l7Flow_outFlux:
|
|
16051
|
-
<li>l7Flow_inFlux:
|
|
16052
|
-
<li>
|
|
16053
|
-
<li>
|
|
16054
|
-
<li>
|
|
16055
|
-
<li>
|
|
16056
|
-
<li>
|
|
16719
|
+
:param _MetricNames: Metric list. Valid values:
|
|
16720
|
+
<li>l7Flow_outFlux: L7 EdgeOne response traffic;</li>
|
|
16721
|
+
<li>l7Flow_inFlux: L7 client request traffic;</li>
|
|
16722
|
+
<li>l7Flow_flux: L7 total access traffic (including the EdgeOne response traffic and client request traffic);</li>
|
|
16723
|
+
<li>l7Flow_outBandwidth: L7 EdgeOne response bandwidth;</li>
|
|
16724
|
+
<li>l7Flow_inBandwidth: L7 client request bandwidth;</li>
|
|
16725
|
+
<li>l7Flow_bandwidth: L7 total access bandwidth (including the EdgeOne response bandwidth and client request bandwidth);</li>
|
|
16726
|
+
<li>l7Flow_request: L7 access request count.</li>
|
|
16057
16727
|
:type MetricNames: list of str
|
|
16058
|
-
:param _ZoneIds:
|
|
16728
|
+
:param _ZoneIds: Zone ID set. This parameter is required.
|
|
16059
16729
|
:type ZoneIds: list of str
|
|
16060
|
-
:param _Interval:
|
|
16061
|
-
<li
|
|
16062
|
-
<li
|
|
16063
|
-
<li
|
|
16064
|
-
<li
|
|
16730
|
+
:param _Interval: Query period granularity. Valid values:
|
|
16731
|
+
<li>min: 1 minute;</li>
|
|
16732
|
+
<li>5min: 5 minutes;</li>
|
|
16733
|
+
<li>hour: 1 hour;</li>
|
|
16734
|
+
<li>day: 1 day.</li>If this parameter is not filled in, the granularity will be automatically calculated based on the interval between the start time and end time. Specifically, data will be queried with a granularity of min, 5min, hour, and day respectively when the period is no more than 2 hours, no more than 2 days, no more than 7 days, and over 7 days.
|
|
16065
16735
|
:type Interval: str
|
|
16066
|
-
:param _Filters:
|
|
16067
|
-
<li>country
|
|
16068
|
-
<li
|
|
16069
|
-
<li
|
|
16070
|
-
<li
|
|
16071
|
-
<li
|
|
16072
|
-
<li
|
|
16073
|
-
<li
|
|
16074
|
-
<li
|
|
16075
|
-
<li
|
|
16076
|
-
<li>
|
|
16077
|
-
<li
|
|
16078
|
-
<li
|
|
16079
|
-
<li
|
|
16080
|
-
<li
|
|
16081
|
-
<li
|
|
16082
|
-
<li
|
|
16083
|
-
<li>`tagValue`<br>Filter by the <strong>Tag Value</strong>. </li>
|
|
16736
|
+
:param _Filters: Filter criteria. The detailed key values are as follows:
|
|
16737
|
+
<li>country: Filter by country/region. The country/region follows the <a href="https://baike.baidu.com/item/ISO%203166-1/5269555">ISO 3166-1 alpha-2</a> standard. Example value: CN.</li>
|
|
16738
|
+
<li>province: Filter by province. This parameter is supported only when the service area is the Chinese mainland. For province codes, refer to the <a href="https://intl.cloud.tencent.com/document/product/228/6316?from_cn_redirect=1#.E5.8C.BA.E5.9F.9F-.2F-.E8.BF.90.E8.90.A5.E5.95.86.E6.98.A0.E5.B0.84.E8.A1.A8">Mapping Table of Provinces Within the Chinese Mainland</a>. Example value: 22.</li>
|
|
16739
|
+
<li>isp: Filter by ISP. This parameter is supported only when the service area is the Chinese mainland. Valid values are as follows:<br> 2: China Telecom;<br> 26: China Unicom;<br> 1046: China Mobile;<br> 3947: China Tietong;<br> 38: CERNET;<br> 43: Great Wall Broadband;<br> 0: other ISPs.</li>
|
|
16740
|
+
<li>domain: Filter by subdomain name. Example value: www.example.com.</li>
|
|
16741
|
+
<li>url: Filter by URL path. Example value: /content or /content/test.jpg. If the url parameter is input, up to 30 days of data can be queried.</li>
|
|
16742
|
+
<li>referer: Filter by Referer request header. Example value: http://www.example.com/. If the referer parameter is input, up to 30 days of data can be queried.</li>
|
|
16743
|
+
<li>resourceType: Filter by resource type, which is generally the file suffix. Example value: .jpg. If the resourceType parameter is input, up to 30 days of data can be queried;</li>
|
|
16744
|
+
<li>protocol: Filter by HTTP protocol version. Valid values are as follows:<br> HTTP/1.0;<br> HTTP/1.1;<br> HTTP/2.0;<br> HTTP/3;<br> WebSocket.</li><li>socket: Filter by HTTP protocol type. Valid values are as follows:<br> HTTP: HTTP protocol;<br> HTTPS: HTTPS protocol;<br> QUIC: QUIC protocol.</li>
|
|
16745
|
+
<li>statusCode: Filter by edge status code. If the statusCode parameter is input, up to 30 days of data can be queried. Valid values are as follows:<br> 1XX: 1xx status code;<br> 2XX: 2xx status code;<br> 3XX: 3xx status code;<br> 4XX: 4xx status code;<br> 5XX: 5xx status code;<br> An integer within the range [0,600).</li>
|
|
16746
|
+
<li>browserType: Filter by browser type. If the browserType parameter is input, up to 30 days of data can be queried. Valid values are as follows:<br> Firefox: Firefox browser;<br> Chrome: Chrome browser;<br> Safari: Safari browser;<br> Other: other browser types;<br> Empty: The browser type is empty;<br> Bot: search engine crawler;<br> MicrosoftEdge: Microsoft Edge browser;<br> IE: IE browser;<br> Opera: Opera browser;<br> QQBrowser: QQ browser;<br> LBBrowser: LB browser;<br> MaxthonBrowser: Maxthon browser;<br> SouGouBrowser: Sogou browser;<br> BIDUBrowser: Baidu browser;<br> TaoBrowser: Tao browser;<br> UBrowser: UC browser.</li>
|
|
16747
|
+
<li>deviceType: Filter by device type. If the deviceType parameter is input, up to 30 days of data can be queried. Valid values are as follows:<br> TV: TV device;<br> Tablet: tablet device;<br> Mobile: mobile device;<br> Desktop: desktop device;<br> Other: other device types;<br> Empty: The device type is empty.</li>
|
|
16748
|
+
<li>operatingSystemType: Filter by operating system type. If the operatingSystemType parameter is input, up to 30 days of data can be queried. Valid values are as follows:<br> Linux: Linux operating system;<br> MacOS: MacOS operating system;<br> Android: Android operating system;<br> IOS: iOS operating system;<br> Windows: Windows operating system;<br> NetBSD: NetBSD;<br> ChromiumOS: ChromiumOS;<br> Bot: search engine crawler;<br> Other: other types of operating systems;<br> Empty: The operating system is empty.</li>
|
|
16749
|
+
<li>tlsVersion: Filter by TLS version. If the tlsVersion parameter is input, up to 30 days of data can be queried. Valid values are as follows:<br> TLS1.0;<br> TLS1.1;<br> TLS1.2;<br> TLS1.3.</li>
|
|
16750
|
+
<li>ipVersion: Filter by IP version. Valid values are as follows:<br> 4: IPv4;<br> 6: IPv6.</li>
|
|
16751
|
+
<li>cacheType: Filter by cache status. Valid values are as follows:<br> hit: The request hits the EdgeOne node cache and the resources are provided by the node cache. A partial cache hit for resources is also recorded as hit.<br> miss: The request does not hit the EdgeOne node cache and the resources are provided by the origin server.<br> dynamic: The requested resources cannot be cached or are not configured with node cache and are provided by the origin server.<br> other: unrecognizable cache status. Requests responded to by edge functions are recorded as other.</li>
|
|
16752
|
+
<li>clientIp: Filter by client IP.</li>
|
|
16084
16753
|
:type Filters: list of QueryCondition
|
|
16085
|
-
:param _Area:
|
|
16086
|
-
<li
|
|
16087
|
-
<li
|
|
16088
|
-
<li
|
|
16754
|
+
:param _Area: Data region. Valid values:
|
|
16755
|
+
<li>overseas: global (excluding the Chinese mainland) data;</li>
|
|
16756
|
+
<li>mainland: Chinese mainland data;</li>
|
|
16757
|
+
<li>global: global data.</li>
|
|
16758
|
+
If this parameter is not filled in, the default value is global.
|
|
16089
16759
|
:type Area: str
|
|
16090
16760
|
"""
|
|
16091
16761
|
self._StartTime = None
|
|
@@ -16120,14 +16790,14 @@ class DescribeTimingL7AnalysisDataRequest(AbstractModel):
|
|
|
16120
16790
|
|
|
16121
16791
|
@property
|
|
16122
16792
|
def MetricNames(self):
|
|
16123
|
-
"""
|
|
16124
|
-
<li>l7Flow_outFlux:
|
|
16125
|
-
<li>l7Flow_inFlux:
|
|
16126
|
-
<li>
|
|
16127
|
-
<li>
|
|
16128
|
-
<li>
|
|
16129
|
-
<li>
|
|
16130
|
-
<li>
|
|
16793
|
+
"""Metric list. Valid values:
|
|
16794
|
+
<li>l7Flow_outFlux: L7 EdgeOne response traffic;</li>
|
|
16795
|
+
<li>l7Flow_inFlux: L7 client request traffic;</li>
|
|
16796
|
+
<li>l7Flow_flux: L7 total access traffic (including the EdgeOne response traffic and client request traffic);</li>
|
|
16797
|
+
<li>l7Flow_outBandwidth: L7 EdgeOne response bandwidth;</li>
|
|
16798
|
+
<li>l7Flow_inBandwidth: L7 client request bandwidth;</li>
|
|
16799
|
+
<li>l7Flow_bandwidth: L7 total access bandwidth (including the EdgeOne response bandwidth and client request bandwidth);</li>
|
|
16800
|
+
<li>l7Flow_request: L7 access request count.</li>
|
|
16131
16801
|
:rtype: list of str
|
|
16132
16802
|
"""
|
|
16133
16803
|
return self._MetricNames
|
|
@@ -16138,7 +16808,7 @@ class DescribeTimingL7AnalysisDataRequest(AbstractModel):
|
|
|
16138
16808
|
|
|
16139
16809
|
@property
|
|
16140
16810
|
def ZoneIds(self):
|
|
16141
|
-
"""
|
|
16811
|
+
"""Zone ID set. This parameter is required.
|
|
16142
16812
|
:rtype: list of str
|
|
16143
16813
|
"""
|
|
16144
16814
|
return self._ZoneIds
|
|
@@ -16149,11 +16819,11 @@ class DescribeTimingL7AnalysisDataRequest(AbstractModel):
|
|
|
16149
16819
|
|
|
16150
16820
|
@property
|
|
16151
16821
|
def Interval(self):
|
|
16152
|
-
"""
|
|
16153
|
-
<li
|
|
16154
|
-
<li
|
|
16155
|
-
<li
|
|
16156
|
-
<li
|
|
16822
|
+
"""Query period granularity. Valid values:
|
|
16823
|
+
<li>min: 1 minute;</li>
|
|
16824
|
+
<li>5min: 5 minutes;</li>
|
|
16825
|
+
<li>hour: 1 hour;</li>
|
|
16826
|
+
<li>day: 1 day.</li>If this parameter is not filled in, the granularity will be automatically calculated based on the interval between the start time and end time. Specifically, data will be queried with a granularity of min, 5min, hour, and day respectively when the period is no more than 2 hours, no more than 2 days, no more than 7 days, and over 7 days.
|
|
16157
16827
|
:rtype: str
|
|
16158
16828
|
"""
|
|
16159
16829
|
return self._Interval
|
|
@@ -16164,24 +16834,23 @@ class DescribeTimingL7AnalysisDataRequest(AbstractModel):
|
|
|
16164
16834
|
|
|
16165
16835
|
@property
|
|
16166
16836
|
def Filters(self):
|
|
16167
|
-
"""
|
|
16168
|
-
<li>country
|
|
16169
|
-
<li
|
|
16170
|
-
<li
|
|
16171
|
-
<li
|
|
16172
|
-
<li
|
|
16173
|
-
<li
|
|
16174
|
-
<li
|
|
16175
|
-
<li
|
|
16176
|
-
<li
|
|
16177
|
-
<li>
|
|
16178
|
-
<li
|
|
16179
|
-
<li
|
|
16180
|
-
<li
|
|
16181
|
-
<li
|
|
16182
|
-
<li
|
|
16183
|
-
<li
|
|
16184
|
-
<li>`tagValue`<br>Filter by the <strong>Tag Value</strong>. </li>
|
|
16837
|
+
"""Filter criteria. The detailed key values are as follows:
|
|
16838
|
+
<li>country: Filter by country/region. The country/region follows the <a href="https://baike.baidu.com/item/ISO%203166-1/5269555">ISO 3166-1 alpha-2</a> standard. Example value: CN.</li>
|
|
16839
|
+
<li>province: Filter by province. This parameter is supported only when the service area is the Chinese mainland. For province codes, refer to the <a href="https://intl.cloud.tencent.com/document/product/228/6316?from_cn_redirect=1#.E5.8C.BA.E5.9F.9F-.2F-.E8.BF.90.E8.90.A5.E5.95.86.E6.98.A0.E5.B0.84.E8.A1.A8">Mapping Table of Provinces Within the Chinese Mainland</a>. Example value: 22.</li>
|
|
16840
|
+
<li>isp: Filter by ISP. This parameter is supported only when the service area is the Chinese mainland. Valid values are as follows:<br> 2: China Telecom;<br> 26: China Unicom;<br> 1046: China Mobile;<br> 3947: China Tietong;<br> 38: CERNET;<br> 43: Great Wall Broadband;<br> 0: other ISPs.</li>
|
|
16841
|
+
<li>domain: Filter by subdomain name. Example value: www.example.com.</li>
|
|
16842
|
+
<li>url: Filter by URL path. Example value: /content or /content/test.jpg. If the url parameter is input, up to 30 days of data can be queried.</li>
|
|
16843
|
+
<li>referer: Filter by Referer request header. Example value: http://www.example.com/. If the referer parameter is input, up to 30 days of data can be queried.</li>
|
|
16844
|
+
<li>resourceType: Filter by resource type, which is generally the file suffix. Example value: .jpg. If the resourceType parameter is input, up to 30 days of data can be queried;</li>
|
|
16845
|
+
<li>protocol: Filter by HTTP protocol version. Valid values are as follows:<br> HTTP/1.0;<br> HTTP/1.1;<br> HTTP/2.0;<br> HTTP/3;<br> WebSocket.</li><li>socket: Filter by HTTP protocol type. Valid values are as follows:<br> HTTP: HTTP protocol;<br> HTTPS: HTTPS protocol;<br> QUIC: QUIC protocol.</li>
|
|
16846
|
+
<li>statusCode: Filter by edge status code. If the statusCode parameter is input, up to 30 days of data can be queried. Valid values are as follows:<br> 1XX: 1xx status code;<br> 2XX: 2xx status code;<br> 3XX: 3xx status code;<br> 4XX: 4xx status code;<br> 5XX: 5xx status code;<br> An integer within the range [0,600).</li>
|
|
16847
|
+
<li>browserType: Filter by browser type. If the browserType parameter is input, up to 30 days of data can be queried. Valid values are as follows:<br> Firefox: Firefox browser;<br> Chrome: Chrome browser;<br> Safari: Safari browser;<br> Other: other browser types;<br> Empty: The browser type is empty;<br> Bot: search engine crawler;<br> MicrosoftEdge: Microsoft Edge browser;<br> IE: IE browser;<br> Opera: Opera browser;<br> QQBrowser: QQ browser;<br> LBBrowser: LB browser;<br> MaxthonBrowser: Maxthon browser;<br> SouGouBrowser: Sogou browser;<br> BIDUBrowser: Baidu browser;<br> TaoBrowser: Tao browser;<br> UBrowser: UC browser.</li>
|
|
16848
|
+
<li>deviceType: Filter by device type. If the deviceType parameter is input, up to 30 days of data can be queried. Valid values are as follows:<br> TV: TV device;<br> Tablet: tablet device;<br> Mobile: mobile device;<br> Desktop: desktop device;<br> Other: other device types;<br> Empty: The device type is empty.</li>
|
|
16849
|
+
<li>operatingSystemType: Filter by operating system type. If the operatingSystemType parameter is input, up to 30 days of data can be queried. Valid values are as follows:<br> Linux: Linux operating system;<br> MacOS: MacOS operating system;<br> Android: Android operating system;<br> IOS: iOS operating system;<br> Windows: Windows operating system;<br> NetBSD: NetBSD;<br> ChromiumOS: ChromiumOS;<br> Bot: search engine crawler;<br> Other: other types of operating systems;<br> Empty: The operating system is empty.</li>
|
|
16850
|
+
<li>tlsVersion: Filter by TLS version. If the tlsVersion parameter is input, up to 30 days of data can be queried. Valid values are as follows:<br> TLS1.0;<br> TLS1.1;<br> TLS1.2;<br> TLS1.3.</li>
|
|
16851
|
+
<li>ipVersion: Filter by IP version. Valid values are as follows:<br> 4: IPv4;<br> 6: IPv6.</li>
|
|
16852
|
+
<li>cacheType: Filter by cache status. Valid values are as follows:<br> hit: The request hits the EdgeOne node cache and the resources are provided by the node cache. A partial cache hit for resources is also recorded as hit.<br> miss: The request does not hit the EdgeOne node cache and the resources are provided by the origin server.<br> dynamic: The requested resources cannot be cached or are not configured with node cache and are provided by the origin server.<br> other: unrecognizable cache status. Requests responded to by edge functions are recorded as other.</li>
|
|
16853
|
+
<li>clientIp: Filter by client IP.</li>
|
|
16185
16854
|
:rtype: list of QueryCondition
|
|
16186
16855
|
"""
|
|
16187
16856
|
return self._Filters
|
|
@@ -16192,10 +16861,11 @@ class DescribeTimingL7AnalysisDataRequest(AbstractModel):
|
|
|
16192
16861
|
|
|
16193
16862
|
@property
|
|
16194
16863
|
def Area(self):
|
|
16195
|
-
"""
|
|
16196
|
-
<li
|
|
16197
|
-
<li
|
|
16198
|
-
<li
|
|
16864
|
+
"""Data region. Valid values:
|
|
16865
|
+
<li>overseas: global (excluding the Chinese mainland) data;</li>
|
|
16866
|
+
<li>mainland: Chinese mainland data;</li>
|
|
16867
|
+
<li>global: global data.</li>
|
|
16868
|
+
If this parameter is not filled in, the default value is global.
|
|
16199
16869
|
:rtype: str
|
|
16200
16870
|
"""
|
|
16201
16871
|
return self._Area
|
|
@@ -16305,20 +16975,20 @@ class DescribeTimingL7CacheDataRequest(AbstractModel):
|
|
|
16305
16975
|
:param _EndTime: The end time.
|
|
16306
16976
|
:type EndTime: str
|
|
16307
16977
|
:param _MetricNames: The query metric. Values:
|
|
16308
|
-
<li
|
|
16309
|
-
<li
|
|
16310
|
-
<li
|
|
16978
|
+
<li>l7Cache_outFlux: Response traffic.</li>
|
|
16979
|
+
<li>l7Cache_request: Response requests.</li>
|
|
16980
|
+
<li>l7Cache_outBandwidth: Response bandwidth.</li>
|
|
16311
16981
|
:type MetricNames: list of str
|
|
16312
16982
|
:param _ZoneIds: ZoneId set. This parameter is required.
|
|
16313
16983
|
:type ZoneIds: list of str
|
|
16314
16984
|
:param _Filters: Filter conditions. See below for details:
|
|
16315
|
-
<li>`domain`<br>
|
|
16316
|
-
<li>`url`<br>
|
|
16317
|
-
<li>`resourceType`<br>
|
|
16318
|
-
<li>cacheType<br>
|
|
16319
|
-
<li>`statusCode`<br>
|
|
16320
|
-
<li>`tagKey`:<br>
|
|
16321
|
-
<li>`tagValue`<br>
|
|
16985
|
+
<li>`domain`<br> Filter by the <strong>sub-domain name</strong>, such as `test.example.com`<br> Type: String<br> Required: No</li>
|
|
16986
|
+
<li>`url`<br> Filter by the <strong>URL</strong>, such as `/content`. The query period cannot exceed 30 days. <br> Type: String<br> Required: No</li>
|
|
16987
|
+
<li>`resourceType`<br> Filter by the <strong>resource file type</strong>, such as `jpg`, `png`. The query period cannot exceed 30 days.<br>Type: String<br> Required: No</li>
|
|
16988
|
+
<li>cacheType<br>Filter by the <strong>cache hit result</strong>.<br>Type: String<br> Required: No<br> Values: <br> `hit`: Cache hit; <br> `dynamic`: Resource non-cacheable; <br> `miss`: Cache miss</li>
|
|
16989
|
+
<li>`statusCode`<br> Filter by the <strong> status code</strong>. The query period cannot exceed 30 days. <br> Type: String<br> Required: No<br> Values: <br> `1XX`: All 1xx status codes;<br> `100`: 100 status code;<br> `101`: 101 status code;<br> `102`: 102 status code;<br> `2XX`: All 2xx status codes;<br> `200`: 200 status code;<br> `201`: 201 status code;<br> `202`: 202 status code;<br> `203`: 203 status code;<br> `204`: 204 status code;<br> `205`: 205 status code;<br> `206`: 206 status code;<br> `207`: 207 status code;<br> `3XX`: All 3xx status codes;<br> `300`: 300 status code;<br> `301`: 301 status code;<br> `302`: 302 status code;<br> `303`: 303 status code;<br> `304`: 304 status code;<br> `305`: 305 status code;<br> `307`: 307 status code;<br> `4XX`: All 4xx status codes;<br> `400`: 400 status code;<br> `401`: 401 status code;<br> `402`: 402 status code;<br> `403`: 403 status code;<br> `404`: 404 status code;<br> `405`: 405 status code;<br> `406`: 406 status code;<br> `407`: 407 status code;<br> `408`: 408 status code;<br> `409`: 409 status code;<br> `410`: 410 status code;<br> `411`: 411 status code;<br> `412`: 412 status code;<br> `412`: 413 status code;<br> `414`: 414 status code;<br> `415`: 415 status code;<br> `416`: 416 status code;<br> `417`: 417 status code;<br>`422`: 422 status code;<br> `423`: 423 status code;<br> `424`: 424 status code;<br> `426`: 426 status code;<br> `451`: 451 status code;<br> `5XX`: All 5xx status codes;<br> `500`: 500 status code;<br> `501`: 501 status code;<br> `502`: 502 status code;<br> `503`: 503 status code;<br> `504`: 504 status code;<br> `505`: 505 status code;<br> `506`: 506 status code;<br> `507`: 507 status code;<br> `510`: 510 status code;<br> `514`: 514 status code;<br> `544`: 544 status code.</li>
|
|
16990
|
+
<li>`tagKey`:<br> Filter by the <strong>tag key</strong><br> Type: String<br> Required: No</li>
|
|
16991
|
+
<li>`tagValue`<br> Filter by the <strong>tag value</strong><br> Type: String<br> Required: No</li>
|
|
16322
16992
|
:type Filters: list of QueryCondition
|
|
16323
16993
|
:param _Interval: The query time granularity. Values:
|
|
16324
16994
|
<li>`min`: 1 minute;</li>
|
|
@@ -16365,9 +17035,9 @@ class DescribeTimingL7CacheDataRequest(AbstractModel):
|
|
|
16365
17035
|
@property
|
|
16366
17036
|
def MetricNames(self):
|
|
16367
17037
|
"""The query metric. Values:
|
|
16368
|
-
<li
|
|
16369
|
-
<li
|
|
16370
|
-
<li
|
|
17038
|
+
<li>l7Cache_outFlux: Response traffic.</li>
|
|
17039
|
+
<li>l7Cache_request: Response requests.</li>
|
|
17040
|
+
<li>l7Cache_outBandwidth: Response bandwidth.</li>
|
|
16371
17041
|
:rtype: list of str
|
|
16372
17042
|
"""
|
|
16373
17043
|
return self._MetricNames
|
|
@@ -16390,13 +17060,13 @@ class DescribeTimingL7CacheDataRequest(AbstractModel):
|
|
|
16390
17060
|
@property
|
|
16391
17061
|
def Filters(self):
|
|
16392
17062
|
"""Filter conditions. See below for details:
|
|
16393
|
-
<li>`domain`<br>
|
|
16394
|
-
<li>`url`<br>
|
|
16395
|
-
<li>`resourceType`<br>
|
|
16396
|
-
<li>cacheType<br>
|
|
16397
|
-
<li>`statusCode`<br>
|
|
16398
|
-
<li>`tagKey`:<br>
|
|
16399
|
-
<li>`tagValue`<br>
|
|
17063
|
+
<li>`domain`<br> Filter by the <strong>sub-domain name</strong>, such as `test.example.com`<br> Type: String<br> Required: No</li>
|
|
17064
|
+
<li>`url`<br> Filter by the <strong>URL</strong>, such as `/content`. The query period cannot exceed 30 days. <br> Type: String<br> Required: No</li>
|
|
17065
|
+
<li>`resourceType`<br> Filter by the <strong>resource file type</strong>, such as `jpg`, `png`. The query period cannot exceed 30 days.<br>Type: String<br> Required: No</li>
|
|
17066
|
+
<li>cacheType<br>Filter by the <strong>cache hit result</strong>.<br>Type: String<br> Required: No<br> Values: <br> `hit`: Cache hit; <br> `dynamic`: Resource non-cacheable; <br> `miss`: Cache miss</li>
|
|
17067
|
+
<li>`statusCode`<br> Filter by the <strong> status code</strong>. The query period cannot exceed 30 days. <br> Type: String<br> Required: No<br> Values: <br> `1XX`: All 1xx status codes;<br> `100`: 100 status code;<br> `101`: 101 status code;<br> `102`: 102 status code;<br> `2XX`: All 2xx status codes;<br> `200`: 200 status code;<br> `201`: 201 status code;<br> `202`: 202 status code;<br> `203`: 203 status code;<br> `204`: 204 status code;<br> `205`: 205 status code;<br> `206`: 206 status code;<br> `207`: 207 status code;<br> `3XX`: All 3xx status codes;<br> `300`: 300 status code;<br> `301`: 301 status code;<br> `302`: 302 status code;<br> `303`: 303 status code;<br> `304`: 304 status code;<br> `305`: 305 status code;<br> `307`: 307 status code;<br> `4XX`: All 4xx status codes;<br> `400`: 400 status code;<br> `401`: 401 status code;<br> `402`: 402 status code;<br> `403`: 403 status code;<br> `404`: 404 status code;<br> `405`: 405 status code;<br> `406`: 406 status code;<br> `407`: 407 status code;<br> `408`: 408 status code;<br> `409`: 409 status code;<br> `410`: 410 status code;<br> `411`: 411 status code;<br> `412`: 412 status code;<br> `412`: 413 status code;<br> `414`: 414 status code;<br> `415`: 415 status code;<br> `416`: 416 status code;<br> `417`: 417 status code;<br>`422`: 422 status code;<br> `423`: 423 status code;<br> `424`: 424 status code;<br> `426`: 426 status code;<br> `451`: 451 status code;<br> `5XX`: All 5xx status codes;<br> `500`: 500 status code;<br> `501`: 501 status code;<br> `502`: 502 status code;<br> `503`: 503 status code;<br> `504`: 504 status code;<br> `505`: 505 status code;<br> `506`: 506 status code;<br> `507`: 507 status code;<br> `510`: 510 status code;<br> `514`: 514 status code;<br> `544`: 544 status code.</li>
|
|
17068
|
+
<li>`tagKey`:<br> Filter by the <strong>tag key</strong><br> Type: String<br> Required: No</li>
|
|
17069
|
+
<li>`tagValue`<br> Filter by the <strong>tag value</strong><br> Type: String<br> Required: No</li>
|
|
16400
17070
|
:rtype: list of QueryCondition
|
|
16401
17071
|
"""
|
|
16402
17072
|
return self._Filters
|
|
@@ -16534,62 +17204,64 @@ class DescribeTopL7AnalysisDataRequest(AbstractModel):
|
|
|
16534
17204
|
:type StartTime: str
|
|
16535
17205
|
:param _EndTime: The end time.
|
|
16536
17206
|
:type EndTime: str
|
|
16537
|
-
:param _MetricName:
|
|
16538
|
-
<li
|
|
16539
|
-
<li
|
|
16540
|
-
<li
|
|
16541
|
-
<li
|
|
16542
|
-
<li
|
|
16543
|
-
<li
|
|
16544
|
-
<li
|
|
16545
|
-
<li
|
|
16546
|
-
<li
|
|
16547
|
-
<li
|
|
16548
|
-
<li
|
|
16549
|
-
<li
|
|
16550
|
-
<li
|
|
16551
|
-
<li
|
|
16552
|
-
<li
|
|
16553
|
-
<li
|
|
16554
|
-
<li
|
|
16555
|
-
<li
|
|
16556
|
-
<li
|
|
16557
|
-
<li
|
|
17207
|
+
:param _MetricName: The metrics queried. Valid values:
|
|
17208
|
+
<li> l7Flow_outFlux_country: statistics of the L7 EdgeOne response traffic by country/region;</li>
|
|
17209
|
+
<li> l7Flow_outFlux_province: statistics of the L7 EdgeOne response traffic by province within the Chinese mainland;</li>
|
|
17210
|
+
<li> l7Flow_outFlux_statusCode: statistics of the L7 EdgeOne response traffic by status code;</li>
|
|
17211
|
+
<li> l7Flow_outFlux_domain: statistics of the L7 EdgeOne response traffic by domain name;</li>
|
|
17212
|
+
<li> l7Flow_outFlux_url: statistics of the L7 EdgeOne response traffic by URL path;</li>
|
|
17213
|
+
<li> l7Flow_outFlux_resourceType: statistics of the L7 EdgeOne response traffic by resource type;</li>
|
|
17214
|
+
<li> l7Flow_outFlux_sip: statistics of the L7 EdgeOne response traffic by client IP;</li>
|
|
17215
|
+
<li> l7Flow_outFlux_referers: statistics of the L7 EdgeOne response traffic by Referer;</li>
|
|
17216
|
+
<li> l7Flow_outFlux_ua_device: statistics of the L7 EdgeOne response traffic by device type;</li>
|
|
17217
|
+
<li> l7Flow_outFlux_ua_browser: statistics of the L7 EdgeOne response traffic by browser type;</li>
|
|
17218
|
+
<li> l7Flow_outFlux_us_os: statistics of the L7 EdgeOne response traffic by operating system type;</li>
|
|
17219
|
+
<li> l7Flow_request_country: statistics of the L7 access request count by country/region;</li>
|
|
17220
|
+
<li> l7Flow_request_province: statistics of the L7 access request count by province within the Chinese mainland;</li>
|
|
17221
|
+
<li> l7Flow_request_statusCode: statistics of the L7 access request count by status code;</li>
|
|
17222
|
+
<li> l7Flow_request_domain: statistics of the L7 access request count by domain name;</li>
|
|
17223
|
+
<li> l7Flow_request_url: statistics of the L7 access request count by URL path;</li>
|
|
17224
|
+
<li> l7Flow_request_resourceType: statistics of the L7 access request count by resource type;</li>
|
|
17225
|
+
<li> l7Flow_request_sip: statistics of the L7 access request count by client IP;</li>
|
|
17226
|
+
<li> l7Flow_request_referer: statistics of the L7 access request count by Referer;</li>
|
|
17227
|
+
<li> l7Flow_request_ua_device: statistics of the L7 access request count by device type;</li>
|
|
17228
|
+
<li> l7Flow_request_ua_browser: statistics of the L7 access request count by browser type;</li>
|
|
17229
|
+
<li> l7Flow_request_us_os: statistics of the L7 access request count by operating system type.</li>
|
|
16558
17230
|
|
|
16559
17231
|
:type MetricName: str
|
|
16560
17232
|
:param _ZoneIds: ZoneId set. This parameter is required.
|
|
16561
17233
|
:type ZoneIds: list of str
|
|
16562
|
-
:param _Limit:
|
|
17234
|
+
:param _Limit: Indicates the top N data to be queried. The maximum value is 1000. If this parameter is not input, the default value is 10, indicating querying the top 10 data.
|
|
16563
17235
|
:type Limit: int
|
|
16564
|
-
:param _Filters:
|
|
16565
|
-
<li
|
|
16566
|
-
<li
|
|
16567
|
-
<li
|
|
16568
|
-
<li
|
|
16569
|
-
<li
|
|
16570
|
-
<li
|
|
16571
|
-
<li
|
|
16572
|
-
<li
|
|
16573
|
-
<li
|
|
16574
|
-
<li
|
|
16575
|
-
<li
|
|
16576
|
-
<li
|
|
16577
|
-
<li
|
|
16578
|
-
<li
|
|
16579
|
-
<li
|
|
16580
|
-
<li
|
|
16581
|
-
<li
|
|
17236
|
+
:param _Filters: Filter criteria. The detailed Key values are as follows:
|
|
17237
|
+
<li>country: Filter by country/region. The country/region follows the <a href="https://baike.baidu.com/item/ISO%203166-1/5269555">ISO 3166-1 alpha-2</a> standard. Example value: CN.</li>
|
|
17238
|
+
<li>province: Filter by province. This parameter is supported only when the service area is the Chinese mainland. For province codes, refer to the <a href="https://intl.cloud.tencent.com/document/product/228/6316?from_cn_redirect=1#.E5.8C.BA.E5.9F.9F-.2F-.E8.BF.90.E8.90.A5.E5.95.86.E6.98.A0.E5.B0.84.E8.A1.A8">Mapping Table of Provinces Within the Chinese Mainland</a>. Example value: 22.</li>
|
|
17239
|
+
<li>isp: Filter by ISP. This parameter is supported only when the service area is the Chinese mainland. Valid values are as follows:<br> 2: China Telecom;<br> 26: China Unicom;<br> 1046: China Mobile;<br> 3947: China Tietong;<br> 38: CERNET;<br> 43: Great Wall Broadband;<br> 0: other ISPs.</li>
|
|
17240
|
+
<li>domain: Filter by subdomain name. Example value: www.example.com.</li>
|
|
17241
|
+
<li>url: Filter by URL path. Example value: /content or /content/test.jpg. If the url parameter is input, up to 30 days of data can be queried.</li>
|
|
17242
|
+
<li>referer: Filter by Referer request header. Example value: http://www.example.com/. If the referer parameter is input, up to 30 days of data can be queried.</li>
|
|
17243
|
+
<li>resourceType: Filter by resource type, which is generally the file suffix. Example value: .jpg. If the resourceType parameter is input, up to 30 days of data can be queried;</li>
|
|
17244
|
+
<li>protocol: Filter by HTTP protocol version. Valid values are as follows:<br> HTTP/1.0;<br> HTTP/1.1;<br> HTTP/2.0;<br> HTTP/3;<br> WebSocket.</li>
|
|
17245
|
+
<li>socket: Filter by HTTP protocol type. Valid values are as follows:<br> HTTP: HTTP protocol;<br> HTTPS: HTTPS protocol;<br> QUIC: QUIC protocol.</li>
|
|
17246
|
+
<li>statusCode: Filter by edge status code. If the statusCode parameter is input, up to 30 days of data can be queried. Valid values are as follows:<br> 1XX: 1xx status code;<br> 2XX: 2xx status code;<br> 3XX: 3xx status code;<br> 4XX: 4xx status code;<br> 5XX: 5xx status code;<br> An integer within the range [0,600).</li>
|
|
17247
|
+
<li>browserType: Filter by browser type. If the browserType parameter is input, up to 30 days of data can be queried. Valid values are as follows:<br> Firefox: Firefox browser;<br> Chrome: Chrome browser;<br> Safari: Safari browser;<br> Other: other browser types;<br> Empty: The browser type is empty;<br> Bot: search engine crawler;<br> MicrosoftEdge: Microsoft Edge browser;<br> IE: IE browser;<br> Opera: Opera browser;<br> QQBrowser: QQ browser;<br> LBBrowser: LB browser;<br> MaxthonBrowser: Maxthon browser;<br> SouGouBrowser: Sogou browser;<br> BIDUBrowser: Baidu browser;<br> TaoBrowser: Tao browser;<br> UBrowser: UC browser.</li>
|
|
17248
|
+
<li>deviceType: Filter by device type. If the deviceType parameter is input, up to 30 days of data can be queried. Valid values are as follows:<br> TV: TV device;<br> Tablet: tablet device;<br> Mobile: mobile device;<br> Desktop: desktop device;<br> Other: other device types;<br> Empty: The device type is empty.</li>
|
|
17249
|
+
<li>operatingSystemType: Filter by operating system type. If the operatingSystemType parameter is input, up to 30 days of data can be queried. Valid values are as follows:<br> Linux: Linux operating system;<br> MacOS: MacOS operating system;<br> Android: Android operating system;<br> IOS: iOS operating system;<br> Windows: Windows operating system;<br> NetBSD: NetBSD;<br> ChromiumOS: ChromiumOS;<br> Bot: search engine crawler;<br> Other: other types of operating systems;<br> Empty: The operating system is empty.</li>
|
|
17250
|
+
<li>tlsVersion: Filter by TLS version. If the tlsVersion parameter is input, up to 30 days of data can be queried. Valid values are as follows:<br> TLS1.0;<br> TLS1.1;<br> TLS1.2;<br> TLS1.3.</li>
|
|
17251
|
+
<li>ipVersion: Filter by IP version. Valid values are as follows:<br> 4: IPv4;<br> 6: IPv6.</li>
|
|
17252
|
+
<li>cacheType: Filter by cache status. Valid values are as follows:<br> hit: The request hits the EdgeOne node cache and the resources are provided by the node cache. A partial cache hit for resources is also recorded as hit.<br> miss: The request does not hit the EdgeOne node cache and the resources are provided by the origin server.<br> dynamic: The requested resources cannot be cached or are not configured with node cache and are provided by the origin server.<br> other: unrecognizable cache status. Requests responded to by edge functions are recorded as other.</li>
|
|
17253
|
+
<li>clientIp: Filter by client IP.</li>
|
|
16582
17254
|
:type Filters: list of QueryCondition
|
|
16583
|
-
:param _Interval:
|
|
16584
|
-
<li
|
|
16585
|
-
<li
|
|
16586
|
-
<li
|
|
16587
|
-
<li
|
|
17255
|
+
:param _Interval: Query period granularity. Valid values:
|
|
17256
|
+
<li>min: 1 minute;</li>
|
|
17257
|
+
<li>5min: 5 minutes;</li>
|
|
17258
|
+
<li>hour: 1 hour;</li>
|
|
17259
|
+
<li>day: 1 day.</li>If this parameter is not filled in, the granularity will be automatically calculated based on the interval between the start time and end time. Specifically, data will be queried with a granularity of min, 5min, hour, and day respectively when the period is no more than 2 hours, no more than 2 days, no more than 7 days, and over 7 days.
|
|
16588
17260
|
:type Interval: str
|
|
16589
|
-
:param _Area:
|
|
16590
|
-
<li
|
|
16591
|
-
<li
|
|
16592
|
-
<li
|
|
17261
|
+
:param _Area: Data region. Values:
|
|
17262
|
+
<li>overseas: Regions outside the Chinese mainland</li>
|
|
17263
|
+
<li>mainland: Chinese mainland</li>
|
|
17264
|
+
<li>global: Global</li>If this field is not specified, the default value `global` is used.
|
|
16593
17265
|
:type Area: str
|
|
16594
17266
|
"""
|
|
16595
17267
|
self._StartTime = None
|
|
@@ -16625,27 +17297,29 @@ class DescribeTopL7AnalysisDataRequest(AbstractModel):
|
|
|
16625
17297
|
|
|
16626
17298
|
@property
|
|
16627
17299
|
def MetricName(self):
|
|
16628
|
-
"""
|
|
16629
|
-
<li
|
|
16630
|
-
<li
|
|
16631
|
-
<li
|
|
16632
|
-
<li
|
|
16633
|
-
<li
|
|
16634
|
-
<li
|
|
16635
|
-
<li
|
|
16636
|
-
<li
|
|
16637
|
-
<li
|
|
16638
|
-
<li
|
|
16639
|
-
<li
|
|
16640
|
-
<li
|
|
16641
|
-
<li
|
|
16642
|
-
<li
|
|
16643
|
-
<li
|
|
16644
|
-
<li
|
|
16645
|
-
<li
|
|
16646
|
-
<li
|
|
16647
|
-
<li
|
|
16648
|
-
<li
|
|
17300
|
+
"""The metrics queried. Valid values:
|
|
17301
|
+
<li> l7Flow_outFlux_country: statistics of the L7 EdgeOne response traffic by country/region;</li>
|
|
17302
|
+
<li> l7Flow_outFlux_province: statistics of the L7 EdgeOne response traffic by province within the Chinese mainland;</li>
|
|
17303
|
+
<li> l7Flow_outFlux_statusCode: statistics of the L7 EdgeOne response traffic by status code;</li>
|
|
17304
|
+
<li> l7Flow_outFlux_domain: statistics of the L7 EdgeOne response traffic by domain name;</li>
|
|
17305
|
+
<li> l7Flow_outFlux_url: statistics of the L7 EdgeOne response traffic by URL path;</li>
|
|
17306
|
+
<li> l7Flow_outFlux_resourceType: statistics of the L7 EdgeOne response traffic by resource type;</li>
|
|
17307
|
+
<li> l7Flow_outFlux_sip: statistics of the L7 EdgeOne response traffic by client IP;</li>
|
|
17308
|
+
<li> l7Flow_outFlux_referers: statistics of the L7 EdgeOne response traffic by Referer;</li>
|
|
17309
|
+
<li> l7Flow_outFlux_ua_device: statistics of the L7 EdgeOne response traffic by device type;</li>
|
|
17310
|
+
<li> l7Flow_outFlux_ua_browser: statistics of the L7 EdgeOne response traffic by browser type;</li>
|
|
17311
|
+
<li> l7Flow_outFlux_us_os: statistics of the L7 EdgeOne response traffic by operating system type;</li>
|
|
17312
|
+
<li> l7Flow_request_country: statistics of the L7 access request count by country/region;</li>
|
|
17313
|
+
<li> l7Flow_request_province: statistics of the L7 access request count by province within the Chinese mainland;</li>
|
|
17314
|
+
<li> l7Flow_request_statusCode: statistics of the L7 access request count by status code;</li>
|
|
17315
|
+
<li> l7Flow_request_domain: statistics of the L7 access request count by domain name;</li>
|
|
17316
|
+
<li> l7Flow_request_url: statistics of the L7 access request count by URL path;</li>
|
|
17317
|
+
<li> l7Flow_request_resourceType: statistics of the L7 access request count by resource type;</li>
|
|
17318
|
+
<li> l7Flow_request_sip: statistics of the L7 access request count by client IP;</li>
|
|
17319
|
+
<li> l7Flow_request_referer: statistics of the L7 access request count by Referer;</li>
|
|
17320
|
+
<li> l7Flow_request_ua_device: statistics of the L7 access request count by device type;</li>
|
|
17321
|
+
<li> l7Flow_request_ua_browser: statistics of the L7 access request count by browser type;</li>
|
|
17322
|
+
<li> l7Flow_request_us_os: statistics of the L7 access request count by operating system type.</li>
|
|
16649
17323
|
|
|
16650
17324
|
:rtype: str
|
|
16651
17325
|
"""
|
|
@@ -16668,7 +17342,7 @@ class DescribeTopL7AnalysisDataRequest(AbstractModel):
|
|
|
16668
17342
|
|
|
16669
17343
|
@property
|
|
16670
17344
|
def Limit(self):
|
|
16671
|
-
"""
|
|
17345
|
+
"""Indicates the top N data to be queried. The maximum value is 1000. If this parameter is not input, the default value is 10, indicating querying the top 10 data.
|
|
16672
17346
|
:rtype: int
|
|
16673
17347
|
"""
|
|
16674
17348
|
return self._Limit
|
|
@@ -16679,24 +17353,24 @@ class DescribeTopL7AnalysisDataRequest(AbstractModel):
|
|
|
16679
17353
|
|
|
16680
17354
|
@property
|
|
16681
17355
|
def Filters(self):
|
|
16682
|
-
"""
|
|
16683
|
-
<li
|
|
16684
|
-
<li
|
|
16685
|
-
<li
|
|
16686
|
-
<li
|
|
16687
|
-
<li
|
|
16688
|
-
<li
|
|
16689
|
-
<li
|
|
16690
|
-
<li
|
|
16691
|
-
<li
|
|
16692
|
-
<li
|
|
16693
|
-
<li
|
|
16694
|
-
<li
|
|
16695
|
-
<li
|
|
16696
|
-
<li
|
|
16697
|
-
<li
|
|
16698
|
-
<li
|
|
16699
|
-
<li
|
|
17356
|
+
"""Filter criteria. The detailed Key values are as follows:
|
|
17357
|
+
<li>country: Filter by country/region. The country/region follows the <a href="https://baike.baidu.com/item/ISO%203166-1/5269555">ISO 3166-1 alpha-2</a> standard. Example value: CN.</li>
|
|
17358
|
+
<li>province: Filter by province. This parameter is supported only when the service area is the Chinese mainland. For province codes, refer to the <a href="https://intl.cloud.tencent.com/document/product/228/6316?from_cn_redirect=1#.E5.8C.BA.E5.9F.9F-.2F-.E8.BF.90.E8.90.A5.E5.95.86.E6.98.A0.E5.B0.84.E8.A1.A8">Mapping Table of Provinces Within the Chinese Mainland</a>. Example value: 22.</li>
|
|
17359
|
+
<li>isp: Filter by ISP. This parameter is supported only when the service area is the Chinese mainland. Valid values are as follows:<br> 2: China Telecom;<br> 26: China Unicom;<br> 1046: China Mobile;<br> 3947: China Tietong;<br> 38: CERNET;<br> 43: Great Wall Broadband;<br> 0: other ISPs.</li>
|
|
17360
|
+
<li>domain: Filter by subdomain name. Example value: www.example.com.</li>
|
|
17361
|
+
<li>url: Filter by URL path. Example value: /content or /content/test.jpg. If the url parameter is input, up to 30 days of data can be queried.</li>
|
|
17362
|
+
<li>referer: Filter by Referer request header. Example value: http://www.example.com/. If the referer parameter is input, up to 30 days of data can be queried.</li>
|
|
17363
|
+
<li>resourceType: Filter by resource type, which is generally the file suffix. Example value: .jpg. If the resourceType parameter is input, up to 30 days of data can be queried;</li>
|
|
17364
|
+
<li>protocol: Filter by HTTP protocol version. Valid values are as follows:<br> HTTP/1.0;<br> HTTP/1.1;<br> HTTP/2.0;<br> HTTP/3;<br> WebSocket.</li>
|
|
17365
|
+
<li>socket: Filter by HTTP protocol type. Valid values are as follows:<br> HTTP: HTTP protocol;<br> HTTPS: HTTPS protocol;<br> QUIC: QUIC protocol.</li>
|
|
17366
|
+
<li>statusCode: Filter by edge status code. If the statusCode parameter is input, up to 30 days of data can be queried. Valid values are as follows:<br> 1XX: 1xx status code;<br> 2XX: 2xx status code;<br> 3XX: 3xx status code;<br> 4XX: 4xx status code;<br> 5XX: 5xx status code;<br> An integer within the range [0,600).</li>
|
|
17367
|
+
<li>browserType: Filter by browser type. If the browserType parameter is input, up to 30 days of data can be queried. Valid values are as follows:<br> Firefox: Firefox browser;<br> Chrome: Chrome browser;<br> Safari: Safari browser;<br> Other: other browser types;<br> Empty: The browser type is empty;<br> Bot: search engine crawler;<br> MicrosoftEdge: Microsoft Edge browser;<br> IE: IE browser;<br> Opera: Opera browser;<br> QQBrowser: QQ browser;<br> LBBrowser: LB browser;<br> MaxthonBrowser: Maxthon browser;<br> SouGouBrowser: Sogou browser;<br> BIDUBrowser: Baidu browser;<br> TaoBrowser: Tao browser;<br> UBrowser: UC browser.</li>
|
|
17368
|
+
<li>deviceType: Filter by device type. If the deviceType parameter is input, up to 30 days of data can be queried. Valid values are as follows:<br> TV: TV device;<br> Tablet: tablet device;<br> Mobile: mobile device;<br> Desktop: desktop device;<br> Other: other device types;<br> Empty: The device type is empty.</li>
|
|
17369
|
+
<li>operatingSystemType: Filter by operating system type. If the operatingSystemType parameter is input, up to 30 days of data can be queried. Valid values are as follows:<br> Linux: Linux operating system;<br> MacOS: MacOS operating system;<br> Android: Android operating system;<br> IOS: iOS operating system;<br> Windows: Windows operating system;<br> NetBSD: NetBSD;<br> ChromiumOS: ChromiumOS;<br> Bot: search engine crawler;<br> Other: other types of operating systems;<br> Empty: The operating system is empty.</li>
|
|
17370
|
+
<li>tlsVersion: Filter by TLS version. If the tlsVersion parameter is input, up to 30 days of data can be queried. Valid values are as follows:<br> TLS1.0;<br> TLS1.1;<br> TLS1.2;<br> TLS1.3.</li>
|
|
17371
|
+
<li>ipVersion: Filter by IP version. Valid values are as follows:<br> 4: IPv4;<br> 6: IPv6.</li>
|
|
17372
|
+
<li>cacheType: Filter by cache status. Valid values are as follows:<br> hit: The request hits the EdgeOne node cache and the resources are provided by the node cache. A partial cache hit for resources is also recorded as hit.<br> miss: The request does not hit the EdgeOne node cache and the resources are provided by the origin server.<br> dynamic: The requested resources cannot be cached or are not configured with node cache and are provided by the origin server.<br> other: unrecognizable cache status. Requests responded to by edge functions are recorded as other.</li>
|
|
17373
|
+
<li>clientIp: Filter by client IP.</li>
|
|
16700
17374
|
:rtype: list of QueryCondition
|
|
16701
17375
|
"""
|
|
16702
17376
|
return self._Filters
|
|
@@ -16707,11 +17381,11 @@ class DescribeTopL7AnalysisDataRequest(AbstractModel):
|
|
|
16707
17381
|
|
|
16708
17382
|
@property
|
|
16709
17383
|
def Interval(self):
|
|
16710
|
-
"""
|
|
16711
|
-
<li
|
|
16712
|
-
<li
|
|
16713
|
-
<li
|
|
16714
|
-
<li
|
|
17384
|
+
"""Query period granularity. Valid values:
|
|
17385
|
+
<li>min: 1 minute;</li>
|
|
17386
|
+
<li>5min: 5 minutes;</li>
|
|
17387
|
+
<li>hour: 1 hour;</li>
|
|
17388
|
+
<li>day: 1 day.</li>If this parameter is not filled in, the granularity will be automatically calculated based on the interval between the start time and end time. Specifically, data will be queried with a granularity of min, 5min, hour, and day respectively when the period is no more than 2 hours, no more than 2 days, no more than 7 days, and over 7 days.
|
|
16715
17389
|
:rtype: str
|
|
16716
17390
|
"""
|
|
16717
17391
|
return self._Interval
|
|
@@ -16722,10 +17396,10 @@ class DescribeTopL7AnalysisDataRequest(AbstractModel):
|
|
|
16722
17396
|
|
|
16723
17397
|
@property
|
|
16724
17398
|
def Area(self):
|
|
16725
|
-
"""
|
|
16726
|
-
<li
|
|
16727
|
-
<li
|
|
16728
|
-
<li
|
|
17399
|
+
"""Data region. Values:
|
|
17400
|
+
<li>overseas: Regions outside the Chinese mainland</li>
|
|
17401
|
+
<li>mainland: Chinese mainland</li>
|
|
17402
|
+
<li>global: Global</li>If this field is not specified, the default value `global` is used.
|
|
16729
17403
|
:rtype: str
|
|
16730
17404
|
"""
|
|
16731
17405
|
return self._Area
|
|
@@ -16768,8 +17442,8 @@ class DescribeTopL7AnalysisDataResponse(AbstractModel):
|
|
|
16768
17442
|
r"""
|
|
16769
17443
|
:param _TotalCount: Total number of query results.
|
|
16770
17444
|
:type TotalCount: int
|
|
16771
|
-
:param _Data: The list of
|
|
16772
|
-
Note: This field may return null,
|
|
17445
|
+
:param _Data: The top N data list obtained from the statistics of L7 access data by a specified dimension MetricName.
|
|
17446
|
+
Note: This field may return null, which indicates a failure to obtain a valid value.
|
|
16773
17447
|
:type Data: list of TopDataRecord
|
|
16774
17448
|
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
16775
17449
|
:type RequestId: str
|
|
@@ -16791,8 +17465,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
16791
17465
|
|
|
16792
17466
|
@property
|
|
16793
17467
|
def Data(self):
|
|
16794
|
-
"""The list of
|
|
16795
|
-
Note: This field may return null,
|
|
17468
|
+
"""The top N data list obtained from the statistics of L7 access data by a specified dimension MetricName.
|
|
17469
|
+
Note: This field may return null, which indicates a failure to obtain a valid value.
|
|
16796
17470
|
:rtype: list of TopDataRecord
|
|
16797
17471
|
"""
|
|
16798
17472
|
return self._Data
|
|
@@ -16836,23 +17510,23 @@ class DescribeTopL7CacheDataRequest(AbstractModel):
|
|
|
16836
17510
|
:param _EndTime: The end time.
|
|
16837
17511
|
:type EndTime: str
|
|
16838
17512
|
:param _MetricName: The query metric. Values:
|
|
16839
|
-
<li
|
|
16840
|
-
<li
|
|
16841
|
-
<li
|
|
16842
|
-
<li
|
|
17513
|
+
<li>l7Cache_outFlux_domain: Host/Domain name;</li>
|
|
17514
|
+
<li>l7Cache_outFlux_url: URL address;</li>
|
|
17515
|
+
<li>l7Cache_outFlux_resourceType: Resource type;</li>
|
|
17516
|
+
<li>l7Cache_outFlux_statusCode: Status code.</li>
|
|
16843
17517
|
:type MetricName: str
|
|
16844
17518
|
:param _ZoneIds: ZoneId set. This parameter is required.
|
|
16845
17519
|
:type ZoneIds: list of str
|
|
16846
17520
|
:param _Limit: The number of data entries to be queried. The maximum value is 1000. If it is not specified, the value 10 is used by default, indicating that the top 10 data entries.
|
|
16847
17521
|
:type Limit: int
|
|
16848
17522
|
:param _Filters: Filter conditions. See below for details:
|
|
16849
|
-
<li>`domain`<br>
|
|
16850
|
-
<li>`url`<br>
|
|
16851
|
-
<li>`resourceType`<br>
|
|
16852
|
-
<li>cacheType<br>
|
|
16853
|
-
<li>`statusCode`<br>
|
|
16854
|
-
<li>`tagKey`:<br>
|
|
16855
|
-
<li>`tagValue`<br>
|
|
17523
|
+
<li>`domain`<br> Filter by the <strong>sub-domain name</strong>, such as `test.example.com`<br> Type: String<br> Required: No</li>
|
|
17524
|
+
<li>`url`<br> Filter by the <strong>URL</strong>, such as `/content`. The query period cannot exceed 30 days. <br> Type: String<br> Required: No</li>
|
|
17525
|
+
<li>`resourceType`<br> Filter by the <strong>resource file type</strong>, such as `jpg`, `png`. The query period cannot exceed 30 days.<br>Type: String<br> Required: No</li>
|
|
17526
|
+
<li>cacheType<br>Filter by the <strong>cache hit result</strong>.<br>Type: String<br> Required: No<br> Values: <br> `hit`: Cache hit; <br> `dynamic`: Resource non-cacheable; <br> `miss`: Cache miss</li>
|
|
17527
|
+
<li>`statusCode`<br> Filter by the <strong> status code</strong>. The query period cannot exceed 30 days. <br> Type: String<br> Required: No<br> Values: <br> `1XX`: All 1xx status codes;<br> `100`: 100 status code;<br> `101`: 101 status code;<br> `102`: 102 status code;<br> `2XX`: All 2xx status codes;<br> `200`: 200 status code;<br> `201`: 201 status code;<br> `202`: 202 status code;<br> `203`: 203 status code;<br> `204`: 204 status code;<br> `205`: 205 status code;<br> `206`: 206 status code;<br> `207`: 207 status code;<br> `3XX`: All 3xx status codes;<br> `300`: 300 status code;<br> `301`: 301 status code;<br> `302`: 302 status code;<br> `303`: 303 status code;<br> `304`: 304 status code;<br> `305`: 305 status code;<br> `307`: 307 status code;<br> `4XX`: All 4xx status codes;<br> `400`: 400 status code;<br> `401`: 401 status code;<br> `402`: 402 status code;<br> `403`: 403 status code;<br> `404`: 404 status code;<br> `405`: 405 status code;<br> `406`: 406 status code;<br> `407`: 407 status code;<br> `408`: 408 status code;<br> `409`: 409 status code;<br> `410`: 410 status code;<br> `411`: 411 status code;<br> `412`: 412 status code;<br> `412`: 413 status code;<br> `414`: 414 status code;<br> `415`: 415 status code;<br> `416`: 416 status code;<br> `417`: 417 status code;<br>`422`: 422 status code;<br> `423`: 423 status code;<br> `424`: 424 status code;<br> `426`: 426 status code;<br> `451`: 451 status code;<br> `5XX`: All 5xx status codes;<br> `500`: 500 status code;<br> `501`: 501 status code;<br> `502`: 502 status code;<br> `503`: 503 status code;<br> `504`: 504 status code;<br> `505`: 505 status code;<br> `506`: 506 status code;<br> `507`: 507 status code;<br> `510`: 510 status code;<br> `514`: 514 status code;<br> `544`: 544 status code.</li>
|
|
17528
|
+
<li>`tagKey`:<br> Filter by the <strong>tag key</strong><br> Type: String<br> Required: No</li>
|
|
17529
|
+
<li>`tagValue`<br> Filter by the <strong>tag value</strong><br> Type: String<br> Required: No</li>
|
|
16856
17530
|
:type Filters: list of QueryCondition
|
|
16857
17531
|
:param _Interval: The query time granularity. Values:
|
|
16858
17532
|
<li>`min`: 1 minute;</li>
|
|
@@ -16900,10 +17574,10 @@ class DescribeTopL7CacheDataRequest(AbstractModel):
|
|
|
16900
17574
|
@property
|
|
16901
17575
|
def MetricName(self):
|
|
16902
17576
|
"""The query metric. Values:
|
|
16903
|
-
<li
|
|
16904
|
-
<li
|
|
16905
|
-
<li
|
|
16906
|
-
<li
|
|
17577
|
+
<li>l7Cache_outFlux_domain: Host/Domain name;</li>
|
|
17578
|
+
<li>l7Cache_outFlux_url: URL address;</li>
|
|
17579
|
+
<li>l7Cache_outFlux_resourceType: Resource type;</li>
|
|
17580
|
+
<li>l7Cache_outFlux_statusCode: Status code.</li>
|
|
16907
17581
|
:rtype: str
|
|
16908
17582
|
"""
|
|
16909
17583
|
return self._MetricName
|
|
@@ -16937,13 +17611,13 @@ class DescribeTopL7CacheDataRequest(AbstractModel):
|
|
|
16937
17611
|
@property
|
|
16938
17612
|
def Filters(self):
|
|
16939
17613
|
"""Filter conditions. See below for details:
|
|
16940
|
-
<li>`domain`<br>
|
|
16941
|
-
<li>`url`<br>
|
|
16942
|
-
<li>`resourceType`<br>
|
|
16943
|
-
<li>cacheType<br>
|
|
16944
|
-
<li>`statusCode`<br>
|
|
16945
|
-
<li>`tagKey`:<br>
|
|
16946
|
-
<li>`tagValue`<br>
|
|
17614
|
+
<li>`domain`<br> Filter by the <strong>sub-domain name</strong>, such as `test.example.com`<br> Type: String<br> Required: No</li>
|
|
17615
|
+
<li>`url`<br> Filter by the <strong>URL</strong>, such as `/content`. The query period cannot exceed 30 days. <br> Type: String<br> Required: No</li>
|
|
17616
|
+
<li>`resourceType`<br> Filter by the <strong>resource file type</strong>, such as `jpg`, `png`. The query period cannot exceed 30 days.<br>Type: String<br> Required: No</li>
|
|
17617
|
+
<li>cacheType<br>Filter by the <strong>cache hit result</strong>.<br>Type: String<br> Required: No<br> Values: <br> `hit`: Cache hit; <br> `dynamic`: Resource non-cacheable; <br> `miss`: Cache miss</li>
|
|
17618
|
+
<li>`statusCode`<br> Filter by the <strong> status code</strong>. The query period cannot exceed 30 days. <br> Type: String<br> Required: No<br> Values: <br> `1XX`: All 1xx status codes;<br> `100`: 100 status code;<br> `101`: 101 status code;<br> `102`: 102 status code;<br> `2XX`: All 2xx status codes;<br> `200`: 200 status code;<br> `201`: 201 status code;<br> `202`: 202 status code;<br> `203`: 203 status code;<br> `204`: 204 status code;<br> `205`: 205 status code;<br> `206`: 206 status code;<br> `207`: 207 status code;<br> `3XX`: All 3xx status codes;<br> `300`: 300 status code;<br> `301`: 301 status code;<br> `302`: 302 status code;<br> `303`: 303 status code;<br> `304`: 304 status code;<br> `305`: 305 status code;<br> `307`: 307 status code;<br> `4XX`: All 4xx status codes;<br> `400`: 400 status code;<br> `401`: 401 status code;<br> `402`: 402 status code;<br> `403`: 403 status code;<br> `404`: 404 status code;<br> `405`: 405 status code;<br> `406`: 406 status code;<br> `407`: 407 status code;<br> `408`: 408 status code;<br> `409`: 409 status code;<br> `410`: 410 status code;<br> `411`: 411 status code;<br> `412`: 412 status code;<br> `412`: 413 status code;<br> `414`: 414 status code;<br> `415`: 415 status code;<br> `416`: 416 status code;<br> `417`: 417 status code;<br>`422`: 422 status code;<br> `423`: 423 status code;<br> `424`: 424 status code;<br> `426`: 426 status code;<br> `451`: 451 status code;<br> `5XX`: All 5xx status codes;<br> `500`: 500 status code;<br> `501`: 501 status code;<br> `502`: 502 status code;<br> `503`: 503 status code;<br> `504`: 504 status code;<br> `505`: 505 status code;<br> `506`: 506 status code;<br> `507`: 507 status code;<br> `510`: 510 status code;<br> `514`: 514 status code;<br> `544`: 544 status code.</li>
|
|
17619
|
+
<li>`tagKey`:<br> Filter by the <strong>tag key</strong><br> Type: String<br> Required: No</li>
|
|
17620
|
+
<li>`tagValue`<br> Filter by the <strong>tag value</strong><br> Type: String<br> Required: No</li>
|
|
16947
17621
|
:rtype: list of QueryCondition
|
|
16948
17622
|
"""
|
|
16949
17623
|
return self._Filters
|
|
@@ -19496,7 +20170,7 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
19496
20170
|
|
|
19497
20171
|
|
|
19498
20172
|
class FollowOrigin(AbstractModel):
|
|
19499
|
-
"""
|
|
20173
|
+
"""Following origin server configuration for caching.
|
|
19500
20174
|
|
|
19501
20175
|
"""
|
|
19502
20176
|
|
|
@@ -19506,20 +20180,24 @@ class FollowOrigin(AbstractModel):
|
|
|
19506
20180
|
<li>`on`: Enable</li>
|
|
19507
20181
|
<li>`off`: Disable</li>
|
|
19508
20182
|
:type Switch: str
|
|
19509
|
-
:param
|
|
19510
|
-
|
|
19511
|
-
|
|
19512
|
-
|
|
19513
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
20183
|
+
:param _DefaultCache: Whether to cache when an origin server does not return the Cache-Control header. This field is required when Switch is on; otherwise, it is ineffective. Valid values:
|
|
20184
|
+
<li>on: Cache.</li>
|
|
20185
|
+
<li>off: Do not cache.</li>
|
|
20186
|
+
Note: This field may return null, which indicates a failure to obtain a valid value.
|
|
19514
20187
|
:type DefaultCache: str
|
|
19515
|
-
:param _DefaultCacheStrategy:
|
|
19516
|
-
|
|
20188
|
+
:param _DefaultCacheStrategy: Whether to use the default caching policy when an origin server does not return the Cache-Control header. This field is required when DefaultCache is set to on; otherwise, it is ineffective. When DefaultCacheTime is not 0, this field should be off. Valid values:
|
|
20189
|
+
<li>on: Use the default caching policy.</li>
|
|
20190
|
+
<li>off: Do not use the default caching policy.</li>
|
|
20191
|
+
Note: This field may return null, which indicates a failure to obtain a valid value.
|
|
19517
20192
|
:type DefaultCacheStrategy: str
|
|
20193
|
+
:param _DefaultCacheTime: The default cache time in seconds when an origin server does not return the Cache-Control header. The value ranges from 0 to 315360000. This field is required when DefaultCache is set to on; otherwise, it is ineffective. When DefaultCacheStrategy is on, this field should be 0.
|
|
20194
|
+
Note: This field may return null, which indicates a failure to obtain a valid value.
|
|
20195
|
+
:type DefaultCacheTime: int
|
|
19518
20196
|
"""
|
|
19519
20197
|
self._Switch = None
|
|
19520
|
-
self._DefaultCacheTime = None
|
|
19521
20198
|
self._DefaultCache = None
|
|
19522
20199
|
self._DefaultCacheStrategy = None
|
|
20200
|
+
self._DefaultCacheTime = None
|
|
19523
20201
|
|
|
19524
20202
|
@property
|
|
19525
20203
|
def Switch(self):
|
|
@@ -19534,22 +20212,12 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
19534
20212
|
def Switch(self, Switch):
|
|
19535
20213
|
self._Switch = Switch
|
|
19536
20214
|
|
|
19537
|
-
@property
|
|
19538
|
-
def DefaultCacheTime(self):
|
|
19539
|
-
"""Sets the default cache time when the origin server does not return the Cache-Control header.
|
|
19540
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
19541
|
-
:rtype: int
|
|
19542
|
-
"""
|
|
19543
|
-
return self._DefaultCacheTime
|
|
19544
|
-
|
|
19545
|
-
@DefaultCacheTime.setter
|
|
19546
|
-
def DefaultCacheTime(self, DefaultCacheTime):
|
|
19547
|
-
self._DefaultCacheTime = DefaultCacheTime
|
|
19548
|
-
|
|
19549
20215
|
@property
|
|
19550
20216
|
def DefaultCache(self):
|
|
19551
|
-
"""
|
|
19552
|
-
|
|
20217
|
+
"""Whether to cache when an origin server does not return the Cache-Control header. This field is required when Switch is on; otherwise, it is ineffective. Valid values:
|
|
20218
|
+
<li>on: Cache.</li>
|
|
20219
|
+
<li>off: Do not cache.</li>
|
|
20220
|
+
Note: This field may return null, which indicates a failure to obtain a valid value.
|
|
19553
20221
|
:rtype: str
|
|
19554
20222
|
"""
|
|
19555
20223
|
return self._DefaultCache
|
|
@@ -19560,8 +20228,10 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
19560
20228
|
|
|
19561
20229
|
@property
|
|
19562
20230
|
def DefaultCacheStrategy(self):
|
|
19563
|
-
"""
|
|
19564
|
-
|
|
20231
|
+
"""Whether to use the default caching policy when an origin server does not return the Cache-Control header. This field is required when DefaultCache is set to on; otherwise, it is ineffective. When DefaultCacheTime is not 0, this field should be off. Valid values:
|
|
20232
|
+
<li>on: Use the default caching policy.</li>
|
|
20233
|
+
<li>off: Do not use the default caching policy.</li>
|
|
20234
|
+
Note: This field may return null, which indicates a failure to obtain a valid value.
|
|
19565
20235
|
:rtype: str
|
|
19566
20236
|
"""
|
|
19567
20237
|
return self._DefaultCacheStrategy
|
|
@@ -19570,12 +20240,24 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
19570
20240
|
def DefaultCacheStrategy(self, DefaultCacheStrategy):
|
|
19571
20241
|
self._DefaultCacheStrategy = DefaultCacheStrategy
|
|
19572
20242
|
|
|
20243
|
+
@property
|
|
20244
|
+
def DefaultCacheTime(self):
|
|
20245
|
+
"""The default cache time in seconds when an origin server does not return the Cache-Control header. The value ranges from 0 to 315360000. This field is required when DefaultCache is set to on; otherwise, it is ineffective. When DefaultCacheStrategy is on, this field should be 0.
|
|
20246
|
+
Note: This field may return null, which indicates a failure to obtain a valid value.
|
|
20247
|
+
:rtype: int
|
|
20248
|
+
"""
|
|
20249
|
+
return self._DefaultCacheTime
|
|
20250
|
+
|
|
20251
|
+
@DefaultCacheTime.setter
|
|
20252
|
+
def DefaultCacheTime(self, DefaultCacheTime):
|
|
20253
|
+
self._DefaultCacheTime = DefaultCacheTime
|
|
20254
|
+
|
|
19573
20255
|
|
|
19574
20256
|
def _deserialize(self, params):
|
|
19575
20257
|
self._Switch = params.get("Switch")
|
|
19576
|
-
self._DefaultCacheTime = params.get("DefaultCacheTime")
|
|
19577
20258
|
self._DefaultCache = params.get("DefaultCache")
|
|
19578
20259
|
self._DefaultCacheStrategy = params.get("DefaultCacheStrategy")
|
|
20260
|
+
self._DefaultCacheTime = params.get("DefaultCacheTime")
|
|
19579
20261
|
memeber_set = set(params.keys())
|
|
19580
20262
|
for name, value in vars(self).items():
|
|
19581
20263
|
property_name = name[1:]
|
|
@@ -19587,7 +20269,7 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
19587
20269
|
|
|
19588
20270
|
|
|
19589
20271
|
class ForceRedirect(AbstractModel):
|
|
19590
|
-
"""
|
|
20272
|
+
"""Forced HTTPS redirect configuration for access protocols.
|
|
19591
20273
|
|
|
19592
20274
|
"""
|
|
19593
20275
|
|
|
@@ -20258,6 +20940,247 @@ class Header(AbstractModel):
|
|
|
20258
20940
|
|
|
20259
20941
|
|
|
20260
20942
|
|
|
20943
|
+
class HealthChecker(AbstractModel):
|
|
20944
|
+
"""LoadBalancer health check policy.
|
|
20945
|
+
|
|
20946
|
+
"""
|
|
20947
|
+
|
|
20948
|
+
def __init__(self):
|
|
20949
|
+
r"""
|
|
20950
|
+
:param _Type: Health check policy. Valid values:
|
|
20951
|
+
<li>HTTP.</li>
|
|
20952
|
+
<li>HTTPS.</li>
|
|
20953
|
+
<li>TCP.</li>
|
|
20954
|
+
<li>UDP.</li>
|
|
20955
|
+
<li>ICMP Ping.</li>
|
|
20956
|
+
<li>NoCheck.</li>
|
|
20957
|
+
Note: NoCheck means the health check policy is not enabled.
|
|
20958
|
+
:type Type: str
|
|
20959
|
+
:param _Port: Check port, which is required when Type = HTTP, Type = HTTPS, Type = TCP, or Type = UDP.
|
|
20960
|
+
:type Port: int
|
|
20961
|
+
:param _Interval: Check frequency, in seconds. It indicates how often a health check task is initiated. Valid values: 30, 60, 180, 300, 600.
|
|
20962
|
+
:type Interval: int
|
|
20963
|
+
:param _Timeout: Timeout for each health check, in seconds. If the health check time exceeds this value, the check result is determined as "unhealthy". The default value is 5s, and the value should be less than Interval.
|
|
20964
|
+
:type Timeout: int
|
|
20965
|
+
:param _HealthThreshold: Healthy state threshold, in the number of times. It indicates that if the consecutive health check results are "healthy" for a certain number of times, an origin server is considered "healthy". The default value is 3 times, with the minimum value of 1 time.
|
|
20966
|
+
:type HealthThreshold: int
|
|
20967
|
+
:param _CriticalThreshold: Unhealthy state threshold, in the number of times. It indicates that if the consecutive health check results are "unhealthy" for a certain number of times, an origin server is considered "unhealthy". The default value is 2 times.
|
|
20968
|
+
:type CriticalThreshold: int
|
|
20969
|
+
:param _Path: Probe path. This parameter is valid only when Type = HTTP or Type = HTTPS. It needs to include the complete host/path and should not contain a protocol, for example, www.example.com/test.
|
|
20970
|
+
|
|
20971
|
+
:type Path: str
|
|
20972
|
+
:param _Method: Request method. This parameter is valid only when Type = HTTP or Type = HTTPS. Valid values:
|
|
20973
|
+
<li>GET.</li>
|
|
20974
|
+
<li>HEAD.</li>
|
|
20975
|
+
:type Method: str
|
|
20976
|
+
:param _ExpectedCodes: The status codes used to determine that the probe result is healthy when the probe node initiates a health check to an origin server. This parameter is valid only when Type = HTTP or Type = HTTPS.
|
|
20977
|
+
:type ExpectedCodes: list of str
|
|
20978
|
+
:param _Headers: The custom HTTP request header carried by a probe request, with a maximum value of 10. This parameter is valid only when Type = HTTP or Type = HTTPS.
|
|
20979
|
+
:type Headers: list of CustomizedHeader
|
|
20980
|
+
:param _FollowRedirect: Whether to follow 301/302 redirect. When enabled, 301/302 is considered a "healthy" status code, redirecting 3 times by default. This parameter is valid only when Type = HTTP or Type = HTTPS.
|
|
20981
|
+
:type FollowRedirect: str
|
|
20982
|
+
:param _SendContext: The content sent by a health check. Only ASCII visible characters are allowed, with up to 500 characters. This parameter is valid only when Type = UDP.
|
|
20983
|
+
:type SendContext: str
|
|
20984
|
+
:param _RecvContext: The expected return result from an origin server during health check. Only ASCII visible characters are allowed, with up to 500 characters. This parameter is valid only when Type = UDP.
|
|
20985
|
+
:type RecvContext: str
|
|
20986
|
+
"""
|
|
20987
|
+
self._Type = None
|
|
20988
|
+
self._Port = None
|
|
20989
|
+
self._Interval = None
|
|
20990
|
+
self._Timeout = None
|
|
20991
|
+
self._HealthThreshold = None
|
|
20992
|
+
self._CriticalThreshold = None
|
|
20993
|
+
self._Path = None
|
|
20994
|
+
self._Method = None
|
|
20995
|
+
self._ExpectedCodes = None
|
|
20996
|
+
self._Headers = None
|
|
20997
|
+
self._FollowRedirect = None
|
|
20998
|
+
self._SendContext = None
|
|
20999
|
+
self._RecvContext = None
|
|
21000
|
+
|
|
21001
|
+
@property
|
|
21002
|
+
def Type(self):
|
|
21003
|
+
"""Health check policy. Valid values:
|
|
21004
|
+
<li>HTTP.</li>
|
|
21005
|
+
<li>HTTPS.</li>
|
|
21006
|
+
<li>TCP.</li>
|
|
21007
|
+
<li>UDP.</li>
|
|
21008
|
+
<li>ICMP Ping.</li>
|
|
21009
|
+
<li>NoCheck.</li>
|
|
21010
|
+
Note: NoCheck means the health check policy is not enabled.
|
|
21011
|
+
:rtype: str
|
|
21012
|
+
"""
|
|
21013
|
+
return self._Type
|
|
21014
|
+
|
|
21015
|
+
@Type.setter
|
|
21016
|
+
def Type(self, Type):
|
|
21017
|
+
self._Type = Type
|
|
21018
|
+
|
|
21019
|
+
@property
|
|
21020
|
+
def Port(self):
|
|
21021
|
+
"""Check port, which is required when Type = HTTP, Type = HTTPS, Type = TCP, or Type = UDP.
|
|
21022
|
+
:rtype: int
|
|
21023
|
+
"""
|
|
21024
|
+
return self._Port
|
|
21025
|
+
|
|
21026
|
+
@Port.setter
|
|
21027
|
+
def Port(self, Port):
|
|
21028
|
+
self._Port = Port
|
|
21029
|
+
|
|
21030
|
+
@property
|
|
21031
|
+
def Interval(self):
|
|
21032
|
+
"""Check frequency, in seconds. It indicates how often a health check task is initiated. Valid values: 30, 60, 180, 300, 600.
|
|
21033
|
+
:rtype: int
|
|
21034
|
+
"""
|
|
21035
|
+
return self._Interval
|
|
21036
|
+
|
|
21037
|
+
@Interval.setter
|
|
21038
|
+
def Interval(self, Interval):
|
|
21039
|
+
self._Interval = Interval
|
|
21040
|
+
|
|
21041
|
+
@property
|
|
21042
|
+
def Timeout(self):
|
|
21043
|
+
"""Timeout for each health check, in seconds. If the health check time exceeds this value, the check result is determined as "unhealthy". The default value is 5s, and the value should be less than Interval.
|
|
21044
|
+
:rtype: int
|
|
21045
|
+
"""
|
|
21046
|
+
return self._Timeout
|
|
21047
|
+
|
|
21048
|
+
@Timeout.setter
|
|
21049
|
+
def Timeout(self, Timeout):
|
|
21050
|
+
self._Timeout = Timeout
|
|
21051
|
+
|
|
21052
|
+
@property
|
|
21053
|
+
def HealthThreshold(self):
|
|
21054
|
+
"""Healthy state threshold, in the number of times. It indicates that if the consecutive health check results are "healthy" for a certain number of times, an origin server is considered "healthy". The default value is 3 times, with the minimum value of 1 time.
|
|
21055
|
+
:rtype: int
|
|
21056
|
+
"""
|
|
21057
|
+
return self._HealthThreshold
|
|
21058
|
+
|
|
21059
|
+
@HealthThreshold.setter
|
|
21060
|
+
def HealthThreshold(self, HealthThreshold):
|
|
21061
|
+
self._HealthThreshold = HealthThreshold
|
|
21062
|
+
|
|
21063
|
+
@property
|
|
21064
|
+
def CriticalThreshold(self):
|
|
21065
|
+
"""Unhealthy state threshold, in the number of times. It indicates that if the consecutive health check results are "unhealthy" for a certain number of times, an origin server is considered "unhealthy". The default value is 2 times.
|
|
21066
|
+
:rtype: int
|
|
21067
|
+
"""
|
|
21068
|
+
return self._CriticalThreshold
|
|
21069
|
+
|
|
21070
|
+
@CriticalThreshold.setter
|
|
21071
|
+
def CriticalThreshold(self, CriticalThreshold):
|
|
21072
|
+
self._CriticalThreshold = CriticalThreshold
|
|
21073
|
+
|
|
21074
|
+
@property
|
|
21075
|
+
def Path(self):
|
|
21076
|
+
"""Probe path. This parameter is valid only when Type = HTTP or Type = HTTPS. It needs to include the complete host/path and should not contain a protocol, for example, www.example.com/test.
|
|
21077
|
+
|
|
21078
|
+
:rtype: str
|
|
21079
|
+
"""
|
|
21080
|
+
return self._Path
|
|
21081
|
+
|
|
21082
|
+
@Path.setter
|
|
21083
|
+
def Path(self, Path):
|
|
21084
|
+
self._Path = Path
|
|
21085
|
+
|
|
21086
|
+
@property
|
|
21087
|
+
def Method(self):
|
|
21088
|
+
"""Request method. This parameter is valid only when Type = HTTP or Type = HTTPS. Valid values:
|
|
21089
|
+
<li>GET.</li>
|
|
21090
|
+
<li>HEAD.</li>
|
|
21091
|
+
:rtype: str
|
|
21092
|
+
"""
|
|
21093
|
+
return self._Method
|
|
21094
|
+
|
|
21095
|
+
@Method.setter
|
|
21096
|
+
def Method(self, Method):
|
|
21097
|
+
self._Method = Method
|
|
21098
|
+
|
|
21099
|
+
@property
|
|
21100
|
+
def ExpectedCodes(self):
|
|
21101
|
+
"""The status codes used to determine that the probe result is healthy when the probe node initiates a health check to an origin server. This parameter is valid only when Type = HTTP or Type = HTTPS.
|
|
21102
|
+
:rtype: list of str
|
|
21103
|
+
"""
|
|
21104
|
+
return self._ExpectedCodes
|
|
21105
|
+
|
|
21106
|
+
@ExpectedCodes.setter
|
|
21107
|
+
def ExpectedCodes(self, ExpectedCodes):
|
|
21108
|
+
self._ExpectedCodes = ExpectedCodes
|
|
21109
|
+
|
|
21110
|
+
@property
|
|
21111
|
+
def Headers(self):
|
|
21112
|
+
"""The custom HTTP request header carried by a probe request, with a maximum value of 10. This parameter is valid only when Type = HTTP or Type = HTTPS.
|
|
21113
|
+
:rtype: list of CustomizedHeader
|
|
21114
|
+
"""
|
|
21115
|
+
return self._Headers
|
|
21116
|
+
|
|
21117
|
+
@Headers.setter
|
|
21118
|
+
def Headers(self, Headers):
|
|
21119
|
+
self._Headers = Headers
|
|
21120
|
+
|
|
21121
|
+
@property
|
|
21122
|
+
def FollowRedirect(self):
|
|
21123
|
+
"""Whether to follow 301/302 redirect. When enabled, 301/302 is considered a "healthy" status code, redirecting 3 times by default. This parameter is valid only when Type = HTTP or Type = HTTPS.
|
|
21124
|
+
:rtype: str
|
|
21125
|
+
"""
|
|
21126
|
+
return self._FollowRedirect
|
|
21127
|
+
|
|
21128
|
+
@FollowRedirect.setter
|
|
21129
|
+
def FollowRedirect(self, FollowRedirect):
|
|
21130
|
+
self._FollowRedirect = FollowRedirect
|
|
21131
|
+
|
|
21132
|
+
@property
|
|
21133
|
+
def SendContext(self):
|
|
21134
|
+
"""The content sent by a health check. Only ASCII visible characters are allowed, with up to 500 characters. This parameter is valid only when Type = UDP.
|
|
21135
|
+
:rtype: str
|
|
21136
|
+
"""
|
|
21137
|
+
return self._SendContext
|
|
21138
|
+
|
|
21139
|
+
@SendContext.setter
|
|
21140
|
+
def SendContext(self, SendContext):
|
|
21141
|
+
self._SendContext = SendContext
|
|
21142
|
+
|
|
21143
|
+
@property
|
|
21144
|
+
def RecvContext(self):
|
|
21145
|
+
"""The expected return result from an origin server during health check. Only ASCII visible characters are allowed, with up to 500 characters. This parameter is valid only when Type = UDP.
|
|
21146
|
+
:rtype: str
|
|
21147
|
+
"""
|
|
21148
|
+
return self._RecvContext
|
|
21149
|
+
|
|
21150
|
+
@RecvContext.setter
|
|
21151
|
+
def RecvContext(self, RecvContext):
|
|
21152
|
+
self._RecvContext = RecvContext
|
|
21153
|
+
|
|
21154
|
+
|
|
21155
|
+
def _deserialize(self, params):
|
|
21156
|
+
self._Type = params.get("Type")
|
|
21157
|
+
self._Port = params.get("Port")
|
|
21158
|
+
self._Interval = params.get("Interval")
|
|
21159
|
+
self._Timeout = params.get("Timeout")
|
|
21160
|
+
self._HealthThreshold = params.get("HealthThreshold")
|
|
21161
|
+
self._CriticalThreshold = params.get("CriticalThreshold")
|
|
21162
|
+
self._Path = params.get("Path")
|
|
21163
|
+
self._Method = params.get("Method")
|
|
21164
|
+
self._ExpectedCodes = params.get("ExpectedCodes")
|
|
21165
|
+
if params.get("Headers") is not None:
|
|
21166
|
+
self._Headers = []
|
|
21167
|
+
for item in params.get("Headers"):
|
|
21168
|
+
obj = CustomizedHeader()
|
|
21169
|
+
obj._deserialize(item)
|
|
21170
|
+
self._Headers.append(obj)
|
|
21171
|
+
self._FollowRedirect = params.get("FollowRedirect")
|
|
21172
|
+
self._SendContext = params.get("SendContext")
|
|
21173
|
+
self._RecvContext = params.get("RecvContext")
|
|
21174
|
+
memeber_set = set(params.keys())
|
|
21175
|
+
for name, value in vars(self).items():
|
|
21176
|
+
property_name = name[1:]
|
|
21177
|
+
if property_name in memeber_set:
|
|
21178
|
+
memeber_set.remove(property_name)
|
|
21179
|
+
if len(memeber_set) > 0:
|
|
21180
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
21181
|
+
|
|
21182
|
+
|
|
21183
|
+
|
|
20261
21184
|
class Hsts(AbstractModel):
|
|
20262
21185
|
"""HSTS configuration
|
|
20263
21186
|
|
|
@@ -21501,6 +22424,46 @@ class Ipv6(AbstractModel):
|
|
|
21501
22424
|
|
|
21502
22425
|
|
|
21503
22426
|
|
|
22427
|
+
class JITVideoProcess(AbstractModel):
|
|
22428
|
+
"""Just-in-time media processing configuration.
|
|
22429
|
+
|
|
22430
|
+
"""
|
|
22431
|
+
|
|
22432
|
+
def __init__(self):
|
|
22433
|
+
r"""
|
|
22434
|
+
:param _Switch: Just-in-time media processing configuration switch. Valid values:
|
|
22435
|
+
<li>on: Enable.</li>
|
|
22436
|
+
<li>off: Disable.</li>
|
|
22437
|
+
:type Switch: str
|
|
22438
|
+
"""
|
|
22439
|
+
self._Switch = None
|
|
22440
|
+
|
|
22441
|
+
@property
|
|
22442
|
+
def Switch(self):
|
|
22443
|
+
"""Just-in-time media processing configuration switch. Valid values:
|
|
22444
|
+
<li>on: Enable.</li>
|
|
22445
|
+
<li>off: Disable.</li>
|
|
22446
|
+
:rtype: str
|
|
22447
|
+
"""
|
|
22448
|
+
return self._Switch
|
|
22449
|
+
|
|
22450
|
+
@Switch.setter
|
|
22451
|
+
def Switch(self, Switch):
|
|
22452
|
+
self._Switch = Switch
|
|
22453
|
+
|
|
22454
|
+
|
|
22455
|
+
def _deserialize(self, params):
|
|
22456
|
+
self._Switch = params.get("Switch")
|
|
22457
|
+
memeber_set = set(params.keys())
|
|
22458
|
+
for name, value in vars(self).items():
|
|
22459
|
+
property_name = name[1:]
|
|
22460
|
+
if property_name in memeber_set:
|
|
22461
|
+
memeber_set.remove(property_name)
|
|
22462
|
+
if len(memeber_set) > 0:
|
|
22463
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
22464
|
+
|
|
22465
|
+
|
|
22466
|
+
|
|
21504
22467
|
class L4OfflineLog(AbstractModel):
|
|
21505
22468
|
"""The L7 log details
|
|
21506
22469
|
|
|
@@ -22383,6 +23346,200 @@ class L7OfflineLog(AbstractModel):
|
|
|
22383
23346
|
|
|
22384
23347
|
|
|
22385
23348
|
|
|
23349
|
+
class LoadBalancer(AbstractModel):
|
|
23350
|
+
"""LoadBalancer information.
|
|
23351
|
+
|
|
23352
|
+
"""
|
|
23353
|
+
|
|
23354
|
+
def __init__(self):
|
|
23355
|
+
r"""
|
|
23356
|
+
:param _InstanceId: LoadBalancer ID.
|
|
23357
|
+
:type InstanceId: str
|
|
23358
|
+
:param _Name: LoadBalancer name, which can contain 1 to 200 characters, including a-z, A-Z, 0-9, underscores (_), and hyphens (-).
|
|
23359
|
+
:type Name: str
|
|
23360
|
+
:param _Type: LoadBalancer type. Valid values:
|
|
23361
|
+
<li>HTTP: HTTP-specific LoadBalancer. It supports adding HTTP-specific and general origin server groups. It can only be referenced by site acceleration services (such as domain name service and rule engine).</li>
|
|
23362
|
+
<li>GENERAL: general LoadBalancer. It only supports adding general origin server groups. It can be referenced by site acceleration services (such as domain name service and rule engine) and Layer-4 proxy.</li>
|
|
23363
|
+
:type Type: str
|
|
23364
|
+
:param _HealthChecker: Health check policy. For details, refer to [Health Check Policies](https://intl.cloud.tencent.com/document/product/1552/104228?from_cn_redirect=1).
|
|
23365
|
+
:type HealthChecker: :class:`tencentcloud.teo.v20220901.models.HealthChecker`
|
|
23366
|
+
:param _SteeringPolicy: Traffic scheduling policy among origin server groups. Valid values:
|
|
23367
|
+
<li>Priority: Perform failover according to priority.</li>
|
|
23368
|
+
:type SteeringPolicy: str
|
|
23369
|
+
:param _FailoverPolicy: Request retry policy when access to an origin server fails. For details, refer to [Introduction to Request Retry Strategy](https://intl.cloud.tencent.com/document/product/1552/104227?from_cn_redirect=1). Valid values:
|
|
23370
|
+
<li>OtherOriginGroup: After a single request fails, retry with another origin server within the next lower priority origin server group.</li>
|
|
23371
|
+
<li>OtherRecordInOriginGroup: After a single request fails, retry with another origin server within the same origin server group.</li>
|
|
23372
|
+
:type FailoverPolicy: str
|
|
23373
|
+
:param _OriginGroupHealthStatus: Origin server group health status.
|
|
23374
|
+
:type OriginGroupHealthStatus: list of OriginGroupHealthStatus
|
|
23375
|
+
:param _Status: LoadBalancer status. Valid values:
|
|
23376
|
+
<li>Pending: deploying.</li>
|
|
23377
|
+
<li>Deleting: deleting.</li>
|
|
23378
|
+
<li>Running: effective.</li>
|
|
23379
|
+
:type Status: str
|
|
23380
|
+
:param _L4UsedList: List of Layer-4 proxy instances bound to a LoadBalancer.
|
|
23381
|
+
:type L4UsedList: list of str
|
|
23382
|
+
:param _L7UsedList: List of Layer-7 domain names bound to a LoadBalancer.
|
|
23383
|
+
:type L7UsedList: list of str
|
|
23384
|
+
"""
|
|
23385
|
+
self._InstanceId = None
|
|
23386
|
+
self._Name = None
|
|
23387
|
+
self._Type = None
|
|
23388
|
+
self._HealthChecker = None
|
|
23389
|
+
self._SteeringPolicy = None
|
|
23390
|
+
self._FailoverPolicy = None
|
|
23391
|
+
self._OriginGroupHealthStatus = None
|
|
23392
|
+
self._Status = None
|
|
23393
|
+
self._L4UsedList = None
|
|
23394
|
+
self._L7UsedList = None
|
|
23395
|
+
|
|
23396
|
+
@property
|
|
23397
|
+
def InstanceId(self):
|
|
23398
|
+
"""LoadBalancer ID.
|
|
23399
|
+
:rtype: str
|
|
23400
|
+
"""
|
|
23401
|
+
return self._InstanceId
|
|
23402
|
+
|
|
23403
|
+
@InstanceId.setter
|
|
23404
|
+
def InstanceId(self, InstanceId):
|
|
23405
|
+
self._InstanceId = InstanceId
|
|
23406
|
+
|
|
23407
|
+
@property
|
|
23408
|
+
def Name(self):
|
|
23409
|
+
"""LoadBalancer name, which can contain 1 to 200 characters, including a-z, A-Z, 0-9, underscores (_), and hyphens (-).
|
|
23410
|
+
:rtype: str
|
|
23411
|
+
"""
|
|
23412
|
+
return self._Name
|
|
23413
|
+
|
|
23414
|
+
@Name.setter
|
|
23415
|
+
def Name(self, Name):
|
|
23416
|
+
self._Name = Name
|
|
23417
|
+
|
|
23418
|
+
@property
|
|
23419
|
+
def Type(self):
|
|
23420
|
+
"""LoadBalancer type. Valid values:
|
|
23421
|
+
<li>HTTP: HTTP-specific LoadBalancer. It supports adding HTTP-specific and general origin server groups. It can only be referenced by site acceleration services (such as domain name service and rule engine).</li>
|
|
23422
|
+
<li>GENERAL: general LoadBalancer. It only supports adding general origin server groups. It can be referenced by site acceleration services (such as domain name service and rule engine) and Layer-4 proxy.</li>
|
|
23423
|
+
:rtype: str
|
|
23424
|
+
"""
|
|
23425
|
+
return self._Type
|
|
23426
|
+
|
|
23427
|
+
@Type.setter
|
|
23428
|
+
def Type(self, Type):
|
|
23429
|
+
self._Type = Type
|
|
23430
|
+
|
|
23431
|
+
@property
|
|
23432
|
+
def HealthChecker(self):
|
|
23433
|
+
"""Health check policy. For details, refer to [Health Check Policies](https://intl.cloud.tencent.com/document/product/1552/104228?from_cn_redirect=1).
|
|
23434
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.HealthChecker`
|
|
23435
|
+
"""
|
|
23436
|
+
return self._HealthChecker
|
|
23437
|
+
|
|
23438
|
+
@HealthChecker.setter
|
|
23439
|
+
def HealthChecker(self, HealthChecker):
|
|
23440
|
+
self._HealthChecker = HealthChecker
|
|
23441
|
+
|
|
23442
|
+
@property
|
|
23443
|
+
def SteeringPolicy(self):
|
|
23444
|
+
"""Traffic scheduling policy among origin server groups. Valid values:
|
|
23445
|
+
<li>Priority: Perform failover according to priority.</li>
|
|
23446
|
+
:rtype: str
|
|
23447
|
+
"""
|
|
23448
|
+
return self._SteeringPolicy
|
|
23449
|
+
|
|
23450
|
+
@SteeringPolicy.setter
|
|
23451
|
+
def SteeringPolicy(self, SteeringPolicy):
|
|
23452
|
+
self._SteeringPolicy = SteeringPolicy
|
|
23453
|
+
|
|
23454
|
+
@property
|
|
23455
|
+
def FailoverPolicy(self):
|
|
23456
|
+
"""Request retry policy when access to an origin server fails. For details, refer to [Introduction to Request Retry Strategy](https://intl.cloud.tencent.com/document/product/1552/104227?from_cn_redirect=1). Valid values:
|
|
23457
|
+
<li>OtherOriginGroup: After a single request fails, retry with another origin server within the next lower priority origin server group.</li>
|
|
23458
|
+
<li>OtherRecordInOriginGroup: After a single request fails, retry with another origin server within the same origin server group.</li>
|
|
23459
|
+
:rtype: str
|
|
23460
|
+
"""
|
|
23461
|
+
return self._FailoverPolicy
|
|
23462
|
+
|
|
23463
|
+
@FailoverPolicy.setter
|
|
23464
|
+
def FailoverPolicy(self, FailoverPolicy):
|
|
23465
|
+
self._FailoverPolicy = FailoverPolicy
|
|
23466
|
+
|
|
23467
|
+
@property
|
|
23468
|
+
def OriginGroupHealthStatus(self):
|
|
23469
|
+
"""Origin server group health status.
|
|
23470
|
+
:rtype: list of OriginGroupHealthStatus
|
|
23471
|
+
"""
|
|
23472
|
+
return self._OriginGroupHealthStatus
|
|
23473
|
+
|
|
23474
|
+
@OriginGroupHealthStatus.setter
|
|
23475
|
+
def OriginGroupHealthStatus(self, OriginGroupHealthStatus):
|
|
23476
|
+
self._OriginGroupHealthStatus = OriginGroupHealthStatus
|
|
23477
|
+
|
|
23478
|
+
@property
|
|
23479
|
+
def Status(self):
|
|
23480
|
+
"""LoadBalancer status. Valid values:
|
|
23481
|
+
<li>Pending: deploying.</li>
|
|
23482
|
+
<li>Deleting: deleting.</li>
|
|
23483
|
+
<li>Running: effective.</li>
|
|
23484
|
+
:rtype: str
|
|
23485
|
+
"""
|
|
23486
|
+
return self._Status
|
|
23487
|
+
|
|
23488
|
+
@Status.setter
|
|
23489
|
+
def Status(self, Status):
|
|
23490
|
+
self._Status = Status
|
|
23491
|
+
|
|
23492
|
+
@property
|
|
23493
|
+
def L4UsedList(self):
|
|
23494
|
+
"""List of Layer-4 proxy instances bound to a LoadBalancer.
|
|
23495
|
+
:rtype: list of str
|
|
23496
|
+
"""
|
|
23497
|
+
return self._L4UsedList
|
|
23498
|
+
|
|
23499
|
+
@L4UsedList.setter
|
|
23500
|
+
def L4UsedList(self, L4UsedList):
|
|
23501
|
+
self._L4UsedList = L4UsedList
|
|
23502
|
+
|
|
23503
|
+
@property
|
|
23504
|
+
def L7UsedList(self):
|
|
23505
|
+
"""List of Layer-7 domain names bound to a LoadBalancer.
|
|
23506
|
+
:rtype: list of str
|
|
23507
|
+
"""
|
|
23508
|
+
return self._L7UsedList
|
|
23509
|
+
|
|
23510
|
+
@L7UsedList.setter
|
|
23511
|
+
def L7UsedList(self, L7UsedList):
|
|
23512
|
+
self._L7UsedList = L7UsedList
|
|
23513
|
+
|
|
23514
|
+
|
|
23515
|
+
def _deserialize(self, params):
|
|
23516
|
+
self._InstanceId = params.get("InstanceId")
|
|
23517
|
+
self._Name = params.get("Name")
|
|
23518
|
+
self._Type = params.get("Type")
|
|
23519
|
+
if params.get("HealthChecker") is not None:
|
|
23520
|
+
self._HealthChecker = HealthChecker()
|
|
23521
|
+
self._HealthChecker._deserialize(params.get("HealthChecker"))
|
|
23522
|
+
self._SteeringPolicy = params.get("SteeringPolicy")
|
|
23523
|
+
self._FailoverPolicy = params.get("FailoverPolicy")
|
|
23524
|
+
if params.get("OriginGroupHealthStatus") is not None:
|
|
23525
|
+
self._OriginGroupHealthStatus = []
|
|
23526
|
+
for item in params.get("OriginGroupHealthStatus"):
|
|
23527
|
+
obj = OriginGroupHealthStatus()
|
|
23528
|
+
obj._deserialize(item)
|
|
23529
|
+
self._OriginGroupHealthStatus.append(obj)
|
|
23530
|
+
self._Status = params.get("Status")
|
|
23531
|
+
self._L4UsedList = params.get("L4UsedList")
|
|
23532
|
+
self._L7UsedList = params.get("L7UsedList")
|
|
23533
|
+
memeber_set = set(params.keys())
|
|
23534
|
+
for name, value in vars(self).items():
|
|
23535
|
+
property_name = name[1:]
|
|
23536
|
+
if property_name in memeber_set:
|
|
23537
|
+
memeber_set.remove(property_name)
|
|
23538
|
+
if len(memeber_set) > 0:
|
|
23539
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
23540
|
+
|
|
23541
|
+
|
|
23542
|
+
|
|
22386
23543
|
class LogFormat(AbstractModel):
|
|
22387
23544
|
"""Output format for real-time log delivery. You can directly use the specified predefined log output format (JSON Lines / csv) through the FormatType parameter, or define a variant output format through additional parameters based on the predefined log output format.
|
|
22388
23545
|
|
|
@@ -24211,19 +25368,22 @@ class ModifyHostsCertificateRequest(AbstractModel):
|
|
|
24211
25368
|
<li>`eofreecert`: Use a free certificate provided by EdgeOne</li>
|
|
24212
25369
|
<li>`sslcert`: Configure an SSL certificate.</li>
|
|
24213
25370
|
:type Mode: str
|
|
24214
|
-
:param _ServerCertInfo:
|
|
25371
|
+
:param _ServerCertInfo: SSL certificate configuration. This parameter is effective only when the mode is sslcert. You only need to provide the CertId of the corresponding certificate. You can check the CertId from the [SSL Certificate List](https://console.cloud.tencent.com/ssl).
|
|
24215
25372
|
:type ServerCertInfo: list of ServerCertInfo
|
|
24216
25373
|
:param _ApplyType: Whether the certificate is managed by EdgeOne. Values:
|
|
24217
25374
|
<li>`none`: Not managed by EdgeOne</li>
|
|
24218
25375
|
<li>`apply`: Managed by EdgeOne</li>
|
|
24219
25376
|
Default value: `none`.
|
|
24220
25377
|
:type ApplyType: str
|
|
25378
|
+
:param _ClientCertInfo: In the Edge mTLS scenario, this field represents the client's CA certificate, which is deployed at the EO entry side for authenticating the client access to EO nodes. The original configuration applies if this field is not specified.
|
|
25379
|
+
:type ClientCertInfo: :class:`tencentcloud.teo.v20220901.models.MutualTLS`
|
|
24221
25380
|
"""
|
|
24222
25381
|
self._ZoneId = None
|
|
24223
25382
|
self._Hosts = None
|
|
24224
25383
|
self._Mode = None
|
|
24225
25384
|
self._ServerCertInfo = None
|
|
24226
25385
|
self._ApplyType = None
|
|
25386
|
+
self._ClientCertInfo = None
|
|
24227
25387
|
|
|
24228
25388
|
@property
|
|
24229
25389
|
def ZoneId(self):
|
|
@@ -24263,7 +25423,7 @@ Default value: `none`.
|
|
|
24263
25423
|
|
|
24264
25424
|
@property
|
|
24265
25425
|
def ServerCertInfo(self):
|
|
24266
|
-
"""
|
|
25426
|
+
"""SSL certificate configuration. This parameter is effective only when the mode is sslcert. You only need to provide the CertId of the corresponding certificate. You can check the CertId from the [SSL Certificate List](https://console.cloud.tencent.com/ssl).
|
|
24267
25427
|
:rtype: list of ServerCertInfo
|
|
24268
25428
|
"""
|
|
24269
25429
|
return self._ServerCertInfo
|
|
@@ -24290,6 +25450,17 @@ Default value: `none`.
|
|
|
24290
25450
|
|
|
24291
25451
|
self._ApplyType = ApplyType
|
|
24292
25452
|
|
|
25453
|
+
@property
|
|
25454
|
+
def ClientCertInfo(self):
|
|
25455
|
+
"""In the Edge mTLS scenario, this field represents the client's CA certificate, which is deployed at the EO entry side for authenticating the client access to EO nodes. The original configuration applies if this field is not specified.
|
|
25456
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.MutualTLS`
|
|
25457
|
+
"""
|
|
25458
|
+
return self._ClientCertInfo
|
|
25459
|
+
|
|
25460
|
+
@ClientCertInfo.setter
|
|
25461
|
+
def ClientCertInfo(self, ClientCertInfo):
|
|
25462
|
+
self._ClientCertInfo = ClientCertInfo
|
|
25463
|
+
|
|
24293
25464
|
|
|
24294
25465
|
def _deserialize(self, params):
|
|
24295
25466
|
self._ZoneId = params.get("ZoneId")
|
|
@@ -24302,6 +25473,9 @@ Default value: `none`.
|
|
|
24302
25473
|
obj._deserialize(item)
|
|
24303
25474
|
self._ServerCertInfo.append(obj)
|
|
24304
25475
|
self._ApplyType = params.get("ApplyType")
|
|
25476
|
+
if params.get("ClientCertInfo") is not None:
|
|
25477
|
+
self._ClientCertInfo = MutualTLS()
|
|
25478
|
+
self._ClientCertInfo._deserialize(params.get("ClientCertInfo"))
|
|
24305
25479
|
memeber_set = set(params.keys())
|
|
24306
25480
|
for name, value in vars(self).items():
|
|
24307
25481
|
property_name = name[1:]
|
|
@@ -24737,8 +25911,175 @@ class ModifyL4ProxyStatusRequest(AbstractModel):
|
|
|
24737
25911
|
|
|
24738
25912
|
|
|
24739
25913
|
|
|
24740
|
-
class ModifyL4ProxyStatusResponse(AbstractModel):
|
|
24741
|
-
"""ModifyL4ProxyStatus response structure.
|
|
25914
|
+
class ModifyL4ProxyStatusResponse(AbstractModel):
|
|
25915
|
+
"""ModifyL4ProxyStatus response structure.
|
|
25916
|
+
|
|
25917
|
+
"""
|
|
25918
|
+
|
|
25919
|
+
def __init__(self):
|
|
25920
|
+
r"""
|
|
25921
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
25922
|
+
:type RequestId: str
|
|
25923
|
+
"""
|
|
25924
|
+
self._RequestId = None
|
|
25925
|
+
|
|
25926
|
+
@property
|
|
25927
|
+
def RequestId(self):
|
|
25928
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
25929
|
+
:rtype: str
|
|
25930
|
+
"""
|
|
25931
|
+
return self._RequestId
|
|
25932
|
+
|
|
25933
|
+
@RequestId.setter
|
|
25934
|
+
def RequestId(self, RequestId):
|
|
25935
|
+
self._RequestId = RequestId
|
|
25936
|
+
|
|
25937
|
+
|
|
25938
|
+
def _deserialize(self, params):
|
|
25939
|
+
self._RequestId = params.get("RequestId")
|
|
25940
|
+
|
|
25941
|
+
|
|
25942
|
+
class ModifyLoadBalancerRequest(AbstractModel):
|
|
25943
|
+
"""ModifyLoadBalancer request structure.
|
|
25944
|
+
|
|
25945
|
+
"""
|
|
25946
|
+
|
|
25947
|
+
def __init__(self):
|
|
25948
|
+
r"""
|
|
25949
|
+
:param _ZoneId: Zone ID.
|
|
25950
|
+
:type ZoneId: str
|
|
25951
|
+
:param _InstanceId: CLB instance ID.
|
|
25952
|
+
:type InstanceId: str
|
|
25953
|
+
:param _Name: LoadBalancer name, which can contain 1 to 200 characters, including a-z, A-Z, 0-9, underscores (_), and hyphens (-). The original configuration applies if this field is not specified.
|
|
25954
|
+
:type Name: str
|
|
25955
|
+
:param _OriginGroups: List of origin server groups and their corresponding disaster recovery scheduling priorities. For details, refer to Sample Scenario in [Quickly Create Load Balancers](https://intl.cloud.tencent.com/document/product/1552/104223?from_cn_redirect=1). The original configuration applies if this field is not specified.
|
|
25956
|
+
:type OriginGroups: list of OriginGroupInLoadBalancer
|
|
25957
|
+
:param _HealthChecker: Health check policy. For details, refer to [Health Check Policies](https://intl.cloud.tencent.com/document/product/1552/104228?from_cn_redirect=1). The original configuration applies if this field is not specified.
|
|
25958
|
+
:type HealthChecker: :class:`tencentcloud.teo.v20220901.models.HealthChecker`
|
|
25959
|
+
:param _SteeringPolicy: Traffic scheduling policy among origin server groups. Valid values:
|
|
25960
|
+
<li>Priority: Perform failover according to priority.</li> The original configuration applies if this field is not specified.
|
|
25961
|
+
:type SteeringPolicy: str
|
|
25962
|
+
:param _FailoverPolicy: Request retry policy when access to an origin server fails. For details, refer to [Introduction to Request Retry Strategy](https://intl.cloud.tencent.com/document/product/1552/104227?from_cn_redirect=1). Valid values:
|
|
25963
|
+
<li>OtherOriginGroup: After a single request fails, retry with another origin server within the next lower priority origin server group.</li>
|
|
25964
|
+
<li>OtherRecordInOriginGroup: After a single request fails, retry with another origin server within the same origin server group.</li> The original configuration applies if not specified.
|
|
25965
|
+
:type FailoverPolicy: str
|
|
25966
|
+
"""
|
|
25967
|
+
self._ZoneId = None
|
|
25968
|
+
self._InstanceId = None
|
|
25969
|
+
self._Name = None
|
|
25970
|
+
self._OriginGroups = None
|
|
25971
|
+
self._HealthChecker = None
|
|
25972
|
+
self._SteeringPolicy = None
|
|
25973
|
+
self._FailoverPolicy = None
|
|
25974
|
+
|
|
25975
|
+
@property
|
|
25976
|
+
def ZoneId(self):
|
|
25977
|
+
"""Zone ID.
|
|
25978
|
+
:rtype: str
|
|
25979
|
+
"""
|
|
25980
|
+
return self._ZoneId
|
|
25981
|
+
|
|
25982
|
+
@ZoneId.setter
|
|
25983
|
+
def ZoneId(self, ZoneId):
|
|
25984
|
+
self._ZoneId = ZoneId
|
|
25985
|
+
|
|
25986
|
+
@property
|
|
25987
|
+
def InstanceId(self):
|
|
25988
|
+
"""CLB instance ID.
|
|
25989
|
+
:rtype: str
|
|
25990
|
+
"""
|
|
25991
|
+
return self._InstanceId
|
|
25992
|
+
|
|
25993
|
+
@InstanceId.setter
|
|
25994
|
+
def InstanceId(self, InstanceId):
|
|
25995
|
+
self._InstanceId = InstanceId
|
|
25996
|
+
|
|
25997
|
+
@property
|
|
25998
|
+
def Name(self):
|
|
25999
|
+
"""LoadBalancer name, which can contain 1 to 200 characters, including a-z, A-Z, 0-9, underscores (_), and hyphens (-). The original configuration applies if this field is not specified.
|
|
26000
|
+
:rtype: str
|
|
26001
|
+
"""
|
|
26002
|
+
return self._Name
|
|
26003
|
+
|
|
26004
|
+
@Name.setter
|
|
26005
|
+
def Name(self, Name):
|
|
26006
|
+
self._Name = Name
|
|
26007
|
+
|
|
26008
|
+
@property
|
|
26009
|
+
def OriginGroups(self):
|
|
26010
|
+
"""List of origin server groups and their corresponding disaster recovery scheduling priorities. For details, refer to Sample Scenario in [Quickly Create Load Balancers](https://intl.cloud.tencent.com/document/product/1552/104223?from_cn_redirect=1). The original configuration applies if this field is not specified.
|
|
26011
|
+
:rtype: list of OriginGroupInLoadBalancer
|
|
26012
|
+
"""
|
|
26013
|
+
return self._OriginGroups
|
|
26014
|
+
|
|
26015
|
+
@OriginGroups.setter
|
|
26016
|
+
def OriginGroups(self, OriginGroups):
|
|
26017
|
+
self._OriginGroups = OriginGroups
|
|
26018
|
+
|
|
26019
|
+
@property
|
|
26020
|
+
def HealthChecker(self):
|
|
26021
|
+
"""Health check policy. For details, refer to [Health Check Policies](https://intl.cloud.tencent.com/document/product/1552/104228?from_cn_redirect=1). The original configuration applies if this field is not specified.
|
|
26022
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.HealthChecker`
|
|
26023
|
+
"""
|
|
26024
|
+
return self._HealthChecker
|
|
26025
|
+
|
|
26026
|
+
@HealthChecker.setter
|
|
26027
|
+
def HealthChecker(self, HealthChecker):
|
|
26028
|
+
self._HealthChecker = HealthChecker
|
|
26029
|
+
|
|
26030
|
+
@property
|
|
26031
|
+
def SteeringPolicy(self):
|
|
26032
|
+
"""Traffic scheduling policy among origin server groups. Valid values:
|
|
26033
|
+
<li>Priority: Perform failover according to priority.</li> The original configuration applies if this field is not specified.
|
|
26034
|
+
:rtype: str
|
|
26035
|
+
"""
|
|
26036
|
+
return self._SteeringPolicy
|
|
26037
|
+
|
|
26038
|
+
@SteeringPolicy.setter
|
|
26039
|
+
def SteeringPolicy(self, SteeringPolicy):
|
|
26040
|
+
self._SteeringPolicy = SteeringPolicy
|
|
26041
|
+
|
|
26042
|
+
@property
|
|
26043
|
+
def FailoverPolicy(self):
|
|
26044
|
+
"""Request retry policy when access to an origin server fails. For details, refer to [Introduction to Request Retry Strategy](https://intl.cloud.tencent.com/document/product/1552/104227?from_cn_redirect=1). Valid values:
|
|
26045
|
+
<li>OtherOriginGroup: After a single request fails, retry with another origin server within the next lower priority origin server group.</li>
|
|
26046
|
+
<li>OtherRecordInOriginGroup: After a single request fails, retry with another origin server within the same origin server group.</li> The original configuration applies if not specified.
|
|
26047
|
+
:rtype: str
|
|
26048
|
+
"""
|
|
26049
|
+
return self._FailoverPolicy
|
|
26050
|
+
|
|
26051
|
+
@FailoverPolicy.setter
|
|
26052
|
+
def FailoverPolicy(self, FailoverPolicy):
|
|
26053
|
+
self._FailoverPolicy = FailoverPolicy
|
|
26054
|
+
|
|
26055
|
+
|
|
26056
|
+
def _deserialize(self, params):
|
|
26057
|
+
self._ZoneId = params.get("ZoneId")
|
|
26058
|
+
self._InstanceId = params.get("InstanceId")
|
|
26059
|
+
self._Name = params.get("Name")
|
|
26060
|
+
if params.get("OriginGroups") is not None:
|
|
26061
|
+
self._OriginGroups = []
|
|
26062
|
+
for item in params.get("OriginGroups"):
|
|
26063
|
+
obj = OriginGroupInLoadBalancer()
|
|
26064
|
+
obj._deserialize(item)
|
|
26065
|
+
self._OriginGroups.append(obj)
|
|
26066
|
+
if params.get("HealthChecker") is not None:
|
|
26067
|
+
self._HealthChecker = HealthChecker()
|
|
26068
|
+
self._HealthChecker._deserialize(params.get("HealthChecker"))
|
|
26069
|
+
self._SteeringPolicy = params.get("SteeringPolicy")
|
|
26070
|
+
self._FailoverPolicy = params.get("FailoverPolicy")
|
|
26071
|
+
memeber_set = set(params.keys())
|
|
26072
|
+
for name, value in vars(self).items():
|
|
26073
|
+
property_name = name[1:]
|
|
26074
|
+
if property_name in memeber_set:
|
|
26075
|
+
memeber_set.remove(property_name)
|
|
26076
|
+
if len(memeber_set) > 0:
|
|
26077
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
26078
|
+
|
|
26079
|
+
|
|
26080
|
+
|
|
26081
|
+
class ModifyLoadBalancerResponse(AbstractModel):
|
|
26082
|
+
"""ModifyLoadBalancer response structure.
|
|
24742
26083
|
|
|
24743
26084
|
"""
|
|
24744
26085
|
|
|
@@ -25008,8 +26349,8 @@ class ModifyRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
25008
26349
|
:param _TaskName: The name of the real-time log delivery task, which is a combination of numbers, English letters, - and _, containing up to 200 characters. If this field is not filled in, the original configuration will be retained.
|
|
25009
26350
|
:type TaskName: str
|
|
25010
26351
|
:param _DeliveryStatus: The status of the real-time log delivery task. Valid values:
|
|
25011
|
-
<li
|
|
25012
|
-
<li
|
|
26352
|
+
<li>enabled: Enabled;</li>
|
|
26353
|
+
<li>disabled: Disabled.</li>If this field is not filled in, the original configuration will be retained.
|
|
25013
26354
|
:type DeliveryStatus: str
|
|
25014
26355
|
:param _EntityList: The list of entities (Layer 7 domains or Layer 4 proxy instances) corresponding to the real-time log delivery task. Valid value examples:
|
|
25015
26356
|
<li>Layer 7 domain: domain.example.com;</li>
|
|
@@ -25017,13 +26358,13 @@ class ModifyRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
25017
26358
|
:type EntityList: list of str
|
|
25018
26359
|
:param _Fields: The list of predefined fields for delivery. If this field is not filled in, the original configuration will be retained.
|
|
25019
26360
|
:type Fields: list of str
|
|
25020
|
-
:param _CustomFields: The list of custom fields for
|
|
26361
|
+
:param _CustomFields: The list of custom fields for shipping, which supports extracting specified content from HTTP request headers, response headers, cookies, and request bodies. If this parameter is not filled in, the original configuration will be retained. The name of each custom field should be unique and the maximum number of fields is 200. Up to 5 custom fields of the request body type can be added for a single real-time log push task. Currently, adding custom fields is supported only for site acceleration logs (LogType=domain).
|
|
25021
26362
|
:type CustomFields: list of CustomField
|
|
25022
26363
|
:param _DeliveryConditions: Log delivery filter conditions. If this field is not filled in, all logs will be delivered.
|
|
25023
26364
|
:type DeliveryConditions: list of DeliveryCondition
|
|
25024
26365
|
:param _Sample: The sampling ratio in permille. Value range: 1 to 1000. For example, 605 represents a sampling ratio of 60.5%. If this field is not filled in, the original configuration will be retained.
|
|
25025
26366
|
:type Sample: int
|
|
25026
|
-
:param _LogFormat: Output format for log delivery. If this field is not specified, the original configuration will be retained.Specifically, when TaskType is
|
|
26367
|
+
:param _LogFormat: Output format for log delivery. If this field is not specified, the original configuration will be retained. Specifically, when TaskType is cls, the value of LogFormat.FormatType can only be json, and other parameters in LogFormat will be ignored. It is recommended not to input LogFormat.
|
|
25027
26368
|
:type LogFormat: :class:`tencentcloud.teo.v20220901.models.LogFormat`
|
|
25028
26369
|
:param _CustomEndpoint: The configuration information of the custom HTTP service. If this field is not filled in, the original configuration will be retained.
|
|
25029
26370
|
:type CustomEndpoint: :class:`tencentcloud.teo.v20220901.models.CustomEndpoint`
|
|
@@ -25079,8 +26420,8 @@ class ModifyRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
25079
26420
|
@property
|
|
25080
26421
|
def DeliveryStatus(self):
|
|
25081
26422
|
"""The status of the real-time log delivery task. Valid values:
|
|
25082
|
-
<li
|
|
25083
|
-
<li
|
|
26423
|
+
<li>enabled: Enabled;</li>
|
|
26424
|
+
<li>disabled: Disabled.</li>If this field is not filled in, the original configuration will be retained.
|
|
25084
26425
|
:rtype: str
|
|
25085
26426
|
"""
|
|
25086
26427
|
return self._DeliveryStatus
|
|
@@ -25115,7 +26456,7 @@ class ModifyRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
25115
26456
|
|
|
25116
26457
|
@property
|
|
25117
26458
|
def CustomFields(self):
|
|
25118
|
-
"""The list of custom fields for
|
|
26459
|
+
"""The list of custom fields for shipping, which supports extracting specified content from HTTP request headers, response headers, cookies, and request bodies. If this parameter is not filled in, the original configuration will be retained. The name of each custom field should be unique and the maximum number of fields is 200. Up to 5 custom fields of the request body type can be added for a single real-time log push task. Currently, adding custom fields is supported only for site acceleration logs (LogType=domain).
|
|
25119
26460
|
:rtype: list of CustomField
|
|
25120
26461
|
"""
|
|
25121
26462
|
return self._CustomFields
|
|
@@ -25148,7 +26489,7 @@ class ModifyRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
25148
26489
|
|
|
25149
26490
|
@property
|
|
25150
26491
|
def LogFormat(self):
|
|
25151
|
-
"""Output format for log delivery. If this field is not specified, the original configuration will be retained.Specifically, when TaskType is
|
|
26492
|
+
"""Output format for log delivery. If this field is not specified, the original configuration will be retained. Specifically, when TaskType is cls, the value of LogFormat.FormatType can only be json, and other parameters in LogFormat will be ignored. It is recommended not to input LogFormat.
|
|
25152
26493
|
:rtype: :class:`tencentcloud.teo.v20220901.models.LogFormat`
|
|
25153
26494
|
"""
|
|
25154
26495
|
return self._LogFormat
|
|
@@ -25856,6 +27197,8 @@ It is disabled if this parameter is not specified.
|
|
|
25856
27197
|
:type ImageOptimize: :class:`tencentcloud.teo.v20220901.models.ImageOptimize`
|
|
25857
27198
|
:param _StandardDebug: Standard debugging configuration.
|
|
25858
27199
|
:type StandardDebug: :class:`tencentcloud.teo.v20220901.models.StandardDebug`
|
|
27200
|
+
:param _JITVideoProcess: Just-in-time media processing configuration. The original configuration applies if this field is not specified.
|
|
27201
|
+
:type JITVideoProcess: :class:`tencentcloud.teo.v20220901.models.JITVideoProcess`
|
|
25859
27202
|
"""
|
|
25860
27203
|
self._ZoneId = None
|
|
25861
27204
|
self._CacheConfig = None
|
|
@@ -25878,6 +27221,7 @@ It is disabled if this parameter is not specified.
|
|
|
25878
27221
|
self._Grpc = None
|
|
25879
27222
|
self._ImageOptimize = None
|
|
25880
27223
|
self._StandardDebug = None
|
|
27224
|
+
self._JITVideoProcess = None
|
|
25881
27225
|
|
|
25882
27226
|
@property
|
|
25883
27227
|
def ZoneId(self):
|
|
@@ -26129,6 +27473,17 @@ It is disabled if this parameter is not specified.
|
|
|
26129
27473
|
def StandardDebug(self, StandardDebug):
|
|
26130
27474
|
self._StandardDebug = StandardDebug
|
|
26131
27475
|
|
|
27476
|
+
@property
|
|
27477
|
+
def JITVideoProcess(self):
|
|
27478
|
+
"""Just-in-time media processing configuration. The original configuration applies if this field is not specified.
|
|
27479
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.JITVideoProcess`
|
|
27480
|
+
"""
|
|
27481
|
+
return self._JITVideoProcess
|
|
27482
|
+
|
|
27483
|
+
@JITVideoProcess.setter
|
|
27484
|
+
def JITVideoProcess(self, JITVideoProcess):
|
|
27485
|
+
self._JITVideoProcess = JITVideoProcess
|
|
27486
|
+
|
|
26132
27487
|
|
|
26133
27488
|
def _deserialize(self, params):
|
|
26134
27489
|
self._ZoneId = params.get("ZoneId")
|
|
@@ -26192,6 +27547,9 @@ It is disabled if this parameter is not specified.
|
|
|
26192
27547
|
if params.get("StandardDebug") is not None:
|
|
26193
27548
|
self._StandardDebug = StandardDebug()
|
|
26194
27549
|
self._StandardDebug._deserialize(params.get("StandardDebug"))
|
|
27550
|
+
if params.get("JITVideoProcess") is not None:
|
|
27551
|
+
self._JITVideoProcess = JITVideoProcess()
|
|
27552
|
+
self._JITVideoProcess._deserialize(params.get("JITVideoProcess"))
|
|
26195
27553
|
memeber_set = set(params.keys())
|
|
26196
27554
|
for name, value in vars(self).items():
|
|
26197
27555
|
property_name = name[1:]
|
|
@@ -26313,6 +27671,64 @@ class ModifyZoneStatusResponse(AbstractModel):
|
|
|
26313
27671
|
self._RequestId = params.get("RequestId")
|
|
26314
27672
|
|
|
26315
27673
|
|
|
27674
|
+
class MutualTLS(AbstractModel):
|
|
27675
|
+
"""
|
|
27676
|
+
|
|
27677
|
+
"""
|
|
27678
|
+
|
|
27679
|
+
def __init__(self):
|
|
27680
|
+
r"""
|
|
27681
|
+
:param _Switch:
|
|
27682
|
+
:type Switch: str
|
|
27683
|
+
:param _CertInfos: Mutual authentication certificate list.
|
|
27684
|
+
Note: When using MutualTLS as an input parameter in ModifyHostsCertificate, you only need to provide the CertId of the corresponding certificate. You can check the CertId from the [SSL Certificate List](https://console.cloud.tencent.com/ssl).
|
|
27685
|
+
:type CertInfos: list of CertificateInfo
|
|
27686
|
+
"""
|
|
27687
|
+
self._Switch = None
|
|
27688
|
+
self._CertInfos = None
|
|
27689
|
+
|
|
27690
|
+
@property
|
|
27691
|
+
def Switch(self):
|
|
27692
|
+
"""
|
|
27693
|
+
:rtype: str
|
|
27694
|
+
"""
|
|
27695
|
+
return self._Switch
|
|
27696
|
+
|
|
27697
|
+
@Switch.setter
|
|
27698
|
+
def Switch(self, Switch):
|
|
27699
|
+
self._Switch = Switch
|
|
27700
|
+
|
|
27701
|
+
@property
|
|
27702
|
+
def CertInfos(self):
|
|
27703
|
+
"""Mutual authentication certificate list.
|
|
27704
|
+
Note: When using MutualTLS as an input parameter in ModifyHostsCertificate, you only need to provide the CertId of the corresponding certificate. You can check the CertId from the [SSL Certificate List](https://console.cloud.tencent.com/ssl).
|
|
27705
|
+
:rtype: list of CertificateInfo
|
|
27706
|
+
"""
|
|
27707
|
+
return self._CertInfos
|
|
27708
|
+
|
|
27709
|
+
@CertInfos.setter
|
|
27710
|
+
def CertInfos(self, CertInfos):
|
|
27711
|
+
self._CertInfos = CertInfos
|
|
27712
|
+
|
|
27713
|
+
|
|
27714
|
+
def _deserialize(self, params):
|
|
27715
|
+
self._Switch = params.get("Switch")
|
|
27716
|
+
if params.get("CertInfos") is not None:
|
|
27717
|
+
self._CertInfos = []
|
|
27718
|
+
for item in params.get("CertInfos"):
|
|
27719
|
+
obj = CertificateInfo()
|
|
27720
|
+
obj._deserialize(item)
|
|
27721
|
+
self._CertInfos.append(obj)
|
|
27722
|
+
memeber_set = set(params.keys())
|
|
27723
|
+
for name, value in vars(self).items():
|
|
27724
|
+
property_name = name[1:]
|
|
27725
|
+
if property_name in memeber_set:
|
|
27726
|
+
memeber_set.remove(property_name)
|
|
27727
|
+
if len(memeber_set) > 0:
|
|
27728
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
27729
|
+
|
|
27730
|
+
|
|
27731
|
+
|
|
26316
27732
|
class NoCache(AbstractModel):
|
|
26317
27733
|
"""No-cache configuration
|
|
26318
27734
|
|
|
@@ -26961,6 +28377,244 @@ Note: This field may return·null, indicating that no valid values can be obtain
|
|
|
26961
28377
|
|
|
26962
28378
|
|
|
26963
28379
|
|
|
28380
|
+
class OriginGroupHealthStatus(AbstractModel):
|
|
28381
|
+
"""Origin server group health status.
|
|
28382
|
+
|
|
28383
|
+
"""
|
|
28384
|
+
|
|
28385
|
+
def __init__(self):
|
|
28386
|
+
r"""
|
|
28387
|
+
:param _OriginGroupID: Origin server group ID.
|
|
28388
|
+
:type OriginGroupID: str
|
|
28389
|
+
:param _OriginGroupName: Origin server group name.
|
|
28390
|
+
:type OriginGroupName: str
|
|
28391
|
+
:param _OriginType: Origin server group type. Valid values:
|
|
28392
|
+
<li>HTTP: HTTP-specific.</li>
|
|
28393
|
+
<li>GENERAL: general.</li>
|
|
28394
|
+
:type OriginType: str
|
|
28395
|
+
:param _Priority: Priority.
|
|
28396
|
+
:type Priority: str
|
|
28397
|
+
:param _OriginHealthStatus: Health status of each origin server in an origin server group.
|
|
28398
|
+
:type OriginHealthStatus: list of OriginHealthStatus
|
|
28399
|
+
"""
|
|
28400
|
+
self._OriginGroupID = None
|
|
28401
|
+
self._OriginGroupName = None
|
|
28402
|
+
self._OriginType = None
|
|
28403
|
+
self._Priority = None
|
|
28404
|
+
self._OriginHealthStatus = None
|
|
28405
|
+
|
|
28406
|
+
@property
|
|
28407
|
+
def OriginGroupID(self):
|
|
28408
|
+
"""Origin server group ID.
|
|
28409
|
+
:rtype: str
|
|
28410
|
+
"""
|
|
28411
|
+
return self._OriginGroupID
|
|
28412
|
+
|
|
28413
|
+
@OriginGroupID.setter
|
|
28414
|
+
def OriginGroupID(self, OriginGroupID):
|
|
28415
|
+
self._OriginGroupID = OriginGroupID
|
|
28416
|
+
|
|
28417
|
+
@property
|
|
28418
|
+
def OriginGroupName(self):
|
|
28419
|
+
"""Origin server group name.
|
|
28420
|
+
:rtype: str
|
|
28421
|
+
"""
|
|
28422
|
+
return self._OriginGroupName
|
|
28423
|
+
|
|
28424
|
+
@OriginGroupName.setter
|
|
28425
|
+
def OriginGroupName(self, OriginGroupName):
|
|
28426
|
+
self._OriginGroupName = OriginGroupName
|
|
28427
|
+
|
|
28428
|
+
@property
|
|
28429
|
+
def OriginType(self):
|
|
28430
|
+
"""Origin server group type. Valid values:
|
|
28431
|
+
<li>HTTP: HTTP-specific.</li>
|
|
28432
|
+
<li>GENERAL: general.</li>
|
|
28433
|
+
:rtype: str
|
|
28434
|
+
"""
|
|
28435
|
+
return self._OriginType
|
|
28436
|
+
|
|
28437
|
+
@OriginType.setter
|
|
28438
|
+
def OriginType(self, OriginType):
|
|
28439
|
+
self._OriginType = OriginType
|
|
28440
|
+
|
|
28441
|
+
@property
|
|
28442
|
+
def Priority(self):
|
|
28443
|
+
"""Priority.
|
|
28444
|
+
:rtype: str
|
|
28445
|
+
"""
|
|
28446
|
+
return self._Priority
|
|
28447
|
+
|
|
28448
|
+
@Priority.setter
|
|
28449
|
+
def Priority(self, Priority):
|
|
28450
|
+
self._Priority = Priority
|
|
28451
|
+
|
|
28452
|
+
@property
|
|
28453
|
+
def OriginHealthStatus(self):
|
|
28454
|
+
"""Health status of each origin server in an origin server group.
|
|
28455
|
+
:rtype: list of OriginHealthStatus
|
|
28456
|
+
"""
|
|
28457
|
+
return self._OriginHealthStatus
|
|
28458
|
+
|
|
28459
|
+
@OriginHealthStatus.setter
|
|
28460
|
+
def OriginHealthStatus(self, OriginHealthStatus):
|
|
28461
|
+
self._OriginHealthStatus = OriginHealthStatus
|
|
28462
|
+
|
|
28463
|
+
|
|
28464
|
+
def _deserialize(self, params):
|
|
28465
|
+
self._OriginGroupID = params.get("OriginGroupID")
|
|
28466
|
+
self._OriginGroupName = params.get("OriginGroupName")
|
|
28467
|
+
self._OriginType = params.get("OriginType")
|
|
28468
|
+
self._Priority = params.get("Priority")
|
|
28469
|
+
if params.get("OriginHealthStatus") is not None:
|
|
28470
|
+
self._OriginHealthStatus = []
|
|
28471
|
+
for item in params.get("OriginHealthStatus"):
|
|
28472
|
+
obj = OriginHealthStatus()
|
|
28473
|
+
obj._deserialize(item)
|
|
28474
|
+
self._OriginHealthStatus.append(obj)
|
|
28475
|
+
memeber_set = set(params.keys())
|
|
28476
|
+
for name, value in vars(self).items():
|
|
28477
|
+
property_name = name[1:]
|
|
28478
|
+
if property_name in memeber_set:
|
|
28479
|
+
memeber_set.remove(property_name)
|
|
28480
|
+
if len(memeber_set) > 0:
|
|
28481
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
28482
|
+
|
|
28483
|
+
|
|
28484
|
+
|
|
28485
|
+
class OriginGroupHealthStatusDetail(AbstractModel):
|
|
28486
|
+
"""Details of origin server group health status.
|
|
28487
|
+
|
|
28488
|
+
"""
|
|
28489
|
+
|
|
28490
|
+
def __init__(self):
|
|
28491
|
+
r"""
|
|
28492
|
+
:param _OriginGroupId: Origin server group ID.
|
|
28493
|
+
:type OriginGroupId: str
|
|
28494
|
+
:param _OriginHealthStatus: The health status of each origin server in an origin server group, which is comprehensively decided based on the results of all detection regions. If more than half of the regions determine that the origin server is unhealthy, the corresponding status is unhealthy; otherwise, it is healthy.
|
|
28495
|
+
:type OriginHealthStatus: list of OriginHealthStatus
|
|
28496
|
+
:param _CheckRegionHealthStatus: Health status of origin servers in each health check region.
|
|
28497
|
+
:type CheckRegionHealthStatus: list of CheckRegionHealthStatus
|
|
28498
|
+
"""
|
|
28499
|
+
self._OriginGroupId = None
|
|
28500
|
+
self._OriginHealthStatus = None
|
|
28501
|
+
self._CheckRegionHealthStatus = None
|
|
28502
|
+
|
|
28503
|
+
@property
|
|
28504
|
+
def OriginGroupId(self):
|
|
28505
|
+
"""Origin server group ID.
|
|
28506
|
+
:rtype: str
|
|
28507
|
+
"""
|
|
28508
|
+
return self._OriginGroupId
|
|
28509
|
+
|
|
28510
|
+
@OriginGroupId.setter
|
|
28511
|
+
def OriginGroupId(self, OriginGroupId):
|
|
28512
|
+
self._OriginGroupId = OriginGroupId
|
|
28513
|
+
|
|
28514
|
+
@property
|
|
28515
|
+
def OriginHealthStatus(self):
|
|
28516
|
+
"""The health status of each origin server in an origin server group, which is comprehensively decided based on the results of all detection regions. If more than half of the regions determine that the origin server is unhealthy, the corresponding status is unhealthy; otherwise, it is healthy.
|
|
28517
|
+
:rtype: list of OriginHealthStatus
|
|
28518
|
+
"""
|
|
28519
|
+
return self._OriginHealthStatus
|
|
28520
|
+
|
|
28521
|
+
@OriginHealthStatus.setter
|
|
28522
|
+
def OriginHealthStatus(self, OriginHealthStatus):
|
|
28523
|
+
self._OriginHealthStatus = OriginHealthStatus
|
|
28524
|
+
|
|
28525
|
+
@property
|
|
28526
|
+
def CheckRegionHealthStatus(self):
|
|
28527
|
+
"""Health status of origin servers in each health check region.
|
|
28528
|
+
:rtype: list of CheckRegionHealthStatus
|
|
28529
|
+
"""
|
|
28530
|
+
return self._CheckRegionHealthStatus
|
|
28531
|
+
|
|
28532
|
+
@CheckRegionHealthStatus.setter
|
|
28533
|
+
def CheckRegionHealthStatus(self, CheckRegionHealthStatus):
|
|
28534
|
+
self._CheckRegionHealthStatus = CheckRegionHealthStatus
|
|
28535
|
+
|
|
28536
|
+
|
|
28537
|
+
def _deserialize(self, params):
|
|
28538
|
+
self._OriginGroupId = params.get("OriginGroupId")
|
|
28539
|
+
if params.get("OriginHealthStatus") is not None:
|
|
28540
|
+
self._OriginHealthStatus = []
|
|
28541
|
+
for item in params.get("OriginHealthStatus"):
|
|
28542
|
+
obj = OriginHealthStatus()
|
|
28543
|
+
obj._deserialize(item)
|
|
28544
|
+
self._OriginHealthStatus.append(obj)
|
|
28545
|
+
if params.get("CheckRegionHealthStatus") is not None:
|
|
28546
|
+
self._CheckRegionHealthStatus = []
|
|
28547
|
+
for item in params.get("CheckRegionHealthStatus"):
|
|
28548
|
+
obj = CheckRegionHealthStatus()
|
|
28549
|
+
obj._deserialize(item)
|
|
28550
|
+
self._CheckRegionHealthStatus.append(obj)
|
|
28551
|
+
memeber_set = set(params.keys())
|
|
28552
|
+
for name, value in vars(self).items():
|
|
28553
|
+
property_name = name[1:]
|
|
28554
|
+
if property_name in memeber_set:
|
|
28555
|
+
memeber_set.remove(property_name)
|
|
28556
|
+
if len(memeber_set) > 0:
|
|
28557
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
28558
|
+
|
|
28559
|
+
|
|
28560
|
+
|
|
28561
|
+
class OriginGroupInLoadBalancer(AbstractModel):
|
|
28562
|
+
"""The origin server groups that need to be bound in a LoadBalancer and their priorities.
|
|
28563
|
+
|
|
28564
|
+
"""
|
|
28565
|
+
|
|
28566
|
+
def __init__(self):
|
|
28567
|
+
r"""
|
|
28568
|
+
:param _Priority: Priority, in the format of "priority_" + "number". The highest priority is "priority_1". Reference values:
|
|
28569
|
+
<li>priority_1: first priority.</li>
|
|
28570
|
+
<li>priority_2: second priority.</li>
|
|
28571
|
+
<li>priority_3: third priority.</li> You can increase numbers for other priorities, up to "priority_10".
|
|
28572
|
+
:type Priority: str
|
|
28573
|
+
:param _OriginGroupId: Origin server group ID.
|
|
28574
|
+
:type OriginGroupId: str
|
|
28575
|
+
"""
|
|
28576
|
+
self._Priority = None
|
|
28577
|
+
self._OriginGroupId = None
|
|
28578
|
+
|
|
28579
|
+
@property
|
|
28580
|
+
def Priority(self):
|
|
28581
|
+
"""Priority, in the format of "priority_" + "number". The highest priority is "priority_1". Reference values:
|
|
28582
|
+
<li>priority_1: first priority.</li>
|
|
28583
|
+
<li>priority_2: second priority.</li>
|
|
28584
|
+
<li>priority_3: third priority.</li> You can increase numbers for other priorities, up to "priority_10".
|
|
28585
|
+
:rtype: str
|
|
28586
|
+
"""
|
|
28587
|
+
return self._Priority
|
|
28588
|
+
|
|
28589
|
+
@Priority.setter
|
|
28590
|
+
def Priority(self, Priority):
|
|
28591
|
+
self._Priority = Priority
|
|
28592
|
+
|
|
28593
|
+
@property
|
|
28594
|
+
def OriginGroupId(self):
|
|
28595
|
+
"""Origin server group ID.
|
|
28596
|
+
:rtype: str
|
|
28597
|
+
"""
|
|
28598
|
+
return self._OriginGroupId
|
|
28599
|
+
|
|
28600
|
+
@OriginGroupId.setter
|
|
28601
|
+
def OriginGroupId(self, OriginGroupId):
|
|
28602
|
+
self._OriginGroupId = OriginGroupId
|
|
28603
|
+
|
|
28604
|
+
|
|
28605
|
+
def _deserialize(self, params):
|
|
28606
|
+
self._Priority = params.get("Priority")
|
|
28607
|
+
self._OriginGroupId = params.get("OriginGroupId")
|
|
28608
|
+
memeber_set = set(params.keys())
|
|
28609
|
+
for name, value in vars(self).items():
|
|
28610
|
+
property_name = name[1:]
|
|
28611
|
+
if property_name in memeber_set:
|
|
28612
|
+
memeber_set.remove(property_name)
|
|
28613
|
+
if len(memeber_set) > 0:
|
|
28614
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
28615
|
+
|
|
28616
|
+
|
|
28617
|
+
|
|
26964
28618
|
class OriginGroupReference(AbstractModel):
|
|
26965
28619
|
"""Services referencing this origin group
|
|
26966
28620
|
|
|
@@ -27035,6 +28689,65 @@ class OriginGroupReference(AbstractModel):
|
|
|
27035
28689
|
|
|
27036
28690
|
|
|
27037
28691
|
|
|
28692
|
+
class OriginHealthStatus(AbstractModel):
|
|
28693
|
+
"""Health status of origin servers in an origin server group.
|
|
28694
|
+
|
|
28695
|
+
"""
|
|
28696
|
+
|
|
28697
|
+
def __init__(self):
|
|
28698
|
+
r"""
|
|
28699
|
+
:param _Origin: Origin server.
|
|
28700
|
+
:type Origin: str
|
|
28701
|
+
:param _Healthy: Origin server health status. Valid values:
|
|
28702
|
+
<li>Healthy: healthy.</li>
|
|
28703
|
+
<li>Unhealthy: unhealthy.</li>
|
|
28704
|
+
<li>Undetected: no data detected.</li>
|
|
28705
|
+
|
|
28706
|
+
:type Healthy: str
|
|
28707
|
+
"""
|
|
28708
|
+
self._Origin = None
|
|
28709
|
+
self._Healthy = None
|
|
28710
|
+
|
|
28711
|
+
@property
|
|
28712
|
+
def Origin(self):
|
|
28713
|
+
"""Origin server.
|
|
28714
|
+
:rtype: str
|
|
28715
|
+
"""
|
|
28716
|
+
return self._Origin
|
|
28717
|
+
|
|
28718
|
+
@Origin.setter
|
|
28719
|
+
def Origin(self, Origin):
|
|
28720
|
+
self._Origin = Origin
|
|
28721
|
+
|
|
28722
|
+
@property
|
|
28723
|
+
def Healthy(self):
|
|
28724
|
+
"""Origin server health status. Valid values:
|
|
28725
|
+
<li>Healthy: healthy.</li>
|
|
28726
|
+
<li>Unhealthy: unhealthy.</li>
|
|
28727
|
+
<li>Undetected: no data detected.</li>
|
|
28728
|
+
|
|
28729
|
+
:rtype: str
|
|
28730
|
+
"""
|
|
28731
|
+
return self._Healthy
|
|
28732
|
+
|
|
28733
|
+
@Healthy.setter
|
|
28734
|
+
def Healthy(self, Healthy):
|
|
28735
|
+
self._Healthy = Healthy
|
|
28736
|
+
|
|
28737
|
+
|
|
28738
|
+
def _deserialize(self, params):
|
|
28739
|
+
self._Origin = params.get("Origin")
|
|
28740
|
+
self._Healthy = params.get("Healthy")
|
|
28741
|
+
memeber_set = set(params.keys())
|
|
28742
|
+
for name, value in vars(self).items():
|
|
28743
|
+
property_name = name[1:]
|
|
28744
|
+
if property_name in memeber_set:
|
|
28745
|
+
memeber_set.remove(property_name)
|
|
28746
|
+
if len(memeber_set) > 0:
|
|
28747
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
28748
|
+
|
|
28749
|
+
|
|
28750
|
+
|
|
27038
28751
|
class OriginInfo(AbstractModel):
|
|
27039
28752
|
"""Details of the origin.
|
|
27040
28753
|
|
|
@@ -31472,8 +33185,9 @@ class ServerCertInfo(AbstractModel):
|
|
|
31472
33185
|
|
|
31473
33186
|
def __init__(self):
|
|
31474
33187
|
r"""
|
|
31475
|
-
:param _CertId: ID
|
|
31476
|
-
|
|
33188
|
+
:param _CertId: Server certificate ID, which originates from the SSL side. You can check the CertId from the [SSL Certificate List](https://console.cloud.tencent.com/ssl).
|
|
33189
|
+
|
|
33190
|
+
Note: This field may return null, which indicates a failure to obtain a valid value.
|
|
31477
33191
|
:type CertId: str
|
|
31478
33192
|
:param _Alias: Alias of the certificate.
|
|
31479
33193
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
@@ -31507,8 +33221,9 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
31507
33221
|
|
|
31508
33222
|
@property
|
|
31509
33223
|
def CertId(self):
|
|
31510
|
-
"""ID
|
|
31511
|
-
|
|
33224
|
+
"""Server certificate ID, which originates from the SSL side. You can check the CertId from the [SSL Certificate List](https://console.cloud.tencent.com/ssl).
|
|
33225
|
+
|
|
33226
|
+
Note: This field may return null, which indicates a failure to obtain a valid value.
|
|
31512
33227
|
:rtype: str
|
|
31513
33228
|
"""
|
|
31514
33229
|
return self._CertId
|
|
@@ -34191,6 +35906,9 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
34191
35906
|
:param _StandardDebug: Standard debugging configuration.
|
|
34192
35907
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
34193
35908
|
:type StandardDebug: :class:`tencentcloud.teo.v20220901.models.StandardDebug`
|
|
35909
|
+
:param _JITVideoProcess: Just-in-time media processing configuration.
|
|
35910
|
+
Note: This field may return null, which indicates a failure to obtain a valid value.
|
|
35911
|
+
:type JITVideoProcess: :class:`tencentcloud.teo.v20220901.models.JITVideoProcess`
|
|
34194
35912
|
"""
|
|
34195
35913
|
self._ZoneName = None
|
|
34196
35914
|
self._Area = None
|
|
@@ -34215,6 +35933,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
34215
35933
|
self._ImageOptimize = None
|
|
34216
35934
|
self._AccelerateMainland = None
|
|
34217
35935
|
self._StandardDebug = None
|
|
35936
|
+
self._JITVideoProcess = None
|
|
34218
35937
|
|
|
34219
35938
|
@property
|
|
34220
35939
|
def ZoneName(self):
|
|
@@ -34492,6 +36211,18 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
34492
36211
|
def StandardDebug(self, StandardDebug):
|
|
34493
36212
|
self._StandardDebug = StandardDebug
|
|
34494
36213
|
|
|
36214
|
+
@property
|
|
36215
|
+
def JITVideoProcess(self):
|
|
36216
|
+
"""Just-in-time media processing configuration.
|
|
36217
|
+
Note: This field may return null, which indicates a failure to obtain a valid value.
|
|
36218
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.JITVideoProcess`
|
|
36219
|
+
"""
|
|
36220
|
+
return self._JITVideoProcess
|
|
36221
|
+
|
|
36222
|
+
@JITVideoProcess.setter
|
|
36223
|
+
def JITVideoProcess(self, JITVideoProcess):
|
|
36224
|
+
self._JITVideoProcess = JITVideoProcess
|
|
36225
|
+
|
|
34495
36226
|
|
|
34496
36227
|
def _deserialize(self, params):
|
|
34497
36228
|
self._ZoneName = params.get("ZoneName")
|
|
@@ -34559,6 +36290,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
34559
36290
|
if params.get("StandardDebug") is not None:
|
|
34560
36291
|
self._StandardDebug = StandardDebug()
|
|
34561
36292
|
self._StandardDebug._deserialize(params.get("StandardDebug"))
|
|
36293
|
+
if params.get("JITVideoProcess") is not None:
|
|
36294
|
+
self._JITVideoProcess = JITVideoProcess()
|
|
36295
|
+
self._JITVideoProcess._deserialize(params.get("JITVideoProcess"))
|
|
34562
36296
|
memeber_set = set(params.keys())
|
|
34563
36297
|
for name, value in vars(self).items():
|
|
34564
36298
|
property_name = name[1:]
|