huaweicloudsdksfsturbo 3.1.120__py2.py3-none-any.whl → 3.1.122__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.
Files changed (60) hide show
  1. huaweicloudsdksfsturbo/v1/__init__.py +13 -1
  2. huaweicloudsdksfsturbo/v1/model/__init__.py +13 -1
  3. huaweicloudsdksfsturbo/v1/model/auto_export_policy.py +115 -0
  4. huaweicloudsdksfsturbo/v1/model/create_backend_target_request_body.py +3 -3
  5. huaweicloudsdksfsturbo/v1/model/create_backend_target_response.py +3 -3
  6. huaweicloudsdksfsturbo/v1/model/create_fs_dir_quota_request_body.py +6 -6
  7. huaweicloudsdksfsturbo/v1/model/create_fs_dir_quota_response.py +6 -6
  8. huaweicloudsdksfsturbo/v1/model/create_fs_dir_request_body.py +3 -3
  9. huaweicloudsdksfsturbo/v1/model/create_fs_task_request.py +3 -3
  10. huaweicloudsdksfsturbo/v1/model/create_hpc_cache_task_req.py +34 -9
  11. huaweicloudsdksfsturbo/v1/model/create_ldap_config_request_body.py +122 -6
  12. huaweicloudsdksfsturbo/v1/model/create_ldap_config_response.py +3 -3
  13. huaweicloudsdksfsturbo/v1/model/delete_hpc_cache_task_request.py +142 -0
  14. huaweicloudsdksfsturbo/v1/model/delete_hpc_cache_task_response.py +112 -0
  15. huaweicloudsdksfsturbo/v1/model/delete_ldap_config_response.py +3 -3
  16. huaweicloudsdksfsturbo/v1/model/delete_shared_tag_request.py +3 -3
  17. huaweicloudsdksfsturbo/v1/model/extend.py +3 -3
  18. huaweicloudsdksfsturbo/v1/model/list_hpc_cache_tasks_request.py +61 -3
  19. huaweicloudsdksfsturbo/v1/model/list_perm_rules_request.py +61 -3
  20. huaweicloudsdksfsturbo/v1/model/list_shared_tags_request.py +61 -1
  21. huaweicloudsdksfsturbo/v1/model/list_shares_request.py +6 -6
  22. huaweicloudsdksfsturbo/v1/model/metadata.py +6 -6
  23. huaweicloudsdksfsturbo/v1/model/obs_data_repository.py +53 -3
  24. huaweicloudsdksfsturbo/v1/model/obs_data_repository_policy.py +111 -0
  25. huaweicloudsdksfsturbo/v1/model/obs_target_attributes.py +202 -0
  26. huaweicloudsdksfsturbo/v1/model/one_perm_rule_request_info.py +6 -6
  27. huaweicloudsdksfsturbo/v1/model/one_perm_rule_response_info.py +6 -6
  28. huaweicloudsdksfsturbo/v1/model/req_update_hpc_cache_data.py +6 -35
  29. huaweicloudsdksfsturbo/v1/model/resource_tag.py +6 -6
  30. huaweicloudsdksfsturbo/v1/model/share.py +18 -18
  31. huaweicloudsdksfsturbo/v1/model/share_info.py +185 -15
  32. huaweicloudsdksfsturbo/v1/model/share_info_feature.py +173 -0
  33. huaweicloudsdksfsturbo/v1/model/share_info_features.py +111 -0
  34. huaweicloudsdksfsturbo/v1/model/show_fs_dir_quota_response.py +6 -6
  35. huaweicloudsdksfsturbo/v1/model/show_fs_dir_response.py +9 -9
  36. huaweicloudsdksfsturbo/v1/model/show_ldap_config_response.py +119 -3
  37. huaweicloudsdksfsturbo/v1/model/show_perm_rule_response.py +6 -6
  38. huaweicloudsdksfsturbo/v1/model/show_share_response.py +185 -15
  39. huaweicloudsdksfsturbo/v1/model/tag.py +3 -3
  40. huaweicloudsdksfsturbo/v1/model/update_fs_dir_quota_request_body.py +6 -6
  41. huaweicloudsdksfsturbo/v1/model/update_fs_dir_quota_response.py +6 -6
  42. huaweicloudsdksfsturbo/v1/model/update_hpc_share_request_body.py +3 -3
  43. huaweicloudsdksfsturbo/v1/model/update_ldap_config_request_body.py +122 -6
  44. huaweicloudsdksfsturbo/v1/model/update_ldap_config_response.py +3 -3
  45. huaweicloudsdksfsturbo/v1/model/update_obs_target_attributes_request.py +167 -0
  46. huaweicloudsdksfsturbo/v1/model/update_obs_target_attributes_request_body.py +110 -0
  47. huaweicloudsdksfsturbo/v1/model/update_obs_target_attributes_response.py +166 -0
  48. huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_request.py +167 -0
  49. huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_request_body.py +110 -0
  50. huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_response.py +166 -0
  51. huaweicloudsdksfsturbo/v1/model/update_perm_rule_response.py +6 -6
  52. huaweicloudsdksfsturbo/v1/region/sfsturbo_region.py +6 -0
  53. huaweicloudsdksfsturbo/v1/sfsturbo_async_client.py +246 -13
  54. huaweicloudsdksfsturbo/v1/sfsturbo_client.py +246 -13
  55. {huaweicloudsdksfsturbo-3.1.120.dist-info → huaweicloudsdksfsturbo-3.1.122.dist-info}/METADATA +2 -2
  56. {huaweicloudsdksfsturbo-3.1.120.dist-info → huaweicloudsdksfsturbo-3.1.122.dist-info}/RECORD +59 -47
  57. {huaweicloudsdksfsturbo-3.1.120.dist-info → huaweicloudsdksfsturbo-3.1.122.dist-info}/WHEEL +1 -1
  58. huaweicloudsdksfsturbo/v1/model/config_obs_target.py +0 -198
  59. {huaweicloudsdksfsturbo-3.1.120.dist-info → huaweicloudsdksfsturbo-3.1.122.dist-info}/LICENSE +0 -0
  60. {huaweicloudsdksfsturbo-3.1.120.dist-info → huaweicloudsdksfsturbo-3.1.122.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,202 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ObsTargetAttributes:
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
+ 'file_mode': 'int',
21
+ 'dir_mode': 'int',
22
+ 'uid': 'int',
23
+ 'gid': 'int'
24
+ }
25
+
26
+ attribute_map = {
27
+ 'file_mode': 'file_mode',
28
+ 'dir_mode': 'dir_mode',
29
+ 'uid': 'uid',
30
+ 'gid': 'gid'
31
+ }
32
+
33
+ def __init__(self, file_mode=None, dir_mode=None, uid=None, gid=None):
34
+ """ObsTargetAttributes
35
+
36
+ The model defined in huaweicloud sdk
37
+
38
+ :param file_mode: 导入的文件权限。取值范围是0到777。 第一位表示文件所有者的权限,取值范围是0到7;第二位表示文件所属用户组的权限,取值范围是0到7;第三位表示其他用户的权限,取值范围是0到7。文件所有者由uid指定,文件所属用户组由gid指定,不是文件所有者且不在文件所属用户组的用户为其他用户。 数字4、2、1分别表示读、写、执行权限,这些数字相加,即可得到所需的权限组合。例如:750中第一位7代表该文件所有者对该文件具有读、写、执行权限;第二位5代表该文件所属用户组对该文件具有读、执行权限;第三位0代表其他用户对该文件无权限。
39
+ :type file_mode: int
40
+ :param dir_mode: 导入的目录权限。取值范围是0到777。 第一位表示目录所有者的权限,取值范围是0到7;第二位表示目录所属用户组的权限,取值范围是0到7;第三位表示其他用户的权限,取值范围是0到7。目录所有者由uid指定,目录所属用户组由gid指定,不是目录所有者且不在目录所属用户组的用户为其他用户。 数字4、2、1分别表示读、写、执行权限,这些数字相加,即可得到所需的权限组合。例如:750中第一位7代表该目录所有者对该目录具有读、写、执行权限;第二位5代表该目录所属用户组对该目录具有读、执行权限;第三位0代表其他用户对该文件无权限。
41
+ :type dir_mode: int
42
+ :param uid: 导入对象所有者的用户id,默认值是0,取值范围是0到4,294,967,294(即2^32-2)。
43
+ :type uid: int
44
+ :param gid: 导入对象所属用户组id,默认值是0,取值范围是0到4,294,967,294(即2^32-2)。
45
+ :type gid: int
46
+ """
47
+
48
+
49
+
50
+ self._file_mode = None
51
+ self._dir_mode = None
52
+ self._uid = None
53
+ self._gid = None
54
+ self.discriminator = None
55
+
56
+ if file_mode is not None:
57
+ self.file_mode = file_mode
58
+ if dir_mode is not None:
59
+ self.dir_mode = dir_mode
60
+ if uid is not None:
61
+ self.uid = uid
62
+ if gid is not None:
63
+ self.gid = gid
64
+
65
+ @property
66
+ def file_mode(self):
67
+ """Gets the file_mode of this ObsTargetAttributes.
68
+
69
+ 导入的文件权限。取值范围是0到777。 第一位表示文件所有者的权限,取值范围是0到7;第二位表示文件所属用户组的权限,取值范围是0到7;第三位表示其他用户的权限,取值范围是0到7。文件所有者由uid指定,文件所属用户组由gid指定,不是文件所有者且不在文件所属用户组的用户为其他用户。 数字4、2、1分别表示读、写、执行权限,这些数字相加,即可得到所需的权限组合。例如:750中第一位7代表该文件所有者对该文件具有读、写、执行权限;第二位5代表该文件所属用户组对该文件具有读、执行权限;第三位0代表其他用户对该文件无权限。
70
+
71
+ :return: The file_mode of this ObsTargetAttributes.
72
+ :rtype: int
73
+ """
74
+ return self._file_mode
75
+
76
+ @file_mode.setter
77
+ def file_mode(self, file_mode):
78
+ """Sets the file_mode of this ObsTargetAttributes.
79
+
80
+ 导入的文件权限。取值范围是0到777。 第一位表示文件所有者的权限,取值范围是0到7;第二位表示文件所属用户组的权限,取值范围是0到7;第三位表示其他用户的权限,取值范围是0到7。文件所有者由uid指定,文件所属用户组由gid指定,不是文件所有者且不在文件所属用户组的用户为其他用户。 数字4、2、1分别表示读、写、执行权限,这些数字相加,即可得到所需的权限组合。例如:750中第一位7代表该文件所有者对该文件具有读、写、执行权限;第二位5代表该文件所属用户组对该文件具有读、执行权限;第三位0代表其他用户对该文件无权限。
81
+
82
+ :param file_mode: The file_mode of this ObsTargetAttributes.
83
+ :type file_mode: int
84
+ """
85
+ self._file_mode = file_mode
86
+
87
+ @property
88
+ def dir_mode(self):
89
+ """Gets the dir_mode of this ObsTargetAttributes.
90
+
91
+ 导入的目录权限。取值范围是0到777。 第一位表示目录所有者的权限,取值范围是0到7;第二位表示目录所属用户组的权限,取值范围是0到7;第三位表示其他用户的权限,取值范围是0到7。目录所有者由uid指定,目录所属用户组由gid指定,不是目录所有者且不在目录所属用户组的用户为其他用户。 数字4、2、1分别表示读、写、执行权限,这些数字相加,即可得到所需的权限组合。例如:750中第一位7代表该目录所有者对该目录具有读、写、执行权限;第二位5代表该目录所属用户组对该目录具有读、执行权限;第三位0代表其他用户对该文件无权限。
92
+
93
+ :return: The dir_mode of this ObsTargetAttributes.
94
+ :rtype: int
95
+ """
96
+ return self._dir_mode
97
+
98
+ @dir_mode.setter
99
+ def dir_mode(self, dir_mode):
100
+ """Sets the dir_mode of this ObsTargetAttributes.
101
+
102
+ 导入的目录权限。取值范围是0到777。 第一位表示目录所有者的权限,取值范围是0到7;第二位表示目录所属用户组的权限,取值范围是0到7;第三位表示其他用户的权限,取值范围是0到7。目录所有者由uid指定,目录所属用户组由gid指定,不是目录所有者且不在目录所属用户组的用户为其他用户。 数字4、2、1分别表示读、写、执行权限,这些数字相加,即可得到所需的权限组合。例如:750中第一位7代表该目录所有者对该目录具有读、写、执行权限;第二位5代表该目录所属用户组对该目录具有读、执行权限;第三位0代表其他用户对该文件无权限。
103
+
104
+ :param dir_mode: The dir_mode of this ObsTargetAttributes.
105
+ :type dir_mode: int
106
+ """
107
+ self._dir_mode = dir_mode
108
+
109
+ @property
110
+ def uid(self):
111
+ """Gets the uid of this ObsTargetAttributes.
112
+
113
+ 导入对象所有者的用户id,默认值是0,取值范围是0到4,294,967,294(即2^32-2)。
114
+
115
+ :return: The uid of this ObsTargetAttributes.
116
+ :rtype: int
117
+ """
118
+ return self._uid
119
+
120
+ @uid.setter
121
+ def uid(self, uid):
122
+ """Sets the uid of this ObsTargetAttributes.
123
+
124
+ 导入对象所有者的用户id,默认值是0,取值范围是0到4,294,967,294(即2^32-2)。
125
+
126
+ :param uid: The uid of this ObsTargetAttributes.
127
+ :type uid: int
128
+ """
129
+ self._uid = uid
130
+
131
+ @property
132
+ def gid(self):
133
+ """Gets the gid of this ObsTargetAttributes.
134
+
135
+ 导入对象所属用户组id,默认值是0,取值范围是0到4,294,967,294(即2^32-2)。
136
+
137
+ :return: The gid of this ObsTargetAttributes.
138
+ :rtype: int
139
+ """
140
+ return self._gid
141
+
142
+ @gid.setter
143
+ def gid(self, gid):
144
+ """Sets the gid of this ObsTargetAttributes.
145
+
146
+ 导入对象所属用户组id,默认值是0,取值范围是0到4,294,967,294(即2^32-2)。
147
+
148
+ :param gid: The gid of this ObsTargetAttributes.
149
+ :type gid: int
150
+ """
151
+ self._gid = gid
152
+
153
+ def to_dict(self):
154
+ """Returns the model properties as a dict"""
155
+ result = {}
156
+
157
+ for attr, _ in six.iteritems(self.openapi_types):
158
+ value = getattr(self, attr)
159
+ if isinstance(value, list):
160
+ result[attr] = list(map(
161
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
162
+ value
163
+ ))
164
+ elif hasattr(value, "to_dict"):
165
+ result[attr] = value.to_dict()
166
+ elif isinstance(value, dict):
167
+ result[attr] = dict(map(
168
+ lambda item: (item[0], item[1].to_dict())
169
+ if hasattr(item[1], "to_dict") else item,
170
+ value.items()
171
+ ))
172
+ else:
173
+ if attr in self.sensitive_list:
174
+ result[attr] = "****"
175
+ else:
176
+ result[attr] = value
177
+
178
+ return result
179
+
180
+ def to_str(self):
181
+ """Returns the string representation of the model"""
182
+ import simplejson as json
183
+ if six.PY2:
184
+ import sys
185
+ reload(sys)
186
+ sys.setdefaultencoding("utf-8")
187
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
188
+
189
+ def __repr__(self):
190
+ """For `print`"""
191
+ return self.to_str()
192
+
193
+ def __eq__(self, other):
194
+ """Returns true if both objects are equal"""
195
+ if not isinstance(other, ObsTargetAttributes):
196
+ return False
197
+
198
+ return self.__dict__ == other.__dict__
199
+
200
+ def __ne__(self, other):
201
+ """Returns true if both objects are not equal"""
202
+ return not self == other
@@ -35,9 +35,9 @@ class OnePermRuleRequestInfo:
35
35
 
