tencentcloud-sdk-python 3.0.1082__py2.py3-none-any.whl → 3.0.1083__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of tencentcloud-sdk-python might be problematic. Click here for more details.

Files changed (28) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/ccc/v20200210/ccc_client.py +1 -1
  3. tencentcloud/ess/v20201111/ess_client.py +2 -2
  4. tencentcloud/ess/v20201111/models.py +24 -15
  5. tencentcloud/essbasic/v20210526/essbasic_client.py +11 -3
  6. tencentcloud/essbasic/v20210526/models.py +68 -5
  7. tencentcloud/iss/v20230517/models.py +4 -2
  8. tencentcloud/monitor/v20180724/models.py +2 -1
  9. tencentcloud/mps/v20190612/errorcodes.py +3 -0
  10. tencentcloud/mps/v20190612/models.py +55 -17
  11. tencentcloud/mps/v20190612/mps_client.py +2 -1
  12. tencentcloud/ocr/v20181119/models.py +473 -0
  13. tencentcloud/ocr/v20181119/ocr_client.py +74 -0
  14. tencentcloud/tag/v20180813/models.py +24 -0
  15. tencentcloud/teo/v20220901/errorcodes.py +15 -0
  16. tencentcloud/teo/v20220901/models.py +2165 -665
  17. tencentcloud/teo/v20220901/teo_client.py +230 -0
  18. tencentcloud/waf/v20180125/errorcodes.py +3 -0
  19. tencentcloud/waf/v20180125/models.py +82 -0
  20. tencentcloud/waf/v20180125/waf_client.py +23 -0
  21. tencentcloud/wedata/v20210820/errorcodes.py +18 -0
  22. tencentcloud/wedata/v20210820/models.py +11244 -1118
  23. tencentcloud/wedata/v20210820/wedata_client.py +1648 -37
  24. {tencentcloud_sdk_python-3.0.1082.dist-info → tencentcloud_sdk_python-3.0.1083.dist-info}/METADATA +1 -1
  25. {tencentcloud_sdk_python-3.0.1082.dist-info → tencentcloud_sdk_python-3.0.1083.dist-info}/RECORD +28 -28
  26. {tencentcloud_sdk_python-3.0.1082.dist-info → tencentcloud_sdk_python-3.0.1083.dist-info}/LICENSE +0 -0
  27. {tencentcloud_sdk_python-3.0.1082.dist-info → tencentcloud_sdk_python-3.0.1083.dist-info}/WHEEL +0 -0
  28. {tencentcloud_sdk_python-3.0.1082.dist-info → tencentcloud_sdk_python-3.0.1083.dist-info}/top_level.txt +0 -0
@@ -4500,6 +4500,264 @@ class CreateConfigGroupVersionResponse(AbstractModel):
4500
4500
  self._RequestId = params.get("RequestId")
4501
4501
 
4502
4502
 
4503
+ class CreateL4ProxyRequest(AbstractModel):
4504
+ """CreateL4Proxy请求参数结构体
4505
+
4506
+ """
4507
+
4508
+ def __init__(self):
4509
+ r"""
4510
+ :param _ZoneId: 站点 ID。
4511
+ :type ZoneId: str
4512
+ :param _ProxyName: 四层代理实例名称,可输入 1-50 个字符,允许的字符为 a-z、0-9、-,且 - 不能单独注册或连续使用,不能放在开头或结尾。创建完成后不支持修改。
4513
+
4514
+ :type ProxyName: str
4515
+ :param _Area: 四层代理实例加速区域。
4516
+ <li>mainland:中国大陆可用区;</li>
4517
+ <li>overseas:全球可用区(不含中国大陆);</li>
4518
+ <li>global:全球可用区。</li>
4519
+ :type Area: str
4520
+ :param _Ipv6: 是否开启 IPv6 访问,不填写时默认为 off。该配置仅在部分加速区域和安全防护配置下支持开启,详情请参考 [新建四层代理实例](https://cloud.tencent.com/document/product/1552/90025) 。取值为:
4521
+ <li>on:开启;</li>
4522
+ <li>off:关闭。</li>
4523
+
4524
+
4525
+ :type Ipv6: str
4526
+ :param _StaticIp: 是否开启固定 IP,不填写时默认为 off。该配置仅在部分加速区域和安全防护配置下支持开启,详情请参考 [新建四层代理实例](https://cloud.tencent.com/document/product/1552/90025) 。取值为:
4527
+ <li>on:开启;</li>
4528
+ <li>off:关闭。</li>
4529
+
4530
+ :type StaticIp: str
4531
+ :param _AccelerateMainland: 是否开启中国大陆网络优化,不填写时默认为 off。该配置仅在部分加速区域和安全防护配置下支持开启,详情请参考 [新建四层代理实例](https://cloud.tencent.com/document/product/1552/90025) 。取值为:
4532
+ <li>on:开启;</li>
4533
+ <li>off:关闭。</li>
4534
+
4535
+ :type AccelerateMainland: str
4536
+ :param _DDosProtectionConfig: L3/L4 DDoS 防护配置,不填写时默认使用平台默认防护选项。详情参考 [独立 DDoS 防护](https://cloud.tencent.com/document/product/1552/95994)。
4537
+ :type DDosProtectionConfig: :class:`tencentcloud.teo.v20220901.models.DDosProtectionConfig`
4538
+ """
4539
+ self._ZoneId = None
4540
+ self._ProxyName = None
4541
+ self._Area = None
4542
+ self._Ipv6 = None
4543
+ self._StaticIp = None
4544
+ self._AccelerateMainland = None
4545
+ self._DDosProtectionConfig = None
4546
+
4547
+ @property
4548
+ def ZoneId(self):
4549
+ return self._ZoneId
4550
+
4551
+ @ZoneId.setter
4552
+ def ZoneId(self, ZoneId):
4553
+ self._ZoneId = ZoneId
4554
+
4555
+ @property
4556
+ def ProxyName(self):
4557
+ return self._ProxyName
4558
+
4559
+ @ProxyName.setter
4560
+ def ProxyName(self, ProxyName):
4561
+ self._ProxyName = ProxyName
4562
+
4563
+ @property
4564
+ def Area(self):
4565
+ return self._Area
4566
+
4567
+ @Area.setter
4568
+ def Area(self, Area):
4569
+ self._Area = Area
4570
+
4571
+ @property
4572
+ def Ipv6(self):
4573
+ return self._Ipv6
4574
+
4575
+ @Ipv6.setter
4576
+ def Ipv6(self, Ipv6):
4577
+ self._Ipv6 = Ipv6
4578
+
4579
+ @property
4580
+ def StaticIp(self):
4581
+ return self._StaticIp
4582
+
4583
+ @StaticIp.setter
4584
+ def StaticIp(self, StaticIp):
4585
+ self._StaticIp = StaticIp
4586
+
4587
+ @property
4588
+ def AccelerateMainland(self):
4589
+ return self._AccelerateMainland
4590
+
4591
+ @AccelerateMainland.setter
4592
+ def AccelerateMainland(self, AccelerateMainland):
4593
+ self._AccelerateMainland = AccelerateMainland
4594
+
4595
+ @property
4596
+ def DDosProtectionConfig(self):
4597
+ return self._DDosProtectionConfig
4598
+
4599
+ @DDosProtectionConfig.setter
4600
+ def DDosProtectionConfig(self, DDosProtectionConfig):
4601
+ self._DDosProtectionConfig = DDosProtectionConfig
4602
+
4603
+
4604
+ def _deserialize(self, params):
4605
+ self._ZoneId = params.get("ZoneId")
4606
+ self._ProxyName = params.get("ProxyName")
4607
+ self._Area = params.get("Area")
4608
+ self._Ipv6 = params.get("Ipv6")
4609
+ self._StaticIp = params.get("StaticIp")
4610
+ self._AccelerateMainland = params.get("AccelerateMainland")
4611
+ if params.get("DDosProtectionConfig") is not None:
4612
+ self._DDosProtectionConfig = DDosProtectionConfig()
4613
+ self._DDosProtectionConfig._deserialize(params.get("DDosProtectionConfig"))
4614
+ memeber_set = set(params.keys())
4615
+ for name, value in vars(self).items():
4616
+ property_name = name[1:]
4617
+ if property_name in memeber_set:
4618
+ memeber_set.remove(property_name)
4619
+ if len(memeber_set) > 0:
4620
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4621
+
4622
+
4623
+
4624
+ class CreateL4ProxyResponse(AbstractModel):
4625
+ """CreateL4Proxy返回参数结构体
4626
+
4627
+ """
4628
+
4629
+ def __init__(self):
4630
+ r"""
4631
+ :param _ProxyId: 四层实例 ID。
4632
+ :type ProxyId: str
4633
+ :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4634
+ :type RequestId: str
4635
+ """
4636
+ self._ProxyId = None
4637
+ self._RequestId = None
4638
+
4639
+ @property
4640
+ def ProxyId(self):
4641
+ return self._ProxyId
4642
+
4643
+ @ProxyId.setter
4644
+ def ProxyId(self, ProxyId):
4645
+ self._ProxyId = ProxyId
4646
+
4647
+ @property
4648
+ def RequestId(self):
4649
+ return self._RequestId
4650
+
4651
+ @RequestId.setter
4652
+ def RequestId(self, RequestId):
4653
+ self._RequestId = RequestId
4654
+
4655
+
4656
+ def _deserialize(self, params):
4657
+ self._ProxyId = params.get("ProxyId")
4658
+ self._RequestId = params.get("RequestId")
4659
+
4660
+
4661
+ class CreateL4ProxyRulesRequest(AbstractModel):
4662
+ """CreateL4ProxyRules请求参数结构体
4663
+
4664
+ """
4665
+
4666
+ def __init__(self):
4667
+ r"""
4668
+ :param _ZoneId: 站点 ID。
4669
+ :type ZoneId: str
4670
+ :param _ProxyId: 四层代理实例 ID。
4671
+ :type ProxyId: str
4672
+ :param _L4ProxyRules: 转发规则列表。单次最多支持 200 条转发规则。
4673
+ 注意:L4ProxyRule 在此处使用时,Protocol、PortRange、OriginType、OriginValue、OriginPortRange 为必填字段;ClientIPPassThroughMode、SessionPersist、SessionPersistTime、RuleTag 均为选填字段;RuleId、Status 请勿填写。
4674
+ :type L4ProxyRules: list of L4ProxyRule
4675
+ """
4676
+ self._ZoneId = None
4677
+ self._ProxyId = None
4678
+ self._L4ProxyRules = None
4679
+
4680
+ @property
4681
+ def ZoneId(self):
4682
+ return self._ZoneId
4683
+
4684
+ @ZoneId.setter
4685
+ def ZoneId(self, ZoneId):
4686
+ self._ZoneId = ZoneId
4687
+
4688
+ @property
4689
+ def ProxyId(self):
4690
+ return self._ProxyId
4691
+
4692
+ @ProxyId.setter
4693
+ def ProxyId(self, ProxyId):
4694
+ self._ProxyId = ProxyId
4695
+
4696
+ @property
4697
+ def L4ProxyRules(self):
4698
+ return self._L4ProxyRules
4699
+
4700
+ @L4ProxyRules.setter
4701
+ def L4ProxyRules(self, L4ProxyRules):
4702
+ self._L4ProxyRules = L4ProxyRules
4703
+
4704
+
4705
+ def _deserialize(self, params):
4706
+ self._ZoneId = params.get("ZoneId")
4707
+ self._ProxyId = params.get("ProxyId")
4708
+ if params.get("L4ProxyRules") is not None:
4709
+ self._L4ProxyRules = []
4710
+ for item in params.get("L4ProxyRules"):
4711
+ obj = L4ProxyRule()
4712
+ obj._deserialize(item)
4713
+ self._L4ProxyRules.append(obj)
4714
+ memeber_set = set(params.keys())
4715
+ for name, value in vars(self).items():
4716
+ property_name = name[1:]
4717
+ if property_name in memeber_set:
4718
+ memeber_set.remove(property_name)
4719
+ if len(memeber_set) > 0:
4720
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4721
+
4722
+
4723
+
4724
+ class CreateL4ProxyRulesResponse(AbstractModel):
4725
+ """CreateL4ProxyRules返回参数结构体
4726
+
4727
+ """
4728
+
4729
+ def __init__(self):
4730
+ r"""
4731
+ :param _L4ProxyRuleIds: 新增转发规则的 ID,以数组的形式返回。
4732
+ :type L4ProxyRuleIds: list of str
4733
+ :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4734
+ :type RequestId: str
4735
+ """
4736
+ self._L4ProxyRuleIds = None
4737
+ self._RequestId = None
4738
+
4739
+ @property
4740
+ def L4ProxyRuleIds(self):
4741
+ return self._L4ProxyRuleIds
4742
+
4743
+ @L4ProxyRuleIds.setter
4744
+ def L4ProxyRuleIds(self, L4ProxyRuleIds):
4745
+ self._L4ProxyRuleIds = L4ProxyRuleIds
4746
+
4747
+ @property
4748
+ def RequestId(self):
4749
+ return self._RequestId
4750
+
4751
+ @RequestId.setter
4752
+ def RequestId(self, RequestId):
4753
+ self._RequestId = RequestId
4754
+
4755
+
4756
+ def _deserialize(self, params):
4757
+ self._L4ProxyRuleIds = params.get("L4ProxyRuleIds")
4758
+ self._RequestId = params.get("RequestId")
4759
+
4760
+
4503
4761
  class CreateOriginGroupRequest(AbstractModel):
