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,289 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class FeatureResult:
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
+ 'name': 'str',
21
+ 'status': 'str',
22
+ 'description': 'str',
23
+ 'type': 'str',
24
+ 'value': 'str',
25
+ 'range': 'str',
26
+ 'range_description': 'str'
27
+ }
28
+
29
+ attribute_map = {
30
+ 'name': 'name',
31
+ 'status': 'status',
32
+ 'description': 'description',
33
+ 'type': 'type',
34
+ 'value': 'value',
35
+ 'range': 'range',
36
+ 'range_description': 'range_description'
37
+ }
38
+
39
+ def __init__(self, name=None, status=None, description=None, type=None, value=None, range=None, range_description=None):
40
+ """FeatureResult
41
+
42
+ The model defined in huaweicloud sdk
43
+
44
+ :param name: 特性名称。
45
+ :type name: str
46
+ :param status: 特性是否开启。
47
+ :type status: str
48
+ :param description: 特性中文描述。
49
+ :type description: str
50
+ :param type: 特性值类型。
51
+ :type type: str
52
+ :param value: 特性值。
53
+ :type value: str
54
+ :param range: 特性值范围。
55
+ :type range: str
56
+ :param range_description: 特性范围描述。
57
+ :type range_description: str
58
+ """
59
+
60
+
61
+
62
+ self._name = None
63
+ self._status = None
64
+ self._description = None
65
+ self._type = None
66
+ self._value = None
67
+ self._range = None
68
+ self._range_description = None
69
+ self.discriminator = None
70
+
71
+ if name is not None:
72
+ self.name = name
73
+ if status is not None:
74
+ self.status = status
75
+ if description is not None:
76
+ self.description = description
77
+ if type is not None:
78
+ self.type = type
79
+ if value is not None:
80
+ self.value = value
81
+ if range is not None:
82
+ self.range = range
83
+ if range_description is not None:
84
+ self.range_description = range_description
85
+
86
+ @property
87
+ def name(self):
88
+ """Gets the name of this FeatureResult.
89
+
90
+ 特性名称。
91
+
92
+ :return: The name of this FeatureResult.
93
+ :rtype: str
94
+ """
95
+ return self._name
96
+
97
+ @name.setter
98
+ def name(self, name):
99
+ """Sets the name of this FeatureResult.
100
+
101
+ 特性名称。
102
+
103
+ :param name: The name of this FeatureResult.
104
+ :type name: str
105
+ """
106
+ self._name = name
107
+
108
+ @property
109
+ def status(self):
110
+ """Gets the status of this FeatureResult.
111
+
112
+ 特性是否开启。
113
+
114
+ :return: The status of this FeatureResult.
115
+ :rtype: str
116
+ """
117
+ return self._status
118
+
119
+ @status.setter
120
+ def status(self, status):
121
+ """Sets the status of this FeatureResult.
122
+
123
+ 特性是否开启。
124
+
125
+ :param status: The status of this FeatureResult.
126
+ :type status: str
127
+ """
128
+ self._status = status
129
+
130
+ @property
131
+ def description(self):
132
+ """Gets the description of this FeatureResult.
133
+
134
+ 特性中文描述。
135
+
136
+ :return: The description of this FeatureResult.
137
+ :rtype: str
138
+ """
139
+ return self._description
140
+
141
+ @description.setter
142
+ def description(self, description):
143
+ """Sets the description of this FeatureResult.
144
+
145
+ 特性中文描述。
146
+
147
+ :param description: The description of this FeatureResult.
148
+ :type description: str
149
+ """
150
+ self._description = description
151
+
152
+ @property
153
+ def type(self):
154
+ """Gets the type of this FeatureResult.
155
+
156
+ 特性值类型。
157
+
158
+ :return: The type of this FeatureResult.
159
+ :rtype: str
160
+ """
161
+ return self._type
162
+
163
+ @type.setter
164
+ def type(self, type):
165
+ """Sets the type of this FeatureResult.
166
+
167
+ 特性值类型。
168
+
169
+ :param type: The type of this FeatureResult.
170
+ :type type: str
171
+ """
172
+ self._type = type
173
+
174
+ @property
175
+ def value(self):
176
+ """Gets the value of this FeatureResult.
177
+
178
+ 特性值。
179
+
180
+ :return: The value of this FeatureResult.
181
+ :rtype: str
182
+ """
183
+ return self._value
184
+
185
+ @value.setter
186
+ def value(self, value):
187
+ """Sets the value of this FeatureResult.
188
+
189
+ 特性值。
190
+
191
+ :param value: The value of this FeatureResult.
192
+ :type value: str
193
+ """
194
+ self._value = value
195
+
196
+ @property
197
+ def range(self):
198
+ """Gets the range of this FeatureResult.
199
+
200
+ 特性值范围。
201
+
202
+ :return: The range of this FeatureResult.
203
+ :rtype: str
204
+ """
205
+ return self._range
206
+
207
+ @range.setter
208
+ def range(self, range):
209
+ """Sets the range of this FeatureResult.
210
+
211
+ 特性值范围。
212
+
213
+ :param range: The range of this FeatureResult.
214
+ :type range: str
215
+ """
216
+ self._range = range
217
+
218
+ @property
219
+ def range_description(self):
220
+ """Gets the range_description of this FeatureResult.
221
+
222
+ 特性范围描述。
223
+
224
+ :return: The range_description of this FeatureResult.
225
+ :rtype: str
226
+ """
227
+ return self._range_description
228
+
229
+ @range_description.setter
230
+ def range_description(self, range_description):
231
+ """Sets the range_description of this FeatureResult.
232
+
233
+ 特性范围描述。
234
+
235
+ :param range_description: The range_description of this FeatureResult.
236
+ :type range_description: str
237
+ """
238
+ self._range_description = range_description
239
+
240
+ def to_dict(self):
241
+ """Returns the model properties as a dict"""
242
+ result = {}
243
+
244
+ for attr, _ in six.iteritems(self.openapi_types):
245
+ value = getattr(self, attr)
246
+ if isinstance(value, list):
247
+ result[attr] = list(map(
248
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
249
+ value
250
+ ))
251
+ elif hasattr(value, "to_dict"):
252
+ result[attr] = value.to_dict()
253
+ elif isinstance(value, dict):
254
+ result[attr] = dict(map(
255
+ lambda item: (item[0], item[1].to_dict())
256
+ if hasattr(item[1], "to_dict") else item,
257
+ value.items()
258
+ ))
259
+ else:
260
+ if attr in self.sensitive_list:
261
+ result[attr] = "****"
262
+ else:
263
+ result[attr] = value
264
+
265
+ return result
266
+
267
+ def to_str(self):
268
+ """Returns the string representation of the model"""
269
+ import simplejson as json
270
+ if six.PY2:
271
+ import sys
272
+ reload(sys)
273
+ sys.setdefaultencoding("utf-8")
274
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
275
+
276
+ def __repr__(self):
277
+ """For `print`"""
278
+ return self.to_str()
279
+
280
+ def __eq__(self, other):
281
+ """Returns true if both objects are equal"""
282
+ if not isinstance(other, FeatureResult):
283
+ return False
284
+
285
+ return self.__dict__ == other.__dict__
286
+
287
+ def __ne__(self, other):
288
+ """Returns true if both objects are not equal"""
289
+ return not self == other
@@ -31,7 +31,7 @@ class FlavorErrorResponse:
31
31
 
