tencentcloud-sdk-python-intl-en 3.0.1087__py2.py3-none-any.whl → 3.0.1088__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.
@@ -382,12 +382,18 @@ class AccelerationDomainCertificate(AbstractModel):
382
382
  r"""
383
383
  :param _Mode: Certificate configuration mode. Values: <li>`disable`: Do not configure the certificate;</li><li>`eofreecert`: Use a free certificate provided by EdgeOne; </li><li>`sslcert`: Configure an SSL certificate.</li>
384
384
  :type Mode: str
385
- :param _List: List of certificates
386
- Note: This field may return·null, indicating that no valid values can be obtained.
385
+ :param _List: List of server certificates. The relevant certificates are deployed on the entrance side of the EO.
386
+ Note: This field may return null, which indicates a failure to obtain a valid value.
387
387
  :type List: list of CertificateInfo
388
+ :param _ClientCertInfo: In the edge mutual authentication scenario, this field represents the client's CA certificate, which is deployed inside the EO node and used for EO node authentication of the client certificate.
389
+ :type ClientCertInfo: :class:`tencentcloud.teo.v20220901.models.MutualTLS`
390
+ :param _UpstreamCertInfo: The certificate carried during EO node origin-pull is used when the origin server enables the mutual authentication handshake to validate the client certificate, ensuring that the request originates from a trusted EO node.
391
+ :type UpstreamCertInfo: :class:`tencentcloud.teo.v20220901.models.UpstreamCertInfo`
388
392
  """
389
393
  self._Mode = None
390
394
  self._List = None
395
+ self._ClientCertInfo = None
396
+ self._UpstreamCertInfo = None
391
397
 
392
398
  @property
393
399
  def Mode(self):
@@ -402,8 +408,8 @@ Note: This field may return·null, indicating that no valid values can be obtain
402
408
 
403
409
  @property
404
410
  def List(self):
405
- """List of certificates
406
- Note: This field may return·null, indicating that no valid values can be obtained.
411
+ """List of server certificates. The relevant certificates are deployed on the entrance side of the EO.
412
+ Note: This field may return null, which indicates a failure to obtain a valid value.
407
413
  :rtype: list of CertificateInfo
408
414
  """
409
415
  return self._List
@@ -412,6 +418,28 @@ Note: This field may return·null, indicating that no valid values can be obtain
412
418
  def List(self, List):
413
419
  self._List = List
414
420
 
421
+ @property
422
+ def ClientCertInfo(self):
423
+ """In the edge mutual authentication scenario, this field represents the client's CA certificate, which is deployed inside the EO node and used for EO node authentication of the client certificate.
424
+ :rtype: :class:`tencentcloud.teo.v20220901.models.MutualTLS`
425
+ """
426
+ return self._ClientCertInfo
427
+
428
+ @ClientCertInfo.setter
429
+ def ClientCertInfo(self, ClientCertInfo):
430
+ self._ClientCertInfo = ClientCertInfo
431
+
432
+ @property
433
+ def UpstreamCertInfo(self):
434
+ """The certificate carried during EO node origin-pull is used when the origin server enables the mutual authentication handshake to validate the client certificate, ensuring that the request originates from a trusted EO node.
435
+ :rtype: :class:`tencentcloud.teo.v20220901.models.UpstreamCertInfo`
436
+ """
437
+ return self._UpstreamCertInfo
438
+
439
+ @UpstreamCertInfo.setter
440
+ def UpstreamCertInfo(self, UpstreamCertInfo):
441
+ self._UpstreamCertInfo = UpstreamCertInfo
442
+
415
443
 
416
444
  def _deserialize(self, params):
417
445
  self._Mode = params.get("Mode")
@@ -421,6 +449,12 @@ Note: This field may return·null, indicating that no valid values can be obtain
421
449
  obj = CertificateInfo()
422
450
  obj._deserialize(item)
423
451
  self._List.append(obj)
452
+ if params.get("ClientCertInfo") is not None:
453
+ self._ClientCertInfo = MutualTLS()
454
+ self._ClientCertInfo._deserialize(params.get("ClientCertInfo"))
455
+ if params.get("UpstreamCertInfo") is not None:
456
+ self._UpstreamCertInfo = UpstreamCertInfo()
457
+ self._UpstreamCertInfo._deserialize(params.get("UpstreamCertInfo"))
424
458
  memeber_set = set(params.keys())
425
459
  for name, value in vars(self).items():
426
460
  property_name = name[1:]
@@ -14444,7 +14478,7 @@ class DescribeL4ProxyRulesRequest(AbstractModel):
14444
14478
  :type Offset: int
14445
14479
  :param _Limit: Paginated query limit. Default value: 20. Maximum value: 1000.
14446
14480
  :type Limit: int
14447
- :param _Filters: Filter criteria. The upper limit for Filters.Values is 20. All rule information under the current Layer 4 instance will be returned if left empty. The detailed filter criteria are as follows: <li>rule-tag: Filters rules under the Layer 4 proxy instance according to rule tag.</li>
14481
+ :param _Filters: Filter criteria. The upper limit of Filters.Values is 20. If it is not filled in, all rule information under the current layer-4 instance will be returned. The detailed filter criteria are as follows: <li>rule-id: filter as per the rules under the layer-4 proxy instance by Rule ID. Rule ID is in the form: rule-31vv7qig0vjy;</li> <li>rule-tag: filter as per the rules under the layer-4 proxy instance by Rule Tag.</li>
14448
14482
  :type Filters: list of Filter
14449
14483
  """
