bce-python-sdk 0.9.46__tar.gz → 0.9.49__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.
Files changed (185) hide show
  1. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/PKG-INFO +1 -1
  2. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/__init__.py +1 -1
  3. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bcc/bcc_client.py +79 -3
  4. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bos/bos_client.py +199 -1
  5. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/subnet/subnet_client.py +15 -1
  6. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/vpc/vpc_client.py +31 -2
  7. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/bce_python_sdk.egg-info/PKG-INFO +1 -1
  8. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/README.txt +0 -0
  9. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/auth/__init__.py +0 -0
  10. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/auth/bce_credentials.py +0 -0
  11. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/auth/bce_v1_signer.py +0 -0
  12. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/bce_base_client.py +0 -0
  13. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/bce_client_configuration.py +0 -0
  14. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/bce_response.py +0 -0
  15. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/compat.py +0 -0
  16. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/exception.py +0 -0
  17. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/http/__init__.py +0 -0
  18. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/http/bce_http_client.py +0 -0
  19. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/http/handler.py +0 -0
  20. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/http/http_content_types.py +0 -0
  21. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/http/http_headers.py +0 -0
  22. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/http/http_methods.py +0 -0
  23. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/protocol.py +0 -0
  24. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/region.py +0 -0
  25. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/retry/__init__.py +0 -0
  26. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/retry/retry_policy.py +0 -0
  27. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/__init__.py +0 -0
  28. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/autoscaling/__init__.py +0 -0
  29. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/autoscaling/as_client.py +0 -0
  30. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/autoscaling/as_handler.py +0 -0
  31. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/autoscaling/as_model.py +0 -0
  32. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bbc/__init__.py +0 -0
  33. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bbc/bbc_client.py +0 -0
  34. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bbc/bbc_model.py +0 -0
  35. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bcc/__init__.py +0 -0
  36. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bcc/bcc_model.py +0 -0
  37. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bcc/fpga_card_type.py +0 -0
  38. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bcc/gpu_card_type.py +0 -0
  39. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bcm/__init__.py +0 -0
  40. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bcm/bcm_client.py +0 -0
  41. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bcm/bcm_handler.py +0 -0
  42. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bcm/bcm_model.py +0 -0
  43. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bes/__init__.py +0 -0
  44. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bes/bes_client.py +0 -0
  45. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bes/bes_model.py +0 -0
  46. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/blb/__init__.py +0 -0
  47. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/blb/app_blb_client.py +0 -0
  48. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/blb/blb_client.py +0 -0
  49. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/blb/user_service_client.py +0 -0
  50. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bls/__init__.py +0 -0
  51. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bls/bls_client.py +0 -0
  52. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bls/bls_handler.py +0 -0
  53. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bls/bls_model.py +0 -0
  54. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bmr/__init__.py +0 -0
  55. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bmr/bmr_client.py +0 -0
  56. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bos/__init__.py +0 -0
  57. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bos/bos_handler.py +0 -0
  58. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bos/canned_acl.py +0 -0
  59. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bos/common.py +0 -0
  60. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bos/storage_class.py +0 -0
  61. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bts/__init__.py +0 -0
  62. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bts/bts_client.py +0 -0
  63. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bts/model.py +0 -0
  64. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/bts/util.py +0 -0
  65. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/ca/__init__.py +0 -0
  66. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/ca/ca_client.py +0 -0
  67. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/ca/ca_handler.py +0 -0
  68. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/ca/ca_model.py +0 -0
  69. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/cdn/__init__.py +0 -0
  70. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/cdn/cdn_client.py +0 -0
  71. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/cdn/cdn_stats_param.py +0 -0
  72. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/cert/__init__.py +0 -0
  73. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/cert/cert_client.py +0 -0
  74. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/cert/cert_model.py +0 -0
  75. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/cfc/__init__.py +0 -0
  76. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/cfc/cfc_client.py +0 -0
  77. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/cfc/cfc_handler.py +0 -0
  78. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/cfc/models.py +0 -0
  79. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/csn/__init__.py +0 -0
  80. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/csn/csn_api.py +0 -0
  81. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/csn/csn_client.py +0 -0
  82. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/csn/csn_model.py +0 -0
  83. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/ddc/__init__.py +0 -0
  84. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/ddc/ddc_client.py +0 -0
  85. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/dns/__init__.py +0 -0
  86. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/dns/api/__init__.py +0 -0
  87. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/dns/api/dns_api.py +0 -0
  88. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/dns/dns_client.py +0 -0
  89. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/dumap/__init__.py +0 -0
  90. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/dumap/dumap_client.py +0 -0
  91. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/eip/__init__.py +0 -0
  92. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/eip/eip_bp_client.py +0 -0
  93. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/eip/eip_client.py +0 -0
  94. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/eip/eip_group_client.py +0 -0
  95. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/eip/eip_group_model.py +0 -0
  96. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/eip/eip_tp_client.py +0 -0
  97. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/eip/model.py +0 -0
  98. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/endpoint/__init__.py +0 -0
  99. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/endpoint/endpoint_client.py +0 -0
  100. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/endpoint/model.py +0 -0
  101. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/eni/__init__.py +0 -0
  102. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/eni/eni_client.py +0 -0
  103. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/eni/eni_model.py +0 -0
  104. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/esg/__init__.py +0 -0
  105. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/esg/esg_client.py +0 -0
  106. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/esg/esg_model.py +0 -0
  107. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/et/__init__.py +0 -0
  108. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/et/et_client.py +0 -0
  109. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/et/model.py +0 -0
  110. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/etGateway/__init__.py +0 -0
  111. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/etGateway/et_gateway_client.py +0 -0
  112. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/havip/havip_client.py +0 -0
  113. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/iam/__init__.py +0 -0
  114. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/iam/iam_client.py +0 -0
  115. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/infinite/__init__.py +0 -0
  116. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/infinite/infinite_client.py +0 -0
  117. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/ipv6gateway/__init__.py +0 -0
  118. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/ipv6gateway/ipv6gateway_client.py +0 -0
  119. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/ipv6gateway/ipv6gateway_model.py +0 -0
  120. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/kms/__init__.py +0 -0
  121. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/kms/keyspec_class.py +0 -0
  122. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/kms/kms_client.py +0 -0
  123. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/kms/origin_class.py +0 -0
  124. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/kms/protectedby_class.py +0 -0
  125. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/kms/publickeyencoding_class.py +0 -0
  126. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/lbdc/__init__.py +0 -0
  127. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/lbdc/lbdc_client.py +0 -0
  128. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/lbdc/model.py +0 -0
  129. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/localdns/__init__.py +0 -0
  130. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/localdns/api/__init__.py +0 -0
  131. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/localdns/api/ld_api.py +0 -0
  132. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/localdns/ld_client.py +0 -0
  133. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/media/__init__.py +0 -0
  134. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/media/media_client.py +0 -0
  135. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/media/media_handler.py +0 -0
  136. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/mms/__init__.py +0 -0
  137. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/mms/mms_client.py +0 -0
  138. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/mvs/__init__.py +0 -0
  139. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/mvs/mvs_client.py +0 -0
  140. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/oos/__init__.py +0 -0
  141. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/oos/oos_client.py +0 -0
  142. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/oos/oos_model.py +0 -0
  143. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/probe/__init__.py +0 -0
  144. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/probe/probe_client.py +0 -0
  145. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/rds/__init__.py +0 -0
  146. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/rds/rds_client.py +0 -0
  147. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/rds/rds_model.py +0 -0
  148. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/route/__init__.py +0 -0
  149. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/route/route_client.py +0 -0
  150. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/route/route_model.py +0 -0
  151. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/scs/__init__.py +0 -0
  152. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/scs/model.py +0 -0
  153. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/scs/scs_client.py +0 -0
  154. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/sms/__init__.py +0 -0
  155. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/sms/model.py +0 -0
  156. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/sms/sms_client.py +0 -0
  157. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/sts/__init__.py +0 -0
  158. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/sts/sts_client.py +0 -0
  159. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/subnet/__init__.py +0 -0
  160. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/tsdb/__init__.py +0 -0
  161. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/tsdb/tsdb_admin_client.py +0 -0
  162. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/tsdb/tsdb_client.py +0 -0
  163. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/tsdb/tsdb_handler.py +0 -0
  164. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/vca/__init__.py +0 -0
  165. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/vca/vca_client.py +0 -0
  166. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/vcr/__init__.py +0 -0
  167. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/vcr/vcr_client.py +0 -0
  168. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/vpc/__init__.py +0 -0
  169. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/vpc/acl_client.py +0 -0
  170. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/vpc/nat_client.py +0 -0
  171. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/vpc/nat_model.py +0 -0
  172. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/vpc/peerconn_client.py +0 -0
  173. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/vpc/peerconn_model.py +0 -0
  174. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/vpc/template_client.py +0 -0
  175. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/vpc/template_model.py +0 -0
  176. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/vpn/__init__.py +0 -0
  177. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/vpn/vpn_client.py +0 -0
  178. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/services/vpn/vpn_model.py +0 -0
  179. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/baidubce/utils.py +0 -0
  180. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/bce_python_sdk.egg-info/SOURCES.txt +0 -0
  181. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/bce_python_sdk.egg-info/dependency_links.txt +0 -0
  182. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/bce_python_sdk.egg-info/requires.txt +0 -0
  183. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/bce_python_sdk.egg-info/top_level.txt +0 -0
  184. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/setup.cfg +0 -0
  185. {bce_python_sdk-0.9.46 → bce_python_sdk-0.9.49}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bce-python-sdk
