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
@@ -18,41 +18,48 @@ class GaussDBforOpenGaussUserForList:
18
18
 
19
19
  openapi_types = {
20
20
  'name': 'str',
21
- 'attributes': 'GaussDBforOpenGaussUserForListAttributes',
22
- 'memberof': 'str'
21
+ 'attribute': 'GaussDBforOpenGaussUserForListAttribute',
22
+ 'memberof': 'str',
23
+ 'lock_status': 'bool'
23
24
  }
24
25
 
25
26
  attribute_map = {
26
27
  'name': 'name',
27
- 'attributes': 'attributes',
28
- 'memberof': 'memberof'
28
+ 'attribute': 'attribute',
29
+ 'memberof': 'memberof',
30
+ 'lock_status': 'lock_status'
29
31
  }
30
32
 
31
- def __init__(self, name=None, attributes=None, memberof=None):
33
+ def __init__(self, name=None, attribute=None, memberof=None, lock_status=None):
32
34
  """GaussDBforOpenGaussUserForList
33
35
 
34
36
  The model defined in huaweicloud sdk
35
37
 
36
38
  :param name: 帐号名。
37
39
  :type name: str
38
- :param attributes:
39
- :type attributes: :class:`huaweicloudsdkgaussdbforopengauss.v3.GaussDBforOpenGaussUserForListAttributes`
40
+ :param attribute:
41
+ :type attribute: :class:`huaweicloudsdkgaussdbforopengauss.v3.GaussDBforOpenGaussUserForListAttribute`
40
42
  :param memberof: 用户的默认权限。
41
43
  :type memberof: str
44
+ :param lock_status: 用户是否被锁,取值为“true”或“false”。
45
+ :type lock_status: bool
42
46
  """
43
47
 
44
48
 
45
49
 
46
50
  self._name = None
47
- self._attributes = None
51
+ self._attribute = None
48
52
  self._memberof = None
53
+ self._lock_status = None
49
54
  self.discriminator = None
50
55
 
51
56
  self.name = name
52
- if attributes is not None:
53
- self.attributes = attributes
57
+ if attribute is not None:
58
+ self.attribute = attribute
54
59
  if memberof is not None:
55
60
  self.memberof = memberof
61
+ if lock_status is not None:
62
+ self.lock_status = lock_status
56
63
 
57
64
  @property
58
65
  def name(self):
@@ -77,22 +84,22 @@ class GaussDBforOpenGaussUserForList:
77
84
  self._name = name
78
85
 
79
86
  @property
80
- def attributes(self):
81
- """Gets the attributes of this GaussDBforOpenGaussUserForList.
87
+ def attribute(self):
88
+ """Gets the attribute of this GaussDBforOpenGaussUserForList.
82
89
 
83
- :return: The attributes of this GaussDBforOpenGaussUserForList.
84
- :rtype: :class:`huaweicloudsdkgaussdbforopengauss.v3.GaussDBforOpenGaussUserForListAttributes`
90
+ :return: The attribute of this GaussDBforOpenGaussUserForList.
91
+ :rtype: :class:`huaweicloudsdkgaussdbforopengauss.v3.GaussDBforOpenGaussUserForListAttribute`
85
92
  """
86
- return self._attributes
93
+ return self._attribute
87
94
 
88
- @attributes.setter
89
- def attributes(self, attributes):
90
- """Sets the attributes of this GaussDBforOpenGaussUserForList.
95
+ @attribute.setter
96
+ def attribute(self, attribute):
97
+ """Sets the attribute of this GaussDBforOpenGaussUserForList.
91
98
 
92
- :param attributes: The attributes of this GaussDBforOpenGaussUserForList.
93
- :type attributes: :class:`huaweicloudsdkgaussdbforopengauss.v3.GaussDBforOpenGaussUserForListAttributes`
99
+ :param attribute: The attribute of this GaussDBforOpenGaussUserForList.
100
+ :type attribute: :class:`huaweicloudsdkgaussdbforopengauss.v3.GaussDBforOpenGaussUserForListAttribute`
94
101
  """
95
- self._attributes = attributes
102
+ self._attribute = attribute
96
103
 
97
104
  @property