14450
14484
  self._ZoneId = None
@@ -14499,7 +14533,7 @@ class DescribeL4ProxyRulesRequest(AbstractModel):
14499
14533
 
14500
14534
  @property
14501
14535
  def Filters(self):
14502
- """Filter criteria. The upper limit for Filters.Values is 20. All rule information under the current Layer 4 instance will be returned if left empty. The detailed filter criteria are as follows: <li>rule-tag: Filters rules under the Layer 4 proxy instance according to rule tag.</li>
14536
+ """Filter criteria. The upper limit of Filters.Values is 20. If it is not filled in, all rule information under the current layer-4 instance will be returned. The detailed filter criteria are as follows: <li>rule-id: filter as per the rules under the layer-4 proxy instance by Rule ID. Rule ID is in the form: rule-31vv7qig0vjy;</li> <li>rule-tag: filter as per the rules under the layer-4 proxy instance by Rule Tag.</li>
14503
14537
  :rtype: list of Filter
14504
14538
  """
14505
14539
  return self._Filters
@@ -25375,7 +25409,7 @@ class ModifyHostsCertificateRequest(AbstractModel):
25375
25409
  <li>`apply`: Managed by EdgeOne</li>
25376
25410
  Default value: `none`.
25377
25411
  :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.
25412
+ :param _ClientCertInfo: In the mutual authentication scenario, this field represents the client's CA certificate, which is deployed inside the EO node and used for the client to authenticate the EO node. By default, it is disabled. If it is left blank, it indicates retaining the original configuration.
25379
25413
  :type ClientCertInfo: :class:`tencentcloud.teo.v20220901.models.MutualTLS`
25380
25414
  """
25381
25415
  self._ZoneId = None
@@ -25452,7 +25486,7 @@ Default value: `none`.
25452
25486
 
25453
25487
  @property
25454
25488
  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.
25489
+ """In the mutual authentication scenario, this field represents the client's CA certificate, which is deployed inside the EO node and used for the client to authenticate the EO node. By default, it is disabled. If it is left blank, it indicates retaining the original configuration.
25456
25490
  :rtype: :class:`tencentcloud.teo.v20220901.models.MutualTLS`
25457
25491
  """
25458
25492
  return self._ClientCertInfo
@@ -29244,13 +29278,13 @@ class OwnershipVerification(AbstractModel):
29244
29278
 
29245
29279
  def __init__(self):
