huaweicloudsdkgaussdbforopengauss 3.1.85__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.85.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.132.dist-info}/METADATA +2 -2
  200. {huaweicloudsdkgaussdbforopengauss-3.1.85.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.132.dist-info}/RECORD +203 -37
  201. {huaweicloudsdkgaussdbforopengauss-3.1.85.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.132.dist-info}/WHEEL +1 -1
  202. {huaweicloudsdkgaussdbforopengauss-3.1.85.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.132.dist-info}/LICENSE +0 -0
  203. {huaweicloudsdkgaussdbforopengauss-3.1.85.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.132.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,202 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class CanBeUpgradedHotfixDetail:
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
+ 'version': 'str',
21
+ 'common_patch': 'str',
22
+ 'backup_sensitive': 'bool',
23
+ 'descripition': 'str'
24
+ }
25
+
26
+ attribute_map = {
27
+ 'version': 'version',
28
+ 'common_patch': 'common_patch',
29
+ 'backup_sensitive': 'backup_sensitive',
30
+ 'descripition': 'descripition'
31
+ }
32
+
33
+ def __init__(self, version=None, common_patch=None, backup_sensitive=None, descripition=None):
34
+ """CanBeUpgradedHotfixDetail
35
+
36
+ The model defined in huaweicloud sdk
37
+
38
+ :param version: 热补丁版本。
39
+ :type version: str
40
+ :param common_patch: 通用/非通用补丁信息。 枚举值: \"common\": 通用补丁。 \"certain\": 定制补丁。
41
+ :type common_patch: str
42
+ :param backup_sensitive: 是否和备份相关。
43
+ :type backup_sensitive: bool
44
+ :param descripition: 补丁的描述信息。
45
+ :type descripition: str
46
+ """
47
+
48
+
49
+
50
+ self._version = None
51
+ self._common_patch = None
52
+ self._backup_sensitive = None
53
+ self._descripition = None
54
+ self.discriminator = None
55
+
56
+ if version is not None:
57
+ self.version = version
58
+ if common_patch is not None:
59
+ self.common_patch = common_patch
60
+ if backup_sensitive is not None:
61
+ self.backup_sensitive = backup_sensitive
62
+ if descripition is not None:
63
+ self.descripition = descripition
64
+
65
+ @property
66
+ def version(self):
67
+ """Gets the version of this CanBeUpgradedHotfixDetail.
68
+
69
+ 热补丁版本。
70
+
71
+ :return: The version of this CanBeUpgradedHotfixDetail.
72
+ :rtype: str
73
+ """
74
+ return self._version
75
+
76
+ @version.setter
77
+ def version(self, version):
78
+ """Sets the version of this CanBeUpgradedHotfixDetail.
79
+
80
+ 热补丁版本。
81
+
82
+ :param version: The version of this CanBeUpgradedHotfixDetail.
83
+ :type version: str
84
+ """
85
+ self._version = version
86
+
87
+ @property
88
+ def common_patch(self):
89
+ """Gets the common_patch of this CanBeUpgradedHotfixDetail.
90
+
91
+ 通用/非通用补丁信息。 枚举值: \"common\": 通用补丁。 \"certain\": 定制补丁。
92
+
93
+ :return: The common_patch of this CanBeUpgradedHotfixDetail.
94
+ :rtype: str
95
+ """
96
+ return self._common_patch
97
+
98
+ @common_patch.setter
99
+ def common_patch(self, common_patch):
100
+ """Sets the common_patch of this CanBeUpgradedHotfixDetail.
101
+
102
+ 通用/非通用补丁信息。 枚举值: \"common\": 通用补丁。 \"certain\": 定制补丁。
103
+
104
+ :param common_patch: The common_patch of this CanBeUpgradedHotfixDetail.
105
+ :type common_patch: str
106
+ """
107
+ self._common_patch = common_patch
108
+
109
+ @property
110
+ def backup_sensitive(self):
111
+ """Gets the backup_sensitive of this CanBeUpgradedHotfixDetail.
112
+
113
+ 是否和备份相关。
114
+
115
+ :return: The backup_sensitive of this CanBeUpgradedHotfixDetail.
116
+ :rtype: bool
117
+ """
118
+ return self._backup_sensitive
119
+
120
+ @backup_sensitive.setter
121
+ def backup_sensitive(self, backup_sensitive):
122
+ """Sets the backup_sensitive of this CanBeUpgradedHotfixDetail.
123
+
124
+ 是否和备份相关。
125
+
126
+ :param backup_sensitive: The backup_sensitive of this CanBeUpgradedHotfixDetail.
127
+ :type backup_sensitive: bool
128
+ """
129
+ self._backup_sensitive = backup_sensitive
130
+
131
+ @property
132
+ def descripition(self):
133
+ """Gets the descripition of this CanBeUpgradedHotfixDetail.
134
+
135
+ 补丁的描述信息。
136
+
137
+ :return: The descripition of this CanBeUpgradedHotfixDetail.
138
+ :rtype: str
139
+ """
140
+ return self._descripition
141
+
142
+ @descripition.setter
143
+ def descripition(self, descripition):
144
+ """Sets the descripition of this CanBeUpgradedHotfixDetail.
145
+
146
+ 补丁的描述信息。
147
+
148
+ :param descripition: The descripition of this CanBeUpgradedHotfixDetail.
149
+ :type descripition: str
150
+ """
151
+ self._descripition = descripition
152
+
153
+ def to_dict(self):
154
+ """Returns the model properties as a dict"""
155
+ result = {}
156
+
157
+ for attr, _ in six.iteritems(self.openapi_types):
158
+ value = getattr(self, attr)
159
+ if isinstance(value, list):
160
+ result[attr] = list(map(
161
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
162
+ value
163
+ ))
164
+ elif hasattr(value, "to_dict"):
165
+ result[attr] = value.to_dict()
166
+ elif isinstance(value, dict):
167
+ result[attr] = dict(map(
168
+ lambda item: (item[0], item[1].to_dict())
169
+ if hasattr(item[1], "to_dict") else item,
170
+ value.items()
171
+ ))
172
+ else:
173
+ if attr in self.sensitive_list:
174
+ result[attr] = "****"
175
+ else:
176
+ result[attr] = value
177
+
178
+ return result
179
+
180
+ def to_str(self):
181
+ """Returns the string representation of the model"""
182
+ import simplejson as json
183
+ if six.PY2:
184
+ import sys
185
+ reload(sys)
186
+ sys.setdefaultencoding("utf-8")
187
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
188
+
189
+ def __repr__(self):
190
+ """For `print`"""
191
+ return self.to_str()
192
+
193
+ def __eq__(self, other):
194
+ """Returns true if both objects are equal"""
195
+ if not isinstance(other, CanBeUpgradedHotfixDetail):
196
+ return False
197
+
198
+ return self.__dict__ == other.__dict__
199
+
200
+ def __ne__(self, other):
201
+ """Returns true if both objects are not equal"""
202
+ return not self == other
@@ -0,0 +1,231 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class CnInfoBeforeReduce:
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
+ 'status': 'str',
23
+ 'availability_zone': 'str',
24
+ 'support_reduce': 'bool'
25
+ }
26
+
27
+ attribute_map = {
28
+ 'id': 'id',
29
+ 'name': 'name',
30
+ 'status': 'status',
31
+ 'availability_zone': 'availability_zone',
32
+ 'support_reduce': 'support_reduce'
33
+ }
34
+
35
+ def __init__(self, id=None, name=None, status=None, availability_zone=None, support_reduce=None):
36
+ """CnInfoBeforeReduce
37
+
38
+ The model defined in huaweicloud sdk
39
+
40
+ :param id: 节点ID。
41
+ :type id: str
42
+ :param name: 节点名称。
43
+ :type name: str
44
+ :param status: 节点状态。 取值: 值为“normal”,表示节点正常。 值为“abnormal”,表示节点异常。 值为“creating”,表示节点正在创建。 值为“createfail”,表示节点创建失败。
45
+ :type status: str
46
+ :param availability_zone: 可用区。
47
+ :type availability_zone: str
48
+ :param support_reduce: 是否允许删除。
49
+ :type support_reduce: bool
50
+ """
51
+
52
+
53
+
54
+ self._id = None
55
+ self._name = None
56
+ self._status = None
57
+ self._availability_zone = None
58
+ self._support_reduce = None
59
+ self.discriminator = None
60
+
61
+ if id is not None:
62
+ self.id = id
63
+ if name is not None:
64
+ self.name = name
65
+ if status is not None:
66
+ self.status = status
67
+ if availability_zone is not None:
68
+ self.availability_zone = availability_zone
69
+ if support_reduce is not None:
70
+ self.support_reduce = support_reduce
71
+
72
+ @property
73
+ def id(self):
74
+ """Gets the id of this CnInfoBeforeReduce.
75
+
76
+ 节点ID。
77
+
78
+ :return: The id of this CnInfoBeforeReduce.
79
+ :rtype: str
80
+ """
81
+ return self._id
82
+
83
+ @id.setter
84
+ def id(self, id):
85
+ """Sets the id of this CnInfoBeforeReduce.
86
+
87
+ 节点ID。
88
+
89
+ :param id: The id of this CnInfoBeforeReduce.
90
+ :type id: str
91
+ """
92
+ self._id = id
93
+
94
+ @property
95
+ def name(self):
96
+ """Gets the name of this CnInfoBeforeReduce.
97
+
98
+ 节点名称。
99
+
100
+ :return: The name of this CnInfoBeforeReduce.
101
+ :rtype: str
102
+ """
103
+ return self._name
104
+
105
+ @name.setter
106
+ def name(self, name):
107
+ """Sets the name of this CnInfoBeforeReduce.
108
+
109
+ 节点名称。
110
+
111
+ :param name: The name of this CnInfoBeforeReduce.
112
+ :type name: str
113
+ """
114
+ self._name = name
115
+
116
+ @property
117
+ def status(self):
118
+ """Gets the status of this CnInfoBeforeReduce.
119
+
120
+ 节点状态。 取值: 值为“normal”,表示节点正常。 值为“abnormal”,表示节点异常。 值为“creating”,表示节点正在创建。 值为“createfail”,表示节点创建失败。
121
+
122
+ :return: The status of this CnInfoBeforeReduce.
123
+ :rtype: str
124
+ """
125
+ return self._status
126
+
127
+ @status.setter
128
+ def status(self, status):
129
+ """Sets the status of this CnInfoBeforeReduce.
130
+
131
+ 节点状态。 取值: 值为“normal”,表示节点正常。 值为“abnormal”,表示节点异常。 值为“creating”,表示节点正在创建。 值为“createfail”,表示节点创建失败。
132
+
133
+ :param status: The status of this CnInfoBeforeReduce.
134
+ :type status: str
135
+ """
136
+ self._status = status
137
+
138
+ @property
139
+ def availability_zone(self):
140
+ """Gets the availability_zone of this CnInfoBeforeReduce.
141
+
142
+ 可用区。
143
+
144
+ :return: The availability_zone of this CnInfoBeforeReduce.
145
+ :rtype: str
146
+ """
147
+ return self._availability_zone
148
+
149
+ @availability_zone.setter
150
+ def availability_zone(self, availability_zone):
151
+ """Sets the availability_zone of this CnInfoBeforeReduce.
152
+
153
+ 可用区。
154
+
155
+ :param availability_zone: The availability_zone of this CnInfoBeforeReduce.
156
+ :type availability_zone: str
157
+ """
158
+ self._availability_zone = availability_zone
159
+
160
+ @property
161
+ def support_reduce(self):
162
+ """Gets the support_reduce of this CnInfoBeforeReduce.
163
+
164
+ 是否允许删除。
165
+
166
+ :return: The support_reduce of this CnInfoBeforeReduce.
167
+ :rtype: bool
168
+ """
169
+ return self._support_reduce
170
+
171
+ @support_reduce.setter
172
+ def support_reduce(self, support_reduce):
173
+ """Sets the support_reduce of this CnInfoBeforeReduce.
174
+
175
+ 是否允许删除。
176
+
177
+ :param support_reduce: The support_reduce of this CnInfoBeforeReduce.
178
+ :type support_reduce: bool
179
+ """
180
+ self._support_reduce = support_reduce
181
+
182
+ def to_dict(self):
183
+ """Returns the model properties as a dict"""
184
+ result = {}
185
+
186
+ for attr, _ in six.iteritems(self.openapi_types):
187
+ value = getattr(self, attr)
188
+ if isinstance(value, list):
189
+ result[attr] = list(map(
190
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
191
+ value
192
+ ))
193
+ elif hasattr(value, "to_dict"):
194
+ result[attr] = value.to_dict()
195
+ elif isinstance(value, dict):
196
+ result[attr] = dict(map(
197
+ lambda item: (item[0], item[1].to_dict())
198
+ if hasattr(item[1], "to_dict") else item,
199
+ value.items()
200
+ ))
201
+ else:
202
+ if attr in self.sensitive_list:
203
+ result[attr] = "****"
204
+ else:
205
+ result[attr] = value
206
+
207
+ return result
208
+
209
+ def to_str(self):
210
+ """Returns the string representation of the model"""
211
+ import simplejson as json
212
+ if six.PY2:
213
+ import sys
214
+ reload(sys)
215
+ sys.setdefaultencoding("utf-8")
216
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
217
+
218
+ def __repr__(self):
219
+ """For `print`"""
220
+ return self.to_str()
221
+
222
+ def __eq__(self, other):
223
+ """Returns true if both objects are equal"""
224
+ if not isinstance(other, CnInfoBeforeReduce):
225
+ return False
226
+
227
+ return self.__dict__ == other.__dict__
228
+
229
+ def __ne__(self, other):
230
+ """Returns true if both objects are not equal"""
231
+ return not self == other
@@ -20,17 +20,21 @@ class Components:
20
20
  'id': 'str',
