huaweicloudsdksfsturbo 3.1.160__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. huaweicloudsdksfsturbo/__init__.py +0 -0
  2. huaweicloudsdksfsturbo/v1/__init__.py +187 -0
  3. huaweicloudsdksfsturbo/v1/model/__init__.py +184 -0
  4. huaweicloudsdksfsturbo/v1/model/action_progress.py +115 -0
  5. huaweicloudsdksfsturbo/v1/model/add_active_directory_domain_request.py +139 -0
  6. huaweicloudsdksfsturbo/v1/model/add_active_directory_domain_request_body.py +313 -0
  7. huaweicloudsdksfsturbo/v1/model/add_active_directory_domain_response.py +141 -0
  8. huaweicloudsdksfsturbo/v1/model/auto_export_policy.py +173 -0
  9. huaweicloudsdksfsturbo/v1/model/batch_add_shared_tags_request.py +139 -0
  10. huaweicloudsdksfsturbo/v1/model/batch_add_shared_tags_request_body.py +142 -0
  11. huaweicloudsdksfsturbo/v1/model/batch_add_shared_tags_response.py +85 -0
  12. huaweicloudsdksfsturbo/v1/model/bss_info.py +200 -0
  13. huaweicloudsdksfsturbo/v1/model/bss_info_extend.py +115 -0
  14. huaweicloudsdksfsturbo/v1/model/change_security_group.py +114 -0
  15. huaweicloudsdksfsturbo/v1/model/change_security_group_request.py +139 -0
  16. huaweicloudsdksfsturbo/v1/model/change_security_group_request_body.py +110 -0
  17. huaweicloudsdksfsturbo/v1/model/change_security_group_response.py +116 -0
  18. huaweicloudsdksfsturbo/v1/model/change_share_charge_mode_request_body.py +110 -0
  19. huaweicloudsdksfsturbo/v1/model/change_share_charge_mode_v2_request.py +139 -0
  20. huaweicloudsdksfsturbo/v1/model/change_share_charge_mode_v2_response.py +141 -0
  21. huaweicloudsdksfsturbo/v1/model/change_share_name_req.py +110 -0
  22. huaweicloudsdksfsturbo/v1/model/change_share_name_request.py +139 -0
  23. huaweicloudsdksfsturbo/v1/model/change_share_name_response.py +85 -0
  24. huaweicloudsdksfsturbo/v1/model/client_ip_info.py +115 -0
  25. huaweicloudsdksfsturbo/v1/model/config_nas_target.py +170 -0
  26. huaweicloudsdksfsturbo/v1/model/create_backend_target_request.py +139 -0
  27. huaweicloudsdksfsturbo/v1/model/create_backend_target_request_body.py +138 -0
  28. huaweicloudsdksfsturbo/v1/model/create_backend_target_response.py +278 -0
  29. huaweicloudsdksfsturbo/v1/model/create_fs_dir_quota_request.py +139 -0
  30. huaweicloudsdksfsturbo/v1/model/create_fs_dir_quota_request_body.py +172 -0
  31. huaweicloudsdksfsturbo/v1/model/create_fs_dir_quota_response.py +232 -0
  32. huaweicloudsdksfsturbo/v1/model/create_fs_dir_request.py +139 -0
  33. huaweicloudsdksfsturbo/v1/model/create_fs_dir_request_body.py +201 -0
  34. huaweicloudsdksfsturbo/v1/model/create_fs_dir_response.py +85 -0
  35. huaweicloudsdksfsturbo/v1/model/create_fs_task_request.py +167 -0
  36. huaweicloudsdksfsturbo/v1/model/create_fs_task_response.py +141 -0
  37. huaweicloudsdksfsturbo/v1/model/create_hpc_cache_task_req.py +253 -0
  38. huaweicloudsdksfsturbo/v1/model/create_hpc_cache_task_request.py +139 -0
  39. huaweicloudsdksfsturbo/v1/model/create_hpc_cache_task_response.py +141 -0
  40. huaweicloudsdksfsturbo/v1/model/create_ldap_config_request.py +139 -0
  41. huaweicloudsdksfsturbo/v1/model/create_ldap_config_request_body.py +345 -0
  42. huaweicloudsdksfsturbo/v1/model/create_ldap_config_response.py +141 -0
  43. huaweicloudsdksfsturbo/v1/model/create_perm_rule_request.py +139 -0
  44. huaweicloudsdksfsturbo/v1/model/create_perm_rule_response.py +116 -0
  45. huaweicloudsdksfsturbo/v1/model/create_perm_rules_request_body.py +114 -0
  46. huaweicloudsdksfsturbo/v1/model/create_share_request.py +111 -0
  47. huaweicloudsdksfsturbo/v1/model/create_share_request_body.py +135 -0
  48. huaweicloudsdksfsturbo/v1/model/create_share_response.py +174 -0
  49. huaweicloudsdksfsturbo/v1/model/create_shared_tag_request.py +139 -0
  50. huaweicloudsdksfsturbo/v1/model/create_shared_tag_request_body.py +110 -0
  51. huaweicloudsdksfsturbo/v1/model/create_shared_tag_response.py +85 -0
  52. huaweicloudsdksfsturbo/v1/model/delete_active_directory_domain_request.py +139 -0
  53. huaweicloudsdksfsturbo/v1/model/delete_active_directory_domain_request_body.py +142 -0
  54. huaweicloudsdksfsturbo/v1/model/delete_active_directory_domain_response.py +141 -0
  55. huaweicloudsdksfsturbo/v1/model/delete_backend_target_request.py +171 -0
  56. huaweicloudsdksfsturbo/v1/model/delete_backend_target_response.py +199 -0
  57. huaweicloudsdksfsturbo/v1/model/delete_fs_dir_quota_request.py +139 -0
  58. huaweicloudsdksfsturbo/v1/model/delete_fs_dir_quota_request_body.py +114 -0
  59. huaweicloudsdksfsturbo/v1/model/delete_fs_dir_quota_response.py +85 -0
  60. huaweicloudsdksfsturbo/v1/model/delete_fs_dir_request.py +139 -0
  61. huaweicloudsdksfsturbo/v1/model/delete_fs_dir_request_body.py +114 -0
  62. huaweicloudsdksfsturbo/v1/model/delete_fs_dir_response.py +85 -0
  63. huaweicloudsdksfsturbo/v1/model/delete_fs_task_request.py +170 -0
  64. huaweicloudsdksfsturbo/v1/model/delete_fs_task_response.py +112 -0
  65. huaweicloudsdksfsturbo/v1/model/delete_hpc_cache_task_request.py +142 -0
  66. huaweicloudsdksfsturbo/v1/model/delete_hpc_cache_task_response.py +112 -0
  67. huaweicloudsdksfsturbo/v1/model/delete_ldap_config_request.py +114 -0
  68. huaweicloudsdksfsturbo/v1/model/delete_ldap_config_response.py +141 -0
  69. huaweicloudsdksfsturbo/v1/model/delete_perm_rule_request.py +142 -0
  70. huaweicloudsdksfsturbo/v1/model/delete_perm_rule_response.py +85 -0
  71. huaweicloudsdksfsturbo/v1/model/delete_share_request.py +114 -0
  72. huaweicloudsdksfsturbo/v1/model/delete_share_response.py +85 -0
  73. huaweicloudsdksfsturbo/v1/model/delete_shared_tag_request.py +142 -0
  74. huaweicloudsdksfsturbo/v1/model/delete_shared_tag_response.py +85 -0
  75. huaweicloudsdksfsturbo/v1/model/expand_share_request.py +139 -0
  76. huaweicloudsdksfsturbo/v1/model/expand_share_request_body.py +110 -0
  77. huaweicloudsdksfsturbo/v1/model/expand_share_response.py +145 -0
  78. huaweicloudsdksfsturbo/v1/model/extend.py +168 -0
  79. huaweicloudsdksfsturbo/v1/model/failure_details_message.py +114 -0
  80. huaweicloudsdksfsturbo/v1/model/fs_dir_req.py +114 -0
  81. huaweicloudsdksfsturbo/v1/model/fs_dir_uasge.py +114 -0
  82. huaweicloudsdksfsturbo/v1/model/fs_du_info.py +198 -0
  83. huaweicloudsdksfsturbo/v1/model/fs_file_count.py +289 -0
  84. huaweicloudsdksfsturbo/v1/model/get_sub_job_detail.py +289 -0
  85. huaweicloudsdksfsturbo/v1/model/list_backend_targets_request.py +172 -0
  86. huaweicloudsdksfsturbo/v1/model/list_backend_targets_response.py +170 -0
  87. huaweicloudsdksfsturbo/v1/model/list_fs_tasks_request.py +200 -0
  88. huaweicloudsdksfsturbo/v1/model/list_fs_tasks_response.py +141 -0
  89. huaweicloudsdksfsturbo/v1/model/list_hpc_cache_tasks_request.py +288 -0
  90. huaweicloudsdksfsturbo/v1/model/list_hpc_cache_tasks_response.py +170 -0
  91. huaweicloudsdksfsturbo/v1/model/list_perm_rules_request.py +172 -0
  92. huaweicloudsdksfsturbo/v1/model/list_perm_rules_response.py +116 -0
  93. huaweicloudsdksfsturbo/v1/model/list_share_types_request.py +144 -0
  94. huaweicloudsdksfsturbo/v1/model/list_share_types_response.py +141 -0
  95. huaweicloudsdksfsturbo/v1/model/list_shared_tags_request.py +144 -0
  96. huaweicloudsdksfsturbo/v1/model/list_shared_tags_response.py +116 -0
  97. huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_request.py +111 -0
  98. huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_request_body.py +259 -0
  99. huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_resource.py +202 -0
  100. huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_response.py +170 -0
  101. huaweicloudsdksfsturbo/v1/model/list_shares_request.py +144 -0
  102. huaweicloudsdksfsturbo/v1/model/list_shares_response.py +145 -0
  103. huaweicloudsdksfsturbo/v1/model/metadata.py +231 -0
  104. huaweicloudsdksfsturbo/v1/model/obs_data_repository.py +192 -0
  105. huaweicloudsdksfsturbo/v1/model/obs_data_repository_policy.py +111 -0
  106. huaweicloudsdksfsturbo/v1/model/obs_target_attributes.py +202 -0
  107. huaweicloudsdksfsturbo/v1/model/one_fs_task_resp.py +223 -0
  108. huaweicloudsdksfsturbo/v1/model/one_hpc_cache_task_info_resp.py +366 -0
  109. huaweicloudsdksfsturbo/v1/model/one_perm_rule_request_info.py +170 -0
  110. huaweicloudsdksfsturbo/v1/model/one_perm_rule_response_info.py +198 -0
  111. huaweicloudsdksfsturbo/v1/model/req_config_hpc_cache_backend.py +110 -0
  112. huaweicloudsdksfsturbo/v1/model/req_update_hpc_cache_data.py +171 -0
  113. huaweicloudsdksfsturbo/v1/model/req_update_hpc_cache_info.py +138 -0
  114. huaweicloudsdksfsturbo/v1/model/resource_tag.py +142 -0
  115. huaweicloudsdksfsturbo/v1/model/set_hpc_cache_backend_request.py +139 -0
  116. huaweicloudsdksfsturbo/v1/model/set_hpc_cache_backend_response.py +112 -0
  117. huaweicloudsdksfsturbo/v1/model/share.py +451 -0
  118. huaweicloudsdksfsturbo/v1/model/share_info.py +919 -0
  119. huaweicloudsdksfsturbo/v1/model/share_info_feature.py +173 -0
  120. huaweicloudsdksfsturbo/v1/model/share_info_features.py +111 -0
  121. huaweicloudsdksfsturbo/v1/model/share_name.py +114 -0
  122. huaweicloudsdksfsturbo/v1/model/share_type_available_zone.py +144 -0
  123. huaweicloudsdksfsturbo/v1/model/share_type_response_body.py +368 -0
  124. huaweicloudsdksfsturbo/v1/model/share_type_usage.py +161 -0
  125. huaweicloudsdksfsturbo/v1/model/share_type_usage_bandwidth.py +144 -0
  126. huaweicloudsdksfsturbo/v1/model/share_type_usage_capacity.py +144 -0
  127. huaweicloudsdksfsturbo/v1/model/share_type_usage_quantity.py +144 -0
  128. huaweicloudsdksfsturbo/v1/model/share_types_attribution.py +186 -0
  129. huaweicloudsdksfsturbo/v1/model/share_types_attribution_bandwidth.py +231 -0
  130. huaweicloudsdksfsturbo/v1/model/share_types_attribution_capacity.py +173 -0
  131. huaweicloudsdksfsturbo/v1/model/share_types_attribution_iops.py +144 -0
  132. huaweicloudsdksfsturbo/v1/model/share_types_attribution_single_channel4_k_latency.py +144 -0
  133. huaweicloudsdksfsturbo/v1/model/show_active_directory_domain_request.py +114 -0
  134. huaweicloudsdksfsturbo/v1/model/show_active_directory_domain_response.py +286 -0
  135. huaweicloudsdksfsturbo/v1/model/show_backend_target_info_request.py +142 -0
  136. huaweicloudsdksfsturbo/v1/model/show_backend_target_info_response.py +278 -0
  137. huaweicloudsdksfsturbo/v1/model/show_backend_target_info_response_body.py +252 -0
  138. huaweicloudsdksfsturbo/v1/model/show_client_ip_info_request.py +139 -0
  139. huaweicloudsdksfsturbo/v1/model/show_client_ip_info_request_body.py +110 -0
  140. huaweicloudsdksfsturbo/v1/model/show_client_ip_info_response.py +170 -0
  141. huaweicloudsdksfsturbo/v1/model/show_fs_dir_quota_request.py +142 -0
  142. huaweicloudsdksfsturbo/v1/model/show_fs_dir_quota_response.py +232 -0
  143. huaweicloudsdksfsturbo/v1/model/show_fs_dir_request.py +142 -0
  144. huaweicloudsdksfsturbo/v1/model/show_fs_dir_response.py +203 -0
  145. huaweicloudsdksfsturbo/v1/model/show_fs_dir_usage_request.py +142 -0
  146. huaweicloudsdksfsturbo/v1/model/show_fs_dir_usage_response.py +137 -0
  147. huaweicloudsdksfsturbo/v1/model/show_fs_task_request.py +170 -0
  148. huaweicloudsdksfsturbo/v1/model/show_fs_task_response.py +253 -0
  149. huaweicloudsdksfsturbo/v1/model/show_hpc_cache_task_request.py +142 -0
  150. huaweicloudsdksfsturbo/v1/model/show_hpc_cache_task_response.py +402 -0
  151. huaweicloudsdksfsturbo/v1/model/show_job_detail_request.py +114 -0
  152. huaweicloudsdksfsturbo/v1/model/show_job_detail_response.py +344 -0
  153. huaweicloudsdksfsturbo/v1/model/show_ldap_config_request.py +114 -0
  154. huaweicloudsdksfsturbo/v1/model/show_ldap_config_response.py +344 -0
  155. huaweicloudsdksfsturbo/v1/model/show_perm_rule_request.py +142 -0
  156. huaweicloudsdksfsturbo/v1/model/show_perm_rule_response.py +203 -0
  157. huaweicloudsdksfsturbo/v1/model/show_share_request.py +114 -0
  158. huaweicloudsdksfsturbo/v1/model/show_share_response.py +920 -0
  159. huaweicloudsdksfsturbo/v1/model/show_shared_tags_request.py +114 -0
  160. huaweicloudsdksfsturbo/v1/model/show_shared_tags_response.py +116 -0
  161. huaweicloudsdksfsturbo/v1/model/tag.py +142 -0
  162. huaweicloudsdksfsturbo/v1/model/update_active_directory_domain_request.py +139 -0
  163. huaweicloudsdksfsturbo/v1/model/update_active_directory_domain_request_body.py +313 -0
  164. huaweicloudsdksfsturbo/v1/model/update_active_directory_domain_response.py +141 -0
  165. huaweicloudsdksfsturbo/v1/model/update_fs_dir_quota_request.py +139 -0
  166. huaweicloudsdksfsturbo/v1/model/update_fs_dir_quota_request_body.py +172 -0
  167. huaweicloudsdksfsturbo/v1/model/update_fs_dir_quota_response.py +232 -0
  168. huaweicloudsdksfsturbo/v1/model/update_hpc_share_request.py +139 -0
  169. huaweicloudsdksfsturbo/v1/model/update_hpc_share_request_body.py +142 -0
  170. huaweicloudsdksfsturbo/v1/model/update_hpc_share_response.py +141 -0
  171. huaweicloudsdksfsturbo/v1/model/update_ldap_config_request.py +139 -0
  172. huaweicloudsdksfsturbo/v1/model/update_ldap_config_request_body.py +347 -0
  173. huaweicloudsdksfsturbo/v1/model/update_ldap_config_response.py +141 -0
  174. huaweicloudsdksfsturbo/v1/model/update_obs_target_attributes_request.py +167 -0
  175. huaweicloudsdksfsturbo/v1/model/update_obs_target_attributes_request_body.py +110 -0
  176. huaweicloudsdksfsturbo/v1/model/update_obs_target_attributes_response.py +166 -0
  177. huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_request.py +167 -0
  178. huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_request_body.py +110 -0
  179. huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_response.py +166 -0
  180. huaweicloudsdksfsturbo/v1/model/update_one_perm_rule_request_info.py +144 -0
  181. huaweicloudsdksfsturbo/v1/model/update_perm_rule_request.py +167 -0
  182. huaweicloudsdksfsturbo/v1/model/update_perm_rule_response.py +203 -0
  183. huaweicloudsdksfsturbo/v1/region/__init__.py +0 -0
  184. huaweicloudsdksfsturbo/v1/region/sfsturbo_region.py +118 -0
  185. huaweicloudsdksfsturbo/v1/sfsturbo_async_client.py +3722 -0
  186. huaweicloudsdksfsturbo/v1/sfsturbo_client.py +3719 -0
  187. huaweicloudsdksfsturbo-3.1.160.dist-info/LICENSE +13 -0
  188. huaweicloudsdksfsturbo-3.1.160.dist-info/METADATA +26 -0
  189. huaweicloudsdksfsturbo-3.1.160.dist-info/RECORD +191 -0
  190. huaweicloudsdksfsturbo-3.1.160.dist-info/WHEEL +5 -0
  191. huaweicloudsdksfsturbo-3.1.160.dist-info/top_level.txt +1 -0
