huaweicloudsdkdcs 3.0.43rc0__py3-none-any.whl → 3.1.161__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.
Potentially problematic release.
This version of huaweicloudsdkdcs might be problematic. Click here for more details.
- huaweicloudsdkdcs/v2/__init__.py +253 -2
- huaweicloudsdkdcs/v2/dcs_async_client.py +7637 -1938
- huaweicloudsdkdcs/v2/dcs_client.py +7646 -1948
- huaweicloudsdkdcs/v2/model/__init__.py +252 -0
- huaweicloudsdkdcs/v2/model/acl_account_modify_password_body.py +144 -0
- huaweicloudsdkdcs/v2/model/acl_account_reset_password_body.py +144 -0
- huaweicloudsdkdcs/v2/model/acl_account_resp.py +318 -0
- huaweicloudsdkdcs/v2/model/acl_account_role_modify_body.py +115 -0
- huaweicloudsdkdcs/v2/model/attrs_object.py +30 -21
- huaweicloudsdkdcs/v2/model/autoscan_config_request.py +25 -20
- huaweicloudsdkdcs/v2/model/available_zones.py +38 -25
- huaweicloudsdkdcs/v2/model/backup_files_body.py +63 -24
- huaweicloudsdkdcs/v2/model/backup_instance_body.py +50 -16
- huaweicloudsdkdcs/v2/model/backup_plan.py +33 -22
- huaweicloudsdkdcs/v2/model/backup_policy.py +29 -22
- huaweicloudsdkdcs/v2/model/backup_record_response.py +139 -52
- huaweicloudsdkdcs/v2/model/band_width.py +144 -0
- huaweicloudsdkdcs/v2/model/bandwidth_auto_scaling_policy.py +257 -0
- huaweicloudsdkdcs/v2/model/bandwidth_info.py +434 -0
- huaweicloudsdkdcs/v2/model/batch_create_or_delete_tags_request.py +26 -19
- huaweicloudsdkdcs/v2/model/batch_create_or_delete_tags_response.py +14 -10
- huaweicloudsdkdcs/v2/model/batch_delete_body.py +18 -13
- huaweicloudsdkdcs/v2/model/batch_delete_instances_request.py +26 -19
- huaweicloudsdkdcs/v2/model/batch_delete_instances_response.py +20 -14
- huaweicloudsdkdcs/v2/model/batch_ops_result.py +23 -16
- huaweicloudsdkdcs/v2/model/batch_restart_migration_task_result.py +202 -0
- huaweicloudsdkdcs/v2/model/batch_restart_online_migration_tasks_body.py +114 -0
- huaweicloudsdkdcs/v2/model/batch_restart_online_migration_tasks_request.py +111 -0
- huaweicloudsdkdcs/v2/model/batch_restart_online_migration_tasks_response.py +116 -0
- huaweicloudsdkdcs/v2/model/batch_show_nodes_information_request.py +144 -0
- huaweicloudsdkdcs/v2/model/batch_show_nodes_information_response.py +145 -0
- huaweicloudsdkdcs/v2/model/batch_stop_migration_tasks_body.py +114 -0
- huaweicloudsdkdcs/v2/model/batch_stop_migration_tasks_request.py +111 -0
- huaweicloudsdkdcs/v2/model/batch_stop_migration_tasks_response.py +116 -0
- huaweicloudsdkdcs/v2/model/bigkeys_body.py +43 -28
- huaweicloudsdkdcs/v2/model/bss_param.py +38 -25
- huaweicloudsdkdcs/v2/model/bss_param_entity.py +115 -0
- huaweicloudsdkdcs/v2/model/change_instance_status_body.py +23 -16
- huaweicloudsdkdcs/v2/model/change_master_standby_async_request.py +114 -0
- huaweicloudsdkdcs/v2/model/change_master_standby_async_response.py +116 -0
- huaweicloudsdkdcs/v2/model/change_master_standby_request.py +20 -13
- huaweicloudsdkdcs/v2/model/change_master_standby_response.py +14 -10
- huaweicloudsdkdcs/v2/model/change_nodes_start_stop_status_body.py +144 -0
- huaweicloudsdkdcs/v2/model/change_nodes_start_stop_status_request.py +139 -0
- huaweicloudsdkdcs/v2/model/change_nodes_start_stop_status_resp.py +84 -0
- huaweicloudsdkdcs/v2/model/change_nodes_start_stop_status_response.py +112 -0
- huaweicloudsdkdcs/v2/model/client_info.py +695 -0
- huaweicloudsdkdcs/v2/model/cluster_redis_node_monitored_object.py +33 -22
- huaweicloudsdkdcs/v2/model/command_time_taken.py +226 -0
- huaweicloudsdkdcs/v2/model/command_time_taken_list.py +198 -0
- huaweicloudsdkdcs/v2/model/conclusion_item.py +143 -0
- huaweicloudsdkdcs/v2/model/config_migration_instance_body.py +173 -0
- huaweicloudsdkdcs/v2/model/config_templates_list_info.py +376 -0
- huaweicloudsdkdcs/v2/model/copy_instance_request.py +26 -19
- huaweicloudsdkdcs/v2/model/copy_instance_response.py +19 -13
- huaweicloudsdkdcs/v2/model/create_acl_account_request.py +139 -0
- huaweicloudsdkdcs/v2/model/create_acl_account_request_body.py +199 -0
- huaweicloudsdkdcs/v2/model/create_acl_account_response.py +85 -0
- huaweicloudsdkdcs/v2/model/create_auto_expire_scan_task_request.py +114 -0
- huaweicloudsdkdcs/v2/model/create_auto_expire_scan_task_response.py +290 -0
- huaweicloudsdkdcs/v2/model/create_bigkey_scan_task_request.py +20 -13
- huaweicloudsdkdcs/v2/model/create_bigkey_scan_task_response.py +60 -38
- huaweicloudsdkdcs/v2/model/create_custom_template_body.py +314 -0
- huaweicloudsdkdcs/v2/model/create_custom_template_request.py +111 -0
- huaweicloudsdkdcs/v2/model/create_custom_template_response.py +116 -0
- huaweicloudsdkdcs/v2/model/create_diagnosis_task_body.py +171 -0
- huaweicloudsdkdcs/v2/model/create_diagnosis_task_request.py +139 -0
- huaweicloudsdkdcs/v2/model/create_diagnosis_task_response.py +116 -0
- huaweicloudsdkdcs/v2/model/create_hotkey_scan_task_request.py +20 -13
- huaweicloudsdkdcs/v2/model/create_hotkey_scan_task_response.py +60 -38
- huaweicloudsdkdcs/v2/model/create_instance_body.py +214 -107
- huaweicloudsdkdcs/v2/model/create_instance_request.py +19 -16
- huaweicloudsdkdcs/v2/model/create_instance_response.py +25 -17
- huaweicloudsdkdcs/v2/model/create_migration_task_body.py +56 -43
- huaweicloudsdkdcs/v2/model/create_migration_task_request.py +19 -16
- huaweicloudsdkdcs/v2/model/create_migration_task_response.py +29 -19
- huaweicloudsdkdcs/v2/model/create_offline_key_analysis_request.py +139 -0
- huaweicloudsdkdcs/v2/model/create_offline_key_analysis_request_body.py +143 -0
- huaweicloudsdkdcs/v2/model/create_offline_key_analysis_response.py +116 -0
- huaweicloudsdkdcs/v2/model/create_online_migration_task_body.py +227 -0
- huaweicloudsdkdcs/v2/model/create_online_migration_task_request.py +111 -0
- huaweicloudsdkdcs/v2/model/create_online_migration_task_response.py +116 -0
- huaweicloudsdkdcs/v2/model/create_or_delete_instance_tags.py +25 -19
- huaweicloudsdkdcs/v2/model/create_redislog_download_link_request.py +142 -0
- huaweicloudsdkdcs/v2/model/create_redislog_download_link_response.py +174 -0
- huaweicloudsdkdcs/v2/model/create_redislog_request.py +200 -0
- huaweicloudsdkdcs/v2/model/create_redislog_response.py +85 -0
- huaweicloudsdkdcs/v2/model/create_resize_order_request.py +139 -0
- huaweicloudsdkdcs/v2/model/create_resize_order_request_body.py +231 -0
- huaweicloudsdkdcs/v2/model/create_resize_order_response.py +116 -0
- huaweicloudsdkdcs/v2/model/delete_acl_account_request.py +142 -0
- huaweicloudsdkdcs/v2/model/delete_acl_account_response.py +85 -0
- huaweicloudsdkdcs/v2/model/delete_background_task_request.py +27 -16
- huaweicloudsdkdcs/v2/model/delete_background_task_response.py +46 -11
- huaweicloudsdkdcs/v2/model/delete_backup_file_request.py +27 -16
- huaweicloudsdkdcs/v2/model/delete_backup_file_response.py +14 -10
- huaweicloudsdkdcs/v2/model/delete_bigkey_scan_task_request.py +27 -16
- huaweicloudsdkdcs/v2/model/delete_bigkey_scan_task_response.py +278 -11
- huaweicloudsdkdcs/v2/model/delete_center_task_request.py +139 -0
- huaweicloudsdkdcs/v2/model/delete_center_task_request_body.py +115 -0
- huaweicloudsdkdcs/v2/model/delete_center_task_response.py +85 -0
- huaweicloudsdkdcs/v2/model/delete_config_template_request.py +114 -0
- huaweicloudsdkdcs/v2/model/delete_config_template_response.py +116 -0
- huaweicloudsdkdcs/v2/model/delete_diagnosis_report_request.py +115 -0
- huaweicloudsdkdcs/v2/model/delete_diagnosis_task_request.py +139 -0
- huaweicloudsdkdcs/v2/model/delete_diagnosis_task_response.py +116 -0
- huaweicloudsdkdcs/v2/model/delete_hotkey_scan_task_request.py +27 -16
- huaweicloudsdkdcs/v2/model/delete_hotkey_scan_task_response.py +278 -11
- huaweicloudsdkdcs/v2/model/delete_instance_bandwidth_auto_scaling_policy_request.py +114 -0
- huaweicloudsdkdcs/v2/model/delete_instance_bandwidth_auto_scaling_policy_resp.py +84 -0
- huaweicloudsdkdcs/v2/model/delete_instance_bandwidth_auto_scaling_policy_response.py +112 -0
- huaweicloudsdkdcs/v2/model/delete_ip_from_domain_name_request.py +34 -19
- huaweicloudsdkdcs/v2/model/delete_ip_from_domain_name_response.py +19 -13
- huaweicloudsdkdcs/v2/model/delete_migrate_task_request.py +18 -13
- huaweicloudsdkdcs/v2/model/delete_migration_task_request.py +19 -16
- huaweicloudsdkdcs/v2/model/delete_migration_task_response.py +19 -13
- huaweicloudsdkdcs/v2/model/delete_offline_key_analysis_task_request.py +142 -0
- huaweicloudsdkdcs/v2/model/delete_offline_key_analysis_task_response.py +116 -0
- huaweicloudsdkdcs/v2/model/delete_public_ip_request.py +114 -0
- huaweicloudsdkdcs/v2/model/delete_public_ip_response.py +116 -0
- huaweicloudsdkdcs/v2/model/delete_single_instance_request.py +20 -13
- huaweicloudsdkdcs/v2/model/delete_single_instance_response.py +14 -10
- huaweicloudsdkdcs/v2/model/details_body.py +594 -53
- huaweicloudsdkdcs/v2/model/diagnosis_dimension.py +198 -0
- huaweicloudsdkdcs/v2/model/diagnosis_item.py +229 -0
- huaweicloudsdkdcs/v2/model/diagnosis_node_report.py +306 -0
- huaweicloudsdkdcs/v2/model/diagnosis_report_info.py +310 -0
- huaweicloudsdkdcs/v2/model/dim_child.py +23 -16
- huaweicloudsdkdcs/v2/model/dims_info.py +144 -0
- huaweicloudsdkdcs/v2/model/domain_name_entity.py +144 -0
- huaweicloudsdkdcs/v2/model/domain_name_info.py +202 -0
- huaweicloudsdkdcs/v2/model/download_backup_files_req.py +18 -13
- huaweicloudsdkdcs/v2/model/download_hot_key_request.py +142 -0
- huaweicloudsdkdcs/v2/model/download_hot_key_response.py +85 -0
- huaweicloudsdkdcs/v2/model/download_ssl_cert_request.py +114 -0
- huaweicloudsdkdcs/v2/model/download_ssl_cert_response.py +174 -0
- huaweicloudsdkdcs/v2/model/exchange_instance_ip_request.py +139 -0
- huaweicloudsdkdcs/v2/model/exchange_instance_ip_response.py +85 -0
- huaweicloudsdkdcs/v2/model/execute_cluster_switchover_request.py +170 -0
- huaweicloudsdkdcs/v2/model/execute_cluster_switchover_response.py +116 -0
- huaweicloudsdkdcs/v2/model/execute_command_mobilization_request.py +139 -0
- huaweicloudsdkdcs/v2/model/execute_command_mobilization_response.py +116 -0
- huaweicloudsdkdcs/v2/model/execute_command_request_body.py +173 -0
- huaweicloudsdkdcs/v2/model/export_excel_job_request.py +114 -0
- huaweicloudsdkdcs/v2/model/export_excel_job_response.py +232 -0
- huaweicloudsdkdcs/v2/model/export_instances_task_body.py +549 -0
- huaweicloudsdkdcs/v2/model/export_instances_task_request.py +111 -0
- huaweicloudsdkdcs/v2/model/export_instances_task_response.py +116 -0
- huaweicloudsdkdcs/v2/model/features.py +202 -0
- huaweicloudsdkdcs/v2/model/files.py +28 -19
- huaweicloudsdkdcs/v2/model/flavor_az_object.py +84 -19
- huaweicloudsdkdcs/v2/model/flavors_items.py +129 -65
- huaweicloudsdkdcs/v2/model/group_bandwidth_info.py +231 -0
- huaweicloudsdkdcs/v2/model/hang_up_clients_request.py +139 -0
- huaweicloudsdkdcs/v2/model/hang_up_clients_request_body.py +142 -0
- huaweicloudsdkdcs/v2/model/hang_up_clients_response.py +85 -0
- huaweicloudsdkdcs/v2/model/hang_up_kill_all_clients_request.py +139 -0
- huaweicloudsdkdcs/v2/model/hang_up_kill_all_clients_request_body.py +144 -0
- huaweicloudsdkdcs/v2/model/hang_up_kill_all_clients_response.py +112 -0
- huaweicloudsdkdcs/v2/model/history_info.py +202 -0
- huaweicloudsdkdcs/v2/model/hotkeys_body.py +48 -31
- huaweicloudsdkdcs/v2/model/instance_backup_policy.py +227 -0
- huaweicloudsdkdcs/v2/model/instance_group_list_info.py +29 -20
- huaweicloudsdkdcs/v2/model/instance_list_info.py +410 -113
- huaweicloudsdkdcs/v2/model/instance_nodes_info_resp.py +173 -0
- huaweicloudsdkdcs/v2/model/instance_replication_dimensions_info.py +23 -16
- huaweicloudsdkdcs/v2/model/instance_replication_list_info.py +54 -35
- huaweicloudsdkdcs/v2/model/instance_restore_info.py +68 -43
- huaweicloudsdkdcs/v2/model/instance_statistic.py +58 -37
- huaweicloudsdkdcs/v2/model/instances.py +23 -16
- huaweicloudsdkdcs/v2/model/instances_monitored_object.py +28 -19
- huaweicloudsdkdcs/v2/model/ip_exchange_request.py +142 -0
- huaweicloudsdkdcs/v2/model/item.py +144 -0
- huaweicloudsdkdcs/v2/model/key_space.py +202 -0
- huaweicloudsdkdcs/v2/model/key_type_byte.py +144 -0
- huaweicloudsdkdcs/v2/model/key_type_num.py +144 -0
- huaweicloudsdkdcs/v2/model/largest_key.py +202 -0
- huaweicloudsdkdcs/v2/model/largest_key_prefix.py +202 -0
- huaweicloudsdkdcs/v2/model/links_item.py +23 -16
- huaweicloudsdkdcs/v2/model/list_acl_accounts_request.py +114 -0
- huaweicloudsdkdcs/v2/model/list_acl_accounts_response.py +116 -0
- huaweicloudsdkdcs/v2/model/list_available_zones_request.py +13 -10
- huaweicloudsdkdcs/v2/model/list_available_zones_response.py +25 -17
- huaweicloudsdkdcs/v2/model/list_background_task_request.py +48 -25
- huaweicloudsdkdcs/v2/model/list_background_task_response.py +25 -17
- huaweicloudsdkdcs/v2/model/list_backup_file_links_request.py +33 -22
- huaweicloudsdkdcs/v2/model/list_backup_file_links_response.py +30 -20
- huaweicloudsdkdcs/v2/model/list_backup_records_request.py +48 -25
- huaweicloudsdkdcs/v2/model/list_backup_records_response.py +25 -17
- huaweicloudsdkdcs/v2/model/list_bigkey_scan_tasks_request.py +41 -22
- huaweicloudsdkdcs/v2/model/list_bigkey_scan_tasks_response.py +30 -20
- huaweicloudsdkdcs/v2/model/list_center_task_request.py +202 -0
- huaweicloudsdkdcs/v2/model/list_center_task_response.py +145 -0
- huaweicloudsdkdcs/v2/model/list_center_tasks_resp.py +430 -0
- huaweicloudsdkdcs/v2/model/list_clients_request.py +287 -0
- huaweicloudsdkdcs/v2/model/list_clients_response.py +174 -0
- huaweicloudsdkdcs/v2/model/list_config_histories_request.py +172 -0
- huaweicloudsdkdcs/v2/model/list_config_histories_response.py +145 -0
- huaweicloudsdkdcs/v2/model/list_config_templates_request.py +346 -0
- huaweicloudsdkdcs/v2/model/list_config_templates_response.py +145 -0
- huaweicloudsdkdcs/v2/model/list_configurations_request.py +20 -13
- huaweicloudsdkdcs/v2/model/list_configurations_response.py +40 -26
- huaweicloudsdkdcs/v2/model/list_diagnosis_tasks_request.py +172 -0
- huaweicloudsdkdcs/v2/model/list_diagnosis_tasks_response.py +145 -0
- huaweicloudsdkdcs/v2/model/list_flavors_request.py +85 -29
- huaweicloudsdkdcs/v2/model/list_flavors_response.py +20 -14
- huaweicloudsdkdcs/v2/model/list_group_replication_info_request.py +20 -13
- huaweicloudsdkdcs/v2/model/list_group_replication_info_response.py +25 -17
- huaweicloudsdkdcs/v2/model/list_hot_key_scan_tasks_request.py +41 -22
- huaweicloudsdkdcs/v2/model/list_hot_key_scan_tasks_response.py +30 -20
- huaweicloudsdkdcs/v2/model/list_instance_operations_request.py +142 -0
- huaweicloudsdkdcs/v2/model/list_instance_operations_response.py +145 -0
- huaweicloudsdkdcs/v2/model/list_instances_request.py +106 -38
- huaweicloudsdkdcs/v2/model/list_instances_response.py +25 -17
- huaweicloudsdkdcs/v2/model/list_maintenance_windows_request.py +13 -10
- huaweicloudsdkdcs/v2/model/list_maintenance_windows_response.py +20 -14
- huaweicloudsdkdcs/v2/model/list_migration_task_logs_request.py +201 -0
- huaweicloudsdkdcs/v2/model/list_migration_task_logs_response.py +145 -0
- huaweicloudsdkdcs/v2/model/list_migration_task_request.py +34 -19
- huaweicloudsdkdcs/v2/model/list_migration_task_response.py +25 -17
- huaweicloudsdkdcs/v2/model/list_monitored_objects_of_instance_request.py +27 -16
- huaweicloudsdkdcs/v2/model/list_monitored_objects_of_instance_response.py +78 -33
- huaweicloudsdkdcs/v2/model/list_monitored_objects_request.py +34 -19
- huaweicloudsdkdcs/v2/model/list_monitored_objects_response.py +36 -24
- huaweicloudsdkdcs/v2/model/list_number_of_instances_in_different_status_request.py +20 -13
- huaweicloudsdkdcs/v2/model/list_number_of_instances_in_different_status_response.py +91 -61
- huaweicloudsdkdcs/v2/model/list_offline_key_analysis_task_request.py +201 -0
- huaweicloudsdkdcs/v2/model/list_offline_key_analysis_task_response.py +174 -0
- huaweicloudsdkdcs/v2/model/list_redislog_request.py +200 -0
- huaweicloudsdkdcs/v2/model/list_redislog_response.py +145 -0
- huaweicloudsdkdcs/v2/model/list_restore_records_request.py +48 -25
- huaweicloudsdkdcs/v2/model/list_restore_records_response.py +25 -17
- huaweicloudsdkdcs/v2/model/list_slowlog_request.py +94 -34
- huaweicloudsdkdcs/v2/model/list_slowlog_response.py +55 -18
- huaweicloudsdkdcs/v2/model/list_statistics_of_running_instances_request.py +13 -10
- huaweicloudsdkdcs/v2/model/list_statistics_of_running_instances_response.py +20 -14
- huaweicloudsdkdcs/v2/model/list_tags_of_tenant_request.py +13 -10
- huaweicloudsdkdcs/v2/model/list_tags_of_tenant_response.py +20 -14
- huaweicloudsdkdcs/v2/model/login_web_cli_body.py +115 -0
- huaweicloudsdkdcs/v2/model/login_web_cli_request.py +139 -0
- huaweicloudsdkdcs/v2/model/login_web_cli_response.py +145 -0
- huaweicloudsdkdcs/v2/model/logoff_web_cli_request.py +139 -0
- huaweicloudsdkdcs/v2/model/logoff_web_cli_response.py +85 -0
- huaweicloudsdkdcs/v2/model/logout_web_cli_body.py +115 -0
- huaweicloudsdkdcs/v2/model/maintain_windows_entity.py +33 -22
- huaweicloudsdkdcs/v2/model/migrate_az_request.py +139 -0
- huaweicloudsdkdcs/v2/model/migrate_az_request_body.py +144 -0
- huaweicloudsdkdcs/v2/model/migrate_az_response.py +85 -0
- huaweicloudsdkdcs/v2/model/migration_log.py +231 -0
- huaweicloudsdkdcs/v2/model/migration_task_list.py +569 -57
- huaweicloudsdkdcs/v2/model/migration_update_request_entity.py +115 -0
- huaweicloudsdkdcs/v2/model/modify_instance_body.py +99 -32
- huaweicloudsdkdcs/v2/model/modify_instance_password_body.py +25 -20
- huaweicloudsdkdcs/v2/model/modify_ip_whitelist_body.py +54 -18
- huaweicloudsdkdcs/v2/model/modify_redis_config_body.py +19 -14
- huaweicloudsdkdcs/v2/model/nodes_info_resp.py +550 -0
- huaweicloudsdkdcs/v2/model/offline_key_analysis_record.py +231 -0
- huaweicloudsdkdcs/v2/model/operations.py +173 -0
- huaweicloudsdkdcs/v2/model/priority_body.py +18 -13
- huaweicloudsdkdcs/v2/model/proxy2_node_monitored_object.py +202 -0
- huaweicloudsdkdcs/v2/model/proxy_node_monitored_object.py +33 -22
- huaweicloudsdkdcs/v2/model/query_redis_config.py +48 -31
- huaweicloudsdkdcs/v2/model/query_tenant_quota_resp_quotas.py +19 -14
- huaweicloudsdkdcs/v2/model/records_response.py +43 -28
- huaweicloudsdkdcs/v2/model/redis_config.py +28 -19
- huaweicloudsdkdcs/v2/model/rename_command_resp.py +347 -0
- huaweicloudsdkdcs/v2/model/replication_info.py +260 -0
- huaweicloudsdkdcs/v2/model/reset_acl_account_pass_word_request.py +167 -0
- huaweicloudsdkdcs/v2/model/reset_acl_account_pass_word_response.py +232 -0
- huaweicloudsdkdcs/v2/model/reset_instance_password_body.py +144 -0
- huaweicloudsdkdcs/v2/model/reset_password_request.py +139 -0
- huaweicloudsdkdcs/v2/model/reset_password_response.py +261 -0
- huaweicloudsdkdcs/v2/model/resize_instance_body.py +312 -0
- huaweicloudsdkdcs/v2/model/resize_instance_request.py +139 -0
- huaweicloudsdkdcs/v2/model/resize_instance_response.py +85 -0
- huaweicloudsdkdcs/v2/model/resource_tag.py +23 -16
- huaweicloudsdkdcs/v2/model/resources.py +43 -28
- huaweicloudsdkdcs/v2/model/restart_or_flush_instances_request.py +19 -16
- huaweicloudsdkdcs/v2/model/restart_or_flush_instances_response.py +20 -14
- huaweicloudsdkdcs/v2/model/restore_instance_body.py +23 -16
- huaweicloudsdkdcs/v2/model/restore_instance_request.py +26 -19
- huaweicloudsdkdcs/v2/model/restore_instance_response.py +19 -13
- huaweicloudsdkdcs/v2/model/rollback_exchange_instance_ip_request.py +114 -0
- huaweicloudsdkdcs/v2/model/rollback_exchange_instance_ip_response.py +85 -0
- huaweicloudsdkdcs/v2/model/runlog_item.py +289 -0
- huaweicloudsdkdcs/v2/model/scan_clients_request.py +139 -0
- huaweicloudsdkdcs/v2/model/scan_clients_request_body.py +143 -0
- huaweicloudsdkdcs/v2/model/scan_clients_response.py +112 -0
- huaweicloudsdkdcs/v2/model/scan_expire_key_request.py +114 -0
- huaweicloudsdkdcs/v2/model/scan_expire_key_response.py +290 -0
- huaweicloudsdkdcs/v2/model/set_online_migration_task_body.py +219 -0
- huaweicloudsdkdcs/v2/model/set_online_migration_task_request.py +139 -0
- huaweicloudsdkdcs/v2/model/set_online_migration_task_response.py +174 -0
- huaweicloudsdkdcs/v2/model/show_background_task_progress_request.py +142 -0
- huaweicloudsdkdcs/v2/model/show_background_task_progress_response.py +174 -0
- huaweicloudsdkdcs/v2/model/show_bandwidths_request.py +114 -0
- huaweicloudsdkdcs/v2/model/show_bandwidths_response.py +203 -0
- huaweicloudsdkdcs/v2/model/show_bigkey_autoscan_config_request.py +20 -13
- huaweicloudsdkdcs/v2/model/show_bigkey_autoscan_config_response.py +34 -22
- huaweicloudsdkdcs/v2/model/show_bigkey_scan_task_details_request.py +27 -16
- huaweicloudsdkdcs/v2/model/show_bigkey_scan_task_details_response.py +60 -38
- huaweicloudsdkdcs/v2/model/show_config_history_detail_request.py +142 -0
- huaweicloudsdkdcs/v2/model/show_config_history_detail_response.py +112 -0
- huaweicloudsdkdcs/v2/model/show_config_template_request.py +142 -0
- huaweicloudsdkdcs/v2/model/show_config_template_response.py +377 -0
- huaweicloudsdkdcs/v2/model/show_diagnosis_task_details_request.py +114 -0
- huaweicloudsdkdcs/v2/model/show_diagnosis_task_details_response.py +174 -0
- huaweicloudsdkdcs/v2/model/show_expire_auto_scan_config_request.py +114 -0
- huaweicloudsdkdcs/v2/model/show_expire_auto_scan_config_response.py +290 -0
- huaweicloudsdkdcs/v2/model/show_expire_key_scan_info_request.py +201 -0
- huaweicloudsdkdcs/v2/model/show_expire_key_scan_info_response.py +203 -0
- huaweicloudsdkdcs/v2/model/show_hotkey_autoscan_config_request.py +20 -13
- huaweicloudsdkdcs/v2/model/show_hotkey_autoscan_config_response.py +34 -22
- huaweicloudsdkdcs/v2/model/show_hotkey_task_details_request.py +27 -16
- huaweicloudsdkdcs/v2/model/show_hotkey_task_details_response.py +60 -38
- huaweicloudsdkdcs/v2/model/show_instance_bandwidth_auto_scaling_policy_request.py +114 -0
- huaweicloudsdkdcs/v2/model/show_instance_bandwidth_auto_scaling_policy_response.py +258 -0
- huaweicloudsdkdcs/v2/model/show_instance_request.py +20 -13
- huaweicloudsdkdcs/v2/model/show_instance_response.py +845 -137
- huaweicloudsdkdcs/v2/model/show_instance_ssl_detail_request.py +114 -0
- huaweicloudsdkdcs/v2/model/show_instance_ssl_detail_response.py +261 -0
- huaweicloudsdkdcs/v2/model/show_instance_topology_request.py +114 -0
- huaweicloudsdkdcs/v2/model/show_instance_topology_response.py +290 -0
- huaweicloudsdkdcs/v2/model/show_instance_version_request.py +114 -0
- huaweicloudsdkdcs/v2/model/show_instance_version_response.py +261 -0
- huaweicloudsdkdcs/v2/model/show_ip_whitelist_request.py +20 -13
- huaweicloudsdkdcs/v2/model/show_ip_whitelist_response.py +55 -18
- huaweicloudsdkdcs/v2/model/show_job_info_request.py +114 -0
- huaweicloudsdkdcs/v2/model/show_job_info_response.py +261 -0
- huaweicloudsdkdcs/v2/model/show_migration_task_request.py +20 -13
- huaweicloudsdkdcs/v2/model/show_migration_task_response.py +370 -58
- huaweicloudsdkdcs/v2/model/show_migration_task_stats_request.py +20 -13
- huaweicloudsdkdcs/v2/model/show_migration_task_stats_response.py +49 -31
- huaweicloudsdkdcs/v2/model/show_nodes_information_request.py +114 -0
- huaweicloudsdkdcs/v2/model/show_nodes_information_response.py +174 -0
- huaweicloudsdkdcs/v2/model/show_offline_key_analysis_task_request.py +142 -0
- huaweicloudsdkdcs/v2/model/show_offline_key_analysis_task_response.py +580 -0
- huaweicloudsdkdcs/v2/model/show_quota_of_tenant_request.py +13 -10
- huaweicloudsdkdcs/v2/model/show_quota_of_tenant_response.py +20 -16
- huaweicloudsdkdcs/v2/model/show_replication_states_request.py +142 -0
- huaweicloudsdkdcs/v2/model/show_replication_states_response.py +112 -0
- huaweicloudsdkdcs/v2/model/show_tags_request.py +20 -13
- huaweicloudsdkdcs/v2/model/show_tags_response.py +20 -14
- huaweicloudsdkdcs/v2/model/simple_key_scan_record.py +318 -0
- huaweicloudsdkdcs/v2/model/single_background_task.py +91 -43
- huaweicloudsdkdcs/v2/model/slowlog_item.py +157 -28
- huaweicloudsdkdcs/v2/model/source_instance_body.py +229 -19
- huaweicloudsdkdcs/v2/model/spec_param.py +173 -0
- huaweicloudsdkdcs/v2/model/start_instance_resize_check_job_request.py +139 -0
- huaweicloudsdkdcs/v2/model/start_instance_resize_check_job_request_body.py +144 -0
- huaweicloudsdkdcs/v2/model/start_instance_resize_check_job_response.py +116 -0
- huaweicloudsdkdcs/v2/model/status_statistic.py +78 -49
- huaweicloudsdkdcs/v2/model/step_detail.py +289 -0
- huaweicloudsdkdcs/v2/model/stop_migration_task_request.py +20 -13
- huaweicloudsdkdcs/v2/model/stop_migration_task_response.py +370 -58
- huaweicloudsdkdcs/v2/model/stop_migration_task_result.py +202 -0
- huaweicloudsdkdcs/v2/model/stop_migration_task_sync_request.py +114 -0
- huaweicloudsdkdcs/v2/model/stop_migration_task_sync_response.py +85 -0
- huaweicloudsdkdcs/v2/model/sub_step_detail.py +289 -0
- huaweicloudsdkdcs/v2/model/tag.py +23 -16
- huaweicloudsdkdcs/v2/model/target_instance_body.py +205 -22
- huaweicloudsdkdcs/v2/model/topology_info.py +538 -0
- huaweicloudsdkdcs/v2/model/update_acl_account_pass_word_request.py +167 -0
- huaweicloudsdkdcs/v2/model/update_acl_account_pass_word_response.py +232 -0
- huaweicloudsdkdcs/v2/model/update_acl_account_remark_request.py +167 -0
- huaweicloudsdkdcs/v2/model/update_acl_account_remark_request_body.py +115 -0
- huaweicloudsdkdcs/v2/model/update_acl_account_remark_response.py +85 -0
- huaweicloudsdkdcs/v2/model/update_acl_account_request.py +167 -0
- huaweicloudsdkdcs/v2/model/update_acl_account_response.py +145 -0
- huaweicloudsdkdcs/v2/model/update_auto_scan_config_request_body.py +231 -0
- huaweicloudsdkdcs/v2/model/update_bandwidth_info_request.py +115 -0
- huaweicloudsdkdcs/v2/model/update_bandwidth_request.py +139 -0
- huaweicloudsdkdcs/v2/model/update_bandwidth_resp.py +84 -0
- huaweicloudsdkdcs/v2/model/update_bandwidth_response.py +112 -0
- huaweicloudsdkdcs/v2/model/update_bigkey_autoscan_config_request.py +26 -19
- huaweicloudsdkdcs/v2/model/update_bigkey_autoscan_config_response.py +34 -22
- huaweicloudsdkdcs/v2/model/update_client_ip_transparent_transmission_request.py +139 -0
- huaweicloudsdkdcs/v2/model/update_client_ip_transparent_transmission_request_body.py +115 -0
- huaweicloudsdkdcs/v2/model/update_client_ip_transparent_transmission_response.py +116 -0
- huaweicloudsdkdcs/v2/model/update_config_template_request.py +139 -0
- huaweicloudsdkdcs/v2/model/update_config_template_response.py +116 -0
- huaweicloudsdkdcs/v2/model/update_configurations_request.py +26 -19
- huaweicloudsdkdcs/v2/model/update_configurations_response.py +14 -10
- huaweicloudsdkdcs/v2/model/update_custom_template_body.py +173 -0
- huaweicloudsdkdcs/v2/model/update_expire_auto_scan_config_request.py +139 -0
- huaweicloudsdkdcs/v2/model/update_expire_auto_scan_config_response.py +290 -0
- huaweicloudsdkdcs/v2/model/update_group_bandwidth_info_request.py +142 -0
- huaweicloudsdkdcs/v2/model/update_hotkey_auto_scan_config_request.py +26 -19
- huaweicloudsdkdcs/v2/model/update_hotkey_auto_scan_config_response.py +34 -22
- huaweicloudsdkdcs/v2/model/update_instance_bandwidth_auto_scaling_policy_request.py +139 -0
- huaweicloudsdkdcs/v2/model/update_instance_bandwidth_auto_scaling_policy_request_body.py +257 -0
- huaweicloudsdkdcs/v2/model/update_instance_bandwidth_auto_scaling_policy_response.py +258 -0
- huaweicloudsdkdcs/v2/model/update_instance_bandwidth_request.py +114 -0
- huaweicloudsdkdcs/v2/model/update_instance_bandwidth_response.py +85 -0
- huaweicloudsdkdcs/v2/model/update_instance_config_request.py +139 -0
- huaweicloudsdkdcs/v2/model/update_instance_config_response.py +116 -0
- huaweicloudsdkdcs/v2/model/update_instance_request.py +26 -19
- huaweicloudsdkdcs/v2/model/update_instance_response.py +14 -10
- huaweicloudsdkdcs/v2/model/update_ip_whitelist_async_request.py +139 -0
- huaweicloudsdkdcs/v2/model/update_ip_whitelist_async_response.py +116 -0
- huaweicloudsdkdcs/v2/model/update_ip_whitelist_request.py +26 -19
- huaweicloudsdkdcs/v2/model/update_ip_whitelist_response.py +14 -10
- huaweicloudsdkdcs/v2/model/update_migration_task_request.py +139 -0
- huaweicloudsdkdcs/v2/model/update_migration_task_response.py +112 -0
- huaweicloudsdkdcs/v2/model/update_password_request.py +26 -19
- huaweicloudsdkdcs/v2/model/update_password_response.py +39 -25
- huaweicloudsdkdcs/v2/model/update_public_ip_request.py +139 -0
- huaweicloudsdkdcs/v2/model/update_public_ip_request_body.py +173 -0
- huaweicloudsdkdcs/v2/model/update_public_ip_response.py +116 -0
- huaweicloudsdkdcs/v2/model/update_slave_priority_request.py +40 -25
- huaweicloudsdkdcs/v2/model/update_slave_priority_response.py +14 -10
- huaweicloudsdkdcs/v2/model/update_ssl_switch_request.py +139 -0
- huaweicloudsdkdcs/v2/model/update_ssl_switch_request_body.py +114 -0
- huaweicloudsdkdcs/v2/model/update_ssl_switch_response.py +174 -0
- huaweicloudsdkdcs/v2/model/upgrade_instance_minor_version_request.py +139 -0
- huaweicloudsdkdcs/v2/model/upgrade_instance_minor_version_response.py +116 -0
- huaweicloudsdkdcs/v2/model/upgrade_minor_version_request_body.py +144 -0
- huaweicloudsdkdcs/v2/model/validate_deletable_replica_request.py +114 -0
- huaweicloudsdkdcs/v2/model/validate_deletable_replica_response.py +174 -0
- huaweicloudsdkdcs/v2/model/whitelist.py +23 -16
- huaweicloudsdkdcs/v2/region/dcs_region.py +97 -44
- {huaweicloudsdkdcs-3.0.43rc0.dist-info → huaweicloudsdkdcs-3.1.161.dist-info}/METADATA +9 -9
- huaweicloudsdkdcs-3.1.161.dist-info/RECORD +428 -0
- {huaweicloudsdkdcs-3.0.43rc0.dist-info → huaweicloudsdkdcs-3.1.161.dist-info}/WHEEL +1 -1
- huaweicloudsdkdcs-3.0.43rc0.dist-info/RECORD +0 -176
- {huaweicloudsdkdcs-3.0.43rc0.dist-info → huaweicloudsdkdcs-3.1.161.dist-info}/LICENSE +0 -0
- {huaweicloudsdkdcs-3.0.43rc0.dist-info → huaweicloudsdkdcs-3.1.161.dist-info}/top_level.txt +0 -0
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
|
-
import pprint
|
|
4
|
-
import re
|
|
5
|
-
|
|
6
3
|
import six
|
|
7
4
|
|
|
8
|
-
|
|
9
5
|
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
10
7
|
|
|
11
8
|
|
|
12
9
|
class ShowInstanceResponse(SdkResponse):
|
|
13
10
|
|
|
14
|
-
|
|
15
11
|
"""
|
|
16
12
|
Attributes:
|
|
17
13
|
openapi_types (dict): The key is attribute name
|
|
@@ -19,7 +15,6 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
19
15
|
attribute_map (dict): The key is attribute name
|
|
20
16
|
and the value is json key in definition.
|
|
21
17
|
"""
|
|
22
|
-
|
|
23
18
|
sensitive_list = []
|
|
24
19
|
|
|
25
20
|
openapi_types = {
|
|
@@ -40,8 +35,9 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
40
35
|
'engine': 'str',
|
|
41
36
|
'no_password_access': 'str',
|
|
42
37
|
'ip': 'str',
|
|
43
|
-
'instance_backup_policy': '
|
|
38
|
+
'instance_backup_policy': 'InstanceBackupPolicy',
|
|
44
39
|
'az_codes': 'list[str]',
|
|
40
|
+
'available_zones': 'list[str]',
|
|
45
41
|
'access_user': 'str',
|
|
46
42
|
'instance_id': 'str',
|
|
47
43
|
'port': 'int',
|
|
@@ -55,6 +51,7 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
55
51
|
'order_id': 'str',
|
|
56
52
|
'status': 'str',
|
|
57
53
|
'domain_name': 'str',
|
|
54
|
+
'readonly_domain_name': 'str',
|
|
58
55
|
'enable_publicip': 'bool',
|
|
59
56
|
'publicip_id': 'str',
|
|
60
57
|
'publicip_address': 'str',
|
|
@@ -62,7 +59,27 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
62
59
|
'service_upgrade': 'bool',
|
|
63
60
|
'service_task_id': 'str',
|
|
64
61
|
'enterprise_project_id': 'str',
|
|
65
|
-
'backend_addrs': 'str'
|
|
62
|
+
'backend_addrs': 'str',
|
|
63
|
+
'features': 'Features',
|
|
64
|
+
'domain_name_info': 'DomainNameInfo',
|
|
65
|
+
'transparent_client_ip_enable': 'bool',
|
|
66
|
+
'sub_status': 'str',
|
|
67
|
+
'tags': 'list[ResourceTag]',
|
|
68
|
+
'cpu_type': 'str',
|
|
69
|
+
'enterprise_project_name': 'str',
|
|
70
|
+
'update_at': 'str',
|
|
71
|
+
'product_type': 'str',
|
|
72
|
+
'storage_type': 'str',
|
|
73
|
+
'launched_at': 'str',
|
|
74
|
+
'cache_mode': 'str',
|
|
75
|
+
'support_slow_log_flag': 'str',
|
|
76
|
+
'db_number': 'int',
|
|
77
|
+
'replica_count': 'int',
|
|
78
|
+
'sharding_count': 'int',
|
|
79
|
+
'bandwidth_info': 'BandwidthInfo',
|
|
80
|
+
'cloud_service_type_code': 'str',
|
|
81
|
+
'cloud_resource_type_code': 'str',
|
|
82
|
+
'inquery_spec_code': 'str'
|
|
66
83
|
}
|
|
67
84
|
|
|
68
85
|
attribute_map = {
|
|
@@ -85,6 +102,7 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
85
102
|
'ip': 'ip',
|
|
86
103
|
'instance_backup_policy': 'instance_backup_policy',
|
|
87
104
|
'az_codes': 'az_codes',
|
|
105
|
+
'available_zones': 'available_zones',
|
|
88
106
|
'access_user': 'access_user',
|
|
89
107
|
'instance_id': 'instance_id',
|
|
90
108
|
'port': 'port',
|
|
@@ -98,6 +116,7 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
98
116
|
'order_id': 'order_id',
|
|
99
117
|
'status': 'status',
|
|
100
118
|
'domain_name': 'domain_name',
|
|
119
|
+
'readonly_domain_name': 'readonly_domain_name',
|
|
101
120
|
'enable_publicip': 'enable_publicip',
|
|
102
121
|
'publicip_id': 'publicip_id',
|
|
103
122
|
'publicip_address': 'publicip_address',
|
|
@@ -105,13 +124,161 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
105
124
|
'service_upgrade': 'service_upgrade',
|
|
106
125
|
'service_task_id': 'service_task_id',
|
|
107
126
|
'enterprise_project_id': 'enterprise_project_id',
|
|
108
|
-
'backend_addrs': 'backend_addrs'
|
|
127
|
+
'backend_addrs': 'backend_addrs',
|
|
128
|
+
'features': 'features',
|
|
129
|
+
'domain_name_info': 'domain_name_info',
|
|
130
|
+
'transparent_client_ip_enable': 'transparent_client_ip_enable',
|
|
131
|
+
'sub_status': 'sub_status',
|
|
132
|
+
'tags': 'tags',
|
|
133
|
+
'cpu_type': 'cpu_type',
|
|
134
|
+
'enterprise_project_name': 'enterprise_project_name',
|
|
135
|
+
'update_at': 'update_at',
|
|
136
|
+
'product_type': 'product_type',
|
|
137
|
+
'storage_type': 'storage_type',
|
|
138
|
+
'launched_at': 'launched_at',
|
|
139
|
+
'cache_mode': 'cache_mode',
|
|
140
|
+
'support_slow_log_flag': 'support_slow_log_flag',
|
|
141
|
+
'db_number': 'db_number',
|
|
142
|
+
'replica_count': 'replica_count',
|
|
143
|
+
'sharding_count': 'sharding_count',
|
|
144
|
+
'bandwidth_info': 'bandwidth_info',
|
|
145
|
+
'cloud_service_type_code': 'cloud_service_type_code',
|
|
146
|
+
'cloud_resource_type_code': 'cloud_resource_type_code',
|
|
147
|
+
'inquery_spec_code': 'inquery_spec_code'
|
|
109
148
|
}
|
|
110
149
|
|
|
111
|
-
def __init__(self, vpc_name=None, charging_mode=None, vpc_id=None, user_name=None, created_at=None, description=None, security_group_id=None, security_group_name=None, max_memory=None, used_memory=None, capacity=None, capacity_minor=None, maintain_begin=None, maintain_end=None, engine=None, no_password_access=None, ip=None, instance_backup_policy=None, az_codes=None, access_user=None, instance_id=None, port=None, user_id=None, name=None, spec_code=None, subnet_id=None, subnet_name=None, subnet_cidr=None, engine_version=None, order_id=None, status=None, domain_name=None, enable_publicip=None, publicip_id=None, publicip_address=None, enable_ssl=None, service_upgrade=None, service_task_id=None, enterprise_project_id=None, backend_addrs=None):
|
|
112
|
-
"""ShowInstanceResponse
|
|
150
|
+
def __init__(self, vpc_name=None, charging_mode=None, vpc_id=None, user_name=None, created_at=None, description=None, security_group_id=None, security_group_name=None, max_memory=None, used_memory=None, capacity=None, capacity_minor=None, maintain_begin=None, maintain_end=None, engine=None, no_password_access=None, ip=None, instance_backup_policy=None, az_codes=None, available_zones=None, access_user=None, instance_id=None, port=None, user_id=None, name=None, spec_code=None, subnet_id=None, subnet_name=None, subnet_cidr=None, engine_version=None, order_id=None, status=None, domain_name=None, readonly_domain_name=None, enable_publicip=None, publicip_id=None, publicip_address=None, enable_ssl=None, service_upgrade=None, service_task_id=None, enterprise_project_id=None, backend_addrs=None, features=None, domain_name_info=None, transparent_client_ip_enable=None, sub_status=None, tags=None, cpu_type=None, enterprise_project_name=None, update_at=None, product_type=None, storage_type=None, launched_at=None, cache_mode=None, support_slow_log_flag=None, db_number=None, replica_count=None, sharding_count=None, bandwidth_info=None, cloud_service_type_code=None, cloud_resource_type_code=None, inquery_spec_code=None):
|
|
151
|
+
r"""ShowInstanceResponse
|
|
152
|
+
|
|
153
|
+
The model defined in huaweicloud sdk
|
|
154
|
+
|
|
155
|
+
:param vpc_name: VPC的名称。
|
|
156
|
+
:type vpc_name: str
|
|
157
|
+
:param charging_mode: 付费模式,0表示按需计费,1表示包年/包月计费。
|
|
158
|
+
:type charging_mode: int
|
|
159
|
+
:param vpc_id: VPC ID
|
|
160
|
+
:type vpc_id: str
|
|
161
|
+
:param user_name: 用户名。
|
|
162
|
+
:type user_name: str
|
|
163
|
+
:param created_at: 完成创建时间。格式为:2017-03-31T12:24:46.297Z
|
|
164
|
+
:type created_at: str
|
|
165
|
+
:param description: 实例描述。
|
|
166
|
+
:type description: str
|
|
167
|
+
:param security_group_id: 安全组ID。
|
|
168
|
+
:type security_group_id: str
|
|
169
|
+
:param security_group_name: 租户安全组名称。
|
|
170
|
+
:type security_group_name: str
|
|
171
|
+
:param max_memory: 总内存,单位:MB。
|
|
172
|
+
:type max_memory: int
|
|
173
|
+
:param used_memory: 已使用的内存,单位:MB。
|
|
174
|
+
:type used_memory: int
|
|
175
|
+
:param capacity: 缓存实例的容量(G Byte)。
|
|
176
|
+
:type capacity: int
|
|
177
|
+
:param capacity_minor: 单机小规格的缓存容量。
|
|
178
|
+
:type capacity_minor: str
|
|
179
|
+
:param maintain_begin: 维护时间窗开始时间,为UTC时间,格式为HH:mm:ss
|
|
180
|
+
:type maintain_begin: str
|
|
181
|
+
:param maintain_end: 维护时间窗结束时间,为UTC时间,格式为HH:mm:ss
|
|
182
|
+
:type maintain_end: str
|
|
183
|
+
:param engine: 缓存实例的引擎类型。
|
|
184
|
+
:type engine: str
|
|
185
|
+
:param no_password_access: 是否允许免密码访问缓存实例。 - true:该实例无需密码即可访问。 - false:该实例必须通过密码认证才能访问。
|
|
186
|
+
:type no_password_access: str
|
|
187
|
+
:param ip: 连接缓存实例的IP地址。如果是集群实例,返回多个IP地址,使用逗号分隔。如:192.168.0.1,192.168.0.2。
|
|
188
|
+
:type ip: str
|
|
189
|
+
:param instance_backup_policy:
|
|
190
|
+
:type instance_backup_policy: :class:`huaweicloudsdkdcs.v2.InstanceBackupPolicy`
|
|
191
|
+
:param az_codes: 实例所在的可用区。返回“可用区Code”
|
|
192
|
+
:type az_codes: list[str]
|
|
193
|
+
:param available_zones: 实例所在的可用区id。返回\"可用区ID\"
|
|
194
|
+
:type available_zones: list[str]
|
|
195
|
+
:param access_user: 通过密码认证访问缓存实例的认证用户名。
|
|
196
|
+
:type access_user: str
|
|
197
|
+
:param instance_id: 实例ID。
|
|
198
|
+
:type instance_id: str
|
|
199
|
+
:param port: 缓存的端口。
|
|
200
|
+
:type port: int
|
|
201
|
+
:param user_id: 用户id。
|
|
202
|
+
:type user_id: str
|
|
203
|
+
:param name: 实例名称。
|
|
204
|
+
:type name: str
|
|
205
|
+
:param spec_code: 产品规格编码
|
|
206
|
+
:type spec_code: str
|
|
207
|
+
:param subnet_id: 子网ID。
|
|
208
|
+
:type subnet_id: str
|
|
209
|
+
:param subnet_name: 子网名称。
|
|
210
|
+
:type subnet_name: str
|
|
211
|
+
:param subnet_cidr: 子网网段。
|
|
212
|
+
:type subnet_cidr: str
|
|
213
|
+
:param engine_version: 缓存版本。
|
|
214
|
+
:type engine_version: str
|
|
215
|
+
:param order_id: 订单ID。
|
|
216
|
+
:type order_id: str
|
|
217
|
+
:param status: 缓存实例的状态。详细状态说明见[缓存实例状态说明](https://support.huaweicloud.com/api-dcs/dcs-api-0312047.html)
|
|
218
|
+
:type status: str
|
|
219
|
+
:param domain_name: 实例的域名。
|
|
220
|
+
:type domain_name: str
|
|
221
|
+
:param readonly_domain_name: 实例的只读域名,只有主备实例有该字段。
|
|
222
|
+
:type readonly_domain_name: str
|
|
223
|
+
:param enable_publicip: Redis缓存实例是否开启公网访问功能。 - true:开启 - false:不开启
|
|
224
|
+
:type enable_publicip: bool
|
|
225
|
+
:param publicip_id: Redis缓存实例绑定的弹性IP地址的id。 如果未开启公网访问功能,该字段值为null。
|
|
226
|
+
:type publicip_id: str
|
|
227
|
+
:param publicip_address: Redis缓存实例绑定的弹性IP地址。 如果未开启公网访问功能,该字段值为null。
|
|
228
|
+
:type publicip_address: str
|
|
229
|
+
:param enable_ssl: Redis缓存实例开启公网访问功能时,是否选择支持ssl。 - true:开启 - false:不开启
|
|
230
|
+
:type enable_ssl: bool
|
|
231
|
+
:param service_upgrade: 实例是否存在升级任务。 - true:存在 - false:不存在
|
|
232
|
+
:type service_upgrade: bool
|
|
233
|
+
:param service_task_id: 升级任务的ID。 - 当service_upgrade为true时,为升级任务的ID。 - 当service_upgrade为false时,该参数为空。
|
|
234
|
+
:type service_task_id: str
|
|
235
|
+
:param enterprise_project_id: 企业项目ID。
|
|
236
|
+
:type enterprise_project_id: str
|
|
237
|
+
:param backend_addrs: 集群实例的后端服务地址。
|
|
238
|
+
:type backend_addrs: str
|
|
239
|
+
:param features:
|
|
240
|
+
:type features: :class:`huaweicloudsdkdcs.v2.Features`
|
|
241
|
+
:param domain_name_info:
|
|
242
|
+
:type domain_name_info: :class:`huaweicloudsdkdcs.v2.DomainNameInfo`
|
|
243
|
+
:param transparent_client_ip_enable: 是否开启客户端ip透传。
|
|
244
|
+
:type transparent_client_ip_enable: bool
|
|
245
|
+
:param sub_status: 实例子状态。
|
|
246
|
+
:type sub_status: str
|
|
247
|
+
:param tags: 实例标签键值。
|
|
248
|
+
:type tags: list[:class:`huaweicloudsdkdcs.v2.ResourceTag`]
|
|
249
|
+
:param cpu_type: 实例CPU类型,通常为x86_64或aarch64
|
|
250
|
+
:type cpu_type: str
|
|
251
|
+
:param enterprise_project_name: 企业项目名称。
|
|
252
|
+
:type enterprise_project_name: str
|
|
253
|
+
:param update_at: 更新时间,形如2022-07-06T09:32:16.502Z
|
|
254
|
+
:type update_at: str
|
|
255
|
+
:param product_type: 版本类型:社区版、企业版
|
|
256
|
+
:type product_type: str
|
|
257
|
+
:param storage_type: 存储类型:内存存储
|
|
258
|
+
:type storage_type: str
|
|
259
|
+
:param launched_at: 启动时间,形如2022-07-06T09:32:16.502Z
|
|
260
|
+
:type launched_at: str
|
|
261
|
+
:param cache_mode: 缓存类型:单机类型,主备类型,主备读写分离,Proxy集群类型,原生集群类型
|
|
262
|
+
:type cache_mode: str
|
|
263
|
+
:param support_slow_log_flag: 是否支持慢日志
|
|
264
|
+
:type support_slow_log_flag: str
|
|
265
|
+
:param db_number: 数据库数量
|
|
266
|
+
:type db_number: int
|
|
267
|
+
:param replica_count: 副本数
|
|
268
|
+
:type replica_count: int
|
|
269
|
+
:param sharding_count: 集群实例分片个数
|
|
270
|
+
:type sharding_count: int
|
|
271
|
+
:param bandwidth_info:
|
|
272
|
+
:type bandwidth_info: :class:`huaweicloudsdkdcs.v2.BandwidthInfo`
|
|
273
|
+
:param cloud_service_type_code: 云服务类型编码。
|
|
274
|
+
:type cloud_service_type_code: str
|
|
275
|
+
:param cloud_resource_type_code: 云资源类型编码。
|
|
276
|
+
:type cloud_resource_type_code: str
|
|
277
|
+
:param inquery_spec_code: 运营系统中的规格编码
|
|
278
|
+
:type inquery_spec_code: str
|
|
279
|
+
"""
|
|
113
280
|
|
|
114
|
-
super().__init__()
|
|
281
|
+
super(ShowInstanceResponse, self).__init__()
|
|
115
282
|
|
|
116
283
|
self._vpc_name = None
|
|
117
284
|
self._charging_mode = None
|
|
@@ -132,6 +299,7 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
132
299
|
self._ip = None
|
|
133
300
|
self._instance_backup_policy = None
|
|
134
301
|
self._az_codes = None
|
|
302
|
+
self._available_zones = None
|
|
135
303
|
self._access_user = None
|
|
136
304
|
self._instance_id = None
|
|
137
305
|
self._port = None
|
|
@@ -145,6 +313,7 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
145
313
|
self._order_id = None
|
|
146
314
|
self._status = None
|
|
147
315
|
self._domain_name = None
|
|
316
|
+
self._readonly_domain_name = None
|
|
148
317
|
self._enable_publicip = None
|
|
149
318
|
self._publicip_id = None
|
|
150
319
|
self._publicip_address = None
|
|
@@ -153,6 +322,26 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
153
322
|
self._service_task_id = None
|
|
154
323
|
self._enterprise_project_id = None
|
|
155
324
|
self._backend_addrs = None
|
|
325
|
+
self._features = None
|
|
326
|
+
self._domain_name_info = None
|
|
327
|
+
self._transparent_client_ip_enable = None
|
|
328
|
+
self._sub_status = None
|
|
329
|
+
self._tags = None
|
|
330
|
+
self._cpu_type = None
|
|
331
|
+
self._enterprise_project_name = None
|
|
332
|
+
self._update_at = None
|
|
333
|
+
self._product_type = None
|
|
334
|
+
self._storage_type = None
|
|
335
|
+
self._launched_at = None
|
|
336
|
+
self._cache_mode = None
|
|
337
|
+
self._support_slow_log_flag = None
|
|
338
|
+
self._db_number = None
|
|
339
|
+
self._replica_count = None
|
|
340
|
+
self._sharding_count = None
|
|
341
|
+
self._bandwidth_info = None
|
|
342
|
+
self._cloud_service_type_code = None
|
|
343
|
+
self._cloud_resource_type_code = None
|
|
344
|
+
self._inquery_spec_code = None
|
|
156
345
|
self.discriminator = None
|
|
157
346
|
|
|
158
347
|
if vpc_name is not None:
|
|
@@ -193,6 +382,8 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
193
382
|
self.instance_backup_policy = instance_backup_policy
|
|
194
383
|
if az_codes is not None:
|
|
195
384
|
self.az_codes = az_codes
|
|
385
|
+
if available_zones is not None:
|
|
386
|
+
self.available_zones = available_zones
|
|
196
387
|
if access_user is not None:
|
|
197
388
|
self.access_user = access_user
|
|
198
389
|
if instance_id is not None:
|
|
@@ -219,6 +410,8 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
219
410
|
self.status = status
|
|
220
411
|
if domain_name is not None:
|
|
221
412
|
self.domain_name = domain_name
|
|
413
|
+
if readonly_domain_name is not None:
|
|
414
|
+
self.readonly_domain_name = readonly_domain_name
|
|
222
415
|
if enable_publicip is not None:
|
|
223
416
|
self.enable_publicip = enable_publicip
|
|
224
417
|
if publicip_id is not None:
|
|
@@ -235,10 +428,50 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
235
428
|
self.enterprise_project_id = enterprise_project_id
|
|
236
429
|
if backend_addrs is not None:
|
|
237
430
|
self.backend_addrs = backend_addrs
|
|
431
|
+
if features is not None:
|
|
432
|
+
self.features = features
|
|
433
|
+
if domain_name_info is not None:
|
|
434
|
+
self.domain_name_info = domain_name_info
|
|
435
|
+
if transparent_client_ip_enable is not None:
|
|
436
|
+
self.transparent_client_ip_enable = transparent_client_ip_enable
|
|
437
|
+
if sub_status is not None:
|
|
438
|
+
self.sub_status = sub_status
|
|
439
|
+
if tags is not None:
|
|
440
|
+
self.tags = tags
|
|
441
|
+
if cpu_type is not None:
|
|
442
|
+
self.cpu_type = cpu_type
|
|
443
|
+
if enterprise_project_name is not None:
|
|
444
|
+
self.enterprise_project_name = enterprise_project_name
|
|
445
|
+
if update_at is not None:
|
|
446
|
+
self.update_at = update_at
|
|
447
|
+
if product_type is not None:
|
|
448
|
+
self.product_type = product_type
|
|
449
|
+
if storage_type is not None:
|
|
450
|
+
self.storage_type = storage_type
|
|
451
|
+
if launched_at is not None:
|
|
452
|
+
self.launched_at = launched_at
|
|
453
|
+
if cache_mode is not None:
|
|
454
|
+
self.cache_mode = cache_mode
|
|
455
|
+
if support_slow_log_flag is not None:
|
|
456
|
+
self.support_slow_log_flag = support_slow_log_flag
|
|
457
|
+
if db_number is not None:
|
|
458
|
+
self.db_number = db_number
|
|
459
|
+
if replica_count is not None:
|
|
460
|
+
self.replica_count = replica_count
|
|
461
|
+
if sharding_count is not None:
|
|
462
|
+
self.sharding_count = sharding_count
|
|
463
|
+
if bandwidth_info is not None:
|
|
464
|
+
self.bandwidth_info = bandwidth_info
|
|
465
|
+
if cloud_service_type_code is not None:
|
|
466
|
+
self.cloud_service_type_code = cloud_service_type_code
|
|
467
|
+
if cloud_resource_type_code is not None:
|
|
468
|
+
self.cloud_resource_type_code = cloud_resource_type_code
|
|
469
|
+
if inquery_spec_code is not None:
|
|
470
|
+
self.inquery_spec_code = inquery_spec_code
|
|
238
471
|
|
|
239
472
|
@property
|
|
240
473
|
def vpc_name(self):
|
|
241
|
-
"""Gets the vpc_name of this ShowInstanceResponse.
|
|
474
|
+
r"""Gets the vpc_name of this ShowInstanceResponse.
|
|
242
475
|
|
|
243
476
|
VPC的名称。
|
|
244
477
|
|
|
@@ -249,18 +482,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
249
482
|
|
|
250
483
|
@vpc_name.setter
|
|
251
484
|
def vpc_name(self, vpc_name):
|
|
252
|
-
"""Sets the vpc_name of this ShowInstanceResponse.
|
|
485
|
+
r"""Sets the vpc_name of this ShowInstanceResponse.
|
|
253
486
|
|
|
254
487
|
VPC的名称。
|
|
255
488
|
|
|
256
489
|
:param vpc_name: The vpc_name of this ShowInstanceResponse.
|
|
257
|
-
:type: str
|
|
490
|
+
:type vpc_name: str
|
|
258
491
|
"""
|
|
259
492
|
self._vpc_name = vpc_name
|
|
260
493
|
|
|
261
494
|
@property
|
|
262
495
|
def charging_mode(self):
|
|
263
|
-
"""Gets the charging_mode of this ShowInstanceResponse.
|
|
496
|
+
r"""Gets the charging_mode of this ShowInstanceResponse.
|
|
264
497
|
|
|
265
498
|
付费模式,0表示按需计费,1表示包年/包月计费。
|
|
266
499
|
|
|
@@ -271,18 +504,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
271
504
|
|
|
272
505
|
@charging_mode.setter
|
|
273
506
|
def charging_mode(self, charging_mode):
|
|
274
|
-
"""Sets the charging_mode of this ShowInstanceResponse.
|
|
507
|
+
r"""Sets the charging_mode of this ShowInstanceResponse.
|
|
275
508
|
|
|
276
509
|
付费模式,0表示按需计费,1表示包年/包月计费。
|
|
277
510
|
|
|
278
511
|
:param charging_mode: The charging_mode of this ShowInstanceResponse.
|
|
279
|
-
:type: int
|
|
512
|
+
:type charging_mode: int
|
|
280
513
|
"""
|
|
281
514
|
self._charging_mode = charging_mode
|
|
282
515
|
|
|
283
516
|
@property
|
|
284
517
|
def vpc_id(self):
|
|
285
|
-
"""Gets the vpc_id of this ShowInstanceResponse.
|
|
518
|
+
r"""Gets the vpc_id of this ShowInstanceResponse.
|
|
286
519
|
|
|
287
520
|
VPC ID
|
|
288
521
|
|
|
@@ -293,18 +526,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
293
526
|
|
|
294
527
|
@vpc_id.setter
|
|
295
528
|
def vpc_id(self, vpc_id):
|
|
296
|
-
"""Sets the vpc_id of this ShowInstanceResponse.
|
|
529
|
+
r"""Sets the vpc_id of this ShowInstanceResponse.
|
|
297
530
|
|
|
298
531
|
VPC ID
|
|
299
532
|
|
|
300
533
|
:param vpc_id: The vpc_id of this ShowInstanceResponse.
|
|
301
|
-
:type: str
|
|
534
|
+
:type vpc_id: str
|
|
302
535
|
"""
|
|
303
536
|
self._vpc_id = vpc_id
|
|
304
537
|
|
|
305
538
|
@property
|
|
306
539
|
def user_name(self):
|
|
307
|
-
"""Gets the user_name of this ShowInstanceResponse.
|
|
540
|
+
r"""Gets the user_name of this ShowInstanceResponse.
|
|
308
541
|
|
|
309
542
|
用户名。
|
|
310
543
|
|
|
@@ -315,18 +548,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
315
548
|
|
|
316
549
|
@user_name.setter
|
|
317
550
|
def user_name(self, user_name):
|
|
318
|
-
"""Sets the user_name of this ShowInstanceResponse.
|
|
551
|
+
r"""Sets the user_name of this ShowInstanceResponse.
|
|
319
552
|
|
|
320
553
|
用户名。
|
|
321
554
|
|
|
322
555
|
:param user_name: The user_name of this ShowInstanceResponse.
|
|
323
|
-
:type: str
|
|
556
|
+
:type user_name: str
|
|
324
557
|
"""
|
|
325
558
|
self._user_name = user_name
|
|
326
559
|
|
|
327
560
|
@property
|
|
328
561
|
def created_at(self):
|
|
329
|
-
"""Gets the created_at of this ShowInstanceResponse.
|
|
562
|
+
r"""Gets the created_at of this ShowInstanceResponse.
|
|
330
563
|
|
|
331
564
|
完成创建时间。格式为:2017-03-31T12:24:46.297Z
|
|
332
565
|
|
|
@@ -337,18 +570,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
337
570
|
|
|
338
571
|
@created_at.setter
|
|
339
572
|
def created_at(self, created_at):
|
|
340
|
-
"""Sets the created_at of this ShowInstanceResponse.
|
|
573
|
+
r"""Sets the created_at of this ShowInstanceResponse.
|
|
341
574
|
|
|
342
575
|
完成创建时间。格式为:2017-03-31T12:24:46.297Z
|
|
343
576
|
|
|
344
577
|
:param created_at: The created_at of this ShowInstanceResponse.
|
|
345
|
-
:type: str
|
|
578
|
+
:type created_at: str
|
|
346
579
|
"""
|
|
347
580
|
self._created_at = created_at
|
|
348
581
|
|
|
349
582
|
@property
|
|
350
583
|
def description(self):
|
|
351
|
-
"""Gets the description of this ShowInstanceResponse.
|
|
584
|
+
r"""Gets the description of this ShowInstanceResponse.
|
|
352
585
|
|
|
353
586
|
实例描述。
|
|
354
587
|
|
|
@@ -359,18 +592,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
359
592
|
|
|
360
593
|
@description.setter
|
|
361
594
|
def description(self, description):
|
|
362
|
-
"""Sets the description of this ShowInstanceResponse.
|
|
595
|
+
r"""Sets the description of this ShowInstanceResponse.
|
|
363
596
|
|
|
364
597
|
实例描述。
|
|
365
598
|
|
|
366
599
|
:param description: The description of this ShowInstanceResponse.
|
|
367
|
-
:type: str
|
|
600
|
+
:type description: str
|
|
368
601
|
"""
|
|
369
602
|
self._description = description
|
|
370
603
|
|
|
371
604
|
@property
|
|
372
605
|
def security_group_id(self):
|
|
373
|
-
"""Gets the security_group_id of this ShowInstanceResponse.
|
|
606
|
+
r"""Gets the security_group_id of this ShowInstanceResponse.
|
|
374
607
|
|
|
375
608
|
安全组ID。
|
|
376
609
|
|
|
@@ -381,18 +614,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
381
614
|
|
|
382
615
|
@security_group_id.setter
|
|
383
616
|
def security_group_id(self, security_group_id):
|
|
384
|
-
"""Sets the security_group_id of this ShowInstanceResponse.
|
|
617
|
+
r"""Sets the security_group_id of this ShowInstanceResponse.
|
|
385
618
|
|
|
386
619
|
安全组ID。
|
|
387
620
|
|
|
388
621
|
:param security_group_id: The security_group_id of this ShowInstanceResponse.
|
|
389
|
-
:type: str
|
|
622
|
+
:type security_group_id: str
|
|
390
623
|
"""
|
|
391
624
|
self._security_group_id = security_group_id
|
|
392
625
|
|
|
393
626
|
@property
|
|
394
627
|
def security_group_name(self):
|
|
395
|
-
"""Gets the security_group_name of this ShowInstanceResponse.
|
|
628
|
+
r"""Gets the security_group_name of this ShowInstanceResponse.
|
|
396
629
|
|
|
397
630
|
租户安全组名称。
|
|
398
631
|
|
|
@@ -403,18 +636,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
403
636
|
|
|
404
637
|
@security_group_name.setter
|
|
405
638
|
def security_group_name(self, security_group_name):
|
|
406
|
-
"""Sets the security_group_name of this ShowInstanceResponse.
|
|
639
|
+
r"""Sets the security_group_name of this ShowInstanceResponse.
|
|
407
640
|
|
|
408
641
|
租户安全组名称。
|
|
409
642
|
|
|
410
643
|
:param security_group_name: The security_group_name of this ShowInstanceResponse.
|
|
411
|
-
:type: str
|
|
644
|
+
:type security_group_name: str
|
|
412
645
|
"""
|
|
413
646
|
self._security_group_name = security_group_name
|
|
414
647
|
|
|
415
648
|
@property
|
|
416
649
|
def max_memory(self):
|
|
417
|
-
"""Gets the max_memory of this ShowInstanceResponse.
|
|
650
|
+
r"""Gets the max_memory of this ShowInstanceResponse.
|
|
418
651
|
|
|
419
652
|
总内存,单位:MB。
|
|
420
653
|
|
|
@@ -425,18 +658,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
425
658
|
|
|
426
659
|
@max_memory.setter
|
|
427
660
|
def max_memory(self, max_memory):
|
|
428
|
-
"""Sets the max_memory of this ShowInstanceResponse.
|
|
661
|
+
r"""Sets the max_memory of this ShowInstanceResponse.
|
|
429
662
|
|
|
430
663
|
总内存,单位:MB。
|
|
431
664
|
|
|
432
665
|
:param max_memory: The max_memory of this ShowInstanceResponse.
|
|
433
|
-
:type: int
|
|
666
|
+
:type max_memory: int
|
|
434
667
|
"""
|
|
435
668
|
self._max_memory = max_memory
|
|
436
669
|
|
|
437
670
|
@property
|
|
438
671
|
def used_memory(self):
|
|
439
|
-
"""Gets the used_memory of this ShowInstanceResponse.
|
|
672
|
+
r"""Gets the used_memory of this ShowInstanceResponse.
|
|
440
673
|
|
|
441
674
|
已使用的内存,单位:MB。
|
|
442
675
|
|
|
@@ -447,18 +680,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
447
680
|
|
|
448
681
|
@used_memory.setter
|
|
449
682
|
def used_memory(self, used_memory):
|
|
450
|
-
"""Sets the used_memory of this ShowInstanceResponse.
|
|
683
|
+
r"""Sets the used_memory of this ShowInstanceResponse.
|
|
451
684
|
|
|
452
685
|
已使用的内存,单位:MB。
|
|
453
686
|
|
|
454
687
|
:param used_memory: The used_memory of this ShowInstanceResponse.
|
|
455
|
-
:type: int
|
|
688
|
+
:type used_memory: int
|
|
456
689
|
"""
|
|
457
690
|
self._used_memory = used_memory
|
|
458
691
|
|
|
459
692
|
@property
|
|
460
693
|
def capacity(self):
|
|
461
|
-
"""Gets the capacity of this ShowInstanceResponse.
|
|
694
|
+
r"""Gets the capacity of this ShowInstanceResponse.
|
|
462
695
|
|
|
463
696
|
缓存实例的容量(G Byte)。
|
|
464
697
|
|
|
@@ -469,18 +702,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
469
702
|
|
|
470
703
|
@capacity.setter
|
|
471
704
|
def capacity(self, capacity):
|
|
472
|
-
"""Sets the capacity of this ShowInstanceResponse.
|
|
705
|
+
r"""Sets the capacity of this ShowInstanceResponse.
|
|
473
706
|
|
|
474
707
|
缓存实例的容量(G Byte)。
|
|
475
708
|
|
|
476
709
|
:param capacity: The capacity of this ShowInstanceResponse.
|
|
477
|
-
:type: int
|
|
710
|
+
:type capacity: int
|
|
478
711
|
"""
|
|
479
712
|
self._capacity = capacity
|
|
480
713
|
|
|
481
714
|
@property
|
|
482
715
|
def capacity_minor(self):
|
|
483
|
-
"""Gets the capacity_minor of this ShowInstanceResponse.
|
|
716
|
+
r"""Gets the capacity_minor of this ShowInstanceResponse.
|
|
484
717
|
|
|
485
718
|
单机小规格的缓存容量。
|
|
486
719
|
|
|
@@ -491,18 +724,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
491
724
|
|
|
492
725
|
@capacity_minor.setter
|
|
493
726
|
def capacity_minor(self, capacity_minor):
|
|
494
|
-
"""Sets the capacity_minor of this ShowInstanceResponse.
|
|
727
|
+
r"""Sets the capacity_minor of this ShowInstanceResponse.
|
|
495
728
|
|
|
496
729
|
单机小规格的缓存容量。
|
|
497
730
|
|
|
498
731
|
:param capacity_minor: The capacity_minor of this ShowInstanceResponse.
|
|
499
|
-
:type: str
|
|
732
|
+
:type capacity_minor: str
|
|
500
733
|
"""
|
|
501
734
|
self._capacity_minor = capacity_minor
|
|
502
735
|
|
|
503
736
|
@property
|
|
504
737
|
def maintain_begin(self):
|
|
505
|
-
"""Gets the maintain_begin of this ShowInstanceResponse.
|
|
738
|
+
r"""Gets the maintain_begin of this ShowInstanceResponse.
|
|
506
739
|
|
|
507
740
|
维护时间窗开始时间,为UTC时间,格式为HH:mm:ss
|
|
508
741
|
|
|
@@ -513,18 +746,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
513
746
|
|
|
514
747
|
@maintain_begin.setter
|
|
515
748
|
def maintain_begin(self, maintain_begin):
|
|
516
|
-
"""Sets the maintain_begin of this ShowInstanceResponse.
|
|
749
|
+
r"""Sets the maintain_begin of this ShowInstanceResponse.
|
|
517
750
|
|
|
518
751
|
维护时间窗开始时间,为UTC时间,格式为HH:mm:ss
|
|
519
752
|
|
|
520
753
|
:param maintain_begin: The maintain_begin of this ShowInstanceResponse.
|
|
521
|
-
:type: str
|
|
754
|
+
:type maintain_begin: str
|
|
522
755
|
"""
|
|
523
756
|
self._maintain_begin = maintain_begin
|
|
524
757
|
|
|
525
758
|
@property
|
|
526
759
|
def maintain_end(self):
|
|
527
|
-
"""Gets the maintain_end of this ShowInstanceResponse.
|
|
760
|
+
r"""Gets the maintain_end of this ShowInstanceResponse.
|
|
528
761
|
|
|
529
762
|
维护时间窗结束时间,为UTC时间,格式为HH:mm:ss
|
|
530
763
|
|
|
@@ -535,18 +768,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
535
768
|
|
|
536
769
|
@maintain_end.setter
|
|
537
770
|
def maintain_end(self, maintain_end):
|
|
538
|
-
"""Sets the maintain_end of this ShowInstanceResponse.
|
|
771
|
+
r"""Sets the maintain_end of this ShowInstanceResponse.
|
|
539
772
|
|
|
540
773
|
维护时间窗结束时间,为UTC时间,格式为HH:mm:ss
|
|
541
774
|
|
|
542
775
|
:param maintain_end: The maintain_end of this ShowInstanceResponse.
|
|
543
|
-
:type: str
|
|
776
|
+
:type maintain_end: str
|
|
544
777
|
"""
|
|
545
778
|
self._maintain_end = maintain_end
|
|
546
779
|
|
|
547
780
|
@property
|
|
548
781
|
def engine(self):
|
|
549
|
-
"""Gets the engine of this ShowInstanceResponse.
|
|
782
|
+
r"""Gets the engine of this ShowInstanceResponse.
|
|
550
783
|
|
|
551
784
|
缓存实例的引擎类型。
|
|
552
785
|
|
|
@@ -557,18 +790,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
557
790
|
|
|
558
791
|
@engine.setter
|
|
559
792
|
def engine(self, engine):
|
|
560
|
-
"""Sets the engine of this ShowInstanceResponse.
|
|
793
|
+
r"""Sets the engine of this ShowInstanceResponse.
|
|
561
794
|
|
|
562
795
|
缓存实例的引擎类型。
|
|
563
796
|
|
|
564
797
|
:param engine: The engine of this ShowInstanceResponse.
|
|
565
|
-
:type: str
|
|
798
|
+
:type engine: str
|
|
566
799
|
"""
|
|
567
800
|
self._engine = engine
|
|
568
801
|
|
|
569
802
|
@property
|
|
570
803
|
def no_password_access(self):
|
|
571
|
-
"""Gets the no_password_access of this ShowInstanceResponse.
|
|
804
|
+
r"""Gets the no_password_access of this ShowInstanceResponse.
|
|
572
805
|
|
|
573
806
|
是否允许免密码访问缓存实例。 - true:该实例无需密码即可访问。 - false:该实例必须通过密码认证才能访问。
|
|
574
807
|
|
|
@@ -579,18 +812,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
579
812
|
|
|
580
813
|
@no_password_access.setter
|
|
581
814
|
def no_password_access(self, no_password_access):
|
|
582
|
-
"""Sets the no_password_access of this ShowInstanceResponse.
|
|
815
|
+
r"""Sets the no_password_access of this ShowInstanceResponse.
|
|
583
816
|
|
|
584
817
|
是否允许免密码访问缓存实例。 - true:该实例无需密码即可访问。 - false:该实例必须通过密码认证才能访问。
|
|
585
818
|
|
|
586
819
|
:param no_password_access: The no_password_access of this ShowInstanceResponse.
|
|
587
|
-
:type: str
|
|
820
|
+
:type no_password_access: str
|
|
588
821
|
"""
|
|
589
822
|
self._no_password_access = no_password_access
|
|
590
823
|
|
|
591
824
|
@property
|
|
592
825
|
def ip(self):
|
|
593
|
-
"""Gets the ip of this ShowInstanceResponse.
|
|
826
|
+
r"""Gets the ip of this ShowInstanceResponse.
|
|
594
827
|
|
|
595
828
|
连接缓存实例的IP地址。如果是集群实例,返回多个IP地址,使用逗号分隔。如:192.168.0.1,192.168.0.2。
|
|
596
829
|
|
|
@@ -601,38 +834,36 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
601
834
|
|
|
602
835
|
@ip.setter
|
|
603
836
|
def ip(self, ip):
|
|
604
|
-
"""Sets the ip of this ShowInstanceResponse.
|
|
837
|
+
r"""Sets the ip of this ShowInstanceResponse.
|
|
605
838
|
|
|
606
839
|
连接缓存实例的IP地址。如果是集群实例,返回多个IP地址,使用逗号分隔。如:192.168.0.1,192.168.0.2。
|
|
607
840
|
|
|
608
841
|
:param ip: The ip of this ShowInstanceResponse.
|
|
609
|
-
:type: str
|
|
842
|
+
:type ip: str
|
|
610
843
|
"""
|
|
611
844
|
self._ip = ip
|
|
612
845
|
|
|
613
846
|
@property
|
|
614
847
|
def instance_backup_policy(self):
|
|
615
|
-
"""Gets the instance_backup_policy of this ShowInstanceResponse.
|
|
616
|
-
|
|
848
|
+
r"""Gets the instance_backup_policy of this ShowInstanceResponse.
|
|
617
849
|
|
|
618
850
|
:return: The instance_backup_policy of this ShowInstanceResponse.
|
|
619
|
-
:rtype:
|
|
851
|
+
:rtype: :class:`huaweicloudsdkdcs.v2.InstanceBackupPolicy`
|
|
620
852
|
"""
|
|
621
853
|
return self._instance_backup_policy
|
|
622
854
|
|
|
623
855
|
@instance_backup_policy.setter
|
|
624
856
|
def instance_backup_policy(self, instance_backup_policy):
|
|
625
|
-
"""Sets the instance_backup_policy of this ShowInstanceResponse.
|
|
626
|
-
|
|
857
|
+
r"""Sets the instance_backup_policy of this ShowInstanceResponse.
|
|
627
858
|
|
|
628
859
|
:param instance_backup_policy: The instance_backup_policy of this ShowInstanceResponse.
|
|
629
|
-
:type:
|
|
860
|
+
:type instance_backup_policy: :class:`huaweicloudsdkdcs.v2.InstanceBackupPolicy`
|
|
630
861
|
"""
|
|
631
862
|
self._instance_backup_policy = instance_backup_policy
|
|
632
863
|
|
|
633
864
|
@property
|
|
634
865
|
def az_codes(self):
|
|
635
|
-
"""Gets the az_codes of this ShowInstanceResponse.
|
|
866
|
+
r"""Gets the az_codes of this ShowInstanceResponse.
|
|
636
867
|
|
|
637
868
|
实例所在的可用区。返回“可用区Code”
|
|
638
869
|
|
|
@@ -643,18 +874,40 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
643
874
|
|
|
644
875
|
@az_codes.setter
|
|
645
876
|
def az_codes(self, az_codes):
|
|
646
|
-
"""Sets the az_codes of this ShowInstanceResponse.
|
|
877
|
+
r"""Sets the az_codes of this ShowInstanceResponse.
|
|
647
878
|
|
|
648
879
|
实例所在的可用区。返回“可用区Code”
|
|
649
880
|
|
|
650
881
|
:param az_codes: The az_codes of this ShowInstanceResponse.
|
|
651
|
-
:type: list[str]
|
|
882
|
+
:type az_codes: list[str]
|
|
652
883
|
"""
|
|
653
884
|
self._az_codes = az_codes
|
|
654
885
|
|
|
886
|
+
@property
|
|
887
|
+
def available_zones(self):
|
|
888
|
+
r"""Gets the available_zones of this ShowInstanceResponse.
|
|
889
|
+
|
|
890
|
+
实例所在的可用区id。返回\"可用区ID\"
|
|
891
|
+
|
|
892
|
+
:return: The available_zones of this ShowInstanceResponse.
|
|
893
|
+
:rtype: list[str]
|
|
894
|
+
"""
|
|
895
|
+
return self._available_zones
|
|
896
|
+
|
|
897
|
+
@available_zones.setter
|
|
898
|
+
def available_zones(self, available_zones):
|
|
899
|
+
r"""Sets the available_zones of this ShowInstanceResponse.
|
|
900
|
+
|
|
901
|
+
实例所在的可用区id。返回\"可用区ID\"
|
|
902
|
+
|
|
903
|
+
:param available_zones: The available_zones of this ShowInstanceResponse.
|
|
904
|
+
:type available_zones: list[str]
|
|
905
|
+
"""
|
|
906
|
+
self._available_zones = available_zones
|
|
907
|
+
|
|
655
908
|
@property
|
|
656
909
|
def access_user(self):
|
|
657
|
-
"""Gets the access_user of this ShowInstanceResponse.
|
|
910
|
+
r"""Gets the access_user of this ShowInstanceResponse.
|
|
658
911
|
|
|
659
912
|
通过密码认证访问缓存实例的认证用户名。
|
|
660
913
|
|
|
@@ -665,18 +918,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
665
918
|
|
|
666
919
|
@access_user.setter
|
|
667
920
|
def access_user(self, access_user):
|
|
668
|
-
"""Sets the access_user of this ShowInstanceResponse.
|
|
921
|
+
r"""Sets the access_user of this ShowInstanceResponse.
|
|
669
922
|
|
|
670
923
|
通过密码认证访问缓存实例的认证用户名。
|
|
671
924
|
|
|
672
925
|
:param access_user: The access_user of this ShowInstanceResponse.
|
|
673
|
-
:type: str
|
|
926
|
+
:type access_user: str
|
|
674
927
|
"""
|
|
675
928
|
self._access_user = access_user
|
|
676
929
|
|
|
677
930
|
@property
|
|
678
931
|
def instance_id(self):
|
|
679
|
-
"""Gets the instance_id of this ShowInstanceResponse.
|
|
932
|
+
r"""Gets the instance_id of this ShowInstanceResponse.
|
|
680
933
|
|
|
681
934
|
实例ID。
|
|
682
935
|
|
|
@@ -687,18 +940,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
687
940
|
|
|
688
941
|
@instance_id.setter
|
|
689
942
|
def instance_id(self, instance_id):
|
|
690
|
-
"""Sets the instance_id of this ShowInstanceResponse.
|
|
943
|
+
r"""Sets the instance_id of this ShowInstanceResponse.
|
|
691
944
|
|
|
692
945
|
实例ID。
|
|
693
946
|
|
|
694
947
|
:param instance_id: The instance_id of this ShowInstanceResponse.
|
|
695
|
-
:type: str
|
|
948
|
+
:type instance_id: str
|
|
696
949
|
"""
|
|
697
950
|
self._instance_id = instance_id
|
|
698
951
|
|
|
699
952
|
@property
|
|
700
953
|
def port(self):
|
|
701
|
-
"""Gets the port of this ShowInstanceResponse.
|
|
954
|
+
r"""Gets the port of this ShowInstanceResponse.
|
|
702
955
|
|
|
703
956
|
缓存的端口。
|
|
704
957
|
|
|
@@ -709,18 +962,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
709
962
|
|
|
710
963
|
@port.setter
|
|
711
964
|
def port(self, port):
|
|
712
|
-
"""Sets the port of this ShowInstanceResponse.
|
|
965
|
+
r"""Sets the port of this ShowInstanceResponse.
|
|
713
966
|
|
|
714
967
|
缓存的端口。
|
|
715
968
|
|
|
716
969
|
:param port: The port of this ShowInstanceResponse.
|
|
717
|
-
:type: int
|
|
970
|
+
:type port: int
|
|
718
971
|
"""
|
|
719
972
|
self._port = port
|
|
720
973
|
|
|
721
974
|
@property
|
|
722
975
|
def user_id(self):
|
|
723
|
-
"""Gets the user_id of this ShowInstanceResponse.
|
|
976
|
+
r"""Gets the user_id of this ShowInstanceResponse.
|
|
724
977
|
|
|
725
978
|
用户id。
|
|
726
979
|
|
|
@@ -731,18 +984,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
731
984
|
|
|
732
985
|
@user_id.setter
|
|
733
986
|
def user_id(self, user_id):
|
|
734
|
-
"""Sets the user_id of this ShowInstanceResponse.
|
|
987
|
+
r"""Sets the user_id of this ShowInstanceResponse.
|
|
735
988
|
|
|
736
989
|
用户id。
|
|
737
990
|
|
|
738
991
|
:param user_id: The user_id of this ShowInstanceResponse.
|
|
739
|
-
:type: str
|
|
992
|
+
:type user_id: str
|
|
740
993
|
"""
|
|
741
994
|
self._user_id = user_id
|
|
742
995
|
|
|
743
996
|
@property
|
|
744
997
|
def name(self):
|
|
745
|
-
"""Gets the name of this ShowInstanceResponse.
|
|
998
|
+
r"""Gets the name of this ShowInstanceResponse.
|
|
746
999
|
|
|
747
1000
|
实例名称。
|
|
748
1001
|
|
|
@@ -753,18 +1006,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
753
1006
|
|
|
754
1007
|
@name.setter
|
|
755
1008
|
def name(self, name):
|
|
756
|
-
"""Sets the name of this ShowInstanceResponse.
|
|
1009
|
+
r"""Sets the name of this ShowInstanceResponse.
|
|
757
1010
|
|
|
758
1011
|
实例名称。
|
|
759
1012
|
|
|
760
1013
|
:param name: The name of this ShowInstanceResponse.
|
|
761
|
-
:type: str
|
|
1014
|
+
:type name: str
|
|
762
1015
|
"""
|
|
763
1016
|
self._name = name
|
|
764
1017
|
|
|
765
1018
|
@property
|
|
766
1019
|
def spec_code(self):
|
|
767
|
-
"""Gets the spec_code of this ShowInstanceResponse.
|
|
1020
|
+
r"""Gets the spec_code of this ShowInstanceResponse.
|
|
768
1021
|
|
|
769
1022
|
产品规格编码
|
|
770
1023
|
|
|
@@ -775,18 +1028,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
775
1028
|
|
|
776
1029
|
@spec_code.setter
|
|
777
1030
|
def spec_code(self, spec_code):
|
|
778
|
-
"""Sets the spec_code of this ShowInstanceResponse.
|
|
1031
|
+
r"""Sets the spec_code of this ShowInstanceResponse.
|
|
779
1032
|
|
|
780
1033
|
产品规格编码
|
|
781
1034
|
|
|
782
1035
|
:param spec_code: The spec_code of this ShowInstanceResponse.
|
|
783
|
-
:type: str
|
|
1036
|
+
:type spec_code: str
|
|
784
1037
|
"""
|
|
785
1038
|
self._spec_code = spec_code
|
|
786
1039
|
|
|
787
1040
|
@property
|
|
788
1041
|
def subnet_id(self):
|
|
789
|
-
"""Gets the subnet_id of this ShowInstanceResponse.
|
|
1042
|
+
r"""Gets the subnet_id of this ShowInstanceResponse.
|
|
790
1043
|
|
|
791
1044
|
子网ID。
|
|
792
1045
|
|
|
@@ -797,18 +1050,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
797
1050
|
|
|
798
1051
|
@subnet_id.setter
|
|
799
1052
|
def subnet_id(self, subnet_id):
|
|
800
|
-
"""Sets the subnet_id of this ShowInstanceResponse.
|
|
1053
|
+
r"""Sets the subnet_id of this ShowInstanceResponse.
|
|
801
1054
|
|
|
802
1055
|
子网ID。
|
|
803
1056
|
|
|
804
1057
|
:param subnet_id: The subnet_id of this ShowInstanceResponse.
|
|
805
|
-
:type: str
|
|
1058
|
+
:type subnet_id: str
|
|
806
1059
|
"""
|
|
807
1060
|
self._subnet_id = subnet_id
|
|
808
1061
|
|
|
809
1062
|
@property
|
|
810
1063
|
def subnet_name(self):
|
|
811
|
-
"""Gets the subnet_name of this ShowInstanceResponse.
|
|
1064
|
+
r"""Gets the subnet_name of this ShowInstanceResponse.
|
|
812
1065
|
|
|
813
1066
|
子网名称。
|
|
814
1067
|
|
|
@@ -819,18 +1072,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
819
1072
|
|
|
820
1073
|
@subnet_name.setter
|
|
821
1074
|
def subnet_name(self, subnet_name):
|
|
822
|
-
"""Sets the subnet_name of this ShowInstanceResponse.
|
|
1075
|
+
r"""Sets the subnet_name of this ShowInstanceResponse.
|
|
823
1076
|
|
|
824
1077
|
子网名称。
|
|
825
1078
|
|
|
826
1079
|
:param subnet_name: The subnet_name of this ShowInstanceResponse.
|
|
827
|
-
:type: str
|
|
1080
|
+
:type subnet_name: str
|
|
828
1081
|
"""
|
|
829
1082
|
self._subnet_name = subnet_name
|
|
830
1083
|
|
|
831
1084
|
@property
|
|
832
1085
|
def subnet_cidr(self):
|
|
833
|
-
"""Gets the subnet_cidr of this ShowInstanceResponse.
|
|
1086
|
+
r"""Gets the subnet_cidr of this ShowInstanceResponse.
|
|
834
1087
|
|
|
835
1088
|
子网网段。
|
|
836
1089
|
|
|
@@ -841,18 +1094,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
841
1094
|
|
|
842
1095
|
@subnet_cidr.setter
|
|
843
1096
|
def subnet_cidr(self, subnet_cidr):
|
|
844
|
-
"""Sets the subnet_cidr of this ShowInstanceResponse.
|
|
1097
|
+
r"""Sets the subnet_cidr of this ShowInstanceResponse.
|
|
845
1098
|
|
|
846
1099
|
子网网段。
|
|
847
1100
|
|
|
848
1101
|
:param subnet_cidr: The subnet_cidr of this ShowInstanceResponse.
|
|
849
|
-
:type: str
|
|
1102
|
+
:type subnet_cidr: str
|
|
850
1103
|
"""
|
|
851
1104
|
self._subnet_cidr = subnet_cidr
|
|
852
1105
|
|
|
853
1106
|
@property
|
|
854
1107
|
def engine_version(self):
|
|
855
|
-
"""Gets the engine_version of this ShowInstanceResponse.
|
|
1108
|
+
r"""Gets the engine_version of this ShowInstanceResponse.
|
|
856
1109
|
|
|
857
1110
|
缓存版本。
|
|
858
1111
|
|
|
@@ -863,18 +1116,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
863
1116
|
|
|
864
1117
|
@engine_version.setter
|
|
865
1118
|
def engine_version(self, engine_version):
|
|
866
|
-
"""Sets the engine_version of this ShowInstanceResponse.
|
|
1119
|
+
r"""Sets the engine_version of this ShowInstanceResponse.
|
|
867
1120
|
|
|
868
1121
|
缓存版本。
|
|
869
1122
|
|
|
870
1123
|
:param engine_version: The engine_version of this ShowInstanceResponse.
|
|
871
|
-
:type: str
|
|
1124
|
+
:type engine_version: str
|
|
872
1125
|
"""
|
|
873
1126
|
self._engine_version = engine_version
|
|
874
1127
|
|
|
875
1128
|
@property
|
|
876
1129
|
def order_id(self):
|
|
877
|
-
"""Gets the order_id of this ShowInstanceResponse.
|
|
1130
|
+
r"""Gets the order_id of this ShowInstanceResponse.
|
|
878
1131
|
|
|
879
1132
|
订单ID。
|
|
880
1133
|
|
|
@@ -885,18 +1138,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
885
1138
|
|
|
886
1139
|
@order_id.setter
|
|
887
1140
|
def order_id(self, order_id):
|
|
888
|
-
"""Sets the order_id of this ShowInstanceResponse.
|
|
1141
|
+
r"""Sets the order_id of this ShowInstanceResponse.
|
|
889
1142
|
|
|
890
1143
|
订单ID。
|
|
891
1144
|
|
|
892
1145
|
:param order_id: The order_id of this ShowInstanceResponse.
|
|
893
|
-
:type: str
|
|
1146
|
+
:type order_id: str
|
|
894
1147
|
"""
|
|
895
1148
|
self._order_id = order_id
|
|
896
1149
|
|
|
897
1150
|
@property
|
|
898
1151
|
def status(self):
|
|
899
|
-
"""Gets the status of this ShowInstanceResponse.
|
|
1152
|
+
r"""Gets the status of this ShowInstanceResponse.
|
|
900
1153
|
|
|
901
1154
|
缓存实例的状态。详细状态说明见[缓存实例状态说明](https://support.huaweicloud.com/api-dcs/dcs-api-0312047.html)
|
|
902
1155
|
|
|
@@ -907,18 +1160,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
907
1160
|
|
|
908
1161
|
@status.setter
|
|
909
1162
|
def status(self, status):
|
|
910
|
-
"""Sets the status of this ShowInstanceResponse.
|
|
1163
|
+
r"""Sets the status of this ShowInstanceResponse.
|
|
911
1164
|
|
|
912
1165
|
缓存实例的状态。详细状态说明见[缓存实例状态说明](https://support.huaweicloud.com/api-dcs/dcs-api-0312047.html)
|
|
913
1166
|
|
|
914
1167
|
:param status: The status of this ShowInstanceResponse.
|
|
915
|
-
:type: str
|
|
1168
|
+
:type status: str
|
|
916
1169
|
"""
|
|
917
1170
|
self._status = status
|
|
918
1171
|
|
|
919
1172
|
@property
|
|
920
1173
|
def domain_name(self):
|
|
921
|
-
"""Gets the domain_name of this ShowInstanceResponse.
|
|
1174
|
+
r"""Gets the domain_name of this ShowInstanceResponse.
|
|
922
1175
|
|
|
923
1176
|
实例的域名。
|
|
924
1177
|
|
|
@@ -929,18 +1182,40 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
929
1182
|
|
|
930
1183
|
@domain_name.setter
|
|
931
1184
|
def domain_name(self, domain_name):
|
|
932
|
-
"""Sets the domain_name of this ShowInstanceResponse.
|
|
1185
|
+
r"""Sets the domain_name of this ShowInstanceResponse.
|
|
933
1186
|
|
|
934
1187
|
实例的域名。
|
|
935
1188
|
|
|
936
1189
|
:param domain_name: The domain_name of this ShowInstanceResponse.
|
|
937
|
-
:type: str
|
|
1190
|
+
:type domain_name: str
|
|
938
1191
|
"""
|
|
939
1192
|
self._domain_name = domain_name
|
|
940
1193
|
|
|
1194
|
+
@property
|
|
1195
|
+
def readonly_domain_name(self):
|
|
1196
|
+
r"""Gets the readonly_domain_name of this ShowInstanceResponse.
|
|
1197
|
+
|
|
1198
|
+
实例的只读域名,只有主备实例有该字段。
|
|
1199
|
+
|
|
1200
|
+
:return: The readonly_domain_name of this ShowInstanceResponse.
|
|
1201
|
+
:rtype: str
|
|
1202
|
+
"""
|
|
1203
|
+
return self._readonly_domain_name
|
|
1204
|
+
|
|
1205
|
+
@readonly_domain_name.setter
|
|
1206
|
+
def readonly_domain_name(self, readonly_domain_name):
|
|
1207
|
+
r"""Sets the readonly_domain_name of this ShowInstanceResponse.
|
|
1208
|
+
|
|
1209
|
+
实例的只读域名,只有主备实例有该字段。
|
|
1210
|
+
|
|
1211
|
+
:param readonly_domain_name: The readonly_domain_name of this ShowInstanceResponse.
|
|
1212
|
+
:type readonly_domain_name: str
|
|
1213
|
+
"""
|
|
1214
|
+
self._readonly_domain_name = readonly_domain_name
|
|
1215
|
+
|
|
941
1216
|
@property
|
|
942
1217
|
def enable_publicip(self):
|
|
943
|
-
"""Gets the enable_publicip of this ShowInstanceResponse.
|
|
1218
|
+
r"""Gets the enable_publicip of this ShowInstanceResponse.
|
|
944
1219
|
|
|
945
1220
|
Redis缓存实例是否开启公网访问功能。 - true:开启 - false:不开启
|
|
946
1221
|
|
|
@@ -951,18 +1226,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
951
1226
|
|
|
952
1227
|
@enable_publicip.setter
|
|
953
1228
|
def enable_publicip(self, enable_publicip):
|
|
954
|
-
"""Sets the enable_publicip of this ShowInstanceResponse.
|
|
1229
|
+
r"""Sets the enable_publicip of this ShowInstanceResponse.
|
|
955
1230
|
|
|
956
1231
|
Redis缓存实例是否开启公网访问功能。 - true:开启 - false:不开启
|
|
957
1232
|
|
|
958
1233
|
:param enable_publicip: The enable_publicip of this ShowInstanceResponse.
|
|
959
|
-
:type: bool
|
|
1234
|
+
:type enable_publicip: bool
|
|
960
1235
|
"""
|
|
961
1236
|
self._enable_publicip = enable_publicip
|
|
962
1237
|
|
|
963
1238
|
@property
|
|
964
1239
|
def publicip_id(self):
|
|
965
|
-
"""Gets the publicip_id of this ShowInstanceResponse.
|
|
1240
|
+
r"""Gets the publicip_id of this ShowInstanceResponse.
|
|
966
1241
|
|
|
967
1242
|
Redis缓存实例绑定的弹性IP地址的id。 如果未开启公网访问功能,该字段值为null。
|
|
968
1243
|
|
|
@@ -973,18 +1248,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
973
1248
|
|
|
974
1249
|
@publicip_id.setter
|
|
975
1250
|
def publicip_id(self, publicip_id):
|
|
976
|
-
"""Sets the publicip_id of this ShowInstanceResponse.
|
|
1251
|
+
r"""Sets the publicip_id of this ShowInstanceResponse.
|
|
977
1252
|
|
|
978
1253
|
Redis缓存实例绑定的弹性IP地址的id。 如果未开启公网访问功能,该字段值为null。
|
|
979
1254
|
|
|
980
1255
|
:param publicip_id: The publicip_id of this ShowInstanceResponse.
|
|
981
|
-
:type: str
|
|
1256
|
+
:type publicip_id: str
|
|
982
1257
|
"""
|
|
983
1258
|
self._publicip_id = publicip_id
|
|
984
1259
|
|
|
985
1260
|
@property
|
|
986
1261
|
def publicip_address(self):
|
|
987
|
-
"""Gets the publicip_address of this ShowInstanceResponse.
|
|
1262
|
+
r"""Gets the publicip_address of this ShowInstanceResponse.
|
|
988
1263
|
|
|
989
1264
|
Redis缓存实例绑定的弹性IP地址。 如果未开启公网访问功能,该字段值为null。
|
|
990
1265
|
|
|
@@ -995,18 +1270,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
995
1270
|
|
|
996
1271
|
@publicip_address.setter
|
|
997
1272
|
def publicip_address(self, publicip_address):
|
|
998
|
-
"""Sets the publicip_address of this ShowInstanceResponse.
|
|
1273
|
+
r"""Sets the publicip_address of this ShowInstanceResponse.
|
|
999
1274
|
|
|
1000
1275
|
Redis缓存实例绑定的弹性IP地址。 如果未开启公网访问功能,该字段值为null。
|
|
1001
1276
|
|
|
1002
1277
|
:param publicip_address: The publicip_address of this ShowInstanceResponse.
|
|
1003
|
-
:type: str
|
|
1278
|
+
:type publicip_address: str
|
|
1004
1279
|
"""
|
|
1005
1280
|
self._publicip_address = publicip_address
|
|
1006
1281
|
|
|
1007
1282
|
@property
|
|
1008
1283
|
def enable_ssl(self):
|
|
1009
|
-
"""Gets the enable_ssl of this ShowInstanceResponse.
|
|
1284
|
+
r"""Gets the enable_ssl of this ShowInstanceResponse.
|
|
1010
1285
|
|
|
1011
1286
|
Redis缓存实例开启公网访问功能时,是否选择支持ssl。 - true:开启 - false:不开启
|
|
1012
1287
|
|
|
@@ -1017,18 +1292,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
1017
1292
|
|
|
1018
1293
|
@enable_ssl.setter
|
|
1019
1294
|
def enable_ssl(self, enable_ssl):
|
|
1020
|
-
"""Sets the enable_ssl of this ShowInstanceResponse.
|
|
1295
|
+
r"""Sets the enable_ssl of this ShowInstanceResponse.
|
|
1021
1296
|
|
|
1022
1297
|
Redis缓存实例开启公网访问功能时,是否选择支持ssl。 - true:开启 - false:不开启
|
|
1023
1298
|
|
|
1024
1299
|
:param enable_ssl: The enable_ssl of this ShowInstanceResponse.
|
|
1025
|
-
:type: bool
|
|
1300
|
+
:type enable_ssl: bool
|
|
1026
1301
|
"""
|
|
1027
1302
|
self._enable_ssl = enable_ssl
|
|
1028
1303
|
|
|
1029
1304
|
@property
|
|
1030
1305
|
def service_upgrade(self):
|
|
1031
|
-
"""Gets the service_upgrade of this ShowInstanceResponse.
|
|
1306
|
+
r"""Gets the service_upgrade of this ShowInstanceResponse.
|
|
1032
1307
|
|
|
1033
1308
|
实例是否存在升级任务。 - true:存在 - false:不存在
|
|
1034
1309
|
|
|
@@ -1039,18 +1314,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
1039
1314
|
|
|
1040
1315
|
@service_upgrade.setter
|
|
1041
1316
|
def service_upgrade(self, service_upgrade):
|
|
1042
|
-
"""Sets the service_upgrade of this ShowInstanceResponse.
|
|
1317
|
+
r"""Sets the service_upgrade of this ShowInstanceResponse.
|
|
1043
1318
|
|
|
1044
1319
|
实例是否存在升级任务。 - true:存在 - false:不存在
|
|
1045
1320
|
|
|
1046
1321
|
:param service_upgrade: The service_upgrade of this ShowInstanceResponse.
|
|
1047
|
-
:type: bool
|
|
1322
|
+
:type service_upgrade: bool
|
|
1048
1323
|
"""
|
|
1049
1324
|
self._service_upgrade = service_upgrade
|
|
1050
1325
|
|
|
1051
1326
|
@property
|
|
1052
1327
|
def service_task_id(self):
|
|
1053
|
-
"""Gets the service_task_id of this ShowInstanceResponse.
|
|
1328
|
+
r"""Gets the service_task_id of this ShowInstanceResponse.
|
|
1054
1329
|
|
|
1055
1330
|
升级任务的ID。 - 当service_upgrade为true时,为升级任务的ID。 - 当service_upgrade为false时,该参数为空。
|
|
1056
1331
|
|
|
@@ -1061,18 +1336,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
1061
1336
|
|
|
1062
1337
|
@service_task_id.setter
|
|
1063
1338
|
def service_task_id(self, service_task_id):
|
|
1064
|
-
"""Sets the service_task_id of this ShowInstanceResponse.
|
|
1339
|
+
r"""Sets the service_task_id of this ShowInstanceResponse.
|
|
1065
1340
|
|
|
1066
1341
|
升级任务的ID。 - 当service_upgrade为true时,为升级任务的ID。 - 当service_upgrade为false时,该参数为空。
|
|
1067
1342
|
|
|
1068
1343
|
:param service_task_id: The service_task_id of this ShowInstanceResponse.
|
|
1069
|
-
:type: str
|
|
1344
|
+
:type service_task_id: str
|
|
1070
1345
|
"""
|
|
1071
1346
|
self._service_task_id = service_task_id
|
|
1072
1347
|
|
|
1073
1348
|
@property
|
|
1074
1349
|
def enterprise_project_id(self):
|
|
1075
|
-
"""Gets the enterprise_project_id of this ShowInstanceResponse.
|
|
1350
|
+
r"""Gets the enterprise_project_id of this ShowInstanceResponse.
|
|
1076
1351
|
|
|
1077
1352
|
企业项目ID。
|
|
1078
1353
|
|
|
@@ -1083,18 +1358,18 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
1083
1358
|
|
|
1084
1359
|
@enterprise_project_id.setter
|
|
1085
1360
|
def enterprise_project_id(self, enterprise_project_id):
|
|
1086
|
-
"""Sets the enterprise_project_id of this ShowInstanceResponse.
|
|
1361
|
+
r"""Sets the enterprise_project_id of this ShowInstanceResponse.
|
|
1087
1362
|
|
|
1088
1363
|
企业项目ID。
|
|
1089
1364
|
|
|
1090
1365
|
:param enterprise_project_id: The enterprise_project_id of this ShowInstanceResponse.
|
|
1091
|
-
:type: str
|
|
1366
|
+
:type enterprise_project_id: str
|
|
1092
1367
|
"""
|
|
1093
1368
|
self._enterprise_project_id = enterprise_project_id
|
|
1094
1369
|
|
|
1095
1370
|
@property
|
|
1096
1371
|
def backend_addrs(self):
|
|
1097
|
-
"""Gets the backend_addrs of this ShowInstanceResponse.
|
|
1372
|
+
r"""Gets the backend_addrs of this ShowInstanceResponse.
|
|
1098
1373
|
|
|
1099
1374
|
集群实例的后端服务地址。
|
|
1100
1375
|
|
|
@@ -1105,15 +1380,443 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
1105
1380
|
|
|
1106
1381
|
@backend_addrs.setter
|
|
1107
1382
|
def backend_addrs(self, backend_addrs):
|
|
1108
|
-
"""Sets the backend_addrs of this ShowInstanceResponse.
|
|
1383
|
+
r"""Sets the backend_addrs of this ShowInstanceResponse.
|
|
1109
1384
|
|
|
1110
1385
|
集群实例的后端服务地址。
|
|
1111
1386
|
|
|
1112
1387
|
:param backend_addrs: The backend_addrs of this ShowInstanceResponse.
|
|
1113
|
-
:type: str
|
|
1388
|
+
:type backend_addrs: str
|
|
1114
1389
|
"""
|
|
1115
1390
|
self._backend_addrs = backend_addrs
|
|
1116
1391
|
|
|
1392
|
+
@property
|
|
1393
|
+
def features(self):
|
|
1394
|
+
r"""Gets the features of this ShowInstanceResponse.
|
|
1395
|
+
|
|
1396
|
+
:return: The features of this ShowInstanceResponse.
|
|
1397
|
+
:rtype: :class:`huaweicloudsdkdcs.v2.Features`
|
|
1398
|
+
"""
|
|
1399
|
+
return self._features
|
|
1400
|
+
|
|
1401
|
+
@features.setter
|
|
1402
|
+
def features(self, features):
|
|
1403
|
+
r"""Sets the features of this ShowInstanceResponse.
|
|
1404
|
+
|
|
1405
|
+
:param features: The features of this ShowInstanceResponse.
|
|
1406
|
+
:type features: :class:`huaweicloudsdkdcs.v2.Features`
|
|
1407
|
+
"""
|
|
1408
|
+
self._features = features
|
|
1409
|
+
|
|
1410
|
+
@property
|
|
1411
|
+
def domain_name_info(self):
|
|
1412
|
+
r"""Gets the domain_name_info of this ShowInstanceResponse.
|
|
1413
|
+
|
|
1414
|
+
:return: The domain_name_info of this ShowInstanceResponse.
|
|
1415
|
+
:rtype: :class:`huaweicloudsdkdcs.v2.DomainNameInfo`
|
|
1416
|
+
"""
|
|
1417
|
+
return self._domain_name_info
|
|
1418
|
+
|
|
1419
|
+
@domain_name_info.setter
|
|
1420
|
+
def domain_name_info(self, domain_name_info):
|
|
1421
|
+
r"""Sets the domain_name_info of this ShowInstanceResponse.
|
|
1422
|
+
|
|
1423
|
+
:param domain_name_info: The domain_name_info of this ShowInstanceResponse.
|
|
1424
|
+
:type domain_name_info: :class:`huaweicloudsdkdcs.v2.DomainNameInfo`
|
|
1425
|
+
"""
|
|
1426
|
+
self._domain_name_info = domain_name_info
|
|
1427
|
+
|
|
1428
|
+
@property
|
|
1429
|
+
def transparent_client_ip_enable(self):
|
|
1430
|
+
r"""Gets the transparent_client_ip_enable of this ShowInstanceResponse.
|
|
1431
|
+
|
|
1432
|
+
是否开启客户端ip透传。
|
|
1433
|
+
|
|
1434
|
+
:return: The transparent_client_ip_enable of this ShowInstanceResponse.
|
|
1435
|
+
:rtype: bool
|
|
1436
|
+
"""
|
|
1437
|
+
return self._transparent_client_ip_enable
|
|
1438
|
+
|
|
1439
|
+
@transparent_client_ip_enable.setter
|
|
1440
|
+
def transparent_client_ip_enable(self, transparent_client_ip_enable):
|
|
1441
|
+
r"""Sets the transparent_client_ip_enable of this ShowInstanceResponse.
|
|
1442
|
+
|
|
1443
|
+
是否开启客户端ip透传。
|
|
1444
|
+
|
|
1445
|
+
:param transparent_client_ip_enable: The transparent_client_ip_enable of this ShowInstanceResponse.
|
|
1446
|
+
:type transparent_client_ip_enable: bool
|
|
1447
|
+
"""
|
|
1448
|
+
self._transparent_client_ip_enable = transparent_client_ip_enable
|
|
1449
|
+
|
|
1450
|
+
@property
|
|
1451
|
+
def sub_status(self):
|
|
1452
|
+
r"""Gets the sub_status of this ShowInstanceResponse.
|
|
1453
|
+
|
|
1454
|
+
实例子状态。
|
|
1455
|
+
|
|
1456
|
+
:return: The sub_status of this ShowInstanceResponse.
|
|
1457
|
+
:rtype: str
|
|
1458
|
+
"""
|
|
1459
|
+
return self._sub_status
|
|
1460
|
+
|
|
1461
|
+
@sub_status.setter
|
|
1462
|
+
def sub_status(self, sub_status):
|
|
1463
|
+
r"""Sets the sub_status of this ShowInstanceResponse.
|
|
1464
|
+
|
|
1465
|
+
实例子状态。
|
|
1466
|
+
|
|
1467
|
+
:param sub_status: The sub_status of this ShowInstanceResponse.
|
|
1468
|
+
:type sub_status: str
|
|
1469
|
+
"""
|
|
1470
|
+
self._sub_status = sub_status
|
|
1471
|
+
|
|
1472
|
+
@property
|
|
1473
|
+
def tags(self):
|
|
1474
|
+
r"""Gets the tags of this ShowInstanceResponse.
|
|
1475
|
+
|
|
1476
|
+
实例标签键值。
|
|
1477
|
+
|
|
1478
|
+
:return: The tags of this ShowInstanceResponse.
|
|
1479
|
+
:rtype: list[:class:`huaweicloudsdkdcs.v2.ResourceTag`]
|
|
1480
|
+
"""
|
|
1481
|
+
return self._tags
|
|
1482
|
+
|
|
1483
|
+
@tags.setter
|
|
1484
|
+
def tags(self, tags):
|
|
1485
|
+
r"""Sets the tags of this ShowInstanceResponse.
|
|
1486
|
+
|
|
1487
|
+
实例标签键值。
|
|
1488
|
+
|
|
1489
|
+
:param tags: The tags of this ShowInstanceResponse.
|
|
1490
|
+
:type tags: list[:class:`huaweicloudsdkdcs.v2.ResourceTag`]
|
|
1491
|
+
"""
|
|
1492
|
+
self._tags = tags
|
|
1493
|
+
|
|
1494
|
+
@property
|
|
1495
|
+
def cpu_type(self):
|
|
1496
|
+
r"""Gets the cpu_type of this ShowInstanceResponse.
|
|
1497
|
+
|
|
1498
|
+
实例CPU类型,通常为x86_64或aarch64
|
|
1499
|
+
|
|
1500
|
+
:return: The cpu_type of this ShowInstanceResponse.
|
|
1501
|
+
:rtype: str
|
|
1502
|
+
"""
|
|
1503
|
+
return self._cpu_type
|
|
1504
|
+
|
|
1505
|
+
@cpu_type.setter
|
|
1506
|
+
def cpu_type(self, cpu_type):
|
|
1507
|
+
r"""Sets the cpu_type of this ShowInstanceResponse.
|
|
1508
|
+
|
|
1509
|
+
实例CPU类型,通常为x86_64或aarch64
|
|
1510
|
+
|
|
1511
|
+
:param cpu_type: The cpu_type of this ShowInstanceResponse.
|
|
1512
|
+
:type cpu_type: str
|
|
1513
|
+
"""
|
|
1514
|
+
self._cpu_type = cpu_type
|
|
1515
|
+
|
|
1516
|
+
@property
|
|
1517
|
+
def enterprise_project_name(self):
|
|
1518
|
+
r"""Gets the enterprise_project_name of this ShowInstanceResponse.
|
|
1519
|
+
|
|
1520
|
+
企业项目名称。
|
|
1521
|
+
|
|
1522
|
+
:return: The enterprise_project_name of this ShowInstanceResponse.
|
|
1523
|
+
:rtype: str
|
|
1524
|
+
"""
|
|
1525
|
+
return self._enterprise_project_name
|
|
1526
|
+
|
|
1527
|
+
@enterprise_project_name.setter
|
|
1528
|
+
def enterprise_project_name(self, enterprise_project_name):
|
|
1529
|
+
r"""Sets the enterprise_project_name of this ShowInstanceResponse.
|
|
1530
|
+
|
|
1531
|
+
企业项目名称。
|
|
1532
|
+
|
|
1533
|
+
:param enterprise_project_name: The enterprise_project_name of this ShowInstanceResponse.
|
|
1534
|
+
:type enterprise_project_name: str
|
|
1535
|
+
"""
|
|
1536
|
+
self._enterprise_project_name = enterprise_project_name
|
|
1537
|
+
|
|
1538
|
+
@property
|
|
1539
|
+
def update_at(self):
|
|
1540
|
+
r"""Gets the update_at of this ShowInstanceResponse.
|
|
1541
|
+
|
|
1542
|
+
更新时间,形如2022-07-06T09:32:16.502Z
|
|
1543
|
+
|
|
1544
|
+
:return: The update_at of this ShowInstanceResponse.
|
|
1545
|
+
:rtype: str
|
|
1546
|
+
"""
|
|
1547
|
+
return self._update_at
|
|
1548
|
+
|
|
1549
|
+
@update_at.setter
|
|
1550
|
+
def update_at(self, update_at):
|
|
1551
|
+
r"""Sets the update_at of this ShowInstanceResponse.
|
|
1552
|
+
|
|
1553
|
+
更新时间,形如2022-07-06T09:32:16.502Z
|
|
1554
|
+
|
|
1555
|
+
:param update_at: The update_at of this ShowInstanceResponse.
|
|
1556
|
+
:type update_at: str
|
|
1557
|
+
"""
|
|
1558
|
+
self._update_at = update_at
|
|
1559
|
+
|
|
1560
|
+
@property
|
|
1561
|
+
def product_type(self):
|
|
1562
|
+
r"""Gets the product_type of this ShowInstanceResponse.
|
|
1563
|
+
|
|
1564
|
+
版本类型:社区版、企业版
|
|
1565
|
+
|
|
1566
|
+
:return: The product_type of this ShowInstanceResponse.
|
|
1567
|
+
:rtype: str
|
|
1568
|
+
"""
|
|
1569
|
+
return self._product_type
|
|
1570
|
+
|
|
1571
|
+
@product_type.setter
|
|
1572
|
+
def product_type(self, product_type):
|
|
1573
|
+
r"""Sets the product_type of this ShowInstanceResponse.
|
|
1574
|
+
|
|
1575
|
+
版本类型:社区版、企业版
|
|
1576
|
+
|
|
1577
|
+
:param product_type: The product_type of this ShowInstanceResponse.
|
|
1578
|
+
:type product_type: str
|
|
1579
|
+
"""
|
|
1580
|
+
self._product_type = product_type
|
|
1581
|
+
|
|
1582
|
+
@property
|
|
1583
|
+
def storage_type(self):
|
|
1584
|
+
r"""Gets the storage_type of this ShowInstanceResponse.
|
|
1585
|
+
|
|
1586
|
+
存储类型:内存存储
|
|
1587
|
+
|
|
1588
|
+
:return: The storage_type of this ShowInstanceResponse.
|
|
1589
|
+
:rtype: str
|
|
1590
|
+
"""
|
|
1591
|
+
return self._storage_type
|
|
1592
|
+
|
|
1593
|
+
@storage_type.setter
|
|
1594
|
+
def storage_type(self, storage_type):
|
|
1595
|
+
r"""Sets the storage_type of this ShowInstanceResponse.
|
|
1596
|
+
|
|
1597
|
+
存储类型:内存存储
|
|
1598
|
+
|
|
1599
|
+
:param storage_type: The storage_type of this ShowInstanceResponse.
|
|
1600
|
+
:type storage_type: str
|
|
1601
|
+
"""
|
|
1602
|
+
self._storage_type = storage_type
|
|
1603
|
+
|
|
1604
|
+
@property
|
|
1605
|
+
def launched_at(self):
|
|
1606
|
+
r"""Gets the launched_at of this ShowInstanceResponse.
|
|
1607
|
+
|
|
1608
|
+
启动时间,形如2022-07-06T09:32:16.502Z
|
|
1609
|
+
|
|
1610
|
+
:return: The launched_at of this ShowInstanceResponse.
|
|
1611
|
+
:rtype: str
|
|
1612
|
+
"""
|
|
1613
|
+
return self._launched_at
|
|
1614
|
+
|
|
1615
|
+
@launched_at.setter
|
|
1616
|
+
def launched_at(self, launched_at):
|
|
1617
|
+
r"""Sets the launched_at of this ShowInstanceResponse.
|
|
1618
|
+
|
|
1619
|
+
启动时间,形如2022-07-06T09:32:16.502Z
|
|
1620
|
+
|
|
1621
|
+
:param launched_at: The launched_at of this ShowInstanceResponse.
|
|
1622
|
+
:type launched_at: str
|
|
1623
|
+
"""
|
|
1624
|
+
self._launched_at = launched_at
|
|
1625
|
+
|
|
1626
|
+
@property
|
|
1627
|
+
def cache_mode(self):
|
|
1628
|
+
r"""Gets the cache_mode of this ShowInstanceResponse.
|
|
1629
|
+
|
|
1630
|
+
缓存类型:单机类型,主备类型,主备读写分离,Proxy集群类型,原生集群类型
|
|
1631
|
+
|
|
1632
|
+
:return: The cache_mode of this ShowInstanceResponse.
|
|
1633
|
+
:rtype: str
|
|
1634
|
+
"""
|
|
1635
|
+
return self._cache_mode
|
|
1636
|
+
|
|
1637
|
+
@cache_mode.setter
|
|
1638
|
+
def cache_mode(self, cache_mode):
|
|
1639
|
+
r"""Sets the cache_mode of this ShowInstanceResponse.
|
|
1640
|
+
|
|
1641
|
+
缓存类型:单机类型,主备类型,主备读写分离,Proxy集群类型,原生集群类型
|
|
1642
|
+
|
|
1643
|
+
:param cache_mode: The cache_mode of this ShowInstanceResponse.
|
|
1644
|
+
:type cache_mode: str
|
|
1645
|
+
"""
|
|
1646
|
+
self._cache_mode = cache_mode
|
|
1647
|
+
|
|
1648
|
+
@property
|
|
1649
|
+
def support_slow_log_flag(self):
|
|
1650
|
+
r"""Gets the support_slow_log_flag of this ShowInstanceResponse.
|
|
1651
|
+
|
|
1652
|
+
是否支持慢日志
|
|
1653
|
+
|
|
1654
|
+
:return: The support_slow_log_flag of this ShowInstanceResponse.
|
|
1655
|
+
:rtype: str
|
|
1656
|
+
"""
|
|
1657
|
+
return self._support_slow_log_flag
|
|
1658
|
+
|
|
1659
|
+
@support_slow_log_flag.setter
|
|
1660
|
+
def support_slow_log_flag(self, support_slow_log_flag):
|
|
1661
|
+
r"""Sets the support_slow_log_flag of this ShowInstanceResponse.
|
|
1662
|
+
|
|
1663
|
+
是否支持慢日志
|
|
1664
|
+
|
|
1665
|
+
:param support_slow_log_flag: The support_slow_log_flag of this ShowInstanceResponse.
|
|
1666
|
+
:type support_slow_log_flag: str
|
|
1667
|
+
"""
|
|
1668
|
+
self._support_slow_log_flag = support_slow_log_flag
|
|
1669
|
+
|
|
1670
|
+
@property
|
|
1671
|
+
def db_number(self):
|
|
1672
|
+
r"""Gets the db_number of this ShowInstanceResponse.
|
|
1673
|
+
|
|
1674
|
+
数据库数量
|
|
1675
|
+
|
|
1676
|
+
:return: The db_number of this ShowInstanceResponse.
|
|
1677
|
+
:rtype: int
|
|
1678
|
+
"""
|
|
1679
|
+
return self._db_number
|
|
1680
|
+
|
|
1681
|
+
@db_number.setter
|
|
1682
|
+
def db_number(self, db_number):
|
|
1683
|
+
r"""Sets the db_number of this ShowInstanceResponse.
|
|
1684
|
+
|
|
1685
|
+
数据库数量
|
|
1686
|
+
|
|
1687
|
+
:param db_number: The db_number of this ShowInstanceResponse.
|
|
1688
|
+
:type db_number: int
|
|
1689
|
+
"""
|
|
1690
|
+
self._db_number = db_number
|
|
1691
|
+
|
|
1692
|
+
@property
|
|
1693
|
+
def replica_count(self):
|
|
1694
|
+
r"""Gets the replica_count of this ShowInstanceResponse.
|
|
1695
|
+
|
|
1696
|
+
副本数
|
|
1697
|
+
|
|
1698
|
+
:return: The replica_count of this ShowInstanceResponse.
|
|
1699
|
+
:rtype: int
|
|
1700
|
+
"""
|
|
1701
|
+
return self._replica_count
|
|
1702
|
+
|
|
1703
|
+
@replica_count.setter
|
|
1704
|
+
def replica_count(self, replica_count):
|
|
1705
|
+
r"""Sets the replica_count of this ShowInstanceResponse.
|
|
1706
|
+
|
|
1707
|
+
副本数
|
|
1708
|
+
|
|
1709
|
+
:param replica_count: The replica_count of this ShowInstanceResponse.
|
|
1710
|
+
:type replica_count: int
|
|
1711
|
+
"""
|
|
1712
|
+
self._replica_count = replica_count
|
|
1713
|
+
|
|
1714
|
+
@property
|
|
1715
|
+
def sharding_count(self):
|
|
1716
|
+
r"""Gets the sharding_count of this ShowInstanceResponse.
|
|
1717
|
+
|
|
1718
|
+
集群实例分片个数
|
|
1719
|
+
|
|
1720
|
+
:return: The sharding_count of this ShowInstanceResponse.
|
|
1721
|
+
:rtype: int
|
|
1722
|
+
"""
|
|
1723
|
+
return self._sharding_count
|
|
1724
|
+
|
|
1725
|
+
@sharding_count.setter
|
|
1726
|
+
def sharding_count(self, sharding_count):
|
|
1727
|
+
r"""Sets the sharding_count of this ShowInstanceResponse.
|
|
1728
|
+
|
|
1729
|
+
集群实例分片个数
|
|
1730
|
+
|
|
1731
|
+
:param sharding_count: The sharding_count of this ShowInstanceResponse.
|
|
1732
|
+
:type sharding_count: int
|
|
1733
|
+
"""
|
|
1734
|
+
self._sharding_count = sharding_count
|
|
1735
|
+
|
|
1736
|
+
@property
|
|
1737
|
+
def bandwidth_info(self):
|
|
1738
|
+
r"""Gets the bandwidth_info of this ShowInstanceResponse.
|
|
1739
|
+
|
|
1740
|
+
:return: The bandwidth_info of this ShowInstanceResponse.
|
|
1741
|
+
:rtype: :class:`huaweicloudsdkdcs.v2.BandwidthInfo`
|
|
1742
|
+
"""
|
|
1743
|
+
return self._bandwidth_info
|
|
1744
|
+
|
|
1745
|
+
@bandwidth_info.setter
|
|
1746
|
+
def bandwidth_info(self, bandwidth_info):
|
|
1747
|
+
r"""Sets the bandwidth_info of this ShowInstanceResponse.
|
|
1748
|
+
|
|
1749
|
+
:param bandwidth_info: The bandwidth_info of this ShowInstanceResponse.
|
|
1750
|
+
:type bandwidth_info: :class:`huaweicloudsdkdcs.v2.BandwidthInfo`
|
|
1751
|
+
"""
|
|
1752
|
+
self._bandwidth_info = bandwidth_info
|
|
1753
|
+
|
|
1754
|
+
@property
|
|
1755
|
+
def cloud_service_type_code(self):
|
|
1756
|
+
r"""Gets the cloud_service_type_code of this ShowInstanceResponse.
|
|
1757
|
+
|
|
1758
|
+
云服务类型编码。
|
|
1759
|
+
|
|
1760
|
+
:return: The cloud_service_type_code of this ShowInstanceResponse.
|
|
1761
|
+
:rtype: str
|
|
1762
|
+
"""
|
|
1763
|
+
return self._cloud_service_type_code
|
|
1764
|
+
|
|
1765
|
+
@cloud_service_type_code.setter
|
|
1766
|
+
def cloud_service_type_code(self, cloud_service_type_code):
|
|
1767
|
+
r"""Sets the cloud_service_type_code of this ShowInstanceResponse.
|
|
1768
|
+
|
|
1769
|
+
云服务类型编码。
|
|
1770
|
+
|
|
1771
|
+
:param cloud_service_type_code: The cloud_service_type_code of this ShowInstanceResponse.
|
|
1772
|
+
:type cloud_service_type_code: str
|
|
1773
|
+
"""
|
|
1774
|
+
self._cloud_service_type_code = cloud_service_type_code
|
|
1775
|
+
|
|
1776
|
+
@property
|
|
1777
|
+
def cloud_resource_type_code(self):
|
|
1778
|
+
r"""Gets the cloud_resource_type_code of this ShowInstanceResponse.
|
|
1779
|
+
|
|
1780
|
+
云资源类型编码。
|
|
1781
|
+
|
|
1782
|
+
:return: The cloud_resource_type_code of this ShowInstanceResponse.
|
|
1783
|
+
:rtype: str
|
|
1784
|
+
"""
|
|
1785
|
+
return self._cloud_resource_type_code
|
|
1786
|
+
|
|
1787
|
+
@cloud_resource_type_code.setter
|
|
1788
|
+
def cloud_resource_type_code(self, cloud_resource_type_code):
|
|
1789
|
+
r"""Sets the cloud_resource_type_code of this ShowInstanceResponse.
|
|
1790
|
+
|
|
1791
|
+
云资源类型编码。
|
|
1792
|
+
|
|
1793
|
+
:param cloud_resource_type_code: The cloud_resource_type_code of this ShowInstanceResponse.
|
|
1794
|
+
:type cloud_resource_type_code: str
|
|
1795
|
+
"""
|
|
1796
|
+
self._cloud_resource_type_code = cloud_resource_type_code
|
|
1797
|
+
|
|
1798
|
+
@property
|
|
1799
|
+
def inquery_spec_code(self):
|
|
1800
|
+
r"""Gets the inquery_spec_code of this ShowInstanceResponse.
|
|
1801
|
+
|
|
1802
|
+
运营系统中的规格编码
|
|
1803
|
+
|
|
1804
|
+
:return: The inquery_spec_code of this ShowInstanceResponse.
|
|
1805
|
+
:rtype: str
|
|
1806
|
+
"""
|
|
1807
|
+
return self._inquery_spec_code
|
|
1808
|
+
|
|
1809
|
+
@inquery_spec_code.setter
|
|
1810
|
+
def inquery_spec_code(self, inquery_spec_code):
|
|
1811
|
+
r"""Sets the inquery_spec_code of this ShowInstanceResponse.
|
|
1812
|
+
|
|
1813
|
+
运营系统中的规格编码
|
|
1814
|
+
|
|
1815
|
+
:param inquery_spec_code: The inquery_spec_code of this ShowInstanceResponse.
|
|
1816
|
+
:type inquery_spec_code: str
|
|
1817
|
+
"""
|
|
1818
|
+
self._inquery_spec_code = inquery_spec_code
|
|
1819
|
+
|
|
1117
1820
|
def to_dict(self):
|
|
1118
1821
|
"""Returns the model properties as a dict"""
|
|
1119
1822
|
result = {}
|
|
@@ -1143,10 +1846,15 @@ class ShowInstanceResponse(SdkResponse):
|
|
|
1143
1846
|
|
|
1144
1847
|
def to_str(self):
|
|
1145
1848
|
"""Returns the string representation of the model"""
|
|
1146
|
-
|
|
1849
|
+
import simplejson as json
|
|
1850
|
+
if six.PY2:
|
|
1851
|
+
import sys
|
|
1852
|
+
reload(sys)
|
|
1853
|
+
sys.setdefaultencoding("utf-8")
|
|
1854
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
1147
1855
|
|
|
1148
1856
|
def __repr__(self):
|
|
1149
|
-
"""For `print`
|
|
1857
|
+
"""For `print`"""
|
|
1150
1858
|
return self.to_str()
|
|
1151
1859
|
|
|
1152
1860
|
def __eq__(self, other):
|