tencentcloud-sdk-python-teo 3.0.987__tar.gz → 3.0.988__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tencentcloud-sdk-python-teo-3.0.987 → tencentcloud-sdk-python-teo-3.0.988}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-teo-3.0.987 → tencentcloud-sdk-python-teo-3.0.988}/setup.py +1 -1
- {tencentcloud-sdk-python-teo-3.0.987 → tencentcloud-sdk-python-teo-3.0.988}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-teo-3.0.987 → tencentcloud-sdk-python-teo-3.0.988}/tencentcloud/teo/v20220901/errorcodes.py +12 -0
- {tencentcloud-sdk-python-teo-3.0.987 → tencentcloud-sdk-python-teo-3.0.988}/tencentcloud/teo/v20220901/models.py +477 -152
- {tencentcloud-sdk-python-teo-3.0.987 → tencentcloud-sdk-python-teo-3.0.988}/tencentcloud/teo/v20220901/teo_client.py +11 -5
- {tencentcloud-sdk-python-teo-3.0.987 → tencentcloud-sdk-python-teo-3.0.988}/tencentcloud_sdk_python_teo.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-teo-3.0.988/tencentcloud_sdk_python_teo.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-teo-3.0.987/tencentcloud_sdk_python_teo.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-teo-3.0.987 → tencentcloud-sdk-python-teo-3.0.988}/README.rst +0 -0
- {tencentcloud-sdk-python-teo-3.0.987 → tencentcloud-sdk-python-teo-3.0.988}/setup.cfg +0 -0
- {tencentcloud-sdk-python-teo-3.0.987 → tencentcloud-sdk-python-teo-3.0.988}/tencentcloud/teo/__init__.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.987 → tencentcloud-sdk-python-teo-3.0.988}/tencentcloud/teo/v20220106/__init__.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.987 → tencentcloud-sdk-python-teo-3.0.988}/tencentcloud/teo/v20220106/errorcodes.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.987 → tencentcloud-sdk-python-teo-3.0.988}/tencentcloud/teo/v20220106/models.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.987 → tencentcloud-sdk-python-teo-3.0.988}/tencentcloud/teo/v20220106/teo_client.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.987 → tencentcloud-sdk-python-teo-3.0.988}/tencentcloud/teo/v20220901/__init__.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.987 → tencentcloud-sdk-python-teo-3.0.988}/tencentcloud_sdk_python_teo.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-teo-3.0.987 → tencentcloud-sdk-python-teo-3.0.988}/tencentcloud_sdk_python_teo.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-teo-3.0.987 → tencentcloud-sdk-python-teo-3.0.988}/tencentcloud_sdk_python_teo.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-teo',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.988"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Teo SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -20,6 +20,9 @@ DRYRUNOPERATION = 'DryRunOperation'
|
|
|
20
20
|
# 操作失败。
|
|
21
21
|
FAILEDOPERATION = 'FailedOperation'
|
|
22
22
|
|
|
23
|
+
# 证书已过期,暂不支持下发过期证书。
|
|
24
|
+
FAILEDOPERATION_CERTIFICATEHASEXPIRED = 'FailedOperation.CertificateHasExpired'
|
|
25
|
+
|
|
23
26
|
# 证书不存在。
|
|
24
27
|
FAILEDOPERATION_CERTIFICATENOTFOUND = 'FailedOperation.CertificateNotFound'
|
|
25
28
|
|
|
@@ -137,6 +140,9 @@ INVALIDPARAMETER_ERRINVALIDACTIONPARAMVALUE = 'InvalidParameter.ErrInvalidAction
|
|
|
137
140
|
# 非法操作-非法类型。
|
|
138
141
|
INVALIDPARAMETER_ERRINVALIDACTIONTYPE = 'InvalidParameter.ErrInvalidActionType'
|
|
139
142
|
|
|
143
|
+
# 非法条件。
|
|
144
|
+
INVALIDPARAMETER_ERRINVALIDCONDITION = 'InvalidParameter.ErrInvalidCondition'
|
|
145
|
+
|
|
140
146
|
# 非法条件-非法忽略大小写。
|
|
141
147
|
INVALIDPARAMETER_ERRINVALIDCONDITIONIGNORECASE = 'InvalidParameter.ErrInvalidConditionIgnoreCase'
|
|
142
148
|
|
|
@@ -482,6 +488,9 @@ LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = 'LimitExceeded.QueryTimeLimitExceeded'
|
|
|
482
488
|
# 单位时间内接口请求频率达到限制。
|
|
483
489
|
LIMITEXCEEDED_RATELIMITEXCEEDED = 'LimitExceeded.RateLimitExceeded'
|
|
484
490
|
|
|
491
|
+
# 套餐可绑定的站点数量超过配额。
|
|
492
|
+
LIMITEXCEEDED_ZONEBINDPLAN = 'LimitExceeded.ZoneBindPlan'
|
|
493
|
+
|
|
485
494
|
# 操作被拒绝。
|
|
486
495
|
OPERATIONDENIED = 'OperationDenied'
|
|
487
496
|
|
|
@@ -539,6 +548,9 @@ OPERATIONDENIED_MULTIPLECNAMEZONE = 'OperationDenied.MultipleCnameZone'
|
|
|
539
548
|
# NS接入模式不支持域名流量调度功能。
|
|
540
549
|
OPERATIONDENIED_NSNOTALLOWTRAFFICSTRATEGY = 'OperationDenied.NSNotAllowTrafficStrategy'
|
|
541
550
|
|
|
551
|
+
# 套餐不支持变更站点的服务区域。
|
|
552
|
+
OPERATIONDENIED_PLANNOTSUPPORTMODIFYZONEAREA = 'OperationDenied.PlanNotSupportModifyZoneArea'
|
|
553
|
+
|
|
542
554
|
# DNS 记录不允许添加。
|
|
543
555
|
OPERATIONDENIED_RECORDISFORBIDDEN = 'OperationDenied.RecordIsForbidden'
|
|
544
556
|
|
|
@@ -95,17 +95,10 @@ class AccelerationDomain(AbstractModel):
|
|
|
95
95
|
|
|
96
96
|
def __init__(self):
|
|
97
97
|
r"""
|
|
98
|
-
:param _OriginDetail: 源站信息。
|
|
99
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
100
|
-
:type OriginDetail: :class:`tencentcloud.teo.v20220901.models.OriginDetail`
|
|
101
|
-
:param _CreatedOn: 创建时间。
|
|
102
|
-
:type CreatedOn: str
|
|
103
|
-
:param _DomainName: 加速域名名称。
|
|
104
|
-
:type DomainName: str
|
|
105
|
-
:param _ModifiedOn: 修改时间。
|
|
106
|
-
:type ModifiedOn: str
|
|
107
98
|
:param _ZoneId: 站点 ID。
|
|
108
99
|
:type ZoneId: str
|
|
100
|
+
:param _DomainName: 加速域名名称。
|
|
101
|
+
:type DomainName: str
|
|
109
102
|
:param _DomainStatus: 加速域名状态,取值有:
|
|
110
103
|
<li>online:已生效;</li>
|
|
111
104
|
<li>process:部署中;</li>
|
|
@@ -113,36 +106,39 @@ class AccelerationDomain(AbstractModel):
|
|
|
113
106
|
<li>forbidden:已封禁;</li>
|
|
114
107
|
<li>init:未生效,待激活站点;</li>
|
|
115
108
|
:type DomainStatus: str
|
|
109
|
+
:param _OriginDetail: 源站信息。
|
|
110
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
111
|
+
:type OriginDetail: :class:`tencentcloud.teo.v20220901.models.OriginDetail`
|
|
116
112
|
:param _Cname: CNAME 地址。
|
|
117
113
|
:type Cname: str
|
|
118
114
|
:param _IdentificationStatus: 加速域名归属权验证状态,取值有: <li>pending:待验证;</li> <li>finished:已完成验证。</li>
|
|
119
115
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
120
116
|
:type IdentificationStatus: str
|
|
117
|
+
:param _CreatedOn: 创建时间。
|
|
118
|
+
:type CreatedOn: str
|
|
119
|
+
:param _ModifiedOn: 修改时间。
|
|
120
|
+
:type ModifiedOn: str
|
|
121
|
+
:param _OwnershipVerification: 当域名需要进行归属权验证才能继续提供服务时,该对象会携带对应验证方式所需要的信息。
|
|
122
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
123
|
+
:type OwnershipVerification: :class:`tencentcloud.teo.v20220901.models.OwnershipVerification`
|
|
121
124
|
"""
|
|
122
|
-
self._OriginDetail = None
|
|
123
|
-
self._CreatedOn = None
|
|
124
|
-
self._DomainName = None
|
|
125
|
-
self._ModifiedOn = None
|
|
126
125
|
self._ZoneId = None
|
|
126
|
+
self._DomainName = None
|
|
127
127
|
self._DomainStatus = None
|
|
128
|
+
self._OriginDetail = None
|
|
128
129
|
self._Cname = None
|
|
129
130
|
self._IdentificationStatus = None
|
|
131
|
+
self._CreatedOn = None
|
|
132
|
+
self._ModifiedOn = None
|
|
133
|
+
self._OwnershipVerification = None
|
|
130
134
|
|
|
131
135
|
@property
|
|
132
|
-
def
|
|
133
|
-
return self.
|
|
134
|
-
|
|
135
|
-
@OriginDetail.setter
|
|
136
|
-
def OriginDetail(self, OriginDetail):
|
|
137
|
-
self._OriginDetail = OriginDetail
|
|
138
|
-
|
|
139
|
-
@property
|
|
140
|
-
def CreatedOn(self):
|
|
141
|
-
return self._CreatedOn
|
|
136
|
+
def ZoneId(self):
|
|
137
|
+
return self._ZoneId
|
|
142
138
|
|
|
143
|
-
@
|
|
144
|
-
def
|
|
145
|
-
self.
|
|
139
|
+
@ZoneId.setter
|
|
140
|
+
def ZoneId(self, ZoneId):
|
|
141
|
+
self._ZoneId = ZoneId
|
|
146
142
|
|
|
147
143
|
@property
|
|
148
144
|
def DomainName(self):
|
|
@@ -152,22 +148,6 @@ class AccelerationDomain(AbstractModel):
|
|
|
152
148
|
def DomainName(self, DomainName):
|
|
153
149
|
self._DomainName = DomainName
|
|
154
150
|
|
|
155
|
-
@property
|
|
156
|
-
def ModifiedOn(self):
|
|
157
|
-
return self._ModifiedOn
|
|
158
|
-
|
|
159
|
-
@ModifiedOn.setter
|
|
160
|
-
def ModifiedOn(self, ModifiedOn):
|
|
161
|
-
self._ModifiedOn = ModifiedOn
|
|
162
|
-
|
|
163
|
-
@property
|
|
164
|
-
def ZoneId(self):
|
|
165
|
-
return self._ZoneId
|
|
166
|
-
|
|
167
|
-
@ZoneId.setter
|
|
168
|
-
def ZoneId(self, ZoneId):
|
|
169
|
-
self._ZoneId = ZoneId
|
|
170
|
-
|
|
171
151
|
@property
|
|
172
152
|
def DomainStatus(self):
|
|
173
153
|
return self._DomainStatus
|
|
@@ -176,6 +156,14 @@ class AccelerationDomain(AbstractModel):
|
|
|
176
156
|
def DomainStatus(self, DomainStatus):
|
|
177
157
|
self._DomainStatus = DomainStatus
|
|
178
158
|
|
|
159
|
+
@property
|
|
160
|
+
def OriginDetail(self):
|
|
161
|
+
return self._OriginDetail
|
|
162
|
+
|
|
163
|
+
@OriginDetail.setter
|
|
164
|
+
def OriginDetail(self, OriginDetail):
|
|
165
|
+
self._OriginDetail = OriginDetail
|
|
166
|
+
|
|
179
167
|
@property
|
|
180
168
|
def Cname(self):
|
|
181
169
|
return self._Cname
|
|
@@ -192,18 +180,45 @@ class AccelerationDomain(AbstractModel):
|
|
|
192
180
|
def IdentificationStatus(self, IdentificationStatus):
|
|
193
181
|
self._IdentificationStatus = IdentificationStatus
|
|
194
182
|
|
|
183
|
+
@property
|
|
184
|
+
def CreatedOn(self):
|
|
185
|
+
return self._CreatedOn
|
|
186
|
+
|
|
187
|
+
@CreatedOn.setter
|
|
188
|
+
def CreatedOn(self, CreatedOn):
|
|
189
|
+
self._CreatedOn = CreatedOn
|
|
190
|
+
|
|
191
|
+
@property
|
|
192
|
+
def ModifiedOn(self):
|
|
193
|
+
return self._ModifiedOn
|
|
194
|
+
|
|
195
|
+
@ModifiedOn.setter
|
|
196
|
+
def ModifiedOn(self, ModifiedOn):
|
|
197
|
+
self._ModifiedOn = ModifiedOn
|
|
198
|
+
|
|
199
|
+
@property
|
|
200
|
+
def OwnershipVerification(self):
|
|
201
|
+
return self._OwnershipVerification
|
|
202
|
+
|
|
203
|
+
@OwnershipVerification.setter
|
|
204
|
+
def OwnershipVerification(self, OwnershipVerification):
|
|
205
|
+
self._OwnershipVerification = OwnershipVerification
|
|
206
|
+
|
|
195
207
|
|
|
196
208
|
def _deserialize(self, params):
|
|
209
|
+
self._ZoneId = params.get("ZoneId")
|
|
210
|
+
self._DomainName = params.get("DomainName")
|
|
211
|
+
self._DomainStatus = params.get("DomainStatus")
|
|
197
212
|
if params.get("OriginDetail") is not None:
|
|
198
213
|
self._OriginDetail = OriginDetail()
|
|
199
214
|
self._OriginDetail._deserialize(params.get("OriginDetail"))
|
|
200
|
-
self._CreatedOn = params.get("CreatedOn")
|
|
201
|
-
self._DomainName = params.get("DomainName")
|
|
202
|
-
self._ModifiedOn = params.get("ModifiedOn")
|
|
203
|
-
self._ZoneId = params.get("ZoneId")
|
|
204
|
-
self._DomainStatus = params.get("DomainStatus")
|
|
205
215
|
self._Cname = params.get("Cname")
|
|
206
216
|
self._IdentificationStatus = params.get("IdentificationStatus")
|
|
217
|
+
self._CreatedOn = params.get("CreatedOn")
|
|
218
|
+
self._ModifiedOn = params.get("ModifiedOn")
|
|
219
|
+
if params.get("OwnershipVerification") is not None:
|
|
220
|
+
self._OwnershipVerification = OwnershipVerification()
|
|
221
|
+
self._OwnershipVerification._deserialize(params.get("OwnershipVerification"))
|
|
207
222
|
memeber_set = set(params.keys())
|
|
208
223
|
for name, value in vars(self).items():
|
|
209
224
|
property_name = name[1:]
|
|
@@ -3072,9 +3087,9 @@ class CreateAccelerationDomainRequest(AbstractModel):
|
|
|
3072
3087
|
|
|
3073
3088
|
def __init__(self):
|
|
3074
3089
|
r"""
|
|
3075
|
-
:param _ZoneId: 加速域名所属站点ID。
|
|
3090
|
+
:param _ZoneId: 加速域名所属站点 ID。
|
|
3076
3091
|
:type ZoneId: str
|
|
3077
|
-
:param _DomainName:
|
|
3092
|
+
:param _DomainName: 加速域名。
|
|
3078
3093
|
:type DomainName: str
|
|
3079
3094
|
:param _OriginInfo: 源站信息。
|
|
3080
3095
|
:type OriginInfo: :class:`tencentcloud.teo.v20220901.models.OriginInfo`
|
|
@@ -3131,11 +3146,23 @@ class CreateAccelerationDomainResponse(AbstractModel):
|
|
|
3131
3146
|
|
|
3132
3147
|
def __init__(self):
|
|
3133
3148
|
r"""
|
|
3149
|
+
:param _OwnershipVerification: 当您的站点未进行归属权验证时,您可通过该参数返回的信息单独对域名进行归属权校验。详情参考 [站点/域名归属权验证](https://cloud.tencent.com/document/product/1552/70789)。
|
|
3150
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3151
|
+
:type OwnershipVerification: :class:`tencentcloud.teo.v20220901.models.OwnershipVerification`
|
|
3134
3152
|
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3135
3153
|
:type RequestId: str
|
|
3136
3154
|
"""
|
|
3155
|
+
self._OwnershipVerification = None
|
|
3137
3156
|
self._RequestId = None
|
|
3138
3157
|
|
|
3158
|
+
@property
|
|
3159
|
+
def OwnershipVerification(self):
|
|
3160
|
+
return self._OwnershipVerification
|
|
3161
|
+
|
|
3162
|
+
@OwnershipVerification.setter
|
|
3163
|
+
def OwnershipVerification(self, OwnershipVerification):
|
|
3164
|
+
self._OwnershipVerification = OwnershipVerification
|
|
3165
|
+
|
|
3139
3166
|
@property
|
|
3140
3167
|
def RequestId(self):
|
|
3141
3168
|
return self._RequestId
|
|
@@ -3146,6 +3173,9 @@ class CreateAccelerationDomainResponse(AbstractModel):
|
|
|
3146
3173
|
|
|
3147
3174
|
|
|
3148
3175
|
def _deserialize(self, params):
|
|
3176
|
+
if params.get("OwnershipVerification") is not None:
|
|
3177
|
+
self._OwnershipVerification = OwnershipVerification()
|
|
3178
|
+
self._OwnershipVerification._deserialize(params.get("OwnershipVerification"))
|
|
3149
3179
|
self._RequestId = params.get("RequestId")
|
|
3150
3180
|
|
|
3151
3181
|
|
|
@@ -4498,30 +4528,47 @@ class CreateZoneRequest(AbstractModel):
|
|
|
4498
4528
|
|
|
4499
4529
|
def __init__(self):
|
|
4500
4530
|
r"""
|
|
4501
|
-
:param
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
<li>
|
|
4505
|
-
<li> partial:CNAME接入,请先调用认证站点API(IdentifyZone)进行站点归属权校验,校验通过后继续调用本接口创建站点;<li>noDomainAccess:无域名接入,取此值时仅Tags字段有效。</li>
|
|
4506
|
-
</li>不填写使用默认值full。
|
|
4531
|
+
:param _Type: 站点接入类型。该参数取值如下,不填写时默认为 partial:
|
|
4532
|
+
<li>partial:CNAME 接入;</li>
|
|
4533
|
+
<li> full:NS 接入;</li>
|
|
4534
|
+
<li>noDomainAccess:无域名接入。</li>
|
|
4507
4535
|
:type Type: str
|
|
4508
|
-
:param
|
|
4509
|
-
:type
|
|
4510
|
-
:param
|
|
4536
|
+
:param _ZoneName: 站点名称。CNAME/NS 接入的时,请传入二级域名(example.com)作为站点名称;无域名接入时,该值请保留为空。
|
|
4537
|
+
:type ZoneName: str
|
|
4538
|
+
:param _Area: Type 取值为 partial/full 时,七层域名的加速区域。以下为该参数取值,不填写时该值默认为 overseas。Type 取值为 noDomainAccess 时该值请保留为空:
|
|
4539
|
+
<li> global: 全球可用区;</li>
|
|
4540
|
+
<li> mainland: 中国大陆可用区;</li>
|
|
4541
|
+
<li> overseas: 全球可用区(不含中国大陆)。</li>
|
|
4542
|
+
:type Area: str
|
|
4543
|
+
:param _PlanId: 待绑定的目标套餐 ID。当您账号下已存在套餐时,可以填写此参数,直接将站点绑定至该套餐。若您当前没有可绑定的套餐时,请前往控制台购买套餐完成站点创建。
|
|
4544
|
+
:type PlanId: str
|
|
4545
|
+
:param _AliasZoneName: 同名站点标识。限制输入数字、英文、- 和 _ 组合,长度 20 个字符以内。详情参考 [同名站点标识](),无此使用场景时,该字段保留为空即可。
|
|
4546
|
+
:type AliasZoneName: str
|
|
4547
|
+
:param _Tags: 标签。该参数用于对站点进行分权限管控、分账。需要先前往 [标签控制台](https://console.cloud.tencent.com/tag/taglist) 创建对应的标签才可以在此处传入对应的标签键和标签值。
|
|
4511
4548
|
:type Tags: list of Tag
|
|
4512
4549
|
:param _AllowDuplicates: 是否允许重复接入。
|
|
4513
4550
|
<li> true:允许重复接入;</li>
|
|
4514
4551
|
<li> false:不允许重复接入。</li>不填写使用默认值false。
|
|
4515
4552
|
:type AllowDuplicates: bool
|
|
4516
|
-
:param
|
|
4517
|
-
:type
|
|
4553
|
+
:param _JumpStart: 是否跳过站点现有的DNS记录扫描。默认值:false。
|
|
4554
|
+
:type JumpStart: bool
|
|
4518
4555
|
"""
|
|
4519
|
-
self._ZoneName = None
|
|
4520
4556
|
self._Type = None
|
|
4521
|
-
self.
|
|
4557
|
+
self._ZoneName = None
|
|
4558
|
+
self._Area = None
|
|
4559
|
+
self._PlanId = None
|
|
4560
|
+
self._AliasZoneName = None
|
|
4522
4561
|
self._Tags = None
|
|
4523
4562
|
self._AllowDuplicates = None
|
|
4524
|
-
self.
|
|
4563
|
+
self._JumpStart = None
|
|
4564
|
+
|
|
4565
|
+
@property
|
|
4566
|
+
def Type(self):
|
|
4567
|
+
return self._Type
|
|
4568
|
+
|
|
4569
|
+
@Type.setter
|
|
4570
|
+
def Type(self, Type):
|
|
4571
|
+
self._Type = Type
|
|
4525
4572
|
|
|
4526
4573
|
@property
|
|
4527
4574
|
def ZoneName(self):
|
|
@@ -4532,20 +4579,28 @@ class CreateZoneRequest(AbstractModel):
|
|
|
4532
4579
|
self._ZoneName = ZoneName
|
|
4533
4580
|
|
|
4534
4581
|
@property
|
|
4535
|
-
def
|
|
4536
|
-
return self.
|
|
4582
|
+
def Area(self):
|
|
4583
|
+
return self._Area
|
|
4537
4584
|
|
|
4538
|
-
@
|
|
4539
|
-
def
|
|
4540
|
-
self.
|
|
4585
|
+
@Area.setter
|
|
4586
|
+
def Area(self, Area):
|
|
4587
|
+
self._Area = Area
|
|
4541
4588
|
|
|
4542
4589
|
@property
|
|
4543
|
-
def
|
|
4544
|
-
return self.
|
|
4590
|
+
def PlanId(self):
|
|
4591
|
+
return self._PlanId
|
|
4545
4592
|
|
|
4546
|
-
@
|
|
4547
|
-
def
|
|
4548
|
-
self.
|
|
4593
|
+
@PlanId.setter
|
|
4594
|
+
def PlanId(self, PlanId):
|
|
4595
|
+
self._PlanId = PlanId
|
|
4596
|
+
|
|
4597
|
+
@property
|
|
4598
|
+
def AliasZoneName(self):
|
|
4599
|
+
return self._AliasZoneName
|
|
4600
|
+
|
|
4601
|
+
@AliasZoneName.setter
|
|
4602
|
+
def AliasZoneName(self, AliasZoneName):
|
|
4603
|
+
self._AliasZoneName = AliasZoneName
|
|
4549
4604
|
|
|
4550
4605
|
@property
|
|
4551
4606
|
def Tags(self):
|
|
@@ -4557,25 +4612,35 @@ class CreateZoneRequest(AbstractModel):
|
|
|
4557
4612
|
|
|
4558
4613
|
@property
|
|
4559
4614
|
def AllowDuplicates(self):
|
|
4615
|
+
warnings.warn("parameter `AllowDuplicates` is deprecated", DeprecationWarning)
|
|
4616
|
+
|
|
4560
4617
|
return self._AllowDuplicates
|
|
4561
4618
|
|
|
4562
4619
|
@AllowDuplicates.setter
|
|
4563
4620
|
def AllowDuplicates(self, AllowDuplicates):
|
|
4621
|
+
warnings.warn("parameter `AllowDuplicates` is deprecated", DeprecationWarning)
|
|
4622
|
+
|
|
4564
4623
|
self._AllowDuplicates = AllowDuplicates
|
|
4565
4624
|
|
|
4566
4625
|
@property
|
|
4567
|
-
def
|
|
4568
|
-
|
|
4626
|
+
def JumpStart(self):
|
|
4627
|
+
warnings.warn("parameter `JumpStart` is deprecated", DeprecationWarning)
|
|
4569
4628
|
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4629
|
+
return self._JumpStart
|
|
4630
|
+
|
|
4631
|
+
@JumpStart.setter
|
|
4632
|
+
def JumpStart(self, JumpStart):
|
|
4633
|
+
warnings.warn("parameter `JumpStart` is deprecated", DeprecationWarning)
|
|
4634
|
+
|
|
4635
|
+
self._JumpStart = JumpStart
|
|
4573
4636
|
|
|
4574
4637
|
|
|
4575
4638
|
def _deserialize(self, params):
|
|
4576
|
-
self._ZoneName = params.get("ZoneName")
|
|
4577
4639
|
self._Type = params.get("Type")
|
|
4578
|
-
self.
|
|
4640
|
+
self._ZoneName = params.get("ZoneName")
|
|
4641
|
+
self._Area = params.get("Area")
|
|
4642
|
+
self._PlanId = params.get("PlanId")
|
|
4643
|
+
self._AliasZoneName = params.get("AliasZoneName")
|
|
4579
4644
|
if params.get("Tags") is not None:
|
|
4580
4645
|
self._Tags = []
|
|
4581
4646
|
for item in params.get("Tags"):
|
|
@@ -4583,7 +4648,7 @@ class CreateZoneRequest(AbstractModel):
|
|
|
4583
4648
|
obj._deserialize(item)
|
|
4584
4649
|
self._Tags.append(obj)
|
|
4585
4650
|
self._AllowDuplicates = params.get("AllowDuplicates")
|
|
4586
|
-
self.
|
|
4651
|
+
self._JumpStart = params.get("JumpStart")
|
|
4587
4652
|
memeber_set = set(params.keys())
|
|
4588
4653
|
for name, value in vars(self).items():
|
|
4589
4654
|
property_name = name[1:]
|
|
@@ -4601,12 +4666,22 @@ class CreateZoneResponse(AbstractModel):
|
|
|
4601
4666
|
|
|
4602
4667
|
def __init__(self):
|
|
4603
4668
|
r"""
|
|
4604
|
-
:param _ZoneId: 站点ID。
|
|
4669
|
+
:param _ZoneId: 站点 ID。
|
|
4605
4670
|
:type ZoneId: str
|
|
4671
|
+
:param _OwnershipVerification: 站点归属权验证信息。站点完成创建后,您还需要完成归属权校验,站点才能正常服务。
|
|
4672
|
+
|
|
4673
|
+
Type = partial 时,您需要参考 [站点/域名归属权验证](https://cloud.tencent.com/document/product/1552/70789) 前往您的域名解析服务商添加 TXT 记录或者前往根域名服务器添加文件,再调用接口 [VerifyOwnership]() 完成验证;
|
|
4674
|
+
|
|
4675
|
+
Type = full 时,您需要参考 [修改 DNS 服务器](https://cloud.tencent.com/document/product/1552/90452) 切换 DNS 服务器即可,可通过接口 [VerifyOwnership]() 查询 DNS 是否切换成功;
|
|
4676
|
+
|
|
4677
|
+
Type = noDomainAccess 时,该值为空,不需要进行任何操作。
|
|
4678
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4679
|
+
:type OwnershipVerification: :class:`tencentcloud.teo.v20220901.models.OwnershipVerification`
|
|
4606
4680
|
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4607
4681
|
:type RequestId: str
|
|
4608
4682
|
"""
|
|
4609
4683
|
self._ZoneId = None
|
|
4684
|
+
self._OwnershipVerification = None
|
|
4610
4685
|
self._RequestId = None
|
|
4611
4686
|
|
|
4612
4687
|
@property
|
|
@@ -4617,6 +4692,14 @@ class CreateZoneResponse(AbstractModel):
|
|
|
4617
4692
|
def ZoneId(self, ZoneId):
|
|
4618
4693
|
self._ZoneId = ZoneId
|
|
4619
4694
|
|
|
4695
|
+
@property
|
|
4696
|
+
def OwnershipVerification(self):
|
|
4697
|
+
return self._OwnershipVerification
|
|
4698
|
+
|
|
4699
|
+
@OwnershipVerification.setter
|
|
4700
|
+
def OwnershipVerification(self, OwnershipVerification):
|
|
4701
|
+
self._OwnershipVerification = OwnershipVerification
|
|
4702
|
+
|
|
4620
4703
|
@property
|
|
4621
4704
|
def RequestId(self):
|
|
4622
4705
|
return self._RequestId
|
|
@@ -4628,6 +4711,9 @@ class CreateZoneResponse(AbstractModel):
|
|
|
4628
4711
|
|
|
4629
4712
|
def _deserialize(self, params):
|
|
4630
4713
|
self._ZoneId = params.get("ZoneId")
|
|
4714
|
+
if params.get("OwnershipVerification") is not None:
|
|
4715
|
+
self._OwnershipVerification = OwnershipVerification()
|
|
4716
|
+
self._OwnershipVerification._deserialize(params.get("OwnershipVerification"))
|
|
4631
4717
|
self._RequestId = params.get("RequestId")
|
|
4632
4718
|
|
|
4633
4719
|
|
|
@@ -5625,41 +5711,40 @@ class DescribeAccelerationDomainsRequest(AbstractModel):
|
|
|
5625
5711
|
|
|
5626
5712
|
def __init__(self):
|
|
5627
5713
|
r"""
|
|
5628
|
-
:param _ZoneId: 加速域名所属站点ID。
|
|
5714
|
+
:param _ZoneId: 加速域名所属站点 ID。
|
|
5629
5715
|
:type ZoneId: str
|
|
5630
|
-
:param
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
<li>domain-
|
|
5636
|
-
<li>
|
|
5716
|
+
:param _Offset: 分页查询偏移量,默认为 0。
|
|
5717
|
+
:type Offset: int
|
|
5718
|
+
:param _Limit: 分页查询限制数目,默认值:20,上限:200。
|
|
5719
|
+
:type Limit: int
|
|
5720
|
+
:param _Filters: 过滤条件,Filters.Values 的上限为 20。该参数不填写时,返回当前 zone-id 下所有域名信息。详细的过滤条件如下:
|
|
5721
|
+
<li>domain-name:按照加速域名进行过滤;</li>
|
|
5722
|
+
<li>origin-type:按照源站类型进行过滤;</li>
|
|
5723
|
+
<li>origin:按照主源站地址进行过滤;</li>
|
|
5724
|
+
<li>backup-origin: 按照备用源站地址进行过滤;</li>
|
|
5725
|
+
<li>domain-cname:按照 CNAME 进行过滤;</li>
|
|
5726
|
+
<li>share-cname:按照共享 CNAME 进行过滤;</li>
|
|
5637
5727
|
:type Filters: list of AdvancedFilter
|
|
5638
|
-
:param
|
|
5728
|
+
:param _Order: 可根据该字段对返回结果进行排序,取值有:
|
|
5729
|
+
<li>created_on:加速域名创建时间;</li>
|
|
5730
|
+
<li>domain-name:加速域名。</li>不填写时,默认对返回结果按照 domain-name 排序。
|
|
5731
|
+
:type Order: str
|
|
5732
|
+
:param _Direction: 排序方向,如果是字段值为数字,则根据数字大小排序;如果字段值为文本,则根据 ascill 码的大小排序。取值有:
|
|
5639
5733
|
<li>asc:升序排列;</li>
|
|
5640
|
-
<li>desc:降序排列。</li
|
|
5734
|
+
<li>desc:降序排列。</li>不填写使用默认值 asc。
|
|
5641
5735
|
:type Direction: str
|
|
5642
5736
|
:param _Match: 匹配方式,取值有:
|
|
5643
5737
|
<li>all:返回匹配所有查询条件的加速域名;</li>
|
|
5644
|
-
<li>any:返回匹配任意一个查询条件的加速域名。</li
|
|
5738
|
+
<li>any:返回匹配任意一个查询条件的加速域名。</li>不填写时默认值为 all。
|
|
5645
5739
|
:type Match: str
|
|
5646
|
-
:param _Limit: 分页查询限制数目,默认值:20,上限:200。
|
|
5647
|
-
:type Limit: int
|
|
5648
|
-
:param _Offset: 分页查询偏移量,默认为 0。
|
|
5649
|
-
:type Offset: int
|
|
5650
|
-
:param _Order: 排序依据,取值有:
|
|
5651
|
-
<li>created_on:加速域名创建时间;</li>
|
|
5652
|
-
<li>domain-name:加速域名名称;</li>
|
|
5653
|
-
</li>默认根据domain-name属性排序。
|
|
5654
|
-
:type Order: str
|
|
5655
5740
|
"""
|
|
5656
5741
|
self._ZoneId = None
|
|
5742
|
+
self._Offset = None
|
|
5743
|
+
self._Limit = None
|
|
5657
5744
|
self._Filters = None
|
|
5745
|
+
self._Order = None
|
|
5658
5746
|
self._Direction = None
|
|
5659
5747
|
self._Match = None
|
|
5660
|
-
self._Limit = None
|
|
5661
|
-
self._Offset = None
|
|
5662
|
-
self._Order = None
|
|
5663
5748
|
|
|
5664
5749
|
@property
|
|
5665
5750
|
def ZoneId(self):
|
|
@@ -5669,6 +5754,22 @@ class DescribeAccelerationDomainsRequest(AbstractModel):
|
|
|
5669
5754
|
def ZoneId(self, ZoneId):
|
|
5670
5755
|
self._ZoneId = ZoneId
|
|
5671
5756
|
|
|
5757
|
+
@property
|
|
5758
|
+
def Offset(self):
|
|
5759
|
+
return self._Offset
|
|
5760
|
+
|
|
5761
|
+
@Offset.setter
|
|
5762
|
+
def Offset(self, Offset):
|
|
5763
|
+
self._Offset = Offset
|
|
5764
|
+
|
|
5765
|
+
@property
|
|
5766
|
+
def Limit(self):
|
|
5767
|
+
return self._Limit
|
|
5768
|
+
|
|
5769
|
+
@Limit.setter
|
|
5770
|
+
def Limit(self, Limit):
|
|
5771
|
+
self._Limit = Limit
|
|
5772
|
+
|
|
5672
5773
|
@property
|
|
5673
5774
|
def Filters(self):
|
|
5674
5775
|
return self._Filters
|
|
@@ -5677,6 +5778,14 @@ class DescribeAccelerationDomainsRequest(AbstractModel):
|
|
|
5677
5778
|
def Filters(self, Filters):
|
|
5678
5779
|
self._Filters = Filters
|
|
5679
5780
|
|
|
5781
|
+
@property
|
|
5782
|
+
def Order(self):
|
|
5783
|
+
return self._Order
|
|
5784
|
+
|
|
5785
|
+
@Order.setter
|
|
5786
|
+
def Order(self, Order):
|
|
5787
|
+
self._Order = Order
|
|
5788
|
+
|
|
5680
5789
|
@property
|
|
5681
5790
|
def Direction(self):
|
|
5682
5791
|
return self._Direction
|
|
@@ -5693,44 +5802,20 @@ class DescribeAccelerationDomainsRequest(AbstractModel):
|
|
|
5693
5802
|
def Match(self, Match):
|
|
5694
5803
|
self._Match = Match
|
|
5695
5804
|
|
|
5696
|
-
@property
|
|
5697
|
-
def Limit(self):
|
|
5698
|
-
return self._Limit
|
|
5699
|
-
|
|
5700
|
-
@Limit.setter
|
|
5701
|
-
def Limit(self, Limit):
|
|
5702
|
-
self._Limit = Limit
|
|
5703
|
-
|
|
5704
|
-
@property
|
|
5705
|
-
def Offset(self):
|
|
5706
|
-
return self._Offset
|
|
5707
|
-
|
|
5708
|
-
@Offset.setter
|
|
5709
|
-
def Offset(self, Offset):
|
|
5710
|
-
self._Offset = Offset
|
|
5711
|
-
|
|
5712
|
-
@property
|
|
5713
|
-
def Order(self):
|
|
5714
|
-
return self._Order
|
|
5715
|
-
|
|
5716
|
-
@Order.setter
|
|
5717
|
-
def Order(self, Order):
|
|
5718
|
-
self._Order = Order
|
|
5719
|
-
|
|
5720
5805
|
|
|
5721
5806
|
def _deserialize(self, params):
|
|
5722
5807
|
self._ZoneId = params.get("ZoneId")
|
|
5808
|
+
self._Offset = params.get("Offset")
|
|
5809
|
+
self._Limit = params.get("Limit")
|
|
5723
5810
|
if params.get("Filters") is not None:
|
|
5724
5811
|
self._Filters = []
|
|
5725
5812
|
for item in params.get("Filters"):
|
|
5726
5813
|
obj = AdvancedFilter()
|
|
5727
5814
|
obj._deserialize(item)
|
|
5728
5815
|
self._Filters.append(obj)
|
|
5816
|
+
self._Order = params.get("Order")
|
|
5729
5817
|
self._Direction = params.get("Direction")
|
|
5730
5818
|
self._Match = params.get("Match")
|
|
5731
|
-
self._Limit = params.get("Limit")
|
|
5732
|
-
self._Offset = params.get("Offset")
|
|
5733
|
-
self._Order = params.get("Order")
|
|
5734
5819
|
memeber_set = set(params.keys())
|
|
5735
5820
|
for name, value in vars(self).items():
|
|
5736
5821
|
property_name = name[1:]
|
|
@@ -5748,9 +5833,9 @@ class DescribeAccelerationDomainsResponse(AbstractModel):
|
|
|
5748
5833
|
|
|
5749
5834
|
def __init__(self):
|
|
5750
5835
|
r"""
|
|
5751
|
-
:param _TotalCount:
|
|
5836
|
+
:param _TotalCount: 符合查询条件的加速域名个数。
|
|
5752
5837
|
:type TotalCount: int
|
|
5753
|
-
:param _AccelerationDomains:
|
|
5838
|
+
:param _AccelerationDomains: 符合查询条件的所有加速域名的信息。
|
|
5754
5839
|
:type AccelerationDomains: list of AccelerationDomain
|
|
5755
5840
|
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5756
5841
|
:type RequestId: str
|
|
@@ -9095,22 +9180,22 @@ class DescribeZonesRequest(AbstractModel):
|
|
|
9095
9180
|
r"""
|
|
9096
9181
|
:param _Offset: 分页查询偏移量。默认值:0。
|
|
9097
9182
|
:type Offset: int
|
|
9098
|
-
:param _Limit: 分页查询限制数目。默认值:20,最大值:
|
|
9183
|
+
:param _Limit: 分页查询限制数目。默认值:20,最大值:100。
|
|
9099
9184
|
:type Limit: int
|
|
9100
|
-
:param _Filters: 过滤条件,Filters.Values的上限为20
|
|
9101
|
-
<li>zone-name
|
|
9185
|
+
:param _Filters: 过滤条件,Filters.Values 的上限为 20。该参数不填写时,返回当前 appid 下有权限的所有站点信息。详细的过滤条件如下:
|
|
9186
|
+
<li>zone-name:按照站点名称进行过滤;</li><li>zone-id:按照站点 ID进行过滤。站点 ID 形如:zone-2noz78a8ev6k;</li><li>status:按照站点状态进行过滤;</li><li>tag-key:按照标签键进行过滤;</li><li>tag-value: 按照标签值进行过滤。</li>模糊查询时仅支持过滤字段名为 zone-name。
|
|
9102
9187
|
:type Filters: list of AdvancedFilter
|
|
9103
|
-
:param _Order:
|
|
9188
|
+
:param _Order: 可根据该字段对返回结果进行排序,取值有:
|
|
9104
9189
|
<li> type:接入类型;</li>
|
|
9105
9190
|
<li> area:加速区域;</li>
|
|
9106
9191
|
<li> create-time:创建时间;</li>
|
|
9107
9192
|
<li> zone-name:站点名称;</li>
|
|
9108
9193
|
<li> use-time:最近使用时间;</li>
|
|
9109
|
-
<li> active-status:生效状态。</li
|
|
9194
|
+
<li> active-status:生效状态。</li>不填写时对返回结果默认按照 create-time 排序。
|
|
9110
9195
|
:type Order: str
|
|
9111
|
-
:param _Direction:
|
|
9196
|
+
:param _Direction: 排序方向,如果是字段值为数字,则根据数字大小排序;如果字段值为文本,则根据 ascill 码的大小排序。取值有:
|
|
9112
9197
|
<li> asc:从小到大排序;</li>
|
|
9113
|
-
<li> desc:从大到小排序。</li>不填写使用默认值desc。
|
|
9198
|
+
<li> desc:从大到小排序。</li>不填写使用默认值 desc。
|
|
9114
9199
|
:type Direction: str
|
|
9115
9200
|
"""
|
|
9116
9201
|
self._Offset = None
|
|
@@ -9190,7 +9275,7 @@ class DescribeZonesResponse(AbstractModel):
|
|
|
9190
9275
|
r"""
|
|
9191
9276
|
:param _TotalCount: 符合条件的站点个数。
|
|
9192
9277
|
:type TotalCount: int
|
|
9193
|
-
:param _Zones:
|
|
9278
|
+
:param _Zones: 站点详细信息。
|
|
9194
9279
|
:type Zones: list of Zone
|
|
9195
9280
|
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
9196
9281
|
:type RequestId: str
|
|
@@ -9654,6 +9739,63 @@ class DiffIPWhitelist(AbstractModel):
|
|
|
9654
9739
|
|
|
9655
9740
|
|
|
9656
9741
|
|
|
9742
|
+
class DnsVerification(AbstractModel):
|
|
9743
|
+
"""CNAME 接入,使用 DNS 解析验证时所需的信息。
|
|
9744
|
+
|
|
9745
|
+
"""
|
|
9746
|
+
|
|
9747
|
+
def __init__(self):
|
|
9748
|
+
r"""
|
|
9749
|
+
:param _Subdomain: 主机记录。
|
|
9750
|
+
:type Subdomain: str
|
|
9751
|
+
:param _RecordType: 记录类型。
|
|
9752
|
+
:type RecordType: str
|
|
9753
|
+
:param _RecordValue: 记录值。
|
|
9754
|
+
:type RecordValue: str
|
|
9755
|
+
"""
|
|
9756
|
+
self._Subdomain = None
|
|
9757
|
+
self._RecordType = None
|
|
9758
|
+
self._RecordValue = None
|
|
9759
|
+
|
|
9760
|
+
@property
|
|
9761
|
+
def Subdomain(self):
|
|
9762
|
+
return self._Subdomain
|
|
9763
|
+
|
|
9764
|
+
@Subdomain.setter
|
|
9765
|
+
def Subdomain(self, Subdomain):
|
|
9766
|
+
self._Subdomain = Subdomain
|
|
9767
|
+
|
|
9768
|
+
@property
|
|
9769
|
+
def RecordType(self):
|
|
9770
|
+
return self._RecordType
|
|
9771
|
+
|
|
9772
|
+
@RecordType.setter
|
|
9773
|
+
def RecordType(self, RecordType):
|
|
9774
|
+
self._RecordType = RecordType
|
|
9775
|
+
|
|
9776
|
+
@property
|
|
9777
|
+
def RecordValue(self):
|
|
9778
|
+
return self._RecordValue
|
|
9779
|
+
|
|
9780
|
+
@RecordValue.setter
|
|
9781
|
+
def RecordValue(self, RecordValue):
|
|
9782
|
+
self._RecordValue = RecordValue
|
|
9783
|
+
|
|
9784
|
+
|
|
9785
|
+
def _deserialize(self, params):
|
|
9786
|
+
self._Subdomain = params.get("Subdomain")
|
|
9787
|
+
self._RecordType = params.get("RecordType")
|
|
9788
|
+
self._RecordValue = params.get("RecordValue")
|
|
9789
|
+
memeber_set = set(params.keys())
|
|
9790
|
+
for name, value in vars(self).items():
|
|
9791
|
+
property_name = name[1:]
|
|
9792
|
+
if property_name in memeber_set:
|
|
9793
|
+
memeber_set.remove(property_name)
|
|
9794
|
+
if len(memeber_set) > 0:
|
|
9795
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9796
|
+
|
|
9797
|
+
|
|
9798
|
+
|
|
9657
9799
|
class DownloadL4LogsRequest(AbstractModel):
|
|
9658
9800
|
"""DownloadL4Logs请求参数结构体
|
|
9659
9801
|
|
|
@@ -10542,6 +10684,51 @@ class FileAscriptionInfo(AbstractModel):
|
|
|
10542
10684
|
|
|
10543
10685
|
|
|
10544
10686
|
|
|
10687
|
+
class FileVerification(AbstractModel):
|
|
10688
|
+
"""CNAME 接入,使用文件验证时所需的信息。
|
|
10689
|
+
|
|
10690
|
+
"""
|
|
10691
|
+
|
|
10692
|
+
def __init__(self):
|
|
10693
|
+
r"""
|
|
10694
|
+
:param _Path: EdgeOne 后台服务器将通过 Scheme + Host + URL Path 的格式(例如 https://www.example.com/.well-known/teo-verification/z12h416twn.txt)获取文件验证信息。该字段为您需要创建的 URL Path 部分。
|
|
10695
|
+
:type Path: str
|
|
10696
|
+
:param _Content: 验证文件的内容。该字段的内容需要您填写至 Path 字段返回的 txt 文件中。
|
|
10697
|
+
:type Content: str
|
|
10698
|
+
"""
|
|
10699
|
+
self._Path = None
|
|
10700
|
+
self._Content = None
|
|
10701
|
+
|
|
10702
|
+
@property
|
|
10703
|
+
def Path(self):
|
|
10704
|
+
return self._Path
|
|
10705
|
+
|
|
10706
|
+
@Path.setter
|
|
10707
|
+
def Path(self, Path):
|
|
10708
|
+
self._Path = Path
|
|
10709
|
+
|
|
10710
|
+
@property
|
|
10711
|
+
def Content(self):
|
|
10712
|
+
return self._Content
|
|
10713
|
+
|
|
10714
|
+
@Content.setter
|
|
10715
|
+
def Content(self, Content):
|
|
10716
|
+
self._Content = Content
|
|
10717
|
+
|
|
10718
|
+
|
|
10719
|
+
def _deserialize(self, params):
|
|
10720
|
+
self._Path = params.get("Path")
|
|
10721
|
+
self._Content = params.get("Content")
|
|
10722
|
+
memeber_set = set(params.keys())
|
|
10723
|
+
for name, value in vars(self).items():
|
|
10724
|
+
property_name = name[1:]
|
|
10725
|
+
if property_name in memeber_set:
|
|
10726
|
+
memeber_set.remove(property_name)
|
|
10727
|
+
if len(memeber_set) > 0:
|
|
10728
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10729
|
+
|
|
10730
|
+
|
|
10731
|
+
|
|
10545
10732
|
class Filter(AbstractModel):
|
|
10546
10733
|
"""描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等。
|
|
10547
10734
|
若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
|
|
@@ -12916,17 +13103,24 @@ class ModifyHostsCertificateRequest(AbstractModel):
|
|
|
12916
13103
|
r"""
|
|
12917
13104
|
:param _ZoneId: 站点 ID。
|
|
12918
13105
|
:type ZoneId: str
|
|
12919
|
-
:param _Hosts:
|
|
13106
|
+
:param _Hosts: 需要修改证书配置的加速域名。
|
|
12920
13107
|
:type Hosts: list of str
|
|
12921
|
-
:param
|
|
13108
|
+
:param _Mode: 配置证书的模式,取值有:
|
|
13109
|
+
<li>disable:不配置证书;</li>
|
|
13110
|
+
<li>eofreecert:配置 EdgeOne 免费证书;</li>
|
|
13111
|
+
<li>sslcert:配置 SSL 证书。</li>不填时默认取值为 disable。
|
|
13112
|
+
:type Mode: str
|
|
13113
|
+
:param _ServerCertInfo: SSL 证书配置,本参数仅在 mode = sslcert 时生效,传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/certoverview) 查看 CertId。
|
|
12922
13114
|
:type ServerCertInfo: list of ServerCertInfo
|
|
12923
13115
|
:param _ApplyType: 托管类型,取值有:
|
|
12924
|
-
<li>
|
|
12925
|
-
<li>
|
|
13116
|
+
<li>none:不托管EO;</li>
|
|
13117
|
+
<li>apply:托管EO</li>
|
|
13118
|
+
不填,默认取值为none。
|
|
12926
13119
|
:type ApplyType: str
|
|
12927
13120
|
"""
|
|
12928
13121
|
self._ZoneId = None
|
|
12929
13122
|
self._Hosts = None
|
|
13123
|
+
self._Mode = None
|
|
12930
13124
|
self._ServerCertInfo = None
|
|
12931
13125
|
self._ApplyType = None
|
|
12932
13126
|
|
|
@@ -12946,6 +13140,14 @@ class ModifyHostsCertificateRequest(AbstractModel):
|
|
|
12946
13140
|
def Hosts(self, Hosts):
|
|
12947
13141
|
self._Hosts = Hosts
|
|
12948
13142
|
|
|
13143
|
+
@property
|
|
13144
|
+
def Mode(self):
|
|
13145
|
+
return self._Mode
|
|
13146
|
+
|
|
13147
|
+
@Mode.setter
|
|
13148
|
+
def Mode(self, Mode):
|
|
13149
|
+
self._Mode = Mode
|
|
13150
|
+
|
|
12949
13151
|
@property
|
|
12950
13152
|
def ServerCertInfo(self):
|
|
12951
13153
|
return self._ServerCertInfo
|
|
@@ -12956,16 +13158,21 @@ class ModifyHostsCertificateRequest(AbstractModel):
|
|
|
12956
13158
|
|
|
12957
13159
|
@property
|
|
12958
13160
|
def ApplyType(self):
|
|
13161
|
+
warnings.warn("parameter `ApplyType` is deprecated", DeprecationWarning)
|
|
13162
|
+
|
|
12959
13163
|
return self._ApplyType
|
|
12960
13164
|
|
|
12961
13165
|
@ApplyType.setter
|
|
12962
13166
|
def ApplyType(self, ApplyType):
|
|
13167
|
+
warnings.warn("parameter `ApplyType` is deprecated", DeprecationWarning)
|
|
13168
|
+
|
|
12963
13169
|
self._ApplyType = ApplyType
|
|
12964
13170
|
|
|
12965
13171
|
|
|
12966
13172
|
def _deserialize(self, params):
|
|
12967
13173
|
self._ZoneId = params.get("ZoneId")
|
|
12968
13174
|
self._Hosts = params.get("Hosts")
|
|
13175
|
+
self._Mode = params.get("Mode")
|
|
12969
13176
|
if params.get("ServerCertInfo") is not None:
|
|
12970
13177
|
self._ServerCertInfo = []
|
|
12971
13178
|
for item in params.get("ServerCertInfo"):
|
|
@@ -14109,6 +14316,39 @@ class NormalAction(AbstractModel):
|
|
|
14109
14316
|
|
|
14110
14317
|
|
|
14111
14318
|
|
|
14319
|
+
class NsVerification(AbstractModel):
|
|
14320
|
+
"""NS 接入,切换 DNS 服务器所需的信息。
|
|
14321
|
+
|
|
14322
|
+
"""
|
|
14323
|
+
|
|
14324
|
+
def __init__(self):
|
|
14325
|
+
r"""
|
|
14326
|
+
:param _NameServers: NS 接入时,分配给用户的 DNS 服务器地址,需要将域名的 NameServer 切换至该地址。
|
|
14327
|
+
:type NameServers: list of str
|
|
14328
|
+
"""
|
|
14329
|
+
self._NameServers = None
|
|
14330
|
+
|
|
14331
|
+
@property
|
|
14332
|
+
def NameServers(self):
|
|
14333
|
+
return self._NameServers
|
|
14334
|
+
|
|
14335
|
+
@NameServers.setter
|
|
14336
|
+
def NameServers(self, NameServers):
|
|
14337
|
+
self._NameServers = NameServers
|
|
14338
|
+
|
|
14339
|
+
|
|
14340
|
+
def _deserialize(self, params):
|
|
14341
|
+
self._NameServers = params.get("NameServers")
|
|
14342
|
+
memeber_set = set(params.keys())
|
|
14343
|
+
for name, value in vars(self).items():
|
|
14344
|
+
property_name = name[1:]
|
|
14345
|
+
if property_name in memeber_set:
|
|
14346
|
+
memeber_set.remove(property_name)
|
|
14347
|
+
if len(memeber_set) > 0:
|
|
14348
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
14349
|
+
|
|
14350
|
+
|
|
14351
|
+
|
|
14112
14352
|
class OfflineCache(AbstractModel):
|
|
14113
14353
|
"""离线缓存是否开启
|
|
14114
14354
|
|
|
@@ -14494,7 +14734,7 @@ class OriginInfo(AbstractModel):
|
|
|
14494
14734
|
<li>ORIGIN_GROUP:源站组类型源站;</li>
|
|
14495
14735
|
<li>AWS_S3:S3兼容对象存储源站;</li>
|
|
14496
14736
|
<li>LB: 负载均衡类型源站;</li>
|
|
14497
|
-
<li>SPACE:EdgeOne Shield Space 存储。</li>
|
|
14737
|
+
<li>SPACE:EdgeOne Shield Space 存储。</li>
|
|
14498
14738
|
:type OriginType: str
|
|
14499
14739
|
:param _Origin: 源站地址,当 OriginType 参数指定为 ORIGIN_GROUP 时,该参数填写源站组 ID,其他情况下填写源站地址。
|
|
14500
14740
|
:type Origin: str
|
|
@@ -14842,6 +15082,74 @@ class OriginRecord(AbstractModel):
|
|
|
14842
15082
|
|
|
14843
15083
|
|
|
14844
15084
|
|
|
15085
|
+
class OwnershipVerification(AbstractModel):
|
|
15086
|
+
"""该结构体表示各种场景、模式下,用于验证用户对站点域名的归属权内容。
|
|
15087
|
+
|
|
15088
|
+
"""
|
|
15089
|
+
|
|
15090
|
+
def __init__(self):
|
|
15091
|
+
r"""
|
|
15092
|
+
:param _DnsVerification: CNAME 接入,使用 DNS 解析验证时所需的信息。详情参考 [站点/域名归属权验证
|
|
15093
|
+
](https://cloud.tencent.com/document/product/1552/70789#7af6ecf8-afca-4e35-8811-b5797ed1bde5)。
|
|
15094
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
15095
|
+
:type DnsVerification: :class:`tencentcloud.teo.v20220901.models.DnsVerification`
|
|
15096
|
+
:param _FileVerification: CNAME 接入,使用文件验证时所需的信息。详情参考 [站点/域名归属权验证
|
|
15097
|
+
](https://cloud.tencent.com/document/product/1552/70789#7af6ecf8-afca-4e35-8811-b5797ed1bde5)。
|
|
15098
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
15099
|
+
:type FileVerification: :class:`tencentcloud.teo.v20220901.models.FileVerification`
|
|
15100
|
+
:param _NsVerification: NS 接入,切换 DNS 服务器所需的信息。详情参考 [修改 DNS 服务器](https://cloud.tencent.com/document/product/1552/90452)。
|
|
15101
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
15102
|
+
:type NsVerification: :class:`tencentcloud.teo.v20220901.models.NsVerification`
|
|
15103
|
+
"""
|
|
15104
|
+
self._DnsVerification = None
|
|
15105
|
+
self._FileVerification = None
|
|
15106
|
+
self._NsVerification = None
|
|
15107
|
+
|
|
15108
|
+
@property
|
|
15109
|
+
def DnsVerification(self):
|
|
15110
|
+
return self._DnsVerification
|
|
15111
|
+
|
|
15112
|
+
@DnsVerification.setter
|
|
15113
|
+
def DnsVerification(self, DnsVerification):
|
|
15114
|
+
self._DnsVerification = DnsVerification
|
|
15115
|
+
|
|
15116
|
+
@property
|
|
15117
|
+
def FileVerification(self):
|
|
15118
|
+
return self._FileVerification
|
|
15119
|
+
|
|
15120
|
+
@FileVerification.setter
|
|
15121
|
+
def FileVerification(self, FileVerification):
|
|
15122
|
+
self._FileVerification = FileVerification
|
|
15123
|
+
|
|
15124
|
+
@property
|
|
15125
|
+
def NsVerification(self):
|
|
15126
|
+
return self._NsVerification
|
|
15127
|
+
|
|
15128
|
+
@NsVerification.setter
|
|
15129
|
+
def NsVerification(self, NsVerification):
|
|
15130
|
+
self._NsVerification = NsVerification
|
|
15131
|
+
|
|
15132
|
+
|
|
15133
|
+
def _deserialize(self, params):
|
|
15134
|
+
if params.get("DnsVerification") is not None:
|
|
15135
|
+
self._DnsVerification = DnsVerification()
|
|
15136
|
+
self._DnsVerification._deserialize(params.get("DnsVerification"))
|
|
15137
|
+
if params.get("FileVerification") is not None:
|
|
15138
|
+
self._FileVerification = FileVerification()
|
|
15139
|
+
self._FileVerification._deserialize(params.get("FileVerification"))
|
|
15140
|
+
if params.get("NsVerification") is not None:
|
|
15141
|
+
self._NsVerification = NsVerification()
|
|
15142
|
+
self._NsVerification._deserialize(params.get("NsVerification"))
|
|
15143
|
+
memeber_set = set(params.keys())
|
|
15144
|
+
for name, value in vars(self).items():
|
|
15145
|
+
property_name = name[1:]
|
|
15146
|
+
if property_name in memeber_set:
|
|
15147
|
+
memeber_set.remove(property_name)
|
|
15148
|
+
if len(memeber_set) > 0:
|
|
15149
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
15150
|
+
|
|
15151
|
+
|
|
15152
|
+
|
|
14845
15153
|
class PartialModule(AbstractModel):
|
|
14846
15154
|
"""例外规则的详细模块配置。
|
|
14847
15155
|
|
|
@@ -19006,7 +19314,7 @@ class Zone(AbstractModel):
|
|
|
19006
19314
|
|
|
19007
19315
|
def __init__(self):
|
|
19008
19316
|
r"""
|
|
19009
|
-
:param _ZoneId: 站点ID。
|
|
19317
|
+
:param _ZoneId: 站点 ID。
|
|
19010
19318
|
:type ZoneId: str
|
|
19011
19319
|
:param _ZoneName: 站点名称。
|
|
19012
19320
|
:type ZoneName: str
|
|
@@ -19019,11 +19327,13 @@ class Zone(AbstractModel):
|
|
|
19019
19327
|
<li> pending:NS 未切换;</li>
|
|
19020
19328
|
<li> moved:NS 已切走;</li>
|
|
19021
19329
|
<li> deactivated:被封禁。 </li>
|
|
19330
|
+
<li> initializing:待绑定套餐。 </li>
|
|
19022
19331
|
:type Status: str
|
|
19023
|
-
:param _Type:
|
|
19024
|
-
<li> full:NS
|
|
19332
|
+
:param _Type: 站点接入方式,取值有:
|
|
19333
|
+
<li> full:NS 接入;</li>
|
|
19025
19334
|
<li> partial:CNAME 接入;</li>
|
|
19026
|
-
<li> noDomainAccess
|
|
19335
|
+
<li> noDomainAccess:无域名接入;</li>
|
|
19336
|
+
<li> vodeo:vodeo默认站点。</li>
|
|
19027
19337
|
:type Type: str
|
|
19028
19338
|
:param _Paused: 站点是否关闭。
|
|
19029
19339
|
:type Paused: bool
|
|
@@ -19066,8 +19376,11 @@ class Zone(AbstractModel):
|
|
|
19066
19376
|
<li> 0:非伪站点;</li>
|
|
19067
19377
|
<li> 1:伪站点。</li>
|
|
19068
19378
|
:type IsFake: int
|
|
19069
|
-
:param _LockStatus: 锁定状态,取值有:<li> enable:正常,允许进行修改操作;</li><li> disable
|
|
19379
|
+
:param _LockStatus: 锁定状态,取值有:<li> enable:正常,允许进行修改操作;</li><li> disable:锁定中,不允许进行修改操作;</li><li> plan_migrate:套餐迁移中,不允许进行修改操作。</li>
|
|
19070
19380
|
:type LockStatus: str
|
|
19381
|
+
:param _OwnershipVerification: 归属权验证信息。
|
|
19382
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
19383
|
+
:type OwnershipVerification: :class:`tencentcloud.teo.v20220901.models.OwnershipVerification`
|
|
19071
19384
|
"""
|
|
19072
19385
|
self._ZoneId = None
|
|
19073
19386
|
self._ZoneName = None
|
|
@@ -19089,6 +19402,7 @@ class Zone(AbstractModel):
|
|
|
19089
19402
|
self._AliasZoneName = None
|
|
19090
19403
|
self._IsFake = None
|
|
19091
19404
|
self._LockStatus = None
|
|
19405
|
+
self._OwnershipVerification = None
|
|
19092
19406
|
|
|
19093
19407
|
@property
|
|
19094
19408
|
def ZoneId(self):
|
|
@@ -19250,6 +19564,14 @@ class Zone(AbstractModel):
|
|
|
19250
19564
|
def LockStatus(self, LockStatus):
|
|
19251
19565
|
self._LockStatus = LockStatus
|
|
19252
19566
|
|
|
19567
|
+
@property
|
|
19568
|
+
def OwnershipVerification(self):
|
|
19569
|
+
return self._OwnershipVerification
|
|
19570
|
+
|
|
19571
|
+
@OwnershipVerification.setter
|
|
19572
|
+
def OwnershipVerification(self, OwnershipVerification):
|
|
19573
|
+
self._OwnershipVerification = OwnershipVerification
|
|
19574
|
+
|
|
19253
19575
|
|
|
19254
19576
|
def _deserialize(self, params):
|
|
19255
19577
|
self._ZoneId = params.get("ZoneId")
|
|
@@ -19289,6 +19611,9 @@ class Zone(AbstractModel):
|
|
|
19289
19611
|
self._AliasZoneName = params.get("AliasZoneName")
|
|
19290
19612
|
self._IsFake = params.get("IsFake")
|
|
19291
19613
|
self._LockStatus = params.get("LockStatus")
|
|
19614
|
+
if params.get("OwnershipVerification") is not None:
|
|
19615
|
+
self._OwnershipVerification = OwnershipVerification()
|
|
19616
|
+
self._OwnershipVerification._deserialize(params.get("OwnershipVerification"))
|
|
19292
19617
|
memeber_set = set(params.keys())
|
|
19293
19618
|
for name, value in vars(self).items():
|
|
19294
19619
|
property_name = name[1:]
|
|
@@ -73,7 +73,9 @@ class TeoClient(AbstractClient):
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
def CreateAccelerationDomain(self, request):
|
|
76
|
-
"""
|
|
76
|
+
"""在创建完站点之后,您可以通过本接口创建加速域名。
|
|
77
|
+
|
|
78
|
+
CNAME 模式接入时,若您未完成站点归属权校验,本接口将为您返回域名归属权验证信息,您可以单独对域名进行归属权验证,详情参考 [站点/域名归属权验证](https://cloud.tencent.com/document/product/1552/70789)。
|
|
77
79
|
|
|
78
80
|
:param request: Request instance for CreateAccelerationDomain.
|
|
79
81
|
:type request: :class:`tencentcloud.teo.v20220901.models.CreateAccelerationDomainRequest`
|
|
@@ -328,7 +330,9 @@ class TeoClient(AbstractClient):
|
|
|
328
330
|
|
|
329
331
|
|
|
330
332
|
def CreateZone(self, request):
|
|
331
|
-
"""
|
|
333
|
+
"""EdgeOne 为您提供 CNAME、NS 和无域名接入三种接入方式,您需要先通过此接口完成站点创建。CNAME 和 NS 接入站点的场景可参考 [从零开始快速接入 EdgeOne](https://cloud.tencent.com/document/product/1552/87601); 无域名接入的场景可参考 [快速启用四层代理服务](https://cloud.tencent.com/document/product/1552/96051)。
|
|
334
|
+
|
|
335
|
+
> 建议您在账号下已存在套餐时调用本接口创建站点,请在入参时传入 PlanId ,直接将站点绑定至该套餐;不传入 PlanId 时,创建出来的站点会处于未激活状态,无法正常服务,您需要通过 [BindZoneToPlan](https://cloud.tencent.com/document/product/1552/83042) 完成套餐绑定之后,站点才可正常提供服务 。若您当前没有可绑定的套餐时,请前往控制台购买套餐完成站点创建。
|
|
332
336
|
|
|
333
337
|
:param request: Request instance for CreateZone.
|
|
334
338
|
:type request: :class:`tencentcloud.teo.v20220901.models.CreateZoneRequest`
|
|
@@ -535,7 +539,7 @@ class TeoClient(AbstractClient):
|
|
|
535
539
|
|
|
536
540
|
|
|
537
541
|
def DescribeAccelerationDomains(self, request):
|
|
538
|
-
"""
|
|
542
|
+
"""您可以通过本接口查看站点下的域名信息,包括加速域名、源站以及域名状态等信息。您可以查看站点下全部域名的信息,也可以指定过滤条件查询对应的域名信息。
|
|
539
543
|
|
|
540
544
|
:param request: Request instance for DescribeAccelerationDomains.
|
|
541
545
|
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeAccelerationDomainsRequest`
|
|
@@ -1087,7 +1091,7 @@ class TeoClient(AbstractClient):
|
|
|
1087
1091
|
|
|
1088
1092
|
|
|
1089
1093
|
def DescribeZones(self, request):
|
|
1090
|
-
"""
|
|
1094
|
+
"""该接口用于查询您有权限的站点信息。可根据不同查询条件筛选站点。
|
|
1091
1095
|
|
|
1092
1096
|
:param request: Request instance for DescribeZones.
|
|
1093
1097
|
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeZonesRequest`
|
|
@@ -1363,7 +1367,9 @@ class TeoClient(AbstractClient):
|
|
|
1363
1367
|
|
|
1364
1368
|
|
|
1365
1369
|
def ModifyHostsCertificate(self, request):
|
|
1366
|
-
"""
|
|
1370
|
+
"""完成域名创建之后,您可以为域名配置自有证书,也可以使用 EdgeOne 为您提供的 [免费证书](https://cloud.tencent.com/document/product/1552/90437)。
|
|
1371
|
+
如果您需要配置自有证书,请先将证书上传至 [SSL证书控制台](https://console.cloud.tencent.com/certoverview),然后在本接口中传入对应的证书 ID。详情参考 [部署自有证书至 EdgeOne 域名
|
|
1372
|
+
](https://cloud.tencent.com/document/product/1552/88874)。
|
|
1367
1373
|
|
|
1368
1374
|
:param request: Request instance for ModifyHostsCertificate.
|
|
1369
1375
|
:type request: :class:`tencentcloud.teo.v20220901.models.ModifyHostsCertificateRequest`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.988
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.987
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|