36
36
  :param ip_cidr: 授权对象的IP地址或网段,设置后不支持修改
37
37
  :type ip_cidr: str
38
- :param rw_type: -| 授权对象的读写权限 rw:默认选项,以读写的方式共享 ro:以只读的方式共享
38
+ :param rw_type: 授权对象的读写权限 - rw:默认选项,以读写的方式共享 - ro:以只读的方式共享 - none: 没有权限
39
39
  :type rw_type: str
40
- :param user_type: -| 授权对象的系统用户对文件系统的访问权限。取值如下: no_root_squash:客户端使用的是root用户时,映射到NFS服务器的用户依然为root用户。 root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。 all_squash:默认选项。所有访问NFS服务器的客户端的用户都映射为匿名用户。
40
+ :param user_type: 授权对象的系统用户对文件系统的访问权限。取值如下: - no_root_squash:默认选项。客户端使用包括root用户在内的任何用户,NFS服务器都保持客户端使用的用户,不做映射。 - root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。客户端使用非root用户时,NFS服务器保持客户端使用的用户,不做映射。 - all_squash:所有访问NFS服务器的客户端的用户都映射为匿名用户。
41
41
  :type user_type: str
42
42
  """
43
43
 
@@ -81,7 +81,7 @@ class OnePermRuleRequestInfo:
81
81
  def rw_type(self):
82
82
  """Gets the rw_type of this OnePermRuleRequestInfo.
