bce-python-sdk 0.9.76__tar.gz → 0.9.79__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 (217) hide show
  1. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/PKG-INFO +1 -1
  2. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/__init__.py +1 -1
  3. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bcc/bcc_client.py +166 -0
  4. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bcc/bcc_model.py +45 -0
  5. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/dumemory/dumemory_client.py +5 -0
  6. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/dumemory/test_dumemory_client.py +12 -2
  7. bce_python_sdk-0.9.79/baidubce/services/eo/eo_client.py +651 -0
  8. bce_python_sdk-0.9.79/baidubce/services/vpn/__init__.py +0 -0
  9. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/bce_python_sdk.egg-info/PKG-INFO +1 -1
  10. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/bce_python_sdk.egg-info/SOURCES.txt +2 -0
  11. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/setup.py +1 -0
  12. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/auth/__init__.py +0 -0
  13. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/auth/bce_credentials.py +0 -0
  14. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/auth/bce_v1_signer.py +0 -0
  15. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/bce_base_client.py +0 -0
  16. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/bce_client_configuration.py +0 -0
  17. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/bce_response.py +0 -0
  18. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/compat.py +0 -0
  19. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/exception.py +0 -0
  20. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/http/__init__.py +0 -0
  21. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/http/bce_http_client.py +0 -0
  22. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/http/handler.py +0 -0
  23. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/http/http_content_types.py +0 -0
  24. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/http/http_headers.py +0 -0
  25. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/http/http_methods.py +0 -0
  26. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/protocol.py +0 -0
  27. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/region.py +0 -0
  28. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/retry/__init__.py +0 -0
  29. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/retry/retry_policy.py +0 -0
  30. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/__init__.py +0 -0
  31. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/aihc/__init__.py +0 -0
  32. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/aihc/aihc_client.py +0 -0
  33. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/aihc/aihc_handler.py +0 -0
  34. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/aihc/aihc_model.py +0 -0
  35. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/aihc/base/__init__.py +0 -0
  36. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/aihc/base/aihc_base_client.py +0 -0
  37. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/aihc/base/aihc_common.py +0 -0
  38. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/aihc/modules/__init__.py +0 -0
  39. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/aihc/modules/dataset/__init__.py +0 -0
  40. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/aihc/modules/dataset/dataset_client.py +0 -0
  41. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/aihc/modules/dataset/dataset_model.py +0 -0
  42. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/aihc/modules/dev_instance/__init__.py +0 -0
  43. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/aihc/modules/dev_instance/dev_instance_client.py +0 -0
  44. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/aihc/modules/job/__init__.py +0 -0
  45. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/aihc/modules/job/job_client.py +0 -0
  46. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/aihc/modules/job/job_model.py +0 -0
  47. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/aihc/modules/model/__init__.py +0 -0
  48. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/aihc/modules/model/model_client.py +0 -0
  49. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/aihc/modules/model/model_model.py +0 -0
  50. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/aihc/modules/resource_pool/__init__.py +0 -0
  51. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/aihc/modules/resource_pool/resource_pool_client.py +0 -0
  52. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/aihc/modules/service/__init__.py +0 -0
  53. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/aihc/modules/service/service_client.py +0 -0
  54. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/aihc/modules/service/service_model.py +0 -0
  55. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/autoscaling/__init__.py +0 -0
  56. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/autoscaling/as_client.py +0 -0
  57. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/autoscaling/as_handler.py +0 -0
  58. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/autoscaling/as_model.py +0 -0
  59. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bbc/__init__.py +0 -0
  60. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bbc/bbc_client.py +0 -0
  61. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bbc/bbc_model.py +0 -0
  62. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bcc/__init__.py +0 -0
  63. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bcc/fpga_card_type.py +0 -0
  64. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bcc/gpu_card_type.py +0 -0
  65. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bcm/__init__.py +0 -0
  66. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bcm/bcm_client.py +0 -0
  67. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bcm/bcm_handler.py +0 -0
  68. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bcm/bcm_model.py +0 -0
  69. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bes/__init__.py +0 -0
  70. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bes/bes_client.py +0 -0
  71. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bes/bes_model.py +0 -0
  72. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/blb/__init__.py +0 -0
  73. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/blb/app_blb_client.py +0 -0
  74. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/blb/blb_client.py +0 -0
  75. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/blb/user_service_client.py +0 -0
  76. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bls/__init__.py +0 -0
  77. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bls/bls_client.py +0 -0
  78. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bls/bls_handler.py +0 -0
  79. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bls/bls_model.py +0 -0
  80. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bmr/__init__.py +0 -0
  81. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bmr/bmr_client.py +0 -0
  82. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bos/__init__.py +0 -0
  83. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bos/bos_client.py +0 -0
  84. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bos/bos_handler.py +0 -0
  85. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bos/canned_acl.py +0 -0
  86. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bos/common.py +0 -0
  87. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bos/storage_class.py +0 -0
  88. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bts/__init__.py +0 -0
  89. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bts/bts_client.py +0 -0
  90. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bts/model.py +0 -0
  91. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/bts/util.py +0 -0
  92. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/ca/__init__.py +0 -0
  93. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/ca/ca_client.py +0 -0
  94. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/ca/ca_handler.py +0 -0
  95. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/ca/ca_model.py +0 -0
  96. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/cdn/__init__.py +0 -0
  97. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/cdn/cdn_client.py +0 -0
  98. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/cdn/cdn_stats_param.py +0 -0
  99. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/cert/__init__.py +0 -0
  100. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/cert/cert_client.py +0 -0
  101. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/cert/cert_model.py +0 -0
  102. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/cfc/__init__.py +0 -0
  103. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/cfc/cfc_client.py +0 -0
  104. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/cfc/cfc_handler.py +0 -0
  105. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/cfc/models.py +0 -0
  106. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/cloudflow/__init__.py +0 -0
  107. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/cloudflow/cloudflow_client.py +0 -0
  108. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/cloudflow/cloudflow_model.py +0 -0
  109. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/csn/__init__.py +0 -0
  110. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/csn/csn_api.py +0 -0
  111. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/csn/csn_client.py +0 -0
  112. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/csn/csn_model.py +0 -0
  113. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/ddc/__init__.py +0 -0
  114. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/ddc/ddc_client.py +0 -0
  115. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/dns/__init__.py +0 -0
  116. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/dns/api/__init__.py +0 -0
  117. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/dns/api/dns_api.py +0 -0
  118. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/dns/dns_client.py +0 -0
  119. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/dumap/__init__.py +0 -0
  120. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/dumap/dumap_client.py +0 -0
  121. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/dumemory/__init__.py +0 -0
  122. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/dumemory/dumemory_model.py +0 -0
  123. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/eip/__init__.py +0 -0
  124. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/eip/eip_bp_client.py +0 -0
  125. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/eip/eip_client.py +0 -0
  126. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/eip/eip_group_client.py +0 -0
  127. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/eip/eip_group_model.py +0 -0
  128. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/eip/eip_tp_client.py +0 -0
  129. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/eip/model.py +0 -0
  130. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/endpoint/__init__.py +0 -0
  131. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/endpoint/endpoint_client.py +0 -0
  132. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/endpoint/model.py +0 -0
  133. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/eni/__init__.py +0 -0
  134. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/eni/eni_client.py +0 -0
  135. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/eni/eni_model.py +0 -0
  136. {bce_python_sdk-0.9.76/baidubce/services/esg → bce_python_sdk-0.9.79/baidubce/services/eo}/__init__.py +0 -0
  137. {bce_python_sdk-0.9.76/baidubce/services/et → bce_python_sdk-0.9.79/baidubce/services/esg}/__init__.py +0 -0
  138. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/esg/esg_client.py +0 -0
  139. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/esg/esg_model.py +0 -0
  140. {bce_python_sdk-0.9.76/baidubce/services/etGateway → bce_python_sdk-0.9.79/baidubce/services/et}/__init__.py +0 -0
  141. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/et/et_client.py +0 -0
  142. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/et/model.py +0 -0
  143. {bce_python_sdk-0.9.76/baidubce/services/ipv6gateway → bce_python_sdk-0.9.79/baidubce/services/etGateway}/__init__.py +0 -0
  144. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/etGateway/et_gateway_client.py +0 -0
  145. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/havip/havip_client.py +0 -0
  146. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/iam/__init__.py +0 -0
  147. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/iam/iam_client.py +0 -0
  148. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/infinite/__init__.py +0 -0
  149. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/infinite/infinite_client.py +0 -0
  150. {bce_python_sdk-0.9.76/baidubce/services/kms → bce_python_sdk-0.9.79/baidubce/services/ipv6gateway}/__init__.py +0 -0
  151. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/ipv6gateway/ipv6gateway_client.py +0 -0
  152. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/ipv6gateway/ipv6gateway_model.py +0 -0
  153. {bce_python_sdk-0.9.76/baidubce/services/lbdc → bce_python_sdk-0.9.79/baidubce/services/kms}/__init__.py +0 -0
  154. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/kms/keyspec_class.py +0 -0
  155. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/kms/kms_client.py +0 -0
  156. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/kms/origin_class.py +0 -0
  157. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/kms/protectedby_class.py +0 -0
  158. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/kms/publickeyencoding_class.py +0 -0
  159. {bce_python_sdk-0.9.76/baidubce/services/localdns → bce_python_sdk-0.9.79/baidubce/services/lbdc}/__init__.py +0 -0
  160. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/lbdc/lbdc_client.py +0 -0
  161. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/lbdc/model.py +0 -0
  162. {bce_python_sdk-0.9.76/baidubce/services/localdns/api → bce_python_sdk-0.9.79/baidubce/services/localdns}/__init__.py +0 -0
  163. {bce_python_sdk-0.9.76/baidubce/services/media → bce_python_sdk-0.9.79/baidubce/services/localdns/api}/__init__.py +0 -0
  164. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/localdns/api/ld_api.py +0 -0
  165. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/localdns/ld_client.py +0 -0
  166. {bce_python_sdk-0.9.76/baidubce/services/oos → bce_python_sdk-0.9.79/baidubce/services/media}/__init__.py +0 -0
  167. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/media/media_client.py +0 -0
  168. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/media/media_handler.py +0 -0
  169. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/mms/__init__.py +0 -0
  170. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/mms/mms_client.py +0 -0
  171. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/mvs/__init__.py +0 -0
  172. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/mvs/mvs_client.py +0 -0
  173. {bce_python_sdk-0.9.76/baidubce/services/probe → bce_python_sdk-0.9.79/baidubce/services/oos}/__init__.py +0 -0
  174. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/oos/oos_client.py +0 -0
  175. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/oos/oos_model.py +0 -0
  176. {bce_python_sdk-0.9.76/baidubce/services/route → bce_python_sdk-0.9.79/baidubce/services/probe}/__init__.py +0 -0
  177. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/probe/probe_client.py +0 -0
  178. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/rds/__init__.py +0 -0
  179. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/rds/rds_client.py +0 -0
  180. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/rds/rds_model.py +0 -0
  181. {bce_python_sdk-0.9.76/baidubce/services/subnet → bce_python_sdk-0.9.79/baidubce/services/route}/__init__.py +0 -0
  182. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/route/route_client.py +0 -0
  183. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/route/route_model.py +0 -0
  184. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/scs/__init__.py +0 -0
  185. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/scs/model.py +0 -0
  186. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/scs/scs_client.py +0 -0
  187. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/sms/__init__.py +0 -0
  188. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/sms/model.py +0 -0
  189. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/sms/sms_client.py +0 -0
  190. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/sts/__init__.py +0 -0
  191. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/sts/sts_client.py +0 -0
  192. {bce_python_sdk-0.9.76/baidubce/services/tsdb → bce_python_sdk-0.9.79/baidubce/services/subnet}/__init__.py +0 -0
  193. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/subnet/subnet_client.py +0 -0
  194. {bce_python_sdk-0.9.76/baidubce/services/vca → bce_python_sdk-0.9.79/baidubce/services/tsdb}/__init__.py +0 -0
  195. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/tsdb/tsdb_admin_client.py +0 -0
  196. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/tsdb/tsdb_client.py +0 -0
  197. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/tsdb/tsdb_handler.py +0 -0
  198. {bce_python_sdk-0.9.76/baidubce/services/vcr → bce_python_sdk-0.9.79/baidubce/services/vca}/__init__.py +0 -0
  199. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/vca/vca_client.py +0 -0
  200. {bce_python_sdk-0.9.76/baidubce/services/vpc → bce_python_sdk-0.9.79/baidubce/services/vcr}/__init__.py +0 -0
  201. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/vcr/vcr_client.py +0 -0
  202. {bce_python_sdk-0.9.76/baidubce/services/vpn → bce_python_sdk-0.9.79/baidubce/services/vpc}/__init__.py +0 -0
  203. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/vpc/acl_client.py +0 -0
  204. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/vpc/nat_client.py +0 -0
  205. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/vpc/nat_model.py +0 -0
  206. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/vpc/peerconn_client.py +0 -0
  207. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/vpc/peerconn_model.py +0 -0
  208. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/vpc/template_client.py +0 -0
  209. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/vpc/template_model.py +0 -0
  210. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/vpc/vpc_client.py +0 -0
  211. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/vpn/vpn_client.py +0 -0
  212. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/services/vpn/vpn_model.py +0 -0
  213. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/baidubce/utils.py +0 -0
  214. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/bce_python_sdk.egg-info/dependency_links.txt +0 -0
  215. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/bce_python_sdk.egg-info/requires.txt +0 -0
  216. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/bce_python_sdk.egg-info/top_level.txt +0 -0
  217. {bce_python_sdk-0.9.76 → bce_python_sdk-0.9.79}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bce-python-sdk
