bce-python-sdk 0.9.35__tar.gz → 0.9.39__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.35 → bce_python_sdk-0.9.39}/PKG-INFO +1 -1
  2. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/__init__.py +1 -1
  3. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/bcc/bcc_client.py +554 -1
  4. bce_python_sdk-0.9.39/baidubce/services/bls/bls_client.py +265 -0
  5. bce_python_sdk-0.9.39/baidubce/services/bls/bls_handler.py +62 -0
  6. bce_python_sdk-0.9.39/baidubce/services/bls/bls_model.py +55 -0
  7. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/bos/bos_client.py +6 -1
  8. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/subnet/subnet_client.py +6 -1
  9. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/vpc/vpc_client.py +7 -1
  10. bce_python_sdk-0.9.39/baidubce/services/vpn/__init__.py +0 -0
  11. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/bce_python_sdk.egg-info/PKG-INFO +1 -1
  12. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/bce_python_sdk.egg-info/SOURCES.txt +4 -0
  13. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/setup.py +2 -1
  14. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/README.txt +0 -0
  15. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/auth/__init__.py +0 -0
  16. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/auth/bce_credentials.py +0 -0
  17. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/auth/bce_v1_signer.py +0 -0
  18. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/bce_base_client.py +0 -0
  19. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/bce_client_configuration.py +0 -0
  20. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/bce_response.py +0 -0
  21. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/compat.py +0 -0
  22. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/exception.py +0 -0
  23. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/http/__init__.py +0 -0
  24. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/http/bce_http_client.py +0 -0
  25. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/http/handler.py +0 -0
  26. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/http/http_content_types.py +0 -0
  27. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/http/http_headers.py +0 -0
  28. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/http/http_methods.py +0 -0
  29. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/protocol.py +0 -0
  30. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/region.py +0 -0
  31. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/retry/__init__.py +0 -0
  32. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/retry/retry_policy.py +0 -0
  33. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/__init__.py +0 -0
  34. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/autoscaling/__init__.py +0 -0
  35. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/autoscaling/as_client.py +0 -0
  36. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/autoscaling/as_handler.py +0 -0
  37. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/autoscaling/as_model.py +0 -0
  38. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/bbc/__init__.py +0 -0
  39. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/bbc/bbc_client.py +0 -0
  40. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/bbc/bbc_model.py +0 -0
  41. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/bcc/__init__.py +0 -0
  42. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/bcc/bcc_model.py +0 -0
  43. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/bcc/fpga_card_type.py +0 -0
  44. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/bcc/gpu_card_type.py +0 -0
  45. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/bcm/__init__.py +0 -0
  46. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/bcm/bcm_client.py +0 -0
  47. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/bcm/bcm_handler.py +0 -0
  48. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/bcm/bcm_model.py +0 -0
  49. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/bes/__init__.py +0 -0
  50. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/bes/bes_client.py +0 -0
  51. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/bes/bes_model.py +0 -0
  52. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/blb/__init__.py +0 -0
  53. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/blb/app_blb_client.py +0 -0
  54. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/blb/blb_client.py +0 -0
  55. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/blb/user_service_client.py +0 -0
  56. {bce_python_sdk-0.9.35/baidubce/services/bmr → bce_python_sdk-0.9.39/baidubce/services/bls}/__init__.py +0 -0
  57. {bce_python_sdk-0.9.35/baidubce/services/ca → bce_python_sdk-0.9.39/baidubce/services/bmr}/__init__.py +0 -0
  58. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/bmr/bmr_client.py +0 -0
  59. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/bos/__init__.py +0 -0
  60. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/bos/bos_handler.py +0 -0
  61. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/bos/canned_acl.py +0 -0
  62. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/bos/common.py +0 -0
  63. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/bos/storage_class.py +0 -0
  64. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/bts/__init__.py +0 -0
  65. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/bts/bts_client.py +0 -0
  66. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/bts/model.py +0 -0
  67. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/bts/util.py +0 -0
  68. {bce_python_sdk-0.9.35/baidubce/services/cdn → bce_python_sdk-0.9.39/baidubce/services/ca}/__init__.py +0 -0
  69. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/ca/ca_client.py +0 -0
  70. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/ca/ca_handler.py +0 -0
  71. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/ca/ca_model.py +0 -0
  72. {bce_python_sdk-0.9.35/baidubce/services/cert → bce_python_sdk-0.9.39/baidubce/services/cdn}/__init__.py +0 -0
  73. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/cdn/cdn_client.py +0 -0
  74. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/cdn/cdn_stats_param.py +0 -0
  75. {bce_python_sdk-0.9.35/baidubce/services/cfc → bce_python_sdk-0.9.39/baidubce/services/cert}/__init__.py +0 -0
  76. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/cert/cert_client.py +0 -0
  77. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/cert/cert_model.py +0 -0
  78. {bce_python_sdk-0.9.35/baidubce/services/csn → bce_python_sdk-0.9.39/baidubce/services/cfc}/__init__.py +0 -0
  79. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/cfc/cfc_client.py +0 -0
  80. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/cfc/cfc_handler.py +0 -0
  81. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/cfc/models.py +0 -0
  82. {bce_python_sdk-0.9.35/baidubce/services/ddc → bce_python_sdk-0.9.39/baidubce/services/csn}/__init__.py +0 -0
  83. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/csn/csn_api.py +0 -0
  84. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/csn/csn_client.py +0 -0
  85. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/csn/csn_model.py +0 -0
  86. {bce_python_sdk-0.9.35/baidubce/services/dns → bce_python_sdk-0.9.39/baidubce/services/ddc}/__init__.py +0 -0
  87. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/ddc/ddc_client.py +0 -0
  88. {bce_python_sdk-0.9.35/baidubce/services/dns/api → bce_python_sdk-0.9.39/baidubce/services/dns}/__init__.py +0 -0
  89. {bce_python_sdk-0.9.35/baidubce/services/dumap → bce_python_sdk-0.9.39/baidubce/services/dns/api}/__init__.py +0 -0
  90. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/dns/api/dns_api.py +0 -0
  91. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/dns/dns_client.py +0 -0
  92. {bce_python_sdk-0.9.35/baidubce/services/eip → bce_python_sdk-0.9.39/baidubce/services/dumap}/__init__.py +0 -0
  93. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/dumap/dumap_client.py +0 -0
  94. {bce_python_sdk-0.9.35/baidubce/services/endpoint → bce_python_sdk-0.9.39/baidubce/services/eip}/__init__.py +0 -0
  95. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/eip/eip_bp_client.py +0 -0
  96. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/eip/eip_client.py +0 -0
  97. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/eip/eip_group_client.py +0 -0
  98. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/eip/eip_group_model.py +0 -0
  99. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/eip/eip_tp_client.py +0 -0
  100. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/eip/model.py +0 -0
  101. {bce_python_sdk-0.9.35/baidubce/services/eni → bce_python_sdk-0.9.39/baidubce/services/endpoint}/__init__.py +0 -0
  102. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/endpoint/endpoint_client.py +0 -0
  103. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/endpoint/model.py +0 -0
  104. {bce_python_sdk-0.9.35/baidubce/services/esg → bce_python_sdk-0.9.39/baidubce/services/eni}/__init__.py +0 -0
  105. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/eni/eni_client.py +0 -0
  106. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/eni/eni_model.py +0 -0
  107. {bce_python_sdk-0.9.35/baidubce/services/et → bce_python_sdk-0.9.39/baidubce/services/esg}/__init__.py +0 -0
  108. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/esg/esg_client.py +0 -0
  109. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/esg/esg_model.py +0 -0
  110. {bce_python_sdk-0.9.35/baidubce/services/etGateway → bce_python_sdk-0.9.39/baidubce/services/et}/__init__.py +0 -0
  111. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/et/et_client.py +0 -0
  112. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/et/model.py +0 -0
  113. {bce_python_sdk-0.9.35/baidubce/services/ipv6gateway → bce_python_sdk-0.9.39/baidubce/services/etGateway}/__init__.py +0 -0
  114. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/etGateway/et_gateway_client.py +0 -0
  115. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/havip/havip_client.py +0 -0
  116. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/iam/__init__.py +0 -0
  117. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/iam/iam_client.py +0 -0
  118. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/infinite/__init__.py +0 -0
  119. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/infinite/infinite_client.py +0 -0
  120. {bce_python_sdk-0.9.35/baidubce/services/kms → bce_python_sdk-0.9.39/baidubce/services/ipv6gateway}/__init__.py +0 -0
  121. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/ipv6gateway/ipv6gateway_client.py +0 -0
  122. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/ipv6gateway/ipv6gateway_model.py +0 -0
  123. {bce_python_sdk-0.9.35/baidubce/services/lbdc → bce_python_sdk-0.9.39/baidubce/services/kms}/__init__.py +0 -0
  124. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/kms/keyspec_class.py +0 -0
  125. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/kms/kms_client.py +0 -0
  126. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/kms/origin_class.py +0 -0
  127. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/kms/protectedby_class.py +0 -0
  128. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/kms/publickeyencoding_class.py +0 -0
  129. {bce_python_sdk-0.9.35/baidubce/services/localdns → bce_python_sdk-0.9.39/baidubce/services/lbdc}/__init__.py +0 -0
  130. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/lbdc/lbdc_client.py +0 -0
  131. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/lbdc/model.py +0 -0
  132. {bce_python_sdk-0.9.35/baidubce/services/localdns/api → bce_python_sdk-0.9.39/baidubce/services/localdns}/__init__.py +0 -0
  133. {bce_python_sdk-0.9.35/baidubce/services/media → bce_python_sdk-0.9.39/baidubce/services/localdns/api}/__init__.py +0 -0
  134. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/localdns/api/ld_api.py +0 -0
  135. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/localdns/ld_client.py +0 -0
  136. {bce_python_sdk-0.9.35/baidubce/services/oos → bce_python_sdk-0.9.39/baidubce/services/media}/__init__.py +0 -0
  137. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/media/media_client.py +0 -0
  138. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/media/media_handler.py +0 -0
  139. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/mms/__init__.py +0 -0
  140. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/mms/mms_client.py +0 -0
  141. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/mvs/__init__.py +0 -0
  142. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/mvs/mvs_client.py +0 -0
  143. {bce_python_sdk-0.9.35/baidubce/services/probe → bce_python_sdk-0.9.39/baidubce/services/oos}/__init__.py +0 -0
  144. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/oos/oos_client.py +0 -0
  145. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/oos/oos_model.py +0 -0
  146. {bce_python_sdk-0.9.35/baidubce/services/route → bce_python_sdk-0.9.39/baidubce/services/probe}/__init__.py +0 -0
  147. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/probe/probe_client.py +0 -0
  148. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/rds/__init__.py +0 -0
  149. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/rds/rds_client.py +0 -0
  150. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/rds/rds_model.py +0 -0
  151. {bce_python_sdk-0.9.35/baidubce/services/subnet → bce_python_sdk-0.9.39/baidubce/services/route}/__init__.py +0 -0
  152. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/route/route_client.py +0 -0
  153. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/route/route_model.py +0 -0
  154. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/scs/__init__.py +0 -0
  155. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/scs/model.py +0 -0
  156. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/scs/scs_client.py +0 -0
  157. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/sms/__init__.py +0 -0
  158. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/sms/model.py +0 -0
  159. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/sms/sms_client.py +0 -0
  160. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/sts/__init__.py +0 -0
  161. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/sts/sts_client.py +0 -0
  162. {bce_python_sdk-0.9.35/baidubce/services/tsdb → bce_python_sdk-0.9.39/baidubce/services/subnet}/__init__.py +0 -0
  163. {bce_python_sdk-0.9.35/baidubce/services/vca → bce_python_sdk-0.9.39/baidubce/services/tsdb}/__init__.py +0 -0
  164. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/tsdb/tsdb_admin_client.py +0 -0
  165. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/tsdb/tsdb_client.py +0 -0
  166. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/tsdb/tsdb_handler.py +0 -0
  167. {bce_python_sdk-0.9.35/baidubce/services/vcr → bce_python_sdk-0.9.39/baidubce/services/vca}/__init__.py +0 -0
  168. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/vca/vca_client.py +0 -0
  169. {bce_python_sdk-0.9.35/baidubce/services/vpc → bce_python_sdk-0.9.39/baidubce/services/vcr}/__init__.py +0 -0
  170. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/vcr/vcr_client.py +0 -0
  171. {bce_python_sdk-0.9.35/baidubce/services/vpn → bce_python_sdk-0.9.39/baidubce/services/vpc}/__init__.py +0 -0
  172. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/vpc/acl_client.py +0 -0
  173. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/vpc/nat_client.py +0 -0
  174. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/vpc/nat_model.py +0 -0
  175. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/vpc/peerconn_client.py +0 -0
  176. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/vpc/peerconn_model.py +0 -0
  177. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/vpc/template_client.py +0 -0
  178. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/vpc/template_model.py +0 -0
  179. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/vpn/vpn_client.py +0 -0
  180. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/services/vpn/vpn_model.py +0 -0
  181. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/baidubce/utils.py +0 -0
  182. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/bce_python_sdk.egg-info/dependency_links.txt +0 -0
  183. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/bce_python_sdk.egg-info/requires.txt +0 -0
  184. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/bce_python_sdk.egg-info/top_level.txt +0 -0
  185. {bce_python_sdk-0.9.35 → bce_python_sdk-0.9.39}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bce-python-sdk