83
83
 
84
- -| 授权对象的读写权限 rw:默认选项,以读写的方式共享 ro:以只读的方式共享
84
+ 授权对象的读写权限 - rw:默认选项,以读写的方式共享 - ro:以只读的方式共享 - none: 没有权限
85
85
 
86
86
  :return: The rw_type of this OnePermRuleRequestInfo.
87
87
  :rtype: str
@@ -92,7 +92,7 @@ class OnePermRuleRequestInfo:
92
92
  def rw_type(self, rw_type):
93
93
  """Sets the rw_type of this OnePermRuleRequestInfo.
94
94
 
95
- -| 授权对象的读写权限 rw:默认选项,以读写的方式共享 ro:以只读的方式共享
95
+ 授权对象的读写权限 - rw:默认选项,以读写的方式共享 - ro:以只读的方式共享 - none: 没有权限
96
96
 
97
97
  :param rw_type: The rw_type of this OnePermRuleRequestInfo.
98
98
  :type rw_type: str
@@ -103,7 +103,7 @@ class OnePermRuleRequestInfo:
103
103
  def user_type(self):
104
104
  """Gets the user_type of this OnePermRuleRequestInfo.
105
105
 
106
- -| 授权对象的系统用户对文件系统的访问权限。取值如下: no_root_squash:客户端使用的是root用户时,映射到NFS服务器的用户依然为root用户。 root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。 all_squash:默认选项。所有访问NFS服务器的客户端的用户都映射为匿名用户。
106
+ 授权对象的系统用户对文件系统的访问权限。取值如下: - no_root_squash:默认选项。客户端使用包括root用户在内的任何用户,NFS服务器都保持客户端使用的用户,不做映射。 - root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。客户端使用非root用户时,NFS服务器保持客户端使用的用户,不做映射。 - all_squash:所有访问NFS服务器的客户端的用户都映射为匿名用户。
107
107
 
108
108
  :return: The user_type of this OnePermRuleRequestInfo.
109
109
  :rtype: str
@@ -114,7 +114,7 @@ class OnePermRuleRequestInfo:
114
114
  def user_type(self, user_type):