3
- Version: 0.9.76
3
+ Version: 0.9.79
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.76'
21
+ SDK_VERSION = b'0.9.79'
22
22
  DEFAULT_SERVICE_DOMAIN = b'bcebos.com'
23
23
  URL_PREFIX = b'/v1'
24
24
  DEFAULT_ENCODING = 'UTF-8'
@@ -3241,6 +3241,172 @@ class BccClient(bce_base_client.BceBaseClient):
3241
3241
  path = b'/snapshot/%s' % snapshot_id
3242
3242
  return self._send_request(http_methods.DELETE, path, config=config)
3243
3243
 
3244
+ @required(instance_id=(bytes, str), # ***Unicode***
3245
+ name=(bytes, str)) # ***Unicode***
3246
+ def create_instance_snapshot(self,
3247
+ instance_id,
3248
+ name,
3249
+ desc=None,
3250
+ volumes=None,
3251
+ retention_in_days=None,
3252
+ res_group_id=None,
3253
+ tags=None,
3254
+ config=None):
3255
+ """
3256
+ Creating an instance snapshot (a consistent snapshot group) for the specified instance.
3257
+ All the parameters are carried by the JSON request body instead of the query string.
3258
+ This is an asynchronous interface,
3259
+ you can get the latest status by BccClient.list_instance_snapshot.
3260
+
3261
+ :param instance_id:
3262
+ The id of the instance which the instance snapshot will be created from.
3263
+ :type instance_id: string
3264
+
3265
+ :param name:
3266
+ The name for the instance snapshot that will be created.
3267
+ :type name: string
3268
+
3269
+ :param desc:
3270
+ The optional parameter to describe the information of the new instance snapshot.
3271
+ :type desc: string
3272
+
3273
+ :param volumes:
3274
+ The optional list of the volume id to be included in the instance snapshot.
3275
+ If it's not specified, all the volumes of the instance will be included.
3276
+ :type volumes: list<string>
3277
+
3278
+ :param retention_in_days:
3279
+ The optional parameter to specify how many days the instance snapshot will be retained.
3280
+ :type retention_in_days: int
3281
+
3282
+ :param res_group_id:
3283
+ The optional parameter to specify the id of the resource group.
3284
+ :type res_group_id: string
3285
+
3286
+ :param tags:
3287
+ The optional list of tag to be bonded.
3288
+ :type tags: list<bcc_model.TagModel>
3289
+
3290
+ :return:
3291
+ The response body contains inSnapshotId(string) and snapshotIds(list<string>).
3292
+ :rtype baidubce.bce_response.BceResponse
3293
+ """
3294
+ path = b'/snapshot/insnap/create'
3295
+ body = {
3296
+ 'instanceId': instance_id,
3297
+ 'name': name
3298
+ }
3299
+ if desc is not None:
3300
+ body['desc'] = desc
3301
+ if volumes is not None:
3302
+ body['volumes'] = volumes
3303
+ if retention_in_days is not None:
3304
+ body['retentionInDays'] = retention_in_days
3305
+ if res_group_id is not None:
3306
+ body['resGroupId'] = res_group_id
3307
+ if tags is not None:
3308
+ tag_list = [tag if isinstance(tag, dict) else tag.__dict__ for tag in tags]
3309
+ body['tags'] = tag_list
3310
+ return self._send_request(http_methods.POST, path, json.dumps(body), config=config)
3311
+
3312
+ @required(delete_insnap_ids=list)
3313
+ def delete_instance_snapshot(self, delete_insnap_ids, config=None):
3314
+ """
3315
+ Deleting the specified instance snapshots.
3316
+ All the parameters are carried by the JSON request body instead of the query string.
3317
+ There is no response body for this interface.
3318
+
3319
+ :param delete_insnap_ids:
3320
+ The list of the instance snapshot id which will be deleted.
3321
+ :type delete_insnap_ids: list<string>
3322
+
3323
+ :return:
3324
+ :rtype baidubce.bce_response.BceResponse
3325
+ """
3326
+ path = b'/snapshot/insnap/delete'
3327
+ body = {
3328
+ 'deleteInsnapIds': delete_insnap_ids
3329
+ }
3330
+ return self._send_request(http_methods.POST, path, json.dumps(body), config=config)
3331
+
3332
+ @required(name=(bytes, str)) # ***Unicode***
3333
+ def rename_instance_snapshot(self, insnap_ids, name, config=None):
3334
+ """
3335
+ Renaming the specified instance snapshots.
3336
+ All the parameters are carried by the JSON request body instead of the query string.
3337
+ There is no response body for this interface.
3338
+
3339
+ :param insnap_ids:
3340
+ The list of the instance snapshot id which will be renamed.
3341
+ :type insnap_ids: list<string>
3342
+
3343
+ :param name:
3344
+ The new name for the specified instance snapshots.
3345
+ :type name: string
3346
+
3347
+ :return:
3348
+ :rtype baidubce.bce_response.BceResponse
3349
+ """
3350
+ path = b'/snapshot/insnap/rename'
3351
+ body = {
3352
+ 'name': name
3353
+ }
3354
+ if insnap_ids is not None:
3355
+ body['insnapIds'] = insnap_ids
3356
+ return self._send_request(http_methods.POST, path, json.dumps(body), config=config)
3357
+
3358
+ def list_instance_snapshot(self, marker=None, max_keys=None, instance_ids=None,
3359
+ instance_snapshot_ids=None, config=None):
3360
+ """
3361
+ Listing the instance snapshots owned by the authenticated user.
3362
+ All the parameters, including marker and maxKeys, are carried by the JSON
3363
+ request body instead of the query string.
3364
+
3365
+ :param marker:
3366
+ The optional parameter marker specified in the original request to specify
3367
+ where in the results to begin listing.
3368
+ Together with the marker, specifies the list result which listing should begin.
3369
+ If the marker is not specified, the list result will listing from the first one.
3370
+ :type marker: string
3371
+
3372
+ :param max_keys:
3373
+ The optional parameter to specifies the max number of list result to return.
3374
+ :type max_keys: int
3375
+
3376
+ :param instance_ids:
3377
+ The optional list of the instance id used to filter the result.
3378
+ :type instance_ids: list<string>
3379
+
3380
+ :param instance_snapshot_ids:
3381
+ The optional list of the instance snapshot id used to filter the result.
3382
+ :type instance_snapshot_ids: list<string>
3383
+
3384
+ :return:
3385
+ The response body contains marker(string), isTruncated(bool),
3386
+ nextMarker(string), maxKeys(int) and instanceSnapshots(list).
3387
+ Every item of instanceSnapshots contains instanceSnapshotId,
3388
+ instanceSnapshotName, instanceSnapshotSizeInGiB, createdTime,
3389
+ instanceSnapshotStatus, instanceId and snapshots(list).
3390
+ Every item of snapshots contains snapshotId, snapshotName,
3391
+ snapshotSizeInGiB, snapshotStatus, volumeId, instanceSnapshotId,
3392
+ creationMethod, description, createdTime, expiredTime, encrypted,
3393
+ imageId, includeDataVolumes, progress and tags. Attention:
3394
+ includeDataVolumes, progress and tags are always null because they are
3395
+ not returned by this interface.
3396
+ :rtype baidubce.bce_response.BceResponse
3397
+ """
3398
+ path = b'/snapshot/insnap/list'
3399
+ body = {}
3400
+ if marker is not None:
3401
+ body['marker'] = marker
3402
+ if max_keys is not None:
3403
+ body['maxKeys'] = max_keys
3404
+ if instance_ids is not None:
3405
+ body['instanceIds'] = instance_ids
3406
+ if instance_snapshot_ids is not None:
3407
+ body['instanceSnapshotIds'] = instance_snapshot_ids
3408
+ return self._send_request(http_methods.POST, path, json.dumps(body), config=config)
3409
+
3244
3410
  @required(name=(bytes, str), # ***Unicode***
3245
3411
  rules=list)