32
32
  The model defined in huaweicloud sdk
33
33
 
34
- :param error_code: 错误码
34
+ :param error_code: 错误码。
35
35
  :type error_code: str
36
36
  :param error_msg: 错误消息。
37
37
  :type error_msg: str
@@ -50,7 +50,7 @@ class FlavorErrorResponse:
50
50
  def error_code(self):
51
51
  """Gets the error_code of this FlavorErrorResponse.
52
52
 
53
- 错误码
53
+ 错误码。
54
54
 
55
55
  :return: The error_code of this FlavorErrorResponse.
56
56
  :rtype: str
@@ -61,7 +61,7 @@ class FlavorErrorResponse:
61
61
  def error_code(self, error_code):
62
62
  """Sets the error_code of this FlavorErrorResponse.
63
63
 
64
- 错误码
64
+ 错误码。
65
65
 
66
66
  :param error_code: The error_code of this FlavorErrorResponse.
67
67
  :type error_code: str
@@ -21,7 +21,9 @@ class GaussDBforOpenGaussListDatabase:
21
21
  'owner': 'str',
22
22
  'character_set': 'str',
23
23
  'collate_set': 'str',
24
- 'size': 'str'
24
+ 'size': 'str',
25
+ 'datctype': 'str',
26
+ 'compatibility_type': 'str'
25
27
  }
