tencentcloud-sdk-python 3.0.1179__py2.py3-none-any.whl → 3.0.1180__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/cynosdb/v20190107/models.py +53 -14
- tencentcloud/emr/v20190103/models.py +2 -10
- tencentcloud/ess/v20201111/models.py +31 -3
- tencentcloud/scf/v20180416/scf_client.py +1 -1
- tencentcloud/ssl/v20191205/models.py +75 -0
- tencentcloud/vpc/v20170312/errorcodes.py +24 -0
- tencentcloud/vpc/v20170312/models.py +2941 -99
- 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.1180.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1179.dist-info → tencentcloud_sdk_python-3.0.1180.dist-info}/RECORD +18 -18
- {tencentcloud_sdk_python-3.0.1179.dist-info → tencentcloud_sdk_python-3.0.1180.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1179.dist-info → tencentcloud_sdk_python-3.0.1180.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1179.dist-info → tencentcloud_sdk_python-3.0.1180.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
|
|
@@ -13250,6 +13699,356 @@ class DeleteNetworkInterfaceResponse(AbstractModel):
|
|
13250
13699
|
self._RequestId = params.get("RequestId")
|
13251
13700
|
|
13252
13701
|
|
13702
|
+
class DeletePrivateNatGatewayDestinationIpPortTranslationNatRuleRequest(AbstractModel):
|
13703
|
+
"""DeletePrivateNatGatewayDestinationIpPortTranslationNatRule请求参数结构体
|
13704
|
+
|
13705
|
+
"""
|
13706
|
+
|
13707
|
+
def __init__(self):
|
13708
|
+
r"""
|
13709
|
+
:param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
13710
|
+
:type NatGatewayId: str
|
13711
|
+
:param _LocalDestinationIpPortTranslationNatRules: 目的端口转换规则数组。
|
13712
|
+
:type LocalDestinationIpPortTranslationNatRules: list of LocalDestinationIpPortTranslationNatRule
|
13713
|
+
"""
|
13714
|
+
self._NatGatewayId = None
|
13715
|
+
self._LocalDestinationIpPortTranslationNatRules = None
|
13716
|
+
|
13717
|
+
@property
|
13718
|
+
def NatGatewayId(self):
|
13719
|
+
return self._NatGatewayId
|
13720
|
+
|
13721
|
+
@NatGatewayId.setter
|
13722
|
+
def NatGatewayId(self, NatGatewayId):
|
13723
|
+
self._NatGatewayId = NatGatewayId
|
13724
|
+
|
13725
|
+
@property
|
13726
|
+
def LocalDestinationIpPortTranslationNatRules(self):
|
13727
|
+
return self._LocalDestinationIpPortTranslationNatRules
|
13728
|
+
|
13729
|
+
@LocalDestinationIpPortTranslationNatRules.setter
|
13730
|
+
def LocalDestinationIpPortTranslationNatRules(self, LocalDestinationIpPortTranslationNatRules):
|
13731
|
+
self._LocalDestinationIpPortTranslationNatRules = LocalDestinationIpPortTranslationNatRules
|
13732
|
+
|
13733
|
+
|
13734
|
+
def _deserialize(self, params):
|
13735
|
+
self._NatGatewayId = params.get("NatGatewayId")
|
13736
|
+
if params.get("LocalDestinationIpPortTranslationNatRules") is not None:
|
13737
|
+
self._LocalDestinationIpPortTranslationNatRules = []
|
13738
|
+
for item in params.get("LocalDestinationIpPortTranslationNatRules"):
|
13739
|
+
obj = LocalDestinationIpPortTranslationNatRule()
|
13740
|
+
obj._deserialize(item)
|
13741
|
+
self._LocalDestinationIpPortTranslationNatRules.append(obj)
|
13742
|
+
memeber_set = set(params.keys())
|
13743
|
+
for name, value in vars(self).items():
|
13744
|
+
property_name = name[1:]
|
13745
|
+
if property_name in memeber_set:
|
13746
|
+
memeber_set.remove(property_name)
|
13747
|
+
if len(memeber_set) > 0:
|
13748
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
13749
|
+
|
13750
|
+
|
13751
|
+
|
13752
|
+
class DeletePrivateNatGatewayDestinationIpPortTranslationNatRuleResponse(AbstractModel):
|
13753
|
+
"""DeletePrivateNatGatewayDestinationIpPortTranslationNatRule返回参数结构体
|
13754
|
+
|
13755
|
+
"""
|
13756
|
+
|
13757
|
+
def __init__(self):
|
13758
|
+
r"""
|
13759
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13760
|
+
:type RequestId: str
|
13761
|
+
"""
|
13762
|
+
self._RequestId = None
|
13763
|
+
|
13764
|
+
@property
|
13765
|
+
def RequestId(self):
|
13766
|
+
return self._RequestId
|
13767
|
+
|
13768
|
+
@RequestId.setter
|
13769
|
+
def RequestId(self, RequestId):
|
13770
|
+
self._RequestId = RequestId
|
13771
|
+
|
13772
|
+
|
13773
|
+
def _deserialize(self, params):
|
13774
|
+
self._RequestId = params.get("RequestId")
|
13775
|
+
|
13776
|
+
|
13777
|
+
class DeletePrivateNatGatewayRequest(AbstractModel):
|
13778
|
+
"""DeletePrivateNatGateway请求参数结构体
|
13779
|
+
|
13780
|
+
"""
|
13781
|
+
|
13782
|
+
def __init__(self):
|
13783
|
+
r"""
|
13784
|
+
:param _NatGatewayId: 私网网关唯一`ID`,形如"intranat-xxxxxxxx"。
|
13785
|
+
:type NatGatewayId: str
|
13786
|
+
"""
|
13787
|
+
self._NatGatewayId = None
|
13788
|
+
|
13789
|
+
@property
|
13790
|
+
def NatGatewayId(self):
|
13791
|
+
return self._NatGatewayId
|
13792
|
+
|
13793
|
+
@NatGatewayId.setter
|
13794
|
+
def NatGatewayId(self, NatGatewayId):
|
13795
|
+
self._NatGatewayId = NatGatewayId
|
13796
|
+
|
13797
|
+
|
13798
|
+
def _deserialize(self, params):
|
13799
|
+
self._NatGatewayId = params.get("NatGatewayId")
|
13800
|
+
memeber_set = set(params.keys())
|
13801
|
+
for name, value in vars(self).items():
|
13802
|
+
property_name = name[1:]
|
13803
|
+
if property_name in memeber_set:
|
13804
|
+
memeber_set.remove(property_name)
|
13805
|
+
if len(memeber_set) > 0:
|
13806
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
13807
|
+
|
13808
|
+
|
13809
|
+
|
13810
|
+
class DeletePrivateNatGatewayResponse(AbstractModel):
|
13811
|
+
"""DeletePrivateNatGateway返回参数结构体
|
13812
|
+
|
13813
|
+
"""
|
13814
|
+
|
13815
|
+
def __init__(self):
|
13816
|
+
r"""
|
13817
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13818
|
+
:type RequestId: str
|
13819
|
+
"""
|
13820
|
+
self._RequestId = None
|
13821
|
+
|
13822
|
+
@property
|
13823
|
+
def RequestId(self):
|
13824
|
+
return self._RequestId
|
13825
|
+
|
13826
|
+
@RequestId.setter
|
13827
|
+
def RequestId(self, RequestId):
|
13828
|
+
self._RequestId = RequestId
|
13829
|
+
|
13830
|
+
|
13831
|
+
def _deserialize(self, params):
|
13832
|
+
self._RequestId = params.get("RequestId")
|
13833
|
+
|
13834
|
+
|
13835
|
+
class DeletePrivateNatGatewayTranslationAclRuleRequest(AbstractModel):
|
13836
|
+
"""DeletePrivateNatGatewayTranslationAclRule请求参数结构体
|
13837
|
+
|
13838
|
+
"""
|
13839
|
+
|
13840
|
+
def __init__(self):
|
13841
|
+
r"""
|
13842
|
+
:param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
13843
|
+
:type NatGatewayId: str
|
13844
|
+
:param _TranslationDirection: 转换规则目标,可选值"LOCAL"。
|
13845
|
+
:type TranslationDirection: str
|
13846
|
+
:param _TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
|
13847
|
+
:type TranslationType: str
|
13848
|
+
:param _TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池
|
13849
|
+
:type TranslationIp: str
|
13850
|
+
:param _AclRuleIds: 访问控制规则对应`ID`
|
13851
|
+
:type AclRuleIds: list of int non-negative
|
13852
|
+
:param _OriginalIp: 源`IP`,当转换规则类型为三层时有效
|
13853
|
+
:type OriginalIp: str
|
13854
|
+
"""
|
13855
|
+
self._NatGatewayId = None
|
13856
|
+
self._TranslationDirection = None
|
13857
|
+
self._TranslationType = None
|
13858
|
+
self._TranslationIp = None
|
13859
|
+
self._AclRuleIds = None
|
13860
|
+
self._OriginalIp = None
|
13861
|
+
|
13862
|
+
@property
|
13863
|
+
def NatGatewayId(self):
|
13864
|
+
return self._NatGatewayId
|
13865
|
+
|
13866
|
+
@NatGatewayId.setter
|
13867
|
+
def NatGatewayId(self, NatGatewayId):
|
13868
|
+
self._NatGatewayId = NatGatewayId
|
13869
|
+
|
13870
|
+
@property
|
13871
|
+
def TranslationDirection(self):
|
13872
|
+
return self._TranslationDirection
|
13873
|
+
|
13874
|
+
@TranslationDirection.setter
|
13875
|
+
def TranslationDirection(self, TranslationDirection):
|
13876
|
+
self._TranslationDirection = TranslationDirection
|
13877
|
+
|
13878
|
+
@property
|
13879
|
+
def TranslationType(self):
|
13880
|
+
return self._TranslationType
|
13881
|
+
|
13882
|
+
@TranslationType.setter
|
13883
|
+
def TranslationType(self, TranslationType):
|
13884
|
+
self._TranslationType = TranslationType
|
13885
|
+
|
13886
|
+
@property
|
13887
|
+
def TranslationIp(self):
|
13888
|
+
return self._TranslationIp
|
13889
|
+
|
13890
|
+
@TranslationIp.setter
|
13891
|
+
def TranslationIp(self, TranslationIp):
|
13892
|
+
self._TranslationIp = TranslationIp
|
13893
|
+
|
13894
|
+
@property
|
13895
|
+
def AclRuleIds(self):
|
13896
|
+
return self._AclRuleIds
|
13897
|
+
|
13898
|
+
@AclRuleIds.setter
|
13899
|
+
def AclRuleIds(self, AclRuleIds):
|
13900
|
+
self._AclRuleIds = AclRuleIds
|
13901
|
+
|
13902
|
+
@property
|
13903
|
+
def OriginalIp(self):
|
13904
|
+
return self._OriginalIp
|
13905
|
+
|
13906
|
+
@OriginalIp.setter
|
13907
|
+
def OriginalIp(self, OriginalIp):
|
13908
|
+
self._OriginalIp = OriginalIp
|
13909
|
+
|
13910
|
+
|
13911
|
+
def _deserialize(self, params):
|
13912
|
+
self._NatGatewayId = params.get("NatGatewayId")
|
13913
|
+
self._TranslationDirection = params.get("TranslationDirection")
|
13914
|
+
self._TranslationType = params.get("TranslationType")
|
13915
|
+
self._TranslationIp = params.get("TranslationIp")
|
13916
|
+
self._AclRuleIds = params.get("AclRuleIds")
|
13917
|
+
self._OriginalIp = params.get("OriginalIp")
|
13918
|
+
memeber_set = set(params.keys())
|
13919
|
+
for name, value in vars(self).items():
|
13920
|
+
property_name = name[1:]
|
13921
|
+
if property_name in memeber_set:
|
13922
|
+
memeber_set.remove(property_name)
|
13923
|
+
if len(memeber_set) > 0:
|
13924
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
13925
|
+
|
13926
|
+
|
13927
|
+
|
13928
|
+
class DeletePrivateNatGatewayTranslationAclRuleResponse(AbstractModel):
|
13929
|
+
"""DeletePrivateNatGatewayTranslationAclRule返回参数结构体
|
13930
|
+
|
13931
|
+
"""
|
13932
|
+
|
13933
|
+
def __init__(self):
|
13934
|
+
r"""
|
13935
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13936
|
+
:type RequestId: str
|
13937
|
+
"""
|
13938
|
+
self._RequestId = None
|
13939
|
+
|
13940
|
+
@property
|
13941
|
+
def RequestId(self):
|
13942
|
+
return self._RequestId
|
13943
|
+
|
13944
|
+
@RequestId.setter
|
13945
|
+
def RequestId(self, RequestId):
|
13946
|
+
self._RequestId = RequestId
|
13947
|
+
|
13948
|
+
|
13949
|
+
def _deserialize(self, params):
|
13950
|
+
self._RequestId = params.get("RequestId")
|
13951
|
+
|
13952
|
+
|
13953
|
+
class DeletePrivateNatGatewayTranslationNatRuleRequest(AbstractModel):
|
13954
|
+
"""DeletePrivateNatGatewayTranslationNatRule请求参数结构体
|
13955
|
+
|
13956
|
+
"""
|
13957
|
+
|
13958
|
+
def __init__(self):
|
13959
|
+
r"""
|
13960
|
+
:param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
13961
|
+
:type NatGatewayId: str
|
13962
|
+
:param _TranslationNatRules: 转换规则对象数组。
|
13963
|
+
:type TranslationNatRules: list of TranslationNatRule
|
13964
|
+
:param _CrossDomain: 跨域参数,当VPC为跨域时填写为True。
|
13965
|
+
:type CrossDomain: bool
|
13966
|
+
"""
|
13967
|
+
self._NatGatewayId = None
|
13968
|
+
self._TranslationNatRules = None
|
13969
|
+
self._CrossDomain = None
|
13970
|
+
|
13971
|
+
@property
|
13972
|
+
def NatGatewayId(self):
|
13973
|
+
return self._NatGatewayId
|
13974
|
+
|
13975
|
+
@NatGatewayId.setter
|
13976
|
+
def NatGatewayId(self, NatGatewayId):
|
13977
|
+
self._NatGatewayId = NatGatewayId
|
13978
|
+
|
13979
|
+
@property
|
13980
|
+
def TranslationNatRules(self):
|
13981
|
+
return self._TranslationNatRules
|
13982
|
+
|
13983
|
+
@TranslationNatRules.setter
|
13984
|
+
def TranslationNatRules(self, TranslationNatRules):
|
13985
|
+
self._TranslationNatRules = TranslationNatRules
|
13986
|
+
|
13987
|
+
@property
|
13988
|
+
def CrossDomain(self):
|
13989
|
+
return self._CrossDomain
|
13990
|
+
|
13991
|
+
@CrossDomain.setter
|
13992
|
+
def CrossDomain(self, CrossDomain):
|
13993
|
+
self._CrossDomain = CrossDomain
|
13994
|
+
|
13995
|
+
|
13996
|
+
def _deserialize(self, params):
|
13997
|
+
self._NatGatewayId = params.get("NatGatewayId")
|
13998
|
+
if params.get("TranslationNatRules") is not None:
|
13999
|
+
self._TranslationNatRules = []
|
14000
|
+
for item in params.get("TranslationNatRules"):
|
14001
|
+
obj = TranslationNatRule()
|
14002
|
+
obj._deserialize(item)
|
14003
|
+
self._TranslationNatRules.append(obj)
|
14004
|
+
self._CrossDomain = params.get("CrossDomain")
|
14005
|
+
memeber_set = set(params.keys())
|
14006
|
+
for name, value in vars(self).items():
|
14007
|
+
property_name = name[1:]
|
14008
|
+
if property_name in memeber_set:
|
14009
|
+
memeber_set.remove(property_name)
|
14010
|
+
if len(memeber_set) > 0:
|
14011
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
14012
|
+
|
14013
|
+
|
14014
|
+
|
14015
|
+
class DeletePrivateNatGatewayTranslationNatRuleResponse(AbstractModel):
|
14016
|
+
"""DeletePrivateNatGatewayTranslationNatRule返回参数结构体
|
14017
|
+
|
14018
|
+
"""
|
14019
|
+
|
14020
|
+
def __init__(self):
|
14021
|
+
r"""
|
14022
|
+
:param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
14023
|
+
:type NatGatewayId: str
|
14024
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14025
|
+
:type RequestId: str
|
14026
|
+
"""
|
14027
|
+
self._NatGatewayId = None
|
14028
|
+
self._RequestId = None
|
14029
|
+
|
14030
|
+
@property
|
14031
|
+
def NatGatewayId(self):
|
14032
|
+
return self._NatGatewayId
|
14033
|
+
|
14034
|
+
@NatGatewayId.setter
|
14035
|
+
def NatGatewayId(self, NatGatewayId):
|
14036
|
+
self._NatGatewayId = NatGatewayId
|
14037
|
+
|
14038
|
+
@property
|
14039
|
+
def RequestId(self):
|
14040
|
+
return self._RequestId
|
14041
|
+
|
14042
|
+
@RequestId.setter
|
14043
|
+
def RequestId(self, RequestId):
|
14044
|
+
self._RequestId = RequestId
|
14045
|
+
|
14046
|
+
|
14047
|
+
def _deserialize(self, params):
|
14048
|
+
self._NatGatewayId = params.get("NatGatewayId")
|
14049
|
+
self._RequestId = params.get("RequestId")
|
14050
|
+
|
14051
|
+
|
13253
14052
|
class DeleteRouteTableRequest(AbstractModel):
|
13254
14053
|
"""DeleteRouteTable请求参数结构体
|
13255
14054
|
|
@@ -20176,6 +20975,758 @@ class DescribeNetworkInterfacesResponse(AbstractModel):
|
|
20176
20975
|
self._RequestId = params.get("RequestId")
|
20177
20976
|
|
20178
20977
|
|
20978
|
+
class DescribePrivateNatGatewayDestinationIpPortTranslationNatRulesRequest(AbstractModel):
|
20979
|
+
"""DescribePrivateNatGatewayDestinationIpPortTranslationNatRules请求参数结构体
|
20980
|
+
|
20981
|
+
"""
|
20982
|
+
|
20983
|
+
def __init__(self):
|
20984
|
+
r"""
|
20985
|
+
:param _NatGatewayId: 私网网关唯一`ID`,形如"intranat-xxxxxxxx)
|
20986
|
+
:type NatGatewayId: str
|
20987
|
+
:param _Filters: 过滤条件,Name可选值"OriginalIp", "TranslationIp", "OriginalPort","TranslationPort", "Protocol", "Description"
|
20988
|
+
:type Filters: list of Filter
|
20989
|
+
:param _Offset: 偏移量,默认值为0。
|
20990
|
+
:type Offset: int
|
20991
|
+
:param _Limit: 返回数目,默认值为20。
|
20992
|
+
:type Limit: int
|
20993
|
+
"""
|
20994
|
+
self._NatGatewayId = None
|
20995
|
+
self._Filters = None
|
20996
|
+
self._Offset = None
|
20997
|
+
self._Limit = None
|
20998
|
+
|
20999
|
+
@property
|
21000
|
+
def NatGatewayId(self):
|
21001
|
+
return self._NatGatewayId
|
21002
|
+
|
21003
|
+
@NatGatewayId.setter
|
21004
|
+
def NatGatewayId(self, NatGatewayId):
|
21005
|
+
self._NatGatewayId = NatGatewayId
|
21006
|
+
|
21007
|
+
@property
|
21008
|
+
def Filters(self):
|
21009
|
+
return self._Filters
|
21010
|
+
|
21011
|
+
@Filters.setter
|
21012
|
+
def Filters(self, Filters):
|
21013
|
+
self._Filters = Filters
|
21014
|
+
|
21015
|
+
@property
|
21016
|
+
def Offset(self):
|
21017
|
+
return self._Offset
|
21018
|
+
|
21019
|
+
@Offset.setter
|
21020
|
+
def Offset(self, Offset):
|
21021
|
+
self._Offset = Offset
|
21022
|
+
|
21023
|
+
@property
|
21024
|
+
def Limit(self):
|
21025
|
+
return self._Limit
|
21026
|
+
|
21027
|
+
@Limit.setter
|
21028
|
+
def Limit(self, Limit):
|
21029
|
+
self._Limit = Limit
|
21030
|
+
|
21031
|
+
|
21032
|
+
def _deserialize(self, params):
|
21033
|
+
self._NatGatewayId = params.get("NatGatewayId")
|
21034
|
+
if params.get("Filters") is not None:
|
21035
|
+
self._Filters = []
|
21036
|
+
for item in params.get("Filters"):
|
21037
|
+
obj = Filter()
|
21038
|
+
obj._deserialize(item)
|
21039
|
+
self._Filters.append(obj)
|
21040
|
+
self._Offset = params.get("Offset")
|
21041
|
+
self._Limit = params.get("Limit")
|
21042
|
+
memeber_set = set(params.keys())
|
21043
|
+
for name, value in vars(self).items():
|
21044
|
+
property_name = name[1:]
|
21045
|
+
if property_name in memeber_set:
|
21046
|
+
memeber_set.remove(property_name)
|
21047
|
+
if len(memeber_set) > 0:
|
21048
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
21049
|
+
|
21050
|
+
|
21051
|
+
|
21052
|
+
class DescribePrivateNatGatewayDestinationIpPortTranslationNatRulesResponse(AbstractModel):
|
21053
|
+
"""DescribePrivateNatGatewayDestinationIpPortTranslationNatRules返回参数结构体
|
21054
|
+
|
21055
|
+
"""
|
21056
|
+
|
21057
|
+
def __init__(self):
|
21058
|
+
r"""
|
21059
|
+
:param _TotalCount: 总规则数目。
|
21060
|
+
:type TotalCount: int
|
21061
|
+
:param _LocalDestinationIpPortTranslationNatRuleSet: 目的端口转换规则数组。
|
21062
|
+
:type LocalDestinationIpPortTranslationNatRuleSet: list of PrivateNatDestinationIpPortTranslationNatRule
|
21063
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
21064
|
+
:type RequestId: str
|
21065
|
+
"""
|
21066
|
+
self._TotalCount = None
|
21067
|
+
self._LocalDestinationIpPortTranslationNatRuleSet = None
|
21068
|
+
self._RequestId = None
|
21069
|
+
|
21070
|
+
@property
|
21071
|
+
def TotalCount(self):
|
21072
|
+
return self._TotalCount
|
21073
|
+
|
21074
|
+
@TotalCount.setter
|
21075
|
+
def TotalCount(self, TotalCount):
|
21076
|
+
self._TotalCount = TotalCount
|
21077
|
+
|
21078
|
+
@property
|
21079
|
+
def LocalDestinationIpPortTranslationNatRuleSet(self):
|
21080
|
+
return self._LocalDestinationIpPortTranslationNatRuleSet
|
21081
|
+
|
21082
|
+
@LocalDestinationIpPortTranslationNatRuleSet.setter
|
21083
|
+
def LocalDestinationIpPortTranslationNatRuleSet(self, LocalDestinationIpPortTranslationNatRuleSet):
|
21084
|
+
self._LocalDestinationIpPortTranslationNatRuleSet = LocalDestinationIpPortTranslationNatRuleSet
|
21085
|
+
|
21086
|
+
@property
|
21087
|
+
def RequestId(self):
|
21088
|
+
return self._RequestId
|
21089
|
+
|
21090
|
+
@RequestId.setter
|
21091
|
+
def RequestId(self, RequestId):
|
21092
|
+
self._RequestId = RequestId
|
21093
|
+
|
21094
|
+
|
21095
|
+
def _deserialize(self, params):
|
21096
|
+
self._TotalCount = params.get("TotalCount")
|
21097
|
+
if params.get("LocalDestinationIpPortTranslationNatRuleSet") is not None:
|
21098
|
+
self._LocalDestinationIpPortTranslationNatRuleSet = []
|
21099
|
+
for item in params.get("LocalDestinationIpPortTranslationNatRuleSet"):
|
21100
|
+
obj = PrivateNatDestinationIpPortTranslationNatRule()
|
21101
|
+
obj._deserialize(item)
|
21102
|
+
self._LocalDestinationIpPortTranslationNatRuleSet.append(obj)
|
21103
|
+
self._RequestId = params.get("RequestId")
|
21104
|
+
|
21105
|
+
|
21106
|
+
class DescribePrivateNatGatewayLimitsRequest(AbstractModel):
|
21107
|
+
"""DescribePrivateNatGatewayLimits请求参数结构体
|
21108
|
+
|
21109
|
+
"""
|
21110
|
+
|
21111
|
+
def __init__(self):
|
21112
|
+
r"""
|
21113
|
+
:param _Filters: 查询VPC下可创建的私网网关配额数量,可选值:
|
21114
|
+
<li>VpcId - String - 所在VpcId</li>
|
21115
|
+
:type Filters: list of Filter
|
21116
|
+
:param _Offset: 偏移量,默认值为0。
|
21117
|
+
:type Offset: int
|
21118
|
+
:param _Limit: 返回数目,默认值为20。
|
21119
|
+
:type Limit: int
|
21120
|
+
"""
|
21121
|
+
self._Filters = None
|
21122
|
+
self._Offset = None
|
21123
|
+
self._Limit = None
|
21124
|
+
|
21125
|
+
@property
|
21126
|
+
def Filters(self):
|
21127
|
+
return self._Filters
|
21128
|
+
|
21129
|
+
@Filters.setter
|
21130
|
+
def Filters(self, Filters):
|
21131
|
+
self._Filters = Filters
|
21132
|
+
|
21133
|
+
@property
|
21134
|
+
def Offset(self):
|
21135
|
+
return self._Offset
|
21136
|
+
|
21137
|
+
@Offset.setter
|
21138
|
+
def Offset(self, Offset):
|
21139
|
+
self._Offset = Offset
|
21140
|
+
|
21141
|
+
@property
|
21142
|
+
def Limit(self):
|
21143
|
+
return self._Limit
|
21144
|
+
|
21145
|
+
@Limit.setter
|
21146
|
+
def Limit(self, Limit):
|
21147
|
+
self._Limit = Limit
|
21148
|
+
|
21149
|
+
|
21150
|
+
def _deserialize(self, params):
|
21151
|
+
if params.get("Filters") is not None:
|
21152
|
+
self._Filters = []
|
21153
|
+
for item in params.get("Filters"):
|
21154
|
+
obj = Filter()
|
21155
|
+
obj._deserialize(item)
|
21156
|
+
self._Filters.append(obj)
|
21157
|
+
self._Offset = params.get("Offset")
|
21158
|
+
self._Limit = params.get("Limit")
|
21159
|
+
memeber_set = set(params.keys())
|
21160
|
+
for name, value in vars(self).items():
|
21161
|
+
property_name = name[1:]
|
21162
|
+
if property_name in memeber_set:
|
21163
|
+
memeber_set.remove(property_name)
|
21164
|
+
if len(memeber_set) > 0:
|
21165
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
21166
|
+
|
21167
|
+
|
21168
|
+
|
21169
|
+
class DescribePrivateNatGatewayLimitsResponse(AbstractModel):
|
21170
|
+
"""DescribePrivateNatGatewayLimits返回参数结构体
|
21171
|
+
|
21172
|
+
"""
|
21173
|
+
|
21174
|
+
def __init__(self):
|
21175
|
+
r"""
|
21176
|
+
:param _TotalCount: 查询返回结果个数。
|
21177
|
+
:type TotalCount: int
|
21178
|
+
:param _PrivateNatGatewayLimitSet: 私网网关配额。
|
21179
|
+
:type PrivateNatGatewayLimitSet: list of PrivateNatGatewayLimit
|
21180
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
21181
|
+
:type RequestId: str
|
21182
|
+
"""
|
21183
|
+
self._TotalCount = None
|
21184
|
+
self._PrivateNatGatewayLimitSet = None
|
21185
|
+
self._RequestId = None
|
21186
|
+
|
21187
|
+
@property
|
21188
|
+
def TotalCount(self):
|
21189
|
+
return self._TotalCount
|
21190
|
+
|
21191
|
+
@TotalCount.setter
|
21192
|
+
def TotalCount(self, TotalCount):
|
21193
|
+
self._TotalCount = TotalCount
|
21194
|
+
|
21195
|
+
@property
|
21196
|
+
def PrivateNatGatewayLimitSet(self):
|
21197
|
+
return self._PrivateNatGatewayLimitSet
|
21198
|
+
|
21199
|
+
@PrivateNatGatewayLimitSet.setter
|
21200
|
+
def PrivateNatGatewayLimitSet(self, PrivateNatGatewayLimitSet):
|
21201
|
+
self._PrivateNatGatewayLimitSet = PrivateNatGatewayLimitSet
|
21202
|
+
|
21203
|
+
@property
|
21204
|
+
def RequestId(self):
|
21205
|
+
return self._RequestId
|
21206
|
+
|
21207
|
+
@RequestId.setter
|
21208
|
+
def RequestId(self, RequestId):
|
21209
|
+
self._RequestId = RequestId
|
21210
|
+
|
21211
|
+
|
21212
|
+
def _deserialize(self, params):
|
21213
|
+
self._TotalCount = params.get("TotalCount")
|
21214
|
+
if params.get("PrivateNatGatewayLimitSet") is not None:
|
21215
|
+
self._PrivateNatGatewayLimitSet = []
|
21216
|
+
for item in params.get("PrivateNatGatewayLimitSet"):
|
21217
|
+
obj = PrivateNatGatewayLimit()
|
21218
|
+
obj._deserialize(item)
|
21219
|
+
self._PrivateNatGatewayLimitSet.append(obj)
|
21220
|
+
self._RequestId = params.get("RequestId")
|
21221
|
+
|
21222
|
+
|
21223
|
+
class DescribePrivateNatGatewayRegionsRequest(AbstractModel):
|
21224
|
+
"""DescribePrivateNatGatewayRegions请求参数结构体
|
21225
|
+
|
21226
|
+
"""
|
21227
|
+
|
21228
|
+
|
21229
|
+
class DescribePrivateNatGatewayRegionsResponse(AbstractModel):
|
21230
|
+
"""DescribePrivateNatGatewayRegions返回参数结构体
|
21231
|
+
|
21232
|
+
"""
|
21233
|
+
|
21234
|
+
def __init__(self):
|
21235
|
+
r"""
|
21236
|
+
:param _RegionSet: 地域对象
|
21237
|
+
:type RegionSet: list of NatRegionInfoWithArea
|
21238
|
+
:param _TotalCount: 返回可支持地域总数
|
21239
|
+
:type TotalCount: int
|
21240
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
21241
|
+
:type RequestId: str
|
21242
|
+
"""
|
21243
|
+
self._RegionSet = None
|
21244
|
+
self._TotalCount = None
|
21245
|
+
self._RequestId = None
|
21246
|
+
|
21247
|
+
@property
|
21248
|
+
def RegionSet(self):
|
21249
|
+
return self._RegionSet
|
21250
|
+
|
21251
|
+
@RegionSet.setter
|
21252
|
+
def RegionSet(self, RegionSet):
|
21253
|
+
self._RegionSet = RegionSet
|
21254
|
+
|
21255
|
+
@property
|
21256
|
+
def TotalCount(self):
|
21257
|
+
return self._TotalCount
|
21258
|
+
|
21259
|
+
@TotalCount.setter
|
21260
|
+
def TotalCount(self, TotalCount):
|
21261
|
+
self._TotalCount = TotalCount
|
21262
|
+
|
21263
|
+
@property
|
21264
|
+
def RequestId(self):
|
21265
|
+
return self._RequestId
|
21266
|
+
|
21267
|
+
@RequestId.setter
|
21268
|
+
def RequestId(self, RequestId):
|
21269
|
+
self._RequestId = RequestId
|
21270
|
+
|
21271
|
+
|
21272
|
+
def _deserialize(self, params):
|
21273
|
+
if params.get("RegionSet") is not None:
|
21274
|
+
self._RegionSet = []
|
21275
|
+
for item in params.get("RegionSet"):
|
21276
|
+
obj = NatRegionInfoWithArea()
|
21277
|
+
obj._deserialize(item)
|
21278
|
+
self._RegionSet.append(obj)
|
21279
|
+
self._TotalCount = params.get("TotalCount")
|
21280
|
+
self._RequestId = params.get("RequestId")
|
21281
|
+
|
21282
|
+
|
21283
|
+
class DescribePrivateNatGatewayTranslationAclRulesRequest(AbstractModel):
|
21284
|
+
"""DescribePrivateNatGatewayTranslationAclRules请求参数结构体
|
21285
|
+
|
21286
|
+
"""
|
21287
|
+
|
21288
|
+
def __init__(self):
|
21289
|
+
r"""
|
21290
|
+
:param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
21291
|
+
:type NatGatewayId: str
|
21292
|
+
:param _TranslationDirection: 转换规则目标,可选值"LOCAL"。
|
21293
|
+
:type TranslationDirection: str
|
21294
|
+
:param _TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
|
21295
|
+
:type TranslationType: str
|
21296
|
+
:param _TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池。
|
21297
|
+
:type TranslationIp: str
|
21298
|
+
:param _OriginalIp: 源`IP`,当转换规则类型为三层时有效。
|
21299
|
+
:type OriginalIp: str
|
21300
|
+
:param _Offset: 偏移量。默认值为0。
|
21301
|
+
:type Offset: int
|
21302
|
+
:param _Limit: 返回数目,默认值为20。
|
21303
|
+
:type Limit: int
|
21304
|
+
"""
|
21305
|
+
self._NatGatewayId = None
|
21306
|
+
self._TranslationDirection = None
|
21307
|
+
self._TranslationType = None
|
21308
|
+
self._TranslationIp = None
|
21309
|
+
self._OriginalIp = None
|
21310
|
+
self._Offset = None
|
21311
|
+
self._Limit = None
|
21312
|
+
|
21313
|
+
@property
|
21314
|
+
def NatGatewayId(self):
|
21315
|
+
return self._NatGatewayId
|
21316
|
+
|
21317
|
+
@NatGatewayId.setter
|
21318
|
+
def NatGatewayId(self, NatGatewayId):
|
21319
|
+
self._NatGatewayId = NatGatewayId
|
21320
|
+
|
21321
|
+
@property
|
21322
|
+
def TranslationDirection(self):
|
21323
|
+
return self._TranslationDirection
|
21324
|
+
|
21325
|
+
@TranslationDirection.setter
|
21326
|
+
def TranslationDirection(self, TranslationDirection):
|
21327
|
+
self._TranslationDirection = TranslationDirection
|
21328
|
+
|
21329
|
+
@property
|
21330
|
+
def TranslationType(self):
|
21331
|
+
return self._TranslationType
|
21332
|
+
|
21333
|
+
@TranslationType.setter
|
21334
|
+
def TranslationType(self, TranslationType):
|
21335
|
+
self._TranslationType = TranslationType
|
21336
|
+
|
21337
|
+
@property
|
21338
|
+
def TranslationIp(self):
|
21339
|
+
return self._TranslationIp
|
21340
|
+
|
21341
|
+
@TranslationIp.setter
|
21342
|
+
def TranslationIp(self, TranslationIp):
|
21343
|
+
self._TranslationIp = TranslationIp
|
21344
|
+
|
21345
|
+
@property
|
21346
|
+
def OriginalIp(self):
|
21347
|
+
return self._OriginalIp
|
21348
|
+
|
21349
|
+
@OriginalIp.setter
|
21350
|
+
def OriginalIp(self, OriginalIp):
|
21351
|
+
self._OriginalIp = OriginalIp
|
21352
|
+
|
21353
|
+
@property
|
21354
|
+
def Offset(self):
|
21355
|
+
return self._Offset
|
21356
|
+
|
21357
|
+
@Offset.setter
|
21358
|
+
def Offset(self, Offset):
|
21359
|
+
self._Offset = Offset
|
21360
|
+
|
21361
|
+
@property
|
21362
|
+
def Limit(self):
|
21363
|
+
return self._Limit
|
21364
|
+
|
21365
|
+
@Limit.setter
|
21366
|
+
def Limit(self, Limit):
|
21367
|
+
self._Limit = Limit
|
21368
|
+
|
21369
|
+
|
21370
|
+
def _deserialize(self, params):
|
21371
|
+
self._NatGatewayId = params.get("NatGatewayId")
|
21372
|
+
self._TranslationDirection = params.get("TranslationDirection")
|
21373
|
+
self._TranslationType = params.get("TranslationType")
|
21374
|
+
self._TranslationIp = params.get("TranslationIp")
|
21375
|
+
self._OriginalIp = params.get("OriginalIp")
|
21376
|
+
self._Offset = params.get("Offset")
|
21377
|
+
self._Limit = params.get("Limit")
|
21378
|
+
memeber_set = set(params.keys())
|
21379
|
+
for name, value in vars(self).items():
|
21380
|
+
property_name = name[1:]
|
21381
|
+
if property_name in memeber_set:
|
21382
|
+
memeber_set.remove(property_name)
|
21383
|
+
if len(memeber_set) > 0:
|
21384
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
21385
|
+
|
21386
|
+
|
21387
|
+
|
21388
|
+
class DescribePrivateNatGatewayTranslationAclRulesResponse(AbstractModel):
|
21389
|
+
"""DescribePrivateNatGatewayTranslationAclRules返回参数结构体
|
21390
|
+
|
21391
|
+
"""
|
21392
|
+
|
21393
|
+
def __init__(self):
|
21394
|
+
r"""
|
21395
|
+
:param _TotalCount: 返回个数。
|
21396
|
+
:type TotalCount: int
|
21397
|
+
:param _TranslationAclRuleSet: 访问控制规则列表。
|
21398
|
+
:type TranslationAclRuleSet: list of TranslationAclRule
|
21399
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
21400
|
+
:type RequestId: str
|
21401
|
+
"""
|
21402
|
+
self._TotalCount = None
|
21403
|
+
self._TranslationAclRuleSet = None
|
21404
|
+
self._RequestId = None
|
21405
|
+
|
21406
|
+
@property
|
21407
|
+
def TotalCount(self):
|
21408
|
+
return self._TotalCount
|
21409
|
+
|
21410
|
+
@TotalCount.setter
|
21411
|
+
def TotalCount(self, TotalCount):
|
21412
|
+
self._TotalCount = TotalCount
|
21413
|
+
|
21414
|
+
@property
|
21415
|
+
def TranslationAclRuleSet(self):
|
21416
|
+
return self._TranslationAclRuleSet
|
21417
|
+
|
21418
|
+
@TranslationAclRuleSet.setter
|
21419
|
+
def TranslationAclRuleSet(self, TranslationAclRuleSet):
|
21420
|
+
self._TranslationAclRuleSet = TranslationAclRuleSet
|
21421
|
+
|
21422
|
+
@property
|
21423
|
+
def RequestId(self):
|
21424
|
+
return self._RequestId
|
21425
|
+
|
21426
|
+
@RequestId.setter
|
21427
|
+
def RequestId(self, RequestId):
|
21428
|
+
self._RequestId = RequestId
|
21429
|
+
|
21430
|
+
|
21431
|
+
def _deserialize(self, params):
|
21432
|
+
self._TotalCount = params.get("TotalCount")
|
21433
|
+
if params.get("TranslationAclRuleSet") is not None:
|
21434
|
+
self._TranslationAclRuleSet = []
|
21435
|
+
for item in params.get("TranslationAclRuleSet"):
|
21436
|
+
obj = TranslationAclRule()
|
21437
|
+
obj._deserialize(item)
|
21438
|
+
self._TranslationAclRuleSet.append(obj)
|
21439
|
+
self._RequestId = params.get("RequestId")
|
21440
|
+
|
21441
|
+
|
21442
|
+
class DescribePrivateNatGatewayTranslationNatRulesRequest(AbstractModel):
|
21443
|
+
"""DescribePrivateNatGatewayTranslationNatRules请求参数结构体
|
21444
|
+
|
21445
|
+
"""
|
21446
|
+
|
21447
|
+
def __init__(self):
|
21448
|
+
r"""
|
21449
|
+
:param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
21450
|
+
:type NatGatewayId: str
|
21451
|
+
:param _Filters: 过滤条件。
|
21452
|
+
<li>OriginalIp - String - 转换规则源`IP`。</li>
|
21453
|
+
<li>TranslationIp - String - 转换`IP`。</li>
|
21454
|
+
<li>VpcId - String - 私网网关所在`VpcId`。</li>
|
21455
|
+
<li>Description - String - 转换规则描述</li>
|
21456
|
+
:type Filters: list of Filter
|
21457
|
+
:param _Offset: 偏移量。默认值为0。
|
21458
|
+
:type Offset: int
|
21459
|
+
:param _Limit: 返回数量。默认值为20。
|
21460
|
+
:type Limit: int
|
21461
|
+
"""
|
21462
|
+
self._NatGatewayId = None
|
21463
|
+
self._Filters = None
|
21464
|
+
self._Offset = None
|
21465
|
+
self._Limit = None
|
21466
|
+
|
21467
|
+
@property
|
21468
|
+
def NatGatewayId(self):
|
21469
|
+
return self._NatGatewayId
|
21470
|
+
|
21471
|
+
@NatGatewayId.setter
|
21472
|
+
def NatGatewayId(self, NatGatewayId):
|
21473
|
+
self._NatGatewayId = NatGatewayId
|
21474
|
+
|
21475
|
+
@property
|
21476
|
+
def Filters(self):
|
21477
|
+
return self._Filters
|
21478
|
+
|
21479
|
+
@Filters.setter
|
21480
|
+
def Filters(self, Filters):
|
21481
|
+
self._Filters = Filters
|
21482
|
+
|
21483
|
+
@property
|
21484
|
+
def Offset(self):
|
21485
|
+
return self._Offset
|
21486
|
+
|
21487
|
+
@Offset.setter
|
21488
|
+
def Offset(self, Offset):
|
21489
|
+
self._Offset = Offset
|
21490
|
+
|
21491
|
+
@property
|
21492
|
+
def Limit(self):
|
21493
|
+
return self._Limit
|
21494
|
+
|
21495
|
+
@Limit.setter
|
21496
|
+
def Limit(self, Limit):
|
21497
|
+
self._Limit = Limit
|
21498
|
+
|
21499
|
+
|
21500
|
+
def _deserialize(self, params):
|
21501
|
+
self._NatGatewayId = params.get("NatGatewayId")
|
21502
|
+
if params.get("Filters") is not None:
|
21503
|
+
self._Filters = []
|
21504
|
+
for item in params.get("Filters"):
|
21505
|
+
obj = Filter()
|
21506
|
+
obj._deserialize(item)
|
21507
|
+
self._Filters.append(obj)
|
21508
|
+
self._Offset = params.get("Offset")
|
21509
|
+
self._Limit = params.get("Limit")
|
21510
|
+
memeber_set = set(params.keys())
|
21511
|
+
for name, value in vars(self).items():
|
21512
|
+
property_name = name[1:]
|
21513
|
+
if property_name in memeber_set:
|
21514
|
+
memeber_set.remove(property_name)
|
21515
|
+
if len(memeber_set) > 0:
|
21516
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
21517
|
+
|
21518
|
+
|
21519
|
+
|
21520
|
+
class DescribePrivateNatGatewayTranslationNatRulesResponse(AbstractModel):
|
21521
|
+
"""DescribePrivateNatGatewayTranslationNatRules返回参数结构体
|
21522
|
+
|
21523
|
+
"""
|
21524
|
+
|
21525
|
+
def __init__(self):
|
21526
|
+
r"""
|
21527
|
+
:param _TotalCount: 对象数目。
|
21528
|
+
:type TotalCount: int
|
21529
|
+
:param _TranslationNatRuleSet: 转换规则详情数组。
|
21530
|
+
:type TranslationNatRuleSet: list of TranslationNatRule
|
21531
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
21532
|
+
:type RequestId: str
|
21533
|
+
"""
|
21534
|
+
self._TotalCount = None
|
21535
|
+
self._TranslationNatRuleSet = None
|
21536
|
+
self._RequestId = None
|
21537
|
+
|
21538
|
+
@property
|
21539
|
+
def TotalCount(self):
|
21540
|
+
return self._TotalCount
|
21541
|
+
|
21542
|
+
@TotalCount.setter
|
21543
|
+
def TotalCount(self, TotalCount):
|
21544
|
+
self._TotalCount = TotalCount
|
21545
|
+
|
21546
|
+
@property
|
21547
|
+
def TranslationNatRuleSet(self):
|
21548
|
+
return self._TranslationNatRuleSet
|
21549
|
+
|
21550
|
+
@TranslationNatRuleSet.setter
|
21551
|
+
def TranslationNatRuleSet(self, TranslationNatRuleSet):
|
21552
|
+
self._TranslationNatRuleSet = TranslationNatRuleSet
|
21553
|
+
|
21554
|
+
@property
|
21555
|
+
def RequestId(self):
|
21556
|
+
return self._RequestId
|
21557
|
+
|
21558
|
+
@RequestId.setter
|
21559
|
+
def RequestId(self, RequestId):
|
21560
|
+
self._RequestId = RequestId
|
21561
|
+
|
21562
|
+
|
21563
|
+
def _deserialize(self, params):
|
21564
|
+
self._TotalCount = params.get("TotalCount")
|
21565
|
+
if params.get("TranslationNatRuleSet") is not None:
|
21566
|
+
self._TranslationNatRuleSet = []
|
21567
|
+
for item in params.get("TranslationNatRuleSet"):
|
21568
|
+
obj = TranslationNatRule()
|
21569
|
+
obj._deserialize(item)
|
21570
|
+
self._TranslationNatRuleSet.append(obj)
|
21571
|
+
self._RequestId = params.get("RequestId")
|
21572
|
+
|
21573
|
+
|
21574
|
+
class DescribePrivateNatGatewaysRequest(AbstractModel):
|
21575
|
+
"""DescribePrivateNatGateways请求参数结构体
|
21576
|
+
|
21577
|
+
"""
|
21578
|
+
|
21579
|
+
def __init__(self):
|
21580
|
+
r"""
|
21581
|
+
:param _NatGatewayIds: 私网网关唯一`ID`,形如:`intranat-0g3blj80`。
|
21582
|
+
:type NatGatewayIds: list of str
|
21583
|
+
:param _Filters: 过滤条件。
|
21584
|
+
<li>NatGatewayId - String - 私网网关唯一`ID`,形如:`intranat-0g3blj80`。</li>
|
21585
|
+
<li>NatGatewayName - String - 专线网关名称,默认模糊查询。</li>
|
21586
|
+
<li>VpcId - String - 私网网关所在`VpcId`。</li>
|
21587
|
+
<li>TagKey - Tag数组 - 私网网关标签键值对数组</li>
|
21588
|
+
:type Filters: list of Filter
|
21589
|
+
:param _Offset: 偏移量,默认为0。
|
21590
|
+
:type Offset: int
|
21591
|
+
:param _Limit: 返回数量,默认为20。
|
21592
|
+
:type Limit: int
|
21593
|
+
:param _OrderField: 排序字段。可选值:"NatGatewayId"、"NatGatewayName"、"CreatedTime"
|
21594
|
+
:type OrderField: str
|
21595
|
+
:param _OrderDirection: 排序方式。可选值:"ASC"、"DESC"。
|
21596
|
+
:type OrderDirection: str
|
21597
|
+
"""
|
21598
|
+
self._NatGatewayIds = None
|
21599
|
+
self._Filters = None
|
21600
|
+
self._Offset = None
|
21601
|
+
self._Limit = None
|
21602
|
+
self._OrderField = None
|
21603
|
+
self._OrderDirection = None
|
21604
|
+
|
21605
|
+
@property
|
21606
|
+
def NatGatewayIds(self):
|
21607
|
+
return self._NatGatewayIds
|
21608
|
+
|
21609
|
+
@NatGatewayIds.setter
|
21610
|
+
def NatGatewayIds(self, NatGatewayIds):
|
21611
|
+
self._NatGatewayIds = NatGatewayIds
|
21612
|
+
|
21613
|
+
@property
|
21614
|
+
def Filters(self):
|
21615
|
+
return self._Filters
|
21616
|
+
|
21617
|
+
@Filters.setter
|
21618
|
+
def Filters(self, Filters):
|
21619
|
+
self._Filters = Filters
|
21620
|
+
|
21621
|
+
@property
|
21622
|
+
def Offset(self):
|
21623
|
+
return self._Offset
|
21624
|
+
|
21625
|
+
@Offset.setter
|
21626
|
+
def Offset(self, Offset):
|
21627
|
+
self._Offset = Offset
|
21628
|
+
|
21629
|
+
@property
|
21630
|
+
def Limit(self):
|
21631
|
+
return self._Limit
|
21632
|
+
|
21633
|
+
@Limit.setter
|
21634
|
+
def Limit(self, Limit):
|
21635
|
+
self._Limit = Limit
|
21636
|
+
|
21637
|
+
@property
|
21638
|
+
def OrderField(self):
|
21639
|
+
return self._OrderField
|
21640
|
+
|
21641
|
+
@OrderField.setter
|
21642
|
+
def OrderField(self, OrderField):
|
21643
|
+
self._OrderField = OrderField
|
21644
|
+
|
21645
|
+
@property
|
21646
|
+
def OrderDirection(self):
|
21647
|
+
return self._OrderDirection
|
21648
|
+
|
21649
|
+
@OrderDirection.setter
|
21650
|
+
def OrderDirection(self, OrderDirection):
|
21651
|
+
self._OrderDirection = OrderDirection
|
21652
|
+
|
21653
|
+
|
21654
|
+
def _deserialize(self, params):
|
21655
|
+
self._NatGatewayIds = params.get("NatGatewayIds")
|
21656
|
+
if params.get("Filters") is not None:
|
21657
|
+
self._Filters = []
|
21658
|
+
for item in params.get("Filters"):
|
21659
|
+
obj = Filter()
|
21660
|
+
obj._deserialize(item)
|
21661
|
+
self._Filters.append(obj)
|
21662
|
+
self._Offset = params.get("Offset")
|
21663
|
+
self._Limit = params.get("Limit")
|
21664
|
+
self._OrderField = params.get("OrderField")
|
21665
|
+
self._OrderDirection = params.get("OrderDirection")
|
21666
|
+
memeber_set = set(params.keys())
|
21667
|
+
for name, value in vars(self).items():
|
21668
|
+
property_name = name[1:]
|
21669
|
+
if property_name in memeber_set:
|
21670
|
+
memeber_set.remove(property_name)
|
21671
|
+
if len(memeber_set) > 0:
|
21672
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
21673
|
+
|
21674
|
+
|
21675
|
+
|
21676
|
+
class DescribePrivateNatGatewaysResponse(AbstractModel):
|
21677
|
+
"""DescribePrivateNatGateways返回参数结构体
|
21678
|
+
|
21679
|
+
"""
|
21680
|
+
|
21681
|
+
def __init__(self):
|
21682
|
+
r"""
|
21683
|
+
:param _TotalCount: 符合条件的对象数。
|
21684
|
+
:type TotalCount: int
|
21685
|
+
:param _PrivateNatGatewaySet: 私网网关对象数组。
|
21686
|
+
:type PrivateNatGatewaySet: list of PrivateNatGateway
|
21687
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
21688
|
+
:type RequestId: str
|
21689
|
+
"""
|
21690
|
+
self._TotalCount = None
|
21691
|
+
self._PrivateNatGatewaySet = None
|
21692
|
+
self._RequestId = None
|
21693
|
+
|
21694
|
+
@property
|
21695
|
+
def TotalCount(self):
|
21696
|
+
return self._TotalCount
|
21697
|
+
|
21698
|
+
@TotalCount.setter
|
21699
|
+
def TotalCount(self, TotalCount):
|
21700
|
+
self._TotalCount = TotalCount
|
21701
|
+
|
21702
|
+
@property
|
21703
|
+
def PrivateNatGatewaySet(self):
|
21704
|
+
return self._PrivateNatGatewaySet
|
21705
|
+
|
21706
|
+
@PrivateNatGatewaySet.setter
|
21707
|
+
def PrivateNatGatewaySet(self, PrivateNatGatewaySet):
|
21708
|
+
self._PrivateNatGatewaySet = PrivateNatGatewaySet
|
21709
|
+
|
21710
|
+
@property
|
21711
|
+
def RequestId(self):
|
21712
|
+
return self._RequestId
|
21713
|
+
|
21714
|
+
@RequestId.setter
|
21715
|
+
def RequestId(self, RequestId):
|
21716
|
+
self._RequestId = RequestId
|
21717
|
+
|
21718
|
+
|
21719
|
+
def _deserialize(self, params):
|
21720
|
+
self._TotalCount = params.get("TotalCount")
|
21721
|
+
if params.get("PrivateNatGatewaySet") is not None:
|
21722
|
+
self._PrivateNatGatewaySet = []
|
21723
|
+
for item in params.get("PrivateNatGatewaySet"):
|
21724
|
+
obj = PrivateNatGateway()
|
21725
|
+
obj._deserialize(item)
|
21726
|
+
self._PrivateNatGatewaySet.append(obj)
|
21727
|
+
self._RequestId = params.get("RequestId")
|
21728
|
+
|
21729
|
+
|
20179
21730
|
class DescribeProductQuotaRequest(AbstractModel):
|
20180
21731
|
"""DescribeProductQuota请求参数结构体
|
20181
21732
|
|
@@ -24916,6 +26467,159 @@ class DestinationIpPortTranslationNatRule(AbstractModel):
|
|
24916
26467
|
|
24917
26468
|
|
24918
26469
|
|
26470
|
+
class DestinationIpPortTranslationNatRuleDiff(AbstractModel):
|
26471
|
+
"""本端目的IP端口转换复杂结构
|
26472
|
+
|
26473
|
+
"""
|
26474
|
+
|
26475
|
+
def __init__(self):
|
26476
|
+
r"""
|
26477
|
+
:param _Protocol: 协议
|
26478
|
+
:type Protocol: str
|
26479
|
+
:param _OriginalPort: 源端口
|
26480
|
+
:type OriginalPort: int
|
26481
|
+
:param _OriginalIp: 源IP
|
26482
|
+
:type OriginalIp: str
|
26483
|
+
:param _TranslationPort: 目的端口
|
26484
|
+
:type TranslationPort: int
|
26485
|
+
:param _TranslationIp: 目的IP
|
26486
|
+
:type TranslationIp: str
|
26487
|
+
:param _OldProtocol: 旧协议。
|
26488
|
+
:type OldProtocol: str
|
26489
|
+
:param _OldOriginalPort: 旧源端口
|
26490
|
+
:type OldOriginalPort: int
|
26491
|
+
:param _OldOriginalIp: 旧源IP
|
26492
|
+
:type OldOriginalIp: str
|
26493
|
+
:param _OldTranslationPort: 旧目的端口
|
26494
|
+
:type OldTranslationPort: int
|
26495
|
+
:param _OldTranslationIp: 旧目的IP
|
26496
|
+
:type OldTranslationIp: str
|
26497
|
+
:param _Description: 描述
|
26498
|
+
:type Description: str
|
26499
|
+
"""
|
26500
|
+
self._Protocol = None
|
26501
|
+
self._OriginalPort = None
|
26502
|
+
self._OriginalIp = None
|
26503
|
+
self._TranslationPort = None
|
26504
|
+
self._TranslationIp = None
|
26505
|
+
self._OldProtocol = None
|
26506
|
+
self._OldOriginalPort = None
|
26507
|
+
self._OldOriginalIp = None
|
26508
|
+
self._OldTranslationPort = None
|
26509
|
+
self._OldTranslationIp = None
|
26510
|
+
self._Description = None
|
26511
|
+
|
26512
|
+
@property
|
26513
|
+
def Protocol(self):
|
26514
|
+
return self._Protocol
|
26515
|
+
|
26516
|
+
@Protocol.setter
|
26517
|
+
def Protocol(self, Protocol):
|
26518
|
+
self._Protocol = Protocol
|
26519
|
+
|
26520
|
+
@property
|
26521
|
+
def OriginalPort(self):
|
26522
|
+
return self._OriginalPort
|
26523
|
+
|
26524
|
+
@OriginalPort.setter
|
26525
|
+
def OriginalPort(self, OriginalPort):
|
26526
|
+
self._OriginalPort = OriginalPort
|
26527
|
+
|
26528
|
+
@property
|
26529
|
+
def OriginalIp(self):
|
26530
|
+
return self._OriginalIp
|
26531
|
+
|
26532
|
+
@OriginalIp.setter
|
26533
|
+
def OriginalIp(self, OriginalIp):
|
26534
|
+
self._OriginalIp = OriginalIp
|
26535
|
+
|
26536
|
+
@property
|
26537
|
+
def TranslationPort(self):
|
26538
|
+
return self._TranslationPort
|
26539
|
+
|
26540
|
+
@TranslationPort.setter
|
26541
|
+
def TranslationPort(self, TranslationPort):
|
26542
|
+
self._TranslationPort = TranslationPort
|
26543
|
+
|
26544
|
+
@property
|
26545
|
+
def TranslationIp(self):
|
26546
|
+
return self._TranslationIp
|
26547
|
+
|
26548
|
+
@TranslationIp.setter
|
26549
|
+
def TranslationIp(self, TranslationIp):
|
26550
|
+
self._TranslationIp = TranslationIp
|
26551
|
+
|
26552
|
+
@property
|
26553
|
+
def OldProtocol(self):
|
26554
|
+
return self._OldProtocol
|
26555
|
+
|
26556
|
+
@OldProtocol.setter
|
26557
|
+
def OldProtocol(self, OldProtocol):
|
26558
|
+
self._OldProtocol = OldProtocol
|
26559
|
+
|
26560
|
+
@property
|
26561
|
+
def OldOriginalPort(self):
|
26562
|
+
return self._OldOriginalPort
|
26563
|
+
|
26564
|
+
@OldOriginalPort.setter
|
26565
|
+
def OldOriginalPort(self, OldOriginalPort):
|
26566
|
+
self._OldOriginalPort = OldOriginalPort
|
26567
|
+
|
26568
|
+
@property
|
26569
|
+
def OldOriginalIp(self):
|
26570
|
+
return self._OldOriginalIp
|
26571
|
+
|
26572
|
+
@OldOriginalIp.setter
|
26573
|
+
def OldOriginalIp(self, OldOriginalIp):
|
26574
|
+
self._OldOriginalIp = OldOriginalIp
|
26575
|
+
|
26576
|
+
@property
|
26577
|
+
def OldTranslationPort(self):
|
26578
|
+
return self._OldTranslationPort
|
26579
|
+
|
26580
|
+
@OldTranslationPort.setter
|
26581
|
+
def OldTranslationPort(self, OldTranslationPort):
|
26582
|
+
self._OldTranslationPort = OldTranslationPort
|
26583
|
+
|
26584
|
+
@property
|
26585
|
+
def OldTranslationIp(self):
|
26586
|
+
return self._OldTranslationIp
|
26587
|
+
|
26588
|
+
@OldTranslationIp.setter
|
26589
|
+
def OldTranslationIp(self, OldTranslationIp):
|
26590
|
+
self._OldTranslationIp = OldTranslationIp
|
26591
|
+
|
26592
|
+
@property
|
26593
|
+
def Description(self):
|
26594
|
+
return self._Description
|
26595
|
+
|
26596
|
+
@Description.setter
|
26597
|
+
def Description(self, Description):
|
26598
|
+
self._Description = Description
|
26599
|
+
|
26600
|
+
|
26601
|
+
def _deserialize(self, params):
|
26602
|
+
self._Protocol = params.get("Protocol")
|
26603
|
+
self._OriginalPort = params.get("OriginalPort")
|
26604
|
+
self._OriginalIp = params.get("OriginalIp")
|
26605
|
+
self._TranslationPort = params.get("TranslationPort")
|
26606
|
+
self._TranslationIp = params.get("TranslationIp")
|
26607
|
+
self._OldProtocol = params.get("OldProtocol")
|
26608
|
+
self._OldOriginalPort = params.get("OldOriginalPort")
|
26609
|
+
self._OldOriginalIp = params.get("OldOriginalIp")
|
26610
|
+
self._OldTranslationPort = params.get("OldTranslationPort")
|
26611
|
+
self._OldTranslationIp = params.get("OldTranslationIp")
|
26612
|
+
self._Description = params.get("Description")
|
26613
|
+
memeber_set = set(params.keys())
|
26614
|
+
for name, value in vars(self).items():
|
26615
|
+
property_name = name[1:]
|
26616
|
+
if property_name in memeber_set:
|
26617
|
+
memeber_set.remove(property_name)
|
26618
|
+
if len(memeber_set) > 0:
|
26619
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
26620
|
+
|
26621
|
+
|
26622
|
+
|
24919
26623
|
class DetachCcnInstancesRequest(AbstractModel):
|
24920
26624
|
"""DetachCcnInstances请求参数结构体
|
24921
26625
|
|
@@ -30440,6 +32144,99 @@ class ItemPrice(AbstractModel):
|
|
30440
32144
|
|
30441
32145
|
|
30442
32146
|
|
32147
|
+
class LocalDestinationIpPortTranslationNatRule(AbstractModel):
|
32148
|
+
"""本端目的IP端口转换复杂结构
|
32149
|
+
|
32150
|
+
"""
|
32151
|
+
|
32152
|
+
def __init__(self):
|
32153
|
+
r"""
|
32154
|
+
:param _Protocol: 协议
|
32155
|
+
:type Protocol: str
|
32156
|
+
:param _OriginalPort: 源端口
|
32157
|
+
:type OriginalPort: int
|
32158
|
+
:param _OriginalIp: 源IP
|
32159
|
+
:type OriginalIp: str
|
32160
|
+
:param _TranslationPort: 目的端口
|
32161
|
+
:type TranslationPort: int
|
32162
|
+
:param _TranslationIp: 目的IP
|
32163
|
+
:type TranslationIp: str
|
32164
|
+
:param _Description: 描述
|
32165
|
+
:type Description: str
|
32166
|
+
"""
|
32167
|
+
self._Protocol = None
|
32168
|
+
self._OriginalPort = None
|
32169
|
+
self._OriginalIp = None
|
32170
|
+
self._TranslationPort = None
|
32171
|
+
self._TranslationIp = None
|
32172
|
+
self._Description = None
|
32173
|
+
|
32174
|
+
@property
|
32175
|
+
def Protocol(self):
|
32176
|
+
return self._Protocol
|
32177
|
+
|
32178
|
+
@Protocol.setter
|
32179
|
+
def Protocol(self, Protocol):
|
32180
|
+
self._Protocol = Protocol
|
32181
|
+
|
32182
|
+
@property
|
32183
|
+
def OriginalPort(self):
|
32184
|
+
return self._OriginalPort
|
32185
|
+
|
32186
|
+
@OriginalPort.setter
|
32187
|
+
def OriginalPort(self, OriginalPort):
|
32188
|
+
self._OriginalPort = OriginalPort
|
32189
|
+
|
32190
|
+
@property
|
32191
|
+
def OriginalIp(self):
|
32192
|
+
return self._OriginalIp
|
32193
|
+
|
32194
|
+
@OriginalIp.setter
|
32195
|
+
def OriginalIp(self, OriginalIp):
|
32196
|
+
self._OriginalIp = OriginalIp
|
32197
|
+
|
32198
|
+
@property
|
32199
|
+
def TranslationPort(self):
|
32200
|
+
return self._TranslationPort
|
32201
|
+
|
32202
|
+
@TranslationPort.setter
|
32203
|
+
def TranslationPort(self, TranslationPort):
|
32204
|
+
self._TranslationPort = TranslationPort
|
32205
|
+
|
32206
|
+
@property
|
32207
|
+
def TranslationIp(self):
|
32208
|
+
return self._TranslationIp
|
32209
|
+
|
32210
|
+
@TranslationIp.setter
|
32211
|
+
def TranslationIp(self, TranslationIp):
|
32212
|
+
self._TranslationIp = TranslationIp
|
32213
|
+
|
32214
|
+
@property
|
32215
|
+
def Description(self):
|
32216
|
+
return self._Description
|
32217
|
+
|
32218
|
+
@Description.setter
|
32219
|
+
def Description(self, Description):
|
32220
|
+
self._Description = Description
|
32221
|
+
|
32222
|
+
|
32223
|
+
def _deserialize(self, params):
|
32224
|
+
self._Protocol = params.get("Protocol")
|
32225
|
+
self._OriginalPort = params.get("OriginalPort")
|
32226
|
+
self._OriginalIp = params.get("OriginalIp")
|
32227
|
+
self._TranslationPort = params.get("TranslationPort")
|
32228
|
+
self._TranslationIp = params.get("TranslationIp")
|
32229
|
+
self._Description = params.get("Description")
|
32230
|
+
memeber_set = set(params.keys())
|
32231
|
+
for name, value in vars(self).items():
|
32232
|
+
property_name = name[1:]
|
32233
|
+
if property_name in memeber_set:
|
32234
|
+
memeber_set.remove(property_name)
|
32235
|
+
if len(memeber_set) > 0:
|
32236
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
32237
|
+
|
32238
|
+
|
32239
|
+
|
30443
32240
|
class LocalGateway(AbstractModel):
|
30444
32241
|
"""本地网关信息
|
30445
32242
|
|
@@ -33317,29 +35114,208 @@ class ModifyNetworkAclQuintupleEntriesResponse(AbstractModel):
|
|
33317
35114
|
self._RequestId = params.get("RequestId")
|
33318
35115
|
|
33319
35116
|
|
33320
|
-
class ModifyNetworkInterfaceAttributeRequest(AbstractModel):
|
33321
|
-
"""ModifyNetworkInterfaceAttribute请求参数结构体
|
35117
|
+
class ModifyNetworkInterfaceAttributeRequest(AbstractModel):
|
35118
|
+
"""ModifyNetworkInterfaceAttribute请求参数结构体
|
35119
|
+
|
35120
|
+
"""
|
35121
|
+
|
35122
|
+
def __init__(self):
|
35123
|
+
r"""
|
35124
|
+
:param _NetworkInterfaceId: 弹性网卡实例ID,例如:eni-pxir56ns。
|
35125
|
+
:type NetworkInterfaceId: str
|
35126
|
+
:param _NetworkInterfaceName: 弹性网卡名称,最大长度不能超过60个字节。
|
35127
|
+
:type NetworkInterfaceName: str
|
35128
|
+
:param _NetworkInterfaceDescription: 弹性网卡描述,可任意命名,但不得超过60个字符。
|
35129
|
+
:type NetworkInterfaceDescription: str
|
35130
|
+
:param _SecurityGroupIds: 指定绑定的安全组,例如:['sg-1dd51d']。
|
35131
|
+
:type SecurityGroupIds: list of str
|
35132
|
+
:param _TrunkingFlag: 网卡trunking模式设置,Enable-开启,Disable--关闭,默认关闭。
|
35133
|
+
:type TrunkingFlag: str
|
35134
|
+
"""
|
35135
|
+
self._NetworkInterfaceId = None
|
35136
|
+
self._NetworkInterfaceName = None
|
35137
|
+
self._NetworkInterfaceDescription = None
|
35138
|
+
self._SecurityGroupIds = None
|
35139
|
+
self._TrunkingFlag = None
|
35140
|
+
|
35141
|
+
@property
|
35142
|
+
def NetworkInterfaceId(self):
|
35143
|
+
return self._NetworkInterfaceId
|
35144
|
+
|
35145
|
+
@NetworkInterfaceId.setter
|
35146
|
+
def NetworkInterfaceId(self, NetworkInterfaceId):
|
35147
|
+
self._NetworkInterfaceId = NetworkInterfaceId
|
35148
|
+
|
35149
|
+
@property
|
35150
|
+
def NetworkInterfaceName(self):
|
35151
|
+
return self._NetworkInterfaceName
|
35152
|
+
|
35153
|
+
@NetworkInterfaceName.setter
|
35154
|
+
def NetworkInterfaceName(self, NetworkInterfaceName):
|
35155
|
+
self._NetworkInterfaceName = NetworkInterfaceName
|
35156
|
+
|
35157
|
+
@property
|
35158
|
+
def NetworkInterfaceDescription(self):
|
35159
|
+
return self._NetworkInterfaceDescription
|
35160
|
+
|
35161
|
+
@NetworkInterfaceDescription.setter
|
35162
|
+
def NetworkInterfaceDescription(self, NetworkInterfaceDescription):
|
35163
|
+
self._NetworkInterfaceDescription = NetworkInterfaceDescription
|
35164
|
+
|
35165
|
+
@property
|
35166
|
+
def SecurityGroupIds(self):
|
35167
|
+
return self._SecurityGroupIds
|
35168
|
+
|
35169
|
+
@SecurityGroupIds.setter
|
35170
|
+
def SecurityGroupIds(self, SecurityGroupIds):
|
35171
|
+
self._SecurityGroupIds = SecurityGroupIds
|
35172
|
+
|
35173
|
+
@property
|
35174
|
+
def TrunkingFlag(self):
|
35175
|
+
return self._TrunkingFlag
|
35176
|
+
|
35177
|
+
@TrunkingFlag.setter
|
35178
|
+
def TrunkingFlag(self, TrunkingFlag):
|
35179
|
+
self._TrunkingFlag = TrunkingFlag
|
35180
|
+
|
35181
|
+
|
35182
|
+
def _deserialize(self, params):
|
35183
|
+
self._NetworkInterfaceId = params.get("NetworkInterfaceId")
|
35184
|
+
self._NetworkInterfaceName = params.get("NetworkInterfaceName")
|
35185
|
+
self._NetworkInterfaceDescription = params.get("NetworkInterfaceDescription")
|
35186
|
+
self._SecurityGroupIds = params.get("SecurityGroupIds")
|
35187
|
+
self._TrunkingFlag = params.get("TrunkingFlag")
|
35188
|
+
memeber_set = set(params.keys())
|
35189
|
+
for name, value in vars(self).items():
|
35190
|
+
property_name = name[1:]
|
35191
|
+
if property_name in memeber_set:
|
35192
|
+
memeber_set.remove(property_name)
|
35193
|
+
if len(memeber_set) > 0:
|
35194
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
35195
|
+
|
35196
|
+
|
35197
|
+
|
35198
|
+
class ModifyNetworkInterfaceAttributeResponse(AbstractModel):
|
35199
|
+
"""ModifyNetworkInterfaceAttribute返回参数结构体
|
35200
|
+
|
35201
|
+
"""
|
35202
|
+
|
35203
|
+
def __init__(self):
|
35204
|
+
r"""
|
35205
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
35206
|
+
:type RequestId: str
|
35207
|
+
"""
|
35208
|
+
self._RequestId = None
|
35209
|
+
|
35210
|
+
@property
|
35211
|
+
def RequestId(self):
|
35212
|
+
return self._RequestId
|
35213
|
+
|
35214
|
+
@RequestId.setter
|
35215
|
+
def RequestId(self, RequestId):
|
35216
|
+
self._RequestId = RequestId
|
35217
|
+
|
35218
|
+
|
35219
|
+
def _deserialize(self, params):
|
35220
|
+
self._RequestId = params.get("RequestId")
|
35221
|
+
|
35222
|
+
|
35223
|
+
class ModifyNetworkInterfaceQosRequest(AbstractModel):
|
35224
|
+
"""ModifyNetworkInterfaceQos请求参数结构体
|
35225
|
+
|
35226
|
+
"""
|
35227
|
+
|
35228
|
+
def __init__(self):
|
35229
|
+
r"""
|
35230
|
+
:param _NetworkInterfaceIds: 弹性网卡ID,支持批量修改。
|
35231
|
+
:type NetworkInterfaceIds: list of str
|
35232
|
+
:param _QosLevel: 服务质量,可选值:PT、AU、AG、DEFAULT,分别代表云金、云银、云铜、默认四个等级。
|
35233
|
+
:type QosLevel: str
|
35234
|
+
:param _DirectSendMaxPort: DirectSend端口范围最大值。
|
35235
|
+
:type DirectSendMaxPort: int
|
35236
|
+
"""
|
35237
|
+
self._NetworkInterfaceIds = None
|
35238
|
+
self._QosLevel = None
|
35239
|
+
self._DirectSendMaxPort = None
|
35240
|
+
|
35241
|
+
@property
|
35242
|
+
def NetworkInterfaceIds(self):
|
35243
|
+
return self._NetworkInterfaceIds
|
35244
|
+
|
35245
|
+
@NetworkInterfaceIds.setter
|
35246
|
+
def NetworkInterfaceIds(self, NetworkInterfaceIds):
|
35247
|
+
self._NetworkInterfaceIds = NetworkInterfaceIds
|
35248
|
+
|
35249
|
+
@property
|
35250
|
+
def QosLevel(self):
|
35251
|
+
return self._QosLevel
|
35252
|
+
|
35253
|
+
@QosLevel.setter
|
35254
|
+
def QosLevel(self, QosLevel):
|
35255
|
+
self._QosLevel = QosLevel
|
35256
|
+
|
35257
|
+
@property
|
35258
|
+
def DirectSendMaxPort(self):
|
35259
|
+
return self._DirectSendMaxPort
|
35260
|
+
|
35261
|
+
@DirectSendMaxPort.setter
|
35262
|
+
def DirectSendMaxPort(self, DirectSendMaxPort):
|
35263
|
+
self._DirectSendMaxPort = DirectSendMaxPort
|
35264
|
+
|
35265
|
+
|
35266
|
+
def _deserialize(self, params):
|
35267
|
+
self._NetworkInterfaceIds = params.get("NetworkInterfaceIds")
|
35268
|
+
self._QosLevel = params.get("QosLevel")
|
35269
|
+
self._DirectSendMaxPort = params.get("DirectSendMaxPort")
|
35270
|
+
memeber_set = set(params.keys())
|
35271
|
+
for name, value in vars(self).items():
|
35272
|
+
property_name = name[1:]
|
35273
|
+
if property_name in memeber_set:
|
35274
|
+
memeber_set.remove(property_name)
|
35275
|
+
if len(memeber_set) > 0:
|
35276
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
35277
|
+
|
35278
|
+
|
35279
|
+
|
35280
|
+
class ModifyNetworkInterfaceQosResponse(AbstractModel):
|
35281
|
+
"""ModifyNetworkInterfaceQos返回参数结构体
|
35282
|
+
|
35283
|
+
"""
|
35284
|
+
|
35285
|
+
def __init__(self):
|
35286
|
+
r"""
|
35287
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
35288
|
+
:type RequestId: str
|
35289
|
+
"""
|
35290
|
+
self._RequestId = None
|
35291
|
+
|
35292
|
+
@property
|
35293
|
+
def RequestId(self):
|
35294
|
+
return self._RequestId
|
35295
|
+
|
35296
|
+
@RequestId.setter
|
35297
|
+
def RequestId(self, RequestId):
|
35298
|
+
self._RequestId = RequestId
|
35299
|
+
|
35300
|
+
|
35301
|
+
def _deserialize(self, params):
|
35302
|
+
self._RequestId = params.get("RequestId")
|
35303
|
+
|
35304
|
+
|
35305
|
+
class ModifyPrivateIpAddressesAttributeRequest(AbstractModel):
|
35306
|
+
"""ModifyPrivateIpAddressesAttribute请求参数结构体
|
33322
35307
|
|
33323
35308
|
"""
|
33324
35309
|
|
33325
35310
|
def __init__(self):
|
33326
35311
|
r"""
|
33327
|
-
:param _NetworkInterfaceId: 弹性网卡实例ID,例如:eni-
|
35312
|
+
:param _NetworkInterfaceId: 弹性网卡实例ID,例如:eni-m6dyj72l。
|
33328
35313
|
:type NetworkInterfaceId: str
|
33329
|
-
:param
|
33330
|
-
:type
|
33331
|
-
:param _NetworkInterfaceDescription: 弹性网卡描述,可任意命名,但不得超过60个字符。
|
33332
|
-
:type NetworkInterfaceDescription: str
|
33333
|
-
:param _SecurityGroupIds: 指定绑定的安全组,例如:['sg-1dd51d']。
|
33334
|
-
:type SecurityGroupIds: list of str
|
33335
|
-
:param _TrunkingFlag: 网卡trunking模式设置,Enable-开启,Disable--关闭,默认关闭。
|
33336
|
-
:type TrunkingFlag: str
|
35314
|
+
:param _PrivateIpAddresses: 指定的内网IP信息。
|
35315
|
+
:type PrivateIpAddresses: list of PrivateIpAddressSpecification
|
33337
35316
|
"""
|
33338
35317
|
self._NetworkInterfaceId = None
|
33339
|
-
self.
|
33340
|
-
self._NetworkInterfaceDescription = None
|
33341
|
-
self._SecurityGroupIds = None
|
33342
|
-
self._TrunkingFlag = None
|
35318
|
+
self._PrivateIpAddresses = None
|
33343
35319
|
|
33344
35320
|
@property
|
33345
35321
|
def NetworkInterfaceId(self):
|
@@ -33350,44 +35326,92 @@ class ModifyNetworkInterfaceAttributeRequest(AbstractModel):
|
|
33350
35326
|
self._NetworkInterfaceId = NetworkInterfaceId
|
33351
35327
|
|
33352
35328
|
@property
|
33353
|
-
def
|
33354
|
-
return self.
|
35329
|
+
def PrivateIpAddresses(self):
|
35330
|
+
return self._PrivateIpAddresses
|
35331
|
+
|
35332
|
+
@PrivateIpAddresses.setter
|
35333
|
+
def PrivateIpAddresses(self, PrivateIpAddresses):
|
35334
|
+
self._PrivateIpAddresses = PrivateIpAddresses
|
35335
|
+
|
35336
|
+
|
35337
|
+
def _deserialize(self, params):
|
35338
|
+
self._NetworkInterfaceId = params.get("NetworkInterfaceId")
|
35339
|
+
if params.get("PrivateIpAddresses") is not None:
|
35340
|
+
self._PrivateIpAddresses = []
|
35341
|
+
for item in params.get("PrivateIpAddresses"):
|
35342
|
+
obj = PrivateIpAddressSpecification()
|
35343
|
+
obj._deserialize(item)
|
35344
|
+
self._PrivateIpAddresses.append(obj)
|
35345
|
+
memeber_set = set(params.keys())
|
35346
|
+
for name, value in vars(self).items():
|
35347
|
+
property_name = name[1:]
|
35348
|
+
if property_name in memeber_set:
|
35349
|
+
memeber_set.remove(property_name)
|
35350
|
+
if len(memeber_set) > 0:
|
35351
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
35352
|
+
|
33355
35353
|
|
33356
|
-
|
33357
|
-
|
33358
|
-
|
35354
|
+
|
35355
|
+
class ModifyPrivateIpAddressesAttributeResponse(AbstractModel):
|
35356
|
+
"""ModifyPrivateIpAddressesAttribute返回参数结构体
|
35357
|
+
|
35358
|
+
"""
|
35359
|
+
|
35360
|
+
def __init__(self):
|
35361
|
+
r"""
|
35362
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
35363
|
+
:type RequestId: str
|
35364
|
+
"""
|
35365
|
+
self._RequestId = None
|
33359
35366
|
|
33360
35367
|
@property
|
33361
|
-
def
|
33362
|
-
return self.
|
35368
|
+
def RequestId(self):
|
35369
|
+
return self._RequestId
|
35370
|
+
|
35371
|
+
@RequestId.setter
|
35372
|
+
def RequestId(self, RequestId):
|
35373
|
+
self._RequestId = RequestId
|
33363
35374
|
|
33364
|
-
|
33365
|
-
def
|
33366
|
-
self.
|
35375
|
+
|
35376
|
+
def _deserialize(self, params):
|
35377
|
+
self._RequestId = params.get("RequestId")
|
35378
|
+
|
35379
|
+
|
35380
|
+
class ModifyPrivateNatGatewayAttributeRequest(AbstractModel):
|
35381
|
+
"""ModifyPrivateNatGatewayAttribute请求参数结构体
|
35382
|
+
|
35383
|
+
"""
|
35384
|
+
|
35385
|
+
def __init__(self):
|
35386
|
+
r"""
|
35387
|
+
:param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
35388
|
+
:type NatGatewayId: str
|
35389
|
+
:param _NatGatewayName: 私网网关名称,可任意命名,但不得超过60个字符。
|
35390
|
+
:type NatGatewayName: str
|
35391
|
+
"""
|
35392
|
+
self._NatGatewayId = None
|
35393
|
+
self._NatGatewayName = None
|
33367
35394
|
|
33368
35395
|
@property
|
33369
|
-
def
|
33370
|
-
return self.
|
35396
|
+
def NatGatewayId(self):
|
35397
|
+
return self._NatGatewayId
|
33371
35398
|
|
33372
|
-
@
|
33373
|
-
def
|
33374
|
-
self.
|
35399
|
+
@NatGatewayId.setter
|
35400
|
+
def NatGatewayId(self, NatGatewayId):
|
35401
|
+
self._NatGatewayId = NatGatewayId
|
33375
35402
|
|
33376
35403
|
@property
|
33377
|
-
def
|
33378
|
-
return self.
|
35404
|
+
def NatGatewayName(self):
|
35405
|
+
return self._NatGatewayName
|
33379
35406
|
|
33380
|
-
@
|
33381
|
-
def
|
33382
|
-
self.
|
35407
|
+
@NatGatewayName.setter
|
35408
|
+
def NatGatewayName(self, NatGatewayName):
|
35409
|
+
self._NatGatewayName = NatGatewayName
|
33383
35410
|
|
33384
35411
|
|
33385
35412
|
def _deserialize(self, params):
|
33386
|
-
self.
|
33387
|
-
self.
|
33388
|
-
self._NetworkInterfaceDescription = params.get("NetworkInterfaceDescription")
|
33389
|
-
self._SecurityGroupIds = params.get("SecurityGroupIds")
|
33390
|
-
self._TrunkingFlag = params.get("TrunkingFlag")
|
35413
|
+
self._NatGatewayId = params.get("NatGatewayId")
|
35414
|
+
self._NatGatewayName = params.get("NatGatewayName")
|
33391
35415
|
memeber_set = set(params.keys())
|
33392
35416
|
for name, value in vars(self).items():
|
33393
35417
|
property_name = name[1:]
|
@@ -33398,8 +35422,8 @@ class ModifyNetworkInterfaceAttributeRequest(AbstractModel):
|
|
33398
35422
|
|
33399
35423
|
|
33400
35424
|
|
33401
|
-
class
|
33402
|
-
"""
|
35425
|
+
class ModifyPrivateNatGatewayAttributeResponse(AbstractModel):
|
35426
|
+
"""ModifyPrivateNatGatewayAttribute返回参数结构体
|
33403
35427
|
|
33404
35428
|
"""
|
33405
35429
|
|
@@ -33423,53 +35447,169 @@ class ModifyNetworkInterfaceAttributeResponse(AbstractModel):
|
|
33423
35447
|
self._RequestId = params.get("RequestId")
|
33424
35448
|
|
33425
35449
|
|
33426
|
-
class
|
33427
|
-
"""
|
35450
|
+
class ModifyPrivateNatGatewayDestinationIpPortTranslationNatRuleRequest(AbstractModel):
|
35451
|
+
"""ModifyPrivateNatGatewayDestinationIpPortTranslationNatRule请求参数结构体
|
33428
35452
|
|
33429
35453
|
"""
|
33430
35454
|
|
33431
35455
|
def __init__(self):
|
33432
35456
|
r"""
|
33433
|
-
:param
|
33434
|
-
:type
|
33435
|
-
:param
|
33436
|
-
:type
|
33437
|
-
:param _DirectSendMaxPort: DirectSend端口范围最大值。
|
33438
|
-
:type DirectSendMaxPort: int
|
35457
|
+
:param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
35458
|
+
:type NatGatewayId: str
|
35459
|
+
:param _LocalDestinationIpPortTranslationNatRules: 目的端口转换规则列表。
|
35460
|
+
:type LocalDestinationIpPortTranslationNatRules: list of DestinationIpPortTranslationNatRuleDiff
|
33439
35461
|
"""
|
33440
|
-
self.
|
33441
|
-
self.
|
33442
|
-
self._DirectSendMaxPort = None
|
35462
|
+
self._NatGatewayId = None
|
35463
|
+
self._LocalDestinationIpPortTranslationNatRules = None
|
33443
35464
|
|
33444
35465
|
@property
|
33445
|
-
def
|
33446
|
-
return self.
|
35466
|
+
def NatGatewayId(self):
|
35467
|
+
return self._NatGatewayId
|
33447
35468
|
|
33448
|
-
@
|
33449
|
-
def
|
33450
|
-
self.
|
35469
|
+
@NatGatewayId.setter
|
35470
|
+
def NatGatewayId(self, NatGatewayId):
|
35471
|
+
self._NatGatewayId = NatGatewayId
|
33451
35472
|
|
33452
35473
|
@property
|
33453
|
-
def
|
33454
|
-
return self.
|
35474
|
+
def LocalDestinationIpPortTranslationNatRules(self):
|
35475
|
+
return self._LocalDestinationIpPortTranslationNatRules
|
33455
35476
|
|
33456
|
-
@
|
33457
|
-
def
|
33458
|
-
self.
|
35477
|
+
@LocalDestinationIpPortTranslationNatRules.setter
|
35478
|
+
def LocalDestinationIpPortTranslationNatRules(self, LocalDestinationIpPortTranslationNatRules):
|
35479
|
+
self._LocalDestinationIpPortTranslationNatRules = LocalDestinationIpPortTranslationNatRules
|
35480
|
+
|
35481
|
+
|
35482
|
+
def _deserialize(self, params):
|
35483
|
+
self._NatGatewayId = params.get("NatGatewayId")
|
35484
|
+
if params.get("LocalDestinationIpPortTranslationNatRules") is not None:
|
35485
|
+
self._LocalDestinationIpPortTranslationNatRules = []
|
35486
|
+
for item in params.get("LocalDestinationIpPortTranslationNatRules"):
|
35487
|
+
obj = DestinationIpPortTranslationNatRuleDiff()
|
35488
|
+
obj._deserialize(item)
|
35489
|
+
self._LocalDestinationIpPortTranslationNatRules.append(obj)
|
35490
|
+
memeber_set = set(params.keys())
|
35491
|
+
for name, value in vars(self).items():
|
35492
|
+
property_name = name[1:]
|
35493
|
+
if property_name in memeber_set:
|
35494
|
+
memeber_set.remove(property_name)
|
35495
|
+
if len(memeber_set) > 0:
|
35496
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
35497
|
+
|
35498
|
+
|
35499
|
+
|
35500
|
+
class ModifyPrivateNatGatewayDestinationIpPortTranslationNatRuleResponse(AbstractModel):
|
35501
|
+
"""ModifyPrivateNatGatewayDestinationIpPortTranslationNatRule返回参数结构体
|
35502
|
+
|
35503
|
+
"""
|
35504
|
+
|
35505
|
+
def __init__(self):
|
35506
|
+
r"""
|
35507
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
35508
|
+
:type RequestId: str
|
35509
|
+
"""
|
35510
|
+
self._RequestId = None
|
33459
35511
|
|
33460
35512
|
@property
|
33461
|
-
def
|
33462
|
-
return self.
|
35513
|
+
def RequestId(self):
|
35514
|
+
return self._RequestId
|
33463
35515
|
|
33464
|
-
@
|
33465
|
-
def
|
33466
|
-
self.
|
35516
|
+
@RequestId.setter
|
35517
|
+
def RequestId(self, RequestId):
|
35518
|
+
self._RequestId = RequestId
|
33467
35519
|
|
33468
35520
|
|
33469
35521
|
def _deserialize(self, params):
|
33470
|
-
self.
|
33471
|
-
|
33472
|
-
|
35522
|
+
self._RequestId = params.get("RequestId")
|
35523
|
+
|
35524
|
+
|
35525
|
+
class ModifyPrivateNatGatewayTranslationAclRuleRequest(AbstractModel):
|
35526
|
+
"""ModifyPrivateNatGatewayTranslationAclRule请求参数结构体
|
35527
|
+
|
35528
|
+
"""
|
35529
|
+
|
35530
|
+
def __init__(self):
|
35531
|
+
r"""
|
35532
|
+
:param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
35533
|
+
:type NatGatewayId: str
|
35534
|
+
:param _TranslationDirection: 转换规则目标,可选值"LOCAL"。
|
35535
|
+
:type TranslationDirection: str
|
35536
|
+
:param _TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
|
35537
|
+
:type TranslationType: str
|
35538
|
+
:param _TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池
|
35539
|
+
:type TranslationIp: str
|
35540
|
+
:param _TranslationAclRules: 访问控制列表,需要附带AclRuleId参数。
|
35541
|
+
:type TranslationAclRules: list of TranslationAclRule
|
35542
|
+
:param _OriginalIp: 源`IP`,当转换规则类型为三层时有效
|
35543
|
+
:type OriginalIp: str
|
35544
|
+
"""
|
35545
|
+
self._NatGatewayId = None
|
35546
|
+
self._TranslationDirection = None
|
35547
|
+
self._TranslationType = None
|
35548
|
+
self._TranslationIp = None
|
35549
|
+
self._TranslationAclRules = None
|
35550
|
+
self._OriginalIp = 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 TranslationDirection(self):
|
35562
|
+
return self._TranslationDirection
|
35563
|
+
|
35564
|
+
@TranslationDirection.setter
|
35565
|
+
def TranslationDirection(self, TranslationDirection):
|
35566
|
+
self._TranslationDirection = TranslationDirection
|
35567
|
+
|
35568
|
+
@property
|
35569
|
+
def TranslationType(self):
|
35570
|
+
return self._TranslationType
|
35571
|
+
|
35572
|
+
@TranslationType.setter
|
35573
|
+
def TranslationType(self, TranslationType):
|
35574
|
+
self._TranslationType = TranslationType
|
35575
|
+
|
35576
|
+
@property
|
35577
|
+
def TranslationIp(self):
|
35578
|
+
return self._TranslationIp
|
35579
|
+
|
35580
|
+
@TranslationIp.setter
|
35581
|
+
def TranslationIp(self, TranslationIp):
|
35582
|
+
self._TranslationIp = TranslationIp
|
35583
|
+
|
35584
|
+
@property
|
35585
|
+
def TranslationAclRules(self):
|
35586
|
+
return self._TranslationAclRules
|
35587
|
+
|
35588
|
+
@TranslationAclRules.setter
|
35589
|
+
def TranslationAclRules(self, TranslationAclRules):
|
35590
|
+
self._TranslationAclRules = TranslationAclRules
|
35591
|
+
|
35592
|
+
@property
|
35593
|
+
def OriginalIp(self):
|
35594
|
+
return self._OriginalIp
|
35595
|
+
|
35596
|
+
@OriginalIp.setter
|
35597
|
+
def OriginalIp(self, OriginalIp):
|
35598
|
+
self._OriginalIp = OriginalIp
|
35599
|
+
|
35600
|
+
|
35601
|
+
def _deserialize(self, params):
|
35602
|
+
self._NatGatewayId = params.get("NatGatewayId")
|
35603
|
+
self._TranslationDirection = params.get("TranslationDirection")
|
35604
|
+
self._TranslationType = params.get("TranslationType")
|
35605
|
+
self._TranslationIp = params.get("TranslationIp")
|
35606
|
+
if params.get("TranslationAclRules") is not None:
|
35607
|
+
self._TranslationAclRules = []
|
35608
|
+
for item in params.get("TranslationAclRules"):
|
35609
|
+
obj = TranslationAclRule()
|
35610
|
+
obj._deserialize(item)
|
35611
|
+
self._TranslationAclRules.append(obj)
|
35612
|
+
self._OriginalIp = params.get("OriginalIp")
|
33473
35613
|
memeber_set = set(params.keys())
|
33474
35614
|
for name, value in vars(self).items():
|
33475
35615
|
property_name = name[1:]
|
@@ -33480,8 +35620,8 @@ class ModifyNetworkInterfaceQosRequest(AbstractModel):
|
|
33480
35620
|
|
33481
35621
|
|
33482
35622
|
|
33483
|
-
class
|
33484
|
-
"""
|
35623
|
+
class ModifyPrivateNatGatewayTranslationAclRuleResponse(AbstractModel):
|
35624
|
+
"""ModifyPrivateNatGatewayTranslationAclRule返回参数结构体
|
33485
35625
|
|
33486
35626
|
"""
|
33487
35627
|
|
@@ -33505,46 +35645,58 @@ class ModifyNetworkInterfaceQosResponse(AbstractModel):
|
|
33505
35645
|
self._RequestId = params.get("RequestId")
|
33506
35646
|
|
33507
35647
|
|
33508
|
-
class
|
33509
|
-
"""
|
35648
|
+
class ModifyPrivateNatGatewayTranslationNatRuleRequest(AbstractModel):
|
35649
|
+
"""ModifyPrivateNatGatewayTranslationNatRule请求参数结构体
|
33510
35650
|
|
33511
35651
|
"""
|
33512
35652
|
|
33513
35653
|
def __init__(self):
|
33514
35654
|
r"""
|
33515
|
-
:param
|
33516
|
-
:type
|
33517
|
-
:param
|
33518
|
-
:type
|
35655
|
+
:param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
35656
|
+
:type NatGatewayId: str
|
35657
|
+
:param _TranslationNatRules: 转换规则对象数组。仅支持修改单个转换规则
|
35658
|
+
:type TranslationNatRules: list of TranslationNatRuleDiff
|
35659
|
+
:param _CrossDomain: 跨域参数,当VPC为跨域时填写为True。
|
35660
|
+
:type CrossDomain: bool
|
33519
35661
|
"""
|
33520
|
-
self.
|
33521
|
-
self.
|
35662
|
+
self._NatGatewayId = None
|
35663
|
+
self._TranslationNatRules = None
|
35664
|
+
self._CrossDomain = None
|
33522
35665
|
|
33523
35666
|
@property
|
33524
|
-
def
|
33525
|
-
return self.
|
35667
|
+
def NatGatewayId(self):
|
35668
|
+
return self._NatGatewayId
|
33526
35669
|
|
33527
|
-
@
|
33528
|
-
def
|
33529
|
-
self.
|
35670
|
+
@NatGatewayId.setter
|
35671
|
+
def NatGatewayId(self, NatGatewayId):
|
35672
|
+
self._NatGatewayId = NatGatewayId
|
33530
35673
|
|
33531
35674
|
@property
|
33532
|
-
def
|
33533
|
-
return self.
|
35675
|
+
def TranslationNatRules(self):
|
35676
|
+
return self._TranslationNatRules
|
33534
35677
|
|
33535
|
-
@
|
33536
|
-
def
|
33537
|
-
self.
|
35678
|
+
@TranslationNatRules.setter
|
35679
|
+
def TranslationNatRules(self, TranslationNatRules):
|
35680
|
+
self._TranslationNatRules = TranslationNatRules
|
35681
|
+
|
35682
|
+
@property
|
35683
|
+
def CrossDomain(self):
|
35684
|
+
return self._CrossDomain
|
35685
|
+
|
35686
|
+
@CrossDomain.setter
|
35687
|
+
def CrossDomain(self, CrossDomain):
|
35688
|
+
self._CrossDomain = CrossDomain
|
33538
35689
|
|
33539
35690
|
|
33540
35691
|
def _deserialize(self, params):
|
33541
|
-
self.
|
33542
|
-
if params.get("
|
33543
|
-
self.
|
33544
|
-
for item in params.get("
|
33545
|
-
obj =
|
35692
|
+
self._NatGatewayId = params.get("NatGatewayId")
|
35693
|
+
if params.get("TranslationNatRules") is not None:
|
35694
|
+
self._TranslationNatRules = []
|
35695
|
+
for item in params.get("TranslationNatRules"):
|
35696
|
+
obj = TranslationNatRuleDiff()
|
33546
35697
|
obj._deserialize(item)
|
33547
|
-
self.
|
35698
|
+
self._TranslationNatRules.append(obj)
|
35699
|
+
self._CrossDomain = params.get("CrossDomain")
|
33548
35700
|
memeber_set = set(params.keys())
|
33549
35701
|
for name, value in vars(self).items():
|
33550
35702
|
property_name = name[1:]
|
@@ -33555,8 +35707,8 @@ class ModifyPrivateIpAddressesAttributeRequest(AbstractModel):
|
|
33555
35707
|
|
33556
35708
|
|
33557
35709
|
|
33558
|
-
class
|
33559
|
-
"""
|
35710
|
+
class ModifyPrivateNatGatewayTranslationNatRuleResponse(AbstractModel):
|
35711
|
+
"""ModifyPrivateNatGatewayTranslationNatRule返回参数结构体
|
33560
35712
|
|
33561
35713
|
"""
|
33562
35714
|
|
@@ -35991,6 +38143,12 @@ class NatGatewayDestinationIpPortTranslationNatRule(AbstractModel):
|
|
35991
38143
|
|
35992
38144
|
|
35993
38145
|
|
38146
|
+
class NatRegionInfoWithArea(AbstractModel):
|
38147
|
+
"""NAT地域地区对象
|
38148
|
+
|
38149
|
+
"""
|
38150
|
+
|
38151
|
+
|
35994
38152
|
class NetDetect(AbstractModel):
|
35995
38153
|
"""网络探测对象。
|
35996
38154
|
|
@@ -37722,6 +39880,292 @@ AVAILABLE:可用的
|
|
37722
39880
|
|
37723
39881
|
|
37724
39882
|
|
39883
|
+
class PrivateNatDestinationIpPortTranslationNatRule(AbstractModel):
|
39884
|
+
"""本端目的IP端口转换复杂结构
|
39885
|
+
|
39886
|
+
"""
|
39887
|
+
|
39888
|
+
def __init__(self):
|
39889
|
+
r"""
|
39890
|
+
:param _Protocol: 协议
|
39891
|
+
:type Protocol: str
|
39892
|
+
:param _OriginalPort: 原端口
|
39893
|
+
:type OriginalPort: int
|
39894
|
+
:param _OriginalIp: 原IP
|
39895
|
+
:type OriginalIp: str
|
39896
|
+
:param _TranslationPort: 映射端口
|
39897
|
+
:type TranslationPort: int
|
39898
|
+
:param _TranslationIp: 映射IP
|
39899
|
+
:type TranslationIp: str
|
39900
|
+
:param _Description: 描述
|
39901
|
+
:type Description: str
|
39902
|
+
:param _CreateTime: 创建时间。
|
39903
|
+
:type CreateTime: str
|
39904
|
+
:param _UpdateTime: 更新时间。
|
39905
|
+
:type UpdateTime: str
|
39906
|
+
"""
|
39907
|
+
self._Protocol = None
|
39908
|
+
self._OriginalPort = None
|
39909
|
+
self._OriginalIp = None
|
39910
|
+
self._TranslationPort = None
|
39911
|
+
self._TranslationIp = None
|
39912
|
+
self._Description = None
|
39913
|
+
self._CreateTime = None
|
39914
|
+
self._UpdateTime = None
|
39915
|
+
|
39916
|
+
@property
|
39917
|
+
def Protocol(self):
|
39918
|
+
return self._Protocol
|
39919
|
+
|
39920
|
+
@Protocol.setter
|
39921
|
+
def Protocol(self, Protocol):
|
39922
|
+
self._Protocol = Protocol
|
39923
|
+
|
39924
|
+
@property
|
39925
|
+
def OriginalPort(self):
|
39926
|
+
return self._OriginalPort
|
39927
|
+
|
39928
|
+
@OriginalPort.setter
|
39929
|
+
def OriginalPort(self, OriginalPort):
|
39930
|
+
self._OriginalPort = OriginalPort
|
39931
|
+
|
39932
|
+
@property
|
39933
|
+
def OriginalIp(self):
|
39934
|
+
return self._OriginalIp
|
39935
|
+
|
39936
|
+
@OriginalIp.setter
|
39937
|
+
def OriginalIp(self, OriginalIp):
|
39938
|
+
self._OriginalIp = OriginalIp
|
39939
|
+
|
39940
|
+
@property
|
39941
|
+
def TranslationPort(self):
|
39942
|
+
return self._TranslationPort
|
39943
|
+
|
39944
|
+
@TranslationPort.setter
|
39945
|
+
def TranslationPort(self, TranslationPort):
|
39946
|
+
self._TranslationPort = TranslationPort
|
39947
|
+
|
39948
|
+
@property
|
39949
|
+
def TranslationIp(self):
|
39950
|
+
return self._TranslationIp
|
39951
|
+
|
39952
|
+
@TranslationIp.setter
|
39953
|
+
def TranslationIp(self, TranslationIp):
|
39954
|
+
self._TranslationIp = TranslationIp
|
39955
|
+
|
39956
|
+
@property
|
39957
|
+
def Description(self):
|
39958
|
+
return self._Description
|
39959
|
+
|
39960
|
+
@Description.setter
|
39961
|
+
def Description(self, Description):
|
39962
|
+
self._Description = Description
|
39963
|
+
|
39964
|
+
@property
|
39965
|
+
def CreateTime(self):
|
39966
|
+
return self._CreateTime
|
39967
|
+
|
39968
|
+
@CreateTime.setter
|
39969
|
+
def CreateTime(self, CreateTime):
|
39970
|
+
self._CreateTime = CreateTime
|
39971
|
+
|
39972
|
+
@property
|
39973
|
+
def UpdateTime(self):
|
39974
|
+
return self._UpdateTime
|
39975
|
+
|
39976
|
+
@UpdateTime.setter
|
39977
|
+
def UpdateTime(self, UpdateTime):
|
39978
|
+
self._UpdateTime = UpdateTime
|
39979
|
+
|
39980
|
+
|
39981
|
+
def _deserialize(self, params):
|
39982
|
+
self._Protocol = params.get("Protocol")
|
39983
|
+
self._OriginalPort = params.get("OriginalPort")
|
39984
|
+
self._OriginalIp = params.get("OriginalIp")
|
39985
|
+
self._TranslationPort = params.get("TranslationPort")
|
39986
|
+
self._TranslationIp = params.get("TranslationIp")
|
39987
|
+
self._Description = params.get("Description")
|
39988
|
+
self._CreateTime = params.get("CreateTime")
|
39989
|
+
self._UpdateTime = params.get("UpdateTime")
|
39990
|
+
memeber_set = set(params.keys())
|
39991
|
+
for name, value in vars(self).items():
|
39992
|
+
property_name = name[1:]
|
39993
|
+
if property_name in memeber_set:
|
39994
|
+
memeber_set.remove(property_name)
|
39995
|
+
if len(memeber_set) > 0:
|
39996
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
39997
|
+
|
39998
|
+
|
39999
|
+
|
40000
|
+
class PrivateNatGateway(AbstractModel):
|
40001
|
+
"""私网网关对象
|
40002
|
+
|
40003
|
+
"""
|
40004
|
+
|
40005
|
+
def __init__(self):
|
40006
|
+
r"""
|
40007
|
+
:param _NatGatewayId: 私网网关`ID`。
|
40008
|
+
:type NatGatewayId: str
|
40009
|
+
:param _NatGatewayName: 私网网关名称。
|
40010
|
+
:type NatGatewayName: str
|
40011
|
+
:param _VpcId: 私网网关关联`VPC`实例`ID`。
|
40012
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
40013
|
+
:type VpcId: str
|
40014
|
+
:param _Status: 私网网关当前状态。
|
40015
|
+
:type Status: str
|
40016
|
+
:param _CrossDomain: 私网网关跨域标志。
|
40017
|
+
:type CrossDomain: bool
|
40018
|
+
:param _CreatedTime: 创建时间
|
40019
|
+
:type CreatedTime: str
|
40020
|
+
:param _TagSet: 标签键值对。
|
40021
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
40022
|
+
:type TagSet: list of Tag
|
40023
|
+
"""
|
40024
|
+
self._NatGatewayId = None
|
40025
|
+
self._NatGatewayName = None
|
40026
|
+
self._VpcId = None
|
40027
|
+
self._Status = None
|
40028
|
+
self._CrossDomain = None
|
40029
|
+
self._CreatedTime = None
|
40030
|
+
self._TagSet = None
|
40031
|
+
|
40032
|
+
@property
|
40033
|
+
def NatGatewayId(self):
|
40034
|
+
return self._NatGatewayId
|
40035
|
+
|
40036
|
+
@NatGatewayId.setter
|
40037
|
+
def NatGatewayId(self, NatGatewayId):
|
40038
|
+
self._NatGatewayId = NatGatewayId
|
40039
|
+
|
40040
|
+
@property
|
40041
|
+
def NatGatewayName(self):
|
40042
|
+
return self._NatGatewayName
|
40043
|
+
|
40044
|
+
@NatGatewayName.setter
|
40045
|
+
def NatGatewayName(self, NatGatewayName):
|
40046
|
+
self._NatGatewayName = NatGatewayName
|
40047
|
+
|
40048
|
+
@property
|
40049
|
+
def VpcId(self):
|
40050
|
+
return self._VpcId
|
40051
|
+
|
40052
|
+
@VpcId.setter
|
40053
|
+
def VpcId(self, VpcId):
|
40054
|
+
self._VpcId = VpcId
|
40055
|
+
|
40056
|
+
@property
|
40057
|
+
def Status(self):
|
40058
|
+
return self._Status
|
40059
|
+
|
40060
|
+
@Status.setter
|
40061
|
+
def Status(self, Status):
|
40062
|
+
self._Status = Status
|
40063
|
+
|
40064
|
+
@property
|
40065
|
+
def CrossDomain(self):
|
40066
|
+
return self._CrossDomain
|
40067
|
+
|
40068
|
+
@CrossDomain.setter
|
40069
|
+
def CrossDomain(self, CrossDomain):
|
40070
|
+
self._CrossDomain = CrossDomain
|
40071
|
+
|
40072
|
+
@property
|
40073
|
+
def CreatedTime(self):
|
40074
|
+
return self._CreatedTime
|
40075
|
+
|
40076
|
+
@CreatedTime.setter
|
40077
|
+
def CreatedTime(self, CreatedTime):
|
40078
|
+
self._CreatedTime = CreatedTime
|
40079
|
+
|
40080
|
+
@property
|
40081
|
+
def TagSet(self):
|
40082
|
+
return self._TagSet
|
40083
|
+
|
40084
|
+
@TagSet.setter
|
40085
|
+
def TagSet(self, TagSet):
|
40086
|
+
self._TagSet = TagSet
|
40087
|
+
|
40088
|
+
|
40089
|
+
def _deserialize(self, params):
|
40090
|
+
self._NatGatewayId = params.get("NatGatewayId")
|
40091
|
+
self._NatGatewayName = params.get("NatGatewayName")
|
40092
|
+
self._VpcId = params.get("VpcId")
|
40093
|
+
self._Status = params.get("Status")
|
40094
|
+
self._CrossDomain = params.get("CrossDomain")
|
40095
|
+
self._CreatedTime = params.get("CreatedTime")
|
40096
|
+
if params.get("TagSet") is not None:
|
40097
|
+
self._TagSet = []
|
40098
|
+
for item in params.get("TagSet"):
|
40099
|
+
obj = Tag()
|
40100
|
+
obj._deserialize(item)
|
40101
|
+
self._TagSet.append(obj)
|
40102
|
+
memeber_set = set(params.keys())
|
40103
|
+
for name, value in vars(self).items():
|
40104
|
+
property_name = name[1:]
|
40105
|
+
if property_name in memeber_set:
|
40106
|
+
memeber_set.remove(property_name)
|
40107
|
+
if len(memeber_set) > 0:
|
40108
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
40109
|
+
|
40110
|
+
|
40111
|
+
|
40112
|
+
class PrivateNatGatewayLimit(AbstractModel):
|
40113
|
+
"""可创建的私网网关配额数量
|
40114
|
+
|
40115
|
+
"""
|
40116
|
+
|
40117
|
+
def __init__(self):
|
40118
|
+
r"""
|
40119
|
+
:param _UniqVpcId: 私有网络唯一`ID`。
|
40120
|
+
:type UniqVpcId: str
|
40121
|
+
:param _TotalLimit: Vpc下总计可创建私网网关数量。
|
40122
|
+
:type TotalLimit: int
|
40123
|
+
:param _Available: 可创建私网网关数量。
|
40124
|
+
:type Available: int
|
40125
|
+
"""
|
40126
|
+
self._UniqVpcId = None
|
40127
|
+
self._TotalLimit = None
|
40128
|
+
self._Available = None
|
40129
|
+
|
40130
|
+
@property
|
40131
|
+
def UniqVpcId(self):
|
40132
|
+
return self._UniqVpcId
|
40133
|
+
|
40134
|
+
@UniqVpcId.setter
|
40135
|
+
def UniqVpcId(self, UniqVpcId):
|
40136
|
+
self._UniqVpcId = UniqVpcId
|
40137
|
+
|
40138
|
+
@property
|
40139
|
+
def TotalLimit(self):
|
40140
|
+
return self._TotalLimit
|
40141
|
+
|
40142
|
+
@TotalLimit.setter
|
40143
|
+
def TotalLimit(self, TotalLimit):
|
40144
|
+
self._TotalLimit = TotalLimit
|
40145
|
+
|
40146
|
+
@property
|
40147
|
+
def Available(self):
|
40148
|
+
return self._Available
|
40149
|
+
|
40150
|
+
@Available.setter
|
40151
|
+
def Available(self, Available):
|
40152
|
+
self._Available = Available
|
40153
|
+
|
40154
|
+
|
40155
|
+
def _deserialize(self, params):
|
40156
|
+
self._UniqVpcId = params.get("UniqVpcId")
|
40157
|
+
self._TotalLimit = params.get("TotalLimit")
|
40158
|
+
self._Available = params.get("Available")
|
40159
|
+
memeber_set = set(params.keys())
|
40160
|
+
for name, value in vars(self).items():
|
40161
|
+
property_name = name[1:]
|
40162
|
+
if property_name in memeber_set:
|
40163
|
+
memeber_set.remove(property_name)
|
40164
|
+
if len(memeber_set) > 0:
|
40165
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
40166
|
+
|
40167
|
+
|
40168
|
+
|
37725
40169
|
class ProductQuota(AbstractModel):
|
37726
40170
|
"""描述网络中心每个产品的配额信息
|
37727
40171
|
|
@@ -43396,6 +45840,404 @@ class TransformAddressResponse(AbstractModel):
|
|
43396
45840
|
self._RequestId = params.get("RequestId")
|
43397
45841
|
|
43398
45842
|
|
45843
|
+
class TranslationAclRule(AbstractModel):
|
45844
|
+
"""私网网关转发规则匹配ACL
|
45845
|
+
|
45846
|
+
"""
|
45847
|
+
|
45848
|
+
def __init__(self):
|
45849
|
+
r"""
|
45850
|
+
:param _Protocol: ACL协议类型,可选值:"ALL","TCP","UDP"
|
45851
|
+
:type Protocol: str
|
45852
|
+
:param _SourcePort: 源端口。
|
45853
|
+
:type SourcePort: str
|
45854
|
+
:param _SourceCidr: 源地址。支持`ip`或`cidr`格式"xxx.xxx.xxx.000/xx"
|
45855
|
+
:type SourceCidr: str
|
45856
|
+
:param _DestinationPort: 目的端口。
|
45857
|
+
:type DestinationPort: str
|
45858
|
+
:param _DestinationCidr: 目的地址。
|
45859
|
+
:type DestinationCidr: str
|
45860
|
+
:param _AclRuleId: ACL规则`ID`。
|
45861
|
+
:type AclRuleId: int
|
45862
|
+
:param _Action: 是否匹配。
|
45863
|
+
:type Action: int
|
45864
|
+
"""
|
45865
|
+
self._Protocol = None
|
45866
|
+
self._SourcePort = None
|
45867
|
+
self._SourceCidr = None
|
45868
|
+
self._DestinationPort = None
|
45869
|
+
self._DestinationCidr = None
|
45870
|
+
self._AclRuleId = None
|
45871
|
+
self._Action = None
|
45872
|
+
|
45873
|
+
@property
|
45874
|
+
def Protocol(self):
|
45875
|
+
return self._Protocol
|
45876
|
+
|
45877
|
+
@Protocol.setter
|
45878
|
+
def Protocol(self, Protocol):
|
45879
|
+
self._Protocol = Protocol
|
45880
|
+
|
45881
|
+
@property
|
45882
|
+
def SourcePort(self):
|
45883
|
+
return self._SourcePort
|
45884
|
+
|
45885
|
+
@SourcePort.setter
|
45886
|
+
def SourcePort(self, SourcePort):
|
45887
|
+
self._SourcePort = SourcePort
|
45888
|
+
|
45889
|
+
@property
|
45890
|
+
def SourceCidr(self):
|
45891
|
+
return self._SourceCidr
|
45892
|
+
|
45893
|
+
@SourceCidr.setter
|
45894
|
+
def SourceCidr(self, SourceCidr):
|
45895
|
+
self._SourceCidr = SourceCidr
|
45896
|
+
|
45897
|
+
@property
|
45898
|
+
def DestinationPort(self):
|
45899
|
+
return self._DestinationPort
|
45900
|
+
|
45901
|
+
@DestinationPort.setter
|
45902
|
+
def DestinationPort(self, DestinationPort):
|
45903
|
+
self._DestinationPort = DestinationPort
|
45904
|
+
|
45905
|
+
@property
|
45906
|
+
def DestinationCidr(self):
|
45907
|
+
return self._DestinationCidr
|
45908
|
+
|
45909
|
+
@DestinationCidr.setter
|
45910
|
+
def DestinationCidr(self, DestinationCidr):
|
45911
|
+
self._DestinationCidr = DestinationCidr
|
45912
|
+
|
45913
|
+
@property
|
45914
|
+
def AclRuleId(self):
|
45915
|
+
return self._AclRuleId
|
45916
|
+
|
45917
|
+
@AclRuleId.setter
|
45918
|
+
def AclRuleId(self, AclRuleId):
|
45919
|
+
self._AclRuleId = AclRuleId
|
45920
|
+
|
45921
|
+
@property
|
45922
|
+
def Action(self):
|
45923
|
+
return self._Action
|
45924
|
+
|
45925
|
+
@Action.setter
|
45926
|
+
def Action(self, Action):
|
45927
|
+
self._Action = Action
|
45928
|
+
|
45929
|
+
|
45930
|
+
def _deserialize(self, params):
|
45931
|
+
self._Protocol = params.get("Protocol")
|
45932
|
+
self._SourcePort = params.get("SourcePort")
|
45933
|
+
self._SourceCidr = params.get("SourceCidr")
|
45934
|
+
self._DestinationPort = params.get("DestinationPort")
|
45935
|
+
self._DestinationCidr = params.get("DestinationCidr")
|
45936
|
+
self._AclRuleId = params.get("AclRuleId")
|
45937
|
+
self._Action = params.get("Action")
|
45938
|
+
memeber_set = set(params.keys())
|
45939
|
+
for name, value in vars(self).items():
|
45940
|
+
property_name = name[1:]
|
45941
|
+
if property_name in memeber_set:
|
45942
|
+
memeber_set.remove(property_name)
|
45943
|
+
if len(memeber_set) > 0:
|
45944
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
45945
|
+
|
45946
|
+
|
45947
|
+
|
45948
|
+
class TranslationNatRule(AbstractModel):
|
45949
|
+
"""私网网关Snat转发规则
|
45950
|
+
|
45951
|
+
"""
|
45952
|
+
|
45953
|
+
def __init__(self):
|
45954
|
+
r"""
|
45955
|
+
:param _TranslationDirection: 转换规则目标,可选值"LOCAL","PEER"。
|
45956
|
+
:type TranslationDirection: str
|
45957
|
+
:param _TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
|
45958
|
+
:type TranslationType: str
|
45959
|
+
:param _TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池。
|
45960
|
+
:type TranslationIp: str
|
45961
|
+
:param _Description: 转换规则描述。
|
45962
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
45963
|
+
:type Description: str
|
45964
|
+
:param _OriginalIp: 源`IP`,当转换规则类型为三层时有效。
|
45965
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
45966
|
+
:type OriginalIp: str
|
45967
|
+
:param _CreateTime: 创建时间。
|
45968
|
+
:type CreateTime: str
|
45969
|
+
:param _UpdateTime: 更新时间。
|
45970
|
+
:type UpdateTime: str
|
45971
|
+
"""
|
45972
|
+
self._TranslationDirection = None
|
45973
|
+
self._TranslationType = None
|
45974
|
+
self._TranslationIp = None
|
45975
|
+
self._Description = None
|
45976
|
+
self._OriginalIp = None
|
45977
|
+
self._CreateTime = None
|
45978
|
+
self._UpdateTime = None
|
45979
|
+
|
45980
|
+
@property
|
45981
|
+
def TranslationDirection(self):
|
45982
|
+
return self._TranslationDirection
|
45983
|
+
|
45984
|
+
@TranslationDirection.setter
|
45985
|
+
def TranslationDirection(self, TranslationDirection):
|
45986
|
+
self._TranslationDirection = TranslationDirection
|
45987
|
+
|
45988
|
+
@property
|
45989
|
+
def TranslationType(self):
|
45990
|
+
return self._TranslationType
|
45991
|
+
|
45992
|
+
@TranslationType.setter
|
45993
|
+
def TranslationType(self, TranslationType):
|
45994
|
+
self._TranslationType = TranslationType
|
45995
|
+
|
45996
|
+
@property
|
45997
|
+
def TranslationIp(self):
|
45998
|
+
return self._TranslationIp
|
45999
|
+
|
46000
|
+
@TranslationIp.setter
|
46001
|
+
def TranslationIp(self, TranslationIp):
|
46002
|
+
self._TranslationIp = TranslationIp
|
46003
|
+
|
46004
|
+
@property
|
46005
|
+
def Description(self):
|
46006
|
+
return self._Description
|
46007
|
+
|
46008
|
+
@Description.setter
|
46009
|
+
def Description(self, Description):
|
46010
|
+
self._Description = Description
|
46011
|
+
|
46012
|
+
@property
|
46013
|
+
def OriginalIp(self):
|
46014
|
+
return self._OriginalIp
|
46015
|
+
|
46016
|
+
@OriginalIp.setter
|
46017
|
+
def OriginalIp(self, OriginalIp):
|
46018
|
+
self._OriginalIp = OriginalIp
|
46019
|
+
|
46020
|
+
@property
|
46021
|
+
def CreateTime(self):
|
46022
|
+
return self._CreateTime
|
46023
|
+
|
46024
|
+
@CreateTime.setter
|
46025
|
+
def CreateTime(self, CreateTime):
|
46026
|
+
self._CreateTime = CreateTime
|
46027
|
+
|
46028
|
+
@property
|
46029
|
+
def UpdateTime(self):
|
46030
|
+
return self._UpdateTime
|
46031
|
+
|
46032
|
+
@UpdateTime.setter
|
46033
|
+
def UpdateTime(self, UpdateTime):
|
46034
|
+
self._UpdateTime = UpdateTime
|
46035
|
+
|
46036
|
+
|
46037
|
+
def _deserialize(self, params):
|
46038
|
+
self._TranslationDirection = params.get("TranslationDirection")
|
46039
|
+
self._TranslationType = params.get("TranslationType")
|
46040
|
+
self._TranslationIp = params.get("TranslationIp")
|
46041
|
+
self._Description = params.get("Description")
|
46042
|
+
self._OriginalIp = params.get("OriginalIp")
|
46043
|
+
self._CreateTime = params.get("CreateTime")
|
46044
|
+
self._UpdateTime = params.get("UpdateTime")
|
46045
|
+
memeber_set = set(params.keys())
|
46046
|
+
for name, value in vars(self).items():
|
46047
|
+
property_name = name[1:]
|
46048
|
+
if property_name in memeber_set:
|
46049
|
+
memeber_set.remove(property_name)
|
46050
|
+
if len(memeber_set) > 0:
|
46051
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
46052
|
+
|
46053
|
+
|
46054
|
+
|
46055
|
+
class TranslationNatRuleDiff(AbstractModel):
|
46056
|
+
"""私网网关Snat转发规则修改
|
46057
|
+
|
46058
|
+
"""
|
46059
|
+
|
46060
|
+
def __init__(self):
|
46061
|
+
r"""
|
46062
|
+
:param _TranslationDirection: 转发规则目标,可选值"LOCAL","PEER"。
|
46063
|
+
:type TranslationDirection: str
|
46064
|
+
:param _TranslationType: 转发规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
|
46065
|
+
:type TranslationType: str
|
46066
|
+
:param _TranslationIp: 转发规则映射`IP`,当转发规则类型为四层时为`IP`池
|
46067
|
+
:type TranslationIp: str
|
46068
|
+
:param _Description: 转发规则描述。
|
46069
|
+
:type Description: str
|
46070
|
+
:param _OldTranslationIp: 旧转发规则映射`IP`,当转发规则类型为四层时为`IP`池
|
46071
|
+
:type OldTranslationIp: str
|
46072
|
+
:param _OriginalIp: 新转发规则源`IP`,当转发规则类型为三层时有效
|
46073
|
+
:type OriginalIp: str
|
46074
|
+
:param _OldOriginalIp: 旧转发规则源`IP`,当转发规则类型为三层时有效
|
46075
|
+
:type OldOriginalIp: str
|
46076
|
+
"""
|
46077
|
+
self._TranslationDirection = None
|
46078
|
+
self._TranslationType = None
|
46079
|
+
self._TranslationIp = None
|
46080
|
+
self._Description = None
|
46081
|
+
self._OldTranslationIp = None
|
46082
|
+
self._OriginalIp = None
|
46083
|
+
self._OldOriginalIp = None
|
46084
|
+
|
46085
|
+
@property
|
46086
|
+
def TranslationDirection(self):
|
46087
|
+
return self._TranslationDirection
|
46088
|
+
|
46089
|
+
@TranslationDirection.setter
|
46090
|
+
def TranslationDirection(self, TranslationDirection):
|
46091
|
+
self._TranslationDirection = TranslationDirection
|
46092
|
+
|
46093
|
+
@property
|
46094
|
+
def TranslationType(self):
|
46095
|
+
return self._TranslationType
|
46096
|
+
|
46097
|
+
@TranslationType.setter
|
46098
|
+
def TranslationType(self, TranslationType):
|
46099
|
+
self._TranslationType = TranslationType
|
46100
|
+
|
46101
|
+
@property
|
46102
|
+
def TranslationIp(self):
|
46103
|
+
return self._TranslationIp
|
46104
|
+
|
46105
|
+
@TranslationIp.setter
|
46106
|
+
def TranslationIp(self, TranslationIp):
|
46107
|
+
self._TranslationIp = TranslationIp
|
46108
|
+
|
46109
|
+
@property
|
46110
|
+
def Description(self):
|
46111
|
+
return self._Description
|
46112
|
+
|
46113
|
+
@Description.setter
|
46114
|
+
def Description(self, Description):
|
46115
|
+
self._Description = Description
|
46116
|
+
|
46117
|
+
@property
|
46118
|
+
def OldTranslationIp(self):
|
46119
|
+
return self._OldTranslationIp
|
46120
|
+
|
46121
|
+
@OldTranslationIp.setter
|
46122
|
+
def OldTranslationIp(self, OldTranslationIp):
|
46123
|
+
self._OldTranslationIp = OldTranslationIp
|
46124
|
+
|
46125
|
+
@property
|
46126
|
+
def OriginalIp(self):
|
46127
|
+
return self._OriginalIp
|
46128
|
+
|
46129
|
+
@OriginalIp.setter
|
46130
|
+
def OriginalIp(self, OriginalIp):
|
46131
|
+
self._OriginalIp = OriginalIp
|
46132
|
+
|
46133
|
+
@property
|
46134
|
+
def OldOriginalIp(self):
|
46135
|
+
return self._OldOriginalIp
|
46136
|
+
|
46137
|
+
@OldOriginalIp.setter
|
46138
|
+
def OldOriginalIp(self, OldOriginalIp):
|
46139
|
+
self._OldOriginalIp = OldOriginalIp
|
46140
|
+
|
46141
|
+
|
46142
|
+
def _deserialize(self, params):
|
46143
|
+
self._TranslationDirection = params.get("TranslationDirection")
|
46144
|
+
self._TranslationType = params.get("TranslationType")
|
46145
|
+
self._TranslationIp = params.get("TranslationIp")
|
46146
|
+
self._Description = params.get("Description")
|
46147
|
+
self._OldTranslationIp = params.get("OldTranslationIp")
|
46148
|
+
self._OriginalIp = params.get("OriginalIp")
|
46149
|
+
self._OldOriginalIp = params.get("OldOriginalIp")
|
46150
|
+
memeber_set = set(params.keys())
|
46151
|
+
for name, value in vars(self).items():
|
46152
|
+
property_name = name[1:]
|
46153
|
+
if property_name in memeber_set:
|
46154
|
+
memeber_set.remove(property_name)
|
46155
|
+
if len(memeber_set) > 0:
|
46156
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
46157
|
+
|
46158
|
+
|
46159
|
+
|
46160
|
+
class TranslationNatRuleInput(AbstractModel):
|
46161
|
+
"""私网网关Snat转发规则入参
|
46162
|
+
|
46163
|
+
"""
|
46164
|
+
|
46165
|
+
def __init__(self):
|
46166
|
+
r"""
|
46167
|
+
:param _TranslationDirection: 转换规则目标,可选值"LOCAL","PEER"。
|
46168
|
+
:type TranslationDirection: str
|
46169
|
+
:param _TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
|
46170
|
+
:type TranslationType: str
|
46171
|
+
:param _TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池。
|
46172
|
+
:type TranslationIp: str
|
46173
|
+
:param _Description: 转换规则描述。
|
46174
|
+
:type Description: str
|
46175
|
+
:param _OriginalIp: 源`IP`,当转换规则类型为三层时有效。
|
46176
|
+
:type OriginalIp: str
|
46177
|
+
"""
|
46178
|
+
self._TranslationDirection = None
|
46179
|
+
self._TranslationType = None
|
46180
|
+
self._TranslationIp = None
|
46181
|
+
self._Description = None
|
46182
|
+
self._OriginalIp = None
|
46183
|
+
|
46184
|
+
@property
|
46185
|
+
def TranslationDirection(self):
|
46186
|
+
return self._TranslationDirection
|
46187
|
+
|
46188
|
+
@TranslationDirection.setter
|
46189
|
+
def TranslationDirection(self, TranslationDirection):
|
46190
|
+
self._TranslationDirection = TranslationDirection
|
46191
|
+
|
46192
|
+
@property
|
46193
|
+
def TranslationType(self):
|
46194
|
+
return self._TranslationType
|
46195
|
+
|
46196
|
+
@TranslationType.setter
|
46197
|
+
def TranslationType(self, TranslationType):
|
46198
|
+
self._TranslationType = TranslationType
|
46199
|
+
|
46200
|
+
@property
|
46201
|
+
def TranslationIp(self):
|
46202
|
+
return self._TranslationIp
|
46203
|
+
|
46204
|
+
@TranslationIp.setter
|
46205
|
+
def TranslationIp(self, TranslationIp):
|
46206
|
+
self._TranslationIp = TranslationIp
|
46207
|
+
|
46208
|
+
@property
|
46209
|
+
def Description(self):
|
46210
|
+
return self._Description
|
46211
|
+
|
46212
|
+
@Description.setter
|
46213
|
+
def Description(self, Description):
|
46214
|
+
self._Description = Description
|
46215
|
+
|
46216
|
+
@property
|
46217
|
+
def OriginalIp(self):
|
46218
|
+
return self._OriginalIp
|
46219
|
+
|
46220
|
+
@OriginalIp.setter
|
46221
|
+
def OriginalIp(self, OriginalIp):
|
46222
|
+
self._OriginalIp = OriginalIp
|
46223
|
+
|
46224
|
+
|
46225
|
+
def _deserialize(self, params):
|
46226
|
+
self._TranslationDirection = params.get("TranslationDirection")
|
46227
|
+
self._TranslationType = params.get("TranslationType")
|
46228
|
+
self._TranslationIp = params.get("TranslationIp")
|
46229
|
+
self._Description = params.get("Description")
|
46230
|
+
self._OriginalIp = params.get("OriginalIp")
|
46231
|
+
memeber_set = set(params.keys())
|
46232
|
+
for name, value in vars(self).items():
|
46233
|
+
property_name = name[1:]
|
46234
|
+
if property_name in memeber_set:
|
46235
|
+
memeber_set.remove(property_name)
|
46236
|
+
if len(memeber_set) > 0:
|
46237
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
46238
|
+
|
46239
|
+
|
46240
|
+
|
43399
46241
|
class UnassignIpv6AddressesRequest(AbstractModel):
|
43400
46242
|
"""UnassignIpv6Addresses请求参数结构体
|
43401
46243
|
|