3
- Version: 0.9.46
3
+ Version: 0.9.49
4
4
  Summary: BCE SDK for python
5
5
  Home-page: http://bce.baidu.com
6
6
  Author:
@@ -18,7 +18,7 @@ from builtins import bytes
18
18
  from . import protocol
19
19
 
20
20
 
21
- SDK_VERSION = b'0.9.46'
21
+ SDK_VERSION = b'0.9.49'
22
22
  DEFAULT_SERVICE_DOMAIN = b'bcebos.com'
23
23
  URL_PREFIX = b'/v1'
24
24
  DEFAULT_ENCODING = 'UTF-8'
@@ -3993,14 +3993,16 @@ class BccClient(bce_base_client.BceBaseClient):
3993
3993
  is_open_ipv6=None, tags=None, key_pair_id=None, auto_renew_time_unit=None,
3994
3994
  auto_renew_time=0, cds_auto_renew=None, asp_id=None, bid_model=None, bid_price=None,
3995
3995
  dedicate_host_id=None, deploy_id=None, deploy_id_list=None, enable_jumbo_frame=None,
3996
- cpu_thread_config=None, numa_config=None, eni_ids=None,
3997
- client_token=None, config=None):
3996
+ cpu_thread_config=None, numa_config=None, eni_ids=None, client_token=None, config=None,
3997
+ user_data=None, spec_id=None, deletion_protection=None, is_open_hosteye=None,
3998
+ hosteye_type=None, res_group_id=None, enable_ht=None, data_partition_type=None,
3999
+ root_partition_type=None, file_systems=None, disable_root_disk_serial=None,
4000
+ internal_ips=None, network_purchase_type=None):
3998
4001
  """
3999
4002
  Create a bcc Instance with the specified options.
4000
4003
  You must fill the field of clientToken,which is especially for keeping idempotent.
4001
4004
  This is an asynchronous interface,
4002
4005
  you can get the latest status by BccClient.get_instance.
4003
-
4004
4006
  :param spec:
4005
4007
  The specification of the BBC package.
4006
4008
  :type spec: string
@@ -4211,6 +4213,53 @@ class BccClient(bce_base_client.BceBaseClient):
4211
4213
  The enis must in the same vpc and available zone with instance.
4212
4214
  :type eni_ids: list<string>
4213
4215
 
4216
+ :param user_data:
4217
+ :type user_data: string
4218
+
4219
+ :param is_open_hosteye:
4220
+ :type is_open_hosteye: boolean
4221
+
4222
+ :param hosteye_type:
4223
+ :type hosteye_type: string
4224
+
4225
+ :param res_group_id:
4226
+ The optional parameter to specify the resGroupId of the instance
4227
+ :type res_group_id: string
4228
+
4229
+ :param enable_ht:
4230
+ Whether to enable HT (used by EBC). Default: true
4231
+ :type enable_ht: bool
4232
+
4233
+ :param data_partition_type:
4234
+ Data disk file system format.Available values: xfs, ext4.
4235
+ :type data_partition_type: bool
4236
+
4237
+ :param root_partition_type:
4238
+ System disk file system format.Available values: xfs, ext4.
4239
+ :type root_partition_type: bool
4240
+
4241
+ :param deletion_protection:
4242
+ :type deletion_protection: int
4243
+
4244
+ :param spec_id:
4245
+ Identify of the spec.
4246
+
4247
+ :param file_systems:
4248
+ This parameter is obsolete.
4249
+ :type file_systems:list<bcc_model.FileSystemModel>
4250
+
4251
+ :param disable_root_disk_serial:
4252
+ Whether to hide the system disk SN during instance creation. Default: false
4253
+ :type disable_root_disk_serial: bool
4254
+
4255
+ :param internal_ips:
4256
+ The parameter to specify the internal ips.
4257
+ :type internal_ips: list<string>
4258
+
4259
+ :param network_purchase_type:
4260
+ EIP line type, including Standard BGP (BGP) and Enhanced BGP (BGP_S).The default value is Standard BGP.
4261
+ :type network_purchase_type: string
4262
+
4214
4263
  :return:
4215
4264
  :rtype baidubce.bce_response.BceResponse
4216
4265
  """
