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