4504
4762
  """CreateOriginGroup请求参数结构体
4505
4763
 
@@ -5767,6 +6025,73 @@ class DDoSBlockData(AbstractModel):
5767
6025
 
5768
6026
 
5769
6027
 
6028
+ class DDosProtectionConfig(AbstractModel):
6029
+ """适用于四层代理或 Web 站点服务的独立 DDoS 防护规格配置。
6030
+
6031
+ """
6032
+
6033
+ def __init__(self):
6034
+ r"""
6035
+ :param _LevelMainland: 中国大陆地区独立 DDoS 防护的规格。详情请参考 [独立 DDoS 防护相关费用](https://cloud.tencent.com/document/product/1552/94162)
6036
+ <li>PLATFORM:平台默认防护,即不开启独立 DDoS 防护;</li>
6037
+ <li>BASE30_MAX300:开启独立 DDoS 防护,提供 30 Gbps 保底防护带宽,可配置最高 300 Gpbs 弹性防护带宽;</li>
6038
+ <li>BASE60_MAX600:开启独立 DDoS 防护,提供 60 Gbps 保底防护带宽,可配置最高 600 Gpbs 弹性防护带宽。</li>不填写参数时,取默认值 PLATFORM。
6039
+ :type LevelMainland: str
6040
+ :param _MaxBandwidthMainland: 中国大陆地区独立 DDoS 防护的弹性防护带宽配置。
6041
+ 仅当开启中国大陆区域独立 DDos 防护时有效(详见 LevelMainland 参数配置),且取值范围有如下限制:
6042
+ <li>开启中国大陆地区独立 DDoS 防护,使用 30 Gbps 保底防护带宽规格时( LevelMainland 参数值为 BASE30_MAX300 ):有效取值范围为 30 至 300,单位为 Gbps;</li>
6043
+ <li>开启中国大陆地区独立 DDoS 防护,使用 60 Gbps 保底防护带宽规格时( LevelMainland 参数值为 BASE60_MAX600 ):有效取值范围为 60 至 600,单位为 Gbps;</li>
6044
+ <li>使用平台默认防护( LevelMainland 参数值为 PLATFORM ):不支持配置,本参数值无效。</li>
6045
+ :type MaxBandwidthMainland: int
6046
+ :param _LevelOverseas: 全球(除中国大陆以外)地区独立 DDoS 防护的规格。
6047
+ <li>PLATFORM:平台默认防护,即不开启独立 DDoS 防护;</li>
6048
+ <li>ANYCAST300:开启独立 DDoS 防护,提供合计最大 300 Gbps 防护带宽;</li>
6049
+ <li>ANYCAST_ALLIN:开启独立 DDoS 防护,使用全部可用防护资源进行防护。</li>不填写参数时,取默认值 PLATFORM。
6050
+ :type LevelOverseas: str
6051
+ """
6052
+ self._LevelMainland = None
6053
+ self._MaxBandwidthMainland = None
6054
+ self._LevelOverseas = None
6055
+
6056
+ @property
6057
+ def LevelMainland(self):
6058
+ return self._LevelMainland
6059
+
6060
+ @LevelMainland.setter
6061
+ def LevelMainland(self, LevelMainland):
6062
+ self._LevelMainland = LevelMainland
6063
+
6064
+ @property
6065
+ def MaxBandwidthMainland(self):
6066
+ return self._MaxBandwidthMainland
6067
+
6068
+ @MaxBandwidthMainland.setter
6069
+ def MaxBandwidthMainland(self, MaxBandwidthMainland):
6070
+ self._MaxBandwidthMainland = MaxBandwidthMainland
6071
+
6072
+ @property
6073
+ def LevelOverseas(self):
6074
+ return self._LevelOverseas
6075
+
6076
+ @LevelOverseas.setter
6077
+ def LevelOverseas(self, LevelOverseas):
6078
+ self._LevelOverseas = LevelOverseas
6079
+
6080
+
6081
+ def _deserialize(self, params):
6082
+ self._LevelMainland = params.get("LevelMainland")
6083
+ self._MaxBandwidthMainland = params.get("MaxBandwidthMainland")
6084
+ self._LevelOverseas = params.get("LevelOverseas")
6085
+ memeber_set = set(params.keys())
6086
+ for name, value in vars(self).items():
6087
+ property_name = name[1:]
6088
+ if property_name in memeber_set:
6089
+ memeber_set.remove(property_name)
6090
+ if len(memeber_set) > 0:
6091
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6092
+
6093
+
6094
+
5770
6095
  class DefaultServerCertInfo(AbstractModel):
5771
6096
  """https 服务端证书配置
5772
6097
 
@@ -6230,20 +6555,20 @@ class DeleteApplicationProxyRuleResponse(AbstractModel):
6230
6555
  self._RequestId = params.get("RequestId")
6231
6556
 
6232
6557
 
6233
- class DeleteOriginGroupRequest(AbstractModel):
6234
- """DeleteOriginGroup请求参数结构体
6558
+ class DeleteL4ProxyRequest(AbstractModel):
6559
+ """DeleteL4Proxy请求参数结构体
6235
6560
 
6236
6561
  """
6237
6562
 
6238
6563
  def __init__(self):
6239
6564
  r"""
6240
- :param _ZoneId: 站点 ID
6565
+ :param _ZoneId: 站点 ID
6241
6566
  :type ZoneId: str
6242
- :param _GroupId: 源站组 ID,此参数必填。
6243
- :type GroupId: str
6567
+ :param _ProxyId: 四层代理实例 ID
6568
+ :type ProxyId: str
6244
6569
  """
6245
6570
  self._ZoneId = None
6246
- self._GroupId = None
6571
+ self._ProxyId = None
6247
6572
 
6248
6573
  @property
6249
6574
  def ZoneId(self):
@@ -6254,17 +6579,17 @@ class DeleteOriginGroupRequest(AbstractModel):
6254
6579
  self._ZoneId = ZoneId
6255
6580
 
6256
6581
  @property
6257
- def GroupId(self):
6258
- return self._GroupId
6582
+ def ProxyId(self):
6583
+ return self._ProxyId
6259
6584
 
6260
- @GroupId.setter
6261
- def GroupId(self, GroupId):
6262
- self._GroupId = GroupId
6585
+ @ProxyId.setter
6586
+ def ProxyId(self, ProxyId):
6587
+ self._ProxyId = ProxyId
6263
6588
 
6264
6589
 
6265
6590
  def _deserialize(self, params):
6266
6591
  self._ZoneId = params.get("ZoneId")
6267
- self._GroupId = params.get("GroupId")
6592
+ self._ProxyId = params.get("ProxyId")
6268
6593
  memeber_set = set(params.keys())
6269
6594
  for name, value in vars(self).items():
6270
6595
  property_name = name[1:]
@@ -6275,8 +6600,8 @@ class DeleteOriginGroupRequest(AbstractModel):
6275
6600
 
6276
6601
 
6277
6602
 
6278
- class DeleteOriginGroupResponse(AbstractModel):
6279
- """DeleteOriginGroup返回参数结构体
6603
+ class DeleteL4ProxyResponse(AbstractModel):
6604
+ """DeleteL4Proxy返回参数结构体
6280
6605
 
6281
6606
  """
6282
6607
 
@@ -6300,8 +6625,8 @@ class DeleteOriginGroupResponse(AbstractModel):
6300
6625
  self._RequestId = params.get("RequestId")
6301
6626
 
6302
6627
 
6303
- class DeleteRulesRequest(AbstractModel):
6304
- """DeleteRules请求参数结构体
6628
+ class DeleteL4ProxyRulesRequest(AbstractModel):
6629
+ """DeleteL4ProxyRules请求参数结构体
6305
6630
 
6306
6631
  """
6307
6632
 
@@ -6309,10 +6634,13 @@ class DeleteRulesRequest(AbstractModel):
6309
6634
  r"""
6310
6635
  :param _ZoneId: 站点 ID。
6311
6636
  :type ZoneId: str
6312
- :param _RuleIds: 指定删除的规则 ID 列表。
6637
+ :param _ProxyId: 四层代理实例 ID
6638
+ :type ProxyId: str
6639
+ :param _RuleIds: 转发规则 ID 列表。单次最多支持 200 条转发规则。
6313
6640
  :type RuleIds: list of str
6314
6641
  """
6315
6642
  self._ZoneId = None
6643
+ self._ProxyId = None
6316
6644
  self._RuleIds = None
6317
6645
 
6318
6646
  @property
@@ -6324,9 +6652,158 @@ class DeleteRulesRequest(AbstractModel):
6324
6652
  self._ZoneId = ZoneId
6325
6653
 
6326
6654
  @property
6327
- def RuleIds(self):
6328
- return self._RuleIds
6329
-
6655
+ def ProxyId(self):
6656
+ return self._ProxyId
6657
+
6658
+ @ProxyId.setter
6659
+ def ProxyId(self, ProxyId):
6660
+ self._ProxyId = ProxyId
6661
+
6662
+ @property
6663
+ def RuleIds(self):
6664
+ return self._RuleIds
6665
+
6666
+ @RuleIds.setter
6667
+ def RuleIds(self, RuleIds):
6668
+ self._RuleIds = RuleIds
6669
+
6670
+
6671
+ def _deserialize(self, params):
6672
+ self._ZoneId = params.get("ZoneId")
6673
+ self._ProxyId = params.get("ProxyId")
6674
+ self._RuleIds = params.get("RuleIds")
6675
+ memeber_set = set(params.keys())
6676
+ for name, value in vars(self).items():
6677
+ property_name = name[1:]
6678
+ if property_name in memeber_set:
6679
+ memeber_set.remove(property_name)
6680
+ if len(memeber_set) > 0:
6681
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6682
+
6683
+
6684
+
6685
+ class DeleteL4ProxyRulesResponse(AbstractModel):
6686
+ """DeleteL4ProxyRules返回参数结构体
6687
+
6688
+ """
6689
+
6690
+ def __init__(self):
6691
+ r"""
6692
+ :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6693
+ :type RequestId: str
6694
+ """
6695
+ self._RequestId = None
6696
+
6697
+ @property
6698
+ def RequestId(self):
6699
+ return self._RequestId
6700
+
6701
+ @RequestId.setter
6702
+ def RequestId(self, RequestId):
6703
+ self._RequestId = RequestId
6704
+
6705
+
6706
+ def _deserialize(self, params):
6707
+ self._RequestId = params.get("RequestId")
6708
+
6709
+
6710
+ class DeleteOriginGroupRequest(AbstractModel):
6711
+ """DeleteOriginGroup请求参数结构体
6712
+
6713
+ """
6714
+
6715
+ def __init__(self):
6716
+ r"""
6717
+ :param _ZoneId: 站点 ID
6718
+ :type ZoneId: str
6719
+ :param _GroupId: 源站组 ID,此参数必填。
6720
+ :type GroupId: str
6721
+ """
6722
+ self._ZoneId = None
6723
+ self._GroupId = None
6724
+
6725
+ @property
6726
+ def ZoneId(self):
6727
+ return self._ZoneId
6728
+
6729
+ @ZoneId.setter
6730
+ def ZoneId(self, ZoneId):
6731
+ self._ZoneId = ZoneId
6732
+
6733
+ @property
6734
+ def GroupId(self):
6735
+ return self._GroupId
6736
+
6737
+ @GroupId.setter
6738
+ def GroupId(self, GroupId):
6739
+ self._GroupId = GroupId
6740
+
6741
+
6742
+ def _deserialize(self, params):
6743
+ self._ZoneId = params.get("ZoneId")
6744
+ self._GroupId = params.get("GroupId")
6745
+ memeber_set = set(params.keys())
6746
+ for name, value in vars(self).items():
6747
+ property_name = name[1:]
6748
+ if property_name in memeber_set:
6749
+ memeber_set.remove(property_name)
6750
+ if len(memeber_set) > 0:
6751
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6752
+
6753
+
6754
+
6755
+ class DeleteOriginGroupResponse(AbstractModel):
6756
+ """DeleteOriginGroup返回参数结构体
6757
+
6758
+ """
6759
+
6760
+ def __init__(self):
6761
+ r"""
6762
+ :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6763
+ :type RequestId: str
6764
+ """
6765
+ self._RequestId = None
6766
+
6767
+ @property
6768
+ def RequestId(self):
6769
+ return self._RequestId
6770
+
6771
+ @RequestId.setter
6772
+ def RequestId(self, RequestId):
6773
+ self._RequestId = RequestId
6774
+
6775
+
6776
+ def _deserialize(self, params):
6777
+ self._RequestId = params.get("RequestId")
6778
+
6779
+
6780
+ class DeleteRulesRequest(AbstractModel):
6781
+ """DeleteRules请求参数结构体
6782
+
6783
+ """
6784
+
6785
+ def __init__(self):
6786
+ r"""
6787
+ :param _ZoneId: 站点 ID。
6788
+ :type ZoneId: str
6789
+ :param _RuleIds: 指定删除的规则 ID 列表。
6790
+ :type RuleIds: list of str
6791
+ """
6792
+ self._ZoneId = None
6793
+ self._RuleIds = None
6794
+
6795
+ @property
6796
+ def ZoneId(self):
6797
+ return self._ZoneId
6798
+
6799
+ @ZoneId.setter
6800
+ def ZoneId(self, ZoneId):
6801
+ self._ZoneId = ZoneId
6802
+
6803
+ @property
6804
+ def RuleIds(self):
6805
+ return self._RuleIds
6806
+
6330
6807
  @RuleIds.setter
6331
6808
  def RuleIds(self, RuleIds):
6332
6809
  self._RuleIds = RuleIds
@@ -8823,22 +9300,25 @@ class DescribeIdentificationsResponse(AbstractModel):
8823
9300
  self._RequestId = params.get("RequestId")
8824
9301
 
8825
9302
 
8826
- class DescribeOriginGroupRequest(AbstractModel):
8827
- """DescribeOriginGroup请求参数结构体
9303
+ class DescribeL4ProxyRequest(AbstractModel):
9304
+ """DescribeL4Proxy请求参数结构体
8828
9305
 
8829
9306
  """
8830
9307
 
8831
9308
  def __init__(self):
8832
9309
  r"""
8833
- :param _ZoneId: 站点ID,此参数必填。
9310
+ :param _ZoneId: 四层代理实例所属站点的 ID
8834
9311
  :type ZoneId: str
8835
- :param _Offset: 分页查询偏移量,不填默认为0。
9312
+ :param _Offset: 分页查询偏移量,不填写时默认为 0。
8836
9313
  :type Offset: int
8837
- :param _Limit: 分页查询限制数目,不填默认为20,取值:1-1000。
9314
+ :param _Limit: 分页查询限制数目。默认值:20,最大值:1000。
8838
9315
  :type Limit: int
8839
- :param _Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
8840
- <li>origin-group-id<br>   按照【<strong>源站组ID</strong>】进行过滤。源站组ID形如:origin-2ccgtb24-7dc5-46s2-9r3e-95825d53dwe3a<br>   模糊查询:不支持</li><li>origin-group-name<br>   按照【<strong>源站组名称</strong>】进行过滤<br>   模糊查询:支持。使用模糊查询时,仅支持填写一个源站组名称</li>
8841
- :type Filters: list of AdvancedFilter
9316
+ :param _Filters: 过滤条件,Filters.Values 的上限为 20。该参数不填写时,返回当前 zone-id 下所有四层代理实例信息。详细的过滤条件如下:
9317
+ <li>proxy-id:按照四层代理实例 ID 进行过滤;</li>
9318
+ <li>ddos-protection-type:按照安全防护类型进行过滤。</li>
9319
+
9320
+
9321
+ :type Filters: list of Filter
8842
9322
  """
8843
9323
  self._ZoneId = None
8844
9324
  self._Offset = None
@@ -8885,7 +9365,7 @@ class DescribeOriginGroupRequest(AbstractModel):
8885
9365
  if params.get("Filters") is not None:
8886
9366
  self._Filters = []
8887
9367
  for item in params.get("Filters"):
8888
- obj = AdvancedFilter()
9368
+ obj = Filter()
8889
9369
  obj._deserialize(item)
8890
9370
  self._Filters.append(obj)
8891
9371
  memeber_set = set(params.keys())
@@ -8898,22 +9378,22 @@ class DescribeOriginGroupRequest(AbstractModel):
8898
9378
 
8899
9379
 
8900
9380
 
8901
- class DescribeOriginGroupResponse(AbstractModel):
8902
- """DescribeOriginGroup返回参数结构体
9381
+ class DescribeL4ProxyResponse(AbstractModel):
9382
+ """DescribeL4Proxy返回参数结构体
8903
9383
 
8904
9384
  """
8905
9385
 
8906
9386
  def __init__(self):
8907
9387
  r"""
8908
- :param _TotalCount: 记录总数。
9388
+ :param _TotalCount: 四层代理实例的数量。
8909
9389
  :type TotalCount: int
8910
- :param _OriginGroups: 源站组信息。
8911
- :type OriginGroups: list of OriginGroup
9390
+ :param _L4Proxies: 四层代理实例列表。
9391
+ :type L4Proxies: list of L4Proxy
8912
9392
  :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8913
9393
  :type RequestId: str
8914
9394
  """
8915
9395
  self._TotalCount = None
8916
- self._OriginGroups = None
9396
+ self._L4Proxies = None
8917
9397
  self._RequestId = None
8918
9398
 
8919
9399
  @property
@@ -8925,12 +9405,12 @@ class DescribeOriginGroupResponse(AbstractModel):
8925
9405
  self._TotalCount = TotalCount
8926
9406
 
8927
9407
  @property
8928
- def OriginGroups(self):
8929
- return self._OriginGroups
9408
+ def L4Proxies(self):
9409
+ return self._L4Proxies
8930
9410
 
8931
- @OriginGroups.setter
8932
- def OriginGroups(self, OriginGroups):
8933
- self._OriginGroups = OriginGroups
9411
+ @L4Proxies.setter
9412
+ def L4Proxies(self, L4Proxies):
9413
+ self._L4Proxies = L4Proxies
8934
9414
 
8935
9415
  @property
8936
9416
  def RequestId(self):
@@ -8943,53 +9423,56 @@ class DescribeOriginGroupResponse(AbstractModel):
8943
9423
 
8944
9424
  def _deserialize(self, params):
8945
9425
  self._TotalCount = params.get("TotalCount")
8946
- if params.get("OriginGroups") is not None:
8947
- self._OriginGroups = []
8948
- for item in params.get("OriginGroups"):
8949
- obj = OriginGroup()
9426
+ if params.get("L4Proxies") is not None:
9427
+ self._L4Proxies = []
9428
+ for item in params.get("L4Proxies"):
9429
+ obj = L4Proxy()
8950
9430
  obj._deserialize(item)
8951
- self._OriginGroups.append(obj)
9431
+ self._L4Proxies.append(obj)
8952
9432
  self._RequestId = params.get("RequestId")
8953
9433
 
8954
9434
 
8955
- class DescribeOriginProtectionRequest(AbstractModel):
8956
- """DescribeOriginProtection请求参数结构体
9435
+ class DescribeL4ProxyRulesRequest(AbstractModel):
9436
+ """DescribeL4ProxyRules请求参数结构体
8957
9437
 
8958
9438
  """
8959
9439
 
8960
9440
  def __init__(self):
8961
9441
  r"""
8962
- :param _ZoneIds: 查询的站点ID集合。该参数必填。
8963
- :type ZoneIds: list of str
8964
- :param _Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
8965
- <li>need-update<br>   按照【<strong>站点是否需要更新源站防护IP白名单</strong>】进行过滤。<br>   类型:String<br>   必选:否<br>   可选项:<br>   true:需要更新<br>   false:无需更新<br></li>
8966
- <li>plan-support<br>   按照【<strong>站点套餐是否支持源站防护</strong>】进行过滤。<br>   类型:String<br>   必选:否<br>   可选项:<br>   true:支持<br>   false:不支持<br></li>
8967
- :type Filters: list of Filter
8968
- :param _Offset: 分页查询偏移量,默认为0。
9442
+ :param _ZoneId: 站点 ID
9443
+ :type ZoneId: str
9444
+ :param _ProxyId: 四层代理实例 ID。
9445
+ :type ProxyId: str
9446
+ :param _Offset: 分页查询偏移量,不填写时默认为 0。
8969
9447
  :type Offset: int
8970
- :param _Limit: 分页查询限制数目。默认值:20,最大值:1000。
9448
+ :param _Limit: 分页查询限制数目。默认值:20,最大值:1000。
8971
9449
  :type Limit: int
9450
+ :param _Filters: 过滤条件,Filters.Values的上限为20。不填写时返回当前四层实例下所有的规则信息,详细的过滤条件如下:
9451
+ <li>rule-tag:按照规则标签对四层代理实例下的规则进行过滤。</li>
9452
+
9453
+ :type Filters: list of Filter
8972
9454
  """
8973
- self._ZoneIds = None
8974
- self._Filters = None
9455
+ self._ZoneId = None
9456
+ self._ProxyId = None
8975
9457
  self._Offset = None
8976
9458
  self._Limit = None
9459
+ self._Filters = None
8977
9460
 
8978
9461
  @property
8979
- def ZoneIds(self):
8980
- return self._ZoneIds
9462
+ def ZoneId(self):
9463
+ return self._ZoneId
8981
9464
 
8982
- @ZoneIds.setter
8983
- def ZoneIds(self, ZoneIds):
8984
- self._ZoneIds = ZoneIds
9465
+ @ZoneId.setter
9466
+ def ZoneId(self, ZoneId):
9467
+ self._ZoneId = ZoneId
8985
9468
 
8986
9469
  @property
8987
- def Filters(self):
8988
- return self._Filters
9470
+ def ProxyId(self):
9471
+ return self._ProxyId
8989
9472
 
8990
- @Filters.setter
8991
- def Filters(self, Filters):
8992
- self._Filters = Filters
9473
+ @ProxyId.setter
9474
+ def ProxyId(self, ProxyId):
9475
+ self._ProxyId = ProxyId
8993
9476
 
8994
9477
  @property
8995
9478
  def Offset(self):
@@ -9007,17 +9490,26 @@ class DescribeOriginProtectionRequest(AbstractModel):
9007
9490
  def Limit(self, Limit):
9008
9491
  self._Limit = Limit
9009
9492
 
9493
+ @property
9494
+ def Filters(self):
9495
+ return self._Filters
9496
+
9497
+ @Filters.setter
9498
+ def Filters(self, Filters):
9499
+ self._Filters = Filters
9500
+
9010
9501
 
9011
9502
  def _deserialize(self, params):
9012
- self._ZoneIds = params.get("ZoneIds")
9503
+ self._ZoneId = params.get("ZoneId")
9504
+ self._ProxyId = params.get("ProxyId")
9505
+ self._Offset = params.get("Offset")
9506
+ self._Limit = params.get("Limit")
9013
9507
  if params.get("Filters") is not None:
9014
9508
  self._Filters = []
9015
9509
  for item in params.get("Filters"):
9016
9510
  obj = Filter()
9017
9511
  obj._deserialize(item)
9018
9512
  self._Filters.append(obj)
9019
- self._Offset = params.get("Offset")
9020
- self._Limit = params.get("Limit")
9021
9513
  memeber_set = set(params.keys())
9022
9514
  for name, value in vars(self).items():
9023
9515
  property_name = name[1:]
@@ -9028,29 +9520,288 @@ class DescribeOriginProtectionRequest(AbstractModel):
9028
9520
 
9029
9521
 
9030
9522
 
9031
- class DescribeOriginProtectionResponse(AbstractModel):
9032
- """DescribeOriginProtection返回参数结构体
9523
+ class DescribeL4ProxyRulesResponse(AbstractModel):
9524
+ """DescribeL4ProxyRules返回参数结构体
9033
9525
 
9034
9526
  """
9035
9527
 
9036
9528
  def __init__(self):
9037
9529
  r"""
9038
- :param _OriginProtectionInfo: 源站防护信息。
9039
- 注意:此字段可能返回 null,表示取不到有效值。
9040
- :type OriginProtectionInfo: list of OriginProtectionInfo
9530
+ :param _TotalCount: 转发规则总数。
9531
+ :type TotalCount: int
9532
+ :param _L4ProxyRules: 转发规则列表。
9533
+ :type L4ProxyRules: list of L4ProxyRule
9041
9534
  :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9042
9535
  :type RequestId: str
9043
9536
  """
9044
- self._OriginProtectionInfo = None
9537
+ self._TotalCount = None
9538
+ self._L4ProxyRules = None
9045
9539
  self._RequestId = None
9046
9540
 
9047
9541
  @property
9048
- def OriginProtectionInfo(self):
9049
- return self._OriginProtectionInfo
9542
+ def TotalCount(self):
9543
+ return self._TotalCount
9050
9544
 
9051
- @OriginProtectionInfo.setter
9052
- def OriginProtectionInfo(self, OriginProtectionInfo):
9053
- self._OriginProtectionInfo = OriginProtectionInfo
9545
+ @TotalCount.setter
9546
+ def TotalCount(self, TotalCount):
9547
+ self._TotalCount = TotalCount
9548
+
9549
+ @property
9550
+ def L4ProxyRules(self):
9551
+ return self._L4ProxyRules
9552
+
9553
+ @L4ProxyRules.setter
9554
+ def L4ProxyRules(self, L4ProxyRules):
9555
+ self._L4ProxyRules = L4ProxyRules
9556
+
9557
+ @property
9558
+ def RequestId(self):
9559
+ return self._RequestId
9560
+
9561
+ @RequestId.setter
9562
+ def RequestId(self, RequestId):
9563
+ self._RequestId = RequestId
9564
+
9565
+
9566
+ def _deserialize(self, params):
9567
+ self._TotalCount = params.get("TotalCount")
9568
+ if params.get("L4ProxyRules") is not None:
9569
+ self._L4ProxyRules = []
9570
+ for item in params.get("L4ProxyRules"):
9571
+ obj = L4ProxyRule()
9572
+ obj._deserialize(item)
9573
+ self._L4ProxyRules.append(obj)
9574
+ self._RequestId = params.get("RequestId")
9575
+
9576
+
9577
+ class DescribeOriginGroupRequest(AbstractModel):
9578
+ """DescribeOriginGroup请求参数结构体
9579
+
9580
+ """
9581
+
9582
+ def __init__(self):
9583
+ r"""
9584
+ :param _ZoneId: 站点ID,此参数必填。
9585
+ :type ZoneId: str
9586
+ :param _Offset: 分页查询偏移量,不填默认为0。
9587
+ :type Offset: int
9588
+ :param _Limit: 分页查询限制数目,不填默认为20,取值:1-1000。
9589
+ :type Limit: int
9590
+ :param _Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
9591
+ <li>origin-group-id<br>   按照【<strong>源站组ID</strong>】进行过滤。源站组ID形如:origin-2ccgtb24-7dc5-46s2-9r3e-95825d53dwe3a<br>   模糊查询:不支持</li><li>origin-group-name<br>   按照【<strong>源站组名称</strong>】进行过滤<br>   模糊查询:支持。使用模糊查询时,仅支持填写一个源站组名称</li>
9592
+ :type Filters: list of AdvancedFilter
9593
+ """
9594
+ self._ZoneId = None
9595
+ self._Offset = None
9596
+ self._Limit = None
9597
+ self._Filters = None
9598
+
9599
+ @property
9600
+ def ZoneId(self):
9601
+ return self._ZoneId
9602
+
9603
+ @ZoneId.setter
9604
+ def ZoneId(self, ZoneId):
9605
+ self._ZoneId = ZoneId
9606
+
9607
+ @property
9608
+ def Offset(self):
9609
+ return self._Offset
9610
+
9611
+ @Offset.setter
9612
+ def Offset(self, Offset):
9613
+ self._Offset = Offset
9614
+
9615
+ @property
9616
+ def Limit(self):
9617
+ return self._Limit
9618
+
9619
+ @Limit.setter
9620
+ def Limit(self, Limit):
9621
+ self._Limit = Limit
9622
+
9623
+ @property
9624
+ def Filters(self):
9625
+ return self._Filters
9626
+
9627
+ @Filters.setter
9628
+ def Filters(self, Filters):
9629
+ self._Filters = Filters
9630
+
9631
+
9632
+ def _deserialize(self, params):
9633
+ self._ZoneId = params.get("ZoneId")
9634
+ self._Offset = params.get("Offset")
9635
+ self._Limit = params.get("Limit")
9636
+ if params.get("Filters") is not None:
9637
+ self._Filters = []
9638
+ for item in params.get("Filters"):
9639
+ obj = AdvancedFilter()
9640
+ obj._deserialize(item)
9641
+ self._Filters.append(obj)
9642
+ memeber_set = set(params.keys())
9643
+ for name, value in vars(self).items():
9644
+ property_name = name[1:]
9645
+ if property_name in memeber_set:
9646
+ memeber_set.remove(property_name)
9647
+ if len(memeber_set) > 0:
9648
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9649
+
9650
+
9651
+
9652
+ class DescribeOriginGroupResponse(AbstractModel):
9653
+ """DescribeOriginGroup返回参数结构体
9654
+
9655
+ """
9656
+
9657
+ def __init__(self):
9658
+ r"""
9659
+ :param _TotalCount: 记录总数。
9660
+ :type TotalCount: int
9661
+ :param _OriginGroups: 源站组信息。
9662
+ :type OriginGroups: list of OriginGroup
9663
+ :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9664
+ :type RequestId: str
9665
+ """
9666
+ self._TotalCount = None
9667
+ self._OriginGroups = None
9668
+ self._RequestId = None
9669
+
9670
+ @property
9671
+ def TotalCount(self):
9672
+ return self._TotalCount
9673
+
9674
+ @TotalCount.setter
9675
+ def TotalCount(self, TotalCount):
9676
+ self._TotalCount = TotalCount
9677
+
9678
+ @property
9679
+ def OriginGroups(self):
9680
+ return self._OriginGroups
9681
+
9682
+ @OriginGroups.setter
9683
+ def OriginGroups(self, OriginGroups):
9684
+ self._OriginGroups = OriginGroups
9685
+
9686
+ @property
9687
+ def RequestId(self):
9688
+ return self._RequestId
9689
+
9690
+ @RequestId.setter
9691
+ def RequestId(self, RequestId):
9692
+ self._RequestId = RequestId
9693
+
9694
+
9695
+ def _deserialize(self, params):
9696
+ self._TotalCount = params.get("TotalCount")
9697
+ if params.get("OriginGroups") is not None:
9698
+ self._OriginGroups = []
9699
+ for item in params.get("OriginGroups"):
9700
+ obj = OriginGroup()
9701
+ obj._deserialize(item)
9702
+ self._OriginGroups.append(obj)
9703
+ self._RequestId = params.get("RequestId")
9704
+
9705
+
9706
+ class DescribeOriginProtectionRequest(AbstractModel):
9707
+ """DescribeOriginProtection请求参数结构体
9708
+
9709
+ """
9710
+
9711
+ def __init__(self):
9712
+ r"""
9713
+ :param _ZoneIds: 查询的站点ID集合。该参数必填。
9714
+ :type ZoneIds: list of str
9715
+ :param _Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
9716
+ <li>need-update<br>   按照【<strong>站点是否需要更新源站防护IP白名单</strong>】进行过滤。<br>   类型:String<br>   必选:否<br>   可选项:<br>   true:需要更新<br>   false:无需更新<br></li>
9717
+ <li>plan-support<br>   按照【<strong>站点套餐是否支持源站防护</strong>】进行过滤。<br>   类型:String<br>   必选:否<br>   可选项:<br>   true:支持<br>   false:不支持<br></li>
9718
+ :type Filters: list of Filter
9719
+ :param _Offset: 分页查询偏移量,默认为0。
9720
+ :type Offset: int
9721
+ :param _Limit: 分页查询限制数目。默认值:20,最大值:1000。
9722
+ :type Limit: int
9723
+ """
9724
+ self._ZoneIds = None
9725
+ self._Filters = None
9726
+ self._Offset = None
9727
+ self._Limit = None
9728
+
9729
+ @property
9730
+ def ZoneIds(self):
9731
+ return self._ZoneIds
9732
+
9733
+ @ZoneIds.setter
9734
+ def ZoneIds(self, ZoneIds):
9735
+ self._ZoneIds = ZoneIds
9736
+
9737
+ @property
9738
+ def Filters(self):
9739
+ return self._Filters
9740
+
9741
+ @Filters.setter
9742
+ def Filters(self, Filters):
9743
+ self._Filters = Filters
9744
+
9745
+ @property
9746
+ def Offset(self):
9747
+ return self._Offset
9748
+
9749
+ @Offset.setter
9750
+ def Offset(self, Offset):
9751
+ self._Offset = Offset
9752
+
9753
+ @property
9754
+ def Limit(self):
9755
+ return self._Limit
9756
+
9757
+ @Limit.setter
9758
+ def Limit(self, Limit):
9759
+ self._Limit = Limit
9760
+
9761
+
9762
+ def _deserialize(self, params):
9763
+ self._ZoneIds = params.get("ZoneIds")
9764
+ if params.get("Filters") is not None:
9765
+ self._Filters = []
9766
+ for item in params.get("Filters"):
9767
+ obj = Filter()
9768
+ obj._deserialize(item)
9769
+ self._Filters.append(obj)
9770
+ self._Offset = params.get("Offset")
9771
+ self._Limit = params.get("Limit")
9772
+ memeber_set = set(params.keys())
9773
+ for name, value in vars(self).items():
9774
+ property_name = name[1:]
9775
+ if property_name in memeber_set:
9776
+ memeber_set.remove(property_name)
9777
+ if len(memeber_set) > 0:
9778
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9779
+
9780
+
9781
+
9782
+ class DescribeOriginProtectionResponse(AbstractModel):
9783
+ """DescribeOriginProtection返回参数结构体
9784
+
9785
+ """
9786
+
9787
+ def __init__(self):
9788
+ r"""
9789
+ :param _OriginProtectionInfo: 源站防护信息。
9790
+ 注意:此字段可能返回 null,表示取不到有效值。
9791
+ :type OriginProtectionInfo: list of OriginProtectionInfo
9792
+ :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9793
+ :type RequestId: str
9794
+ """
9795
+ self._OriginProtectionInfo = None
9796
+ self._RequestId = None
9797
+
9798
+ @property
9799
+ def OriginProtectionInfo(self):
9800
+ return self._OriginProtectionInfo
9801
+
9802
+ @OriginProtectionInfo.setter
9803
+ def OriginProtectionInfo(self, OriginProtectionInfo):
9804
+ self._OriginProtectionInfo = OriginProtectionInfo
9054
9805
 
9055
9806
  @property
9056
9807
  def RequestId(self):
@@ -13983,48 +14734,91 @@ class L4OfflineLog(AbstractModel):
13983
14734
 
13984
14735
 
13985
14736
 
13986
- class L7OfflineLog(AbstractModel):
13987
- """七层离线日志详细信息。
14737
+ class L4Proxy(AbstractModel):
14738
+ """四层代理实例。
13988
14739
 
13989
14740
  """
13990
14741
 
13991
14742
  def __init__(self):
13992
14743
  r"""
13993
- :param _Domain: 离线日志域名。
13994
- :type Domain: str
13995
- :param _Area: 日志所属区域,取值有:
13996
- <li>mainland:中国大陆境内; </li>
13997
- <li>overseas:全球(不含中国大陆)。</li>
14744
+ :param _ZoneId: 站点 ID。
14745
+ :type ZoneId: str
14746
+ :param _ProxyId: 四层代理实例 ID。
14747
+ :type ProxyId: str
14748
+ :param _ProxyName: 四层代理实例名称。
14749
+ :type ProxyName: str
14750
+ :param _Area: 四层代理实例的加速区域。
14751
+ <li>mainland:中国大陆可用区;</li>
14752
+ <li>overseas: 全球可用区(不含中国大陆);</li>
14753
+ <li>global:全球可用区。</li>
13998
14754
  :type Area: str
13999
- :param _LogPacketName: 离线日志数据包名。
14000
- :type LogPacketName: str
14001
- :param _Url: 离线日志下载地址。
14002
- :type Url: str
14003
- :param _LogTime: 日志打包时间,此参数已经废弃。
14004
- :type LogTime: int
14005
- :param _LogStartTime: 日志打包开始时间。
14006
- :type LogStartTime: str
14007
- :param _LogEndTime: 日志打包结束时间。
14008
- :type LogEndTime: str
14009
- :param _Size: 日志原始大小,单位 Byte。
14010
- :type Size: int
14755
+ :param _Cname: 接入 CNAME。
14756
+ :type Cname: str
14757
+ :param _Ips: 开启固定 IP 后,该值会返回对应的接入 IP;未开启时,该值为空。
14758
+ :type Ips: list of str
14759
+ :param _Status: 四层代理实例状态。
14760
+ <li>online:已启用;</li>
14761
+ <li>offline:已停用;</li>
14762
+ <li>progress:部署中;</li>
14763
+ <li>stopping:停用中;</li>
14764
+ <li>banned:已封禁;</li>
14765
+ <li>fail:部署失败/停用失败。</li>
14766
+ :type Status: str
14767
+ :param _Ipv6: 是否开启 IPv6 访问。
14768
+ <li>on:开启;</li>
14769
+ <li>off:关闭。</li>
14770
+ :type Ipv6: str
14771
+ :param _StaticIp: 是否开启固定 IP。
14772
+ <li>on:开启;</li> <li>off:关闭。</li>
14773
+ :type StaticIp: str
14774
+ :param _AccelerateMainland: 是否开启中国大陆网络优化。
14775
+ <li>on:开启</li> <li>off:关闭</li>
14776
+ :type AccelerateMainland: str
14777
+ :param _DDosProtectionConfig: 安全防护配置。
14778
+ 注意:此字段可能返回 null,表示取不到有效值。
14779
+ :type DDosProtectionConfig: :class:`tencentcloud.teo.v20220901.models.DDosProtectionConfig`
14780
+ :param _L4ProxyRuleCount: 四层代理实例下的转发规则数量。
14781
+ :type L4ProxyRuleCount: int
14782
+ :param _UpdateTime: 最新变更时间。
14783
+ :type UpdateTime: str
14011
14784
  """
14012
- self._Domain = None
14785
+ self._ZoneId = None
14786
+ self._ProxyId = None
14787
+ self._ProxyName = None
14013
14788
  self._Area = None
14014
- self._LogPacketName = None
14015
- self._Url = None
14016
- self._LogTime = None
14017
- self._LogStartTime = None
14018
- self._LogEndTime = None
14019
- self._Size = None
14789
+ self._Cname = None
14790
+ self._Ips = None
14791
+ self._Status = None
14792
+ self._Ipv6 = None
14793
+ self._StaticIp = None
14794
+ self._AccelerateMainland = None
14795
+ self._DDosProtectionConfig = None
14796
+ self._L4ProxyRuleCount = None
14797
+ self._UpdateTime = None
14020
14798
 
14021
14799
  @property
14022
- def Domain(self):
14023
- return self._Domain
14800
+ def ZoneId(self):
14801
+ return self._ZoneId
14024
14802
 
14025
- @Domain.setter
14026
- def Domain(self, Domain):
14027
- self._Domain = Domain
14803
+ @ZoneId.setter
14804
+ def ZoneId(self, ZoneId):
14805
+ self._ZoneId = ZoneId
14806
+
14807
+ @property
14808
+ def ProxyId(self):
14809
+ return self._ProxyId
14810
+
14811
+ @ProxyId.setter
14812
+ def ProxyId(self, ProxyId):
14813
+ self._ProxyId = ProxyId
14814
+
14815
+ @property
14816
+ def ProxyName(self):
14817
+ return self._ProxyName
14818
+
14819
+ @ProxyName.setter
14820
+ def ProxyName(self, ProxyName):
14821
+ self._ProxyName = ProxyName
14028
14822
 
14029
14823
  @property
14030
14824
  def Area(self):
@@ -14035,63 +14829,772 @@ class L7OfflineLog(AbstractModel):
14035
14829
  self._Area = Area
14036
14830
 
14037
14831
  @property
14038
- def LogPacketName(self):
14039
- return self._LogPacketName
14832
+ def Cname(self):
14833
+ return self._Cname
14040
14834
 
14041
- @LogPacketName.setter
14042
- def LogPacketName(self, LogPacketName):
14043
- self._LogPacketName = LogPacketName
14835
+ @Cname.setter
14836
+ def Cname(self, Cname):
14837
+ self._Cname = Cname
14044
14838
 
14045
14839
  @property
14046
- def Url(self):
14047
- return self._Url
14840
+ def Ips(self):
14841
+ return self._Ips
14048
14842
 
14049
- @Url.setter
14050
- def Url(self, Url):
14051
- self._Url = Url
14843
+ @Ips.setter
14844
+ def Ips(self, Ips):
14845
+ self._Ips = Ips
14052
14846
 
14053
14847
  @property
14054
- def LogTime(self):
14055
- return self._LogTime
14848
+ def Status(self):
14849
+ return self._Status
14056
14850
 
14057
- @LogTime.setter
14058
- def LogTime(self, LogTime):
14059
- self._LogTime = LogTime
14851
+ @Status.setter
14852
+ def Status(self, Status):
14853
+ self._Status = Status
14060
14854
 
14061
14855
  @property
14062
- def LogStartTime(self):
14063
- return self._LogStartTime
14856
+ def Ipv6(self):
14857
+ return self._Ipv6
14858
+
14859
+ @Ipv6.setter
14860
+ def Ipv6(self, Ipv6):
14861
+ self._Ipv6 = Ipv6
14862
+
14863
+ @property
14864
+ def StaticIp(self):
14865
+ return self._StaticIp
14866
+
14867
+ @StaticIp.setter
14868
+ def StaticIp(self, StaticIp):
14869
+ self._StaticIp = StaticIp
14870
+
14871
+ @property
14872
+ def AccelerateMainland(self):
14873
+ return self._AccelerateMainland
14874
+
14875
+ @AccelerateMainland.setter
14876
+ def AccelerateMainland(self, AccelerateMainland):
14877
+ self._AccelerateMainland = AccelerateMainland
14878
+
14879
+ @property
14880
+ def DDosProtectionConfig(self):
14881
+ return self._DDosProtectionConfig
14882
+
14883
+ @DDosProtectionConfig.setter
14884
+ def DDosProtectionConfig(self, DDosProtectionConfig):
14885
+ self._DDosProtectionConfig = DDosProtectionConfig
14886
+
14887
+ @property
14888
+ def L4ProxyRuleCount(self):
14889
+ return self._L4ProxyRuleCount
14890
+
14891
+ @L4ProxyRuleCount.setter
14892
+ def L4ProxyRuleCount(self, L4ProxyRuleCount):
14893
+ self._L4ProxyRuleCount = L4ProxyRuleCount
14894
+
14895
+ @property
14896
+ def UpdateTime(self):
14897
+ return self._UpdateTime
14898
+
14899
+ @UpdateTime.setter
14900
+ def UpdateTime(self, UpdateTime):
14901
+ self._UpdateTime = UpdateTime
14902
+
14903
+
14904
+ def _deserialize(self, params):
14905
+ self._ZoneId = params.get("ZoneId")
14906
+ self._ProxyId = params.get("ProxyId")
14907
+ self._ProxyName = params.get("ProxyName")
14908
+ self._Area = params.get("Area")
14909
+ self._Cname = params.get("Cname")
14910
+ self._Ips = params.get("Ips")
14911
+ self._Status = params.get("Status")
14912
+ self._Ipv6 = params.get("Ipv6")
14913
+ self._StaticIp = params.get("StaticIp")
14914
+ self._AccelerateMainland = params.get("AccelerateMainland")
14915
+ if params.get("DDosProtectionConfig") is not None:
14916
+ self._DDosProtectionConfig = DDosProtectionConfig()
14917
+ self._DDosProtectionConfig._deserialize(params.get("DDosProtectionConfig"))
14918
+ self._L4ProxyRuleCount = params.get("L4ProxyRuleCount")
14919
+ self._UpdateTime = params.get("UpdateTime")
14920
+ memeber_set = set(params.keys())
14921
+ for name, value in vars(self).items():
14922
+ property_name = name[1:]
14923
+ if property_name in memeber_set:
14924
+ memeber_set.remove(property_name)
14925
+ if len(memeber_set) > 0:
14926
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
14927
+
14928
+
14929
+
14930
+ class L4ProxyRule(AbstractModel):
14931
+ """四层代理转发规则详情。
14932
+
14933
+ """
14934
+
14935
+ def __init__(self):
14936
+ r"""
14937
+ :param _RuleId: 转发规则 ID。
14938
+ 注意:L4ProxyRule 在 CreateL4ProxyRules 作为入参使用时,该参数请勿填写;在 ModifyL4ProxyRules 作为入参使用时,该参数必填。
14939
+ :type RuleId: str
14940
+ :param _Protocol: 转发协议。取值有:
14941
+ <li>TCP:TCP 协议;</li>
14942
+ <li>UDP:UDP 协议。</li>
14943
+ 注意:L4ProxyRule 在 CreateL4ProxyRules 作为入参使用时,该参数必填;在 ModifyL4ProxyRules 作为入参使用时,该参数选填,不填写时表示不修改。
14944
+ :type Protocol: str
14945
+ :param _PortRange: 转发端口,支持按照以下形式填写:
14946
+ <li>单端口,如:80;</li>
14947
+ <li>端口段,如:81-85。表示 81、82、83、84、85 五个端口。</li>
14948
+ 注意:L4ProxyRule 在 CreateL4ProxyRules 作为入参使用时,该参数必填;在 ModifyL4ProxyRules 作为入参使用时,该参数选填,不填写时表示不修改。
14949
+ :type PortRange: list of str
14950
+ :param _OriginType: 源站类型,取值有:
14951
+ <li>IP_DOMAIN:IP/域名源站;</li>
14952
+ <li>ORIGIN_GROUP:源站组;</li>
14953
+ <li>LB:负载均衡,当前仅白名单开放。</li>
14954
+ 注意:L4ProxyRule 在 CreateL4ProxyRules 作为入参使用时,该参数必填;在 ModifyL4ProxyRules 作为入参使用时,该参数选填,不填写时表示不修改。
14955
+ :type OriginType: str
14956
+ :param _OriginValue: 源站地址:
14957
+ <li>当 OriginType 为 IP_DOMAIN 时,填写 IP 或域名,如 8.8.8.8 或 test.com ;</li>
14958
+ <li>当 OriginType 为 ORIGIN_GROUP 时,填写源站组 ID,如 og-537y24vf5b41;</li>
14959
+ <li>当 OriginType 为 LB 时,填写负载均衡实例 ID,如 lb-2qwk30xf7s9g。</li>
14960
+ 注意:L4ProxyRule 在 CreateL4ProxyRules 作为入参使用时,该参数必填;在 ModifyL4ProxyRules 作为入参使用时,该参数选填,不填写时表示不修改。
14961
+
14962
+ :type OriginValue: list of str
14963
+ :param _OriginPortRange: 源站端口,支持按照以下形式填写:
14964
+ <li>单端口,如:80;</li>
14965
+ <li>端口段,如:81-85,表示 81、82、83、84、85 五个端口。填写端口段时,则需要与转发端口段长度保持一致,例如转发端口:80-90,则转发端口:90-100。</li>
14966
+ 注意:L4ProxyRule 在 CreateL4ProxyRules 作为入参使用时,该参数必填;在 ModifyL4ProxyRules 作为入参使用时,该参数选填,不填写时表示不修改。
14967
+ :type OriginPortRange: str
14968
+ :param _ClientIPPassThroughMode: 传递客户端 IP 的形式,取值有:
14969
+ <li>TOA:TOA(仅 Protocol = TCP 时可选);</li>
14970
+ <li>PPV1:Proxy Protocol 传递,协议版本 V1(仅 Protocol = TCP 时可选);</li>
14971
+ <li>PPV2:Proxy Protocol 传递,协议版本 V2;</li>
14972
+ <li>SPP:Simple Proxy Protocol 传递,(仅 Protocol = UDP 时可选);</li>
14973
+ <li>OFF:不传递。</li>
14974
+ 注意:L4ProxyRule 在 CreateL4ProxyRules 作为入参使用时,该参数选填,不填写时默认为 OFF;在 ModifyL4ProxyRules 作为入参使用时,该参数选填,不填写表示不修改。
14975
+ :type ClientIPPassThroughMode: str
14976
+ :param _SessionPersist: 是否开启会话保持,取值有:
14977
+ <li>on:开启;</li>
14978
+ <li>off:关闭。</li>
14979
+ 注意:L4ProxyRule 在 CreateL4ProxyRules 作为入参使用时,该参数选填,不填写时默认为 off;在 ModifyL4ProxyRules 作为入参使用时,该参数选填,不填写表示不修改。
14980
+ :type SessionPersist: str
14981
+ :param _SessionPersistTime: 会话保持时间,取值范围为 30-3600,单位为秒。
14982
+ 注意:L4ProxyRule 在 CreateL4ProxyRules 作为入参使用时,该参数选填,仅当 SessionPersist = on 时,该值才会生效,且当 SessionPersist = on ,该值不填写默认为 3600;在 ModifyL4ProxyRules 作为入参使用时,该参数选填,不填写表示不修改。
14983
+ :type SessionPersistTime: int
14984
+ :param _RuleTag: 规则标签。可输入1-50 个任意字符。
14985
+ 注意:L4ProxyRule 在 CreateL4ProxyRules 作为入参使用时,该参数选填;在 ModifyL4ProxyRules 作为入参使用时,该参数选填,不填写表示不修改。
14986
+ :type RuleTag: str
14987
+ :param _Status: 规则状态,取值有:
14988
+ <li>online:已启用;</li>
14989
+ <li>offline:已停用;</li>
14990
+ <li>progress:部署中;</li>
14991
+ <li>stopping:停用中;</li>
14992
+ <li>fail:部署失败/停用失败。</li>
14993
+ 注意:L4ProxyRule 在 CreateL4ProxyRules、ModifyL4ProxyRules 作为入参使用时,该参数请勿填写。
14994
+ :type Status: str
14995
+ """
14996
+ self._RuleId = None
14997
+ self._Protocol = None
14998
+ self._PortRange = None
14999
+ self._OriginType = None
15000
+ self._OriginValue = None
15001
+ self._OriginPortRange = None
15002
+ self._ClientIPPassThroughMode = None
15003
+ self._SessionPersist = None
15004
+ self._SessionPersistTime = None
15005
+ self._RuleTag = None
15006
+ self._Status = None
15007
+
15008
+ @property
15009
+ def RuleId(self):
15010
+ return self._RuleId
15011
+
15012
+ @RuleId.setter
15013
+ def RuleId(self, RuleId):
15014
+ self._RuleId = RuleId
15015
+
15016
+ @property
15017
+ def Protocol(self):
15018
+ return self._Protocol
15019
+
15020
+ @Protocol.setter
15021
+ def Protocol(self, Protocol):
15022
+ self._Protocol = Protocol
15023
+
15024
+ @property
15025
+ def PortRange(self):
15026
+ return self._PortRange
15027
+
15028
+ @PortRange.setter
15029
+ def PortRange(self, PortRange):
15030
+ self._PortRange = PortRange
15031
+
15032
+ @property
15033
+ def OriginType(self):
15034
+ return self._OriginType
15035
+
15036
+ @OriginType.setter
15037
+ def OriginType(self, OriginType):
15038
+ self._OriginType = OriginType
15039
+
15040
+ @property
15041
+ def OriginValue(self):
15042
+ return self._OriginValue
15043
+
15044
+ @OriginValue.setter
15045
+ def OriginValue(self, OriginValue):
15046
+ self._OriginValue = OriginValue
15047
+
15048
+ @property
15049
+ def OriginPortRange(self):
15050
+ return self._OriginPortRange
15051
+
15052
+ @OriginPortRange.setter
15053
+ def OriginPortRange(self, OriginPortRange):
15054
+ self._OriginPortRange = OriginPortRange
15055
+
15056
+ @property
15057
+ def ClientIPPassThroughMode(self):
15058
+ return self._ClientIPPassThroughMode
15059
+
15060
+ @ClientIPPassThroughMode.setter
15061
+ def ClientIPPassThroughMode(self, ClientIPPassThroughMode):
15062
+ self._ClientIPPassThroughMode = ClientIPPassThroughMode
15063
+
15064
+ @property
15065
+ def SessionPersist(self):
15066
+ return self._SessionPersist
15067
+
15068
+ @SessionPersist.setter
15069
+ def SessionPersist(self, SessionPersist):
15070
+ self._SessionPersist = SessionPersist
15071
+
15072
+ @property
15073
+ def SessionPersistTime(self):
15074
+ return self._SessionPersistTime
15075
+
15076
+ @SessionPersistTime.setter
15077
+ def SessionPersistTime(self, SessionPersistTime):
15078
+ self._SessionPersistTime = SessionPersistTime
15079
+
15080
+ @property
15081
+ def RuleTag(self):
15082
+ return self._RuleTag
15083
+
15084
+ @RuleTag.setter
15085
+ def RuleTag(self, RuleTag):
15086
+ self._RuleTag = RuleTag
15087
+
15088
+ @property
15089
+ def Status(self):
15090
+ return self._Status
15091
+
15092
+ @Status.setter
15093
+ def Status(self, Status):
15094
+ self._Status = Status
15095
+
15096
+
15097
+ def _deserialize(self, params):
15098
+ self._RuleId = params.get("RuleId")
15099
+ self._Protocol = params.get("Protocol")
15100
+ self._PortRange = params.get("PortRange")
15101
+ self._OriginType = params.get("OriginType")
15102
+ self._OriginValue = params.get("OriginValue")
15103
+ self._OriginPortRange = params.get("OriginPortRange")
15104
+ self._ClientIPPassThroughMode = params.get("ClientIPPassThroughMode")
15105
+ self._SessionPersist = params.get("SessionPersist")
15106
+ self._SessionPersistTime = params.get("SessionPersistTime")
15107
+ self._RuleTag = params.get("RuleTag")
15108
+ self._Status = params.get("Status")
15109
+ memeber_set = set(params.keys())
15110
+ for name, value in vars(self).items():
15111
+ property_name = name[1:]
15112
+ if property_name in memeber_set:
15113
+ memeber_set.remove(property_name)
15114
+ if len(memeber_set) > 0:
15115
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
15116
+
15117
+
15118
+
15119
+ class L7OfflineLog(AbstractModel):
15120
+ """七层离线日志详细信息。
15121
+
15122
+ """
15123
+
15124
+ def __init__(self):
15125
+ r"""
15126
+ :param _Domain: 离线日志域名。
15127
+ :type Domain: str
15128
+ :param _Area: 日志所属区域,取值有:
15129
+ <li>mainland:中国大陆境内; </li>
15130
+ <li>overseas:全球(不含中国大陆)。</li>
15131
+ :type Area: str
15132
+ :param _LogPacketName: 离线日志数据包名。
15133
+ :type LogPacketName: str
15134
+ :param _Url: 离线日志下载地址。
15135
+ :type Url: str
15136
+ :param _LogTime: 日志打包时间,此参数已经废弃。
15137
+ :type LogTime: int
15138
+ :param _LogStartTime: 日志打包开始时间。
15139
+ :type LogStartTime: str
15140
+ :param _LogEndTime: 日志打包结束时间。
15141
+ :type LogEndTime: str
15142
+ :param _Size: 日志原始大小,单位 Byte。
15143
+ :type Size: int
15144
+ """
15145
+ self._Domain = None
15146
+ self._Area = None
15147
+ self._LogPacketName = None
15148
+ self._Url = None
15149
+ self._LogTime = None
15150
+ self._LogStartTime = None
15151
+ self._LogEndTime = None
15152
+ self._Size = None
15153
+
15154
+ @property
15155
+ def Domain(self):
15156
+ return self._Domain
15157
+
15158
+ @Domain.setter
15159
+ def Domain(self, Domain):
15160
+ self._Domain = Domain
15161
+
15162
+ @property
15163
+ def Area(self):
15164
+ return self._Area
15165
+
15166
+ @Area.setter
15167
+ def Area(self, Area):
15168
+ self._Area = Area
15169
+
15170
+ @property
15171
+ def LogPacketName(self):
15172
+ return self._LogPacketName
15173
+
15174
+ @LogPacketName.setter
15175
+ def LogPacketName(self, LogPacketName):
15176
+ self._LogPacketName = LogPacketName
15177
+
15178
+ @property
15179
+ def Url(self):
15180
+ return self._Url
15181
+
15182
+ @Url.setter
15183
+ def Url(self, Url):
15184
+ self._Url = Url
15185
+
15186
+ @property
15187
+ def LogTime(self):
15188
+ return self._LogTime
15189
+
15190
+ @LogTime.setter
15191
+ def LogTime(self, LogTime):
15192
+ self._LogTime = LogTime
15193
+
15194
+ @property
15195
+ def LogStartTime(self):
15196
+ return self._LogStartTime
15197
+
15198
+ @LogStartTime.setter
15199
+ def LogStartTime(self, LogStartTime):
15200
+ self._LogStartTime = LogStartTime
15201
+
15202
+ @property
15203
+ def LogEndTime(self):
15204
+ return self._LogEndTime
15205
+
15206
+ @LogEndTime.setter
15207
+ def LogEndTime(self, LogEndTime):
15208
+ self._LogEndTime = LogEndTime
15209
+
15210
+ @property
15211
+ def Size(self):
15212
+ return self._Size
15213
+
15214
+ @Size.setter
15215
+ def Size(self, Size):
15216
+ self._Size = Size
15217
+
15218
+
15219
+ def _deserialize(self, params):
15220
+ self._Domain = params.get("Domain")
15221
+ self._Area = params.get("Area")
15222
+ self._LogPacketName = params.get("LogPacketName")
15223
+ self._Url = params.get("Url")
15224
+ self._LogTime = params.get("LogTime")
15225
+ self._LogStartTime = params.get("LogStartTime")
15226
+ self._LogEndTime = params.get("LogEndTime")
15227
+ self._Size = params.get("Size")
15228
+ memeber_set = set(params.keys())
15229
+ for name, value in vars(self).items():
15230
+ property_name = name[1:]
15231
+ if property_name in memeber_set:
15232
+ memeber_set.remove(property_name)
15233
+ if len(memeber_set) > 0:
15234
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
15235
+
15236
+
15237
+
15238
+ class MaxAge(AbstractModel):
15239
+ """浏览器缓存规则配置,用于设置 MaxAge 默认值,默认为关闭状态
15240
+
15241
+ """
15242
+
15243
+ def __init__(self):
15244
+ r"""
15245
+ :param _FollowOrigin: 是否遵循源站,取值有:
15246
+ <li>on:遵循源站,忽略MaxAge 时间设置;</li>
15247
+ <li>off:不遵循源站,使用MaxAge 时间设置。</li>
15248
+ :type FollowOrigin: str
15249
+ :param _MaxAgeTime: MaxAge 时间设置,单位秒,最大365天。
15250
+ 注意:时间为0,即不缓存。
15251
+ :type MaxAgeTime: int
15252
+ """
15253
+ self._FollowOrigin = None
15254
+ self._MaxAgeTime = None
15255
+
15256
+ @property
15257
+ def FollowOrigin(self):
15258
+ return self._FollowOrigin
15259
+
15260
+ @FollowOrigin.setter
15261
+ def FollowOrigin(self, FollowOrigin):
15262
+ self._FollowOrigin = FollowOrigin
15263
+
15264
+ @property
15265
+ def MaxAgeTime(self):
15266
+ return self._MaxAgeTime
15267
+
15268
+ @MaxAgeTime.setter
15269
+ def MaxAgeTime(self, MaxAgeTime):
15270
+ self._MaxAgeTime = MaxAgeTime
15271
+
15272
+
15273
+ def _deserialize(self, params):
15274
+ self._FollowOrigin = params.get("FollowOrigin")
15275
+ self._MaxAgeTime = params.get("MaxAgeTime")
15276
+ memeber_set = set(params.keys())
15277
+ for name, value in vars(self).items():
15278
+ property_name = name[1:]
15279
+ if property_name in memeber_set:
15280
+ memeber_set.remove(property_name)
15281
+ if len(memeber_set) > 0:
15282
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
15283
+
15284
+
15285
+
15286
+ class ModifyAccelerationDomainRequest(AbstractModel):
15287
+ """ModifyAccelerationDomain请求参数结构体
15288
+
15289
+ """
15290
+
15291
+ def __init__(self):
15292
+ r"""
15293
+ :param _ZoneId: 加速域名所属站点ID。
15294
+ :type ZoneId: str
15295
+ :param _DomainName: 加速域名名称。
15296
+ :type DomainName: str
15297
+ :param _OriginInfo: 源站信息。
15298
+ :type OriginInfo: :class:`tencentcloud.teo.v20220901.models.OriginInfo`
15299
+ :param _OriginProtocol: 回源协议,取值有:
15300
+ <li>FOLLOW: 协议跟随;</li>
15301
+ <li>HTTP: HTTP协议回源;</li>
15302
+ <li>HTTPS: HTTPS协议回源。</li>
15303
+ <li>不填保持原有配置。</li>
15304
+ :type OriginProtocol: str
15305
+ :param _HttpOriginPort: HTTP回源端口,取值为1-65535,当OriginProtocol=FOLLOW/HTTP时生效, 不填保持原有配置。
15306
+ :type HttpOriginPort: int
15307
+ :param _HttpsOriginPort: HTTPS回源端口,取值为1-65535,当OriginProtocol=FOLLOW/HTTPS时生效,不填保持原有配置。
15308
+ :type HttpsOriginPort: int
15309
+ :param _IPv6Status: IPv6状态,取值有:
15310
+ <li>follow:遵循站点IPv6配置;</li>
15311
+ <li>on:开启状态;</li>
15312
+ <li>off:关闭状态。</li>
15313
+ <li>不填保持原有配置。</li>
15314
+ :type IPv6Status: str
15315
+ """
15316
+ self._ZoneId = None
15317
+ self._DomainName = None
15318
+ self._OriginInfo = None
15319
+ self._OriginProtocol = None
15320
+ self._HttpOriginPort = None
15321
+ self._HttpsOriginPort = None
15322
+ self._IPv6Status = None
15323
+
15324
+ @property
15325
+ def ZoneId(self):
15326
+ return self._ZoneId
15327
+
15328
+ @ZoneId.setter
15329
+ def ZoneId(self, ZoneId):
15330
+ self._ZoneId = ZoneId
15331
+
15332
+ @property
15333
+ def DomainName(self):
15334
+ return self._DomainName
15335
+
15336
+ @DomainName.setter
15337
+ def DomainName(self, DomainName):
15338
+ self._DomainName = DomainName
15339
+
15340
+ @property
15341
+ def OriginInfo(self):
15342
+ return self._OriginInfo
15343
+
15344
+ @OriginInfo.setter
15345
+ def OriginInfo(self, OriginInfo):
15346
+ self._OriginInfo = OriginInfo
15347
+
15348
+ @property
15349
+ def OriginProtocol(self):
15350
+ return self._OriginProtocol
15351
+
15352
+ @OriginProtocol.setter
15353
+ def OriginProtocol(self, OriginProtocol):
15354
+ self._OriginProtocol = OriginProtocol
15355
+
15356
+ @property
15357
+ def HttpOriginPort(self):
15358
+ return self._HttpOriginPort
15359
+
15360
+ @HttpOriginPort.setter
15361
+ def HttpOriginPort(self, HttpOriginPort):
15362
+ self._HttpOriginPort = HttpOriginPort
15363
+
15364
+ @property
15365
+ def HttpsOriginPort(self):
15366
+ return self._HttpsOriginPort
15367
+
15368
+ @HttpsOriginPort.setter
15369
+ def HttpsOriginPort(self, HttpsOriginPort):
15370
+ self._HttpsOriginPort = HttpsOriginPort
15371
+
15372
+ @property
15373
+ def IPv6Status(self):
15374
+ return self._IPv6Status
15375
+
15376
+ @IPv6Status.setter
15377
+ def IPv6Status(self, IPv6Status):
15378
+ self._IPv6Status = IPv6Status
15379
+
15380
+
15381
+ def _deserialize(self, params):
15382
+ self._ZoneId = params.get("ZoneId")
15383
+ self._DomainName = params.get("DomainName")
15384
+ if params.get("OriginInfo") is not None:
15385
+ self._OriginInfo = OriginInfo()
15386
+ self._OriginInfo._deserialize(params.get("OriginInfo"))
15387
+ self._OriginProtocol = params.get("OriginProtocol")
15388
+ self._HttpOriginPort = params.get("HttpOriginPort")
15389
+ self._HttpsOriginPort = params.get("HttpsOriginPort")
15390
+ self._IPv6Status = params.get("IPv6Status")
15391
+ memeber_set = set(params.keys())
15392
+ for name, value in vars(self).items():
15393
+ property_name = name[1:]
15394
+ if property_name in memeber_set:
15395
+ memeber_set.remove(property_name)
15396
+ if len(memeber_set) > 0:
15397
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
15398
+
15399
+
15400
+
15401
+ class ModifyAccelerationDomainResponse(AbstractModel):
15402
+ """ModifyAccelerationDomain返回参数结构体
15403
+
15404
+ """
15405
+
15406
+ def __init__(self):
15407
+ r"""
15408
+ :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
15409
+ :type RequestId: str
15410
+ """
15411
+ self._RequestId = None
15412
+
15413
+ @property
15414
+ def RequestId(self):
15415
+ return self._RequestId
15416
+
15417
+ @RequestId.setter
15418
+ def RequestId(self, RequestId):
15419
+ self._RequestId = RequestId
15420
+
15421
+
15422
+ def _deserialize(self, params):
15423
+ self._RequestId = params.get("RequestId")
15424
+
15425
+
15426
+ class ModifyAccelerationDomainStatusesRequest(AbstractModel):
15427
+ """ModifyAccelerationDomainStatuses请求参数结构体
15428
+
15429
+ """
15430
+
15431
+ def __init__(self):
15432
+ r"""
15433
+ :param _ZoneId: 加速域名所属站点ID。
15434
+ :type ZoneId: str
15435
+ :param _DomainNames: 要执行状态变更的加速域名列表。
15436
+ :type DomainNames: list of str
15437
+ :param _Status: 加速域名状态,取值有:
15438
+ <li>online:启用;</li>
15439
+ <li>offline:停用。</li>
15440
+ :type Status: str
15441
+ :param _Force: 是否强制停用。当域名存在关联资源(如马甲域名、流量调度功能)时,是否强制停用该域名,取值有:
15442
+ <li> true:停用该域名及所有关联资源;</li>
15443
+ <li> false:当该加速域名存在关联资源时,不允许停用。</li>不填写,默认值为:false。
15444
+ :type Force: bool
15445
+ """
15446
+ self._ZoneId = None
15447
+ self._DomainNames = None
15448
+ self._Status = None
15449
+ self._Force = None
15450
+
15451
+ @property
15452
+ def ZoneId(self):
15453
+ return self._ZoneId
15454
+
15455
+ @ZoneId.setter
15456
+ def ZoneId(self, ZoneId):
15457
+ self._ZoneId = ZoneId
15458
+
15459
+ @property
15460
+ def DomainNames(self):
15461
+ return self._DomainNames
15462
+
15463
+ @DomainNames.setter
15464
+ def DomainNames(self, DomainNames):
15465
+ self._DomainNames = DomainNames
15466
+
15467
+ @property
15468
+ def Status(self):
15469
+ return self._Status
15470
+
15471
+ @Status.setter
15472
+ def Status(self, Status):
15473
+ self._Status = Status
15474
+
15475
+ @property
15476
+ def Force(self):
15477
+ return self._Force
15478
+
15479
+ @Force.setter
15480
+ def Force(self, Force):
15481
+ self._Force = Force
15482
+
15483
+
15484
+ def _deserialize(self, params):
15485
+ self._ZoneId = params.get("ZoneId")
15486
+ self._DomainNames = params.get("DomainNames")
15487
+ self._Status = params.get("Status")
15488
+ self._Force = params.get("Force")
15489
+ memeber_set = set(params.keys())
15490
+ for name, value in vars(self).items():
15491
+ property_name = name[1:]
15492
+ if property_name in memeber_set:
15493
+ memeber_set.remove(property_name)
15494
+ if len(memeber_set) > 0:
15495
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
15496
+
15497
+
15498
+
15499
+ class ModifyAccelerationDomainStatusesResponse(AbstractModel):
15500
+ """ModifyAccelerationDomainStatuses返回参数结构体
15501
+
15502
+ """
15503
+
15504
+ def __init__(self):
15505
+ r"""
15506
+ :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
15507
+ :type RequestId: str
15508
+ """
15509
+ self._RequestId = None
15510
+
15511
+ @property
15512
+ def RequestId(self):
15513
+ return self._RequestId
15514
+
15515
+ @RequestId.setter
15516
+ def RequestId(self, RequestId):
15517
+ self._RequestId = RequestId
15518
+
15519
+
15520
+ def _deserialize(self, params):
15521
+ self._RequestId = params.get("RequestId")
15522
+
15523
+
15524
+ class ModifyAliasDomainRequest(AbstractModel):
15525
+ """ModifyAliasDomain请求参数结构体
15526
+
15527
+ """
15528
+
15529
+ def __init__(self):
15530
+ r"""
15531
+ :param _ZoneId: 站点 ID。
15532
+ :type ZoneId: str
15533
+ :param _AliasName: 别称域名名称。
15534
+ :type AliasName: str
15535
+ :param _TargetName: 目标域名名称。
15536
+ :type TargetName: str
15537
+ :param _CertType: 证书配置,取值有:
15538
+ <li> none:不配置;</li>
15539
+ <li> hosting:SSL托管证书;</li>
15540
+ <li> apply:申请免费证书。</li>不填写保持原有配置。
15541
+ :type CertType: str
15542
+ :param _CertId: 当 CertType 取值为 hosting 时填入相应证书 ID。
15543
+ :type CertId: list of str
15544
+ """
15545
+ self._ZoneId = None
15546
+ self._AliasName = None
15547
+ self._TargetName = None
15548
+ self._CertType = None
15549
+ self._CertId = None
15550
+
15551
+ @property
15552
+ def ZoneId(self):
15553
+ return self._ZoneId
15554
+
15555
+ @ZoneId.setter
15556
+ def ZoneId(self, ZoneId):
15557
+ self._ZoneId = ZoneId
15558
+
15559
+ @property
15560
+ def AliasName(self):
15561
+ return self._AliasName
15562
+
15563
+ @AliasName.setter
15564
+ def AliasName(self, AliasName):
15565
+ self._AliasName = AliasName
15566
+
15567
+ @property
15568
+ def TargetName(self):
15569
+ return self._TargetName
14064
15570
 
14065
- @LogStartTime.setter
14066
- def LogStartTime(self, LogStartTime):
14067
- self._LogStartTime = LogStartTime
15571
+ @TargetName.setter
15572
+ def TargetName(self, TargetName):
15573
+ self._TargetName = TargetName
14068
15574
 
14069
15575
  @property
14070
- def LogEndTime(self):
14071
- return self._LogEndTime
15576
+ def CertType(self):
15577
+ return self._CertType
14072
15578
 
14073
- @LogEndTime.setter
14074
- def LogEndTime(self, LogEndTime):
14075
- self._LogEndTime = LogEndTime
15579
+ @CertType.setter
15580
+ def CertType(self, CertType):
15581
+ self._CertType = CertType
14076
15582
 
14077
15583
  @property
14078
- def Size(self):
14079
- return self._Size
15584
+ def CertId(self):
15585
+ return self._CertId
14080
15586
 
14081
- @Size.setter
14082
- def Size(self, Size):
14083
- self._Size = Size
15587
+ @CertId.setter
15588
+ def CertId(self, CertId):
15589
+ self._CertId = CertId
14084
15590
 
14085
15591
 
14086
15592
  def _deserialize(self, params):
14087
- self._Domain = params.get("Domain")
14088
- self._Area = params.get("Area")
14089
- self._LogPacketName = params.get("LogPacketName")
14090
- self._Url = params.get("Url")
14091
- self._LogTime = params.get("LogTime")
14092
- self._LogStartTime = params.get("LogStartTime")
14093
- self._LogEndTime = params.get("LogEndTime")
14094
- self._Size = params.get("Size")
15593
+ self._ZoneId = params.get("ZoneId")
15594
+ self._AliasName = params.get("AliasName")
15595
+ self._TargetName = params.get("TargetName")
15596
+ self._CertType = params.get("CertType")
15597
+ self._CertId = params.get("CertId")
14095
15598
  memeber_set = set(params.keys())
14096
15599
  for name, value in vars(self).items():
14097
15600
  property_name = name[1:]
@@ -14102,91 +15605,50 @@ class L7OfflineLog(AbstractModel):
14102
15605
 
14103
15606
 
14104
15607
 
14105
- class MaxAge(AbstractModel):
14106
- """浏览器缓存规则配置,用于设置 MaxAge 默认值,默认为关闭状态
15608
+ class ModifyAliasDomainResponse(AbstractModel):
15609
+ """ModifyAliasDomain返回参数结构体
14107
15610
 
14108
15611
  """
14109
15612
 
14110
15613
  def __init__(self):
14111
15614
  r"""
14112
- :param _FollowOrigin: 是否遵循源站,取值有:
14113
- <li>on:遵循源站,忽略MaxAge 时间设置;</li>
14114
- <li>off:不遵循源站,使用MaxAge 时间设置。</li>
14115
- :type FollowOrigin: str
14116
- :param _MaxAgeTime: MaxAge 时间设置,单位秒,最大365天。
14117
- 注意:时间为0,即不缓存。
14118
- :type MaxAgeTime: int
15615
+ :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
15616
+ :type RequestId: str
14119
15617
  """
14120
- self._FollowOrigin = None
14121
- self._MaxAgeTime = None
14122
-
14123
- @property
14124
- def FollowOrigin(self):
14125
- return self._FollowOrigin
14126
-
14127
- @FollowOrigin.setter
14128
- def FollowOrigin(self, FollowOrigin):
14129
- self._FollowOrigin = FollowOrigin
15618
+ self._RequestId = None
14130
15619
 
14131
15620
  @property
14132
- def MaxAgeTime(self):
14133
- return self._MaxAgeTime
15621
+ def RequestId(self):
15622
+ return self._RequestId
14134
15623
 
14135
- @MaxAgeTime.setter
14136
- def MaxAgeTime(self, MaxAgeTime):
14137
- self._MaxAgeTime = MaxAgeTime
15624
+ @RequestId.setter
15625
+ def RequestId(self, RequestId):
15626
+ self._RequestId = RequestId
14138
15627
 
14139
15628
 
14140
15629
  def _deserialize(self, params):
14141
- self._FollowOrigin = params.get("FollowOrigin")
14142
- self._MaxAgeTime = params.get("MaxAgeTime")
14143
- memeber_set = set(params.keys())
14144
- for name, value in vars(self).items():
14145
- property_name = name[1:]
14146
- if property_name in memeber_set:
14147
- memeber_set.remove(property_name)
14148
- if len(memeber_set) > 0:
14149
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
14150
-
15630
+ self._RequestId = params.get("RequestId")
14151
15631
 
14152
15632
 
14153
- class ModifyAccelerationDomainRequest(AbstractModel):
14154
- """ModifyAccelerationDomain请求参数结构体
15633
+ class ModifyAliasDomainStatusRequest(AbstractModel):
15634
+ """ModifyAliasDomainStatus请求参数结构体
14155
15635
 
14156
15636
  """
14157
15637
 
14158
15638
  def __init__(self):
14159
15639
  r"""
14160
- :param _ZoneId: 加速域名所属站点ID。
15640
+ :param _ZoneId: 站点 ID。
14161
15641
  :type ZoneId: str
14162
- :param _DomainName: 加速域名名称。
14163
- :type DomainName: str
14164
- :param _OriginInfo: 源站信息。
14165
- :type OriginInfo: :class:`tencentcloud.teo.v20220901.models.OriginInfo`
14166
- :param _OriginProtocol: 回源协议,取值有:
14167
- <li>FOLLOW: 协议跟随;</li>
14168
- <li>HTTP: HTTP协议回源;</li>
14169
- <li>HTTPS: HTTPS协议回源。</li>
14170
- <li>不填保持原有配置。</li>
14171
- :type OriginProtocol: str
14172
- :param _HttpOriginPort: HTTP回源端口,取值为1-65535,当OriginProtocol=FOLLOW/HTTP时生效, 不填保持原有配置。
14173
- :type HttpOriginPort: int
14174
- :param _HttpsOriginPort: HTTPS回源端口,取值为1-65535,当OriginProtocol=FOLLOW/HTTPS时生效,不填保持原有配置。
14175
- :type HttpsOriginPort: int
14176
- :param _IPv6Status: IPv6状态,取值有:
14177
- <li>follow:遵循站点IPv6配置;</li>
14178
- <li>on:开启状态;</li>
14179
- <li>off:关闭状态。</li>
14180
- <li>不填保持原有配置。</li>
14181
- :type IPv6Status: str
15642
+ :param _Paused: 别称域名状态,取值有:
15643
+ <li> false:开启别称域名;</li>
15644
+ <li> true:关闭别称域名。</li>
15645
+ :type Paused: bool
15646
+ :param _AliasNames: 待修改状态的别称域名名称。如果为空,则不执行修改状态操作。
15647
+ :type AliasNames: list of str
14182
15648
  """
14183
15649
  self._ZoneId = None
14184
- self._DomainName = None
14185
- self._OriginInfo = None
14186
- self._OriginProtocol = None
14187
- self._HttpOriginPort = None
14188
- self._HttpsOriginPort = None
14189
- self._IPv6Status = None
15650
+ self._Paused = None
15651
+ self._AliasNames = None
14190
15652
 
14191
15653
  @property
14192
15654
  def ZoneId(self):
@@ -14197,64 +15659,26 @@ class ModifyAccelerationDomainRequest(AbstractModel):
14197
15659
  self._ZoneId = ZoneId
14198
15660
 
14199
15661
  @property
14200
- def DomainName(self):
14201
- return self._DomainName
14202
-
14203
- @DomainName.setter
14204
- def DomainName(self, DomainName):
14205
- self._DomainName = DomainName
14206
-
14207
- @property
14208
- def OriginInfo(self):
14209
- return self._OriginInfo
14210
-
14211
- @OriginInfo.setter
14212
- def OriginInfo(self, OriginInfo):
14213
- self._OriginInfo = OriginInfo
14214
-
14215
- @property
14216
- def OriginProtocol(self):
14217
- return self._OriginProtocol
14218
-
14219
- @OriginProtocol.setter
14220
- def OriginProtocol(self, OriginProtocol):
14221
- self._OriginProtocol = OriginProtocol
14222
-
14223
- @property
14224
- def HttpOriginPort(self):
14225
- return self._HttpOriginPort
14226
-
14227
- @HttpOriginPort.setter
14228
- def HttpOriginPort(self, HttpOriginPort):
14229
- self._HttpOriginPort = HttpOriginPort
14230
-
14231
- @property
14232
- def HttpsOriginPort(self):
14233
- return self._HttpsOriginPort
15662
+ def Paused(self):
15663
+ return self._Paused
14234
15664
 
14235
- @HttpsOriginPort.setter
14236
- def HttpsOriginPort(self, HttpsOriginPort):
14237
- self._HttpsOriginPort = HttpsOriginPort
15665
+ @Paused.setter
15666
+ def Paused(self, Paused):
15667
+ self._Paused = Paused
14238
15668
 
14239
15669
  @property
14240
- def IPv6Status(self):
14241
- return self._IPv6Status
15670
+ def AliasNames(self):
15671
+ return self._AliasNames
14242
15672
 
14243
- @IPv6Status.setter
14244
- def IPv6Status(self, IPv6Status):
14245
- self._IPv6Status = IPv6Status
15673
+ @AliasNames.setter
15674
+ def AliasNames(self, AliasNames):
15675
+ self._AliasNames = AliasNames
14246
15676
 
14247
15677
 
14248
15678
  def _deserialize(self, params):
14249
15679
  self._ZoneId = params.get("ZoneId")
14250
- self._DomainName = params.get("DomainName")
14251
- if params.get("OriginInfo") is not None:
14252
- self._OriginInfo = OriginInfo()
14253
- self._OriginInfo._deserialize(params.get("OriginInfo"))
14254
- self._OriginProtocol = params.get("OriginProtocol")
14255
- self._HttpOriginPort = params.get("HttpOriginPort")
14256
- self._HttpsOriginPort = params.get("HttpsOriginPort")
14257
- self._IPv6Status = params.get("IPv6Status")
15680
+ self._Paused = params.get("Paused")
15681
+ self._AliasNames = params.get("AliasNames")
14258
15682
  memeber_set = set(params.keys())
14259
15683
  for name, value in vars(self).items():
14260
15684
  property_name = name[1:]
@@ -14265,8 +15689,8 @@ class ModifyAccelerationDomainRequest(AbstractModel):
14265
15689
 
14266
15690
 
14267
15691
 
14268
- class ModifyAccelerationDomainResponse(AbstractModel):
14269
- """ModifyAccelerationDomain返回参数结构体
15692
+ class ModifyAliasDomainStatusResponse(AbstractModel):
15693
+ """ModifyAliasDomainStatus返回参数结构体
14270
15694
 
14271
15695
  """
14272
15696
 
@@ -14290,30 +15714,38 @@ class ModifyAccelerationDomainResponse(AbstractModel):
14290
15714
  self._RequestId = params.get("RequestId")
14291
15715
 
14292
15716
 
14293
- class ModifyAccelerationDomainStatusesRequest(AbstractModel):
14294
- """ModifyAccelerationDomainStatuses请求参数结构体
15717
+ class ModifyApplicationProxyRequest(AbstractModel):
15718
+ """ModifyApplicationProxy请求参数结构体
14295
15719
 
14296
15720
  """
14297
15721
 
14298
15722
  def __init__(self):
14299
15723
  r"""
14300
- :param _ZoneId: 加速域名所属站点ID。
15724
+ :param _ZoneId: 站点 ID。
14301
15725
  :type ZoneId: str
14302
- :param _DomainNames: 要执行状态变更的加速域名列表。
14303
- :type DomainNames: list of str
14304
- :param _Status: 加速域名状态,取值有:
14305
- <li>online:启用;</li>
14306
- <li>offline:停用。</li>
14307
- :type Status: str
14308
- :param _Force: 是否强制停用。当域名存在关联资源(如马甲域名、流量调度功能)时,是否强制停用该域名,取值有:
14309
- <li> true:停用该域名及所有关联资源;</li>
14310
- <li> false:当该加速域名存在关联资源时,不允许停用。</li>不填写,默认值为:false。
14311
- :type Force: bool
15726
+ :param _ProxyId: 代理 ID。
15727
+ :type ProxyId: str
15728
+ :param _ProxyName: 当 ProxyType=hostname 时,表示域名或子域名;
15729
+ 当 ProxyType=instance 时,表示代理名称。
15730
+ :type ProxyName: str
15731
+ :param _SessionPersistTime: 会话保持时间,取值范围:30-3600,单位:秒。
15732
+ 不填写保持原有配置。
15733
+ :type SessionPersistTime: int
15734
+ :param _ProxyType: 四层代理模式,取值有:
15735
+ <li>instance:表示实例模式。</li>不填写使用默认值instance。
15736
+ :type ProxyType: str
15737
+ :param _Ipv6: Ipv6 访问配置,不填写保持原有配置。
15738
+ :type Ipv6: :class:`tencentcloud.teo.v20220901.models.Ipv6`
15739
+ :param _AccelerateMainland: 中国大陆加速优化配置。 不填写表示保持原有配置。
15740
+ :type AccelerateMainland: :class:`tencentcloud.teo.v20220901.models.AccelerateMainland`
14312
15741
  """
14313
15742
  self._ZoneId = None
14314
- self._DomainNames = None
14315
- self._Status = None
14316
- self._Force = None
15743
+ self._ProxyId = None
15744
+ self._ProxyName = None
15745
+ self._SessionPersistTime = None
15746
+ self._ProxyType = None
15747
+ self._Ipv6 = None
15748
+ self._AccelerateMainland = None
14317
15749
 
14318
15750
  @property
14319
15751
  def ZoneId(self):
@@ -14324,35 +15756,66 @@ class ModifyAccelerationDomainStatusesRequest(AbstractModel):
14324
15756
  self._ZoneId = ZoneId
14325
15757
 
14326
15758
  @property
14327
- def DomainNames(self):
14328
- return self._DomainNames
15759
+ def ProxyId(self):
15760
+ return self._ProxyId
15761
+
15762
+ @ProxyId.setter
15763
+ def ProxyId(self, ProxyId):
15764
+ self._ProxyId = ProxyId
15765
+
15766
+ @property
15767
+ def ProxyName(self):
15768
+ return self._ProxyName
15769
+
15770
+ @ProxyName.setter
15771
+ def ProxyName(self, ProxyName):
15772
+ self._ProxyName = ProxyName
15773
+
15774
+ @property
15775
+ def SessionPersistTime(self):
15776
+ return self._SessionPersistTime
15777
+
15778
+ @SessionPersistTime.setter
15779
+ def SessionPersistTime(self, SessionPersistTime):
15780
+ self._SessionPersistTime = SessionPersistTime
15781
+
15782
+ @property
15783
+ def ProxyType(self):
15784
+ return self._ProxyType
14329
15785
 
14330
- @DomainNames.setter
14331
- def DomainNames(self, DomainNames):
14332
- self._DomainNames = DomainNames
15786
+ @ProxyType.setter
15787
+ def ProxyType(self, ProxyType):
15788
+ self._ProxyType = ProxyType
14333
15789
 
14334
15790
  @property
14335
- def Status(self):
14336
- return self._Status
15791
+ def Ipv6(self):
15792
+ return self._Ipv6
14337
15793
 
14338
- @Status.setter
14339
- def Status(self, Status):
14340
- self._Status = Status
15794
+ @Ipv6.setter
15795
+ def Ipv6(self, Ipv6):
15796
+ self._Ipv6 = Ipv6
14341
15797
 
14342
15798
  @property
14343
- def Force(self):
14344
- return self._Force
15799
+ def AccelerateMainland(self):
15800
+ return self._AccelerateMainland
14345
15801
 
14346
- @Force.setter
14347
- def Force(self, Force):
14348
- self._Force = Force
15802
+ @AccelerateMainland.setter
15803
+ def AccelerateMainland(self, AccelerateMainland):
15804
+ self._AccelerateMainland = AccelerateMainland
14349
15805
 
14350
15806
 
14351
15807
  def _deserialize(self, params):
14352
15808
  self._ZoneId = params.get("ZoneId")
14353
- self._DomainNames = params.get("DomainNames")
14354
- self._Status = params.get("Status")
14355
- self._Force = params.get("Force")
15809
+ self._ProxyId = params.get("ProxyId")
15810
+ self._ProxyName = params.get("ProxyName")
15811
+ self._SessionPersistTime = params.get("SessionPersistTime")
15812
+ self._ProxyType = params.get("ProxyType")
15813
+ if params.get("Ipv6") is not None:
15814
+ self._Ipv6 = Ipv6()
15815
+ self._Ipv6._deserialize(params.get("Ipv6"))
15816
+ if params.get("AccelerateMainland") is not None:
15817
+ self._AccelerateMainland = AccelerateMainland()
15818
+ self._AccelerateMainland._deserialize(params.get("AccelerateMainland"))
14356
15819
  memeber_set = set(params.keys())
14357
15820
  for name, value in vars(self).items():
14358
15821
  property_name = name[1:]
@@ -14363,8 +15826,8 @@ class ModifyAccelerationDomainStatusesRequest(AbstractModel):
14363
15826
 
14364
15827
 
14365
15828
 
14366
- class ModifyAccelerationDomainStatusesResponse(AbstractModel):
14367
- """ModifyAccelerationDomainStatuses返回参数结构体
15829
+ class ModifyApplicationProxyResponse(AbstractModel):
15830
+ """ModifyApplicationProxy返回参数结构体
14368
15831
 
14369
15832
  """
14370
15833
 
@@ -14388,32 +15851,68 @@ class ModifyAccelerationDomainStatusesResponse(AbstractModel):
14388
15851
  self._RequestId = params.get("RequestId")
14389
15852
 
14390
15853
 
14391
- class ModifyAliasDomainRequest(AbstractModel):
14392
- """ModifyAliasDomain请求参数结构体
15854
+ class ModifyApplicationProxyRuleRequest(AbstractModel):
15855
+ """ModifyApplicationProxyRule请求参数结构体
14393
15856
 
14394
15857
  """
14395
15858
 
14396
15859
  def __init__(self):
14397
15860
  r"""
14398
- :param _ZoneId: 站点 ID。
15861
+ :param _ZoneId: 站点ID。
14399
15862
  :type ZoneId: str
14400
- :param _AliasName: 别称域名名称。
14401
- :type AliasName: str
14402
- :param _TargetName: 目标域名名称。
14403
- :type TargetName: str
14404
- :param _CertType: 证书配置,取值有:
14405
- <li> none:不配置;</li>
14406
- <li> hosting:SSL托管证书;</li>
14407
- <li> apply:申请免费证书。</li>不填写保持原有配置。
14408
- :type CertType: str
14409
- :param _CertId: 当 CertType 取值为 hosting 时填入相应证书 ID。
14410
- :type CertId: list of str
15863
+ :param _ProxyId: 代理ID。
15864
+ :type ProxyId: str
15865
+ :param _RuleId: 规则ID。
15866
+ :type RuleId: str
15867
+ :param _OriginType: 源站类型,取值有:
15868
+ <li>custom:手动添加;</li>
15869
+ <li>origins:源站组。</li>不填保持原有值。
15870
+ :type OriginType: str
15871
+ :param _Port: 端口,支持格式:
15872
+ <li>80:80端口;</li>
15873
+ <li>81-90:81至90端口。</li>
15874
+ :type Port: list of str
15875
+ :param _Proto: 协议,取值有:
15876
+ <li>TCP:TCP协议;</li>
15877
+ <li>UDP:UDP协议。</li>不填保持原有值。
15878
+ :type Proto: str
15879
+ :param _OriginValue: 源站信息:
15880
+ <li>当 OriginType 为 custom 时,表示一个或多个源站,如`["8.8.8.8","9.9.9.9"]` 或 `OriginValue=["test.com"]`;</li>
15881
+ <li>当 OriginType 为 origins 时,要求有且仅有一个元素,表示源站组ID,如`["origin-537f5b41-162a-11ed-abaa-525400c5da15"]`。</li>
15882
+
15883
+ 不填保持原有值。
15884
+ :type OriginValue: list of str
15885
+ :param _ForwardClientIp: 传递客户端IP,取值有:
15886
+ <li>TOA:TOA(仅Proto=TCP时可选);</li>
15887
+ <li>PPV1:Proxy Protocol传递,协议版本V1(仅Proto=TCP时可选);</li>
15888
+ <li>PPV2:Proxy Protocol传递,协议版本V2;</li>
15889
+ <li>OFF:不传递。</li>不填保持原有值。
15890
+ :type ForwardClientIp: str
15891
+ :param _SessionPersist: 是否开启会话保持,取值有:
15892
+ <li>true:开启;</li>
15893
+ <li>false:关闭。</li>不填为false。
15894
+ :type SessionPersist: bool
15895
+ :param _SessionPersistTime: 会话保持的时间,只有当SessionPersist为true时,该值才会生效。
15896
+ :type SessionPersistTime: int
15897
+ :param _OriginPort: 源站端口,支持格式:
15898
+ <li>单端口:80;</li>
15899
+ <li>端口段:81-90,81至90端口。</li>
15900
+ :type OriginPort: str
15901
+ :param _RuleTag: 规则标签。不填保持原有值。
15902
+ :type RuleTag: str
14411
15903
  """
14412
15904
  self._ZoneId = None
14413
- self._AliasName = None
14414
- self._TargetName = None
14415
- self._CertType = None
14416
- self._CertId = None
15905
+ self._ProxyId = None
15906
+ self._RuleId = None
15907
+ self._OriginType = None
15908
+ self._Port = None
15909
+ self._Proto = None
15910
+ self._OriginValue = None
15911
+ self._ForwardClientIp = None
15912
+ self._SessionPersist = None
15913
+ self._SessionPersistTime = None
15914
+ self._OriginPort = None
15915
+ self._RuleTag = None
14417
15916
 
14418
15917
  @property
14419
15918
  def ZoneId(self):
@@ -14424,44 +15923,107 @@ class ModifyAliasDomainRequest(AbstractModel):
14424
15923
  self._ZoneId = ZoneId
14425
15924
 
14426
15925
  @property
14427
- def AliasName(self):
14428
- return self._AliasName
15926
+ def ProxyId(self):
15927
+ return self._ProxyId
14429
15928
 
14430
- @AliasName.setter
14431
- def AliasName(self, AliasName):
14432
- self._AliasName = AliasName
15929
+ @ProxyId.setter
15930
+ def ProxyId(self, ProxyId):
15931
+ self._ProxyId = ProxyId
14433
15932
 
14434
15933
  @property
14435
- def TargetName(self):
14436
- return self._TargetName
15934
+ def RuleId(self):
15935
+ return self._RuleId
14437
15936
 
14438
- @TargetName.setter
14439
- def TargetName(self, TargetName):
14440
- self._TargetName = TargetName
15937
+ @RuleId.setter
15938
+ def RuleId(self, RuleId):
15939
+ self._RuleId = RuleId
14441
15940
 
14442
15941
  @property
14443
- def CertType(self):
14444
- return self._CertType
15942
+ def OriginType(self):
15943
+ return self._OriginType
14445
15944
 
14446
- @CertType.setter
14447
- def CertType(self, CertType):
14448
- self._CertType = CertType
15945
+ @OriginType.setter
15946
+ def OriginType(self, OriginType):
15947
+ self._OriginType = OriginType
14449
15948
 
14450
15949
  @property
14451
- def CertId(self):
14452
- return self._CertId
15950
+ def Port(self):
15951
+ return self._Port
14453
15952
 
14454
- @CertId.setter
14455
- def CertId(self, CertId):
14456
- self._CertId = CertId
15953
+ @Port.setter
15954
+ def Port(self, Port):
15955
+ self._Port = Port
15956
+
15957
+ @property
15958
+ def Proto(self):
15959
+ return self._Proto
15960
+
15961
+ @Proto.setter
15962
+ def Proto(self, Proto):
15963
+ self._Proto = Proto
15964
+
15965
+ @property
15966
+ def OriginValue(self):
15967
+ return self._OriginValue
15968
+
15969
+ @OriginValue.setter
15970
+ def OriginValue(self, OriginValue):
15971
+ self._OriginValue = OriginValue
15972
+
15973
+ @property
15974
+ def ForwardClientIp(self):
15975
+ return self._ForwardClientIp
15976
+
15977
+ @ForwardClientIp.setter
15978
+ def ForwardClientIp(self, ForwardClientIp):
15979
+ self._ForwardClientIp = ForwardClientIp
15980
+
15981
+ @property
15982
+ def SessionPersist(self):
15983
+ return self._SessionPersist
15984
+
15985
+ @SessionPersist.setter
15986
+ def SessionPersist(self, SessionPersist):
15987
+ self._SessionPersist = SessionPersist
15988
+
15989
+ @property
15990
+ def SessionPersistTime(self):
15991
+ return self._SessionPersistTime
15992
+
15993
+ @SessionPersistTime.setter
15994
+ def SessionPersistTime(self, SessionPersistTime):
15995
+ self._SessionPersistTime = SessionPersistTime
15996
+
15997
+ @property
15998
+ def OriginPort(self):
15999
+ return self._OriginPort
16000
+
16001
+ @OriginPort.setter
16002
+ def OriginPort(self, OriginPort):
16003
+ self._OriginPort = OriginPort
16004
+
16005
+ @property
16006
+ def RuleTag(self):
16007
+ return self._RuleTag
16008
+
16009
+ @RuleTag.setter
16010
+ def RuleTag(self, RuleTag):
16011
+ self._RuleTag = RuleTag
14457
16012
 
14458
16013
 
14459
16014
  def _deserialize(self, params):
14460
16015
  self._ZoneId = params.get("ZoneId")
14461
- self._AliasName = params.get("AliasName")
14462
- self._TargetName = params.get("TargetName")
14463
- self._CertType = params.get("CertType")
14464
- self._CertId = params.get("CertId")
16016
+ self._ProxyId = params.get("ProxyId")
16017
+ self._RuleId = params.get("RuleId")
16018
+ self._OriginType = params.get("OriginType")
16019
+ self._Port = params.get("Port")
16020
+ self._Proto = params.get("Proto")
16021
+ self._OriginValue = params.get("OriginValue")
16022
+ self._ForwardClientIp = params.get("ForwardClientIp")
16023
+ self._SessionPersist = params.get("SessionPersist")
16024
+ self._SessionPersistTime = params.get("SessionPersistTime")
16025
+ self._OriginPort = params.get("OriginPort")
16026
+ self._RuleTag = params.get("RuleTag")
14465
16027
  memeber_set = set(params.keys())
14466
16028
  for name, value in vars(self).items():
14467
16029
  property_name = name[1:]
@@ -14472,8 +16034,8 @@ class ModifyAliasDomainRequest(AbstractModel):
14472
16034
 
14473
16035
 
14474
16036
 
14475
- class ModifyAliasDomainResponse(AbstractModel):
14476
- """ModifyAliasDomain返回参数结构体
16037
+ class ModifyApplicationProxyRuleResponse(AbstractModel):
16038
+ """ModifyApplicationProxyRule返回参数结构体
14477
16039
 
14478
16040
  """
14479
16041
 
@@ -14497,25 +16059,28 @@ class ModifyAliasDomainResponse(AbstractModel):
14497
16059
  self._RequestId = params.get("RequestId")
14498
16060
 
14499
16061
 
14500
- class ModifyAliasDomainStatusRequest(AbstractModel):
14501
- """ModifyAliasDomainStatus请求参数结构体
16062
+ class ModifyApplicationProxyRuleStatusRequest(AbstractModel):
16063
+ """ModifyApplicationProxyRuleStatus请求参数结构体
14502
16064
 
14503
16065
  """
14504
16066
 
14505
16067
  def __init__(self):
14506
16068
  r"""
14507
- :param _ZoneId: 站点 ID。
16069
+ :param _ZoneId: 站点ID。
14508
16070
  :type ZoneId: str
14509
- :param _Paused: 别称域名状态,取值有:
14510
- <li> false:开启别称域名;</li>
14511
- <li> true:关闭别称域名。</li>
14512
- :type Paused: bool
14513
- :param _AliasNames: 待修改状态的别称域名名称。如果为空,则不执行修改状态操作。
14514
- :type AliasNames: list of str
16071
+ :param _ProxyId: 代理ID。
16072
+ :type ProxyId: str
16073
+ :param _RuleId: 规则ID。
16074
+ :type RuleId: str
16075
+ :param _Status: 状态,取值有:
16076
+ <li>offline: 停用;</li>
16077
+ <li>online: 启用。</li>
16078
+ :type Status: str
14515
16079
  """
14516
16080
  self._ZoneId = None
14517
- self._Paused = None
14518
- self._AliasNames = None
16081
+ self._ProxyId = None
16082
+ self._RuleId = None
16083
+ self._Status = None
14519
16084
 
14520
16085
  @property
14521
16086
  def ZoneId(self):
@@ -14526,26 +16091,35 @@ class ModifyAliasDomainStatusRequest(AbstractModel):
14526
16091
  self._ZoneId = ZoneId
14527
16092
 
14528
16093
  @property
14529
- def Paused(self):
14530
- return self._Paused
16094
+ def ProxyId(self):
16095
+ return self._ProxyId
14531
16096
 
14532
- @Paused.setter
14533
- def Paused(self, Paused):
14534
- self._Paused = Paused
16097
+ @ProxyId.setter
16098
+ def ProxyId(self, ProxyId):
16099
+ self._ProxyId = ProxyId
14535
16100
 
14536
16101
  @property
14537
- def AliasNames(self):
14538
- return self._AliasNames
16102
+ def RuleId(self):
16103
+ return self._RuleId
14539
16104
 
14540
- @AliasNames.setter
14541
- def AliasNames(self, AliasNames):
14542
- self._AliasNames = AliasNames
16105
+ @RuleId.setter
16106
+ def RuleId(self, RuleId):
16107
+ self._RuleId = RuleId
16108
+
16109
+ @property
16110
+ def Status(self):
16111
+ return self._Status
16112
+
16113
+ @Status.setter
16114
+ def Status(self, Status):
16115
+ self._Status = Status
14543
16116
 
14544
16117
 
14545
16118
  def _deserialize(self, params):
14546
16119
  self._ZoneId = params.get("ZoneId")
14547
- self._Paused = params.get("Paused")
14548
- self._AliasNames = params.get("AliasNames")
16120
+ self._ProxyId = params.get("ProxyId")
16121
+ self._RuleId = params.get("RuleId")
16122
+ self._Status = params.get("Status")
14549
16123
  memeber_set = set(params.keys())
14550
16124
  for name, value in vars(self).items():
14551
16125
  property_name = name[1:]
@@ -14556,8 +16130,8 @@ class ModifyAliasDomainStatusRequest(AbstractModel):
14556
16130
 
14557
16131
 
14558
16132
 
14559
- class ModifyAliasDomainStatusResponse(AbstractModel):
14560
- """ModifyAliasDomainStatus返回参数结构体
16133
+ class ModifyApplicationProxyRuleStatusResponse(AbstractModel):
16134
+ """ModifyApplicationProxyRuleStatus返回参数结构体
14561
16135
 
14562
16136
  """
14563
16137
 
@@ -14581,38 +16155,25 @@ class ModifyAliasDomainStatusResponse(AbstractModel):
14581
16155
  self._RequestId = params.get("RequestId")
14582
16156
 
14583
16157
 
14584
- class ModifyApplicationProxyRequest(AbstractModel):
14585
- """ModifyApplicationProxy请求参数结构体
16158
+ class ModifyApplicationProxyStatusRequest(AbstractModel):
16159
+ """ModifyApplicationProxyStatus请求参数结构体
14586
16160
 
14587
16161
  """
14588
16162
 
14589
16163
  def __init__(self):
14590
16164
  r"""
14591
- :param _ZoneId: 站点 ID。
16165
+ :param _ZoneId: 站点ID。
14592
16166
  :type ZoneId: str
14593
- :param _ProxyId: 代理 ID。
16167
+ :param _ProxyId: 代理ID。
14594
16168
  :type ProxyId: str
14595
- :param _ProxyName: 当 ProxyType=hostname 时,表示域名或子域名;
14596
- ProxyType=instance 时,表示代理名称。
14597
- :type ProxyName: str
14598
- :param _SessionPersistTime: 会话保持时间,取值范围:30-3600,单位:秒。
14599
- 不填写保持原有配置。
14600
- :type SessionPersistTime: int
14601
- :param _ProxyType: 四层代理模式,取值有:
14602
- <li>instance:表示实例模式。</li>不填写使用默认值instance。
14603
- :type ProxyType: str
14604
- :param _Ipv6: Ipv6 访问配置,不填写保持原有配置。
14605
- :type Ipv6: :class:`tencentcloud.teo.v20220901.models.Ipv6`
14606
- :param _AccelerateMainland: 中国大陆加速优化配置。 不填写表示保持原有配置。
14607
- :type AccelerateMainland: :class:`tencentcloud.teo.v20220901.models.AccelerateMainland`
16169
+ :param _Status: 状态,取值有:
16170
+ <li>offline: 停用;</li>
16171
+ <li>online: 启用。</li>
16172
+ :type Status: str
14608
16173
  """
14609
16174
  self._ZoneId = None
14610
16175
  self._ProxyId = None
14611
- self._ProxyName = None
14612
- self._SessionPersistTime = None
14613
- self._ProxyType = None
14614
- self._Ipv6 = None
14615
- self._AccelerateMainland = None
16176
+ self._Status = None
14616
16177
 
14617
16178
  @property
14618
16179
  def ZoneId(self):
@@ -14631,58 +16192,18 @@ class ModifyApplicationProxyRequest(AbstractModel):
14631
16192
  self._ProxyId = ProxyId
14632
16193
 
14633
16194
  @property
14634
- def ProxyName(self):
14635
- return self._ProxyName
14636
-
14637
- @ProxyName.setter
14638
- def ProxyName(self, ProxyName):
14639
- self._ProxyName = ProxyName
14640
-
14641
- @property
14642
- def SessionPersistTime(self):
14643
- return self._SessionPersistTime
14644
-
14645
- @SessionPersistTime.setter
14646
- def SessionPersistTime(self, SessionPersistTime):
14647
- self._SessionPersistTime = SessionPersistTime
14648
-
14649
- @property
14650
- def ProxyType(self):
14651
- return self._ProxyType
14652
-
14653
- @ProxyType.setter
14654
- def ProxyType(self, ProxyType):
14655
- self._ProxyType = ProxyType
14656
-
14657
- @property
14658
- def Ipv6(self):
14659
- return self._Ipv6
14660
-
14661
- @Ipv6.setter
14662
- def Ipv6(self, Ipv6):
14663
- self._Ipv6 = Ipv6
14664
-
14665
- @property
14666
- def AccelerateMainland(self):
14667
- return self._AccelerateMainland
16195
+ def Status(self):
16196
+ return self._Status
14668
16197
 
14669
- @AccelerateMainland.setter
14670
- def AccelerateMainland(self, AccelerateMainland):
14671
- self._AccelerateMainland = AccelerateMainland
16198
+ @Status.setter
16199
+ def Status(self, Status):
16200
+ self._Status = Status
14672
16201
 
14673
16202
 
14674
16203
  def _deserialize(self, params):
14675
16204
  self._ZoneId = params.get("ZoneId")
14676
16205
  self._ProxyId = params.get("ProxyId")
14677
- self._ProxyName = params.get("ProxyName")
14678
- self._SessionPersistTime = params.get("SessionPersistTime")
14679
- self._ProxyType = params.get("ProxyType")
14680
- if params.get("Ipv6") is not None:
14681
- self._Ipv6 = Ipv6()
14682
- self._Ipv6._deserialize(params.get("Ipv6"))
14683
- if params.get("AccelerateMainland") is not None:
14684
- self._AccelerateMainland = AccelerateMainland()
14685
- self._AccelerateMainland._deserialize(params.get("AccelerateMainland"))
16206
+ self._Status = params.get("Status")
14686
16207
  memeber_set = set(params.keys())
14687
16208
  for name, value in vars(self).items():
14688
16209
  property_name = name[1:]
@@ -14693,8 +16214,8 @@ class ModifyApplicationProxyRequest(AbstractModel):
14693
16214
 
14694
16215
 
14695
16216
 
14696
- class ModifyApplicationProxyResponse(AbstractModel):
14697
- """ModifyApplicationProxy返回参数结构体
16217
+ class ModifyApplicationProxyStatusResponse(AbstractModel):
16218
+ """ModifyApplicationProxyStatus返回参数结构体
14698
16219
 
14699
16220
  """
14700
16221
 
@@ -14718,68 +16239,35 @@ class ModifyApplicationProxyResponse(AbstractModel):
14718
16239
  self._RequestId = params.get("RequestId")
14719
16240
 
14720
16241
 
14721
- class ModifyApplicationProxyRuleRequest(AbstractModel):
14722
- """ModifyApplicationProxyRule请求参数结构体
16242
+ class ModifyHostsCertificateRequest(AbstractModel):
16243
+ """ModifyHostsCertificate请求参数结构体
14723
16244
 
14724
16245
  """
14725
16246
 
14726
16247
  def __init__(self):
14727
16248
  r"""
14728
- :param _ZoneId: 站点ID。
16249
+ :param _ZoneId: 站点 ID。
14729
16250
  :type ZoneId: str
14730
- :param _ProxyId: 代理ID。
14731
- :type ProxyId: str
14732
- :param _RuleId: 规则ID。
14733
- :type RuleId: str
14734
- :param _OriginType: 源站类型,取值有:
14735
- <li>custom:手动添加;</li>
14736
- <li>origins:源站组。</li>不填保持原有值。
14737
- :type OriginType: str
14738
- :param _Port: 端口,支持格式:
14739
- <li>80:80端口;</li>
14740
- <li>81-90:81至90端口。</li>
14741
- :type Port: list of str
14742
- :param _Proto: 协议,取值有:
14743
- <li>TCP:TCP协议;</li>
14744
- <li>UDP:UDP协议。</li>不填保持原有值。
14745
- :type Proto: str
14746
- :param _OriginValue: 源站信息:
14747
- <li>当 OriginType 为 custom 时,表示一个或多个源站,如`["8.8.8.8","9.9.9.9"]` 或 `OriginValue=["test.com"]`;</li>
14748
- <li>当 OriginType 为 origins 时,要求有且仅有一个元素,表示源站组ID,如`["origin-537f5b41-162a-11ed-abaa-525400c5da15"]`。</li>
14749
-
14750
- 不填保持原有值。
14751
- :type OriginValue: list of str
14752
- :param _ForwardClientIp: 传递客户端IP,取值有:
14753
- <li>TOA:TOA(仅Proto=TCP时可选);</li>
14754
- <li>PPV1:Proxy Protocol传递,协议版本V1(仅Proto=TCP时可选);</li>
14755
- <li>PPV2:Proxy Protocol传递,协议版本V2;</li>
14756
- <li>OFF:不传递。</li>不填保持原有值。
14757
- :type ForwardClientIp: str
14758
- :param _SessionPersist: 是否开启会话保持,取值有:
14759
- <li>true:开启;</li>
14760
- <li>false:关闭。</li>不填为false。
14761
- :type SessionPersist: bool
14762
- :param _SessionPersistTime: 会话保持的时间,只有当SessionPersist为true时,该值才会生效。
14763
- :type SessionPersistTime: int
14764
- :param _OriginPort: 源站端口,支持格式:
14765
- <li>单端口:80;</li>
14766
- <li>端口段:81-90,81至90端口。</li>
14767
- :type OriginPort: str
14768
- :param _RuleTag: 规则标签。不填保持原有值。
14769
- :type RuleTag: str
16251
+ :param _Hosts: 需要修改证书配置的加速域名。
16252
+ :type Hosts: list of str
16253
+ :param _Mode: 配置证书的模式,取值有:
16254
+ <li>disable:不配置证书;</li>
16255
+ <li>eofreecert:配置 EdgeOne 免费证书;</li>
16256
+ <li>sslcert:配置 SSL 证书。</li>不填时默认取值为 disable。
16257
+ :type Mode: str
16258
+ :param _ServerCertInfo: SSL 证书配置,本参数仅在 mode = sslcert 时生效,传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/certoverview) 查看 CertId。
16259
+ :type ServerCertInfo: list of ServerCertInfo
16260
+ :param _ApplyType: 托管类型,取值有:
16261
+ <li>none:不托管EO;</li>
16262
+ <li>apply:托管EO</li>
16263
+ 不填,默认取值为none。
16264
+ :type ApplyType: str
14770
16265
  """
14771
16266
  self._ZoneId = None
14772
- self._ProxyId = None
14773
- self._RuleId = None
14774
- self._OriginType = None
14775
- self._Port = None
14776
- self._Proto = None
14777
- self._OriginValue = None
14778
- self._ForwardClientIp = None
14779
- self._SessionPersist = None
14780
- self._SessionPersistTime = None
14781
- self._OriginPort = None
14782
- self._RuleTag = None
16267
+ self._Hosts = None
16268
+ self._Mode = None
16269
+ self._ServerCertInfo = None
16270
+ self._ApplyType = None
14783
16271
 
14784
16272
  @property
14785
16273
  def ZoneId(self):
@@ -14790,107 +16278,152 @@ class ModifyApplicationProxyRuleRequest(AbstractModel):
14790
16278
  self._ZoneId = ZoneId
14791
16279
 
14792
16280
  @property
14793
- def ProxyId(self):
14794
- return self._ProxyId
16281
+ def Hosts(self):
16282
+ return self._Hosts
14795
16283
 
14796
- @ProxyId.setter
14797
- def ProxyId(self, ProxyId):
14798
- self._ProxyId = ProxyId
16284
+ @Hosts.setter
16285
+ def Hosts(self, Hosts):
16286
+ self._Hosts = Hosts
16287
+
16288
+ @property
16289
+ def Mode(self):
16290
+ return self._Mode
16291
+
16292
+ @Mode.setter
16293
+ def Mode(self, Mode):
16294
+ self._Mode = Mode
16295
+
16296
+ @property
16297
+ def ServerCertInfo(self):
16298
+ return self._ServerCertInfo
16299
+
16300
+ @ServerCertInfo.setter
16301
+ def ServerCertInfo(self, ServerCertInfo):
16302
+ self._ServerCertInfo = ServerCertInfo
16303
+
16304
+ @property
16305
+ def ApplyType(self):
16306
+ warnings.warn("parameter `ApplyType` is deprecated", DeprecationWarning)
16307
+
16308
+ return self._ApplyType
16309
+
16310
+ @ApplyType.setter
16311
+ def ApplyType(self, ApplyType):
16312
+ warnings.warn("parameter `ApplyType` is deprecated", DeprecationWarning)
16313
+
16314
+ self._ApplyType = ApplyType
16315
+
16316
+
16317
+ def _deserialize(self, params):
16318
+ self._ZoneId = params.get("ZoneId")
16319
+ self._Hosts = params.get("Hosts")
16320
+ self._Mode = params.get("Mode")
16321
+ if params.get("ServerCertInfo") is not None:
16322
+ self._ServerCertInfo = []
16323
+ for item in params.get("ServerCertInfo"):
16324
+ obj = ServerCertInfo()
16325
+ obj._deserialize(item)
16326
+ self._ServerCertInfo.append(obj)
16327
+ self._ApplyType = params.get("ApplyType")
16328
+ memeber_set = set(params.keys())
16329
+ for name, value in vars(self).items():
16330
+ property_name = name[1:]
16331
+ if property_name in memeber_set:
16332
+ memeber_set.remove(property_name)
16333
+ if len(memeber_set) > 0:
16334
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
16335
+
14799
16336
 
14800
- @property
14801
- def RuleId(self):
14802
- return self._RuleId
14803
16337
 
14804
- @RuleId.setter
14805
- def RuleId(self, RuleId):
14806
- self._RuleId = RuleId
16338
+ class ModifyHostsCertificateResponse(AbstractModel):
16339
+ """ModifyHostsCertificate返回参数结构体
14807
16340
 
14808
- @property
14809
- def OriginType(self):
14810
- return self._OriginType
16341
+ """
14811
16342
 
14812
- @OriginType.setter
14813
- def OriginType(self, OriginType):
14814
- self._OriginType = OriginType
16343
+ def __init__(self):
16344
+ r"""
16345
+ :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
16346
+ :type RequestId: str
16347
+ """
16348
+ self._RequestId = None
14815
16349
 
14816
16350
  @property
14817
- def Port(self):
14818
- return self._Port
16351
+ def RequestId(self):
16352
+ return self._RequestId
14819
16353
 
14820
- @Port.setter
14821
- def Port(self, Port):
14822
- self._Port = Port
16354
+ @RequestId.setter
16355
+ def RequestId(self, RequestId):
16356
+ self._RequestId = RequestId
14823
16357
 
14824
- @property
14825
- def Proto(self):
14826
- return self._Proto
14827
16358
 
14828
- @Proto.setter
14829
- def Proto(self, Proto):
14830
- self._Proto = Proto
16359
+ def _deserialize(self, params):
16360
+ self._RequestId = params.get("RequestId")
14831
16361
 
14832
- @property
14833
- def OriginValue(self):
14834
- return self._OriginValue
14835
16362
 
14836
- @OriginValue.setter
14837
- def OriginValue(self, OriginValue):
14838
- self._OriginValue = OriginValue
16363
+ class ModifyL4ProxyRequest(AbstractModel):
16364
+ """ModifyL4Proxy请求参数结构体
14839
16365
 
14840
- @property
14841
- def ForwardClientIp(self):
14842
- return self._ForwardClientIp
16366
+ """
14843
16367
 
14844
- @ForwardClientIp.setter
14845
- def ForwardClientIp(self, ForwardClientIp):
14846
- self._ForwardClientIp = ForwardClientIp
16368
+ def __init__(self):
16369
+ r"""
16370
+ :param _ZoneId: 站点 ID。
16371
+ :type ZoneId: str
16372
+ :param _ProxyId: 应用 ID。
16373
+ :type ProxyId: str
16374
+ :param _Ipv6: 是否开启 IPv6 访问。 不填该参数时,表示不修改该配置。该配置仅在部分加速区域和安全防护配置下支持开启,详情请参考 [新建四层代理实例](https://cloud.tencent.com/document/product/1552/90025) 。取值为:
16375
+ <li>on:开启;</li>
16376
+ <li>off:关闭。</li>
16377
+
16378
+ :type Ipv6: str
16379
+ :param _AccelerateMainland: 是否开启中国大陆网络优化。不填该参数时,表示不修改该配置。该配置仅在部分加速区域和安全防护配置下支持开启,详情请参考 [新建四层代理实例](https://cloud.tencent.com/document/product/1552/90025) 。取值为:
16380
+ <li>on:开启;</li>
16381
+ <li>off:关闭。</li>
16382
+ :type AccelerateMainland: str
16383
+ """
16384
+ self._ZoneId = None
16385
+ self._ProxyId = None
16386
+ self._Ipv6 = None
16387
+ self._AccelerateMainland = None
14847
16388
 
14848
16389
  @property
14849
- def SessionPersist(self):
14850
- return self._SessionPersist
16390
+ def ZoneId(self):
16391
+ return self._ZoneId
14851
16392
 
14852
- @SessionPersist.setter
14853
- def SessionPersist(self, SessionPersist):
14854
- self._SessionPersist = SessionPersist
16393
+ @ZoneId.setter
16394
+ def ZoneId(self, ZoneId):
16395
+ self._ZoneId = ZoneId
14855
16396
 
14856
16397
  @property
14857
- def SessionPersistTime(self):
14858
- return self._SessionPersistTime
16398
+ def ProxyId(self):
16399
+ return self._ProxyId
14859
16400
 
14860
- @SessionPersistTime.setter
14861
- def SessionPersistTime(self, SessionPersistTime):
14862
- self._SessionPersistTime = SessionPersistTime
16401
+ @ProxyId.setter
16402
+ def ProxyId(self, ProxyId):
16403
+ self._ProxyId = ProxyId
14863
16404
 
14864
16405
  @property
14865
- def OriginPort(self):
14866
- return self._OriginPort
16406
+ def Ipv6(self):
16407
+ return self._Ipv6
14867
16408
 
14868
- @OriginPort.setter
14869
- def OriginPort(self, OriginPort):
14870
- self._OriginPort = OriginPort
16409
+ @Ipv6.setter
16410
+ def Ipv6(self, Ipv6):
16411
+ self._Ipv6 = Ipv6
14871
16412
 
14872
16413
  @property
14873
- def RuleTag(self):
14874
- return self._RuleTag
16414
+ def AccelerateMainland(self):
16415
+ return self._AccelerateMainland
14875
16416
 
14876
- @RuleTag.setter
14877
- def RuleTag(self, RuleTag):
14878
- self._RuleTag = RuleTag
16417
+ @AccelerateMainland.setter
16418
+ def AccelerateMainland(self, AccelerateMainland):
16419
+ self._AccelerateMainland = AccelerateMainland
14879
16420
 
14880
16421
 
14881
16422
  def _deserialize(self, params):
14882
16423
  self._ZoneId = params.get("ZoneId")
14883
16424
  self._ProxyId = params.get("ProxyId")
14884
- self._RuleId = params.get("RuleId")
14885
- self._OriginType = params.get("OriginType")
14886
- self._Port = params.get("Port")
14887
- self._Proto = params.get("Proto")
14888
- self._OriginValue = params.get("OriginValue")
14889
- self._ForwardClientIp = params.get("ForwardClientIp")
14890
- self._SessionPersist = params.get("SessionPersist")
14891
- self._SessionPersistTime = params.get("SessionPersistTime")
14892
- self._OriginPort = params.get("OriginPort")
14893
- self._RuleTag = params.get("RuleTag")
16425
+ self._Ipv6 = params.get("Ipv6")
16426
+ self._AccelerateMainland = params.get("AccelerateMainland")
14894
16427
  memeber_set = set(params.keys())
14895
16428
  for name, value in vars(self).items():
14896
16429
  property_name = name[1:]
@@ -14901,8 +16434,8 @@ class ModifyApplicationProxyRuleRequest(AbstractModel):
14901
16434
 
14902
16435
 
14903
16436
 
14904
- class ModifyApplicationProxyRuleResponse(AbstractModel):
14905
- """ModifyApplicationProxyRule返回参数结构体
16437
+ class ModifyL4ProxyResponse(AbstractModel):
16438
+ """ModifyL4Proxy返回参数结构体
14906
16439
 
14907
16440
  """
14908
16441
 
@@ -14926,28 +16459,24 @@ class ModifyApplicationProxyRuleResponse(AbstractModel):
14926
16459
  self._RequestId = params.get("RequestId")
14927
16460
 
14928
16461
 
14929
- class ModifyApplicationProxyRuleStatusRequest(AbstractModel):
14930
- """ModifyApplicationProxyRuleStatus请求参数结构体
16462
+ class ModifyL4ProxyRulesRequest(AbstractModel):
16463
+ """ModifyL4ProxyRules请求参数结构体
14931
16464
 
14932
16465
  """
14933
16466
 
14934
16467
  def __init__(self):
14935
16468
  r"""
14936
- :param _ZoneId: 站点ID。
16469
+ :param _ZoneId: 站点 ID。
14937
16470
  :type ZoneId: str
14938
- :param _ProxyId: 代理ID。
16471
+ :param _ProxyId: 四层代理实例 ID。
14939
16472
  :type ProxyId: str
14940
- :param _RuleId: 规则ID。
14941
- :type RuleId: str
14942
- :param _Status: 状态,取值有:
14943
- <li>offline: 停用;</li>
14944
- <li>online: 启用。</li>
14945
- :type Status: str
16473
+ :param _L4ProxyRules: 转发规则列表。单次最多支持 200 条转发规则。
16474
+ 注意:L4ProxyRule 在此处使用时,RuleId 为必填字段;Protocol、PortRange、OriginType、OriginValue、OriginPortRange、ClientIPPassThroughMode、SessionPersist、SessionPersistTime、RuleTag 均为选填字段,不填写表示不修改;Status 请勿填写。
16475
+ :type L4ProxyRules: list of L4ProxyRule
14946
16476
  """
14947
16477
  self._ZoneId = None
14948
16478
  self._ProxyId = None
14949
- self._RuleId = None
14950
- self._Status = None
16479
+ self._L4ProxyRules = None
14951
16480
 
14952
16481
  @property
14953
16482
  def ZoneId(self):
@@ -14966,27 +16495,23 @@ class ModifyApplicationProxyRuleStatusRequest(AbstractModel):
14966
16495
  self._ProxyId = ProxyId
14967
16496
 
14968
16497
  @property
14969
- def RuleId(self):
14970
- return self._RuleId
14971
-
14972
- @RuleId.setter
14973
- def RuleId(self, RuleId):
14974
- self._RuleId = RuleId
14975
-
14976
- @property
14977
- def Status(self):
14978
- return self._Status
16498
+ def L4ProxyRules(self):
16499
+ return self._L4ProxyRules
14979
16500
 
14980
- @Status.setter
14981
- def Status(self, Status):
14982
- self._Status = Status
16501
+ @L4ProxyRules.setter
16502
+ def L4ProxyRules(self, L4ProxyRules):
16503
+ self._L4ProxyRules = L4ProxyRules
14983
16504
 
14984
16505
 
14985
16506
  def _deserialize(self, params):
14986
16507
  self._ZoneId = params.get("ZoneId")
14987
16508
  self._ProxyId = params.get("ProxyId")
14988
- self._RuleId = params.get("RuleId")
14989
- self._Status = params.get("Status")
16509
+ if params.get("L4ProxyRules") is not None:
16510
+ self._L4ProxyRules = []
16511
+ for item in params.get("L4ProxyRules"):
16512
+ obj = L4ProxyRule()
16513
+ obj._deserialize(item)
16514
+ self._L4ProxyRules.append(obj)
14990
16515
  memeber_set = set(params.keys())
14991
16516
  for name, value in vars(self).items():
14992
16517
  property_name = name[1:]
@@ -14997,8 +16522,8 @@ class ModifyApplicationProxyRuleStatusRequest(AbstractModel):
14997
16522
 
14998
16523
 
14999
16524
 
15000
- class ModifyApplicationProxyRuleStatusResponse(AbstractModel):
15001
- """ModifyApplicationProxyRuleStatus返回参数结构体
16525
+ class ModifyL4ProxyRulesResponse(AbstractModel):
16526
+ """ModifyL4ProxyRules返回参数结构体
15002
16527
 
15003
16528
  """
15004
16529
 
@@ -15022,24 +16547,27 @@ class ModifyApplicationProxyRuleStatusResponse(AbstractModel):
15022
16547
  self._RequestId = params.get("RequestId")
15023
16548
 
15024
16549
 
15025
- class ModifyApplicationProxyStatusRequest(AbstractModel):
15026
- """ModifyApplicationProxyStatus请求参数结构体
16550
+ class ModifyL4ProxyRulesStatusRequest(AbstractModel):
16551
+ """ModifyL4ProxyRulesStatus请求参数结构体
15027
16552
 
15028
16553
  """
15029
16554
 
15030
16555
  def __init__(self):
15031
16556
  r"""
15032
- :param _ZoneId: 站点ID。
16557
+ :param _ZoneId: 站点 ID。
15033
16558
  :type ZoneId: str
15034
- :param _ProxyId: 代理ID。
16559
+ :param _ProxyId: 四层代理实例 ID。
15035
16560
  :type ProxyId: str
15036
- :param _Status: 状态,取值有:
15037
- <li>offline: 停用;</li>
15038
- <li>online: 启用。</li>
16561
+ :param _RuleIds: 转发规则 ID 列表。单次最多支持 200 条转发规则。
16562
+ :type RuleIds: list of str
16563
+ :param _Status: 转发规则状态,取值有:
16564
+ <li>online:启用;</li>
16565
+ <li>offline:停用。</li>
15039
16566
  :type Status: str
15040
16567
  """
15041
16568
  self._ZoneId = None
15042
16569
  self._ProxyId = None
16570
+ self._RuleIds = None
15043
16571
  self._Status = None
15044
16572
 
15045
16573
  @property
@@ -15058,6 +16586,14 @@ class ModifyApplicationProxyStatusRequest(AbstractModel):
15058
16586
  def ProxyId(self, ProxyId):
15059
16587
  self._ProxyId = ProxyId
15060
16588
 
16589
+ @property
16590
+ def RuleIds(self):
16591
+ return self._RuleIds
16592
+
16593
+ @RuleIds.setter
16594
+ def RuleIds(self, RuleIds):
16595
+ self._RuleIds = RuleIds
16596
+
15061
16597
  @property
15062
16598
  def Status(self):
15063
16599
  return self._Status
@@ -15070,6 +16606,7 @@ class ModifyApplicationProxyStatusRequest(AbstractModel):
15070
16606
  def _deserialize(self, params):
15071
16607
  self._ZoneId = params.get("ZoneId")
15072
16608
  self._ProxyId = params.get("ProxyId")
16609
+ self._RuleIds = params.get("RuleIds")
15073
16610
  self._Status = params.get("Status")
15074
16611
  memeber_set = set(params.keys())
15075
16612
  for name, value in vars(self).items():
@@ -15081,8 +16618,8 @@ class ModifyApplicationProxyStatusRequest(AbstractModel):
15081
16618
 
15082
16619
 
15083
16620
 
15084
- class ModifyApplicationProxyStatusResponse(AbstractModel):
15085
- """ModifyApplicationProxyStatus返回参数结构体
16621
+ class ModifyL4ProxyRulesStatusResponse(AbstractModel):
16622
+ """ModifyL4ProxyRulesStatus返回参数结构体
15086
16623
 
15087
16624
  """
15088
16625
 
@@ -15106,8 +16643,8 @@ class ModifyApplicationProxyStatusResponse(AbstractModel):
15106
16643
  self._RequestId = params.get("RequestId")
15107
16644
 
15108
16645
 
15109
- class ModifyHostsCertificateRequest(AbstractModel):
15110
- """ModifyHostsCertificate请求参数结构体
16646
+ class ModifyL4ProxyStatusRequest(AbstractModel):
16647
+ """ModifyL4ProxyStatus请求参数结构体
15111
16648
 
15112
16649
  """
15113
16650
 
@@ -15115,26 +16652,16 @@ class ModifyHostsCertificateRequest(AbstractModel):
15115
16652
  r"""
15116
16653
  :param _ZoneId: 站点 ID。
15117
16654
  :type ZoneId: str
15118
- :param _Hosts: 需要修改证书配置的加速域名。
15119
- :type Hosts: list of str
15120
- :param _Mode: 配置证书的模式,取值有:
15121
- <li>disable:不配置证书;</li>
15122
- <li>eofreecert:配置 EdgeOne 免费证书;</li>
15123
- <li>sslcert:配置 SSL 证书。</li>不填时默认取值为 disable。
15124
- :type Mode: str
15125
- :param _ServerCertInfo: SSL 证书配置,本参数仅在 mode = sslcert 时生效,传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/certoverview) 查看 CertId。
15126
- :type ServerCertInfo: list of ServerCertInfo
15127
- :param _ApplyType: 托管类型,取值有:
15128
- <li>none:不托管EO;</li>
15129
- <li>apply:托管EO</li>
15130
- 不填,默认取值为none。
15131
- :type ApplyType: str
16655
+ :param _ProxyId: 四层代理实例 ID。
16656
+ :type ProxyId: str
16657
+ :param _Status: 四层代理实例状态,取值有:
16658
+ <li>online:启用;</li>
16659
+ <li>offline:停用。</li>
16660
+ :type Status: str
15132
16661
  """
15133
16662
  self._ZoneId = None
15134
- self._Hosts = None
15135
- self._Mode = None
15136
- self._ServerCertInfo = None
15137
- self._ApplyType = None
16663
+ self._ProxyId = None
16664
+ self._Status = None
15138
16665
 
15139
16666
  @property
15140
16667
  def ZoneId(self):
@@ -15145,53 +16672,26 @@ class ModifyHostsCertificateRequest(AbstractModel):
15145
16672
  self._ZoneId = ZoneId
15146
16673
 
15147
16674
  @property
15148
- def Hosts(self):
15149
- return self._Hosts
15150
-
15151
- @Hosts.setter
15152
- def Hosts(self, Hosts):
15153
- self._Hosts = Hosts
15154
-
15155
- @property
15156
- def Mode(self):
15157
- return self._Mode
15158
-
15159
- @Mode.setter
15160
- def Mode(self, Mode):
15161
- self._Mode = Mode
15162
-
15163
- @property
15164
- def ServerCertInfo(self):
15165
- return self._ServerCertInfo
16675
+ def ProxyId(self):
16676
+ return self._ProxyId
15166
16677
 
15167
- @ServerCertInfo.setter
15168
- def ServerCertInfo(self, ServerCertInfo):
15169
- self._ServerCertInfo = ServerCertInfo
16678
+ @ProxyId.setter
16679
+ def ProxyId(self, ProxyId):
16680
+ self._ProxyId = ProxyId
15170
16681
 
15171
16682
  @property
15172
- def ApplyType(self):
15173
- warnings.warn("parameter `ApplyType` is deprecated", DeprecationWarning)
15174
-
15175
- return self._ApplyType
15176
-
15177
- @ApplyType.setter
15178
- def ApplyType(self, ApplyType):
15179
- warnings.warn("parameter `ApplyType` is deprecated", DeprecationWarning)
16683
+ def Status(self):
16684
+ return self._Status
15180
16685
 
15181
- self._ApplyType = ApplyType
16686
+ @Status.setter
16687
+ def Status(self, Status):
16688
+ self._Status = Status
15182
16689
 
15183
16690
 
15184
16691
  def _deserialize(self, params):
15185
16692
  self._ZoneId = params.get("ZoneId")
15186
- self._Hosts = params.get("Hosts")
15187
- self._Mode = params.get("Mode")
15188
- if params.get("ServerCertInfo") is not None:
15189
- self._ServerCertInfo = []
15190
- for item in params.get("ServerCertInfo"):
15191
- obj = ServerCertInfo()
15192
- obj._deserialize(item)
15193
- self._ServerCertInfo.append(obj)
15194
- self._ApplyType = params.get("ApplyType")
16693
+ self._ProxyId = params.get("ProxyId")
16694
+ self._Status = params.get("Status")
15195
16695
  memeber_set = set(params.keys())
15196
16696
  for name, value in vars(self).items():
15197
16697
  property_name = name[1:]
@@ -15202,8 +16702,8 @@ class ModifyHostsCertificateRequest(AbstractModel):
15202
16702
 
15203
16703
 
15204
16704
 
15205
- class ModifyHostsCertificateResponse(AbstractModel):
15206
- """ModifyHostsCertificate返回参数结构体
16705
+ class ModifyL4ProxyStatusResponse(AbstractModel):
16706
+ """ModifyL4ProxyStatus返回参数结构体
15207
16707
 
15208
16708
  """
15209
16709