21
21
  'role': 'str',
22
22
  'status': 'str',
23
- 'distributed_id': 'str'
23
+ 'distributed_id': 'str',
24
+ 'type': 'str',
25
+ 'detail': 'str'
24
26
  }
25
27
 
26
28
  attribute_map = {
27
29
  'id': 'id',
28
30
  'role': 'role',
29
31
  'status': 'status',
30
- 'distributed_id': 'distributed_id'
32
+ 'distributed_id': 'distributed_id',
33
+ 'type': 'type',
34
+ 'detail': 'detail'
31
35
  }
32
36
 
33
- def __init__(self, id=None, role=None, status=None, distributed_id=None):
37
+ def __init__(self, id=None, role=None, status=None, distributed_id=None, type=None, detail=None):
34
38
  """Components
35
39
 
36
40
  The model defined in huaweicloud sdk
@@ -43,6 +47,10 @@ class Components:
43
47
  :type status: str
44
48
  :param distributed_id: 分组id,只有dn组件有分组id,用于区分是否是同一个分片下的组件。其他组件为空字符串。
45
49
  :type distributed_id: str
50
+ :param type: 节点类型,包括:DN, CN, GTM, CM, ETCD。
51
+ :type type: str
52
+ :param detail: 详情。
53
+ :type detail: str
46
54
  """