@@ -4305,6 +4354,33 @@ class BccClient(bce_base_client.BceBaseClient):
4305
4354
  if eni_ids is not None:
4306
4355
  body['eniIds'] = eni_ids
4307
4356
  body['cdsAutoRenew'] = cds_auto_renew
4357
+ if user_data is not None:
4358
+ body['userData'] = user_data
4359
+ if spec_id is not None:
4360
+ body['specId'] = spec_id
4361
+ if is_open_hosteye is not None:
4362
+ body['isOpenHosteye'] = is_open_hosteye
4363
+ if deletion_protection is not None:
4364
+ body['deletionProtection'] = deletion_protection
4365
+ if hosteye_type is not None:
4366
+ body['hosteyeType'] = hosteye_type
4367
+ if res_group_id is not None:
4368
+ body['resGroupId'] = res_group_id
4369
+ if enable_ht is not None:
4370
+ body['enableHt'] = enable_ht
4371
+ if data_partition_type is not None:
4372
+ body['dataPartitionType'] = data_partition_type
4373
+ if root_partition_type is not None:
4374
+ body['rootPartitionType'] = root_partition_type
4375
+ if file_systems is not None:
4376
+ file_system_list = [file_system.__dict__ for file_system in file_systems]
4377
+ body['fileSystems'] = file_system_list
4378
+ if disable_root_disk_serial is not None:
4379
+ body['disableRootDiskSerial'] = disable_root_disk_serial
4380
+ if internal_ips is not None:
4381
+ body['internalIps'] = internal_ips
4382
+ if network_purchase_type is not None:
4383
+ body['networkPurchaseType'] = network_purchase_type
4308
4384
 
