bce-python-sdk 0.9.52__py3-none-any.whl → 0.9.54__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 CHANGED
@@ -18,7 +18,7 @@ from builtins import bytes
18
18
  from . import protocol
19
19
 
20
20
 
21
- SDK_VERSION = b'0.9.52'
21
+ SDK_VERSION = b'0.9.54'
22
22
  DEFAULT_SERVICE_DOMAIN = b'bcebos.com'
23
23
  URL_PREFIX = b'/v1'
24
24
  DEFAULT_ENCODING = 'UTF-8'
@@ -3997,7 +3997,7 @@ class BccClient(bce_base_client.BceBaseClient):
3997
3997
  user_data=None, spec_id=None, deletion_protection=None, is_open_hosteye=None,
3998
3998
  hosteye_type=None, res_group_id=None, enable_ht=None, data_partition_type=None,
3999
3999
  root_partition_type=None, file_systems=None, disable_root_disk_serial=None,
4000
- internal_ips=None, network_purchase_type=None):
4000
+ internal_ips=None, network_purchase_type=None, is_keep_image_login=None):
4001
4001
  """
4002
4002
  Create a bcc Instance with the specified options.
4003
4003
  You must fill the field of clientToken,which is especially for keeping idempotent.
@@ -4381,6 +4381,8 @@ class BccClient(bce_base_client.BceBaseClient):
4381
4381
  body['internalIps'] = internal_ips
4382
4382
  if network_purchase_type is not None:
4383
4383
  body['networkPurchaseType'] = network_purchase_type
4384
+ if is_keep_image_login is not None:
4385
+ body['keepImageLogin'] = is_keep_image_login
4384
4386
 
4385
4387
  return self._send_request(http_methods.POST, path, json.dumps(body),
4386
4388
  params=params, config=config)
@@ -80,7 +80,7 @@ class EipGroupClient(bce_base_client.BceBaseClient):
80
80
  bandwidth_in_mbps=int)
81
81
  def create_eip_group(self, eip_count, bandwidth_in_mbps,
82
82
  name=None, client_token=None,
83
- billing=None, route_type=None,
83
+ billing=None, route_type=None, idc=None,
84
84
  config=None):
85
85
  """
86
86
  Create a shared bandwidth EIP group with specified options.
@@ -136,6 +136,8 @@ class EipGroupClient(bce_base_client.BceBaseClient):
136
136
  body['routeType'] = route_type
137
137
  if name is not None:
138
138
  body['name'] = name
139
+ if idc is not None:
140
+ body['idc'] = idc
139
141
  return self._send_request(http_methods.POST,
140
142
  path, body=json.dumps(body),
141
143
  params=params, config=config)
@@ -70,7 +70,7 @@ class SubnetClient(bce_base_client.BceBaseClient):
70
70
  cidr=(bytes, str),
71
71
  vpc_id=(bytes, str))
