huaweicloudsdkgaussdbforopengauss 3.1.160__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/__init__.py +0 -0
- huaweicloudsdkgaussdbforopengauss/v3/__init__.py +487 -0
- huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_async_client.py +10197 -0
- huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_client.py +10194 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/__init__.py +484 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/add_instance_tags_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/add_instance_tags_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/add_tags_request_body.py +110 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/allow_db_privileges_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/allow_db_privileges_response.py +85 -0
- 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/applied_histories_result.py +226 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/apply_configuration_request_body.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/attach_eip_request.py +196 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/attach_eip_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/available_flavor_info_result.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/backup_info.py +282 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/backup_policy.py +343 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/backup_policy_error_response.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/backup_policy_info.py +314 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/backups.py +372 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/backups_result.py +372 -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/bind_eip_request_body.py +170 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/binded_eip_result.py +366 -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/cancel_schedule_task_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/cancel_schedule_task_response.py +85 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/cn_info_before_reduce.py +231 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/components.py +260 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/configuration_parameter.py +254 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/configuration_result.py +339 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/configuration_summary.py +339 -0
- 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/construct_req.py +227 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/copy_configuration_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/copy_configuration_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_configuration_template_request.py +140 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_configuration_template_request_body.py +196 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_configuration_template_response.py +174 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_cross_cloud_construct_disaster_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_cross_cloud_construct_disaster_response.py +116 -0
- 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_database_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_database_response.py +85 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_database_schemas_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_database_schemas_response.py +85 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_db_instance_request.py +140 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_db_instance_response.py +170 -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_db_user_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_db_user_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_instance_request.py +140 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_instance_resp_item.py +514 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_instance_response.py +170 -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.py +140 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_manual_backup_request_body.py +171 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_manual_backup_response.py +141 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_restore_instance_request.py +140 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_restore_instance_response.py +141 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_schedule_task_request.py +140 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_schedule_task_request_body.py +226 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_schedule_task_response.py +116 -0
- 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 +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/datastore_option.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/datastore_result.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/datastores_result.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/db_user_pwd_request.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_backup_error_response.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_configuration_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_configuration_response.py +85 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_database_request.py +171 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_database_response.py +85 -0
- 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_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_instance_response.py +145 -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_job_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_job_response.py +85 -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 +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_manual_backup_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_schedule_task_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_schedule_task_response.py +85 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/disaster_failover_req_body.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/disaster_recover_start_simulation_request_body.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/disaster_recover_start_xlog_keep_request_body.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/disaster_recover_stop_simulation_request_body.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/disaster_recover_stop_xlog_keep_request_body.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/disaster_relations.py +513 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/download_backup_error_response.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/download_backup_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/download_backup_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/download_object.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/eps_quotas_option.py +230 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/error_response.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_data_cache_end_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_data_cache_end_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_data_cache_start_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_data_cache_start_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_end_simulation_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_end_simulation_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_recovery_failover_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_recovery_failover_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_restore_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_restore_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_start_simulation_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_start_simulation_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_switchover_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_switchover_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_release_disaster_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_release_disaster_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/feature_result.py +289 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/flavor.py +310 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/flavor_error_response.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/flavor_result.py +310 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_d_bfor_open_database_for_creation.py +259 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_d_bfor_open_gauss_create_schema_req.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_d_bfor_open_gauss_database_for_list_schema.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_d_bfor_open_gauss_database_schema_req.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_d_bfor_open_gauss_grant_request.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_d_bfor_open_gauss_list_database.py +289 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_d_bfor_open_gauss_role_attributes.py +199 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_d_bfor_open_gauss_user_for_creation.py +171 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_d_bfor_open_gauss_user_for_list.py +197 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_d_bfor_open_gauss_user_for_list_attribute.py +347 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_d_bfor_open_gauss_user_with_privilege.py +170 -0
- 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/get_restore_time_response_restore_time.py +142 -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_detail.py +260 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/instance_engine_detail.py +144 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/instance_info_result.py +173 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/instance_log_file.py +260 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/instance_task_detail.py +173 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/instances_list_result.py +144 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/instances_result.py +289 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/job_detail.py +306 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/job_instance_info.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/limit_task_rule_info_option.py +170 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_applicable_instances_request.py +201 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_applicable_instances_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_applied_histories_request.py +201 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_applied_histories_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_available_flavors_request.py +201 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_available_flavors_response.py +145 -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_request.py +318 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_backups_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_backups_result.py +372 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_binded_eips_request.py +201 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_binded_eips_response.py +145 -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_component_infos_request.py +259 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_component_infos_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_configurations_diff_request.py +140 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_configurations_diff_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_configurations_request.py +173 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_configurations_response.py +137 -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_database_schemas_request.py +229 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_database_schemas_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_databases_request.py +201 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_databases_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_datastore.py +258 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_datastores_details_request.py +115 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_datastores_details_response.py +112 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_datastores_request.py +115 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_datastores_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_db_backups_request.py +318 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_db_backups_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_db_flavors_request.py +260 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_db_flavors_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_db_users_request.py +201 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_db_users_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_diff_details_result.py +173 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_disaster_recovery_record_request.py +257 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_disaster_recovery_record_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_eps_quotas_request.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_eps_quotas_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_features_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_features_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_flavor_info.py +142 -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_flavors_request.py +260 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_flavors_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_gauss_db_datastores_request.py +115 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_gauss_db_datastores_response.py +112 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_ha.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_ha_result.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_history_operations_request.py +201 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_history_operations_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_history_operations_result.py +226 -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_engine_detail_request.py +173 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_engine_detail_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_instance_response.py +932 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_result.py +961 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_tags_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_tags_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_instances_details_request.py +405 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_instances_details_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_instances_request.py +405 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_instances_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_param_group_templates_request.py +173 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_param_group_templates_response.py +145 -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_predefined_tags_request.py +115 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_predefined_tags_response.py +112 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_project_tags_request.py +115 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_project_tags_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_quota_result.py +376 -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_recycle_instances_request.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_recycle_instances_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_restorable_instances_request.py +259 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_restorable_instances_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_restore_times_request.py +171 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_restore_times_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_schedule_task_request.py +318 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_schedule_task_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_storage_types_request.py +172 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_storage_types_response.py +116 -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_tasks_request.py +289 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_tasks_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_volume.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/modify_eps_quota_request.py +140 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/modify_eps_quota_request_body.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/modify_eps_quota_response.py +85 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/my_sql_compatibility_result.py +115 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/node_result.py +311 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/nodes.py +258 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_backup_strategy.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_backup_strategy_for_list_response.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_backup_strategy_for_response.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_charge_info.py +230 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_charge_info_list_response.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_charge_info_response.py +230 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_coordinators.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_datastore.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_datastore_option.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_datastore_response.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_datastore_result.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_enlarge_volume.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_error_response.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_expand_cluster.py +140 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_ha.py +199 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_ha_option.py +199 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_ha_response.py +170 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_ha_result.py +199 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_instance_action_request.py +165 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_instance_request.py +693 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_instance_request_body.py +722 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_instance_response.py +544 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_instance_result.py +544 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_modify_instance_configuration_request.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_resize_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_shard.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_upgrade_request.py +230 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_volume.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_volume_response.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_volume_result.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/opengauss_restore_instance_request.py +583 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/para_error_response.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/para_error_response_body.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/para_group_parameter_result.py +282 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/param_group_copy_request_body.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/param_group_diff_request_body.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/plugin_extensions.py +144 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/project_quotas_result.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/pwd_reset_request.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/record_info_response.py +405 -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 +566 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/recycle_instances_detail_result_v1.py +566 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/recycle_policy.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/recycle_policy_request_body.py +110 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/region_instance_info.py +231 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/release_disaster_req.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/reset_configuration_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/reset_configuration_response.py +112 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/reset_dr_config_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/reset_dr_config_request_body.py +115 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/reset_dr_config_response.py +85 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/reset_pwd_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/reset_pwd_response.py +85 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/resize_instance_flavor_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/resize_instance_flavor_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/resource_error_response.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/resource_result.py +170 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/restart_instance_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/restart_instance_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/restore_disaster_req.py +114 -0
- 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/restore_point.py +142 -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/run_instance_action_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/run_instance_action_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/schedule_task_detail.py +318 -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_backup_policy_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/set_backup_policy_request_body.py +110 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/set_backup_policy_response.py +85 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/set_db_user_pwd_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/set_db_user_pwd_response.py +85 -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/set_recycle_policy_request.py +111 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/set_recycle_policy_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/shards.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_backup_policy.py +372 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_backup_policy_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_backup_policy_response.py +112 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_balance_status_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_balance_status_response.py +116 -0
- 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_configuration_detail_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_configuration_detail_response.py +319 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_cross_cloud_disaster_instance_monitor_request.py +172 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_cross_cloud_disaster_instance_monitor_response.py +319 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_cross_cloud_disaster_relations_request.py +318 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_cross_cloud_disaster_relations_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_deployment_form_request.py +173 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_deployment_form_response.py +203 -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_configuration_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_configuration_response.py +232 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_disk_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_disk_response.py +145 -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_instance_param_group_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_param_group_response.py +232 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_snapshot_request.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_snapshot_response.py +348 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_job_detail_request.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_job_detail_response.py +112 -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_project_quotas_request.py +144 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_project_quotas_response.py +112 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_recycle_policy_request.py +115 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_recycle_policy_response.py +116 -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_ssl_cert_download_link_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_ssl_cert_download_link_response.py +116 -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_backup_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/stop_backup_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/storage.py +171 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/switch_configuration_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/switch_configuration_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/switch_shard_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/switch_shard_request_body.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/switch_shard_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/switchover_req.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/sync_limit_data_request.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/sync_limit_data_response.py +203 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/tag_result.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/tags_option.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/tags_result.py +144 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/task_detail_result.py +314 -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_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/update_instance_configuration_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/update_instance_name_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/update_instance_name_response.py +116 -0
- 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/update_name_request_body.py +114 -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/model/validate_para_group_name_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/validate_para_group_name_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/validate_weak_password_request.py +140 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/validate_weak_password_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/weak_password_request_body.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/region/__init__.py +0 -0
- huaweicloudsdkgaussdbforopengauss/v3/region/gaussdbforopengauss_region.py +97 -0
- huaweicloudsdkgaussdbforopengauss-3.1.160.dist-info/LICENSE +13 -0
- huaweicloudsdkgaussdbforopengauss-3.1.160.dist-info/METADATA +26 -0
- huaweicloudsdkgaussdbforopengauss-3.1.160.dist-info/RECORD +491 -0
- huaweicloudsdkgaussdbforopengauss-3.1.160.dist-info/WHEEL +5 -0
- huaweicloudsdkgaussdbforopengauss-3.1.160.dist-info/top_level.txt +1 -0
@@ -0,0 +1,961 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ListInstanceResult:
|
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
|
+
'id': 'str',
|
21
|
+
'name': 'str',
|
22
|
+
'status': 'str',
|
23
|
+
'private_ips': 'list[str]',
|
24
|
+
'public_ips': 'list[str]',
|
25
|
+
'port': 'int',
|
26
|
+
'type': 'str',
|
27
|
+
'ha': 'ListHaResult',
|
28
|
+
'replica_num': 'int',
|
29
|
+
'region': 'str',
|
30
|
+
'datastore': 'ListDatastore',
|
31
|
+
'created': 'str',
|
32
|
+
'updated': 'str',
|
33
|
+
'db_user_name': 'str',
|
34
|
+
'vpc_id': 'str',
|
35
|
+
'subnet_id': 'str',
|
36
|
+
'security_group_id': 'str',
|
37
|
+
'flavor_ref': 'str',
|
38
|
+
'flavor_info': 'ListFlavorInfo',
|
39
|
+
'volume': 'ListVolume',
|
40
|
+
'switch_strategy': 'str',
|
41
|
+
'backup_strategy': 'OpenGaussBackupStrategyForListResponse',
|
42
|
+
'maintenance_window': 'str',
|
43
|
+
'nodes': 'list[NodeResult]',
|
44
|
+
'enterprise_project_id': 'str',
|
45
|
+
'instance_mode': 'str',
|
46
|
+
'disk_encryption_id': 'str',
|
47
|
+
'charge_info': 'OpenGaussChargeInfoListResponse',
|
48
|
+
'time_zone': 'str',
|
49
|
+
'tags': 'list[TagResult]',
|
50
|
+
'disk_usage': 'str',
|
51
|
+
'backup_used_space': 'str'
|
52
|
+
}
|
53
|
+
|
54
|
+
attribute_map = {
|
55
|
+
'id': 'id',
|
56
|
+
'name': 'name',
|
57
|
+
'status': 'status',
|
58
|
+
'private_ips': 'private_ips',
|
59
|
+
'public_ips': 'public_ips',
|
60
|
+
'port': 'port',
|
61
|
+
'type': 'type',
|
62
|
+
'ha': 'ha',
|
63
|
+
'replica_num': 'replica_num',
|
64
|
+
'region': 'region',
|
65
|
+
'datastore': 'datastore',
|
66
|
+
'created': 'created',
|
67
|
+
'updated': 'updated',
|
68
|
+
'db_user_name': 'db_user_name',
|
69
|
+
'vpc_id': 'vpc_id',
|
70
|
+
'subnet_id': 'subnet_id',
|
71
|
+
'security_group_id': 'security_group_id',
|
72
|
+
'flavor_ref': 'flavor_ref',
|
73
|
+
'flavor_info': 'flavor_info',
|
74
|
+
'volume': 'volume',
|
75
|
+
'switch_strategy': 'switch_strategy',
|
76
|
+
'backup_strategy': 'backup_strategy',
|
77
|
+
'maintenance_window': 'maintenance_window',
|
78
|
+
'nodes': 'nodes',
|
79
|
+
'enterprise_project_id': 'enterprise_project_id',
|
80
|
+
'instance_mode': 'instance_mode',
|
81
|
+
'disk_encryption_id': 'disk_encryption_id',
|
82
|
+
'charge_info': 'charge_info',
|
83
|
+
'time_zone': 'time_zone',
|
84
|
+
'tags': 'tags',
|
85
|
+
'disk_usage': 'disk_usage',
|
86
|
+
'backup_used_space': 'backup_used_space'
|
87
|
+
}
|
88
|
+
|
89
|
+
def __init__(self, id=None, name=None, status=None, private_ips=None, public_ips=None, port=None, type=None, ha=None, replica_num=None, region=None, datastore=None, created=None, updated=None, db_user_name=None, vpc_id=None, subnet_id=None, security_group_id=None, flavor_ref=None, flavor_info=None, volume=None, switch_strategy=None, backup_strategy=None, maintenance_window=None, nodes=None, enterprise_project_id=None, instance_mode=None, disk_encryption_id=None, charge_info=None, time_zone=None, tags=None, disk_usage=None, backup_used_space=None):
|
90
|
+
r"""ListInstanceResult
|
91
|
+
|
92
|
+
The model defined in huaweicloud sdk
|
93
|
+
|
94
|
+
:param id: 实例ID。
|
95
|
+
:type id: str
|
96
|
+
:param name: 创建的实例名称。
|
97
|
+
:type name: str
|
98
|
+
:param status: 实例状态。 取值: 值为“BUILD”,表示实例正在创建。 值为“ACTIVE”,表示实例正常。 值为“FAILED”,表示实例异常。 值为“FROZEN”,表示实例冻结。 值为“EXPANDING”,表示实例正在扩容CN或DN。 值为“REBOOTING”,表示实例正在重启。 值为“UPGRADING”,表示实例正在升级。 值为“RESTORING”,表示实例正在恢复。 值为“BACKING UP”,表示实例正在进行备份。 值为“REDUCING REPLICATION”,表示实例正在降副本。 值为“STORAGE FULL”,表示实例磁盘空间满。
|
99
|
+
:type status: str
|
100
|
+
:param private_ips: 实例内网IP地址列表。分布式CN所在的弹性云服务器创建成功后该值存在,主备版DN所在的弹性云服务器创建成功后该值存在,其他情况下为空字符串。
|
101
|
+
:type private_ips: list[str]
|
102
|
+
:param public_ips: 实例外网IP地址列表。绑定弹性公网IP后,该值不为空。
|
103
|
+
:type public_ips: list[str]
|
104
|
+
:param port: 数据库端口号。GaussDB数据库端口设置范围为1024~39998(其中2378,2379,2380,4999,5000,5999,6000,6001,8097,8098,20049,20050,21731,21732被系统占用不可设置)。 当不传该参数时,默认端口如下:8000。
|
105
|
+
:type port: int
|
106
|
+
:param type: 实例类型,取值为 \"Enterprise\",对应于分布式实例(企业版)。取值为\"Ha\",对应于主备版实例。
|
107
|
+
:type type: str
|
108
|
+
:param ha:
|
109
|
+
:type ha: :class:`huaweicloudsdkgaussdbforopengauss.v3.ListHaResult`
|
110
|
+
:param replica_num: 实例副本数。
|
111
|
+
:type replica_num: int
|
112
|
+
:param region: 实例所在区域。
|
113
|
+
:type region: str
|
114
|
+
:param datastore:
|
115
|
+
:type datastore: :class:`huaweicloudsdkgaussdbforopengauss.v3.ListDatastore`
|
116
|
+
:param created: 创建时间,格式为“yyyy-mm-dd hh:mm:ss timezone”。 其中timezone是指时区。 说明:创建时该值为实例下发创建的时间,创建完成后,该值为创建完成时间。
|
117
|
+
:type created: str
|
118
|
+
:param updated: 更新时间,格式与“created”字段对应格式完全相同。 说明:创建时返回值为空,数据库实例创建成功后该值不为空。
|
119
|
+
:type updated: str
|
120
|
+
:param db_user_name: 默认用户名。
|
121
|
+
:type db_user_name: str
|
122
|
+
:param vpc_id: 虚拟私有云ID。
|
123
|
+
:type vpc_id: str
|
124
|
+
:param subnet_id: 子网的网络ID信息。
|
125
|
+
:type subnet_id: str
|
126
|
+
:param security_group_id: 安全组ID。
|
127
|
+
:type security_group_id: str
|
128
|
+
:param flavor_ref: 规格码。参考[表1](https://support.huaweicloud.com/api-opengauss/opengauss_api_0037.html#opengauss_api_0037__ted9b9d433c8a4c52884e199e17f94479)中GaussDB的“规格编码”列内容获取。
|
129
|
+
:type flavor_ref: str
|
130
|
+
:param flavor_info:
|
131
|
+
:type flavor_info: :class:`huaweicloudsdkgaussdbforopengauss.v3.ListFlavorInfo`
|
132
|
+
:param volume:
|
133
|
+
:type volume: :class:`huaweicloudsdkgaussdbforopengauss.v3.ListVolume`
|
134
|
+
:param switch_strategy: 数据库切换策略。取值为“reliability”或“availability”,分别对应于可靠性优先和可用性优先。 若创建时没有选择切换策略,则不予显示。
|
135
|
+
:type switch_strategy: str
|
136
|
+
:param backup_strategy:
|
137
|
+
:type backup_strategy: :class:`huaweicloudsdkgaussdbforopengauss.v3.OpenGaussBackupStrategyForListResponse`
|
138
|
+
:param maintenance_window: 可维护时间窗,为UTC时间。
|
139
|
+
:type maintenance_window: str
|
140
|
+
:param nodes: 实例节点信息列表。
|
141
|
+
:type nodes: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.NodeResult`]
|
142
|
+
:param enterprise_project_id: 企业项目标签ID。非企业项目账号的实例,企业项目默认0。
|
143
|
+
:type enterprise_project_id: str
|
144
|
+
:param instance_mode: basic为基础版 ,enterprise为企业版。
|
145
|
+
:type instance_mode: str
|
146
|
+
:param disk_encryption_id: 磁盘加密密钥ID。只有创建磁盘加密实例才会显示该参数。
|
147
|
+
:type disk_encryption_id: str
|
148
|
+
:param charge_info:
|
149
|
+
:type charge_info: :class:`huaweicloudsdkgaussdbforopengauss.v3.OpenGaussChargeInfoListResponse`
|
150
|
+
:param time_zone: 时区。
|
151
|
+
:type time_zone: str
|
152
|
+
:param tags: 标签列表,没有标签不返回该参数。
|
153
|
+
:type tags: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.TagResult`]
|
154
|
+
:param disk_usage: 实例磁盘的可使用率,值范围[0-1],值保留四位小数。
|
155
|
+
:type disk_usage: str
|
156
|
+
:param backup_used_space: 备份空间使用量,单位KB。
|
157
|
+
:type backup_used_space: str
|
158
|
+
"""
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
self._id = None
|
163
|
+
self._name = None
|
164
|
+
self._status = None
|
165
|
+
self._private_ips = None
|
166
|
+
self._public_ips = None
|
167
|
+
self._port = None
|
168
|
+
self._type = None
|
169
|
+
self._ha = None
|
170
|
+
self._replica_num = None
|
171
|
+
self._region = None
|
172
|
+
self._datastore = None
|
173
|
+
self._created = None
|
174
|
+
self._updated = None
|
175
|
+
self._db_user_name = None
|
176
|
+
self._vpc_id = None
|
177
|
+
self._subnet_id = None
|
178
|
+
self._security_group_id = None
|
179
|
+
self._flavor_ref = None
|
180
|
+
self._flavor_info = None
|
181
|
+
self._volume = None
|
182
|
+
self._switch_strategy = None
|
183
|
+
self._backup_strategy = None
|
184
|
+
self._maintenance_window = None
|
185
|
+
self._nodes = None
|
186
|
+
self._enterprise_project_id = None
|
187
|
+
self._instance_mode = None
|
188
|
+
self._disk_encryption_id = None
|
189
|
+
self._charge_info = None
|
190
|
+
self._time_zone = None
|
191
|
+
self._tags = None
|
192
|
+
self._disk_usage = None
|
193
|
+
self._backup_used_space = None
|
194
|
+
self.discriminator = None
|
195
|
+
|
196
|
+
self.id = id
|
197
|
+
self.name = name
|
198
|
+
self.status = status
|
199
|
+
self.private_ips = private_ips
|
200
|
+
self.public_ips = public_ips
|
201
|
+
self.port = port
|
202
|
+
self.type = type
|
203
|
+
self.ha = ha
|
204
|
+
if replica_num is not None:
|
205
|
+
self.replica_num = replica_num
|
206
|
+
self.region = region
|
207
|
+
self.datastore = datastore
|
208
|
+
self.created = created
|
209
|
+
self.updated = updated
|
210
|
+
self.db_user_name = db_user_name
|
211
|
+
self.vpc_id = vpc_id
|
212
|
+
self.subnet_id = subnet_id
|
213
|
+
self.security_group_id = security_group_id
|
214
|
+
self.flavor_ref = flavor_ref
|
215
|
+
self.flavor_info = flavor_info
|
216
|
+
self.volume = volume
|
217
|
+
self.switch_strategy = switch_strategy
|
218
|
+
self.backup_strategy = backup_strategy
|
219
|
+
self.maintenance_window = maintenance_window
|
220
|
+
self.nodes = nodes
|
221
|
+
self.enterprise_project_id = enterprise_project_id
|
222
|
+
self.instance_mode = instance_mode
|
223
|
+
self.disk_encryption_id = disk_encryption_id
|
224
|
+
self.charge_info = charge_info
|
225
|
+
self.time_zone = time_zone
|
226
|
+
self.tags = tags
|
227
|
+
if disk_usage is not None:
|
228
|
+
self.disk_usage = disk_usage
|
229
|
+
if backup_used_space is not None:
|
230
|
+
self.backup_used_space = backup_used_space
|
231
|
+
|
232
|
+
@property
|
233
|
+
def id(self):
|
234
|
+
r"""Gets the id of this ListInstanceResult.
|
235
|
+
|
236
|
+
实例ID。
|
237
|
+
|
238
|
+
:return: The id of this ListInstanceResult.
|
239
|
+
:rtype: str
|
240
|
+
"""
|
241
|
+
return self._id
|
242
|
+
|
243
|
+
@id.setter
|
244
|
+
def id(self, id):
|
245
|
+
r"""Sets the id of this ListInstanceResult.
|
246
|
+
|
247
|
+
实例ID。
|
248
|
+
|
249
|
+
:param id: The id of this ListInstanceResult.
|
250
|
+
:type id: str
|
251
|
+
"""
|
252
|
+
self._id = id
|
253
|
+
|
254
|
+
@property
|
255
|
+
def name(self):
|
256
|
+
r"""Gets the name of this ListInstanceResult.
|
257
|
+
|
258
|
+
创建的实例名称。
|
259
|
+
|
260
|
+
:return: The name of this ListInstanceResult.
|
261
|
+
:rtype: str
|
262
|
+
"""
|
263
|
+
return self._name
|
264
|
+
|
265
|
+
@name.setter
|
266
|
+
def name(self, name):
|
267
|
+
r"""Sets the name of this ListInstanceResult.
|
268
|
+
|
269
|
+
创建的实例名称。
|
270
|
+
|
271
|
+
:param name: The name of this ListInstanceResult.
|
272
|
+
:type name: str
|
273
|
+
"""
|
274
|
+
self._name = name
|
275
|
+
|
276
|
+
@property
|
277
|
+
def status(self):
|
278
|
+
r"""Gets the status of this ListInstanceResult.
|
279
|
+
|
280
|
+
实例状态。 取值: 值为“BUILD”,表示实例正在创建。 值为“ACTIVE”,表示实例正常。 值为“FAILED”,表示实例异常。 值为“FROZEN”,表示实例冻结。 值为“EXPANDING”,表示实例正在扩容CN或DN。 值为“REBOOTING”,表示实例正在重启。 值为“UPGRADING”,表示实例正在升级。 值为“RESTORING”,表示实例正在恢复。 值为“BACKING UP”,表示实例正在进行备份。 值为“REDUCING REPLICATION”,表示实例正在降副本。 值为“STORAGE FULL”,表示实例磁盘空间满。
|
281
|
+
|
282
|
+
:return: The status of this ListInstanceResult.
|
283
|
+
:rtype: str
|
284
|
+
"""
|
285
|
+
return self._status
|
286
|
+
|
287
|
+
@status.setter
|
288
|
+
def status(self, status):
|
289
|
+
r"""Sets the status of this ListInstanceResult.
|
290
|
+
|
291
|
+
实例状态。 取值: 值为“BUILD”,表示实例正在创建。 值为“ACTIVE”,表示实例正常。 值为“FAILED”,表示实例异常。 值为“FROZEN”,表示实例冻结。 值为“EXPANDING”,表示实例正在扩容CN或DN。 值为“REBOOTING”,表示实例正在重启。 值为“UPGRADING”,表示实例正在升级。 值为“RESTORING”,表示实例正在恢复。 值为“BACKING UP”,表示实例正在进行备份。 值为“REDUCING REPLICATION”,表示实例正在降副本。 值为“STORAGE FULL”,表示实例磁盘空间满。
|
292
|
+
|
293
|
+
:param status: The status of this ListInstanceResult.
|
294
|
+
:type status: str
|
295
|
+
"""
|
296
|
+
self._status = status
|
297
|
+
|
298
|
+
@property
|
299
|
+
def private_ips(self):
|
300
|
+
r"""Gets the private_ips of this ListInstanceResult.
|
301
|
+
|
302
|
+
实例内网IP地址列表。分布式CN所在的弹性云服务器创建成功后该值存在,主备版DN所在的弹性云服务器创建成功后该值存在,其他情况下为空字符串。
|
303
|
+
|
304
|
+
:return: The private_ips of this ListInstanceResult.
|
305
|
+
:rtype: list[str]
|
306
|
+
"""
|
307
|
+
return self._private_ips
|
308
|
+
|
309
|
+
@private_ips.setter
|
310
|
+
def private_ips(self, private_ips):
|
311
|
+
r"""Sets the private_ips of this ListInstanceResult.
|
312
|
+
|
313
|
+
实例内网IP地址列表。分布式CN所在的弹性云服务器创建成功后该值存在,主备版DN所在的弹性云服务器创建成功后该值存在,其他情况下为空字符串。
|
314
|
+
|
315
|
+
:param private_ips: The private_ips of this ListInstanceResult.
|
316
|
+
:type private_ips: list[str]
|
317
|
+
"""
|
318
|
+
self._private_ips = private_ips
|
319
|
+
|
320
|
+
@property
|
321
|
+
def public_ips(self):
|
322
|
+
r"""Gets the public_ips of this ListInstanceResult.
|
323
|
+
|
324
|
+
实例外网IP地址列表。绑定弹性公网IP后,该值不为空。
|
325
|
+
|
326
|
+
:return: The public_ips of this ListInstanceResult.
|
327
|
+
:rtype: list[str]
|
328
|
+
"""
|
329
|
+
return self._public_ips
|
330
|
+
|
331
|
+
@public_ips.setter
|
332
|
+
def public_ips(self, public_ips):
|
333
|
+
r"""Sets the public_ips of this ListInstanceResult.
|
334
|
+
|
335
|
+
实例外网IP地址列表。绑定弹性公网IP后,该值不为空。
|
336
|
+
|
337
|
+
:param public_ips: The public_ips of this ListInstanceResult.
|
338
|
+
:type public_ips: list[str]
|
339
|
+
"""
|
340
|
+
self._public_ips = public_ips
|
341
|
+
|
342
|
+
@property
|
343
|
+
def port(self):
|
344
|
+
r"""Gets the port of this ListInstanceResult.
|
345
|
+
|
346
|
+
数据库端口号。GaussDB数据库端口设置范围为1024~39998(其中2378,2379,2380,4999,5000,5999,6000,6001,8097,8098,20049,20050,21731,21732被系统占用不可设置)。 当不传该参数时,默认端口如下:8000。
|
347
|
+
|
348
|
+
:return: The port of this ListInstanceResult.
|
349
|
+
:rtype: int
|
350
|
+
"""
|
351
|
+
return self._port
|
352
|
+
|
353
|
+
@port.setter
|
354
|
+
def port(self, port):
|
355
|
+
r"""Sets the port of this ListInstanceResult.
|
356
|
+
|
357
|
+
数据库端口号。GaussDB数据库端口设置范围为1024~39998(其中2378,2379,2380,4999,5000,5999,6000,6001,8097,8098,20049,20050,21731,21732被系统占用不可设置)。 当不传该参数时,默认端口如下:8000。
|
358
|
+
|
359
|
+
:param port: The port of this ListInstanceResult.
|
360
|
+
:type port: int
|
361
|
+
"""
|
362
|
+
self._port = port
|
363
|
+
|
364
|
+
@property
|
365
|
+
def type(self):
|
366
|
+
r"""Gets the type of this ListInstanceResult.
|
367
|
+
|
368
|
+
实例类型,取值为 \"Enterprise\",对应于分布式实例(企业版)。取值为\"Ha\",对应于主备版实例。
|
369
|
+
|
370
|
+
:return: The type of this ListInstanceResult.
|
371
|
+
:rtype: str
|
372
|
+
"""
|
373
|
+
return self._type
|
374
|
+
|
375
|
+
@type.setter
|
376
|
+
def type(self, type):
|
377
|
+
r"""Sets the type of this ListInstanceResult.
|
378
|
+
|
379
|
+
实例类型,取值为 \"Enterprise\",对应于分布式实例(企业版)。取值为\"Ha\",对应于主备版实例。
|
380
|
+
|
381
|
+
:param type: The type of this ListInstanceResult.
|
382
|
+
:type type: str
|
383
|
+
"""
|
384
|
+
self._type = type
|
385
|
+
|
386
|
+
@property
|
387
|
+
def ha(self):
|
388
|
+
r"""Gets the ha of this ListInstanceResult.
|
389
|
+
|
390
|
+
:return: The ha of this ListInstanceResult.
|
391
|
+
:rtype: :class:`huaweicloudsdkgaussdbforopengauss.v3.ListHaResult`
|
392
|
+
"""
|
393
|
+
return self._ha
|
394
|
+
|
395
|
+
@ha.setter
|
396
|
+
def ha(self, ha):
|
397
|
+
r"""Sets the ha of this ListInstanceResult.
|
398
|
+
|
399
|
+
:param ha: The ha of this ListInstanceResult.
|
400
|
+
:type ha: :class:`huaweicloudsdkgaussdbforopengauss.v3.ListHaResult`
|
401
|
+
"""
|
402
|
+
self._ha = ha
|
403
|
+
|
404
|
+
@property
|
405
|
+
def replica_num(self):
|
406
|
+
r"""Gets the replica_num of this ListInstanceResult.
|
407
|
+
|
408
|
+
实例副本数。
|
409
|
+
|
410
|
+
:return: The replica_num of this ListInstanceResult.
|
411
|
+
:rtype: int
|
412
|
+
"""
|
413
|
+
return self._replica_num
|
414
|
+
|
415
|
+
@replica_num.setter
|
416
|
+
def replica_num(self, replica_num):
|
417
|
+
r"""Sets the replica_num of this ListInstanceResult.
|
418
|
+
|
419
|
+
实例副本数。
|
420
|
+
|
421
|
+
:param replica_num: The replica_num of this ListInstanceResult.
|
422
|
+
:type replica_num: int
|
423
|
+
"""
|
424
|
+
self._replica_num = replica_num
|
425
|
+
|
426
|
+
@property
|
427
|
+
def region(self):
|
428
|
+
r"""Gets the region of this ListInstanceResult.
|
429
|
+
|
430
|
+
实例所在区域。
|
431
|
+
|
432
|
+
:return: The region of this ListInstanceResult.
|
433
|
+
:rtype: str
|
434
|
+
"""
|
435
|
+
return self._region
|
436
|
+
|
437
|
+
@region.setter
|
438
|
+
def region(self, region):
|
439
|
+
r"""Sets the region of this ListInstanceResult.
|
440
|
+
|
441
|
+
实例所在区域。
|
442
|
+
|
443
|
+
:param region: The region of this ListInstanceResult.
|
444
|
+
:type region: str
|
445
|
+
"""
|
446
|
+
self._region = region
|
447
|
+
|
448
|
+
@property
|
449
|
+
def datastore(self):
|
450
|
+
r"""Gets the datastore of this ListInstanceResult.
|
451
|
+
|
452
|
+
:return: The datastore of this ListInstanceResult.
|
453
|
+
:rtype: :class:`huaweicloudsdkgaussdbforopengauss.v3.ListDatastore`
|
454
|
+
"""
|
455
|
+
return self._datastore
|
456
|
+
|
457
|
+
@datastore.setter
|
458
|
+
def datastore(self, datastore):
|
459
|
+
r"""Sets the datastore of this ListInstanceResult.
|
460
|
+
|
461
|
+
:param datastore: The datastore of this ListInstanceResult.
|
462
|
+
:type datastore: :class:`huaweicloudsdkgaussdbforopengauss.v3.ListDatastore`
|
463
|
+
"""
|
464
|
+
self._datastore = datastore
|
465
|
+
|
466
|
+
@property
|
467
|
+
def created(self):
|
468
|
+
r"""Gets the created of this ListInstanceResult.
|
469
|
+
|
470
|
+
创建时间,格式为“yyyy-mm-dd hh:mm:ss timezone”。 其中timezone是指时区。 说明:创建时该值为实例下发创建的时间,创建完成后,该值为创建完成时间。
|
471
|
+
|
472
|
+
:return: The created of this ListInstanceResult.
|
473
|
+
:rtype: str
|
474
|
+
"""
|
475
|
+
return self._created
|
476
|
+
|
477
|
+
@created.setter
|
478
|
+
def created(self, created):
|
479
|
+
r"""Sets the created of this ListInstanceResult.
|
480
|
+
|
481
|
+
创建时间,格式为“yyyy-mm-dd hh:mm:ss timezone”。 其中timezone是指时区。 说明:创建时该值为实例下发创建的时间,创建完成后,该值为创建完成时间。
|
482
|
+
|
483
|
+
:param created: The created of this ListInstanceResult.
|
484
|
+
:type created: str
|
485
|
+
"""
|
486
|
+
self._created = created
|
487
|
+
|
488
|
+
@property
|
489
|
+
def updated(self):
|
490
|
+
r"""Gets the updated of this ListInstanceResult.
|
491
|
+
|
492
|
+
更新时间,格式与“created”字段对应格式完全相同。 说明:创建时返回值为空,数据库实例创建成功后该值不为空。
|
493
|
+
|
494
|
+
:return: The updated of this ListInstanceResult.
|
495
|
+
:rtype: str
|
496
|
+
"""
|
497
|
+
return self._updated
|
498
|
+
|
499
|
+
@updated.setter
|
500
|
+
def updated(self, updated):
|
501
|
+
r"""Sets the updated of this ListInstanceResult.
|
502
|
+
|
503
|
+
更新时间,格式与“created”字段对应格式完全相同。 说明:创建时返回值为空,数据库实例创建成功后该值不为空。
|
504
|
+
|
505
|
+
:param updated: The updated of this ListInstanceResult.
|
506
|
+
:type updated: str
|
507
|
+
"""
|
508
|
+
self._updated = updated
|
509
|
+
|
510
|
+
@property
|
511
|
+
def db_user_name(self):
|
512
|
+
r"""Gets the db_user_name of this ListInstanceResult.
|
513
|
+
|
514
|
+
默认用户名。
|
515
|
+
|
516
|
+
:return: The db_user_name of this ListInstanceResult.
|
517
|
+
:rtype: str
|
518
|
+
"""
|
519
|
+
return self._db_user_name
|
520
|
+
|
521
|
+
@db_user_name.setter
|
522
|
+
def db_user_name(self, db_user_name):
|
523
|
+
r"""Sets the db_user_name of this ListInstanceResult.
|
524
|
+
|
525
|
+
默认用户名。
|
526
|
+
|
527
|
+
:param db_user_name: The db_user_name of this ListInstanceResult.
|
528
|
+
:type db_user_name: str
|
529
|
+
"""
|
530
|
+
self._db_user_name = db_user_name
|
531
|
+
|
532
|
+
@property
|
533
|
+
def vpc_id(self):
|
534
|
+
r"""Gets the vpc_id of this ListInstanceResult.
|
535
|
+
|
536
|
+
虚拟私有云ID。
|
537
|
+
|
538
|
+
:return: The vpc_id of this ListInstanceResult.
|
539
|
+
:rtype: str
|
540
|
+
"""
|
541
|
+
return self._vpc_id
|
542
|
+
|
543
|
+
@vpc_id.setter
|
544
|
+
def vpc_id(self, vpc_id):
|
545
|
+
r"""Sets the vpc_id of this ListInstanceResult.
|
546
|
+
|
547
|
+
虚拟私有云ID。
|
548
|
+
|
549
|
+
:param vpc_id: The vpc_id of this ListInstanceResult.
|
550
|
+
:type vpc_id: str
|
551
|
+
"""
|
552
|
+
self._vpc_id = vpc_id
|
553
|
+
|
554
|
+
@property
|
555
|
+
def subnet_id(self):
|
556
|
+
r"""Gets the subnet_id of this ListInstanceResult.
|
557
|
+
|
558
|
+
子网的网络ID信息。
|
559
|
+
|
560
|
+
:return: The subnet_id of this ListInstanceResult.
|
561
|
+
:rtype: str
|
562
|
+
"""
|
563
|
+
return self._subnet_id
|
564
|
+
|
565
|
+
@subnet_id.setter
|
566
|
+
def subnet_id(self, subnet_id):
|
567
|
+
r"""Sets the subnet_id of this ListInstanceResult.
|
568
|
+
|
569
|
+
子网的网络ID信息。
|
570
|
+
|
571
|
+
:param subnet_id: The subnet_id of this ListInstanceResult.
|
572
|
+
:type subnet_id: str
|
573
|
+
"""
|
574
|
+
self._subnet_id = subnet_id
|
575
|
+
|
576
|
+
@property
|
577
|
+
def security_group_id(self):
|
578
|
+
r"""Gets the security_group_id of this ListInstanceResult.
|
579
|
+
|
580
|
+
安全组ID。
|
581
|
+
|
582
|
+
:return: The security_group_id of this ListInstanceResult.
|
583
|
+
:rtype: str
|
584
|
+
"""
|
585
|
+
return self._security_group_id
|
586
|
+
|
587
|
+
@security_group_id.setter
|
588
|
+
def security_group_id(self, security_group_id):
|
589
|
+
r"""Sets the security_group_id of this ListInstanceResult.
|
590
|
+
|
591
|
+
安全组ID。
|
592
|
+
|
593
|
+
:param security_group_id: The security_group_id of this ListInstanceResult.
|
594
|
+
:type security_group_id: str
|
595
|
+
"""
|
596
|
+
self._security_group_id = security_group_id
|
597
|
+
|
598
|
+
@property
|
599
|
+
def flavor_ref(self):
|
600
|
+
r"""Gets the flavor_ref of this ListInstanceResult.
|
601
|
+
|
602
|
+
规格码。参考[表1](https://support.huaweicloud.com/api-opengauss/opengauss_api_0037.html#opengauss_api_0037__ted9b9d433c8a4c52884e199e17f94479)中GaussDB的“规格编码”列内容获取。
|
603
|
+
|
604
|
+
:return: The flavor_ref of this ListInstanceResult.
|
605
|
+
:rtype: str
|
606
|
+
"""
|
607
|
+
return self._flavor_ref
|
608
|
+
|
609
|
+
@flavor_ref.setter
|
610
|
+
def flavor_ref(self, flavor_ref):
|
611
|
+
r"""Sets the flavor_ref of this ListInstanceResult.
|
612
|
+
|
613
|
+
规格码。参考[表1](https://support.huaweicloud.com/api-opengauss/opengauss_api_0037.html#opengauss_api_0037__ted9b9d433c8a4c52884e199e17f94479)中GaussDB的“规格编码”列内容获取。
|
614
|
+
|
615
|
+
:param flavor_ref: The flavor_ref of this ListInstanceResult.
|
616
|
+
:type flavor_ref: str
|
617
|
+
"""
|
618
|
+
self._flavor_ref = flavor_ref
|
619
|
+
|
620
|
+
@property
|
621
|
+
def flavor_info(self):
|
622
|
+
r"""Gets the flavor_info of this ListInstanceResult.
|
623
|
+
|
624
|
+
:return: The flavor_info of this ListInstanceResult.
|
625
|
+
:rtype: :class:`huaweicloudsdkgaussdbforopengauss.v3.ListFlavorInfo`
|
626
|
+
"""
|
627
|
+
return self._flavor_info
|
628
|
+
|
629
|
+
@flavor_info.setter
|
630
|
+
def flavor_info(self, flavor_info):
|
631
|
+
r"""Sets the flavor_info of this ListInstanceResult.
|
632
|
+
|
633
|
+
:param flavor_info: The flavor_info of this ListInstanceResult.
|
634
|
+
:type flavor_info: :class:`huaweicloudsdkgaussdbforopengauss.v3.ListFlavorInfo`
|
635
|
+
"""
|
636
|
+
self._flavor_info = flavor_info
|
637
|
+
|
638
|
+
@property
|
639
|
+
def volume(self):
|
640
|
+
r"""Gets the volume of this ListInstanceResult.
|
641
|
+
|
642
|
+
:return: The volume of this ListInstanceResult.
|
643
|
+
:rtype: :class:`huaweicloudsdkgaussdbforopengauss.v3.ListVolume`
|
644
|
+
"""
|
645
|
+
return self._volume
|
646
|
+
|
647
|
+
@volume.setter
|
648
|
+
def volume(self, volume):
|
649
|
+
r"""Sets the volume of this ListInstanceResult.
|
650
|
+
|
651
|
+
:param volume: The volume of this ListInstanceResult.
|
652
|
+
:type volume: :class:`huaweicloudsdkgaussdbforopengauss.v3.ListVolume`
|
653
|
+
"""
|
654
|
+
self._volume = volume
|
655
|
+
|
656
|
+
@property
|
657
|
+
def switch_strategy(self):
|
658
|
+
r"""Gets the switch_strategy of this ListInstanceResult.
|
659
|
+
|
660
|
+
数据库切换策略。取值为“reliability”或“availability”,分别对应于可靠性优先和可用性优先。 若创建时没有选择切换策略,则不予显示。
|
661
|
+
|
662
|
+
:return: The switch_strategy of this ListInstanceResult.
|
663
|
+
:rtype: str
|
664
|
+
"""
|
665
|
+
return self._switch_strategy
|
666
|
+
|
667
|
+
@switch_strategy.setter
|
668
|
+
def switch_strategy(self, switch_strategy):
|
669
|
+
r"""Sets the switch_strategy of this ListInstanceResult.
|
670
|
+
|
671
|
+
数据库切换策略。取值为“reliability”或“availability”,分别对应于可靠性优先和可用性优先。 若创建时没有选择切换策略,则不予显示。
|
672
|
+
|
673
|
+
:param switch_strategy: The switch_strategy of this ListInstanceResult.
|
674
|
+
:type switch_strategy: str
|
675
|
+
"""
|
676
|
+
self._switch_strategy = switch_strategy
|
677
|
+
|
678
|
+
@property
|
679
|
+
def backup_strategy(self):
|
680
|
+
r"""Gets the backup_strategy of this ListInstanceResult.
|
681
|
+
|
682
|
+
:return: The backup_strategy of this ListInstanceResult.
|
683
|
+
:rtype: :class:`huaweicloudsdkgaussdbforopengauss.v3.OpenGaussBackupStrategyForListResponse`
|
684
|
+
"""
|
685
|
+
return self._backup_strategy
|
686
|
+
|
687
|
+
@backup_strategy.setter
|
688
|
+
def backup_strategy(self, backup_strategy):
|
689
|
+
r"""Sets the backup_strategy of this ListInstanceResult.
|
690
|
+
|
691
|
+
:param backup_strategy: The backup_strategy of this ListInstanceResult.
|
692
|
+
:type backup_strategy: :class:`huaweicloudsdkgaussdbforopengauss.v3.OpenGaussBackupStrategyForListResponse`
|
693
|
+
"""
|
694
|
+
self._backup_strategy = backup_strategy
|
695
|
+
|
696
|
+
@property
|
697
|
+
def maintenance_window(self):
|
698
|
+
r"""Gets the maintenance_window of this ListInstanceResult.
|
699
|
+
|
700
|
+
可维护时间窗,为UTC时间。
|
701
|
+
|
702
|
+
:return: The maintenance_window of this ListInstanceResult.
|
703
|
+
:rtype: str
|
704
|
+
"""
|
705
|
+
return self._maintenance_window
|
706
|
+
|
707
|
+
@maintenance_window.setter
|
708
|
+
def maintenance_window(self, maintenance_window):
|
709
|
+
r"""Sets the maintenance_window of this ListInstanceResult.
|
710
|
+
|
711
|
+
可维护时间窗,为UTC时间。
|
712
|
+
|
713
|
+
:param maintenance_window: The maintenance_window of this ListInstanceResult.
|
714
|
+
:type maintenance_window: str
|
715
|
+
"""
|
716
|
+
self._maintenance_window = maintenance_window
|
717
|
+
|
718
|
+
@property
|
719
|
+
def nodes(self):
|
720
|
+
r"""Gets the nodes of this ListInstanceResult.
|
721
|
+
|
722
|
+
实例节点信息列表。
|
723
|
+
|
724
|
+
:return: The nodes of this ListInstanceResult.
|
725
|
+
:rtype: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.NodeResult`]
|
726
|
+
"""
|
727
|
+
return self._nodes
|
728
|
+
|
729
|
+
@nodes.setter
|
730
|
+
def nodes(self, nodes):
|
731
|
+
r"""Sets the nodes of this ListInstanceResult.
|
732
|
+
|
733
|
+
实例节点信息列表。
|
734
|
+
|
735
|
+
:param nodes: The nodes of this ListInstanceResult.
|
736
|
+
:type nodes: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.NodeResult`]
|
737
|
+
"""
|
738
|
+
self._nodes = nodes
|
739
|
+
|
740
|
+
@property
|
741
|
+
def enterprise_project_id(self):
|
742
|
+
r"""Gets the enterprise_project_id of this ListInstanceResult.
|
743
|
+
|
744
|
+
企业项目标签ID。非企业项目账号的实例,企业项目默认0。
|
745
|
+
|
746
|
+
:return: The enterprise_project_id of this ListInstanceResult.
|
747
|
+
:rtype: str
|
748
|
+
"""
|
749
|
+
return self._enterprise_project_id
|
750
|
+
|
751
|
+
@enterprise_project_id.setter
|
752
|
+
def enterprise_project_id(self, enterprise_project_id):
|
753
|
+
r"""Sets the enterprise_project_id of this ListInstanceResult.
|
754
|
+
|
755
|
+
企业项目标签ID。非企业项目账号的实例,企业项目默认0。
|
756
|
+
|
757
|
+
:param enterprise_project_id: The enterprise_project_id of this ListInstanceResult.
|
758
|
+
:type enterprise_project_id: str
|
759
|
+
"""
|
760
|
+
self._enterprise_project_id = enterprise_project_id
|
761
|
+
|
762
|
+
@property
|
763
|
+
def instance_mode(self):
|
764
|
+
r"""Gets the instance_mode of this ListInstanceResult.
|
765
|
+
|
766
|
+
basic为基础版 ,enterprise为企业版。
|
767
|
+
|
768
|
+
:return: The instance_mode of this ListInstanceResult.
|
769
|
+
:rtype: str
|
770
|
+
"""
|
771
|
+
return self._instance_mode
|
772
|
+
|
773
|
+
@instance_mode.setter
|
774
|
+
def instance_mode(self, instance_mode):
|
775
|
+
r"""Sets the instance_mode of this ListInstanceResult.
|
776
|
+
|
777
|
+
basic为基础版 ,enterprise为企业版。
|
778
|
+
|
779
|
+
:param instance_mode: The instance_mode of this ListInstanceResult.
|
780
|
+
:type instance_mode: str
|
781
|
+
"""
|
782
|
+
self._instance_mode = instance_mode
|
783
|
+
|
784
|
+
@property
|
785
|
+
def disk_encryption_id(self):
|
786
|
+
r"""Gets the disk_encryption_id of this ListInstanceResult.
|
787
|
+
|
788
|
+
磁盘加密密钥ID。只有创建磁盘加密实例才会显示该参数。
|
789
|
+
|
790
|
+
:return: The disk_encryption_id of this ListInstanceResult.
|
791
|
+
:rtype: str
|
792
|
+
"""
|
793
|
+
return self._disk_encryption_id
|
794
|
+
|
795
|
+
@disk_encryption_id.setter
|
796
|
+
def disk_encryption_id(self, disk_encryption_id):
|
797
|
+
r"""Sets the disk_encryption_id of this ListInstanceResult.
|
798
|
+
|
799
|
+
磁盘加密密钥ID。只有创建磁盘加密实例才会显示该参数。
|
800
|
+
|
801
|
+
:param disk_encryption_id: The disk_encryption_id of this ListInstanceResult.
|
802
|
+
:type disk_encryption_id: str
|
803
|
+
"""
|
804
|
+
self._disk_encryption_id = disk_encryption_id
|
805
|
+
|
806
|
+
@property
|
807
|
+
def charge_info(self):
|
808
|
+
r"""Gets the charge_info of this ListInstanceResult.
|
809
|
+
|
810
|
+
:return: The charge_info of this ListInstanceResult.
|
811
|
+
:rtype: :class:`huaweicloudsdkgaussdbforopengauss.v3.OpenGaussChargeInfoListResponse`
|
812
|
+
"""
|
813
|
+
return self._charge_info
|
814
|
+
|
815
|
+
@charge_info.setter
|
816
|
+
def charge_info(self, charge_info):
|
817
|
+
r"""Sets the charge_info of this ListInstanceResult.
|
818
|
+
|
819
|
+
:param charge_info: The charge_info of this ListInstanceResult.
|
820
|
+
:type charge_info: :class:`huaweicloudsdkgaussdbforopengauss.v3.OpenGaussChargeInfoListResponse`
|
821
|
+
"""
|
822
|
+
self._charge_info = charge_info
|
823
|
+
|
824
|
+
@property
|
825
|
+
def time_zone(self):
|
826
|
+
r"""Gets the time_zone of this ListInstanceResult.
|
827
|
+
|
828
|
+
时区。
|
829
|
+
|
830
|
+
:return: The time_zone of this ListInstanceResult.
|
831
|
+
:rtype: str
|
832
|
+
"""
|
833
|
+
return self._time_zone
|
834
|
+
|
835
|
+
@time_zone.setter
|
836
|
+
def time_zone(self, time_zone):
|
837
|
+
r"""Sets the time_zone of this ListInstanceResult.
|
838
|
+
|
839
|
+
时区。
|
840
|
+
|
841
|
+
:param time_zone: The time_zone of this ListInstanceResult.
|
842
|
+
:type time_zone: str
|
843
|
+
"""
|
844
|
+
self._time_zone = time_zone
|
845
|
+
|
846
|
+
@property
|
847
|
+
def tags(self):
|
848
|
+
r"""Gets the tags of this ListInstanceResult.
|
849
|
+
|
850
|
+
标签列表,没有标签不返回该参数。
|
851
|
+
|
852
|
+
:return: The tags of this ListInstanceResult.
|
853
|
+
:rtype: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.TagResult`]
|
854
|
+
"""
|
855
|
+
return self._tags
|
856
|
+
|
857
|
+
@tags.setter
|
858
|
+
def tags(self, tags):
|
859
|
+
r"""Sets the tags of this ListInstanceResult.
|
860
|
+
|
861
|
+
标签列表,没有标签不返回该参数。
|
862
|
+
|
863
|
+
:param tags: The tags of this ListInstanceResult.
|
864
|
+
:type tags: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.TagResult`]
|
865
|
+
"""
|
866
|
+
self._tags = tags
|
867
|
+
|
868
|
+
@property
|
869
|
+
def disk_usage(self):
|
870
|
+
r"""Gets the disk_usage of this ListInstanceResult.
|
871
|
+
|
872
|
+
实例磁盘的可使用率,值范围[0-1],值保留四位小数。
|
873
|
+
|
874
|
+
:return: The disk_usage of this ListInstanceResult.
|
875
|
+
:rtype: str
|
876
|
+
"""
|
877
|
+
return self._disk_usage
|
878
|
+
|
879
|
+
@disk_usage.setter
|
880
|
+
def disk_usage(self, disk_usage):
|
881
|
+
r"""Sets the disk_usage of this ListInstanceResult.
|
882
|
+
|
883
|
+
实例磁盘的可使用率,值范围[0-1],值保留四位小数。
|
884
|
+
|
885
|
+
:param disk_usage: The disk_usage of this ListInstanceResult.
|
886
|
+
:type disk_usage: str
|
887
|
+
"""
|
888
|
+
self._disk_usage = disk_usage
|
889
|
+
|
890
|
+
@property
|
891
|
+
def backup_used_space(self):
|
892
|
+
r"""Gets the backup_used_space of this ListInstanceResult.
|
893
|
+
|
894
|
+
备份空间使用量,单位KB。
|
895
|
+
|
896
|
+
:return: The backup_used_space of this ListInstanceResult.
|
897
|
+
:rtype: str
|
898
|
+
"""
|
899
|
+
return self._backup_used_space
|
900
|
+
|
901
|
+
@backup_used_space.setter
|
902
|
+
def backup_used_space(self, backup_used_space):
|
903
|
+
r"""Sets the backup_used_space of this ListInstanceResult.
|
904
|
+
|
905
|
+
备份空间使用量,单位KB。
|
906
|
+
|
907
|
+
:param backup_used_space: The backup_used_space of this ListInstanceResult.
|
908
|
+
:type backup_used_space: str
|
909
|
+
"""
|
910
|
+
self._backup_used_space = backup_used_space
|
911
|
+
|
912
|
+
def to_dict(self):
|
913
|
+
"""Returns the model properties as a dict"""
|
914
|
+
result = {}
|
915
|
+
|
916
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
917
|
+
value = getattr(self, attr)
|
918
|
+
if isinstance(value, list):
|
919
|
+
result[attr] = list(map(
|
920
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
921
|
+
value
|
922
|
+
))
|
923
|
+
elif hasattr(value, "to_dict"):
|
924
|
+
result[attr] = value.to_dict()
|
925
|
+
elif isinstance(value, dict):
|
926
|
+
result[attr] = dict(map(
|
927
|
+
lambda item: (item[0], item[1].to_dict())
|
928
|
+
if hasattr(item[1], "to_dict") else item,
|
929
|
+
value.items()
|
930
|
+
))
|
931
|
+
else:
|
932
|
+
if attr in self.sensitive_list:
|
933
|
+
result[attr] = "****"
|
934
|
+
else:
|
935
|
+
result[attr] = value
|
936
|
+
|
937
|
+
return result
|
938
|
+
|
939
|
+
def to_str(self):
|
940
|
+
"""Returns the string representation of the model"""
|
941
|
+
import simplejson as json
|
942
|
+
if six.PY2:
|
943
|
+
import sys
|
944
|
+
reload(sys)
|
945
|
+
sys.setdefaultencoding("utf-8")
|
946
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
947
|
+
|
948
|
+
def __repr__(self):
|
949
|
+
"""For `print`"""
|
950
|
+
return self.to_str()
|
951
|
+
|
952
|
+
def __eq__(self, other):
|
953
|
+
"""Returns true if both objects are equal"""
|
954
|
+
if not isinstance(other, ListInstanceResult):
|
955
|
+
return False
|
956
|
+
|
957
|
+
return self.__dict__ == other.__dict__
|
958
|
+
|
959
|
+
def __ne__(self, other):
|
960
|
+
"""Returns true if both objects are not equal"""
|
961
|
+
return not self == other
|