tencentcloud-sdk-python 3.0.970__py2.py3-none-any.whl → 3.0.972__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/apigateway/v20180808/models.py +27 -2
- tencentcloud/asr/v20190614/asr_client.py +1 -1
- tencentcloud/asr/v20190614/models.py +2 -2
- tencentcloud/bma/v20221115/models.py +25 -0
- tencentcloud/cdwch/v20200915/cdwch_client.py +92 -0
- tencentcloud/cdwch/v20200915/models.py +481 -0
- tencentcloud/ckafka/v20190819/models.py +105 -0
- tencentcloud/csip/v20221121/models.py +13 -0
- tencentcloud/cvm/v20170312/cvm_client.py +4 -4
- tencentcloud/cvm/v20170312/models.py +2 -2
- tencentcloud/cwp/v20180228/models.py +24 -0
- tencentcloud/cynosdb/v20190107/models.py +2 -2
- tencentcloud/dbbrain/v20210527/models.py +24 -0
- tencentcloud/dsgc/v20190723/dsgc_client.py +46 -0
- tencentcloud/dsgc/v20190723/models.py +530 -14
- tencentcloud/ess/v20201111/models.py +1 -1
- tencentcloud/faceid/v20180301/models.py +33 -1
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +1 -1
- tencentcloud/oceanus/v20190422/models.py +130 -0
- tencentcloud/ses/v20201002/errorcodes.py +2 -2
- tencentcloud/trtc/v20190722/models.py +2 -1
- tencentcloud/tsf/v20180326/models.py +2 -2
- tencentcloud/vod/v20180717/models.py +96 -0
- tencentcloud/vpc/v20170312/models.py +210 -13
- tencentcloud/vpc/v20170312/vpc_client.py +48 -0
- tencentcloud/waf/v20180125/errorcodes.py +6 -0
- tencentcloud/waf/v20180125/models.py +8758 -5573
- tencentcloud/waf/v20180125/waf_client.py +462 -0
- tencentcloud/wedata/v20210820/models.py +13 -0
- {tencentcloud_sdk_python-3.0.970.dist-info → tencentcloud_sdk_python-3.0.972.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.970.dist-info → tencentcloud_sdk_python-3.0.972.dist-info}/RECORD +35 -35
- {tencentcloud_sdk_python-3.0.970.dist-info → tencentcloud_sdk_python-3.0.972.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.970.dist-info → tencentcloud_sdk_python-3.0.972.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.970.dist-info → tencentcloud_sdk_python-3.0.972.dist-info}/top_level.txt +0 -0
|
@@ -5765,6 +5765,9 @@ class CreateBandwidthPackageRequest(AbstractModel):
|
|
|
5765
5765
|
<li>TOP5_POSTPAID_BY_MONTH: 按月后付费TOP5计费</li>
|
|
5766
5766
|
<li>PERCENT95_POSTPAID_BY_MONTH: 按月后付费月95计费</li>
|
|
5767
5767
|
<li>FIXED_PREPAID_BY_MONTH: 包月预付费计费</li>
|
|
5768
|
+
<li>ENHANCED95_POSTPAID_BY_MONTH: 按月后付费增强型95计费</li>
|
|
5769
|
+
<li>PEAK_BANDWIDTH_POSTPAID_BY_DAY: 后付费日结按带宽计费</li>
|
|
5770
|
+
|
|
5768
5771
|
:type ChargeType: str
|
|
5769
5772
|
:param _BandwidthPackageName: 带宽包名称。
|
|
5770
5773
|
:type BandwidthPackageName: str
|
|
@@ -7699,6 +7702,78 @@ class CreateNetDetectResponse(AbstractModel):
|
|
|
7699
7702
|
self._RequestId = params.get("RequestId")
|
|
7700
7703
|
|
|
7701
7704
|
|
|
7705
|
+
class CreateNetworkAclEntriesRequest(AbstractModel):
|
|
7706
|
+
"""CreateNetworkAclEntries请求参数结构体
|
|
7707
|
+
|
|
7708
|
+
"""
|
|
7709
|
+
|
|
7710
|
+
def __init__(self):
|
|
7711
|
+
r"""
|
|
7712
|
+
:param _NetworkAclId: 网络ACL实例ID。例如:acl-12345678。
|
|
7713
|
+
:type NetworkAclId: str
|
|
7714
|
+
:param _NetworkAclEntrySet: 网络三元组ACL规则集。
|
|
7715
|
+
:type NetworkAclEntrySet: :class:`tencentcloud.vpc.v20170312.models.NetworkAclEntrySet`
|
|
7716
|
+
"""
|
|
7717
|
+
self._NetworkAclId = None
|
|
7718
|
+
self._NetworkAclEntrySet = None
|
|
7719
|
+
|
|
7720
|
+
@property
|
|
7721
|
+
def NetworkAclId(self):
|
|
7722
|
+
return self._NetworkAclId
|
|
7723
|
+
|
|
7724
|
+
@NetworkAclId.setter
|
|
7725
|
+
def NetworkAclId(self, NetworkAclId):
|
|
7726
|
+
self._NetworkAclId = NetworkAclId
|
|
7727
|
+
|
|
7728
|
+
@property
|
|
7729
|
+
def NetworkAclEntrySet(self):
|
|
7730
|
+
return self._NetworkAclEntrySet
|
|
7731
|
+
|
|
7732
|
+
@NetworkAclEntrySet.setter
|
|
7733
|
+
def NetworkAclEntrySet(self, NetworkAclEntrySet):
|
|
7734
|
+
self._NetworkAclEntrySet = NetworkAclEntrySet
|
|
7735
|
+
|
|
7736
|
+
|
|
7737
|
+
def _deserialize(self, params):
|
|
7738
|
+
self._NetworkAclId = params.get("NetworkAclId")
|
|
7739
|
+
if params.get("NetworkAclEntrySet") is not None:
|
|
7740
|
+
self._NetworkAclEntrySet = NetworkAclEntrySet()
|
|
7741
|
+
self._NetworkAclEntrySet._deserialize(params.get("NetworkAclEntrySet"))
|
|
7742
|
+
memeber_set = set(params.keys())
|
|
7743
|
+
for name, value in vars(self).items():
|
|
7744
|
+
property_name = name[1:]
|
|
7745
|
+
if property_name in memeber_set:
|
|
7746
|
+
memeber_set.remove(property_name)
|
|
7747
|
+
if len(memeber_set) > 0:
|
|
7748
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7749
|
+
|
|
7750
|
+
|
|
7751
|
+
|
|
7752
|
+
class CreateNetworkAclEntriesResponse(AbstractModel):
|
|
7753
|
+
"""CreateNetworkAclEntries返回参数结构体
|
|
7754
|
+
|
|
7755
|
+
"""
|
|
7756
|
+
|
|
7757
|
+
def __init__(self):
|
|
7758
|
+
r"""
|
|
7759
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7760
|
+
:type RequestId: str
|
|
7761
|
+
"""
|
|
7762
|
+
self._RequestId = None
|
|
7763
|
+
|
|
7764
|
+
@property
|
|
7765
|
+
def RequestId(self):
|
|
7766
|
+
return self._RequestId
|
|
7767
|
+
|
|
7768
|
+
@RequestId.setter
|
|
7769
|
+
def RequestId(self, RequestId):
|
|
7770
|
+
self._RequestId = RequestId
|
|
7771
|
+
|
|
7772
|
+
|
|
7773
|
+
def _deserialize(self, params):
|
|
7774
|
+
self._RequestId = params.get("RequestId")
|
|
7775
|
+
|
|
7776
|
+
|
|
7702
7777
|
class CreateNetworkAclQuintupleEntriesRequest(AbstractModel):
|
|
7703
7778
|
"""CreateNetworkAclQuintupleEntries请求参数结构体
|
|
7704
7779
|
|
|
@@ -12386,6 +12461,78 @@ class DeleteNetDetectResponse(AbstractModel):
|
|
|
12386
12461
|
self._RequestId = params.get("RequestId")
|
|
12387
12462
|
|
|
12388
12463
|
|
|
12464
|
+
class DeleteNetworkAclEntriesRequest(AbstractModel):
|
|
12465
|
+
"""DeleteNetworkAclEntries请求参数结构体
|
|
12466
|
+
|
|
12467
|
+
"""
|
|
12468
|
+
|
|
12469
|
+
def __init__(self):
|
|
12470
|
+
r"""
|
|
12471
|
+
:param _NetworkAclId: 三元组网络ACL实例ID。例如:acl-12345678。
|
|
12472
|
+
:type NetworkAclId: str
|
|
12473
|
+
:param _NetworkAclEntrySet: 三元组网络ACL规则集。
|
|
12474
|
+
:type NetworkAclEntrySet: :class:`tencentcloud.vpc.v20170312.models.NetworkAclEntrySet`
|
|
12475
|
+
"""
|
|
12476
|
+
self._NetworkAclId = None
|
|
12477
|
+
self._NetworkAclEntrySet = None
|
|
12478
|
+
|
|
12479
|
+
@property
|
|
12480
|
+
def NetworkAclId(self):
|
|
12481
|
+
return self._NetworkAclId
|
|
12482
|
+
|
|
12483
|
+
@NetworkAclId.setter
|
|
12484
|
+
def NetworkAclId(self, NetworkAclId):
|
|
12485
|
+
self._NetworkAclId = NetworkAclId
|
|
12486
|
+
|
|
12487
|
+
@property
|
|
12488
|
+
def NetworkAclEntrySet(self):
|
|
12489
|
+
return self._NetworkAclEntrySet
|
|
12490
|
+
|
|
12491
|
+
@NetworkAclEntrySet.setter
|
|
12492
|
+
def NetworkAclEntrySet(self, NetworkAclEntrySet):
|
|
12493
|
+
self._NetworkAclEntrySet = NetworkAclEntrySet
|
|
12494
|
+
|
|
12495
|
+
|
|
12496
|
+
def _deserialize(self, params):
|
|
12497
|
+
self._NetworkAclId = params.get("NetworkAclId")
|
|
12498
|
+
if params.get("NetworkAclEntrySet") is not None:
|
|
12499
|
+
self._NetworkAclEntrySet = NetworkAclEntrySet()
|
|
12500
|
+
self._NetworkAclEntrySet._deserialize(params.get("NetworkAclEntrySet"))
|
|
12501
|
+
memeber_set = set(params.keys())
|
|
12502
|
+
for name, value in vars(self).items():
|
|
12503
|
+
property_name = name[1:]
|
|
12504
|
+
if property_name in memeber_set:
|
|
12505
|
+
memeber_set.remove(property_name)
|
|
12506
|
+
if len(memeber_set) > 0:
|
|
12507
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12508
|
+
|
|
12509
|
+
|
|
12510
|
+
|
|
12511
|
+
class DeleteNetworkAclEntriesResponse(AbstractModel):
|
|
12512
|
+
"""DeleteNetworkAclEntries返回参数结构体
|
|
12513
|
+
|
|
12514
|
+
"""
|
|
12515
|
+
|
|
12516
|
+
def __init__(self):
|
|
12517
|
+
r"""
|
|
12518
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
12519
|
+
:type RequestId: str
|
|
12520
|
+
"""
|
|
12521
|
+
self._RequestId = None
|
|
12522
|
+
|
|
12523
|
+
@property
|
|
12524
|
+
def RequestId(self):
|
|
12525
|
+
return self._RequestId
|
|
12526
|
+
|
|
12527
|
+
@RequestId.setter
|
|
12528
|
+
def RequestId(self, RequestId):
|
|
12529
|
+
self._RequestId = RequestId
|
|
12530
|
+
|
|
12531
|
+
|
|
12532
|
+
def _deserialize(self, params):
|
|
12533
|
+
self._RequestId = params.get("RequestId")
|
|
12534
|
+
|
|
12535
|
+
|
|
12389
12536
|
class DeleteNetworkAclQuintupleEntriesRequest(AbstractModel):
|
|
12390
12537
|
"""DeleteNetworkAclQuintupleEntries请求参数结构体
|
|
12391
12538
|
|
|
@@ -32222,10 +32369,13 @@ class ModifyNetworkAclEntriesRequest(AbstractModel):
|
|
|
32222
32369
|
:type NetworkAclEntrySet: :class:`tencentcloud.vpc.v20170312.models.NetworkAclEntrySet`
|
|
32223
32370
|
:param _NetworkAclQuintupleSet: 网络ACL五元组规则集。NetworkAclEntrySet和NetworkAclQuintupleSet只能输入一个。
|
|
32224
32371
|
:type NetworkAclQuintupleSet: :class:`tencentcloud.vpc.v20170312.models.NetworkAclQuintupleEntries`
|
|
32372
|
+
:param _EnableUpdateAclEntries: 三元组的增量更新。该接口的默认语义为全量覆盖。当需要实现增量更新语义时,设置该参数为True。
|
|
32373
|
+
:type EnableUpdateAclEntries: bool
|
|
32225
32374
|
"""
|
|
32226
32375
|
self._NetworkAclId = None
|
|
32227
32376
|
self._NetworkAclEntrySet = None
|
|
32228
32377
|
self._NetworkAclQuintupleSet = None
|
|
32378
|
+
self._EnableUpdateAclEntries = None
|
|
32229
32379
|
|
|
32230
32380
|
@property
|
|
32231
32381
|
def NetworkAclId(self):
|
|
@@ -32251,6 +32401,14 @@ class ModifyNetworkAclEntriesRequest(AbstractModel):
|
|
|
32251
32401
|
def NetworkAclQuintupleSet(self, NetworkAclQuintupleSet):
|
|
32252
32402
|
self._NetworkAclQuintupleSet = NetworkAclQuintupleSet
|
|
32253
32403
|
|
|
32404
|
+
@property
|
|
32405
|
+
def EnableUpdateAclEntries(self):
|
|
32406
|
+
return self._EnableUpdateAclEntries
|
|
32407
|
+
|
|
32408
|
+
@EnableUpdateAclEntries.setter
|
|
32409
|
+
def EnableUpdateAclEntries(self, EnableUpdateAclEntries):
|
|
32410
|
+
self._EnableUpdateAclEntries = EnableUpdateAclEntries
|
|
32411
|
+
|
|
32254
32412
|
|
|
32255
32413
|
def _deserialize(self, params):
|
|
32256
32414
|
self._NetworkAclId = params.get("NetworkAclId")
|
|
@@ -32260,6 +32418,7 @@ class ModifyNetworkAclEntriesRequest(AbstractModel):
|
|
|
32260
32418
|
if params.get("NetworkAclQuintupleSet") is not None:
|
|
32261
32419
|
self._NetworkAclQuintupleSet = NetworkAclQuintupleEntries()
|
|
32262
32420
|
self._NetworkAclQuintupleSet._deserialize(params.get("NetworkAclQuintupleSet"))
|
|
32421
|
+
self._EnableUpdateAclEntries = params.get("EnableUpdateAclEntries")
|
|
32263
32422
|
memeber_set = set(params.keys())
|
|
32264
32423
|
for name, value in vars(self).items():
|
|
32265
32424
|
property_name = name[1:]
|
|
@@ -35212,13 +35371,11 @@ class NetworkAclEntry(AbstractModel):
|
|
|
35212
35371
|
|
|
35213
35372
|
def __init__(self):
|
|
35214
35373
|
r"""
|
|
35215
|
-
:param _ModifyTime: 修改时间。
|
|
35216
|
-
:type ModifyTime: str
|
|
35217
35374
|
:param _Protocol: 协议, 取值: TCP,UDP, ICMP, ALL。
|
|
35218
35375
|
:type Protocol: str
|
|
35219
35376
|
:param _Port: 端口(all, 单个port, range)。当Protocol为ALL或ICMP时,不能指定Port。
|
|
35220
35377
|
:type Port: str
|
|
35221
|
-
:param _CidrBlock: 网段或IP(互斥)
|
|
35378
|
+
:param _CidrBlock: 网段或IP(互斥)。增量创建ACL规则时,CidrBlock和Ipv6CidrBlock至少提供一个。
|
|
35222
35379
|
:type CidrBlock: str
|
|
35223
35380
|
:param _Ipv6CidrBlock: 网段或IPv6(互斥)。
|
|
35224
35381
|
:type Ipv6CidrBlock: str
|
|
@@ -35226,22 +35383,27 @@ class NetworkAclEntry(AbstractModel):
|
|
|
35226
35383
|
:type Action: str
|
|
35227
35384
|
:param _Description: 规则描述,最大长度100。
|
|
35228
35385
|
:type Description: str
|
|
35386
|
+
:param _ModifyTime: 修改时间。
|
|
35387
|
+
:type ModifyTime: str
|
|
35388
|
+
:param _Priority: 优先级,从1开始。
|
|
35389
|
+
:type Priority: int
|
|
35390
|
+
:param _NetworkAclIpv4EntryId: IPv4网络ACL条目唯一ID。当修改ACL条目时,NetworkAclIpv4EntryId和NetworkAclIpv6EntryID至少提供一个。
|
|
35391
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
35392
|
+
:type NetworkAclIpv4EntryId: str
|
|
35393
|
+
:param _NetworkAclIpv6EntryId: IPv6网络ACL条目唯一ID。当修改ACL条目时,NetworkAclIpv4EntryId和NetworkAclIpv6EntryId至少提供一个。
|
|
35394
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
35395
|
+
:type NetworkAclIpv6EntryId: str
|
|
35229
35396
|
"""
|
|
35230
|
-
self._ModifyTime = None
|
|
35231
35397
|
self._Protocol = None
|
|
35232
35398
|
self._Port = None
|
|
35233
35399
|
self._CidrBlock = None
|
|
35234
35400
|
self._Ipv6CidrBlock = None
|
|
35235
35401
|
self._Action = None
|
|
35236
35402
|
self._Description = None
|
|
35237
|
-
|
|
35238
|
-
|
|
35239
|
-
|
|
35240
|
-
|
|
35241
|
-
|
|
35242
|
-
@ModifyTime.setter
|
|
35243
|
-
def ModifyTime(self, ModifyTime):
|
|
35244
|
-
self._ModifyTime = ModifyTime
|
|
35403
|
+
self._ModifyTime = None
|
|
35404
|
+
self._Priority = None
|
|
35405
|
+
self._NetworkAclIpv4EntryId = None
|
|
35406
|
+
self._NetworkAclIpv6EntryId = None
|
|
35245
35407
|
|
|
35246
35408
|
@property
|
|
35247
35409
|
def Protocol(self):
|
|
@@ -35291,15 +35453,50 @@ class NetworkAclEntry(AbstractModel):
|
|
|
35291
35453
|
def Description(self, Description):
|
|
35292
35454
|
self._Description = Description
|
|
35293
35455
|
|
|
35456
|
+
@property
|
|
35457
|
+
def ModifyTime(self):
|
|
35458
|
+
return self._ModifyTime
|
|
35459
|
+
|
|
35460
|
+
@ModifyTime.setter
|
|
35461
|
+
def ModifyTime(self, ModifyTime):
|
|
35462
|
+
self._ModifyTime = ModifyTime
|
|
35463
|
+
|
|
35464
|
+
@property
|
|
35465
|
+
def Priority(self):
|
|
35466
|
+
return self._Priority
|
|
35467
|
+
|
|
35468
|
+
@Priority.setter
|
|
35469
|
+
def Priority(self, Priority):
|
|
35470
|
+
self._Priority = Priority
|
|
35471
|
+
|
|
35472
|
+
@property
|
|
35473
|
+
def NetworkAclIpv4EntryId(self):
|
|
35474
|
+
return self._NetworkAclIpv4EntryId
|
|
35475
|
+
|
|
35476
|
+
@NetworkAclIpv4EntryId.setter
|
|
35477
|
+
def NetworkAclIpv4EntryId(self, NetworkAclIpv4EntryId):
|
|
35478
|
+
self._NetworkAclIpv4EntryId = NetworkAclIpv4EntryId
|
|
35479
|
+
|
|
35480
|
+
@property
|
|
35481
|
+
def NetworkAclIpv6EntryId(self):
|
|
35482
|
+
return self._NetworkAclIpv6EntryId
|
|
35483
|
+
|
|
35484
|
+
@NetworkAclIpv6EntryId.setter
|
|
35485
|
+
def NetworkAclIpv6EntryId(self, NetworkAclIpv6EntryId):
|
|
35486
|
+
self._NetworkAclIpv6EntryId = NetworkAclIpv6EntryId
|
|
35487
|
+
|
|
35294
35488
|
|
|
35295
35489
|
def _deserialize(self, params):
|
|
35296
|
-
self._ModifyTime = params.get("ModifyTime")
|
|
35297
35490
|
self._Protocol = params.get("Protocol")
|
|
35298
35491
|
self._Port = params.get("Port")
|
|
35299
35492
|
self._CidrBlock = params.get("CidrBlock")
|
|
35300
35493
|
self._Ipv6CidrBlock = params.get("Ipv6CidrBlock")
|
|
35301
35494
|
self._Action = params.get("Action")
|
|
35302
35495
|
self._Description = params.get("Description")
|
|
35496
|
+
self._ModifyTime = params.get("ModifyTime")
|
|
35497
|
+
self._Priority = params.get("Priority")
|
|
35498
|
+
self._NetworkAclIpv4EntryId = params.get("NetworkAclIpv4EntryId")
|
|
35499
|
+
self._NetworkAclIpv6EntryId = params.get("NetworkAclIpv6EntryId")
|
|
35303
35500
|
memeber_set = set(params.keys())
|
|
35304
35501
|
for name, value in vars(self).items():
|
|
35305
35502
|
property_name = name[1:]
|
|
@@ -1198,6 +1198,29 @@ class VpcClient(AbstractClient):
|
|
|
1198
1198
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1199
1199
|
|
|
1200
1200
|
|
|
1201
|
+
def CreateNetworkAclEntries(self, request):
|
|
1202
|
+
"""本接口(CreateNetworkAclEntries)用于增量添加网络ACL三元组的入站规则和出站规则。
|
|
1203
|
+
|
|
1204
|
+
:param request: Request instance for CreateNetworkAclEntries.
|
|
1205
|
+
:type request: :class:`tencentcloud.vpc.v20170312.models.CreateNetworkAclEntriesRequest`
|
|
1206
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.CreateNetworkAclEntriesResponse`
|
|
1207
|
+
|
|
1208
|
+
"""
|
|
1209
|
+
try:
|
|
1210
|
+
params = request._serialize()
|
|
1211
|
+
headers = request.headers
|
|
1212
|
+
body = self.call("CreateNetworkAclEntries", params, headers=headers)
|
|
1213
|
+
response = json.loads(body)
|
|
1214
|
+
model = models.CreateNetworkAclEntriesResponse()
|
|
1215
|
+
model._deserialize(response["Response"])
|
|
1216
|
+
return model
|
|
1217
|
+
except Exception as e:
|
|
1218
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1219
|
+
raise
|
|
1220
|
+
else:
|
|
1221
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1222
|
+
|
|
1223
|
+
|
|
1201
1224
|
def CreateNetworkAclQuintupleEntries(self, request):
|
|
1202
1225
|
"""本接口(CreateNetworkAclQuintupleEntries)用于增量网络ACL五元组的入站规则和出站规则。
|
|
1203
1226
|
|
|
@@ -2209,6 +2232,31 @@ class VpcClient(AbstractClient):
|
|
|
2209
2232
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2210
2233
|
|
|
2211
2234
|
|
|
2235
|
+
def DeleteNetworkAclEntries(self, request):
|
|
2236
|
+
"""本接口(DeleteNetworkAclEntries)用于删除三元组网络ACL的入站规则和出站规则。在NetworkAclEntrySet参数中:
|
|
2237
|
+
* 删除IPv4规则,需要传入NetworkAclIpv4EntryId。
|
|
2238
|
+
* 删除IPv6规则,需要传入NetworkAclIpv6EntryId。
|
|
2239
|
+
|
|
2240
|
+
:param request: Request instance for DeleteNetworkAclEntries.
|
|
2241
|
+
:type request: :class:`tencentcloud.vpc.v20170312.models.DeleteNetworkAclEntriesRequest`
|
|
2242
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.DeleteNetworkAclEntriesResponse`
|
|
2243
|
+
|
|
2244
|
+
"""
|
|
2245
|
+
try:
|
|
2246
|
+
params = request._serialize()
|
|
2247
|
+
headers = request.headers
|
|
2248
|
+
body = self.call("DeleteNetworkAclEntries", params, headers=headers)
|
|
2249
|
+
response = json.loads(body)
|
|
2250
|
+
model = models.DeleteNetworkAclEntriesResponse()
|
|
2251
|
+
model._deserialize(response["Response"])
|
|
2252
|
+
return model
|
|
2253
|
+
except Exception as e:
|
|
2254
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2255
|
+
raise
|
|
2256
|
+
else:
|
|
2257
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2258
|
+
|
|
2259
|
+
|
|
2212
2260
|
def DeleteNetworkAclQuintupleEntries(self, request):
|
|
2213
2261
|
"""本接口(DeleteNetworkAclQuintupleEntries)用于删除网络ACL五元组指定的入站规则和出站规则(但不是全量删除该ACL下的所有条目)。在NetworkAclQuintupleEntrySet参数中:NetworkAclQuintupleEntry需要提供NetworkAclQuintupleEntryId。
|
|
2214
2262
|
|
|
@@ -77,6 +77,9 @@ INVALIDPARAMETER_LOGICERR = 'InvalidParameter.LogicErr'
|
|
|
77
77
|
# 端口信息参数错误
|
|
78
78
|
INVALIDPARAMETER_PORTPARAMETERERR = 'InvalidParameter.PortParameterErr'
|
|
79
79
|
|
|
80
|
+
# 防护域名参数错误
|
|
81
|
+
INVALIDPARAMETER_PROTECTIONDOMAINPARAMETERERR = 'InvalidParameter.ProtectionDomainParameterErr'
|
|
82
|
+
|
|
80
83
|
# 根据ID查询证书失败。
|
|
81
84
|
INVALIDPARAMETER_QUERYCERTBYSSLIDFAILED = 'InvalidParameter.QueryCertBySSLIDFailed'
|
|
82
85
|
|
|
@@ -95,6 +98,9 @@ INVALIDPARAMETER_TLSPARAMETERERR = 'InvalidParameter.TLSParameterErr'
|
|
|
95
98
|
# 数据类型错误:SQL检索语句中的数据类型必须与数据库中的数据类型匹配,否则会导致错误。例如,将字符串与整数进行比较、将日期格式不正确等。
|
|
96
99
|
INVALIDPARAMETER_TYPEMISMATCH = 'InvalidParameter.TypeMismatch'
|
|
97
100
|
|
|
101
|
+
# 越权参数错误
|
|
102
|
+
INVALIDPARAMETER_UNAUTHORIZEDOPERATIONPARAMETERERR = 'InvalidParameter.UnauthorizedOperationParameterErr'
|
|
103
|
+
|
|
98
104
|
# UnknownAction
|
|
99
105
|
INVALIDPARAMETER_UNKNOWNACTION = 'InvalidParameter.UnknownAction'
|
|
100
106
|
|