tencentcloud-sdk-python-teo 3.0.1427__tar.gz → 3.0.1435__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.1427 → tencentcloud-sdk-python-teo-3.0.1435}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-teo-3.0.1427 → tencentcloud-sdk-python-teo-3.0.1435}/setup.py +1 -1
- {tencentcloud-sdk-python-teo-3.0.1427 → tencentcloud-sdk-python-teo-3.0.1435}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-teo-3.0.1427 → tencentcloud-sdk-python-teo-3.0.1435}/tencentcloud/teo/v20220901/errorcodes.py +3 -0
- {tencentcloud-sdk-python-teo-3.0.1427 → tencentcloud-sdk-python-teo-3.0.1435}/tencentcloud/teo/v20220901/models.py +343 -2
- {tencentcloud-sdk-python-teo-3.0.1427 → tencentcloud-sdk-python-teo-3.0.1435}/tencentcloud/teo/v20220901/teo_client.py +46 -0
- {tencentcloud-sdk-python-teo-3.0.1427 → tencentcloud-sdk-python-teo-3.0.1435}/tencentcloud_sdk_python_teo.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-teo-3.0.1435/tencentcloud_sdk_python_teo.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-teo-3.0.1427/tencentcloud_sdk_python_teo.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-teo-3.0.1427 → tencentcloud-sdk-python-teo-3.0.1435}/README.rst +0 -0
- {tencentcloud-sdk-python-teo-3.0.1427 → tencentcloud-sdk-python-teo-3.0.1435}/setup.cfg +0 -0
- {tencentcloud-sdk-python-teo-3.0.1427 → tencentcloud-sdk-python-teo-3.0.1435}/tencentcloud/teo/__init__.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1427 → tencentcloud-sdk-python-teo-3.0.1435}/tencentcloud/teo/v20220106/__init__.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1427 → tencentcloud-sdk-python-teo-3.0.1435}/tencentcloud/teo/v20220106/errorcodes.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1427 → tencentcloud-sdk-python-teo-3.0.1435}/tencentcloud/teo/v20220106/models.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1427 → tencentcloud-sdk-python-teo-3.0.1435}/tencentcloud/teo/v20220106/teo_client.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1427 → tencentcloud-sdk-python-teo-3.0.1435}/tencentcloud/teo/v20220901/__init__.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1427 → tencentcloud-sdk-python-teo-3.0.1435}/tencentcloud_sdk_python_teo.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-teo-3.0.1427 → tencentcloud-sdk-python-teo-3.0.1435}/tencentcloud_sdk_python_teo.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-teo-3.0.1427 → tencentcloud-sdk-python-teo-3.0.1435}/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.1435,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Teo SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1148,6 +1148,9 @@ OPERATIONDENIED_RESOURCEHASBEENLOCKED = 'OperationDenied.ResourceHasBeenLocked'
|
|
|
1148
1148
|
# 当前有互相排斥的请求操作并行发起,请稍后重试。
|
|
1149
1149
|
OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = 'OperationDenied.ResourceLockedTemporary'
|
|
1150
1150
|
|
|
1151
|
+
# 高级防护资源售卖火爆,已售罄,正在加紧补货中,当前无法开启高级防护,请您耐心等待。
|
|
1152
|
+
OPERATIONDENIED_SECURITYLACKOFRESOURCES = 'OperationDenied.SecurityLackOfResources'
|
|
1153
|
+
|
|
1151
1154
|
# 绑定在共享 CNAME 中的域名不允许变更 中国大陆网络优化(国际加速)访问,如果您需要单独变更,请先将域名从共享 CNAME 中解绑。
|
|
1152
1155
|
OPERATIONDENIED_SHAREDCNAMEUNSUPPORTEDACCELERATEMAINLAND = 'OperationDenied.SharedCNAMEUnsupportedAccelerateMainland'
|
|
1153
1156
|
|
|
@@ -12711,6 +12711,90 @@ class DDoSBlockData(AbstractModel):
|
|
|
12711
12711
|
|
|
12712
12712
|
|
|
12713
12713
|
|
|
12714
|
+
class DDoSProtection(AbstractModel):
|
|
12715
|
+
"""独立 DDoS 防护配置。
|
|
12716
|
+
|
|
12717
|
+
"""
|
|
12718
|
+
|
|
12719
|
+
def __init__(self):
|
|
12720
|
+
r"""
|
|
12721
|
+
:param _ProtectionOption: 指定独立 DDoS 的防护范围。取值为:
|
|
12722
|
+
<li> protect_all_domains:独立 DDoS 防护对站点内全部域名生效,新接入域名自动开启独立 DDoS 防护,入参为 protect_all_domains 时,入参 DomainDDoSProtections 不作处理;</li>
|
|
12723
|
+
<li> protect_specified_domains:仅对指定域名生效,具体范围可通过 DomainDDoSProtection 参数指定。</li>
|
|
12724
|
+
:type ProtectionOption: str
|
|
12725
|
+
:param _DomainDDoSProtections: 域名的独立 DDoS 防护配置。在入参场景中:
|
|
12726
|
+
<li> 当 ProtectionOption 保持为 protect_specified_domains 时:未填写的域名维持原有独立 DDoS 防护配置不变,显式指定的域名按传入参数更新;</li>
|
|
12727
|
+
<li> 当 ProtectionOption 由 protect_all_domains 切换为 protect_specified_domains 时:若 DomainDDoSProtections 传空,停用站点下全部域名的独立 DDoS 防护;若 DomainDDoSProtections 不为空,参数中指定的域名停用或保持独立 DDoS 防护,其余未列出的域名统一停用独立 DDoS 防护。</li>
|
|
12728
|
+
:type DomainDDoSProtections: list of DomainDDoSProtection
|
|
12729
|
+
:param _SharedCNAMEDDoSProtections: 共享 CNAME 的独立 DDoS 防护配置。仅作为出参使用。
|
|
12730
|
+
:type SharedCNAMEDDoSProtections: list of DomainDDoSProtection
|
|
12731
|
+
"""
|
|
12732
|
+
self._ProtectionOption = None
|
|
12733
|
+
self._DomainDDoSProtections = None
|
|
12734
|
+
self._SharedCNAMEDDoSProtections = None
|
|
12735
|
+
|
|
12736
|
+
@property
|
|
12737
|
+
def ProtectionOption(self):
|
|
12738
|
+
"""指定独立 DDoS 的防护范围。取值为:
|
|
12739
|
+
<li> protect_all_domains:独立 DDoS 防护对站点内全部域名生效,新接入域名自动开启独立 DDoS 防护,入参为 protect_all_domains 时,入参 DomainDDoSProtections 不作处理;</li>
|
|
12740
|
+
<li> protect_specified_domains:仅对指定域名生效,具体范围可通过 DomainDDoSProtection 参数指定。</li>
|
|
12741
|
+
:rtype: str
|
|
12742
|
+
"""
|
|
12743
|
+
return self._ProtectionOption
|
|
12744
|
+
|
|
12745
|
+
@ProtectionOption.setter
|
|
12746
|
+
def ProtectionOption(self, ProtectionOption):
|
|
12747
|
+
self._ProtectionOption = ProtectionOption
|
|
12748
|
+
|
|
12749
|
+
@property
|
|
12750
|
+
def DomainDDoSProtections(self):
|
|
12751
|
+
"""域名的独立 DDoS 防护配置。在入参场景中:
|
|
12752
|
+
<li> 当 ProtectionOption 保持为 protect_specified_domains 时:未填写的域名维持原有独立 DDoS 防护配置不变,显式指定的域名按传入参数更新;</li>
|
|
12753
|
+
<li> 当 ProtectionOption 由 protect_all_domains 切换为 protect_specified_domains 时:若 DomainDDoSProtections 传空,停用站点下全部域名的独立 DDoS 防护;若 DomainDDoSProtections 不为空,参数中指定的域名停用或保持独立 DDoS 防护,其余未列出的域名统一停用独立 DDoS 防护。</li>
|
|
12754
|
+
:rtype: list of DomainDDoSProtection
|
|
12755
|
+
"""
|
|
12756
|
+
return self._DomainDDoSProtections
|
|
12757
|
+
|
|
12758
|
+
@DomainDDoSProtections.setter
|
|
12759
|
+
def DomainDDoSProtections(self, DomainDDoSProtections):
|
|
12760
|
+
self._DomainDDoSProtections = DomainDDoSProtections
|
|
12761
|
+
|
|
12762
|
+
@property
|
|
12763
|
+
def SharedCNAMEDDoSProtections(self):
|
|
12764
|
+
"""共享 CNAME 的独立 DDoS 防护配置。仅作为出参使用。
|
|
12765
|
+
:rtype: list of DomainDDoSProtection
|
|
12766
|
+
"""
|
|
12767
|
+
return self._SharedCNAMEDDoSProtections
|
|
12768
|
+
|
|
12769
|
+
@SharedCNAMEDDoSProtections.setter
|
|
12770
|
+
def SharedCNAMEDDoSProtections(self, SharedCNAMEDDoSProtections):
|
|
12771
|
+
self._SharedCNAMEDDoSProtections = SharedCNAMEDDoSProtections
|
|
12772
|
+
|
|
12773
|
+
|
|
12774
|
+
def _deserialize(self, params):
|
|
12775
|
+
self._ProtectionOption = params.get("ProtectionOption")
|
|
12776
|
+
if params.get("DomainDDoSProtections") is not None:
|
|
12777
|
+
self._DomainDDoSProtections = []
|
|
12778
|
+
for item in params.get("DomainDDoSProtections"):
|
|
12779
|
+
obj = DomainDDoSProtection()
|
|
12780
|
+
obj._deserialize(item)
|
|
12781
|
+
self._DomainDDoSProtections.append(obj)
|
|
12782
|
+
if params.get("SharedCNAMEDDoSProtections") is not None:
|
|
12783
|
+
self._SharedCNAMEDDoSProtections = []
|
|
12784
|
+
for item in params.get("SharedCNAMEDDoSProtections"):
|
|
12785
|
+
obj = DomainDDoSProtection()
|
|
12786
|
+
obj._deserialize(item)
|
|
12787
|
+
self._SharedCNAMEDDoSProtections.append(obj)
|
|
12788
|
+
memeber_set = set(params.keys())
|
|
12789
|
+
for name, value in vars(self).items():
|
|
12790
|
+
property_name = name[1:]
|
|
12791
|
+
if property_name in memeber_set:
|
|
12792
|
+
memeber_set.remove(property_name)
|
|
12793
|
+
if len(memeber_set) > 0:
|
|
12794
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12795
|
+
|
|
12796
|
+
|
|
12797
|
+
|
|
12714
12798
|
class DDosProtectionConfig(AbstractModel):
|
|
12715
12799
|
"""适用于四层代理或 Web 站点服务的独立 DDoS 防护规格配置。
|
|
12716
12800
|
|
|
@@ -17367,6 +17451,87 @@ class DescribeDDoSAttackTopDataResponse(AbstractModel):
|
|
|
17367
17451
|
self._RequestId = params.get("RequestId")
|
|
17368
17452
|
|
|
17369
17453
|
|
|
17454
|
+
class DescribeDDoSProtectionRequest(AbstractModel):
|
|
17455
|
+
"""DescribeDDoSProtection请求参数结构体
|
|
17456
|
+
|
|
17457
|
+
"""
|
|
17458
|
+
|
|
17459
|
+
def __init__(self):
|
|
17460
|
+
r"""
|
|
17461
|
+
:param _ZoneId: 站点 ID。
|
|
17462
|
+
:type ZoneId: str
|
|
17463
|
+
"""
|
|
17464
|
+
self._ZoneId = None
|
|
17465
|
+
|
|
17466
|
+
@property
|
|
17467
|
+
def ZoneId(self):
|
|
17468
|
+
"""站点 ID。
|
|
17469
|
+
:rtype: str
|
|
17470
|
+
"""
|
|
17471
|
+
return self._ZoneId
|
|
17472
|
+
|
|
17473
|
+
@ZoneId.setter
|
|
17474
|
+
def ZoneId(self, ZoneId):
|
|
17475
|
+
self._ZoneId = ZoneId
|
|
17476
|
+
|
|
17477
|
+
|
|
17478
|
+
def _deserialize(self, params):
|
|
17479
|
+
self._ZoneId = params.get("ZoneId")
|
|
17480
|
+
memeber_set = set(params.keys())
|
|
17481
|
+
for name, value in vars(self).items():
|
|
17482
|
+
property_name = name[1:]
|
|
17483
|
+
if property_name in memeber_set:
|
|
17484
|
+
memeber_set.remove(property_name)
|
|
17485
|
+
if len(memeber_set) > 0:
|
|
17486
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
17487
|
+
|
|
17488
|
+
|
|
17489
|
+
|
|
17490
|
+
class DescribeDDoSProtectionResponse(AbstractModel):
|
|
17491
|
+
"""DescribeDDoSProtection返回参数结构体
|
|
17492
|
+
|
|
17493
|
+
"""
|
|
17494
|
+
|
|
17495
|
+
def __init__(self):
|
|
17496
|
+
r"""
|
|
17497
|
+
:param _DDoSProtection: 独立 DDoS 防护配置。用于控制独立 DDoS 防护的生效范围。
|
|
17498
|
+
:type DDoSProtection: :class:`tencentcloud.teo.v20220901.models.DDoSProtection`
|
|
17499
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
17500
|
+
:type RequestId: str
|
|
17501
|
+
"""
|
|
17502
|
+
self._DDoSProtection = None
|
|
17503
|
+
self._RequestId = None
|
|
17504
|
+
|
|
17505
|
+
@property
|
|
17506
|
+
def DDoSProtection(self):
|
|
17507
|
+
"""独立 DDoS 防护配置。用于控制独立 DDoS 防护的生效范围。
|
|
17508
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DDoSProtection`
|
|
17509
|
+
"""
|
|
17510
|
+
return self._DDoSProtection
|
|
17511
|
+
|
|
17512
|
+
@DDoSProtection.setter
|
|
17513
|
+
def DDoSProtection(self, DDoSProtection):
|
|
17514
|
+
self._DDoSProtection = DDoSProtection
|
|
17515
|
+
|
|
17516
|
+
@property
|
|
17517
|
+
def RequestId(self):
|
|
17518
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
17519
|
+
:rtype: str
|
|
17520
|
+
"""
|
|
17521
|
+
return self._RequestId
|
|
17522
|
+
|
|
17523
|
+
@RequestId.setter
|
|
17524
|
+
def RequestId(self, RequestId):
|
|
17525
|
+
self._RequestId = RequestId
|
|
17526
|
+
|
|
17527
|
+
|
|
17528
|
+
def _deserialize(self, params):
|
|
17529
|
+
if params.get("DDoSProtection") is not None:
|
|
17530
|
+
self._DDoSProtection = DDoSProtection()
|
|
17531
|
+
self._DDoSProtection._deserialize(params.get("DDoSProtection"))
|
|
17532
|
+
self._RequestId = params.get("RequestId")
|
|
17533
|
+
|
|
17534
|
+
|
|
17370
17535
|
class DescribeDefaultCertificatesRequest(AbstractModel):
|
|
17371
17536
|
"""DescribeDefaultCertificates请求参数结构体
|
|
17372
17537
|
|
|
@@ -25155,6 +25320,61 @@ class DnsVerification(AbstractModel):
|
|
|
25155
25320
|
|
|
25156
25321
|
|
|
25157
25322
|
|
|
25323
|
+
class DomainDDoSProtection(AbstractModel):
|
|
25324
|
+
"""域名的独立 DDoS 防护信息。
|
|
25325
|
+
|
|
25326
|
+
"""
|
|
25327
|
+
|
|
25328
|
+
def __init__(self):
|
|
25329
|
+
r"""
|
|
25330
|
+
:param _Domain: 域名。
|
|
25331
|
+
:type Domain: str
|
|
25332
|
+
:param _Switch: 域名的独立 DDoS 开关,取值为:
|
|
25333
|
+
<li> on:已开启;</li>
|
|
25334
|
+
<li> off:已关闭。</li>
|
|
25335
|
+
:type Switch: str
|
|
25336
|
+
"""
|
|
25337
|
+
self._Domain = None
|
|
25338
|
+
self._Switch = None
|
|
25339
|
+
|
|
25340
|
+
@property
|
|
25341
|
+
def Domain(self):
|
|
25342
|
+
"""域名。
|
|
25343
|
+
:rtype: str
|
|
25344
|
+
"""
|
|
25345
|
+
return self._Domain
|
|
25346
|
+
|
|
25347
|
+
@Domain.setter
|
|
25348
|
+
def Domain(self, Domain):
|
|
25349
|
+
self._Domain = Domain
|
|
25350
|
+
|
|
25351
|
+
@property
|
|
25352
|
+
def Switch(self):
|
|
25353
|
+
"""域名的独立 DDoS 开关,取值为:
|
|
25354
|
+
<li> on:已开启;</li>
|
|
25355
|
+
<li> off:已关闭。</li>
|
|
25356
|
+
:rtype: str
|
|
25357
|
+
"""
|
|
25358
|
+
return self._Switch
|
|
25359
|
+
|
|
25360
|
+
@Switch.setter
|
|
25361
|
+
def Switch(self, Switch):
|
|
25362
|
+
self._Switch = Switch
|
|
25363
|
+
|
|
25364
|
+
|
|
25365
|
+
def _deserialize(self, params):
|
|
25366
|
+
self._Domain = params.get("Domain")
|
|
25367
|
+
self._Switch = params.get("Switch")
|
|
25368
|
+
memeber_set = set(params.keys())
|
|
25369
|
+
for name, value in vars(self).items():
|
|
25370
|
+
property_name = name[1:]
|
|
25371
|
+
if property_name in memeber_set:
|
|
25372
|
+
memeber_set.remove(property_name)
|
|
25373
|
+
if len(memeber_set) > 0:
|
|
25374
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
25375
|
+
|
|
25376
|
+
|
|
25377
|
+
|
|
25158
25378
|
class DownloadL4LogsRequest(AbstractModel):
|
|
25159
25379
|
"""DownloadL4Logs请求参数结构体
|
|
25160
25380
|
|
|
@@ -33619,6 +33839,87 @@ class ModifyCustomErrorPageResponse(AbstractModel):
|
|
|
33619
33839
|
self._RequestId = params.get("RequestId")
|
|
33620
33840
|
|
|
33621
33841
|
|
|
33842
|
+
class ModifyDDoSProtectionRequest(AbstractModel):
|
|
33843
|
+
"""ModifyDDoSProtection请求参数结构体
|
|
33844
|
+
|
|
33845
|
+
"""
|
|
33846
|
+
|
|
33847
|
+
def __init__(self):
|
|
33848
|
+
r"""
|
|
33849
|
+
:param _ZoneId: 站点 ID。
|
|
33850
|
+
:type ZoneId: str
|
|
33851
|
+
:param _DDoSProtection: 独立 DDoS 防护配置。
|
|
33852
|
+
:type DDoSProtection: :class:`tencentcloud.teo.v20220901.models.DDoSProtection`
|
|
33853
|
+
"""
|
|
33854
|
+
self._ZoneId = None
|
|
33855
|
+
self._DDoSProtection = None
|
|
33856
|
+
|
|
33857
|
+
@property
|
|
33858
|
+
def ZoneId(self):
|
|
33859
|
+
"""站点 ID。
|
|
33860
|
+
:rtype: str
|
|
33861
|
+
"""
|
|
33862
|
+
return self._ZoneId
|
|
33863
|
+
|
|
33864
|
+
@ZoneId.setter
|
|
33865
|
+
def ZoneId(self, ZoneId):
|
|
33866
|
+
self._ZoneId = ZoneId
|
|
33867
|
+
|
|
33868
|
+
@property
|
|
33869
|
+
def DDoSProtection(self):
|
|
33870
|
+
"""独立 DDoS 防护配置。
|
|
33871
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DDoSProtection`
|
|
33872
|
+
"""
|
|
33873
|
+
return self._DDoSProtection
|
|
33874
|
+
|
|
33875
|
+
@DDoSProtection.setter
|
|
33876
|
+
def DDoSProtection(self, DDoSProtection):
|
|
33877
|
+
self._DDoSProtection = DDoSProtection
|
|
33878
|
+
|
|
33879
|
+
|
|
33880
|
+
def _deserialize(self, params):
|
|
33881
|
+
self._ZoneId = params.get("ZoneId")
|
|
33882
|
+
if params.get("DDoSProtection") is not None:
|
|
33883
|
+
self._DDoSProtection = DDoSProtection()
|
|
33884
|
+
self._DDoSProtection._deserialize(params.get("DDoSProtection"))
|
|
33885
|
+
memeber_set = set(params.keys())
|
|
33886
|
+
for name, value in vars(self).items():
|
|
33887
|
+
property_name = name[1:]
|
|
33888
|
+
if property_name in memeber_set:
|
|
33889
|
+
memeber_set.remove(property_name)
|
|
33890
|
+
if len(memeber_set) > 0:
|
|
33891
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
33892
|
+
|
|
33893
|
+
|
|
33894
|
+
|
|
33895
|
+
class ModifyDDoSProtectionResponse(AbstractModel):
|
|
33896
|
+
"""ModifyDDoSProtection返回参数结构体
|
|
33897
|
+
|
|
33898
|
+
"""
|
|
33899
|
+
|
|
33900
|
+
def __init__(self):
|
|
33901
|
+
r"""
|
|
33902
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
33903
|
+
:type RequestId: str
|
|
33904
|
+
"""
|
|
33905
|
+
self._RequestId = None
|
|
33906
|
+
|
|
33907
|
+
@property
|
|
33908
|
+
def RequestId(self):
|
|
33909
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
33910
|
+
:rtype: str
|
|
33911
|
+
"""
|
|
33912
|
+
return self._RequestId
|
|
33913
|
+
|
|
33914
|
+
@RequestId.setter
|
|
33915
|
+
def RequestId(self, RequestId):
|
|
33916
|
+
self._RequestId = RequestId
|
|
33917
|
+
|
|
33918
|
+
|
|
33919
|
+
def _deserialize(self, params):
|
|
33920
|
+
self._RequestId = params.get("RequestId")
|
|
33921
|
+
|
|
33922
|
+
|
|
33622
33923
|
class ModifyDnsRecordsRequest(AbstractModel):
|
|
33623
33924
|
"""ModifyDnsRecords请求参数结构体
|
|
33624
33925
|
|
|
@@ -47635,7 +47936,7 @@ class Task(AbstractModel):
|
|
|
47635
47936
|
:param _Status: 状态。取值有:
|
|
47636
47937
|
<li>processing:处理中;</li>
|
|
47637
47938
|
<li>success:成功;</li>
|
|
47638
|
-
<li>
|
|
47939
|
+
<li>failed:失败;</li>
|
|
47639
47940
|
<li>timeout:超时;</li>
|
|
47640
47941
|
<li>canceled:已取消。</li>
|
|
47641
47942
|
:type Status: str
|
|
@@ -47643,6 +47944,15 @@ class Task(AbstractModel):
|
|
|
47643
47944
|
:type CreateTime: str
|
|
47644
47945
|
:param _UpdateTime: 任务完成时间。
|
|
47645
47946
|
:type UpdateTime: str
|
|
47947
|
+
:param _FailType: 刷新、预热失败类型。取值有:
|
|
47948
|
+
<li>taskFailed:任务失败;</li>
|
|
47949
|
+
<li>quotaExceeded:配额超限;</li>
|
|
47950
|
+
<li>downloadManifestFailed:下载描述文件失败;</li>
|
|
47951
|
+
<li>accessDenied:访问被拒绝。</li>
|
|
47952
|
+
<li>originPullFailed:回源失败。</li>
|
|
47953
|
+
:type FailType: str
|
|
47954
|
+
:param _FailMessage: 刷新、预热失败描述。
|
|
47955
|
+
:type FailMessage: str
|
|
47646
47956
|
"""
|
|
47647
47957
|
self._JobId = None
|
|
47648
47958
|
self._Target = None
|
|
@@ -47651,6 +47961,8 @@ class Task(AbstractModel):
|
|
|
47651
47961
|
self._Status = None
|
|
47652
47962
|
self._CreateTime = None
|
|
47653
47963
|
self._UpdateTime = None
|
|
47964
|
+
self._FailType = None
|
|
47965
|
+
self._FailMessage = None
|
|
47654
47966
|
|
|
47655
47967
|
@property
|
|
47656
47968
|
def JobId(self):
|
|
@@ -47703,7 +48015,7 @@ class Task(AbstractModel):
|
|
|
47703
48015
|
"""状态。取值有:
|
|
47704
48016
|
<li>processing:处理中;</li>
|
|
47705
48017
|
<li>success:成功;</li>
|
|
47706
|
-
<li>
|
|
48018
|
+
<li>failed:失败;</li>
|
|
47707
48019
|
<li>timeout:超时;</li>
|
|
47708
48020
|
<li>canceled:已取消。</li>
|
|
47709
48021
|
:rtype: str
|
|
@@ -47736,6 +48048,33 @@ class Task(AbstractModel):
|
|
|
47736
48048
|
def UpdateTime(self, UpdateTime):
|
|
47737
48049
|
self._UpdateTime = UpdateTime
|
|
47738
48050
|
|
|
48051
|
+
@property
|
|
48052
|
+
def FailType(self):
|
|
48053
|
+
"""刷新、预热失败类型。取值有:
|
|
48054
|
+
<li>taskFailed:任务失败;</li>
|
|
48055
|
+
<li>quotaExceeded:配额超限;</li>
|
|
48056
|
+
<li>downloadManifestFailed:下载描述文件失败;</li>
|
|
48057
|
+
<li>accessDenied:访问被拒绝。</li>
|
|
48058
|
+
<li>originPullFailed:回源失败。</li>
|
|
48059
|
+
:rtype: str
|
|
48060
|
+
"""
|
|
48061
|
+
return self._FailType
|
|
48062
|
+
|
|
48063
|
+
@FailType.setter
|
|
48064
|
+
def FailType(self, FailType):
|
|
48065
|
+
self._FailType = FailType
|
|
48066
|
+
|
|
48067
|
+
@property
|
|
48068
|
+
def FailMessage(self):
|
|
48069
|
+
"""刷新、预热失败描述。
|
|
48070
|
+
:rtype: str
|
|
48071
|
+
"""
|
|
48072
|
+
return self._FailMessage
|
|
48073
|
+
|
|
48074
|
+
@FailMessage.setter
|
|
48075
|
+
def FailMessage(self, FailMessage):
|
|
48076
|
+
self._FailMessage = FailMessage
|
|
48077
|
+
|
|
47739
48078
|
|
|
47740
48079
|
def _deserialize(self, params):
|
|
47741
48080
|
self._JobId = params.get("JobId")
|
|
@@ -47745,6 +48084,8 @@ class Task(AbstractModel):
|
|
|
47745
48084
|
self._Status = params.get("Status")
|
|
47746
48085
|
self._CreateTime = params.get("CreateTime")
|
|
47747
48086
|
self._UpdateTime = params.get("UpdateTime")
|
|
48087
|
+
self._FailType = params.get("FailType")
|
|
48088
|
+
self._FailMessage = params.get("FailMessage")
|
|
47748
48089
|
memeber_set = set(params.keys())
|
|
47749
48090
|
for name, value in vars(self).items():
|
|
47750
48091
|
property_name = name[1:]
|
|
@@ -1651,6 +1651,29 @@ class TeoClient(AbstractClient):
|
|
|
1651
1651
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1652
1652
|
|
|
1653
1653
|
|
|
1654
|
+
def DescribeDDoSProtection(self, request):
|
|
1655
|
+
"""获取站点的独立 DDoS 防护信息。
|
|
1656
|
+
|
|
1657
|
+
:param request: Request instance for DescribeDDoSProtection.
|
|
1658
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeDDoSProtectionRequest`
|
|
1659
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DescribeDDoSProtectionResponse`
|
|
1660
|
+
|
|
1661
|
+
"""
|
|
1662
|
+
try:
|
|
1663
|
+
params = request._serialize()
|
|
1664
|
+
headers = request.headers
|
|
1665
|
+
body = self.call("DescribeDDoSProtection", params, headers=headers)
|
|
1666
|
+
response = json.loads(body)
|
|
1667
|
+
model = models.DescribeDDoSProtectionResponse()
|
|
1668
|
+
model._deserialize(response["Response"])
|
|
1669
|
+
return model
|
|
1670
|
+
except Exception as e:
|
|
1671
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1672
|
+
raise
|
|
1673
|
+
else:
|
|
1674
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1675
|
+
|
|
1676
|
+
|
|
1654
1677
|
def DescribeDefaultCertificates(self, request):
|
|
1655
1678
|
"""查询默认证书列表
|
|
1656
1679
|
|
|
@@ -3170,6 +3193,29 @@ class TeoClient(AbstractClient):
|
|
|
3170
3193
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3171
3194
|
|
|
3172
3195
|
|
|
3196
|
+
def ModifyDDoSProtection(self, request):
|
|
3197
|
+
"""修改站点的独立 DDoS 防护。
|
|
3198
|
+
|
|
3199
|
+
:param request: Request instance for ModifyDDoSProtection.
|
|
3200
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.ModifyDDoSProtectionRequest`
|
|
3201
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.ModifyDDoSProtectionResponse`
|
|
3202
|
+
|
|
3203
|
+
"""
|
|
3204
|
+
try:
|
|
3205
|
+
params = request._serialize()
|
|
3206
|
+
headers = request.headers
|
|
3207
|
+
body = self.call("ModifyDDoSProtection", params, headers=headers)
|
|
3208
|
+
response = json.loads(body)
|
|
3209
|
+
model = models.ModifyDDoSProtectionResponse()
|
|
3210
|
+
model._deserialize(response["Response"])
|
|
3211
|
+
return model
|
|
3212
|
+
except Exception as e:
|
|
3213
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3214
|
+
raise
|
|
3215
|
+
else:
|
|
3216
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3217
|
+
|
|
3218
|
+
|
|
3173
3219
|
def ModifyDnsRecords(self, request):
|
|
3174
3220
|
"""您可以通过本接口批量修改 DNS 记录。
|
|
3175
3221
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1435
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1427
|
|
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
|