29246
29280
  r"""
29247
- :param _DnsVerification: u200cInformation required for authentication using DNS resolution. It's applicable to sites connected via CNAME. See [Ownership Verification](https://intl.cloud.tencent.com/document/product/1552/70789?from_cn_redirect=1#7af6ecf8-afca-4e35-8811-b5797ed1bde5).
29248
-
29249
- Note: This field may return·null, indicating that no valid values can be obtained.
29281
+ :param _DnsVerification: CNAME, when there is no domain name access, the information required for DNS resolution verification is used. For details, refer to [Site/Domain Ownership Verification
29282
+ ](https://intl.cloud.tencent.com/document/product/1552/70789?from_cn_redirect=1#7af6ecf8-afca-4e35-8811-b5797ed1bde5).
29283
+ Note: This field may return null, which indicates a failure to obtain a valid value.
29250
29284
  :type DnsVerification: :class:`tencentcloud.teo.v20220901.models.DnsVerification`
29251
- :param _FileVerification: u200cInformation required for verifying via a file. It's applicable to sites connected via CNAMEs. See [Ownership Verification](https://intl.cloud.tencent.com/document/product/1552/70789?from_cn_redirect=1#7af6ecf8-afca-4e35-8811-b5797ed1bde5).
29252
-
29253
- Note: This field may return·null, indicating that no valid values can be obtained.
29285
+ :param _FileVerification: CNAME, when there is no domain name access, the information required for file verification is used. For details, refer to [Site/Domain Ownership Verification
29286
+ ](https://intl.cloud.tencent.com/document/product/1552/70789?from_cn_redirect=1#7af6ecf8-afca-4e35-8811-b5797ed1bde5).
29287
+ Note: This field may return null, which indicates a failure to obtain a valid value.
29254
29288
  :type FileVerification: :class:`tencentcloud.teo.v20220901.models.FileVerification`
29255
29289
  :param _NsVerification: u200cInformation required for switching DNS servers. It's applicable to sites connected via NSs. For details, see [Modifying DNS Server](https://intl.cloud.tencent.com/document/product/1552/90452?from_cn_redirect=1).
29256
29290
  Note: This field may return·null, indicating that no valid values can be obtained.
@@ -29262,9 +29296,9 @@ Note: This field may return·null, indicating that no valid values can be obtain
29262
29296
 
29263
29297
  @property
29264
29298
  def DnsVerification(self):
29265
- """u200cInformation required for authentication using DNS resolution. It's applicable to sites connected via CNAME. See [Ownership Verification](https://intl.cloud.tencent.com/document/product/1552/70789?from_cn_redirect=1#7af6ecf8-afca-4e35-8811-b5797ed1bde5).
29266
-
29267
- Note: This field may return·null, indicating that no valid values can be obtained.
29299
+ """CNAME, when there is no domain name access, the information required for DNS resolution verification is used. For details, refer to [Site/Domain Ownership Verification
29300
+ ](https://intl.cloud.tencent.com/document/product/1552/70789?from_cn_redirect=1#7af6ecf8-afca-4e35-8811-b5797ed1bde5).
29301
+ Note: This field may return null, which indicates a failure to obtain a valid value.
29268
29302
  :rtype: :class:`tencentcloud.teo.v20220901.models.DnsVerification`
29269
29303
  """
29270
29304
  return self._DnsVerification
@@ -29275,9 +29309,9 @@ Note: This field may return·null, indicating that no valid values can be obtain
29275
29309
 
29276
29310
  @property
29277
29311
  def FileVerification(self):