115
115
  """Sets the user_type of this OnePermRuleRequestInfo.
116
116
 
117
- -| 授权对象的系统用户对文件系统的访问权限。取值如下: no_root_squash:客户端使用的是root用户时,映射到NFS服务器的用户依然为root用户。 root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。 all_squash:默认选项。所有访问NFS服务器的客户端的用户都映射为匿名用户。
117
+ 授权对象的系统用户对文件系统的访问权限。取值如下: - no_root_squash:默认选项。客户端使用包括root用户在内的任何用户,NFS服务器都保持客户端使用的用户,不做映射。 - root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。客户端使用非root用户时,NFS服务器保持客户端使用的用户,不做映射。 - all_squash:所有访问NFS服务器的客户端的用户都映射为匿名用户。
118
118
 
119
119
  :param user_type: The user_type of this OnePermRuleRequestInfo.
120
120
  :type user_type: str
@@ -39,9 +39,9 @@ class OnePermRuleResponseInfo:
39
39
  :type id: str
40
40
  :param ip_cidr: 授权对象的IP地址或网段
41
41
  :type ip_cidr: str
42
- :param rw_type: -| 授权对象的读写权限 rw:默认选项,以读写的方式共享 ro:以只读的方式共享
42
+ :param rw_type: 授权对象的读写权限 - rw:默认选项,以读写的方式共享 - ro:以只读的方式共享 - none: 没有权限
43
43
  :type rw_type: str
44
- :param user_type: -| 授权对象的系统用户对文件系统的访问权限。取值如下: no_root_squash:客户端使用的是root用户时,映射到NFS服务器的用户依然为root用户。 root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。 all_squash:默认选项。所有访问NFS服务器的客户端的用户都映射为匿名用户。
44
+ :param user_type: 授权对象的系统用户对文件系统的访问权限。取值如下: - no_root_squash:客户端使用的是root用户时,映射到NFS服务器的用户依然为root用户。 - root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。 - all_squash:默认选项。所有访问NFS服务器的客户端的用户都映射为匿名用户。'
45
45
  :type user_type: str
46
46
  """
47
47
 
@@ -106,7 +106,7 @@ class OnePermRuleResponseInfo:
106
106
  def rw_type(self):
107
107
  """Gets the rw_type of this OnePermRuleResponseInfo.
108
108
 
109
- -| 授权对象的读写权限 rw:默认选项,以读写的方式共享 ro:以只读的方式共享
109
+ 授权对象的读写权限 - rw:默认选项,以读写的方式共享 - ro:以只读的方式共享 - none: 没有权限
110
110
 
111
111
  :return: The rw_type of this OnePermRuleResponseInfo.
112
112
  :rtype: str
@@ -117,7 +117,7 @@ class OnePermRuleResponseInfo:
117
117
  def rw_type(self, rw_type):
118
118
  """Sets the rw_type of this OnePermRuleResponseInfo.
119
119
 
120
- -| 授权对象的读写权限 rw:默认选项,以读写的方式共享 ro:以只读的方式共享
120
+ 授权对象的读写权限 - rw:默认选项,以读写的方式共享 - ro:以只读的方式共享 - none: 没有权限
121
121
 
122
122
  :param rw_type: The rw_type of this OnePermRuleResponseInfo.
123
123
  :type rw_type: str
@@ -128,7 +128,7 @@ class OnePermRuleResponseInfo:
128
128
  def user_type(self):
129
129
  """Gets the user_type of this OnePermRuleResponseInfo.
130
130
 
131
- -| 授权对象的系统用户对文件系统的访问权限。取值如下: no_root_squash:客户端使用的是root用户时,映射到NFS服务器的用户依然为root用户。 root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。 all_squash:默认选项。所有访问NFS服务器的客户端的用户都映射为匿名用户。
131
+ 授权对象的系统用户对文件系统的访问权限。取值如下: - no_root_squash:客户端使用的是root用户时,映射到NFS服务器的用户依然为root用户。 - root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。 - all_squash:默认选项。所有访问NFS服务器的客户端的用户都映射为匿名用户。'
132
132
 
133
133
  :return: The user_type of this OnePermRuleResponseInfo.
134
134
  :rtype: str
@@ -139,7 +139,7 @@ class OnePermRuleResponseInfo:
139
139
  def user_type(self, user_type):
140
140
  """Sets the user_type of this OnePermRuleResponseInfo.
141
141
 
142
- -| 授权对象的系统用户对文件系统的访问权限。取值如下: no_root_squash:客户端使用的是root用户时,映射到NFS服务器的用户依然为root用户。 root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。 all_squash:默认选项。所有访问NFS服务器的客户端的用户都映射为匿名用户。
142
+ 授权对象的系统用户对文件系统的访问权限。取值如下: - no_root_squash:客户端使用的是root用户时,映射到NFS服务器的用户依然为root用户。 - root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。 - all_squash:默认选项。所有访问NFS服务器的客户端的用户都映射为匿名用户。'
143
143
 
144
144
  :param user_type: The user_type of this OnePermRuleResponseInfo.
145
145
  :type user_type: str
@@ -19,18 +19,16 @@ class ReqUpdateHpcCacheData:
19
19
  openapi_types = {
20
20
  'gc_time': 'int',
21
21
  'ck_time': 'int',
22
- 'nas': 'list[ConfigNasTarget]',
23
- 'obs': 'list[ConfigObsTarget]'
22
+ 'nas': 'list[ConfigNasTarget]'
24
23
  }
25
24
 
26
25
  attribute_map = {
27
26
  'gc_time': 'gc_time',
28
27
  'ck_time': 'ck_time',
29
- 'nas': 'nas',
30
- 'obs': 'obs'
28
+ 'nas': 'nas'
31
29
  }
32
30
 
33
- def __init__(self, gc_time=None, ck_time=None, nas=None, obs=None):
31
+ def __init__(self, gc_time=None, ck_time=None, nas=None):
34
32
  """ReqUpdateHpcCacheData
35
33
 
36
34
  The model defined in huaweicloud sdk
@@ -39,10 +37,8 @@ class ReqUpdateHpcCacheData:
39
37
  :type gc_time: int
40
38
  :param ck_time: 后端校验时间。单位:秒。指定时间间隔进行线上缓存文件与后端存储文件比较,存在变化则自动更新。0表示文件进行实时校验。
41
39
  :type ck_time: int
42
- :param nas: 配置 nas 后端的信息, 和 obs 字段为二选一的关系
40
+ :param nas: 配置 nas 后端的信息
43
41
  :type nas: list[:class:`huaweicloudsdksfsturbo.v1.ConfigNasTarget`]
44
- :param obs: 配置 obs 后端的信息, 和 nas 字段为二选一的关系
45
- :type obs: list[:class:`huaweicloudsdksfsturbo.v1.ConfigObsTarget`]
46
42
  """
47
43
 
48
44
 