98
105
  def memberof(self):
@@ -116,6 +123,28 @@ class GaussDBforOpenGaussUserForList:
116
123
  """
117
124
  self._memberof = memberof
118
125
 
126
+ @property
127
+ def lock_status(self):
128
+ """Gets the lock_status of this GaussDBforOpenGaussUserForList.
129
+
130
+ 用户是否被锁,取值为“true”或“false”。
131
+
132
+ :return: The lock_status of this GaussDBforOpenGaussUserForList.
133
+ :rtype: bool
134
+ """
135
+ return self._lock_status
136
+
137
+ @lock_status.setter
138
+ def lock_status(self, lock_status):
139
+ """Sets the lock_status of this GaussDBforOpenGaussUserForList.
140
+
141
+ 用户是否被锁,取值为“true”或“false”。
142
+
143
+ :param lock_status: The lock_status of this GaussDBforOpenGaussUserForList.
144
+ :type lock_status: bool
145
+ """
146
+ self._lock_status = lock_status
147
+
119
148
  def to_dict(self):
120
149
  """Returns the model properties as a dict"""
121
150
  result = {}
@@ -5,7 +5,7 @@ import six
5
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
6
 
7
7
 
8
- class GaussDBforOpenGaussUserForListAttributes:
8
+ class GaussDBforOpenGaussUserForListAttribute:
9
9
 
10
10
  """
11
11
  Attributes:
@@ -24,7 +24,8 @@ class GaussDBforOpenGaussUserForListAttributes:
24
24
  'rolcanlogin': 'bool',
25
25
  'rolconnlimit': 'int',
26
26
  'rolreplication': 'bool',
27
- 'rolbypassrls': 'bool'
27
+ 'rolbypassrls': 'bool',
28
+ 'rolpassworddeadline': 'str'
28
29
  }
29
30
 
30
31
  attribute_map = {
@@ -35,11 +36,12 @@ class GaussDBforOpenGaussUserForListAttributes:
35
36
  'rolcanlogin': 'rolcanlogin',
36
37
  'rolconnlimit': 'rolconnlimit',
37
38
  'rolreplication': 'rolreplication',
38
- 'rolbypassrls': 'rolbypassrls'
39
+ 'rolbypassrls': 'rolbypassrls',
40
+ 'rolpassworddeadline': 'rolpassworddeadline'
39
41
  }
40
42
 
41
- def __init__(self, rolsuper=None, rolinherit=None, rolcreaterole=None, rolcreatedb=None, rolcanlogin=None, rolconnlimit=None, rolreplication=None, rolbypassrls=None):
42
- """GaussDBforOpenGaussUserForListAttributes
43
+ def __init__(self, rolsuper=None, rolinherit=None, rolcreaterole=None, rolcreatedb=None, rolcanlogin=None, rolconnlimit=None, rolreplication=None, rolbypassrls=None, rolpassworddeadline=None):
44
+ """GaussDBforOpenGaussUserForListAttribute
43
45
 
44
46
  The model defined in huaweicloud sdk
45
47
 
@@ -59,6 +61,8 @@ class GaussDBforOpenGaussUserForListAttributes:
59
61
  :type rolreplication: bool
60
62
  :param rolbypassrls: 用户是否绕过每个行级安全策略,取值为“true”或“false”。
61
63
  :type rolbypassrls: bool
64
+ :param rolpassworddeadline: 用户密码过期时间。
65
+ :type rolpassworddeadline: str
62
66
  """
63
67
 
64
68
 
@@ -71,6 +75,7 @@ class GaussDBforOpenGaussUserForListAttributes:
71
75
  self._rolconnlimit = None
72
76
  self._rolreplication = None
73
77
  self._rolbypassrls = None
78
+ self._rolpassworddeadline = None
74
79
  self.discriminator = None
75
80
 
76
81
  if rolsuper is not None:
@@ -89,183 +94,207 @@ class GaussDBforOpenGaussUserForListAttributes:
89
94
  self.rolreplication = rolreplication
90
95
  if rolbypassrls is not None:
91
96
  self.rolbypassrls = rolbypassrls
97
+ if rolpassworddeadline is not None:
98
+ self.rolpassworddeadline = rolpassworddeadline
92
99
 
93
100
  @property
94
101
  def rolsuper(self):
95
- """Gets the rolsuper of this GaussDBforOpenGaussUserForListAttributes.
102
+ """Gets the rolsuper of this GaussDBforOpenGaussUserForListAttribute.
96
103
 
97
104
  用户是否具有超级用户权限,取值为“true”或“false”。
98
105
 
99
- :return: The rolsuper of this GaussDBforOpenGaussUserForListAttributes.
106
+ :return: The rolsuper of this GaussDBforOpenGaussUserForListAttribute.
100
107
  :rtype: bool
101
108
  """