29278
- """u200cInformation required for verifying via a file. It's applicable to sites connected via CNAMEs. See [Ownership Verification](https://intl.cloud.tencent.com/document/product/1552/70789?from_cn_redirect=1#7af6ecf8-afca-4e35-8811-b5797ed1bde5).
29279
-
29280
- Note: This field may return·null, indicating that no valid values can be obtained.
29312
+ """CNAME, when there is no domain name access, the information required for file verification is used. For details, refer to [Site/Domain Ownership Verification
29313
+ ](https://intl.cloud.tencent.com/document/product/1552/70789?from_cn_redirect=1#7af6ecf8-afca-4e35-8811-b5797ed1bde5).
29314
+ Note: This field may return null, which indicates a failure to obtain a valid value.
29281
29315
  :rtype: :class:`tencentcloud.teo.v20220901.models.FileVerification`
29282
29316
  """
29283
29317
  return self._FileVerification
@@ -34885,6 +34919,44 @@ class UpgradePlanResponse(AbstractModel):
34885
34919
  self._RequestId = params.get("RequestId")
34886
34920
 
34887
34921
 
34922
+ class UpstreamCertInfo(AbstractModel):
34923
+ """The certificate carried during EO node origin-pull is used when the origin server enables the mutual authentication handshake to validate the client certificate, ensuring that the request originates from a trusted EO node.
34924
+
34925
+ """
34926
+
34927
+ def __init__(self):
34928
+ r"""
34929
+ :param _UpstreamMutualTLS: In the origin-pull mutual authentication scenario, this field represents the certificate (including the public and private keys) carried during EO node origin-pull, which is deployed in the EO node for the origin server to authenticate the EO node. When used as an input parameter, it is left blank to indicate retaining the original configuration.
34930
+ :type UpstreamMutualTLS: :class:`tencentcloud.teo.v20220901.models.MutualTLS`
34931
+ """
34932
+ self._UpstreamMutualTLS = None
34933
+
34934
+ @property
34935
+ def UpstreamMutualTLS(self):
34936
+ """In the origin-pull mutual authentication scenario, this field represents the certificate (including the public and private keys) carried during EO node origin-pull, which is deployed in the EO node for the origin server to authenticate the EO node. When used as an input parameter, it is left blank to indicate retaining the original configuration.
34937
+ :rtype: :class:`tencentcloud.teo.v20220901.models.MutualTLS`
34938
+ """
34939
+ return self._UpstreamMutualTLS
34940
+
34941
+ @UpstreamMutualTLS.setter
34942
+ def UpstreamMutualTLS(self, UpstreamMutualTLS):
34943
+ self._UpstreamMutualTLS = UpstreamMutualTLS
34944
+
34945
+
34946
+ def _deserialize(self, params):
34947
+ if params.get("UpstreamMutualTLS") is not None:
34948
+ self._UpstreamMutualTLS = MutualTLS()
34949
+ self._UpstreamMutualTLS._deserialize(params.get("UpstreamMutualTLS"))
34950
+ memeber_set = set(params.keys())
34951
+ for name, value in vars(self).items():
34952
+ property_name = name[1:]
34953
+ if property_name in memeber_set:
34954
+ memeber_set.remove(property_name)
34955
+ if len(memeber_set) > 0:
34956
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
34957
+
34958
+
34959
+
34888
34960
  class UpstreamHttp2(AbstractModel):
34889
34961
  """HTTP2 origin-pull configuration
34890
34962
 
File without changes
File without changes
@@ -0,0 +1,126 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+
17
+ # CAM signature/authentication error.
18
+ AUTHFAILURE = 'AuthFailure'
19
+
20
+ # Failed to detect human body keypoints.
21
+ FAILEDOPERATION_BODYJOINTSFAIL = 'FailedOperation.BodyJointsFail'
22
+
23
+ # Driving failed.
24
+ FAILEDOPERATION_DRIVERFAILED = 'FailedOperation.DriverFailed'
25
+
26
+ # The face box is too small and cannot be used for face detection.
27
+ FAILEDOPERATION_FACESIZETOOSMALL = 'FailedOperation.FaceSizeTooSmall'
28
+
29
+ # The human body in the image is obscured or incomplete. Please upload another image.
30
+ FAILEDOPERATION_IMAGEBODYJOINSUNDETECTED = 'FailedOperation.ImageBodyJoinsUndetected'
31
+
32
+ # The height of the body (from head to ankle) in the input image accounts for less than half of the image height.
33
+ FAILEDOPERATION_IMAGEBODYSMALL = 'FailedOperation.ImageBodySmall'
34
+
35
+ # No human body is detected in the input image.
36
+ FAILEDOPERATION_IMAGECHECKNOBODY = 'FailedOperation.ImageCheckNoBody'
37
+
38
+ # Image decoding failed.
39
+ FAILEDOPERATION_IMAGEDECODEFAILED = 'FailedOperation.ImageDecodeFailed'
40
+
41
+ # Failed to detect the face in the input image.
42
+ FAILEDOPERATION_IMAGEDETECTFACEFAILED = 'FailedOperation.ImageDetectFaceFailed'
43
+
44
+ # Face detection failed.
45
+ FAILEDOPERATION_IMAGEFACEDETECTFAILED = 'FailedOperation.ImageFaceDetectFailed'
46
+
47
+ # Multiple human faces are detected in the input image.
48
+ FAILEDOPERATION_IMAGEMANYPEOPLE = 'FailedOperation.ImageManyPeople'
49
+
50
+ # The image file is not supported.
51
+ FAILEDOPERATION_IMAGENOTSUPPORTED = 'FailedOperation.ImageNotSupported'
52
+
53
+ # The aspect ratio of the input image is not within the range of 1:1.2 to 1:2.
54
+ FAILEDOPERATION_IMAGERADIOEXCCEED = 'FailedOperation.ImageRadioExcceed'
55
+
56
+ # The image aspect ratio exceeds the limit.
57
+ FAILEDOPERATION_IMAGERATIOEXCCEED = 'FailedOperation.ImageRatioExcceed'
58
+
59
+ # The image resolution is too high.
60
+ FAILEDOPERATION_IMAGERESOLUTIONEXCEED = 'FailedOperation.ImageResolutionExceed'
61
+
62
+ # The size of the image after base64 encoding exceeds the upper limit.
63
+ FAILEDOPERATION_IMAGESIZEEXCEED = 'FailedOperation.ImageSizeExceed'
64
+
65
+ # Internal service error. Please try again.
66
+ FAILEDOPERATION_INNERERROR = 'FailedOperation.InnerError'
67
+
68
+ # The task does not exist.
69
+ FAILEDOPERATION_JOBNOTFOUND = 'FailedOperation.JobNotFound'
70
+
71
+ # Too many tasks are in queue. Please try again later.
72
+ FAILEDOPERATION_JOBQUEUEFULL = 'FailedOperation.JobQueueFull'
73
+
74
+ # The core joints are not detected.
75
+ FAILEDOPERATION_KEYPOINTUNDETECTED = 'FailedOperation.KeyPointUndetected'
76
+
77
+ # Failed to pass the content review.
78
+ FAILEDOPERATION_MODERATIONFAILED = 'FailedOperation.ModerationFailed'
79
+
80
+ # No face is detected in the first frame of the template video.
81
+ FAILEDOPERATION_TEMPLATEFIRSTFRAMENOTDETECTFACE = 'FailedOperation.TemplateFirstFrameNotDetectFace'
82
+
83
+ # The template video contains frames with no human body detected.
84
+ FAILEDOPERATION_TEMPLATENOTDETECTBODY = 'FailedOperation.TemplateNotDetectBody'
85
+
86
+ # Internal error.
87
+ INTERNALERROR = 'InternalError'
88
+
89
+ # Parameter error.
90
+ INVALIDPARAMETER = 'InvalidParameter'
91
+
92
+ # The template does not exist.
93
+ INVALIDPARAMETER_TEMPLATENOTEXISTED = 'InvalidParameter.TemplateNotExisted'
94
+
95
+ # Invalid parameter value.
96
+ INVALIDPARAMETERVALUE = 'InvalidParameterValue'
97
+
98
+ # The resolution is not supported.
99
+ INVALIDPARAMETERVALUE_INVALIDVIDEORESOLUTION = 'InvalidParameterValue.InvalidVideoResolution'
100
+
101
+ # The image contains no human face.
102
+ INVALIDPARAMETERVALUE_NOFACEINPHOTO = 'InvalidParameterValue.NoFaceInPhoto'
103
+
104
+ # Parameter field or value is invalid.
105
+ INVALIDPARAMETERVALUE_PARAMETERVALUEERROR = 'InvalidParameterValue.ParameterValueError'
106
+
107
+ # The quota limit is exceeded.
108
+ LIMITEXCEEDED = 'LimitExceeded'
109
+
110
+ # Operation denied.
111
+ OPERATIONDENIED = 'OperationDenied'
112
+
113
+ # Too many and frequent requests.
114
+ REQUESTLIMITEXCEEDED = 'RequestLimitExceeded'
115
+
116
+ # The number of submitted tasks exceeds the maximum number of concurrent tasks.
117
+ REQUESTLIMITEXCEEDED_JOBNUMEXCEED = 'RequestLimitExceeded.JobNumExceed'
118
+
119
+ # The resource does not exist.
120
+ RESOURCENOTFOUND = 'ResourceNotFound'
121
+
122
+ # Unauthorized operation.
123
+ UNAUTHORIZEDOPERATION = 'UnauthorizedOperation'
124
+
125
+ # The operation is not supported.
126
+ UNSUPPORTEDOPERATION = 'UnsupportedOperation'