4309
4385
  return self._send_request(http_methods.POST, path, json.dumps(body),
4310
4386
  params=params, config=config)
@@ -707,6 +707,9 @@ class BosClient(BceBaseClient):
707
707
  **URL string**
708
708
  """
709
709
  key = compat.convert_to_bytes(key)
710
+ if len(key) == 0 or key == b'v1':
711
+ raise ValueError('generate url the key param error!')
712
+
710
713
  config = self._merge_config(config, bucket_name)
711
714
  headers = headers or {}
712
715
  params = params or {}
@@ -2609,8 +2612,203 @@ class BosClient(BceBaseClient):
2609
2612
  params[b'versionIdMarker'] = version_marker
2610
2613
 
2611
2614
  return self._send_request(http_methods.GET, bucket_name, params=params, config=config)
2615
+
2616
+ @required(bucket_name=(bytes, str), cors_configuration=list)
2617
+ def init_bucket_object_lock(self,
2618
+ bucket_name,
2619
+ retention_days,
2620
+ config=None):
2621
+ """
2622
+ init bucket object lock
2623
+ :type bucket: string
2624
+ :param bucket: None
2612
2625
 
2613
-
2626
+ :type retention_days: int
2627
+ :param retention_days: None
2628
+
2629
+ :return:**Http Response**
2630
+ """
2631
+ return self._send_request(http_methods.POST,
2632
+ bucket_name,
2633
+ params={b'objectlock': b''},
2634
+ body=json.dumps({'retentionDays': retention_days}),
2635
+ config=config)
2636
+
2637
+ @required(bucket_name=(bytes, str))
2638
+ def get_bucket_object_lock(self, bucket_name, config=None):
2639
+ """
2640
+ get bucket object lock
2641
+
2642
+ :type bucket: string
2643
+ :param bucket: None
2644
+
2645
+ :return:**Http Response**
2646
+ """
2647
+ return self._send_request(http_methods.GET,
2648
+ bucket_name,
2649
+ params={b'objectlock': b''},
2650
+ config=config)
2651
+
2652
+ @required(bucket_name=(bytes, str))
2653
+ def delete_bucket_object_lock(self, bucket_name, config=None):
2654
+ """
2655
+ Delete Bucket Object Lock
2656
+
2657
+ :type bucket: string
2658
+ :param bucket: None
2659
+
2660
+ :return:**Http Response**
2661
+ """
2662
+ return self._send_request(http_methods.DELETE,
2663
+ bucket_name,
2664
+ params={b'objectlock': b''},
2665
+ config=config)
2666
+
2667
+ @required(bucket_name=(bytes, str), cors_configuration=list)
2668
+ def complete_bucket_object_lock(self,
2669
+ bucket_name,
2670
+ config=None):
2671
+ """
2672
+ complete bucket object lock
2673
+ :type bucket: string
2674
+ :param bucket: None
2675
+
2676
+ :type retention_days: int
2677
+ :param retention_days: None
2678
+
2679
+ :return:**Http Response**
2680
+ """
2681
+ return self._send_request(http_methods.POST,
2682
+ bucket_name,
2683
+ params={b'completeobjectlock': b''},
2684
+ config=config)
2685
+
2686
+ @required(bucket_name=(bytes, str), cors_configuration=list)
2687
+ def extend_bucket_object_lock(self,
2688
+ bucket_name,
2689
+ extend_retent_days,
2690
+ config=None):
2691
+ """
2692
+ extend bucket object lock
2693
+ :type bucket: string
2694
+ :param bucket: None
2695
+
2696
+ :type extend_retent_days: int
2697
+ :param extend_retent_days: None
2698
+
2699
+ :return:**Http Response**
2700
+ """
2701
+ return self._send_request(http_methods.POST,
2702
+ bucket_name,
2703
+ params={b'extendobjectlock': b''},
2704
+ body=json.dumps({'extendRetentionDays': extend_retent_days}),
2705
+ config=config)
2706
+
2707
+ @required(bucket_name=(bytes, str), cors_configuration=list)
2708
+ def get_bucket_quota(self,
2709
+ bucket_name,
2710
+ config=None):
2711
+ """
2712
+ get bucket quota
2713
+ :type bucket: string
2714
+ :param bucket: None
2715
+
2716
+ :return:**Http Response**
2717
+ """
2718
+ return self._send_request(http_methods.GET,
2719
+ bucket_name,
2720
+ params={b'quota': b''},
2721
+ config=config)
2722
+
2723
+ @required(bucket_name=(bytes, str), cors_configuration=list)
2724
+ def put_bucket_quota(self,
2725
+ bucket_name,
2726
+ quota_conf,
2727
+ config=None):
2728
+ """
2729
+ put quota conf of bucket
2730
+ :type bucket: string
2731
+ :param bucket: None
2732
+
2733
+ :type retention_days: int
2734
+ :param retention_days: None
2735
+
2736
+ :return:**Http Response**
2737
+ """
2738
+ return self._send_request(http_methods.PUT,
2739
+ bucket_name,
2740
+ body=json.dumps(quota_conf, default=BosClient._dump_acl_object),
2741
+ params={b'quota': b''},
2742
+ config=config)
2743
+
2744
+ @required(bucket_name=(bytes, str), cors_configuration=list)
2745
+ def delete_bucket_quota(self,
2746
+ bucket_name,
2747
+ config=None):
2748
+ """
2749
+ get bucket quota
2750
+ :type bucket: string
2751
+ :param bucket: None
2752
+
2753
+ :return:**Http Response**
2754
+ """
2755
+ return self._send_request(http_methods.DELETE,
2756
+ bucket_name,
2757
+ params={b'quota': b''},
2758
+ config=config)
2759
+
2760
+ @required(bucket_name=(bytes, str), cors_configuration=list)
2761
+ def get_bucket_tagging(self,
2762
+ bucket_name,
2763
+ config=None):
2764
+ """
2765
+ get bucket tagging
2766
+ :type bucket: string
2767
+ :param bucket: None
2768
+
2769
+ :return:**Http Response**
2770
+ """
2771
+ return self._send_request(http_methods.GET,
2772
+ bucket_name,
2773
+ params={b'tagging': b''},
2774
+ config=config)
2775
+
2776
+ @required(bucket_name=(bytes, str), cors_configuration=list)
2777
+ def put_bucket_tagging(self,
2778
+ bucket_name,
2779
+ tag_conf,
2780
+ config=None):
2781
+ """
2782
+ put tagging conf of bucket
2783
+ :type bucket: string
2784
+ :param bucket: None
2785
+
2786
+ :type retention_days: int
2787
+ :param retention_days: None
2788
+
2789
+ :return:**Http Response**
2790
+ """
2791
+ return self._send_request(http_methods.PUT,
2792
+ bucket_name,
2793
+ body=json.dumps(tag_conf, default=BosClient._dump_acl_object),
2794
+ params={b'tagging': b''},
2795
+ config=config)
2796
+
2797
+ @required(bucket_name=(bytes, str), cors_configuration=list)
2798
+ def delete_bucket_tagging(self,
2799
+ bucket_name,
2800
+ config=None):
2801
+ """
2802
+ delete bucket tagging
2803
+ :type bucket: string
2804
+ :param bucket: None
2805
+
2806
+ :return:**Http Response**
2807
+ """
2808
+ return self._send_request(http_methods.DELETE,
2809
+ bucket_name,
2810
+ params={b'tagging': b''},
2811
+ config=config)
2614
2812
 
2615
2813
  @staticmethod
2616
2814
  def _prepare_object_headers(
@@ -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, config=None, tags=None):
73
+ client_token=None, enable_ipv6=None, vpcSecondaryCidr=None, config=None, tags=None):
74
74
  """