@@ -50,15 +46,12 @@ class ReqUpdateHpcCacheData:
50
46
  self._gc_time = None
51
47
  self._ck_time = None
52
48
  self._nas = None
53
- self._obs = None
54
49
  self.discriminator = None
55
50
 
56
51
  self.gc_time = gc_time
57
52
  self.ck_time = ck_time
58
53
  if nas is not None:
59
54
  self.nas = nas
60
- if obs is not None:
61
- self.obs = obs
62
55
 
63
56
  @property
64
57
  def gc_time(self):
@@ -108,7 +101,7 @@ class ReqUpdateHpcCacheData:
108
101
  def nas(self):
109
102
  """Gets the nas of this ReqUpdateHpcCacheData.
110
103
 
111
- 配置 nas 后端的信息, 和 obs 字段为二选一的关系
104
+ 配置 nas 后端的信息
112
105
 
113
106
  :return: The nas of this ReqUpdateHpcCacheData.
114
107
  :rtype: list[:class:`huaweicloudsdksfsturbo.v1.ConfigNasTarget`]
@@ -119,35 +112,13 @@ class ReqUpdateHpcCacheData:
119
112
  def nas(self, nas):
120
113
  """Sets the nas of this ReqUpdateHpcCacheData.
121
114
 
122
- 配置 nas 后端的信息, 和 obs 字段为二选一的关系
115
+ 配置 nas 后端的信息
123
116
 
124
117
  :param nas: The nas of this ReqUpdateHpcCacheData.
125
118
  :type nas: list[:class:`huaweicloudsdksfsturbo.v1.ConfigNasTarget`]
126
119
  """
127
120
  self._nas = nas
128
121
 
129
- @property
130
- def obs(self):
131
- """Gets the obs of this ReqUpdateHpcCacheData.
132
-
133
- 配置 obs 后端的信息, 和 nas 字段为二选一的关系
134
-
135
- :return: The obs of this ReqUpdateHpcCacheData.
136
- :rtype: list[:class:`huaweicloudsdksfsturbo.v1.ConfigObsTarget`]
137
- """
138
- return self._obs
139
-
140
- @obs.setter
141
- def obs(self, obs):
142
- """Sets the obs of this ReqUpdateHpcCacheData.
143
-
144
- 配置 obs 后端的信息, 和 nas 字段为二选一的关系
145
-
146
- :param obs: The obs of this ReqUpdateHpcCacheData.
147
- :type obs: list[:class:`huaweicloudsdksfsturbo.v1.ConfigObsTarget`]
148
- """
149
- self._obs = obs
150
-
151
122
  def to_dict(self):
152
123
  """Returns the model properties as a dict"""
153
124
  result = {}
@@ -31,9 +31,9 @@ class ResourceTag:
31
31
 
32
32
  The model defined in huaweicloud sdk
33
33
 
34
- :param key: 标签的键。 最大长度36个字符。 key不能为空,不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。只能包含大写字母、小写字母、数字,特殊字符\"-\"和\"_\"。
34
+ :param key: 标签的键。 最大长度128个字符。 key不能为空,不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。只能包含大写字母、小写字母、数字,特殊字符\"-\"和\"_\"。
35
35
  :type key: str
36
- :param value: 标签的值。 每个值最大长度43个字符,可以为空字符串。 不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。只能包含大写字母、小写字母、数字,特殊字符\"-\"和\"_\"。
36
+ :param value: 标签的值。 每个值最大长度255个字符,可以为空字符串。 不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。只能包含大写字母、小写字母、数字,特殊字符\"-\"和\"_\"。
37
37
  :type value: str
38
38
  """
39
39
 
@@ -50,7 +50,7 @@ class ResourceTag:
50
50
  def key(self):
51
51
  """Gets the key of this ResourceTag.
52
52
 
53
- 标签的键。 最大长度36个字符。 key不能为空,不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。只能包含大写字母、小写字母、数字,特殊字符\"-\"和\"_\"。
53
+ 标签的键。 最大长度128个字符。 key不能为空,不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。只能包含大写字母、小写字母、数字,特殊字符\"-\"和\"_\"。
54
54
 
55
55
  :return: The key of this ResourceTag.
56
56
  :rtype: str
@@ -61,7 +61,7 @@ class ResourceTag:
61
61
  def key(self, key):
62
62
  """Sets the key of this ResourceTag.
63
63
 
64
- 标签的键。 最大长度36个字符。 key不能为空,不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。只能包含大写字母、小写字母、数字,特殊字符\"-\"和\"_\"。
64
+ 标签的键。 最大长度128个字符。 key不能为空,不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。只能包含大写字母、小写字母、数字,特殊字符\"-\"和\"_\"。
65
65
 
66
66
  :param key: The key of this ResourceTag.
67
67
  :type key: str
@@ -72,7 +72,7 @@ class ResourceTag:
72
72
  def value(self):
73
73
  """Gets the value of this ResourceTag.
74
74
 
75
- 标签的值。 每个值最大长度43个字符,可以为空字符串。 不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。只能包含大写字母、小写字母、数字,特殊字符\"-\"和\"_\"。
75
+ 标签的值。 每个值最大长度255个字符,可以为空字符串。 不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。只能包含大写字母、小写字母、数字,特殊字符\"-\"和\"_\"。
76
76
 
77
77
  :return: The value of this ResourceTag.
78
78
  :rtype: str
@@ -83,7 +83,7 @@ class ResourceTag:
83
83
  def value(self, value):
84
84
  """Sets the value of this ResourceTag.
85
85
 
86
- 标签的值。 每个值最大长度43个字符,可以为空字符串。 不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。只能包含大写字母、小写字母、数字,特殊字符\"-\"和\"_\"。
86
+ 标签的值。 每个值最大长度255个字符,可以为空字符串。 不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。只能包含大写字母、小写字母、数字,特殊字符\"-\"和\"_\"。
87
87
 
88
88
  :param value: The value of this ResourceTag.
89
89
  :type value: str
@@ -53,7 +53,7 @@ class Share:
53
53
 
54
54
  The model defined in huaweicloud sdk
55
55
 
56
- :param availability_zone: 文件系统所在可用区(az)的编码
56
+ :param availability_zone: 文件系统所在可用区(az)的编码
57
57
  :type availability_zone: str
58
58
  :param description: 文件系统描述信息,长度为0~255。当前不支持。
59
59
  :type description: str
@@ -63,17 +63,17 @@ class Share:
63
63
  :type metadata: :class:`huaweicloudsdksfsturbo.v1.Metadata`
64
64
  :param name: SFS Turbo文件系统的名称。长度为4~64位,必须以字母开头,可以包含字母、数字、中划线、下划线,不能包含其他的特殊字符,不区分大小写。