47
55
 
48
56
 
@@ -51,6 +59,8 @@ class Components:
51
59
  self._role = None
52
60
  self._status = None
53
61
  self._distributed_id = None
62
+ self._type = None
63
+ self._detail = None
54
64
  self.discriminator = None
55
65
 
56
66
  if id is not None:
@@ -61,6 +71,10 @@ class Components:
61
71
  self.status = status
62
72
  if distributed_id is not None:
63
73
  self.distributed_id = distributed_id
74
+ if type is not None:
75
+ self.type = type
76
+ if detail is not None:
77
+ self.detail = detail
64
78
 
65
79
  @property
66
80
  def id(self):
@@ -150,6 +164,50 @@ class Components:
150
164
  """
151
165
  self._distributed_id = distributed_id
152
166
 
167
+ @property
168
+ def type(self):
169
+ """Gets the type of this Components.
170
+
171
+ 节点类型,包括:DN, CN, GTM, CM, ETCD。
172
+
173
+ :return: The type of this Components.
174
+ :rtype: str
175
+ """
176
+ return self._type
177
+
178
+ @type.setter
179
+ def type(self, type):
180
+ """Sets the type of this Components.
181
+
182
+ 节点类型,包括:DN, CN, GTM, CM, ETCD。
183
+
184
+ :param type: The type of this Components.
185
+ :type type: str
186
+ """
187
+ self._type = type
188
+
189
+ @property
190
+ def detail(self):
191
+ """Gets the detail of this Components.
192
+
193
+ 详情。
194
+
195
+ :return: The detail of this Components.
196
+ :rtype: str
197
+ """
198
+ return self._detail
199
+
200
+ @detail.setter
201
+ def detail(self, detail):
202
+ """Sets the detail of this Components.
203
+
204
+ 详情。
205
+
206
+ :param detail: The detail of this Components.
207
+ :type detail: str
208
+ """
209
+ self._detail = detail
210
+
153
211
  def to_dict(self):
154
212
  """Returns the model properties as a dict"""
155
213
  result = {}