3246
3412
  def create_security_group(self,
@@ -207,3 +207,48 @@ class FileSystemModel(object):
207
207
  self.mountAds = mountAds
208
208
  self.path = path
209
209
  self.protocol = protocol
210
+
211
+
212
+ class InstanceSnapshotStatus(object):
213
+ """
214
+ This class define the status of an instance snapshot (consistent snapshot group).
215
+
216
+ Attention: it is a totally different enum from SnapshotStatus which is used by
217
+ the sub snapshots inside the group. This one keeps the raw lowercase values
218
+ returned by the server, and note that ERROR_DELETING is the only one spelled
219
+ with an underline.
220
+ """
221
+ CREATING = 'creating'
222
+ ACTIVE = 'active'
223
+ ROLLBACK = 'rollback'
224
+ ERROR_ROLLBACK = 'errorRollback'
225
+ DELETING = 'deleting'
226
+ ERROR_DELETING = 'error_deleting'
227
+ ERROR_DELETE = 'errorDelete'
228
+ DELETED = 'deleted'
229
+ ERROR = 'error'
230
+ UNKNOWN = 'unknown'
231
+
232
+
233
+ class SnapshotStatus(object):
234
+ """
235
+ This class define the status of a single volume snapshot, which is used by the
236
+ sub snapshots (the "snapshots" field) inside an instance snapshot group.
237
+
238
+ Attention: the values are capitalized, they do NOT overlap with
239
+ InstanceSnapshotStatus.
240
+ """
241
+ AVAILABLE = 'Available'
242
+ CREATING = 'Creating'
243
+ NOT_AVAILABLE = 'NotAvailable'
244
+ CREATED_FAILED = 'CreatedFailed'
245
+
246
+
247
+ class SnapshotCreationMethod(object):
248
+ """
249
+ This class define how a snapshot was created.
250
+ """
251
+ MANUAL = 'MANUAL'
252
+ AUTO = 'AUTO'
253
+ MIGRATION = 'MIGRATION'
254
+ UNKNOWN = 'UNKNOWN'
@@ -381,6 +381,11 @@ class DuMemoryClient(object):
381
381
  bank_id=bank_id,
382
382
  **self._kw(**self._options_kwargs(options))))