72
72
  def create_subnet(self, name, zone_name, cidr, vpc_id, subnet_type=None, description=None,
73
- client_token=None, enable_ipv6=None, vpcSecondaryCidr=None, config=None, tags=None):
73
+ client_token=None, enable_ipv6=None, vpc_secondary_cidr=None, config=None, tags=None):
74
74
  """
75
75
  Create a subnet with the specified options.
76
76
 
@@ -151,8 +151,8 @@ class SubnetClient(bce_base_client.BceBaseClient):
151
151
  if enable_ipv6 is not None:
152
152
  body['enableIpv6'] = enable_ipv6
153
153
 
154
- if vpcSecondaryCidr is not None:
155
- body['secondaryCidr'] = compat.convert_to_string(vpcSecondaryCidr)
154
+ if vpc_secondary_cidr is not None:
155
+ body['vpcSecondaryCidr'] = compat.convert_to_string(vpc_secondary_cidr)
156
156
 
157
157
  return self._send_request(http_methods.POST, path, body=json.dumps(body), params=params,
158
158
  config=config)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bce-python-sdk
3
- Version: 0.9.52
3
+ Version: 0.9.54
4
4
  Summary: BCE SDK for python
5
5
  Home-page: http://bce.baidu.com
6
6
  Author:
@@ -1,4 +1,4 @@
1
- baidubce/__init__.py,sha256=8KXjhcA4_-_o0jlqndE6RSKPxaRode9MOeq3upUqFZA,813
1
+ baidubce/__init__.py,sha256=xS7Ij_m21sgE7PS81vftar4RQGBIJITl63YtsA-m21I,813
2
2
  baidubce/bce_base_client.py,sha256=7gjkRy_YlTTb6TXHYHyZRYMjdVO7FTtHMdwXx8bPgsE,3428
3
3
  baidubce/bce_client_configuration.py,sha256=i9z5wVXaRSlJxE0LD1odexza35KQyFy7m1Az5XclD_I,3252
4
4
  baidubce/bce_response.py,sha256=gOj48U6iurYJsChzFdrB7Rj3RpkU-fUdhtftrIj9o8U,1985
@@ -49,7 +49,7 @@ baidubce/services/bbc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
49
49
  baidubce/services/bbc/bbc_client.py,sha256=6x2fWmjyKSZ02WvsmQ1pryE0c_mtXHCjI0Ev80MfzbY,38951
50
50
  baidubce/services/bbc/bbc_model.py,sha256=Dy80LZ4ro_iS3UejJ_CL9kI7OyMSBoDitTE4J1XAC_g,1790
51
51
  baidubce/services/bcc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
52
- baidubce/services/bcc/bcc_client.py,sha256=tXQajfvAxOqJwb6dLR2NJ8Wq1SD9dfn38hfIdpSuHx0,295209
52
+ baidubce/services/bcc/bcc_client.py,sha256=BsNHcdC9mm5QLxLdXU_6g2h2PlBlnZNkfb1OY106O4s,295336
53
53
  baidubce/services/bcc/bcc_model.py,sha256=DLdpyU2x917zcyODd7OiyeDigkUTw8XxQvAdCCL9ur4,6647
54
54
  baidubce/services/bcc/fpga_card_type.py,sha256=n6goqnapIgAC9_sciA_2he5HFqPRbRv109qitO7qpd8,948
55
55
  baidubce/services/bcc/gpu_card_type.py,sha256=HEfMzne-UC5F295JPrPUu7V9F5g-hbXF2TNBontEFes,1054
@@ -109,7 +109,7 @@ baidubce/services/dumap/dumap_client.py,sha256=1hofadH3WIMbAJZrIld_blz0enc5kSnVH
109
109
  baidubce/services/eip/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
110
110
  baidubce/services/eip/eip_bp_client.py,sha256=0saz0xt3itBzmW4e78gXH0jDIllEzEJXypDRqMXYjjk,13055
111
111
  baidubce/services/eip/eip_client.py,sha256=ZBTkdk4A8HdCB3SEWn5xycIR9Yi177PG3l5jVRrwVrU,24252
112
- baidubce/services/eip/eip_group_client.py,sha256=Q-Acr8G7zyESeNKq2r-6ClbazyyP8WTR1SeBar7mAus,19075
112
+ baidubce/services/eip/eip_group_client.py,sha256=Hz2JaM-O051TV-Aff1T9szcdPPJ31dnYMs3LL3RQ0r8,19143
113
113
  baidubce/services/eip/eip_group_model.py,sha256=9PX4E6I5n3qGDbukBAPi8AAlPZEiTVzUregSqYvzt9c,1914
114
114
  baidubce/services/eip/eip_tp_client.py,sha256=JtYHW8GrCH7Jxr7WK-ZdCPJsGBR5e-moBVo0k8EMtls,8798
115
115
  baidubce/services/eip/model.py,sha256=tIG5lOJ_LsJqZwyk8L42wNdW0m5h3SHMgauk4cb1Lh8,1769
@@ -175,7 +175,7 @@ baidubce/services/sms/sms_client.py,sha256=Dgdrlz8fQDp5CRTOyoZc8Kc8Hak4Pn090ZRV_
175
175
  baidubce/services/sts/__init__.py,sha256=EZmfLCCKOijC7YePDGTzWy9Qzn9OVh5et5klAffza_g,669
176
176
  baidubce/services/sts/sts_client.py,sha256=kyJZPQTx48aCeeQqNZsSgd3TqSNk0hgMILG_HuF-BGs,3687
177
177
  baidubce/services/subnet/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
178
- baidubce/services/subnet/subnet_client.py,sha256=Ix6dca-USCTXbiCyTFKTZhFHNSSmaYFPtgV14kyaAp8,15709
178
+ baidubce/services/subnet/subnet_client.py,sha256=R8vOixD2ycxwlNm_e_ZJKtZ0ZyEtd3VlS0iyVNz1Q4A,15718
179
179
  baidubce/services/tsdb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
180
180
  baidubce/services/tsdb/tsdb_admin_client.py,sha256=Gs4ltGvtm17jhc02xmVTNLghj6iQc8SyTVNiGTYSVXI,4845
181
181
  baidubce/services/tsdb/tsdb_client.py,sha256=Meg0mko2E5KgkZCd8vJWH7NAoMGWst3XqlxeiGIYZK4,9337
@@ -196,7 +196,7 @@ baidubce/services/vpc/vpc_client.py,sha256=Cdg009gZdI1gPgGy08-kIOxT3_VvuQoPqI_82
196
196
  baidubce/services/vpn/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
197
197
  baidubce/services/vpn/vpn_client.py,sha256=rrnQElD-LTttsqMbbIHoHK0Jdc7FrVVTZIdu-0Zthr8,31352
198
198
  baidubce/services/vpn/vpn_model.py,sha256=C9rEBYyFIDjrqvqJG4WEin6qVzEIvbhPvT5KwDYm1qA,3365
199
- bce_python_sdk-0.9.52.dist-info/METADATA,sha256=EHCd7-XMepIF-31GaI0CkBamzuo6HnQiU2kD-SwhaQQ,416
200
- bce_python_sdk-0.9.52.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
201
- bce_python_sdk-0.9.52.dist-info/top_level.txt,sha256=Oh6eo_-T_AuEDpIaR54biUUPThxsoQiYMVHLBTaweQs,9
202
- bce_python_sdk-0.9.52.dist-info/RECORD,,
199
+ bce_python_sdk-0.9.54.dist-info/METADATA,sha256=v5fGEhUNXqXLR5iMwuB4nRLiiIu4kEtQ_xBEXp8CIvI,416
200
+ bce_python_sdk-0.9.54.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
201
+ bce_python_sdk-0.9.54.dist-info/top_level.txt,sha256=Oh6eo_-T_AuEDpIaR54biUUPThxsoQiYMVHLBTaweQs,9
202
+ bce_python_sdk-0.9.54.dist-info/RECORD,,