huaweicloudsdkgaussdbforopengauss 3.1.165__py3-none-any.whl → 3.1.167__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 (292) hide show
  1. huaweicloudsdkgaussdbforopengauss/v3/__init__.py +153 -3
  2. huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_async_client.py +4490 -1280
  3. huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_client.py +4490 -1280
  4. huaweicloudsdkgaussdbforopengauss/v3/model/__init__.py +153 -3
  5. huaweicloudsdkgaussdbforopengauss/v3/model/add_hba_conf_request_body.py +115 -0
  6. huaweicloudsdkgaussdbforopengauss/v3/model/add_hba_confs_request.py +168 -0
  7. huaweicloudsdkgaussdbforopengauss/v3/model/add_hba_confs_response.py +145 -0
  8. huaweicloudsdkgaussdbforopengauss/v3/model/add_instance_tags_request.py +6 -6
  9. huaweicloudsdkgaussdbforopengauss/v3/model/alarm_level_statistics_result.py +144 -0
  10. huaweicloudsdkgaussdbforopengauss/v3/model/allow_db_privileges_request.py +3 -3
  11. huaweicloudsdkgaussdbforopengauss/v3/model/allow_db_role_privileges_request.py +3 -3
  12. huaweicloudsdkgaussdbforopengauss/v3/model/applied_histories_result.py +3 -3
  13. huaweicloudsdkgaussdbforopengauss/v3/model/attach_eip_request.py +3 -3
  14. huaweicloudsdkgaussdbforopengauss/v3/model/backup_info.py +3 -3
  15. huaweicloudsdkgaussdbforopengauss/v3/model/backups.py +3 -3
  16. huaweicloudsdkgaussdbforopengauss/v3/model/backups_result.py +3 -3
  17. huaweicloudsdkgaussdbforopengauss/v3/model/base_ops_key_view_request_body.py +171 -0
  18. huaweicloudsdkgaussdbforopengauss/v3/model/bind_lts_config_request.py +140 -0
  19. huaweicloudsdkgaussdbforopengauss/v3/model/bind_lts_config_request_body.py +114 -0
  20. huaweicloudsdkgaussdbforopengauss/v3/model/bind_lts_config_response.py +116 -0
  21. huaweicloudsdkgaussdbforopengauss/v3/model/cancel_schedule_task_request.py +3 -3
  22. huaweicloudsdkgaussdbforopengauss/v3/model/collect_wdr_snapshot_request.py +168 -0
  23. huaweicloudsdkgaussdbforopengauss/v3/model/collect_wdr_snapshot_request_body.py +170 -0
  24. huaweicloudsdkgaussdbforopengauss/v3/model/collect_wdr_snapshot_response.py +116 -0
  25. huaweicloudsdkgaussdbforopengauss/v3/model/compare_condition_option.py +231 -0
  26. huaweicloudsdkgaussdbforopengauss/v3/model/component_info_result.py +202 -0
  27. huaweicloudsdkgaussdbforopengauss/v3/model/copy_configuration_request.py +3 -3
  28. huaweicloudsdkgaussdbforopengauss/v3/model/create_configuration_template_request.py +3 -3
  29. huaweicloudsdkgaussdbforopengauss/v3/model/create_cross_cloud_construct_disaster_request.py +3 -3
  30. huaweicloudsdkgaussdbforopengauss/v3/model/create_database_request.py +3 -3
  31. huaweicloudsdkgaussdbforopengauss/v3/model/create_database_schemas_request.py +3 -3
  32. huaweicloudsdkgaussdbforopengauss/v3/model/create_db_role_request.py +3 -3
  33. huaweicloudsdkgaussdbforopengauss/v3/model/create_db_user_request.py +3 -3
  34. huaweicloudsdkgaussdbforopengauss/v3/model/create_limit_task_request.py +3 -3
  35. huaweicloudsdkgaussdbforopengauss/v3/model/create_limit_task_response.py +3 -3
  36. huaweicloudsdkgaussdbforopengauss/v3/model/create_manual_backup_request_body.py +3 -3
  37. huaweicloudsdkgaussdbforopengauss/v3/model/create_readonly_nodes_request.py +168 -0
  38. huaweicloudsdkgaussdbforopengauss/v3/model/create_readonly_nodes_request_body.py +114 -0
  39. huaweicloudsdkgaussdbforopengauss/v3/model/create_readonly_nodes_response.py +116 -0
  40. huaweicloudsdkgaussdbforopengauss/v3/model/create_schedule_task_request.py +3 -3
  41. huaweicloudsdkgaussdbforopengauss/v3/model/create_slow_log_download_request.py +3 -3
  42. huaweicloudsdkgaussdbforopengauss/v3/model/create_wdr_snapshot_request.py +143 -0
  43. huaweicloudsdkgaussdbforopengauss/v3/model/create_wdr_snapshot_response.py +112 -0
  44. huaweicloudsdkgaussdbforopengauss/v3/model/create_wdr_snapshot_response_body.py +84 -0
  45. huaweicloudsdkgaussdbforopengauss/v3/model/database_for_list_table_result.py +114 -0
  46. huaweicloudsdkgaussdbforopengauss/v3/model/database_schema_table_result.py +144 -0
  47. huaweicloudsdkgaussdbforopengauss/v3/model/datapoint_result.py +142 -0
  48. huaweicloudsdkgaussdbforopengauss/v3/model/delete_configuration_request.py +3 -3
  49. huaweicloudsdkgaussdbforopengauss/v3/model/delete_database_request.py +6 -6
  50. huaweicloudsdkgaussdbforopengauss/v3/model/delete_database_schema_request.py +3 -3
  51. huaweicloudsdkgaussdbforopengauss/v3/model/delete_hba_conf_request_body.py +114 -0
  52. huaweicloudsdkgaussdbforopengauss/v3/model/delete_hba_confs_request.py +168 -0
  53. huaweicloudsdkgaussdbforopengauss/v3/model/delete_hba_confs_response.py +145 -0
  54. huaweicloudsdkgaussdbforopengauss/v3/model/delete_instance_request.py +3 -3
  55. huaweicloudsdkgaussdbforopengauss/v3/model/delete_instance_tag_request.py +3 -3
  56. huaweicloudsdkgaussdbforopengauss/v3/model/delete_job_request.py +3 -3
  57. huaweicloudsdkgaussdbforopengauss/v3/model/delete_limit_task_request.py +3 -3
  58. huaweicloudsdkgaussdbforopengauss/v3/model/delete_readonly_nodes_request.py +168 -0
  59. huaweicloudsdkgaussdbforopengauss/v3/model/delete_readonly_nodes_request_body.py +114 -0
  60. huaweicloudsdkgaussdbforopengauss/v3/model/delete_readonly_nodes_response.py +116 -0
  61. huaweicloudsdkgaussdbforopengauss/v3/model/delete_schedule_task_request.py +3 -3
  62. huaweicloudsdkgaussdbforopengauss/v3/model/dimension_list_result.py +173 -0
  63. huaweicloudsdkgaussdbforopengauss/v3/model/{error_response.py → error_response_body.py} +17 -17
  64. huaweicloudsdkgaussdbforopengauss/v3/model/excute_sql_node_info_result.py +231 -0
  65. huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_data_cache_end_request.py +3 -3
  66. huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_data_cache_start_request.py +3 -3
  67. huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_end_simulation_request.py +3 -3
  68. huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_recovery_failover_request.py +3 -3
  69. huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_restore_request.py +3 -3
  70. huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_start_simulation_request.py +3 -3
  71. huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_switchover_request.py +3 -3
  72. huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_release_disaster_request.py +3 -3
  73. huaweicloudsdkgaussdbforopengauss/v3/model/export_slow_sql_request.py +168 -0
  74. huaweicloudsdkgaussdbforopengauss/v3/model/export_slow_sql_response.py +85 -0
  75. huaweicloudsdkgaussdbforopengauss/v3/model/export_table_volume_request_body.py +258 -0
  76. huaweicloudsdkgaussdbforopengauss/v3/model/full_sql_statistic_info_result.py +376 -0
  77. huaweicloudsdkgaussdbforopengauss/v3/model/gauss_db_error_response_body.py +6 -6
  78. huaweicloudsdkgaussdbforopengauss/v3/model/hba_conf_option.py +226 -0
  79. huaweicloudsdkgaussdbforopengauss/v3/model/hba_conf_result.py +231 -0
  80. huaweicloudsdkgaussdbforopengauss/v3/model/hba_history_result.py +231 -0
  81. huaweicloudsdkgaussdbforopengauss/v3/model/install_kernel_plugin_request.py +3 -3
  82. huaweicloudsdkgaussdbforopengauss/v3/model/instance_alarm_level_statistic_result.py +202 -0
  83. huaweicloudsdkgaussdbforopengauss/v3/model/instance_delete_lts_config_option.py +142 -0
  84. huaweicloudsdkgaussdbforopengauss/v3/model/instance_detail.py +3 -3
  85. huaweicloudsdkgaussdbforopengauss/v3/model/instance_info_result.py +3 -3
  86. huaweicloudsdkgaussdbforopengauss/v3/model/instance_lts_log_config_result.py +144 -0
  87. huaweicloudsdkgaussdbforopengauss/v3/model/instance_save_lts_config_option.py +198 -0
  88. huaweicloudsdkgaussdbforopengauss/v3/model/instance_task_detail.py +3 -3
  89. huaweicloudsdkgaussdbforopengauss/v3/model/instances_list_result.py +3 -3
  90. huaweicloudsdkgaussdbforopengauss/v3/model/instances_metric_result.py +521 -0
  91. huaweicloudsdkgaussdbforopengauss/v3/model/instances_nodes_result.py +173 -0
  92. huaweicloudsdkgaussdbforopengauss/v3/model/instances_result.py +3 -3
  93. huaweicloudsdkgaussdbforopengauss/v3/model/instances_statistics_response_body_instances_statistics.py +142 -0
  94. huaweicloudsdkgaussdbforopengauss/v3/model/kill_session_request_body.py +199 -0
  95. huaweicloudsdkgaussdbforopengauss/v3/model/list_applicable_instances_request.py +3 -3
  96. huaweicloudsdkgaussdbforopengauss/v3/model/list_applied_histories_request.py +3 -3
  97. huaweicloudsdkgaussdbforopengauss/v3/model/list_available_flavors_request.py +3 -3
  98. huaweicloudsdkgaussdbforopengauss/v3/model/list_backups_result.py +3 -3
  99. huaweicloudsdkgaussdbforopengauss/v3/model/list_binded_eips_request.py +3 -3
  100. huaweicloudsdkgaussdbforopengauss/v3/model/list_cn_infos_before_reduce_request.py +3 -3
  101. huaweicloudsdkgaussdbforopengauss/v3/model/list_cn_infos_before_reduce_response.py +3 -3
  102. huaweicloudsdkgaussdbforopengauss/v3/model/list_component_infos_request.py +3 -3
  103. huaweicloudsdkgaussdbforopengauss/v3/model/list_configurations_diff_request.py +3 -3
  104. huaweicloudsdkgaussdbforopengauss/v3/model/list_database_roles_request.py +3 -3
  105. huaweicloudsdkgaussdbforopengauss/v3/model/list_database_schema_tables_request.py +286 -0
  106. huaweicloudsdkgaussdbforopengauss/v3/model/list_database_schema_tables_response.py +145 -0
  107. huaweicloudsdkgaussdbforopengauss/v3/model/list_database_schemas_request.py +3 -3
  108. huaweicloudsdkgaussdbforopengauss/v3/model/list_database_volume_summary_request.py +143 -0
  109. huaweicloudsdkgaussdbforopengauss/v3/model/list_database_volume_summary_response.py +261 -0
  110. huaweicloudsdkgaussdbforopengauss/v3/model/list_databases_request.py +3 -3
  111. huaweicloudsdkgaussdbforopengauss/v3/model/list_db_users_request.py +3 -3
  112. huaweicloudsdkgaussdbforopengauss/v3/model/list_disaster_recovery_record_request.py +3 -3
  113. huaweicloudsdkgaussdbforopengauss/v3/model/list_disaster_recovery_record_response.py +7 -7
  114. huaweicloudsdkgaussdbforopengauss/v3/model/list_enhance_full_sql_statistics_request.py +168 -0
  115. huaweicloudsdkgaussdbforopengauss/v3/model/list_enhance_full_sql_statistics_request_body.py +722 -0
  116. huaweicloudsdkgaussdbforopengauss/v3/model/list_enhance_full_sql_statistics_response.py +145 -0
  117. huaweicloudsdkgaussdbforopengauss/v3/model/list_features_request.py +6 -6
  118. huaweicloudsdkgaussdbforopengauss/v3/model/list_hba_info_history_request.py +259 -0
  119. huaweicloudsdkgaussdbforopengauss/v3/model/list_hba_info_history_response.py +145 -0
  120. huaweicloudsdkgaussdbforopengauss/v3/model/list_hba_infos_request.py +201 -0
  121. huaweicloudsdkgaussdbforopengauss/v3/model/list_hba_infos_response.py +145 -0
  122. huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_engine_detail_request.py +3 -3
  123. huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_error_logs_request.py +3 -3
  124. huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_tags_request.py +6 -6
  125. huaweicloudsdkgaussdbforopengauss/v3/model/list_kernel_plugins_request.py +3 -3
  126. huaweicloudsdkgaussdbforopengauss/v3/model/list_key_view_execute_node_request.py +143 -0
  127. huaweicloudsdkgaussdbforopengauss/v3/model/list_key_view_execute_node_response.py +116 -0
  128. huaweicloudsdkgaussdbforopengauss/v3/model/list_kms_tde_key_request.py +143 -0
  129. huaweicloudsdkgaussdbforopengauss/v3/model/list_kms_tde_key_response.py +174 -0
  130. huaweicloudsdkgaussdbforopengauss/v3/model/list_kms_tde_key_response_body_key_details.py +260 -0
  131. huaweicloudsdkgaussdbforopengauss/v3/model/list_limit_task_request.py +3 -3
  132. huaweicloudsdkgaussdbforopengauss/v3/model/list_limit_task_response_result.py +3 -3
  133. huaweicloudsdkgaussdbforopengauss/v3/model/list_lts_configs_request.py +288 -0
  134. huaweicloudsdkgaussdbforopengauss/v3/model/list_lts_configs_response.py +145 -0
  135. huaweicloudsdkgaussdbforopengauss/v3/model/list_metric_datas_request.py +231 -0
  136. huaweicloudsdkgaussdbforopengauss/v3/model/list_metric_datas_response.py +145 -0
  137. huaweicloudsdkgaussdbforopengauss/v3/model/list_node_limit_sql_model_request.py +3 -3
  138. huaweicloudsdkgaussdbforopengauss/v3/model/list_plugin_extensions_request.py +3 -3
  139. huaweicloudsdkgaussdbforopengauss/v3/model/list_readonly_nodes_request.py +143 -0
  140. huaweicloudsdkgaussdbforopengauss/v3/model/list_readonly_nodes_response.py +145 -0
  141. huaweicloudsdkgaussdbforopengauss/v3/model/list_readonly_nodes_result.py +202 -0
  142. huaweicloudsdkgaussdbforopengauss/v3/model/list_real_time_sessions_request.py +168 -0
  143. huaweicloudsdkgaussdbforopengauss/v3/model/list_real_time_sessions_request_body.py +167 -0
  144. huaweicloudsdkgaussdbforopengauss/v3/model/list_real_time_sessions_response.py +116 -0
  145. huaweicloudsdkgaussdbforopengauss/v3/model/list_recycle_instances_details_request.py +3 -3
  146. huaweicloudsdkgaussdbforopengauss/v3/model/list_recycle_instances_request.py +3 -3
  147. huaweicloudsdkgaussdbforopengauss/v3/model/list_restorable_instances_details_request.py +3 -3
  148. huaweicloudsdkgaussdbforopengauss/v3/model/list_restorable_instances_request.py +3 -3
  149. huaweicloudsdkgaussdbforopengauss/v3/model/list_restore_times_request.py +3 -3
  150. huaweicloudsdkgaussdbforopengauss/v3/model/list_schedule_task_request.py +3 -3
  151. huaweicloudsdkgaussdbforopengauss/v3/model/list_schema_and_table_request.py +168 -0
  152. huaweicloudsdkgaussdbforopengauss/v3/model/list_schema_and_table_request_body.py +143 -0
  153. huaweicloudsdkgaussdbforopengauss/v3/model/list_schema_and_table_response.py +116 -0
  154. huaweicloudsdkgaussdbforopengauss/v3/model/list_session_statistics_request.py +287 -0
  155. huaweicloudsdkgaussdbforopengauss/v3/model/list_session_statistics_response.py +145 -0
  156. huaweicloudsdkgaussdbforopengauss/v3/model/list_slow_sql_details_request.py +168 -0
  157. huaweicloudsdkgaussdbforopengauss/v3/model/list_slow_sql_details_response.py +145 -0
  158. huaweicloudsdkgaussdbforopengauss/v3/model/list_slow_sqls_request.py +168 -0
  159. huaweicloudsdkgaussdbforopengauss/v3/model/list_slow_sqls_request_body.py +284 -0
  160. huaweicloudsdkgaussdbforopengauss/v3/model/list_slow_sqls_response.py +145 -0
  161. huaweicloudsdkgaussdbforopengauss/v3/model/list_sql_excute_node_request_body.py +114 -0
  162. huaweicloudsdkgaussdbforopengauss/v3/model/list_sql_excute_nodes_request.py +168 -0
  163. huaweicloudsdkgaussdbforopengauss/v3/model/list_sql_excute_nodes_response.py +116 -0
  164. huaweicloudsdkgaussdbforopengauss/v3/model/list_support_kernel_plugins_request.py +3 -3
  165. huaweicloudsdkgaussdbforopengauss/v3/model/list_table_definition_request.py +227 -0
  166. huaweicloudsdkgaussdbforopengauss/v3/model/list_table_definition_response.py +116 -0
  167. huaweicloudsdkgaussdbforopengauss/v3/model/list_table_definitions_request.py +228 -0
  168. huaweicloudsdkgaussdbforopengauss/v3/model/list_table_definitions_response.py +116 -0
  169. huaweicloudsdkgaussdbforopengauss/v3/model/list_tasks_request.py +3 -3
  170. huaweicloudsdkgaussdbforopengauss/v3/model/list_top_sqls_request.py +168 -0
  171. huaweicloudsdkgaussdbforopengauss/v3/model/list_top_sqls_request_body.py +430 -0
  172. huaweicloudsdkgaussdbforopengauss/v3/model/list_top_sqls_response.py +145 -0
  173. huaweicloudsdkgaussdbforopengauss/v3/model/lts_log_config_result.py +202 -0
  174. huaweicloudsdkgaussdbforopengauss/v3/model/metric_data_result.py +226 -0
  175. huaweicloudsdkgaussdbforopengauss/v3/model/metric_name_result.py +144 -0
  176. huaweicloudsdkgaussdbforopengauss/v3/model/modify_eps_quota_request.py +3 -3
  177. huaweicloudsdkgaussdbforopengauss/v3/model/modify_hba_conf_request.py +168 -0
  178. huaweicloudsdkgaussdbforopengauss/v3/model/modify_hba_conf_request_body.py +142 -0
  179. huaweicloudsdkgaussdbforopengauss/v3/model/modify_hba_conf_response.py +145 -0
  180. huaweicloudsdkgaussdbforopengauss/v3/model/multi_query_condition_option.py +202 -0
  181. huaweicloudsdkgaussdbforopengauss/v3/model/node_distribution_option.py +198 -0
  182. huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_error_response.py +3 -3
  183. huaweicloudsdkgaussdbforopengauss/v3/model/ops_key_view_execute_node_result.py +289 -0
  184. huaweicloudsdkgaussdbforopengauss/v3/model/para_error_response_body.py +6 -6
  185. huaweicloudsdkgaussdbforopengauss/v3/model/real_time_session_result.py +666 -0
  186. huaweicloudsdkgaussdbforopengauss/v3/model/{record_info_response.py → record_info_response_result.py} +80 -80
  187. huaweicloudsdkgaussdbforopengauss/v3/model/redistribution_request_body.py +173 -0
  188. huaweicloudsdkgaussdbforopengauss/v3/model/region_instance_info.py +3 -3
  189. huaweicloudsdkgaussdbforopengauss/v3/model/reset_configuration_request.py +3 -3
  190. huaweicloudsdkgaussdbforopengauss/v3/model/reset_dr_config_request.py +3 -3
  191. huaweicloudsdkgaussdbforopengauss/v3/model/reset_pwd_request.py +3 -3
  192. huaweicloudsdkgaussdbforopengauss/v3/model/resize_instance_flavor_request.py +3 -3
  193. huaweicloudsdkgaussdbforopengauss/v3/model/restart_instance_request.py +3 -3
  194. huaweicloudsdkgaussdbforopengauss/v3/model/restore_hba_info_request.py +168 -0
  195. huaweicloudsdkgaussdbforopengauss/v3/model/restore_hba_info_request_body.py +115 -0
  196. huaweicloudsdkgaussdbforopengauss/v3/model/restore_hba_info_response.py +145 -0
  197. huaweicloudsdkgaussdbforopengauss/v3/model/resume_plugin_extensions_request.py +3 -3
  198. huaweicloudsdkgaussdbforopengauss/v3/model/run_instance_action_request.py +3 -3
  199. huaweicloudsdkgaussdbforopengauss/v3/model/schedule_task_detail.py +3 -3
  200. huaweicloudsdkgaussdbforopengauss/v3/model/schema_table_definition_result.py +144 -0
  201. huaweicloudsdkgaussdbforopengauss/v3/model/search_auto_enlarge_policy_request.py +3 -3
  202. huaweicloudsdkgaussdbforopengauss/v3/model/session_query_info_option.py +173 -0
  203. huaweicloudsdkgaussdbforopengauss/v3/model/set_backup_policy_request.py +6 -6
  204. huaweicloudsdkgaussdbforopengauss/v3/model/set_db_user_pwd_request.py +3 -3
  205. huaweicloudsdkgaussdbforopengauss/v3/model/set_kernel_plugin_license_request.py +3 -3
  206. huaweicloudsdkgaussdbforopengauss/v3/model/set_new_backup_policy_request.py +3 -3
  207. huaweicloudsdkgaussdbforopengauss/v3/model/show_alarm_statistics_request.py +171 -0
  208. huaweicloudsdkgaussdbforopengauss/v3/model/show_alarm_statistics_response.py +203 -0
  209. huaweicloudsdkgaussdbforopengauss/v3/model/show_backup_policy_request.py +6 -6
  210. huaweicloudsdkgaussdbforopengauss/v3/model/show_balance_status_request.py +3 -3
  211. huaweicloudsdkgaussdbforopengauss/v3/model/show_batch_upgrade_candidate_versions_response.py +8 -8
  212. huaweicloudsdkgaussdbforopengauss/v3/model/show_cross_cloud_disaster_instance_monitor_request.py +3 -3
  213. huaweicloudsdkgaussdbforopengauss/v3/model/show_cross_cloud_disaster_instance_monitor_response.py +3 -3
  214. huaweicloudsdkgaussdbforopengauss/v3/model/show_cross_cloud_disaster_relations_request.py +3 -3
  215. huaweicloudsdkgaussdbforopengauss/v3/model/show_deployment_form_request.py +3 -3
  216. huaweicloudsdkgaussdbforopengauss/v3/model/show_error_log_switch_status_request.py +3 -3
  217. huaweicloudsdkgaussdbforopengauss/v3/model/show_global_slow_sql_detail_request.py +168 -0
  218. huaweicloudsdkgaussdbforopengauss/v3/model/show_global_slow_sql_detail_request_body.py +255 -0
  219. huaweicloudsdkgaussdbforopengauss/v3/model/show_global_slow_sql_detail_response.py +145 -0
  220. huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_configuration_request.py +3 -3
  221. huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_disk_request.py +6 -6
  222. huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_metric_data_request.py +284 -0
  223. huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_metric_data_response.py +145 -0
  224. huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_param_group_detail_request.py +3 -3
  225. huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_param_group_request.py +3 -3
  226. huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_snapshot_request.py +3 -3
  227. huaweicloudsdkgaussdbforopengauss/v3/model/show_instances_statistics_request.py +115 -0
  228. huaweicloudsdkgaussdbforopengauss/v3/model/show_instances_statistics_response.py +145 -0
  229. huaweicloudsdkgaussdbforopengauss/v3/model/show_kms_key_detail_request.py +171 -0
  230. huaweicloudsdkgaussdbforopengauss/v3/model/show_kms_key_detail_response.py +203 -0
  231. huaweicloudsdkgaussdbforopengauss/v3/model/show_limit_task_request.py +3 -3
  232. huaweicloudsdkgaussdbforopengauss/v3/model/show_metric_names_request.py +143 -0
  233. huaweicloudsdkgaussdbforopengauss/v3/model/show_metric_names_response.py +145 -0
  234. huaweicloudsdkgaussdbforopengauss/v3/model/show_recycle_policy_request.py +3 -3
  235. huaweicloudsdkgaussdbforopengauss/v3/model/show_session_overview_request.py +143 -0
  236. huaweicloudsdkgaussdbforopengauss/v3/model/show_session_overview_response.py +203 -0
  237. huaweicloudsdkgaussdbforopengauss/v3/model/show_slow_log_download_request.py +3 -3
  238. huaweicloudsdkgaussdbforopengauss/v3/model/show_slow_sql_plan_request.py +227 -0
  239. huaweicloudsdkgaussdbforopengauss/v3/model/show_slow_sql_plan_response.py +116 -0
  240. huaweicloudsdkgaussdbforopengauss/v3/model/show_slow_sql_stack_request.py +228 -0
  241. huaweicloudsdkgaussdbforopengauss/v3/model/show_slow_sql_stack_response.py +116 -0
  242. huaweicloudsdkgaussdbforopengauss/v3/model/show_source_instance_detail_request.py +3 -3
  243. huaweicloudsdkgaussdbforopengauss/v3/model/show_ssl_cert_download_link_request.py +6 -6
  244. huaweicloudsdkgaussdbforopengauss/v3/model/show_upgrade_candidate_versions_details_request.py +3 -3
  245. huaweicloudsdkgaussdbforopengauss/v3/model/show_upgrade_candidate_versions_request.py +3 -3
  246. huaweicloudsdkgaussdbforopengauss/v3/model/show_wdr_snapshot_status_request.py +143 -0
  247. huaweicloudsdkgaussdbforopengauss/v3/model/show_wdr_snapshot_status_response.py +174 -0
  248. huaweicloudsdkgaussdbforopengauss/v3/model/slow_sql_detail_request_body.py +255 -0
  249. huaweicloudsdkgaussdbforopengauss/v3/model/slow_sql_detail_result.py +666 -0
  250. huaweicloudsdkgaussdbforopengauss/v3/model/slow_sql_info_result.py +521 -0
  251. huaweicloudsdkgaussdbforopengauss/v3/model/start_instance_request.py +3 -3
  252. huaweicloudsdkgaussdbforopengauss/v3/model/start_mysql_compatibility_request.py +6 -6
  253. huaweicloudsdkgaussdbforopengauss/v3/model/stop_backup_request.py +3 -3
  254. huaweicloudsdkgaussdbforopengauss/v3/model/stop_free_session_request.py +168 -0
  255. huaweicloudsdkgaussdbforopengauss/v3/model/stop_free_session_response.py +116 -0
  256. huaweicloudsdkgaussdbforopengauss/v3/model/stop_instance_request.py +3 -3
  257. huaweicloudsdkgaussdbforopengauss/v3/model/stop_session_request.py +168 -0
  258. huaweicloudsdkgaussdbforopengauss/v3/model/stop_session_response.py +145 -0
  259. huaweicloudsdkgaussdbforopengauss/v3/model/switch_configuration_request.py +3 -3
  260. huaweicloudsdkgaussdbforopengauss/v3/model/switch_kms_tde_request.py +168 -0
  261. huaweicloudsdkgaussdbforopengauss/v3/model/switch_kms_tde_request_body.py +173 -0
  262. huaweicloudsdkgaussdbforopengauss/v3/model/switch_kms_tde_response.py +116 -0
  263. huaweicloudsdkgaussdbforopengauss/v3/model/switch_replica_request.py +168 -0
  264. huaweicloudsdkgaussdbforopengauss/v3/model/switch_replica_request_body.py +115 -0
  265. huaweicloudsdkgaussdbforopengauss/v3/model/switch_replica_response.py +145 -0
  266. huaweicloudsdkgaussdbforopengauss/v3/model/switch_shard_request.py +3 -3
  267. huaweicloudsdkgaussdbforopengauss/v3/model/switch_wdr_snapshot_request_body.py +114 -0
  268. huaweicloudsdkgaussdbforopengauss/v3/model/switch_wdr_snapshot_response_body.py +84 -0
  269. huaweicloudsdkgaussdbforopengauss/v3/model/switch_wdr_snapshot_status_request.py +168 -0
  270. huaweicloudsdkgaussdbforopengauss/v3/model/switch_wdr_snapshot_status_response.py +112 -0
  271. huaweicloudsdkgaussdbforopengauss/v3/model/sync_limit_data_request.py +3 -3
  272. huaweicloudsdkgaussdbforopengauss/v3/model/top_sql_info_result.py +637 -0
  273. huaweicloudsdkgaussdbforopengauss/v3/model/unbind_lts_config_request.py +140 -0
  274. huaweicloudsdkgaussdbforopengauss/v3/model/unbind_lts_config_request_body.py +114 -0
  275. huaweicloudsdkgaussdbforopengauss/v3/model/unbind_lts_config_response.py +116 -0
  276. huaweicloudsdkgaussdbforopengauss/v3/model/update_features_request.py +6 -6
  277. huaweicloudsdkgaussdbforopengauss/v3/model/update_instance_configuration_request.py +3 -3
  278. huaweicloudsdkgaussdbforopengauss/v3/model/update_instance_name_request.py +3 -3
  279. huaweicloudsdkgaussdbforopengauss/v3/model/update_limit_task_request.py +3 -3
  280. huaweicloudsdkgaussdbforopengauss/v3/model/update_mysql_compatibility_request.py +6 -6
  281. huaweicloudsdkgaussdbforopengauss/v3/model/update_redistribution_control_request.py +168 -0
  282. huaweicloudsdkgaussdbforopengauss/v3/model/update_redistribution_control_response.py +116 -0
  283. huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_error_response_body.py +6 -6
  284. huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_instance_version_request.py +6 -6
  285. huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_instances_version_request.py +3 -3
  286. huaweicloudsdkgaussdbforopengauss/v3/model/validate_weak_password_request.py +3 -3
  287. {huaweicloudsdkgaussdbforopengauss-3.1.165.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.167.dist-info}/METADATA +9 -10
  288. {huaweicloudsdkgaussdbforopengauss-3.1.165.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.167.dist-info}/RECORD +290 -141
  289. {huaweicloudsdkgaussdbforopengauss-3.1.165.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.167.dist-info}/WHEEL +1 -2
  290. huaweicloudsdkgaussdbforopengauss/v3/model/hotfix_info.py +0 -202
  291. huaweicloudsdkgaussdbforopengauss-3.1.165.dist-info/top_level.txt +0 -1
  292. {huaweicloudsdkgaussdbforopengauss-3.1.165.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.167.dist-info/licenses}/LICENSE +0 -0