102
109
  return self._rolsuper
103
110
 
104
111
  @rolsuper.setter
105
112
  def rolsuper(self, rolsuper):
106
- """Sets the rolsuper of this GaussDBforOpenGaussUserForListAttributes.
113
+ """Sets the rolsuper of this GaussDBforOpenGaussUserForListAttribute.
107
114
 
108
115
  用户是否具有超级用户权限,取值为“true”或“false”。
109
116
 
110
- :param rolsuper: The rolsuper of this GaussDBforOpenGaussUserForListAttributes.
117
+ :param rolsuper: The rolsuper of this GaussDBforOpenGaussUserForListAttribute.
111
118
  :type rolsuper: bool
112
119
  """
113
120
  self._rolsuper = rolsuper
114
121
 
115
122
  @property
116
123
  def rolinherit(self):
117
- """Gets the rolinherit of this GaussDBforOpenGaussUserForListAttributes.
124
+ """Gets the rolinherit of this GaussDBforOpenGaussUserForListAttribute.
118
125
 
119
126
  用户是否自动继承其所属角色的权限,取值为“true”或“false”。
120
127
 
121
- :return: The rolinherit of this GaussDBforOpenGaussUserForListAttributes.
128
+ :return: The rolinherit of this GaussDBforOpenGaussUserForListAttribute.
122
129
  :rtype: bool
123
130
  """
124
131
  return self._rolinherit
125
132
 
126
133
  @rolinherit.setter
127
134
  def rolinherit(self, rolinherit):
128
- """Sets the rolinherit of this GaussDBforOpenGaussUserForListAttributes.
135
+ """Sets the rolinherit of this GaussDBforOpenGaussUserForListAttribute.
129
136
 
130
137
  用户是否自动继承其所属角色的权限,取值为“true”或“false”。
131
138
 
132
- :param rolinherit: The rolinherit of this GaussDBforOpenGaussUserForListAttributes.
139
+ :param rolinherit: The rolinherit of this GaussDBforOpenGaussUserForListAttribute.
133
140
  :type rolinherit: bool
134
141
  """
135
142
  self._rolinherit = rolinherit
136
143
 
137
144
  @property
138
145
  def rolcreaterole(self):
139
- """Gets the rolcreaterole of this GaussDBforOpenGaussUserForListAttributes.
146
+ """Gets the rolcreaterole of this GaussDBforOpenGaussUserForListAttribute.
140
147
 
141
148
  用户是否支持创建其他子用户,取值为“true”或“false”。
142
149
 
143
- :return: The rolcreaterole of this GaussDBforOpenGaussUserForListAttributes.
150
+ :return: The rolcreaterole of this GaussDBforOpenGaussUserForListAttribute.
144
151
  :rtype: bool
145
152
  """
146
153
  return self._rolcreaterole
147
154
 
148
155
  @rolcreaterole.setter
149
156
  def rolcreaterole(self, rolcreaterole):
150
- """Sets the rolcreaterole of this GaussDBforOpenGaussUserForListAttributes.
157
+ """Sets the rolcreaterole of this GaussDBforOpenGaussUserForListAttribute.
151
158
 
152
159
  用户是否支持创建其他子用户,取值为“true”或“false”。
153
160
 
154
- :param rolcreaterole: The rolcreaterole of this GaussDBforOpenGaussUserForListAttributes.
161
+ :param rolcreaterole: The rolcreaterole of this GaussDBforOpenGaussUserForListAttribute.
155
162
  :type rolcreaterole: bool
