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.
- huaweicloudsdkgaussdbforopengauss/v3/__init__.py +167 -1
- huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_async_client.py +4890 -1170
- huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_client.py +4890 -1170
- huaweicloudsdkgaussdbforopengauss/v3/model/__init__.py +167 -1
- huaweicloudsdkgaussdbforopengauss/v3/model/allow_db_role_privileges_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/allow_db_role_privileges_request_body.py +138 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/allow_db_role_privileges_response.py +85 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/available_flavor_info_result.py +18 -18
- huaweicloudsdkgaussdbforopengauss/v3/model/backup_policy_info.py +314 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/batch_show_upgrade_candidate_versions_request.py +140 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/batch_show_upgrade_candidate_versions_response.py +232 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/can_be_rollbacked_hotfix_detail.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/can_be_upgraded_hotfix_detail.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/cn_info_before_reduce.py +231 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/components.py +61 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/configurations_result.py +339 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/confirm_restored_data_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/confirm_restored_data_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_configuration_template_request_body.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/create_database_instance_request.py +140 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_database_instance_request_body.py +722 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_database_instance_response.py +170 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_database_instance_result.py +544 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_db_role_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_db_role_request_body.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_db_role_response.py +85 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_gauss_db_instance_request.py +169 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_gauss_db_instance_response.py +170 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_instance_datastore_option.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_limit_task_node_option.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_limit_task_node_result.py +144 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_limit_task_request.py +139 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_limit_task_request_body.py +458 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_limit_task_response.py +725 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_manual_backup_request_body.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/create_slow_log_download_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_slow_log_download_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/data_stroe_error_response.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/datastore_result.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_backup_error_response.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_database_schema_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_database_schema_request_body.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_database_schema_response.py +85 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_instance_tag_request.py +171 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_instance_tag_response.py +174 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_limit_task_request.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_limit_task_response.py +85 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_manual_backup_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_manual_backup_response.py +61 -1
- huaweicloudsdkgaussdbforopengauss/v3/model/download_backup_error_response.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/error_response.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/feature_result.py +289 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/flavor_error_response.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_d_bfor_open_gauss_list_database.py +61 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_d_bfor_open_gauss_role_attributes.py +199 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_d_bfor_open_gauss_user_for_list.py +50 -21
- 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
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_db_error_response_body.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_db_list_database_roles.py +197 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_db_list_database_roles_priv.py +347 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_db_upgrade_instances_version_request.py +200 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/hotfix_info.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/hotfix_info_result.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/hotfix_rollback_infos.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/hotfix_upgrade_infos.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/hotfix_version_info.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/install_kernel_plugin_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/install_kernel_plugin_request_body.py +170 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/install_kernel_plugin_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/instance_log_file.py +260 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/instances_result.py +4 -4
- huaweicloudsdkgaussdbforopengauss/v3/model/limit_task_rule_info_option.py +170 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_backups_details_request.py +318 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_backups_details_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_backups_result.py +372 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_cn_infos_before_reduce_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_cn_infos_before_reduce_response.py +174 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_database_instances_request.py +405 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_database_instances_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_database_roles_request.py +201 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_database_roles_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_datastore.py +61 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_datastores_details_request.py +115 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_datastores_details_response.py +112 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_features_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_features_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_flavors_details_request.py +260 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_flavors_details_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_datastore.py +258 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_details_request.py +405 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_details_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_error_logs_request.py +257 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_error_logs_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_instances_result.py +957 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_kernel_plugins_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_kernel_plugins_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_limit_task_request.py +404 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_limit_task_response.py +203 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_limit_task_response_result.py +695 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_node_limit_sql_model_request.py +229 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_node_limit_sql_model_response.py +203 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_node_limit_sql_model_response_result.py +144 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_parameter_group_templates_request.py +173 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_parameter_group_templates_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_plugin_extensions_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_plugin_extensions_request_body.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_plugin_extensions_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_recycle_instances_details_request.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_recycle_instances_details_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_restorable_instances_details_request.py +259 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_restorable_instances_details_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_support_kernel_plugins_request.py +115 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_support_kernel_plugins_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_top_io_traffics_request.py +257 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_top_io_traffics_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/my_sql_compatibility_result.py +115 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_error_response.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_ha.py +32 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_ha_option.py +32 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_instance_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_instance_request_body.py +35 -6
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_upgrade_request.py +230 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/para_group_parameter_result.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/param_group_diff_request_body.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/plugin_extensions.py +144 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/recovery_backup_source.py +200 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/recovery_backup_target.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/recycle_instances_detail_result.py +6 -6
- huaweicloudsdkgaussdbforopengauss/v3/model/recycle_instances_detail_result_v1.py +566 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/resource_error_response.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/restore_instance_request.py +140 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/restore_instance_request_body.py +134 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/restore_instance_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/resume_plugin_extensions_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/resume_plugin_extensions_request_body.py +198 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/resume_plugin_extensions_response.py +112 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/roll_upgrade_progress.py +231 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/search_auto_enlarge_policy_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/search_auto_enlarge_policy_response.py +319 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/set_kernel_plugin_license_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/set_kernel_plugin_license_request_body.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/set_kernel_plugin_license_response.py +112 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/set_new_backup_policy_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/set_new_backup_policy_request_body.py +110 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/set_new_backup_policy_response.py +85 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_backup_policy.py +4 -4
- huaweicloudsdkgaussdbforopengauss/v3/model/show_batch_upgrade_candidate_versions_request.py +140 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_batch_upgrade_candidate_versions_response.py +232 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_error_log_switch_status_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_error_log_switch_status_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_param_group_detail_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_param_group_detail_response.py +232 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_limit_task_node_option.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_limit_task_request.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_limit_task_response.py +406 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_parameter_group_detail_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_parameter_group_detail_response.py +319 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_slow_log_download_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_slow_log_download_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_source_instance_detail_request.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_source_instance_detail_response.py +348 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_upgrade_candidate_versions_details_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_upgrade_candidate_versions_details_response.py +373 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_upgrade_candidate_versions_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_upgrade_candidate_versions_response.py +373 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/slow_log_download_info.py +463 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/start_instance_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/start_instance_request_body.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/start_instance_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/start_my_sql_compatibility_request_body.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/start_mysql_compatibility_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/start_mysql_compatibility_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/stop_instance_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/stop_instance_request_body.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/stop_instance_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/sync_limit_data_request.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/sync_limit_data_response.py +203 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/task_detail_result.py +59 -1
- huaweicloudsdkgaussdbforopengauss/v3/model/top_io_info.py +405 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/update_features_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/update_features_request_body.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/update_features_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/update_instance_configuration_response.py +32 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/update_limit_task_request.py +167 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/update_limit_task_request_body.py +318 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/update_limit_task_response.py +406 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/update_my_sql_compatibility_request_body.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/update_mysql_compatibility_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/update_mysql_compatibility_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_action_info.py +144 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_error_response_body.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_instance_version_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_instance_version_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_instances_request_body.py +115 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_instances_version_request.py +140 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_instances_version_response.py +232 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_type_info.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/region/gaussdbforopengauss_region.py +30 -0
- {huaweicloudsdkgaussdbforopengauss-3.1.86.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.132.dist-info}/METADATA +2 -2
- {huaweicloudsdkgaussdbforopengauss-3.1.86.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.132.dist-info}/RECORD +203 -37
- {huaweicloudsdkgaussdbforopengauss-3.1.86.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.132.dist-info}/WHEEL +1 -1
- {huaweicloudsdkgaussdbforopengauss-3.1.86.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.132.dist-info}/LICENSE +0 -0
- {huaweicloudsdkgaussdbforopengauss-3.1.86.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.132.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,145 @@
|
|
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 ListInstanceDetailsResponse(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
|
+
'instances': 'list[ListInstancesResult]',
|
22
|
+
'total_count': 'int'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'instances': 'instances',
|
27
|
+
'total_count': 'total_count'
|
28
|
+
}
|
29
|
+
|
30
|
+
def __init__(self, instances=None, total_count=None):
|
31
|
+
"""ListInstanceDetailsResponse
|
32
|
+
|
33
|
+
The model defined in huaweicloud sdk
|
34
|
+
|
35
|
+
:param instances: 实例信息。
|
36
|
+
:type instances: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.ListInstancesResult`]
|
37
|
+
:param total_count: 总记录数。
|
38
|
+
:type total_count: int
|
39
|
+
"""
|
40
|
+
|
41
|
+
super(ListInstanceDetailsResponse, self).__init__()
|
42
|
+
|
43
|
+
self._instances = None
|
44
|
+
self._total_count = None
|
45
|
+
self.discriminator = None
|
46
|
+
|
47
|
+
if instances is not None:
|
48
|
+
self.instances = instances
|
49
|
+
if total_count is not None:
|
50
|
+
self.total_count = total_count
|
51
|
+
|
52
|
+
@property
|
53
|
+
def instances(self):
|
54
|
+
"""Gets the instances of this ListInstanceDetailsResponse.
|
55
|
+
|
56
|
+
实例信息。
|
57
|
+
|
58
|
+
:return: The instances of this ListInstanceDetailsResponse.
|
59
|
+
:rtype: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.ListInstancesResult`]
|
60
|
+
"""
|
61
|
+
return self._instances
|
62
|
+
|
63
|
+
@instances.setter
|
64
|
+
def instances(self, instances):
|
65
|
+
"""Sets the instances of this ListInstanceDetailsResponse.
|
66
|
+
|
67
|
+
实例信息。
|
68
|
+
|
69
|
+
:param instances: The instances of this ListInstanceDetailsResponse.
|
70
|
+
:type instances: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.ListInstancesResult`]
|
71
|
+
"""
|
72
|
+
self._instances = instances
|
73
|
+
|
74
|
+
@property
|
75
|
+
def total_count(self):
|
76
|
+
"""Gets the total_count of this ListInstanceDetailsResponse.
|
77
|
+
|
78
|
+
总记录数。
|
79
|
+
|
80
|
+
:return: The total_count of this ListInstanceDetailsResponse.
|
81
|
+
:rtype: int
|
82
|
+
"""
|
83
|
+
return self._total_count
|
84
|
+
|
85
|
+
@total_count.setter
|
86
|
+
def total_count(self, total_count):
|
87
|
+
"""Sets the total_count of this ListInstanceDetailsResponse.
|
88
|
+
|
89
|
+
总记录数。
|
90
|
+
|
91
|
+
:param total_count: The total_count of this ListInstanceDetailsResponse.
|
92
|
+
:type total_count: int
|
93
|
+
"""
|
94
|
+
self._total_count = total_count
|
95
|
+
|
96
|
+
def to_dict(self):
|
97
|
+
"""Returns the model properties as a dict"""
|
98
|
+
result = {}
|
99
|
+
|
100
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
101
|
+
value = getattr(self, attr)
|
102
|
+
if isinstance(value, list):
|
103
|
+
result[attr] = list(map(
|
104
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
105
|
+
value
|
106
|
+
))
|
107
|
+
elif hasattr(value, "to_dict"):
|
108
|
+
result[attr] = value.to_dict()
|
109
|
+
elif isinstance(value, dict):
|
110
|
+
result[attr] = dict(map(
|
111
|
+
lambda item: (item[0], item[1].to_dict())
|
112
|
+
if hasattr(item[1], "to_dict") else item,
|
113
|
+
value.items()
|
114
|
+
))
|
115
|
+
else:
|
116
|
+
if attr in self.sensitive_list:
|
117
|
+
result[attr] = "****"
|
118
|
+
else:
|
119
|
+
result[attr] = value
|
120
|
+
|
121
|
+
return result
|
122
|
+
|
123
|
+
def to_str(self):
|
124
|
+
"""Returns the string representation of the model"""
|
125
|
+
import simplejson as json
|
126
|
+
if six.PY2:
|
127
|
+
import sys
|
128
|
+
reload(sys)
|
129
|
+
sys.setdefaultencoding("utf-8")
|
130
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
131
|
+
|
132
|
+
def __repr__(self):
|
133
|
+
"""For `print`"""
|
134
|
+
return self.to_str()
|
135
|
+
|
136
|
+
def __eq__(self, other):
|
137
|
+
"""Returns true if both objects are equal"""
|
138
|
+
if not isinstance(other, ListInstanceDetailsResponse):
|
139
|
+
return False
|
140
|
+
|
141
|
+
return self.__dict__ == other.__dict__
|
142
|
+
|
143
|
+
def __ne__(self, other):
|
144
|
+
"""Returns true if both objects are not equal"""
|
145
|
+
return not self == other
|
@@ -0,0 +1,257 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ListInstanceErrorLogsRequest:
|
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
|
+
'x_language': 'str',
|
21
|
+
'instance_id': 'str',
|
22
|
+
'offset': 'int',
|
23
|
+
'limit': 'int',
|
24
|
+
'start_time': 'str',
|
25
|
+
'end_time': 'str'
|
26
|
+
}
|
27
|
+
|
28
|
+
attribute_map = {
|
29
|
+
'x_language': 'X-Language',
|
30
|
+
'instance_id': 'instance_id',
|
31
|
+
'offset': 'offset',
|
32
|
+
'limit': 'limit',
|
33
|
+
'start_time': 'start_time',
|
34
|
+
'end_time': 'end_time'
|
35
|
+
}
|
36
|
+
|
37
|
+
def __init__(self, x_language=None, instance_id=None, offset=None, limit=None, start_time=None, end_time=None):
|
38
|
+
"""ListInstanceErrorLogsRequest
|
39
|
+
|
40
|
+
The model defined in huaweicloud sdk
|
41
|
+
|
42
|
+
:param x_language: 语言
|
43
|
+
:type x_language: str
|
44
|
+
:param instance_id: 实例ID。
|
45
|
+
:type instance_id: str
|
46
|
+
:param offset: 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。例如:该参数指定为0,limit指定为10,则只展示第1-10条数据。
|
47
|
+
:type offset: int
|
48
|
+
:param limit: 查询记录数。默认为10,不能为负数,最小值为1,最大值为100。例如该参数设定为10,则查询结果最多只显示10条记录。
|
49
|
+
:type limit: int
|
50
|
+
:param start_time: 开始时间,格式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。
|
51
|
+
:type start_time: str
|
52
|
+
:param end_time: 结束时间,格式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。只能查询当前时间前30天的错误日志。
|
53
|
+
:type end_time: str
|
54
|
+
"""
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
self._x_language = None
|
59
|
+
self._instance_id = None
|
60
|
+
self._offset = None
|
61
|
+
self._limit = None
|
62
|
+
self._start_time = None
|
63
|
+
self._end_time = None
|
64
|
+
self.discriminator = None
|
65
|
+
|
66
|
+
if x_language is not None:
|
67
|
+
self.x_language = x_language
|
68
|
+
self.instance_id = instance_id
|
69
|
+
if offset is not None:
|
70
|
+
self.offset = offset
|
71
|
+
if limit is not None:
|
72
|
+
self.limit = limit
|
73
|
+
self.start_time = start_time
|
74
|
+
self.end_time = end_time
|
75
|
+
|
76
|
+
@property
|
77
|
+
def x_language(self):
|
78
|
+
"""Gets the x_language of this ListInstanceErrorLogsRequest.
|
79
|
+
|
80
|
+
语言
|
81
|
+
|
82
|
+
:return: The x_language of this ListInstanceErrorLogsRequest.
|
83
|
+
:rtype: str
|
84
|
+
"""
|
85
|
+
return self._x_language
|
86
|
+
|
87
|
+
@x_language.setter
|
88
|
+
def x_language(self, x_language):
|
89
|
+
"""Sets the x_language of this ListInstanceErrorLogsRequest.
|
90
|
+
|
91
|
+
语言
|
92
|
+
|
93
|
+
:param x_language: The x_language of this ListInstanceErrorLogsRequest.
|
94
|
+
:type x_language: str
|
95
|
+
"""
|
96
|
+
self._x_language = x_language
|
97
|
+
|
98
|
+
@property
|
99
|
+
def instance_id(self):
|
100
|
+
"""Gets the instance_id of this ListInstanceErrorLogsRequest.
|
101
|
+
|
102
|
+
实例ID。
|
103
|
+
|
104
|
+
:return: The instance_id of this ListInstanceErrorLogsRequest.
|
105
|
+
:rtype: str
|
106
|
+
"""
|
107
|
+
return self._instance_id
|
108
|
+
|
109
|
+
@instance_id.setter
|
110
|
+
def instance_id(self, instance_id):
|
111
|
+
"""Sets the instance_id of this ListInstanceErrorLogsRequest.
|
112
|
+
|
113
|
+
实例ID。
|
114
|
+
|
115
|
+
:param instance_id: The instance_id of this ListInstanceErrorLogsRequest.
|
116
|
+
:type instance_id: str
|
117
|
+
"""
|
118
|
+
self._instance_id = instance_id
|
119
|
+
|
120
|
+
@property
|
121
|
+
def offset(self):
|
122
|
+
"""Gets the offset of this ListInstanceErrorLogsRequest.
|
123
|
+
|
124
|
+
索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。例如:该参数指定为0,limit指定为10,则只展示第1-10条数据。
|
125
|
+
|
126
|
+
:return: The offset of this ListInstanceErrorLogsRequest.
|
127
|
+
:rtype: int
|
128
|
+
"""
|
129
|
+
return self._offset
|
130
|
+
|
131
|
+
@offset.setter
|
132
|
+
def offset(self, offset):
|
133
|
+
"""Sets the offset of this ListInstanceErrorLogsRequest.
|
134
|
+
|
135
|
+
索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。例如:该参数指定为0,limit指定为10,则只展示第1-10条数据。
|
136
|
+
|
137
|
+
:param offset: The offset of this ListInstanceErrorLogsRequest.
|
138
|
+
:type offset: int
|
139
|
+
"""
|
140
|
+
self._offset = offset
|
141
|
+
|
142
|
+
@property
|
143
|
+
def limit(self):
|
144
|
+
"""Gets the limit of this ListInstanceErrorLogsRequest.
|
145
|
+
|
146
|
+
查询记录数。默认为10,不能为负数,最小值为1,最大值为100。例如该参数设定为10,则查询结果最多只显示10条记录。
|
147
|
+
|
148
|
+
:return: The limit of this ListInstanceErrorLogsRequest.
|
149
|
+
:rtype: int
|
150
|
+
"""
|
151
|
+
return self._limit
|
152
|
+
|
153
|
+
@limit.setter
|
154
|
+
def limit(self, limit):
|
155
|
+
"""Sets the limit of this ListInstanceErrorLogsRequest.
|
156
|
+
|
157
|
+
查询记录数。默认为10,不能为负数,最小值为1,最大值为100。例如该参数设定为10,则查询结果最多只显示10条记录。
|
158
|
+
|
159
|
+
:param limit: The limit of this ListInstanceErrorLogsRequest.
|
160
|
+
:type limit: int
|
161
|
+
"""
|
162
|
+
self._limit = limit
|
163
|
+
|
164
|
+
@property
|
165
|
+
def start_time(self):
|
166
|
+
"""Gets the start_time of this ListInstanceErrorLogsRequest.
|
167
|
+
|
168
|
+
开始时间,格式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。
|
169
|
+
|
170
|
+
:return: The start_time of this ListInstanceErrorLogsRequest.
|
171
|
+
:rtype: str
|
172
|
+
"""
|
173
|
+
return self._start_time
|
174
|
+
|
175
|
+
@start_time.setter
|
176
|
+
def start_time(self, start_time):
|
177
|
+
"""Sets the start_time of this ListInstanceErrorLogsRequest.
|
178
|
+
|
179
|
+
开始时间,格式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。
|
180
|
+
|
181
|
+
:param start_time: The start_time of this ListInstanceErrorLogsRequest.
|
182
|
+
:type start_time: str
|
183
|
+
"""
|
184
|
+
self._start_time = start_time
|
185
|
+
|
186
|
+
@property
|
187
|
+
def end_time(self):
|
188
|
+
"""Gets the end_time of this ListInstanceErrorLogsRequest.
|
189
|
+
|
190
|
+
结束时间,格式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。只能查询当前时间前30天的错误日志。
|
191
|
+
|
192
|
+
:return: The end_time of this ListInstanceErrorLogsRequest.
|
193
|
+
:rtype: str
|
194
|
+
"""
|
195
|
+
return self._end_time
|
196
|
+
|
197
|
+
@end_time.setter
|
198
|
+
def end_time(self, end_time):
|
199
|
+
"""Sets the end_time of this ListInstanceErrorLogsRequest.
|
200
|
+
|
201
|
+
结束时间,格式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。只能查询当前时间前30天的错误日志。
|
202
|
+
|
203
|
+
:param end_time: The end_time of this ListInstanceErrorLogsRequest.
|
204
|
+
:type end_time: str
|
205
|
+
"""
|
206
|
+
self._end_time = end_time
|
207
|
+
|
208
|
+
def to_dict(self):
|
209
|
+
"""Returns the model properties as a dict"""
|
210
|
+
result = {}
|
211
|
+
|
212
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
213
|
+
value = getattr(self, attr)
|
214
|
+
if isinstance(value, list):
|
215
|
+
result[attr] = list(map(
|
216
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
217
|
+
value
|
218
|
+
))
|
219
|
+
elif hasattr(value, "to_dict"):
|
220
|
+
result[attr] = value.to_dict()
|
221
|
+
elif isinstance(value, dict):
|
222
|
+
result[attr] = dict(map(
|
223
|
+
lambda item: (item[0], item[1].to_dict())
|
224
|
+
if hasattr(item[1], "to_dict") else item,
|
225
|
+
value.items()
|
226
|
+
))
|
227
|
+
else:
|
228
|
+
if attr in self.sensitive_list:
|
229
|
+
result[attr] = "****"
|
230
|
+
else:
|
231
|
+
result[attr] = value
|
232
|
+
|
233
|
+
return result
|
234
|
+
|
235
|
+
def to_str(self):
|
236
|
+
"""Returns the string representation of the model"""
|
237
|
+
import simplejson as json
|
238
|
+
if six.PY2:
|
239
|
+
import sys
|
240
|
+
reload(sys)
|
241
|
+
sys.setdefaultencoding("utf-8")
|
242
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
243
|
+
|
244
|
+
def __repr__(self):
|
245
|
+
"""For `print`"""
|
246
|
+
return self.to_str()
|
247
|
+
|
248
|
+
def __eq__(self, other):
|
249
|
+
"""Returns true if both objects are equal"""
|
250
|
+
if not isinstance(other, ListInstanceErrorLogsRequest):
|
251
|
+
return False
|
252
|
+
|
253
|
+
return self.__dict__ == other.__dict__
|
254
|
+
|
255
|
+
def __ne__(self, other):
|
256
|
+
"""Returns true if both objects are not equal"""
|
257
|
+
return not self == other
|
@@ -0,0 +1,145 @@
|
|
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 ListInstanceErrorLogsResponse(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
|
+
'total': 'int',
|
22
|
+
'log_files': 'list[InstanceLogFile]'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'total': 'total',
|
27
|
+
'log_files': 'log_files'
|
28
|
+
}
|
29
|
+
|
30
|
+
def __init__(self, total=None, log_files=None):
|
31
|
+
"""ListInstanceErrorLogsResponse
|
32
|
+
|
33
|
+
The model defined in huaweicloud sdk
|
34
|
+
|
35
|
+
:param total: 总条数
|
36
|
+
:type total: int
|
37
|
+
:param log_files: 日志文件列表
|
38
|
+
:type log_files: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.InstanceLogFile`]
|
39
|
+
"""
|
40
|
+
|
41
|
+
super(ListInstanceErrorLogsResponse, self).__init__()
|
42
|
+
|
43
|
+
self._total = None
|
44
|
+
self._log_files = None
|
45
|
+
self.discriminator = None
|
46
|
+
|
47
|
+
if total is not None:
|
48
|
+
self.total = total
|
49
|
+
if log_files is not None:
|
50
|
+
self.log_files = log_files
|
51
|
+
|
52
|
+
@property
|
53
|
+
def total(self):
|
54
|
+
"""Gets the total of this ListInstanceErrorLogsResponse.
|
55
|
+
|
56
|
+
总条数
|
57
|
+
|
58
|
+
:return: The total of this ListInstanceErrorLogsResponse.
|
59
|
+
:rtype: int
|
60
|
+
"""
|
61
|
+
return self._total
|
62
|
+
|
63
|
+
@total.setter
|
64
|
+
def total(self, total):
|
65
|
+
"""Sets the total of this ListInstanceErrorLogsResponse.
|
66
|
+
|
67
|
+
总条数
|
68
|
+
|
69
|
+
:param total: The total of this ListInstanceErrorLogsResponse.
|
70
|
+
:type total: int
|
71
|
+
"""
|
72
|
+
self._total = total
|
73
|
+
|
74
|
+
@property
|
75
|
+
def log_files(self):
|
76
|
+
"""Gets the log_files of this ListInstanceErrorLogsResponse.
|
77
|
+
|
78
|
+
日志文件列表
|
79
|
+
|
80
|
+
:return: The log_files of this ListInstanceErrorLogsResponse.
|
81
|
+
:rtype: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.InstanceLogFile`]
|
82
|
+
"""
|
83
|
+
return self._log_files
|
84
|
+
|
85
|
+
@log_files.setter
|
86
|
+
def log_files(self, log_files):
|
87
|
+
"""Sets the log_files of this ListInstanceErrorLogsResponse.
|
88
|
+
|
89
|
+
日志文件列表
|
90
|
+
|
91
|
+
:param log_files: The log_files of this ListInstanceErrorLogsResponse.
|
92
|
+
:type log_files: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.InstanceLogFile`]
|
93
|
+
"""
|
94
|
+
self._log_files = log_files
|
95
|
+
|
96
|
+
def to_dict(self):
|
97
|
+
"""Returns the model properties as a dict"""
|
98
|
+
result = {}
|
99
|
+
|
100
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
101
|
+
value = getattr(self, attr)
|
102
|
+
if isinstance(value, list):
|
103
|
+
result[attr] = list(map(
|
104
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
105
|
+
value
|
106
|
+
))
|
107
|
+
elif hasattr(value, "to_dict"):
|
108
|
+
result[attr] = value.to_dict()
|
109
|
+
elif isinstance(value, dict):
|
110
|
+
result[attr] = dict(map(
|
111
|
+
lambda item: (item[0], item[1].to_dict())
|
112
|
+
if hasattr(item[1], "to_dict") else item,
|
113
|
+
value.items()
|
114
|
+
))
|
115
|
+
else:
|
116
|
+
if attr in self.sensitive_list:
|
117
|
+
result[attr] = "****"
|
118
|
+
else:
|
119
|
+
result[attr] = value
|
120
|
+
|
121
|
+
return result
|
122
|
+
|
123
|
+
def to_str(self):
|
124
|
+
"""Returns the string representation of the model"""
|
125
|
+
import simplejson as json
|
126
|
+
if six.PY2:
|
127
|
+
import sys
|
128
|
+
reload(sys)
|
129
|
+
sys.setdefaultencoding("utf-8")
|
130
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
131
|
+
|
132
|
+
def __repr__(self):
|
133
|
+
"""For `print`"""
|
134
|
+
return self.to_str()
|
135
|
+
|
136
|
+
def __eq__(self, other):
|
137
|
+
"""Returns true if both objects are equal"""
|
138
|
+
if not isinstance(other, ListInstanceErrorLogsResponse):
|
139
|
+
return False
|
140
|
+
|
141
|
+
return self.__dict__ == other.__dict__
|
142
|
+
|
143
|
+
def __ne__(self, other):
|
144
|
+
"""Returns true if both objects are not equal"""
|
145
|
+
return not self == other
|