@@ -0,0 +1,376 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class FullSqlStatisticInfoResult:
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
+ 'template': 'str',
21
+ 'sql_id': 'str',
22
+ 'sql_count': 'int',
23
+ 'avg_db_time': 'int',
24
+ 'avg_cpu_time': 'int',
25
+ 'avg_data_io_time': 'int',
26
+ 'avg_execution_time': 'int',
27
+ 'avg_n_blocks_hit': 'int',
28
+ 'start_time_stamp': 'str',
29
+ 'end_time_stamp': 'str'
30
+ }
31
+
32
+ attribute_map = {
33
+ 'template': 'template',
34
+ 'sql_id': 'sql_id',
35
+ 'sql_count': 'sql_count',
36
+ 'avg_db_time': 'avg_db_time',
37
+ 'avg_cpu_time': 'avg_cpu_time',
38
+ 'avg_data_io_time': 'avg_data_io_time',
39
+ 'avg_execution_time': 'avg_execution_time',
40
+ 'avg_n_blocks_hit': 'avg_n_blocks_hit',
41
+ 'start_time_stamp': 'start_time_stamp',
42
+ 'end_time_stamp': 'end_time_stamp'
43
+ }
44
+
45
+ def __init__(self, template=None, sql_id=None, sql_count=None, avg_db_time=None, avg_cpu_time=None, avg_data_io_time=None, avg_execution_time=None, avg_n_blocks_hit=None, start_time_stamp=None, end_time_stamp=None):
46
+ r"""FullSqlStatisticInfoResult
47
+
48
+ The model defined in huaweicloud sdk
49
+
50
+ :param template: **参数解释**: SQL模板。未开启实例内核GUC参数(track_stmt_parameter)时,展示的是归一化SQL模板内容;开启该参数后,展示的是随机一条SQL记录中截断参数列表后的内容。 **取值范围**: 不涉及。
51
+ :type template: str
52
+ :param sql_id: **参数解释**: 归一化SQL ID。 **取值范围**: 不涉及。
53
+ :type sql_id: str
54
+ :param sql_count: **参数解释**: 汇总SQL条目数。 **取值范围**: 不涉及。
55
+ :type sql_count: int
56
+ :param avg_db_time: **参数解释**: 平均有效DB耗时(微秒)。 **取值范围**: 不涉及。
57
+ :type avg_db_time: int
58
+ :param avg_cpu_time: **参数解释**: 平均CPU执行耗时(微秒)。 **取值范围**: 不涉及。
59
+ :type avg_cpu_time: int
60
+ :param avg_data_io_time: **参数解释**: 平均IO耗时(微秒)。 **取值范围**: 不涉及。
61
+ :type avg_data_io_time: int
62
+ :param avg_execution_time: **参数解释**: 平均SQL执行器内执行时间(微秒)。 **取值范围**: 不涉及。
63
+ :type avg_execution_time: int
64
+ :param avg_n_blocks_hit: **参数解释**: 平均Buffer块命中次数。 **取值范围**: 不涉及。
65
+ :type avg_n_blocks_hit: int
66
+ :param start_time_stamp: **参数解释**: 开始时间戳。 **取值范围**: 不涉及。
67
+ :type start_time_stamp: str
68
+ :param end_time_stamp: **参数解释**: 结束时间戳。 **取值范围**: 不涉及。
69
+ :type end_time_stamp: str
70
+ """
71
+
72
+
73
+
74
+ self._template = None
75
+ self._sql_id = None
76
+ self._sql_count = None
77
+ self._avg_db_time = None
78
+ self._avg_cpu_time = None
79
+ self._avg_data_io_time = None
80
+ self._avg_execution_time = None
81
+ self._avg_n_blocks_hit = None
82
+ self._start_time_stamp = None
83
+ self._end_time_stamp = None
84
+ self.discriminator = None
85
+
86
+ if template is not None:
87
+ self.template = template
88
+ if sql_id is not None:
89
+ self.sql_id = sql_id
90
+ if sql_count is not None:
91
+ self.sql_count = sql_count
92
+ if avg_db_time is not None:
93
+ self.avg_db_time = avg_db_time
94
+ if avg_cpu_time is not None:
95
+ self.avg_cpu_time = avg_cpu_time
96
+ if avg_data_io_time is not None:
97
+ self.avg_data_io_time = avg_data_io_time
98
+ if avg_execution_time is not None:
99
+ self.avg_execution_time = avg_execution_time
100
+ if avg_n_blocks_hit is not None:
101
+ self.avg_n_blocks_hit = avg_n_blocks_hit
102
+ if start_time_stamp is not None:
103
+ self.start_time_stamp = start_time_stamp
104
+ if end_time_stamp is not None:
105
+ self.end_time_stamp = end_time_stamp
106
+
107
+ @property
108
+ def template(self):
109
+ r"""Gets the template of this FullSqlStatisticInfoResult.
110
+
111
+ **参数解释**: SQL模板。未开启实例内核GUC参数(track_stmt_parameter)时,展示的是归一化SQL模板内容;开启该参数后,展示的是随机一条SQL记录中截断参数列表后的内容。 **取值范围**: 不涉及。
112
+
113
+ :return: The template of this FullSqlStatisticInfoResult.
114
+ :rtype: str
115
+ """
116
+ return self._template
117
+
118
+ @template.setter
119
+ def template(self, template):
120
+ r"""Sets the template of this FullSqlStatisticInfoResult.
121
+
122
+ **参数解释**: SQL模板。未开启实例内核GUC参数(track_stmt_parameter)时,展示的是归一化SQL模板内容;开启该参数后,展示的是随机一条SQL记录中截断参数列表后的内容。 **取值范围**: 不涉及。
123
+
124
+ :param template: The template of this FullSqlStatisticInfoResult.
125
+ :type template: str
126
+ """
127
+ self._template = template
128
+
129
+ @property
130
+ def sql_id(self):
131
+ r"""Gets the sql_id of this FullSqlStatisticInfoResult.
132
+
133
+ **参数解释**: 归一化SQL ID。 **取值范围**: 不涉及。
134
+
135
+ :return: The sql_id of this FullSqlStatisticInfoResult.
136
+ :rtype: str
137
+ """
138
+ return self._sql_id
139
+
140
+ @sql_id.setter
141
+ def sql_id(self, sql_id):
142
+ r"""Sets the sql_id of this FullSqlStatisticInfoResult.
143
+
144
+ **参数解释**: 归一化SQL ID。 **取值范围**: 不涉及。
145
+
146
+ :param sql_id: The sql_id of this FullSqlStatisticInfoResult.
147
+ :type sql_id: str
148
+ """
149
+ self._sql_id = sql_id
150
+
151
+ @property
152
+ def sql_count(self):
153
+ r"""Gets the sql_count of this FullSqlStatisticInfoResult.
154
+
155
+ **参数解释**: 汇总SQL条目数。 **取值范围**: 不涉及。
156
+
157
+ :return: The sql_count of this FullSqlStatisticInfoResult.
158
+ :rtype: int
159
+ """
160
+ return self._sql_count
161
+
162
+ @sql_count.setter
163
+ def sql_count(self, sql_count):
164
+ r"""Sets the sql_count of this FullSqlStatisticInfoResult.
165
+
166
+ **参数解释**: 汇总SQL条目数。 **取值范围**: 不涉及。
167
+
168
+ :param sql_count: The sql_count of this FullSqlStatisticInfoResult.
169
+ :type sql_count: int
170
+ """
171
+ self._sql_count = sql_count
172
+
173
+ @property
174
+ def avg_db_time(self):
175
+ r"""Gets the avg_db_time of this FullSqlStatisticInfoResult.
176
+
177
+ **参数解释**: 平均有效DB耗时(微秒)。 **取值范围**: 不涉及。
178
+
179
+ :return: The avg_db_time of this FullSqlStatisticInfoResult.
180
+ :rtype: int
181
+ """
182
+ return self._avg_db_time
183
+
184
+ @avg_db_time.setter
185
+ def avg_db_time(self, avg_db_time):
186
+ r"""Sets the avg_db_time of this FullSqlStatisticInfoResult.
187
+
188
+ **参数解释**: 平均有效DB耗时(微秒)。 **取值范围**: 不涉及。
189
+
190
+ :param avg_db_time: The avg_db_time of this FullSqlStatisticInfoResult.
191
+ :type avg_db_time: int
192
+ """
193
+ self._avg_db_time = avg_db_time
194
+
195
+ @property
196
+ def avg_cpu_time(self):
197
+ r"""Gets the avg_cpu_time of this FullSqlStatisticInfoResult.
198
+
199
+ **参数解释**: 平均CPU执行耗时(微秒)。 **取值范围**: 不涉及。
200
+
201
+ :return: The avg_cpu_time of this FullSqlStatisticInfoResult.
202
+ :rtype: int
203
+ """
204
+ return self._avg_cpu_time
205
+
206
+ @avg_cpu_time.setter
207
+ def avg_cpu_time(self, avg_cpu_time):
208
+ r"""Sets the avg_cpu_time of this FullSqlStatisticInfoResult.
209
+
210
+ **参数解释**: 平均CPU执行耗时(微秒)。 **取值范围**: 不涉及。
211
+
212
+ :param avg_cpu_time: The avg_cpu_time of this FullSqlStatisticInfoResult.
213
+ :type avg_cpu_time: int
214
+ """
215
+ self._avg_cpu_time = avg_cpu_time
216
+
217
+ @property
218
+ def avg_data_io_time(self):
219
+ r"""Gets the avg_data_io_time of this FullSqlStatisticInfoResult.
220
+
221
+ **参数解释**: 平均IO耗时(微秒)。 **取值范围**: 不涉及。
222
+
223
+ :return: The avg_data_io_time of this FullSqlStatisticInfoResult.
224
+ :rtype: int
225
+ """
226
+ return self._avg_data_io_time
227
+
228
+ @avg_data_io_time.setter
229
+ def avg_data_io_time(self, avg_data_io_time):
230
+ r"""Sets the avg_data_io_time of this FullSqlStatisticInfoResult.
231
+
232
+ **参数解释**: 平均IO耗时(微秒)。 **取值范围**: 不涉及。
233
+
234
+ :param avg_data_io_time: The avg_data_io_time of this FullSqlStatisticInfoResult.
235
+ :type avg_data_io_time: int
236
+ """
237
+ self._avg_data_io_time = avg_data_io_time
238
+
239
+ @property
240
+ def avg_execution_time(self):
241
+ r"""Gets the avg_execution_time of this FullSqlStatisticInfoResult.
242
+
243
+ **参数解释**: 平均SQL执行器内执行时间(微秒)。 **取值范围**: 不涉及。
244
+
245
+ :return: The avg_execution_time of this FullSqlStatisticInfoResult.
246
+ :rtype: int
247
+ """
248
+ return self._avg_execution_time
249
+
250
+ @avg_execution_time.setter
251
+ def avg_execution_time(self, avg_execution_time):
252
+ r"""Sets the avg_execution_time of this FullSqlStatisticInfoResult.
253
+
254
+ **参数解释**: 平均SQL执行器内执行时间(微秒)。 **取值范围**: 不涉及。
255
+
256
+ :param avg_execution_time: The avg_execution_time of this FullSqlStatisticInfoResult.
257
+ :type avg_execution_time: int
258
+ """
259
+ self._avg_execution_time = avg_execution_time
260
+
261
+ @property
262
+ def avg_n_blocks_hit(self):
263
+ r"""Gets the avg_n_blocks_hit of this FullSqlStatisticInfoResult.
264
+
265
+ **参数解释**: 平均Buffer块命中次数。 **取值范围**: 不涉及。
266
+
267
+ :return: The avg_n_blocks_hit of this FullSqlStatisticInfoResult.
268
+ :rtype: int
269
+ """
270
+ return self._avg_n_blocks_hit
271
+
272
+ @avg_n_blocks_hit.setter
273
+ def avg_n_blocks_hit(self, avg_n_blocks_hit):
274
+ r"""Sets the avg_n_blocks_hit of this FullSqlStatisticInfoResult.
275
+
276
+ **参数解释**: 平均Buffer块命中次数。 **取值范围**: 不涉及。
277
+
278
+ :param avg_n_blocks_hit: The avg_n_blocks_hit of this FullSqlStatisticInfoResult.
279
+ :type avg_n_blocks_hit: int
280
+ """
281
+ self._avg_n_blocks_hit = avg_n_blocks_hit
282
+
283
+ @property
284
+ def start_time_stamp(self):
285
+ r"""Gets the start_time_stamp of this FullSqlStatisticInfoResult.
286
+
287
+ **参数解释**: 开始时间戳。 **取值范围**: 不涉及。
288
+
289
+ :return: The start_time_stamp of this FullSqlStatisticInfoResult.
290
+ :rtype: str
291
+ """
292
+ return self._start_time_stamp
293
+
294
+ @start_time_stamp.setter
295
+ def start_time_stamp(self, start_time_stamp):
296
+ r"""Sets the start_time_stamp of this FullSqlStatisticInfoResult.
297
+
298
+ **参数解释**: 开始时间戳。 **取值范围**: 不涉及。
299
+
300
+ :param start_time_stamp: The start_time_stamp of this FullSqlStatisticInfoResult.
301
+ :type start_time_stamp: str
302
+ """
303
+ self._start_time_stamp = start_time_stamp
304
+
305
+ @property
306
+ def end_time_stamp(self):
307
+ r"""Gets the end_time_stamp of this FullSqlStatisticInfoResult.
308
+
309
+ **参数解释**: 结束时间戳。 **取值范围**: 不涉及。
310
+
311
+ :return: The end_time_stamp of this FullSqlStatisticInfoResult.
312
+ :rtype: str
313
+ """
314
+ return self._end_time_stamp
315
+
316
+ @end_time_stamp.setter
317
+ def end_time_stamp(self, end_time_stamp):
318
+ r"""Sets the end_time_stamp of this FullSqlStatisticInfoResult.
319
+
320
+ **参数解释**: 结束时间戳。 **取值范围**: 不涉及。
321
+
322
+ :param end_time_stamp: The end_time_stamp of this FullSqlStatisticInfoResult.
323
+ :type end_time_stamp: str
324
+ """
325
+ self._end_time_stamp = end_time_stamp
326
+
327
+ def to_dict(self):
328
+ """Returns the model properties as a dict"""
329
+ result = {}
330
+
331
+ for attr, _ in six.iteritems(self.openapi_types):
332
+ value = getattr(self, attr)
333
+ if isinstance(value, list):
334
+ result[attr] = list(map(
335
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
336
+ value
337
+ ))
338
+ elif hasattr(value, "to_dict"):
339
+ result[attr] = value.to_dict()
340
+ elif isinstance(value, dict):
341
+ result[attr] = dict(map(
342
+ lambda item: (item[0], item[1].to_dict())
343
+ if hasattr(item[1], "to_dict") else item,
344
+ value.items()
345
+ ))
346
+ else:
347
+ if attr in self.sensitive_list:
348
+ result[attr] = "****"
349
+ else:
350
+ result[attr] = value
351
+
352
+ return result
353
+
354
+ def to_str(self):
355
+ """Returns the string representation of the model"""
356
+ import simplejson as json
357
+ if six.PY2:
358
+ import sys
359
+ reload(sys)
360
+ sys.setdefaultencoding("utf-8")
361
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
362
+
363
+ def __repr__(self):
364
+ """For `print`"""
365
+ return self.to_str()
366
+
367
+ def __eq__(self, other):
368
+ """Returns true if both objects are equal"""
369
+ if not isinstance(other, FullSqlStatisticInfoResult):
370
+ return False
371
+
372
+ return self.__dict__ == other.__dict__
373
+
374
+ def __ne__(self, other):
375
+ """Returns true if both objects are not equal"""
376
+ return not self == other
@@ -31,9 +31,9 @@ class GaussDBErrorResponseBody:
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
- :param error_msg: 错误消息。
36
+ :param error_msg: **参数解释**: 错误消息。 **取值范围**: 不涉及。
37
37
  :type error_msg: str
38
38
  """
39
39
 
@@ -50,7 +50,7 @@ class GaussDBErrorResponseBody:
50
50
  def error_code(self):
51
51
  r"""Gets the error_code of this GaussDBErrorResponseBody.
52
52
 
53
- 错误码。
53
+ **参数解释**: 错误码。 **取值范围**: 不涉及。
54
54
 
55
55
  :return: The error_code of this GaussDBErrorResponseBody.
56
56
  :rtype: str
@@ -61,7 +61,7 @@ class GaussDBErrorResponseBody:
61
61
  def error_code(self, error_code):
62
62
  r"""Sets the error_code of this GaussDBErrorResponseBody.
63
63
 
64
- 错误码。
64
+ **参数解释**: 错误码。 **取值范围**: 不涉及。
65
65
 
66
66
  :param error_code: The error_code of this GaussDBErrorResponseBody.
67
67
  :type error_code: str
@@ -72,7 +72,7 @@ class GaussDBErrorResponseBody:
72
72
  def error_msg(self):
73
73
  r"""Gets the error_msg of this GaussDBErrorResponseBody.
74
74
 
75
- 错误消息。
75
+ **参数解释**: 错误消息。 **取值范围**: 不涉及。
76
76
 
77
77
  :return: The error_msg of this GaussDBErrorResponseBody.
78
78
  :rtype: str
@@ -83,7 +83,7 @@ class GaussDBErrorResponseBody:
83
83
  def error_msg(self, error_msg):
84
84
  r"""Sets the error_msg of this GaussDBErrorResponseBody.
85
85
 
86
- 错误消息。
86
+ **参数解释**: 错误消息。 **取值范围**: 不涉及。
87
87
 
88
88
  :param error_msg: The error_msg of this GaussDBErrorResponseBody.
89
89
  :type error_msg: str
@@ -0,0 +1,226 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class HbaConfOption:
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
+ 'type': 'str',
21
+ 'database': 'str',
22
+ 'user': 'str',
23
+ 'address': 'str',
24
+ 'method': 'str'
25
+ }
26
+
27
+ attribute_map = {
28
+ 'type': 'type',
29
+ 'database': 'database',
30
+ 'user': 'user',
31
+ 'address': 'address',
32
+ 'method': 'method'
33
+ }
34
+
35
+ def __init__(self, type=None, database=None, user=None, address=None, method=None):
36
+ r"""HbaConfOption
37
+
38
+ The model defined in huaweicloud sdk
39
+
40
+ :param type: **参数解释** 客户端连接类型。 **约束限制**: 不涉及。 **取值范围** - host:表示这条记录既接受一个普通的TCP/IP套接字连接,也接受一个经过SSL加密的TCP/IP套接字连接。 - hostssl:表示这条记录只接受一个经过SSL加密的TCP/IP套接字连接。 - hostnossl:表示这条记录只接受一个普通的TCP/IP套接字连接。 **默认取值**: 不涉及。
41
+ :type type: str
42
+ :param database: **参数解释** 声明记录所匹配且允许访问的数据库,多租特性场景下该参数声明记录所匹配且允许访问的PDB。 - 值replication表示如果请求一个复制连接,则匹配,但复制连接不表示任何特定的数据库。如需使用名为replication的数据库,需在database列使用记录“replication”作为数据库名。 - 多租数据库下, 值replication_pdb1表示如果请求一个名为pdb1数据库的复制连接,则匹配成功。值replication方式只生效Non-PDB。 - PDB复制连接生效配置方式为replication_[pdbname],pdbname为用户创建PDB数据库时候的名字。 - 如需使用名为replication_pdb1的数据库,需在database列使用记录“replication_pdb1”作为数据库名。 **约束限制**: 不涉及。 **取值范围** - all:表示该记录匹配所有数据库。 - 特定的数据库名称或者用逗号分隔的数据库列表。 **默认取值**: 不涉及。
43
+ :type database: str
44
+ :param user: **参数解释** 声明记录所匹配且允许访问的数据库用户。 **约束限制** 不支持系统用户。 **取值范围** - all:表明该记录匹配所有用户。 - 特定的数据库用户名或者用逗号分隔的用户列表。 **默认取值**: 不涉及。
45
+ :type user: str
46
+ :param address: **参数解释** 指定与记录匹配且允许访问的IP地址范围。 **约束限制** 当前仅支持IP地址/掩码长度格式。 数据库引擎版本为V2.0-8.1.0及以上支持address配置IPv6的IP。 **取值范围** 支持IPv4和IPv6,可以使用如下形式来表示: IP地址/掩码长度。例如,10.10.0.0/24、2001:250:250:250:250:250:250:175/128。 **默认取值**: 不涉及。
47
+ :type address: str
48
+ :param method: **参数解释** 声明连接时使用的认证方法。 **约束限制**: 不涉及。 **取值范围** - reject:无条件地拒绝连接。常用于过滤某些主机。 - md5:MD5加密算法安全性低,存在安全风险,不推荐使用,建议使用更安全的加密算法。默认不支持,可通过password_encryption_type参数配置。 - sha256:要求客户端提供一个sha256算法加密的口令进行认证,该口令在传送过程中结合salt(服务器发送给客户端的随机数)的单向sha256加密,增强了安全性。 - sm3:要求客户端提供一个sm3算法加密口令进行认证,该口令在传送过程中结合salt(服务器发送给客户端的随机数)的单向sm3加密,增加了安全性。 - cert:客户端证书认证模式,此模式需进行SSL连接配置且需要客户端提供有效的SSL证书,不需要提供用户密码。cert认证方式只支持hostssl类型的规则。 **默认取值**: 不涉及。
49
+ :type method: str
50
+ """
51
+
52
+
53
+
54
+ self._type = None
55
+ self._database = None
56
+ self._user = None
57
+ self._address = None
58
+ self._method = None
59
+ self.discriminator = None
60
+
61
+ self.type = type
62
+ self.database = database
63
+ self.user = user
64
+ self.address = address
65
+ self.method = method
66
+
67
+ @property
68
+ def type(self):
69
+ r"""Gets the type of this HbaConfOption.
70
+
71
+ **参数解释** 客户端连接类型。 **约束限制**: 不涉及。 **取值范围** - host:表示这条记录既接受一个普通的TCP/IP套接字连接,也接受一个经过SSL加密的TCP/IP套接字连接。 - hostssl:表示这条记录只接受一个经过SSL加密的TCP/IP套接字连接。 - hostnossl:表示这条记录只接受一个普通的TCP/IP套接字连接。 **默认取值**: 不涉及。
72
+
73
+ :return: The type of this HbaConfOption.
74
+ :rtype: str
75
+ """
76
+ return self._type
77
+
78
+ @type.setter
79
+ def type(self, type):
80
+ r"""Sets the type of this HbaConfOption.
81
+
82
+ **参数解释** 客户端连接类型。 **约束限制**: 不涉及。 **取值范围** - host:表示这条记录既接受一个普通的TCP/IP套接字连接,也接受一个经过SSL加密的TCP/IP套接字连接。 - hostssl:表示这条记录只接受一个经过SSL加密的TCP/IP套接字连接。 - hostnossl:表示这条记录只接受一个普通的TCP/IP套接字连接。 **默认取值**: 不涉及。
83
+
84
+ :param type: The type of this HbaConfOption.
85
+ :type type: str
86
+ """
87
+ self._type = type
88
+
89
+ @property
90
+ def database(self):
91
+ r"""Gets the database of this HbaConfOption.
92
+
93
+ **参数解释** 声明记录所匹配且允许访问的数据库,多租特性场景下该参数声明记录所匹配且允许访问的PDB。 - 值replication表示如果请求一个复制连接,则匹配,但复制连接不表示任何特定的数据库。如需使用名为replication的数据库,需在database列使用记录“replication”作为数据库名。 - 多租数据库下, 值replication_pdb1表示如果请求一个名为pdb1数据库的复制连接,则匹配成功。值replication方式只生效Non-PDB。 - PDB复制连接生效配置方式为replication_[pdbname],pdbname为用户创建PDB数据库时候的名字。 - 如需使用名为replication_pdb1的数据库,需在database列使用记录“replication_pdb1”作为数据库名。 **约束限制**: 不涉及。 **取值范围** - all:表示该记录匹配所有数据库。 - 特定的数据库名称或者用逗号分隔的数据库列表。 **默认取值**: 不涉及。
94
+
95
+ :return: The database of this HbaConfOption.
96
+ :rtype: str
97
+ """
98
+ return self._database
99
+
100
+ @database.setter
101
+ def database(self, database):
102
+ r"""Sets the database of this HbaConfOption.
103
+
104
+ **参数解释** 声明记录所匹配且允许访问的数据库,多租特性场景下该参数声明记录所匹配且允许访问的PDB。 - 值replication表示如果请求一个复制连接,则匹配,但复制连接不表示任何特定的数据库。如需使用名为replication的数据库,需在database列使用记录“replication”作为数据库名。 - 多租数据库下, 值replication_pdb1表示如果请求一个名为pdb1数据库的复制连接,则匹配成功。值replication方式只生效Non-PDB。 - PDB复制连接生效配置方式为replication_[pdbname],pdbname为用户创建PDB数据库时候的名字。 - 如需使用名为replication_pdb1的数据库,需在database列使用记录“replication_pdb1”作为数据库名。 **约束限制**: 不涉及。 **取值范围** - all:表示该记录匹配所有数据库。 - 特定的数据库名称或者用逗号分隔的数据库列表。 **默认取值**: 不涉及。
105
+
106
+ :param database: The database of this HbaConfOption.
107
+ :type database: str
108
+ """
109
+ self._database = database
110
+
111
+ @property
112
+ def user(self):
113
+ r"""Gets the user of this HbaConfOption.
114
+
115
+ **参数解释** 声明记录所匹配且允许访问的数据库用户。 **约束限制** 不支持系统用户。 **取值范围** - all:表明该记录匹配所有用户。 - 特定的数据库用户名或者用逗号分隔的用户列表。 **默认取值**: 不涉及。
116
+
117
+ :return: The user of this HbaConfOption.
118
+ :rtype: str
119
+ """
120
+ return self._user
121
+
122
+ @user.setter
123
+ def user(self, user):
124
+ r"""Sets the user of this HbaConfOption.
125
+
126
+ **参数解释** 声明记录所匹配且允许访问的数据库用户。 **约束限制** 不支持系统用户。 **取值范围** - all:表明该记录匹配所有用户。 - 特定的数据库用户名或者用逗号分隔的用户列表。 **默认取值**: 不涉及。
127
+
128
+ :param user: The user of this HbaConfOption.
129
+ :type user: str
130
+ """
131
+ self._user = user
132
+
133
+ @property
134
+ def address(self):
135
+ r"""Gets the address of this HbaConfOption.
136
+
137
+ **参数解释** 指定与记录匹配且允许访问的IP地址范围。 **约束限制** 当前仅支持IP地址/掩码长度格式。 数据库引擎版本为V2.0-8.1.0及以上支持address配置IPv6的IP。 **取值范围** 支持IPv4和IPv6,可以使用如下形式来表示: IP地址/掩码长度。例如,10.10.0.0/24、2001:250:250:250:250:250:250:175/128。 **默认取值**: 不涉及。
138
+
139
+ :return: The address of this HbaConfOption.
140
+ :rtype: str
141
+ """
142
+ return self._address
143
+
144
+ @address.setter
145
+ def address(self, address):
146
+ r"""Sets the address of this HbaConfOption.
147
+
148
+ **参数解释** 指定与记录匹配且允许访问的IP地址范围。 **约束限制** 当前仅支持IP地址/掩码长度格式。 数据库引擎版本为V2.0-8.1.0及以上支持address配置IPv6的IP。 **取值范围** 支持IPv4和IPv6,可以使用如下形式来表示: IP地址/掩码长度。例如,10.10.0.0/24、2001:250:250:250:250:250:250:175/128。 **默认取值**: 不涉及。
149
+
150
+ :param address: The address of this HbaConfOption.
151
+ :type address: str
152
+ """
153
+ self._address = address
154
+
155
+ @property
156
+ def method(self):
157
+ r"""Gets the method of this HbaConfOption.
158
+
159
+ **参数解释** 声明连接时使用的认证方法。 **约束限制**: 不涉及。 **取值范围** - reject:无条件地拒绝连接。常用于过滤某些主机。 - md5:MD5加密算法安全性低,存在安全风险,不推荐使用,建议使用更安全的加密算法。默认不支持,可通过password_encryption_type参数配置。 - sha256:要求客户端提供一个sha256算法加密的口令进行认证,该口令在传送过程中结合salt(服务器发送给客户端的随机数)的单向sha256加密,增强了安全性。 - sm3:要求客户端提供一个sm3算法加密口令进行认证,该口令在传送过程中结合salt(服务器发送给客户端的随机数)的单向sm3加密,增加了安全性。 - cert:客户端证书认证模式,此模式需进行SSL连接配置且需要客户端提供有效的SSL证书,不需要提供用户密码。cert认证方式只支持hostssl类型的规则。 **默认取值**: 不涉及。
160
+
161
+ :return: The method of this HbaConfOption.
162
+ :rtype: str
163
+ """
164
+ return self._method
165
+
166
+ @method.setter
167
+ def method(self, method):
168
+ r"""Sets the method of this HbaConfOption.
169
+
170
+ **参数解释** 声明连接时使用的认证方法。 **约束限制**: 不涉及。 **取值范围** - reject:无条件地拒绝连接。常用于过滤某些主机。 - md5:MD5加密算法安全性低,存在安全风险,不推荐使用,建议使用更安全的加密算法。默认不支持,可通过password_encryption_type参数配置。 - sha256:要求客户端提供一个sha256算法加密的口令进行认证,该口令在传送过程中结合salt(服务器发送给客户端的随机数)的单向sha256加密,增强了安全性。 - sm3:要求客户端提供一个sm3算法加密口令进行认证,该口令在传送过程中结合salt(服务器发送给客户端的随机数)的单向sm3加密,增加了安全性。 - cert:客户端证书认证模式,此模式需进行SSL连接配置且需要客户端提供有效的SSL证书,不需要提供用户密码。cert认证方式只支持hostssl类型的规则。 **默认取值**: 不涉及。
171
+
172
+ :param method: The method of this HbaConfOption.
173
+ :type method: str
174
+ """
175
+ self._method = method
176
+
177
+ def to_dict(self):
178
+ """Returns the model properties as a dict"""
179
+ result = {}
180
+
181
+ for attr, _ in six.iteritems(self.openapi_types):
182
+ value = getattr(self, attr)
183
+ if isinstance(value, list):
184
+ result[attr] = list(map(
185
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
186
+ value
187
+ ))
188
+ elif hasattr(value, "to_dict"):
189
+ result[attr] = value.to_dict()
190
+ elif isinstance(value, dict):
191
+ result[attr] = dict(map(
192
+ lambda item: (item[0], item[1].to_dict())
193
+ if hasattr(item[1], "to_dict") else item,
194
+ value.items()
195
+ ))
196
+ else:
197
+ if attr in self.sensitive_list:
198
+ result[attr] = "****"
199
+ else:
200
+ result[attr] = value
201
+
202
+ return result
203
+
204
+ def to_str(self):
205
+ """Returns the string representation of the model"""
206
+ import simplejson as json
207
+ if six.PY2:
208
+ import sys
209
+ reload(sys)
210
+ sys.setdefaultencoding("utf-8")
211
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
212
+
213
+ def __repr__(self):
214
+ """For `print`"""
215
+ return self.to_str()
216
+
217
+ def __eq__(self, other):
218
+ """Returns true if both objects are equal"""
219
+ if not isinstance(other, HbaConfOption):
220
+ return False
221
+
222
+ return self.__dict__ == other.__dict__
223
+
224
+ def __ne__(self, other):
225
+ """Returns true if both objects are not equal"""
226
+ return not self == other