tencentcloud-sdk-python-waf 3.0.1097__tar.gz → 3.0.1099__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tencentcloud-sdk-python-waf-3.0.1097 → tencentcloud-sdk-python-waf-3.0.1099}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-waf-3.0.1097 → tencentcloud-sdk-python-waf-3.0.1099}/setup.py +1 -1
- {tencentcloud-sdk-python-waf-3.0.1097 → tencentcloud-sdk-python-waf-3.0.1099}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-waf-3.0.1097 → tencentcloud-sdk-python-waf-3.0.1099}/tencentcloud/waf/v20180125/models.py +411 -1
- {tencentcloud-sdk-python-waf-3.0.1097 → tencentcloud-sdk-python-waf-3.0.1099}/tencentcloud/waf/v20180125/waf_client.py +23 -0
- {tencentcloud-sdk-python-waf-3.0.1097 → tencentcloud-sdk-python-waf-3.0.1099}/tencentcloud_sdk_python_waf.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-waf-3.0.1099/tencentcloud_sdk_python_waf.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-waf-3.0.1097/tencentcloud_sdk_python_waf.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-waf-3.0.1097 → tencentcloud-sdk-python-waf-3.0.1099}/README.rst +0 -0
- {tencentcloud-sdk-python-waf-3.0.1097 → tencentcloud-sdk-python-waf-3.0.1099}/setup.cfg +0 -0
- {tencentcloud-sdk-python-waf-3.0.1097 → tencentcloud-sdk-python-waf-3.0.1099}/tencentcloud/waf/__init__.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.1097 → tencentcloud-sdk-python-waf-3.0.1099}/tencentcloud/waf/v20180125/__init__.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.1097 → tencentcloud-sdk-python-waf-3.0.1099}/tencentcloud/waf/v20180125/errorcodes.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.1097 → tencentcloud-sdk-python-waf-3.0.1099}/tencentcloud_sdk_python_waf.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-waf-3.0.1097 → tencentcloud-sdk-python-waf-3.0.1099}/tencentcloud_sdk_python_waf.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-waf-3.0.1097 → tencentcloud-sdk-python-waf-3.0.1099}/tencentcloud_sdk_python_waf.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-waf',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1099"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Waf SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -4359,6 +4359,415 @@ class CreateAccessExportResponse(AbstractModel):
|
|
|
4359
4359
|
self._RequestId = params.get("RequestId")
|
|
4360
4360
|
|
|
4361
4361
|
|
|
4362
|
+
class CreateDealsGoods(AbstractModel):
|
|
4363
|
+
"""计费下单接口出入参Goods
|
|
4364
|
+
|
|
4365
|
+
"""
|
|
4366
|
+
|
|
4367
|
+
def __init__(self):
|
|
4368
|
+
r"""
|
|
4369
|
+
:param _GoodsNum: 商品数量
|
|
4370
|
+
:type GoodsNum: int
|
|
4371
|
+
:param _GoodsDetail: 商品明细
|
|
4372
|
+
:type GoodsDetail: :class:`tencentcloud.waf.v20180125.models.CreateDealsGoodsDetail`
|
|
4373
|
+
:param _GoodsCategoryId: 订单类型ID,用来唯一标识一个业务的一种场景(总共三种场景:新购、配置变更、续费)
|
|
4374
|
+
高级版: 102375(新购),102376(续费),102377(变配)
|
|
4375
|
+
企业版 : 102378(新购),102379(续费),102380(变配)
|
|
4376
|
+
旗舰版 : 102369(新购),102370(续费),102371(变配)
|
|
4377
|
+
域名包 : 102372(新购),102373(续费),102374(变配)
|
|
4378
|
+
业务扩展包 : 101040(新购),101041(续费),101042(变配)
|
|
4379
|
+
|
|
4380
|
+
高级版-CLB: 新购 101198 续费 101199 变配 101200
|
|
4381
|
+
企业版-CLB 101204(新购),101205(续费),101206(变配)
|
|
4382
|
+
旗舰版-CLB : 101201(新购),101202(续费),101203(变配)
|
|
4383
|
+
域名包-CLB: 101207(新购),101208(续费),101209(变配)
|
|
4384
|
+
业务扩展包-CLB: 101210(新购),101211(续费),101212(变配)
|
|
4385
|
+
|
|
4386
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4387
|
+
:type GoodsCategoryId: int
|
|
4388
|
+
:param _RegionId: 购买waf实例区域ID
|
|
4389
|
+
1 表示购买大陆资源;
|
|
4390
|
+
9表示购买非中国大陆资源
|
|
4391
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4392
|
+
:type RegionId: int
|
|
4393
|
+
"""
|
|
4394
|
+
self._GoodsNum = None
|
|
4395
|
+
self._GoodsDetail = None
|
|
4396
|
+
self._GoodsCategoryId = None
|
|
4397
|
+
self._RegionId = None
|
|
4398
|
+
|
|
4399
|
+
@property
|
|
4400
|
+
def GoodsNum(self):
|
|
4401
|
+
return self._GoodsNum
|
|
4402
|
+
|
|
4403
|
+
@GoodsNum.setter
|
|
4404
|
+
def GoodsNum(self, GoodsNum):
|
|
4405
|
+
self._GoodsNum = GoodsNum
|
|
4406
|
+
|
|
4407
|
+
@property
|
|
4408
|
+
def GoodsDetail(self):
|
|
4409
|
+
return self._GoodsDetail
|
|
4410
|
+
|
|
4411
|
+
@GoodsDetail.setter
|
|
4412
|
+
def GoodsDetail(self, GoodsDetail):
|
|
4413
|
+
self._GoodsDetail = GoodsDetail
|
|
4414
|
+
|
|
4415
|
+
@property
|
|
4416
|
+
def GoodsCategoryId(self):
|
|
4417
|
+
return self._GoodsCategoryId
|
|
4418
|
+
|
|
4419
|
+
@GoodsCategoryId.setter
|
|
4420
|
+
def GoodsCategoryId(self, GoodsCategoryId):
|
|
4421
|
+
self._GoodsCategoryId = GoodsCategoryId
|
|
4422
|
+
|
|
4423
|
+
@property
|
|
4424
|
+
def RegionId(self):
|
|
4425
|
+
return self._RegionId
|
|
4426
|
+
|
|
4427
|
+
@RegionId.setter
|
|
4428
|
+
def RegionId(self, RegionId):
|
|
4429
|
+
self._RegionId = RegionId
|
|
4430
|
+
|
|
4431
|
+
|
|
4432
|
+
def _deserialize(self, params):
|
|
4433
|
+
self._GoodsNum = params.get("GoodsNum")
|
|
4434
|
+
if params.get("GoodsDetail") is not None:
|
|
4435
|
+
self._GoodsDetail = CreateDealsGoodsDetail()
|
|
4436
|
+
self._GoodsDetail._deserialize(params.get("GoodsDetail"))
|
|
4437
|
+
self._GoodsCategoryId = params.get("GoodsCategoryId")
|
|
4438
|
+
self._RegionId = params.get("RegionId")
|
|
4439
|
+
memeber_set = set(params.keys())
|
|
4440
|
+
for name, value in vars(self).items():
|
|
4441
|
+
property_name = name[1:]
|
|
4442
|
+
if property_name in memeber_set:
|
|
4443
|
+
memeber_set.remove(property_name)
|
|
4444
|
+
if len(memeber_set) > 0:
|
|
4445
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4446
|
+
|
|
4447
|
+
|
|
4448
|
+
|
|
4449
|
+
class CreateDealsGoodsDetail(AbstractModel):
|
|
4450
|
+
"""产品明细
|
|
4451
|
+
|
|
4452
|
+
"""
|
|
4453
|
+
|
|
4454
|
+
def __init__(self):
|
|
4455
|
+
r"""
|
|
4456
|
+
:param _TimeSpan: 时间间隔
|
|
4457
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4458
|
+
:type TimeSpan: int
|
|
4459
|
+
:param _TimeUnit: 单位,支持购买d、m、y 即(日、月、年)
|
|
4460
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4461
|
+
:type TimeUnit: str
|
|
4462
|
+
:param _SubProductCode: 子产品标签,。新购,续费必传,变配时放在oldConfig newConfig里面
|
|
4463
|
+
|
|
4464
|
+
Saas 高级版 :sp_wsm_waf_premium
|
|
4465
|
+
Saas企业版 :sp_wsm_waf_enterprise
|
|
4466
|
+
Saas旗舰版 :sp_wsm_waf_ultimate
|
|
4467
|
+
Saas 业务扩展包:sp_wsm_waf_qpsep
|
|
4468
|
+
Saas 域名扩展包:sp_wsm_waf_domain
|
|
4469
|
+
|
|
4470
|
+
高级版-CLB:sp_wsm_waf_premium_clb
|
|
4471
|
+
企业版-CLB : sp_wsm_waf_enterprise_clb
|
|
4472
|
+
旗舰版-CLB:sp_wsm_waf_ultimate_clb
|
|
4473
|
+
业务扩展包-CLB:sp_wsm_waf_qpsep_clb
|
|
4474
|
+
域名扩展包-CLB:sp_wsm_waf_domain_clb
|
|
4475
|
+
|
|
4476
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4477
|
+
:type SubProductCode: str
|
|
4478
|
+
:param _Pid: 业务产品申请的pid(对应一个定价公式),通过pid计费查询到定价模型
|
|
4479
|
+
高级版 :1000827
|
|
4480
|
+
企业版 :1000830
|
|
4481
|
+
旗舰版 :1000832
|
|
4482
|
+
域名包 : 1000834
|
|
4483
|
+
业务扩展包 : 1000481
|
|
4484
|
+
高级版-CLB:1001150
|
|
4485
|
+
企业版-CLB : 1001152
|
|
4486
|
+
旗舰版-CLB:1001154
|
|
4487
|
+
域名包-CLB: 1001156
|
|
4488
|
+
业务扩展包-CLB : 1001160
|
|
4489
|
+
|
|
4490
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4491
|
+
:type Pid: int
|
|
4492
|
+
:param _InstanceName: waf实例名
|
|
4493
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4494
|
+
:type InstanceName: str
|
|
4495
|
+
:param _AutoRenewFlag: 1:自动续费,0:不自动续费
|
|
4496
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4497
|
+
:type AutoRenewFlag: int
|
|
4498
|
+
:param _RealRegion: waf购买的实际地域信息
|
|
4499
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4500
|
+
:type RealRegion: int
|
|
4501
|
+
:param _LabelTypes: 计费细项标签数组
|
|
4502
|
+
Saas 高级版 sv_wsm_waf_package_premium
|
|
4503
|
+
Saas 企业版 sv_wsm_waf_package_enterprise
|
|
4504
|
+
Saas 旗舰版 sv_wsm_waf_package_ultimate
|
|
4505
|
+
Saas 非中国大陆高级版 sv_wsm_waf_package_premium_intl
|
|
4506
|
+
Saas 非中国大陆企业版 sv_wsm_waf_package_enterprise_intl
|
|
4507
|
+
Saas 非中国大陆旗舰版 sv_wsm_waf_package_ultimate _intl
|
|
4508
|
+
Saas 业务扩展包 sv_wsm_waf_qps_ep
|
|
4509
|
+
Saas 域名扩展包 sv_wsm_waf_domain
|
|
4510
|
+
|
|
4511
|
+
高级版CLB sv_wsm_waf_package_premium_clb
|
|
4512
|
+
企业版CLB sv_wsm_waf_package_enterprise_clb
|
|
4513
|
+
旗舰版CLB sv_wsm_waf_package_ultimate_clb
|
|
4514
|
+
非中国大陆高级版 CLB sv_wsm_waf_package_premium_clb_intl
|
|
4515
|
+
非中国大陆企业版CLB sv_wsm_waf_package_premium_clb_intl
|
|
4516
|
+
非中国大陆旗舰版CLB sv_wsm_waf_package_ultimate_clb _intl
|
|
4517
|
+
业务扩展包CLB sv_wsm_waf_qps_ep_clb
|
|
4518
|
+
域名扩展包CLB sv_wsm_waf_domain_clb
|
|
4519
|
+
|
|
4520
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4521
|
+
:type LabelTypes: list of str
|
|
4522
|
+
:param _LabelCounts: 计费细项标签数量,一般和SvLabelType一一对应
|
|
4523
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4524
|
+
:type LabelCounts: list of int
|
|
4525
|
+
:param _CurDeadline: 变配使用,实例到期时间
|
|
4526
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4527
|
+
:type CurDeadline: str
|
|
4528
|
+
:param _InstanceId: 对存在的实例购买bot 或api 安全
|
|
4529
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4530
|
+
:type InstanceId: str
|
|
4531
|
+
:param _ResourceId: 资源id
|
|
4532
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4533
|
+
:type ResourceId: str
|
|
4534
|
+
"""
|
|
4535
|
+
self._TimeSpan = None
|
|
4536
|
+
self._TimeUnit = None
|
|
4537
|
+
self._SubProductCode = None
|
|
4538
|
+
self._Pid = None
|
|
4539
|
+
self._InstanceName = None
|
|
4540
|
+
self._AutoRenewFlag = None
|
|
4541
|
+
self._RealRegion = None
|
|
4542
|
+
self._LabelTypes = None
|
|
4543
|
+
self._LabelCounts = None
|
|
4544
|
+
self._CurDeadline = None
|
|
4545
|
+
self._InstanceId = None
|
|
4546
|
+
self._ResourceId = None
|
|
4547
|
+
|
|
4548
|
+
@property
|
|
4549
|
+
def TimeSpan(self):
|
|
4550
|
+
return self._TimeSpan
|
|
4551
|
+
|
|
4552
|
+
@TimeSpan.setter
|
|
4553
|
+
def TimeSpan(self, TimeSpan):
|
|
4554
|
+
self._TimeSpan = TimeSpan
|
|
4555
|
+
|
|
4556
|
+
@property
|
|
4557
|
+
def TimeUnit(self):
|
|
4558
|
+
return self._TimeUnit
|
|
4559
|
+
|
|
4560
|
+
@TimeUnit.setter
|
|
4561
|
+
def TimeUnit(self, TimeUnit):
|
|
4562
|
+
self._TimeUnit = TimeUnit
|
|
4563
|
+
|
|
4564
|
+
@property
|
|
4565
|
+
def SubProductCode(self):
|
|
4566
|
+
return self._SubProductCode
|
|
4567
|
+
|
|
4568
|
+
@SubProductCode.setter
|
|
4569
|
+
def SubProductCode(self, SubProductCode):
|
|
4570
|
+
self._SubProductCode = SubProductCode
|
|
4571
|
+
|
|
4572
|
+
@property
|
|
4573
|
+
def Pid(self):
|
|
4574
|
+
return self._Pid
|
|
4575
|
+
|
|
4576
|
+
@Pid.setter
|
|
4577
|
+
def Pid(self, Pid):
|
|
4578
|
+
self._Pid = Pid
|
|
4579
|
+
|
|
4580
|
+
@property
|
|
4581
|
+
def InstanceName(self):
|
|
4582
|
+
return self._InstanceName
|
|
4583
|
+
|
|
4584
|
+
@InstanceName.setter
|
|
4585
|
+
def InstanceName(self, InstanceName):
|
|
4586
|
+
self._InstanceName = InstanceName
|
|
4587
|
+
|
|
4588
|
+
@property
|
|
4589
|
+
def AutoRenewFlag(self):
|
|
4590
|
+
return self._AutoRenewFlag
|
|
4591
|
+
|
|
4592
|
+
@AutoRenewFlag.setter
|
|
4593
|
+
def AutoRenewFlag(self, AutoRenewFlag):
|
|
4594
|
+
self._AutoRenewFlag = AutoRenewFlag
|
|
4595
|
+
|
|
4596
|
+
@property
|
|
4597
|
+
def RealRegion(self):
|
|
4598
|
+
return self._RealRegion
|
|
4599
|
+
|
|
4600
|
+
@RealRegion.setter
|
|
4601
|
+
def RealRegion(self, RealRegion):
|
|
4602
|
+
self._RealRegion = RealRegion
|
|
4603
|
+
|
|
4604
|
+
@property
|
|
4605
|
+
def LabelTypes(self):
|
|
4606
|
+
return self._LabelTypes
|
|
4607
|
+
|
|
4608
|
+
@LabelTypes.setter
|
|
4609
|
+
def LabelTypes(self, LabelTypes):
|
|
4610
|
+
self._LabelTypes = LabelTypes
|
|
4611
|
+
|
|
4612
|
+
@property
|
|
4613
|
+
def LabelCounts(self):
|
|
4614
|
+
return self._LabelCounts
|
|
4615
|
+
|
|
4616
|
+
@LabelCounts.setter
|
|
4617
|
+
def LabelCounts(self, LabelCounts):
|
|
4618
|
+
self._LabelCounts = LabelCounts
|
|
4619
|
+
|
|
4620
|
+
@property
|
|
4621
|
+
def CurDeadline(self):
|
|
4622
|
+
return self._CurDeadline
|
|
4623
|
+
|
|
4624
|
+
@CurDeadline.setter
|
|
4625
|
+
def CurDeadline(self, CurDeadline):
|
|
4626
|
+
self._CurDeadline = CurDeadline
|
|
4627
|
+
|
|
4628
|
+
@property
|
|
4629
|
+
def InstanceId(self):
|
|
4630
|
+
return self._InstanceId
|
|
4631
|
+
|
|
4632
|
+
@InstanceId.setter
|
|
4633
|
+
def InstanceId(self, InstanceId):
|
|
4634
|
+
self._InstanceId = InstanceId
|
|
4635
|
+
|
|
4636
|
+
@property
|
|
4637
|
+
def ResourceId(self):
|
|
4638
|
+
return self._ResourceId
|
|
4639
|
+
|
|
4640
|
+
@ResourceId.setter
|
|
4641
|
+
def ResourceId(self, ResourceId):
|
|
4642
|
+
self._ResourceId = ResourceId
|
|
4643
|
+
|
|
4644
|
+
|
|
4645
|
+
def _deserialize(self, params):
|
|
4646
|
+
self._TimeSpan = params.get("TimeSpan")
|
|
4647
|
+
self._TimeUnit = params.get("TimeUnit")
|
|
4648
|
+
self._SubProductCode = params.get("SubProductCode")
|
|
4649
|
+
self._Pid = params.get("Pid")
|
|
4650
|
+
self._InstanceName = params.get("InstanceName")
|
|
4651
|
+
self._AutoRenewFlag = params.get("AutoRenewFlag")
|
|
4652
|
+
self._RealRegion = params.get("RealRegion")
|
|
4653
|
+
self._LabelTypes = params.get("LabelTypes")
|
|
4654
|
+
self._LabelCounts = params.get("LabelCounts")
|
|
4655
|
+
self._CurDeadline = params.get("CurDeadline")
|
|
4656
|
+
self._InstanceId = params.get("InstanceId")
|
|
4657
|
+
self._ResourceId = params.get("ResourceId")
|
|
4658
|
+
memeber_set = set(params.keys())
|
|
4659
|
+
for name, value in vars(self).items():
|
|
4660
|
+
property_name = name[1:]
|
|
4661
|
+
if property_name in memeber_set:
|
|
4662
|
+
memeber_set.remove(property_name)
|
|
4663
|
+
if len(memeber_set) > 0:
|
|
4664
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4665
|
+
|
|
4666
|
+
|
|
4667
|
+
|
|
4668
|
+
class CreateDealsRequest(AbstractModel):
|
|
4669
|
+
"""CreateDeals请求参数结构体
|
|
4670
|
+
|
|
4671
|
+
"""
|
|
4672
|
+
|
|
4673
|
+
def __init__(self):
|
|
4674
|
+
r"""
|
|
4675
|
+
:param _Goods: 计费下单入参
|
|
4676
|
+
:type Goods: list of CreateDealsGoods
|
|
4677
|
+
"""
|
|
4678
|
+
self._Goods = None
|
|
4679
|
+
|
|
4680
|
+
@property
|
|
4681
|
+
def Goods(self):
|
|
4682
|
+
return self._Goods
|
|
4683
|
+
|
|
4684
|
+
@Goods.setter
|
|
4685
|
+
def Goods(self, Goods):
|
|
4686
|
+
self._Goods = Goods
|
|
4687
|
+
|
|
4688
|
+
|
|
4689
|
+
def _deserialize(self, params):
|
|
4690
|
+
if params.get("Goods") is not None:
|
|
4691
|
+
self._Goods = []
|
|
4692
|
+
for item in params.get("Goods"):
|
|
4693
|
+
obj = CreateDealsGoods()
|
|
4694
|
+
obj._deserialize(item)
|
|
4695
|
+
self._Goods.append(obj)
|
|
4696
|
+
memeber_set = set(params.keys())
|
|
4697
|
+
for name, value in vars(self).items():
|
|
4698
|
+
property_name = name[1:]
|
|
4699
|
+
if property_name in memeber_set:
|
|
4700
|
+
memeber_set.remove(property_name)
|
|
4701
|
+
if len(memeber_set) > 0:
|
|
4702
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4703
|
+
|
|
4704
|
+
|
|
4705
|
+
|
|
4706
|
+
class CreateDealsResponse(AbstractModel):
|
|
4707
|
+
"""CreateDeals返回参数结构体
|
|
4708
|
+
|
|
4709
|
+
"""
|
|
4710
|
+
|
|
4711
|
+
def __init__(self):
|
|
4712
|
+
r"""
|
|
4713
|
+
:param _Data: 计费下单响应结构体
|
|
4714
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4715
|
+
:type Data: :class:`tencentcloud.waf.v20180125.models.DealData`
|
|
4716
|
+
:param _Status: 1:成功,0:失败
|
|
4717
|
+
:type Status: int
|
|
4718
|
+
:param _ReturnMessage: 返回message
|
|
4719
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4720
|
+
:type ReturnMessage: str
|
|
4721
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4722
|
+
:type RequestId: str
|
|
4723
|
+
"""
|
|
4724
|
+
self._Data = None
|
|
4725
|
+
self._Status = None
|
|
4726
|
+
self._ReturnMessage = None
|
|
4727
|
+
self._RequestId = None
|
|
4728
|
+
|
|
4729
|
+
@property
|
|
4730
|
+
def Data(self):
|
|
4731
|
+
return self._Data
|
|
4732
|
+
|
|
4733
|
+
@Data.setter
|
|
4734
|
+
def Data(self, Data):
|
|
4735
|
+
self._Data = Data
|
|
4736
|
+
|
|
4737
|
+
@property
|
|
4738
|
+
def Status(self):
|
|
4739
|
+
return self._Status
|
|
4740
|
+
|
|
4741
|
+
@Status.setter
|
|
4742
|
+
def Status(self, Status):
|
|
4743
|
+
self._Status = Status
|
|
4744
|
+
|
|
4745
|
+
@property
|
|
4746
|
+
def ReturnMessage(self):
|
|
4747
|
+
return self._ReturnMessage
|
|
4748
|
+
|
|
4749
|
+
@ReturnMessage.setter
|
|
4750
|
+
def ReturnMessage(self, ReturnMessage):
|
|
4751
|
+
self._ReturnMessage = ReturnMessage
|
|
4752
|
+
|
|
4753
|
+
@property
|
|
4754
|
+
def RequestId(self):
|
|
4755
|
+
return self._RequestId
|
|
4756
|
+
|
|
4757
|
+
@RequestId.setter
|
|
4758
|
+
def RequestId(self, RequestId):
|
|
4759
|
+
self._RequestId = RequestId
|
|
4760
|
+
|
|
4761
|
+
|
|
4762
|
+
def _deserialize(self, params):
|
|
4763
|
+
if params.get("Data") is not None:
|
|
4764
|
+
self._Data = DealData()
|
|
4765
|
+
self._Data._deserialize(params.get("Data"))
|
|
4766
|
+
self._Status = params.get("Status")
|
|
4767
|
+
self._ReturnMessage = params.get("ReturnMessage")
|
|
4768
|
+
self._RequestId = params.get("RequestId")
|
|
4769
|
+
|
|
4770
|
+
|
|
4362
4771
|
class CreateHostRequest(AbstractModel):
|
|
4363
4772
|
"""CreateHost请求参数结构体
|
|
4364
4773
|
|
|
@@ -14783,7 +15192,8 @@ class FiltersItemNew(AbstractModel):
|
|
|
14783
15192
|
|
|
14784
15193
|
def __init__(self):
|
|
14785
15194
|
r"""
|
|
14786
|
-
:param _Name:
|
|
15195
|
+
:param _Name: 字段名; 过滤
|
|
15196
|
+
子订单号过滤通过name 为:DealName; value为子订单号
|
|
14787
15197
|
:type Name: str
|
|
14788
15198
|
:param _Values: 过滤值
|
|
14789
15199
|
:type Values: list of str
|
|
@@ -210,6 +210,29 @@ class WafClient(AbstractClient):
|
|
|
210
210
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
211
211
|
|
|
212
212
|
|
|
213
|
+
def CreateDeals(self, request):
|
|
214
|
+
"""计费资源购买、续费下单接口
|
|
215
|
+
|
|
216
|
+
:param request: Request instance for CreateDeals.
|
|
217
|
+
:type request: :class:`tencentcloud.waf.v20180125.models.CreateDealsRequest`
|
|
218
|
+
:rtype: :class:`tencentcloud.waf.v20180125.models.CreateDealsResponse`
|
|
219
|
+
|
|
220
|
+
"""
|
|
221
|
+
try:
|
|
222
|
+
params = request._serialize()
|
|
223
|
+
headers = request.headers
|
|
224
|
+
body = self.call("CreateDeals", params, headers=headers)
|
|
225
|
+
response = json.loads(body)
|
|
226
|
+
model = models.CreateDealsResponse()
|
|
227
|
+
model._deserialize(response["Response"])
|
|
228
|
+
return model
|
|
229
|
+
except Exception as e:
|
|
230
|
+
if isinstance(e, TencentCloudSDKException):
|
|
231
|
+
raise
|
|
232
|
+
else:
|
|
233
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
234
|
+
|
|
235
|
+
|
|
213
236
|
def CreateHost(self, request):
|
|
214
237
|
"""clb-waf中添加防护域名
|
|
215
238
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1099
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1097
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|