65
65
  :type name: str
66
- :param security_group_id: 用户在某一区域下的安全组ID。
66
+ :param security_group_id: 用户在某一区域下的安全组ID。
67
67
  :type security_group_id: str
68
68
  :param share_proto: 文件系统共享协议,有效值为NFS。NFS(Network File System),即网络文件系统。一种使用于分散式文件系统的协议,通过网络让不同的机器、不同的操作系统能够彼此分享数据。
69
69
  :type share_proto: str
70
- :param share_type: 文件系统类型,有效值为STANDARD或者PERFORMANCE 通用型:标准型和标准型增强版填写STANDARD,性能型和性能型增强版填写PERFORMANCE。 HPC型:不校验该字段,可填写STANDARD或者PERFORMANCE。 HPC缓存型:不校验该字段,可填写STANDARD或者PERFORMANCE。
70
+ :param share_type: 文件系统类型,有效值为STANDARD或者PERFORMANCE。当文件系统正在创建时,该字段不返回。 - SFS Turbo上一代文件系统规格类型:标准型和标准型增强版填写STANDARD,性能型和性能型增强版填写PERFORMANCE。 - 20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/TiB:不校验该字段,填写STANDARD或者PERFORMANCE。 - HPC缓存型:不校验该字段,填写STANDARD或者PERFORMANCE。
71
71
  :type share_type: str
72
- :param size: 通用型-普通文件系统容量,取值范围500~32768,单位GB通用型-增强版文件系统,即在“metadata”字段中设置了expand_type&#x3D;\&quot;bandwidth\&quot;,则容量范围是10240~327680,单位GiB。 HPC型文件系统,即在“metadata”字段中设置了expand_type&#x3D;\&quot;hpc\&quot;,则容量范围是3686(或1228)~1048576,单位GiB。对于20MB/s/TiB的规格,起步容量为3686GiB;对于HPC其他规格,起步容量为1228GiBHPC型文件系统的容量必须为1.2TiB的倍数,换算为GiB后需要向下取整。如3.6TiB-&gt;3686GiB, 4.8TiB-&gt;4915GiB,8.4TiB-&gt;8601GiB。 HPC缓存型文件系统,即在“metadata”字段中设置了expand_type&#x3D;\&quot;hpc_cache\&quot;,则容量范围是4096~1048576,单位GiB。不同带宽,起步容量不一样,步长均为1TiB。如2GB/s带宽,起步容量为4TiB,即4096GiB;4GB/s带宽,起步容量为8TiB,即8192GiB;8GB/s带宽,起步容量为16TiB,即16384GiB。
72
+ :param size: - SFS Turbo上一代文件系统规格类型-文件系统容量:取值范围为500~32768,单位为GiB - SFS Turbo上一代文件系统规格类型-增强版文件系统:在“metadata”字段中设置了expand_type&#x3D;\&quot;bandwidth\&quot;,则容量范围为10240~327680,单位为GiB。 - 20MB/s/TiB:在“metadata”字段中设置了expand_type&#x3D;\&quot;hpc\&quot;、hpc_bw&#x3D;\&quot;20M\&quot;,则容量范围为3686~1048576,单位为GiB。容量必须为1.2TiB的倍数,换算为GiB后需要向下取整。如3.6TiB-&gt;3686GiB, 4.8TiB-&gt;4915GiB,8.4TiB-&gt;8601GiB。 - 40MB/s/TiB:在“metadata”字段中设置了expand_type&#x3D;\&quot;hpc\&quot;、hpc_bw&#x3D;\&quot;40M\&quot;,则容量范围为1228~1048576,单位为GiB。容量必须为1.2TiB的倍数,换算为GiB后需要向下取整。如3.6TiB-&gt;3686GiB, 4.8TiB-&gt;4915GiB,8.4TiB-&gt;8601GiB。 - 125MB/s/TiB:在“metadata”字段中设置了expand_type&#x3D;\&quot;hpc\&quot;、hpc_bw&#x3D;\&quot;125M\&quot;,则容量范围为1228~1048576,单位为GiB。容量必须为1.2TiB的倍数,换算为GiB后需要向下取整。如3.6TiB-&gt;3686GiB, 4.8TiB-&gt;4915GiB,8.4TiB-&gt;8601GiB - 250MB/s/TiB:在“metadata”字段中设置了expand_type&#x3D;\&quot;hpc\&quot;、hpc_bw&#x3D;\&quot;250M\&quot;,则容量范围为1228~1048576,单位为GiB。容量必须为1.2TiB的倍数,换算为GiB后需要向下取整。如3.6TiB-&gt;3686GiB, 4.8TiB-&gt;4915GiB,8.4TiB-&gt;8601GiB。 - 500MB/s/TiB:在“metadata”字段中设置了expand_type&#x3D;\&quot;hpc\&quot;、hpc_bw&#x3D;\&quot;500M\&quot;,则容量范围为1228~1048576,单位为GiB。容量必须为1.2TiB的倍数,换算为GiB后需要向下取整。如3.6TiB-&gt;3686GiB, 4.8TiB-&gt;4915GiB,8.4TiB-&gt;8601GiB。 - 1000MB/s/TiB:在“metadata”字段中设置了expand_type&#x3D;\&quot;hpc\&quot;、hpc_bw&#x3D;\&quot;1000M\&quot;,则容量范围为1228~1048576,单位为GiB。容量必须为1.2TiB的倍数,换算为GiB后需要向下取整。如3.6TiB-&gt;3686GiB, 4.8TiB-&gt;4915GiB,8.4TiB-&gt;8601GiB。 - HPC缓存型文件系统:在“metadata”字段中设置了expand_type&#x3D;\&quot;hpc_cache\&quot;,则容量范围为4096~1048576,单位为GiB。不同带宽,起步容量不一样,步长均为1TiB。如2GB/s带宽,起步容量为4TiB,即4096GiB;4GB/s带宽,起步容量为8TiB,即8192GiB;8GB/s带宽,起步容量为16TiB,即16384GiB。
73
73
  :type size: int
74
- :param subnet_id: 用户在VPC下面的子网的网络ID。
74
+ :param subnet_id: 用户在VPC下面的子网的网络ID。
75
75
  :type subnet_id: str
76
- :param vpc_id: 用户在某一区域下的VPC ID。
76
+ :param vpc_id: 用户在某一区域下的VPC ID。
77
77
  :type vpc_id: str
78
78
  :param backup_id: 备份ID,从备份创建文件系统时为必选。
79
79
  :type backup_id: str
@@ -121,7 +121,7 @@ class Share:
121
121
  def availability_zone(self):
