huaweicloudsdksfsturbo 3.1.157__py2.py3-none-any.whl → 3.1.159__py2.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/v1/__init__.py +32 -0
- huaweicloudsdksfsturbo/v1/model/__init__.py +32 -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 +61 -3
- huaweicloudsdksfsturbo/v1/model/batch_add_shared_tags_request_body.py +7 -37
- huaweicloudsdksfsturbo/v1/model/bss_info.py +6 -6
- 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/client_ip_info.py +115 -0
- huaweicloudsdksfsturbo/v1/model/create_backend_target_request_body.py +3 -3
- huaweicloudsdksfsturbo/v1/model/create_backend_target_response.py +3 -3
- huaweicloudsdksfsturbo/v1/model/create_fs_dir_quota_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/create_fs_dir_quota_request_body.py +6 -6
- huaweicloudsdksfsturbo/v1/model/create_fs_dir_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/create_fs_task_response.py +28 -3
- huaweicloudsdksfsturbo/v1/model/create_hpc_cache_task_req.py +3 -3
- huaweicloudsdksfsturbo/v1/model/create_ldap_config_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/create_ldap_config_request_body.py +21 -50
- huaweicloudsdksfsturbo/v1/model/create_ldap_config_response.py +31 -6
- huaweicloudsdksfsturbo/v1/model/create_perm_rule_request.py +3 -3
- 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 +6 -6
- huaweicloudsdksfsturbo/v1/model/delete_backend_target_response.py +3 -3
- huaweicloudsdksfsturbo/v1/model/delete_fs_dir_quota_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/delete_fs_dir_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/delete_fs_task_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/delete_fs_task_response.py +28 -1
- huaweicloudsdksfsturbo/v1/model/delete_ldap_config_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/delete_ldap_config_response.py +31 -6
- huaweicloudsdksfsturbo/v1/model/delete_perm_rule_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/delete_shared_tag_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/extend.py +6 -6
- huaweicloudsdksfsturbo/v1/model/get_sub_job_detail.py +21 -21
- huaweicloudsdksfsturbo/v1/model/list_backend_targets_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/list_fs_tasks_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/list_fs_tasks_response.py +28 -3
- huaweicloudsdksfsturbo/v1/model/list_hpc_cache_tasks_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/list_perm_rules_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/list_share_types_request.py +144 -0
- huaweicloudsdksfsturbo/v1/model/list_share_types_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_request_body.py +1 -2
- huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_response.py +3 -3
- huaweicloudsdksfsturbo/v1/model/one_perm_rule_request_info.py +9 -12
- huaweicloudsdksfsturbo/v1/model/one_perm_rule_response_info.py +6 -6
- huaweicloudsdksfsturbo/v1/model/resource_tag.py +6 -6
- huaweicloudsdksfsturbo/v1/model/share.py +15 -15
- huaweicloudsdksfsturbo/v1/model/share_info.py +6 -6
- 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_response.py +3 -3
- huaweicloudsdksfsturbo/v1/model/show_backend_target_info_response_body.py +3 -3
- 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 +3 -3
- huaweicloudsdksfsturbo/v1/model/show_fs_dir_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/show_fs_dir_usage_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/show_fs_task_response.py +28 -3
- huaweicloudsdksfsturbo/v1/model/show_job_detail_response.py +18 -18
- huaweicloudsdksfsturbo/v1/model/show_ldap_config_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/show_ldap_config_response.py +59 -34
- huaweicloudsdksfsturbo/v1/model/show_perm_rule_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/show_perm_rule_response.py +6 -6
- huaweicloudsdksfsturbo/v1/model/show_share_response.py +6 -6
- huaweicloudsdksfsturbo/v1/model/show_shared_tags_response.py +3 -32
- huaweicloudsdksfsturbo/v1/model/tag.py +3 -3
- 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 +3 -3
- huaweicloudsdksfsturbo/v1/model/update_fs_dir_quota_request_body.py +6 -6
- huaweicloudsdksfsturbo/v1/model/update_hpc_share_request_body.py +3 -3
- huaweicloudsdksfsturbo/v1/model/update_ldap_config_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/update_ldap_config_request_body.py +18 -47
- huaweicloudsdksfsturbo/v1/model/update_ldap_config_response.py +31 -6
- huaweicloudsdksfsturbo/v1/model/update_obs_target_attributes_request.py +6 -6
- huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_request.py +6 -6
- huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_response.py +3 -3
- huaweicloudsdksfsturbo/v1/model/update_one_perm_rule_request_info.py +144 -0
- huaweicloudsdksfsturbo/v1/model/update_perm_rule_request.py +7 -7
- huaweicloudsdksfsturbo/v1/model/update_perm_rule_response.py +6 -6
- huaweicloudsdksfsturbo/v1/region/sfsturbo_region.py +3 -0
- huaweicloudsdksfsturbo/v1/sfsturbo_async_client.py +492 -41
- huaweicloudsdksfsturbo/v1/sfsturbo_client.py +492 -41
- {huaweicloudsdksfsturbo-3.1.157.dist-info → huaweicloudsdksfsturbo-3.1.159.dist-info}/METADATA +2 -2
- {huaweicloudsdksfsturbo-3.1.157.dist-info → huaweicloudsdksfsturbo-3.1.159.dist-info}/RECORD +105 -73
- {huaweicloudsdksfsturbo-3.1.157.dist-info → huaweicloudsdksfsturbo-3.1.159.dist-info}/LICENSE +0 -0
- {huaweicloudsdksfsturbo-3.1.157.dist-info → huaweicloudsdksfsturbo-3.1.159.dist-info}/WHEEL +0 -0
- {huaweicloudsdksfsturbo-3.1.157.dist-info → huaweicloudsdksfsturbo-3.1.159.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,141 @@
|
|
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 DeleteActiveDirectoryDomainResponse(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
|
+
'job_id': 'str',
|
22
|
+
'x_request_id': 'str'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'job_id': 'job_id',
|
27
|
+
'x_request_id': 'X-request-id'
|
28
|
+
}
|
29
|
+
|
30
|
+
def __init__(self, job_id=None, x_request_id=None):
|
31
|
+
r"""DeleteActiveDirectoryDomainResponse
|
32
|
+
|
33
|
+
The model defined in huaweicloud sdk
|
34
|
+
|
35
|
+
:param job_id: 退出AD域异步任务的id
|
36
|
+
:type job_id: str
|
37
|
+
:param x_request_id:
|
38
|
+
:type x_request_id: str
|
39
|
+
"""
|
40
|
+
|
41
|
+
super(DeleteActiveDirectoryDomainResponse, self).__init__()
|
42
|
+
|
43
|
+
self._job_id = None
|
44
|
+
self._x_request_id = None
|
45
|
+
self.discriminator = None
|
46
|
+
|
47
|
+
if job_id is not None:
|
48
|
+
self.job_id = job_id
|
49
|
+
if x_request_id is not None:
|
50
|
+
self.x_request_id = x_request_id
|
51
|
+
|
52
|
+
@property
|
53
|
+
def job_id(self):
|
54
|
+
r"""Gets the job_id of this DeleteActiveDirectoryDomainResponse.
|
55
|
+
|
56
|
+
退出AD域异步任务的id
|
57
|
+
|
58
|
+
:return: The job_id of this DeleteActiveDirectoryDomainResponse.
|
59
|
+
:rtype: str
|
60
|
+
"""
|
61
|
+
return self._job_id
|
62
|
+
|
63
|
+
@job_id.setter
|
64
|
+
def job_id(self, job_id):
|
65
|
+
r"""Sets the job_id of this DeleteActiveDirectoryDomainResponse.
|
66
|
+
|
67
|
+
退出AD域异步任务的id
|
68
|
+
|
69
|
+
:param job_id: The job_id of this DeleteActiveDirectoryDomainResponse.
|
70
|
+
:type job_id: str
|
71
|
+
"""
|
72
|
+
self._job_id = job_id
|
73
|
+
|
74
|
+
@property
|
75
|
+
def x_request_id(self):
|
76
|
+
r"""Gets the x_request_id of this DeleteActiveDirectoryDomainResponse.
|
77
|
+
|
78
|
+
:return: The x_request_id of this DeleteActiveDirectoryDomainResponse.
|
79
|
+
:rtype: str
|
80
|
+
"""
|
81
|
+
return self._x_request_id
|
82
|
+
|
83
|
+
@x_request_id.setter
|
84
|
+
def x_request_id(self, x_request_id):
|
85
|
+
r"""Sets the x_request_id of this DeleteActiveDirectoryDomainResponse.
|
86
|
+
|
87
|
+
:param x_request_id: The x_request_id of this DeleteActiveDirectoryDomainResponse.
|
88
|
+
:type x_request_id: str
|
89
|
+
"""
|
90
|
+
self._x_request_id = x_request_id
|
91
|
+
|
92
|
+
def to_dict(self):
|
93
|
+
"""Returns the model properties as a dict"""
|
94
|
+
result = {}
|
95
|
+
|
96
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
97
|
+
value = getattr(self, attr)
|
98
|
+
if isinstance(value, list):
|
99
|
+
result[attr] = list(map(
|
100
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
101
|
+
value
|
102
|
+
))
|
103
|
+
elif hasattr(value, "to_dict"):
|
104
|
+
result[attr] = value.to_dict()
|
105
|
+
elif isinstance(value, dict):
|
106
|
+
result[attr] = dict(map(
|
107
|
+
lambda item: (item[0], item[1].to_dict())
|
108
|
+
if hasattr(item[1], "to_dict") else item,
|
109
|
+
value.items()
|
110
|
+
))
|
111
|
+
else:
|
112
|
+
if attr in self.sensitive_list:
|
113
|
+
result[attr] = "****"
|
114
|
+
else:
|
115
|
+
result[attr] = value
|
116
|
+
|
117
|
+
return result
|
118
|
+
|
119
|
+
def to_str(self):
|
120
|
+
"""Returns the string representation of the model"""
|
121
|
+
import simplejson as json
|
122
|
+
if six.PY2:
|
123
|
+
import sys
|
124
|
+
reload(sys)
|
125
|
+
sys.setdefaultencoding("utf-8")
|
126
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
127
|
+
|
128
|
+
def __repr__(self):
|
129
|
+
"""For `print`"""
|
130
|
+
return self.to_str()
|
131
|
+
|
132
|
+
def __eq__(self, other):
|
133
|
+
"""Returns true if both objects are equal"""
|
134
|
+
if not isinstance(other, DeleteActiveDirectoryDomainResponse):
|
135
|
+
return False
|
136
|
+
|
137
|
+
return self.__dict__ == other.__dict__
|
138
|
+
|
139
|
+
def __ne__(self, other):
|
140
|
+
"""Returns true if both objects are not equal"""
|
141
|
+
return not self == other
|
@@ -33,9 +33,9 @@ class DeleteBackendTargetRequest:
|
|
33
33
|
|
34
34
|
The model defined in huaweicloud sdk
|
35
35
|
|
36
|
-
:param share_id: 文件系统
|
36
|
+
:param share_id: 文件系统ID
|
37
37
|
:type share_id: str
|
38
|
-
:param target_id: 绑定关系
|
38
|
+
:param target_id: 绑定关系ID
|
39
39
|
:type target_id: str
|
40
40
|
:param delete_data_in_file_system: 删除后端存储时是否同时删除文件系统内的联动目录及其数据文件,默认为 false。数据删除后无法恢复,请谨慎操作。
|
41
41
|
:type delete_data_in_file_system: bool
|
@@ -57,7 +57,7 @@ class DeleteBackendTargetRequest:
|
|
57
57
|
def share_id(self):
|
58
58
|
r"""Gets the share_id of this DeleteBackendTargetRequest.
|
59
59
|
|
60
|
-
文件系统
|
60
|
+
文件系统ID
|
61
61
|
|
62
62
|
:return: The share_id of this DeleteBackendTargetRequest.
|
63
63
|
:rtype: str
|
@@ -68,7 +68,7 @@ class DeleteBackendTargetRequest:
|
|
68
68
|
def share_id(self, share_id):
|
69
69
|
r"""Sets the share_id of this DeleteBackendTargetRequest.
|
70
70
|
|
71
|
-
文件系统
|
71
|
+
文件系统ID
|
72
72
|
|
73
73
|
:param share_id: The share_id of this DeleteBackendTargetRequest.
|
74
74
|
:type share_id: str
|
@@ -79,7 +79,7 @@ class DeleteBackendTargetRequest:
|
|
79
79
|
def target_id(self):
|
80
80
|
r"""Gets the target_id of this DeleteBackendTargetRequest.
|
81
81
|
|
82
|
-
绑定关系
|
82
|
+
绑定关系ID
|
83
83
|
|
84
84
|
:return: The target_id of this DeleteBackendTargetRequest.
|
85
85
|
:rtype: str
|
@@ -90,7 +90,7 @@ class DeleteBackendTargetRequest:
|
|
90
90
|
def target_id(self, target_id):
|
91
91
|
r"""Sets the target_id of this DeleteBackendTargetRequest.
|
92
92
|
|
93
|
-
绑定关系
|
93
|
+
绑定关系ID
|
94
94
|
|
95
95
|
:param target_id: The target_id of this DeleteBackendTargetRequest.
|
96
96
|
:type target_id: str
|
@@ -36,7 +36,7 @@ class DeleteBackendTargetResponse(SdkResponse):
|
|
36
36
|
|
37
37
|
The model defined in huaweicloud sdk
|
38
38
|
|
39
|
-
:param target_id: 绑定关系
|
39
|
+
:param target_id: 绑定关系ID
|
40
40
|
:type target_id: str
|
41
41
|
:param delete_data_in_file_system: 删除后端存储时是否同时删除文件系统内的联动目录及其数据文件
|
42
42
|
:type delete_data_in_file_system: bool
|
@@ -67,7 +67,7 @@ class DeleteBackendTargetResponse(SdkResponse):
|
|
67
67
|
def target_id(self):
|
68
68
|
r"""Gets the target_id of this DeleteBackendTargetResponse.
|
69
69
|
|
70
|
-
绑定关系
|
70
|
+
绑定关系ID
|
71
71
|
|
72
72
|
:return: The target_id of this DeleteBackendTargetResponse.
|
73
73
|
:rtype: str
|
@@ -78,7 +78,7 @@ class DeleteBackendTargetResponse(SdkResponse):
|
|
78
78
|
def target_id(self, target_id):
|
79
79
|
r"""Sets the target_id of this DeleteBackendTargetResponse.
|
80
80
|
|
81
|
-
绑定关系
|
81
|
+
绑定关系ID
|
82
82
|
|
83
83
|
:param target_id: The target_id of this DeleteBackendTargetResponse.
|
84
84
|
:type target_id: str
|
@@ -31,7 +31,7 @@ class DeleteFsDirQuotaRequest:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param share_id: 文件系统
|
34
|
+
:param share_id: 文件系统ID
|
35
35
|
:type share_id: str
|
36
36
|
:param body: Body of the DeleteFsDirQuotaRequest
|
37
37
|
:type body: :class:`huaweicloudsdksfsturbo.v1.DeleteFsDirQuotaRequestBody`
|
@@ -51,7 +51,7 @@ class DeleteFsDirQuotaRequest:
|
|
51
51
|
def share_id(self):
|
52
52
|
r"""Gets the share_id of this DeleteFsDirQuotaRequest.
|
53
53
|
|
54
|
-
文件系统
|
54
|
+
文件系统ID
|
55
55
|
|
56
56
|
:return: The share_id of this DeleteFsDirQuotaRequest.
|
57
57
|
:rtype: str
|
@@ -62,7 +62,7 @@ class DeleteFsDirQuotaRequest:
|
|
62
62
|
def share_id(self, share_id):
|
63
63
|
r"""Sets the share_id of this DeleteFsDirQuotaRequest.
|
64
64
|
|
65
|
-
文件系统
|
65
|
+
文件系统ID
|
66
66
|
|
67
67
|
:param share_id: The share_id of this DeleteFsDirQuotaRequest.
|
68
68
|
:type share_id: str
|
@@ -31,7 +31,7 @@ class DeleteFsDirRequest:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param share_id: 文件系统
|
34
|
+
:param share_id: 文件系统ID
|
35
35
|
:type share_id: str
|
36
36
|
:param body: Body of the DeleteFsDirRequest
|
37
37
|
:type body: :class:`huaweicloudsdksfsturbo.v1.DeleteFsDirRequestBody`
|
@@ -51,7 +51,7 @@ class DeleteFsDirRequest:
|
|
51
51
|
def share_id(self):
|
52
52
|
r"""Gets the share_id of this DeleteFsDirRequest.
|
53
53
|
|
54
|
-
文件系统
|
54
|
+
文件系统ID
|
55
55
|
|
56
56
|
:return: The share_id of this DeleteFsDirRequest.
|
57
57
|
:rtype: str
|
@@ -62,7 +62,7 @@ class DeleteFsDirRequest:
|
|
62
62
|
def share_id(self, share_id):
|
63
63
|
r"""Sets the share_id of this DeleteFsDirRequest.
|
64
64
|
|
65
|
-
文件系统
|
65
|
+
文件系统ID
|
66
66
|
|
67
67
|
:param share_id: The share_id of this DeleteFsDirRequest.
|
68
68
|
:type share_id: str
|
@@ -33,7 +33,7 @@ class DeleteFsTaskRequest:
|
|
33
33
|
|
34
34
|
The model defined in huaweicloud sdk
|
35
35
|
|
36
|
-
:param share_id: 文件系统
|
36
|
+
:param share_id: 文件系统ID
|
37
37
|
:type share_id: str
|
38
38
|
:param feature: 任务类型。例,DU任务取值为dir-usage
|
39
39
|
:type feature: str
|
@@ -56,7 +56,7 @@ class DeleteFsTaskRequest:
|
|
56
56
|
def share_id(self):
|
57
57
|
r"""Gets the share_id of this DeleteFsTaskRequest.
|
58
58
|
|
59
|
-
文件系统
|
59
|
+
文件系统ID
|
60
60
|
|
61
61
|
:return: The share_id of this DeleteFsTaskRequest.
|
62
62
|
:rtype: str
|
@@ -67,7 +67,7 @@ class DeleteFsTaskRequest:
|
|
67
67
|
def share_id(self, share_id):
|
68
68
|
r"""Sets the share_id of this DeleteFsTaskRequest.
|
69
69
|
|
70
|
-
文件系统
|
70
|
+
文件系统ID
|
71
71
|
|
72
72
|
:param share_id: The share_id of this DeleteFsTaskRequest.
|
73
73
|
:type share_id: str
|
@@ -18,21 +18,48 @@ class DeleteFsTaskResponse(SdkResponse):
|
|
18
18
|
sensitive_list = []
|
19
19
|
|
20
20
|
openapi_types = {
|
21
|
+
'x_request_id': 'str'
|
21
22
|
}
|
22
23
|
|
23
24
|
attribute_map = {
|
25
|
+
'x_request_id': 'X-request-id'
|
24
26
|
}
|
25
27
|
|
26
|
-
def __init__(self):
|
28
|
+
def __init__(self, x_request_id=None):
|
27
29
|
r"""DeleteFsTaskResponse
|
28
30
|
|
29
31
|
The model defined in huaweicloud sdk
|
30
32
|
|
33
|
+
:param x_request_id:
|
34
|
+
:type x_request_id: str
|
31
35
|
"""
|
32
36
|
|
33
37
|
super(DeleteFsTaskResponse, self).__init__()
|
38
|
+
|
39
|
+
self._x_request_id = None
|
34
40
|
self.discriminator = None
|
35
41
|
|
42
|
+
if x_request_id is not None:
|
43
|
+
self.x_request_id = x_request_id
|
44
|
+
|
45
|
+
@property
|
46
|
+
def x_request_id(self):
|
47
|
+
r"""Gets the x_request_id of this DeleteFsTaskResponse.
|
48
|
+
|
49
|
+
:return: The x_request_id of this DeleteFsTaskResponse.
|
50
|
+
:rtype: str
|
51
|
+
"""
|
52
|
+
return self._x_request_id
|
53
|
+
|
54
|
+
@x_request_id.setter
|
55
|
+
def x_request_id(self, x_request_id):
|
56
|
+
r"""Sets the x_request_id of this DeleteFsTaskResponse.
|
57
|
+
|
58
|
+
:param x_request_id: The x_request_id of this DeleteFsTaskResponse.
|
59
|
+
:type x_request_id: str
|
60
|
+
"""
|
61
|
+
self._x_request_id = x_request_id
|
62
|
+
|
36
63
|
def to_dict(self):
|
37
64
|
"""Returns the model properties as a dict"""
|
38
65
|
result = {}
|
@@ -29,7 +29,7 @@ class DeleteLdapConfigRequest:
|
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
32
|
-
:param share_id: 文件系统
|
32
|
+
:param share_id: 文件系统ID
|
33
33
|
:type share_id: str
|
34
34
|
"""
|
35
35
|
|
@@ -44,7 +44,7 @@ class DeleteLdapConfigRequest:
|
|
44
44
|
def share_id(self):
|
45
45
|
r"""Gets the share_id of this DeleteLdapConfigRequest.
|
46
46
|
|
47
|
-
文件系统
|
47
|
+
文件系统ID
|
48
48
|
|
49
49
|
:return: The share_id of this DeleteLdapConfigRequest.
|
50
50
|
:rtype: str
|
@@ -55,7 +55,7 @@ class DeleteLdapConfigRequest:
|
|
55
55
|
def share_id(self, share_id):
|
56
56
|
r"""Sets the share_id of this DeleteLdapConfigRequest.
|
57
57
|
|
58
|
-
文件系统
|
58
|
+
文件系统ID
|
59
59
|
|
60
60
|
:param share_id: The share_id of this DeleteLdapConfigRequest.
|
61
61
|
:type share_id: str
|
@@ -18,35 +18,42 @@ class DeleteLdapConfigResponse(SdkResponse):
|
|
18
18
|
sensitive_list = []
|
19
19
|
|
20
20
|
openapi_types = {
|
21
|
-
'job_id': 'str'
|
21
|
+
'job_id': 'str',
|
22
|
+
'x_request_id': 'str'
|
22
23
|
}
|
23
24
|
|
24
25
|
attribute_map = {
|
25
|
-
'job_id': 'jobId'
|
26
|
+
'job_id': 'jobId',
|
27
|
+
'x_request_id': 'X-request-id'
|
26
28
|
}
|
27
29
|
|
28
|
-
def __init__(self, job_id=None):
|
30
|
+
def __init__(self, job_id=None, x_request_id=None):
|
29
31
|
r"""DeleteLdapConfigResponse
|
30
32
|
|
31
33
|
The model defined in huaweicloud sdk
|
32
34
|
|
33
|
-
:param job_id:
|
35
|
+
:param job_id: LDAP异步任务的id。可通过查询job的状态详情接口查询job的执行状态。
|
34
36
|
:type job_id: str
|
37
|
+
:param x_request_id:
|
38
|
+
:type x_request_id: str
|
35
39
|
"""
|
36
40
|
|
37
41
|
super(DeleteLdapConfigResponse, self).__init__()
|
38
42
|
|
39
43
|
self._job_id = None
|
44
|
+
self._x_request_id = None
|
40
45
|
self.discriminator = None
|
41
46
|
|
42
47
|
if job_id is not None:
|
43
48
|
self.job_id = job_id
|
49
|
+
if x_request_id is not None:
|
50
|
+
self.x_request_id = x_request_id
|
44
51
|
|
45
52
|
@property
|
46
53
|
def job_id(self):
|
47
54
|
r"""Gets the job_id of this DeleteLdapConfigResponse.
|
48
55
|
|
49
|
-
|
56
|
+
LDAP异步任务的id。可通过查询job的状态详情接口查询job的执行状态。
|
50
57
|
|
51
58
|
:return: The job_id of this DeleteLdapConfigResponse.
|
52
59
|
:rtype: str
|
@@ -57,13 +64,31 @@ class DeleteLdapConfigResponse(SdkResponse):
|
|
57
64
|
def job_id(self, job_id):
|
58
65
|
r"""Sets the job_id of this DeleteLdapConfigResponse.
|
59
66
|
|
60
|
-
|
67
|
+
LDAP异步任务的id。可通过查询job的状态详情接口查询job的执行状态。
|
61
68
|
|
62
69
|
:param job_id: The job_id of this DeleteLdapConfigResponse.
|
63
70
|
:type job_id: str
|
64
71
|
"""
|
65
72
|
self._job_id = job_id
|
66
73
|
|
74
|
+
@property
|
75
|
+
def x_request_id(self):
|
76
|
+
r"""Gets the x_request_id of this DeleteLdapConfigResponse.
|
77
|
+
|
78
|
+
:return: The x_request_id of this DeleteLdapConfigResponse.
|
79
|
+
:rtype: str
|
80
|
+
"""
|
81
|
+
return self._x_request_id
|
82
|
+
|
83
|
+
@x_request_id.setter
|
84
|
+
def x_request_id(self, x_request_id):
|
85
|
+
r"""Sets the x_request_id of this DeleteLdapConfigResponse.
|
86
|
+
|
87
|
+
:param x_request_id: The x_request_id of this DeleteLdapConfigResponse.
|
88
|
+
:type x_request_id: str
|
89
|
+
"""
|
90
|
+
self._x_request_id = x_request_id
|
91
|
+
|
67
92
|
def to_dict(self):
|
68
93
|
"""Returns the model properties as a dict"""
|
69
94
|
result = {}
|
@@ -31,7 +31,7 @@ class DeletePermRuleRequest:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param share_id: 文件系统
|
34
|
+
:param share_id: 文件系统ID
|
35
35
|
:type share_id: str
|
36
36
|
:param rule_id: 权限规则id
|
37
37
|
:type rule_id: str
|
@@ -50,7 +50,7 @@ class DeletePermRuleRequest:
|
|
50
50
|
def share_id(self):
|
51
51
|
r"""Gets the share_id of this DeletePermRuleRequest.
|
52
52
|
|
53
|
-
文件系统
|
53
|
+
文件系统ID
|
54
54
|
|
55
55
|
:return: The share_id of this DeletePermRuleRequest.
|
56
56
|
:rtype: str
|
@@ -61,7 +61,7 @@ class DeletePermRuleRequest:
|
|
61
61
|
def share_id(self, share_id):
|
62
62
|
r"""Sets the share_id of this DeletePermRuleRequest.
|
63
63
|
|
64
|
-
文件系统
|
64
|
+
文件系统ID
|
65
65
|
|
66
66
|
:param share_id: The share_id of this DeletePermRuleRequest.
|
67
67
|
:type share_id: str
|
@@ -33,7 +33,7 @@ class DeleteSharedTagRequest:
|
|
33
33
|
|
34
34
|
:param share_id: 共享ID
|
35
35
|
:type share_id: str
|
36
|
-
:param key: 标签的键,最大长度128个字符。 key不能为空,不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。只能包含大写字母、小写字母、数字,特殊字符\"-\"和\"_\"。 说明:调用删除共享标签接口删除标签时,如果标签的键中存在不被URL直接解析的特殊字符,需要对标签的键进行URL转义处理。
|
36
|
+
:param key: 标签的键,最大长度128个字符。 key不能为空,不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。只能包含大写字母、小写字母、数字,特殊字符\"-\"和\"_\"。 说明:调用删除共享标签接口删除标签时,如果标签的键中存在不被URL直接解析的特殊字符,需要对标签的键进行URL转义处理。
|
37
37
|
:type key: str
|
38
38
|
"""
|
39
39
|
|
@@ -72,7 +72,7 @@ class DeleteSharedTagRequest:
|
|
72
72
|
def key(self):
|
73
73
|
r"""Gets the key of this DeleteSharedTagRequest.
|
74
74
|
|
75
|
-
标签的键,最大长度128个字符。 key不能为空,不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。只能包含大写字母、小写字母、数字,特殊字符\"-\"和\"_\"。 说明:调用删除共享标签接口删除标签时,如果标签的键中存在不被URL直接解析的特殊字符,需要对标签的键进行URL转义处理。
|
75
|
+
标签的键,最大长度128个字符。 key不能为空,不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。只能包含大写字母、小写字母、数字,特殊字符\"-\"和\"_\"。 说明:调用删除共享标签接口删除标签时,如果标签的键中存在不被URL直接解析的特殊字符,需要对标签的键进行URL转义处理。
|
76
76
|
|
77
77
|
:return: The key of this DeleteSharedTagRequest.
|
78
78
|
:rtype: str
|
@@ -83,7 +83,7 @@ class DeleteSharedTagRequest:
|
|
83
83
|
def key(self, key):
|
84
84
|
r"""Sets the key of this DeleteSharedTagRequest.
|
85
85
|
|
86
|
-
标签的键,最大长度128个字符。 key不能为空,不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。只能包含大写字母、小写字母、数字,特殊字符\"-\"和\"_\"。 说明:调用删除共享标签接口删除标签时,如果标签的键中存在不被URL直接解析的特殊字符,需要对标签的键进行URL转义处理。
|
86
|
+
标签的键,最大长度128个字符。 key不能为空,不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。只能包含大写字母、小写字母、数字,特殊字符\"-\"和\"_\"。 说明:调用删除共享标签接口删除标签时,如果标签的键中存在不被URL直接解析的特殊字符,需要对标签的键进行URL转义处理。
|
87
87
|
|
88
88
|
:param key: The key of this DeleteSharedTagRequest.
|
89
89
|
:type key: str
|
@@ -33,9 +33,9 @@ class Extend:
|
|
33
33
|
|
34
34
|
The model defined in huaweicloud sdk
|
35
35
|
|
36
|
-
:param new_size: 扩容后文件系统的新容量,以GiB为单位。 SFS Turbo上一代文件系统规格类型-标准型和性能型,取值范围500~32768 GiB,扩容步长大于等于100 GiB。 SFS Turbo上一代文件系统规格类型-标准型增强版和性能型增强版。容量范围是10240~327680 GiB。扩容步长大于等于100 GiB。 20MB/s/TiB,容量范围是3686~1048576 GiB。容量必须为1.2TiB的倍数,扩容步长需要大于等于1.2TiB,需要将目标容量换算为GiB后需要向下取整。如4.8TiB->4915GiB,8.4TiB->8601GiB。 40MB/s/TiB,容量范围是1228~1048576 GiB。容量必须为1.2TiB的倍数,扩容步长需要大于等于1.2TiB,需要将目标容量换算为GiB后需要向下取整。如4.8TiB->4915GiB,8.4TiB->8601GiB。 125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB与40MB/s/TiB的容量范围,扩容步长相同。 HPC缓存型文件系统,容量范围是4096~1048576 GiB。扩容步长均为1TiB。需要将目标容量换算为GiB。
|
36
|
+
:param new_size: 扩容后文件系统的新容量,以GiB为单位。 SFS Turbo上一代文件系统规格类型-标准型和性能型,取值范围500~32768 GiB,扩容步长大于等于100 GiB。 SFS Turbo上一代文件系统规格类型-标准型增强版和性能型增强版。容量范围是10240~327680 GiB。扩容步长大于等于100 GiB。 20MB/s/TiB,容量范围是3686~1048576 GiB。容量必须为1.2TiB的倍数,扩容步长需要大于等于1.2TiB,需要将目标容量换算为GiB后需要向下取整。如4.8TiB->4915GiB,8.4TiB->8601GiB。 40MB/s/TiB,容量范围是1228~1048576 GiB。容量必须为1.2TiB的倍数,扩容步长需要大于等于1.2TiB,需要将目标容量换算为GiB后需要向下取整。如4.8TiB->4915GiB,8.4TiB->8601GiB。 125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB与40MB/s/TiB的容量范围,扩容步长相同。 HPC缓存型文件系统,容量范围是4096~1048576 GiB。扩容步长均为1TiB。需要将目标容量换算为GiB。
|
37
37
|
:type new_size: int
|
38
|
-
:param new_bandwidth: 带宽的目标值,单位:GB。仅HPC缓存型支持带宽扩缩。
|
38
|
+
:param new_bandwidth: 带宽的目标值,单位:GB。仅HPC缓存型支持带宽扩缩。 支持的带宽值为:2、4、8、16、24、32、48。
|
39
39
|
:type new_bandwidth: int
|
40
40
|
:param bss_param:
|
41
41
|
:type bss_param: :class:`huaweicloudsdksfsturbo.v1.BssInfoExtend`
|
@@ -58,7 +58,7 @@ class Extend:
|
|
58
58
|
def new_size(self):
|
59
59
|
r"""Gets the new_size of this Extend.
|
60
60
|
|
61
|
-
扩容后文件系统的新容量,以GiB为单位。 SFS Turbo上一代文件系统规格类型-标准型和性能型,取值范围500~32768 GiB,扩容步长大于等于100 GiB。 SFS Turbo上一代文件系统规格类型-标准型增强版和性能型增强版。容量范围是10240~327680 GiB。扩容步长大于等于100 GiB。 20MB/s/TiB,容量范围是3686~1048576 GiB。容量必须为1.2TiB的倍数,扩容步长需要大于等于1.2TiB,需要将目标容量换算为GiB后需要向下取整。如4.8TiB->4915GiB,8.4TiB->8601GiB。 40MB/s/TiB,容量范围是1228~1048576 GiB。容量必须为1.2TiB的倍数,扩容步长需要大于等于1.2TiB,需要将目标容量换算为GiB后需要向下取整。如4.8TiB->4915GiB,8.4TiB->8601GiB。 125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB与40MB/s/TiB的容量范围,扩容步长相同。 HPC缓存型文件系统,容量范围是4096~1048576 GiB。扩容步长均为1TiB。需要将目标容量换算为GiB。
|
61
|
+
扩容后文件系统的新容量,以GiB为单位。 SFS Turbo上一代文件系统规格类型-标准型和性能型,取值范围500~32768 GiB,扩容步长大于等于100 GiB。 SFS Turbo上一代文件系统规格类型-标准型增强版和性能型增强版。容量范围是10240~327680 GiB。扩容步长大于等于100 GiB。 20MB/s/TiB,容量范围是3686~1048576 GiB。容量必须为1.2TiB的倍数,扩容步长需要大于等于1.2TiB,需要将目标容量换算为GiB后需要向下取整。如4.8TiB->4915GiB,8.4TiB->8601GiB。 40MB/s/TiB,容量范围是1228~1048576 GiB。容量必须为1.2TiB的倍数,扩容步长需要大于等于1.2TiB,需要将目标容量换算为GiB后需要向下取整。如4.8TiB->4915GiB,8.4TiB->8601GiB。 125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB与40MB/s/TiB的容量范围,扩容步长相同。 HPC缓存型文件系统,容量范围是4096~1048576 GiB。扩容步长均为1TiB。需要将目标容量换算为GiB。
|
62
62
|
|
63
63
|
:return: The new_size of this Extend.
|
64
64
|
:rtype: int
|
@@ -69,7 +69,7 @@ class Extend:
|
|
69
69
|
def new_size(self, new_size):
|
70
70
|
r"""Sets the new_size of this Extend.
|
71
71
|
|
72
|
-
扩容后文件系统的新容量,以GiB为单位。 SFS Turbo上一代文件系统规格类型-标准型和性能型,取值范围500~32768 GiB,扩容步长大于等于100 GiB。 SFS Turbo上一代文件系统规格类型-标准型增强版和性能型增强版。容量范围是10240~327680 GiB。扩容步长大于等于100 GiB。 20MB/s/TiB,容量范围是3686~1048576 GiB。容量必须为1.2TiB的倍数,扩容步长需要大于等于1.2TiB,需要将目标容量换算为GiB后需要向下取整。如4.8TiB->4915GiB,8.4TiB->8601GiB。 40MB/s/TiB,容量范围是1228~1048576 GiB。容量必须为1.2TiB的倍数,扩容步长需要大于等于1.2TiB,需要将目标容量换算为GiB后需要向下取整。如4.8TiB->4915GiB,8.4TiB->8601GiB。 125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB与40MB/s/TiB的容量范围,扩容步长相同。 HPC缓存型文件系统,容量范围是4096~1048576 GiB。扩容步长均为1TiB。需要将目标容量换算为GiB。
|
72
|
+
扩容后文件系统的新容量,以GiB为单位。 SFS Turbo上一代文件系统规格类型-标准型和性能型,取值范围500~32768 GiB,扩容步长大于等于100 GiB。 SFS Turbo上一代文件系统规格类型-标准型增强版和性能型增强版。容量范围是10240~327680 GiB。扩容步长大于等于100 GiB。 20MB/s/TiB,容量范围是3686~1048576 GiB。容量必须为1.2TiB的倍数,扩容步长需要大于等于1.2TiB,需要将目标容量换算为GiB后需要向下取整。如4.8TiB->4915GiB,8.4TiB->8601GiB。 40MB/s/TiB,容量范围是1228~1048576 GiB。容量必须为1.2TiB的倍数,扩容步长需要大于等于1.2TiB,需要将目标容量换算为GiB后需要向下取整。如4.8TiB->4915GiB,8.4TiB->8601GiB。 125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB与40MB/s/TiB的容量范围,扩容步长相同。 HPC缓存型文件系统,容量范围是4096~1048576 GiB。扩容步长均为1TiB。需要将目标容量换算为GiB。
|
73
73
|
|
74
74
|
:param new_size: The new_size of this Extend.
|
75
75
|
:type new_size: int
|
@@ -80,7 +80,7 @@ class Extend:
|
|
80
80
|
def new_bandwidth(self):
|
81
81
|
r"""Gets the new_bandwidth of this Extend.
|
82
82
|
|
83
|
-
带宽的目标值,单位:GB。仅HPC缓存型支持带宽扩缩。
|
83
|
+
带宽的目标值,单位:GB。仅HPC缓存型支持带宽扩缩。 支持的带宽值为:2、4、8、16、24、32、48。
|
84
84
|
|
85
85
|
:return: The new_bandwidth of this Extend.
|
86
86
|
:rtype: int
|
@@ -91,7 +91,7 @@ class Extend:
|
|
91
91
|
def new_bandwidth(self, new_bandwidth):
|
92
92
|
r"""Sets the new_bandwidth of this Extend.
|
93
93
|
|
94
|
-
带宽的目标值,单位:GB。仅HPC缓存型支持带宽扩缩。
|
94
|
+
带宽的目标值,单位:GB。仅HPC缓存型支持带宽扩缩。 支持的带宽值为:2、4、8、16、24、32、48。
|
95
95
|
|
96
96
|
:param new_bandwidth: The new_bandwidth of this Extend.
|
97
97
|
:type new_bandwidth: int
|