75
75
  Create a subnet with the specified options.
76
76
 
@@ -100,6 +100,14 @@ class SubnetClient(bce_base_client.BceBaseClient):
100
100
  The option param to describe the subnet
101
101
  type description: string
102
102
 
103
+ :param enable_ipv6:
104
+ The option param to enable or disable ipv6 for the subnet
105
+ :type enable_ipv6: boolean
106
+
107
+ :param vpc_secondary_cidr:
108
+ The secondary CIDR block of the VPC that the subnet belongs to.
109
+ :type vpc_secondary_cidr: string
110
+
103
111
  :param client_token:
104
112
  An ASCII string whose length is less than 64.
105
113
  The request will be idempotent if clientToken is provided.
@@ -140,6 +148,12 @@ class SubnetClient(bce_base_client.BceBaseClient):
140
148
  if tags is not None:
141
149
  body['tags'] = tags
142
150
 
151
+ if enable_ipv6 is not None:
152
+ body['enableIpv6'] = enable_ipv6
153
+
154
+ if vpcSecondaryCidr is not None:
155
+ body['secondaryCidr'] = compat.convert_to_string(vpcSecondaryCidr)
156
+
143
157
  return self._send_request(http_methods.POST, path, body=json.dumps(body), params=params,
144
158
  config=config)
