tencentcloud-sdk-python 3.0.1179__py2.py3-none-any.whl → 3.0.1181__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/csip/v20221121/errorcodes.py +15 -0
- tencentcloud/csip/v20221121/models.py +9 -9
- tencentcloud/cynosdb/v20190107/models.py +53 -14
- tencentcloud/dcdb/v20180411/models.py +12 -0
- tencentcloud/dts/v20211206/models.py +13 -0
- tencentcloud/emr/v20190103/models.py +2 -10
- tencentcloud/ess/v20201111/models.py +32 -4
- tencentcloud/essbasic/v20210526/models.py +1 -1
- tencentcloud/gaap/v20180529/errorcodes.py +6 -0
- tencentcloud/gaap/v20180529/gaap_client.py +23 -0
- tencentcloud/gaap/v20180529/models.py +82 -0
- tencentcloud/ims/v20201229/ims_client.py +2 -0
- tencentcloud/ims/v20201229/models.py +1 -1
- tencentcloud/mariadb/v20170312/models.py +12 -0
- tencentcloud/monitor/v20180724/models.py +12 -0
- tencentcloud/ocr/v20181119/models.py +61 -0
- tencentcloud/ocr/v20181119/ocr_client.py +2 -0
- tencentcloud/organization/v20210331/organization_client.py +1 -1
- tencentcloud/scf/v20180416/scf_client.py +1 -1
- tencentcloud/ssl/v20191205/models.py +75 -0
- tencentcloud/tdmq/v20200217/models.py +25 -0
- tencentcloud/teo/v20220901/errorcodes.py +15 -0
- tencentcloud/teo/v20220901/models.py +91 -8
- tencentcloud/vpc/v20170312/errorcodes.py +24 -0
- tencentcloud/vpc/v20170312/models.py +3219 -261
- tencentcloud/vpc/v20170312/vpc_client.py +414 -0
- tencentcloud/waf/v20180125/models.py +0 -74
- tencentcloud/waf/v20180125/waf_client.py +0 -23
- tencentcloud/wedata/v20210820/models.py +572 -0
- tencentcloud/wedata/v20210820/wedata_client.py +46 -0
- {tencentcloud_sdk_python-3.0.1179.dist-info → tencentcloud_sdk_python-3.0.1181.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1179.dist-info → tencentcloud_sdk_python-3.0.1181.dist-info}/RECORD +36 -36
- {tencentcloud_sdk_python-3.0.1179.dist-info → tencentcloud_sdk_python-3.0.1181.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1179.dist-info → tencentcloud_sdk_python-3.0.1181.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1179.dist-info → tencentcloud_sdk_python-3.0.1181.dist-info}/top_level.txt +0 -0
@@ -8457,6 +8457,455 @@ class CreateNetworkInterfaceResponse(AbstractModel):
|
|
8457
8457
|
self._RequestId = params.get("RequestId")
|
8458
8458
|
|
8459
8459
|
|
8460
|
+
class CreatePrivateNatGatewayDestinationIpPortTranslationNatRuleRequest(AbstractModel):
|
8461
|
+
"""CreatePrivateNatGatewayDestinationIpPortTranslationNatRule请求参数结构体
|
8462
|
+
|
8463
|
+
"""
|
8464
|
+
|
8465
|
+
def __init__(self):
|
8466
|
+
r"""
|
8467
|
+
:param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
8468
|
+
:type NatGatewayId: str
|
8469
|
+
:param _LocalDestinationIpPortTranslationNatRules: 目的端口转换规则列表。
|
8470
|
+
:type LocalDestinationIpPortTranslationNatRules: list of LocalDestinationIpPortTranslationNatRule
|
8471
|
+
"""
|
8472
|
+
self._NatGatewayId = None
|
8473
|
+
self._LocalDestinationIpPortTranslationNatRules = None
|
8474
|
+
|
8475
|
+
@property
|
8476
|
+
def NatGatewayId(self):
|
8477
|
+
return self._NatGatewayId
|
8478
|
+
|
8479
|
+
@NatGatewayId.setter
|
8480
|
+
def NatGatewayId(self, NatGatewayId):
|
8481
|
+
self._NatGatewayId = NatGatewayId
|
8482
|
+
|
8483
|
+
@property
|
8484
|
+
def LocalDestinationIpPortTranslationNatRules(self):
|
8485
|
+
return self._LocalDestinationIpPortTranslationNatRules
|
8486
|
+
|
8487
|
+
@LocalDestinationIpPortTranslationNatRules.setter
|
8488
|
+
def LocalDestinationIpPortTranslationNatRules(self, LocalDestinationIpPortTranslationNatRules):
|
8489
|
+
self._LocalDestinationIpPortTranslationNatRules = LocalDestinationIpPortTranslationNatRules
|
8490
|
+
|
8491
|
+
|
8492
|
+
def _deserialize(self, params):
|
8493
|
+
self._NatGatewayId = params.get("NatGatewayId")
|
8494
|
+
if params.get("LocalDestinationIpPortTranslationNatRules") is not None:
|
8495
|
+
self._LocalDestinationIpPortTranslationNatRules = []
|
8496
|
+
for item in params.get("LocalDestinationIpPortTranslationNatRules"):
|
8497
|
+
obj = LocalDestinationIpPortTranslationNatRule()
|
8498
|
+
obj._deserialize(item)
|
8499
|
+
self._LocalDestinationIpPortTranslationNatRules.append(obj)
|
8500
|
+
memeber_set = set(params.keys())
|
8501
|
+
for name, value in vars(self).items():
|
8502
|
+
property_name = name[1:]
|
8503
|
+
if property_name in memeber_set:
|
8504
|
+
memeber_set.remove(property_name)
|
8505
|
+
if len(memeber_set) > 0:
|
8506
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
8507
|
+
|
8508
|
+
|
8509
|
+
|
8510
|
+
class CreatePrivateNatGatewayDestinationIpPortTranslationNatRuleResponse(AbstractModel):
|
8511
|
+
"""CreatePrivateNatGatewayDestinationIpPortTranslationNatRule返回参数结构体
|
8512
|
+
|
8513
|
+
"""
|
8514
|
+
|
8515
|
+
def __init__(self):
|
8516
|
+
r"""
|
8517
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8518
|
+
:type RequestId: str
|
8519
|
+
"""
|
8520
|
+
self._RequestId = None
|
8521
|
+
|
8522
|
+
@property
|
8523
|
+
def RequestId(self):
|
8524
|
+
return self._RequestId
|
8525
|
+
|
8526
|
+
@RequestId.setter
|
8527
|
+
def RequestId(self, RequestId):
|
8528
|
+
self._RequestId = RequestId
|
8529
|
+
|
8530
|
+
|
8531
|
+
def _deserialize(self, params):
|
8532
|
+
self._RequestId = params.get("RequestId")
|
8533
|
+
|
8534
|
+
|
8535
|
+
class CreatePrivateNatGatewayRequest(AbstractModel):
|
8536
|
+
"""CreatePrivateNatGateway请求参数结构体
|
8537
|
+
|
8538
|
+
"""
|
8539
|
+
|
8540
|
+
def __init__(self):
|
8541
|
+
r"""
|
8542
|
+
:param _NatGatewayName: 私网网关名称
|
8543
|
+
:type NatGatewayName: str
|
8544
|
+
:param _VpcId: 私有网络实例ID。当创建VPC类型私网NAT网关或者专线网关类型私网NAT网关时,此参数必填。
|
8545
|
+
:type VpcId: str
|
8546
|
+
:param _CrossDomain: 跨域参数。仅当取值为True时,才会支持跨域绑定VPC。
|
8547
|
+
:type CrossDomain: bool
|
8548
|
+
:param _Tags: 实例标签
|
8549
|
+
:type Tags: list of Tag
|
8550
|
+
:param _VpcType: VPC类型私网NAT网关。仅当取值为True时,才会创建VPC类型私网NAT网关。
|
8551
|
+
:type VpcType: bool
|
8552
|
+
:param _CcnId: 云联网类型私网NAT网关需要绑定的云联网实例ID。
|
8553
|
+
:type CcnId: str
|
8554
|
+
"""
|
8555
|
+
self._NatGatewayName = None
|
8556
|
+
self._VpcId = None
|
8557
|
+
self._CrossDomain = None
|
8558
|
+
self._Tags = None
|
8559
|
+
self._VpcType = None
|
8560
|
+
self._CcnId = None
|
8561
|
+
|
8562
|
+
@property
|
8563
|
+
def NatGatewayName(self):
|
8564
|
+
return self._NatGatewayName
|
8565
|
+
|
8566
|
+
@NatGatewayName.setter
|
8567
|
+
def NatGatewayName(self, NatGatewayName):
|
8568
|
+
self._NatGatewayName = NatGatewayName
|
8569
|
+
|
8570
|
+
@property
|
8571
|
+
def VpcId(self):
|
8572
|
+
return self._VpcId
|
8573
|
+
|
8574
|
+
@VpcId.setter
|
8575
|
+
def VpcId(self, VpcId):
|
8576
|
+
self._VpcId = VpcId
|
8577
|
+
|
8578
|
+
@property
|
8579
|
+
def CrossDomain(self):
|
8580
|
+
return self._CrossDomain
|
8581
|
+
|
8582
|
+
@CrossDomain.setter
|
8583
|
+
def CrossDomain(self, CrossDomain):
|
8584
|
+
self._CrossDomain = CrossDomain
|
8585
|
+
|
8586
|
+
@property
|
8587
|
+
def Tags(self):
|
8588
|
+
return self._Tags
|
8589
|
+
|
8590
|
+
@Tags.setter
|
8591
|
+
def Tags(self, Tags):
|
8592
|
+
self._Tags = Tags
|
8593
|
+
|
8594
|
+
@property
|
8595
|
+
def VpcType(self):
|
8596
|
+
return self._VpcType
|
8597
|
+
|
8598
|
+
@VpcType.setter
|
8599
|
+
def VpcType(self, VpcType):
|
8600
|
+
self._VpcType = VpcType
|
8601
|
+
|
8602
|
+
@property
|
8603
|
+
def CcnId(self):
|
8604
|
+
return self._CcnId
|
8605
|
+
|
8606
|
+
@CcnId.setter
|
8607
|
+
def CcnId(self, CcnId):
|
8608
|
+
self._CcnId = CcnId
|
8609
|
+
|
8610
|
+
|
8611
|
+
def _deserialize(self, params):
|
8612
|
+
self._NatGatewayName = params.get("NatGatewayName")
|
8613
|
+
self._VpcId = params.get("VpcId")
|
8614
|
+
self._CrossDomain = params.get("CrossDomain")
|
8615
|
+
if params.get("Tags") is not None:
|
8616
|
+
self._Tags = []
|
8617
|
+
for item in params.get("Tags"):
|
8618
|
+
obj = Tag()
|
8619
|
+
obj._deserialize(item)
|
8620
|
+
self._Tags.append(obj)
|
8621
|
+
self._VpcType = params.get("VpcType")
|
8622
|
+
self._CcnId = params.get("CcnId")
|
8623
|
+
memeber_set = set(params.keys())
|
8624
|
+
for name, value in vars(self).items():
|
8625
|
+
property_name = name[1:]
|
8626
|
+
if property_name in memeber_set:
|
8627
|
+
memeber_set.remove(property_name)
|
8628
|
+
if len(memeber_set) > 0:
|
8629
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
8630
|
+
|
8631
|
+
|
8632
|
+
|
8633
|
+
class CreatePrivateNatGatewayResponse(AbstractModel):
|
8634
|
+
"""CreatePrivateNatGateway返回参数结构体
|
8635
|
+
|
8636
|
+
"""
|
8637
|
+
|
8638
|
+
def __init__(self):
|
8639
|
+
r"""
|
8640
|
+
:param _PrivateNatGatewaySet: 私网网关对象。
|
8641
|
+
:type PrivateNatGatewaySet: list of PrivateNatGateway
|
8642
|
+
:param _TotalCount: 创建实例个数
|
8643
|
+
:type TotalCount: int
|
8644
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8645
|
+
:type RequestId: str
|
8646
|
+
"""
|
8647
|
+
self._PrivateNatGatewaySet = None
|
8648
|
+
self._TotalCount = None
|
8649
|
+
self._RequestId = None
|
8650
|
+
|
8651
|
+
@property
|
8652
|
+
def PrivateNatGatewaySet(self):
|
8653
|
+
return self._PrivateNatGatewaySet
|
8654
|
+
|
8655
|
+
@PrivateNatGatewaySet.setter
|
8656
|
+
def PrivateNatGatewaySet(self, PrivateNatGatewaySet):
|
8657
|
+
self._PrivateNatGatewaySet = PrivateNatGatewaySet
|
8658
|
+
|
8659
|
+
@property
|
8660
|
+
def TotalCount(self):
|
8661
|
+
return self._TotalCount
|
8662
|
+
|
8663
|
+
@TotalCount.setter
|
8664
|
+
def TotalCount(self, TotalCount):
|
8665
|
+
self._TotalCount = TotalCount
|
8666
|
+
|
8667
|
+
@property
|
8668
|
+
def RequestId(self):
|
8669
|
+
return self._RequestId
|
8670
|
+
|
8671
|
+
@RequestId.setter
|
8672
|
+
def RequestId(self, RequestId):
|
8673
|
+
self._RequestId = RequestId
|
8674
|
+
|
8675
|
+
|
8676
|
+
def _deserialize(self, params):
|
8677
|
+
if params.get("PrivateNatGatewaySet") is not None:
|
8678
|
+
self._PrivateNatGatewaySet = []
|
8679
|
+
for item in params.get("PrivateNatGatewaySet"):
|
8680
|
+
obj = PrivateNatGateway()
|
8681
|
+
obj._deserialize(item)
|
8682
|
+
self._PrivateNatGatewaySet.append(obj)
|
8683
|
+
self._TotalCount = params.get("TotalCount")
|
8684
|
+
self._RequestId = params.get("RequestId")
|
8685
|
+
|
8686
|
+
|
8687
|
+
class CreatePrivateNatGatewayTranslationAclRuleRequest(AbstractModel):
|
8688
|
+
"""CreatePrivateNatGatewayTranslationAclRule请求参数结构体
|
8689
|
+
|
8690
|
+
"""
|
8691
|
+
|
8692
|
+
def __init__(self):
|
8693
|
+
r"""
|
8694
|
+
:param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
8695
|
+
:type NatGatewayId: str
|
8696
|
+
:param _TranslationDirection: 转换规则目标,可选值"LOCAL"。
|
8697
|
+
:type TranslationDirection: str
|
8698
|
+
:param _TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
|
8699
|
+
:type TranslationType: str
|
8700
|
+
:param _TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池。
|
8701
|
+
:type TranslationIp: str
|
8702
|
+
:param _TranslationAclRules: 访问控制列表。
|
8703
|
+
:type TranslationAclRules: list of TranslationAclRule
|
8704
|
+
:param _OriginalIp: 源`IP`,当转换规则类型为三层时有效。
|
8705
|
+
:type OriginalIp: str
|
8706
|
+
"""
|
8707
|
+
self._NatGatewayId = None
|
8708
|
+
self._TranslationDirection = None
|
8709
|
+
self._TranslationType = None
|
8710
|
+
self._TranslationIp = None
|
8711
|
+
self._TranslationAclRules = None
|
8712
|
+
self._OriginalIp = None
|
8713
|
+
|
8714
|
+
@property
|
8715
|
+
def NatGatewayId(self):
|
8716
|
+
return self._NatGatewayId
|
8717
|
+
|
8718
|
+
@NatGatewayId.setter
|
8719
|
+
def NatGatewayId(self, NatGatewayId):
|
8720
|
+
self._NatGatewayId = NatGatewayId
|
8721
|
+
|
8722
|
+
@property
|
8723
|
+
def TranslationDirection(self):
|
8724
|
+
return self._TranslationDirection
|
8725
|
+
|
8726
|
+
@TranslationDirection.setter
|
8727
|
+
def TranslationDirection(self, TranslationDirection):
|
8728
|
+
self._TranslationDirection = TranslationDirection
|
8729
|
+
|
8730
|
+
@property
|
8731
|
+
def TranslationType(self):
|
8732
|
+
return self._TranslationType
|
8733
|
+
|
8734
|
+
@TranslationType.setter
|
8735
|
+
def TranslationType(self, TranslationType):
|
8736
|
+
self._TranslationType = TranslationType
|
8737
|
+
|
8738
|
+
@property
|
8739
|
+
def TranslationIp(self):
|
8740
|
+
return self._TranslationIp
|
8741
|
+
|
8742
|
+
@TranslationIp.setter
|
8743
|
+
def TranslationIp(self, TranslationIp):
|
8744
|
+
self._TranslationIp = TranslationIp
|
8745
|
+
|
8746
|
+
@property
|
8747
|
+
def TranslationAclRules(self):
|
8748
|
+
return self._TranslationAclRules
|
8749
|
+
|
8750
|
+
@TranslationAclRules.setter
|
8751
|
+
def TranslationAclRules(self, TranslationAclRules):
|
8752
|
+
self._TranslationAclRules = TranslationAclRules
|
8753
|
+
|
8754
|
+
@property
|
8755
|
+
def OriginalIp(self):
|
8756
|
+
return self._OriginalIp
|
8757
|
+
|
8758
|
+
@OriginalIp.setter
|
8759
|
+
def OriginalIp(self, OriginalIp):
|
8760
|
+
self._OriginalIp = OriginalIp
|
8761
|
+
|
8762
|
+
|
8763
|
+
def _deserialize(self, params):
|
8764
|
+
self._NatGatewayId = params.get("NatGatewayId")
|
8765
|
+
self._TranslationDirection = params.get("TranslationDirection")
|
8766
|
+
self._TranslationType = params.get("TranslationType")
|
8767
|
+
self._TranslationIp = params.get("TranslationIp")
|
8768
|
+
if params.get("TranslationAclRules") is not None:
|
8769
|
+
self._TranslationAclRules = []
|
8770
|
+
for item in params.get("TranslationAclRules"):
|
8771
|
+
obj = TranslationAclRule()
|
8772
|
+
obj._deserialize(item)
|
8773
|
+
self._TranslationAclRules.append(obj)
|
8774
|
+
self._OriginalIp = params.get("OriginalIp")
|
8775
|
+
memeber_set = set(params.keys())
|
8776
|
+
for name, value in vars(self).items():
|
8777
|
+
property_name = name[1:]
|
8778
|
+
if property_name in memeber_set:
|
8779
|
+
memeber_set.remove(property_name)
|
8780
|
+
if len(memeber_set) > 0:
|
8781
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
8782
|
+
|
8783
|
+
|
8784
|
+
|
8785
|
+
class CreatePrivateNatGatewayTranslationAclRuleResponse(AbstractModel):
|
8786
|
+
"""CreatePrivateNatGatewayTranslationAclRule返回参数结构体
|
8787
|
+
|
8788
|
+
"""
|
8789
|
+
|
8790
|
+
def __init__(self):
|
8791
|
+
r"""
|
8792
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8793
|
+
:type RequestId: str
|
8794
|
+
"""
|
8795
|
+
self._RequestId = None
|
8796
|
+
|
8797
|
+
@property
|
8798
|
+
def RequestId(self):
|
8799
|
+
return self._RequestId
|
8800
|
+
|
8801
|
+
@RequestId.setter
|
8802
|
+
def RequestId(self, RequestId):
|
8803
|
+
self._RequestId = RequestId
|
8804
|
+
|
8805
|
+
|
8806
|
+
def _deserialize(self, params):
|
8807
|
+
self._RequestId = params.get("RequestId")
|
8808
|
+
|
8809
|
+
|
8810
|
+
class CreatePrivateNatGatewayTranslationNatRuleRequest(AbstractModel):
|
8811
|
+
"""CreatePrivateNatGatewayTranslationNatRule请求参数结构体
|
8812
|
+
|
8813
|
+
"""
|
8814
|
+
|
8815
|
+
def __init__(self):
|
8816
|
+
r"""
|
8817
|
+
:param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
8818
|
+
:type NatGatewayId: str
|
8819
|
+
:param _TranslationNatRules: 转换规则对象数组。
|
8820
|
+
:type TranslationNatRules: list of TranslationNatRuleInput
|
8821
|
+
:param _CrossDomain: 跨域参数,当VPC为跨域时填写为True。
|
8822
|
+
:type CrossDomain: bool
|
8823
|
+
"""
|
8824
|
+
self._NatGatewayId = None
|
8825
|
+
self._TranslationNatRules = None
|
8826
|
+
self._CrossDomain = None
|
8827
|
+
|
8828
|
+
@property
|
8829
|
+
def NatGatewayId(self):
|
8830
|
+
return self._NatGatewayId
|
8831
|
+
|
8832
|
+
@NatGatewayId.setter
|
8833
|
+
def NatGatewayId(self, NatGatewayId):
|
8834
|
+
self._NatGatewayId = NatGatewayId
|
8835
|
+
|
8836
|
+
@property
|
8837
|
+
def TranslationNatRules(self):
|
8838
|
+
return self._TranslationNatRules
|
8839
|
+
|
8840
|
+
@TranslationNatRules.setter
|
8841
|
+
def TranslationNatRules(self, TranslationNatRules):
|
8842
|
+
self._TranslationNatRules = TranslationNatRules
|
8843
|
+
|
8844
|
+
@property
|
8845
|
+
def CrossDomain(self):
|
8846
|
+
return self._CrossDomain
|
8847
|
+
|
8848
|
+
@CrossDomain.setter
|
8849
|
+
def CrossDomain(self, CrossDomain):
|
8850
|
+
self._CrossDomain = CrossDomain
|
8851
|
+
|
8852
|
+
|
8853
|
+
def _deserialize(self, params):
|
8854
|
+
self._NatGatewayId = params.get("NatGatewayId")
|
8855
|
+
if params.get("TranslationNatRules") is not None:
|
8856
|
+
self._TranslationNatRules = []
|
8857
|
+
for item in params.get("TranslationNatRules"):
|
8858
|
+
obj = TranslationNatRuleInput()
|
8859
|
+
obj._deserialize(item)
|
8860
|
+
self._TranslationNatRules.append(obj)
|
8861
|
+
self._CrossDomain = params.get("CrossDomain")
|
8862
|
+
memeber_set = set(params.keys())
|
8863
|
+
for name, value in vars(self).items():
|
8864
|
+
property_name = name[1:]
|
8865
|
+
if property_name in memeber_set:
|
8866
|
+
memeber_set.remove(property_name)
|
8867
|
+
if len(memeber_set) > 0:
|
8868
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
8869
|
+
|
8870
|
+
|
8871
|
+
|
8872
|
+
class CreatePrivateNatGatewayTranslationNatRuleResponse(AbstractModel):
|
8873
|
+
"""CreatePrivateNatGatewayTranslationNatRule返回参数结构体
|
8874
|
+
|
8875
|
+
"""
|
8876
|
+
|
8877
|
+
def __init__(self):
|
8878
|
+
r"""
|
8879
|
+
:param _NatGatewayId: 私网网关唯一`ID`。
|
8880
|
+
:type NatGatewayId: str
|
8881
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8882
|
+
:type RequestId: str
|
8883
|
+
"""
|
8884
|
+
self._NatGatewayId = None
|
8885
|
+
self._RequestId = None
|
8886
|
+
|
8887
|
+
@property
|
8888
|
+
def NatGatewayId(self):
|
8889
|
+
return self._NatGatewayId
|
8890
|
+
|
8891
|
+
@NatGatewayId.setter
|
8892
|
+
def NatGatewayId(self, NatGatewayId):
|
8893
|
+
self._NatGatewayId = NatGatewayId
|
8894
|
+
|
8895
|
+
@property
|
8896
|
+
def RequestId(self):
|
8897
|
+
return self._RequestId
|
8898
|
+
|
8899
|
+
@RequestId.setter
|
8900
|
+
def RequestId(self, RequestId):
|
8901
|
+
self._RequestId = RequestId
|
8902
|
+
|
8903
|
+
|
8904
|
+
def _deserialize(self, params):
|
8905
|
+
self._NatGatewayId = params.get("NatGatewayId")
|
8906
|
+
self._RequestId = params.get("RequestId")
|
8907
|
+
|
8908
|
+
|
8460
8909
|
class CreateRouteTableRequest(AbstractModel):
|
8461
8910
|
"""CreateRouteTable请求参数结构体
|
8462
8911
|
|
@@ -10317,6 +10766,8 @@ CCN VPN 形的通道 可以不传VPCID
|
|
10317
10766
|
:type Route: :class:`tencentcloud.vpc.v20170312.models.CreateVpnConnRoute`
|
10318
10767
|
:param _BgpConfig: BGP配置。
|
10319
10768
|
:type BgpConfig: :class:`tencentcloud.vpc.v20170312.models.BgpConfig`
|
10769
|
+
:param _HealthCheckConfig: 健康检查NQA配置。
|
10770
|
+
:type HealthCheckConfig: :class:`tencentcloud.vpc.v20170312.models.HealthCheckConfig`
|
10320
10771
|
"""
|
10321
10772
|
self._VpnGatewayId = None
|
10322
10773
|
self._CustomerGatewayId = None
|
@@ -10337,6 +10788,7 @@ CCN VPN 形的通道 可以不传VPCID
|
|
10337
10788
|
self._DpdAction = None
|
10338
10789
|
self._Route = None
|
10339
10790
|
self._BgpConfig = None
|
10791
|
+
self._HealthCheckConfig = None
|
10340
10792
|
|
10341
10793
|
@property
|
10342
10794
|
def VpnGatewayId(self):
|
@@ -10490,6 +10942,14 @@ CCN VPN 形的通道 可以不传VPCID
|
|
10490
10942
|
def BgpConfig(self, BgpConfig):
|
10491
10943
|
self._BgpConfig = BgpConfig
|
10492
10944
|
|
10945
|
+
@property
|
10946
|
+
def HealthCheckConfig(self):
|
10947
|
+
return self._HealthCheckConfig
|
10948
|
+
|
10949
|
+
@HealthCheckConfig.setter
|
10950
|
+
def HealthCheckConfig(self, HealthCheckConfig):
|
10951
|
+
self._HealthCheckConfig = HealthCheckConfig
|
10952
|
+
|
10493
10953
|
|
10494
10954
|
def _deserialize(self, params):
|
10495
10955
|
self._VpnGatewayId = params.get("VpnGatewayId")
|
@@ -10529,6 +10989,9 @@ CCN VPN 形的通道 可以不传VPCID
|
|
10529
10989
|
if params.get("BgpConfig") is not None:
|
10530
10990
|
self._BgpConfig = BgpConfig()
|
10531
10991
|
self._BgpConfig._deserialize(params.get("BgpConfig"))
|
10992
|
+
if params.get("HealthCheckConfig") is not None:
|
10993
|
+
self._HealthCheckConfig = HealthCheckConfig()
|
10994
|
+
self._HealthCheckConfig._deserialize(params.get("HealthCheckConfig"))
|
10532
10995
|
memeber_set = set(params.keys())
|
10533
10996
|
for name, value in vars(self).items():
|
10534
10997
|
property_name = name[1:]
|
@@ -13250,104 +13713,46 @@ class DeleteNetworkInterfaceResponse(AbstractModel):
|
|
13250
13713
|
self._RequestId = params.get("RequestId")
|
13251
13714
|
|
13252
13715
|
|
13253
|
-
class
|
13254
|
-
"""
|
13255
|
-
|
13256
|
-
"""
|
13257
|
-
|
13258
|
-
def __init__(self):
|
13259
|
-
r"""
|
13260
|
-
:param _RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
|
13261
|
-
:type RouteTableId: str
|
13262
|
-
"""
|
13263
|
-
self._RouteTableId = None
|
13264
|
-
|
13265
|
-
@property
|
13266
|
-
def RouteTableId(self):
|
13267
|
-
return self._RouteTableId
|
13268
|
-
|
13269
|
-
@RouteTableId.setter
|
13270
|
-
def RouteTableId(self, RouteTableId):
|
13271
|
-
self._RouteTableId = RouteTableId
|
13272
|
-
|
13273
|
-
|
13274
|
-
def _deserialize(self, params):
|
13275
|
-
self._RouteTableId = params.get("RouteTableId")
|
13276
|
-
memeber_set = set(params.keys())
|
13277
|
-
for name, value in vars(self).items():
|
13278
|
-
property_name = name[1:]
|
13279
|
-
if property_name in memeber_set:
|
13280
|
-
memeber_set.remove(property_name)
|
13281
|
-
if len(memeber_set) > 0:
|
13282
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
13283
|
-
|
13284
|
-
|
13285
|
-
|
13286
|
-
class DeleteRouteTableResponse(AbstractModel):
|
13287
|
-
"""DeleteRouteTable返回参数结构体
|
13288
|
-
|
13289
|
-
"""
|
13290
|
-
|
13291
|
-
def __init__(self):
|
13292
|
-
r"""
|
13293
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13294
|
-
:type RequestId: str
|
13295
|
-
"""
|
13296
|
-
self._RequestId = None
|
13297
|
-
|
13298
|
-
@property
|
13299
|
-
def RequestId(self):
|
13300
|
-
return self._RequestId
|
13301
|
-
|
13302
|
-
@RequestId.setter
|
13303
|
-
def RequestId(self, RequestId):
|
13304
|
-
self._RequestId = RequestId
|
13305
|
-
|
13306
|
-
|
13307
|
-
def _deserialize(self, params):
|
13308
|
-
self._RequestId = params.get("RequestId")
|
13309
|
-
|
13310
|
-
|
13311
|
-
class DeleteRoutesRequest(AbstractModel):
|
13312
|
-
"""DeleteRoutes请求参数结构体
|
13716
|
+
class DeletePrivateNatGatewayDestinationIpPortTranslationNatRuleRequest(AbstractModel):
|
13717
|
+
"""DeletePrivateNatGatewayDestinationIpPortTranslationNatRule请求参数结构体
|
13313
13718
|
|
13314
13719
|
"""
|
13315
13720
|
|
13316
13721
|
def __init__(self):
|
13317
13722
|
r"""
|
13318
|
-
:param
|
13319
|
-
:type
|
13320
|
-
:param
|
13321
|
-
:type
|
13723
|
+
:param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
13724
|
+
:type NatGatewayId: str
|
13725
|
+
:param _LocalDestinationIpPortTranslationNatRules: 目的端口转换规则数组。
|
13726
|
+
:type LocalDestinationIpPortTranslationNatRules: list of LocalDestinationIpPortTranslationNatRule
|
13322
13727
|
"""
|
13323
|
-
self.
|
13324
|
-
self.
|
13728
|
+
self._NatGatewayId = None
|
13729
|
+
self._LocalDestinationIpPortTranslationNatRules = None
|
13325
13730
|
|
13326
13731
|
@property
|
13327
|
-
def
|
13328
|
-
return self.
|
13732
|
+
def NatGatewayId(self):
|
13733
|
+
return self._NatGatewayId
|
13329
13734
|
|
13330
|
-
@
|
13331
|
-
def
|
13332
|
-
self.
|
13735
|
+
@NatGatewayId.setter
|
13736
|
+
def NatGatewayId(self, NatGatewayId):
|
13737
|
+
self._NatGatewayId = NatGatewayId
|
13333
13738
|
|
13334
13739
|
@property
|
13335
|
-
def
|
13336
|
-
return self.
|
13740
|
+
def LocalDestinationIpPortTranslationNatRules(self):
|
13741
|
+
return self._LocalDestinationIpPortTranslationNatRules
|
13337
13742
|
|
13338
|
-
@
|
13339
|
-
def
|
13340
|
-
self.
|
13743
|
+
@LocalDestinationIpPortTranslationNatRules.setter
|
13744
|
+
def LocalDestinationIpPortTranslationNatRules(self, LocalDestinationIpPortTranslationNatRules):
|
13745
|
+
self._LocalDestinationIpPortTranslationNatRules = LocalDestinationIpPortTranslationNatRules
|
13341
13746
|
|
13342
13747
|
|
13343
13748
|
def _deserialize(self, params):
|
13344
|
-
self.
|
13345
|
-
if params.get("
|
13346
|
-
self.
|
13347
|
-
for item in params.get("
|
13348
|
-
obj =
|
13749
|
+
self._NatGatewayId = params.get("NatGatewayId")
|
13750
|
+
if params.get("LocalDestinationIpPortTranslationNatRules") is not None:
|
13751
|
+
self._LocalDestinationIpPortTranslationNatRules = []
|
13752
|
+
for item in params.get("LocalDestinationIpPortTranslationNatRules"):
|
13753
|
+
obj = LocalDestinationIpPortTranslationNatRule()
|
13349
13754
|
obj._deserialize(item)
|
13350
|
-
self.
|
13755
|
+
self._LocalDestinationIpPortTranslationNatRules.append(obj)
|
13351
13756
|
memeber_set = set(params.keys())
|
13352
13757
|
for name, value in vars(self).items():
|
13353
13758
|
property_name = name[1:]
|
@@ -13358,29 +13763,18 @@ class DeleteRoutesRequest(AbstractModel):
|
|
13358
13763
|
|
13359
13764
|
|
13360
13765
|
|
13361
|
-
class
|
13362
|
-
"""
|
13766
|
+
class DeletePrivateNatGatewayDestinationIpPortTranslationNatRuleResponse(AbstractModel):
|
13767
|
+
"""DeletePrivateNatGatewayDestinationIpPortTranslationNatRule返回参数结构体
|
13363
13768
|
|
13364
13769
|
"""
|
13365
13770
|
|
13366
13771
|
def __init__(self):
|
13367
13772
|
r"""
|
13368
|
-
:param _RouteSet: 已删除的路由策略详情。
|
13369
|
-
:type RouteSet: list of Route
|
13370
13773
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13371
13774
|
:type RequestId: str
|
13372
13775
|
"""
|
13373
|
-
self._RouteSet = None
|
13374
13776
|
self._RequestId = None
|
13375
13777
|
|
13376
|
-
@property
|
13377
|
-
def RouteSet(self):
|
13378
|
-
return self._RouteSet
|
13379
|
-
|
13380
|
-
@RouteSet.setter
|
13381
|
-
def RouteSet(self, RouteSet):
|
13382
|
-
self._RouteSet = RouteSet
|
13383
|
-
|
13384
13778
|
@property
|
13385
13779
|
def RequestId(self):
|
13386
13780
|
return self._RequestId
|
@@ -13391,52 +13785,32 @@ class DeleteRoutesResponse(AbstractModel):
|
|
13391
13785
|
|
13392
13786
|
|
13393
13787
|
def _deserialize(self, params):
|
13394
|
-
if params.get("RouteSet") is not None:
|
13395
|
-
self._RouteSet = []
|
13396
|
-
for item in params.get("RouteSet"):
|
13397
|
-
obj = Route()
|
13398
|
-
obj._deserialize(item)
|
13399
|
-
self._RouteSet.append(obj)
|
13400
13788
|
self._RequestId = params.get("RequestId")
|
13401
13789
|
|
13402
13790
|
|
13403
|
-
class
|
13404
|
-
"""
|
13791
|
+
class DeletePrivateNatGatewayRequest(AbstractModel):
|
13792
|
+
"""DeletePrivateNatGateway请求参数结构体
|
13405
13793
|
|
13406
13794
|
"""
|
13407
13795
|
|
13408
13796
|
def __init__(self):
|
13409
13797
|
r"""
|
13410
|
-
:param
|
13411
|
-
:type
|
13412
|
-
:param _SecurityGroupPolicySet: 安全组规则集合。一个请求中只能删除单个方向的一条或多条规则。支持指定索引(PolicyIndex) 匹配删除和安全组规则匹配删除两种方式,一个请求中只能使用一种匹配方式。
|
13413
|
-
:type SecurityGroupPolicySet: :class:`tencentcloud.vpc.v20170312.models.SecurityGroupPolicySet`
|
13798
|
+
:param _NatGatewayId: 私网网关唯一`ID`,形如"intranat-xxxxxxxx"。
|
13799
|
+
:type NatGatewayId: str
|
13414
13800
|
"""
|
13415
|
-
self.
|
13416
|
-
self._SecurityGroupPolicySet = None
|
13417
|
-
|
13418
|
-
@property
|
13419
|
-
def SecurityGroupId(self):
|
13420
|
-
return self._SecurityGroupId
|
13421
|
-
|
13422
|
-
@SecurityGroupId.setter
|
13423
|
-
def SecurityGroupId(self, SecurityGroupId):
|
13424
|
-
self._SecurityGroupId = SecurityGroupId
|
13801
|
+
self._NatGatewayId = None
|
13425
13802
|
|
13426
13803
|
@property
|
13427
|
-
def
|
13428
|
-
return self.
|
13804
|
+
def NatGatewayId(self):
|
13805
|
+
return self._NatGatewayId
|
13429
13806
|
|
13430
|
-
@
|
13431
|
-
def
|
13432
|
-
self.
|
13807
|
+
@NatGatewayId.setter
|
13808
|
+
def NatGatewayId(self, NatGatewayId):
|
13809
|
+
self._NatGatewayId = NatGatewayId
|
13433
13810
|
|
13434
13811
|
|
13435
13812
|
def _deserialize(self, params):
|
13436
|
-
self.
|
13437
|
-
if params.get("SecurityGroupPolicySet") is not None:
|
13438
|
-
self._SecurityGroupPolicySet = SecurityGroupPolicySet()
|
13439
|
-
self._SecurityGroupPolicySet._deserialize(params.get("SecurityGroupPolicySet"))
|
13813
|
+
self._NatGatewayId = params.get("NatGatewayId")
|
13440
13814
|
memeber_set = set(params.keys())
|
13441
13815
|
for name, value in vars(self).items():
|
13442
13816
|
property_name = name[1:]
|
@@ -13447,8 +13821,8 @@ class DeleteSecurityGroupPoliciesRequest(AbstractModel):
|
|
13447
13821
|
|
13448
13822
|
|
13449
13823
|
|
13450
|
-
class
|
13451
|
-
"""
|
13824
|
+
class DeletePrivateNatGatewayResponse(AbstractModel):
|
13825
|
+
"""DeletePrivateNatGateway返回参数结构体
|
13452
13826
|
|
13453
13827
|
"""
|
13454
13828
|
|
@@ -13472,145 +13846,89 @@ class DeleteSecurityGroupPoliciesResponse(AbstractModel):
|
|
13472
13846
|
self._RequestId = params.get("RequestId")
|
13473
13847
|
|
13474
13848
|
|
13475
|
-
class
|
13476
|
-
"""
|
13849
|
+
class DeletePrivateNatGatewayTranslationAclRuleRequest(AbstractModel):
|
13850
|
+
"""DeletePrivateNatGatewayTranslationAclRule请求参数结构体
|
13477
13851
|
|
13478
13852
|
"""
|
13479
13853
|
|
13480
13854
|
def __init__(self):
|
13481
13855
|
r"""
|
13482
|
-
:param
|
13483
|
-
:type
|
13856
|
+
:param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
13857
|
+
:type NatGatewayId: str
|
13858
|
+
:param _TranslationDirection: 转换规则目标,可选值"LOCAL"。
|
13859
|
+
:type TranslationDirection: str
|
13860
|
+
:param _TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
|
13861
|
+
:type TranslationType: str
|
13862
|
+
:param _TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池
|
13863
|
+
:type TranslationIp: str
|
13864
|
+
:param _AclRuleIds: 访问控制规则对应`ID`
|
13865
|
+
:type AclRuleIds: list of int non-negative
|
13866
|
+
:param _OriginalIp: 源`IP`,当转换规则类型为三层时有效
|
13867
|
+
:type OriginalIp: str
|
13484
13868
|
"""
|
13485
|
-
self.
|
13869
|
+
self._NatGatewayId = None
|
13870
|
+
self._TranslationDirection = None
|
13871
|
+
self._TranslationType = None
|
13872
|
+
self._TranslationIp = None
|
13873
|
+
self._AclRuleIds = None
|
13874
|
+
self._OriginalIp = None
|
13486
13875
|
|
13487
13876
|
@property
|
13488
|
-
def
|
13489
|
-
return self.
|
13490
|
-
|
13491
|
-
@SecurityGroupId.setter
|
13492
|
-
def SecurityGroupId(self, SecurityGroupId):
|
13493
|
-
self._SecurityGroupId = SecurityGroupId
|
13494
|
-
|
13495
|
-
|
13496
|
-
def _deserialize(self, params):
|
13497
|
-
self._SecurityGroupId = params.get("SecurityGroupId")
|
13498
|
-
memeber_set = set(params.keys())
|
13499
|
-
for name, value in vars(self).items():
|
13500
|
-
property_name = name[1:]
|
13501
|
-
if property_name in memeber_set:
|
13502
|
-
memeber_set.remove(property_name)
|
13503
|
-
if len(memeber_set) > 0:
|
13504
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
13505
|
-
|
13506
|
-
|
13507
|
-
|
13508
|
-
class DeleteSecurityGroupResponse(AbstractModel):
|
13509
|
-
"""DeleteSecurityGroup返回参数结构体
|
13510
|
-
|
13511
|
-
"""
|
13877
|
+
def NatGatewayId(self):
|
13878
|
+
return self._NatGatewayId
|
13512
13879
|
|
13513
|
-
|
13514
|
-
|
13515
|
-
|
13516
|
-
:type RequestId: str
|
13517
|
-
"""
|
13518
|
-
self._RequestId = None
|
13880
|
+
@NatGatewayId.setter
|
13881
|
+
def NatGatewayId(self, NatGatewayId):
|
13882
|
+
self._NatGatewayId = NatGatewayId
|
13519
13883
|
|
13520
13884
|
@property
|
13521
|
-
def
|
13522
|
-
return self.
|
13523
|
-
|
13524
|
-
@RequestId.setter
|
13525
|
-
def RequestId(self, RequestId):
|
13526
|
-
self._RequestId = RequestId
|
13527
|
-
|
13885
|
+
def TranslationDirection(self):
|
13886
|
+
return self._TranslationDirection
|
13528
13887
|
|
13529
|
-
|
13530
|
-
|
13531
|
-
|
13532
|
-
|
13533
|
-
class DeleteServiceTemplateGroupRequest(AbstractModel):
|
13534
|
-
"""DeleteServiceTemplateGroup请求参数结构体
|
13535
|
-
|
13536
|
-
"""
|
13537
|
-
|
13538
|
-
def __init__(self):
|
13539
|
-
r"""
|
13540
|
-
:param _ServiceTemplateGroupId: 协议端口模板集合实例ID,例如:ppmg-n17uxvve。
|
13541
|
-
:type ServiceTemplateGroupId: str
|
13542
|
-
"""
|
13543
|
-
self._ServiceTemplateGroupId = None
|
13888
|
+
@TranslationDirection.setter
|
13889
|
+
def TranslationDirection(self, TranslationDirection):
|
13890
|
+
self._TranslationDirection = TranslationDirection
|
13544
13891
|
|
13545
13892
|
@property
|
13546
|
-
def
|
13547
|
-
return self.
|
13548
|
-
|
13549
|
-
@ServiceTemplateGroupId.setter
|
13550
|
-
def ServiceTemplateGroupId(self, ServiceTemplateGroupId):
|
13551
|
-
self._ServiceTemplateGroupId = ServiceTemplateGroupId
|
13552
|
-
|
13553
|
-
|
13554
|
-
def _deserialize(self, params):
|
13555
|
-
self._ServiceTemplateGroupId = params.get("ServiceTemplateGroupId")
|
13556
|
-
memeber_set = set(params.keys())
|
13557
|
-
for name, value in vars(self).items():
|
13558
|
-
property_name = name[1:]
|
13559
|
-
if property_name in memeber_set:
|
13560
|
-
memeber_set.remove(property_name)
|
13561
|
-
if len(memeber_set) > 0:
|
13562
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
13563
|
-
|
13893
|
+
def TranslationType(self):
|
13894
|
+
return self._TranslationType
|
13564
13895
|
|
13565
|
-
|
13566
|
-
|
13567
|
-
|
13568
|
-
|
13569
|
-
"""
|
13570
|
-
|
13571
|
-
def __init__(self):
|
13572
|
-
r"""
|
13573
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13574
|
-
:type RequestId: str
|
13575
|
-
"""
|
13576
|
-
self._RequestId = None
|
13896
|
+
@TranslationType.setter
|
13897
|
+
def TranslationType(self, TranslationType):
|
13898
|
+
self._TranslationType = TranslationType
|
13577
13899
|
|
13578
13900
|
@property
|
13579
|
-
def
|
13580
|
-
return self.
|
13581
|
-
|
13582
|
-
@RequestId.setter
|
13583
|
-
def RequestId(self, RequestId):
|
13584
|
-
self._RequestId = RequestId
|
13901
|
+
def TranslationIp(self):
|
13902
|
+
return self._TranslationIp
|
13585
13903
|
|
13904
|
+
@TranslationIp.setter
|
13905
|
+
def TranslationIp(self, TranslationIp):
|
13906
|
+
self._TranslationIp = TranslationIp
|
13586
13907
|
|
13587
|
-
|
13588
|
-
|
13589
|
-
|
13590
|
-
|
13591
|
-
class DeleteServiceTemplateRequest(AbstractModel):
|
13592
|
-
"""DeleteServiceTemplate请求参数结构体
|
13593
|
-
|
13594
|
-
"""
|
13908
|
+
@property
|
13909
|
+
def AclRuleIds(self):
|
13910
|
+
return self._AclRuleIds
|
13595
13911
|
|
13596
|
-
|
13597
|
-
|
13598
|
-
|
13599
|
-
:type ServiceTemplateId: str
|
13600
|
-
"""
|
13601
|
-
self._ServiceTemplateId = None
|
13912
|
+
@AclRuleIds.setter
|
13913
|
+
def AclRuleIds(self, AclRuleIds):
|
13914
|
+
self._AclRuleIds = AclRuleIds
|
13602
13915
|
|
13603
13916
|
@property
|
13604
|
-
def
|
13605
|
-
return self.
|
13917
|
+
def OriginalIp(self):
|
13918
|
+
return self._OriginalIp
|
13606
13919
|
|
13607
|
-
@
|
13608
|
-
def
|
13609
|
-
self.
|
13920
|
+
@OriginalIp.setter
|
13921
|
+
def OriginalIp(self, OriginalIp):
|
13922
|
+
self._OriginalIp = OriginalIp
|
13610
13923
|
|
13611
13924
|
|
13612
13925
|
def _deserialize(self, params):
|
13613
|
-
self.
|
13926
|
+
self._NatGatewayId = params.get("NatGatewayId")
|
13927
|
+
self._TranslationDirection = params.get("TranslationDirection")
|
13928
|
+
self._TranslationType = params.get("TranslationType")
|
13929
|
+
self._TranslationIp = params.get("TranslationIp")
|
13930
|
+
self._AclRuleIds = params.get("AclRuleIds")
|
13931
|
+
self._OriginalIp = params.get("OriginalIp")
|
13614
13932
|
memeber_set = set(params.keys())
|
13615
13933
|
for name, value in vars(self).items():
|
13616
13934
|
property_name = name[1:]
|
@@ -13621,8 +13939,503 @@ class DeleteServiceTemplateRequest(AbstractModel):
|
|
13621
13939
|
|
13622
13940
|
|
13623
13941
|
|
13624
|
-
class
|
13625
|
-
"""
|
13942
|
+
class DeletePrivateNatGatewayTranslationAclRuleResponse(AbstractModel):
|
13943
|
+
"""DeletePrivateNatGatewayTranslationAclRule返回参数结构体
|
13944
|
+
|
13945
|
+
"""
|
13946
|
+
|
13947
|
+
def __init__(self):
|
13948
|
+
r"""
|
13949
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13950
|
+
:type RequestId: str
|
13951
|
+
"""
|
13952
|
+
self._RequestId = None
|
13953
|
+
|
13954
|
+
@property
|
13955
|
+
def RequestId(self):
|
13956
|
+
return self._RequestId
|
13957
|
+
|
13958
|
+
@RequestId.setter
|
13959
|
+
def RequestId(self, RequestId):
|
13960
|
+
self._RequestId = RequestId
|
13961
|
+
|
13962
|
+
|
13963
|
+
def _deserialize(self, params):
|
13964
|
+
self._RequestId = params.get("RequestId")
|
13965
|
+
|
13966
|
+
|
13967
|
+
class DeletePrivateNatGatewayTranslationNatRuleRequest(AbstractModel):
|
13968
|
+
"""DeletePrivateNatGatewayTranslationNatRule请求参数结构体
|
13969
|
+
|
13970
|
+
"""
|
13971
|
+
|
13972
|
+
def __init__(self):
|
13973
|
+
r"""
|
13974
|
+
:param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
13975
|
+
:type NatGatewayId: str
|
13976
|
+
:param _TranslationNatRules: 转换规则对象数组。
|
13977
|
+
:type TranslationNatRules: list of TranslationNatRule
|
13978
|
+
:param _CrossDomain: 跨域参数,当VPC为跨域时填写为True。
|
13979
|
+
:type CrossDomain: bool
|
13980
|
+
"""
|
13981
|
+
self._NatGatewayId = None
|
13982
|
+
self._TranslationNatRules = None
|
13983
|
+
self._CrossDomain = None
|
13984
|
+
|
13985
|
+
@property
|
13986
|
+
def NatGatewayId(self):
|
13987
|
+
return self._NatGatewayId
|
13988
|
+
|
13989
|
+
@NatGatewayId.setter
|
13990
|
+
def NatGatewayId(self, NatGatewayId):
|
13991
|
+
self._NatGatewayId = NatGatewayId
|
13992
|
+
|
13993
|
+
@property
|
13994
|
+
def TranslationNatRules(self):
|
13995
|
+
return self._TranslationNatRules
|
13996
|
+
|
13997
|
+
@TranslationNatRules.setter
|
13998
|
+
def TranslationNatRules(self, TranslationNatRules):
|
13999
|
+
self._TranslationNatRules = TranslationNatRules
|
14000
|
+
|
14001
|
+
@property
|
14002
|
+
def CrossDomain(self):
|
14003
|
+
return self._CrossDomain
|
14004
|
+
|
14005
|
+
@CrossDomain.setter
|
14006
|
+
def CrossDomain(self, CrossDomain):
|
14007
|
+
self._CrossDomain = CrossDomain
|
14008
|
+
|
14009
|
+
|
14010
|
+
def _deserialize(self, params):
|
14011
|
+
self._NatGatewayId = params.get("NatGatewayId")
|
14012
|
+
if params.get("TranslationNatRules") is not None:
|
14013
|
+
self._TranslationNatRules = []
|
14014
|
+
for item in params.get("TranslationNatRules"):
|
14015
|
+
obj = TranslationNatRule()
|
14016
|
+
obj._deserialize(item)
|
14017
|
+
self._TranslationNatRules.append(obj)
|
14018
|
+
self._CrossDomain = params.get("CrossDomain")
|
14019
|
+
memeber_set = set(params.keys())
|
14020
|
+
for name, value in vars(self).items():
|
14021
|
+
property_name = name[1:]
|
14022
|
+
if property_name in memeber_set:
|
14023
|
+
memeber_set.remove(property_name)
|
14024
|
+
if len(memeber_set) > 0:
|
14025
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
14026
|
+
|
14027
|
+
|
14028
|
+
|
14029
|
+
class DeletePrivateNatGatewayTranslationNatRuleResponse(AbstractModel):
|
14030
|
+
"""DeletePrivateNatGatewayTranslationNatRule返回参数结构体
|
14031
|
+
|
14032
|
+
"""
|
14033
|
+
|
14034
|
+
def __init__(self):
|
14035
|
+
r"""
|
14036
|
+
:param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
14037
|
+
:type NatGatewayId: str
|
14038
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14039
|
+
:type RequestId: str
|
14040
|
+
"""
|
14041
|
+
self._NatGatewayId = None
|
14042
|
+
self._RequestId = None
|
14043
|
+
|
14044
|
+
@property
|
14045
|
+
def NatGatewayId(self):
|
14046
|
+
return self._NatGatewayId
|
14047
|
+
|
14048
|
+
@NatGatewayId.setter
|
14049
|
+
def NatGatewayId(self, NatGatewayId):
|
14050
|
+
self._NatGatewayId = NatGatewayId
|
14051
|
+
|
14052
|
+
@property
|
14053
|
+
def RequestId(self):
|
14054
|
+
return self._RequestId
|
14055
|
+
|
14056
|
+
@RequestId.setter
|
14057
|
+
def RequestId(self, RequestId):
|
14058
|
+
self._RequestId = RequestId
|
14059
|
+
|
14060
|
+
|
14061
|
+
def _deserialize(self, params):
|
14062
|
+
self._NatGatewayId = params.get("NatGatewayId")
|
14063
|
+
self._RequestId = params.get("RequestId")
|
14064
|
+
|
14065
|
+
|
14066
|
+
class DeleteRouteTableRequest(AbstractModel):
|
14067
|
+
"""DeleteRouteTable请求参数结构体
|
14068
|
+
|
14069
|
+
"""
|
14070
|
+
|
14071
|
+
def __init__(self):
|
14072
|
+
r"""
|
14073
|
+
:param _RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
|
14074
|
+
:type RouteTableId: str
|
14075
|
+
"""
|
14076
|
+
self._RouteTableId = None
|
14077
|
+
|
14078
|
+
@property
|
14079
|
+
def RouteTableId(self):
|
14080
|
+
return self._RouteTableId
|
14081
|
+
|
14082
|
+
@RouteTableId.setter
|
14083
|
+
def RouteTableId(self, RouteTableId):
|
14084
|
+
self._RouteTableId = RouteTableId
|
14085
|
+
|
14086
|
+
|
14087
|
+
def _deserialize(self, params):
|
14088
|
+
self._RouteTableId = params.get("RouteTableId")
|
14089
|
+
memeber_set = set(params.keys())
|
14090
|
+
for name, value in vars(self).items():
|
14091
|
+
property_name = name[1:]
|
14092
|
+
if property_name in memeber_set:
|
14093
|
+
memeber_set.remove(property_name)
|
14094
|
+
if len(memeber_set) > 0:
|
14095
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
14096
|
+
|
14097
|
+
|
14098
|
+
|
14099
|
+
class DeleteRouteTableResponse(AbstractModel):
|
14100
|
+
"""DeleteRouteTable返回参数结构体
|
14101
|
+
|
14102
|
+
"""
|
14103
|
+
|
14104
|
+
def __init__(self):
|
14105
|
+
r"""
|
14106
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14107
|
+
:type RequestId: str
|
14108
|
+
"""
|
14109
|
+
self._RequestId = None
|
14110
|
+
|
14111
|
+
@property
|
14112
|
+
def RequestId(self):
|
14113
|
+
return self._RequestId
|
14114
|
+
|
14115
|
+
@RequestId.setter
|
14116
|
+
def RequestId(self, RequestId):
|
14117
|
+
self._RequestId = RequestId
|
14118
|
+
|
14119
|
+
|
14120
|
+
def _deserialize(self, params):
|
14121
|
+
self._RequestId = params.get("RequestId")
|
14122
|
+
|
14123
|
+
|
14124
|
+
class DeleteRoutesRequest(AbstractModel):
|
14125
|
+
"""DeleteRoutes请求参数结构体
|
14126
|
+
|
14127
|
+
"""
|
14128
|
+
|
14129
|
+
def __init__(self):
|
14130
|
+
r"""
|
14131
|
+
:param _RouteTableId: 路由表实例ID。
|
14132
|
+
:type RouteTableId: str
|
14133
|
+
:param _Routes: 路由策略对象,删除路由策略时,仅需使用Route的RouteId字段。
|
14134
|
+
:type Routes: list of Route
|
14135
|
+
"""
|
14136
|
+
self._RouteTableId = None
|
14137
|
+
self._Routes = None
|
14138
|
+
|
14139
|
+
@property
|
14140
|
+
def RouteTableId(self):
|
14141
|
+
return self._RouteTableId
|
14142
|
+
|
14143
|
+
@RouteTableId.setter
|
14144
|
+
def RouteTableId(self, RouteTableId):
|
14145
|
+
self._RouteTableId = RouteTableId
|
14146
|
+
|
14147
|
+
@property
|
14148
|
+
def Routes(self):
|
14149
|
+
return self._Routes
|
14150
|
+
|
14151
|
+
@Routes.setter
|
14152
|
+
def Routes(self, Routes):
|
14153
|
+
self._Routes = Routes
|
14154
|
+
|
14155
|
+
|
14156
|
+
def _deserialize(self, params):
|
14157
|
+
self._RouteTableId = params.get("RouteTableId")
|
14158
|
+
if params.get("Routes") is not None:
|
14159
|
+
self._Routes = []
|
14160
|
+
for item in params.get("Routes"):
|
14161
|
+
obj = Route()
|
14162
|
+
obj._deserialize(item)
|
14163
|
+
self._Routes.append(obj)
|
14164
|
+
memeber_set = set(params.keys())
|
14165
|
+
for name, value in vars(self).items():
|
14166
|
+
property_name = name[1:]
|
14167
|
+
if property_name in memeber_set:
|
14168
|
+
memeber_set.remove(property_name)
|
14169
|
+
if len(memeber_set) > 0:
|
14170
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
14171
|
+
|
14172
|
+
|
14173
|
+
|
14174
|
+
class DeleteRoutesResponse(AbstractModel):
|
14175
|
+
"""DeleteRoutes返回参数结构体
|
14176
|
+
|
14177
|
+
"""
|
14178
|
+
|
14179
|
+
def __init__(self):
|
14180
|
+
r"""
|
14181
|
+
:param _RouteSet: 已删除的路由策略详情。
|
14182
|
+
:type RouteSet: list of Route
|
14183
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14184
|
+
:type RequestId: str
|
14185
|
+
"""
|
14186
|
+
self._RouteSet = None
|
14187
|
+
self._RequestId = None
|
14188
|
+
|
14189
|
+
@property
|
14190
|
+
def RouteSet(self):
|
14191
|
+
return self._RouteSet
|
14192
|
+
|
14193
|
+
@RouteSet.setter
|
14194
|
+
def RouteSet(self, RouteSet):
|
14195
|
+
self._RouteSet = RouteSet
|
14196
|
+
|
14197
|
+
@property
|
14198
|
+
def RequestId(self):
|
14199
|
+
return self._RequestId
|
14200
|
+
|
14201
|
+
@RequestId.setter
|
14202
|
+
def RequestId(self, RequestId):
|
14203
|
+
self._RequestId = RequestId
|
14204
|
+
|
14205
|
+
|
14206
|
+
def _deserialize(self, params):
|
14207
|
+
if params.get("RouteSet") is not None:
|
14208
|
+
self._RouteSet = []
|
14209
|
+
for item in params.get("RouteSet"):
|
14210
|
+
obj = Route()
|
14211
|
+
obj._deserialize(item)
|
14212
|
+
self._RouteSet.append(obj)
|
14213
|
+
self._RequestId = params.get("RequestId")
|
14214
|
+
|
14215
|
+
|
14216
|
+
class DeleteSecurityGroupPoliciesRequest(AbstractModel):
|
14217
|
+
"""DeleteSecurityGroupPolicies请求参数结构体
|
14218
|
+
|
14219
|
+
"""
|
14220
|
+
|
14221
|
+
def __init__(self):
|
14222
|
+
r"""
|
14223
|
+
:param _SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
|
14224
|
+
:type SecurityGroupId: str
|
14225
|
+
:param _SecurityGroupPolicySet: 安全组规则集合。一个请求中只能删除单个方向的一条或多条规则。支持指定索引(PolicyIndex) 匹配删除和安全组规则匹配删除两种方式,一个请求中只能使用一种匹配方式。
|
14226
|
+
:type SecurityGroupPolicySet: :class:`tencentcloud.vpc.v20170312.models.SecurityGroupPolicySet`
|
14227
|
+
"""
|
14228
|
+
self._SecurityGroupId = None
|
14229
|
+
self._SecurityGroupPolicySet = None
|
14230
|
+
|
14231
|
+
@property
|
14232
|
+
def SecurityGroupId(self):
|
14233
|
+
return self._SecurityGroupId
|
14234
|
+
|
14235
|
+
@SecurityGroupId.setter
|
14236
|
+
def SecurityGroupId(self, SecurityGroupId):
|
14237
|
+
self._SecurityGroupId = SecurityGroupId
|
14238
|
+
|
14239
|
+
@property
|
14240
|
+
def SecurityGroupPolicySet(self):
|
14241
|
+
return self._SecurityGroupPolicySet
|
14242
|
+
|
14243
|
+
@SecurityGroupPolicySet.setter
|
14244
|
+
def SecurityGroupPolicySet(self, SecurityGroupPolicySet):
|
14245
|
+
self._SecurityGroupPolicySet = SecurityGroupPolicySet
|
14246
|
+
|
14247
|
+
|
14248
|
+
def _deserialize(self, params):
|
14249
|
+
self._SecurityGroupId = params.get("SecurityGroupId")
|
14250
|
+
if params.get("SecurityGroupPolicySet") is not None:
|
14251
|
+
self._SecurityGroupPolicySet = SecurityGroupPolicySet()
|
14252
|
+
self._SecurityGroupPolicySet._deserialize(params.get("SecurityGroupPolicySet"))
|
14253
|
+
memeber_set = set(params.keys())
|
14254
|
+
for name, value in vars(self).items():
|
14255
|
+
property_name = name[1:]
|
14256
|
+
if property_name in memeber_set:
|
14257
|
+
memeber_set.remove(property_name)
|
14258
|
+
if len(memeber_set) > 0:
|
14259
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
14260
|
+
|
14261
|
+
|
14262
|
+
|
14263
|
+
class DeleteSecurityGroupPoliciesResponse(AbstractModel):
|
14264
|
+
"""DeleteSecurityGroupPolicies返回参数结构体
|
14265
|
+
|
14266
|
+
"""
|
14267
|
+
|
14268
|
+
def __init__(self):
|
14269
|
+
r"""
|
14270
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14271
|
+
:type RequestId: str
|
14272
|
+
"""
|
14273
|
+
self._RequestId = None
|
14274
|
+
|
14275
|
+
@property
|
14276
|
+
def RequestId(self):
|
14277
|
+
return self._RequestId
|
14278
|
+
|
14279
|
+
@RequestId.setter
|
14280
|
+
def RequestId(self, RequestId):
|
14281
|
+
self._RequestId = RequestId
|
14282
|
+
|
14283
|
+
|
14284
|
+
def _deserialize(self, params):
|
14285
|
+
self._RequestId = params.get("RequestId")
|
14286
|
+
|
14287
|
+
|
14288
|
+
class DeleteSecurityGroupRequest(AbstractModel):
|
14289
|
+
"""DeleteSecurityGroup请求参数结构体
|
14290
|
+
|
14291
|
+
"""
|
14292
|
+
|
14293
|
+
def __init__(self):
|
14294
|
+
r"""
|
14295
|
+
:param _SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
|
14296
|
+
:type SecurityGroupId: str
|
14297
|
+
"""
|
14298
|
+
self._SecurityGroupId = None
|
14299
|
+
|
14300
|
+
@property
|
14301
|
+
def SecurityGroupId(self):
|
14302
|
+
return self._SecurityGroupId
|
14303
|
+
|
14304
|
+
@SecurityGroupId.setter
|
14305
|
+
def SecurityGroupId(self, SecurityGroupId):
|
14306
|
+
self._SecurityGroupId = SecurityGroupId
|
14307
|
+
|
14308
|
+
|
14309
|
+
def _deserialize(self, params):
|
14310
|
+
self._SecurityGroupId = params.get("SecurityGroupId")
|
14311
|
+
memeber_set = set(params.keys())
|
14312
|
+
for name, value in vars(self).items():
|
14313
|
+
property_name = name[1:]
|
14314
|
+
if property_name in memeber_set:
|
14315
|
+
memeber_set.remove(property_name)
|
14316
|
+
if len(memeber_set) > 0:
|
14317
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
14318
|
+
|
14319
|
+
|
14320
|
+
|
14321
|
+
class DeleteSecurityGroupResponse(AbstractModel):
|
14322
|
+
"""DeleteSecurityGroup返回参数结构体
|
14323
|
+
|
14324
|
+
"""
|
14325
|
+
|
14326
|
+
def __init__(self):
|
14327
|
+
r"""
|
14328
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14329
|
+
:type RequestId: str
|
14330
|
+
"""
|
14331
|
+
self._RequestId = None
|
14332
|
+
|
14333
|
+
@property
|
14334
|
+
def RequestId(self):
|
14335
|
+
return self._RequestId
|
14336
|
+
|
14337
|
+
@RequestId.setter
|
14338
|
+
def RequestId(self, RequestId):
|
14339
|
+
self._RequestId = RequestId
|
14340
|
+
|
14341
|
+
|
14342
|
+
def _deserialize(self, params):
|
14343
|
+
self._RequestId = params.get("RequestId")
|
14344
|
+
|
14345
|
+
|
14346
|
+
class DeleteServiceTemplateGroupRequest(AbstractModel):
|
14347
|
+
"""DeleteServiceTemplateGroup请求参数结构体
|
14348
|
+
|
14349
|
+
"""
|
14350
|
+
|
14351
|
+
def __init__(self):
|
14352
|
+
r"""
|
14353
|
+
:param _ServiceTemplateGroupId: 协议端口模板集合实例ID,例如:ppmg-n17uxvve。
|
14354
|
+
:type ServiceTemplateGroupId: str
|
14355
|
+
"""
|
14356
|
+
self._ServiceTemplateGroupId = None
|
14357
|
+
|
14358
|
+
@property
|
14359
|
+
def ServiceTemplateGroupId(self):
|
14360
|
+
return self._ServiceTemplateGroupId
|
14361
|
+
|
14362
|
+
@ServiceTemplateGroupId.setter
|
14363
|
+
def ServiceTemplateGroupId(self, ServiceTemplateGroupId):
|
14364
|
+
self._ServiceTemplateGroupId = ServiceTemplateGroupId
|
14365
|
+
|
14366
|
+
|
14367
|
+
def _deserialize(self, params):
|
14368
|
+
self._ServiceTemplateGroupId = params.get("ServiceTemplateGroupId")
|
14369
|
+
memeber_set = set(params.keys())
|
14370
|
+
for name, value in vars(self).items():
|
14371
|
+
property_name = name[1:]
|
14372
|
+
if property_name in memeber_set:
|
14373
|
+
memeber_set.remove(property_name)
|
14374
|
+
if len(memeber_set) > 0:
|
14375
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
14376
|
+
|
14377
|
+
|
14378
|
+
|
14379
|
+
class DeleteServiceTemplateGroupResponse(AbstractModel):
|
14380
|
+
"""DeleteServiceTemplateGroup返回参数结构体
|
14381
|
+
|
14382
|
+
"""
|
14383
|
+
|
14384
|
+
def __init__(self):
|
14385
|
+
r"""
|
14386
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14387
|
+
:type RequestId: str
|
14388
|
+
"""
|
14389
|
+
self._RequestId = None
|
14390
|
+
|
14391
|
+
@property
|
14392
|
+
def RequestId(self):
|
14393
|
+
return self._RequestId
|
14394
|
+
|
14395
|
+
@RequestId.setter
|
14396
|
+
def RequestId(self, RequestId):
|
14397
|
+
self._RequestId = RequestId
|
14398
|
+
|
14399
|
+
|
14400
|
+
def _deserialize(self, params):
|
14401
|
+
self._RequestId = params.get("RequestId")
|
14402
|
+
|
14403
|
+
|
14404
|
+
class DeleteServiceTemplateRequest(AbstractModel):
|
14405
|
+
"""DeleteServiceTemplate请求参数结构体
|
14406
|
+
|
14407
|
+
"""
|
14408
|
+
|
14409
|
+
def __init__(self):
|
14410
|
+
r"""
|
14411
|
+
:param _ServiceTemplateId: 协议端口模板实例ID,例如:ppm-e6dy460g。
|
14412
|
+
:type ServiceTemplateId: str
|
14413
|
+
"""
|
14414
|
+
self._ServiceTemplateId = None
|
14415
|
+
|
14416
|
+
@property
|
14417
|
+
def ServiceTemplateId(self):
|
14418
|
+
return self._ServiceTemplateId
|
14419
|
+
|
14420
|
+
@ServiceTemplateId.setter
|
14421
|
+
def ServiceTemplateId(self, ServiceTemplateId):
|
14422
|
+
self._ServiceTemplateId = ServiceTemplateId
|
14423
|
+
|
14424
|
+
|
14425
|
+
def _deserialize(self, params):
|
14426
|
+
self._ServiceTemplateId = params.get("ServiceTemplateId")
|
14427
|
+
memeber_set = set(params.keys())
|
14428
|
+
for name, value in vars(self).items():
|
14429
|
+
property_name = name[1:]
|
14430
|
+
if property_name in memeber_set:
|
14431
|
+
memeber_set.remove(property_name)
|
14432
|
+
if len(memeber_set) > 0:
|
14433
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
14434
|
+
|
14435
|
+
|
14436
|
+
|
14437
|
+
class DeleteServiceTemplateResponse(AbstractModel):
|
14438
|
+
"""DeleteServiceTemplate返回参数结构体
|
13626
14439
|
|
13627
14440
|
"""
|
13628
14441
|
|
@@ -20103,7 +20916,603 @@ class DescribeNetworkInterfacesRequest(AbstractModel):
|
|
20103
20916
|
|
20104
20917
|
|
20105
20918
|
def _deserialize(self, params):
|
20106
|
-
self._NetworkInterfaceIds = params.get("NetworkInterfaceIds")
|
20919
|
+
self._NetworkInterfaceIds = params.get("NetworkInterfaceIds")
|
20920
|
+
if params.get("Filters") is not None:
|
20921
|
+
self._Filters = []
|
20922
|
+
for item in params.get("Filters"):
|
20923
|
+
obj = Filter()
|
20924
|
+
obj._deserialize(item)
|
20925
|
+
self._Filters.append(obj)
|
20926
|
+
self._Offset = params.get("Offset")
|
20927
|
+
self._Limit = params.get("Limit")
|
20928
|
+
memeber_set = set(params.keys())
|
20929
|
+
for name, value in vars(self).items():
|
20930
|
+
property_name = name[1:]
|
20931
|
+
if property_name in memeber_set:
|
20932
|
+
memeber_set.remove(property_name)
|
20933
|
+
if len(memeber_set) > 0:
|
20934
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
20935
|
+
|
20936
|
+
|
20937
|
+
|
20938
|
+
class DescribeNetworkInterfacesResponse(AbstractModel):
|
20939
|
+
"""DescribeNetworkInterfaces返回参数结构体
|
20940
|
+
|
20941
|
+
"""
|
20942
|
+
|
20943
|
+
def __init__(self):
|
20944
|
+
r"""
|
20945
|
+
:param _NetworkInterfaceSet: 实例详细信息列表。
|
20946
|
+
:type NetworkInterfaceSet: list of NetworkInterface
|
20947
|
+
:param _TotalCount: 符合条件的实例数量。
|
20948
|
+
:type TotalCount: int
|
20949
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
20950
|
+
:type RequestId: str
|
20951
|
+
"""
|
20952
|
+
self._NetworkInterfaceSet = None
|
20953
|
+
self._TotalCount = None
|
20954
|
+
self._RequestId = None
|
20955
|
+
|
20956
|
+
@property
|
20957
|
+
def NetworkInterfaceSet(self):
|
20958
|
+
return self._NetworkInterfaceSet
|
20959
|
+
|
20960
|
+
@NetworkInterfaceSet.setter
|
20961
|
+
def NetworkInterfaceSet(self, NetworkInterfaceSet):
|
20962
|
+
self._NetworkInterfaceSet = NetworkInterfaceSet
|
20963
|
+
|
20964
|
+
@property
|
20965
|
+
def TotalCount(self):
|
20966
|
+
return self._TotalCount
|
20967
|
+
|
20968
|
+
@TotalCount.setter
|
20969
|
+
def TotalCount(self, TotalCount):
|
20970
|
+
self._TotalCount = TotalCount
|
20971
|
+
|
20972
|
+
@property
|
20973
|
+
def RequestId(self):
|
20974
|
+
return self._RequestId
|
20975
|
+
|
20976
|
+
@RequestId.setter
|
20977
|
+
def RequestId(self, RequestId):
|
20978
|
+
self._RequestId = RequestId
|
20979
|
+
|
20980
|
+
|
20981
|
+
def _deserialize(self, params):
|
20982
|
+
if params.get("NetworkInterfaceSet") is not None:
|
20983
|
+
self._NetworkInterfaceSet = []
|
20984
|
+
for item in params.get("NetworkInterfaceSet"):
|
20985
|
+
obj = NetworkInterface()
|
20986
|
+
obj._deserialize(item)
|
20987
|
+
self._NetworkInterfaceSet.append(obj)
|
20988
|
+
self._TotalCount = params.get("TotalCount")
|
20989
|
+
self._RequestId = params.get("RequestId")
|
20990
|
+
|
20991
|
+
|
20992
|
+
class DescribePrivateNatGatewayDestinationIpPortTranslationNatRulesRequest(AbstractModel):
|
20993
|
+
"""DescribePrivateNatGatewayDestinationIpPortTranslationNatRules请求参数结构体
|
20994
|
+
|
20995
|
+
"""
|
20996
|
+
|
20997
|
+
def __init__(self):
|
20998
|
+
r"""
|
20999
|
+
:param _NatGatewayId: 私网网关唯一`ID`,形如"intranat-xxxxxxxx)
|
21000
|
+
:type NatGatewayId: str
|
21001
|
+
:param _Filters: 过滤条件,Name可选值"OriginalIp", "TranslationIp", "OriginalPort","TranslationPort", "Protocol", "Description"
|
21002
|
+
:type Filters: list of Filter
|
21003
|
+
:param _Offset: 偏移量,默认值为0。
|
21004
|
+
:type Offset: int
|
21005
|
+
:param _Limit: 返回数目,默认值为20。
|
21006
|
+
:type Limit: int
|
21007
|
+
"""
|
21008
|
+
self._NatGatewayId = None
|
21009
|
+
self._Filters = None
|
21010
|
+
self._Offset = None
|
21011
|
+
self._Limit = None
|
21012
|
+
|
21013
|
+
@property
|
21014
|
+
def NatGatewayId(self):
|
21015
|
+
return self._NatGatewayId
|
21016
|
+
|
21017
|
+
@NatGatewayId.setter
|
21018
|
+
def NatGatewayId(self, NatGatewayId):
|
21019
|
+
self._NatGatewayId = NatGatewayId
|
21020
|
+
|
21021
|
+
@property
|
21022
|
+
def Filters(self):
|
21023
|
+
return self._Filters
|
21024
|
+
|
21025
|
+
@Filters.setter
|
21026
|
+
def Filters(self, Filters):
|
21027
|
+
self._Filters = Filters
|
21028
|
+
|
21029
|
+
@property
|
21030
|
+
def Offset(self):
|
21031
|
+
return self._Offset
|
21032
|
+
|
21033
|
+
@Offset.setter
|
21034
|
+
def Offset(self, Offset):
|
21035
|
+
self._Offset = Offset
|
21036
|
+
|
21037
|
+
@property
|
21038
|
+
def Limit(self):
|
21039
|
+
return self._Limit
|
21040
|
+
|
21041
|
+
@Limit.setter
|
21042
|
+
def Limit(self, Limit):
|
21043
|
+
self._Limit = Limit
|
21044
|
+
|
21045
|
+
|
21046
|
+
def _deserialize(self, params):
|
21047
|
+
self._NatGatewayId = params.get("NatGatewayId")
|
21048
|
+
if params.get("Filters") is not None:
|
21049
|
+
self._Filters = []
|
21050
|
+
for item in params.get("Filters"):
|
21051
|
+
obj = Filter()
|
21052
|
+
obj._deserialize(item)
|
21053
|
+
self._Filters.append(obj)
|
21054
|
+
self._Offset = params.get("Offset")
|
21055
|
+
self._Limit = params.get("Limit")
|
21056
|
+
memeber_set = set(params.keys())
|
21057
|
+
for name, value in vars(self).items():
|
21058
|
+
property_name = name[1:]
|
21059
|
+
if property_name in memeber_set:
|
21060
|
+
memeber_set.remove(property_name)
|
21061
|
+
if len(memeber_set) > 0:
|
21062
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
21063
|
+
|
21064
|
+
|
21065
|
+
|
21066
|
+
class DescribePrivateNatGatewayDestinationIpPortTranslationNatRulesResponse(AbstractModel):
|
21067
|
+
"""DescribePrivateNatGatewayDestinationIpPortTranslationNatRules返回参数结构体
|
21068
|
+
|
21069
|
+
"""
|
21070
|
+
|
21071
|
+
def __init__(self):
|
21072
|
+
r"""
|
21073
|
+
:param _TotalCount: 总规则数目。
|
21074
|
+
:type TotalCount: int
|
21075
|
+
:param _LocalDestinationIpPortTranslationNatRuleSet: 目的端口转换规则数组。
|
21076
|
+
:type LocalDestinationIpPortTranslationNatRuleSet: list of PrivateNatDestinationIpPortTranslationNatRule
|
21077
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
21078
|
+
:type RequestId: str
|
21079
|
+
"""
|
21080
|
+
self._TotalCount = None
|
21081
|
+
self._LocalDestinationIpPortTranslationNatRuleSet = None
|
21082
|
+
self._RequestId = None
|
21083
|
+
|
21084
|
+
@property
|
21085
|
+
def TotalCount(self):
|
21086
|
+
return self._TotalCount
|
21087
|
+
|
21088
|
+
@TotalCount.setter
|
21089
|
+
def TotalCount(self, TotalCount):
|
21090
|
+
self._TotalCount = TotalCount
|
21091
|
+
|
21092
|
+
@property
|
21093
|
+
def LocalDestinationIpPortTranslationNatRuleSet(self):
|
21094
|
+
return self._LocalDestinationIpPortTranslationNatRuleSet
|
21095
|
+
|
21096
|
+
@LocalDestinationIpPortTranslationNatRuleSet.setter
|
21097
|
+
def LocalDestinationIpPortTranslationNatRuleSet(self, LocalDestinationIpPortTranslationNatRuleSet):
|
21098
|
+
self._LocalDestinationIpPortTranslationNatRuleSet = LocalDestinationIpPortTranslationNatRuleSet
|
21099
|
+
|
21100
|
+
@property
|
21101
|
+
def RequestId(self):
|
21102
|
+
return self._RequestId
|
21103
|
+
|
21104
|
+
@RequestId.setter
|
21105
|
+
def RequestId(self, RequestId):
|
21106
|
+
self._RequestId = RequestId
|
21107
|
+
|
21108
|
+
|
21109
|
+
def _deserialize(self, params):
|
21110
|
+
self._TotalCount = params.get("TotalCount")
|
21111
|
+
if params.get("LocalDestinationIpPortTranslationNatRuleSet") is not None:
|
21112
|
+
self._LocalDestinationIpPortTranslationNatRuleSet = []
|
21113
|
+
for item in params.get("LocalDestinationIpPortTranslationNatRuleSet"):
|
21114
|
+
obj = PrivateNatDestinationIpPortTranslationNatRule()
|
21115
|
+
obj._deserialize(item)
|
21116
|
+
self._LocalDestinationIpPortTranslationNatRuleSet.append(obj)
|
21117
|
+
self._RequestId = params.get("RequestId")
|
21118
|
+
|
21119
|
+
|
21120
|
+
class DescribePrivateNatGatewayLimitsRequest(AbstractModel):
|
21121
|
+
"""DescribePrivateNatGatewayLimits请求参数结构体
|
21122
|
+
|
21123
|
+
"""
|
21124
|
+
|
21125
|
+
def __init__(self):
|
21126
|
+
r"""
|
21127
|
+
:param _Filters: 查询VPC下可创建的私网网关配额数量,可选值:
|
21128
|
+
<li>VpcId - String - 所在VpcId</li>
|
21129
|
+
:type Filters: list of Filter
|
21130
|
+
:param _Offset: 偏移量,默认值为0。
|
21131
|
+
:type Offset: int
|
21132
|
+
:param _Limit: 返回数目,默认值为20。
|
21133
|
+
:type Limit: int
|
21134
|
+
"""
|
21135
|
+
self._Filters = None
|
21136
|
+
self._Offset = None
|
21137
|
+
self._Limit = None
|
21138
|
+
|
21139
|
+
@property
|
21140
|
+
def Filters(self):
|
21141
|
+
return self._Filters
|
21142
|
+
|
21143
|
+
@Filters.setter
|
21144
|
+
def Filters(self, Filters):
|
21145
|
+
self._Filters = Filters
|
21146
|
+
|
21147
|
+
@property
|
21148
|
+
def Offset(self):
|
21149
|
+
return self._Offset
|
21150
|
+
|
21151
|
+
@Offset.setter
|
21152
|
+
def Offset(self, Offset):
|
21153
|
+
self._Offset = Offset
|
21154
|
+
|
21155
|
+
@property
|
21156
|
+
def Limit(self):
|
21157
|
+
return self._Limit
|
21158
|
+
|
21159
|
+
@Limit.setter
|
21160
|
+
def Limit(self, Limit):
|
21161
|
+
self._Limit = Limit
|
21162
|
+
|
21163
|
+
|
21164
|
+
def _deserialize(self, params):
|
21165
|
+
if params.get("Filters") is not None:
|
21166
|
+
self._Filters = []
|
21167
|
+
for item in params.get("Filters"):
|
21168
|
+
obj = Filter()
|
21169
|
+
obj._deserialize(item)
|
21170
|
+
self._Filters.append(obj)
|
21171
|
+
self._Offset = params.get("Offset")
|
21172
|
+
self._Limit = params.get("Limit")
|
21173
|
+
memeber_set = set(params.keys())
|
21174
|
+
for name, value in vars(self).items():
|
21175
|
+
property_name = name[1:]
|
21176
|
+
if property_name in memeber_set:
|
21177
|
+
memeber_set.remove(property_name)
|
21178
|
+
if len(memeber_set) > 0:
|
21179
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
21180
|
+
|
21181
|
+
|
21182
|
+
|
21183
|
+
class DescribePrivateNatGatewayLimitsResponse(AbstractModel):
|
21184
|
+
"""DescribePrivateNatGatewayLimits返回参数结构体
|
21185
|
+
|
21186
|
+
"""
|
21187
|
+
|
21188
|
+
def __init__(self):
|
21189
|
+
r"""
|
21190
|
+
:param _TotalCount: 查询返回结果个数。
|
21191
|
+
:type TotalCount: int
|
21192
|
+
:param _PrivateNatGatewayLimitSet: 私网网关配额。
|
21193
|
+
:type PrivateNatGatewayLimitSet: list of PrivateNatGatewayLimit
|
21194
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
21195
|
+
:type RequestId: str
|
21196
|
+
"""
|
21197
|
+
self._TotalCount = None
|
21198
|
+
self._PrivateNatGatewayLimitSet = None
|
21199
|
+
self._RequestId = None
|
21200
|
+
|
21201
|
+
@property
|
21202
|
+
def TotalCount(self):
|
21203
|
+
return self._TotalCount
|
21204
|
+
|
21205
|
+
@TotalCount.setter
|
21206
|
+
def TotalCount(self, TotalCount):
|
21207
|
+
self._TotalCount = TotalCount
|
21208
|
+
|
21209
|
+
@property
|
21210
|
+
def PrivateNatGatewayLimitSet(self):
|
21211
|
+
return self._PrivateNatGatewayLimitSet
|
21212
|
+
|
21213
|
+
@PrivateNatGatewayLimitSet.setter
|
21214
|
+
def PrivateNatGatewayLimitSet(self, PrivateNatGatewayLimitSet):
|
21215
|
+
self._PrivateNatGatewayLimitSet = PrivateNatGatewayLimitSet
|
21216
|
+
|
21217
|
+
@property
|
21218
|
+
def RequestId(self):
|
21219
|
+
return self._RequestId
|
21220
|
+
|
21221
|
+
@RequestId.setter
|
21222
|
+
def RequestId(self, RequestId):
|
21223
|
+
self._RequestId = RequestId
|
21224
|
+
|
21225
|
+
|
21226
|
+
def _deserialize(self, params):
|
21227
|
+
self._TotalCount = params.get("TotalCount")
|
21228
|
+
if params.get("PrivateNatGatewayLimitSet") is not None:
|
21229
|
+
self._PrivateNatGatewayLimitSet = []
|
21230
|
+
for item in params.get("PrivateNatGatewayLimitSet"):
|
21231
|
+
obj = PrivateNatGatewayLimit()
|
21232
|
+
obj._deserialize(item)
|
21233
|
+
self._PrivateNatGatewayLimitSet.append(obj)
|
21234
|
+
self._RequestId = params.get("RequestId")
|
21235
|
+
|
21236
|
+
|
21237
|
+
class DescribePrivateNatGatewayRegionsRequest(AbstractModel):
|
21238
|
+
"""DescribePrivateNatGatewayRegions请求参数结构体
|
21239
|
+
|
21240
|
+
"""
|
21241
|
+
|
21242
|
+
|
21243
|
+
class DescribePrivateNatGatewayRegionsResponse(AbstractModel):
|
21244
|
+
"""DescribePrivateNatGatewayRegions返回参数结构体
|
21245
|
+
|
21246
|
+
"""
|
21247
|
+
|
21248
|
+
def __init__(self):
|
21249
|
+
r"""
|
21250
|
+
:param _RegionSet: 地域对象
|
21251
|
+
:type RegionSet: list of NatRegionInfoWithArea
|
21252
|
+
:param _TotalCount: 返回可支持地域总数
|
21253
|
+
:type TotalCount: int
|
21254
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
21255
|
+
:type RequestId: str
|
21256
|
+
"""
|
21257
|
+
self._RegionSet = None
|
21258
|
+
self._TotalCount = None
|
21259
|
+
self._RequestId = None
|
21260
|
+
|
21261
|
+
@property
|
21262
|
+
def RegionSet(self):
|
21263
|
+
return self._RegionSet
|
21264
|
+
|
21265
|
+
@RegionSet.setter
|
21266
|
+
def RegionSet(self, RegionSet):
|
21267
|
+
self._RegionSet = RegionSet
|
21268
|
+
|
21269
|
+
@property
|
21270
|
+
def TotalCount(self):
|
21271
|
+
return self._TotalCount
|
21272
|
+
|
21273
|
+
@TotalCount.setter
|
21274
|
+
def TotalCount(self, TotalCount):
|
21275
|
+
self._TotalCount = TotalCount
|
21276
|
+
|
21277
|
+
@property
|
21278
|
+
def RequestId(self):
|
21279
|
+
return self._RequestId
|
21280
|
+
|
21281
|
+
@RequestId.setter
|
21282
|
+
def RequestId(self, RequestId):
|
21283
|
+
self._RequestId = RequestId
|
21284
|
+
|
21285
|
+
|
21286
|
+
def _deserialize(self, params):
|
21287
|
+
if params.get("RegionSet") is not None:
|
21288
|
+
self._RegionSet = []
|
21289
|
+
for item in params.get("RegionSet"):
|
21290
|
+
obj = NatRegionInfoWithArea()
|
21291
|
+
obj._deserialize(item)
|
21292
|
+
self._RegionSet.append(obj)
|
21293
|
+
self._TotalCount = params.get("TotalCount")
|
21294
|
+
self._RequestId = params.get("RequestId")
|
21295
|
+
|
21296
|
+
|
21297
|
+
class DescribePrivateNatGatewayTranslationAclRulesRequest(AbstractModel):
|
21298
|
+
"""DescribePrivateNatGatewayTranslationAclRules请求参数结构体
|
21299
|
+
|
21300
|
+
"""
|
21301
|
+
|
21302
|
+
def __init__(self):
|
21303
|
+
r"""
|
21304
|
+
:param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
21305
|
+
:type NatGatewayId: str
|
21306
|
+
:param _TranslationDirection: 转换规则目标,可选值"LOCAL"。
|
21307
|
+
:type TranslationDirection: str
|
21308
|
+
:param _TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
|
21309
|
+
:type TranslationType: str
|
21310
|
+
:param _TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池。
|
21311
|
+
:type TranslationIp: str
|
21312
|
+
:param _OriginalIp: 源`IP`,当转换规则类型为三层时有效。
|
21313
|
+
:type OriginalIp: str
|
21314
|
+
:param _Offset: 偏移量。默认值为0。
|
21315
|
+
:type Offset: int
|
21316
|
+
:param _Limit: 返回数目,默认值为20。
|
21317
|
+
:type Limit: int
|
21318
|
+
"""
|
21319
|
+
self._NatGatewayId = None
|
21320
|
+
self._TranslationDirection = None
|
21321
|
+
self._TranslationType = None
|
21322
|
+
self._TranslationIp = None
|
21323
|
+
self._OriginalIp = None
|
21324
|
+
self._Offset = None
|
21325
|
+
self._Limit = None
|
21326
|
+
|
21327
|
+
@property
|
21328
|
+
def NatGatewayId(self):
|
21329
|
+
return self._NatGatewayId
|
21330
|
+
|
21331
|
+
@NatGatewayId.setter
|
21332
|
+
def NatGatewayId(self, NatGatewayId):
|
21333
|
+
self._NatGatewayId = NatGatewayId
|
21334
|
+
|
21335
|
+
@property
|
21336
|
+
def TranslationDirection(self):
|
21337
|
+
return self._TranslationDirection
|
21338
|
+
|
21339
|
+
@TranslationDirection.setter
|
21340
|
+
def TranslationDirection(self, TranslationDirection):
|
21341
|
+
self._TranslationDirection = TranslationDirection
|
21342
|
+
|
21343
|
+
@property
|
21344
|
+
def TranslationType(self):
|
21345
|
+
return self._TranslationType
|
21346
|
+
|
21347
|
+
@TranslationType.setter
|
21348
|
+
def TranslationType(self, TranslationType):
|
21349
|
+
self._TranslationType = TranslationType
|
21350
|
+
|
21351
|
+
@property
|
21352
|
+
def TranslationIp(self):
|
21353
|
+
return self._TranslationIp
|
21354
|
+
|
21355
|
+
@TranslationIp.setter
|
21356
|
+
def TranslationIp(self, TranslationIp):
|
21357
|
+
self._TranslationIp = TranslationIp
|
21358
|
+
|
21359
|
+
@property
|
21360
|
+
def OriginalIp(self):
|
21361
|
+
return self._OriginalIp
|
21362
|
+
|
21363
|
+
@OriginalIp.setter
|
21364
|
+
def OriginalIp(self, OriginalIp):
|
21365
|
+
self._OriginalIp = OriginalIp
|
21366
|
+
|
21367
|
+
@property
|
21368
|
+
def Offset(self):
|
21369
|
+
return self._Offset
|
21370
|
+
|
21371
|
+
@Offset.setter
|
21372
|
+
def Offset(self, Offset):
|
21373
|
+
self._Offset = Offset
|
21374
|
+
|
21375
|
+
@property
|
21376
|
+
def Limit(self):
|
21377
|
+
return self._Limit
|
21378
|
+
|
21379
|
+
@Limit.setter
|
21380
|
+
def Limit(self, Limit):
|
21381
|
+
self._Limit = Limit
|
21382
|
+
|
21383
|
+
|
21384
|
+
def _deserialize(self, params):
|
21385
|
+
self._NatGatewayId = params.get("NatGatewayId")
|
21386
|
+
self._TranslationDirection = params.get("TranslationDirection")
|
21387
|
+
self._TranslationType = params.get("TranslationType")
|
21388
|
+
self._TranslationIp = params.get("TranslationIp")
|
21389
|
+
self._OriginalIp = params.get("OriginalIp")
|
21390
|
+
self._Offset = params.get("Offset")
|
21391
|
+
self._Limit = params.get("Limit")
|
21392
|
+
memeber_set = set(params.keys())
|
21393
|
+
for name, value in vars(self).items():
|
21394
|
+
property_name = name[1:]
|
21395
|
+
if property_name in memeber_set:
|
21396
|
+
memeber_set.remove(property_name)
|
21397
|
+
if len(memeber_set) > 0:
|
21398
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
21399
|
+
|
21400
|
+
|
21401
|
+
|
21402
|
+
class DescribePrivateNatGatewayTranslationAclRulesResponse(AbstractModel):
|
21403
|
+
"""DescribePrivateNatGatewayTranslationAclRules返回参数结构体
|
21404
|
+
|
21405
|
+
"""
|
21406
|
+
|
21407
|
+
def __init__(self):
|
21408
|
+
r"""
|
21409
|
+
:param _TotalCount: 返回个数。
|
21410
|
+
:type TotalCount: int
|
21411
|
+
:param _TranslationAclRuleSet: 访问控制规则列表。
|
21412
|
+
:type TranslationAclRuleSet: list of TranslationAclRule
|
21413
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
21414
|
+
:type RequestId: str
|
21415
|
+
"""
|
21416
|
+
self._TotalCount = None
|
21417
|
+
self._TranslationAclRuleSet = None
|
21418
|
+
self._RequestId = None
|
21419
|
+
|
21420
|
+
@property
|
21421
|
+
def TotalCount(self):
|
21422
|
+
return self._TotalCount
|
21423
|
+
|
21424
|
+
@TotalCount.setter
|
21425
|
+
def TotalCount(self, TotalCount):
|
21426
|
+
self._TotalCount = TotalCount
|
21427
|
+
|
21428
|
+
@property
|
21429
|
+
def TranslationAclRuleSet(self):
|
21430
|
+
return self._TranslationAclRuleSet
|
21431
|
+
|
21432
|
+
@TranslationAclRuleSet.setter
|
21433
|
+
def TranslationAclRuleSet(self, TranslationAclRuleSet):
|
21434
|
+
self._TranslationAclRuleSet = TranslationAclRuleSet
|
21435
|
+
|
21436
|
+
@property
|
21437
|
+
def RequestId(self):
|
21438
|
+
return self._RequestId
|
21439
|
+
|
21440
|
+
@RequestId.setter
|
21441
|
+
def RequestId(self, RequestId):
|
21442
|
+
self._RequestId = RequestId
|
21443
|
+
|
21444
|
+
|
21445
|
+
def _deserialize(self, params):
|
21446
|
+
self._TotalCount = params.get("TotalCount")
|
21447
|
+
if params.get("TranslationAclRuleSet") is not None:
|
21448
|
+
self._TranslationAclRuleSet = []
|
21449
|
+
for item in params.get("TranslationAclRuleSet"):
|
21450
|
+
obj = TranslationAclRule()
|
21451
|
+
obj._deserialize(item)
|
21452
|
+
self._TranslationAclRuleSet.append(obj)
|
21453
|
+
self._RequestId = params.get("RequestId")
|
21454
|
+
|
21455
|
+
|
21456
|
+
class DescribePrivateNatGatewayTranslationNatRulesRequest(AbstractModel):
|
21457
|
+
"""DescribePrivateNatGatewayTranslationNatRules请求参数结构体
|
21458
|
+
|
21459
|
+
"""
|
21460
|
+
|
21461
|
+
def __init__(self):
|
21462
|
+
r"""
|
21463
|
+
:param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
21464
|
+
:type NatGatewayId: str
|
21465
|
+
:param _Filters: 过滤条件。
|
21466
|
+
<li>OriginalIp - String - 转换规则源`IP`。</li>
|
21467
|
+
<li>TranslationIp - String - 转换`IP`。</li>
|
21468
|
+
<li>VpcId - String - 私网网关所在`VpcId`。</li>
|
21469
|
+
<li>Description - String - 转换规则描述</li>
|
21470
|
+
:type Filters: list of Filter
|
21471
|
+
:param _Offset: 偏移量。默认值为0。
|
21472
|
+
:type Offset: int
|
21473
|
+
:param _Limit: 返回数量。默认值为20。
|
21474
|
+
:type Limit: int
|
21475
|
+
"""
|
21476
|
+
self._NatGatewayId = None
|
21477
|
+
self._Filters = None
|
21478
|
+
self._Offset = None
|
21479
|
+
self._Limit = None
|
21480
|
+
|
21481
|
+
@property
|
21482
|
+
def NatGatewayId(self):
|
21483
|
+
return self._NatGatewayId
|
21484
|
+
|
21485
|
+
@NatGatewayId.setter
|
21486
|
+
def NatGatewayId(self, NatGatewayId):
|
21487
|
+
self._NatGatewayId = NatGatewayId
|
21488
|
+
|
21489
|
+
@property
|
21490
|
+
def Filters(self):
|
21491
|
+
return self._Filters
|
21492
|
+
|
21493
|
+
@Filters.setter
|
21494
|
+
def Filters(self, Filters):
|
21495
|
+
self._Filters = Filters
|
21496
|
+
|
21497
|
+
@property
|
21498
|
+
def Offset(self):
|
21499
|
+
return self._Offset
|
21500
|
+
|
21501
|
+
@Offset.setter
|
21502
|
+
def Offset(self, Offset):
|
21503
|
+
self._Offset = Offset
|
21504
|
+
|
21505
|
+
@property
|
21506
|
+
def Limit(self):
|
21507
|
+
return self._Limit
|
21508
|
+
|
21509
|
+
@Limit.setter
|
21510
|
+
def Limit(self, Limit):
|
21511
|
+
self._Limit = Limit
|
21512
|
+
|
21513
|
+
|
21514
|
+
def _deserialize(self, params):
|
21515
|
+
self._NatGatewayId = params.get("NatGatewayId")
|
20107
21516
|
if params.get("Filters") is not None:
|
20108
21517
|
self._Filters = []
|
20109
21518
|
for item in params.get("Filters"):
|
@@ -20122,31 +21531,179 @@ class DescribeNetworkInterfacesRequest(AbstractModel):
|
|
20122
21531
|
|
20123
21532
|
|
20124
21533
|
|
20125
|
-
class
|
20126
|
-
"""
|
21534
|
+
class DescribePrivateNatGatewayTranslationNatRulesResponse(AbstractModel):
|
21535
|
+
"""DescribePrivateNatGatewayTranslationNatRules返回参数结构体
|
20127
21536
|
|
20128
21537
|
"""
|
20129
21538
|
|
20130
21539
|
def __init__(self):
|
20131
21540
|
r"""
|
20132
|
-
:param
|
20133
|
-
:type NetworkInterfaceSet: list of NetworkInterface
|
20134
|
-
:param _TotalCount: 符合条件的实例数量。
|
21541
|
+
:param _TotalCount: 对象数目。
|
20135
21542
|
:type TotalCount: int
|
21543
|
+
:param _TranslationNatRuleSet: 转换规则详情数组。
|
21544
|
+
:type TranslationNatRuleSet: list of TranslationNatRule
|
20136
21545
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
20137
21546
|
:type RequestId: str
|
20138
21547
|
"""
|
20139
|
-
self._NetworkInterfaceSet = None
|
20140
21548
|
self._TotalCount = None
|
21549
|
+
self._TranslationNatRuleSet = None
|
20141
21550
|
self._RequestId = None
|
20142
21551
|
|
20143
21552
|
@property
|
20144
|
-
def
|
20145
|
-
return self.
|
21553
|
+
def TotalCount(self):
|
21554
|
+
return self._TotalCount
|
20146
21555
|
|
20147
|
-
@
|
20148
|
-
def
|
20149
|
-
self.
|
21556
|
+
@TotalCount.setter
|
21557
|
+
def TotalCount(self, TotalCount):
|
21558
|
+
self._TotalCount = TotalCount
|
21559
|
+
|
21560
|
+
@property
|
21561
|
+
def TranslationNatRuleSet(self):
|
21562
|
+
return self._TranslationNatRuleSet
|
21563
|
+
|
21564
|
+
@TranslationNatRuleSet.setter
|
21565
|
+
def TranslationNatRuleSet(self, TranslationNatRuleSet):
|
21566
|
+
self._TranslationNatRuleSet = TranslationNatRuleSet
|
21567
|
+
|
21568
|
+
@property
|
21569
|
+
def RequestId(self):
|
21570
|
+
return self._RequestId
|
21571
|
+
|
21572
|
+
@RequestId.setter
|
21573
|
+
def RequestId(self, RequestId):
|
21574
|
+
self._RequestId = RequestId
|
21575
|
+
|
21576
|
+
|
21577
|
+
def _deserialize(self, params):
|
21578
|
+
self._TotalCount = params.get("TotalCount")
|
21579
|
+
if params.get("TranslationNatRuleSet") is not None:
|
21580
|
+
self._TranslationNatRuleSet = []
|
21581
|
+
for item in params.get("TranslationNatRuleSet"):
|
21582
|
+
obj = TranslationNatRule()
|
21583
|
+
obj._deserialize(item)
|
21584
|
+
self._TranslationNatRuleSet.append(obj)
|
21585
|
+
self._RequestId = params.get("RequestId")
|
21586
|
+
|
21587
|
+
|
21588
|
+
class DescribePrivateNatGatewaysRequest(AbstractModel):
|
21589
|
+
"""DescribePrivateNatGateways请求参数结构体
|
21590
|
+
|
21591
|
+
"""
|
21592
|
+
|
21593
|
+
def __init__(self):
|
21594
|
+
r"""
|
21595
|
+
:param _NatGatewayIds: 私网网关唯一`ID`,形如:`intranat-0g3blj80`。
|
21596
|
+
:type NatGatewayIds: list of str
|
21597
|
+
:param _Filters: 过滤条件。
|
21598
|
+
<li>NatGatewayId - String - 私网网关唯一`ID`,形如:`intranat-0g3blj80`。</li>
|
21599
|
+
<li>NatGatewayName - String - 专线网关名称,默认模糊查询。</li>
|
21600
|
+
<li>VpcId - String - 私网网关所在`VpcId`。</li>
|
21601
|
+
<li>TagKey - Tag数组 - 私网网关标签键值对数组</li>
|
21602
|
+
:type Filters: list of Filter
|
21603
|
+
:param _Offset: 偏移量,默认为0。
|
21604
|
+
:type Offset: int
|
21605
|
+
:param _Limit: 返回数量,默认为20。
|
21606
|
+
:type Limit: int
|
21607
|
+
:param _OrderField: 排序字段。可选值:"NatGatewayId"、"NatGatewayName"、"CreatedTime"
|
21608
|
+
:type OrderField: str
|
21609
|
+
:param _OrderDirection: 排序方式。可选值:"ASC"、"DESC"。
|
21610
|
+
:type OrderDirection: str
|
21611
|
+
"""
|
21612
|
+
self._NatGatewayIds = None
|
21613
|
+
self._Filters = None
|
21614
|
+
self._Offset = None
|
21615
|
+
self._Limit = None
|
21616
|
+
self._OrderField = None
|
21617
|
+
self._OrderDirection = None
|
21618
|
+
|
21619
|
+
@property
|
21620
|
+
def NatGatewayIds(self):
|
21621
|
+
return self._NatGatewayIds
|
21622
|
+
|
21623
|
+
@NatGatewayIds.setter
|
21624
|
+
def NatGatewayIds(self, NatGatewayIds):
|
21625
|
+
self._NatGatewayIds = NatGatewayIds
|
21626
|
+
|
21627
|
+
@property
|
21628
|
+
def Filters(self):
|
21629
|
+
return self._Filters
|
21630
|
+
|
21631
|
+
@Filters.setter
|
21632
|
+
def Filters(self, Filters):
|
21633
|
+
self._Filters = Filters
|
21634
|
+
|
21635
|
+
@property
|
21636
|
+
def Offset(self):
|
21637
|
+
return self._Offset
|
21638
|
+
|
21639
|
+
@Offset.setter
|
21640
|
+
def Offset(self, Offset):
|
21641
|
+
self._Offset = Offset
|
21642
|
+
|
21643
|
+
@property
|
21644
|
+
def Limit(self):
|
21645
|
+
return self._Limit
|
21646
|
+
|
21647
|
+
@Limit.setter
|
21648
|
+
def Limit(self, Limit):
|
21649
|
+
self._Limit = Limit
|
21650
|
+
|
21651
|
+
@property
|
21652
|
+
def OrderField(self):
|
21653
|
+
return self._OrderField
|
21654
|
+
|
21655
|
+
@OrderField.setter
|
21656
|
+
def OrderField(self, OrderField):
|
21657
|
+
self._OrderField = OrderField
|
21658
|
+
|
21659
|
+
@property
|
21660
|
+
def OrderDirection(self):
|
21661
|
+
return self._OrderDirection
|
21662
|
+
|
21663
|
+
@OrderDirection.setter
|
21664
|
+
def OrderDirection(self, OrderDirection):
|
21665
|
+
self._OrderDirection = OrderDirection
|
21666
|
+
|
21667
|
+
|
21668
|
+
def _deserialize(self, params):
|
21669
|
+
self._NatGatewayIds = params.get("NatGatewayIds")
|
21670
|
+
if params.get("Filters") is not None:
|
21671
|
+
self._Filters = []
|
21672
|
+
for item in params.get("Filters"):
|
21673
|
+
obj = Filter()
|
21674
|
+
obj._deserialize(item)
|
21675
|
+
self._Filters.append(obj)
|
21676
|
+
self._Offset = params.get("Offset")
|
21677
|
+
self._Limit = params.get("Limit")
|
21678
|
+
self._OrderField = params.get("OrderField")
|
21679
|
+
self._OrderDirection = params.get("OrderDirection")
|
21680
|
+
memeber_set = set(params.keys())
|
21681
|
+
for name, value in vars(self).items():
|
21682
|
+
property_name = name[1:]
|
21683
|
+
if property_name in memeber_set:
|
21684
|
+
memeber_set.remove(property_name)
|
21685
|
+
if len(memeber_set) > 0:
|
21686
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
21687
|
+
|
21688
|
+
|
21689
|
+
|
21690
|
+
class DescribePrivateNatGatewaysResponse(AbstractModel):
|
21691
|
+
"""DescribePrivateNatGateways返回参数结构体
|
21692
|
+
|
21693
|
+
"""
|
21694
|
+
|
21695
|
+
def __init__(self):
|
21696
|
+
r"""
|
21697
|
+
:param _TotalCount: 符合条件的对象数。
|
21698
|
+
:type TotalCount: int
|
21699
|
+
:param _PrivateNatGatewaySet: 私网网关对象数组。
|
21700
|
+
:type PrivateNatGatewaySet: list of PrivateNatGateway
|
21701
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
21702
|
+
:type RequestId: str
|
21703
|
+
"""
|
21704
|
+
self._TotalCount = None
|
21705
|
+
self._PrivateNatGatewaySet = None
|
21706
|
+
self._RequestId = None
|
20150
21707
|
|
20151
21708
|
@property
|
20152
21709
|
def TotalCount(self):
|
@@ -20156,6 +21713,14 @@ class DescribeNetworkInterfacesResponse(AbstractModel):
|
|
20156
21713
|
def TotalCount(self, TotalCount):
|
20157
21714
|
self._TotalCount = TotalCount
|
20158
21715
|
|
21716
|
+
@property
|
21717
|
+
def PrivateNatGatewaySet(self):
|
21718
|
+
return self._PrivateNatGatewaySet
|
21719
|
+
|
21720
|
+
@PrivateNatGatewaySet.setter
|
21721
|
+
def PrivateNatGatewaySet(self, PrivateNatGatewaySet):
|
21722
|
+
self._PrivateNatGatewaySet = PrivateNatGatewaySet
|
21723
|
+
|
20159
21724
|
@property
|
20160
21725
|
def RequestId(self):
|
20161
21726
|
return self._RequestId
|
@@ -20166,13 +21731,13 @@ class DescribeNetworkInterfacesResponse(AbstractModel):
|
|
20166
21731
|
|
20167
21732
|
|
20168
21733
|
def _deserialize(self, params):
|
20169
|
-
if params.get("NetworkInterfaceSet") is not None:
|
20170
|
-
self._NetworkInterfaceSet = []
|
20171
|
-
for item in params.get("NetworkInterfaceSet"):
|
20172
|
-
obj = NetworkInterface()
|
20173
|
-
obj._deserialize(item)
|
20174
|
-
self._NetworkInterfaceSet.append(obj)
|
20175
21734
|
self._TotalCount = params.get("TotalCount")
|
21735
|
+
if params.get("PrivateNatGatewaySet") is not None:
|
21736
|
+
self._PrivateNatGatewaySet = []
|
21737
|
+
for item in params.get("PrivateNatGatewaySet"):
|
21738
|
+
obj = PrivateNatGateway()
|
21739
|
+
obj._deserialize(item)
|
21740
|
+
self._PrivateNatGatewaySet.append(obj)
|
20176
21741
|
self._RequestId = params.get("RequestId")
|
20177
21742
|
|
20178
21743
|
|
@@ -24916,6 +26481,159 @@ class DestinationIpPortTranslationNatRule(AbstractModel):
|
|
24916
26481
|
|
24917
26482
|
|
24918
26483
|
|
26484
|
+
class DestinationIpPortTranslationNatRuleDiff(AbstractModel):
|
26485
|
+
"""本端目的IP端口转换复杂结构
|
26486
|
+
|
26487
|
+
"""
|
26488
|
+
|
26489
|
+
def __init__(self):
|
26490
|
+
r"""
|
26491
|
+
:param _Protocol: 协议
|
26492
|
+
:type Protocol: str
|
26493
|
+
:param _OriginalPort: 源端口
|
26494
|
+
:type OriginalPort: int
|
26495
|
+
:param _OriginalIp: 源IP
|
26496
|
+
:type OriginalIp: str
|
26497
|
+
:param _TranslationPort: 目的端口
|
26498
|
+
:type TranslationPort: int
|
26499
|
+
:param _TranslationIp: 目的IP
|
26500
|
+
:type TranslationIp: str
|
26501
|
+
:param _OldProtocol: 旧协议。
|
26502
|
+
:type OldProtocol: str
|
26503
|
+
:param _OldOriginalPort: 旧源端口
|
26504
|
+
:type OldOriginalPort: int
|
26505
|
+
:param _OldOriginalIp: 旧源IP
|
26506
|
+
:type OldOriginalIp: str
|
26507
|
+
:param _OldTranslationPort: 旧目的端口
|
26508
|
+
:type OldTranslationPort: int
|
26509
|
+
:param _OldTranslationIp: 旧目的IP
|
26510
|
+
:type OldTranslationIp: str
|
26511
|
+
:param _Description: 描述
|
26512
|
+
:type Description: str
|
26513
|
+
"""
|
26514
|
+
self._Protocol = None
|
26515
|
+
self._OriginalPort = None
|
26516
|
+
self._OriginalIp = None
|
26517
|
+
self._TranslationPort = None
|
26518
|
+
self._TranslationIp = None
|
26519
|
+
self._OldProtocol = None
|
26520
|
+
self._OldOriginalPort = None
|
26521
|
+
self._OldOriginalIp = None
|
26522
|
+
self._OldTranslationPort = None
|
26523
|
+
self._OldTranslationIp = None
|
26524
|
+
self._Description = None
|
26525
|
+
|
26526
|
+
@property
|
26527
|
+
def Protocol(self):
|
26528
|
+
return self._Protocol
|
26529
|
+
|
26530
|
+
@Protocol.setter
|
26531
|
+
def Protocol(self, Protocol):
|
26532
|
+
self._Protocol = Protocol
|
26533
|
+
|
26534
|
+
@property
|
26535
|
+
def OriginalPort(self):
|
26536
|
+
return self._OriginalPort
|
26537
|
+
|
26538
|
+
@OriginalPort.setter
|
26539
|
+
def OriginalPort(self, OriginalPort):
|
26540
|
+
self._OriginalPort = OriginalPort
|
26541
|
+
|
26542
|
+
@property
|
26543
|
+
def OriginalIp(self):
|
26544
|
+
return self._OriginalIp
|
26545
|
+
|
26546
|
+
@OriginalIp.setter
|
26547
|
+
def OriginalIp(self, OriginalIp):
|
26548
|
+
self._OriginalIp = OriginalIp
|
26549
|
+
|
26550
|
+
@property
|
26551
|
+
def TranslationPort(self):
|
26552
|
+
return self._TranslationPort
|
26553
|
+
|
26554
|
+
@TranslationPort.setter
|
26555
|
+
def TranslationPort(self, TranslationPort):
|
26556
|
+
self._TranslationPort = TranslationPort
|
26557
|
+
|
26558
|
+
@property
|
26559
|
+
def TranslationIp(self):
|
26560
|
+
return self._TranslationIp
|
26561
|
+
|
26562
|
+
@TranslationIp.setter
|
26563
|
+
def TranslationIp(self, TranslationIp):
|
26564
|
+
self._TranslationIp = TranslationIp
|
26565
|
+
|
26566
|
+
@property
|
26567
|
+
def OldProtocol(self):
|
26568
|
+
return self._OldProtocol
|
26569
|
+
|
26570
|
+
@OldProtocol.setter
|
26571
|
+
def OldProtocol(self, OldProtocol):
|
26572
|
+
self._OldProtocol = OldProtocol
|
26573
|
+
|
26574
|
+
@property
|
26575
|
+
def OldOriginalPort(self):
|
26576
|
+
return self._OldOriginalPort
|
26577
|
+
|
26578
|
+
@OldOriginalPort.setter
|
26579
|
+
def OldOriginalPort(self, OldOriginalPort):
|
26580
|
+
self._OldOriginalPort = OldOriginalPort
|
26581
|
+
|
26582
|
+
@property
|
26583
|
+
def OldOriginalIp(self):
|
26584
|
+
return self._OldOriginalIp
|
26585
|
+
|
26586
|
+
@OldOriginalIp.setter
|
26587
|
+
def OldOriginalIp(self, OldOriginalIp):
|
26588
|
+
self._OldOriginalIp = OldOriginalIp
|
26589
|
+
|
26590
|
+
@property
|
26591
|
+
def OldTranslationPort(self):
|
26592
|
+
return self._OldTranslationPort
|
26593
|
+
|
26594
|
+
@OldTranslationPort.setter
|
26595
|
+
def OldTranslationPort(self, OldTranslationPort):
|
26596
|
+
self._OldTranslationPort = OldTranslationPort
|
26597
|
+
|
26598
|
+
@property
|
26599
|
+
def OldTranslationIp(self):
|
26600
|
+
return self._OldTranslationIp
|
26601
|
+
|
26602
|
+
@OldTranslationIp.setter
|
26603
|
+
def OldTranslationIp(self, OldTranslationIp):
|
26604
|
+
self._OldTranslationIp = OldTranslationIp
|
26605
|
+
|
26606
|
+
@property
|
26607
|
+
def Description(self):
|
26608
|
+
return self._Description
|
26609
|
+
|
26610
|
+
@Description.setter
|
26611
|
+
def Description(self, Description):
|
26612
|
+
self._Description = Description
|
26613
|
+
|
26614
|
+
|
26615
|
+
def _deserialize(self, params):
|
26616
|
+
self._Protocol = params.get("Protocol")
|
26617
|
+
self._OriginalPort = params.get("OriginalPort")
|
26618
|
+
self._OriginalIp = params.get("OriginalIp")
|
26619
|
+
self._TranslationPort = params.get("TranslationPort")
|
26620
|
+
self._TranslationIp = params.get("TranslationIp")
|
26621
|
+
self._OldProtocol = params.get("OldProtocol")
|
26622
|
+
self._OldOriginalPort = params.get("OldOriginalPort")
|
26623
|
+
self._OldOriginalIp = params.get("OldOriginalIp")
|
26624
|
+
self._OldTranslationPort = params.get("OldTranslationPort")
|
26625
|
+
self._OldTranslationIp = params.get("OldTranslationIp")
|
26626
|
+
self._Description = params.get("Description")
|
26627
|
+
memeber_set = set(params.keys())
|
26628
|
+
for name, value in vars(self).items():
|
26629
|
+
property_name = name[1:]
|
26630
|
+
if property_name in memeber_set:
|
26631
|
+
memeber_set.remove(property_name)
|
26632
|
+
if len(memeber_set) > 0:
|
26633
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
26634
|
+
|
26635
|
+
|
26636
|
+
|
24919
26637
|
class DetachCcnInstancesRequest(AbstractModel):
|
24920
26638
|
"""DetachCcnInstances请求参数结构体
|
24921
26639
|
|
@@ -28854,6 +30572,79 @@ class HaVipDisassociateAddressIpResponse(AbstractModel):
|
|
28854
30572
|
self._RequestId = params.get("RequestId")
|
28855
30573
|
|
28856
30574
|
|
30575
|
+
class HealthCheckConfig(AbstractModel):
|
30576
|
+
"""VPN通道健康检查配置
|
30577
|
+
|
30578
|
+
"""
|
30579
|
+
|
30580
|
+
def __init__(self):
|
30581
|
+
r"""
|
30582
|
+
:param _ProbeType: 探测模式,默认值NQA,不可修改。
|
30583
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30584
|
+
:type ProbeType: str
|
30585
|
+
:param _ProbeInterval: 探测间隔,腾讯云两次健康检查间隔时间,范围【1000-5000】,单位ms。
|
30586
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30587
|
+
:type ProbeInterval: int
|
30588
|
+
:param _ProbeThreshold: 探测次数,连续N次健康检查失败后执行路由切换,范围【3-8】,单位次。
|
30589
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30590
|
+
:type ProbeThreshold: int
|
30591
|
+
:param _ProbeTimeout: 探测超时时间,范围【10-5000】,单位ms。
|
30592
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30593
|
+
:type ProbeTimeout: int
|
30594
|
+
"""
|
30595
|
+
self._ProbeType = None
|
30596
|
+
self._ProbeInterval = None
|
30597
|
+
self._ProbeThreshold = None
|
30598
|
+
self._ProbeTimeout = None
|
30599
|
+
|
30600
|
+
@property
|
30601
|
+
def ProbeType(self):
|
30602
|
+
return self._ProbeType
|
30603
|
+
|
30604
|
+
@ProbeType.setter
|
30605
|
+
def ProbeType(self, ProbeType):
|
30606
|
+
self._ProbeType = ProbeType
|
30607
|
+
|
30608
|
+
@property
|
30609
|
+
def ProbeInterval(self):
|
30610
|
+
return self._ProbeInterval
|
30611
|
+
|
30612
|
+
@ProbeInterval.setter
|
30613
|
+
def ProbeInterval(self, ProbeInterval):
|
30614
|
+
self._ProbeInterval = ProbeInterval
|
30615
|
+
|
30616
|
+
@property
|
30617
|
+
def ProbeThreshold(self):
|
30618
|
+
return self._ProbeThreshold
|
30619
|
+
|
30620
|
+
@ProbeThreshold.setter
|
30621
|
+
def ProbeThreshold(self, ProbeThreshold):
|
30622
|
+
self._ProbeThreshold = ProbeThreshold
|
30623
|
+
|
30624
|
+
@property
|
30625
|
+
def ProbeTimeout(self):
|
30626
|
+
return self._ProbeTimeout
|
30627
|
+
|
30628
|
+
@ProbeTimeout.setter
|
30629
|
+
def ProbeTimeout(self, ProbeTimeout):
|
30630
|
+
self._ProbeTimeout = ProbeTimeout
|
30631
|
+
|
30632
|
+
|
30633
|
+
def _deserialize(self, params):
|
30634
|
+
self._ProbeType = params.get("ProbeType")
|
30635
|
+
self._ProbeInterval = params.get("ProbeInterval")
|
30636
|
+
self._ProbeThreshold = params.get("ProbeThreshold")
|
30637
|
+
self._ProbeTimeout = params.get("ProbeTimeout")
|
30638
|
+
memeber_set = set(params.keys())
|
30639
|
+
for name, value in vars(self).items():
|
30640
|
+
property_name = name[1:]
|
30641
|
+
if property_name in memeber_set:
|
30642
|
+
memeber_set.remove(property_name)
|
30643
|
+
if len(memeber_set) > 0:
|
30644
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
30645
|
+
|
30646
|
+
|
30647
|
+
|
28857
30648
|
class IKEOptionsSpecification(AbstractModel):
|
28858
30649
|
"""IKE配置(Internet Key Exchange,因特网密钥交换),IKE具有一套自我保护机制,用户配置网络安全协议
|
28859
30650
|
|
@@ -30440,6 +32231,99 @@ class ItemPrice(AbstractModel):
|
|
30440
32231
|
|
30441
32232
|
|
30442
32233
|
|
32234
|
+
class LocalDestinationIpPortTranslationNatRule(AbstractModel):
|
32235
|
+
"""本端目的IP端口转换复杂结构
|
32236
|
+
|
32237
|
+
"""
|
32238
|
+
|
32239
|
+
def __init__(self):
|
32240
|
+
r"""
|
32241
|
+
:param _Protocol: 协议
|
32242
|
+
:type Protocol: str
|
32243
|
+
:param _OriginalPort: 源端口
|
32244
|
+
:type OriginalPort: int
|
32245
|
+
:param _OriginalIp: 源IP
|
32246
|
+
:type OriginalIp: str
|
32247
|
+
:param _TranslationPort: 目的端口
|
32248
|
+
:type TranslationPort: int
|
32249
|
+
:param _TranslationIp: 目的IP
|
32250
|
+
:type TranslationIp: str
|
32251
|
+
:param _Description: 描述
|
32252
|
+
:type Description: str
|
32253
|
+
"""
|
32254
|
+
self._Protocol = None
|
32255
|
+
self._OriginalPort = None
|
32256
|
+
self._OriginalIp = None
|
32257
|
+
self._TranslationPort = None
|
32258
|
+
self._TranslationIp = None
|
32259
|
+
self._Description = None
|
32260
|
+
|
32261
|
+
@property
|
32262
|
+
def Protocol(self):
|
32263
|
+
return self._Protocol
|
32264
|
+
|
32265
|
+
@Protocol.setter
|
32266
|
+
def Protocol(self, Protocol):
|
32267
|
+
self._Protocol = Protocol
|
32268
|
+
|
32269
|
+
@property
|
32270
|
+
def OriginalPort(self):
|
32271
|
+
return self._OriginalPort
|
32272
|
+
|
32273
|
+
@OriginalPort.setter
|
32274
|
+
def OriginalPort(self, OriginalPort):
|
32275
|
+
self._OriginalPort = OriginalPort
|
32276
|
+
|
32277
|
+
@property
|
32278
|
+
def OriginalIp(self):
|
32279
|
+
return self._OriginalIp
|
32280
|
+
|
32281
|
+
@OriginalIp.setter
|
32282
|
+
def OriginalIp(self, OriginalIp):
|
32283
|
+
self._OriginalIp = OriginalIp
|
32284
|
+
|
32285
|
+
@property
|
32286
|
+
def TranslationPort(self):
|
32287
|
+
return self._TranslationPort
|
32288
|
+
|
32289
|
+
@TranslationPort.setter
|
32290
|
+
def TranslationPort(self, TranslationPort):
|
32291
|
+
self._TranslationPort = TranslationPort
|
32292
|
+
|
32293
|
+
@property
|
32294
|
+
def TranslationIp(self):
|
32295
|
+
return self._TranslationIp
|
32296
|
+
|
32297
|
+
@TranslationIp.setter
|
32298
|
+
def TranslationIp(self, TranslationIp):
|
32299
|
+
self._TranslationIp = TranslationIp
|
32300
|
+
|
32301
|
+
@property
|
32302
|
+
def Description(self):
|
32303
|
+
return self._Description
|
32304
|
+
|
32305
|
+
@Description.setter
|
32306
|
+
def Description(self, Description):
|
32307
|
+
self._Description = Description
|
32308
|
+
|
32309
|
+
|
32310
|
+
def _deserialize(self, params):
|
32311
|
+
self._Protocol = params.get("Protocol")
|
32312
|
+
self._OriginalPort = params.get("OriginalPort")
|
32313
|
+
self._OriginalIp = params.get("OriginalIp")
|
32314
|
+
self._TranslationPort = params.get("TranslationPort")
|
32315
|
+
self._TranslationIp = params.get("TranslationIp")
|
32316
|
+
self._Description = params.get("Description")
|
32317
|
+
memeber_set = set(params.keys())
|
32318
|
+
for name, value in vars(self).items():
|
32319
|
+
property_name = name[1:]
|
32320
|
+
if property_name in memeber_set:
|
32321
|
+
memeber_set.remove(property_name)
|
32322
|
+
if len(memeber_set) > 0:
|
32323
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
32324
|
+
|
32325
|
+
|
32326
|
+
|
30443
32327
|
class LocalGateway(AbstractModel):
|
30444
32328
|
"""本地网关信息
|
30445
32329
|
|
@@ -33580,6 +35464,361 @@ class ModifyPrivateIpAddressesAttributeResponse(AbstractModel):
|
|
33580
35464
|
self._RequestId = params.get("RequestId")
|
33581
35465
|
|
33582
35466
|
|
35467
|
+
class ModifyPrivateNatGatewayAttributeRequest(AbstractModel):
|
35468
|
+
"""ModifyPrivateNatGatewayAttribute请求参数结构体
|
35469
|
+
|
35470
|
+
"""
|
35471
|
+
|
35472
|
+
def __init__(self):
|
35473
|
+
r"""
|
35474
|
+
:param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
35475
|
+
:type NatGatewayId: str
|
35476
|
+
:param _NatGatewayName: 私网网关名称,可任意命名,但不得超过60个字符。
|
35477
|
+
:type NatGatewayName: str
|
35478
|
+
"""
|
35479
|
+
self._NatGatewayId = None
|
35480
|
+
self._NatGatewayName = None
|
35481
|
+
|
35482
|
+
@property
|
35483
|
+
def NatGatewayId(self):
|
35484
|
+
return self._NatGatewayId
|
35485
|
+
|
35486
|
+
@NatGatewayId.setter
|
35487
|
+
def NatGatewayId(self, NatGatewayId):
|
35488
|
+
self._NatGatewayId = NatGatewayId
|
35489
|
+
|
35490
|
+
@property
|
35491
|
+
def NatGatewayName(self):
|
35492
|
+
return self._NatGatewayName
|
35493
|
+
|
35494
|
+
@NatGatewayName.setter
|
35495
|
+
def NatGatewayName(self, NatGatewayName):
|
35496
|
+
self._NatGatewayName = NatGatewayName
|
35497
|
+
|
35498
|
+
|
35499
|
+
def _deserialize(self, params):
|
35500
|
+
self._NatGatewayId = params.get("NatGatewayId")
|
35501
|
+
self._NatGatewayName = params.get("NatGatewayName")
|
35502
|
+
memeber_set = set(params.keys())
|
35503
|
+
for name, value in vars(self).items():
|
35504
|
+
property_name = name[1:]
|
35505
|
+
if property_name in memeber_set:
|
35506
|
+
memeber_set.remove(property_name)
|
35507
|
+
if len(memeber_set) > 0:
|
35508
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
35509
|
+
|
35510
|
+
|
35511
|
+
|
35512
|
+
class ModifyPrivateNatGatewayAttributeResponse(AbstractModel):
|
35513
|
+
"""ModifyPrivateNatGatewayAttribute返回参数结构体
|
35514
|
+
|
35515
|
+
"""
|
35516
|
+
|
35517
|
+
def __init__(self):
|
35518
|
+
r"""
|
35519
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
35520
|
+
:type RequestId: str
|
35521
|
+
"""
|
35522
|
+
self._RequestId = None
|
35523
|
+
|
35524
|
+
@property
|
35525
|
+
def RequestId(self):
|
35526
|
+
return self._RequestId
|
35527
|
+
|
35528
|
+
@RequestId.setter
|
35529
|
+
def RequestId(self, RequestId):
|
35530
|
+
self._RequestId = RequestId
|
35531
|
+
|
35532
|
+
|
35533
|
+
def _deserialize(self, params):
|
35534
|
+
self._RequestId = params.get("RequestId")
|
35535
|
+
|
35536
|
+
|
35537
|
+
class ModifyPrivateNatGatewayDestinationIpPortTranslationNatRuleRequest(AbstractModel):
|
35538
|
+
"""ModifyPrivateNatGatewayDestinationIpPortTranslationNatRule请求参数结构体
|
35539
|
+
|
35540
|
+
"""
|
35541
|
+
|
35542
|
+
def __init__(self):
|
35543
|
+
r"""
|
35544
|
+
:param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
35545
|
+
:type NatGatewayId: str
|
35546
|
+
:param _LocalDestinationIpPortTranslationNatRules: 目的端口转换规则列表。
|
35547
|
+
:type LocalDestinationIpPortTranslationNatRules: list of DestinationIpPortTranslationNatRuleDiff
|
35548
|
+
"""
|
35549
|
+
self._NatGatewayId = None
|
35550
|
+
self._LocalDestinationIpPortTranslationNatRules = None
|
35551
|
+
|
35552
|
+
@property
|
35553
|
+
def NatGatewayId(self):
|
35554
|
+
return self._NatGatewayId
|
35555
|
+
|
35556
|
+
@NatGatewayId.setter
|
35557
|
+
def NatGatewayId(self, NatGatewayId):
|
35558
|
+
self._NatGatewayId = NatGatewayId
|
35559
|
+
|
35560
|
+
@property
|
35561
|
+
def LocalDestinationIpPortTranslationNatRules(self):
|
35562
|
+
return self._LocalDestinationIpPortTranslationNatRules
|
35563
|
+
|
35564
|
+
@LocalDestinationIpPortTranslationNatRules.setter
|
35565
|
+
def LocalDestinationIpPortTranslationNatRules(self, LocalDestinationIpPortTranslationNatRules):
|
35566
|
+
self._LocalDestinationIpPortTranslationNatRules = LocalDestinationIpPortTranslationNatRules
|
35567
|
+
|
35568
|
+
|
35569
|
+
def _deserialize(self, params):
|
35570
|
+
self._NatGatewayId = params.get("NatGatewayId")
|
35571
|
+
if params.get("LocalDestinationIpPortTranslationNatRules") is not None:
|
35572
|
+
self._LocalDestinationIpPortTranslationNatRules = []
|
35573
|
+
for item in params.get("LocalDestinationIpPortTranslationNatRules"):
|
35574
|
+
obj = DestinationIpPortTranslationNatRuleDiff()
|
35575
|
+
obj._deserialize(item)
|
35576
|
+
self._LocalDestinationIpPortTranslationNatRules.append(obj)
|
35577
|
+
memeber_set = set(params.keys())
|
35578
|
+
for name, value in vars(self).items():
|
35579
|
+
property_name = name[1:]
|
35580
|
+
if property_name in memeber_set:
|
35581
|
+
memeber_set.remove(property_name)
|
35582
|
+
if len(memeber_set) > 0:
|
35583
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
35584
|
+
|
35585
|
+
|
35586
|
+
|
35587
|
+
class ModifyPrivateNatGatewayDestinationIpPortTranslationNatRuleResponse(AbstractModel):
|
35588
|
+
"""ModifyPrivateNatGatewayDestinationIpPortTranslationNatRule返回参数结构体
|
35589
|
+
|
35590
|
+
"""
|
35591
|
+
|
35592
|
+
def __init__(self):
|
35593
|
+
r"""
|
35594
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
35595
|
+
:type RequestId: str
|
35596
|
+
"""
|
35597
|
+
self._RequestId = None
|
35598
|
+
|
35599
|
+
@property
|
35600
|
+
def RequestId(self):
|
35601
|
+
return self._RequestId
|
35602
|
+
|
35603
|
+
@RequestId.setter
|
35604
|
+
def RequestId(self, RequestId):
|
35605
|
+
self._RequestId = RequestId
|
35606
|
+
|
35607
|
+
|
35608
|
+
def _deserialize(self, params):
|
35609
|
+
self._RequestId = params.get("RequestId")
|
35610
|
+
|
35611
|
+
|
35612
|
+
class ModifyPrivateNatGatewayTranslationAclRuleRequest(AbstractModel):
|
35613
|
+
"""ModifyPrivateNatGatewayTranslationAclRule请求参数结构体
|
35614
|
+
|
35615
|
+
"""
|
35616
|
+
|
35617
|
+
def __init__(self):
|
35618
|
+
r"""
|
35619
|
+
:param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
35620
|
+
:type NatGatewayId: str
|
35621
|
+
:param _TranslationDirection: 转换规则目标,可选值"LOCAL"。
|
35622
|
+
:type TranslationDirection: str
|
35623
|
+
:param _TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
|
35624
|
+
:type TranslationType: str
|
35625
|
+
:param _TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池
|
35626
|
+
:type TranslationIp: str
|
35627
|
+
:param _TranslationAclRules: 访问控制列表,需要附带AclRuleId参数。
|
35628
|
+
:type TranslationAclRules: list of TranslationAclRule
|
35629
|
+
:param _OriginalIp: 源`IP`,当转换规则类型为三层时有效
|
35630
|
+
:type OriginalIp: str
|
35631
|
+
"""
|
35632
|
+
self._NatGatewayId = None
|
35633
|
+
self._TranslationDirection = None
|
35634
|
+
self._TranslationType = None
|
35635
|
+
self._TranslationIp = None
|
35636
|
+
self._TranslationAclRules = None
|
35637
|
+
self._OriginalIp = None
|
35638
|
+
|
35639
|
+
@property
|
35640
|
+
def NatGatewayId(self):
|
35641
|
+
return self._NatGatewayId
|
35642
|
+
|
35643
|
+
@NatGatewayId.setter
|
35644
|
+
def NatGatewayId(self, NatGatewayId):
|
35645
|
+
self._NatGatewayId = NatGatewayId
|
35646
|
+
|
35647
|
+
@property
|
35648
|
+
def TranslationDirection(self):
|
35649
|
+
return self._TranslationDirection
|
35650
|
+
|
35651
|
+
@TranslationDirection.setter
|
35652
|
+
def TranslationDirection(self, TranslationDirection):
|
35653
|
+
self._TranslationDirection = TranslationDirection
|
35654
|
+
|
35655
|
+
@property
|
35656
|
+
def TranslationType(self):
|
35657
|
+
return self._TranslationType
|
35658
|
+
|
35659
|
+
@TranslationType.setter
|
35660
|
+
def TranslationType(self, TranslationType):
|
35661
|
+
self._TranslationType = TranslationType
|
35662
|
+
|
35663
|
+
@property
|
35664
|
+
def TranslationIp(self):
|
35665
|
+
return self._TranslationIp
|
35666
|
+
|
35667
|
+
@TranslationIp.setter
|
35668
|
+
def TranslationIp(self, TranslationIp):
|
35669
|
+
self._TranslationIp = TranslationIp
|
35670
|
+
|
35671
|
+
@property
|
35672
|
+
def TranslationAclRules(self):
|
35673
|
+
return self._TranslationAclRules
|
35674
|
+
|
35675
|
+
@TranslationAclRules.setter
|
35676
|
+
def TranslationAclRules(self, TranslationAclRules):
|
35677
|
+
self._TranslationAclRules = TranslationAclRules
|
35678
|
+
|
35679
|
+
@property
|
35680
|
+
def OriginalIp(self):
|
35681
|
+
return self._OriginalIp
|
35682
|
+
|
35683
|
+
@OriginalIp.setter
|
35684
|
+
def OriginalIp(self, OriginalIp):
|
35685
|
+
self._OriginalIp = OriginalIp
|
35686
|
+
|
35687
|
+
|
35688
|
+
def _deserialize(self, params):
|
35689
|
+
self._NatGatewayId = params.get("NatGatewayId")
|
35690
|
+
self._TranslationDirection = params.get("TranslationDirection")
|
35691
|
+
self._TranslationType = params.get("TranslationType")
|
35692
|
+
self._TranslationIp = params.get("TranslationIp")
|
35693
|
+
if params.get("TranslationAclRules") is not None:
|
35694
|
+
self._TranslationAclRules = []
|
35695
|
+
for item in params.get("TranslationAclRules"):
|
35696
|
+
obj = TranslationAclRule()
|
35697
|
+
obj._deserialize(item)
|
35698
|
+
self._TranslationAclRules.append(obj)
|
35699
|
+
self._OriginalIp = params.get("OriginalIp")
|
35700
|
+
memeber_set = set(params.keys())
|
35701
|
+
for name, value in vars(self).items():
|
35702
|
+
property_name = name[1:]
|
35703
|
+
if property_name in memeber_set:
|
35704
|
+
memeber_set.remove(property_name)
|
35705
|
+
if len(memeber_set) > 0:
|
35706
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
35707
|
+
|
35708
|
+
|
35709
|
+
|
35710
|
+
class ModifyPrivateNatGatewayTranslationAclRuleResponse(AbstractModel):
|
35711
|
+
"""ModifyPrivateNatGatewayTranslationAclRule返回参数结构体
|
35712
|
+
|
35713
|
+
"""
|
35714
|
+
|
35715
|
+
def __init__(self):
|
35716
|
+
r"""
|
35717
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
35718
|
+
:type RequestId: str
|
35719
|
+
"""
|
35720
|
+
self._RequestId = None
|
35721
|
+
|
35722
|
+
@property
|
35723
|
+
def RequestId(self):
|
35724
|
+
return self._RequestId
|
35725
|
+
|
35726
|
+
@RequestId.setter
|
35727
|
+
def RequestId(self, RequestId):
|
35728
|
+
self._RequestId = RequestId
|
35729
|
+
|
35730
|
+
|
35731
|
+
def _deserialize(self, params):
|
35732
|
+
self._RequestId = params.get("RequestId")
|
35733
|
+
|
35734
|
+
|
35735
|
+
class ModifyPrivateNatGatewayTranslationNatRuleRequest(AbstractModel):
|
35736
|
+
"""ModifyPrivateNatGatewayTranslationNatRule请求参数结构体
|
35737
|
+
|
35738
|
+
"""
|
35739
|
+
|
35740
|
+
def __init__(self):
|
35741
|
+
r"""
|
35742
|
+
:param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
35743
|
+
:type NatGatewayId: str
|
35744
|
+
:param _TranslationNatRules: 转换规则对象数组。仅支持修改单个转换规则
|
35745
|
+
:type TranslationNatRules: list of TranslationNatRuleDiff
|
35746
|
+
:param _CrossDomain: 跨域参数,当VPC为跨域时填写为True。
|
35747
|
+
:type CrossDomain: bool
|
35748
|
+
"""
|
35749
|
+
self._NatGatewayId = None
|
35750
|
+
self._TranslationNatRules = None
|
35751
|
+
self._CrossDomain = None
|
35752
|
+
|
35753
|
+
@property
|
35754
|
+
def NatGatewayId(self):
|
35755
|
+
return self._NatGatewayId
|
35756
|
+
|
35757
|
+
@NatGatewayId.setter
|
35758
|
+
def NatGatewayId(self, NatGatewayId):
|
35759
|
+
self._NatGatewayId = NatGatewayId
|
35760
|
+
|
35761
|
+
@property
|
35762
|
+
def TranslationNatRules(self):
|
35763
|
+
return self._TranslationNatRules
|
35764
|
+
|
35765
|
+
@TranslationNatRules.setter
|
35766
|
+
def TranslationNatRules(self, TranslationNatRules):
|
35767
|
+
self._TranslationNatRules = TranslationNatRules
|
35768
|
+
|
35769
|
+
@property
|
35770
|
+
def CrossDomain(self):
|
35771
|
+
return self._CrossDomain
|
35772
|
+
|
35773
|
+
@CrossDomain.setter
|
35774
|
+
def CrossDomain(self, CrossDomain):
|
35775
|
+
self._CrossDomain = CrossDomain
|
35776
|
+
|
35777
|
+
|
35778
|
+
def _deserialize(self, params):
|
35779
|
+
self._NatGatewayId = params.get("NatGatewayId")
|
35780
|
+
if params.get("TranslationNatRules") is not None:
|
35781
|
+
self._TranslationNatRules = []
|
35782
|
+
for item in params.get("TranslationNatRules"):
|
35783
|
+
obj = TranslationNatRuleDiff()
|
35784
|
+
obj._deserialize(item)
|
35785
|
+
self._TranslationNatRules.append(obj)
|
35786
|
+
self._CrossDomain = params.get("CrossDomain")
|
35787
|
+
memeber_set = set(params.keys())
|
35788
|
+
for name, value in vars(self).items():
|
35789
|
+
property_name = name[1:]
|
35790
|
+
if property_name in memeber_set:
|
35791
|
+
memeber_set.remove(property_name)
|
35792
|
+
if len(memeber_set) > 0:
|
35793
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
35794
|
+
|
35795
|
+
|
35796
|
+
|
35797
|
+
class ModifyPrivateNatGatewayTranslationNatRuleResponse(AbstractModel):
|
35798
|
+
"""ModifyPrivateNatGatewayTranslationNatRule返回参数结构体
|
35799
|
+
|
35800
|
+
"""
|
35801
|
+
|
35802
|
+
def __init__(self):
|
35803
|
+
r"""
|
35804
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
35805
|
+
:type RequestId: str
|
35806
|
+
"""
|
35807
|
+
self._RequestId = None
|
35808
|
+
|
35809
|
+
@property
|
35810
|
+
def RequestId(self):
|
35811
|
+
return self._RequestId
|
35812
|
+
|
35813
|
+
@RequestId.setter
|
35814
|
+
def RequestId(self, RequestId):
|
35815
|
+
self._RequestId = RequestId
|
35816
|
+
|
35817
|
+
|
35818
|
+
def _deserialize(self, params):
|
35819
|
+
self._RequestId = params.get("RequestId")
|
35820
|
+
|
35821
|
+
|
33583
35822
|
class ModifyRouteTableAttributeRequest(AbstractModel):
|
33584
35823
|
"""ModifyRouteTableAttribute请求参数结构体
|
33585
35824
|
|
@@ -34751,6 +36990,8 @@ class ModifyVpnConnectionAttributeRequest(AbstractModel):
|
|
34751
36990
|
:type DpdAction: str
|
34752
36991
|
:param _CustomerGatewayId: 对端网关ID,4.0及以上网关下的通道支持更新。
|
34753
36992
|
:type CustomerGatewayId: str
|
36993
|
+
:param _HealthCheckConfig: 健康检查配置
|
36994
|
+
:type HealthCheckConfig: :class:`tencentcloud.vpc.v20170312.models.HealthCheckConfig`
|
34754
36995
|
"""
|
34755
36996
|
self._VpnConnectionId = None
|
34756
36997
|
self._VpnConnectionName = None
|
@@ -34766,6 +37007,7 @@ class ModifyVpnConnectionAttributeRequest(AbstractModel):
|
|
34766
37007
|
self._DpdTimeout = None
|
34767
37008
|
self._DpdAction = None
|
34768
37009
|
self._CustomerGatewayId = None
|
37010
|
+
self._HealthCheckConfig = None
|
34769
37011
|
|
34770
37012
|
@property
|
34771
37013
|
def VpnConnectionId(self):
|
@@ -34879,6 +37121,14 @@ class ModifyVpnConnectionAttributeRequest(AbstractModel):
|
|
34879
37121
|
def CustomerGatewayId(self, CustomerGatewayId):
|
34880
37122
|
self._CustomerGatewayId = CustomerGatewayId
|
34881
37123
|
|
37124
|
+
@property
|
37125
|
+
def HealthCheckConfig(self):
|
37126
|
+
return self._HealthCheckConfig
|
37127
|
+
|
37128
|
+
@HealthCheckConfig.setter
|
37129
|
+
def HealthCheckConfig(self, HealthCheckConfig):
|
37130
|
+
self._HealthCheckConfig = HealthCheckConfig
|
37131
|
+
|
34882
37132
|
|
34883
37133
|
def _deserialize(self, params):
|
34884
37134
|
self._VpnConnectionId = params.get("VpnConnectionId")
|
@@ -34904,6 +37154,9 @@ class ModifyVpnConnectionAttributeRequest(AbstractModel):
|
|
34904
37154
|
self._DpdTimeout = params.get("DpdTimeout")
|
34905
37155
|
self._DpdAction = params.get("DpdAction")
|
34906
37156
|
self._CustomerGatewayId = params.get("CustomerGatewayId")
|
37157
|
+
if params.get("HealthCheckConfig") is not None:
|
37158
|
+
self._HealthCheckConfig = HealthCheckConfig()
|
37159
|
+
self._HealthCheckConfig._deserialize(params.get("HealthCheckConfig"))
|
34907
37160
|
memeber_set = set(params.keys())
|
34908
37161
|
for name, value in vars(self).items():
|
34909
37162
|
property_name = name[1:]
|
@@ -35991,6 +38244,12 @@ class NatGatewayDestinationIpPortTranslationNatRule(AbstractModel):
|
|
35991
38244
|
|
35992
38245
|
|
35993
38246
|
|
38247
|
+
class NatRegionInfoWithArea(AbstractModel):
|
38248
|
+
"""NAT地域地区对象
|
38249
|
+
|
38250
|
+
"""
|
38251
|
+
|
38252
|
+
|
35994
38253
|
class NetDetect(AbstractModel):
|
35995
38254
|
"""网络探测对象。
|
35996
38255
|
|
@@ -37722,6 +39981,292 @@ AVAILABLE:可用的
|
|
37722
39981
|
|
37723
39982
|
|
37724
39983
|
|
39984
|
+
class PrivateNatDestinationIpPortTranslationNatRule(AbstractModel):
|
39985
|
+
"""本端目的IP端口转换复杂结构
|
39986
|
+
|
39987
|
+
"""
|
39988
|
+
|
39989
|
+
def __init__(self):
|
39990
|
+
r"""
|
39991
|
+
:param _Protocol: 协议
|
39992
|
+
:type Protocol: str
|
39993
|
+
:param _OriginalPort: 原端口
|
39994
|
+
:type OriginalPort: int
|
39995
|
+
:param _OriginalIp: 原IP
|
39996
|
+
:type OriginalIp: str
|
39997
|
+
:param _TranslationPort: 映射端口
|
39998
|
+
:type TranslationPort: int
|
39999
|
+
:param _TranslationIp: 映射IP
|
40000
|
+
:type TranslationIp: str
|
40001
|
+
:param _Description: 描述
|
40002
|
+
:type Description: str
|
40003
|
+
:param _CreateTime: 创建时间。
|
40004
|
+
:type CreateTime: str
|
40005
|
+
:param _UpdateTime: 更新时间。
|
40006
|
+
:type UpdateTime: str
|
40007
|
+
"""
|
40008
|
+
self._Protocol = None
|
40009
|
+
self._OriginalPort = None
|
40010
|
+
self._OriginalIp = None
|
40011
|
+
self._TranslationPort = None
|
40012
|
+
self._TranslationIp = None
|
40013
|
+
self._Description = None
|
40014
|
+
self._CreateTime = None
|
40015
|
+
self._UpdateTime = None
|
40016
|
+
|
40017
|
+
@property
|
40018
|
+
def Protocol(self):
|
40019
|
+
return self._Protocol
|
40020
|
+
|
40021
|
+
@Protocol.setter
|
40022
|
+
def Protocol(self, Protocol):
|
40023
|
+
self._Protocol = Protocol
|
40024
|
+
|
40025
|
+
@property
|
40026
|
+
def OriginalPort(self):
|
40027
|
+
return self._OriginalPort
|
40028
|
+
|
40029
|
+
@OriginalPort.setter
|
40030
|
+
def OriginalPort(self, OriginalPort):
|
40031
|
+
self._OriginalPort = OriginalPort
|
40032
|
+
|
40033
|
+
@property
|
40034
|
+
def OriginalIp(self):
|
40035
|
+
return self._OriginalIp
|
40036
|
+
|
40037
|
+
@OriginalIp.setter
|
40038
|
+
def OriginalIp(self, OriginalIp):
|
40039
|
+
self._OriginalIp = OriginalIp
|
40040
|
+
|
40041
|
+
@property
|
40042
|
+
def TranslationPort(self):
|
40043
|
+
return self._TranslationPort
|
40044
|
+
|
40045
|
+
@TranslationPort.setter
|
40046
|
+
def TranslationPort(self, TranslationPort):
|
40047
|
+
self._TranslationPort = TranslationPort
|
40048
|
+
|
40049
|
+
@property
|
40050
|
+
def TranslationIp(self):
|
40051
|
+
return self._TranslationIp
|
40052
|
+
|
40053
|
+
@TranslationIp.setter
|
40054
|
+
def TranslationIp(self, TranslationIp):
|
40055
|
+
self._TranslationIp = TranslationIp
|
40056
|
+
|
40057
|
+
@property
|
40058
|
+
def Description(self):
|
40059
|
+
return self._Description
|
40060
|
+
|
40061
|
+
@Description.setter
|
40062
|
+
def Description(self, Description):
|
40063
|
+
self._Description = Description
|
40064
|
+
|
40065
|
+
@property
|
40066
|
+
def CreateTime(self):
|
40067
|
+
return self._CreateTime
|
40068
|
+
|
40069
|
+
@CreateTime.setter
|
40070
|
+
def CreateTime(self, CreateTime):
|
40071
|
+
self._CreateTime = CreateTime
|
40072
|
+
|
40073
|
+
@property
|
40074
|
+
def UpdateTime(self):
|
40075
|
+
return self._UpdateTime
|
40076
|
+
|
40077
|
+
@UpdateTime.setter
|
40078
|
+
def UpdateTime(self, UpdateTime):
|
40079
|
+
self._UpdateTime = UpdateTime
|
40080
|
+
|
40081
|
+
|
40082
|
+
def _deserialize(self, params):
|
40083
|
+
self._Protocol = params.get("Protocol")
|
40084
|
+
self._OriginalPort = params.get("OriginalPort")
|
40085
|
+
self._OriginalIp = params.get("OriginalIp")
|
40086
|
+
self._TranslationPort = params.get("TranslationPort")
|
40087
|
+
self._TranslationIp = params.get("TranslationIp")
|
40088
|
+
self._Description = params.get("Description")
|
40089
|
+
self._CreateTime = params.get("CreateTime")
|
40090
|
+
self._UpdateTime = params.get("UpdateTime")
|
40091
|
+
memeber_set = set(params.keys())
|
40092
|
+
for name, value in vars(self).items():
|
40093
|
+
property_name = name[1:]
|
40094
|
+
if property_name in memeber_set:
|
40095
|
+
memeber_set.remove(property_name)
|
40096
|
+
if len(memeber_set) > 0:
|
40097
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
40098
|
+
|
40099
|
+
|
40100
|
+
|
40101
|
+
class PrivateNatGateway(AbstractModel):
|
40102
|
+
"""私网网关对象
|
40103
|
+
|
40104
|
+
"""
|
40105
|
+
|
40106
|
+
def __init__(self):
|
40107
|
+
r"""
|
40108
|
+
:param _NatGatewayId: 私网网关`ID`。
|
40109
|
+
:type NatGatewayId: str
|
40110
|
+
:param _NatGatewayName: 私网网关名称。
|
40111
|
+
:type NatGatewayName: str
|
40112
|
+
:param _VpcId: 私网网关关联`VPC`实例`ID`。
|
40113
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
40114
|
+
:type VpcId: str
|
40115
|
+
:param _Status: 私网网关当前状态。
|
40116
|
+
:type Status: str
|
40117
|
+
:param _CrossDomain: 私网网关跨域标志。
|
40118
|
+
:type CrossDomain: bool
|
40119
|
+
:param _CreatedTime: 创建时间
|
40120
|
+
:type CreatedTime: str
|
40121
|
+
:param _TagSet: 标签键值对。
|
40122
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
40123
|
+
:type TagSet: list of Tag
|
40124
|
+
"""
|
40125
|
+
self._NatGatewayId = None
|
40126
|
+
self._NatGatewayName = None
|
40127
|
+
self._VpcId = None
|
40128
|
+
self._Status = None
|
40129
|
+
self._CrossDomain = None
|
40130
|
+
self._CreatedTime = None
|
40131
|
+
self._TagSet = None
|
40132
|
+
|
40133
|
+
@property
|
40134
|
+
def NatGatewayId(self):
|
40135
|
+
return self._NatGatewayId
|
40136
|
+
|
40137
|
+
@NatGatewayId.setter
|
40138
|
+
def NatGatewayId(self, NatGatewayId):
|
40139
|
+
self._NatGatewayId = NatGatewayId
|
40140
|
+
|
40141
|
+
@property
|
40142
|
+
def NatGatewayName(self):
|
40143
|
+
return self._NatGatewayName
|
40144
|
+
|
40145
|
+
@NatGatewayName.setter
|
40146
|
+
def NatGatewayName(self, NatGatewayName):
|
40147
|
+
self._NatGatewayName = NatGatewayName
|
40148
|
+
|
40149
|
+
@property
|
40150
|
+
def VpcId(self):
|
40151
|
+
return self._VpcId
|
40152
|
+
|
40153
|
+
@VpcId.setter
|
40154
|
+
def VpcId(self, VpcId):
|
40155
|
+
self._VpcId = VpcId
|
40156
|
+
|
40157
|
+
@property
|
40158
|
+
def Status(self):
|
40159
|
+
return self._Status
|
40160
|
+
|
40161
|
+
@Status.setter
|
40162
|
+
def Status(self, Status):
|
40163
|
+
self._Status = Status
|
40164
|
+
|
40165
|
+
@property
|
40166
|
+
def CrossDomain(self):
|
40167
|
+
return self._CrossDomain
|
40168
|
+
|
40169
|
+
@CrossDomain.setter
|
40170
|
+
def CrossDomain(self, CrossDomain):
|
40171
|
+
self._CrossDomain = CrossDomain
|
40172
|
+
|
40173
|
+
@property
|
40174
|
+
def CreatedTime(self):
|
40175
|
+
return self._CreatedTime
|
40176
|
+
|
40177
|
+
@CreatedTime.setter
|
40178
|
+
def CreatedTime(self, CreatedTime):
|
40179
|
+
self._CreatedTime = CreatedTime
|
40180
|
+
|
40181
|
+
@property
|
40182
|
+
def TagSet(self):
|
40183
|
+
return self._TagSet
|
40184
|
+
|
40185
|
+
@TagSet.setter
|
40186
|
+
def TagSet(self, TagSet):
|
40187
|
+
self._TagSet = TagSet
|
40188
|
+
|
40189
|
+
|
40190
|
+
def _deserialize(self, params):
|
40191
|
+
self._NatGatewayId = params.get("NatGatewayId")
|
40192
|
+
self._NatGatewayName = params.get("NatGatewayName")
|
40193
|
+
self._VpcId = params.get("VpcId")
|
40194
|
+
self._Status = params.get("Status")
|
40195
|
+
self._CrossDomain = params.get("CrossDomain")
|
40196
|
+
self._CreatedTime = params.get("CreatedTime")
|
40197
|
+
if params.get("TagSet") is not None:
|
40198
|
+
self._TagSet = []
|
40199
|
+
for item in params.get("TagSet"):
|
40200
|
+
obj = Tag()
|
40201
|
+
obj._deserialize(item)
|
40202
|
+
self._TagSet.append(obj)
|
40203
|
+
memeber_set = set(params.keys())
|
40204
|
+
for name, value in vars(self).items():
|
40205
|
+
property_name = name[1:]
|
40206
|
+
if property_name in memeber_set:
|
40207
|
+
memeber_set.remove(property_name)
|
40208
|
+
if len(memeber_set) > 0:
|
40209
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
40210
|
+
|
40211
|
+
|
40212
|
+
|
40213
|
+
class PrivateNatGatewayLimit(AbstractModel):
|
40214
|
+
"""可创建的私网网关配额数量
|
40215
|
+
|
40216
|
+
"""
|
40217
|
+
|
40218
|
+
def __init__(self):
|
40219
|
+
r"""
|
40220
|
+
:param _UniqVpcId: 私有网络唯一`ID`。
|
40221
|
+
:type UniqVpcId: str
|
40222
|
+
:param _TotalLimit: Vpc下总计可创建私网网关数量。
|
40223
|
+
:type TotalLimit: int
|
40224
|
+
:param _Available: 可创建私网网关数量。
|
40225
|
+
:type Available: int
|
40226
|
+
"""
|
40227
|
+
self._UniqVpcId = None
|
40228
|
+
self._TotalLimit = None
|
40229
|
+
self._Available = None
|
40230
|
+
|
40231
|
+
@property
|
40232
|
+
def UniqVpcId(self):
|
40233
|
+
return self._UniqVpcId
|
40234
|
+
|
40235
|
+
@UniqVpcId.setter
|
40236
|
+
def UniqVpcId(self, UniqVpcId):
|
40237
|
+
self._UniqVpcId = UniqVpcId
|
40238
|
+
|
40239
|
+
@property
|
40240
|
+
def TotalLimit(self):
|
40241
|
+
return self._TotalLimit
|
40242
|
+
|
40243
|
+
@TotalLimit.setter
|
40244
|
+
def TotalLimit(self, TotalLimit):
|
40245
|
+
self._TotalLimit = TotalLimit
|
40246
|
+
|
40247
|
+
@property
|
40248
|
+
def Available(self):
|
40249
|
+
return self._Available
|
40250
|
+
|
40251
|
+
@Available.setter
|
40252
|
+
def Available(self, Available):
|
40253
|
+
self._Available = Available
|
40254
|
+
|
40255
|
+
|
40256
|
+
def _deserialize(self, params):
|
40257
|
+
self._UniqVpcId = params.get("UniqVpcId")
|
40258
|
+
self._TotalLimit = params.get("TotalLimit")
|
40259
|
+
self._Available = params.get("Available")
|
40260
|
+
memeber_set = set(params.keys())
|
40261
|
+
for name, value in vars(self).items():
|
40262
|
+
property_name = name[1:]
|
40263
|
+
if property_name in memeber_set:
|
40264
|
+
memeber_set.remove(property_name)
|
40265
|
+
if len(memeber_set) > 0:
|
40266
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
40267
|
+
|
40268
|
+
|
40269
|
+
|
37725
40270
|
class ProductQuota(AbstractModel):
|
37726
40271
|
"""描述网络中心每个产品的配额信息
|
37727
40272
|
|
@@ -43396,6 +45941,404 @@ class TransformAddressResponse(AbstractModel):
|
|
43396
45941
|
self._RequestId = params.get("RequestId")
|
43397
45942
|
|
43398
45943
|
|
45944
|
+
class TranslationAclRule(AbstractModel):
|
45945
|
+
"""私网网关转发规则匹配ACL
|
45946
|
+
|
45947
|
+
"""
|
45948
|
+
|
45949
|
+
def __init__(self):
|
45950
|
+
r"""
|
45951
|
+
:param _Protocol: ACL协议类型,可选值:"ALL","TCP","UDP"
|
45952
|
+
:type Protocol: str
|
45953
|
+
:param _SourcePort: 源端口。
|
45954
|
+
:type SourcePort: str
|
45955
|
+
:param _SourceCidr: 源地址。支持`ip`或`cidr`格式"xxx.xxx.xxx.000/xx"
|
45956
|
+
:type SourceCidr: str
|
45957
|
+
:param _DestinationPort: 目的端口。
|
45958
|
+
:type DestinationPort: str
|
45959
|
+
:param _DestinationCidr: 目的地址。
|
45960
|
+
:type DestinationCidr: str
|
45961
|
+
:param _AclRuleId: ACL规则`ID`。
|
45962
|
+
:type AclRuleId: int
|
45963
|
+
:param _Action: 是否匹配。
|
45964
|
+
:type Action: int
|
45965
|
+
"""
|
45966
|
+
self._Protocol = None
|
45967
|
+
self._SourcePort = None
|
45968
|
+
self._SourceCidr = None
|
45969
|
+
self._DestinationPort = None
|
45970
|
+
self._DestinationCidr = None
|
45971
|
+
self._AclRuleId = None
|
45972
|
+
self._Action = None
|
45973
|
+
|
45974
|
+
@property
|
45975
|
+
def Protocol(self):
|
45976
|
+
return self._Protocol
|
45977
|
+
|
45978
|
+
@Protocol.setter
|
45979
|
+
def Protocol(self, Protocol):
|
45980
|
+
self._Protocol = Protocol
|
45981
|
+
|
45982
|
+
@property
|
45983
|
+
def SourcePort(self):
|
45984
|
+
return self._SourcePort
|
45985
|
+
|
45986
|
+
@SourcePort.setter
|
45987
|
+
def SourcePort(self, SourcePort):
|
45988
|
+
self._SourcePort = SourcePort
|
45989
|
+
|
45990
|
+
@property
|
45991
|
+
def SourceCidr(self):
|
45992
|
+
return self._SourceCidr
|
45993
|
+
|
45994
|
+
@SourceCidr.setter
|
45995
|
+
def SourceCidr(self, SourceCidr):
|
45996
|
+
self._SourceCidr = SourceCidr
|
45997
|
+
|
45998
|
+
@property
|
45999
|
+
def DestinationPort(self):
|
46000
|
+
return self._DestinationPort
|
46001
|
+
|
46002
|
+
@DestinationPort.setter
|
46003
|
+
def DestinationPort(self, DestinationPort):
|
46004
|
+
self._DestinationPort = DestinationPort
|
46005
|
+
|
46006
|
+
@property
|
46007
|
+
def DestinationCidr(self):
|
46008
|
+
return self._DestinationCidr
|
46009
|
+
|
46010
|
+
@DestinationCidr.setter
|
46011
|
+
def DestinationCidr(self, DestinationCidr):
|
46012
|
+
self._DestinationCidr = DestinationCidr
|
46013
|
+
|
46014
|
+
@property
|
46015
|
+
def AclRuleId(self):
|
46016
|
+
return self._AclRuleId
|
46017
|
+
|
46018
|
+
@AclRuleId.setter
|
46019
|
+
def AclRuleId(self, AclRuleId):
|
46020
|
+
self._AclRuleId = AclRuleId
|
46021
|
+
|
46022
|
+
@property
|
46023
|
+
def Action(self):
|
46024
|
+
return self._Action
|
46025
|
+
|
46026
|
+
@Action.setter
|
46027
|
+
def Action(self, Action):
|
46028
|
+
self._Action = Action
|
46029
|
+
|
46030
|
+
|
46031
|
+
def _deserialize(self, params):
|
46032
|
+
self._Protocol = params.get("Protocol")
|
46033
|
+
self._SourcePort = params.get("SourcePort")
|
46034
|
+
self._SourceCidr = params.get("SourceCidr")
|
46035
|
+
self._DestinationPort = params.get("DestinationPort")
|
46036
|
+
self._DestinationCidr = params.get("DestinationCidr")
|
46037
|
+
self._AclRuleId = params.get("AclRuleId")
|
46038
|
+
self._Action = params.get("Action")
|
46039
|
+
memeber_set = set(params.keys())
|
46040
|
+
for name, value in vars(self).items():
|
46041
|
+
property_name = name[1:]
|
46042
|
+
if property_name in memeber_set:
|
46043
|
+
memeber_set.remove(property_name)
|
46044
|
+
if len(memeber_set) > 0:
|
46045
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
46046
|
+
|
46047
|
+
|
46048
|
+
|
46049
|
+
class TranslationNatRule(AbstractModel):
|
46050
|
+
"""私网网关Snat转发规则
|
46051
|
+
|
46052
|
+
"""
|
46053
|
+
|
46054
|
+
def __init__(self):
|
46055
|
+
r"""
|
46056
|
+
:param _TranslationDirection: 转换规则目标,可选值"LOCAL","PEER"。
|
46057
|
+
:type TranslationDirection: str
|
46058
|
+
:param _TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
|
46059
|
+
:type TranslationType: str
|
46060
|
+
:param _TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池。
|
46061
|
+
:type TranslationIp: str
|
46062
|
+
:param _Description: 转换规则描述。
|
46063
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
46064
|
+
:type Description: str
|
46065
|
+
:param _OriginalIp: 源`IP`,当转换规则类型为三层时有效。
|
46066
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
46067
|
+
:type OriginalIp: str
|
46068
|
+
:param _CreateTime: 创建时间。
|
46069
|
+
:type CreateTime: str
|
46070
|
+
:param _UpdateTime: 更新时间。
|
46071
|
+
:type UpdateTime: str
|
46072
|
+
"""
|
46073
|
+
self._TranslationDirection = None
|
46074
|
+
self._TranslationType = None
|
46075
|
+
self._TranslationIp = None
|
46076
|
+
self._Description = None
|
46077
|
+
self._OriginalIp = None
|
46078
|
+
self._CreateTime = None
|
46079
|
+
self._UpdateTime = None
|
46080
|
+
|
46081
|
+
@property
|
46082
|
+
def TranslationDirection(self):
|
46083
|
+
return self._TranslationDirection
|
46084
|
+
|
46085
|
+
@TranslationDirection.setter
|
46086
|
+
def TranslationDirection(self, TranslationDirection):
|
46087
|
+
self._TranslationDirection = TranslationDirection
|
46088
|
+
|
46089
|
+
@property
|
46090
|
+
def TranslationType(self):
|
46091
|
+
return self._TranslationType
|
46092
|
+
|
46093
|
+
@TranslationType.setter
|
46094
|
+
def TranslationType(self, TranslationType):
|
46095
|
+
self._TranslationType = TranslationType
|
46096
|
+
|
46097
|
+
@property
|
46098
|
+
def TranslationIp(self):
|
46099
|
+
return self._TranslationIp
|
46100
|
+
|
46101
|
+
@TranslationIp.setter
|
46102
|
+
def TranslationIp(self, TranslationIp):
|
46103
|
+
self._TranslationIp = TranslationIp
|
46104
|
+
|
46105
|
+
@property
|
46106
|
+
def Description(self):
|
46107
|
+
return self._Description
|
46108
|
+
|
46109
|
+
@Description.setter
|
46110
|
+
def Description(self, Description):
|
46111
|
+
self._Description = Description
|
46112
|
+
|
46113
|
+
@property
|
46114
|
+
def OriginalIp(self):
|
46115
|
+
return self._OriginalIp
|
46116
|
+
|
46117
|
+
@OriginalIp.setter
|
46118
|
+
def OriginalIp(self, OriginalIp):
|
46119
|
+
self._OriginalIp = OriginalIp
|
46120
|
+
|
46121
|
+
@property
|
46122
|
+
def CreateTime(self):
|
46123
|
+
return self._CreateTime
|
46124
|
+
|
46125
|
+
@CreateTime.setter
|
46126
|
+
def CreateTime(self, CreateTime):
|
46127
|
+
self._CreateTime = CreateTime
|
46128
|
+
|
46129
|
+
@property
|
46130
|
+
def UpdateTime(self):
|
46131
|
+
return self._UpdateTime
|
46132
|
+
|
46133
|
+
@UpdateTime.setter
|
46134
|
+
def UpdateTime(self, UpdateTime):
|
46135
|
+
self._UpdateTime = UpdateTime
|
46136
|
+
|
46137
|
+
|
46138
|
+
def _deserialize(self, params):
|
46139
|
+
self._TranslationDirection = params.get("TranslationDirection")
|
46140
|
+
self._TranslationType = params.get("TranslationType")
|
46141
|
+
self._TranslationIp = params.get("TranslationIp")
|
46142
|
+
self._Description = params.get("Description")
|
46143
|
+
self._OriginalIp = params.get("OriginalIp")
|
46144
|
+
self._CreateTime = params.get("CreateTime")
|
46145
|
+
self._UpdateTime = params.get("UpdateTime")
|
46146
|
+
memeber_set = set(params.keys())
|
46147
|
+
for name, value in vars(self).items():
|
46148
|
+
property_name = name[1:]
|
46149
|
+
if property_name in memeber_set:
|
46150
|
+
memeber_set.remove(property_name)
|
46151
|
+
if len(memeber_set) > 0:
|
46152
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
46153
|
+
|
46154
|
+
|
46155
|
+
|
46156
|
+
class TranslationNatRuleDiff(AbstractModel):
|
46157
|
+
"""私网网关Snat转发规则修改
|
46158
|
+
|
46159
|
+
"""
|
46160
|
+
|
46161
|
+
def __init__(self):
|
46162
|
+
r"""
|
46163
|
+
:param _TranslationDirection: 转发规则目标,可选值"LOCAL","PEER"。
|
46164
|
+
:type TranslationDirection: str
|
46165
|
+
:param _TranslationType: 转发规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
|
46166
|
+
:type TranslationType: str
|
46167
|
+
:param _TranslationIp: 转发规则映射`IP`,当转发规则类型为四层时为`IP`池
|
46168
|
+
:type TranslationIp: str
|
46169
|
+
:param _Description: 转发规则描述。
|
46170
|
+
:type Description: str
|
46171
|
+
:param _OldTranslationIp: 旧转发规则映射`IP`,当转发规则类型为四层时为`IP`池
|
46172
|
+
:type OldTranslationIp: str
|
46173
|
+
:param _OriginalIp: 新转发规则源`IP`,当转发规则类型为三层时有效
|
46174
|
+
:type OriginalIp: str
|
46175
|
+
:param _OldOriginalIp: 旧转发规则源`IP`,当转发规则类型为三层时有效
|
46176
|
+
:type OldOriginalIp: str
|
46177
|
+
"""
|
46178
|
+
self._TranslationDirection = None
|
46179
|
+
self._TranslationType = None
|
46180
|
+
self._TranslationIp = None
|
46181
|
+
self._Description = None
|
46182
|
+
self._OldTranslationIp = None
|
46183
|
+
self._OriginalIp = None
|
46184
|
+
self._OldOriginalIp = None
|
46185
|
+
|
46186
|
+
@property
|
46187
|
+
def TranslationDirection(self):
|
46188
|
+
return self._TranslationDirection
|
46189
|
+
|
46190
|
+
@TranslationDirection.setter
|
46191
|
+
def TranslationDirection(self, TranslationDirection):
|
46192
|
+
self._TranslationDirection = TranslationDirection
|
46193
|
+
|
46194
|
+
@property
|
46195
|
+
def TranslationType(self):
|
46196
|
+
return self._TranslationType
|
46197
|
+
|
46198
|
+
@TranslationType.setter
|
46199
|
+
def TranslationType(self, TranslationType):
|
46200
|
+
self._TranslationType = TranslationType
|
46201
|
+
|
46202
|
+
@property
|
46203
|
+
def TranslationIp(self):
|
46204
|
+
return self._TranslationIp
|
46205
|
+
|
46206
|
+
@TranslationIp.setter
|
46207
|
+
def TranslationIp(self, TranslationIp):
|
46208
|
+
self._TranslationIp = TranslationIp
|
46209
|
+
|
46210
|
+
@property
|
46211
|
+
def Description(self):
|
46212
|
+
return self._Description
|
46213
|
+
|
46214
|
+
@Description.setter
|
46215
|
+
def Description(self, Description):
|
46216
|
+
self._Description = Description
|
46217
|
+
|
46218
|
+
@property
|
46219
|
+
def OldTranslationIp(self):
|
46220
|
+
return self._OldTranslationIp
|
46221
|
+
|
46222
|
+
@OldTranslationIp.setter
|
46223
|
+
def OldTranslationIp(self, OldTranslationIp):
|
46224
|
+
self._OldTranslationIp = OldTranslationIp
|
46225
|
+
|
46226
|
+
@property
|
46227
|
+
def OriginalIp(self):
|
46228
|
+
return self._OriginalIp
|
46229
|
+
|
46230
|
+
@OriginalIp.setter
|
46231
|
+
def OriginalIp(self, OriginalIp):
|
46232
|
+
self._OriginalIp = OriginalIp
|
46233
|
+
|
46234
|
+
@property
|
46235
|
+
def OldOriginalIp(self):
|
46236
|
+
return self._OldOriginalIp
|
46237
|
+
|
46238
|
+
@OldOriginalIp.setter
|
46239
|
+
def OldOriginalIp(self, OldOriginalIp):
|
46240
|
+
self._OldOriginalIp = OldOriginalIp
|
46241
|
+
|
46242
|
+
|
46243
|
+
def _deserialize(self, params):
|
46244
|
+
self._TranslationDirection = params.get("TranslationDirection")
|
46245
|
+
self._TranslationType = params.get("TranslationType")
|
46246
|
+
self._TranslationIp = params.get("TranslationIp")
|
46247
|
+
self._Description = params.get("Description")
|
46248
|
+
self._OldTranslationIp = params.get("OldTranslationIp")
|
46249
|
+
self._OriginalIp = params.get("OriginalIp")
|
46250
|
+
self._OldOriginalIp = params.get("OldOriginalIp")
|
46251
|
+
memeber_set = set(params.keys())
|
46252
|
+
for name, value in vars(self).items():
|
46253
|
+
property_name = name[1:]
|
46254
|
+
if property_name in memeber_set:
|
46255
|
+
memeber_set.remove(property_name)
|
46256
|
+
if len(memeber_set) > 0:
|
46257
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
46258
|
+
|
46259
|
+
|
46260
|
+
|
46261
|
+
class TranslationNatRuleInput(AbstractModel):
|
46262
|
+
"""私网网关Snat转发规则入参
|
46263
|
+
|
46264
|
+
"""
|
46265
|
+
|
46266
|
+
def __init__(self):
|
46267
|
+
r"""
|
46268
|
+
:param _TranslationDirection: 转换规则目标,可选值"LOCAL","PEER"。
|
46269
|
+
:type TranslationDirection: str
|
46270
|
+
:param _TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
|
46271
|
+
:type TranslationType: str
|
46272
|
+
:param _TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池。
|
46273
|
+
:type TranslationIp: str
|
46274
|
+
:param _Description: 转换规则描述。
|
46275
|
+
:type Description: str
|
46276
|
+
:param _OriginalIp: 源`IP`,当转换规则类型为三层时有效。
|
46277
|
+
:type OriginalIp: str
|
46278
|
+
"""
|
46279
|
+
self._TranslationDirection = None
|
46280
|
+
self._TranslationType = None
|
46281
|
+
self._TranslationIp = None
|
46282
|
+
self._Description = None
|
46283
|
+
self._OriginalIp = None
|
46284
|
+
|
46285
|
+
@property
|
46286
|
+
def TranslationDirection(self):
|
46287
|
+
return self._TranslationDirection
|
46288
|
+
|
46289
|
+
@TranslationDirection.setter
|
46290
|
+
def TranslationDirection(self, TranslationDirection):
|
46291
|
+
self._TranslationDirection = TranslationDirection
|
46292
|
+
|
46293
|
+
@property
|
46294
|
+
def TranslationType(self):
|
46295
|
+
return self._TranslationType
|
46296
|
+
|
46297
|
+
@TranslationType.setter
|
46298
|
+
def TranslationType(self, TranslationType):
|
46299
|
+
self._TranslationType = TranslationType
|
46300
|
+
|
46301
|
+
@property
|
46302
|
+
def TranslationIp(self):
|
46303
|
+
return self._TranslationIp
|
46304
|
+
|
46305
|
+
@TranslationIp.setter
|
46306
|
+
def TranslationIp(self, TranslationIp):
|
46307
|
+
self._TranslationIp = TranslationIp
|
46308
|
+
|
46309
|
+
@property
|
46310
|
+
def Description(self):
|
46311
|
+
return self._Description
|
46312
|
+
|
46313
|
+
@Description.setter
|
46314
|
+
def Description(self, Description):
|
46315
|
+
self._Description = Description
|
46316
|
+
|
46317
|
+
@property
|
46318
|
+
def OriginalIp(self):
|
46319
|
+
return self._OriginalIp
|
46320
|
+
|
46321
|
+
@OriginalIp.setter
|
46322
|
+
def OriginalIp(self, OriginalIp):
|
46323
|
+
self._OriginalIp = OriginalIp
|
46324
|
+
|
46325
|
+
|
46326
|
+
def _deserialize(self, params):
|
46327
|
+
self._TranslationDirection = params.get("TranslationDirection")
|
46328
|
+
self._TranslationType = params.get("TranslationType")
|
46329
|
+
self._TranslationIp = params.get("TranslationIp")
|
46330
|
+
self._Description = params.get("Description")
|
46331
|
+
self._OriginalIp = params.get("OriginalIp")
|
46332
|
+
memeber_set = set(params.keys())
|
46333
|
+
for name, value in vars(self).items():
|
46334
|
+
property_name = name[1:]
|
46335
|
+
if property_name in memeber_set:
|
46336
|
+
memeber_set.remove(property_name)
|
46337
|
+
if len(memeber_set) > 0:
|
46338
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
46339
|
+
|
46340
|
+
|
46341
|
+
|
43399
46342
|
class UnassignIpv6AddressesRequest(AbstractModel):
|
43400
46343
|
"""UnassignIpv6Addresses请求参数结构体
|
43401
46344
|
|
@@ -44506,6 +47449,9 @@ class VpnConnection(AbstractModel):
|
|
44506
47449
|
:param _BgpConfig: Bgp配置信息
|
44507
47450
|
注意:此字段可能返回 null,表示取不到有效值。
|
44508
47451
|
:type BgpConfig: :class:`tencentcloud.vpc.v20170312.models.BgpConfigAndAsn`
|
47452
|
+
:param _HealthCheckConfig: Nqa配置信息
|
47453
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
47454
|
+
:type HealthCheckConfig: :class:`tencentcloud.vpc.v20170312.models.HealthCheckConfig`
|
44509
47455
|
"""
|
44510
47456
|
self._VpnConnectionId = None
|
44511
47457
|
self._VpnConnectionName = None
|
@@ -44532,6 +47478,7 @@ class VpnConnection(AbstractModel):
|
|
44532
47478
|
self._TagSet = None
|
44533
47479
|
self._NegotiationType = None
|
44534
47480
|
self._BgpConfig = None
|
47481
|
+
self._HealthCheckConfig = None
|
44535
47482
|
|
44536
47483
|
@property
|
44537
47484
|
def VpnConnectionId(self):
|
@@ -44733,6 +47680,14 @@ class VpnConnection(AbstractModel):
|
|
44733
47680
|
def BgpConfig(self, BgpConfig):
|
44734
47681
|
self._BgpConfig = BgpConfig
|
44735
47682
|
|
47683
|
+
@property
|
47684
|
+
def HealthCheckConfig(self):
|
47685
|
+
return self._HealthCheckConfig
|
47686
|
+
|
47687
|
+
@HealthCheckConfig.setter
|
47688
|
+
def HealthCheckConfig(self, HealthCheckConfig):
|
47689
|
+
self._HealthCheckConfig = HealthCheckConfig
|
47690
|
+
|
44736
47691
|
|
44737
47692
|
def _deserialize(self, params):
|
44738
47693
|
self._VpnConnectionId = params.get("VpnConnectionId")
|
@@ -44776,6 +47731,9 @@ class VpnConnection(AbstractModel):
|
|
44776
47731
|
if params.get("BgpConfig") is not None:
|
44777
47732
|
self._BgpConfig = BgpConfigAndAsn()
|
44778
47733
|
self._BgpConfig._deserialize(params.get("BgpConfig"))
|
47734
|
+
if params.get("HealthCheckConfig") is not None:
|
47735
|
+
self._HealthCheckConfig = HealthCheckConfig()
|
47736
|
+
self._HealthCheckConfig._deserialize(params.get("HealthCheckConfig"))
|
44779
47737
|
memeber_set = set(params.keys())
|
44780
47738
|
for name, value in vars(self).items():
|
44781
47739
|
property_name = name[1:]
|