huaweicloudsdkgaussdbforopengauss 3.1.86__py2.py3-none-any.whl → 3.1.132__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (203) hide show
  1. huaweicloudsdkgaussdbforopengauss/v3/__init__.py +167 -1
  2. huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_async_client.py +4890 -1170
  3. huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_client.py +4890 -1170
  4. huaweicloudsdkgaussdbforopengauss/v3/model/__init__.py +167 -1
  5. huaweicloudsdkgaussdbforopengauss/v3/model/allow_db_role_privileges_request.py +168 -0
  6. huaweicloudsdkgaussdbforopengauss/v3/model/allow_db_role_privileges_request_body.py +138 -0
  7. huaweicloudsdkgaussdbforopengauss/v3/model/allow_db_role_privileges_response.py +85 -0
  8. huaweicloudsdkgaussdbforopengauss/v3/model/available_flavor_info_result.py +18 -18
  9. huaweicloudsdkgaussdbforopengauss/v3/model/backup_policy_info.py +314 -0
  10. huaweicloudsdkgaussdbforopengauss/v3/model/batch_show_upgrade_candidate_versions_request.py +140 -0
  11. huaweicloudsdkgaussdbforopengauss/v3/model/batch_show_upgrade_candidate_versions_response.py +232 -0
  12. huaweicloudsdkgaussdbforopengauss/v3/model/can_be_rollbacked_hotfix_detail.py +202 -0
  13. huaweicloudsdkgaussdbforopengauss/v3/model/can_be_upgraded_hotfix_detail.py +202 -0
  14. huaweicloudsdkgaussdbforopengauss/v3/model/cn_info_before_reduce.py +231 -0
  15. huaweicloudsdkgaussdbforopengauss/v3/model/components.py +61 -3
  16. huaweicloudsdkgaussdbforopengauss/v3/model/configurations_result.py +339 -0
  17. huaweicloudsdkgaussdbforopengauss/v3/model/confirm_restored_data_request.py +143 -0
  18. huaweicloudsdkgaussdbforopengauss/v3/model/confirm_restored_data_response.py +116 -0
  19. huaweicloudsdkgaussdbforopengauss/v3/model/create_configuration_template_request_body.py +3 -3
  20. huaweicloudsdkgaussdbforopengauss/v3/model/create_database_instance_request.py +140 -0
  21. huaweicloudsdkgaussdbforopengauss/v3/model/create_database_instance_request_body.py +722 -0
  22. huaweicloudsdkgaussdbforopengauss/v3/model/create_database_instance_response.py +170 -0
  23. huaweicloudsdkgaussdbforopengauss/v3/model/create_database_instance_result.py +544 -0
  24. huaweicloudsdkgaussdbforopengauss/v3/model/create_db_role_request.py +168 -0
  25. huaweicloudsdkgaussdbforopengauss/v3/model/create_db_role_request_body.py +142 -0
  26. huaweicloudsdkgaussdbforopengauss/v3/model/create_db_role_response.py +85 -0
  27. huaweicloudsdkgaussdbforopengauss/v3/model/create_gauss_db_instance_request.py +169 -0
  28. huaweicloudsdkgaussdbforopengauss/v3/model/create_gauss_db_instance_response.py +170 -0
  29. huaweicloudsdkgaussdbforopengauss/v3/model/create_instance_datastore_option.py +143 -0
  30. huaweicloudsdkgaussdbforopengauss/v3/model/create_limit_task_node_option.py +142 -0
  31. huaweicloudsdkgaussdbforopengauss/v3/model/create_limit_task_node_result.py +144 -0
  32. huaweicloudsdkgaussdbforopengauss/v3/model/create_limit_task_request.py +139 -0
  33. huaweicloudsdkgaussdbforopengauss/v3/model/create_limit_task_request_body.py +458 -0
  34. huaweicloudsdkgaussdbforopengauss/v3/model/create_limit_task_response.py +725 -0
  35. huaweicloudsdkgaussdbforopengauss/v3/model/create_manual_backup_request_body.py +3 -3
  36. huaweicloudsdkgaussdbforopengauss/v3/model/create_slow_log_download_request.py +143 -0
  37. huaweicloudsdkgaussdbforopengauss/v3/model/create_slow_log_download_response.py +116 -0
  38. huaweicloudsdkgaussdbforopengauss/v3/model/data_stroe_error_response.py +3 -3
  39. huaweicloudsdkgaussdbforopengauss/v3/model/datastore_result.py +142 -0
  40. huaweicloudsdkgaussdbforopengauss/v3/model/delete_backup_error_response.py +3 -3
  41. huaweicloudsdkgaussdbforopengauss/v3/model/delete_database_schema_request.py +168 -0
  42. huaweicloudsdkgaussdbforopengauss/v3/model/delete_database_schema_request_body.py +142 -0
  43. huaweicloudsdkgaussdbforopengauss/v3/model/delete_database_schema_response.py +85 -0
  44. huaweicloudsdkgaussdbforopengauss/v3/model/delete_instance_tag_request.py +171 -0
  45. huaweicloudsdkgaussdbforopengauss/v3/model/delete_instance_tag_response.py +174 -0
  46. huaweicloudsdkgaussdbforopengauss/v3/model/delete_limit_task_request.py +142 -0
  47. huaweicloudsdkgaussdbforopengauss/v3/model/delete_limit_task_response.py +85 -0
  48. huaweicloudsdkgaussdbforopengauss/v3/model/delete_manual_backup_request.py +3 -3
  49. huaweicloudsdkgaussdbforopengauss/v3/model/delete_manual_backup_response.py +61 -1
  50. huaweicloudsdkgaussdbforopengauss/v3/model/download_backup_error_response.py +3 -3
  51. huaweicloudsdkgaussdbforopengauss/v3/model/error_response.py +142 -0
  52. huaweicloudsdkgaussdbforopengauss/v3/model/feature_result.py +289 -0
  53. huaweicloudsdkgaussdbforopengauss/v3/model/flavor_error_response.py +3 -3
  54. huaweicloudsdkgaussdbforopengauss/v3/model/gauss_d_bfor_open_gauss_list_database.py +61 -3
  55. huaweicloudsdkgaussdbforopengauss/v3/model/gauss_d_bfor_open_gauss_role_attributes.py +199 -0
  56. huaweicloudsdkgaussdbforopengauss/v3/model/gauss_d_bfor_open_gauss_user_for_list.py +50 -21
  57. huaweicloudsdkgaussdbforopengauss/v3/model/{gauss_d_bfor_open_gauss_user_for_list_attributes.py → gauss_d_bfor_open_gauss_user_for_list_attribute.py} +67 -38
  58. huaweicloudsdkgaussdbforopengauss/v3/model/gauss_db_error_response_body.py +142 -0
  59. huaweicloudsdkgaussdbforopengauss/v3/model/gauss_db_list_database_roles.py +197 -0
  60. huaweicloudsdkgaussdbforopengauss/v3/model/gauss_db_list_database_roles_priv.py +347 -0
  61. huaweicloudsdkgaussdbforopengauss/v3/model/gauss_db_upgrade_instances_version_request.py +200 -0
  62. huaweicloudsdkgaussdbforopengauss/v3/model/hotfix_info.py +202 -0
  63. huaweicloudsdkgaussdbforopengauss/v3/model/hotfix_info_result.py +202 -0
  64. huaweicloudsdkgaussdbforopengauss/v3/model/hotfix_rollback_infos.py +202 -0
  65. huaweicloudsdkgaussdbforopengauss/v3/model/hotfix_upgrade_infos.py +202 -0
  66. huaweicloudsdkgaussdbforopengauss/v3/model/hotfix_version_info.py +143 -0
  67. huaweicloudsdkgaussdbforopengauss/v3/model/install_kernel_plugin_request.py +168 -0
  68. huaweicloudsdkgaussdbforopengauss/v3/model/install_kernel_plugin_request_body.py +170 -0
  69. huaweicloudsdkgaussdbforopengauss/v3/model/install_kernel_plugin_response.py +116 -0
  70. huaweicloudsdkgaussdbforopengauss/v3/model/instance_log_file.py +260 -0
  71. huaweicloudsdkgaussdbforopengauss/v3/model/instances_result.py +4 -4
  72. huaweicloudsdkgaussdbforopengauss/v3/model/limit_task_rule_info_option.py +170 -0
  73. huaweicloudsdkgaussdbforopengauss/v3/model/list_backups_details_request.py +318 -0
  74. huaweicloudsdkgaussdbforopengauss/v3/model/list_backups_details_response.py +145 -0
  75. huaweicloudsdkgaussdbforopengauss/v3/model/list_backups_result.py +372 -0
  76. huaweicloudsdkgaussdbforopengauss/v3/model/list_cn_infos_before_reduce_request.py +143 -0
  77. huaweicloudsdkgaussdbforopengauss/v3/model/list_cn_infos_before_reduce_response.py +174 -0
  78. huaweicloudsdkgaussdbforopengauss/v3/model/list_database_instances_request.py +405 -0
  79. huaweicloudsdkgaussdbforopengauss/v3/model/list_database_instances_response.py +145 -0
  80. huaweicloudsdkgaussdbforopengauss/v3/model/list_database_roles_request.py +201 -0
  81. huaweicloudsdkgaussdbforopengauss/v3/model/list_database_roles_response.py +145 -0
  82. huaweicloudsdkgaussdbforopengauss/v3/model/list_datastore.py +61 -3
  83. huaweicloudsdkgaussdbforopengauss/v3/model/list_datastores_details_request.py +115 -0
  84. huaweicloudsdkgaussdbforopengauss/v3/model/list_datastores_details_response.py +112 -0
  85. huaweicloudsdkgaussdbforopengauss/v3/model/list_features_request.py +143 -0
  86. huaweicloudsdkgaussdbforopengauss/v3/model/list_features_response.py +116 -0
  87. huaweicloudsdkgaussdbforopengauss/v3/model/list_flavors_details_request.py +260 -0
  88. huaweicloudsdkgaussdbforopengauss/v3/model/list_flavors_details_response.py +145 -0
  89. huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_datastore.py +258 -0
  90. huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_details_request.py +405 -0
  91. huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_details_response.py +145 -0
  92. huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_error_logs_request.py +257 -0
  93. huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_error_logs_response.py +145 -0
  94. huaweicloudsdkgaussdbforopengauss/v3/model/list_instances_result.py +957 -0
  95. huaweicloudsdkgaussdbforopengauss/v3/model/list_kernel_plugins_request.py +143 -0
  96. huaweicloudsdkgaussdbforopengauss/v3/model/list_kernel_plugins_response.py +116 -0
  97. huaweicloudsdkgaussdbforopengauss/v3/model/list_limit_task_request.py +404 -0
  98. huaweicloudsdkgaussdbforopengauss/v3/model/list_limit_task_response.py +203 -0
  99. huaweicloudsdkgaussdbforopengauss/v3/model/list_limit_task_response_result.py +695 -0
  100. huaweicloudsdkgaussdbforopengauss/v3/model/list_node_limit_sql_model_request.py +229 -0
  101. huaweicloudsdkgaussdbforopengauss/v3/model/list_node_limit_sql_model_response.py +203 -0
  102. huaweicloudsdkgaussdbforopengauss/v3/model/list_node_limit_sql_model_response_result.py +144 -0
  103. huaweicloudsdkgaussdbforopengauss/v3/model/list_parameter_group_templates_request.py +173 -0
  104. huaweicloudsdkgaussdbforopengauss/v3/model/list_parameter_group_templates_response.py +145 -0
  105. huaweicloudsdkgaussdbforopengauss/v3/model/list_plugin_extensions_request.py +168 -0
  106. huaweicloudsdkgaussdbforopengauss/v3/model/list_plugin_extensions_request_body.py +142 -0
  107. huaweicloudsdkgaussdbforopengauss/v3/model/list_plugin_extensions_response.py +116 -0
  108. huaweicloudsdkgaussdbforopengauss/v3/model/list_recycle_instances_details_request.py +202 -0
  109. huaweicloudsdkgaussdbforopengauss/v3/model/list_recycle_instances_details_response.py +145 -0
  110. huaweicloudsdkgaussdbforopengauss/v3/model/list_restorable_instances_details_request.py +259 -0
  111. huaweicloudsdkgaussdbforopengauss/v3/model/list_restorable_instances_details_response.py +145 -0
  112. huaweicloudsdkgaussdbforopengauss/v3/model/list_support_kernel_plugins_request.py +115 -0
  113. huaweicloudsdkgaussdbforopengauss/v3/model/list_support_kernel_plugins_response.py +116 -0
  114. huaweicloudsdkgaussdbforopengauss/v3/model/list_top_io_traffics_request.py +257 -0
  115. huaweicloudsdkgaussdbforopengauss/v3/model/list_top_io_traffics_response.py +116 -0
  116. huaweicloudsdkgaussdbforopengauss/v3/model/my_sql_compatibility_result.py +115 -0
  117. huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_error_response.py +3 -3
  118. huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_ha.py +32 -3
  119. huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_ha_option.py +32 -3
  120. huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_instance_request.py +3 -3
  121. huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_instance_request_body.py +35 -6
  122. huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_upgrade_request.py +230 -0
  123. huaweicloudsdkgaussdbforopengauss/v3/model/para_group_parameter_result.py +3 -3
  124. huaweicloudsdkgaussdbforopengauss/v3/model/param_group_diff_request_body.py +3 -3
  125. huaweicloudsdkgaussdbforopengauss/v3/model/plugin_extensions.py +144 -0
  126. huaweicloudsdkgaussdbforopengauss/v3/model/recovery_backup_source.py +200 -0
  127. huaweicloudsdkgaussdbforopengauss/v3/model/recovery_backup_target.py +114 -0
  128. huaweicloudsdkgaussdbforopengauss/v3/model/recycle_instances_detail_result.py +6 -6
  129. huaweicloudsdkgaussdbforopengauss/v3/model/recycle_instances_detail_result_v1.py +566 -0
  130. huaweicloudsdkgaussdbforopengauss/v3/model/resource_error_response.py +3 -3
  131. huaweicloudsdkgaussdbforopengauss/v3/model/restore_instance_request.py +140 -0
  132. huaweicloudsdkgaussdbforopengauss/v3/model/restore_instance_request_body.py +134 -0
  133. huaweicloudsdkgaussdbforopengauss/v3/model/restore_instance_response.py +116 -0
  134. huaweicloudsdkgaussdbforopengauss/v3/model/resume_plugin_extensions_request.py +168 -0
  135. huaweicloudsdkgaussdbforopengauss/v3/model/resume_plugin_extensions_request_body.py +198 -0
  136. huaweicloudsdkgaussdbforopengauss/v3/model/resume_plugin_extensions_response.py +112 -0
  137. huaweicloudsdkgaussdbforopengauss/v3/model/roll_upgrade_progress.py +231 -0
  138. huaweicloudsdkgaussdbforopengauss/v3/model/search_auto_enlarge_policy_request.py +143 -0
  139. huaweicloudsdkgaussdbforopengauss/v3/model/search_auto_enlarge_policy_response.py +319 -0
  140. huaweicloudsdkgaussdbforopengauss/v3/model/set_kernel_plugin_license_request.py +168 -0
  141. huaweicloudsdkgaussdbforopengauss/v3/model/set_kernel_plugin_license_request_body.py +114 -0
  142. huaweicloudsdkgaussdbforopengauss/v3/model/set_kernel_plugin_license_response.py +112 -0
  143. huaweicloudsdkgaussdbforopengauss/v3/model/set_new_backup_policy_request.py +168 -0
  144. huaweicloudsdkgaussdbforopengauss/v3/model/set_new_backup_policy_request_body.py +110 -0
  145. huaweicloudsdkgaussdbforopengauss/v3/model/set_new_backup_policy_response.py +85 -0
  146. huaweicloudsdkgaussdbforopengauss/v3/model/show_backup_policy.py +4 -4
  147. huaweicloudsdkgaussdbforopengauss/v3/model/show_batch_upgrade_candidate_versions_request.py +140 -0
  148. huaweicloudsdkgaussdbforopengauss/v3/model/show_batch_upgrade_candidate_versions_response.py +232 -0
  149. huaweicloudsdkgaussdbforopengauss/v3/model/show_error_log_switch_status_request.py +143 -0
  150. huaweicloudsdkgaussdbforopengauss/v3/model/show_error_log_switch_status_response.py +116 -0
  151. huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_param_group_detail_request.py +143 -0
  152. huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_param_group_detail_response.py +232 -0
  153. huaweicloudsdkgaussdbforopengauss/v3/model/show_limit_task_node_option.py +142 -0
  154. huaweicloudsdkgaussdbforopengauss/v3/model/show_limit_task_request.py +142 -0
  155. huaweicloudsdkgaussdbforopengauss/v3/model/show_limit_task_response.py +406 -0
  156. huaweicloudsdkgaussdbforopengauss/v3/model/show_parameter_group_detail_request.py +143 -0
  157. huaweicloudsdkgaussdbforopengauss/v3/model/show_parameter_group_detail_response.py +319 -0
  158. huaweicloudsdkgaussdbforopengauss/v3/model/show_slow_log_download_request.py +143 -0
  159. huaweicloudsdkgaussdbforopengauss/v3/model/show_slow_log_download_response.py +116 -0
  160. huaweicloudsdkgaussdbforopengauss/v3/model/show_source_instance_detail_request.py +202 -0
  161. huaweicloudsdkgaussdbforopengauss/v3/model/show_source_instance_detail_response.py +348 -0
  162. huaweicloudsdkgaussdbforopengauss/v3/model/show_upgrade_candidate_versions_details_request.py +143 -0
  163. huaweicloudsdkgaussdbforopengauss/v3/model/show_upgrade_candidate_versions_details_response.py +373 -0
  164. huaweicloudsdkgaussdbforopengauss/v3/model/show_upgrade_candidate_versions_request.py +143 -0
  165. huaweicloudsdkgaussdbforopengauss/v3/model/show_upgrade_candidate_versions_response.py +373 -0
  166. huaweicloudsdkgaussdbforopengauss/v3/model/slow_log_download_info.py +463 -0
  167. huaweicloudsdkgaussdbforopengauss/v3/model/start_instance_request.py +168 -0
  168. huaweicloudsdkgaussdbforopengauss/v3/model/start_instance_request_body.py +114 -0
  169. huaweicloudsdkgaussdbforopengauss/v3/model/start_instance_response.py +116 -0
  170. huaweicloudsdkgaussdbforopengauss/v3/model/start_my_sql_compatibility_request_body.py +114 -0
  171. huaweicloudsdkgaussdbforopengauss/v3/model/start_mysql_compatibility_request.py +168 -0
  172. huaweicloudsdkgaussdbforopengauss/v3/model/start_mysql_compatibility_response.py +116 -0
  173. huaweicloudsdkgaussdbforopengauss/v3/model/stop_instance_request.py +168 -0
  174. huaweicloudsdkgaussdbforopengauss/v3/model/stop_instance_request_body.py +114 -0
  175. huaweicloudsdkgaussdbforopengauss/v3/model/stop_instance_response.py +116 -0
  176. huaweicloudsdkgaussdbforopengauss/v3/model/sync_limit_data_request.py +114 -0
  177. huaweicloudsdkgaussdbforopengauss/v3/model/sync_limit_data_response.py +203 -0
  178. huaweicloudsdkgaussdbforopengauss/v3/model/task_detail_result.py +59 -1
  179. huaweicloudsdkgaussdbforopengauss/v3/model/top_io_info.py +405 -0
  180. huaweicloudsdkgaussdbforopengauss/v3/model/update_features_request.py +168 -0
  181. huaweicloudsdkgaussdbforopengauss/v3/model/update_features_request_body.py +114 -0
  182. huaweicloudsdkgaussdbforopengauss/v3/model/update_features_response.py +116 -0
  183. huaweicloudsdkgaussdbforopengauss/v3/model/update_instance_configuration_response.py +32 -3
  184. huaweicloudsdkgaussdbforopengauss/v3/model/update_limit_task_request.py +167 -0
  185. huaweicloudsdkgaussdbforopengauss/v3/model/update_limit_task_request_body.py +318 -0
  186. huaweicloudsdkgaussdbforopengauss/v3/model/update_limit_task_response.py +406 -0
  187. huaweicloudsdkgaussdbforopengauss/v3/model/update_my_sql_compatibility_request_body.py +114 -0
  188. huaweicloudsdkgaussdbforopengauss/v3/model/update_mysql_compatibility_request.py +168 -0
  189. huaweicloudsdkgaussdbforopengauss/v3/model/update_mysql_compatibility_response.py +116 -0
  190. huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_action_info.py +144 -0
  191. huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_error_response_body.py +142 -0
  192. huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_instance_version_request.py +168 -0
  193. huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_instance_version_response.py +145 -0
  194. huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_instances_request_body.py +115 -0
  195. huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_instances_version_request.py +140 -0
  196. huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_instances_version_response.py +232 -0
  197. huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_type_info.py +202 -0
  198. huaweicloudsdkgaussdbforopengauss/v3/region/gaussdbforopengauss_region.py +30 -0
  199. {huaweicloudsdkgaussdbforopengauss-3.1.86.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.132.dist-info}/METADATA +2 -2
  200. {huaweicloudsdkgaussdbforopengauss-3.1.86.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.132.dist-info}/RECORD +203 -37
  201. {huaweicloudsdkgaussdbforopengauss-3.1.86.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.132.dist-info}/WHEEL +1 -1
  202. {huaweicloudsdkgaussdbforopengauss-3.1.86.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.132.dist-info}/LICENSE +0 -0
  203. {huaweicloudsdkgaussdbforopengauss-3.1.86.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.132.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,372 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ListBackupsResult:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'id': 'str',
21
+ 'name': 'str',
22
+ 'description': 'str',
23
+ 'begin_time': 'str',
24
+ 'end_time': 'str',
25
+ 'status': 'str',
26
+ 'size': 'float',
27
+ 'type': 'str',
28
+ 'datastore': 'DatastoreResult',
29
+ 'instance_id': 'str'
30
+ }
31
+
32
+ attribute_map = {
33
+ 'id': 'id',
34
+ 'name': 'name',
35
+ 'description': 'description',
36
+ 'begin_time': 'begin_time',
37
+ 'end_time': 'end_time',
38
+ 'status': 'status',
39
+ 'size': 'size',
40
+ 'type': 'type',
41
+ 'datastore': 'datastore',
42
+ 'instance_id': 'instance_id'
43
+ }
44
+
45
+ def __init__(self, id=None, name=None, description=None, begin_time=None, end_time=None, status=None, size=None, type=None, datastore=None, instance_id=None):
46
+ """ListBackupsResult
47
+
48
+ The model defined in huaweicloud sdk
49
+
50
+ :param id: 备份ID。
51
+ :type id: str
52
+ :param name: 备份名称。
53
+ :type name: str
54
+ :param description: 备份文件描述信息。
55
+ :type description: str
56
+ :param begin_time: 备份开始时间,格式为\"yyyy-mm-ddThh:mm:ssZ\"。 其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。
57
+ :type begin_time: str
58
+ :param end_time: 备份结束时间,格式为“yyyy-mm-ddThh:mm:ssZ”。 其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。
59
+ :type end_time: str
60
+ :param status: 备份状态
61
+ :type status: str
62
+ :param size: 备份大小(单位:MB)
63
+ :type size: float
64
+ :param type: 备份类型
65
+ :type type: str
66
+ :param datastore:
67
+ :type datastore: :class:`huaweicloudsdkgaussdbforopengauss.v3.DatastoreResult`
68
+ :param instance_id: 实例ID。
69
+ :type instance_id: str
70
+ """
71
+
72
+
73
+
74
+ self._id = None
75
+ self._name = None
76
+ self._description = None
77
+ self._begin_time = None
78
+ self._end_time = None
79
+ self._status = None
80
+ self._size = None
81
+ self._type = None
82
+ self._datastore = None
83
+ self._instance_id = None
84
+ self.discriminator = None
85
+
86
+ if id is not None:
87
+ self.id = id
88
+ if name is not None:
89
+ self.name = name
90
+ if description is not None:
91
+ self.description = description
92
+ if begin_time is not None:
93
+ self.begin_time = begin_time
94
+ if end_time is not None:
95
+ self.end_time = end_time
96
+ if status is not None:
97
+ self.status = status
98
+ if size is not None:
99
+ self.size = size
100
+ if type is not None:
101
+ self.type = type
102
+ if datastore is not None:
103
+ self.datastore = datastore
104
+ if instance_id is not None:
105
+ self.instance_id = instance_id
106
+
107
+ @property
108
+ def id(self):
109
+ """Gets the id of this ListBackupsResult.
110
+
111
+ 备份ID。
112
+
113
+ :return: The id of this ListBackupsResult.
114
+ :rtype: str
115
+ """
116
+ return self._id
117
+
118
+ @id.setter
119
+ def id(self, id):
120
+ """Sets the id of this ListBackupsResult.
121
+
122
+ 备份ID。
123
+
124
+ :param id: The id of this ListBackupsResult.
125
+ :type id: str
126
+ """
127
+ self._id = id
128
+
129
+ @property
130
+ def name(self):
131
+ """Gets the name of this ListBackupsResult.
132
+
133
+ 备份名称。
134
+
135
+ :return: The name of this ListBackupsResult.
136
+ :rtype: str
137
+ """
138
+ return self._name
139
+
140
+ @name.setter
141
+ def name(self, name):
142
+ """Sets the name of this ListBackupsResult.
143
+
144
+ 备份名称。
145
+
146
+ :param name: The name of this ListBackupsResult.
147
+ :type name: str
148
+ """
149
+ self._name = name
150
+
151
+ @property
152
+ def description(self):
153
+ """Gets the description of this ListBackupsResult.
154
+
155
+ 备份文件描述信息。
156
+
157
+ :return: The description of this ListBackupsResult.
158
+ :rtype: str
159
+ """
160
+ return self._description
161
+
162
+ @description.setter
163
+ def description(self, description):
164
+ """Sets the description of this ListBackupsResult.
165
+
166
+ 备份文件描述信息。
167
+
168
+ :param description: The description of this ListBackupsResult.
169
+ :type description: str
170
+ """
171
+ self._description = description
172
+
173
+ @property
174
+ def begin_time(self):
175
+ """Gets the begin_time of this ListBackupsResult.
176
+
177
+ 备份开始时间,格式为\"yyyy-mm-ddThh:mm:ssZ\"。 其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。
178
+
179
+ :return: The begin_time of this ListBackupsResult.
180
+ :rtype: str
181
+ """
182
+ return self._begin_time
183
+
184
+ @begin_time.setter
185
+ def begin_time(self, begin_time):
186
+ """Sets the begin_time of this ListBackupsResult.
187
+
188
+ 备份开始时间,格式为\"yyyy-mm-ddThh:mm:ssZ\"。 其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。
189
+
190
+ :param begin_time: The begin_time of this ListBackupsResult.
191
+ :type begin_time: str
192
+ """
193
+ self._begin_time = begin_time
194
+
195
+ @property
196
+ def end_time(self):
197
+ """Gets the end_time of this ListBackupsResult.
198
+
199
+ 备份结束时间,格式为“yyyy-mm-ddThh:mm:ssZ”。 其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。
200
+
201
+ :return: The end_time of this ListBackupsResult.
202
+ :rtype: str
203
+ """
204
+ return self._end_time
205
+
206
+ @end_time.setter
207
+ def end_time(self, end_time):
208
+ """Sets the end_time of this ListBackupsResult.
209
+
210
+ 备份结束时间,格式为“yyyy-mm-ddThh:mm:ssZ”。 其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。
211
+
212
+ :param end_time: The end_time of this ListBackupsResult.
213
+ :type end_time: str
214
+ """
215
+ self._end_time = end_time
216
+
217
+ @property
218
+ def status(self):
219
+ """Gets the status of this ListBackupsResult.
220
+
221
+ 备份状态
222
+
223
+ :return: The status of this ListBackupsResult.
224
+ :rtype: str
225
+ """
226
+ return self._status
227
+
228
+ @status.setter
229
+ def status(self, status):
230
+ """Sets the status of this ListBackupsResult.
231
+
232
+ 备份状态
233
+
234
+ :param status: The status of this ListBackupsResult.
235
+ :type status: str
236
+ """
237
+ self._status = status
238
+
239
+ @property
240
+ def size(self):
241
+ """Gets the size of this ListBackupsResult.
242
+
243
+ 备份大小(单位:MB)
244
+
245
+ :return: The size of this ListBackupsResult.
246
+ :rtype: float
247
+ """
248
+ return self._size
249
+
250
+ @size.setter
251
+ def size(self, size):
252
+ """Sets the size of this ListBackupsResult.
253
+
254
+ 备份大小(单位:MB)
255
+
256
+ :param size: The size of this ListBackupsResult.
257
+ :type size: float
258
+ """
259
+ self._size = size
260
+
261
+ @property
262
+ def type(self):
263
+ """Gets the type of this ListBackupsResult.
264
+
265
+ 备份类型
266
+
267
+ :return: The type of this ListBackupsResult.
268
+ :rtype: str
269
+ """
270
+ return self._type
271
+
272
+ @type.setter
273
+ def type(self, type):
274
+ """Sets the type of this ListBackupsResult.
275
+
276
+ 备份类型
277
+
278
+ :param type: The type of this ListBackupsResult.
279
+ :type type: str
280
+ """
281
+ self._type = type
282
+
283
+ @property
284
+ def datastore(self):
285
+ """Gets the datastore of this ListBackupsResult.
286
+
287
+ :return: The datastore of this ListBackupsResult.
288
+ :rtype: :class:`huaweicloudsdkgaussdbforopengauss.v3.DatastoreResult`
289
+ """
290
+ return self._datastore
291
+
292
+ @datastore.setter
293
+ def datastore(self, datastore):
294
+ """Sets the datastore of this ListBackupsResult.
295
+
296
+ :param datastore: The datastore of this ListBackupsResult.
297
+ :type datastore: :class:`huaweicloudsdkgaussdbforopengauss.v3.DatastoreResult`
298
+ """
299
+ self._datastore = datastore
300
+
301
+ @property
302
+ def instance_id(self):
303
+ """Gets the instance_id of this ListBackupsResult.
304
+
305
+ 实例ID。
306
+
307
+ :return: The instance_id of this ListBackupsResult.
308
+ :rtype: str
309
+ """
310
+ return self._instance_id
311
+
312
+ @instance_id.setter
313
+ def instance_id(self, instance_id):
314
+ """Sets the instance_id of this ListBackupsResult.
315
+
316
+ 实例ID。
317
+
318
+ :param instance_id: The instance_id of this ListBackupsResult.
319
+ :type instance_id: str
320
+ """
321
+ self._instance_id = instance_id
322
+
323
+ def to_dict(self):
324
+ """Returns the model properties as a dict"""
325
+ result = {}
326
+
327
+ for attr, _ in six.iteritems(self.openapi_types):
328
+ value = getattr(self, attr)
329
+ if isinstance(value, list):
330
+ result[attr] = list(map(
331
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
332
+ value
333
+ ))
334
+ elif hasattr(value, "to_dict"):
335
+ result[attr] = value.to_dict()
336
+ elif isinstance(value, dict):
337
+ result[attr] = dict(map(
338
+ lambda item: (item[0], item[1].to_dict())
339
+ if hasattr(item[1], "to_dict") else item,
340
+ value.items()
341
+ ))
342
+ else:
343
+ if attr in self.sensitive_list:
344
+ result[attr] = "****"
345
+ else:
346
+ result[attr] = value
347
+
348
+ return result
349
+
350
+ def to_str(self):
351
+ """Returns the string representation of the model"""
352
+ import simplejson as json
353
+ if six.PY2:
354
+ import sys
355
+ reload(sys)
356
+ sys.setdefaultencoding("utf-8")
357
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
358
+
359
+ def __repr__(self):
360
+ """For `print`"""
361
+ return self.to_str()
362
+
363
+ def __eq__(self, other):
364
+ """Returns true if both objects are equal"""
365
+ if not isinstance(other, ListBackupsResult):
366
+ return False
367
+
368
+ return self.__dict__ == other.__dict__
369
+
370
+ def __ne__(self, other):
371
+ """Returns true if both objects are not equal"""
372
+ return not self == other
@@ -0,0 +1,143 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ListCnInfosBeforeReduceRequest:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'x_language': 'str',
21
+ 'instance_id': 'str'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'x_language': 'X-Language',
26
+ 'instance_id': 'instance_id'
27
+ }
28
+
29
+ def __init__(self, x_language=None, instance_id=None):
30
+ """ListCnInfosBeforeReduceRequest
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param x_language: 语言
35
+ :type x_language: str
36
+ :param instance_id: 实例ID。
37
+ :type instance_id: str
38
+ """
39
+
40
+
41
+
42
+ self._x_language = None
43
+ self._instance_id = None
44
+ self.discriminator = None
45
+
46
+ if x_language is not None:
47
+ self.x_language = x_language
48
+ self.instance_id = instance_id
49
+
50
+ @property
51
+ def x_language(self):
52
+ """Gets the x_language of this ListCnInfosBeforeReduceRequest.
53
+
54
+ 语言
55
+
56
+ :return: The x_language of this ListCnInfosBeforeReduceRequest.
57
+ :rtype: str
58
+ """
59
+ return self._x_language
60
+
61
+ @x_language.setter
62
+ def x_language(self, x_language):
63
+ """Sets the x_language of this ListCnInfosBeforeReduceRequest.
64
+
65
+ 语言
66
+
67
+ :param x_language: The x_language of this ListCnInfosBeforeReduceRequest.
68
+ :type x_language: str
69
+ """
70
+ self._x_language = x_language
71
+
72
+ @property
73
+ def instance_id(self):
74
+ """Gets the instance_id of this ListCnInfosBeforeReduceRequest.
75
+
76
+ 实例ID。
77
+
78
+ :return: The instance_id of this ListCnInfosBeforeReduceRequest.
79
+ :rtype: str
80
+ """
81
+ return self._instance_id
82
+
83
+ @instance_id.setter
84
+ def instance_id(self, instance_id):
85
+ """Sets the instance_id of this ListCnInfosBeforeReduceRequest.
86
+
87
+ 实例ID。
88
+
89
+ :param instance_id: The instance_id of this ListCnInfosBeforeReduceRequest.
90
+ :type instance_id: str
91
+ """
92
+ self._instance_id = instance_id
93
+
94
+ def to_dict(self):
95
+ """Returns the model properties as a dict"""
96
+ result = {}
97
+
98
+ for attr, _ in six.iteritems(self.openapi_types):
99
+ value = getattr(self, attr)
100
+ if isinstance(value, list):
101
+ result[attr] = list(map(
102
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
103
+ value
104
+ ))
105
+ elif hasattr(value, "to_dict"):
106
+ result[attr] = value.to_dict()
107
+ elif isinstance(value, dict):
108
+ result[attr] = dict(map(
109
+ lambda item: (item[0], item[1].to_dict())
110
+ if hasattr(item[1], "to_dict") else item,
111
+ value.items()
112
+ ))
113
+ else:
114
+ if attr in self.sensitive_list:
115
+ result[attr] = "****"
116
+ else:
117
+ result[attr] = value
118
+
119
+ return result
120
+
121
+ def to_str(self):
122
+ """Returns the string representation of the model"""
123
+ import simplejson as json
124
+ if six.PY2:
125
+ import sys
126
+ reload(sys)
127
+ sys.setdefaultencoding("utf-8")
128
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
129
+
130
+ def __repr__(self):
131
+ """For `print`"""
132
+ return self.to_str()
133
+
134
+ def __eq__(self, other):
135
+ """Returns true if both objects are equal"""
136
+ if not isinstance(other, ListCnInfosBeforeReduceRequest):
137
+ return False
138
+
139
+ return self.__dict__ == other.__dict__
140
+
141
+ def __ne__(self, other):
142
+ """Returns true if both objects are not equal"""
143
+ return not self == other
@@ -0,0 +1,174 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.sdk_response import SdkResponse
6
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
7
+
8
+
9
+ class ListCnInfosBeforeReduceResponse(SdkResponse):
10
+
11
+ """
12
+ Attributes:
13
+ openapi_types (dict): The key is attribute name
14
+ and the value is attribute type.
15
+ attribute_map (dict): The key is attribute name
16
+ and the value is json key in definition.
17
+ """
18
+ sensitive_list = []
19
+
20
+ openapi_types = {
21
+ 'instance_id': 'str',
22
+ 'max_reduction_num': 'int',
23
+ 'nodes': 'list[CnInfoBeforeReduce]'
24
+ }
25
+
26
+ attribute_map = {
27
+ 'instance_id': 'instance_id',
28
+ 'max_reduction_num': 'max_reduction_num',
29
+ 'nodes': 'nodes'
30
+ }
31
+
32
+ def __init__(self, instance_id=None, max_reduction_num=None, nodes=None):
33
+ """ListCnInfosBeforeReduceResponse
34
+
35
+ The model defined in huaweicloud sdk
36
+
37
+ :param instance_id: 实例ID。
38
+ :type instance_id: str
39
+ :param max_reduction_num: 单次缩容允许最大步长。
40
+ :type max_reduction_num: int
41
+ :param nodes: 节点信息列表。
42
+ :type nodes: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.CnInfoBeforeReduce`]
43
+ """
44
+
45
+ super(ListCnInfosBeforeReduceResponse, self).__init__()
46
+
47
+ self._instance_id = None
48
+ self._max_reduction_num = None
49
+ self._nodes = None
50
+ self.discriminator = None
51
+
52
+ if instance_id is not None:
53
+ self.instance_id = instance_id
54
+ if max_reduction_num is not None:
55
+ self.max_reduction_num = max_reduction_num
56
+ if nodes is not None:
57
+ self.nodes = nodes
58
+
59
+ @property
60
+ def instance_id(self):
61
+ """Gets the instance_id of this ListCnInfosBeforeReduceResponse.
62
+
63
+ 实例ID。
64
+
65
+ :return: The instance_id of this ListCnInfosBeforeReduceResponse.
66
+ :rtype: str
67
+ """
68
+ return self._instance_id
69
+
70
+ @instance_id.setter
71
+ def instance_id(self, instance_id):
72
+ """Sets the instance_id of this ListCnInfosBeforeReduceResponse.
73
+
74
+ 实例ID。
75
+
76
+ :param instance_id: The instance_id of this ListCnInfosBeforeReduceResponse.
77
+ :type instance_id: str
78
+ """
79
+ self._instance_id = instance_id
80
+
81
+ @property
82
+ def max_reduction_num(self):
83
+ """Gets the max_reduction_num of this ListCnInfosBeforeReduceResponse.
84
+
85
+ 单次缩容允许最大步长。
86
+
87
+ :return: The max_reduction_num of this ListCnInfosBeforeReduceResponse.
88
+ :rtype: int
89
+ """
90
+ return self._max_reduction_num
91
+
92
+ @max_reduction_num.setter
93
+ def max_reduction_num(self, max_reduction_num):
94
+ """Sets the max_reduction_num of this ListCnInfosBeforeReduceResponse.
95
+
96
+ 单次缩容允许最大步长。
97
+
98
+ :param max_reduction_num: The max_reduction_num of this ListCnInfosBeforeReduceResponse.
99
+ :type max_reduction_num: int
100
+ """
101
+ self._max_reduction_num = max_reduction_num
102
+
103
+ @property
104
+ def nodes(self):
105
+ """Gets the nodes of this ListCnInfosBeforeReduceResponse.
106
+
107
+ 节点信息列表。
108
+
109
+ :return: The nodes of this ListCnInfosBeforeReduceResponse.
110
+ :rtype: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.CnInfoBeforeReduce`]
111
+ """
112
+ return self._nodes
113
+
114
+ @nodes.setter
115
+ def nodes(self, nodes):
116
+ """Sets the nodes of this ListCnInfosBeforeReduceResponse.
117
+
118
+ 节点信息列表。
119
+
120
+ :param nodes: The nodes of this ListCnInfosBeforeReduceResponse.
121
+ :type nodes: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.CnInfoBeforeReduce`]
122
+ """
123
+ self._nodes = nodes
124
+
125
+ def to_dict(self):
126
+ """Returns the model properties as a dict"""
127
+ result = {}
128
+
129
+ for attr, _ in six.iteritems(self.openapi_types):
130
+ value = getattr(self, attr)
131
+ if isinstance(value, list):
132
+ result[attr] = list(map(
133
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
134
+ value
135
+ ))
136
+ elif hasattr(value, "to_dict"):
137
+ result[attr] = value.to_dict()
138
+ elif isinstance(value, dict):
139
+ result[attr] = dict(map(
140
+ lambda item: (item[0], item[1].to_dict())
141
+ if hasattr(item[1], "to_dict") else item,
142
+ value.items()
143
+ ))
144
+ else:
145
+ if attr in self.sensitive_list:
146
+ result[attr] = "****"
147
+ else:
148
+ result[attr] = value
149
+
150
+ return result
151
+
152
+ def to_str(self):
153
+ """Returns the string representation of the model"""
154
+ import simplejson as json
155
+ if six.PY2:
156
+ import sys
157
+ reload(sys)
158
+ sys.setdefaultencoding("utf-8")
159
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
160
+
161
+ def __repr__(self):
162
+ """For `print`"""
163
+ return self.to_str()
164
+
165
+ def __eq__(self, other):
166
+ """Returns true if both objects are equal"""
167
+ if not isinstance(other, ListCnInfosBeforeReduceResponse):
168
+ return False
169
+
170
+ return self.__dict__ == other.__dict__
171
+
172
+ def __ne__(self, other):
173
+ """Returns true if both objects are not equal"""
174
+ return not self == other