huaweicloudsdkdcs 3.1.176__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.

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