156
163
  """
157
164
  self._rolcreaterole = rolcreaterole
158
165
 
159
166
  @property
160
167
  def rolcreatedb(self):
161
- """Gets the rolcreatedb of this GaussDBforOpenGaussUserForListAttributes.
168
+ """Gets the rolcreatedb of this GaussDBforOpenGaussUserForListAttribute.
162
169
 
163
170
  用户是否可以创建数据库,取值为“true”或“false”。
164
171
 
165
- :return: The rolcreatedb of this GaussDBforOpenGaussUserForListAttributes.
172
+ :return: The rolcreatedb of this GaussDBforOpenGaussUserForListAttribute.
166
173
  :rtype: bool
167
174
  """
168
175
  return self._rolcreatedb
169
176
 
170
177
  @rolcreatedb.setter
171
178
  def rolcreatedb(self, rolcreatedb):
172
- """Sets the rolcreatedb of this GaussDBforOpenGaussUserForListAttributes.
179
+ """Sets the rolcreatedb of this GaussDBforOpenGaussUserForListAttribute.
173
180
 
174
181
  用户是否可以创建数据库,取值为“true”或“false”。
175
182
 
176
- :param rolcreatedb: The rolcreatedb of this GaussDBforOpenGaussUserForListAttributes.
183
+ :param rolcreatedb: The rolcreatedb of this GaussDBforOpenGaussUserForListAttribute.
177
184
  :type rolcreatedb: bool
178
185
  """
179
186
  self._rolcreatedb = rolcreatedb
180
187
 
181
188
  @property
182
189
  def rolcanlogin(self):
183
- """Gets the rolcanlogin of this GaussDBforOpenGaussUserForListAttributes.
190
+ """Gets the rolcanlogin of this GaussDBforOpenGaussUserForListAttribute.
184
191
 
185
192
  用户是否可以登录数据库,取值为“true”或“false”。
186
193
 
187
- :return: The rolcanlogin of this GaussDBforOpenGaussUserForListAttributes.
194
+ :return: The rolcanlogin of this GaussDBforOpenGaussUserForListAttribute.
188
195
  :rtype: bool
189
196
  """
190
197
  return self._rolcanlogin
191
198
 
192
199
  @rolcanlogin.setter
193
200
  def rolcanlogin(self, rolcanlogin):
194
- """Sets the rolcanlogin of this GaussDBforOpenGaussUserForListAttributes.
201
+ """Sets the rolcanlogin of this GaussDBforOpenGaussUserForListAttribute.
195
202
 
196
203
  用户是否可以登录数据库,取值为“true”或“false”。
197
204
 
198
- :param rolcanlogin: The rolcanlogin of this GaussDBforOpenGaussUserForListAttributes.
205
+ :param rolcanlogin: The rolcanlogin of this GaussDBforOpenGaussUserForListAttribute.
199
206
  :type rolcanlogin: bool
200
207
  """
201
208
  self._rolcanlogin = rolcanlogin
202
209
 
203
210
  @property
204
211
  def rolconnlimit(self):
205
- """Gets the rolconnlimit of this GaussDBforOpenGaussUserForListAttributes.
212
+ """Gets the rolconnlimit of this GaussDBforOpenGaussUserForListAttribute.
206
213
 
207
214
  用户连接实例的最大并发连接数。-1表示没有限制。
208
215
 
209
- :return: The rolconnlimit of this GaussDBforOpenGaussUserForListAttributes.
216
+ :return: The rolconnlimit of this GaussDBforOpenGaussUserForListAttribute.
210
217
  :rtype: int
211
218
  """
212
219
  return self._rolconnlimit
213
220
 
214
221
  @rolconnlimit.setter
215
222
  def rolconnlimit(self, rolconnlimit):
216
- """Sets the rolconnlimit of this GaussDBforOpenGaussUserForListAttributes.
223
+ """Sets the rolconnlimit of this GaussDBforOpenGaussUserForListAttribute.
217
224
 
218
225
  用户连接实例的最大并发连接数。-1表示没有限制。
219
226
 