26
28
 
27
29
  attribute_map = {
@@ -29,10 +31,12 @@ class GaussDBforOpenGaussListDatabase:
29
31
  'owner': 'owner',
30
32
  'character_set': 'character_set',
31
33
  'collate_set': 'collate_set',
32
- 'size': 'size'
34
+ 'size': 'size',
35
+ 'datctype': 'datctype',
36
+ 'compatibility_type': 'compatibility_type'
33
37
  }
34
38
 
35
- def __init__(self, name=None, owner=None, character_set=None, collate_set=None, size=None):
39
+ def __init__(self, name=None, owner=None, character_set=None, collate_set=None, size=None, datctype=None, compatibility_type=None):
36
40
  """GaussDBforOpenGaussListDatabase
37
41
 
38
42
  The model defined in huaweicloud sdk
@@ -47,6 +51,10 @@ class GaussDBforOpenGaussListDatabase:
47
51
  :type collate_set: str
48
52
  :param size: 数据库大小(单位:MB)。
49
53
  :type size: str
54
+ :param datctype: 数据库使用的字符分类,例如en_US.UTF-8等。
55
+ :type datctype: str
56
+ :param compatibility_type: 数据库兼容的类型,如GaussDB,M。
57
+ :type compatibility_type: str
50
58
  """
51
59
 
52
60
 
@@ -56,6 +64,8 @@ class GaussDBforOpenGaussListDatabase:
56
64
  self._character_set = None
57
65
  self._collate_set = None
58
66
  self._size = None
67
+ self._datctype = None
68
+ self._compatibility_type = None
59
69
  self.discriminator = None
60
70
 
61
71
  if name is not None:
@@ -68,6 +78,10 @@ class GaussDBforOpenGaussListDatabase:
68
78
  self.collate_set = collate_set
69
79
  if size is not None:
70
80
  self.size = size
81
+ if datctype is not None:
82
+ self.datctype = datctype
83
+ if compatibility_type is not None:
84
+ self.compatibility_type = compatibility_type
71
85
 
72
86
  @property
73
87
  def name(self):
