bce-python-sdk 0.9.67__py3-none-any.whl → 0.9.68__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.
- baidubce/__init__.py +1 -1
- baidubce/bce_response.py +44 -0
- baidubce/http/handler.py +1 -0
- baidubce/services/bcc/bcc_client.py +40 -1
- baidubce/services/endpoint/endpoint_client.py +25 -7
- baidubce/services/etGateway/et_gateway_client.py +28 -6
- baidubce/services/havip/havip_client.py +44 -47
- baidubce/services/probe/probe_client.py +2 -2
- baidubce/services/vpc/peerconn_client.py +46 -2
- baidubce/services/vpc/template_client.py +10 -9
- {bce_python_sdk-0.9.67.dist-info → bce_python_sdk-0.9.68.dist-info}/METADATA +1 -1
- {bce_python_sdk-0.9.67.dist-info → bce_python_sdk-0.9.68.dist-info}/RECORD +14 -14
- {bce_python_sdk-0.9.67.dist-info → bce_python_sdk-0.9.68.dist-info}/WHEEL +0 -0
- {bce_python_sdk-0.9.67.dist-info → bce_python_sdk-0.9.68.dist-info}/top_level.txt +0 -0
baidubce/__init__.py
CHANGED
baidubce/bce_response.py
CHANGED
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
"""
|
|
14
14
|
This module provides a general response class for BCE services.
|
|
15
15
|
"""
|
|
16
|
+
import json
|
|
17
|
+
|
|
16
18
|
from future.utils import iteritems
|
|
17
19
|
from builtins import str
|
|
18
20
|
from builtins import bytes
|
|
@@ -60,3 +62,45 @@ class BceResponse(object):
|
|
|
60
62
|
|
|
61
63
|
def __repr__(self):
|
|
62
64
|
return utils.print_object(self)
|
|
65
|
+
|
|
66
|
+
def to_map(self):
|
|
67
|
+
"""
|
|
68
|
+
|
|
69
|
+
:return: dict
|
|
70
|
+
"""
|
|
71
|
+
result = dict()
|
|
72
|
+
result['headers'] = self._to_dict(self.metadata)
|
|
73
|
+
result['statusCode'] = self.status_code
|
|
74
|
+
result['body'] = self.get_body_map()
|
|
75
|
+
return result
|
|
76
|
+
|
|
77
|
+
def get_body_map(self):
|
|
78
|
+
"""
|
|
79
|
+
Deserialize self.raw_data JSON string into a Python object.
|
|
80
|
+
"""
|
|
81
|
+
content = self.raw_data
|
|
82
|
+
if not content:
|
|
83
|
+
return {}
|
|
84
|
+
try:
|
|
85
|
+
if isinstance(content, dict):
|
|
86
|
+
return content
|
|
87
|
+
if isinstance(content, str):
|
|
88
|
+
content = content.strip()
|
|
89
|
+
return json.loads(content)
|
|
90
|
+
except (json.JSONDecodeError, TypeError):
|
|
91
|
+
return {"raw_content": content}
|
|
92
|
+
|
|
93
|
+
@staticmethod
|
|
94
|
+
def _to_dict(obj):
|
|
95
|
+
"""
|
|
96
|
+
Recursively convert an object to a dictionary
|
|
97
|
+
"""
|
|
98
|
+
if isinstance(obj, (list, tuple, set)):
|
|
99
|
+
return [BceResponse._to_dict(i) for i in obj]
|
|
100
|
+
elif isinstance(obj, dict):
|
|
101
|
+
return {k: BceResponse._to_dict(v) for k, v in obj.items()}
|
|
102
|
+
elif hasattr(obj, "__dict__"):
|
|
103
|
+
return {k: BceResponse._to_dict(v) for k, v in obj.__dict__.items() if not k.startswith('_')}
|
|
104
|
+
else:
|
|
105
|
+
# Return primitive types directly
|
|
106
|
+
return obj
|
baidubce/http/handler.py
CHANGED
|
@@ -41,6 +41,7 @@ def parse_json(http_response, response):
|
|
|
41
41
|
body = compat.convert_to_string(body)
|
|
42
42
|
response.__dict__.update(json.loads(body, object_hook=utils.dict_to_python_object).__dict__)
|
|
43
43
|
response.__dict__["raw_data"] = body
|
|
44
|
+
response.__dict__["status_code"] = http_response.status
|
|
44
45
|
http_response.close()
|
|
45
46
|
return True
|
|
46
47
|
|
|
@@ -1341,6 +1341,39 @@ class BccClient(bce_base_client.BceBaseClient):
|
|
|
1341
1341
|
return self._send_request(http_methods.PUT, path, json.dumps(body),
|
|
1342
1342
|
params=params, config=config)
|
|
1343
1343
|
|
|
1344
|
+
@required(instance_ids=list)
|
|
1345
|
+
def batch_reboot_instance(self, instance_ids=None, force_stop=False, config=None):
|
|
1346
|
+
"""
|
|
1347
|
+
Rebooting the instance owned by the user.
|
|
1348
|
+
You can reboot the instance only when the instance is Running,
|
|
1349
|
+
otherwise, it's will get 409 errorCode.
|
|
1350
|
+
This is an asynchronous interface,
|
|
1351
|
+
you can get the latest status by BccClient.get_instance.
|
|
1352
|
+
|
|
1353
|
+
:param instance_ids:
|
|
1354
|
+
The ids of instance.
|
|
1355
|
+
:type instance_ids: list
|
|
1356
|
+
|
|
1357
|
+
:param force_stop:
|
|
1358
|
+
The optional parameter to stop the instance forcibly.If true,
|
|
1359
|
+
it will stop the instance just like power off immediately
|
|
1360
|
+
and it may result in losing important data which have not been written to disk.
|
|
1361
|
+
:type force_stop: boolean
|
|
1362
|
+
|
|
1363
|
+
:return:
|
|
1364
|
+
:rtype baidubce.bce_response.BceResponse
|
|
1365
|
+
"""
|
|
1366
|
+
path = b'/instance/batchAction'
|
|
1367
|
+
body = {
|
|
1368
|
+
'instanceIds': instance_ids,
|
|
1369
|
+
'forceStop': force_stop
|
|
1370
|
+
}
|
|
1371
|
+
params = {
|
|
1372
|
+
'reboot': None
|
|
1373
|
+
}
|
|
1374
|
+
return self._send_request(http_methods.PUT, path, json.dumps(body),
|
|
1375
|
+
params=params, config=config)
|
|
1376
|
+
|
|
1344
1377
|
@required(instance_id=str)
|
|
1345
1378
|
def batch_add_ip(self, instance_id, private_ips=None, secondary_private_ip_address_count=None,
|
|
1346
1379
|
allocate_multi_ipv6_addr=None, config=None):
|
|
@@ -5879,7 +5912,7 @@ class BccClient(bce_base_client.BceBaseClient):
|
|
|
5879
5912
|
return self._send_request(http_methods.POST, path, body=json.dumps(body), params=params, config=config)
|
|
5880
5913
|
|
|
5881
5914
|
def list_instance_no_charge(self, marker=None, max_keys=None, internal_ip=None, keypair_id=None,
|
|
5882
|
-
zone_name=None, client_token=None, config=None):
|
|
5915
|
+
zone_name=None, instance_ids=None, client_token=None, config=None):
|
|
5883
5916
|
"""
|
|
5884
5917
|
Return a list of no charge instances owned by the authenticated user.
|
|
5885
5918
|
|
|
@@ -5907,6 +5940,10 @@ class BccClient(bce_base_client.BceBaseClient):
|
|
|
5907
5940
|
get instance list filtered by name of available zone
|
|
5908
5941
|
:type zone_name: string
|
|
5909
5942
|
|
|
5943
|
+
:param instance_ids:
|
|
5944
|
+
The id of instance.
|
|
5945
|
+
:type instance_ids: string
|
|
5946
|
+
|
|
5910
5947
|
:return:
|
|
5911
5948
|
:rtype baidubce.bce_response.BceResponse
|
|
5912
5949
|
"""
|
|
@@ -5926,6 +5963,8 @@ class BccClient(bce_base_client.BceBaseClient):
|
|
|
5926
5963
|
params['keypairId'] = keypair_id
|
|
5927
5964
|
if zone_name is not None:
|
|
5928
5965
|
params['zoneName'] = zone_name
|
|
5966
|
+
if instance_ids is not None:
|
|
5967
|
+
params['instanceIds'] = instance_ids
|
|
5929
5968
|
return self._send_request(http_methods.GET, path, params=params, config=config)
|
|
5930
5969
|
|
|
5931
5970
|
def cancel_bid_order(self, order_id, client_token=None, config=None):
|
|
@@ -103,7 +103,8 @@ class EndpointClient(BceBaseClient):
|
|
|
103
103
|
path = EndpointClient.path + b'/publicService'
|
|
104
104
|
return self._send_request(http_methods.GET, path, config=config)
|
|
105
105
|
|
|
106
|
-
def create_endpoint(self, vpc_id, subnet_id, name, service, billing,
|
|
106
|
+
def create_endpoint(self, vpc_id, subnet_id, name, service, billing, bandwidth,
|
|
107
|
+
description=None, ip_address=None, tags=None, resource_group_id=None,
|
|
107
108
|
client_token=None, config=None):
|
|
108
109
|
"""
|
|
109
110
|
|
|
@@ -129,6 +130,10 @@ class EndpointClient(BceBaseClient):
|
|
|
129
130
|
order_configuration
|
|
130
131
|
:type billing:Billing
|
|
131
132
|
|
|
133
|
+
:param bandwidth:
|
|
134
|
+
The bandwidth of endpoint.
|
|
135
|
+
:type bandwidth: int
|
|
136
|
+
|
|
132
137
|
:param ip_address:
|
|
133
138
|
ip_address ipv4 address
|
|
134
139
|
:type ip_address: str
|
|
@@ -137,6 +142,14 @@ class EndpointClient(BceBaseClient):
|
|
|
137
142
|
description .
|
|
138
143
|
:type description: string
|
|
139
144
|
|
|
145
|
+
:param tags:
|
|
146
|
+
The list of tags to be bound.
|
|
147
|
+
:type tags: list
|
|
148
|
+
|
|
149
|
+
:param resource_group_id:
|
|
150
|
+
The id of resource group.
|
|
151
|
+
:type resource_group_id: string
|
|
152
|
+
|
|
140
153
|
:param client_token:
|
|
141
154
|
An ASCII string whose length is less than 64.
|
|
142
155
|
The request will be idempotent if clientToken is provided.
|
|
@@ -155,6 +168,7 @@ class EndpointClient(BceBaseClient):
|
|
|
155
168
|
"subnetId": subnet_id,
|
|
156
169
|
"name": name,
|
|
157
170
|
"service": service,
|
|
171
|
+
"bandwidth": bandwidth,
|
|
158
172
|
"billing": {
|
|
159
173
|
"paymentTiming": billing.payment_timing
|
|
160
174
|
}
|
|
@@ -163,6 +177,10 @@ class EndpointClient(BceBaseClient):
|
|
|
163
177
|
body['description'] = description
|
|
164
178
|
if ip_address is not None:
|
|
165
179
|
body['ipAddress'] = ip_address
|
|
180
|
+
if tags is not None:
|
|
181
|
+
body['tags'] = tags
|
|
182
|
+
if resource_group_id is not None:
|
|
183
|
+
body['resourceGroupId'] = resource_group_id
|
|
166
184
|
return self._send_request(http_methods.POST, EndpointClient.path, body=json.dumps(body), params=params,
|
|
167
185
|
config=config)
|
|
168
186
|
|
|
@@ -197,7 +215,7 @@ class EndpointClient(BceBaseClient):
|
|
|
197
215
|
return self._send_request(http_methods.DELETE, path, params=params, config=config)
|
|
198
216
|
|
|
199
217
|
def list_endpoints(self, vpc_id, name=None, ip_address=None, status=None, subnet_id=None, service=None, marker=None,
|
|
200
|
-
|
|
218
|
+
max_keys=None, config=None):
|
|
201
219
|
"""
|
|
202
220
|
|
|
203
221
|
return all endpoint about vpc
|
|
@@ -233,10 +251,10 @@ class EndpointClient(BceBaseClient):
|
|
|
233
251
|
If the marker is not specified, the list result will listing from the first one.
|
|
234
252
|
:type marker: string
|
|
235
253
|
|
|
236
|
-
:param
|
|
254
|
+
:param max_keys:
|
|
237
255
|
The optional parameter to specifies the max number of list result to return.
|
|
238
256
|
The default value is 1000.
|
|
239
|
-
:type
|
|
257
|
+
:type max_keys: int
|
|
240
258
|
|
|
241
259
|
:param config:
|
|
242
260
|
:type config: baidubce.BceClientConfiguration
|
|
@@ -258,8 +276,8 @@ class EndpointClient(BceBaseClient):
|
|
|
258
276
|
|
|
259
277
|
if marker is not None:
|
|
260
278
|
params[b'marker'] = marker
|
|
261
|
-
if
|
|
262
|
-
params[b'maxKeys'] =
|
|
279
|
+
if max_keys is not None:
|
|
280
|
+
params[b'maxKeys'] = max_keys
|
|
263
281
|
|
|
264
282
|
return self._send_request(http_methods.GET, EndpointClient.path, params=params, config=config)
|
|
265
283
|
|
|
@@ -410,7 +428,7 @@ class EndpointClient(BceBaseClient):
|
|
|
410
428
|
}
|
|
411
429
|
|
|
412
430
|
body = {
|
|
413
|
-
|
|
431
|
+
'enterpriseSecurityGroupIds': enterprise_sg_list
|
|
414
432
|
}
|
|
415
433
|
|
|
416
434
|
return self._send_request(http_methods.PUT, path, body=json.dumps(body), params=params,
|
|
@@ -87,7 +87,8 @@ class EtGatewayClient(bce_base_client.BceBaseClient):
|
|
|
87
87
|
vpc_id=(bytes, str),
|
|
88
88
|
speed=(int, long))
|
|
89
89
|
def create_et_gateway(self, name, vpc_id, speed, et_id=None, channel_id=None,
|
|
90
|
-
local_cidrs=None, client_token=None, description=None,
|
|
90
|
+
local_cidrs=None, client_token=None, description=None,
|
|
91
|
+
tags=None, resource_group_id=None, config=None):
|
|
91
92
|
"""
|
|
92
93
|
Create a ET Gateway.
|
|
93
94
|
|
|
@@ -124,6 +125,14 @@ class EtGatewayClient(bce_base_client.BceBaseClient):
|
|
|
124
125
|
the description of ET Gateway
|
|
125
126
|
:type description: string
|
|
126
127
|
|
|
128
|
+
:param tags:
|
|
129
|
+
the list of tag key-value pairs
|
|
130
|
+
:type tags: list
|
|
131
|
+
|
|
132
|
+
:param resource_group_id:
|
|
133
|
+
the id of resource group
|
|
134
|
+
:type resource_group_id: string
|
|
135
|
+
|
|
127
136
|
:type config:
|
|
128
137
|
baidubce.BceClientConfiguration
|
|
129
138
|
:param config:
|
|
@@ -152,11 +161,16 @@ class EtGatewayClient(bce_base_client.BceBaseClient):
|
|
|
152
161
|
body['localCidrs'] = local_cidrs
|
|
153
162
|
if description is not None:
|
|
154
163
|
body['description'] = description
|
|
164
|
+
if tags is not None:
|
|
165
|
+
body['tags'] = tags
|
|
166
|
+
if resource_group_id is not None:
|
|
167
|
+
body['resourceGroupId'] = resource_group_id
|
|
155
168
|
return self._send_request(http_methods.POST, path, body=json.dumps(body), params=params, config=config)
|
|
156
169
|
|
|
157
170
|
@required(et_gateway_id=(bytes, str))
|
|
158
171
|
def update_et_gateway(self, et_gateway_id, name=None, description=None,
|
|
159
|
-
speed=None, local_cidrs=None,
|
|
172
|
+
speed=None, local_cidrs=None, enable_ipv6=None,
|
|
173
|
+
ipv6_local_cidrs=None, client_token=None, config=None):
|
|
160
174
|
"""
|
|
161
175
|
Update a ET Gateway.
|
|
162
176
|
:param et_gateway_id:
|
|
@@ -179,14 +193,18 @@ class EtGatewayClient(bce_base_client.BceBaseClient):
|
|
|
179
193
|
the list of CIDRs
|
|
180
194
|
:type local_cidrs: list
|
|
181
195
|
|
|
196
|
+
:param enable_ipv6:
|
|
197
|
+
whether IPv6 is enabled, 1 for yes, 0 for no
|
|
198
|
+
:type enable_ipv6: int
|
|
199
|
+
|
|
200
|
+
:param ipv6_local_cidrs:
|
|
201
|
+
the list of IPv6 CIDRs
|
|
202
|
+
:type ipv6_local_cidrs: list
|
|
203
|
+
|
|
182
204
|
:param client_token:
|
|
183
205
|
If the clientToken is not specified by the user, a random String
|
|
184
206
|
:type client_token: string
|
|
185
207
|
|
|
186
|
-
:description:
|
|
187
|
-
the description of ET Gateway
|
|
188
|
-
:type description: string
|
|
189
|
-
|
|
190
208
|
:return:
|
|
191
209
|
:rtype baidubce.bce_response.BceResponse
|
|
192
210
|
|
|
@@ -207,6 +225,10 @@ class EtGatewayClient(bce_base_client.BceBaseClient):
|
|
|
207
225
|
body['speed'] = speed
|
|
208
226
|
if local_cidrs is not None:
|
|
209
227
|
body['localCidrs'] = local_cidrs
|
|
228
|
+
if enable_ipv6 is not None:
|
|
229
|
+
body['enableIpv6'] = enable_ipv6
|
|
230
|
+
if ipv6_local_cidrs is not None:
|
|
231
|
+
body['ipv6LocalCidrs'] = ipv6_local_cidrs
|
|
210
232
|
return self._send_request(http_methods.PUT,
|
|
211
233
|
path, body=json.dumps(body),
|
|
212
234
|
params=params, config=config)
|
|
@@ -70,8 +70,7 @@ class HavipClient(bce_base_client.BceBaseClient):
|
|
|
70
70
|
private_ip_address=(bytes, str),
|
|
71
71
|
description=(bytes, str))
|
|
72
72
|
def create_havip(self, name, subnet_id, private_ip_address,
|
|
73
|
-
description="", client_token=None,
|
|
74
|
-
config=None):
|
|
73
|
+
description="", client_token=None, config=None):
|
|
75
74
|
"""
|
|
76
75
|
Create a havip with the specified options.
|
|
77
76
|
|
|
@@ -120,8 +119,7 @@ class HavipClient(bce_base_client.BceBaseClient):
|
|
|
120
119
|
return self._send_request(http_methods.POST, path, body=json.dumps(body), params=params,
|
|
121
120
|
config=config)
|
|
122
121
|
|
|
123
|
-
|
|
124
|
-
def get_havip_detail_list(self, vpc_id=None, config=None):
|
|
122
|
+
def get_havip_detail_list(self, vpc_id=None, marker=None, max_keys=None, config=None):
|
|
125
123
|
"""
|
|
126
124
|
Get the detail information of havip list.
|
|
127
125
|
|
|
@@ -129,6 +127,14 @@ class HavipClient(bce_base_client.BceBaseClient):
|
|
|
129
127
|
the vpc id to which the havip belongs
|
|
130
128
|
:type vpc_id: string
|
|
131
129
|
|
|
130
|
+
:param marker:
|
|
131
|
+
批量获取列表的查询的起始位置,是一个由系统生成的字符串
|
|
132
|
+
:type marker: string
|
|
133
|
+
|
|
134
|
+
:param max_keys:
|
|
135
|
+
每页包含的最大数量,最大数量不超过1000,缺省值为1000
|
|
136
|
+
:type max_keys: int
|
|
137
|
+
|
|
132
138
|
:param config:
|
|
133
139
|
:type config: baidubce.BceClientConfiguration
|
|
134
140
|
|
|
@@ -139,6 +145,10 @@ class HavipClient(bce_base_client.BceBaseClient):
|
|
|
139
145
|
params = {}
|
|
140
146
|
if vpc_id is not None:
|
|
141
147
|
params[b'vpcId'] = vpc_id
|
|
148
|
+
if marker is not None:
|
|
149
|
+
params[b'marker'] = marker
|
|
150
|
+
if max_keys is not None:
|
|
151
|
+
params[b'maxKeys'] = max_keys
|
|
142
152
|
|
|
143
153
|
return self._send_request(http_methods.GET, path, params=params, config=config)
|
|
144
154
|
|
|
@@ -173,9 +183,8 @@ class HavipClient(bce_base_client.BceBaseClient):
|
|
|
173
183
|
@required(name=(bytes, str),
|
|
174
184
|
havip_id=(bytes, str),
|
|
175
185
|
description=(bytes, str))
|
|
176
|
-
def update_havip(self, name, havip_id, description="",
|
|
177
|
-
client_token=None,
|
|
178
|
-
config=None):
|
|
186
|
+
def update_havip(self, name, havip_id, description="",
|
|
187
|
+
client_token=None, config=None):
|
|
179
188
|
"""
|
|
180
189
|
Update a havip with the specified options.
|
|
181
190
|
|
|
@@ -219,10 +228,9 @@ class HavipClient(bce_base_client.BceBaseClient):
|
|
|
219
228
|
params[b'clientToken'] = generate_client_token()
|
|
220
229
|
else:
|
|
221
230
|
params[b'clientToken'] = client_token
|
|
222
|
-
|
|
231
|
+
|
|
223
232
|
body = {
|
|
224
233
|
'name': compat.convert_to_string(name),
|
|
225
|
-
'havip_id': compat.convert_to_string(havip_id),
|
|
226
234
|
'description': compat.convert_to_string(description)
|
|
227
235
|
}
|
|
228
236
|
|
|
@@ -248,25 +256,30 @@ class HavipClient(bce_base_client.BceBaseClient):
|
|
|
248
256
|
|
|
249
257
|
return self._send_request(http_methods.GET, path, params=params, config=config)
|
|
250
258
|
|
|
251
|
-
@required(instance_ids=
|
|
259
|
+
@required(instance_ids=list,
|
|
252
260
|
instance_type=(bytes, str),
|
|
253
261
|
havip_id=(bytes, str))
|
|
254
|
-
def havip_attach_instance(self, instance_ids, instance_type, havip_id,
|
|
262
|
+
def havip_attach_instance(self, instance_ids, instance_type, havip_id, client_token=None, config=None):
|
|
255
263
|
"""
|
|
256
|
-
|
|
264
|
+
Attach instances to havip.
|
|
257
265
|
|
|
258
266
|
:param instance_ids:
|
|
259
267
|
the instance ids of havip binding
|
|
260
268
|
:type instance_ids: list
|
|
261
|
-
|
|
269
|
+
|
|
262
270
|
:param instance_type:
|
|
263
|
-
Binding instance type
|
|
271
|
+
Binding instance type (SERVER or ENI)
|
|
264
272
|
:type instance_type: string
|
|
265
273
|
|
|
266
274
|
:param havip_id:
|
|
267
275
|
The id of the specified havip.
|
|
268
276
|
:type havip_id: string
|
|
269
277
|
|
|
278
|
+
:param client_token:
|
|
279
|
+
If the clientToken is not specified by the user, a random String
|
|
280
|
+
generated by default algorithm will be used.
|
|
281
|
+
:type client_token: string
|
|
282
|
+
|
|
270
283
|
:param config:
|
|
271
284
|
:type config: baidubce.BceClientConfiguration
|
|
272
285
|
|
|
@@ -284,14 +297,13 @@ class HavipClient(bce_base_client.BceBaseClient):
|
|
|
284
297
|
params[b'clientToken'] = client_token
|
|
285
298
|
|
|
286
299
|
body = {
|
|
287
|
-
'instanceIds':
|
|
288
|
-
'instanceType': compat.convert_to_string(instance_type)
|
|
289
|
-
'haVipId': compat.convert_to_string(havip_id),
|
|
300
|
+
'instanceIds': instance_ids,
|
|
301
|
+
'instanceType': compat.convert_to_string(instance_type)
|
|
290
302
|
}
|
|
291
303
|
|
|
292
|
-
return self._send_request(http_methods.
|
|
304
|
+
return self._send_request(http_methods.PUT, path, body=json.dumps(body), params=params, config=config)
|
|
293
305
|
|
|
294
|
-
@required(instance_ids=
|
|
306
|
+
@required(instance_ids=list,
|
|
295
307
|
instance_type=(bytes, str),
|
|
296
308
|
havip_id=(bytes, str))
|
|
297
309
|
def havip_detach_instance(self, instance_ids, instance_type, havip_id, client_token=None, config=None):
|
|
@@ -301,9 +313,9 @@ class HavipClient(bce_base_client.BceBaseClient):
|
|
|
301
313
|
:param instance_ids:
|
|
302
314
|
the instance ids of havip binding
|
|
303
315
|
:type instance_ids: list
|
|
304
|
-
|
|
316
|
+
|
|
305
317
|
:param instance_type:
|
|
306
|
-
Binding instance type
|
|
318
|
+
Binding instance type (SERVER or ENI)
|
|
307
319
|
:type instance_type: string
|
|
308
320
|
|
|
309
321
|
:param havip_id:
|
|
@@ -329,19 +341,17 @@ class HavipClient(bce_base_client.BceBaseClient):
|
|
|
329
341
|
params[b'clientToken'] = generate_client_token()
|
|
330
342
|
else:
|
|
331
343
|
params[b'clientToken'] = client_token
|
|
332
|
-
|
|
344
|
+
|
|
333
345
|
body = {
|
|
334
|
-
'
|
|
335
|
-
'
|
|
336
|
-
'havip_id': compat.convert_to_string(havip_id)
|
|
346
|
+
'instanceIds': instance_ids,
|
|
347
|
+
'instanceType': compat.convert_to_string(instance_type)
|
|
337
348
|
}
|
|
338
349
|
|
|
339
|
-
return self._send_request(http_methods.
|
|
350
|
+
return self._send_request(http_methods.PUT, path, body=json.dumps(body), params=params, config=config)
|
|
340
351
|
|
|
341
352
|
@required(havip_id=(bytes, str),
|
|
342
353
|
public_ip_address=(bytes, str))
|
|
343
|
-
def havip_bind_public_ip(self, havip_id, public_ip_address,
|
|
344
|
-
client_token=None, config=None):
|
|
354
|
+
def havip_bind_public_ip(self, havip_id, public_ip_address, client_token=None, config=None):
|
|
345
355
|
"""
|
|
346
356
|
havip bind public_ip.
|
|
347
357
|
|
|
@@ -350,12 +360,8 @@ class HavipClient(bce_base_client.BceBaseClient):
|
|
|
350
360
|
:type havip_id: string
|
|
351
361
|
|
|
352
362
|
:param public_ip_address:
|
|
353
|
-
The
|
|
354
|
-
:type
|
|
355
|
-
|
|
356
|
-
:param version:
|
|
357
|
-
API version.
|
|
358
|
-
:type version: string
|
|
363
|
+
The public IP address to bind.
|
|
364
|
+
:type public_ip_address: string
|
|
359
365
|
|
|
360
366
|
:param client_token:
|
|
361
367
|
If the clientToken is not specified by the user, a random String
|
|
@@ -377,16 +383,15 @@ class HavipClient(bce_base_client.BceBaseClient):
|
|
|
377
383
|
params[b'clientToken'] = generate_client_token()
|
|
378
384
|
else:
|
|
379
385
|
params[b'clientToken'] = client_token
|
|
380
|
-
|
|
386
|
+
|
|
381
387
|
body = {
|
|
382
|
-
'
|
|
383
|
-
'publicIpAddress': compat.convert_to_string(public_ip_address),
|
|
388
|
+
'publicIpAddress': compat.convert_to_string(public_ip_address)
|
|
384
389
|
}
|
|
385
390
|
|
|
386
391
|
return self._send_request(http_methods.PUT, path, body=json.dumps(body), params=params, config=config)
|
|
387
392
|
|
|
388
393
|
@required(havip_id=(bytes, str))
|
|
389
|
-
def havip_unbind_public_ip(self, havip_id,
|
|
394
|
+
def havip_unbind_public_ip(self, havip_id, client_token=None, config=None):
|
|
390
395
|
"""
|
|
391
396
|
havip unbind public_ip.
|
|
392
397
|
|
|
@@ -394,10 +399,6 @@ class HavipClient(bce_base_client.BceBaseClient):
|
|
|
394
399
|
The id of the specified havip.
|
|
395
400
|
:type havip_id: string
|
|
396
401
|
|
|
397
|
-
:param version:
|
|
398
|
-
API version.
|
|
399
|
-
:type version: string
|
|
400
|
-
|
|
401
402
|
:param client_token:
|
|
402
403
|
If the clientToken is not specified by the user, a random String
|
|
403
404
|
generated by default algorithm will be used.
|
|
@@ -418,12 +419,8 @@ class HavipClient(bce_base_client.BceBaseClient):
|
|
|
418
419
|
params[b'clientToken'] = generate_client_token()
|
|
419
420
|
else:
|
|
420
421
|
params[b'clientToken'] = client_token
|
|
421
|
-
|
|
422
|
-
body = {
|
|
423
|
-
'havip_id': compat.convert_to_string(havip_id),
|
|
424
|
-
}
|
|
425
422
|
|
|
426
|
-
return self._send_request(http_methods.PUT, path,
|
|
423
|
+
return self._send_request(http_methods.PUT, path, params=params, config=config)
|
|
427
424
|
|
|
428
425
|
def generate_client_token_by_uuid():
|
|
429
426
|
"""
|
|
@@ -78,8 +78,7 @@ class ProbeClient(bce_base_client.BceBaseClient):
|
|
|
78
78
|
subnet_id=(bytes, str),
|
|
79
79
|
protocol=(bytes, str),
|
|
80
80
|
frequency=int,
|
|
81
|
-
|
|
82
|
-
source_ip_num=int)
|
|
81
|
+
dst_ip=(bytes, str))
|
|
83
82
|
def create_probe(self, name, vpc_id, subnet_id, protocol,
|
|
84
83
|
frequency, dst_ip, dst_port=None,
|
|
85
84
|
source_ips=None, source_ip_num=None,
|
|
@@ -227,6 +226,7 @@ class ProbeClient(bce_base_client.BceBaseClient):
|
|
|
227
226
|
path = utils.append_uri(self.version, b'probe', probe_id)
|
|
228
227
|
return self._send_request(http_methods.GET, path, config=config)
|
|
229
228
|
|
|
229
|
+
@required(probe_id=(bytes, str))
|
|
230
230
|
def update_probe(self, probe_id, name=None, description=None,
|
|
231
231
|
dst_ip=None, dst_port=None, frequency=None,
|
|
232
232
|
payload=None, client_token=None, config=None):
|
|
@@ -232,7 +232,7 @@ class PeerConnClient(bce_base_client.BceBaseClient):
|
|
|
232
232
|
path, params=params, config=config)
|
|
233
233
|
|
|
234
234
|
@required(peer_conn_id=(bytes, str))
|
|
235
|
-
def get_peerconn(self, peer_conn_id, config=None):
|
|
235
|
+
def get_peerconn(self, peer_conn_id, role=None, config=None):
|
|
236
236
|
"""
|
|
237
237
|
Get the detail information of specified peer connection.
|
|
238
238
|
|
|
@@ -240,6 +240,12 @@ class PeerConnClient(bce_base_client.BceBaseClient):
|
|
|
240
240
|
The id of specified peer connection.
|
|
241
241
|
:type peer_conn_id: string
|
|
242
242
|
|
|
243
|
+
:param role:
|
|
244
|
+
The role of peer connection to query.
|
|
245
|
+
'initiator': for VPC where peer connection is initiated.
|
|
246
|
+
'acceptor': for VPC where peer connection is accepted.
|
|
247
|
+
:type role: string
|
|
248
|
+
|
|
243
249
|
:param config:
|
|
244
250
|
:type config: baidubce.BceClientConfiguration
|
|
245
251
|
|
|
@@ -247,7 +253,10 @@ class PeerConnClient(bce_base_client.BceBaseClient):
|
|
|
247
253
|
:rtype baidubce.bce_response.BceResponse
|
|
248
254
|
"""
|
|
249
255
|
path = utils.append_uri(self._get_path(), peer_conn_id)
|
|
250
|
-
|
|
256
|
+
params = None
|
|
257
|
+
if role is not None:
|
|
258
|
+
params = {b'role': role}
|
|
259
|
+
return self._send_request(http_methods.GET, path, params=params, config=config)
|
|
251
260
|
|
|
252
261
|
@required(peer_conn_id=(bytes, str), local_if_id=(bytes, str))
|
|
253
262
|
def update_peerconn(self, peer_conn_id, local_if_id, description=None,
|
|
@@ -593,6 +602,41 @@ class PeerConnClient(bce_base_client.BceBaseClient):
|
|
|
593
602
|
return self._send_request(http_methods.PUT,
|
|
594
603
|
path, body=json.dumps(body), params=params, config=config)
|
|
595
604
|
|
|
605
|
+
@required(peer_conn_id=(bytes, str))
|
|
606
|
+
def refund_peerconn(self, peer_conn_id, client_token=None, config=None):
|
|
607
|
+
"""
|
|
608
|
+
Refund prepaid peer connection (unsubscribe).
|
|
609
|
+
Only prepaid peer connections can be refunded.
|
|
610
|
+
For peer connections between different accounts,
|
|
611
|
+
only the initiator can perform this operation.
|
|
612
|
+
|
|
613
|
+
:param peer_conn_id:
|
|
614
|
+
The id of specified peer connection.
|
|
615
|
+
:type peer_conn_id: string
|
|
616
|
+
|
|
617
|
+
:param client_token:
|
|
618
|
+
An ASCII string whose length is less than 64.
|
|
619
|
+
The request will be idempotent if clientToken is provided.
|
|
620
|
+
If the clientToken is not specified by user,
|
|
621
|
+
a random String generated by default algorithm will be used.
|
|
622
|
+
:type client_token: string
|
|
623
|
+
|
|
624
|
+
:param config:
|
|
625
|
+
:type config: baidubce.BceClientConfiguration
|
|
626
|
+
|
|
627
|
+
:return:
|
|
628
|
+
:rtype baidubce.bce_response.BceResponse
|
|
629
|
+
"""
|
|
630
|
+
path = utils.append_uri(self._get_path(), peer_conn_id)
|
|
631
|
+
if client_token is None:
|
|
632
|
+
client_token = generate_client_token()
|
|
633
|
+
params = {
|
|
634
|
+
b'refund': None,
|
|
635
|
+
b'clientToken': client_token
|
|
636
|
+
}
|
|
637
|
+
return self._send_request(http_methods.PUT,
|
|
638
|
+
path, params=params, config=config)
|
|
639
|
+
|
|
596
640
|
@staticmethod
|
|
597
641
|
def _get_path(prefix=None):
|
|
598
642
|
"""
|
|
@@ -34,7 +34,7 @@ _logger = logging.getLogger(__name__)
|
|
|
34
34
|
|
|
35
35
|
class TemplateClient(bce_base_client.BceBaseClient):
|
|
36
36
|
"""
|
|
37
|
-
|
|
37
|
+
Template base sdk client
|
|
38
38
|
"""
|
|
39
39
|
|
|
40
40
|
prefix = b'/v1'
|
|
@@ -273,10 +273,11 @@ class TemplateClient(bce_base_client.BceBaseClient):
|
|
|
273
273
|
params[b'clientToken'] = client_token
|
|
274
274
|
params[b'modifyAttribute'] = None
|
|
275
275
|
|
|
276
|
-
body = {
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
276
|
+
body = {}
|
|
277
|
+
if name is not None:
|
|
278
|
+
body['name'] = name
|
|
279
|
+
if description is not None:
|
|
280
|
+
body['description'] = description
|
|
280
281
|
|
|
281
282
|
return self._send_request(http_methods.PUT, path, body=json.dumps(body), params=params, config=config)
|
|
282
283
|
|
|
@@ -342,13 +343,13 @@ class TemplateClient(bce_base_client.BceBaseClient):
|
|
|
342
343
|
params = {"maxKeys": 1000}
|
|
343
344
|
|
|
344
345
|
if ip_version is not None:
|
|
345
|
-
params[b'
|
|
346
|
+
params[b'ipVersion'] = ip_version
|
|
346
347
|
if marker is not None:
|
|
347
348
|
params[b'marker'] = marker
|
|
348
349
|
if max_keys is not None:
|
|
349
350
|
params[b'maxKeys'] = max_keys
|
|
350
351
|
return self._send_request(http_methods.GET, path, params=params, config=config)
|
|
351
|
-
|
|
352
|
+
|
|
352
353
|
@required(ip_set_id=(bytes, str))
|
|
353
354
|
def get_ip_set_detail(self, ip_set_id, config=None):
|
|
354
355
|
"""
|
|
@@ -413,7 +414,7 @@ class TemplateClient(bce_base_client.BceBaseClient):
|
|
|
413
414
|
"ipVersion": ip_version,
|
|
414
415
|
"ipSetIds": ip_set_ids
|
|
415
416
|
}
|
|
416
|
-
if description is None:
|
|
417
|
+
if description is not None:
|
|
417
418
|
body["description"] = description
|
|
418
419
|
|
|
419
420
|
return self._send_request(http_methods.POST, path, body=json.dumps(body), params=params, config=config)
|
|
@@ -601,7 +602,7 @@ class TemplateClient(bce_base_client.BceBaseClient):
|
|
|
601
602
|
params = {"maxKeys": 1000}
|
|
602
603
|
|
|
603
604
|
if ip_version is not None:
|
|
604
|
-
params[b'
|
|
605
|
+
params[b'ipVersion'] = ip_version
|
|
605
606
|
if marker is not None:
|
|
606
607
|
params[b'marker'] = marker
|
|
607
608
|
if max_keys is not None:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
baidubce/__init__.py,sha256=
|
|
1
|
+
baidubce/__init__.py,sha256=uWrwCA087F_BwaQO5jevHnihPBVdD-qNdyOMmXbPeQQ,813
|
|
2
2
|
baidubce/bce_base_client.py,sha256=7gjkRy_YlTTb6TXHYHyZRYMjdVO7FTtHMdwXx8bPgsE,3428
|
|
3
3
|
baidubce/bce_client_configuration.py,sha256=i9z5wVXaRSlJxE0LD1odexza35KQyFy7m1Az5XclD_I,3252
|
|
4
|
-
baidubce/bce_response.py,sha256=
|
|
4
|
+
baidubce/bce_response.py,sha256=kcebmFaCG6twa_GSchLGS5CQ5C8B9vV_4WszpbSqYtY,3326
|
|
5
5
|
baidubce/compat.py,sha256=zv1_a09hkDyczAwizUty7puUzb2SvKPGcoGeNpDOUgA,3467
|
|
6
6
|
baidubce/exception.py,sha256=p6JSeIl2z6iaO4spwjEZmRHWpBSkSGAtUQ1Ch43O6WU,1691
|
|
7
7
|
baidubce/protocol.py,sha256=0DihT2fDN2YI_TBJob9pxt0deTwa9DS0gxbAChBn1Hw,1151
|
|
@@ -12,7 +12,7 @@ baidubce/auth/bce_credentials.py,sha256=thRajmOSShtI5z0VTGHj9FuZvWj65noolDQCanj_
|
|
|
12
12
|
baidubce/auth/bce_v1_signer.py,sha256=QjK4AYvxNum9jOhHcqzZzHFEN0PWyFiyBvGUop1wMQ8,5140
|
|
13
13
|
baidubce/http/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
14
|
baidubce/http/bce_http_client.py,sha256=aeUg2dKFdBv2-P78oWuaaTec-wiTRM6xb3INKsGClKs,12046
|
|
15
|
-
baidubce/http/handler.py,sha256=
|
|
15
|
+
baidubce/http/handler.py,sha256=JKvGfMLaewyFibSAlw8kT8Ok8Xt2VvNcT_Y2UmWc42M,2994
|
|
16
16
|
baidubce/http/http_content_types.py,sha256=tHTGDR9nK5beD9HmJ4Iwj42fc9avsMpJELbb6UdKtkQ,722
|
|
17
17
|
baidubce/http/http_headers.py,sha256=AZXDY9pU70z24Ky7__AJWzCVdtPl7Blu1Xv-Zp4IXAY,3433
|
|
18
18
|
baidubce/http/http_methods.py,sha256=Hn-A2fKoZiqmrtWVlHhk1cGxEoGDrbLfNykZuo1zDZc,782
|
|
@@ -51,7 +51,7 @@ baidubce/services/bbc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
|
|
|
51
51
|
baidubce/services/bbc/bbc_client.py,sha256=6x2fWmjyKSZ02WvsmQ1pryE0c_mtXHCjI0Ev80MfzbY,38951
|
|
52
52
|
baidubce/services/bbc/bbc_model.py,sha256=Dy80LZ4ro_iS3UejJ_CL9kI7OyMSBoDitTE4J1XAC_g,1790
|
|
53
53
|
baidubce/services/bcc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
54
|
-
baidubce/services/bcc/bcc_client.py,sha256=
|
|
54
|
+
baidubce/services/bcc/bcc_client.py,sha256=ZRLLinI9_e1TRrvaSe8me2N9ZEkML8IexbVweFYfrNQ,310101
|
|
55
55
|
baidubce/services/bcc/bcc_model.py,sha256=xKYC4Z-gxWjFhe8b1AmMBEN_wYhnwcqAmer29ysS17k,6788
|
|
56
56
|
baidubce/services/bcc/fpga_card_type.py,sha256=n6goqnapIgAC9_sciA_2he5HFqPRbRv109qitO7qpd8,948
|
|
57
57
|
baidubce/services/bcc/gpu_card_type.py,sha256=HEfMzne-UC5F295JPrPUu7V9F5g-hbXF2TNBontEFes,1054
|
|
@@ -119,7 +119,7 @@ baidubce/services/eip/eip_group_model.py,sha256=9PX4E6I5n3qGDbukBAPi8AAlPZEiTVzU
|
|
|
119
119
|
baidubce/services/eip/eip_tp_client.py,sha256=vzkmaSto0f6-GXUCI3cVNkKERg88O5Hj5X-VuEBZNl0,11060
|
|
120
120
|
baidubce/services/eip/model.py,sha256=tIG5lOJ_LsJqZwyk8L42wNdW0m5h3SHMgauk4cb1Lh8,1769
|
|
121
121
|
baidubce/services/endpoint/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
122
|
-
baidubce/services/endpoint/endpoint_client.py,sha256=
|
|
122
|
+
baidubce/services/endpoint/endpoint_client.py,sha256=VwKa32uSdfBgXOA_bRAYmy52azikVJ6hZlDzcErlTS8,13351
|
|
123
123
|
baidubce/services/endpoint/model.py,sha256=Whfo_jYAV8VYPHQ65BFcPycxbjEwsw-PGOdB4I9qebI,1650
|
|
124
124
|
baidubce/services/eni/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
125
125
|
baidubce/services/eni/eni_client.py,sha256=OG6Tf3hF1-eXAQmB2go9EovymmdSJf24qjmTige2mjU,26311
|
|
@@ -131,8 +131,8 @@ baidubce/services/et/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
|
|
|
131
131
|
baidubce/services/et/et_client.py,sha256=yTKYQ7VU80EeRyuYhOqg5b793pF_v24ri6LDytF5-6Y,40322
|
|
132
132
|
baidubce/services/et/model.py,sha256=H0IkBVtMWYldFcLoXb_pFbrGQWGD4ZPthdfI443VQcc,975
|
|
133
133
|
baidubce/services/etGateway/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
134
|
-
baidubce/services/etGateway/et_gateway_client.py,sha256=
|
|
135
|
-
baidubce/services/havip/havip_client.py,sha256=
|
|
134
|
+
baidubce/services/etGateway/et_gateway_client.py,sha256=_h_KPxiWNSiLNoG6HZHzrPHGkwviP1NvqGEvUCt4Olw,15744
|
|
135
|
+
baidubce/services/havip/havip_client.py,sha256=Tg3y7Jg_EGifZtYra7coaW4Ctwgkn0zTgHol7_i8iHo,13769
|
|
136
136
|
baidubce/services/iam/__init__.py,sha256=IdeEXqrySJQoefAcQat0zHPwkgUEJ3UsmJmx-GZMPTA,668
|
|
137
137
|
baidubce/services/iam/iam_client.py,sha256=xKjT0gdkESt5FtNFTV2PVfWybNpf3OvjWrf13pNCCBc,24555
|
|
138
138
|
baidubce/services/infinite/__init__.py,sha256=xGRtNmAm8oRwAelSjXn1FA60eWBECpnEIA1sCad232c,655
|
|
@@ -164,7 +164,7 @@ baidubce/services/oos/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
|
|
|
164
164
|
baidubce/services/oos/oos_client.py,sha256=8dRE6Ogu1fw5eVotodGfzyslK3Dvyin-K42hXMgaOnk,10214
|
|
165
165
|
baidubce/services/oos/oos_model.py,sha256=0L2jQicNtpVZFN-m3VgKQKpsSAW4qNa4goGPlDe3BIQ,2869
|
|
166
166
|
baidubce/services/probe/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
167
|
-
baidubce/services/probe/probe_client.py,sha256=
|
|
167
|
+
baidubce/services/probe/probe_client.py,sha256=f0creDGLQd-HQyvzhPPFExdKHb1sddclSSPxWKv7MQE,11007
|
|
168
168
|
baidubce/services/rds/__init__.py,sha256=LTmeMxNJfBBvWTHtuE9tJBqaUGCeJ3MVvhbG3seEd-A,707
|
|
169
169
|
baidubce/services/rds/rds_client.py,sha256=FXaUbXpNXvQow_wJXJfdeYGdK17DNVDvBEPXjt-yANU,101932
|
|
170
170
|
baidubce/services/rds/rds_model.py,sha256=z97be22UDmn03gV4T74yuG2MOOyvlHiu-TPt0Onp-0o,8290
|
|
@@ -193,15 +193,15 @@ baidubce/services/vpc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
|
|
|
193
193
|
baidubce/services/vpc/acl_client.py,sha256=3YaX_5YXwdhp8BHB5hlMXTlmVnbG_GuiQstV6sog27w,11902
|
|
194
194
|
baidubce/services/vpc/nat_client.py,sha256=P_du5Iy9I0CSvnR99Wl6EYdjtKjBkuJCqEF72cgBU6w,42576
|
|
195
195
|
baidubce/services/vpc/nat_model.py,sha256=mpZ6utQ5YSvLgQC8tfCJVDWoZYvI2vpkQtJOpHcB8WE,1688
|
|
196
|
-
baidubce/services/vpc/peerconn_client.py,sha256=
|
|
196
|
+
baidubce/services/vpc/peerconn_client.py,sha256=OhNBrvoojUNGrBIQlMB5ZwCAcvAi74UCf0wrOLx8MsE,23917
|
|
197
197
|
baidubce/services/vpc/peerconn_model.py,sha256=oPNRbrfAKhkRIZcZSu2p2Y6UCc49otD7KDQBiPBSuTk,1686
|
|
198
|
-
baidubce/services/vpc/template_client.py,sha256=
|
|
198
|
+
baidubce/services/vpc/template_client.py,sha256=9Wl1YcOiiE39BDwXJHR3XsV3-dklkMQ6D2s2L7Hdo18,21984
|
|
199
199
|
baidubce/services/vpc/template_model.py,sha256=lCvqmYfJx1JV-OPioWDnu2yjdRtPanHEtODscbNpjOo,1297
|
|
200
200
|
baidubce/services/vpc/vpc_client.py,sha256=hTh_weKp7DzGkYxq-cfHPlzZp4v6NWgIPlrlXvXQU34,14704
|
|
201
201
|
baidubce/services/vpn/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
202
202
|
baidubce/services/vpn/vpn_client.py,sha256=9OMhSPDVnSkLlJets2LbdTY7_2qqW4cB0_4a8kAxyhk,31571
|
|
203
203
|
baidubce/services/vpn/vpn_model.py,sha256=C9rEBYyFIDjrqvqJG4WEin6qVzEIvbhPvT5KwDYm1qA,3365
|
|
204
|
-
bce_python_sdk-0.9.
|
|
205
|
-
bce_python_sdk-0.9.
|
|
206
|
-
bce_python_sdk-0.9.
|
|
207
|
-
bce_python_sdk-0.9.
|
|
204
|
+
bce_python_sdk-0.9.68.dist-info/METADATA,sha256=xDttQL6oPaYyKwibdwQpfqO_ytS7QdJc4oaU4dc3NeY,449
|
|
205
|
+
bce_python_sdk-0.9.68.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
206
|
+
bce_python_sdk-0.9.68.dist-info/top_level.txt,sha256=Oh6eo_-T_AuEDpIaR54biUUPThxsoQiYMVHLBTaweQs,9
|
|
207
|
+
bce_python_sdk-0.9.68.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|