tencentcloud-sdk-python-teo 3.1.143__tar.gz → 3.1.149__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.
Files changed (22) hide show
  1. {tencentcloud_sdk_python_teo-3.1.143 → tencentcloud_sdk_python_teo-3.1.149}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_teo-3.1.143 → tencentcloud_sdk_python_teo-3.1.149}/setup.py +1 -1
  3. {tencentcloud_sdk_python_teo-3.1.143 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_teo-3.1.143 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud/teo/v20220901/errorcodes.py +3 -0
  5. {tencentcloud_sdk_python_teo-3.1.143 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud/teo/v20220901/models.py +377 -98
  6. {tencentcloud_sdk_python_teo-3.1.143 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud/teo/v20220901/teo_client.py +23 -0
  7. {tencentcloud_sdk_python_teo-3.1.143 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud/teo/v20220901/teo_client_async.py +18 -0
  8. {tencentcloud_sdk_python_teo-3.1.143 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud_sdk_python_teo.egg-info/PKG-INFO +2 -2
  9. tencentcloud_sdk_python_teo-3.1.149/tencentcloud_sdk_python_teo.egg-info/requires.txt +1 -0
  10. tencentcloud_sdk_python_teo-3.1.143/tencentcloud_sdk_python_teo.egg-info/requires.txt +0 -1
  11. {tencentcloud_sdk_python_teo-3.1.143 → tencentcloud_sdk_python_teo-3.1.149}/README.rst +0 -0
  12. {tencentcloud_sdk_python_teo-3.1.143 → tencentcloud_sdk_python_teo-3.1.149}/setup.cfg +0 -0
  13. {tencentcloud_sdk_python_teo-3.1.143 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud/teo/__init__.py +0 -0
  14. {tencentcloud_sdk_python_teo-3.1.143 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud/teo/v20220106/__init__.py +0 -0
  15. {tencentcloud_sdk_python_teo-3.1.143 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud/teo/v20220106/errorcodes.py +0 -0
  16. {tencentcloud_sdk_python_teo-3.1.143 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud/teo/v20220106/models.py +0 -0
  17. {tencentcloud_sdk_python_teo-3.1.143 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud/teo/v20220106/teo_client.py +0 -0
  18. {tencentcloud_sdk_python_teo-3.1.143 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud/teo/v20220106/teo_client_async.py +0 -0
  19. {tencentcloud_sdk_python_teo-3.1.143 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud/teo/v20220901/__init__.py +0 -0
  20. {tencentcloud_sdk_python_teo-3.1.143 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud_sdk_python_teo.egg-info/SOURCES.txt +0 -0
  21. {tencentcloud_sdk_python_teo-3.1.143 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud_sdk_python_teo.egg-info/dependency_links.txt +0 -0
  22. {tencentcloud_sdk_python_teo-3.1.143 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud_sdk_python_teo.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-teo
3
- Version: 3.1.143
3
+ Version: 3.1.149
4
4
  Summary: Tencent Cloud Teo SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.143
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.149
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -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.1.143,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.149,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Teo SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.143'
17
+ __version__ = '3.1.149'
@@ -1319,6 +1319,9 @@ OPERATIONDENIED_NODOMAINACCESSZONEONLYSUPPORTMODIFYAREAANDALIASZONENAME = 'Opera
1319
1319
  # 无域名接入站点不支持除切换为CNAME接入类型以外的任何修改动作。
1320
1320
  OPERATIONDENIED_NODOMAINACCESSZONEONLYSUPPORTMODIFYTYPE = 'OperationDenied.NoDomainAccessZoneOnlySupportModifyType'
1321
1321
 
1322
+ # 当前站点下存在域名关联了专属加速IP,如需关闭「中国大陆网络优化」请先解绑专属IP后重试。
1323
+ OPERATIONDENIED_NOTALLOWCLOSEACCELERATEMAINLANDWHENDOMAINBOUNDEXCLUSIVEIP = 'OperationDenied.NotAllowCloseAccelerateMainlandWhenDomainBoundExclusiveIP'
1324
+
1322
1325
  # 当前高级回源优化功能仅针对白名单用户开放。
1323
1326
  OPERATIONDENIED_NOTINADVANCEDORIGINROUTINGWHITELIST = 'OperationDenied.NotInAdvancedOriginRoutingWhiteList'
1324
1327
 
@@ -389,54 +389,41 @@ class AccelerationDomain(AbstractModel):
389
389
 
390
390
  def __init__(self):
391
391
  r"""
392
- :param _ZoneId: 站点 ID。
392
+ :param _ZoneId: <p>站点 ID。</p>
393
393
  :type ZoneId: str
394
- :param _DomainName: 加速域名名称。
394
+ :param _DomainName: <p>加速域名名称。</p>
395
395
  :type DomainName: str
396
- :param _DomainStatus: 加速域名状态,取值有:
397
- <li>online:已生效;</li>
398
- <li>process:部署中;</li>
399
- <li>offline:已停用;</li>
400
- <li>forbidden:已封禁;</li>
401
- <li>init:未生效,待激活站点。</li>
396
+ :param _DomainStatus: <p>加速域名状态</p><p>枚举值:</p><ul><li>online: 已生效</li><li>process: 部署中</li><li>offline: 已停用</li><li>init: 未生效,待激活站点</li></ul>
402
397
  :type DomainStatus: str
403
- :param _Cname: CNAME 地址。
398
+ :param _Cname: <p>CNAME 地址。</p>
404
399
  :type Cname: str
405
- :param _IPv6Status: IPv6 状态,取值有:
406
- <li>follow:遵循站点IPv6配置;</li>
407
- <li>on:开启状态;</li>
408
- <li>off:关闭状态。</li>
400
+ :param _IPv6Status: <p>IPv6 状态,取值有:</p><li>follow:遵循站点IPv6配置;</li><li>on:开启状态;</li><li>off:关闭状态。</li>
409
401
  注意:此字段可能返回 null,表示取不到有效值。
410
402
  :type IPv6Status: str
411
- :param _IdentificationStatus: 加速域名归属权验证状态,取值有:
412
- <li>pending:待验证;</li>
413
- <li>finished:已完成验证。</li>
403
+ :param _IdentificationStatus: <p>加速域名归属权验证状态,取值有: </p><li>pending:待验证;</li><li>finished:已完成验证。</li>
414
404
  注意:此字段可能返回 null,表示取不到有效值。
415
405
  :type IdentificationStatus: str
416
- :param _OwnershipVerification: 加速域名需进行归属权验证才能继续提供服务时,该对象会携带对应验证方式所需要的信息。
406
+ :param _OwnershipVerification: <p>加速域名需进行归属权验证才能继续提供服务时,该对象会携带对应验证方式所需要的信息。</p>
417
407
  注意:此字段可能返回 null,表示取不到有效值。
418
408
  :type OwnershipVerification: :class:`tencentcloud.teo.v20220901.models.OwnershipVerification`
419
- :param _OriginDetail: 源站信息。
409
+ :param _OriginDetail: <p>源站信息。</p>
420
410
  注意:此字段可能返回 null,表示取不到有效值。
421
411
  :type OriginDetail: :class:`tencentcloud.teo.v20220901.models.OriginDetail`
422
- :param _OriginProtocol: 回源协议,取值有:
423
- <li>FOLLOW:协议跟随;</li>
424
- <li>HTTP:HTTP协议回源;</li>
425
- <li>HTTPS:HTTPS协议回源。</li>
412
+ :param _OriginProtocol: <p>回源协议,取值有:</p><li>FOLLOW:协议跟随;</li><li>HTTP:HTTP协议回源;</li><li>HTTPS:HTTPS协议回源。</li>
426
413
  注意:此字段可能返回 null,表示取不到有效值。
427
414
  :type OriginProtocol: str
428
- :param _HttpOriginPort: HTTP 回源端口。
415
+ :param _HttpOriginPort: <p>HTTP 回源端口。</p>
429
416
  注意:此字段可能返回 null,表示取不到有效值。
430
417
  :type HttpOriginPort: int
431
- :param _HttpsOriginPort: HTTPS 回源端口。
418
+ :param _HttpsOriginPort: <p>HTTPS 回源端口。</p>
432
419
  注意:此字段可能返回 null,表示取不到有效值。
433
420
  :type HttpsOriginPort: int
434
- :param _Certificate: 加速域名证书信息。
421
+ :param _Certificate: <p>加速域名证书信息。</p>
435
422
  注意:此字段可能返回 null,表示取不到有效值。
436
423
  :type Certificate: :class:`tencentcloud.teo.v20220901.models.AccelerationDomainCertificate`
437
- :param _CreatedOn: 创建时间。
424
+ :param _CreatedOn: <p>创建时间。</p>
438
425
  :type CreatedOn: str
439
- :param _ModifiedOn: 修改时间。
426
+ :param _ModifiedOn: <p>修改时间。</p>
440
427
  :type ModifiedOn: str
441
428
  """
442
429
  self._ZoneId = None
@@ -456,7 +443,7 @@ class AccelerationDomain(AbstractModel):
456
443
 
457
444
  @property
458
445
  def ZoneId(self):
459
- r"""站点 ID。
446
+ r"""<p>站点 ID。</p>
460
447
  :rtype: str
461
448
  """
462
449
  return self._ZoneId
@@ -467,7 +454,7 @@ class AccelerationDomain(AbstractModel):
467
454
 
468
455
  @property
469
456
  def DomainName(self):
470
- r"""加速域名名称。
457
+ r"""<p>加速域名名称。</p>
471
458
  :rtype: str
472
459
  """
473
460
  return self._DomainName
@@ -478,12 +465,7 @@ class AccelerationDomain(AbstractModel):
478
465
 
479
466
  @property
480
467
  def DomainStatus(self):
481
- r"""加速域名状态,取值有:
482
- <li>online:已生效;</li>
483
- <li>process:部署中;</li>
484
- <li>offline:已停用;</li>
485
- <li>forbidden:已封禁;</li>
486
- <li>init:未生效,待激活站点。</li>
468
+ r"""<p>加速域名状态</p><p>枚举值:</p><ul><li>online: 已生效</li><li>process: 部署中</li><li>offline: 已停用</li><li>init: 未生效,待激活站点</li></ul>
487
469
  :rtype: str
488
470
  """
489
471
  return self._DomainStatus
@@ -494,7 +476,7 @@ class AccelerationDomain(AbstractModel):
494
476
 
495
477
  @property
496
478
  def Cname(self):
497
- r"""CNAME 地址。
479
+ r"""<p>CNAME 地址。</p>
498
480
  :rtype: str
499
481
  """
500
482
  return self._Cname
@@ -505,10 +487,7 @@ class AccelerationDomain(AbstractModel):
505
487
 
506
488
  @property
507
489
  def IPv6Status(self):
508
- r"""IPv6 状态,取值有:
509
- <li>follow:遵循站点IPv6配置;</li>
510
- <li>on:开启状态;</li>
511
- <li>off:关闭状态。</li>
490
+ r"""<p>IPv6 状态,取值有:</p><li>follow:遵循站点IPv6配置;</li><li>on:开启状态;</li><li>off:关闭状态。</li>
512
491
  注意:此字段可能返回 null,表示取不到有效值。
513
492
  :rtype: str
514
493
  """
@@ -520,9 +499,7 @@ class AccelerationDomain(AbstractModel):
520
499
 
521
500
  @property
522
501
  def IdentificationStatus(self):
523
- r"""加速域名归属权验证状态,取值有:
524
- <li>pending:待验证;</li>
525
- <li>finished:已完成验证。</li>
502
+ r"""<p>加速域名归属权验证状态,取值有: </p><li>pending:待验证;</li><li>finished:已完成验证。</li>
526
503
  注意:此字段可能返回 null,表示取不到有效值。
527
504
  :rtype: str
528
505
  """
@@ -534,7 +511,7 @@ class AccelerationDomain(AbstractModel):
534
511
 
535
512
  @property
536
513
  def OwnershipVerification(self):
537
- r"""加速域名需进行归属权验证才能继续提供服务时,该对象会携带对应验证方式所需要的信息。
514
+ r"""<p>加速域名需进行归属权验证才能继续提供服务时,该对象会携带对应验证方式所需要的信息。</p>
538
515
  注意:此字段可能返回 null,表示取不到有效值。
539
516
  :rtype: :class:`tencentcloud.teo.v20220901.models.OwnershipVerification`
540
517
  """
@@ -546,7 +523,7 @@ class AccelerationDomain(AbstractModel):
546
523
 
547
524
  @property
548
525
  def OriginDetail(self):
549
- r"""源站信息。
526
+ r"""<p>源站信息。</p>
550
527
  注意:此字段可能返回 null,表示取不到有效值。
551
528
  :rtype: :class:`tencentcloud.teo.v20220901.models.OriginDetail`
552
529
  """
@@ -558,10 +535,7 @@ class AccelerationDomain(AbstractModel):
558
535
 
559
536
  @property
560
537
  def OriginProtocol(self):
561
- r"""回源协议,取值有:
562
- <li>FOLLOW:协议跟随;</li>
563
- <li>HTTP:HTTP协议回源;</li>
564
- <li>HTTPS:HTTPS协议回源。</li>
538
+ r"""<p>回源协议,取值有:</p><li>FOLLOW:协议跟随;</li><li>HTTP:HTTP协议回源;</li><li>HTTPS:HTTPS协议回源。</li>
565
539
  注意:此字段可能返回 null,表示取不到有效值。
566
540
  :rtype: str
567
541
  """
@@ -573,7 +547,7 @@ class AccelerationDomain(AbstractModel):
573
547
 
574
548
  @property
575
549
  def HttpOriginPort(self):
576
- r"""HTTP 回源端口。
550
+ r"""<p>HTTP 回源端口。</p>
577
551
  注意:此字段可能返回 null,表示取不到有效值。
578
552
  :rtype: int
579
553
  """
@@ -585,7 +559,7 @@ class AccelerationDomain(AbstractModel):
585
559
 
586
560
  @property
587
561
  def HttpsOriginPort(self):
588
- r"""HTTPS 回源端口。
562
+ r"""<p>HTTPS 回源端口。</p>
589
563
  注意:此字段可能返回 null,表示取不到有效值。
590
564
  :rtype: int
591
565
  """
@@ -597,7 +571,7 @@ class AccelerationDomain(AbstractModel):
597
571
 
598
572
  @property
599
573
  def Certificate(self):
600
- r"""加速域名证书信息。
574
+ r"""<p>加速域名证书信息。</p>
601
575
  注意:此字段可能返回 null,表示取不到有效值。
602
576
  :rtype: :class:`tencentcloud.teo.v20220901.models.AccelerationDomainCertificate`
603
577
  """
@@ -609,7 +583,7 @@ class AccelerationDomain(AbstractModel):
609
583
 
610
584
  @property
611
585
  def CreatedOn(self):
612
- r"""创建时间。
586
+ r"""<p>创建时间。</p>
613
587
  :rtype: str
614
588
  """
615
589
  return self._CreatedOn
@@ -620,7 +594,7 @@ class AccelerationDomain(AbstractModel):
620
594
 
621
595
  @property
622
596
  def ModifiedOn(self):
623
- r"""修改时间。
597
+ r"""<p>修改时间。</p>
624
598
  :rtype: str
625
599
  """
626
600
  return self._ModifiedOn
@@ -23522,6 +23496,150 @@ class DescribeHostsSettingResponse(AbstractModel):
23522
23496
  self._RequestId = params.get("RequestId")
23523
23497
 
23524
23498
 
23499
+ class DescribeIPGroupReferencesRequest(AbstractModel):
23500
+ r"""DescribeIPGroupReferences请求参数结构体
23501
+
23502
+ """
23503
+
23504
+ def __init__(self):
23505
+ r"""
23506
+ :param _ZoneId: <p>站点 ID。</p>
23507
+ :type ZoneId: str
23508
+ :param _GroupId: <p>IP 组 ID。</p>
23509
+ :type GroupId: int
23510
+ :param _Offset: <p>分页偏移量。</p><p>默认值:0</p>
23511
+ :type Offset: int
23512
+ :param _Limit: <p>分页查询引用 IP 组的配置条数。</p><p>取值范围:[1, 200]</p><p>默认值:20</p>
23513
+ :type Limit: int
23514
+ """
23515
+ self._ZoneId = None
23516
+ self._GroupId = None
23517
+ self._Offset = None
23518
+ self._Limit = None
23519
+
23520
+ @property
23521
+ def ZoneId(self):
23522
+ r"""<p>站点 ID。</p>
23523
+ :rtype: str
23524
+ """
23525
+ return self._ZoneId
23526
+
23527
+ @ZoneId.setter
23528
+ def ZoneId(self, ZoneId):
23529
+ self._ZoneId = ZoneId
23530
+
23531
+ @property
23532
+ def GroupId(self):
23533
+ r"""<p>IP 组 ID。</p>
23534
+ :rtype: int
23535
+ """
23536
+ return self._GroupId
23537
+
23538
+ @GroupId.setter
23539
+ def GroupId(self, GroupId):
23540
+ self._GroupId = GroupId
23541
+
23542
+ @property
23543
+ def Offset(self):
23544
+ r"""<p>分页偏移量。</p><p>默认值:0</p>
23545
+ :rtype: int
23546
+ """
23547
+ return self._Offset
23548
+
23549
+ @Offset.setter
23550
+ def Offset(self, Offset):
23551
+ self._Offset = Offset
23552
+
23553
+ @property
23554
+ def Limit(self):
23555
+ r"""<p>分页查询引用 IP 组的配置条数。</p><p>取值范围:[1, 200]</p><p>默认值:20</p>
23556
+ :rtype: int
23557
+ """
23558
+ return self._Limit
23559
+
23560
+ @Limit.setter
23561
+ def Limit(self, Limit):
23562
+ self._Limit = Limit
23563
+
23564
+
23565
+ def _deserialize(self, params):
23566
+ self._ZoneId = params.get("ZoneId")
23567
+ self._GroupId = params.get("GroupId")
23568
+ self._Offset = params.get("Offset")
23569
+ self._Limit = params.get("Limit")
23570
+ memeber_set = set(params.keys())
23571
+ for name, value in vars(self).items():
23572
+ property_name = name[1:]
23573
+ if property_name in memeber_set:
23574
+ memeber_set.remove(property_name)
23575
+ if len(memeber_set) > 0:
23576
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
23577
+
23578
+
23579
+
23580
+ class DescribeIPGroupReferencesResponse(AbstractModel):
23581
+ r"""DescribeIPGroupReferences返回参数结构体
23582
+
23583
+ """
23584
+
23585
+ def __init__(self):
23586
+ r"""
23587
+ :param _References: <p>引用对应 IP 组的配置信息。</p>
23588
+ :type References: list of IPGroupReference
23589
+ :param _TotalCount: <p>查询结果总数。</p>
23590
+ :type TotalCount: int
23591
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
23592
+ :type RequestId: str
23593
+ """
23594
+ self._References = None
23595
+ self._TotalCount = None
23596
+ self._RequestId = None
23597
+
23598
+ @property
23599
+ def References(self):
23600
+ r"""<p>引用对应 IP 组的配置信息。</p>
23601
+ :rtype: list of IPGroupReference
23602
+ """
23603
+ return self._References
23604
+
23605
+ @References.setter
23606
+ def References(self, References):
23607
+ self._References = References
23608
+
23609
+ @property
23610
+ def TotalCount(self):
23611
+ r"""<p>查询结果总数。</p>
23612
+ :rtype: int
23613
+ """
23614
+ return self._TotalCount
23615
+
23616
+ @TotalCount.setter
23617
+ def TotalCount(self, TotalCount):
23618
+ self._TotalCount = TotalCount
23619
+
23620
+ @property
23621
+ def RequestId(self):
23622
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
23623
+ :rtype: str
23624
+ """
23625
+ return self._RequestId
23626
+
23627
+ @RequestId.setter
23628
+ def RequestId(self, RequestId):
23629
+ self._RequestId = RequestId
23630
+
23631
+
23632
+ def _deserialize(self, params):
23633
+ if params.get("References") is not None:
23634
+ self._References = []
23635
+ for item in params.get("References"):
23636
+ obj = IPGroupReference()
23637
+ obj._deserialize(item)
23638
+ self._References.append(obj)
23639
+ self._TotalCount = params.get("TotalCount")
23640
+ self._RequestId = params.get("RequestId")
23641
+
23642
+
23525
23643
  class DescribeIPRegionRequest(AbstractModel):
23526
23644
  r"""DescribeIPRegion请求参数结构体
23527
23645
 
@@ -35023,17 +35141,19 @@ class ExceptionRule(AbstractModel):
35023
35141
  :type Name: str
35024
35142
  :param _Condition: 例外规则的具体内容,需符合表达式语法,详细规范参见产品文档。
35025
35143
  :type Condition: str
35026
- :param _SkipScope: 例外规则执行选项,取值有:<li>WebSecurityModules: 指定例外规则的安全防护模块。</li><li>ManagedRules:指定托管规则。</li>
35144
+ :param _SkipScope: 例外规则执行选项,取值有:<li>WebSecurityModules: 指定例外规则的安全防护模块,需配合 ⁠WebSecurityModulesForException⁠ 使用;</li><li>WebSecuritySubmodules: 指定例外规则的安全防护子模块,需配合 ⁠WebSecuritySubmodulesForException⁠ 使用;</li><li>ManagedRules:指定例外规则的具体托管规则,需配合 ⁠ManagedRulesForException⁠ 使用;</li><li>ManagedRuleGroups:指定例外规则的托管规则组,需配合 ⁠ManagedRuleGroupsForException⁠ 使用。</li>
35027
35145
  :type SkipScope: str
35028
- :param _SkipOption: 跳过请求的具体类型,取值有:<li>SkipOnAllRequestFields: 跳过所有请求;</li><li>SkipOnSpecifiedRequestFields: 跳过指定请求字段。</li>仅当 SkipScope 为 ManagedRules 时有效。
35146
+ :param _SkipOption: 跳过请求的具体类型,取值有:<li>SkipOnAllRequestFields: 跳过所有请求;</li><li>SkipOnSpecifiedRequestFields: 跳过指定请求字段。</li>仅当 SkipScope 为 ManagedRules 或 ManagedRuleGroups 时有效。
35029
35147
  :type SkipOption: str
35030
- :param _WebSecurityModulesForException: 指定例外规则的安全防护模块,仅当 SkipScope 为 WebSecurityModules 时有效。取值有:<li>websec-mod-managed-rules:托管规则;</li><li>websec-mod-rate-limiting:速率限制;</li><li>websec-mod-custom-rules:自定义规则;</li><li>websec-mod-adaptive-control:自适应频控、智能客户端过滤、慢速攻击防护、流量盗刷防护;</li><li>websec-mod-bot:Bot管理。</li>
35148
+ :param _WebSecurityModulesForException: 指定例外规则的安全防护模块,仅当 SkipScope 为 WebSecurityModules 时有效,取值有:<li>websec-mod-managed-rules:托管规则;</li><li>websec-mod-rate-limiting:速率限制;</li><li>websec-mod-custom-rules:自定义规则;</li><li>websec-mod-adaptive-control:自适应频控、智能客户端过滤、慢速攻击防护、流量盗刷防护;</li><li>websec-mod-bot:Bot管理。</li>
35031
35149
  :type WebSecurityModulesForException: list of str
35032
- :param _ManagedRulesForException: 指定例外规则的具体托管规则,仅当 SkipScope 为 ManagedRules 时有效,且此时不能指定 ManagedRuleGroupsForException 。
35150
+ :param _WebSecuritySubmodulesForException: 指定例外规则的安全防护子模块,仅当 SkipScope 为 WebSecuritySubmodules 时有效,取值有:<ul><li>托管规则(ManagedRules)模块功能:<ul><li>websec-mod-managed-rules/managed-rule-groups:规则集;</li><li>websec-mod-managed-rules/frequent-scanning-protection:高频扫描防护;</li></ul></li><li>速率限制(RateLimitingRules)模块功能:<ul><li>websec-mod-rate-limiting-rules:速率限制规则;</li></ul></li><li>自定义规则(CustomRules)模块功能:<ul><li>websec-mod-custom-rules:自定义规则;</li></ul></li><li>HTTP DDoS 防护(HttpDDoSProtection)模块功能:<ul><li>websec-mod-http-ddos-protection/adaptive-frequency-control:自适应频控;</li><li>websec-mod-http-ddos-protection/client-filtering:智能客户端过滤;</li><li>websec-mod-http-ddos-protection/bandwidth-abuse-defense:流量盗刷防护;</li></ul></li><li>高级 Bot 管理(BotManagement)模块功能:<ul><li>websec-mod-bot-management/basic-feature:基础特征管理;</li><li>websec-mod-bot-management/ip-reputation:客户端画像分析;</li><li>websec-mod-bot-management/bot-intelligence:智能 Bot 分析;</li><li>websec-mod-bot-management/custom-rules:自定义规则;</li><li>websec-mod-bot-management/browser-impersonation-detection:主动特征识别;</li><li>websec-mod-bot-management/client-attestation-rules:客户端认证;</li></ul></li><li>基础 Bot 管理(BotManagementLite)模块功能:<ul><li>websec-mod-bot-management-lite/ai-crawler-detection:AI 爬虫处置;</li><li>websec-mod-bot-management-lite/captcha-page-challenge:人机校验页。</li></ul></li></ul>
35151
+ :type WebSecuritySubmodulesForException: list of str
35152
+ :param _ManagedRulesForException: 指定例外规则的具体托管规则,仅当 SkipScope 为 ManagedRules 时有效。
35033
35153
  :type ManagedRulesForException: list of str
35034
- :param _ManagedRuleGroupsForException: 指定例外规则的托管规则组,仅当 SkipScope 为 ManagedRules 时有效,且此时不能指定 ManagedRulesForException 。
35154
+ :param _ManagedRuleGroupsForException: 指定例外规则的托管规则组,仅当 SkipScope 为 ManagedRuleGroups 时有效。
35035
35155
  :type ManagedRuleGroupsForException: list of str
35036
- :param _RequestFieldsForException: 指定例外规则跳过指定请求字段的具体配置,仅当 SkipScope 为 ManagedRules 并且 SkipOption 为 SkipOnSpecifiedRequestFields 时有效。
35156
+ :param _RequestFieldsForException: 指定例外规则跳过指定请求字段的具体配置,仅当 SkipScope 为 ManagedRules 或 ManagedRuleGroups 并且 SkipOption 为 SkipOnSpecifiedRequestFields 时有效。
35037
35157
  :type RequestFieldsForException: list of RequestFieldsForException
35038
35158
  :param _Enabled: 例外规则是否开启。取值有:<li>on:开启</li><li>off:关闭</li>
35039
35159
  :type Enabled: str
@@ -35044,6 +35164,7 @@ class ExceptionRule(AbstractModel):
35044
35164
  self._SkipScope = None
35045
35165
  self._SkipOption = None
35046
35166
  self._WebSecurityModulesForException = None
35167
+ self._WebSecuritySubmodulesForException = None
35047
35168
  self._ManagedRulesForException = None
35048
35169
  self._ManagedRuleGroupsForException = None
35049
35170
  self._RequestFieldsForException = None
@@ -35084,7 +35205,7 @@ class ExceptionRule(AbstractModel):
35084
35205
 
35085
35206
  @property
35086
35207
  def SkipScope(self):
35087
- r"""例外规则执行选项,取值有:<li>WebSecurityModules: 指定例外规则的安全防护模块。</li><li>ManagedRules:指定托管规则。</li>
35208
+ r"""例外规则执行选项,取值有:<li>WebSecurityModules: 指定例外规则的安全防护模块,需配合 ⁠WebSecurityModulesForException⁠ 使用;</li><li>WebSecuritySubmodules: 指定例外规则的安全防护子模块,需配合 ⁠WebSecuritySubmodulesForException⁠ 使用;</li><li>ManagedRules:指定例外规则的具体托管规则,需配合 ⁠ManagedRulesForException⁠ 使用;</li><li>ManagedRuleGroups:指定例外规则的托管规则组,需配合 ⁠ManagedRuleGroupsForException⁠ 使用。</li>
35088
35209
  :rtype: str
35089
35210
  """
35090
35211
  return self._SkipScope
@@ -35095,7 +35216,7 @@ class ExceptionRule(AbstractModel):
35095
35216
 
35096
35217
  @property
35097
35218
  def SkipOption(self):
35098
- r"""跳过请求的具体类型,取值有:<li>SkipOnAllRequestFields: 跳过所有请求;</li><li>SkipOnSpecifiedRequestFields: 跳过指定请求字段。</li>仅当 SkipScope 为 ManagedRules 时有效。
35219
+ r"""跳过请求的具体类型,取值有:<li>SkipOnAllRequestFields: 跳过所有请求;</li><li>SkipOnSpecifiedRequestFields: 跳过指定请求字段。</li>仅当 SkipScope 为 ManagedRules 或 ManagedRuleGroups 时有效。
35099
35220
  :rtype: str
35100
35221
  """
35101
35222
  return self._SkipOption
@@ -35106,7 +35227,7 @@ class ExceptionRule(AbstractModel):
35106
35227
 
35107
35228
  @property
35108
35229
  def WebSecurityModulesForException(self):
35109
- r"""指定例外规则的安全防护模块,仅当 SkipScope 为 WebSecurityModules 时有效。取值有:<li>websec-mod-managed-rules:托管规则;</li><li>websec-mod-rate-limiting:速率限制;</li><li>websec-mod-custom-rules:自定义规则;</li><li>websec-mod-adaptive-control:自适应频控、智能客户端过滤、慢速攻击防护、流量盗刷防护;</li><li>websec-mod-bot:Bot管理。</li>
35230
+ r"""指定例外规则的安全防护模块,仅当 SkipScope 为 WebSecurityModules 时有效,取值有:<li>websec-mod-managed-rules:托管规则;</li><li>websec-mod-rate-limiting:速率限制;</li><li>websec-mod-custom-rules:自定义规则;</li><li>websec-mod-adaptive-control:自适应频控、智能客户端过滤、慢速攻击防护、流量盗刷防护;</li><li>websec-mod-bot:Bot管理。</li>
35110
35231
  :rtype: list of str
35111
35232
  """
35112
35233
  return self._WebSecurityModulesForException
@@ -35115,9 +35236,20 @@ class ExceptionRule(AbstractModel):
35115
35236
  def WebSecurityModulesForException(self, WebSecurityModulesForException):
35116
35237
  self._WebSecurityModulesForException = WebSecurityModulesForException
35117
35238
 
35239
+ @property
35240
+ def WebSecuritySubmodulesForException(self):
35241
+ r"""指定例外规则的安全防护子模块,仅当 SkipScope 为 WebSecuritySubmodules 时有效,取值有:<ul><li>托管规则(ManagedRules)模块功能:<ul><li>websec-mod-managed-rules/managed-rule-groups:规则集;</li><li>websec-mod-managed-rules/frequent-scanning-protection:高频扫描防护;</li></ul></li><li>速率限制(RateLimitingRules)模块功能:<ul><li>websec-mod-rate-limiting-rules:速率限制规则;</li></ul></li><li>自定义规则(CustomRules)模块功能:<ul><li>websec-mod-custom-rules:自定义规则;</li></ul></li><li>HTTP DDoS 防护(HttpDDoSProtection)模块功能:<ul><li>websec-mod-http-ddos-protection/adaptive-frequency-control:自适应频控;</li><li>websec-mod-http-ddos-protection/client-filtering:智能客户端过滤;</li><li>websec-mod-http-ddos-protection/bandwidth-abuse-defense:流量盗刷防护;</li></ul></li><li>高级 Bot 管理(BotManagement)模块功能:<ul><li>websec-mod-bot-management/basic-feature:基础特征管理;</li><li>websec-mod-bot-management/ip-reputation:客户端画像分析;</li><li>websec-mod-bot-management/bot-intelligence:智能 Bot 分析;</li><li>websec-mod-bot-management/custom-rules:自定义规则;</li><li>websec-mod-bot-management/browser-impersonation-detection:主动特征识别;</li><li>websec-mod-bot-management/client-attestation-rules:客户端认证;</li></ul></li><li>基础 Bot 管理(BotManagementLite)模块功能:<ul><li>websec-mod-bot-management-lite/ai-crawler-detection:AI 爬虫处置;</li><li>websec-mod-bot-management-lite/captcha-page-challenge:人机校验页。</li></ul></li></ul>
35242
+ :rtype: list of str
35243
+ """
35244
+ return self._WebSecuritySubmodulesForException
35245
+
35246
+ @WebSecuritySubmodulesForException.setter
35247
+ def WebSecuritySubmodulesForException(self, WebSecuritySubmodulesForException):
35248
+ self._WebSecuritySubmodulesForException = WebSecuritySubmodulesForException
35249
+
35118
35250
  @property
35119
35251
  def ManagedRulesForException(self):
35120
- r"""指定例外规则的具体托管规则,仅当 SkipScope 为 ManagedRules 时有效,且此时不能指定 ManagedRuleGroupsForException 。
35252
+ r"""指定例外规则的具体托管规则,仅当 SkipScope 为 ManagedRules 时有效。
35121
35253
  :rtype: list of str
35122
35254
  """
35123
35255
  return self._ManagedRulesForException
@@ -35128,7 +35260,7 @@ class ExceptionRule(AbstractModel):
35128
35260
 
35129
35261
  @property
35130
35262
  def ManagedRuleGroupsForException(self):
35131
- r"""指定例外规则的托管规则组,仅当 SkipScope 为 ManagedRules 时有效,且此时不能指定 ManagedRulesForException 。
35263
+ r"""指定例外规则的托管规则组,仅当 SkipScope 为 ManagedRuleGroups 时有效。
35132
35264
  :rtype: list of str
35133
35265
  """
35134
35266
  return self._ManagedRuleGroupsForException
@@ -35139,7 +35271,7 @@ class ExceptionRule(AbstractModel):
35139
35271
 
35140
35272
  @property
35141
35273
  def RequestFieldsForException(self):
35142
- r"""指定例外规则跳过指定请求字段的具体配置,仅当 SkipScope 为 ManagedRules 并且 SkipOption 为 SkipOnSpecifiedRequestFields 时有效。
35274
+ r"""指定例外规则跳过指定请求字段的具体配置,仅当 SkipScope 为 ManagedRules 或 ManagedRuleGroups 并且 SkipOption 为 SkipOnSpecifiedRequestFields 时有效。
35143
35275
  :rtype: list of RequestFieldsForException
35144
35276
  """
35145
35277
  return self._RequestFieldsForException
@@ -35167,6 +35299,7 @@ class ExceptionRule(AbstractModel):
35167
35299
  self._SkipScope = params.get("SkipScope")
35168
35300
  self._SkipOption = params.get("SkipOption")
35169
35301
  self._WebSecurityModulesForException = params.get("WebSecurityModulesForException")
35302
+ self._WebSecuritySubmodulesForException = params.get("WebSecuritySubmodulesForException")
35170
35303
  self._ManagedRulesForException = params.get("ManagedRulesForException")
35171
35304
  self._ManagedRuleGroupsForException = params.get("ManagedRuleGroupsForException")
35172
35305
  if params.get("RequestFieldsForException") is not None:
@@ -38198,30 +38331,29 @@ class IPGroup(AbstractModel):
38198
38331
 
38199
38332
  def __init__(self):
38200
38333
  r"""
38201
- :param _GroupId: 组 Id,创建时填 0 即可。
38334
+ :param _GroupId: <p>IP 组 Id,创建时填 0 即可。</p>
38202
38335
  :type GroupId: int
38203
- :param _Name: 组名称。
38336
+ :param _Name: <p>IP 组名称。</p>
38204
38337
  :type Name: str
38205
- :param _Content: IP 组内容,仅支持 IP 及 IP 网段。
38338
+ :param _Content: <p>IP 组内容,仅支持 IP 及 IP 网段。</p>
38206
38339
  :type Content: list of str
38207
- :param _IPTotalCount: IP 组中正在生效的 IP 或网段个数。作为出参时有效,作为入参时无需填写该字段。
38340
+ :param _IPTotalCount: <p>IP 组中正在生效的 IP 或网段个数。作为出参时有效,作为入参时无需填写该字段。</p>
38208
38341
  :type IPTotalCount: int
38209
- :param _IPExpireInfo: IP 定时过期信息。
38210
- 作为入参,用于为指定的 IP 地址或网段配置定时过期时间。
38211
- 作为出参,包含以下两类信息:
38212
- <li>当前未到期的定时过期信息:尚未触发的过期配置。</li>
38213
- <li>一周内已到期的定时过期信息:已触发的过期配置。</li>
38342
+ :param _IPExpireInfo: <p>IP 定时过期信息。<br>作为入参,用于为指定的 IP 地址或网段配置定时过期时间。<br>作为出参,包含以下两类信息:</p><li>当前未到期的定时过期信息:尚未触发的过期配置。</li><li>一周内已到期的定时过期信息:已触发的过期配置。</li>
38214
38343
  :type IPExpireInfo: list of IPExpireInfo
38344
+ :param _RefCount: <p>IP 组被引用的数量。</p>
38345
+ :type RefCount: int
38215
38346
  """
38216
38347
  self._GroupId = None
38217
38348
  self._Name = None
38218
38349
  self._Content = None
38219
38350
  self._IPTotalCount = None
38220
38351
  self._IPExpireInfo = None
38352
+ self._RefCount = None
38221
38353
 
38222
38354
  @property
38223
38355
  def GroupId(self):
38224
- r"""组 Id,创建时填 0 即可。
38356
+ r"""<p>IP 组 Id,创建时填 0 即可。</p>
38225
38357
  :rtype: int
38226
38358
  """
38227
38359
  return self._GroupId
@@ -38232,7 +38364,7 @@ class IPGroup(AbstractModel):
38232
38364
 
38233
38365
  @property
38234
38366
  def Name(self):
38235
- r"""组名称。
38367
+ r"""<p>IP 组名称。</p>
38236
38368
  :rtype: str
38237
38369
  """
38238
38370
  return self._Name
@@ -38243,7 +38375,7 @@ class IPGroup(AbstractModel):
38243
38375
 
38244
38376
  @property
38245
38377
  def Content(self):
38246
- r"""IP 组内容,仅支持 IP 及 IP 网段。
38378
+ r"""<p>IP 组内容,仅支持 IP 及 IP 网段。</p>
38247
38379
  :rtype: list of str
38248
38380
  """
38249
38381
  return self._Content
@@ -38254,7 +38386,7 @@ class IPGroup(AbstractModel):
38254
38386
 
38255
38387
  @property
38256
38388
  def IPTotalCount(self):
38257
- r"""IP 组中正在生效的 IP 或网段个数。作为出参时有效,作为入参时无需填写该字段。
38389
+ r"""<p>IP 组中正在生效的 IP 或网段个数。作为出参时有效,作为入参时无需填写该字段。</p>
38258
38390
  :rtype: int
38259
38391
  """
38260
38392
  return self._IPTotalCount
@@ -38265,11 +38397,7 @@ class IPGroup(AbstractModel):
38265
38397
 
38266
38398
  @property
38267
38399
  def IPExpireInfo(self):
38268
- r"""IP 定时过期信息。
38269
- 作为入参,用于为指定的 IP 地址或网段配置定时过期时间。
38270
- 作为出参,包含以下两类信息:
38271
- <li>当前未到期的定时过期信息:尚未触发的过期配置。</li>
38272
- <li>一周内已到期的定时过期信息:已触发的过期配置。</li>
38400
+ r"""<p>IP 定时过期信息。<br>作为入参,用于为指定的 IP 地址或网段配置定时过期时间。<br>作为出参,包含以下两类信息:</p><li>当前未到期的定时过期信息:尚未触发的过期配置。</li><li>一周内已到期的定时过期信息:已触发的过期配置。</li>
38273
38401
  :rtype: list of IPExpireInfo
38274
38402
  """
38275
38403
  return self._IPExpireInfo
@@ -38278,6 +38406,17 @@ class IPGroup(AbstractModel):
38278
38406
  def IPExpireInfo(self, IPExpireInfo):
38279
38407
  self._IPExpireInfo = IPExpireInfo
38280
38408
 
38409
+ @property
38410
+ def RefCount(self):
38411
+ r"""<p>IP 组被引用的数量。</p>
38412
+ :rtype: int
38413
+ """
38414
+ return self._RefCount
38415
+
38416
+ @RefCount.setter
38417
+ def RefCount(self, RefCount):
38418
+ self._RefCount = RefCount
38419
+
38281
38420
 
38282
38421
  def _deserialize(self, params):
38283
38422
  self._GroupId = params.get("GroupId")
@@ -38290,6 +38429,133 @@ class IPGroup(AbstractModel):
38290
38429
  obj = IPExpireInfo()
38291
38430
  obj._deserialize(item)
38292
38431
  self._IPExpireInfo.append(obj)
38432
+ self._RefCount = params.get("RefCount")
38433
+ memeber_set = set(params.keys())
38434
+ for name, value in vars(self).items():
38435
+ property_name = name[1:]
38436
+ if property_name in memeber_set:
38437
+ memeber_set.remove(property_name)
38438
+ if len(memeber_set) > 0:
38439
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
38440
+
38441
+
38442
+
38443
+ class IPGroupReference(AbstractModel):
38444
+ r"""引用 IP 组的安全模块
38445
+
38446
+ """
38447
+
38448
+ def __init__(self):
38449
+ r"""
38450
+ :param _ZoneId: <p>站点 ID。</p>
38451
+ :type ZoneId: str
38452
+ :param _EntityType: <p>实体类型。</p><p>枚举值:</p><ul><li>WebSec.ZonePolicy: 站点级防护策略</li><li>WebSec.HostPolicy: 域名级防护策略</li><li>WebSec.Template: 策略模板</li><li>DDoS.L4Proxy: 四层代理 DDoS 防护</li><li>DDoS.L3Transit: 三层代播 DDoS 防护</li></ul>
38453
+ :type EntityType: str
38454
+ :param _EntityId: <p>实体标识,根据 EntityType 不同代表不同的含义:</p><ul><li>WebSec.ZonePolicy:站点 ID;</li><li>WebSec.HostPolicy:域名;</li><li>WebSec.Template:模板 ID;</li><li>DDoS.L4Proxy:实例 ID;</li><li>DDoS.L3Transit:实例 ID。</li></ul>
38455
+ :type EntityId: str
38456
+ :param _EntityName: <p>实体标识,根据 EntityType 不同代表不同的含义:</p><ul><li>WebSec.ZonePolicy:空;</li><li>WebSec.HostPolicy:空;</li><li>WebSec.Template:模板名称;</li><li>DDoS.L4Proxy:空;</li><li>DDoS.L3Transit:空。</li></ul>
38457
+ :type EntityName: str
38458
+ :param _SubEntityType: <p>子实体类型。</p><p>枚举值:</p><ul><li>WebSec.ExceptionRule: 防护例外规则</li><li>WebSec.BasicAccessRule: 基础访问管控</li><li>WebSec.PreciseMatchRule: 精确匹配规则</li><li>WebSec.RateLimitRule: 精准速率限制</li><li>WebSec.BotCustomRule: 高级 Bot 管理 - 自定义规则</li><li>DDoS.L4Proxy.IpAccessControl: 四层代理 DDoS 防护 - IP 黑白名单</li><li>DDoS.L3Transit.IpAccessControl: 三层代播 DDoS 防护 - IP 黑白名单</li></ul>
38459
+ :type SubEntityType: str
38460
+ :param _SubEntityId: <p>子实体标识,根据 SubEntityType 不同代表不同的含义:</p><ul><li>WebSec.ExceptionRule:规则 ID;</li><li>WebSec.BasicAccessRule:规则 ID;</li><li>WebSec.PreciseMatchRule:规则 ID;</li><li>WebSec.RateLimitRule:规则 ID;</li><li>WebSec.BotCustomRule:规则 ID;</li><li>DDoS.L4Proxy.IpAccessControl:空;</li><li>DDoS.L3Transit.IpAccessControl:空。</li></ul><p>EntityType 与 SubEntityType 为对应关系,不同的 EntityType 支持不同的 SubEntityType。<br>WebSec.ZonePolicy,WebSec.HostPolicy 和 WebSec.Template 支持如下 SubEntityType:</p><ul><li>WebSec.ExceptionRule;</li><li>WebSec.BasicAccessRule;</li><li>WebSec.PreciseMatchRule;</li><li>WebSec.RateLimitRule;</li><li>WebSec.BotCustomRule。</li></ul>DDoS.L4Proxy 支持如下 SubEntityType:<ul><li>DDoS.L4Proxy.IpAccessControl;</li></ul>DDoS.L3Transit 支持如下 SubEntityType:<ul><li>DDoS.L3Transit.IpAccessControl。</li></ul>
38461
+ :type SubEntityId: str
38462
+ :param _SubEntityName: <p>子实体名称,根据 SubEntityType 不同代表不同的含义:</p><ul><li>WebSec.ExceptionRule:规则名称;</li><li>WebSec.BasicAccessRule:规则名称;</li><li>WebSec.PreciseMatchRule:规则名称;</li><li>WebSec.RateLimitRule:规则名称;</li><li>WebSec.BotCustomRule:规则名称;</li><li>DDoS.L4Proxy.IpAccessControl:规则名称,block 表示黑名单,allow 表示白名单;</li><li>DDoS.L3Transit.IpAccessControl:规则名称,block 表示黑名单,allow 表示白名单。</li></ul>
38463
+ :type SubEntityName: str
38464
+ """
38465
+ self._ZoneId = None
38466
+ self._EntityType = None
38467
+ self._EntityId = None
38468
+ self._EntityName = None
38469
+ self._SubEntityType = None
38470
+ self._SubEntityId = None
38471
+ self._SubEntityName = None
38472
+
38473
+ @property
38474
+ def ZoneId(self):
38475
+ r"""<p>站点 ID。</p>
38476
+ :rtype: str
38477
+ """
38478
+ return self._ZoneId
38479
+
38480
+ @ZoneId.setter
38481
+ def ZoneId(self, ZoneId):
38482
+ self._ZoneId = ZoneId
38483
+
38484
+ @property
38485
+ def EntityType(self):
38486
+ r"""<p>实体类型。</p><p>枚举值:</p><ul><li>WebSec.ZonePolicy: 站点级防护策略</li><li>WebSec.HostPolicy: 域名级防护策略</li><li>WebSec.Template: 策略模板</li><li>DDoS.L4Proxy: 四层代理 DDoS 防护</li><li>DDoS.L3Transit: 三层代播 DDoS 防护</li></ul>
38487
+ :rtype: str
38488
+ """
38489
+ return self._EntityType
38490
+
38491
+ @EntityType.setter
38492
+ def EntityType(self, EntityType):
38493
+ self._EntityType = EntityType
38494
+
38495
+ @property
38496
+ def EntityId(self):
38497
+ r"""<p>实体标识,根据 EntityType 不同代表不同的含义:</p><ul><li>WebSec.ZonePolicy:站点 ID;</li><li>WebSec.HostPolicy:域名;</li><li>WebSec.Template:模板 ID;</li><li>DDoS.L4Proxy:实例 ID;</li><li>DDoS.L3Transit:实例 ID。</li></ul>
38498
+ :rtype: str
38499
+ """
38500
+ return self._EntityId
38501
+
38502
+ @EntityId.setter
38503
+ def EntityId(self, EntityId):
38504
+ self._EntityId = EntityId
38505
+
38506
+ @property
38507
+ def EntityName(self):
38508
+ r"""<p>实体标识,根据 EntityType 不同代表不同的含义:</p><ul><li>WebSec.ZonePolicy:空;</li><li>WebSec.HostPolicy:空;</li><li>WebSec.Template:模板名称;</li><li>DDoS.L4Proxy:空;</li><li>DDoS.L3Transit:空。</li></ul>
38509
+ :rtype: str
38510
+ """
38511
+ return self._EntityName
38512
+
38513
+ @EntityName.setter
38514
+ def EntityName(self, EntityName):
38515
+ self._EntityName = EntityName
38516
+
38517
+ @property
38518
+ def SubEntityType(self):
38519
+ r"""<p>子实体类型。</p><p>枚举值:</p><ul><li>WebSec.ExceptionRule: 防护例外规则</li><li>WebSec.BasicAccessRule: 基础访问管控</li><li>WebSec.PreciseMatchRule: 精确匹配规则</li><li>WebSec.RateLimitRule: 精准速率限制</li><li>WebSec.BotCustomRule: 高级 Bot 管理 - 自定义规则</li><li>DDoS.L4Proxy.IpAccessControl: 四层代理 DDoS 防护 - IP 黑白名单</li><li>DDoS.L3Transit.IpAccessControl: 三层代播 DDoS 防护 - IP 黑白名单</li></ul>
38520
+ :rtype: str
38521
+ """
38522
+ return self._SubEntityType
38523
+
38524
+ @SubEntityType.setter
38525
+ def SubEntityType(self, SubEntityType):
38526
+ self._SubEntityType = SubEntityType
38527
+
38528
+ @property
38529
+ def SubEntityId(self):
38530
+ r"""<p>子实体标识,根据 SubEntityType 不同代表不同的含义:</p><ul><li>WebSec.ExceptionRule:规则 ID;</li><li>WebSec.BasicAccessRule:规则 ID;</li><li>WebSec.PreciseMatchRule:规则 ID;</li><li>WebSec.RateLimitRule:规则 ID;</li><li>WebSec.BotCustomRule:规则 ID;</li><li>DDoS.L4Proxy.IpAccessControl:空;</li><li>DDoS.L3Transit.IpAccessControl:空。</li></ul><p>EntityType 与 SubEntityType 为对应关系,不同的 EntityType 支持不同的 SubEntityType。<br>WebSec.ZonePolicy,WebSec.HostPolicy 和 WebSec.Template 支持如下 SubEntityType:</p><ul><li>WebSec.ExceptionRule;</li><li>WebSec.BasicAccessRule;</li><li>WebSec.PreciseMatchRule;</li><li>WebSec.RateLimitRule;</li><li>WebSec.BotCustomRule。</li></ul>DDoS.L4Proxy 支持如下 SubEntityType:<ul><li>DDoS.L4Proxy.IpAccessControl;</li></ul>DDoS.L3Transit 支持如下 SubEntityType:<ul><li>DDoS.L3Transit.IpAccessControl。</li></ul>
38531
+ :rtype: str
38532
+ """
38533
+ return self._SubEntityId
38534
+
38535
+ @SubEntityId.setter
38536
+ def SubEntityId(self, SubEntityId):
38537
+ self._SubEntityId = SubEntityId
38538
+
38539
+ @property
38540
+ def SubEntityName(self):
38541
+ r"""<p>子实体名称,根据 SubEntityType 不同代表不同的含义:</p><ul><li>WebSec.ExceptionRule:规则名称;</li><li>WebSec.BasicAccessRule:规则名称;</li><li>WebSec.PreciseMatchRule:规则名称;</li><li>WebSec.RateLimitRule:规则名称;</li><li>WebSec.BotCustomRule:规则名称;</li><li>DDoS.L4Proxy.IpAccessControl:规则名称,block 表示黑名单,allow 表示白名单;</li><li>DDoS.L3Transit.IpAccessControl:规则名称,block 表示黑名单,allow 表示白名单。</li></ul>
38542
+ :rtype: str
38543
+ """
38544
+ return self._SubEntityName
38545
+
38546
+ @SubEntityName.setter
38547
+ def SubEntityName(self, SubEntityName):
38548
+ self._SubEntityName = SubEntityName
38549
+
38550
+
38551
+ def _deserialize(self, params):
38552
+ self._ZoneId = params.get("ZoneId")
38553
+ self._EntityType = params.get("EntityType")
38554
+ self._EntityId = params.get("EntityId")
38555
+ self._EntityName = params.get("EntityName")
38556
+ self._SubEntityType = params.get("SubEntityType")
38557
+ self._SubEntityId = params.get("SubEntityId")
38558
+ self._SubEntityName = params.get("SubEntityName")
38293
38559
  memeber_set = set(params.keys())
38294
38560
  for name, value in vars(self).items():
38295
38561
  property_name = name[1:]
@@ -38473,22 +38739,34 @@ class IPSSLConfig(AbstractModel):
38473
38739
 
38474
38740
  def __init__(self):
38475
38741
  r"""
38476
- :param _AssociatedDomain: IP SSL关联的域名。如果Status值为 unbound 时,该字段为空值。
38742
+ :param _ZoneId: <p>IP SSL 关联域名所属站点ID。如果Status值为 unbound 时,该字段为空值。</p>
38743
+ 注意:此字段可能返回 null,表示取不到有效值。
38744
+ :type ZoneId: str
38745
+ :param _AssociatedDomain: <p>IP SSL关联的域名。如果Status值为 unbound 时,该字段为空值。</p>
38477
38746
  注意:此字段可能返回 null,表示取不到有效值。
38478
38747
  :type AssociatedDomain: str
38479
- :param _Status: 关联状态, 取值如下:
38480
- <li>bound:IP SSL配置已绑定</li>
38481
- <li>binding:IP SSL配置绑定中</li>
38482
- <li>unbinding:IP SSL配置解绑中</li>
38483
- <li>unbound:IP SSL配置未绑定</li>
38748
+ :param _Status: <p>关联状态, 取值如下:</p><li>bound:IP SSL配置已绑定</li><li>binding:IP SSL配置绑定中</li><li>unbinding:IP SSL配置解绑中</li><li>unbound:IP SSL配置未绑定</li>
38484
38749
  :type Status: str
38485
38750
  """
38751
+ self._ZoneId = None
38486
38752
  self._AssociatedDomain = None
38487
38753
  self._Status = None
38488
38754
 
38755
+ @property
38756
+ def ZoneId(self):
38757
+ r"""<p>IP SSL 关联域名所属站点ID。如果Status值为 unbound 时,该字段为空值。</p>
38758
+ 注意:此字段可能返回 null,表示取不到有效值。
38759
+ :rtype: str
38760
+ """
38761
+ return self._ZoneId
38762
+
38763
+ @ZoneId.setter
38764
+ def ZoneId(self, ZoneId):
38765
+ self._ZoneId = ZoneId
38766
+
38489
38767
  @property
38490
38768
  def AssociatedDomain(self):
38491
- r"""IP SSL关联的域名。如果Status值为 unbound 时,该字段为空值。
38769
+ r"""<p>IP SSL关联的域名。如果Status值为 unbound 时,该字段为空值。</p>
38492
38770
  注意:此字段可能返回 null,表示取不到有效值。
38493
38771
  :rtype: str
38494
38772
  """
@@ -38500,11 +38778,7 @@ class IPSSLConfig(AbstractModel):
38500
38778
 
38501
38779
  @property
38502
38780
  def Status(self):
38503
- r"""关联状态, 取值如下:
38504
- <li>bound:IP SSL配置已绑定</li>
38505
- <li>binding:IP SSL配置绑定中</li>
38506
- <li>unbinding:IP SSL配置解绑中</li>
38507
- <li>unbound:IP SSL配置未绑定</li>
38781
+ r"""<p>关联状态, 取值如下:</p><li>bound:IP SSL配置已绑定</li><li>binding:IP SSL配置绑定中</li><li>unbinding:IP SSL配置解绑中</li><li>unbound:IP SSL配置未绑定</li>
38508
38782
  :rtype: str
38509
38783
  """
38510
38784
  return self._Status
@@ -38515,6 +38789,7 @@ class IPSSLConfig(AbstractModel):
38515
38789
 
38516
38790
 
38517
38791
  def _deserialize(self, params):
38792
+ self._ZoneId = params.get("ZoneId")
38518
38793
  self._AssociatedDomain = params.get("AssociatedDomain")
38519
38794
  self._Status = params.get("Status")
38520
38795
  memeber_set = set(params.keys())
@@ -52626,8 +52901,10 @@ class OriginDetail(AbstractModel):
52626
52901
  <li>当 OriginType = IP_DOMAIN 时,该参数为 IPv4、IPv6 地址或域名;</li>
52627
52902
  <li>当 OriginType = COS 时,该参数为 COS 桶的访问域名;</li>
52628
52903
  <li>当 OriginType = AWS_S3,该参数为 S3 桶的访问域名;</li>
52629
- <li>当 OriginType = ORIGIN_GROUP 时,该参数为源站组 ID;</li>
52904
+ <li>当 OriginType = ORIGIN_GROUP 时,该参数为源站组 ID;如果引用了其它站点的源站组,格式为{源站组 ID}@{ZoneID}。例如:og-testorigin@zone-38moq1z10wwwy</li>
52630
52905
  <li>当 OriginType = VOD 时,该参数请填写云点播应用 ID ;</li>
52906
+ <li>当 OriginType = LB 时,该参数请填写负载均衡实例 ID,该功能当前仅白名单开放;如果引用了其它站点的负载均衡,格式为{负载均衡 ID}@{ZoneID}。例如:lb-2rxpamcyqfzg@zone-38moq1z10wwwy</li>
52907
+ <li>当 OriginType = SPACE 时,该参数请填写源站卸载空间 ID,该功能当前仅白名单开放。</li>
52631
52908
  :type Origin: str
52632
52909
  :param _BackupOrigin: 备用源站组 ID,该参数仅在 OriginType = ORIGIN_GROUP 且配置了备源站组时会生效。
52633
52910
  :type BackupOrigin: str
@@ -52695,8 +52972,10 @@ class OriginDetail(AbstractModel):
52695
52972
  <li>当 OriginType = IP_DOMAIN 时,该参数为 IPv4、IPv6 地址或域名;</li>
52696
52973
  <li>当 OriginType = COS 时,该参数为 COS 桶的访问域名;</li>
52697
52974
  <li>当 OriginType = AWS_S3,该参数为 S3 桶的访问域名;</li>
52698
- <li>当 OriginType = ORIGIN_GROUP 时,该参数为源站组 ID;</li>
52975
+ <li>当 OriginType = ORIGIN_GROUP 时,该参数为源站组 ID;如果引用了其它站点的源站组,格式为{源站组 ID}@{ZoneID}。例如:og-testorigin@zone-38moq1z10wwwy</li>
52699
52976
  <li>当 OriginType = VOD 时,该参数请填写云点播应用 ID ;</li>
52977
+ <li>当 OriginType = LB 时,该参数请填写负载均衡实例 ID,该功能当前仅白名单开放;如果引用了其它站点的负载均衡,格式为{负载均衡 ID}@{ZoneID}。例如:lb-2rxpamcyqfzg@zone-38moq1z10wwwy</li>
52978
+ <li>当 OriginType = SPACE 时,该参数请填写源站卸载空间 ID,该功能当前仅白名单开放。</li>
52700
52979
  :rtype: str
52701
52980
  """
52702
52981
  return self._Origin
@@ -2434,6 +2434,29 @@ class TeoClient(AbstractClient):
2434
2434
  raise TencentCloudSDKException(type(e).__name__, str(e))
2435
2435
 
2436
2436
 
2437
+ def DescribeIPGroupReferences(self, request):
2438
+ r"""获取使用 IP 分组的策略配置。
2439
+
2440
+ :param request: Request instance for DescribeIPGroupReferences.
2441
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeIPGroupReferencesRequest`
2442
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeIPGroupReferencesResponse`
2443
+
2444
+ """
2445
+ try:
2446
+ params = request._serialize()
2447
+ headers = request.headers
2448
+ body = self.call("DescribeIPGroupReferences", params, headers=headers)
2449
+ response = json.loads(body)
2450
+ model = models.DescribeIPGroupReferencesResponse()
2451
+ model._deserialize(response["Response"])
2452
+ return model
2453
+ except Exception as e:
2454
+ if isinstance(e, TencentCloudSDKException):
2455
+ raise
2456
+ else:
2457
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2458
+
2459
+
2437
2460
  def DescribeIPRegion(self, request):
2438
2461
  r"""该接口可用于查询 IP 是否为 EdgeOne IP。
2439
2462
 
@@ -1918,6 +1918,24 @@ class TeoClient(AbstractClient):
1918
1918
 
1919
1919
  return await self.call_and_deserialize(**kwargs)
1920
1920
 
1921
+ async def DescribeIPGroupReferences(
1922
+ self,
1923
+ request: models.DescribeIPGroupReferencesRequest,
1924
+ opts: Dict = None,
1925
+ ) -> models.DescribeIPGroupReferencesResponse:
1926
+ """
1927
+ 获取使用 IP 分组的策略配置。
1928
+ """
1929
+
1930
+ kwargs = {}
1931
+ kwargs["action"] = "DescribeIPGroupReferences"
1932
+ kwargs["params"] = request._serialize()
1933
+ kwargs["resp_cls"] = models.DescribeIPGroupReferencesResponse
1934
+ kwargs["headers"] = request.headers
1935
+ kwargs["opts"] = opts or {}
1936
+
1937
+ return await self.call_and_deserialize(**kwargs)
1938
+
1921
1939
  async def DescribeIPRegion(
1922
1940
  self,
1923
1941
  request: models.DescribeIPRegionRequest,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-teo
3
- Version: 3.1.143
3
+ Version: 3.1.149
4
4
  Summary: Tencent Cloud Teo SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.143
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.149
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.149
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.143