3
- Version: 0.9.35
3
+ Version: 0.9.39
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.35'
21
+ SDK_VERSION = b'0.9.39'
22
22
  DEFAULT_SERVICE_DOMAIN = b'bcebos.com'
23
23
  URL_PREFIX = b'/v1'
24
24
  DEFAULT_ENCODING = 'UTF-8'
@@ -77,6 +77,17 @@ class BccClient(bce_base_client.BceBaseClient):
77
77
  config, bce_v1_signer.sign, [handler.parse_error, body_parser],
78
78
  http_method, prefix + path, body, headers, params)
79
79
 
80
+ def _send_action_request(self, http_method, path,
81
+ body=None, headers=None, params=None,
82
+ config=None, body_parser=None):
83
+ config = self._merge_config(config)
84
+ if body_parser is None:
85
+ body_parser = handler.parse_json
86
+
87
+ return bce_http_client.send_request(
88
+ config, bce_v1_signer.sign, [handler.parse_error, body_parser],
89
+ http_method, path, body, headers, params)
90
+
80
91
  @required(cpu_count=int,
81
92
  memory_capacity_in_gb=int,
82
93
  image_id=(bytes, str)) # ***Unicode***
@@ -3182,7 +3193,7 @@ class BccClient(bce_base_client.BceBaseClient):
3182
3193
  return self._send_request(http_methods.POST, path, json.dumps(body),
3183
3194
  params=params, config=config)
