zenlayercloud-sdk-python 2.0.15__tar.gz → 2.0.17__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/PKG-INFO +1 -1
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/__init__.py +1 -1
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/sdn/v20230830/models.py +272 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/sdn/v20230830/sdn_client.py +47 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud_sdk_python.egg-info/PKG-INFO +1 -1
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/LICENSE +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/README.rst +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/setup.cfg +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/setup.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/bmc/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/bmc/v20221120/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/bmc/v20221120/bmc_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/bmc/v20221120/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/common/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/common/abstract_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/common/abstract_model.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/common/config.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/common/credential.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/common/excpetion/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/common/excpetion/error_code.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/common/excpetion/zenlayer_cloud_sdk_exception.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/common/request.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/common/response.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/common/utils.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/sdn/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/sdn/v20230830/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/traffic/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/traffic/v20240326/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/traffic/v20240326/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/traffic/v20240326/traffic_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/user/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/user/v20240529/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/user/v20240529/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/user/v20240529/user_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/vm/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/vm/v20230313/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/vm/v20230313/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/vm/v20230313/vm_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/zec/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/zec/v20240401/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/zec/v20240401/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/zec/v20240401/zec_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/zga/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/zga/v20241104/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/zga/v20241104/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/zga/v20241104/zga_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/zls/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/zls/v20230804/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/zls/v20230804/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/zls/v20230804/zls_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud_sdk_python.egg-info/SOURCES.txt +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud_sdk_python.egg-info/dependency_links.txt +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud_sdk_python.egg-info/requires.txt +0 -0
- {zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud_sdk_python.egg-info/top_level.txt +0 -0
|
@@ -28,6 +28,191 @@ class DescribeDatacentersResponse(AbstractModel):
|
|
|
28
28
|
self.dcSet.append(obj)
|
|
29
29
|
|
|
30
30
|
|
|
31
|
+
|
|
32
|
+
class DescribeDatacentersWithServiceRequest(AbstractModel):
|
|
33
|
+
def __init__(self):
|
|
34
|
+
self.cloudRegionId = None
|
|
35
|
+
self.dcId = None
|
|
36
|
+
self.serviceType = None
|
|
37
|
+
|
|
38
|
+
def _deserialize(self, params):
|
|
39
|
+
self.cloudRegionId = params.get("cloudRegionId")
|
|
40
|
+
self.dcId = params.get("dcId")
|
|
41
|
+
self.serviceType = params.get("serviceType")
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
class DescribeDatacentersWithServiceResponse(AbstractModel):
|
|
45
|
+
|
|
46
|
+
def __init__(self):
|
|
47
|
+
self.requestId = None
|
|
48
|
+
self.dcSet = None
|
|
49
|
+
|
|
50
|
+
def _deserialize(self, params):
|
|
51
|
+
self.requestId = params.get("requestId")
|
|
52
|
+
if params.get("dcSet") is not None:
|
|
53
|
+
self.dcSet = []
|
|
54
|
+
for item in params.get("dcSet"):
|
|
55
|
+
obj = DatacenterWithServiceInfo(item)
|
|
56
|
+
self.dcSet.append(obj)
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
class DatacenterWithServiceInfo(AbstractModel):
|
|
60
|
+
def __init__(self, params=None):
|
|
61
|
+
if params is None:
|
|
62
|
+
params = {}
|
|
63
|
+
if len(params) > 0:
|
|
64
|
+
self._deserialize(params)
|
|
65
|
+
return
|
|
66
|
+
self.dcId = None
|
|
67
|
+
self.dcName = None
|
|
68
|
+
self.areaName = None
|
|
69
|
+
self.cityName = None
|
|
70
|
+
self.cloudRegionId = None
|
|
71
|
+
self.serviceTypes = None
|
|
72
|
+
self.latitude = None
|
|
73
|
+
self.longitude = None
|
|
74
|
+
|
|
75
|
+
def _deserialize(self, params):
|
|
76
|
+
self.dcId = params.get("dcId")
|
|
77
|
+
self.dcName = params.get("dcName")
|
|
78
|
+
self.areaName = params.get("areaName")
|
|
79
|
+
self.cityName = params.get("cityName")
|
|
80
|
+
self.cloudRegionId = params.get("cloudRegionId")
|
|
81
|
+
self.serviceTypes = params.get("serviceTypes")
|
|
82
|
+
self.latitude = params.get("latitude")
|
|
83
|
+
self.longitude = params.get("longitude")
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
class DescribeVirtualEdgeDatacentersRequest(AbstractModel):
|
|
87
|
+
def __init__(self):
|
|
88
|
+
self.primaryDcId = None # 主数据中心ID
|
|
89
|
+
|
|
90
|
+
def _deserialize(self, params):
|
|
91
|
+
self.primaryDcId = params.get("primaryDcId")
|
|
92
|
+
|
|
93
|
+
# 响应模型
|
|
94
|
+
class DescribeVirtualEdgeDatacentersResponse(AbstractModel):
|
|
95
|
+
def __init__(self):
|
|
96
|
+
self.requestId = None # 请求ID
|
|
97
|
+
self.dcSet = None # 虚拟边缘数据中心集合
|
|
98
|
+
|
|
99
|
+
def _deserialize(self, params):
|
|
100
|
+
self.requestId = params.get("requestId")
|
|
101
|
+
if params.get("dcSet") is not None:
|
|
102
|
+
self.dcSet = []
|
|
103
|
+
for item in params.get("dcSet"):
|
|
104
|
+
obj = DatacenterInfo(item) # 复用已有的DatacenterInfo结构
|
|
105
|
+
self.dcSet.append(obj)
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
class QueryDataCenterPortPriceRequest(AbstractModel):
|
|
109
|
+
def __init__(self):
|
|
110
|
+
self.dcId = None
|
|
111
|
+
self.portType = None
|
|
112
|
+
self.buildCrossConnectWithAssisted = None
|
|
113
|
+
|
|
114
|
+
def _deserialize(self, params):
|
|
115
|
+
self.dcId = params.get("dcId")
|
|
116
|
+
self.portType = params.get("portType")
|
|
117
|
+
self.buildCrossConnectWithAssisted = params.get("buildCrossConnectWithAssisted")
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
class QueryDataCenterPortPriceResponse(AbstractModel):
|
|
121
|
+
|
|
122
|
+
def __init__(self):
|
|
123
|
+
self.requestId = None
|
|
124
|
+
self.price = None
|
|
125
|
+
self.crossConnectPrice = None
|
|
126
|
+
self.crossConnectOneTimeConstructionPrice = None
|
|
127
|
+
self.stock = None
|
|
128
|
+
|
|
129
|
+
def _deserialize(self, params):
|
|
130
|
+
self.requestId = params.get("requestId")
|
|
131
|
+
self.price = Price(params.get("price"))
|
|
132
|
+
self.crossConnectPrice = Price(params.get("crossConnectPrice"))
|
|
133
|
+
self.crossConnectOneTimeConstructionPrice = Price(params.get("crossConnectOneTimeConstructionPrice"))
|
|
134
|
+
self.stock = params.get("stock")
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
class QueryPrivateConnectBandwidthPriceRequest(AbstractModel):
|
|
138
|
+
def __init__(self):
|
|
139
|
+
self.sourceDcId = None
|
|
140
|
+
self.destinationDcId = None
|
|
141
|
+
self.internetType = None
|
|
142
|
+
self.bandwidthMbps = None
|
|
143
|
+
|
|
144
|
+
def _deserialize(self, params):
|
|
145
|
+
self.sourceDcId = params.get("sourceDcId")
|
|
146
|
+
self.destinationDcId = params.get("destinationDcId")
|
|
147
|
+
self.internetType = params.get("internetType")
|
|
148
|
+
self.bandwidthMbps = params.get("bandwidthMbps")
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
class QueryPrivateConnectBandwidthPriceResponse(AbstractModel):
|
|
152
|
+
|
|
153
|
+
def __init__(self):
|
|
154
|
+
self.requestId = None
|
|
155
|
+
self.price = None
|
|
156
|
+
self.stock = None
|
|
157
|
+
|
|
158
|
+
def _deserialize(self, params):
|
|
159
|
+
self.requestId = params.get("requestId")
|
|
160
|
+
self.price = Price(params.get("price"))
|
|
161
|
+
self.stock = params.get("stock")
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
class QueryCloudRouterBandwidthPriceRequest(AbstractModel):
|
|
165
|
+
def __init__(self):
|
|
166
|
+
self.dcId = None
|
|
167
|
+
self.bandwidthMbps = None
|
|
168
|
+
|
|
169
|
+
def _deserialize(self, params):
|
|
170
|
+
self.dcId = params.get("dcId")
|
|
171
|
+
self.bandwidthMbps = params.get("bandwidthMbps")
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
class QueryCloudRouterBandwidthPriceResponse(AbstractModel):
|
|
175
|
+
|
|
176
|
+
def __init__(self):
|
|
177
|
+
self.requestId = None
|
|
178
|
+
self.price = None
|
|
179
|
+
self.stock = None
|
|
180
|
+
|
|
181
|
+
def _deserialize(self, params):
|
|
182
|
+
self.requestId = params.get("requestId")
|
|
183
|
+
self.price = Price(params.get("price"))
|
|
184
|
+
self.stock = params.get("stock")
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
class QueryCloudOnrampPriceRequest(AbstractModel):
|
|
188
|
+
def __init__(self):
|
|
189
|
+
self.dcId = None
|
|
190
|
+
self.cloudType = None
|
|
191
|
+
self.vlanId = None
|
|
192
|
+
self.cloudRegionId = None
|
|
193
|
+
self.bandwidthMbps = None
|
|
194
|
+
|
|
195
|
+
def _deserialize(self, params):
|
|
196
|
+
self.dcId = params.get("dcId")
|
|
197
|
+
self.cloudType = params.get("cloudType")
|
|
198
|
+
self.vlanId = params.get("vlanId")
|
|
199
|
+
self.cloudRegionId = params.get("cloudRegionId")
|
|
200
|
+
self.bandwidthMbps = params.get("bandwidthMbps")
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
class QueryCloudOnrampPriceResponse(AbstractModel):
|
|
204
|
+
|
|
205
|
+
def __init__(self):
|
|
206
|
+
self.requestId = None
|
|
207
|
+
self.price = None
|
|
208
|
+
self.stock = None
|
|
209
|
+
|
|
210
|
+
def _deserialize(self, params):
|
|
211
|
+
self.requestId = params.get("requestId")
|
|
212
|
+
self.price = Price(params.get("price"))
|
|
213
|
+
self.stock = params.get("stock")
|
|
214
|
+
|
|
215
|
+
|
|
31
216
|
class CreatePortRequest(AbstractModel):
|
|
32
217
|
def __init__(self):
|
|
33
218
|
self.dcId = None
|
|
@@ -454,6 +639,7 @@ class DatacenterInfo(AbstractModel):
|
|
|
454
639
|
self.latitude = None
|
|
455
640
|
self.longitude = None
|
|
456
641
|
self.isPortAvailable = None
|
|
642
|
+
self.availableBandwidth = None
|
|
457
643
|
|
|
458
644
|
def _deserialize(self, params):
|
|
459
645
|
self.dcId = params.get("dcId")
|
|
@@ -465,6 +651,7 @@ class DatacenterInfo(AbstractModel):
|
|
|
465
651
|
self.latitude = params.get("latitude")
|
|
466
652
|
self.longitude = params.get("longitude")
|
|
467
653
|
self.isPortAvailable = params.get("isPortAvailable")
|
|
654
|
+
self.availableBandwidth = params.get("availableBandwidth")
|
|
468
655
|
|
|
469
656
|
|
|
470
657
|
class DescribeCreatePrivateConnectAvailableSubnetsRequest(AbstractModel):
|
|
@@ -665,6 +852,9 @@ class Price(AbstractModel):
|
|
|
665
852
|
self.unitPrice = None
|
|
666
853
|
self.discountUnitPrice = None
|
|
667
854
|
self.chargeUnit = None
|
|
855
|
+
self.excessUnitPrice = None
|
|
856
|
+
self.excessDiscountUnitPrice = None
|
|
857
|
+
self.excessAmountUnit = None
|
|
668
858
|
self.stepPrices = None
|
|
669
859
|
|
|
670
860
|
def _deserialize(self, params):
|
|
@@ -674,6 +864,9 @@ class Price(AbstractModel):
|
|
|
674
864
|
self.unitPrice = params.get("unitPrice")
|
|
675
865
|
self.discountUnitPrice = params.get("discountUnitPrice")
|
|
676
866
|
self.chargeUnit = params.get("chargeUnit")
|
|
867
|
+
self.excessUnitPrice = params.get("excessUnitPrice")
|
|
868
|
+
self.excessDiscountUnitPrice = params.get("excessDiscountUnitPrice")
|
|
869
|
+
self.excessAmountUnit = params.get("excessAmountUnit")
|
|
677
870
|
if params.get("stepPrices") is not None:
|
|
678
871
|
self.stepPrices = []
|
|
679
872
|
for item in params.get("stepPrices"):
|
|
@@ -1095,6 +1288,7 @@ class CreateCloudRouterEdgePoint(AbstractModel):
|
|
|
1095
1288
|
return
|
|
1096
1289
|
self.vpcId = None
|
|
1097
1290
|
self.bandwidthMbps = None
|
|
1291
|
+
self.zbgId = None
|
|
1098
1292
|
self.portId = None
|
|
1099
1293
|
self.vlanId = None
|
|
1100
1294
|
self.ipAddress = None
|
|
@@ -1106,12 +1300,22 @@ class CreateCloudRouterEdgePoint(AbstractModel):
|
|
|
1106
1300
|
self.cloudRegionId = None
|
|
1107
1301
|
self.dcId = None
|
|
1108
1302
|
self.haType = None
|
|
1303
|
+
self.ipSecTunnel = None
|
|
1304
|
+
self.psk = None
|
|
1305
|
+
self.customerPublicIP = None
|
|
1306
|
+
self.customerPrivateIP = None
|
|
1307
|
+
self.virtualEdgePrivateIP = None
|
|
1308
|
+
self.enableHealthCheck = None
|
|
1309
|
+
self.ipSecBgpConnection = None
|
|
1310
|
+
self.ipSecStaticRoutes = None
|
|
1311
|
+
self.backupIpSec = None
|
|
1109
1312
|
|
|
1110
1313
|
|
|
1111
1314
|
|
|
1112
1315
|
def _deserialize(self, params):
|
|
1113
1316
|
self.vpcId = params.get("vpcId")
|
|
1114
1317
|
self.bandwidthMbps = params.get("bandwidthMbps")
|
|
1318
|
+
self.zbgId = params.get("zbgId")
|
|
1115
1319
|
self.portId = params.get("portId")
|
|
1116
1320
|
self.vlanId = params.get("vlanId")
|
|
1117
1321
|
self.ipAddress = params.get("ipAddress")
|
|
@@ -1128,6 +1332,74 @@ class CreateCloudRouterEdgePoint(AbstractModel):
|
|
|
1128
1332
|
self.cloudRegionId = params.get("cloudRegionId")
|
|
1129
1333
|
self.dcId = params.get("dcId")
|
|
1130
1334
|
self.haType = params.get("haType")
|
|
1335
|
+
self.ipSecTunnel = params.get("ipSecTunnel")
|
|
1336
|
+
self.psk = params.get("psk")
|
|
1337
|
+
self.customerPublicIP = params.get("customerPublicIP")
|
|
1338
|
+
self.customerPrivateIP = params.get("customerPrivateIP")
|
|
1339
|
+
self.virtualEdgePrivateIP = params.get("virtualEdgePrivateIP")
|
|
1340
|
+
self.enableHealthCheck = params.get("enableHealthCheck")
|
|
1341
|
+
if params.get("ipSecBgpConnection") is not None:
|
|
1342
|
+
self.ipSecBgpConnection = IPSecBGPConnection(params.get("ipSecBgpConnection"))
|
|
1343
|
+
if params.get("ipSecStaticRoutes") is not None:
|
|
1344
|
+
self.ipSecStaticRoutes = []
|
|
1345
|
+
for item in params.get("ipSecStaticRoutes"):
|
|
1346
|
+
obj = IPSecStaticRoute(item)
|
|
1347
|
+
self.ipSecStaticRoutes.append(obj)
|
|
1348
|
+
if params.get("backupIpSec") is not None:
|
|
1349
|
+
self.backupIpSec = BackupIPSecConfig(params.get("backupIpSec"))
|
|
1350
|
+
|
|
1351
|
+
|
|
1352
|
+
class IPSecBGPConnection(AbstractModel):
|
|
1353
|
+
def __init__(self, params=None):
|
|
1354
|
+
if params is None:
|
|
1355
|
+
params = {}
|
|
1356
|
+
if len(params) > 0:
|
|
1357
|
+
self._deserialize(params)
|
|
1358
|
+
return
|
|
1359
|
+
self.customerAsn = None
|
|
1360
|
+
self.virtualEdgeAsn = None
|
|
1361
|
+
self.password = None
|
|
1362
|
+
|
|
1363
|
+
def _deserialize(self, params):
|
|
1364
|
+
self.customerAsn = params.get("customerAsn")
|
|
1365
|
+
self.virtualEdgeAsn = params.get("virtualEdgeAsn")
|
|
1366
|
+
self.password = params.get("password")
|
|
1367
|
+
|
|
1368
|
+
|
|
1369
|
+
|
|
1370
|
+
class IPSecStaticRoute(AbstractModel):
|
|
1371
|
+
def __init__(self, params=None):
|
|
1372
|
+
if params is None:
|
|
1373
|
+
params = {}
|
|
1374
|
+
if len(params) > 0:
|
|
1375
|
+
self._deserialize(params)
|
|
1376
|
+
return
|
|
1377
|
+
self.cidr = None
|
|
1378
|
+
|
|
1379
|
+
def _deserialize(self, params):
|
|
1380
|
+
self.cidr = params.get("cidr")
|
|
1381
|
+
|
|
1382
|
+
|
|
1383
|
+
|
|
1384
|
+
class BackupIPSecConfig(AbstractModel):
|
|
1385
|
+
def __init__(self, params=None):
|
|
1386
|
+
if params is None:
|
|
1387
|
+
params = {}
|
|
1388
|
+
if len(params) > 0:
|
|
1389
|
+
self._deserialize(params)
|
|
1390
|
+
return
|
|
1391
|
+
self.dcId = None
|
|
1392
|
+
self.psk = None
|
|
1393
|
+
self.customerPrivateIP = None
|
|
1394
|
+
self.virtualEdgePrivateIP = None
|
|
1395
|
+
self.password = None
|
|
1396
|
+
|
|
1397
|
+
def _deserialize(self, params):
|
|
1398
|
+
self.dcId = params.get("dcId")
|
|
1399
|
+
self.psk = params.get("psk")
|
|
1400
|
+
self.customerPrivateIP = params.get("customerPrivateIP")
|
|
1401
|
+
self.virtualEdgePrivateIP = params.get("virtualEdgePrivateIP")
|
|
1402
|
+
self.password = params.get("password")
|
|
1131
1403
|
|
|
1132
1404
|
|
|
1133
1405
|
class ModifyCloudRoutersAttributeRequest(AbstractModel):
|
|
@@ -15,6 +15,53 @@ class SdnClient(AbstractClient):
|
|
|
15
15
|
model._deserialize(response)
|
|
16
16
|
return model
|
|
17
17
|
|
|
18
|
+
|
|
19
|
+
def DescribeDatacentersWithService(self, request):
|
|
20
|
+
response = self._api_call("DescribeDatacentersWithService", request)
|
|
21
|
+
|
|
22
|
+
model = models.DescribeDatacentersWithServiceResponse()
|
|
23
|
+
model._deserialize(response)
|
|
24
|
+
return model
|
|
25
|
+
|
|
26
|
+
def DescribeVirtualEdgeDatacenters(self, request):
|
|
27
|
+
response = self._api_call("DescribeVirtualEdgeDatacenters", request)
|
|
28
|
+
model = models.DescribeVirtualEdgeDatacentersResponse()
|
|
29
|
+
model._deserialize(response)
|
|
30
|
+
return model
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def QueryDataCenterPortPrice(self, request):
|
|
34
|
+
response = self._api_call("QueryDataCenterPortPrice", request)
|
|
35
|
+
|
|
36
|
+
model = models.QueryDataCenterPortPriceResponse()
|
|
37
|
+
model._deserialize(response)
|
|
38
|
+
return model
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def QueryPrivateConnectBandwidthPrice(self, request):
|
|
42
|
+
response = self._api_call("QueryPrivateConnectBandwidthPrice", request)
|
|
43
|
+
|
|
44
|
+
model = models.QueryPrivateConnectBandwidthPriceResponse()
|
|
45
|
+
model._deserialize(response)
|
|
46
|
+
return model
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
def QueryCloudRouterBandwidthPrice(self, request):
|
|
50
|
+
response = self._api_call("QueryCloudRouterBandwidthPrice", request)
|
|
51
|
+
|
|
52
|
+
model = models.QueryCloudRouterBandwidthPriceResponse()
|
|
53
|
+
model._deserialize(response)
|
|
54
|
+
return model
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
def QueryCloudOnrampPrice(self, request):
|
|
58
|
+
response = self._api_call("QueryCloudOnrampPrice", request)
|
|
59
|
+
|
|
60
|
+
model = models.QueryCloudOnrampPriceResponse()
|
|
61
|
+
model._deserialize(response)
|
|
62
|
+
return model
|
|
63
|
+
|
|
64
|
+
|
|
18
65
|
def CreatePort(self, request):
|
|
19
66
|
response = self._api_call("CreatePort", request)
|
|
20
67
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/bmc/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/common/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/common/config.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/common/request.py
RENAMED
|
File without changes
|
{zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/common/response.py
RENAMED
|
File without changes
|
{zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/common/utils.py
RENAMED
|
File without changes
|
{zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/sdn/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/user/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/vm/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/zec/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/zga/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.15 → zenlayercloud_sdk_python-2.0.17}/zenlayercloud/zls/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|