@@ -179,6 +193,50 @@ class GaussDBforOpenGaussListDatabase:
179
193
  """
180
194
  self._size = size
181
195
 
196
+ @property
197
+ def datctype(self):
198
+ """Gets the datctype of this GaussDBforOpenGaussListDatabase.
199
+
200
+ 数据库使用的字符分类,例如en_US.UTF-8等。
201
+
202
+ :return: The datctype of this GaussDBforOpenGaussListDatabase.
203
+ :rtype: str
204
+ """
205
+ return self._datctype
206
+
207
+ @datctype.setter
208
+ def datctype(self, datctype):
209
+ """Sets the datctype of this GaussDBforOpenGaussListDatabase.
210
+
211
+ 数据库使用的字符分类,例如en_US.UTF-8等。
212
+
213
+ :param datctype: The datctype of this GaussDBforOpenGaussListDatabase.
214
+ :type datctype: str
215
+ """
216
+ self._datctype = datctype
217
+
218
+ @property
219
+ def compatibility_type(self):
220
+ """Gets the compatibility_type of this GaussDBforOpenGaussListDatabase.
221
+
222
+ 数据库兼容的类型,如GaussDB,M。
223
+
224
+ :return: The compatibility_type of this GaussDBforOpenGaussListDatabase.
225
+ :rtype: str
226
+ """
227
+ return self._compatibility_type
228
+
229
+ @compatibility_type.setter
230
+ def compatibility_type(self, compatibility_type):
231
+ """Sets the compatibility_type of this GaussDBforOpenGaussListDatabase.
232
+
233
+ 数据库兼容的类型,如GaussDB,M。
234
+
235
+ :param compatibility_type: The compatibility_type of this GaussDBforOpenGaussListDatabase.
236
+ :type compatibility_type: str
237
+ """
238
+ self._compatibility_type = compatibility_type
239
+
182
240
  def to_dict(self):
183
241
  """Returns the model properties as a dict"""
184
242
  result = {}
@@ -0,0 +1,199 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class GaussDBforOpenGaussRoleAttributes:
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
+ 'name': 'str',
21
+ 'schema': 'str',
22
+ 'readonly': 'bool',
23
+ 'default_privilege_grantee': 'str'
24
+ }
25
+
26
+ attribute_map = {
27
+ 'name': 'name',
28
+ 'schema': 'schema',
29
+ 'readonly': 'readonly',
30
+ 'default_privilege_grantee': 'default_privilege_grantee'
31
+ }
32
+
33
+ def __init__(self, name=None, schema=None, readonly=None, default_privilege_grantee=None):
34
+ """GaussDBforOpenGaussRoleAttributes
35
+
36
+ The model defined in huaweicloud sdk
37
+
38
+ :param name: 数据库角色名称。 不能使用系统用户或角色,且名称必须存在。 系统用户/角色包括“rdsAdmin”,“rdsMetric”, “rdsBackup”, “rdsRepl”, “root”。
39
+ :type name: str
40
+ :param schema: SCHEMA名称。 不能和模板库以及系统内schema重名,且schema名称必须存在。 模板库包括postgres, template0 ,template1, 系统内schema包括public,information_schema。
41
+ :type schema: str
42
+ :param readonly: 数据库角色权限。 - true:只读。 - false:可读可写。
43
+ :type readonly: bool
44
+ :param default_privilege_grantee: 数据库用户/角色名称。 该字段的含义是将此用户/角色的权限授予给name字段指定的角色,通过readonly字段判断是否授予只读权限。 不能和系统用户/角色名称相同,且用户/角色名称必须存在,系统用户/角色包括“rdsAdmin”,“ rdsMetric”, “rdsBackup”, “rdsRepl”, “root”。
45
+ :type default_privilege_grantee: str
46
+ """
47
+
48
+
49
+
50
+ self._name = None
51
+ self._schema = None
52
+ self._readonly = None
53
+ self._default_privilege_grantee = None
54
+ self.discriminator = None
55
+
56
+ self.name = name
57
+ self.schema = schema
58
+ self.readonly = readonly
59
+ if default_privilege_grantee is not None:
60
+ self.default_privilege_grantee = default_privilege_grantee
61
+
62
+ @property
63
+ def name(self):
64
+ """Gets the name of this GaussDBforOpenGaussRoleAttributes.
65
+
66
+ 数据库角色名称。 不能使用系统用户或角色,且名称必须存在。 系统用户/角色包括“rdsAdmin”,“rdsMetric”, “rdsBackup”, “rdsRepl”, “root”。
67
+
68
+ :return: The name of this GaussDBforOpenGaussRoleAttributes.
69
+ :rtype: str
70
+ """
71
+ return self._name
72
+
73
+ @name.setter
74
+ def name(self, name):
75
+ """Sets the name of this GaussDBforOpenGaussRoleAttributes.
76
+
77
+ 数据库角色名称。 不能使用系统用户或角色,且名称必须存在。 系统用户/角色包括“rdsAdmin”,“rdsMetric”, “rdsBackup”, “rdsRepl”, “root”。
78
+
79
+ :param name: The name of this GaussDBforOpenGaussRoleAttributes.
80
+ :type name: str
81
+ """
82
+ self._name = name
83
+
84
+ @property
85
+ def schema(self):
86
+ """Gets the schema of this GaussDBforOpenGaussRoleAttributes.
87
+
88
+ SCHEMA名称。 不能和模板库以及系统内schema重名,且schema名称必须存在。 模板库包括postgres, template0 ,template1, 系统内schema包括public,information_schema。
89
+
90
+ :return: The schema of this GaussDBforOpenGaussRoleAttributes.
91
+ :rtype: str
92
+ """
93
+ return self._schema
94
+
95
+ @schema.setter
96
+ def schema(self, schema):
97
+ """Sets the schema of this GaussDBforOpenGaussRoleAttributes.
98
+
99
+ SCHEMA名称。 不能和模板库以及系统内schema重名,且schema名称必须存在。 模板库包括postgres, template0 ,template1, 系统内schema包括public,information_schema。
100
+
101
+ :param schema: The schema of this GaussDBforOpenGaussRoleAttributes.
102
+ :type schema: str
103
+ """
104
+ self._schema = schema
105
+
106
+ @property
107
+ def readonly(self):
108
+ """Gets the readonly of this GaussDBforOpenGaussRoleAttributes.
109
+
110
+ 数据库角色权限。 - true:只读。 - false:可读可写。
111
+
112
+ :return: The readonly of this GaussDBforOpenGaussRoleAttributes.
113
+ :rtype: bool
114
+ """
115
+ return self._readonly
116
+
117
+ @readonly.setter
118
+ def readonly(self, readonly):
119
+ """Sets the readonly of this GaussDBforOpenGaussRoleAttributes.
120
+
121
+ 数据库角色权限。 - true:只读。 - false:可读可写。
122
+
123
+ :param readonly: The readonly of this GaussDBforOpenGaussRoleAttributes.
124
+ :type readonly: bool
125
+ """
126
+ self._readonly = readonly
127
+
128
+ @property
129
+ def default_privilege_grantee(self):
130
+ """Gets the default_privilege_grantee of this GaussDBforOpenGaussRoleAttributes.
131
+
132
+ 数据库用户/角色名称。 该字段的含义是将此用户/角色的权限授予给name字段指定的角色,通过readonly字段判断是否授予只读权限。 不能和系统用户/角色名称相同,且用户/角色名称必须存在,系统用户/角色包括“rdsAdmin”,“ rdsMetric”, “rdsBackup”, “rdsRepl”, “root”。
133
+
134
+ :return: The default_privilege_grantee of this GaussDBforOpenGaussRoleAttributes.
135
+ :rtype: str
136
+ """
137
+ return self._default_privilege_grantee
138
+
139
+ @default_privilege_grantee.setter
140
+ def default_privilege_grantee(self, default_privilege_grantee):
141
+ """Sets the default_privilege_grantee of this GaussDBforOpenGaussRoleAttributes.
142
+
143
+ 数据库用户/角色名称。 该字段的含义是将此用户/角色的权限授予给name字段指定的角色,通过readonly字段判断是否授予只读权限。 不能和系统用户/角色名称相同,且用户/角色名称必须存在,系统用户/角色包括“rdsAdmin”,“ rdsMetric”, “rdsBackup”, “rdsRepl”, “root”。
144
+
145
+ :param default_privilege_grantee: The default_privilege_grantee of this GaussDBforOpenGaussRoleAttributes.
146
+ :type default_privilege_grantee: str
147
+ """
148
+ self._default_privilege_grantee = default_privilege_grantee
149
+
150
+ def to_dict(self):
151
+ """Returns the model properties as a dict"""
152
+ result = {}
153
+
154
+ for attr, _ in six.iteritems(self.openapi_types):
155
+ value = getattr(self, attr)
156
+ if isinstance(value, list):
157
+ result[attr] = list(map(
158
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
159
+ value
160
+ ))
161
+ elif hasattr(value, "to_dict"):
162
+ result[attr] = value.to_dict()
163
+ elif isinstance(value, dict):
164
+ result[attr] = dict(map(
165
+ lambda item: (item[0], item[1].to_dict())
166
+ if hasattr(item[1], "to_dict") else item,
167
+ value.items()
168
+ ))
169
+ else:
170
+ if attr in self.sensitive_list:
171
+ result[attr] = "****"
172
+ else:
173
+ result[attr] = value
174
+
175
+ return result
176
+
177
+ def to_str(self):
178
+ """Returns the string representation of the model"""
179
+ import simplejson as json
180
+ if six.PY2:
181
+ import sys
182
+ reload(sys)
183
+ sys.setdefaultencoding("utf-8")
184
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
185
+
186
+ def __repr__(self):
187
+ """For `print`"""
188
+ return self.to_str()
189
+
190
+ def __eq__(self, other):
191
+ """Returns true if both objects are equal"""
192
+ if not isinstance(other, GaussDBforOpenGaussRoleAttributes):
193
+ return False
194
+
195
+ return self.__dict__ == other.__dict__
196
+
197
+ def __ne__(self, other):
198
+ """Returns true if both objects are not equal"""
199
+ return not self == other