220
- :param rolconnlimit: The rolconnlimit of this GaussDBforOpenGaussUserForListAttributes.
227
+ :param rolconnlimit: The rolconnlimit of this GaussDBforOpenGaussUserForListAttribute.
221
228
  :type rolconnlimit: int
222
229
  """
223
230
  self._rolconnlimit = rolconnlimit
224
231
 
225
232
  @property
226
233
  def rolreplication(self):
227
- """Gets the rolreplication of this GaussDBforOpenGaussUserForListAttributes.
234
+ """Gets the rolreplication of this GaussDBforOpenGaussUserForListAttribute.
228
235
 
229
236
  用户是否属于复制角色,取值为“true”或“false”。
230
237
 
231
- :return: The rolreplication of this GaussDBforOpenGaussUserForListAttributes.
238
+ :return: The rolreplication of this GaussDBforOpenGaussUserForListAttribute.
232
239
  :rtype: bool
233
240
  """
234
241
  return self._rolreplication
235
242
 
236
243
  @rolreplication.setter
237
244
  def rolreplication(self, rolreplication):
238
- """Sets the rolreplication of this GaussDBforOpenGaussUserForListAttributes.
245
+ """Sets the rolreplication of this GaussDBforOpenGaussUserForListAttribute.
239
246
 
240
247
  用户是否属于复制角色,取值为“true”或“false”。
241
248
 
242
- :param rolreplication: The rolreplication of this GaussDBforOpenGaussUserForListAttributes.
249
+ :param rolreplication: The rolreplication of this GaussDBforOpenGaussUserForListAttribute.
243
250
  :type rolreplication: bool
244
251
  """
245
252
  self._rolreplication = rolreplication
246
253
 
247
254
  @property
248
255
  def rolbypassrls(self):
249
- """Gets the rolbypassrls of this GaussDBforOpenGaussUserForListAttributes.
256
+ """Gets the rolbypassrls of this GaussDBforOpenGaussUserForListAttribute.
250
257
 
251
258
  用户是否绕过每个行级安全策略,取值为“true”或“false”。
252
259
 
253
- :return: The rolbypassrls of this GaussDBforOpenGaussUserForListAttributes.
260
+ :return: The rolbypassrls of this GaussDBforOpenGaussUserForListAttribute.
254
261
  :rtype: bool
255
262
  """
256
263
  return self._rolbypassrls
257
264
 
258
265
  @rolbypassrls.setter
259
266
  def rolbypassrls(self, rolbypassrls):
260
- """Sets the rolbypassrls of this GaussDBforOpenGaussUserForListAttributes.
267
+ """Sets the rolbypassrls of this GaussDBforOpenGaussUserForListAttribute.
261
268
 
262
269
  用户是否绕过每个行级安全策略,取值为“true”或“false”。
263
270
 
264
- :param rolbypassrls: The rolbypassrls of this GaussDBforOpenGaussUserForListAttributes.
271
+ :param rolbypassrls: The rolbypassrls of this GaussDBforOpenGaussUserForListAttribute.
265
272
  :type rolbypassrls: bool