122
122
  """Gets the availability_zone of this Share.
123
123
 
124
- 文件系统所在可用区(az)的编码
124
+ 文件系统所在可用区(az)的编码
125
125
 
126
126
  :return: The availability_zone of this Share.
127
127
  :rtype: str
@@ -132,7 +132,7 @@ class Share:
132
132
  def availability_zone(self, availability_zone):
133
133
  """Sets the availability_zone of this Share.
134
134
 
135
- 文件系统所在可用区(az)的编码
135
+ 文件系统所在可用区(az)的编码
136
136
 
137
137
  :param availability_zone: The availability_zone of this Share.
138
138
  :type availability_zone: str
@@ -227,7 +227,7 @@ class Share:
227
227
  def security_group_id(self):
228
228
  """Gets the security_group_id of this Share.
229
229
 
230
- 用户在某一区域下的安全组ID。
230
+ 用户在某一区域下的安全组ID。
231
231
 
232
232
  :return: The security_group_id of this Share.
233
233
  :rtype: str
@@ -238,7 +238,7 @@ class Share:
238
238
  def security_group_id(self, security_group_id):
239
239
  """Sets the security_group_id of this Share.
240
240
 
241
- 用户在某一区域下的安全组ID。
241
+ 用户在某一区域下的安全组ID。
242
242
 
243
243
  :param security_group_id: The security_group_id of this Share.
244
244
  :type security_group_id: str
@@ -271,7 +271,7 @@ class Share:
271
271
  def share_type(self):
272
272
  """Gets the share_type of this Share.
273
273
 
274
- 文件系统类型,有效值为STANDARD或者PERFORMANCE 通用型:标准型和标准型增强版填写STANDARD,性能型和性能型增强版填写PERFORMANCE。 HPC型:不校验该字段,可填写STANDARD或者PERFORMANCE。 HPC缓存型:不校验该字段,可填写STANDARD或者PERFORMANCE。
274
+ 文件系统类型,有效值为STANDARD或者PERFORMANCE。当文件系统正在创建时,该字段不返回。 - SFS Turbo上一代文件系统规格类型:标准型和标准型增强版填写STANDARD,性能型和性能型增强版填写PERFORMANCE。 - 20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/TiB:不校验该字段,填写STANDARD或者PERFORMANCE。 - HPC缓存型:不校验该字段,填写STANDARD或者PERFORMANCE。
275
275
 
276
276
  :return: The share_type of this Share.
277
277
  :rtype: str
@@ -282,7 +282,7 @@ class Share:
282
282
  def share_type(self, share_type):
283
283
  """Sets the share_type of this Share.
284
284
 
285
- 文件系统类型,有效值为STANDARD或者PERFORMANCE 通用型:标准型和标准型增强版填写STANDARD,性能型和性能型增强版填写PERFORMANCE。 HPC型:不校验该字段,可填写STANDARD或者PERFORMANCE。 HPC缓存型:不校验该字段,可填写STANDARD或者PERFORMANCE。
285
+ 文件系统类型,有效值为STANDARD或者PERFORMANCE。当文件系统正在创建时,该字段不返回。 - SFS Turbo上一代文件系统规格类型:标准型和标准型增强版填写STANDARD,性能型和性能型增强版填写PERFORMANCE。 - 20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/TiB:不校验该字段,填写STANDARD或者PERFORMANCE。 - HPC缓存型:不校验该字段,填写STANDARD或者PERFORMANCE。
286
286
 
287
287
  :param share_type: The share_type of this Share.
288
288
  :type share_type: str
@@ -293,7 +293,7 @@ class Share:
293
293
  def size(self):
294
294
  """Gets the size of this Share.
295
295
 
296
- 通用型-普通文件系统容量,取值范围500~32768,单位GB通用型-增强版文件系统,即在“metadata”字段中设置了expand_type=\"bandwidth\",则容量范围是10240~327680,单位GiB。 HPC型文件系统,即在“metadata”字段中设置了expand_type=\"hpc\",则容量范围是3686(或1228)~1048576,单位GiB。对于20MB/s/TiB的规格,起步容量为3686GiB;对于HPC其他规格,起步容量为1228GiBHPC型文件系统的容量必须为1.2TiB的倍数,换算为GiB后需要向下取整。如3.6TiB->3686GiB, 4.8TiB->4915GiB,8.4TiB->8601GiB。 HPC缓存型文件系统,即在“metadata”字段中设置了expand_type=\"hpc_cache\",则容量范围是4096~1048576,单位GiB。不同带宽,起步容量不一样,步长均为1TiB。如2GB/s带宽,起步容量为4TiB,即4096GiB;4GB/s带宽,起步容量为8TiB,即8192GiB;8GB/s带宽,起步容量为16TiB,即16384GiB。
296
+ - SFS Turbo上一代文件系统规格类型-文件系统容量:取值范围为500~32768,单位为GiB - SFS Turbo上一代文件系统规格类型-增强版文件系统:在“metadata”字段中设置了expand_type=\"bandwidth\",则容量范围为10240~327680,单位为GiB。 - 20MB/s/TiB:在“metadata”字段中设置了expand_type=\"hpc\"、hpc_bw=\"20M\",则容量范围为3686~1048576,单位为GiB。容量必须为1.2TiB的倍数,换算为GiB后需要向下取整。如3.6TiB->3686GiB, 4.8TiB->4915GiB,8.4TiB->8601GiB。 - 40MB/s/TiB:在“metadata”字段中设置了expand_type=\"hpc\"、hpc_bw=\"40M\",则容量范围为1228~1048576,单位为GiB。容量必须为1.2TiB的倍数,换算为GiB后需要向下取整。如3.6TiB->3686GiB, 4.8TiB->4915GiB,8.4TiB->8601GiB。 - 125MB/s/TiB:在“metadata”字段中设置了expand_type=\"hpc\"、hpc_bw=\"125M\",则容量范围为1228~1048576,单位为GiB。容量必须为1.2TiB的倍数,换算为GiB后需要向下取整。如3.6TiB->3686GiB, 4.8TiB->4915GiB,8.4TiB->8601GiB - 250MB/s/TiB:在“metadata”字段中设置了expand_type=\"hpc\"、hpc_bw=\"250M\",则容量范围为1228~1048576,单位为GiB。容量必须为1.2TiB的倍数,换算为GiB后需要向下取整。如3.6TiB->3686GiB, 4.8TiB->4915GiB,8.4TiB->8601GiB。 - 500MB/s/TiB:在“metadata”字段中设置了expand_type=\"hpc\"、hpc_bw=\"500M\",则容量范围为1228~1048576,单位为GiB。容量必须为1.2TiB的倍数,换算为GiB后需要向下取整。如3.6TiB->3686GiB, 4.8TiB->4915GiB,8.4TiB->8601GiB。 - 1000MB/s/TiB:在“metadata”字段中设置了expand_type=\"hpc\"、hpc_bw=\"1000M\",则容量范围为1228~1048576,单位为GiB。容量必须为1.2TiB的倍数,换算为GiB后需要向下取整。如3.6TiB->3686GiB, 4.8TiB->4915GiB,8.4TiB->8601GiB。 - HPC缓存型文件系统:在“metadata”字段中设置了expand_type=\"hpc_cache\",则容量范围为4096~1048576,单位为GiB。不同带宽,起步容量不一样,步长均为1TiB。如2GB/s带宽,起步容量为4TiB,即4096GiB;4GB/s带宽,起步容量为8TiB,即8192GiB;8GB/s带宽,起步容量为16TiB,即16384GiB。
297
297
 
298
298
  :return: The size of this Share.
299
299
  :rtype: int
@@ -304,7 +304,7 @@ class Share:
304
304
  def size(self, size):
305
305
  """Sets the size of this Share.