@@ -0,0 +1,919 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ShareInfo:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'action_progress': 'ActionProgress',
21
+ 'version': 'str',
22
+ 'avail_capacity': 'str',
23
+ 'availability_zone': 'str',
24
+ 'az_name': 'str',
25
+ 'created_at': 'datetime',
26
+ 'crypt_key_id': 'str',
27
+ 'expand_type': 'str',
28
+ 'export_location': 'str',
29
+ 'id': 'str',
30
+ 'name': 'str',
31
+ 'pay_model': 'str',
32
+ 'region': 'str',
33
+ 'security_group_id': 'str',
34
+ 'share_proto': 'str',
35
+ 'share_type': 'str',
36
+ 'size': 'str',
37
+ 'status': 'str',
38
+ 'sub_status': 'str',
39
+ 'subnet_id': 'str',
40
+ 'vpc_id': 'str',
41
+ 'enterprise_project_id': 'str',
42
+ 'tags': 'list[ResourceTag]',
43
+ 'optional_endpoint': 'str',
44
+ 'hpc_bw': 'str',
45
+ 'instance_id': 'str',
46
+ 'instance_type': 'str',
47
+ 'status_detail': 'str',
48
+ 'features': 'ShareInfoFeatures'
49
+ }
50
+
51
+ attribute_map = {
52
+ 'action_progress': 'action_progress',
53
+ 'version': 'version',
54
+ 'avail_capacity': 'avail_capacity',
55
+ 'availability_zone': 'availability_zone',
56
+ 'az_name': 'az_name',
57
+ 'created_at': 'created_at',
58
+ 'crypt_key_id': 'crypt_key_id',
59
+ 'expand_type': 'expand_type',
60
+ 'export_location': 'export_location',
61
+ 'id': 'id',
62
+ 'name': 'name',
63
+ 'pay_model': 'pay_model',
64
+ 'region': 'region',
65
+ 'security_group_id': 'security_group_id',
66
+ 'share_proto': 'share_proto',
67
+ 'share_type': 'share_type',
68
+ 'size': 'size',
69
+ 'status': 'status',
70
+ 'sub_status': 'sub_status',
71
+ 'subnet_id': 'subnet_id',
72
+ 'vpc_id': 'vpc_id',
73
+ 'enterprise_project_id': 'enterprise_project_id',
74
+ 'tags': 'tags',
75
+ 'optional_endpoint': 'optional_endpoint',
76
+ 'hpc_bw': 'hpc_bw',
77
+ 'instance_id': 'instanceId',
78
+ 'instance_type': 'instanceType',
79
+ 'status_detail': 'statusDetail',
80
+ 'features': 'features'
81
+ }
82
+
83
+ def __init__(self, action_progress=None, version=None, avail_capacity=None, availability_zone=None, az_name=None, created_at=None, crypt_key_id=None, expand_type=None, export_location=None, id=None, name=None, pay_model=None, region=None, security_group_id=None, share_proto=None, share_type=None, size=None, status=None, sub_status=None, subnet_id=None, vpc_id=None, enterprise_project_id=None, tags=None, optional_endpoint=None, hpc_bw=None, instance_id=None, instance_type=None, status_detail=None, features=None):
84
+ r"""ShareInfo
85
+
86
+ The model defined in huaweicloud sdk
87
+
88
+ :param action_progress:
89
+ :type action_progress: :class:`huaweicloudsdksfsturbo.v1.ActionProgress`
90
+ :param version: SFS Turbo文件系统的版本号。
91
+ :type version: str
92
+ :param avail_capacity: SFS Turbo文件系统剩余容量,单位GB。
93
+ :type avail_capacity: str
94
+ :param availability_zone: SFS Turbo文件系统所在可用区编码。
95
+ :type availability_zone: str
96
+ :param az_name: SFS Turbo文件系统所在可用区名称。
97
+ :type az_name: str
98
+ :param created_at: 创建时间。UTC时间,例如:2018-11-19T04:02:03
99
+ :type created_at: datetime
100
+ :param crypt_key_id: 用户指定的加密密钥ID,非加密盘时不返回。
101
+ :type crypt_key_id: str
102
+ :param expand_type: 如果是增强版文件系统,该字段返回bandwidth;如果是20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB,该字段返回hpc;否则不返回。
103
+ :type expand_type: str
104
+ :param export_location: SFS Turbo文件系统的挂载端点。例如\"192.168.0.90:/\"。如果文件系统正在创建,该字段不返回。
105
+ :type export_location: str
106
+ :param id: SFS Turbo的文件系统ID。
107
+ :type id: str
108
+ :param name: 创建时指定的SFS Turbo文件系统名称。
109
+ :type name: str
110
+ :param pay_model: SFS Turbo文件系统的计费模式。'0'代表按需付费,'1'代表包周期计费。如果文件系统正在创建,该字段不返回。
111
+ :type pay_model: str
112
+ :param region: SFS Turbo文件系统所在区域。
113
+ :type region: str
114
+ :param security_group_id: 用户指定的安全组ID。
115
+ :type security_group_id: str
116
+ :param share_proto: SFS Turbo文件系统的协议类型,当前为NFS或 CIFS。
117
+ :type share_proto: str
118
+ :param share_type: SFS Turbo文件系统性能类型,包括“STANDARD”标准型和“PERFORMANCE”性能型。
119
+ :type share_type: str
120
+ :param size: SFS Turbo文件系统总容量,单位GB。
121
+ :type size: str
122
+ :param status: SFS Turbo文件系统的状态。'100'表示创建中,'200'表示可用,'303'表示创建失败,'800'表示实例被冻结。
123
+ :type status: str
124
+ :param sub_status: SFS Turbo文件系统的子状态。当用户未对文件系统有修改类操作时,该字段不返回。 '121'表示扩容中;'132'表示修改安全组中;'137'表示添加VPC中;'138'表示删除VPC中;'150'表示配置联动后端中;'151'表示删除联动后端配置中。 '221'表示扩容成功;'232'表示修改安全组成功;'237'表示添加VPC成功;'238'表示删除VPC成功;'250'表示配置联动后端成功;'251'表示删除联动后端配置成功。 '321'表示扩容失败;'332'表示修改安全组失败;'337'表示添加VPC失败;'338'表示删除VPC失败;'350'表示配置联动后端失败;'351'表示删除联动后端配置失败。
125
+ :type sub_status: str
126
+ :param subnet_id: 用户指定的子网的网络ID。
127
+ :type subnet_id: str
128
+ :param vpc_id: 用户指定的VPC ID。
129
+ :type vpc_id: str
130
+ :param enterprise_project_id: SFS Turbo文件系统绑定的企业项目ID。
131
+ :type enterprise_project_id: str
132
+ :param tags: tag标签的列表。
133
+ :type tags: list[:class:`huaweicloudsdksfsturbo.v1.ResourceTag`]
134
+ :param optional_endpoint: 可选的挂载IP地址。上一代文件系统规格类型不返回该字段。
135
+ :type optional_endpoint: str
136
+ :param hpc_bw: 文件系统的带宽规格。 - \"20M\"表示20MB/s/TiB - \"40M\"表示40MB/s/TiB - \"125M\"表示125MB/s/TiB - \"250M\"表示250MB/s/TiB - \"500M\"表示500MB/s/TiB - \"1000M\"表示1000MB/s/TiB - \"2G\"、\"4G\"、\"8G\"、\"16G\"、\"24G\"、\"32G\"或\"48G\"表示HPC缓存型的带宽规格。
137
+ :type hpc_bw: str
138
+ :param instance_id: 文件系统规格的节点id,为预留字段,不具备实际含义。
139
+ :type instance_id: str
140
+ :param instance_type: 文件系统规格的节点类型,为预留字段,不具备实际含义。
141
+ :type instance_type: str
142
+ :param status_detail: 文件系统的请求ID,为预留字段,不具备实际含义。
143
+ :type status_detail: str
144
+ :param features:
145
+ :type features: :class:`huaweicloudsdksfsturbo.v1.ShareInfoFeatures`
146
+ """
147
+
148
+
149
+
150
+ self._action_progress = None
151
+ self._version = None
152
+ self._avail_capacity = None
153
+ self._availability_zone = None
154
+ self._az_name = None
155
+ self._created_at = None
156
+ self._crypt_key_id = None
157
+ self._expand_type = None
158
+ self._export_location = None
159
+ self._id = None
160
+ self._name = None
161
+ self._pay_model = None
162
+ self._region = None
163
+ self._security_group_id = None
164
+ self._share_proto = None
165
+ self._share_type = None
166
+ self._size = None
167
+ self._status = None
168
+ self._sub_status = None
169
+ self._subnet_id = None
170
+ self._vpc_id = None
171
+ self._enterprise_project_id = None
172
+ self._tags = None
173
+ self._optional_endpoint = None
174
+ self._hpc_bw = None
175
+ self._instance_id = None
176
+ self._instance_type = None
177
+ self._status_detail = None
178
+ self._features = None
179
+ self.discriminator = None
180
+
181
+ if action_progress is not None:
182
+ self.action_progress = action_progress
183
+ if version is not None:
184
+ self.version = version
185
+ if avail_capacity is not None:
186
+ self.avail_capacity = avail_capacity
187
+ if availability_zone is not None:
188
+ self.availability_zone = availability_zone
189
+ if az_name is not None:
190
+ self.az_name = az_name
191
+ if created_at is not None:
192
+ self.created_at = created_at
193
+ if crypt_key_id is not None:
194
+ self.crypt_key_id = crypt_key_id
195
+ if expand_type is not None:
196
+ self.expand_type = expand_type
197
+ if export_location is not None:
198
+ self.export_location = export_location
199
+ if id is not None:
200
+ self.id = id
201
+ if name is not None:
202
+ self.name = name
203
+ if pay_model is not None:
204
+ self.pay_model = pay_model
205
+ if region is not None:
206
+ self.region = region
207
+ if security_group_id is not None:
208
+ self.security_group_id = security_group_id
209
+ if share_proto is not None:
210
+ self.share_proto = share_proto
211
+ if share_type is not None:
212
+ self.share_type = share_type
213
+ if size is not None:
214
+ self.size = size
215
+ if status is not None:
216
+ self.status = status
217
+ if sub_status is not None:
218
+ self.sub_status = sub_status
219
+ if subnet_id is not None:
220
+ self.subnet_id = subnet_id
221
+ if vpc_id is not None:
222
+ self.vpc_id = vpc_id
223
+ if enterprise_project_id is not None:
224
+ self.enterprise_project_id = enterprise_project_id
225
+ if tags is not None:
226
+ self.tags = tags
227
+ if optional_endpoint is not None:
228
+ self.optional_endpoint = optional_endpoint
229
+ if hpc_bw is not None:
230
+ self.hpc_bw = hpc_bw
231
+ if instance_id is not None:
232
+ self.instance_id = instance_id
233
+ if instance_type is not None:
234
+ self.instance_type = instance_type
235
+ if status_detail is not None:
236
+ self.status_detail = status_detail
237
+ if features is not None:
238
+ self.features = features
239
+
240
+ @property
241
+ def action_progress(self):
242
+ r"""Gets the action_progress of this ShareInfo.
243
+
244
+ :return: The action_progress of this ShareInfo.
245
+ :rtype: :class:`huaweicloudsdksfsturbo.v1.ActionProgress`
246
+ """
247
+ return self._action_progress
248
+
249
+ @action_progress.setter
250
+ def action_progress(self, action_progress):
251
+ r"""Sets the action_progress of this ShareInfo.
252
+
253
+ :param action_progress: The action_progress of this ShareInfo.
254
+ :type action_progress: :class:`huaweicloudsdksfsturbo.v1.ActionProgress`
255
+ """
256
+ self._action_progress = action_progress
257
+
258
+ @property
259
+ def version(self):
260
+ r"""Gets the version of this ShareInfo.
261
+
262
+ SFS Turbo文件系统的版本号。
263
+
264
+ :return: The version of this ShareInfo.
265
+ :rtype: str
266
+ """
267
+ return self._version
268
+
269
+ @version.setter
270
+ def version(self, version):
271
+ r"""Sets the version of this ShareInfo.
272
+
273
+ SFS Turbo文件系统的版本号。
274
+
275
+ :param version: The version of this ShareInfo.
276
+ :type version: str
277
+ """
278
+ self._version = version
279
+
280
+ @property
281
+ def avail_capacity(self):
282
+ r"""Gets the avail_capacity of this ShareInfo.
283
+
284
+ SFS Turbo文件系统剩余容量,单位GB。
285
+
286
+ :return: The avail_capacity of this ShareInfo.
287
+ :rtype: str
288
+ """
289
+ return self._avail_capacity
290
+
291
+ @avail_capacity.setter
292
+ def avail_capacity(self, avail_capacity):
293
+ r"""Sets the avail_capacity of this ShareInfo.
294
+
295
+ SFS Turbo文件系统剩余容量,单位GB。
296
+
297
+ :param avail_capacity: The avail_capacity of this ShareInfo.
298
+ :type avail_capacity: str
299
+ """
300
+ self._avail_capacity = avail_capacity
301
+
302
+ @property
303
+ def availability_zone(self):
304
+ r"""Gets the availability_zone of this ShareInfo.
305
+
306
+ SFS Turbo文件系统所在可用区编码。
307
+
308
+ :return: The availability_zone of this ShareInfo.
309
+ :rtype: str
310
+ """
311
+ return self._availability_zone
312
+
313
+ @availability_zone.setter
314
+ def availability_zone(self, availability_zone):
315
+ r"""Sets the availability_zone of this ShareInfo.
316
+
317
+ SFS Turbo文件系统所在可用区编码。
318
+
319
+ :param availability_zone: The availability_zone of this ShareInfo.
320
+ :type availability_zone: str
321
+ """
322
+ self._availability_zone = availability_zone
323
+
324
+ @property
325
+ def az_name(self):
326
+ r"""Gets the az_name of this ShareInfo.
327
+
328
+ SFS Turbo文件系统所在可用区名称。
329
+
330
+ :return: The az_name of this ShareInfo.
331
+ :rtype: str
332
+ """
333
+ return self._az_name
334
+
335
+ @az_name.setter
336
+ def az_name(self, az_name):
337
+ r"""Sets the az_name of this ShareInfo.
338
+
339
+ SFS Turbo文件系统所在可用区名称。
340
+
341
+ :param az_name: The az_name of this ShareInfo.
342
+ :type az_name: str
343
+ """
344
+ self._az_name = az_name
345
+
346
+ @property
347
+ def created_at(self):
348
+ r"""Gets the created_at of this ShareInfo.
349
+
350
+ 创建时间。UTC时间,例如:2018-11-19T04:02:03
351
+
352
+ :return: The created_at of this ShareInfo.
353
+ :rtype: datetime
354
+ """
355
+ return self._created_at
356
+
357
+ @created_at.setter
358
+ def created_at(self, created_at):
359
+ r"""Sets the created_at of this ShareInfo.
360
+
361
+ 创建时间。UTC时间,例如:2018-11-19T04:02:03
362
+
363
+ :param created_at: The created_at of this ShareInfo.
364
+ :type created_at: datetime
365
+ """
366
+ self._created_at = created_at
367
+
368
+ @property
369
+ def crypt_key_id(self):
370
+ r"""Gets the crypt_key_id of this ShareInfo.
371
+
372
+ 用户指定的加密密钥ID,非加密盘时不返回。
373
+
374
+ :return: The crypt_key_id of this ShareInfo.
375
+ :rtype: str
376
+ """
377
+ return self._crypt_key_id
378
+
379
+ @crypt_key_id.setter
380
+ def crypt_key_id(self, crypt_key_id):
381
+ r"""Sets the crypt_key_id of this ShareInfo.
382
+
383
+ 用户指定的加密密钥ID,非加密盘时不返回。
384
+
385
+ :param crypt_key_id: The crypt_key_id of this ShareInfo.
386
+ :type crypt_key_id: str
387
+ """
388
+ self._crypt_key_id = crypt_key_id
389
+
390
+ @property
391
+ def expand_type(self):
392
+ r"""Gets the expand_type of this ShareInfo.
393
+
394
+ 如果是增强版文件系统,该字段返回bandwidth;如果是20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB,该字段返回hpc;否则不返回。
395
+
396
+ :return: The expand_type of this ShareInfo.
397
+ :rtype: str
398
+ """
399
+ return self._expand_type
400
+
401
+ @expand_type.setter
402
+ def expand_type(self, expand_type):
403
+ r"""Sets the expand_type of this ShareInfo.
404
+
405
+ 如果是增强版文件系统,该字段返回bandwidth;如果是20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB,该字段返回hpc;否则不返回。
406
+
407
+ :param expand_type: The expand_type of this ShareInfo.
408
+ :type expand_type: str
409
+ """
410
+ self._expand_type = expand_type
411
+
412
+ @property
413
+ def export_location(self):
414
+ r"""Gets the export_location of this ShareInfo.
415
+
416
+ SFS Turbo文件系统的挂载端点。例如\"192.168.0.90:/\"。如果文件系统正在创建,该字段不返回。
417
+
418
+ :return: The export_location of this ShareInfo.
419
+ :rtype: str
420
+ """
421
+ return self._export_location
422
+
423
+ @export_location.setter
424
+ def export_location(self, export_location):
425
+ r"""Sets the export_location of this ShareInfo.
426
+
427
+ SFS Turbo文件系统的挂载端点。例如\"192.168.0.90:/\"。如果文件系统正在创建,该字段不返回。
428
+
429
+ :param export_location: The export_location of this ShareInfo.
430
+ :type export_location: str
431
+ """
432
+ self._export_location = export_location
433
+
434
+ @property
435
+ def id(self):
436
+ r"""Gets the id of this ShareInfo.
437
+
438
+ SFS Turbo的文件系统ID。
439
+
440
+ :return: The id of this ShareInfo.
441
+ :rtype: str
442
+ """
443
+ return self._id
444
+
445
+ @id.setter
446
+ def id(self, id):
447
+ r"""Sets the id of this ShareInfo.
448
+
449
+ SFS Turbo的文件系统ID。
450
+
451
+ :param id: The id of this ShareInfo.
452
+ :type id: str
453
+ """
454
+ self._id = id
455
+
456
+ @property
457
+ def name(self):
458
+ r"""Gets the name of this ShareInfo.
459
+
460
+ 创建时指定的SFS Turbo文件系统名称。
461
+
462
+ :return: The name of this ShareInfo.
463
+ :rtype: str
464
+ """
465
+ return self._name
466
+
467
+ @name.setter
468
+ def name(self, name):
469
+ r"""Sets the name of this ShareInfo.
470
+
471
+ 创建时指定的SFS Turbo文件系统名称。
472
+
473
+ :param name: The name of this ShareInfo.
474
+ :type name: str
475
+ """
476
+ self._name = name
477
+
478
+ @property
479
+ def pay_model(self):
480
+ r"""Gets the pay_model of this ShareInfo.
481
+
482
+ SFS Turbo文件系统的计费模式。'0'代表按需付费,'1'代表包周期计费。如果文件系统正在创建,该字段不返回。
483
+
484
+ :return: The pay_model of this ShareInfo.
485
+ :rtype: str
486
+ """
487
+ return self._pay_model
488
+
489
+ @pay_model.setter
490
+ def pay_model(self, pay_model):
491
+ r"""Sets the pay_model of this ShareInfo.
492
+
493
+ SFS Turbo文件系统的计费模式。'0'代表按需付费,'1'代表包周期计费。如果文件系统正在创建,该字段不返回。
494
+
495
+ :param pay_model: The pay_model of this ShareInfo.
496
+ :type pay_model: str
497
+ """
498
+ self._pay_model = pay_model
499
+
500
+ @property
501
+ def region(self):
502
+ r"""Gets the region of this ShareInfo.
503
+
504
+ SFS Turbo文件系统所在区域。
505
+
506
+ :return: The region of this ShareInfo.
507
+ :rtype: str
508
+ """
509
+ return self._region
510
+
511
+ @region.setter
512
+ def region(self, region):
513
+ r"""Sets the region of this ShareInfo.
514
+
515
+ SFS Turbo文件系统所在区域。
516
+
517
+ :param region: The region of this ShareInfo.
518
+ :type region: str
519
+ """
520
+ self._region = region
521
+
522
+ @property
523
+ def security_group_id(self):
524
+ r"""Gets the security_group_id of this ShareInfo.
525
+
526
+ 用户指定的安全组ID。
527
+
528
+ :return: The security_group_id of this ShareInfo.
529
+ :rtype: str
530
+ """
531
+ return self._security_group_id
532
+
533
+ @security_group_id.setter
534
+ def security_group_id(self, security_group_id):
535
+ r"""Sets the security_group_id of this ShareInfo.
536
+
537
+ 用户指定的安全组ID。
538
+
539
+ :param security_group_id: The security_group_id of this ShareInfo.
540
+ :type security_group_id: str
541
+ """
542
+ self._security_group_id = security_group_id
543
+
544
+ @property
545
+ def share_proto(self):
546
+ r"""Gets the share_proto of this ShareInfo.
547
+
548
+ SFS Turbo文件系统的协议类型,当前为NFS或 CIFS。
549
+
550
+ :return: The share_proto of this ShareInfo.
551
+ :rtype: str
552
+ """
553
+ return self._share_proto
554
+
555
+ @share_proto.setter
556
+ def share_proto(self, share_proto):
557
+ r"""Sets the share_proto of this ShareInfo.
558
+
559
+ SFS Turbo文件系统的协议类型,当前为NFS或 CIFS。
560
+
561
+ :param share_proto: The share_proto of this ShareInfo.
562
+ :type share_proto: str
563
+ """
564
+ self._share_proto = share_proto
565
+
566
+ @property
567
+ def share_type(self):
568
+ r"""Gets the share_type of this ShareInfo.
569
+
570
+ SFS Turbo文件系统性能类型,包括“STANDARD”标准型和“PERFORMANCE”性能型。
571
+
572
+ :return: The share_type of this ShareInfo.
573
+ :rtype: str
574
+ """
575
+ return self._share_type
576
+
577
+ @share_type.setter
578
+ def share_type(self, share_type):
579
+ r"""Sets the share_type of this ShareInfo.
580
+
581
+ SFS Turbo文件系统性能类型,包括“STANDARD”标准型和“PERFORMANCE”性能型。
582
+
583
+ :param share_type: The share_type of this ShareInfo.
584
+ :type share_type: str
585
+ """
586
+ self._share_type = share_type
587
+
588
+ @property
589
+ def size(self):
590
+ r"""Gets the size of this ShareInfo.
591
+
592
+ SFS Turbo文件系统总容量,单位GB。
593
+
594
+ :return: The size of this ShareInfo.
595
+ :rtype: str
596
+ """
597
+ return self._size
598
+
599
+ @size.setter
600
+ def size(self, size):
601
+ r"""Sets the size of this ShareInfo.
602
+
603
+ SFS Turbo文件系统总容量,单位GB。
604
+
605
+ :param size: The size of this ShareInfo.
606
+ :type size: str
607
+ """
608
+ self._size = size
609
+
610
+ @property
611
+ def status(self):
612
+ r"""Gets the status of this ShareInfo.
613
+
614
+ SFS Turbo文件系统的状态。'100'表示创建中,'200'表示可用,'303'表示创建失败,'800'表示实例被冻结。
615
+
616
+ :return: The status of this ShareInfo.
617
+ :rtype: str
618
+ """
619
+ return self._status
620
+
621
+ @status.setter
622
+ def status(self, status):
623
+ r"""Sets the status of this ShareInfo.
624
+
625
+ SFS Turbo文件系统的状态。'100'表示创建中,'200'表示可用,'303'表示创建失败,'800'表示实例被冻结。
626
+
627
+ :param status: The status of this ShareInfo.
628
+ :type status: str
629
+ """
630
+ self._status = status
631
+
632
+ @property
633
+ def sub_status(self):
634
+ r"""Gets the sub_status of this ShareInfo.
635
+
636
+ SFS Turbo文件系统的子状态。当用户未对文件系统有修改类操作时,该字段不返回。 '121'表示扩容中;'132'表示修改安全组中;'137'表示添加VPC中;'138'表示删除VPC中;'150'表示配置联动后端中;'151'表示删除联动后端配置中。 '221'表示扩容成功;'232'表示修改安全组成功;'237'表示添加VPC成功;'238'表示删除VPC成功;'250'表示配置联动后端成功;'251'表示删除联动后端配置成功。 '321'表示扩容失败;'332'表示修改安全组失败;'337'表示添加VPC失败;'338'表示删除VPC失败;'350'表示配置联动后端失败;'351'表示删除联动后端配置失败。
637
+
638
+ :return: The sub_status of this ShareInfo.
639
+ :rtype: str
640
+ """
641
+ return self._sub_status
642
+
643
+ @sub_status.setter
644
+ def sub_status(self, sub_status):
645
+ r"""Sets the sub_status of this ShareInfo.
646
+
647
+ SFS Turbo文件系统的子状态。当用户未对文件系统有修改类操作时,该字段不返回。 '121'表示扩容中;'132'表示修改安全组中;'137'表示添加VPC中;'138'表示删除VPC中;'150'表示配置联动后端中;'151'表示删除联动后端配置中。 '221'表示扩容成功;'232'表示修改安全组成功;'237'表示添加VPC成功;'238'表示删除VPC成功;'250'表示配置联动后端成功;'251'表示删除联动后端配置成功。 '321'表示扩容失败;'332'表示修改安全组失败;'337'表示添加VPC失败;'338'表示删除VPC失败;'350'表示配置联动后端失败;'351'表示删除联动后端配置失败。
648
+
649
+ :param sub_status: The sub_status of this ShareInfo.
650
+ :type sub_status: str
651
+ """
652
+ self._sub_status = sub_status
653
+
654
+ @property
655
+ def subnet_id(self):
656
+ r"""Gets the subnet_id of this ShareInfo.
657
+
658
+ 用户指定的子网的网络ID。
659
+
660
+ :return: The subnet_id of this ShareInfo.
661
+ :rtype: str
662
+ """
663
+ return self._subnet_id
664
+
665
+ @subnet_id.setter
666
+ def subnet_id(self, subnet_id):
667
+ r"""Sets the subnet_id of this ShareInfo.
668
+
669
+ 用户指定的子网的网络ID。
670
+
671
+ :param subnet_id: The subnet_id of this ShareInfo.
672
+ :type subnet_id: str
673
+ """
674
+ self._subnet_id = subnet_id
675
+
676
+ @property
677
+ def vpc_id(self):
678
+ r"""Gets the vpc_id of this ShareInfo.
679
+
680
+ 用户指定的VPC ID。
681
+
682
+ :return: The vpc_id of this ShareInfo.
683
+ :rtype: str
684
+ """
685
+ return self._vpc_id
686
+
687
+ @vpc_id.setter
688
+ def vpc_id(self, vpc_id):
689
+ r"""Sets the vpc_id of this ShareInfo.
690
+
691
+ 用户指定的VPC ID。
692
+
693
+ :param vpc_id: The vpc_id of this ShareInfo.
694
+ :type vpc_id: str
695
+ """
696
+ self._vpc_id = vpc_id
697
+
698
+ @property
699
+ def enterprise_project_id(self):
700
+ r"""Gets the enterprise_project_id of this ShareInfo.
701
+
702
+ SFS Turbo文件系统绑定的企业项目ID。
703
+
704
+ :return: The enterprise_project_id of this ShareInfo.
705
+ :rtype: str
706
+ """
707
+ return self._enterprise_project_id
708
+
709
+ @enterprise_project_id.setter
710
+ def enterprise_project_id(self, enterprise_project_id):
711
+ r"""Sets the enterprise_project_id of this ShareInfo.
712
+
713
+ SFS Turbo文件系统绑定的企业项目ID。
714
+
715
+ :param enterprise_project_id: The enterprise_project_id of this ShareInfo.
716
+ :type enterprise_project_id: str
717
+ """
718
+ self._enterprise_project_id = enterprise_project_id
719
+
720
+ @property
721
+ def tags(self):
722
+ r"""Gets the tags of this ShareInfo.
723
+
724
+ tag标签的列表。
725
+
726
+ :return: The tags of this ShareInfo.
727
+ :rtype: list[:class:`huaweicloudsdksfsturbo.v1.ResourceTag`]
728
+ """
729
+ return self._tags
730
+
731
+ @tags.setter
732
+ def tags(self, tags):
733
+ r"""Sets the tags of this ShareInfo.
734
+
735
+ tag标签的列表。
736
+
737
+ :param tags: The tags of this ShareInfo.
738
+ :type tags: list[:class:`huaweicloudsdksfsturbo.v1.ResourceTag`]
739
+ """
740
+ self._tags = tags
741
+
742
+ @property
743
+ def optional_endpoint(self):
744
+ r"""Gets the optional_endpoint of this ShareInfo.
745
+
746
+ 可选的挂载IP地址。上一代文件系统规格类型不返回该字段。
747
+
748
+ :return: The optional_endpoint of this ShareInfo.
749
+ :rtype: str
750
+ """
751
+ return self._optional_endpoint
752
+
753
+ @optional_endpoint.setter
754
+ def optional_endpoint(self, optional_endpoint):
755
+ r"""Sets the optional_endpoint of this ShareInfo.
756
+
757
+ 可选的挂载IP地址。上一代文件系统规格类型不返回该字段。
758
+
759
+ :param optional_endpoint: The optional_endpoint of this ShareInfo.
760
+ :type optional_endpoint: str
761
+ """
762
+ self._optional_endpoint = optional_endpoint
763
+
764
+ @property
765
+ def hpc_bw(self):
766
+ r"""Gets the hpc_bw of this ShareInfo.
767
+
768
+ 文件系统的带宽规格。 - \"20M\"表示20MB/s/TiB - \"40M\"表示40MB/s/TiB - \"125M\"表示125MB/s/TiB - \"250M\"表示250MB/s/TiB - \"500M\"表示500MB/s/TiB - \"1000M\"表示1000MB/s/TiB - \"2G\"、\"4G\"、\"8G\"、\"16G\"、\"24G\"、\"32G\"或\"48G\"表示HPC缓存型的带宽规格。
769
+
770
+ :return: The hpc_bw of this ShareInfo.
771
+ :rtype: str
772
+ """
773
+ return self._hpc_bw
774
+
775
+ @hpc_bw.setter
776
+ def hpc_bw(self, hpc_bw):
777
+ r"""Sets the hpc_bw of this ShareInfo.
778
+
779
+ 文件系统的带宽规格。 - \"20M\"表示20MB/s/TiB - \"40M\"表示40MB/s/TiB - \"125M\"表示125MB/s/TiB - \"250M\"表示250MB/s/TiB - \"500M\"表示500MB/s/TiB - \"1000M\"表示1000MB/s/TiB - \"2G\"、\"4G\"、\"8G\"、\"16G\"、\"24G\"、\"32G\"或\"48G\"表示HPC缓存型的带宽规格。
780
+
781
+ :param hpc_bw: The hpc_bw of this ShareInfo.
782
+ :type hpc_bw: str
783
+ """
784
+ self._hpc_bw = hpc_bw
785
+
786
+ @property
787
+ def instance_id(self):
788
+ r"""Gets the instance_id of this ShareInfo.
789
+
790
+ 文件系统规格的节点id,为预留字段,不具备实际含义。
791
+
792
+ :return: The instance_id of this ShareInfo.
793
+ :rtype: str
794
+ """
795
+ return self._instance_id
796
+
797
+ @instance_id.setter
798
+ def instance_id(self, instance_id):
799
+ r"""Sets the instance_id of this ShareInfo.
800
+
801
+ 文件系统规格的节点id,为预留字段,不具备实际含义。
802
+
803
+ :param instance_id: The instance_id of this ShareInfo.
804
+ :type instance_id: str
805
+ """
806
+ self._instance_id = instance_id
807
+
808
+ @property
809
+ def instance_type(self):
810
+ r"""Gets the instance_type of this ShareInfo.
811
+
812
+ 文件系统规格的节点类型,为预留字段,不具备实际含义。
813
+
814
+ :return: The instance_type of this ShareInfo.
815
+ :rtype: str
816
+ """
817
+ return self._instance_type
818
+
819
+ @instance_type.setter
820
+ def instance_type(self, instance_type):
821
+ r"""Sets the instance_type of this ShareInfo.
822
+
823
+ 文件系统规格的节点类型,为预留字段,不具备实际含义。
824
+
825
+ :param instance_type: The instance_type of this ShareInfo.
826
+ :type instance_type: str
827
+ """
828
+ self._instance_type = instance_type
829
+
830
+ @property
831
+ def status_detail(self):
832
+ r"""Gets the status_detail of this ShareInfo.
833
+
834
+ 文件系统的请求ID,为预留字段,不具备实际含义。
835
+
836
+ :return: The status_detail of this ShareInfo.
837
+ :rtype: str
838
+ """
839
+ return self._status_detail
840
+
841
+ @status_detail.setter
842
+ def status_detail(self, status_detail):
843
+ r"""Sets the status_detail of this ShareInfo.
844
+
845
+ 文件系统的请求ID,为预留字段,不具备实际含义。
846
+
847
+ :param status_detail: The status_detail of this ShareInfo.
848
+ :type status_detail: str
849
+ """
850
+ self._status_detail = status_detail
851
+
852
+ @property
853
+ def features(self):
854
+ r"""Gets the features of this ShareInfo.
855
+
856
+ :return: The features of this ShareInfo.
857
+ :rtype: :class:`huaweicloudsdksfsturbo.v1.ShareInfoFeatures`
858
+ """
859
+ return self._features
860
+
861
+ @features.setter
862
+ def features(self, features):
863
+ r"""Sets the features of this ShareInfo.
864
+
865
+ :param features: The features of this ShareInfo.
866
+ :type features: :class:`huaweicloudsdksfsturbo.v1.ShareInfoFeatures`
867
+ """
868
+ self._features = features
869
+
870
+ def to_dict(self):
871
+ """Returns the model properties as a dict"""
872
+ result = {}
873
+
874
+ for attr, _ in six.iteritems(self.openapi_types):
875
+ value = getattr(self, attr)
876
+ if isinstance(value, list):
877
+ result[attr] = list(map(
878
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
879
+ value
880
+ ))
881
+ elif hasattr(value, "to_dict"):
882
+ result[attr] = value.to_dict()
883
+ elif isinstance(value, dict):
884
+ result[attr] = dict(map(
885
+ lambda item: (item[0], item[1].to_dict())
886
+ if hasattr(item[1], "to_dict") else item,
887
+ value.items()
888
+ ))
889
+ else:
890
+ if attr in self.sensitive_list:
891
+ result[attr] = "****"
892
+ else:
893
+ result[attr] = value
894
+
895
+ return result
896
+
897
+ def to_str(self):
898
+ """Returns the string representation of the model"""
899
+ import simplejson as json
900
+ if six.PY2:
901
+ import sys
902
+ reload(sys)
903
+ sys.setdefaultencoding("utf-8")
904
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
905
+
906
+ def __repr__(self):
907
+ """For `print`"""
908
+ return self.to_str()
909
+
910
+ def __eq__(self, other):
911
+ """Returns true if both objects are equal"""
912
+ if not isinstance(other, ShareInfo):
913
+ return False
914
+
915
+ return self.__dict__ == other.__dict__
916
+
917
+ def __ne__(self, other):
918
+ """Returns true if both objects are not equal"""
919
+ return not self == other