266
273
  """
267
274
  self._rolbypassrls = rolbypassrls
268
275
 
276
+ @property
277
+ def rolpassworddeadline(self):
278
+ """Gets the rolpassworddeadline of this GaussDBforOpenGaussUserForListAttribute.
279
+
280
+ 用户密码过期时间。
281
+
282
+ :return: The rolpassworddeadline of this GaussDBforOpenGaussUserForListAttribute.
283
+ :rtype: str
284
+ """
285
+ return self._rolpassworddeadline
286
+
287
+ @rolpassworddeadline.setter
288
+ def rolpassworddeadline(self, rolpassworddeadline):
289
+ """Sets the rolpassworddeadline of this GaussDBforOpenGaussUserForListAttribute.
290
+
291
+ 用户密码过期时间。
292
+
293
+ :param rolpassworddeadline: The rolpassworddeadline of this GaussDBforOpenGaussUserForListAttribute.
294
+ :type rolpassworddeadline: str
295
+ """
296
+ self._rolpassworddeadline = rolpassworddeadline
297
+
269
298
  def to_dict(self):
270
299
  """Returns the model properties as a dict"""
271
300
  result = {}
@@ -308,7 +337,7 @@ class GaussDBforOpenGaussUserForListAttributes:
308
337
 
309
338
  def __eq__(self, other):
310
339
  """Returns true if both objects are equal"""
311
- if not isinstance(other, GaussDBforOpenGaussUserForListAttributes):
340
+ if not isinstance(other, GaussDBforOpenGaussUserForListAttribute):
312
341
  return False
313
342
 
314
343
  return self.__dict__ == other.__dict__
@@ -0,0 +1,142 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class GaussDBErrorResponseBody:
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
+ 'error_code': 'str',
21
+ 'error_msg': 'str'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'error_code': 'error_code',
26
+ 'error_msg': 'error_msg'
27
+ }
28
+
29
+ def __init__(self, error_code=None, error_msg=None):
30
+ """GaussDBErrorResponseBody
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param error_code: 错误码。
35
+ :type error_code: str
36
+ :param error_msg: 错误消息。
37
+ :type error_msg: str
38
+ """
39
+
40
+
41
+
42
+ self._error_code = None
43
+ self._error_msg = None
44
+ self.discriminator = None
45
+
46
+ self.error_code = error_code
47
+ self.error_msg = error_msg
48
+
49
+ @property
50
+ def error_code(self):
51
+ """Gets the error_code of this GaussDBErrorResponseBody.
52
+
53
+ 错误码。
54
+
55
+ :return: The error_code of this GaussDBErrorResponseBody.
56
+ :rtype: str
57
+ """
58
+ return self._error_code
59
+
60
+ @error_code.setter
61
+ def error_code(self, error_code):
62
+ """Sets the error_code of this GaussDBErrorResponseBody.
63
+
64
+ 错误码。
65
+
66
+ :param error_code: The error_code of this GaussDBErrorResponseBody.
67
+ :type error_code: str
68
+ """
69
+ self._error_code = error_code
70
+
71
+ @property
72
+ def error_msg(self):
73
+ """Gets the error_msg of this GaussDBErrorResponseBody.
74
+
75
+ 错误消息。
76
+
77
+ :return: The error_msg of this GaussDBErrorResponseBody.
78
+ :rtype: str
79
+ """
80
+ return self._error_msg
81
+
82
+ @error_msg.setter
83
+ def error_msg(self, error_msg):
84
+ """Sets the error_msg of this GaussDBErrorResponseBody.
85
+
86
+ 错误消息。
87
+
88
+ :param error_msg: The error_msg of this GaussDBErrorResponseBody.
89
+ :type error_msg: str
90
+ """
91
+ self._error_msg = error_msg
92
+
93
+ def to_dict(self):
94
+ """Returns the model properties as a dict"""
95
+ result = {}
96
+
97
+ for attr, _ in six.iteritems(self.openapi_types):
98
+ value = getattr(self, attr)
99
+ if isinstance(value, list):
100
+ result[attr] = list(map(
101
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
102
+ value
103
+ ))
104
+ elif hasattr(value, "to_dict"):
105
+ result[attr] = value.to_dict()
106
+ elif isinstance(value, dict):
107
+ result[attr] = dict(map(
108
+ lambda item: (item[0], item[1].to_dict())
109
+ if hasattr(item[1], "to_dict") else item,
110
+ value.items()
111
+ ))
112
+ else:
113
+ if attr in self.sensitive_list:
114
+ result[attr] = "****"
115
+ else:
116
+ result[attr] = value
117
+
118
+ return result
119
+
120
+ def to_str(self):
121
+ """Returns the string representation of the model"""
122
+ import simplejson as json
123
+ if six.PY2:
124
+ import sys
125
+ reload(sys)
126
+ sys.setdefaultencoding("utf-8")
127
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
128
+
129
+ def __repr__(self):
130
+ """For `print`"""
131
+ return self.to_str()
132
+
133
+ def __eq__(self, other):
134
+ """Returns true if both objects are equal"""
135
+ if not isinstance(other, GaussDBErrorResponseBody):
136
+ return False
137
+
138
+ return self.__dict__ == other.__dict__
139
+
140
+ def __ne__(self, other):
141
+ """Returns true if both objects are not equal"""
142
+ return not self == other