145
159
 
@@ -67,7 +67,7 @@ class VpcClient(bce_base_client.BceBaseClient):
67
67
  http_method, VpcClient.prefix + path, body, headers, params)
68
68
 
69
69
  @required(name=(bytes, str), cidr=(bytes, str))
70
- def create_vpc(self, name, cidr, description=None, client_token=None, config=None):
70
+ def create_vpc(self, name, cidr, description=None, client_token=None, enable_ipv6=None, tags=None, config=None):
71
71
  """
72
72
  The name of vpc to be created.
73
73
 
@@ -83,6 +83,14 @@ class VpcClient(bce_base_client.BceBaseClient):
83
83
  The description of the vpc.
84
84
  :type description: string
85
85
 
86
+ :param enable_ipv6:
87
+ The option param to enable or disable ipv6 for the subnet
88
+ :type enable_ipv6: boolean
89
+
90
+ :param tags:
91
+ List of tags to be bind
92
+ :type tags: list
93
+
86
94
  :param client_token:
87
95
  An ASCII string whose length is less than 64.
88
96
  The request will be idempotent if clientToken is provided.
@@ -109,6 +117,12 @@ class VpcClient(bce_base_client.BceBaseClient):
109
117
  if description is not None:
110
118
  body['description'] = compat.convert_to_string(description)
111
119
 
120
+ if tags is not None:
121
+ body['tags'] = tags
122
+
123
+ if enable_ipv6 is not None:
124
+ body['enable_ipv6'] = enable_ipv6
125
+
112
126
  return self._send_request(http_methods.POST, path, body=json.dumps(body), params=params,
113
127
  config=config)
114
128
 
@@ -210,7 +224,8 @@ class VpcClient(bce_base_client.BceBaseClient):
210
224
  return self._send_request(http_methods.DELETE, path, params=params, config=config)
211
225
 
212
226
  @required(vpc_id=(bytes, str), name=(bytes, str))
213
- def update_vpc(self, vpc_id, name, description=None, client_token=None, config=None):
227
+ def update_vpc(self, vpc_id, name, description=None, enable_ipv6=None,
228
+ secondaryCidr=None, client_token=None, config=None):
214
229
  """