3184
3195
 
3185
- def list_security_groups(self, instance_id=None, vpc_id=None, marker=None, max_keys=None,
3196
+ def list_security_groups(self, instance_id=None, vpc_id=None, security_group_ids=None, marker=None, max_keys=None,
3186
3197
  config=None):
3187
3198
  """
3188
3199
  Listing SecurityGroup owned by the authenticated user.
@@ -3196,6 +3207,10 @@ class BccClient(bce_base_client.BceBaseClient):
3196
3207
  filter by vpcId, optional parameter
3197
3208
  :type vpc_id: string
3198
3209
 
3210
+ :param security_group_ids:
3211
+ filter by securityGroupIds, optional parameter
3212
+ :type security_group_ids: string
3213
+
3199
3214
  :param marker:
3200
3215
  The optional parameter marker specified in the original request to specify
3201
3216
  where in the results to begin listing.
@@ -3217,6 +3232,8 @@ class BccClient(bce_base_client.BceBaseClient):
3217
3232
  params['instanceId'] = instance_id
3218
3233
  if vpc_id is not None:
3219
3234
  params['vpcId'] = vpc_id
3235
+ if security_group_ids is not None:
3236
+ params['securityGroupIds'] = security_group_ids
3220
3237
  if marker is not None:
3221
3238
  params['marker'] = marker
3222
3239
  if max_keys is not None:
@@ -7056,6 +7073,542 @@ class BccClient(bce_base_client.BceBaseClient):
7056
7073
  return self._send_request(http_methods.PUT, path, json.dumps(body),
7057
7074
  params=params, config=config)
7058
7075
 
7076
+ def authorize_server_event(self, authorize_maintenance_operation, server_event_id=None, instance_id=None,
7077
+ execute_time=None, config=None, client_token=None):
7078
+ """
7079
+ authorize_server_event
7080
+
7081
+ :param authorize_maintenance_operation:
7082
+ Authorized operation and maintenance operations
7083
+ :type authorize_maintenance_operation: string
7084
+
7085
+ :param server_event_id:
7086
+ event Id.
7087
+ :type marker: string
7088
+
7089
+ :param instance_id:
7090
+ Instance Id, server Event ID, instance ID must select one of the request options
7091
+ :type max_keys: string
7092
+
7093
+ :param execute_time:
7094
+ Authorized execution time,
7095
+ The format is yyyy-MM-dd'T'HH: mm: ss'Z ', if it is empty, query the operation log of the day
7096
+ :type execute_time: string
7097
+
7098
+ :return:
7099
+ :rtype baidubce.bce_response.BceResponse
7100
+ """
7101
+ path = b'/'
7102
+ params = {}
7103
+ if client_token is None:
7104
+ params['clientToken'] = generate_client_token()
7105
+ else:
7106
+ params['clientToken'] = client_token
7107
+ params['action'] = 'AuthorizeServerEvent'
7108
+ body = {
7109
+ 'serverEventId': server_event_id,
7110
+ 'instanceId': instance_id,
7111
+ 'authorizeMaintenanceOperation': authorize_maintenance_operation,
7112
+ 'executeTime': execute_time
7113
+ }
7114
+ return self._send_action_request(http_methods.POST, path, json.dumps(body),
7115
+ params=params, config=config)
7116
+
7117
+ def create_authorize_rule(self, server_event_category, authorize_maintenance_operations, rule_name,
7118
+ enable_rule=None, effective_scope=None, tags=None, config=None, client_token=None):
7119
+ """
7120
+ create_authorize_rule
7121
+
7122
+ :param server_event_category:
7123
+ Server Event Category
7124
+ :type server_event_category: string
7125
+
7126
+ :param authorize_maintenance_operations:
7127
+ Authorized operation and maintenance operations
7128
+ :type authorize_maintenance_operations: list
7129
+
7130
+ :param rule_name:
7131
+ Rule Name
7132
+ :type rule_name: string
7133
+
7134
+ :param enable_rule:
7135
+ Whether to enable the rule
7136
+ :type enable_rule: int
7137
+
7138
+ :param effective_scope:
7139
+ Effective scope
7140
+ :type effective_scope: String
7141
+
7142
+ :param tags:
7143
+ Tag information
7144
+ :type tags: list
7145
+
7146
+ :return:
7147
+ :rtype baidubce.bce_response.BceResponse
7148
+ """
7149
+ path = b'/'
7150
+ params = {}
7151
+ if client_token is None:
7152
+ params['clientToken'] = generate_client_token()
7153
+ else:
7154
+ params['clientToken'] = client_token
7155
+ params['action'] = 'CreateAuthorizeRule'
7156
+ body = {
7157
+ 'enableRule': enable_rule,
7158
+ 'serverEventCategory': server_event_category,
7159
+ 'authorizeMaintenanceOperations': authorize_maintenance_operations,
7160
+ 'tags': tags,
7161
+ 'effectiveScope': effective_scope,
7162
+ 'ruleName': rule_name
7163
+ }
7164
+ return self._send_action_request(http_methods.POST, path, json.dumps(body),
7165
+ params=params, config=config)
7166
+
7167
+ def modify_authorize_rule(self, rule_id, authorize_maintenance_operations=None, rule_name=None,
7168
+ enable_rule=None, effective_scope=None, tags=None, config=None, client_token=None):
7169
+ """
7170
+ modify_authorize_rule
7171
+
7172
+ :param rule_id:
7173
+ rule_id to be modified
7174
+ :type rule_id: string
7175
+
7176
+ :param authorize_maintenance_operations:
7177
+ Authorized operation and maintenance operations
7178
+ :type authorize_maintenance_operations: list
7179
+
7180
+ :param rule_name:
7181
+ Rule Name
7182
+ :type rule_name: string
7183
+
7184
+ :param enable_rule:
7185
+ Whether to enable the rule
7186
+ :type enable_rule: int
7187
+
7188
+ :param effective_scope:
7189
+ Effective scope
7190
+ :type effective_scope: String
7191
+
7192
+ :param tags:
7193
+ Tag information
7194
+ :type tags: list
7195
+
7196
+ :return:
7197
+ :rtype baidubce.bce_response.BceResponse
7198
+ """
7199
+ path = b'/'
7200
+ params = {}
7201
+ if client_token is None:
7202
+ params['clientToken'] = generate_client_token()
7203
+ else:
7204
+ params['clientToken'] = client_token
7205
+ params['action'] = 'ModifyInstUserOpAuthorizeRuleAttribute'
7206
+ body = {
7207
+ 'enableRule': enable_rule,
7208
+ 'authorizeMaintenanceOperations': authorize_maintenance_operations,
7209
+ 'tags': tags,
7210
+ 'effectiveScope': effective_scope,
7211
+ 'ruleName': rule_name,
7212
+ "ruleId": rule_id
7213
+ }
7214
+ return self._send_action_request(http_methods.POST, path, json.dumps(body),
7215
+ params=params, config=config)
7216
+
7217
+ def delete_authorize_rule(self, rule_id, config=None, client_token=None):
7218
+ """
7219
+ delete_authorize_rule
7220
+
7221
+ :param rule_id:
7222
+ rule_id to be deleted
7223
+ :type rule_id: string
7224
+
7225
+ :return:
7226
+ :rtype baidubce.bce_response.BceResponse
7227
+ """
7228
+ path = b'/'
7229
+ params = {}
7230
+ if client_token is None:
7231
+ params['clientToken'] = generate_client_token()
7232
+ else:
7233
+ params['clientToken'] = client_token
7234
+ params['action'] = 'DeleteInstUserOpAuthorizeRule'
7235
+ body = {
7236
+ 'ruleId': rule_id
7237
+ }
7238
+ return self._send_action_request(http_methods.POST, path, json.dumps(body),
7239
+ params=params, config=config)
7240
+
7241
+ def describe_authorize_rules(self, max_keys, marker=None, rule_ids=None, rule_names=None, config=None):
7242
+ """
7243
+ describe_authorize_rules
7244
+
7245
+ :param max_keys:
7246
+ The optional parameter to specifies the max number of list result to return.
7247
+ The default value is 10.
7248
+ :type max_keys: int
7249
+
7250
+ :param marker:
7251
+ The optional parameter marker specified in the original request to specify
7252
+ where in the results to begin listing.
7253
+ Together with the marker, specifies the list result which listing should begin.
7254
+ If the marker is not specified, the list result will listing from the first one.
7255
+ :type marker: string
7256
+
7257
+ :param rule_ids:
7258
+ filter rule list with multiple rule ids
7259
+ :type rule_ids: string
7260
+
7261
+ :param rule_names:
7262
+ filter rule list with multiple rule names
7263
+ :type rule_names: list
7264
+
7265
+ :return:
7266
+ :rtype baidubce.bce_response.BceResponse
7267
+ """
7268
+ path = b'/'
7269
+ params = {}
7270
+ params['action'] = 'DescribeAuthorizeRules'
7271
+ body = {
7272
+ "marker": marker,
7273
+ "maxKeys": max_keys,
7274
+ "ruleIds": rule_ids,
7275
+ "ruleNames": rule_names
7276
+ }
7277
+ return self._send_action_request(http_methods.POST, path, json.dumps(body),
7278
+ params=params, config=config)
7279
+
7280
+ def describe_planned_events(self, max_keys, marker=None, server_event_ids=None, instance_ids=None,
7281
+ product_category=None, server_event_type=None, server_event_log_time_filter=None,
7282
+ period_start_time=None, period_end_time=None, server_event_status=None, config=None):
7283
+ """
7284
+ describe_planned_events
7285
+
7286
+ :param max_keys:
7287
+ The optional parameter to specifies the max number of list result to return.
7288
+ The default value is 10.
7289
+ :type max_keys: int
7290
+
7291
+ :param marker:
7292
+ The optional parameter marker specified in the original request to specify
7293
+ where in the results to begin listing.
7294
+ Together with the marker, specifies the list result which listing should begin.
7295
+ If the marker is not specified, the list result will listing from the first one.
7296
+ :type marker: string
7297
+
7298
+ :param server_event_ids:
7299
+ filter planned event list with multiple server event ids
7300
+ :type server_event_ids: list of string
7301
+
7302
+ :param instance_ids:
7303
+ filter planned event list with multiple instance ids
7304
+ :type instance_ids: list of string
7305
+
7306
+ :param product_category:
7307
+ filter planned event list with product_category
7308
+ :type product_category: string
7309
+
7310
+ :param server_event_type:
7311
+ filter planned event list with server_event_type
7312
+ :type server_event_type: string
7313
+
7314
+ :param server_event_log_time_filter:
7315
+ filter planned event list with server_event_log_time_filter,
7316
+ The format is yyyy-MM-dd'T'HH: mm: ss'Z ', if it is empty, query the operation log of the day
7317
+ :type server_event_log_time_filter: string
7318
+
7319
+ :param period_start_time:
7320
+ filter planned event list with period_start_time,
7321
+ The format is yyyy-MM-dd'T'HH: mm: ss'Z ', if it is empty, query the operation log of the day
7322
+ :type period_start_time: string
7323
+
7324
+ :param period_end_time:
7325
+ filter planned event list with period_end_time,
7326
+ The format is yyyy-MM-dd'T'HH: mm: ss'Z ', if it is empty, query the operation log of the day
7327
+ :type period_end_time: string
7328
+
7329
+ :param server_event_status:
7330
+ filter planned event list with server_event_status
7331
+ :type server_event_status: string
7332
+
7333
+ :return:
7334
+ :rtype baidubce.bce_response.BceResponse
7335
+ """
7336
+ path = b'/'
7337
+ params = {}
7338
+ params['action'] = 'DescribePlannedEvents'
7339
+ body = {
7340
+ "marker": marker,
7341
+ "maxKeys": max_keys,
7342
+ "serverEventIds": server_event_ids,
7343
+ "instanceIds": instance_ids,
7344
+ "productCategory": product_category,
7345
+ "serverEventType": server_event_type,
7346
+ "serverEventLogTimeFilter": server_event_log_time_filter,
7347
+ "periodStartTime": period_start_time,
7348
+ "periodEndTime": period_end_time,
7349
+ "serverEventStatus": server_event_status
7350
+ }
7351
+ return self._send_action_request(http_methods.POST, path, json.dumps(body),
7352
+ params=params, config=config)
7353
+
7354
+ def describe_planned_recored_events(self, max_keys, marker=None, server_event_ids=None, instance_ids=None,
7355
+ product_category=None, server_event_type=None,
7356
+ server_event_log_time_filter=None, period_start_time=None,
7357
+ period_end_time=None, config=None):
7358
+ """
7359
+ describe_planned_recored_events
7360
+
7361
+ :param max_keys:
7362
+ The optional parameter to specifies the max number of list result to return.
7363
+ The default value is 10.
7364
+ :type max_keys: int
7365
+
7366
+ :param marker:
7367
+ The optional parameter marker specified in the original request to specify
7368
+ where in the results to begin listing.
7369
+ Together with the marker, specifies the list result which listing should begin.
7370
+ If the marker is not specified, the list result will listing from the first one.
7371
+ :type marker: string
7372
+
7373
+ :param server_event_ids:
7374
+ filter planned event list with multiple server event ids
7375
+ :type server_event_ids: list of string
7376
+
7377
+ :param instance_ids:
7378
+ filter planned event list with multiple instance ids
7379
+ :type instance_ids: list of string
7380
+
7381
+ :param product_category:
7382
+ filter planned event list with product_category
7383
+ :type product_category: string
7384
+
7385
+ :param server_event_type:
7386
+ filter planned event list with server_event_type
7387
+ :type server_event_type: string
7388
+
7389
+ :param server_event_log_time_filter:
7390
+ filter planned event list with server_event_log_time_filter,
7391
+ The format is yyyy-MM-dd'T'HH: mm: ss'Z ', if it is empty, query the operation log of the day
7392
+ :type server_event_log_time_filter: string
7393
+
7394
+ :param period_start_time:
7395
+ filter planned event list with period_start_time,
7396
+ The format is yyyy-MM-dd'T'HH: mm: ss'Z ', if it is empty, query the operation log of the day
7397
+ :type period_start_time: string
7398
+
7399
+ :param period_end_time:
7400
+ filter planned event list with period_end_time,
7401
+ The format is yyyy-MM-dd'T'HH: mm: ss'Z ', if it is empty, query the operation log of the day
7402
+ :type period_end_time: string
7403
+
7404
+ :return:
7405
+ :rtype baidubce.bce_response.BceResponse
7406
+ """
7407
+ path = b'/'
7408
+ params = {}
7409
+ params['action'] = 'DescribePlannedEventRecords'
7410
+ body = {
7411
+ "marker": marker,
7412
+ "maxKeys": max_keys,
7413
+ "serverEventIds": server_event_ids,
7414
+ "instanceIds": instance_ids,
7415
+ "productCategory": product_category,
7416
+ "serverEventType": server_event_type,
7417
+ "serverEventLogTimeFilter": server_event_log_time_filter,
7418
+ "periodStartTime": period_start_time,
7419
+ "periodEndTime": period_end_time
7420
+ }
7421
+ return self._send_action_request(http_methods.POST, path, json.dumps(body),
7422
+ params=params, config=config)
7423
+
7424
+ def describe_unplanned_events(self, max_keys, marker=None, server_event_ids=None, instance_ids=None,
7425
+ product_category=None, server_event_type=None, server_event_log_time_filter=None,
7426
+ period_start_time=None, period_end_time=None, server_event_status=None, config=None):
7427
+ """
7428
+ describe_unplanned_events
7429
+
7430
+ :param max_keys:
7431
+ The optional parameter to specifies the max number of list result to return.
7432
+ The default value is 10.
7433
+ :type max_keys: int
7434
+
7435
+ :param marker:
7436
+ The optional parameter marker specified in the original request to specify
7437
+ where in the results to begin listing.
7438
+ Together with the marker, specifies the list result which listing should begin.
7439
+ If the marker is not specified, the list result will listing from the first one.
7440
+ :type marker: string
7441
+
7442
+ :param server_event_ids:
7443
+ filter unplanned event list with multiple server event ids
7444
+ :type server_event_ids: list of string
7445
+
7446
+ :param instance_ids:
7447
+ filter unplanned event list with multiple instance ids
7448
+ :type instance_ids: list of string
7449
+
7450
+ :param product_category:
7451
+ filter unplanned event list with product_category
7452
+ :type product_category: string
7453
+
7454
+ :param server_event_type:
7455
+ filter unplanned event list with server_event_type
7456
+ :type server_event_type: string
7457
+
7458
+ :param server_event_log_time_filter:
7459
+ filter unplanned event list with server_event_log_time_filter,
7460
+ The format is yyyy-MM-dd'T'HH: mm: ss'Z ', if it is empty, query the operation log of the day
7461
+ :type server_event_log_time_filter: string
7462
+
7463
+ :param period_start_time:
7464
+ filter unplanned event list with period_start_time,
7465
+ The format is yyyy-MM-dd'T'HH: mm: ss'Z ', if it is empty, query the operation log of the day
7466
+ :type period_start_time: string
7467
+
7468
+ :param period_end_time:
7469
+ filter unplanned event list with period_end_time,
7470
+ The format is yyyy-MM-dd'T'HH: mm: ss'Z ', if it is empty, query the operation log of the day
7471
+ :type period_end_time: string
7472
+
7473
+ :param server_event_status:
7474
+ filter unplanned event list with server_event_status
7475
+ :type server_event_status: string
7476
+
7477
+ :return:
7478
+ :rtype baidubce.bce_response.BceResponse
7479
+ """
7480
+ path = b'/'
7481
+ params = {}
7482
+ params['action'] = 'DescribeUnplannedEvents'
7483
+ body = {
7484
+ "marker": marker,
7485
+ "maxKeys": max_keys,
7486
+ "serverEventIds": server_event_ids,
7487
+ "instanceIds": instance_ids,
7488
+ "productCategory": product_category,
7489
+ "serverEventType": server_event_type,
7490
+ "serverEventLogTimeFilter": server_event_log_time_filter,
7491
+ "periodStartTime": period_start_time,
7492
+ "periodEndTime": period_end_time,
7493
+ "serverEventStatus": server_event_status
7494
+ }
7495
+ return self._send_action_request(http_methods.POST, path, json.dumps(body),
7496
+ params=params, config=config)
7497
+
7498
+ def describe_unplanned_recored_events(self, max_keys, marker=None, server_event_ids=None, instance_ids=None,
7499
+ product_category=None, server_event_type=None,
7500
+ server_event_log_time_filter=None, period_start_time=None,
7501
+ period_end_time=None, config=None):
7502
+ """
7503
+ describe_unplanned_recored_events
7504
+
7505
+ :param max_keys:
7506
+ The optional parameter to specifies the max number of list result to return.
7507
+ The default value is 10.
7508
+ :type max_keys: int
7509
+
7510
+ :param marker:
7511
+ The optional parameter marker specified in the original request to specify
7512
+ where in the results to begin listing.
7513
+ Together with the marker, specifies the list result which listing should begin.
7514
+ If the marker is not specified, the list result will listing from the first one.
7515
+ :type marker: string
7516
+
7517
+ :param server_event_ids:
7518
+ filter unplanned event list with multiple server event ids
7519
+ :type server_event_ids: list of string
7520
+
7521
+ :param instance_ids:
7522
+ filter unplanned event list with multiple instance ids
7523
+ :type instance_ids: list of string
7524
+
7525
+ :param product_category:
7526
+ filter unplanned event list with product_category
7527
+ :type product_category: string
7528
+
7529
+ :param server_event_type:
7530
+ filter unplanned event list with server_event_type
7531
+ :type server_event_type: string
7532
+
7533
+ :param server_event_log_time_filter:
7534
+ filter unplanned event list with server_event_log_time_filter,
7535
+ The format is yyyy-MM-dd'T'HH: mm: ss'Z ', if it is empty, query the operation log of the day
7536
+ :type server_event_log_time_filter: string
7537
+
7538
+ :param period_start_time:
7539
+ filter unplanned event list with period_start_time,
7540
+ The format is yyyy-MM-dd'T'HH: mm: ss'Z ', if it is empty, query the operation log of the day
7541
+ :type period_start_time: string
7542
+
7543
+ :param period_end_time:
7544
+ filter unplanned event list with period_end_time,
7545
+ The format is yyyy-MM-dd'T'HH: mm: ss'Z ', if it is empty, query the operation log of the day
7546
+ :type period_end_time: string
7547
+
7548
+ :return:
7549
+ :rtype baidubce.bce_response.BceResponse
7550
+ """
7551
+ path = b'/'
7552
+ params = {}
7553
+ params['action'] = 'DescribeUnplannedEventRecords'
7554
+ body = {
7555
+ "marker": marker,
7556
+ "maxKeys": max_keys,
7557
+ "serverEventIds": server_event_ids,
7558
+ "instanceIds": instance_ids,
7559
+ "productCategory": product_category,
7560
+ "serverEventType": server_event_type,
7561
+ "serverEventLogTimeFilter": server_event_log_time_filter,
7562
+ "periodStartTime": period_start_time,
7563
+ "periodEndTime": period_end_time
7564
+ }
7565
+ return self._send_action_request(http_methods.POST, path, json.dumps(body),
7566
+ params=params, config=config)
7567
+
7568
+ def check_unplanned_event(self, server_event_id, check_result, issue_effect=None, issue_description=None,
7569
+ authorize_maintenance_operation=None, config=None, client_token=None):
7570
+ """
7571
+ check_unplanned_event
7572
+
7573
+ :param server_event_id:
7574
+ server_event_id to be check
7575
+ :type server_event_id: string
7576
+
7577
+ :param check_result:
7578
+ Whether unplanned events have passed the acceptance, supporting parameters Pass and Reject
7579
+ :type check_result: string
7580
+
7581
+ :param issue_effect:
7582
+ Fault effect must be passed when the fault acceptance is rejected
7583
+ :type issue_effect: string
7584
+
7585
+ :param issue_description:
7586
+ Fault description must be passed when the fault acceptance is rejected
7587
+ :type issue_description: string
7588
+
7589
+ :param authorize_maintenance_operation:
7590
+ Authorized operation and maintenance
7591
+ :type authorize_maintenance_operation: string
7592
+
7593
+ :return:
7594
+ :rtype baidubce.bce_response.BceResponse
7595
+ """
7596
+ path = b'/'
7597
+ params = {}
7598
+ if client_token is None:
7599
+ params['clientToken'] = generate_client_token()
7600
+ else:
7601
+ params['clientToken'] = client_token
7602
+ params['action'] = 'CheckUnplannedEvent'
7603
+ body = {
7604
+ "serverEventId": server_event_id,
7605
+ "checkResult": check_result,
7606
+ "issueEffect": issue_effect,
7607
+ "issueDescription": issue_description,
7608
+ "authorizeMaintenanceOperation": authorize_maintenance_operation
7609
+ }
7610
+ return self._send_action_request(http_methods.POST, path, json.dumps(body),
7611
+ params=params, config=config)
7059
7612
 
7060
7613
  def generate_client_token_by_uuid():
7061
7614
  """