tencentcloud-sdk-python-intl-en 3.0.1110__py2.py3-none-any.whl → 3.0.1112__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of tencentcloud-sdk-python-intl-en might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/privatedns/v20201028/errorcodes.py +9 -0
- tencentcloud/privatedns/v20201028/models.py +1299 -66
- tencentcloud/privatedns/v20201028/privatedns_client.py +161 -0
- {tencentcloud_sdk_python_intl_en-3.0.1110.dist-info → tencentcloud_sdk_python_intl_en-3.0.1112.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1110.dist-info → tencentcloud_sdk_python_intl_en-3.0.1112.dist-info}/RECORD +8 -8
- {tencentcloud_sdk_python_intl_en-3.0.1110.dist-info → tencentcloud_sdk_python_intl_en-3.0.1112.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1110.dist-info → tencentcloud_sdk_python_intl_en-3.0.1112.dist-info}/top_level.txt +0 -0
|
@@ -802,6 +802,132 @@ class CreateEndPointResponse(AbstractModel):
|
|
|
802
802
|
self._RequestId = params.get("RequestId")
|
|
803
803
|
|
|
804
804
|
|
|
805
|
+
class CreateExtendEndpointRequest(AbstractModel):
|
|
806
|
+
"""CreateExtendEndpoint request structure.
|
|
807
|
+
|
|
808
|
+
"""
|
|
809
|
+
|
|
810
|
+
def __init__(self):
|
|
811
|
+
r"""
|
|
812
|
+
:param _EndpointName: Outbound endpoint name.
|
|
813
|
+
:type EndpointName: str
|
|
814
|
+
:param _EndpointRegion: The region of the outbound endpoint must be consistent with the region of the forwarding target VIP.
|
|
815
|
+
:type EndpointRegion: str
|
|
816
|
+
:param _ForwardIp: Forwarding target.
|
|
817
|
+
:type ForwardIp: :class:`tencentcloud.privatedns.v20201028.models.ForwardIp`
|
|
818
|
+
"""
|
|
819
|
+
self._EndpointName = None
|
|
820
|
+
self._EndpointRegion = None
|
|
821
|
+
self._ForwardIp = None
|
|
822
|
+
|
|
823
|
+
@property
|
|
824
|
+
def EndpointName(self):
|
|
825
|
+
"""Outbound endpoint name.
|
|
826
|
+
:rtype: str
|
|
827
|
+
"""
|
|
828
|
+
return self._EndpointName
|
|
829
|
+
|
|
830
|
+
@EndpointName.setter
|
|
831
|
+
def EndpointName(self, EndpointName):
|
|
832
|
+
self._EndpointName = EndpointName
|
|
833
|
+
|
|
834
|
+
@property
|
|
835
|
+
def EndpointRegion(self):
|
|
836
|
+
"""The region of the outbound endpoint must be consistent with the region of the forwarding target VIP.
|
|
837
|
+
:rtype: str
|
|
838
|
+
"""
|
|
839
|
+
return self._EndpointRegion
|
|
840
|
+
|
|
841
|
+
@EndpointRegion.setter
|
|
842
|
+
def EndpointRegion(self, EndpointRegion):
|
|
843
|
+
self._EndpointRegion = EndpointRegion
|
|
844
|
+
|
|
845
|
+
@property
|
|
846
|
+
def ForwardIp(self):
|
|
847
|
+
"""Forwarding target.
|
|
848
|
+
:rtype: :class:`tencentcloud.privatedns.v20201028.models.ForwardIp`
|
|
849
|
+
"""
|
|
850
|
+
return self._ForwardIp
|
|
851
|
+
|
|
852
|
+
@ForwardIp.setter
|
|
853
|
+
def ForwardIp(self, ForwardIp):
|
|
854
|
+
self._ForwardIp = ForwardIp
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
def _deserialize(self, params):
|
|
858
|
+
self._EndpointName = params.get("EndpointName")
|
|
859
|
+
self._EndpointRegion = params.get("EndpointRegion")
|
|
860
|
+
if params.get("ForwardIp") is not None:
|
|
861
|
+
self._ForwardIp = ForwardIp()
|
|
862
|
+
self._ForwardIp._deserialize(params.get("ForwardIp"))
|
|
863
|
+
memeber_set = set(params.keys())
|
|
864
|
+
for name, value in vars(self).items():
|
|
865
|
+
property_name = name[1:]
|
|
866
|
+
if property_name in memeber_set:
|
|
867
|
+
memeber_set.remove(property_name)
|
|
868
|
+
if len(memeber_set) > 0:
|
|
869
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
870
|
+
|
|
871
|
+
|
|
872
|
+
|
|
873
|
+
class CreateExtendEndpointResponse(AbstractModel):
|
|
874
|
+
"""CreateExtendEndpoint response structure.
|
|
875
|
+
|
|
876
|
+
"""
|
|
877
|
+
|
|
878
|
+
def __init__(self):
|
|
879
|
+
r"""
|
|
880
|
+
:param _EndpointId: Endpoint ID.
|
|
881
|
+
:type EndpointId: str
|
|
882
|
+
:param _EndpointName: Endpoint name.
|
|
883
|
+
:type EndpointName: str
|
|
884
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
885
|
+
:type RequestId: str
|
|
886
|
+
"""
|
|
887
|
+
self._EndpointId = None
|
|
888
|
+
self._EndpointName = None
|
|
889
|
+
self._RequestId = None
|
|
890
|
+
|
|
891
|
+
@property
|
|
892
|
+
def EndpointId(self):
|
|
893
|
+
"""Endpoint ID.
|
|
894
|
+
:rtype: str
|
|
895
|
+
"""
|
|
896
|
+
return self._EndpointId
|
|
897
|
+
|
|
898
|
+
@EndpointId.setter
|
|
899
|
+
def EndpointId(self, EndpointId):
|
|
900
|
+
self._EndpointId = EndpointId
|
|
901
|
+
|
|
902
|
+
@property
|
|
903
|
+
def EndpointName(self):
|
|
904
|
+
"""Endpoint name.
|
|
905
|
+
:rtype: str
|
|
906
|
+
"""
|
|
907
|
+
return self._EndpointName
|
|
908
|
+
|
|
909
|
+
@EndpointName.setter
|
|
910
|
+
def EndpointName(self, EndpointName):
|
|
911
|
+
self._EndpointName = EndpointName
|
|
912
|
+
|
|
913
|
+
@property
|
|
914
|
+
def RequestId(self):
|
|
915
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
916
|
+
:rtype: str
|
|
917
|
+
"""
|
|
918
|
+
return self._RequestId
|
|
919
|
+
|
|
920
|
+
@RequestId.setter
|
|
921
|
+
def RequestId(self, RequestId):
|
|
922
|
+
self._RequestId = RequestId
|
|
923
|
+
|
|
924
|
+
|
|
925
|
+
def _deserialize(self, params):
|
|
926
|
+
self._EndpointId = params.get("EndpointId")
|
|
927
|
+
self._EndpointName = params.get("EndpointName")
|
|
928
|
+
self._RequestId = params.get("RequestId")
|
|
929
|
+
|
|
930
|
+
|
|
805
931
|
class CreateForwardRuleRequest(AbstractModel):
|
|
806
932
|
"""CreateForwardRule request structure.
|
|
807
933
|
|
|
@@ -1491,6 +1617,134 @@ class DatePoint(AbstractModel):
|
|
|
1491
1617
|
|
|
1492
1618
|
|
|
1493
1619
|
|
|
1620
|
+
class DeleteEndPointRequest(AbstractModel):
|
|
1621
|
+
"""DeleteEndPoint request structure.
|
|
1622
|
+
|
|
1623
|
+
"""
|
|
1624
|
+
|
|
1625
|
+
def __init__(self):
|
|
1626
|
+
r"""
|
|
1627
|
+
:param _EndPointId: Endpoint ID.
|
|
1628
|
+
:type EndPointId: str
|
|
1629
|
+
"""
|
|
1630
|
+
self._EndPointId = None
|
|
1631
|
+
|
|
1632
|
+
@property
|
|
1633
|
+
def EndPointId(self):
|
|
1634
|
+
"""Endpoint ID.
|
|
1635
|
+
:rtype: str
|
|
1636
|
+
"""
|
|
1637
|
+
return self._EndPointId
|
|
1638
|
+
|
|
1639
|
+
@EndPointId.setter
|
|
1640
|
+
def EndPointId(self, EndPointId):
|
|
1641
|
+
self._EndPointId = EndPointId
|
|
1642
|
+
|
|
1643
|
+
|
|
1644
|
+
def _deserialize(self, params):
|
|
1645
|
+
self._EndPointId = params.get("EndPointId")
|
|
1646
|
+
memeber_set = set(params.keys())
|
|
1647
|
+
for name, value in vars(self).items():
|
|
1648
|
+
property_name = name[1:]
|
|
1649
|
+
if property_name in memeber_set:
|
|
1650
|
+
memeber_set.remove(property_name)
|
|
1651
|
+
if len(memeber_set) > 0:
|
|
1652
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1653
|
+
|
|
1654
|
+
|
|
1655
|
+
|
|
1656
|
+
class DeleteEndPointResponse(AbstractModel):
|
|
1657
|
+
"""DeleteEndPoint response structure.
|
|
1658
|
+
|
|
1659
|
+
"""
|
|
1660
|
+
|
|
1661
|
+
def __init__(self):
|
|
1662
|
+
r"""
|
|
1663
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1664
|
+
:type RequestId: str
|
|
1665
|
+
"""
|
|
1666
|
+
self._RequestId = None
|
|
1667
|
+
|
|
1668
|
+
@property
|
|
1669
|
+
def RequestId(self):
|
|
1670
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1671
|
+
:rtype: str
|
|
1672
|
+
"""
|
|
1673
|
+
return self._RequestId
|
|
1674
|
+
|
|
1675
|
+
@RequestId.setter
|
|
1676
|
+
def RequestId(self, RequestId):
|
|
1677
|
+
self._RequestId = RequestId
|
|
1678
|
+
|
|
1679
|
+
|
|
1680
|
+
def _deserialize(self, params):
|
|
1681
|
+
self._RequestId = params.get("RequestId")
|
|
1682
|
+
|
|
1683
|
+
|
|
1684
|
+
class DeleteForwardRuleRequest(AbstractModel):
|
|
1685
|
+
"""DeleteForwardRule request structure.
|
|
1686
|
+
|
|
1687
|
+
"""
|
|
1688
|
+
|
|
1689
|
+
def __init__(self):
|
|
1690
|
+
r"""
|
|
1691
|
+
:param _RuleIdSet: Array of forwarding rule IDs.
|
|
1692
|
+
:type RuleIdSet: list of str
|
|
1693
|
+
"""
|
|
1694
|
+
self._RuleIdSet = None
|
|
1695
|
+
|
|
1696
|
+
@property
|
|
1697
|
+
def RuleIdSet(self):
|
|
1698
|
+
"""Array of forwarding rule IDs.
|
|
1699
|
+
:rtype: list of str
|
|
1700
|
+
"""
|
|
1701
|
+
return self._RuleIdSet
|
|
1702
|
+
|
|
1703
|
+
@RuleIdSet.setter
|
|
1704
|
+
def RuleIdSet(self, RuleIdSet):
|
|
1705
|
+
self._RuleIdSet = RuleIdSet
|
|
1706
|
+
|
|
1707
|
+
|
|
1708
|
+
def _deserialize(self, params):
|
|
1709
|
+
self._RuleIdSet = params.get("RuleIdSet")
|
|
1710
|
+
memeber_set = set(params.keys())
|
|
1711
|
+
for name, value in vars(self).items():
|
|
1712
|
+
property_name = name[1:]
|
|
1713
|
+
if property_name in memeber_set:
|
|
1714
|
+
memeber_set.remove(property_name)
|
|
1715
|
+
if len(memeber_set) > 0:
|
|
1716
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1717
|
+
|
|
1718
|
+
|
|
1719
|
+
|
|
1720
|
+
class DeleteForwardRuleResponse(AbstractModel):
|
|
1721
|
+
"""DeleteForwardRule response structure.
|
|
1722
|
+
|
|
1723
|
+
"""
|
|
1724
|
+
|
|
1725
|
+
def __init__(self):
|
|
1726
|
+
r"""
|
|
1727
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1728
|
+
:type RequestId: str
|
|
1729
|
+
"""
|
|
1730
|
+
self._RequestId = None
|
|
1731
|
+
|
|
1732
|
+
@property
|
|
1733
|
+
def RequestId(self):
|
|
1734
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1735
|
+
:rtype: str
|
|
1736
|
+
"""
|
|
1737
|
+
return self._RequestId
|
|
1738
|
+
|
|
1739
|
+
@RequestId.setter
|
|
1740
|
+
def RequestId(self, RequestId):
|
|
1741
|
+
self._RequestId = RequestId
|
|
1742
|
+
|
|
1743
|
+
|
|
1744
|
+
def _deserialize(self, params):
|
|
1745
|
+
self._RequestId = params.get("RequestId")
|
|
1746
|
+
|
|
1747
|
+
|
|
1494
1748
|
class DeletePrivateZoneRecordRequest(AbstractModel):
|
|
1495
1749
|
"""DeletePrivateZoneRecord request structure.
|
|
1496
1750
|
|
|
@@ -2118,8 +2372,62 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2118
2372
|
self._RequestId = params.get("RequestId")
|
|
2119
2373
|
|
|
2120
2374
|
|
|
2121
|
-
class
|
|
2122
|
-
"""
|
|
2375
|
+
class DescribeEndPointRegionRequest(AbstractModel):
|
|
2376
|
+
"""DescribeEndPointRegion request structure.
|
|
2377
|
+
|
|
2378
|
+
"""
|
|
2379
|
+
|
|
2380
|
+
|
|
2381
|
+
class DescribeEndPointRegionResponse(AbstractModel):
|
|
2382
|
+
"""DescribeEndPointRegion response structure.
|
|
2383
|
+
|
|
2384
|
+
"""
|
|
2385
|
+
|
|
2386
|
+
def __init__(self):
|
|
2387
|
+
r"""
|
|
2388
|
+
:param _RegionSet: Region array.
|
|
2389
|
+
:type RegionSet: list of RegionInfo
|
|
2390
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2391
|
+
:type RequestId: str
|
|
2392
|
+
"""
|
|
2393
|
+
self._RegionSet = None
|
|
2394
|
+
self._RequestId = None
|
|
2395
|
+
|
|
2396
|
+
@property
|
|
2397
|
+
def RegionSet(self):
|
|
2398
|
+
"""Region array.
|
|
2399
|
+
:rtype: list of RegionInfo
|
|
2400
|
+
"""
|
|
2401
|
+
return self._RegionSet
|
|
2402
|
+
|
|
2403
|
+
@RegionSet.setter
|
|
2404
|
+
def RegionSet(self, RegionSet):
|
|
2405
|
+
self._RegionSet = RegionSet
|
|
2406
|
+
|
|
2407
|
+
@property
|
|
2408
|
+
def RequestId(self):
|
|
2409
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2410
|
+
:rtype: str
|
|
2411
|
+
"""
|
|
2412
|
+
return self._RequestId
|
|
2413
|
+
|
|
2414
|
+
@RequestId.setter
|
|
2415
|
+
def RequestId(self, RequestId):
|
|
2416
|
+
self._RequestId = RequestId
|
|
2417
|
+
|
|
2418
|
+
|
|
2419
|
+
def _deserialize(self, params):
|
|
2420
|
+
if params.get("RegionSet") is not None:
|
|
2421
|
+
self._RegionSet = []
|
|
2422
|
+
for item in params.get("RegionSet"):
|
|
2423
|
+
obj = RegionInfo()
|
|
2424
|
+
obj._deserialize(item)
|
|
2425
|
+
self._RegionSet.append(obj)
|
|
2426
|
+
self._RequestId = params.get("RequestId")
|
|
2427
|
+
|
|
2428
|
+
|
|
2429
|
+
class DescribeExtendEndpointListRequest(AbstractModel):
|
|
2430
|
+
"""DescribeExtendEndpointList request structure.
|
|
2123
2431
|
|
|
2124
2432
|
"""
|
|
2125
2433
|
|
|
@@ -2129,7 +2437,7 @@ class DescribeForwardRuleListRequest(AbstractModel):
|
|
|
2129
2437
|
:type Offset: int
|
|
2130
2438
|
:param _Limit: Pagination limit. Maximum value: 100. Default value: 20.
|
|
2131
2439
|
:type Limit: int
|
|
2132
|
-
:param _Filters: Filter parameters.
|
|
2440
|
+
:param _Filters: Filter parameters. Valid values: EndpointName, EndpointId.
|
|
2133
2441
|
:type Filters: list of Filter
|
|
2134
2442
|
"""
|
|
2135
2443
|
self._Offset = None
|
|
@@ -2160,7 +2468,7 @@ class DescribeForwardRuleListRequest(AbstractModel):
|
|
|
2160
2468
|
|
|
2161
2469
|
@property
|
|
2162
2470
|
def Filters(self):
|
|
2163
|
-
"""Filter parameters.
|
|
2471
|
+
"""Filter parameters. Valid values: EndpointName, EndpointId.
|
|
2164
2472
|
:rtype: list of Filter
|
|
2165
2473
|
"""
|
|
2166
2474
|
return self._Filters
|
|
@@ -2189,27 +2497,27 @@ class DescribeForwardRuleListRequest(AbstractModel):
|
|
|
2189
2497
|
|
|
2190
2498
|
|
|
2191
2499
|
|
|
2192
|
-
class
|
|
2193
|
-
"""
|
|
2500
|
+
class DescribeExtendEndpointListResponse(AbstractModel):
|
|
2501
|
+
"""DescribeExtendEndpointList response structure.
|
|
2194
2502
|
|
|
2195
2503
|
"""
|
|
2196
2504
|
|
|
2197
2505
|
def __init__(self):
|
|
2198
2506
|
r"""
|
|
2199
|
-
:param _TotalCount:
|
|
2507
|
+
:param _TotalCount: Total number of endpoints.
|
|
2200
2508
|
:type TotalCount: int
|
|
2201
|
-
:param
|
|
2202
|
-
:type
|
|
2509
|
+
:param _OutboundEndpointSet: Endpoint list.
|
|
2510
|
+
:type OutboundEndpointSet: list of OutboundEndpoint
|
|
2203
2511
|
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2204
2512
|
:type RequestId: str
|
|
2205
2513
|
"""
|
|
2206
2514
|
self._TotalCount = None
|
|
2207
|
-
self.
|
|
2515
|
+
self._OutboundEndpointSet = None
|
|
2208
2516
|
self._RequestId = None
|
|
2209
2517
|
|
|
2210
2518
|
@property
|
|
2211
2519
|
def TotalCount(self):
|
|
2212
|
-
"""
|
|
2520
|
+
"""Total number of endpoints.
|
|
2213
2521
|
:rtype: int
|
|
2214
2522
|
"""
|
|
2215
2523
|
return self._TotalCount
|
|
@@ -2219,15 +2527,15 @@ class DescribeForwardRuleListResponse(AbstractModel):
|
|
|
2219
2527
|
self._TotalCount = TotalCount
|
|
2220
2528
|
|
|
2221
2529
|
@property
|
|
2222
|
-
def
|
|
2223
|
-
"""
|
|
2224
|
-
:rtype: list of
|
|
2530
|
+
def OutboundEndpointSet(self):
|
|
2531
|
+
"""Endpoint list.
|
|
2532
|
+
:rtype: list of OutboundEndpoint
|
|
2225
2533
|
"""
|
|
2226
|
-
return self.
|
|
2534
|
+
return self._OutboundEndpointSet
|
|
2227
2535
|
|
|
2228
|
-
@
|
|
2229
|
-
def
|
|
2230
|
-
self.
|
|
2536
|
+
@OutboundEndpointSet.setter
|
|
2537
|
+
def OutboundEndpointSet(self, OutboundEndpointSet):
|
|
2538
|
+
self._OutboundEndpointSet = OutboundEndpointSet
|
|
2231
2539
|
|
|
2232
2540
|
@property
|
|
2233
2541
|
def RequestId(self):
|
|
@@ -2243,27 +2551,27 @@ class DescribeForwardRuleListResponse(AbstractModel):
|
|
|
2243
2551
|
|
|
2244
2552
|
def _deserialize(self, params):
|
|
2245
2553
|
self._TotalCount = params.get("TotalCount")
|
|
2246
|
-
if params.get("
|
|
2247
|
-
self.
|
|
2248
|
-
for item in params.get("
|
|
2249
|
-
obj =
|
|
2554
|
+
if params.get("OutboundEndpointSet") is not None:
|
|
2555
|
+
self._OutboundEndpointSet = []
|
|
2556
|
+
for item in params.get("OutboundEndpointSet"):
|
|
2557
|
+
obj = OutboundEndpoint()
|
|
2250
2558
|
obj._deserialize(item)
|
|
2251
|
-
self.
|
|
2559
|
+
self._OutboundEndpointSet.append(obj)
|
|
2252
2560
|
self._RequestId = params.get("RequestId")
|
|
2253
2561
|
|
|
2254
2562
|
|
|
2255
|
-
class
|
|
2256
|
-
"""
|
|
2563
|
+
class DescribeForwardRuleListRequest(AbstractModel):
|
|
2564
|
+
"""DescribeForwardRuleList request structure.
|
|
2257
2565
|
|
|
2258
2566
|
"""
|
|
2259
2567
|
|
|
2260
2568
|
def __init__(self):
|
|
2261
2569
|
r"""
|
|
2262
|
-
:param _Offset: Pagination offset, starting from
|
|
2570
|
+
:param _Offset: Pagination offset, starting from 0.
|
|
2263
2571
|
:type Offset: int
|
|
2264
|
-
:param _Limit:
|
|
2572
|
+
:param _Limit: Pagination limit. Maximum value: 100. Default value: 20.
|
|
2265
2573
|
:type Limit: int
|
|
2266
|
-
:param _Filters: Filter parameters
|
|
2574
|
+
:param _Filters: Filter parameters.
|
|
2267
2575
|
:type Filters: list of Filter
|
|
2268
2576
|
"""
|
|
2269
2577
|
self._Offset = None
|
|
@@ -2272,7 +2580,7 @@ class DescribePrivateDNSAccountListRequest(AbstractModel):
|
|
|
2272
2580
|
|
|
2273
2581
|
@property
|
|
2274
2582
|
def Offset(self):
|
|
2275
|
-
"""Pagination offset, starting from
|
|
2583
|
+
"""Pagination offset, starting from 0.
|
|
2276
2584
|
:rtype: int
|
|
2277
2585
|
"""
|
|
2278
2586
|
return self._Offset
|
|
@@ -2283,7 +2591,222 @@ class DescribePrivateDNSAccountListRequest(AbstractModel):
|
|
|
2283
2591
|
|
|
2284
2592
|
@property
|
|
2285
2593
|
def Limit(self):
|
|
2286
|
-
"""
|
|
2594
|
+
"""Pagination limit. Maximum value: 100. Default value: 20.
|
|
2595
|
+
:rtype: int
|
|
2596
|
+
"""
|
|
2597
|
+
return self._Limit
|
|
2598
|
+
|
|
2599
|
+
@Limit.setter
|
|
2600
|
+
def Limit(self, Limit):
|
|
2601
|
+
self._Limit = Limit
|
|
2602
|
+
|
|
2603
|
+
@property
|
|
2604
|
+
def Filters(self):
|
|
2605
|
+
"""Filter parameters.
|
|
2606
|
+
:rtype: list of Filter
|
|
2607
|
+
"""
|
|
2608
|
+
return self._Filters
|
|
2609
|
+
|
|
2610
|
+
@Filters.setter
|
|
2611
|
+
def Filters(self, Filters):
|
|
2612
|
+
self._Filters = Filters
|
|
2613
|
+
|
|
2614
|
+
|
|
2615
|
+
def _deserialize(self, params):
|
|
2616
|
+
self._Offset = params.get("Offset")
|
|
2617
|
+
self._Limit = params.get("Limit")
|
|
2618
|
+
if params.get("Filters") is not None:
|
|
2619
|
+
self._Filters = []
|
|
2620
|
+
for item in params.get("Filters"):
|
|
2621
|
+
obj = Filter()
|
|
2622
|
+
obj._deserialize(item)
|
|
2623
|
+
self._Filters.append(obj)
|
|
2624
|
+
memeber_set = set(params.keys())
|
|
2625
|
+
for name, value in vars(self).items():
|
|
2626
|
+
property_name = name[1:]
|
|
2627
|
+
if property_name in memeber_set:
|
|
2628
|
+
memeber_set.remove(property_name)
|
|
2629
|
+
if len(memeber_set) > 0:
|
|
2630
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2631
|
+
|
|
2632
|
+
|
|
2633
|
+
|
|
2634
|
+
class DescribeForwardRuleListResponse(AbstractModel):
|
|
2635
|
+
"""DescribeForwardRuleList response structure.
|
|
2636
|
+
|
|
2637
|
+
"""
|
|
2638
|
+
|
|
2639
|
+
def __init__(self):
|
|
2640
|
+
r"""
|
|
2641
|
+
:param _TotalCount: Number of private domains.
|
|
2642
|
+
:type TotalCount: int
|
|
2643
|
+
:param _ForwardRuleSet: Private domain list.
|
|
2644
|
+
:type ForwardRuleSet: list of ForwardRule
|
|
2645
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2646
|
+
:type RequestId: str
|
|
2647
|
+
"""
|
|
2648
|
+
self._TotalCount = None
|
|
2649
|
+
self._ForwardRuleSet = None
|
|
2650
|
+
self._RequestId = None
|
|
2651
|
+
|
|
2652
|
+
@property
|
|
2653
|
+
def TotalCount(self):
|
|
2654
|
+
"""Number of private domains.
|
|
2655
|
+
:rtype: int
|
|
2656
|
+
"""
|
|
2657
|
+
return self._TotalCount
|
|
2658
|
+
|
|
2659
|
+
@TotalCount.setter
|
|
2660
|
+
def TotalCount(self, TotalCount):
|
|
2661
|
+
self._TotalCount = TotalCount
|
|
2662
|
+
|
|
2663
|
+
@property
|
|
2664
|
+
def ForwardRuleSet(self):
|
|
2665
|
+
"""Private domain list.
|
|
2666
|
+
:rtype: list of ForwardRule
|
|
2667
|
+
"""
|
|
2668
|
+
return self._ForwardRuleSet
|
|
2669
|
+
|
|
2670
|
+
@ForwardRuleSet.setter
|
|
2671
|
+
def ForwardRuleSet(self, ForwardRuleSet):
|
|
2672
|
+
self._ForwardRuleSet = ForwardRuleSet
|
|
2673
|
+
|
|
2674
|
+
@property
|
|
2675
|
+
def RequestId(self):
|
|
2676
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2677
|
+
:rtype: str
|
|
2678
|
+
"""
|
|
2679
|
+
return self._RequestId
|
|
2680
|
+
|
|
2681
|
+
@RequestId.setter
|
|
2682
|
+
def RequestId(self, RequestId):
|
|
2683
|
+
self._RequestId = RequestId
|
|
2684
|
+
|
|
2685
|
+
|
|
2686
|
+
def _deserialize(self, params):
|
|
2687
|
+
self._TotalCount = params.get("TotalCount")
|
|
2688
|
+
if params.get("ForwardRuleSet") is not None:
|
|
2689
|
+
self._ForwardRuleSet = []
|
|
2690
|
+
for item in params.get("ForwardRuleSet"):
|
|
2691
|
+
obj = ForwardRule()
|
|
2692
|
+
obj._deserialize(item)
|
|
2693
|
+
self._ForwardRuleSet.append(obj)
|
|
2694
|
+
self._RequestId = params.get("RequestId")
|
|
2695
|
+
|
|
2696
|
+
|
|
2697
|
+
class DescribeForwardRuleRequest(AbstractModel):
|
|
2698
|
+
"""DescribeForwardRule request structure.
|
|
2699
|
+
|
|
2700
|
+
"""
|
|
2701
|
+
|
|
2702
|
+
def __init__(self):
|
|
2703
|
+
r"""
|
|
2704
|
+
:param _RuleId: Forwarding rule ID.
|
|
2705
|
+
:type RuleId: str
|
|
2706
|
+
"""
|
|
2707
|
+
self._RuleId = None
|
|
2708
|
+
|
|
2709
|
+
@property
|
|
2710
|
+
def RuleId(self):
|
|
2711
|
+
"""Forwarding rule ID.
|
|
2712
|
+
:rtype: str
|
|
2713
|
+
"""
|
|
2714
|
+
return self._RuleId
|
|
2715
|
+
|
|
2716
|
+
@RuleId.setter
|
|
2717
|
+
def RuleId(self, RuleId):
|
|
2718
|
+
self._RuleId = RuleId
|
|
2719
|
+
|
|
2720
|
+
|
|
2721
|
+
def _deserialize(self, params):
|
|
2722
|
+
self._RuleId = params.get("RuleId")
|
|
2723
|
+
memeber_set = set(params.keys())
|
|
2724
|
+
for name, value in vars(self).items():
|
|
2725
|
+
property_name = name[1:]
|
|
2726
|
+
if property_name in memeber_set:
|
|
2727
|
+
memeber_set.remove(property_name)
|
|
2728
|
+
if len(memeber_set) > 0:
|
|
2729
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2730
|
+
|
|
2731
|
+
|
|
2732
|
+
|
|
2733
|
+
class DescribeForwardRuleResponse(AbstractModel):
|
|
2734
|
+
"""DescribeForwardRule response structure.
|
|
2735
|
+
|
|
2736
|
+
"""
|
|
2737
|
+
|
|
2738
|
+
def __init__(self):
|
|
2739
|
+
r"""
|
|
2740
|
+
:param _ForwardRule: Forwarding rule details.
|
|
2741
|
+
:type ForwardRule: :class:`tencentcloud.privatedns.v20201028.models.ForwardRule`
|
|
2742
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2743
|
+
:type RequestId: str
|
|
2744
|
+
"""
|
|
2745
|
+
self._ForwardRule = None
|
|
2746
|
+
self._RequestId = None
|
|
2747
|
+
|
|
2748
|
+
@property
|
|
2749
|
+
def ForwardRule(self):
|
|
2750
|
+
"""Forwarding rule details.
|
|
2751
|
+
:rtype: :class:`tencentcloud.privatedns.v20201028.models.ForwardRule`
|
|
2752
|
+
"""
|
|
2753
|
+
return self._ForwardRule
|
|
2754
|
+
|
|
2755
|
+
@ForwardRule.setter
|
|
2756
|
+
def ForwardRule(self, ForwardRule):
|
|
2757
|
+
self._ForwardRule = ForwardRule
|
|
2758
|
+
|
|
2759
|
+
@property
|
|
2760
|
+
def RequestId(self):
|
|
2761
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2762
|
+
:rtype: str
|
|
2763
|
+
"""
|
|
2764
|
+
return self._RequestId
|
|
2765
|
+
|
|
2766
|
+
@RequestId.setter
|
|
2767
|
+
def RequestId(self, RequestId):
|
|
2768
|
+
self._RequestId = RequestId
|
|
2769
|
+
|
|
2770
|
+
|
|
2771
|
+
def _deserialize(self, params):
|
|
2772
|
+
if params.get("ForwardRule") is not None:
|
|
2773
|
+
self._ForwardRule = ForwardRule()
|
|
2774
|
+
self._ForwardRule._deserialize(params.get("ForwardRule"))
|
|
2775
|
+
self._RequestId = params.get("RequestId")
|
|
2776
|
+
|
|
2777
|
+
|
|
2778
|
+
class DescribePrivateDNSAccountListRequest(AbstractModel):
|
|
2779
|
+
"""DescribePrivateDNSAccountList request structure.
|
|
2780
|
+
|
|
2781
|
+
"""
|
|
2782
|
+
|
|
2783
|
+
def __init__(self):
|
|
2784
|
+
r"""
|
|
2785
|
+
:param _Offset: Pagination offset, starting from `0`
|
|
2786
|
+
:type Offset: int
|
|
2787
|
+
:param _Limit: Number of entries per page. Maximum value: `100`. Default value: `20`
|
|
2788
|
+
:type Limit: int
|
|
2789
|
+
:param _Filters: Filter parameters
|
|
2790
|
+
:type Filters: list of Filter
|
|
2791
|
+
"""
|
|
2792
|
+
self._Offset = None
|
|
2793
|
+
self._Limit = None
|
|
2794
|
+
self._Filters = None
|
|
2795
|
+
|
|
2796
|
+
@property
|
|
2797
|
+
def Offset(self):
|
|
2798
|
+
"""Pagination offset, starting from `0`
|
|
2799
|
+
:rtype: int
|
|
2800
|
+
"""
|
|
2801
|
+
return self._Offset
|
|
2802
|
+
|
|
2803
|
+
@Offset.setter
|
|
2804
|
+
def Offset(self, Offset):
|
|
2805
|
+
self._Offset = Offset
|
|
2806
|
+
|
|
2807
|
+
@property
|
|
2808
|
+
def Limit(self):
|
|
2809
|
+
"""Number of entries per page. Maximum value: `100`. Default value: `20`
|
|
2287
2810
|
:rtype: int
|
|
2288
2811
|
"""
|
|
2289
2812
|
return self._Limit
|
|
@@ -3023,6 +3546,215 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3023
3546
|
|
|
3024
3547
|
|
|
3025
3548
|
|
|
3549
|
+
class EndpointService(AbstractModel):
|
|
3550
|
+
"""PrivateDNS outbound endpoint forwarding IP
|
|
3551
|
+
|
|
3552
|
+
"""
|
|
3553
|
+
|
|
3554
|
+
def __init__(self):
|
|
3555
|
+
r"""
|
|
3556
|
+
:param _AccessType: Specifies the forwarding target IP network access type.
|
|
3557
|
+
CLB: Specifies that the forwarding IP is the private CLB VIP.
|
|
3558
|
+
CCN: Specifies forwarding IP through CCN routing.
|
|
3559
|
+
:type AccessType: str
|
|
3560
|
+
:param _Pip: Specifies the forwarding target IP address.
|
|
3561
|
+
:type Pip: str
|
|
3562
|
+
:param _Pport: Specifies the forwarding IP port number.
|
|
3563
|
+
:type Pport: int
|
|
3564
|
+
:param _VpcId: Specifies the unique VPC ID.
|
|
3565
|
+
:type VpcId: str
|
|
3566
|
+
:param _Vip: Specifies the forwarding target IP proxy IP.
|
|
3567
|
+
:type Vip: str
|
|
3568
|
+
:param _Vport: Specifies the forwarding target IP proxy port.
|
|
3569
|
+
:type Vport: int
|
|
3570
|
+
:param _Proto: Specifies the forwarding target IP protocol.
|
|
3571
|
+
:type Proto: str
|
|
3572
|
+
:param _SubnetId: Specifies the unique subnet ID.
|
|
3573
|
+
Required if the access type is CCN.
|
|
3574
|
+
:type SubnetId: str
|
|
3575
|
+
:param _AccessGatewayId: ccn id
|
|
3576
|
+
Required if the access type is CCN.
|
|
3577
|
+
:type AccessGatewayId: str
|
|
3578
|
+
:param _SnatVipCidr: The SNAT CIDR block of the outbound endpoint.
|
|
3579
|
+
:type SnatVipCidr: str
|
|
3580
|
+
:param _SnatVipSet: The SNAT IP list of the outbound endpoint.
|
|
3581
|
+
:type SnatVipSet: str
|
|
3582
|
+
:param _Region: The region of the outbound endpoint service.
|
|
3583
|
+
:type Region: str
|
|
3584
|
+
"""
|
|
3585
|
+
self._AccessType = None
|
|
3586
|
+
self._Pip = None
|
|
3587
|
+
self._Pport = None
|
|
3588
|
+
self._VpcId = None
|
|
3589
|
+
self._Vip = None
|
|
3590
|
+
self._Vport = None
|
|
3591
|
+
self._Proto = None
|
|
3592
|
+
self._SubnetId = None
|
|
3593
|
+
self._AccessGatewayId = None
|
|
3594
|
+
self._SnatVipCidr = None
|
|
3595
|
+
self._SnatVipSet = None
|
|
3596
|
+
self._Region = None
|
|
3597
|
+
|
|
3598
|
+
@property
|
|
3599
|
+
def AccessType(self):
|
|
3600
|
+
"""Specifies the forwarding target IP network access type.
|
|
3601
|
+
CLB: Specifies that the forwarding IP is the private CLB VIP.
|
|
3602
|
+
CCN: Specifies forwarding IP through CCN routing.
|
|
3603
|
+
:rtype: str
|
|
3604
|
+
"""
|
|
3605
|
+
return self._AccessType
|
|
3606
|
+
|
|
3607
|
+
@AccessType.setter
|
|
3608
|
+
def AccessType(self, AccessType):
|
|
3609
|
+
self._AccessType = AccessType
|
|
3610
|
+
|
|
3611
|
+
@property
|
|
3612
|
+
def Pip(self):
|
|
3613
|
+
"""Specifies the forwarding target IP address.
|
|
3614
|
+
:rtype: str
|
|
3615
|
+
"""
|
|
3616
|
+
return self._Pip
|
|
3617
|
+
|
|
3618
|
+
@Pip.setter
|
|
3619
|
+
def Pip(self, Pip):
|
|
3620
|
+
self._Pip = Pip
|
|
3621
|
+
|
|
3622
|
+
@property
|
|
3623
|
+
def Pport(self):
|
|
3624
|
+
"""Specifies the forwarding IP port number.
|
|
3625
|
+
:rtype: int
|
|
3626
|
+
"""
|
|
3627
|
+
return self._Pport
|
|
3628
|
+
|
|
3629
|
+
@Pport.setter
|
|
3630
|
+
def Pport(self, Pport):
|
|
3631
|
+
self._Pport = Pport
|
|
3632
|
+
|
|
3633
|
+
@property
|
|
3634
|
+
def VpcId(self):
|
|
3635
|
+
"""Specifies the unique VPC ID.
|
|
3636
|
+
:rtype: str
|
|
3637
|
+
"""
|
|
3638
|
+
return self._VpcId
|
|
3639
|
+
|
|
3640
|
+
@VpcId.setter
|
|
3641
|
+
def VpcId(self, VpcId):
|
|
3642
|
+
self._VpcId = VpcId
|
|
3643
|
+
|
|
3644
|
+
@property
|
|
3645
|
+
def Vip(self):
|
|
3646
|
+
"""Specifies the forwarding target IP proxy IP.
|
|
3647
|
+
:rtype: str
|
|
3648
|
+
"""
|
|
3649
|
+
return self._Vip
|
|
3650
|
+
|
|
3651
|
+
@Vip.setter
|
|
3652
|
+
def Vip(self, Vip):
|
|
3653
|
+
self._Vip = Vip
|
|
3654
|
+
|
|
3655
|
+
@property
|
|
3656
|
+
def Vport(self):
|
|
3657
|
+
"""Specifies the forwarding target IP proxy port.
|
|
3658
|
+
:rtype: int
|
|
3659
|
+
"""
|
|
3660
|
+
return self._Vport
|
|
3661
|
+
|
|
3662
|
+
@Vport.setter
|
|
3663
|
+
def Vport(self, Vport):
|
|
3664
|
+
self._Vport = Vport
|
|
3665
|
+
|
|
3666
|
+
@property
|
|
3667
|
+
def Proto(self):
|
|
3668
|
+
"""Specifies the forwarding target IP protocol.
|
|
3669
|
+
:rtype: str
|
|
3670
|
+
"""
|
|
3671
|
+
return self._Proto
|
|
3672
|
+
|
|
3673
|
+
@Proto.setter
|
|
3674
|
+
def Proto(self, Proto):
|
|
3675
|
+
self._Proto = Proto
|
|
3676
|
+
|
|
3677
|
+
@property
|
|
3678
|
+
def SubnetId(self):
|
|
3679
|
+
"""Specifies the unique subnet ID.
|
|
3680
|
+
Required if the access type is CCN.
|
|
3681
|
+
:rtype: str
|
|
3682
|
+
"""
|
|
3683
|
+
return self._SubnetId
|
|
3684
|
+
|
|
3685
|
+
@SubnetId.setter
|
|
3686
|
+
def SubnetId(self, SubnetId):
|
|
3687
|
+
self._SubnetId = SubnetId
|
|
3688
|
+
|
|
3689
|
+
@property
|
|
3690
|
+
def AccessGatewayId(self):
|
|
3691
|
+
"""ccn id
|
|
3692
|
+
Required if the access type is CCN.
|
|
3693
|
+
:rtype: str
|
|
3694
|
+
"""
|
|
3695
|
+
return self._AccessGatewayId
|
|
3696
|
+
|
|
3697
|
+
@AccessGatewayId.setter
|
|
3698
|
+
def AccessGatewayId(self, AccessGatewayId):
|
|
3699
|
+
self._AccessGatewayId = AccessGatewayId
|
|
3700
|
+
|
|
3701
|
+
@property
|
|
3702
|
+
def SnatVipCidr(self):
|
|
3703
|
+
"""The SNAT CIDR block of the outbound endpoint.
|
|
3704
|
+
:rtype: str
|
|
3705
|
+
"""
|
|
3706
|
+
return self._SnatVipCidr
|
|
3707
|
+
|
|
3708
|
+
@SnatVipCidr.setter
|
|
3709
|
+
def SnatVipCidr(self, SnatVipCidr):
|
|
3710
|
+
self._SnatVipCidr = SnatVipCidr
|
|
3711
|
+
|
|
3712
|
+
@property
|
|
3713
|
+
def SnatVipSet(self):
|
|
3714
|
+
"""The SNAT IP list of the outbound endpoint.
|
|
3715
|
+
:rtype: str
|
|
3716
|
+
"""
|
|
3717
|
+
return self._SnatVipSet
|
|
3718
|
+
|
|
3719
|
+
@SnatVipSet.setter
|
|
3720
|
+
def SnatVipSet(self, SnatVipSet):
|
|
3721
|
+
self._SnatVipSet = SnatVipSet
|
|
3722
|
+
|
|
3723
|
+
@property
|
|
3724
|
+
def Region(self):
|
|
3725
|
+
"""The region of the outbound endpoint service.
|
|
3726
|
+
:rtype: str
|
|
3727
|
+
"""
|
|
3728
|
+
return self._Region
|
|
3729
|
+
|
|
3730
|
+
@Region.setter
|
|
3731
|
+
def Region(self, Region):
|
|
3732
|
+
self._Region = Region
|
|
3733
|
+
|
|
3734
|
+
|
|
3735
|
+
def _deserialize(self, params):
|
|
3736
|
+
self._AccessType = params.get("AccessType")
|
|
3737
|
+
self._Pip = params.get("Pip")
|
|
3738
|
+
self._Pport = params.get("Pport")
|
|
3739
|
+
self._VpcId = params.get("VpcId")
|
|
3740
|
+
self._Vip = params.get("Vip")
|
|
3741
|
+
self._Vport = params.get("Vport")
|
|
3742
|
+
self._Proto = params.get("Proto")
|
|
3743
|
+
self._SubnetId = params.get("SubnetId")
|
|
3744
|
+
self._AccessGatewayId = params.get("AccessGatewayId")
|
|
3745
|
+
self._SnatVipCidr = params.get("SnatVipCidr")
|
|
3746
|
+
self._SnatVipSet = params.get("SnatVipSet")
|
|
3747
|
+
self._Region = params.get("Region")
|
|
3748
|
+
memeber_set = set(params.keys())
|
|
3749
|
+
for name, value in vars(self).items():
|
|
3750
|
+
property_name = name[1:]
|
|
3751
|
+
if property_name in memeber_set:
|
|
3752
|
+
memeber_set.remove(property_name)
|
|
3753
|
+
if len(memeber_set) > 0:
|
|
3754
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3755
|
+
|
|
3756
|
+
|
|
3757
|
+
|
|
3026
3758
|
class Filter(AbstractModel):
|
|
3027
3759
|
"""Filter parameter
|
|
3028
3760
|
|
|
@@ -3140,6 +3872,142 @@ class FlowUsage(AbstractModel):
|
|
|
3140
3872
|
|
|
3141
3873
|
|
|
3142
3874
|
|
|
3875
|
+
class ForwardIp(AbstractModel):
|
|
3876
|
+
"""PrivateDNS outbound endpoint forwarding IP
|
|
3877
|
+
|
|
3878
|
+
"""
|
|
3879
|
+
|
|
3880
|
+
def __init__(self):
|
|
3881
|
+
r"""
|
|
3882
|
+
:param _AccessType: Forwarding target IP network access type.
|
|
3883
|
+
CLB: The forwarding IP is the internal CLB VIP.
|
|
3884
|
+
CCN: Forwarding IP through CCN routing.
|
|
3885
|
+
:type AccessType: str
|
|
3886
|
+
:param _Host: Forwarding target IP address.
|
|
3887
|
+
:type Host: str
|
|
3888
|
+
:param _Port: Specifies the forwarding IP port number.
|
|
3889
|
+
:type Port: int
|
|
3890
|
+
:param _IpNum: Specifies the number of outbound endpoints.
|
|
3891
|
+
Minimum 1, maximum 6.
|
|
3892
|
+
:type IpNum: int
|
|
3893
|
+
:param _VpcId: Unique VPC ID.
|
|
3894
|
+
:type VpcId: str
|
|
3895
|
+
:param _SubnetId: Unique subnet ID.
|
|
3896
|
+
Required when the access type is CCN.
|
|
3897
|
+
:type SubnetId: str
|
|
3898
|
+
:param _AccessGatewayId: ccn id
|
|
3899
|
+
Required when the access type is CCN.
|
|
3900
|
+
:type AccessGatewayId: str
|
|
3901
|
+
"""
|
|
3902
|
+
self._AccessType = None
|
|
3903
|
+
self._Host = None
|
|
3904
|
+
self._Port = None
|
|
3905
|
+
self._IpNum = None
|
|
3906
|
+
self._VpcId = None
|
|
3907
|
+
self._SubnetId = None
|
|
3908
|
+
self._AccessGatewayId = None
|
|
3909
|
+
|
|
3910
|
+
@property
|
|
3911
|
+
def AccessType(self):
|
|
3912
|
+
"""Forwarding target IP network access type.
|
|
3913
|
+
CLB: The forwarding IP is the internal CLB VIP.
|
|
3914
|
+
CCN: Forwarding IP through CCN routing.
|
|
3915
|
+
:rtype: str
|
|
3916
|
+
"""
|
|
3917
|
+
return self._AccessType
|
|
3918
|
+
|
|
3919
|
+
@AccessType.setter
|
|
3920
|
+
def AccessType(self, AccessType):
|
|
3921
|
+
self._AccessType = AccessType
|
|
3922
|
+
|
|
3923
|
+
@property
|
|
3924
|
+
def Host(self):
|
|
3925
|
+
"""Forwarding target IP address.
|
|
3926
|
+
:rtype: str
|
|
3927
|
+
"""
|
|
3928
|
+
return self._Host
|
|
3929
|
+
|
|
3930
|
+
@Host.setter
|
|
3931
|
+
def Host(self, Host):
|
|
3932
|
+
self._Host = Host
|
|
3933
|
+
|
|
3934
|
+
@property
|
|
3935
|
+
def Port(self):
|
|
3936
|
+
"""Specifies the forwarding IP port number.
|
|
3937
|
+
:rtype: int
|
|
3938
|
+
"""
|
|
3939
|
+
return self._Port
|
|
3940
|
+
|
|
3941
|
+
@Port.setter
|
|
3942
|
+
def Port(self, Port):
|
|
3943
|
+
self._Port = Port
|
|
3944
|
+
|
|
3945
|
+
@property
|
|
3946
|
+
def IpNum(self):
|
|
3947
|
+
"""Specifies the number of outbound endpoints.
|
|
3948
|
+
Minimum 1, maximum 6.
|
|
3949
|
+
:rtype: int
|
|
3950
|
+
"""
|
|
3951
|
+
return self._IpNum
|
|
3952
|
+
|
|
3953
|
+
@IpNum.setter
|
|
3954
|
+
def IpNum(self, IpNum):
|
|
3955
|
+
self._IpNum = IpNum
|
|
3956
|
+
|
|
3957
|
+
@property
|
|
3958
|
+
def VpcId(self):
|
|
3959
|
+
"""Unique VPC ID.
|
|
3960
|
+
:rtype: str
|
|
3961
|
+
"""
|
|
3962
|
+
return self._VpcId
|
|
3963
|
+
|
|
3964
|
+
@VpcId.setter
|
|
3965
|
+
def VpcId(self, VpcId):
|
|
3966
|
+
self._VpcId = VpcId
|
|
3967
|
+
|
|
3968
|
+
@property
|
|
3969
|
+
def SubnetId(self):
|
|
3970
|
+
"""Unique subnet ID.
|
|
3971
|
+
Required when the access type is CCN.
|
|
3972
|
+
:rtype: str
|
|
3973
|
+
"""
|
|
3974
|
+
return self._SubnetId
|
|
3975
|
+
|
|
3976
|
+
@SubnetId.setter
|
|
3977
|
+
def SubnetId(self, SubnetId):
|
|
3978
|
+
self._SubnetId = SubnetId
|
|
3979
|
+
|
|
3980
|
+
@property
|
|
3981
|
+
def AccessGatewayId(self):
|
|
3982
|
+
"""ccn id
|
|
3983
|
+
Required when the access type is CCN.
|
|
3984
|
+
:rtype: str
|
|
3985
|
+
"""
|
|
3986
|
+
return self._AccessGatewayId
|
|
3987
|
+
|
|
3988
|
+
@AccessGatewayId.setter
|
|
3989
|
+
def AccessGatewayId(self, AccessGatewayId):
|
|
3990
|
+
self._AccessGatewayId = AccessGatewayId
|
|
3991
|
+
|
|
3992
|
+
|
|
3993
|
+
def _deserialize(self, params):
|
|
3994
|
+
self._AccessType = params.get("AccessType")
|
|
3995
|
+
self._Host = params.get("Host")
|
|
3996
|
+
self._Port = params.get("Port")
|
|
3997
|
+
self._IpNum = params.get("IpNum")
|
|
3998
|
+
self._VpcId = params.get("VpcId")
|
|
3999
|
+
self._SubnetId = params.get("SubnetId")
|
|
4000
|
+
self._AccessGatewayId = params.get("AccessGatewayId")
|
|
4001
|
+
memeber_set = set(params.keys())
|
|
4002
|
+
for name, value in vars(self).items():
|
|
4003
|
+
property_name = name[1:]
|
|
4004
|
+
if property_name in memeber_set:
|
|
4005
|
+
memeber_set.remove(property_name)
|
|
4006
|
+
if len(memeber_set) > 0:
|
|
4007
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4008
|
+
|
|
4009
|
+
|
|
4010
|
+
|
|
3143
4011
|
class ForwardRule(AbstractModel):
|
|
3144
4012
|
"""Forwarding rule details.
|
|
3145
4013
|
|
|
@@ -3166,12 +4034,10 @@ class ForwardRule(AbstractModel):
|
|
|
3166
4034
|
:param _ForwardAddress: Forwarding address.
|
|
3167
4035
|
:type ForwardAddress: list of str
|
|
3168
4036
|
:param _VpcSet: List of VPCs bound to the private domain.
|
|
3169
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3170
4037
|
:type VpcSet: list of VpcInfo
|
|
3171
4038
|
:param _ZoneId: ID of the bound private domain.
|
|
3172
4039
|
:type ZoneId: str
|
|
3173
|
-
:param _Tags: Tag
|
|
3174
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4040
|
+
:param _Tags: Tag
|
|
3175
4041
|
:type Tags: list of TagInfo
|
|
3176
4042
|
"""
|
|
3177
4043
|
self._Domain = None
|
|
@@ -3289,7 +4155,6 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3289
4155
|
@property
|
|
3290
4156
|
def VpcSet(self):
|
|
3291
4157
|
"""List of VPCs bound to the private domain.
|
|
3292
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3293
4158
|
:rtype: list of VpcInfo
|
|
3294
4159
|
"""
|
|
3295
4160
|
return self._VpcSet
|
|
@@ -3311,8 +4176,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3311
4176
|
|
|
3312
4177
|
@property
|
|
3313
4178
|
def Tags(self):
|
|
3314
|
-
"""Tag
|
|
3315
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4179
|
+
"""Tag
|
|
3316
4180
|
:rtype: list of TagInfo
|
|
3317
4181
|
"""
|
|
3318
4182
|
return self._Tags
|
|
@@ -3389,50 +4253,116 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
3389
4253
|
self._Resource = Resource
|
|
3390
4254
|
|
|
3391
4255
|
@property
|
|
3392
|
-
def Metric(self):
|
|
3393
|
-
"""Table name
|
|
4256
|
+
def Metric(self):
|
|
4257
|
+
"""Table name
|
|
4258
|
+
:rtype: str
|
|
4259
|
+
"""
|
|
4260
|
+
return self._Metric
|
|
4261
|
+
|
|
4262
|
+
@Metric.setter
|
|
4263
|
+
def Metric(self, Metric):
|
|
4264
|
+
self._Metric = Metric
|
|
4265
|
+
|
|
4266
|
+
@property
|
|
4267
|
+
def DataSet(self):
|
|
4268
|
+
"""Table data
|
|
4269
|
+
:rtype: list of DatePoint
|
|
4270
|
+
"""
|
|
4271
|
+
return self._DataSet
|
|
4272
|
+
|
|
4273
|
+
@DataSet.setter
|
|
4274
|
+
def DataSet(self, DataSet):
|
|
4275
|
+
self._DataSet = DataSet
|
|
4276
|
+
|
|
4277
|
+
@property
|
|
4278
|
+
def MetricCount(self):
|
|
4279
|
+
"""The total number of requests within the query scope.
|
|
4280
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
4281
|
+
:rtype: int
|
|
4282
|
+
"""
|
|
4283
|
+
return self._MetricCount
|
|
4284
|
+
|
|
4285
|
+
@MetricCount.setter
|
|
4286
|
+
def MetricCount(self, MetricCount):
|
|
4287
|
+
self._MetricCount = MetricCount
|
|
4288
|
+
|
|
4289
|
+
|
|
4290
|
+
def _deserialize(self, params):
|
|
4291
|
+
self._Resource = params.get("Resource")
|
|
4292
|
+
self._Metric = params.get("Metric")
|
|
4293
|
+
if params.get("DataSet") is not None:
|
|
4294
|
+
self._DataSet = []
|
|
4295
|
+
for item in params.get("DataSet"):
|
|
4296
|
+
obj = DatePoint()
|
|
4297
|
+
obj._deserialize(item)
|
|
4298
|
+
self._DataSet.append(obj)
|
|
4299
|
+
self._MetricCount = params.get("MetricCount")
|
|
4300
|
+
memeber_set = set(params.keys())
|
|
4301
|
+
for name, value in vars(self).items():
|
|
4302
|
+
property_name = name[1:]
|
|
4303
|
+
if property_name in memeber_set:
|
|
4304
|
+
memeber_set.remove(property_name)
|
|
4305
|
+
if len(memeber_set) > 0:
|
|
4306
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4307
|
+
|
|
4308
|
+
|
|
4309
|
+
|
|
4310
|
+
class ModifyForwardRuleRequest(AbstractModel):
|
|
4311
|
+
"""ModifyForwardRule request structure.
|
|
4312
|
+
|
|
4313
|
+
"""
|
|
4314
|
+
|
|
4315
|
+
def __init__(self):
|
|
4316
|
+
r"""
|
|
4317
|
+
:param _RuleId: Forwarding rule ID.
|
|
4318
|
+
:type RuleId: str
|
|
4319
|
+
:param _RuleName: Forwarding rule name.
|
|
4320
|
+
:type RuleName: str
|
|
4321
|
+
:param _EndPointId: Endpoint ID.
|
|
4322
|
+
:type EndPointId: str
|
|
4323
|
+
"""
|
|
4324
|
+
self._RuleId = None
|
|
4325
|
+
self._RuleName = None
|
|
4326
|
+
self._EndPointId = None
|
|
4327
|
+
|
|
4328
|
+
@property
|
|
4329
|
+
def RuleId(self):
|
|
4330
|
+
"""Forwarding rule ID.
|
|
3394
4331
|
:rtype: str
|
|
3395
4332
|
"""
|
|
3396
|
-
return self.
|
|
4333
|
+
return self._RuleId
|
|
3397
4334
|
|
|
3398
|
-
@
|
|
3399
|
-
def
|
|
3400
|
-
self.
|
|
4335
|
+
@RuleId.setter
|
|
4336
|
+
def RuleId(self, RuleId):
|
|
4337
|
+
self._RuleId = RuleId
|
|
3401
4338
|
|
|
3402
4339
|
@property
|
|
3403
|
-
def
|
|
3404
|
-
"""
|
|
3405
|
-
:rtype:
|
|
4340
|
+
def RuleName(self):
|
|
4341
|
+
"""Forwarding rule name.
|
|
4342
|
+
:rtype: str
|
|
3406
4343
|
"""
|
|
3407
|
-
return self.
|
|
4344
|
+
return self._RuleName
|
|
3408
4345
|
|
|
3409
|
-
@
|
|
3410
|
-
def
|
|
3411
|
-
self.
|
|
4346
|
+
@RuleName.setter
|
|
4347
|
+
def RuleName(self, RuleName):
|
|
4348
|
+
self._RuleName = RuleName
|
|
3412
4349
|
|
|
3413
4350
|
@property
|
|
3414
|
-
def
|
|
3415
|
-
"""
|
|
3416
|
-
|
|
3417
|
-
:rtype: int
|
|
4351
|
+
def EndPointId(self):
|
|
4352
|
+
"""Endpoint ID.
|
|
4353
|
+
:rtype: str
|
|
3418
4354
|
"""
|
|
3419
|
-
return self.
|
|
4355
|
+
return self._EndPointId
|
|
3420
4356
|
|
|
3421
|
-
@
|
|
3422
|
-
def
|
|
3423
|
-
self.
|
|
4357
|
+
@EndPointId.setter
|
|
4358
|
+
def EndPointId(self, EndPointId):
|
|
4359
|
+
self._EndPointId = EndPointId
|
|
3424
4360
|
|
|
3425
4361
|
|
|
3426
4362
|
def _deserialize(self, params):
|
|
3427
|
-
self.
|
|
3428
|
-
self.
|
|
3429
|
-
|
|
3430
|
-
self._DataSet = []
|
|
3431
|
-
for item in params.get("DataSet"):
|
|
3432
|
-
obj = DatePoint()
|
|
3433
|
-
obj._deserialize(item)
|
|
3434
|
-
self._DataSet.append(obj)
|
|
3435
|
-
self._MetricCount = params.get("MetricCount")
|
|
4363
|
+
self._RuleId = params.get("RuleId")
|
|
4364
|
+
self._RuleName = params.get("RuleName")
|
|
4365
|
+
self._EndPointId = params.get("EndPointId")
|
|
3436
4366
|
memeber_set = set(params.keys())
|
|
3437
4367
|
for name, value in vars(self).items():
|
|
3438
4368
|
property_name = name[1:]
|
|
@@ -3443,6 +4373,34 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
3443
4373
|
|
|
3444
4374
|
|
|
3445
4375
|
|
|
4376
|
+
class ModifyForwardRuleResponse(AbstractModel):
|
|
4377
|
+
"""ModifyForwardRule response structure.
|
|
4378
|
+
|
|
4379
|
+
"""
|
|
4380
|
+
|
|
4381
|
+
def __init__(self):
|
|
4382
|
+
r"""
|
|
4383
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
4384
|
+
:type RequestId: str
|
|
4385
|
+
"""
|
|
4386
|
+
self._RequestId = None
|
|
4387
|
+
|
|
4388
|
+
@property
|
|
4389
|
+
def RequestId(self):
|
|
4390
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
4391
|
+
:rtype: str
|
|
4392
|
+
"""
|
|
4393
|
+
return self._RequestId
|
|
4394
|
+
|
|
4395
|
+
@RequestId.setter
|
|
4396
|
+
def RequestId(self, RequestId):
|
|
4397
|
+
self._RequestId = RequestId
|
|
4398
|
+
|
|
4399
|
+
|
|
4400
|
+
def _deserialize(self, params):
|
|
4401
|
+
self._RequestId = params.get("RequestId")
|
|
4402
|
+
|
|
4403
|
+
|
|
3446
4404
|
class ModifyPrivateZoneRecordRequest(AbstractModel):
|
|
3447
4405
|
"""ModifyPrivateZoneRecord request structure.
|
|
3448
4406
|
|
|
@@ -4019,6 +4977,173 @@ class ModifyRecordsStatusResponse(AbstractModel):
|
|
|
4019
4977
|
self._RequestId = params.get("RequestId")
|
|
4020
4978
|
|
|
4021
4979
|
|
|
4980
|
+
class OutboundEndpoint(AbstractModel):
|
|
4981
|
+
"""Outbound endpoint.
|
|
4982
|
+
|
|
4983
|
+
"""
|
|
4984
|
+
|
|
4985
|
+
def __init__(self):
|
|
4986
|
+
r"""
|
|
4987
|
+
:param _EndpointId: Outbound endpoint ID.
|
|
4988
|
+
:type EndpointId: str
|
|
4989
|
+
:param _EndpointName: Outbound endpoint name.
|
|
4990
|
+
:type EndpointName: str
|
|
4991
|
+
:param _Region: The region of the outbound endpoint.
|
|
4992
|
+
:type Region: str
|
|
4993
|
+
:param _Tags: Tag
|
|
4994
|
+
:type Tags: list of TagInfo
|
|
4995
|
+
:param _EndpointServiceSet: Outbound endpoint information.
|
|
4996
|
+
Returned only when the forwarding architecture is V2R.
|
|
4997
|
+
:type EndpointServiceSet: list of EndpointService
|
|
4998
|
+
:param _ForwardLinkArch: Forwarding link architecture.
|
|
4999
|
+
V2V: privatelink
|
|
5000
|
+
V2R: jnsgw
|
|
5001
|
+
:type ForwardLinkArch: str
|
|
5002
|
+
:param _EndPointServiceId: Endpoint service ID.
|
|
5003
|
+
|
|
5004
|
+
Returned only when the forwarding architecture is V2V.
|
|
5005
|
+
|
|
5006
|
+
:type EndPointServiceId: str
|
|
5007
|
+
:param _EndPointVipSet: VIP list of the endpoint.
|
|
5008
|
+
|
|
5009
|
+
Returned only when the forwarding architecture is V2V.
|
|
5010
|
+
:type EndPointVipSet: list of str
|
|
5011
|
+
"""
|
|
5012
|
+
self._EndpointId = None
|
|
5013
|
+
self._EndpointName = None
|
|
5014
|
+
self._Region = None
|
|
5015
|
+
self._Tags = None
|
|
5016
|
+
self._EndpointServiceSet = None
|
|
5017
|
+
self._ForwardLinkArch = None
|
|
5018
|
+
self._EndPointServiceId = None
|
|
5019
|
+
self._EndPointVipSet = None
|
|
5020
|
+
|
|
5021
|
+
@property
|
|
5022
|
+
def EndpointId(self):
|
|
5023
|
+
"""Outbound endpoint ID.
|
|
5024
|
+
:rtype: str
|
|
5025
|
+
"""
|
|
5026
|
+
return self._EndpointId
|
|
5027
|
+
|
|
5028
|
+
@EndpointId.setter
|
|
5029
|
+
def EndpointId(self, EndpointId):
|
|
5030
|
+
self._EndpointId = EndpointId
|
|
5031
|
+
|
|
5032
|
+
@property
|
|
5033
|
+
def EndpointName(self):
|
|
5034
|
+
"""Outbound endpoint name.
|
|
5035
|
+
:rtype: str
|
|
5036
|
+
"""
|
|
5037
|
+
return self._EndpointName
|
|
5038
|
+
|
|
5039
|
+
@EndpointName.setter
|
|
5040
|
+
def EndpointName(self, EndpointName):
|
|
5041
|
+
self._EndpointName = EndpointName
|
|
5042
|
+
|
|
5043
|
+
@property
|
|
5044
|
+
def Region(self):
|
|
5045
|
+
"""The region of the outbound endpoint.
|
|
5046
|
+
:rtype: str
|
|
5047
|
+
"""
|
|
5048
|
+
return self._Region
|
|
5049
|
+
|
|
5050
|
+
@Region.setter
|
|
5051
|
+
def Region(self, Region):
|
|
5052
|
+
self._Region = Region
|
|
5053
|
+
|
|
5054
|
+
@property
|
|
5055
|
+
def Tags(self):
|
|
5056
|
+
"""Tag
|
|
5057
|
+
:rtype: list of TagInfo
|
|
5058
|
+
"""
|
|
5059
|
+
return self._Tags
|
|
5060
|
+
|
|
5061
|
+
@Tags.setter
|
|
5062
|
+
def Tags(self, Tags):
|
|
5063
|
+
self._Tags = Tags
|
|
5064
|
+
|
|
5065
|
+
@property
|
|
5066
|
+
def EndpointServiceSet(self):
|
|
5067
|
+
"""Outbound endpoint information.
|
|
5068
|
+
Returned only when the forwarding architecture is V2R.
|
|
5069
|
+
:rtype: list of EndpointService
|
|
5070
|
+
"""
|
|
5071
|
+
return self._EndpointServiceSet
|
|
5072
|
+
|
|
5073
|
+
@EndpointServiceSet.setter
|
|
5074
|
+
def EndpointServiceSet(self, EndpointServiceSet):
|
|
5075
|
+
self._EndpointServiceSet = EndpointServiceSet
|
|
5076
|
+
|
|
5077
|
+
@property
|
|
5078
|
+
def ForwardLinkArch(self):
|
|
5079
|
+
"""Forwarding link architecture.
|
|
5080
|
+
V2V: privatelink
|
|
5081
|
+
V2R: jnsgw
|
|
5082
|
+
:rtype: str
|
|
5083
|
+
"""
|
|
5084
|
+
return self._ForwardLinkArch
|
|
5085
|
+
|
|
5086
|
+
@ForwardLinkArch.setter
|
|
5087
|
+
def ForwardLinkArch(self, ForwardLinkArch):
|
|
5088
|
+
self._ForwardLinkArch = ForwardLinkArch
|
|
5089
|
+
|
|
5090
|
+
@property
|
|
5091
|
+
def EndPointServiceId(self):
|
|
5092
|
+
"""Endpoint service ID.
|
|
5093
|
+
|
|
5094
|
+
Returned only when the forwarding architecture is V2V.
|
|
5095
|
+
|
|
5096
|
+
:rtype: str
|
|
5097
|
+
"""
|
|
5098
|
+
return self._EndPointServiceId
|
|
5099
|
+
|
|
5100
|
+
@EndPointServiceId.setter
|
|
5101
|
+
def EndPointServiceId(self, EndPointServiceId):
|
|
5102
|
+
self._EndPointServiceId = EndPointServiceId
|
|
5103
|
+
|
|
5104
|
+
@property
|
|
5105
|
+
def EndPointVipSet(self):
|
|
5106
|
+
"""VIP list of the endpoint.
|
|
5107
|
+
|
|
5108
|
+
Returned only when the forwarding architecture is V2V.
|
|
5109
|
+
:rtype: list of str
|
|
5110
|
+
"""
|
|
5111
|
+
return self._EndPointVipSet
|
|
5112
|
+
|
|
5113
|
+
@EndPointVipSet.setter
|
|
5114
|
+
def EndPointVipSet(self, EndPointVipSet):
|
|
5115
|
+
self._EndPointVipSet = EndPointVipSet
|
|
5116
|
+
|
|
5117
|
+
|
|
5118
|
+
def _deserialize(self, params):
|
|
5119
|
+
self._EndpointId = params.get("EndpointId")
|
|
5120
|
+
self._EndpointName = params.get("EndpointName")
|
|
5121
|
+
self._Region = params.get("Region")
|
|
5122
|
+
if params.get("Tags") is not None:
|
|
5123
|
+
self._Tags = []
|
|
5124
|
+
for item in params.get("Tags"):
|
|
5125
|
+
obj = TagInfo()
|
|
5126
|
+
obj._deserialize(item)
|
|
5127
|
+
self._Tags.append(obj)
|
|
5128
|
+
if params.get("EndpointServiceSet") is not None:
|
|
5129
|
+
self._EndpointServiceSet = []
|
|
5130
|
+
for item in params.get("EndpointServiceSet"):
|
|
5131
|
+
obj = EndpointService()
|
|
5132
|
+
obj._deserialize(item)
|
|
5133
|
+
self._EndpointServiceSet.append(obj)
|
|
5134
|
+
self._ForwardLinkArch = params.get("ForwardLinkArch")
|
|
5135
|
+
self._EndPointServiceId = params.get("EndPointServiceId")
|
|
5136
|
+
self._EndPointVipSet = params.get("EndPointVipSet")
|
|
5137
|
+
memeber_set = set(params.keys())
|
|
5138
|
+
for name, value in vars(self).items():
|
|
5139
|
+
property_name = name[1:]
|
|
5140
|
+
if property_name in memeber_set:
|
|
5141
|
+
memeber_set.remove(property_name)
|
|
5142
|
+
if len(memeber_set) > 0:
|
|
5143
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5144
|
+
|
|
5145
|
+
|
|
5146
|
+
|
|
4022
5147
|
class PrivateDNSAccount(AbstractModel):
|
|
4023
5148
|
"""Private DNS account
|
|
4024
5149
|
|
|
@@ -4636,6 +5761,114 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
4636
5761
|
|
|
4637
5762
|
|
|
4638
5763
|
|
|
5764
|
+
class RegionInfo(AbstractModel):
|
|
5765
|
+
"""Region information
|
|
5766
|
+
|
|
5767
|
+
"""
|
|
5768
|
+
|
|
5769
|
+
def __init__(self):
|
|
5770
|
+
r"""
|
|
5771
|
+
:param _RegionCode: Region encoding
|
|
5772
|
+
:type RegionCode: str
|
|
5773
|
+
:param _CnName: Region name
|
|
5774
|
+
|
|
5775
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5776
|
+
:type CnName: str
|
|
5777
|
+
:param _EnName: English name of the region
|
|
5778
|
+
:type EnName: str
|
|
5779
|
+
:param _RegionId: Region ID
|
|
5780
|
+
|
|
5781
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5782
|
+
:type RegionId: int
|
|
5783
|
+
:param _AvailableZoneNum: Number of AZs
|
|
5784
|
+
|
|
5785
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5786
|
+
:type AvailableZoneNum: int
|
|
5787
|
+
"""
|
|
5788
|
+
self._RegionCode = None
|
|
5789
|
+
self._CnName = None
|
|
5790
|
+
self._EnName = None
|
|
5791
|
+
self._RegionId = None
|
|
5792
|
+
self._AvailableZoneNum = None
|
|
5793
|
+
|
|
5794
|
+
@property
|
|
5795
|
+
def RegionCode(self):
|
|
5796
|
+
"""Region encoding
|
|
5797
|
+
:rtype: str
|
|
5798
|
+
"""
|
|
5799
|
+
return self._RegionCode
|
|
5800
|
+
|
|
5801
|
+
@RegionCode.setter
|
|
5802
|
+
def RegionCode(self, RegionCode):
|
|
5803
|
+
self._RegionCode = RegionCode
|
|
5804
|
+
|
|
5805
|
+
@property
|
|
5806
|
+
def CnName(self):
|
|
5807
|
+
"""Region name
|
|
5808
|
+
|
|
5809
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5810
|
+
:rtype: str
|
|
5811
|
+
"""
|
|
5812
|
+
return self._CnName
|
|
5813
|
+
|
|
5814
|
+
@CnName.setter
|
|
5815
|
+
def CnName(self, CnName):
|
|
5816
|
+
self._CnName = CnName
|
|
5817
|
+
|
|
5818
|
+
@property
|
|
5819
|
+
def EnName(self):
|
|
5820
|
+
"""English name of the region
|
|
5821
|
+
:rtype: str
|
|
5822
|
+
"""
|
|
5823
|
+
return self._EnName
|
|
5824
|
+
|
|
5825
|
+
@EnName.setter
|
|
5826
|
+
def EnName(self, EnName):
|
|
5827
|
+
self._EnName = EnName
|
|
5828
|
+
|
|
5829
|
+
@property
|
|
5830
|
+
def RegionId(self):
|
|
5831
|
+
"""Region ID
|
|
5832
|
+
|
|
5833
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5834
|
+
:rtype: int
|
|
5835
|
+
"""
|
|
5836
|
+
return self._RegionId
|
|
5837
|
+
|
|
5838
|
+
@RegionId.setter
|
|
5839
|
+
def RegionId(self, RegionId):
|
|
5840
|
+
self._RegionId = RegionId
|
|
5841
|
+
|
|
5842
|
+
@property
|
|
5843
|
+
def AvailableZoneNum(self):
|
|
5844
|
+
"""Number of AZs
|
|
5845
|
+
|
|
5846
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5847
|
+
:rtype: int
|
|
5848
|
+
"""
|
|
5849
|
+
return self._AvailableZoneNum
|
|
5850
|
+
|
|
5851
|
+
@AvailableZoneNum.setter
|
|
5852
|
+
def AvailableZoneNum(self, AvailableZoneNum):
|
|
5853
|
+
self._AvailableZoneNum = AvailableZoneNum
|
|
5854
|
+
|
|
5855
|
+
|
|
5856
|
+
def _deserialize(self, params):
|
|
5857
|
+
self._RegionCode = params.get("RegionCode")
|
|
5858
|
+
self._CnName = params.get("CnName")
|
|
5859
|
+
self._EnName = params.get("EnName")
|
|
5860
|
+
self._RegionId = params.get("RegionId")
|
|
5861
|
+
self._AvailableZoneNum = params.get("AvailableZoneNum")
|
|
5862
|
+
memeber_set = set(params.keys())
|
|
5863
|
+
for name, value in vars(self).items():
|
|
5864
|
+
property_name = name[1:]
|
|
5865
|
+
if property_name in memeber_set:
|
|
5866
|
+
memeber_set.remove(property_name)
|
|
5867
|
+
if len(memeber_set) > 0:
|
|
5868
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5869
|
+
|
|
5870
|
+
|
|
5871
|
+
|
|
4639
5872
|
class SubscribePrivateZoneServiceRequest(AbstractModel):
|
|
4640
5873
|
"""SubscribePrivateZoneService request structure.
|
|
4641
5874
|
|