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,278 @@
|
|
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 CreateBackendTargetResponse(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
|
+
'target_id': 'str',
|
22
|
+
'creation_time': 'str',
|
23
|
+
'failure_details': 'FailureDetailsMessage',
|
24
|
+
'file_system_path': 'str',
|
25
|
+
'lifecycle': 'str',
|
26
|
+
'obs': 'ObsDataRepository',
|
27
|
+
'x_request_id': 'str'
|
28
|
+
}
|
29
|
+
|
30
|
+
attribute_map = {
|
31
|
+
'target_id': 'target_id',
|
32
|
+
'creation_time': 'creation_time',
|
33
|
+
'failure_details': 'failure_details',
|
34
|
+
'file_system_path': 'file_system_path',
|
35
|
+
'lifecycle': 'lifecycle',
|
36
|
+
'obs': 'obs',
|
37
|
+
'x_request_id': 'X-request-id'
|
38
|
+
}
|
39
|
+
|
40
|
+
def __init__(self, target_id=None, creation_time=None, failure_details=None, file_system_path=None, lifecycle=None, obs=None, x_request_id=None):
|
41
|
+
r"""CreateBackendTargetResponse
|
42
|
+
|
43
|
+
The model defined in huaweicloud sdk
|
44
|
+
|
45
|
+
:param target_id: 绑定关系ID
|
46
|
+
:type target_id: str
|
47
|
+
:param creation_time: 绑定关系创建时间
|
48
|
+
:type creation_time: str
|
49
|
+
:param failure_details:
|
50
|
+
:type failure_details: :class:`huaweicloudsdksfsturbo.v1.FailureDetailsMessage`
|
51
|
+
:param file_system_path: 联动目录名称
|
52
|
+
:type file_system_path: str
|
53
|
+
:param lifecycle: 绑定状态。 如果返回状态为CREATING,您需要通过获取后端存储详细信息接口去轮询绑定完成状态。 如果返回状态为AVAILABLE,代表绑定后端存储成功。 如果返回状态MISCONFIGURED,代表绑定后端存储失败。DELETING 状态暂不支持。
|
54
|
+
:type lifecycle: str
|
55
|
+
:param obs:
|
56
|
+
:type obs: :class:`huaweicloudsdksfsturbo.v1.ObsDataRepository`
|
57
|
+
:param x_request_id:
|
58
|
+
:type x_request_id: str
|
59
|
+
"""
|
60
|
+
|
61
|
+
super(CreateBackendTargetResponse, self).__init__()
|
62
|
+
|
63
|
+
self._target_id = None
|
64
|
+
self._creation_time = None
|
65
|
+
self._failure_details = None
|
66
|
+
self._file_system_path = None
|
67
|
+
self._lifecycle = None
|
68
|
+
self._obs = None
|
69
|
+
self._x_request_id = None
|
70
|
+
self.discriminator = None
|
71
|
+
|
72
|
+
if target_id is not None:
|
73
|
+
self.target_id = target_id
|
74
|
+
if creation_time is not None:
|
75
|
+
self.creation_time = creation_time
|
76
|
+
if failure_details is not None:
|
77
|
+
self.failure_details = failure_details
|
78
|
+
if file_system_path is not None:
|
79
|
+
self.file_system_path = file_system_path
|
80
|
+
if lifecycle is not None:
|
81
|
+
self.lifecycle = lifecycle
|
82
|
+
if obs is not None:
|
83
|
+
self.obs = obs
|
84
|
+
if x_request_id is not None:
|
85
|
+
self.x_request_id = x_request_id
|
86
|
+
|
87
|
+
@property
|
88
|
+
def target_id(self):
|
89
|
+
r"""Gets the target_id of this CreateBackendTargetResponse.
|
90
|
+
|
91
|
+
绑定关系ID
|
92
|
+
|
93
|
+
:return: The target_id of this CreateBackendTargetResponse.
|
94
|
+
:rtype: str
|
95
|
+
"""
|
96
|
+
return self._target_id
|
97
|
+
|
98
|
+
@target_id.setter
|
99
|
+
def target_id(self, target_id):
|
100
|
+
r"""Sets the target_id of this CreateBackendTargetResponse.
|
101
|
+
|
102
|
+
绑定关系ID
|
103
|
+
|
104
|
+
:param target_id: The target_id of this CreateBackendTargetResponse.
|
105
|
+
:type target_id: str
|
106
|
+
"""
|
107
|
+
self._target_id = target_id
|
108
|
+
|
109
|
+
@property
|
110
|
+
def creation_time(self):
|
111
|
+
r"""Gets the creation_time of this CreateBackendTargetResponse.
|
112
|
+
|
113
|
+
绑定关系创建时间
|
114
|
+
|
115
|
+
:return: The creation_time of this CreateBackendTargetResponse.
|
116
|
+
:rtype: str
|
117
|
+
"""
|
118
|
+
return self._creation_time
|
119
|
+
|
120
|
+
@creation_time.setter
|
121
|
+
def creation_time(self, creation_time):
|
122
|
+
r"""Sets the creation_time of this CreateBackendTargetResponse.
|
123
|
+
|
124
|
+
绑定关系创建时间
|
125
|
+
|
126
|
+
:param creation_time: The creation_time of this CreateBackendTargetResponse.
|
127
|
+
:type creation_time: str
|
128
|
+
"""
|
129
|
+
self._creation_time = creation_time
|
130
|
+
|
131
|
+
@property
|
132
|
+
def failure_details(self):
|
133
|
+
r"""Gets the failure_details of this CreateBackendTargetResponse.
|
134
|
+
|
135
|
+
:return: The failure_details of this CreateBackendTargetResponse.
|
136
|
+
:rtype: :class:`huaweicloudsdksfsturbo.v1.FailureDetailsMessage`
|
137
|
+
"""
|
138
|
+
return self._failure_details
|
139
|
+
|
140
|
+
@failure_details.setter
|
141
|
+
def failure_details(self, failure_details):
|
142
|
+
r"""Sets the failure_details of this CreateBackendTargetResponse.
|
143
|
+
|
144
|
+
:param failure_details: The failure_details of this CreateBackendTargetResponse.
|
145
|
+
:type failure_details: :class:`huaweicloudsdksfsturbo.v1.FailureDetailsMessage`
|
146
|
+
"""
|
147
|
+
self._failure_details = failure_details
|
148
|
+
|
149
|
+
@property
|
150
|
+
def file_system_path(self):
|
151
|
+
r"""Gets the file_system_path of this CreateBackendTargetResponse.
|
152
|
+
|
153
|
+
联动目录名称
|
154
|
+
|
155
|
+
:return: The file_system_path of this CreateBackendTargetResponse.
|
156
|
+
:rtype: str
|
157
|
+
"""
|
158
|
+
return self._file_system_path
|
159
|
+
|
160
|
+
@file_system_path.setter
|
161
|
+
def file_system_path(self, file_system_path):
|
162
|
+
r"""Sets the file_system_path of this CreateBackendTargetResponse.
|
163
|
+
|
164
|
+
联动目录名称
|
165
|
+
|
166
|
+
:param file_system_path: The file_system_path of this CreateBackendTargetResponse.
|
167
|
+
:type file_system_path: str
|
168
|
+
"""
|
169
|
+
self._file_system_path = file_system_path
|
170
|
+
|
171
|
+
@property
|
172
|
+
def lifecycle(self):
|
173
|
+
r"""Gets the lifecycle of this CreateBackendTargetResponse.
|
174
|
+
|
175
|
+
绑定状态。 如果返回状态为CREATING,您需要通过获取后端存储详细信息接口去轮询绑定完成状态。 如果返回状态为AVAILABLE,代表绑定后端存储成功。 如果返回状态MISCONFIGURED,代表绑定后端存储失败。DELETING 状态暂不支持。
|
176
|
+
|
177
|
+
:return: The lifecycle of this CreateBackendTargetResponse.
|
178
|
+
:rtype: str
|
179
|
+
"""
|
180
|
+
return self._lifecycle
|
181
|
+
|
182
|
+
@lifecycle.setter
|
183
|
+
def lifecycle(self, lifecycle):
|
184
|
+
r"""Sets the lifecycle of this CreateBackendTargetResponse.
|
185
|
+
|
186
|
+
绑定状态。 如果返回状态为CREATING,您需要通过获取后端存储详细信息接口去轮询绑定完成状态。 如果返回状态为AVAILABLE,代表绑定后端存储成功。 如果返回状态MISCONFIGURED,代表绑定后端存储失败。DELETING 状态暂不支持。
|
187
|
+
|
188
|
+
:param lifecycle: The lifecycle of this CreateBackendTargetResponse.
|
189
|
+
:type lifecycle: str
|
190
|
+
"""
|
191
|
+
self._lifecycle = lifecycle
|
192
|
+
|
193
|
+
@property
|
194
|
+
def obs(self):
|
195
|
+
r"""Gets the obs of this CreateBackendTargetResponse.
|
196
|
+
|
197
|
+
:return: The obs of this CreateBackendTargetResponse.
|
198
|
+
:rtype: :class:`huaweicloudsdksfsturbo.v1.ObsDataRepository`
|
199
|
+
"""
|
200
|
+
return self._obs
|
201
|
+
|
202
|
+
@obs.setter
|
203
|
+
def obs(self, obs):
|
204
|
+
r"""Sets the obs of this CreateBackendTargetResponse.
|
205
|
+
|
206
|
+
:param obs: The obs of this CreateBackendTargetResponse.
|
207
|
+
:type obs: :class:`huaweicloudsdksfsturbo.v1.ObsDataRepository`
|
208
|
+
"""
|
209
|
+
self._obs = obs
|
210
|
+
|
211
|
+
@property
|
212
|
+
def x_request_id(self):
|
213
|
+
r"""Gets the x_request_id of this CreateBackendTargetResponse.
|
214
|
+
|
215
|
+
:return: The x_request_id of this CreateBackendTargetResponse.
|
216
|
+
:rtype: str
|
217
|
+
"""
|
218
|
+
return self._x_request_id
|
219
|
+
|
220
|
+
@x_request_id.setter
|
221
|
+
def x_request_id(self, x_request_id):
|
222
|
+
r"""Sets the x_request_id of this CreateBackendTargetResponse.
|
223
|
+
|
224
|
+
:param x_request_id: The x_request_id of this CreateBackendTargetResponse.
|
225
|
+
:type x_request_id: str
|
226
|
+
"""
|
227
|
+
self._x_request_id = x_request_id
|
228
|
+
|
229
|
+
def to_dict(self):
|
230
|
+
"""Returns the model properties as a dict"""
|
231
|
+
result = {}
|
232
|
+
|
233
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
234
|
+
value = getattr(self, attr)
|
235
|
+
if isinstance(value, list):
|
236
|
+
result[attr] = list(map(
|
237
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
238
|
+
value
|
239
|
+
))
|
240
|
+
elif hasattr(value, "to_dict"):
|
241
|
+
result[attr] = value.to_dict()
|
242
|
+
elif isinstance(value, dict):
|
243
|
+
result[attr] = dict(map(
|
244
|
+
lambda item: (item[0], item[1].to_dict())
|
245
|
+
if hasattr(item[1], "to_dict") else item,
|
246
|
+
value.items()
|
247
|
+
))
|
248
|
+
else:
|
249
|
+
if attr in self.sensitive_list:
|
250
|
+
result[attr] = "****"
|
251
|
+
else:
|
252
|
+
result[attr] = value
|
253
|
+
|
254
|
+
return result
|
255
|
+
|
256
|
+
def to_str(self):
|
257
|
+
"""Returns the string representation of the model"""
|
258
|
+
import simplejson as json
|
259
|
+
if six.PY2:
|
260
|
+
import sys
|
261
|
+
reload(sys)
|
262
|
+
sys.setdefaultencoding("utf-8")
|
263
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
264
|
+
|
265
|
+
def __repr__(self):
|
266
|
+
"""For `print`"""
|
267
|
+
return self.to_str()
|
268
|
+
|
269
|
+
def __eq__(self, other):
|
270
|
+
"""Returns true if both objects are equal"""
|
271
|
+
if not isinstance(other, CreateBackendTargetResponse):
|
272
|
+
return False
|
273
|
+
|
274
|
+
return self.__dict__ == other.__dict__
|
275
|
+
|
276
|
+
def __ne__(self, other):
|
277
|
+
"""Returns true if both objects are not equal"""
|
278
|
+
return not self == other
|
@@ -0,0 +1,139 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class CreateFsDirQuotaRequest:
|
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
|
+
'share_id': 'str',
|
21
|
+
'body': 'CreateFsDirQuotaRequestBody'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'share_id': 'share_id',
|
26
|
+
'body': 'body'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, share_id=None, body=None):
|
30
|
+
r"""CreateFsDirQuotaRequest
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param share_id: 文件系统ID
|
35
|
+
:type share_id: str
|
36
|
+
:param body: Body of the CreateFsDirQuotaRequest
|
37
|
+
:type body: :class:`huaweicloudsdksfsturbo.v1.CreateFsDirQuotaRequestBody`
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._share_id = None
|
43
|
+
self._body = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
self.share_id = share_id
|
47
|
+
if body is not None:
|
48
|
+
self.body = body
|
49
|
+
|
50
|
+
@property
|
51
|
+
def share_id(self):
|
52
|
+
r"""Gets the share_id of this CreateFsDirQuotaRequest.
|
53
|
+
|
54
|
+
文件系统ID
|
55
|
+
|
56
|
+
:return: The share_id of this CreateFsDirQuotaRequest.
|
57
|
+
:rtype: str
|
58
|
+
"""
|
59
|
+
return self._share_id
|
60
|
+
|
61
|
+
@share_id.setter
|
62
|
+
def share_id(self, share_id):
|
63
|
+
r"""Sets the share_id of this CreateFsDirQuotaRequest.
|
64
|
+
|
65
|
+
文件系统ID
|
66
|
+
|
67
|
+
:param share_id: The share_id of this CreateFsDirQuotaRequest.
|
68
|
+
:type share_id: str
|
69
|
+
"""
|
70
|
+
self._share_id = share_id
|
71
|
+
|
72
|
+
@property
|
73
|
+
def body(self):
|
74
|
+
r"""Gets the body of this CreateFsDirQuotaRequest.
|
75
|
+
|
76
|
+
:return: The body of this CreateFsDirQuotaRequest.
|
77
|
+
:rtype: :class:`huaweicloudsdksfsturbo.v1.CreateFsDirQuotaRequestBody`
|
78
|
+
"""
|
79
|
+
return self._body
|
80
|
+
|
81
|
+
@body.setter
|
82
|
+
def body(self, body):
|
83
|
+
r"""Sets the body of this CreateFsDirQuotaRequest.
|
84
|
+
|
85
|
+
:param body: The body of this CreateFsDirQuotaRequest.
|
86
|
+
:type body: :class:`huaweicloudsdksfsturbo.v1.CreateFsDirQuotaRequestBody`
|
87
|
+
"""
|
88
|
+
self._body = body
|
89
|
+
|
90
|
+
def to_dict(self):
|
91
|
+
"""Returns the model properties as a dict"""
|
92
|
+
result = {}
|
93
|
+
|
94
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
95
|
+
value = getattr(self, attr)
|
96
|
+
if isinstance(value, list):
|
97
|
+
result[attr] = list(map(
|
98
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
99
|
+
value
|
100
|
+
))
|
101
|
+
elif hasattr(value, "to_dict"):
|
102
|
+
result[attr] = value.to_dict()
|
103
|
+
elif isinstance(value, dict):
|
104
|
+
result[attr] = dict(map(
|
105
|
+
lambda item: (item[0], item[1].to_dict())
|
106
|
+
if hasattr(item[1], "to_dict") else item,
|
107
|
+
value.items()
|
108
|
+
))
|
109
|
+
else:
|
110
|
+
if attr in self.sensitive_list:
|
111
|
+
result[attr] = "****"
|
112
|
+
else:
|
113
|
+
result[attr] = value
|
114
|
+
|
115
|
+
return result
|
116
|
+
|
117
|
+
def to_str(self):
|
118
|
+
"""Returns the string representation of the model"""
|
119
|
+
import simplejson as json
|
120
|
+
if six.PY2:
|
121
|
+
import sys
|
122
|
+
reload(sys)
|
123
|
+
sys.setdefaultencoding("utf-8")
|
124
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
125
|
+
|
126
|
+
def __repr__(self):
|
127
|
+
"""For `print`"""
|
128
|
+
return self.to_str()
|
129
|
+
|
130
|
+
def __eq__(self, other):
|
131
|
+
"""Returns true if both objects are equal"""
|
132
|
+
if not isinstance(other, CreateFsDirQuotaRequest):
|
133
|
+
return False
|
134
|
+
|
135
|
+
return self.__dict__ == other.__dict__
|
136
|
+
|
137
|
+
def __ne__(self, other):
|
138
|
+
"""Returns true if both objects are not equal"""
|
139
|
+
return not self == other
|
@@ -0,0 +1,172 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class CreateFsDirQuotaRequestBody:
|
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
|
+
'path': 'str',
|
21
|
+
'capacity': 'int',
|
22
|
+
'inode': 'int'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'path': 'path',
|
27
|
+
'capacity': 'capacity',
|
28
|
+
'inode': 'inode'
|
29
|
+
}
|
30
|
+
|
31
|
+
def __init__(self, path=None, capacity=None, inode=None):
|
32
|
+
r"""CreateFsDirQuotaRequestBody
|
33
|
+
|
34
|
+
The model defined in huaweicloud sdk
|
35
|
+
|
36
|
+
:param path: 合法的已存在的目录的全路径
|
37
|
+
:type path: str
|
38
|
+
:param capacity: 目录的容量大小,单位:MB; 不填写则默认为0,会导致数据无法写入目录; capacity和quota至少二选一。
|
39
|
+
:type capacity: int
|
40
|
+
:param inode: 目录的inode数量限制; 不填写则默认为0,会导致数据无法写入目录; capacity和quota至少二选一。
|
41
|
+
:type inode: int
|
42
|
+
"""
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
self._path = None
|
47
|
+
self._capacity = None
|
48
|
+
self._inode = None
|
49
|
+
self.discriminator = None
|
50
|
+
|
51
|
+
self.path = path
|
52
|
+
if capacity is not None:
|
53
|
+
self.capacity = capacity
|
54
|
+
if inode is not None:
|
55
|
+
self.inode = inode
|
56
|
+
|
57
|
+
@property
|
58
|
+
def path(self):
|
59
|
+
r"""Gets the path of this CreateFsDirQuotaRequestBody.
|
60
|
+
|
61
|
+
合法的已存在的目录的全路径
|
62
|
+
|
63
|
+
:return: The path of this CreateFsDirQuotaRequestBody.
|
64
|
+
:rtype: str
|
65
|
+
"""
|
66
|
+
return self._path
|
67
|
+
|
68
|
+
@path.setter
|
69
|
+
def path(self, path):
|
70
|
+
r"""Sets the path of this CreateFsDirQuotaRequestBody.
|
71
|
+
|
72
|
+
合法的已存在的目录的全路径
|
73
|
+
|
74
|
+
:param path: The path of this CreateFsDirQuotaRequestBody.
|
75
|
+
:type path: str
|
76
|
+
"""
|
77
|
+
self._path = path
|
78
|
+
|
79
|
+
@property
|
80
|
+
def capacity(self):
|
81
|
+
r"""Gets the capacity of this CreateFsDirQuotaRequestBody.
|
82
|
+
|
83
|
+
目录的容量大小,单位:MB; 不填写则默认为0,会导致数据无法写入目录; capacity和quota至少二选一。
|
84
|
+
|
85
|
+
:return: The capacity of this CreateFsDirQuotaRequestBody.
|
86
|
+
:rtype: int
|
87
|
+
"""
|
88
|
+
return self._capacity
|
89
|
+
|
90
|
+
@capacity.setter
|
91
|
+
def capacity(self, capacity):
|
92
|
+
r"""Sets the capacity of this CreateFsDirQuotaRequestBody.
|
93
|
+
|
94
|
+
目录的容量大小,单位:MB; 不填写则默认为0,会导致数据无法写入目录; capacity和quota至少二选一。
|
95
|
+
|
96
|
+
:param capacity: The capacity of this CreateFsDirQuotaRequestBody.
|
97
|
+
:type capacity: int
|
98
|
+
"""
|
99
|
+
self._capacity = capacity
|
100
|
+
|
101
|
+
@property
|
102
|
+
def inode(self):
|
103
|
+
r"""Gets the inode of this CreateFsDirQuotaRequestBody.
|
104
|
+
|
105
|
+
目录的inode数量限制; 不填写则默认为0,会导致数据无法写入目录; capacity和quota至少二选一。
|
106
|
+
|
107
|
+
:return: The inode of this CreateFsDirQuotaRequestBody.
|
108
|
+
:rtype: int
|
109
|
+
"""
|
110
|
+
return self._inode
|
111
|
+
|
112
|
+
@inode.setter
|
113
|
+
def inode(self, inode):
|
114
|
+
r"""Sets the inode of this CreateFsDirQuotaRequestBody.
|
115
|
+
|
116
|
+
目录的inode数量限制; 不填写则默认为0,会导致数据无法写入目录; capacity和quota至少二选一。
|
117
|
+
|
118
|
+
:param inode: The inode of this CreateFsDirQuotaRequestBody.
|
119
|
+
:type inode: int
|
120
|
+
"""
|
121
|
+
self._inode = inode
|
122
|
+
|
123
|
+
def to_dict(self):
|
124
|
+
"""Returns the model properties as a dict"""
|
125
|
+
result = {}
|
126
|
+
|
127
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
128
|
+
value = getattr(self, attr)
|
129
|
+
if isinstance(value, list):
|
130
|
+
result[attr] = list(map(
|
131
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
132
|
+
value
|
133
|
+
))
|
134
|
+
elif hasattr(value, "to_dict"):
|
135
|
+
result[attr] = value.to_dict()
|
136
|
+
elif isinstance(value, dict):
|
137
|
+
result[attr] = dict(map(
|
138
|
+
lambda item: (item[0], item[1].to_dict())
|
139
|
+
if hasattr(item[1], "to_dict") else item,
|
140
|
+
value.items()
|
141
|
+
))
|
142
|
+
else:
|
143
|
+
if attr in self.sensitive_list:
|
144
|
+
result[attr] = "****"
|
145
|
+
else:
|
146
|
+
result[attr] = value
|
147
|
+
|
148
|
+
return result
|
149
|
+
|
150
|
+
def to_str(self):
|
151
|
+
"""Returns the string representation of the model"""
|
152
|
+
import simplejson as json
|
153
|
+
if six.PY2:
|
154
|
+
import sys
|
155
|
+
reload(sys)
|
156
|
+
sys.setdefaultencoding("utf-8")
|
157
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
158
|
+
|
159
|
+
def __repr__(self):
|
160
|
+
"""For `print`"""
|
161
|
+
return self.to_str()
|
162
|
+
|
163
|
+
def __eq__(self, other):
|
164
|
+
"""Returns true if both objects are equal"""
|
165
|
+
if not isinstance(other, CreateFsDirQuotaRequestBody):
|
166
|
+
return False
|
167
|
+
|
168
|
+
return self.__dict__ == other.__dict__
|
169
|
+
|
170
|
+
def __ne__(self, other):
|
171
|
+
"""Returns true if both objects are not equal"""
|
172
|
+
return not self == other
|