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 ChangeShareChargeModeV2Response(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
|
+
'order_ids': 'list[str]',
|
22
|
+
'x_request_id': 'str'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'order_ids': 'order_ids',
|
27
|
+
'x_request_id': 'X-request-id'
|
28
|
+
}
|
29
|
+
|
30
|
+
def __init__(self, order_ids=None, x_request_id=None):
|
31
|
+
r"""ChangeShareChargeModeV2Response
|
32
|
+
|
33
|
+
The model defined in huaweicloud sdk
|
34
|
+
|
35
|
+
:param order_ids: 转包周期生成的订单数组
|
36
|
+
:type order_ids: list[str]
|
37
|
+
:param x_request_id:
|
38
|
+
:type x_request_id: str
|
39
|
+
"""
|
40
|
+
|
41
|
+
super(ChangeShareChargeModeV2Response, self).__init__()
|
42
|
+
|
43
|
+
self._order_ids = None
|
44
|
+
self._x_request_id = None
|
45
|
+
self.discriminator = None
|
46
|
+
|
47
|
+
if order_ids is not None:
|
48
|
+
self.order_ids = order_ids
|
49
|
+
if x_request_id is not None:
|
50
|
+
self.x_request_id = x_request_id
|
51
|
+
|
52
|
+
@property
|
53
|
+
def order_ids(self):
|
54
|
+
r"""Gets the order_ids of this ChangeShareChargeModeV2Response.
|
55
|
+
|
56
|
+
转包周期生成的订单数组
|
57
|
+
|
58
|
+
:return: The order_ids of this ChangeShareChargeModeV2Response.
|
59
|
+
:rtype: list[str]
|
60
|
+
"""
|
61
|
+
return self._order_ids
|
62
|
+
|
63
|
+
@order_ids.setter
|
64
|
+
def order_ids(self, order_ids):
|
65
|
+
r"""Sets the order_ids of this ChangeShareChargeModeV2Response.
|
66
|
+
|
67
|
+
转包周期生成的订单数组
|
68
|
+
|
69
|
+
:param order_ids: The order_ids of this ChangeShareChargeModeV2Response.
|
70
|
+
:type order_ids: list[str]
|
71
|
+
"""
|
72
|
+
self._order_ids = order_ids
|
73
|
+
|
74
|
+
@property
|
75
|
+
def x_request_id(self):
|
76
|
+
r"""Gets the x_request_id of this ChangeShareChargeModeV2Response.
|
77
|
+
|
78
|
+
:return: The x_request_id of this ChangeShareChargeModeV2Response.
|
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 ChangeShareChargeModeV2Response.
|
86
|
+
|
87
|
+
:param x_request_id: The x_request_id of this ChangeShareChargeModeV2Response.
|
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, ChangeShareChargeModeV2Response):
|
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
|
@@ -0,0 +1,115 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ClientIpInfo:
|
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
|
+
'ips': 'str'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'ips': 'ips'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, ips=None):
|
28
|
+
r"""ClientIpInfo
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param ips: 获取已挂载的客户端ip信息
|
33
|
+
:type ips: str
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._ips = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
if ips is not None:
|
42
|
+
self.ips = ips
|
43
|
+
|
44
|
+
@property
|
45
|
+
def ips(self):
|
46
|
+
r"""Gets the ips of this ClientIpInfo.
|
47
|
+
|
48
|
+
获取已挂载的客户端ip信息
|
49
|
+
|
50
|
+
:return: The ips of this ClientIpInfo.
|
51
|
+
:rtype: str
|
52
|
+
"""
|
53
|
+
return self._ips
|
54
|
+
|
55
|
+
@ips.setter
|
56
|
+
def ips(self, ips):
|
57
|
+
r"""Sets the ips of this ClientIpInfo.
|
58
|
+
|
59
|
+
获取已挂载的客户端ip信息
|
60
|
+
|
61
|
+
:param ips: The ips of this ClientIpInfo.
|
62
|
+
:type ips: str
|
63
|
+
"""
|
64
|
+
self._ips = ips
|
65
|
+
|
66
|
+
def to_dict(self):
|
67
|
+
"""Returns the model properties as a dict"""
|
68
|
+
result = {}
|
69
|
+
|
70
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
71
|
+
value = getattr(self, attr)
|
72
|
+
if isinstance(value, list):
|
73
|
+
result[attr] = list(map(
|
74
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
75
|
+
value
|
76
|
+
))
|
77
|
+
elif hasattr(value, "to_dict"):
|
78
|
+
result[attr] = value.to_dict()
|
79
|
+
elif isinstance(value, dict):
|
80
|
+
result[attr] = dict(map(
|
81
|
+
lambda item: (item[0], item[1].to_dict())
|
82
|
+
if hasattr(item[1], "to_dict") else item,
|
83
|
+
value.items()
|
84
|
+
))
|
85
|
+
else:
|
86
|
+
if attr in self.sensitive_list:
|
87
|
+
result[attr] = "****"
|
88
|
+
else:
|
89
|
+
result[attr] = value
|
90
|
+
|
91
|
+
return result
|
92
|
+
|
93
|
+
def to_str(self):
|
94
|
+
"""Returns the string representation of the model"""
|
95
|
+
import simplejson as json
|
96
|
+
if six.PY2:
|
97
|
+
import sys
|
98
|
+
reload(sys)
|
99
|
+
sys.setdefaultencoding("utf-8")
|
100
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
101
|
+
|
102
|
+
def __repr__(self):
|
103
|
+
"""For `print`"""
|
104
|
+
return self.to_str()
|
105
|
+
|
106
|
+
def __eq__(self, other):
|
107
|
+
"""Returns true if both objects are equal"""
|
108
|
+
if not isinstance(other, ClientIpInfo):
|
109
|
+
return False
|
110
|
+
|
111
|
+
return self.__dict__ == other.__dict__
|
112
|
+
|
113
|
+
def __ne__(self, other):
|
114
|
+
"""Returns true if both objects are not equal"""
|
115
|
+
return not self == other
|
@@ -31,7 +31,7 @@ class CreateBackendTargetRequestBody:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param file_system_path: 联动目录名称,SFS Turbo
|
34
|
+
:param file_system_path: 联动目录名称,SFS Turbo会在文件系统根目录下以该名称创建一个子目录,该目录用于绑定后端存储。必须是文件系统根目录下不存在的目录名。限制如下: - 长度不能超过63个字符,子目录名称不能是“.”或“..” - 不支持多层目录,不能包含字符'/'
|
35
35
|
:type file_system_path: str
|
36
36
|
:param obs:
|
37
37
|
:type obs: :class:`huaweicloudsdksfsturbo.v1.ObsDataRepository`
|
@@ -50,7 +50,7 @@ class CreateBackendTargetRequestBody:
|
|
50
50
|
def file_system_path(self):
|
51
51
|
r"""Gets the file_system_path of this CreateBackendTargetRequestBody.
|
52
52
|
|
53
|
-
联动目录名称,SFS Turbo
|
53
|
+
联动目录名称,SFS Turbo会在文件系统根目录下以该名称创建一个子目录,该目录用于绑定后端存储。必须是文件系统根目录下不存在的目录名。限制如下: - 长度不能超过63个字符,子目录名称不能是“.”或“..” - 不支持多层目录,不能包含字符'/'
|
54
54
|
|
55
55
|
:return: The file_system_path of this CreateBackendTargetRequestBody.
|
56
56
|
:rtype: str
|
@@ -61,7 +61,7 @@ class CreateBackendTargetRequestBody:
|
|
61
61
|
def file_system_path(self, file_system_path):
|
62
62
|
r"""Sets the file_system_path of this CreateBackendTargetRequestBody.
|
63
63
|
|
64
|
-
联动目录名称,SFS Turbo
|
64
|
+
联动目录名称,SFS Turbo会在文件系统根目录下以该名称创建一个子目录,该目录用于绑定后端存储。必须是文件系统根目录下不存在的目录名。限制如下: - 长度不能超过63个字符,子目录名称不能是“.”或“..” - 不支持多层目录,不能包含字符'/'
|
65
65
|
|
66
66
|
:param file_system_path: The file_system_path of this CreateBackendTargetRequestBody.
|
67
67
|
:type file_system_path: str
|
@@ -42,7 +42,7 @@ class CreateBackendTargetResponse(SdkResponse):
|
|
42
42
|
|
43
43
|
The model defined in huaweicloud sdk
|
44
44
|
|
45
|
-
:param target_id: 绑定关系
|
45
|
+
:param target_id: 绑定关系ID
|
46
46
|
:type target_id: str
|
47
47
|
:param creation_time: 绑定关系创建时间
|
48
48
|
:type creation_time: str
|
@@ -88,7 +88,7 @@ class CreateBackendTargetResponse(SdkResponse):
|
|
88
88
|
def target_id(self):
|
89
89
|
r"""Gets the target_id of this CreateBackendTargetResponse.
|
90
90
|
|
91
|
-
绑定关系
|
91
|
+
绑定关系ID
|
92
92
|
|
93
93
|
:return: The target_id of this CreateBackendTargetResponse.
|
94
94
|
:rtype: str
|
@@ -99,7 +99,7 @@ class CreateBackendTargetResponse(SdkResponse):
|
|
99
99
|
def target_id(self, target_id):
|
100
100
|
r"""Sets the target_id of this CreateBackendTargetResponse.
|
101
101
|
|
102
|
-
绑定关系
|
102
|
+
绑定关系ID
|
103
103
|
|
104
104
|
:param target_id: The target_id of this CreateBackendTargetResponse.
|
105
105
|
:type target_id: str
|
@@ -31,7 +31,7 @@ class CreateFsDirQuotaRequest:
|
|
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 CreateFsDirQuotaRequest
|
37
37
|
:type body: :class:`huaweicloudsdksfsturbo.v1.CreateFsDirQuotaRequestBody`
|
@@ -51,7 +51,7 @@ class CreateFsDirQuotaRequest:
|
|
51
51
|
def share_id(self):
|
52
52
|
r"""Gets the share_id of this CreateFsDirQuotaRequest.
|
53
53
|
|
54
|
-
文件系统
|
54
|
+
文件系统ID
|
55
55
|
|
56
56
|
:return: The share_id of this CreateFsDirQuotaRequest.
|
57
57
|
:rtype: str
|
@@ -62,7 +62,7 @@ class CreateFsDirQuotaRequest:
|
|
62
62
|
def share_id(self, share_id):
|
63
63
|
r"""Sets the share_id of this CreateFsDirQuotaRequest.
|
64
64
|
|
65
|
-
文件系统
|
65
|
+
文件系统ID
|
66
66
|
|
67
67
|
:param share_id: The share_id of this CreateFsDirQuotaRequest.
|
68
68
|
:type share_id: str
|
@@ -35,9 +35,9 @@ class CreateFsDirQuotaRequestBody:
|
|
35
35
|
|
36
36
|
:param path: 合法的已存在的目录的全路径
|
37
37
|
:type path: str
|
38
|
-
:param capacity: 目录的容量大小,单位:MB;
|
38
|
+
:param capacity: 目录的容量大小,单位:MB; 不填写则默认为0,会导致数据无法写入目录; capacity和quota至少二选一。
|
39
39
|
:type capacity: int
|
40
|
-
:param inode: 目录的inode数量限制;
|
40
|
+
:param inode: 目录的inode数量限制; 不填写则默认为0,会导致数据无法写入目录; capacity和quota至少二选一。
|
41
41
|
:type inode: int
|
42
42
|
"""
|
43
43
|
|
@@ -80,7 +80,7 @@ class CreateFsDirQuotaRequestBody:
|
|
80
80
|
def capacity(self):
|
81
81
|
r"""Gets the capacity of this CreateFsDirQuotaRequestBody.
|
82
82
|
|
83
|
-
目录的容量大小,单位:MB;
|
83
|
+
目录的容量大小,单位:MB; 不填写则默认为0,会导致数据无法写入目录; capacity和quota至少二选一。
|
84
84
|
|
85
85
|
:return: The capacity of this CreateFsDirQuotaRequestBody.
|
86
86
|
:rtype: int
|
@@ -91,7 +91,7 @@ class CreateFsDirQuotaRequestBody:
|
|
91
91
|
def capacity(self, capacity):
|
92
92
|
r"""Sets the capacity of this CreateFsDirQuotaRequestBody.
|
93
93
|
|
94
|
-
目录的容量大小,单位:MB;
|
94
|
+
目录的容量大小,单位:MB; 不填写则默认为0,会导致数据无法写入目录; capacity和quota至少二选一。
|
95
95
|
|
96
96
|
:param capacity: The capacity of this CreateFsDirQuotaRequestBody.
|
97
97
|
:type capacity: int
|
@@ -102,7 +102,7 @@ class CreateFsDirQuotaRequestBody:
|
|
102
102
|
def inode(self):
|
103
103
|
r"""Gets the inode of this CreateFsDirQuotaRequestBody.
|
104
104
|
|
105
|
-
目录的inode数量限制;
|
105
|
+
目录的inode数量限制; 不填写则默认为0,会导致数据无法写入目录; capacity和quota至少二选一。
|
106
106
|
|
107
107
|
:return: The inode of this CreateFsDirQuotaRequestBody.
|
108
108
|
:rtype: int
|
@@ -113,7 +113,7 @@ class CreateFsDirQuotaRequestBody:
|
|
113
113
|
def inode(self, inode):
|
114
114
|
r"""Sets the inode of this CreateFsDirQuotaRequestBody.
|
115
115
|
|
116
|
-
目录的inode数量限制;
|
116
|
+
目录的inode数量限制; 不填写则默认为0,会导致数据无法写入目录; capacity和quota至少二选一。
|
117
117
|
|
118
118
|
:param inode: The inode of this CreateFsDirQuotaRequestBody.
|
119
119
|
:type inode: int
|
@@ -31,7 +31,7 @@ class CreateFsDirRequest:
|
|
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 CreateFsDirRequest
|
37
37
|
:type body: :class:`huaweicloudsdksfsturbo.v1.CreateFsDirRequestBody`
|
@@ -51,7 +51,7 @@ class CreateFsDirRequest:
|
|
51
51
|
def share_id(self):
|
52
52
|
r"""Gets the share_id of this CreateFsDirRequest.
|
53
53
|
|
54
|
-
文件系统
|
54
|
+
文件系统ID
|
55
55
|
|
56
56
|
:return: The share_id of this CreateFsDirRequest.
|
57
57
|
:rtype: str
|
@@ -62,7 +62,7 @@ class CreateFsDirRequest:
|
|
62
62
|
def share_id(self, share_id):
|
63
63
|
r"""Sets the share_id of this CreateFsDirRequest.
|
64
64
|
|
65
|
-
文件系统
|
65
|
+
文件系统ID
|
66
66
|
|
67
67
|
:param share_id: The share_id of this CreateFsDirRequest.
|
68
68
|
:type share_id: str
|
@@ -18,29 +18,36 @@ class CreateFsTaskResponse(SdkResponse):
|
|
18
18
|
sensitive_list = []
|
19
19
|
|
20
20
|
openapi_types = {
|
21
|
-
'task_id': 'str'
|
21
|
+
'task_id': 'str',
|
22
|
+
'x_request_id': 'str'
|
22
23
|
}
|
23
24
|
|
24
25
|
attribute_map = {
|
25
|
-
'task_id': 'task_id'
|
26
|
+
'task_id': 'task_id',
|
27
|
+
'x_request_id': 'X-request-id'
|
26
28
|
}
|
27
29
|
|
28
|
-
def __init__(self, task_id=None):
|
30
|
+
def __init__(self, task_id=None, x_request_id=None):
|
29
31
|
r"""CreateFsTaskResponse
|
30
32
|
|
31
33
|
The model defined in huaweicloud sdk
|
32
34
|
|
33
35
|
:param task_id: 任务ID
|
34
36
|
:type task_id: str
|
37
|
+
:param x_request_id:
|
38
|
+
:type x_request_id: str
|
35
39
|
"""
|
36
40
|
|
37
41
|
super(CreateFsTaskResponse, self).__init__()
|
38
42
|
|
39
43
|
self._task_id = None
|
44
|
+
self._x_request_id = None
|
40
45
|
self.discriminator = None
|
41
46
|
|
42
47
|
if task_id is not None:
|
43
48
|
self.task_id = task_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 task_id(self):
|
@@ -64,6 +71,24 @@ class CreateFsTaskResponse(SdkResponse):
|
|
64
71
|
"""
|
65
72
|
self._task_id = task_id
|
66
73
|
|
74
|
+
@property
|
75
|
+
def x_request_id(self):
|
76
|
+
r"""Gets the x_request_id of this CreateFsTaskResponse.
|
77
|
+
|
78
|
+
:return: The x_request_id of this CreateFsTaskResponse.
|
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 CreateFsTaskResponse.
|
86
|
+
|
87
|
+
:param x_request_id: The x_request_id of this CreateFsTaskResponse.
|
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 = {}
|
@@ -43,7 +43,7 @@ class CreateHpcCacheTaskReq:
|
|
43
43
|
:type type: str
|
44
44
|
:param src_target: 联动目录名称
|
45
45
|
:type src_target: str
|
46
|
-
:param src_prefix: 导入导出任务的源端路径前缀,导入时不需要包含OBS桶名,导出时不需要包含联动目录名称。
|
46
|
+
:param src_prefix: 导入导出任务的源端路径前缀,导入时不需要包含OBS桶名,导出时不需要包含联动目录名称。 当 type 为 import、import_metadata、preload 时,该参数必须是 OBS后端存储内的相对路径前缀。 当 type 为 export 时,该参数必须是文件系统内file_system_path下的相对路径前缀。 如果不带该字段,导入时会导入绑定OBS桶内的所有对象,导出时会导出联动目录下的所有文件。限制如下: - 长度为1~1024个字符之间 - 不能包含以下字符:\\:*?\"<>| - 不能以英文句号.开头和结尾
|
47
47
|
:type src_prefix: str
|
48
48
|
:param dest_target: 目前只支持和src_target保持一致
|
49
49
|
:type dest_target: str
|
@@ -121,7 +121,7 @@ class CreateHpcCacheTaskReq:
|
|
121
121
|
def src_prefix(self):
|
122
122
|
r"""Gets the src_prefix of this CreateHpcCacheTaskReq.
|
123
123
|
|
124
|
-
导入导出任务的源端路径前缀,导入时不需要包含OBS桶名,导出时不需要包含联动目录名称。
|
124
|
+
导入导出任务的源端路径前缀,导入时不需要包含OBS桶名,导出时不需要包含联动目录名称。 当 type 为 import、import_metadata、preload 时,该参数必须是 OBS后端存储内的相对路径前缀。 当 type 为 export 时,该参数必须是文件系统内file_system_path下的相对路径前缀。 如果不带该字段,导入时会导入绑定OBS桶内的所有对象,导出时会导出联动目录下的所有文件。限制如下: - 长度为1~1024个字符之间 - 不能包含以下字符:\\:*?\"<>| - 不能以英文句号.开头和结尾
|
125
125
|
|
126
126
|
:return: The src_prefix of this CreateHpcCacheTaskReq.
|
127
127
|
:rtype: str
|
@@ -132,7 +132,7 @@ class CreateHpcCacheTaskReq:
|
|
132
132
|
def src_prefix(self, src_prefix):
|
133
133
|
r"""Sets the src_prefix of this CreateHpcCacheTaskReq.
|
134
134
|
|
135
|
-
导入导出任务的源端路径前缀,导入时不需要包含OBS桶名,导出时不需要包含联动目录名称。
|
135
|
+
导入导出任务的源端路径前缀,导入时不需要包含OBS桶名,导出时不需要包含联动目录名称。 当 type 为 import、import_metadata、preload 时,该参数必须是 OBS后端存储内的相对路径前缀。 当 type 为 export 时,该参数必须是文件系统内file_system_path下的相对路径前缀。 如果不带该字段,导入时会导入绑定OBS桶内的所有对象,导出时会导出联动目录下的所有文件。限制如下: - 长度为1~1024个字符之间 - 不能包含以下字符:\\:*?\"<>| - 不能以英文句号.开头和结尾
|
136
136
|
|
137
137
|
:param src_prefix: The src_prefix of this CreateHpcCacheTaskReq.
|
138
138
|
:type src_prefix: str
|
@@ -31,7 +31,7 @@ class CreateLdapConfigRequest:
|
|
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 CreateLdapConfigRequest
|
37
37
|
:type body: :class:`huaweicloudsdksfsturbo.v1.CreateLdapConfigRequestBody`
|
@@ -51,7 +51,7 @@ class CreateLdapConfigRequest:
|
|
51
51
|
def share_id(self):
|
52
52
|
r"""Gets the share_id of this CreateLdapConfigRequest.
|
53
53
|
|
54
|
-
文件系统
|
54
|
+
文件系统ID
|
55
55
|
|
56
56
|
:return: The share_id of this CreateLdapConfigRequest.
|
57
57
|
:rtype: str
|
@@ -62,7 +62,7 @@ class CreateLdapConfigRequest:
|
|
62
62
|
def share_id(self, share_id):
|
63
63
|
r"""Sets the share_id of this CreateLdapConfigRequest.
|
64
64
|
|
65
|
-
文件系统
|
65
|
+
文件系统ID
|
66
66
|
|
67
67
|
:param share_id: The share_id of this CreateLdapConfigRequest.
|
68
68
|
:type share_id: str
|