306
306
 
307
- 通用型-普通文件系统容量,取值范围500~32768,单位GB通用型-增强版文件系统,即在“metadata”字段中设置了expand_type=\"bandwidth\",则容量范围是10240~327680,单位GiB。 HPC型文件系统,即在“metadata”字段中设置了expand_type=\"hpc\",则容量范围是3686(或1228)~1048576,单位GiB。对于20MB/s/TiB的规格,起步容量为3686GiB;对于HPC其他规格,起步容量为1228GiBHPC型文件系统的容量必须为1.2TiB的倍数,换算为GiB后需要向下取整。如3.6TiB->3686GiB, 4.8TiB->4915GiB,8.4TiB->8601GiB。 HPC缓存型文件系统,即在“metadata”字段中设置了expand_type=\"hpc_cache\",则容量范围是4096~1048576,单位GiB。不同带宽,起步容量不一样,步长均为1TiB。如2GB/s带宽,起步容量为4TiB,即4096GiB;4GB/s带宽,起步容量为8TiB,即8192GiB;8GB/s带宽,起步容量为16TiB,即16384GiB。
307
+ - SFS Turbo上一代文件系统规格类型-文件系统容量:取值范围为500~32768,单位为GiB - SFS Turbo上一代文件系统规格类型-增强版文件系统:在“metadata”字段中设置了expand_type=\"bandwidth\",则容量范围为10240~327680,单位为GiB。 - 20MB/s/TiB:在“metadata”字段中设置了expand_type=\"hpc\"、hpc_bw=\"20M\",则容量范围为3686~1048576,单位为GiB。容量必须为1.2TiB的倍数,换算为GiB后需要向下取整。如3.6TiB->3686GiB, 4.8TiB->4915GiB,8.4TiB->8601GiB。 - 40MB/s/TiB:在“metadata”字段中设置了expand_type=\"hpc\"、hpc_bw=\"40M\",则容量范围为1228~1048576,单位为GiB。容量必须为1.2TiB的倍数,换算为GiB后需要向下取整。如3.6TiB->3686GiB, 4.8TiB->4915GiB,8.4TiB->8601GiB。 - 125MB/s/TiB:在“metadata”字段中设置了expand_type=\"hpc\"、hpc_bw=\"125M\",则容量范围为1228~1048576,单位为GiB。容量必须为1.2TiB的倍数,换算为GiB后需要向下取整。如3.6TiB->3686GiB, 4.8TiB->4915GiB,8.4TiB->8601GiB - 250MB/s/TiB:在“metadata”字段中设置了expand_type=\"hpc\"、hpc_bw=\"250M\",则容量范围为1228~1048576,单位为GiB。容量必须为1.2TiB的倍数,换算为GiB后需要向下取整。如3.6TiB->3686GiB, 4.8TiB->4915GiB,8.4TiB->8601GiB。 - 500MB/s/TiB:在“metadata”字段中设置了expand_type=\"hpc\"、hpc_bw=\"500M\",则容量范围为1228~1048576,单位为GiB。容量必须为1.2TiB的倍数,换算为GiB后需要向下取整。如3.6TiB->3686GiB, 4.8TiB->4915GiB,8.4TiB->8601GiB。 - 1000MB/s/TiB:在“metadata”字段中设置了expand_type=\"hpc\"、hpc_bw=\"1000M\",则容量范围为1228~1048576,单位为GiB。容量必须为1.2TiB的倍数,换算为GiB后需要向下取整。如3.6TiB->3686GiB, 4.8TiB->4915GiB,8.4TiB->8601GiB。 - HPC缓存型文件系统:在“metadata”字段中设置了expand_type=\"hpc_cache\",则容量范围为4096~1048576,单位为GiB。不同带宽,起步容量不一样,步长均为1TiB。如2GB/s带宽,起步容量为4TiB,即4096GiB;4GB/s带宽,起步容量为8TiB,即8192GiB;8GB/s带宽,起步容量为16TiB,即16384GiB。
308
308
 
309
309
  :param size: The size of this Share.
310
310
  :type size: int
@@ -315,7 +315,7 @@ class Share:
315
315
  def subnet_id(self):
316
316
  """Gets the subnet_id of this Share.
317
317
 
318
- 用户在VPC下面的子网的网络ID。
318
+ 用户在VPC下面的子网的网络ID。
319
319
 
320
320
  :return: The subnet_id of this Share.
321
321
  :rtype: str
@@ -326,7 +326,7 @@ class Share:
326
326
  def subnet_id(self, subnet_id):
327
327
  """Sets the subnet_id of this Share.
328
328
 
329
- 用户在VPC下面的子网的网络ID。
329
+ 用户在VPC下面的子网的网络ID。
330
330
 
331
331
  :param subnet_id: The subnet_id of this Share.
332
332
  :type subnet_id: str
@@ -337,7 +337,7 @@ class Share:
337
337
  def vpc_id(self):
338
338
  """Gets the vpc_id of this Share.
339
339
 
340
- 用户在某一区域下的VPC ID。
340
+ 用户在某一区域下的VPC ID。
341
341
 
342
342
  :return: The vpc_id of this Share.
343
343
  :rtype: str
@@ -348,7 +348,7 @@ class Share:
348
348
  def vpc_id(self, vpc_id):
349
349
  """Sets the vpc_id of this Share.
350
350
 
351
- 用户在某一区域下的VPC ID。
351
+ 用户在某一区域下的VPC ID。
352
352
 
353
353
  :param vpc_id: The vpc_id of this Share.
354
354
  :type vpc_id: str