383
383
 
384
+ def get_operation_status(self, bank_id, operation_id):
385
+ """GET /v1/default/banks/{bankId}/operations/{operationId}."""
386
+ return _run_async(self._operations.get_operation_status(
387
+ bank_id=bank_id, operation_id=operation_id, **self._kw()))
388
+
384
389
  def cancel_operation(self, bank_id, operation_id):
385
390
  """DELETE /v1/default/banks/{bankId}/operations/{operationId}."""
386
391
  return _run_async(self._operations.cancel_operation(
@@ -139,7 +139,7 @@ def _install_hindsight_stubs():
139
139
  "update_directive", "delete_directive",
140
140
  ]),
141
141
  "operations_api": ("OperationsApi", [
142
- "list_operations", "cancel_operation",
142
+ "list_operations", "get_operation_status", "cancel_operation",
143
143
  ]),
144
144
  "entities_api": ("EntitiesApi", [
145
145
  "list_entities", "get_entity_graph",
@@ -608,6 +608,16 @@ class OperationsTest(unittest.TestCase):
608
608
  self.assertEqual(kw["status"], "pending")
609
609
  self.assertEqual(kw["limit"], 5)
610
610
 
611
+ def test_get_operation_status(self):
612
+ """Verify get operation status behavior."""
613
+ cli = _new_client()
614
+ cli.get_operation_status("b", "op")
615
+ api, method, kw = _last_call()
616
+ self.assertEqual((api, method),
617
+ ("OperationsApi", "get_operation_status"))
618
+ self.assertEqual(kw["bank_id"], "b")
619
+ self.assertEqual(kw["operation_id"], "op")
620
+
611
621
  def test_cancel_operation(self):
612
622
  """Verify cancel operation behavior."""
613
623
  cli = _new_client()
@@ -911,7 +921,7 @@ class CoverageTest(unittest.TestCase):
911
921
  "refresh_mental_model",
912
922
  "list_directives", "create_directive", "get_directive",
913
923
  "update_directive", "delete_directive",
914
- "list_operations", "cancel_operation",
924
+ "list_operations", "get_operation_status", "cancel_operation",
915
925
  "files_retain",
916
926
  "retain_with_scope", "recall_with_scope", "reflect_with_scope",
917
927
  "get_memory_with_scope", "list_tags_with_scope",