zenlayercloud-sdk-python 2.0.74__py3-none-any.whl → 2.0.76__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.
- zenlayercloud/__init__.py +1 -1
- zenlayercloud/bmc/v20260201/bmc_client.py +19 -1
- zenlayercloud/bmc/v20260201/models.py +43 -0
- zenlayercloud/ipt/v20240901/ipt_client.py +12 -12
- zenlayercloud/ipt/v20240901/models.py +54 -2
- zenlayercloud/sdn/v20260401/models.py +1361 -1294
- zenlayercloud/sdn/v20260401/sdn_client.py +220 -211
- zenlayercloud/zec/v20250901/models.py +902 -401
- zenlayercloud/zec/v20250901/zec_client.py +290 -173
- zenlayercloud/zlb/v20250401/models.py +40 -0
- zenlayercloud/zlb/v20250401/zlb_client.py +22 -13
- {zenlayercloud_sdk_python-2.0.74.dist-info → zenlayercloud_sdk_python-2.0.76.dist-info}/METADATA +1 -1
- {zenlayercloud_sdk_python-2.0.74.dist-info → zenlayercloud_sdk_python-2.0.76.dist-info}/RECORD +16 -16
- {zenlayercloud_sdk_python-2.0.74.dist-info → zenlayercloud_sdk_python-2.0.76.dist-info}/WHEEL +0 -0
- {zenlayercloud_sdk_python-2.0.74.dist-info → zenlayercloud_sdk_python-2.0.76.dist-info}/licenses/LICENSE +0 -0
- {zenlayercloud_sdk_python-2.0.74.dist-info → zenlayercloud_sdk_python-2.0.76.dist-info}/top_level.txt +0 -0
|
@@ -8,144 +8,189 @@ class SdnClient(AbstractClient):
|
|
|
8
8
|
_api_version = "2026-04-01"
|
|
9
9
|
_service = "sdn"
|
|
10
10
|
|
|
11
|
-
def
|
|
11
|
+
def DescribeDatacenters(self, request):
|
|
12
12
|
"""
|
|
13
|
-
|
|
13
|
+
查询数据中心列表。
|
|
14
14
|
"""
|
|
15
|
-
response = self._api_call("
|
|
16
|
-
model = models.
|
|
15
|
+
response = self._api_call("DescribeDatacenters", request)
|
|
16
|
+
model = models.DescribeDatacentersResponse()
|
|
17
17
|
model._deserialize(response)
|
|
18
18
|
return model
|
|
19
19
|
|
|
20
|
-
def
|
|
20
|
+
def DescribeVirtualEdgeDatacenters(self, request):
|
|
21
21
|
"""
|
|
22
|
-
|
|
22
|
+
查询边缘网关数据中心列表。
|
|
23
23
|
"""
|
|
24
|
-
response = self._api_call("
|
|
25
|
-
model = models.
|
|
24
|
+
response = self._api_call("DescribeVirtualEdgeDatacenters", request)
|
|
25
|
+
model = models.DescribeVirtualEdgeDatacentersResponse()
|
|
26
26
|
model._deserialize(response)
|
|
27
27
|
return model
|
|
28
28
|
|
|
29
|
-
def
|
|
29
|
+
def DescribeBorderGatewayDatacenters(self, request):
|
|
30
30
|
"""
|
|
31
|
-
|
|
31
|
+
查询边界网关数据中心列表。
|
|
32
32
|
"""
|
|
33
|
-
response = self._api_call("
|
|
34
|
-
model = models.
|
|
33
|
+
response = self._api_call("DescribeBorderGatewayDatacenters", request)
|
|
34
|
+
model = models.DescribeBorderGatewayDatacentersResponse()
|
|
35
35
|
model._deserialize(response)
|
|
36
36
|
return model
|
|
37
37
|
|
|
38
|
-
def
|
|
38
|
+
def DescribeVPCDatacenters(self, request):
|
|
39
39
|
"""
|
|
40
|
-
|
|
40
|
+
查询 VPC 数据中心列表。
|
|
41
41
|
"""
|
|
42
|
-
response = self._api_call("
|
|
43
|
-
model = models.
|
|
42
|
+
response = self._api_call("DescribeVPCDatacenters", request)
|
|
43
|
+
model = models.DescribeVPCDatacentersResponse()
|
|
44
44
|
model._deserialize(response)
|
|
45
45
|
return model
|
|
46
46
|
|
|
47
|
-
def
|
|
47
|
+
def DescribeDatacentersWithService(self, request):
|
|
48
48
|
"""
|
|
49
|
-
|
|
49
|
+
查询含服务的数据中心列表。
|
|
50
50
|
"""
|
|
51
|
-
response = self._api_call("
|
|
52
|
-
model = models.
|
|
51
|
+
response = self._api_call("DescribeDatacentersWithService", request)
|
|
52
|
+
model = models.DescribeDatacentersWithServiceResponse()
|
|
53
53
|
model._deserialize(response)
|
|
54
54
|
return model
|
|
55
55
|
|
|
56
|
-
def
|
|
56
|
+
def QueryCloudOnrampPrice(self, request):
|
|
57
57
|
"""
|
|
58
|
-
|
|
58
|
+
云连接带宽询价。
|
|
59
59
|
"""
|
|
60
|
-
response = self._api_call("
|
|
61
|
-
model = models.
|
|
60
|
+
response = self._api_call("QueryCloudOnrampPrice", request)
|
|
61
|
+
model = models.QueryCloudOnrampPriceResponse()
|
|
62
62
|
model._deserialize(response)
|
|
63
63
|
return model
|
|
64
64
|
|
|
65
|
-
def
|
|
65
|
+
def QueryDataCenterPortPrice(self, request):
|
|
66
66
|
"""
|
|
67
|
-
|
|
67
|
+
数据中心端口询价。
|
|
68
68
|
"""
|
|
69
|
-
response = self._api_call("
|
|
70
|
-
model = models.
|
|
69
|
+
response = self._api_call("QueryDataCenterPortPrice", request)
|
|
70
|
+
model = models.QueryDataCenterPortPriceResponse()
|
|
71
71
|
model._deserialize(response)
|
|
72
72
|
return model
|
|
73
73
|
|
|
74
|
-
def
|
|
74
|
+
def QueryDataCenterPortPrices(self, request):
|
|
75
75
|
"""
|
|
76
|
-
|
|
76
|
+
数据中心端口批量询价。
|
|
77
77
|
"""
|
|
78
|
-
response = self._api_call("
|
|
79
|
-
model = models.
|
|
78
|
+
response = self._api_call("QueryDataCenterPortPrices", request)
|
|
79
|
+
model = models.QueryDataCenterPortPricesResponse()
|
|
80
80
|
model._deserialize(response)
|
|
81
81
|
return model
|
|
82
82
|
|
|
83
|
-
def
|
|
83
|
+
def QueryPrivateConnectPrice(self, request):
|
|
84
84
|
"""
|
|
85
|
-
|
|
85
|
+
二层网络专线询价。
|
|
86
86
|
"""
|
|
87
|
-
response = self._api_call("
|
|
88
|
-
model = models.
|
|
87
|
+
response = self._api_call("QueryPrivateConnectPrice", request)
|
|
88
|
+
model = models.QueryPrivateConnectPriceResponse()
|
|
89
89
|
model._deserialize(response)
|
|
90
90
|
return model
|
|
91
91
|
|
|
92
|
-
def
|
|
92
|
+
def QueryPrivateConnectBandwidthPrice(self, request):
|
|
93
93
|
"""
|
|
94
|
-
|
|
94
|
+
二层专线带宽询价。
|
|
95
95
|
"""
|
|
96
|
-
response = self._api_call("
|
|
97
|
-
model = models.
|
|
96
|
+
response = self._api_call("QueryPrivateConnectBandwidthPrice", request)
|
|
97
|
+
model = models.QueryPrivateConnectBandwidthPriceResponse()
|
|
98
98
|
model._deserialize(response)
|
|
99
99
|
return model
|
|
100
100
|
|
|
101
|
-
def
|
|
101
|
+
def QueryCloudRouterBandwidthPrice(self, request):
|
|
102
102
|
"""
|
|
103
|
-
|
|
103
|
+
三层骨干带宽询价。
|
|
104
104
|
"""
|
|
105
|
-
response = self._api_call("
|
|
106
|
-
model = models.
|
|
105
|
+
response = self._api_call("QueryCloudRouterBandwidthPrice", request)
|
|
106
|
+
model = models.QueryCloudRouterBandwidthPriceResponse()
|
|
107
107
|
model._deserialize(response)
|
|
108
108
|
return model
|
|
109
109
|
|
|
110
|
-
def
|
|
110
|
+
def CreatePort(self, request):
|
|
111
111
|
"""
|
|
112
|
-
|
|
112
|
+
创建端口。
|
|
113
113
|
"""
|
|
114
|
-
response = self._api_call("
|
|
115
|
-
model = models.
|
|
114
|
+
response = self._api_call("CreatePort", request)
|
|
115
|
+
model = models.CreatePortResponse()
|
|
116
116
|
model._deserialize(response)
|
|
117
117
|
return model
|
|
118
118
|
|
|
119
|
-
def
|
|
119
|
+
def DestroyPort(self, request):
|
|
120
120
|
"""
|
|
121
|
-
|
|
121
|
+
销毁端口。
|
|
122
122
|
"""
|
|
123
|
-
response = self._api_call("
|
|
124
|
-
model = models.
|
|
123
|
+
response = self._api_call("DestroyPort", request)
|
|
124
|
+
model = models.DestroyPortResponse()
|
|
125
125
|
model._deserialize(response)
|
|
126
126
|
return model
|
|
127
127
|
|
|
128
|
-
def
|
|
128
|
+
def TerminatePort(self, request):
|
|
129
129
|
"""
|
|
130
|
-
|
|
130
|
+
终止端口。
|
|
131
131
|
"""
|
|
132
|
-
response = self._api_call("
|
|
133
|
-
model = models.
|
|
132
|
+
response = self._api_call("TerminatePort", request)
|
|
133
|
+
model = models.TerminatePortResponse()
|
|
134
134
|
model._deserialize(response)
|
|
135
135
|
return model
|
|
136
136
|
|
|
137
|
-
def
|
|
137
|
+
def RenewPort(self, request):
|
|
138
138
|
"""
|
|
139
|
-
|
|
139
|
+
恢复端口。
|
|
140
140
|
"""
|
|
141
|
-
response = self._api_call("
|
|
142
|
-
model = models.
|
|
141
|
+
response = self._api_call("RenewPort", request)
|
|
142
|
+
model = models.RenewPortResponse()
|
|
143
|
+
model._deserialize(response)
|
|
144
|
+
return model
|
|
145
|
+
|
|
146
|
+
def ModifyPortAttribute(self, request):
|
|
147
|
+
"""
|
|
148
|
+
修改端口属性。
|
|
149
|
+
"""
|
|
150
|
+
response = self._api_call("ModifyPortAttribute", request)
|
|
151
|
+
model = models.ModifyPortAttributeResponse()
|
|
152
|
+
model._deserialize(response)
|
|
153
|
+
return model
|
|
154
|
+
|
|
155
|
+
def DescribePorts(self, request):
|
|
156
|
+
"""
|
|
157
|
+
获取端口列表。
|
|
158
|
+
"""
|
|
159
|
+
response = self._api_call("DescribePorts", request)
|
|
160
|
+
model = models.DescribePortsResponse()
|
|
161
|
+
model._deserialize(response)
|
|
162
|
+
return model
|
|
163
|
+
|
|
164
|
+
def DescribeDataCenterPortPrice(self, request):
|
|
165
|
+
"""
|
|
166
|
+
获取数据中心在售端口类型及价格。
|
|
167
|
+
"""
|
|
168
|
+
response = self._api_call("DescribeDataCenterPortPrice", request)
|
|
169
|
+
model = models.DescribeDataCenterPortPriceResponse()
|
|
170
|
+
model._deserialize(response)
|
|
171
|
+
return model
|
|
172
|
+
|
|
173
|
+
def DescribePortTraffic(self, request):
|
|
174
|
+
"""
|
|
175
|
+
查询端口流量。
|
|
176
|
+
"""
|
|
177
|
+
response = self._api_call("DescribePortTraffic", request)
|
|
178
|
+
model = models.DescribePortTrafficResponse()
|
|
179
|
+
model._deserialize(response)
|
|
180
|
+
return model
|
|
181
|
+
|
|
182
|
+
def DescribePortUsableVlan(self, request):
|
|
183
|
+
"""
|
|
184
|
+
查询端口可用vlan。
|
|
185
|
+
"""
|
|
186
|
+
response = self._api_call("DescribePortUsableVlan", request)
|
|
187
|
+
model = models.DescribePortUsableVlanResponse()
|
|
143
188
|
model._deserialize(response)
|
|
144
189
|
return model
|
|
145
190
|
|
|
146
191
|
def DescribeGoogleVlanUsage(self, request):
|
|
147
192
|
"""
|
|
148
|
-
查询Google接入点VLAN
|
|
193
|
+
查询Google接入点VLAN使用情况。
|
|
149
194
|
"""
|
|
150
195
|
response = self._api_call("DescribeGoogleVlanUsage", request)
|
|
151
196
|
model = models.DescribeGoogleVlanUsageResponse()
|
|
@@ -154,7 +199,7 @@ class SdnClient(AbstractClient):
|
|
|
154
199
|
|
|
155
200
|
def DescribeTencentVlanUsage(self, request):
|
|
156
201
|
"""
|
|
157
|
-
查询腾讯云接入点VLAN
|
|
202
|
+
查询腾讯云接入点VLAN使用情况。
|
|
158
203
|
"""
|
|
159
204
|
response = self._api_call("DescribeTencentVlanUsage", request)
|
|
160
205
|
model = models.DescribeTencentVlanUsageResponse()
|
|
@@ -163,7 +208,7 @@ class SdnClient(AbstractClient):
|
|
|
163
208
|
|
|
164
209
|
def DescribeAliCloudVlanUsage(self, request):
|
|
165
210
|
"""
|
|
166
|
-
查询阿里云接入点VLAN
|
|
211
|
+
查询阿里云接入点VLAN使用情况。
|
|
167
212
|
"""
|
|
168
213
|
response = self._api_call("DescribeAliCloudVlanUsage", request)
|
|
169
214
|
model = models.DescribeAliCloudVlanUsageResponse()
|
|
@@ -172,7 +217,7 @@ class SdnClient(AbstractClient):
|
|
|
172
217
|
|
|
173
218
|
def DescribeHuaweiCloudVlanUsage(self, request):
|
|
174
219
|
"""
|
|
175
|
-
查询华为云接入点VLAN
|
|
220
|
+
查询华为云接入点VLAN使用情况。
|
|
176
221
|
"""
|
|
177
222
|
response = self._api_call("DescribeHuaweiCloudVlanUsage", request)
|
|
178
223
|
model = models.DescribeHuaweiCloudVlanUsageResponse()
|
|
@@ -181,7 +226,7 @@ class SdnClient(AbstractClient):
|
|
|
181
226
|
|
|
182
227
|
def DescribeAzureVlanUsage(self, request):
|
|
183
228
|
"""
|
|
184
|
-
查询Azure接入点VLAN
|
|
229
|
+
查询Azure接入点VLAN使用情况。
|
|
185
230
|
"""
|
|
186
231
|
response = self._api_call("DescribeAzureVlanUsage", request)
|
|
187
232
|
model = models.DescribeAzureVlanUsageResponse()
|
|
@@ -190,7 +235,7 @@ class SdnClient(AbstractClient):
|
|
|
190
235
|
|
|
191
236
|
def DescribeOracleVlanUsage(self, request):
|
|
192
237
|
"""
|
|
193
|
-
查询Oracle接入点VLAN
|
|
238
|
+
查询Oracle接入点VLAN使用情况。
|
|
194
239
|
"""
|
|
195
240
|
response = self._api_call("DescribeOracleVlanUsage", request)
|
|
196
241
|
model = models.DescribeOracleVlanUsageResponse()
|
|
@@ -199,7 +244,7 @@ class SdnClient(AbstractClient):
|
|
|
199
244
|
|
|
200
245
|
def DescribeBytePlusVlanUsage(self, request):
|
|
201
246
|
"""
|
|
202
|
-
查询BytePlus接入点VLAN
|
|
247
|
+
查询BytePlus接入点VLAN使用情况。
|
|
203
248
|
"""
|
|
204
249
|
response = self._api_call("DescribeBytePlusVlanUsage", request)
|
|
205
250
|
model = models.DescribeBytePlusVlanUsageResponse()
|
|
@@ -208,7 +253,7 @@ class SdnClient(AbstractClient):
|
|
|
208
253
|
|
|
209
254
|
def ModifyCloudBandwidth(self, request):
|
|
210
255
|
"""
|
|
211
|
-
|
|
256
|
+
修改云连接带宽。
|
|
212
257
|
"""
|
|
213
258
|
response = self._api_call("ModifyCloudBandwidth", request)
|
|
214
259
|
model = models.ModifyCloudBandwidthResponse()
|
|
@@ -217,7 +262,7 @@ class SdnClient(AbstractClient):
|
|
|
217
262
|
|
|
218
263
|
def DescribeCloudAvailableBandwidthTiers(self, request):
|
|
219
264
|
"""
|
|
220
|
-
|
|
265
|
+
查询云连接可用带宽阶梯。
|
|
221
266
|
"""
|
|
222
267
|
response = self._api_call("DescribeCloudAvailableBandwidthTiers", request)
|
|
223
268
|
model = models.DescribeCloudAvailableBandwidthTiersResponse()
|
|
@@ -226,7 +271,7 @@ class SdnClient(AbstractClient):
|
|
|
226
271
|
|
|
227
272
|
def DescribeAWSRegions(self, request):
|
|
228
273
|
"""
|
|
229
|
-
查询AWS
|
|
274
|
+
查询AWS接入点区域。
|
|
230
275
|
"""
|
|
231
276
|
response = self._api_call("DescribeAWSRegions", request)
|
|
232
277
|
model = models.DescribeAWSRegionsResponse()
|
|
@@ -235,7 +280,7 @@ class SdnClient(AbstractClient):
|
|
|
235
280
|
|
|
236
281
|
def DescribeTencentRegions(self, request):
|
|
237
282
|
"""
|
|
238
|
-
|
|
283
|
+
查询腾讯云接入点区域。
|
|
239
284
|
"""
|
|
240
285
|
response = self._api_call("DescribeTencentRegions", request)
|
|
241
286
|
model = models.DescribeTencentRegionsResponse()
|
|
@@ -244,7 +289,7 @@ class SdnClient(AbstractClient):
|
|
|
244
289
|
|
|
245
290
|
def DescribeGoogleRegions(self, request):
|
|
246
291
|
"""
|
|
247
|
-
查询Google
|
|
292
|
+
查询Google接入点区域。
|
|
248
293
|
"""
|
|
249
294
|
response = self._api_call("DescribeGoogleRegions", request)
|
|
250
295
|
model = models.DescribeGoogleRegionsResponse()
|
|
@@ -253,7 +298,7 @@ class SdnClient(AbstractClient):
|
|
|
253
298
|
|
|
254
299
|
def DescribeAzureRegions(self, request):
|
|
255
300
|
"""
|
|
256
|
-
查询Azure
|
|
301
|
+
查询Azure接入点区域。
|
|
257
302
|
"""
|
|
258
303
|
response = self._api_call("DescribeAzureRegions", request)
|
|
259
304
|
model = models.DescribeAzureRegionsResponse()
|
|
@@ -262,7 +307,7 @@ class SdnClient(AbstractClient):
|
|
|
262
307
|
|
|
263
308
|
def DescribeOracleRegions(self, request):
|
|
264
309
|
"""
|
|
265
|
-
查询Oracle
|
|
310
|
+
查询Oracle接入点区域。
|
|
266
311
|
"""
|
|
267
312
|
response = self._api_call("DescribeOracleRegions", request)
|
|
268
313
|
model = models.DescribeOracleRegionsResponse()
|
|
@@ -271,7 +316,7 @@ class SdnClient(AbstractClient):
|
|
|
271
316
|
|
|
272
317
|
def DescribeAliCloudRegions(self, request):
|
|
273
318
|
"""
|
|
274
|
-
|
|
319
|
+
查询阿里云接入点区域。
|
|
275
320
|
"""
|
|
276
321
|
response = self._api_call("DescribeAliCloudRegions", request)
|
|
277
322
|
model = models.DescribeAliCloudRegionsResponse()
|
|
@@ -280,7 +325,7 @@ class SdnClient(AbstractClient):
|
|
|
280
325
|
|
|
281
326
|
def DescribeHuaweiCloudRegions(self, request):
|
|
282
327
|
"""
|
|
283
|
-
|
|
328
|
+
查询华为云接入点区域。
|
|
284
329
|
"""
|
|
285
330
|
response = self._api_call("DescribeHuaweiCloudRegions", request)
|
|
286
331
|
model = models.DescribeHuaweiCloudRegionsResponse()
|
|
@@ -289,7 +334,7 @@ class SdnClient(AbstractClient):
|
|
|
289
334
|
|
|
290
335
|
def DescribeBytePlusRegions(self, request):
|
|
291
336
|
"""
|
|
292
|
-
查询BytePlus
|
|
337
|
+
查询BytePlus接入点区域。
|
|
293
338
|
"""
|
|
294
339
|
response = self._api_call("DescribeBytePlusRegions", request)
|
|
295
340
|
model = models.DescribeBytePlusRegionsResponse()
|
|
@@ -298,271 +343,235 @@ class SdnClient(AbstractClient):
|
|
|
298
343
|
|
|
299
344
|
def DescribeAWSVlanUsage(self, request):
|
|
300
345
|
"""
|
|
301
|
-
查询AWS接入点VLAN
|
|
346
|
+
查询AWS接入点VLAN使用情况。
|
|
302
347
|
"""
|
|
303
348
|
response = self._api_call("DescribeAWSVlanUsage", request)
|
|
304
349
|
model = models.DescribeAWSVlanUsageResponse()
|
|
305
350
|
model._deserialize(response)
|
|
306
351
|
return model
|
|
307
352
|
|
|
308
|
-
def
|
|
353
|
+
def DescribeVolcengineVlanUsage(self, request):
|
|
309
354
|
"""
|
|
310
|
-
|
|
355
|
+
查询火山引擎接入点VLAN使用情况。
|
|
311
356
|
"""
|
|
312
|
-
response = self._api_call("
|
|
313
|
-
model = models.
|
|
357
|
+
response = self._api_call("DescribeVolcengineVlanUsage", request)
|
|
358
|
+
model = models.DescribeVolcengineVlanUsageResponse()
|
|
314
359
|
model._deserialize(response)
|
|
315
360
|
return model
|
|
316
361
|
|
|
317
|
-
def
|
|
362
|
+
def DescribeVolcengineRegions(self, request):
|
|
318
363
|
"""
|
|
319
|
-
|
|
364
|
+
查询火山引擎接入点区域。
|
|
320
365
|
"""
|
|
321
|
-
response = self._api_call("
|
|
322
|
-
model = models.
|
|
366
|
+
response = self._api_call("DescribeVolcengineRegions", request)
|
|
367
|
+
model = models.DescribeVolcengineRegionsResponse()
|
|
323
368
|
model._deserialize(response)
|
|
324
369
|
return model
|
|
325
370
|
|
|
326
|
-
def
|
|
371
|
+
def DescribePrivateConnectAvailablePorts(self, request):
|
|
327
372
|
"""
|
|
328
|
-
|
|
373
|
+
查询可加入的数据中心端口。
|
|
329
374
|
"""
|
|
330
|
-
response = self._api_call("
|
|
331
|
-
model = models.
|
|
375
|
+
response = self._api_call("DescribePrivateConnectAvailablePorts", request)
|
|
376
|
+
model = models.DescribePrivateConnectAvailablePortsResponse()
|
|
332
377
|
model._deserialize(response)
|
|
333
378
|
return model
|
|
334
379
|
|
|
335
|
-
def
|
|
380
|
+
def DescribePrivateConnects(self, request):
|
|
336
381
|
"""
|
|
337
|
-
|
|
382
|
+
获取二层网络专线列表。
|
|
338
383
|
"""
|
|
339
|
-
response = self._api_call("
|
|
340
|
-
model = models.
|
|
384
|
+
response = self._api_call("DescribePrivateConnects", request)
|
|
385
|
+
model = models.DescribePrivateConnectsResponse()
|
|
341
386
|
model._deserialize(response)
|
|
342
387
|
return model
|
|
343
388
|
|
|
344
|
-
def
|
|
389
|
+
def InquiryCreatePrivateConnectPrice(self, request):
|
|
345
390
|
"""
|
|
346
|
-
|
|
391
|
+
二层网络专线询价。
|
|
347
392
|
"""
|
|
348
|
-
response = self._api_call("
|
|
349
|
-
model = models.
|
|
393
|
+
response = self._api_call("InquiryCreatePrivateConnectPrice", request)
|
|
394
|
+
model = models.InquiryCreatePrivateConnectPriceResponse()
|
|
350
395
|
model._deserialize(response)
|
|
351
396
|
return model
|
|
352
397
|
|
|
353
|
-
def
|
|
398
|
+
def CreatePrivateConnect(self, request):
|
|
354
399
|
"""
|
|
355
|
-
|
|
400
|
+
创建二层网络专线。
|
|
356
401
|
"""
|
|
357
|
-
response = self._api_call("
|
|
358
|
-
model = models.
|
|
402
|
+
response = self._api_call("CreatePrivateConnect", request)
|
|
403
|
+
model = models.CreatePrivateConnectResponse()
|
|
359
404
|
model._deserialize(response)
|
|
360
405
|
return model
|
|
361
406
|
|
|
362
|
-
def
|
|
407
|
+
def ModifyPrivateConnectsAttribute(self, request):
|
|
363
408
|
"""
|
|
364
|
-
|
|
409
|
+
修改二层网络专线属性。
|
|
365
410
|
"""
|
|
366
|
-
response = self._api_call("
|
|
367
|
-
model = models.
|
|
411
|
+
response = self._api_call("ModifyPrivateConnectsAttribute", request)
|
|
412
|
+
model = models.ModifyPrivateConnectsAttributeResponse()
|
|
368
413
|
model._deserialize(response)
|
|
369
414
|
return model
|
|
370
415
|
|
|
371
|
-
def
|
|
416
|
+
def ModifyPrivateConnectBandwidth(self, request):
|
|
372
417
|
"""
|
|
373
|
-
|
|
418
|
+
修改二层网络专线带宽。
|
|
374
419
|
"""
|
|
375
|
-
response = self._api_call("
|
|
376
|
-
model = models.
|
|
420
|
+
response = self._api_call("ModifyPrivateConnectBandwidth", request)
|
|
421
|
+
model = models.ModifyPrivateConnectBandwidthResponse()
|
|
377
422
|
model._deserialize(response)
|
|
378
423
|
return model
|
|
379
424
|
|
|
380
|
-
def
|
|
425
|
+
def RenewPrivateConnect(self, request):
|
|
381
426
|
"""
|
|
382
|
-
|
|
427
|
+
恢复二层网络专线。
|
|
383
428
|
"""
|
|
384
|
-
response = self._api_call("
|
|
385
|
-
model = models.
|
|
429
|
+
response = self._api_call("RenewPrivateConnect", request)
|
|
430
|
+
model = models.RenewPrivateConnectResponse()
|
|
386
431
|
model._deserialize(response)
|
|
387
432
|
return model
|
|
388
433
|
|
|
389
|
-
def
|
|
434
|
+
def DeletePrivateConnect(self, request):
|
|
390
435
|
"""
|
|
391
|
-
|
|
436
|
+
删除二层网络专线。
|
|
392
437
|
"""
|
|
393
|
-
response = self._api_call("
|
|
394
|
-
model = models.
|
|
438
|
+
response = self._api_call("DeletePrivateConnect", request)
|
|
439
|
+
model = models.DeletePrivateConnectResponse()
|
|
395
440
|
model._deserialize(response)
|
|
396
441
|
return model
|
|
397
442
|
|
|
398
|
-
def
|
|
443
|
+
def DestroyPrivateConnect(self, request):
|
|
399
444
|
"""
|
|
400
|
-
|
|
445
|
+
销毁二层网络专线。
|
|
401
446
|
"""
|
|
402
|
-
response = self._api_call("
|
|
403
|
-
model = models.
|
|
447
|
+
response = self._api_call("DestroyPrivateConnect", request)
|
|
448
|
+
model = models.DestroyPrivateConnectResponse()
|
|
404
449
|
model._deserialize(response)
|
|
405
450
|
return model
|
|
406
451
|
|
|
407
|
-
def
|
|
452
|
+
def DescribePrivateConnectTraffic(self, request):
|
|
408
453
|
"""
|
|
409
|
-
|
|
454
|
+
查询二层网络专线流量。
|
|
410
455
|
"""
|
|
411
|
-
response = self._api_call("
|
|
412
|
-
model = models.
|
|
456
|
+
response = self._api_call("DescribePrivateConnectTraffic", request)
|
|
457
|
+
model = models.DescribePrivateConnectTrafficResponse()
|
|
413
458
|
model._deserialize(response)
|
|
414
459
|
return model
|
|
415
460
|
|
|
416
461
|
def DescribeCloudRouterAvailablePorts(self, request):
|
|
417
462
|
"""
|
|
418
|
-
|
|
463
|
+
查询可用端口。
|
|
419
464
|
"""
|
|
420
465
|
response = self._api_call("DescribeCloudRouterAvailablePorts", request)
|
|
421
466
|
model = models.DescribeCloudRouterAvailablePortsResponse()
|
|
422
467
|
model._deserialize(response)
|
|
423
468
|
return model
|
|
424
469
|
|
|
425
|
-
def
|
|
426
|
-
"""
|
|
427
|
-
查询三层网络列表
|
|
428
|
-
"""
|
|
429
|
-
response = self._api_call("DescribeCloudRouters", request)
|
|
430
|
-
model = models.DescribeCloudRoutersResponse()
|
|
431
|
-
model._deserialize(response)
|
|
432
|
-
return model
|
|
433
|
-
|
|
434
|
-
def DescribeDatacenters(self, request):
|
|
435
|
-
"""
|
|
436
|
-
查询数据中心列表
|
|
437
|
-
"""
|
|
438
|
-
response = self._api_call("DescribeDatacenters", request)
|
|
439
|
-
model = models.DescribeDatacentersResponse()
|
|
440
|
-
model._deserialize(response)
|
|
441
|
-
return model
|
|
442
|
-
|
|
443
|
-
def DescribeVirtualEdgeDatacenters(self, request):
|
|
444
|
-
"""
|
|
445
|
-
查询边缘网关数据中心列表
|
|
446
|
-
"""
|
|
447
|
-
response = self._api_call("DescribeVirtualEdgeDatacenters", request)
|
|
448
|
-
model = models.DescribeVirtualEdgeDatacentersResponse()
|
|
449
|
-
model._deserialize(response)
|
|
450
|
-
return model
|
|
451
|
-
|
|
452
|
-
def DescribeBorderGatewayDatacenters(self, request):
|
|
453
|
-
"""
|
|
454
|
-
查询边界网关数据中心列表
|
|
455
|
-
"""
|
|
456
|
-
response = self._api_call("DescribeBorderGatewayDatacenters", request)
|
|
457
|
-
model = models.DescribeBorderGatewayDatacentersResponse()
|
|
458
|
-
model._deserialize(response)
|
|
459
|
-
return model
|
|
460
|
-
|
|
461
|
-
def DescribeVPCDatacenters(self, request):
|
|
470
|
+
def DescribeCloudRouterAvailableVpcs(self, request):
|
|
462
471
|
"""
|
|
463
|
-
|
|
472
|
+
查询可用VPC。
|
|
464
473
|
"""
|
|
465
|
-
response = self._api_call("
|
|
466
|
-
model = models.
|
|
474
|
+
response = self._api_call("DescribeCloudRouterAvailableVpcs", request)
|
|
475
|
+
model = models.DescribeCloudRouterAvailableVpcsResponse()
|
|
467
476
|
model._deserialize(response)
|
|
468
477
|
return model
|
|
469
478
|
|
|
470
|
-
def
|
|
479
|
+
def CreateCloudRouter(self, request):
|
|
471
480
|
"""
|
|
472
|
-
|
|
481
|
+
创建三层网络。
|
|
473
482
|
"""
|
|
474
|
-
response = self._api_call("
|
|
475
|
-
model = models.
|
|
483
|
+
response = self._api_call("CreateCloudRouter", request)
|
|
484
|
+
model = models.CreateCloudRouterResponse()
|
|
476
485
|
model._deserialize(response)
|
|
477
486
|
return model
|
|
478
487
|
|
|
479
|
-
def
|
|
488
|
+
def DescribeCloudRouters(self, request):
|
|
480
489
|
"""
|
|
481
|
-
|
|
490
|
+
查询三层网络列表。
|
|
482
491
|
"""
|
|
483
|
-
response = self._api_call("
|
|
484
|
-
model = models.
|
|
492
|
+
response = self._api_call("DescribeCloudRouters", request)
|
|
493
|
+
model = models.DescribeCloudRoutersResponse()
|
|
485
494
|
model._deserialize(response)
|
|
486
495
|
return model
|
|
487
496
|
|
|
488
|
-
def
|
|
497
|
+
def AddCloudRouterEdgePoints(self, request):
|
|
489
498
|
"""
|
|
490
|
-
|
|
499
|
+
新增连接点。
|
|
491
500
|
"""
|
|
492
|
-
response = self._api_call("
|
|
493
|
-
model = models.
|
|
501
|
+
response = self._api_call("AddCloudRouterEdgePoints", request)
|
|
502
|
+
model = models.AddCloudRouterEdgePointsResponse()
|
|
494
503
|
model._deserialize(response)
|
|
495
504
|
return model
|
|
496
505
|
|
|
497
|
-
def
|
|
506
|
+
def ModifyCloudRoutersAttribute(self, request):
|
|
498
507
|
"""
|
|
499
|
-
|
|
508
|
+
修改三层网络属性。
|
|
500
509
|
"""
|
|
501
|
-
response = self._api_call("
|
|
502
|
-
model = models.
|
|
510
|
+
response = self._api_call("ModifyCloudRoutersAttribute", request)
|
|
511
|
+
model = models.ModifyCloudRoutersAttributeResponse()
|
|
503
512
|
model._deserialize(response)
|
|
504
513
|
return model
|
|
505
514
|
|
|
506
|
-
def
|
|
515
|
+
def DeleteCloudRouterEdgePoint(self, request):
|
|
507
516
|
"""
|
|
508
|
-
|
|
517
|
+
删除连接点。
|
|
509
518
|
"""
|
|
510
|
-
response = self._api_call("
|
|
511
|
-
model = models.
|
|
519
|
+
response = self._api_call("DeleteCloudRouterEdgePoint", request)
|
|
520
|
+
model = models.DeleteCloudRouterEdgePointResponse()
|
|
512
521
|
model._deserialize(response)
|
|
513
522
|
return model
|
|
514
523
|
|
|
515
|
-
def
|
|
524
|
+
def ModifyCloudRouterEdgePointBandwidth(self, request):
|
|
516
525
|
"""
|
|
517
|
-
|
|
526
|
+
修改连接点带宽。
|
|
518
527
|
"""
|
|
519
|
-
response = self._api_call("
|
|
520
|
-
model = models.
|
|
528
|
+
response = self._api_call("ModifyCloudRouterEdgePointBandwidth", request)
|
|
529
|
+
model = models.ModifyCloudRouterEdgePointBandwidthResponse()
|
|
521
530
|
model._deserialize(response)
|
|
522
531
|
return model
|
|
523
532
|
|
|
524
|
-
def
|
|
533
|
+
def ModifyCloudRouterEdgePoint(self, request):
|
|
525
534
|
"""
|
|
526
|
-
|
|
535
|
+
修改连接点配置。
|
|
527
536
|
"""
|
|
528
|
-
response = self._api_call("
|
|
529
|
-
model = models.
|
|
537
|
+
response = self._api_call("ModifyCloudRouterEdgePoint", request)
|
|
538
|
+
model = models.ModifyCloudRouterEdgePointResponse()
|
|
530
539
|
model._deserialize(response)
|
|
531
540
|
return model
|
|
532
541
|
|
|
533
|
-
def
|
|
542
|
+
def DeleteCloudRouter(self, request):
|
|
534
543
|
"""
|
|
535
|
-
|
|
544
|
+
删除三层网络。
|
|
536
545
|
"""
|
|
537
|
-
response = self._api_call("
|
|
538
|
-
model = models.
|
|
546
|
+
response = self._api_call("DeleteCloudRouter", request)
|
|
547
|
+
model = models.DeleteCloudRouterResponse()
|
|
539
548
|
model._deserialize(response)
|
|
540
549
|
return model
|
|
541
550
|
|
|
542
|
-
def
|
|
551
|
+
def DestroyCloudRouter(self, request):
|
|
543
552
|
"""
|
|
544
|
-
|
|
553
|
+
销毁三层网络。
|
|
545
554
|
"""
|
|
546
|
-
response = self._api_call("
|
|
547
|
-
model = models.
|
|
555
|
+
response = self._api_call("DestroyCloudRouter", request)
|
|
556
|
+
model = models.DestroyCloudRouterResponse()
|
|
548
557
|
model._deserialize(response)
|
|
549
558
|
return model
|
|
550
559
|
|
|
551
|
-
def
|
|
560
|
+
def DescribeCloudRouterEdgePointTraffic(self, request):
|
|
552
561
|
"""
|
|
553
|
-
|
|
562
|
+
查询连接点流量。
|
|
554
563
|
"""
|
|
555
|
-
response = self._api_call("
|
|
556
|
-
model = models.
|
|
564
|
+
response = self._api_call("DescribeCloudRouterEdgePointTraffic", request)
|
|
565
|
+
model = models.DescribeCloudRouterEdgePointTrafficResponse()
|
|
557
566
|
model._deserialize(response)
|
|
558
567
|
return model
|
|
559
568
|
|
|
560
|
-
def
|
|
569
|
+
def DescribeCloudRouterDCToDCTraffic(self, request):
|
|
561
570
|
"""
|
|
562
|
-
|
|
571
|
+
查询数据中心间流量。
|
|
563
572
|
"""
|
|
564
|
-
response = self._api_call("
|
|
565
|
-
model = models.
|
|
573
|
+
response = self._api_call("DescribeCloudRouterDCToDCTraffic", request)
|
|
574
|
+
model = models.DescribeCloudRouterDCToDCTrafficResponse()
|
|
566
575
|
model._deserialize(response)
|
|
567
576
|
return model
|
|
568
577
|
|