215
230
  Modify the special attribute to new value of the vpc owned by the user.
216
231
 
@@ -226,6 +241,14 @@ class VpcClient(bce_base_client.BceBaseClient):
226
241
  The description of the vpc.
227
242
  :type description: string
228
243
 
244
+ :param enable_ipv6:
245
+ The option param to enable or disable ipv6 for the subnet
246
+ :type enable_ipv6: boolean
247
+
248
+ :param secondaryCidr:
249
+ This parameter specifies the secondary CIDR ranges associated with the VPC.
250
+ :type secondaryCidr: list
251
+
229
252
  :param client_token:
230
253
  An ASCII string whose length is less than 64.
231
254
  The request will be idempotent if clientToken is provided.
@@ -255,6 +278,12 @@ class VpcClient(bce_base_client.BceBaseClient):
255
278
  if description is not None:
256
279
  body['description'] = compat.convert_to_string(description)
257
280
 
281
+ if enable_ipv6 is not None:
282
+ body['enableIpv6'] = enable_ipv6
283
+
284
+ if secondaryCidr is not None:
285
+ body['secondaryCidr'] = secondaryCidr
286
+
258
287
  return self._send_request(http_methods.PUT, path, json.dumps(body),
259
288
  params=params, config=config)
260
289
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bce-python-sdk
3
- Version: 0.9.46
3
+ Version: 0.9.49
4
4
  Summary: BCE SDK for python
5
5
  Home-page: http://bce.baidu.com
6
6
  Author: