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

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