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
@@ -38,11 +38,11 @@ class ShowFsDirResponse(SdkResponse):
38
38
 
39
39
  :param path: 目录全路径
40
40
  :type path: str
41
- :param mode: 目录权限,仅HPC型、缓存型文件系统返回该字段。第三位表示目录所有者的权限,第四位表示目录所属用户组的权限,第五位表示其他用户的权限。目录所有者由uid指定,目录所属用户组由gid指定,不是目录所有者且不在目录所属用户组的用户为其他用户。例如:40755中第三位7代表目录所有者对该目录具有读、写、执行权限;第四位5代表目录所属用户组对该目录具有读、执行权限;第五位5代表其他用户对该目录具有读、执行权限。
41
+ :param mode: 目录权限,仅20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB、HPC缓存型文件系统返回该字段。第三位表示目录所有者的权限,第四位表示目录所属用户组的权限,第五位表示其他用户的权限。目录所有者由uid指定,目录所属用户组由gid指定,不是目录所有者且不在目录所属用户组的用户为其他用户。例如:40755中第三位7代表目录所有者对该目录具有读、写、执行权限;第四位5代表目录所属用户组对该目录具有读、执行权限;第五位5代表其他用户对该目录具有读、执行权限。
42
42
  :type mode: int
43
- :param uid: 目录所有者的用户id,仅HPC型、缓存型文件系统返回该字段。
43
+ :param uid: 目录所有者的用户id,仅20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB、HPC缓存型文件系统返回该字段。
44
44
  :type uid: int
45
- :param gid: 目录所属用户组id,仅HPC型、缓存型文件系统返回该字段。
45
+ :param gid: 目录所属用户组id,仅20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB、HPC缓存型文件系统返回该字段。
46
46
  :type gid: int
47
47
  """
48
48
 
@@ -89,7 +89,7 @@ class ShowFsDirResponse(SdkResponse):
89
89
  def mode(self):
90
90
  """Gets the mode of this ShowFsDirResponse.
91
91
 
92
- 目录权限,仅HPC型、缓存型文件系统返回该字段。第三位表示目录所有者的权限,第四位表示目录所属用户组的权限,第五位表示其他用户的权限。目录所有者由uid指定,目录所属用户组由gid指定,不是目录所有者且不在目录所属用户组的用户为其他用户。例如:40755中第三位7代表目录所有者对该目录具有读、写、执行权限;第四位5代表目录所属用户组对该目录具有读、执行权限;第五位5代表其他用户对该目录具有读、执行权限。
92
+ 目录权限,仅20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB、HPC缓存型文件系统返回该字段。第三位表示目录所有者的权限,第四位表示目录所属用户组的权限,第五位表示其他用户的权限。目录所有者由uid指定,目录所属用户组由gid指定,不是目录所有者且不在目录所属用户组的用户为其他用户。例如:40755中第三位7代表目录所有者对该目录具有读、写、执行权限;第四位5代表目录所属用户组对该目录具有读、执行权限;第五位5代表其他用户对该目录具有读、执行权限。
93
93
 
94
94
  :return: The mode of this ShowFsDirResponse.
95
95
  :rtype: int
@@ -100,7 +100,7 @@ class ShowFsDirResponse(SdkResponse):
100
100
  def mode(self, mode):
101
101
  """Sets the mode of this ShowFsDirResponse.
102
102
 
103
- 目录权限,仅HPC型、缓存型文件系统返回该字段。第三位表示目录所有者的权限,第四位表示目录所属用户组的权限,第五位表示其他用户的权限。目录所有者由uid指定,目录所属用户组由gid指定,不是目录所有者且不在目录所属用户组的用户为其他用户。例如:40755中第三位7代表目录所有者对该目录具有读、写、执行权限;第四位5代表目录所属用户组对该目录具有读、执行权限;第五位5代表其他用户对该目录具有读、执行权限。
103
+ 目录权限,仅20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB、HPC缓存型文件系统返回该字段。第三位表示目录所有者的权限,第四位表示目录所属用户组的权限,第五位表示其他用户的权限。目录所有者由uid指定,目录所属用户组由gid指定,不是目录所有者且不在目录所属用户组的用户为其他用户。例如:40755中第三位7代表目录所有者对该目录具有读、写、执行权限;第四位5代表目录所属用户组对该目录具有读、执行权限;第五位5代表其他用户对该目录具有读、执行权限。
104
104
 
105
105
  :param mode: The mode of this ShowFsDirResponse.
106
106
  :type mode: int
@@ -111,7 +111,7 @@ class ShowFsDirResponse(SdkResponse):
111
111
  def uid(self):
112
112
  """Gets the uid of this ShowFsDirResponse.
113
113
 
114
- 目录所有者的用户id,仅HPC型、缓存型文件系统返回该字段。
114
+ 目录所有者的用户id,仅20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB、HPC缓存型文件系统返回该字段。
115
115
 
116
116
  :return: The uid of this ShowFsDirResponse.
117
117
  :rtype: int
@@ -122,7 +122,7 @@ class ShowFsDirResponse(SdkResponse):
122
122
  def uid(self, uid):
123
123
  """Sets the uid of this ShowFsDirResponse.
124
124
 
125
- 目录所有者的用户id,仅HPC型、缓存型文件系统返回该字段。
125
+ 目录所有者的用户id,仅20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB、HPC缓存型文件系统返回该字段。
126
126
 
127
127
  :param uid: The uid of this ShowFsDirResponse.
128
128
  :type uid: int
@@ -133,7 +133,7 @@ class ShowFsDirResponse(SdkResponse):
133
133
  def gid(self):
134
134
  """Gets the gid of this ShowFsDirResponse.
135
135
 
136
- 目录所属用户组id,仅HPC型、缓存型文件系统返回该字段。
136
+ 目录所属用户组id,仅20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB、HPC缓存型文件系统返回该字段。
137
137
 
138
138
  :return: The gid of this ShowFsDirResponse.
139
139
  :rtype: int
@@ -144,7 +144,7 @@ class ShowFsDirResponse(SdkResponse):
144
144
  def gid(self, gid):
145
145
  """Sets the gid of this ShowFsDirResponse.
146
146
 
147
- 目录所属用户组id,仅HPC型、缓存型文件系统返回该字段。
147
+ 目录所属用户组id,仅20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB、HPC缓存型文件系统返回该字段。
148
148
 
149
149
  :param gid: The gid of this ShowFsDirResponse.
150
150
  :type gid: int
@@ -21,17 +21,25 @@ class ShowLdapConfigResponse(SdkResponse):
21
21
  'url': 'str',
22
22
  'base_dn': 'str',
23
23
  'user_dn': 'str',
24
- 'filter_condition': 'str'
24
+ 'filter_condition': 'str',
25
+ 'backup_url': 'str',
26
+ 'schema': 'str',
27
+ 'search_timeout': 'int',
28
+ 'allow_local_user': 'str'
25
29
  }
26
30
 
27
31
  attribute_map = {
28
32
  'url': 'url',
29
33
  'base_dn': 'base_dn',
30
34
  'user_dn': 'user_dn',
31
- 'filter_condition': 'filter_condition'
35
+ 'filter_condition': 'filter_condition',
36
+ 'backup_url': 'backup_url',
37
+ 'schema': 'schema',
38
+ 'search_timeout': 'search_timeout',
39
+ 'allow_local_user': 'allow_local_user'
32
40
  }
33
41
 
34
- def __init__(self, url=None, base_dn=None, user_dn=None, filter_condition=None):
42
+ def __init__(self, url=None, base_dn=None, user_dn=None, filter_condition=None, backup_url=None, schema=None, search_timeout=None, allow_local_user=None):
35
43
  """ShowLdapConfigResponse
36
44
 
37
45
  The model defined in huaweicloud sdk
@@ -44,6 +52,14 @@ class ShowLdapConfigResponse(SdkResponse):
44
52
  :type user_dn: str
45
53
  :param filter_condition: 过滤条件。保留字段,暂不支持
46
54
  :type filter_condition: str
55
+ :param backup_url: ldap备节点的url
56
+ :type backup_url: str
57
+ :param schema: ldap的schema,不填写则默认为RFC2307
58
+ :type schema: str
59
+ :param search_timeout: ldap搜索的超时时间,单位为秒。不填写则默认为3秒
60
+ :type search_timeout: int
61
+ :param allow_local_user: 访问ldap服务器失败后是否允许使用本地用户鉴权
62
+ :type allow_local_user: str
47
63
  """
48
64
 
49
65
  super(ShowLdapConfigResponse, self).__init__()
@@ -52,6 +68,10 @@ class ShowLdapConfigResponse(SdkResponse):
52
68
  self._base_dn = None
53
69
  self._user_dn = None
54
70
  self._filter_condition = None
71
+ self._backup_url = None
72
+ self._schema = None
73
+ self._search_timeout = None
74
+ self._allow_local_user = None
55
75
  self.discriminator = None
56
76
 
57
77
  if url is not None:
@@ -62,6 +82,14 @@ class ShowLdapConfigResponse(SdkResponse):
62
82
  self.user_dn = user_dn
63
83
  if filter_condition is not None:
64
84
  self.filter_condition = filter_condition
85
+ if backup_url is not None:
86
+ self.backup_url = backup_url
87
+ if schema is not None:
88
+ self.schema = schema
89
+ if search_timeout is not None:
90
+ self.search_timeout = search_timeout
91
+ if allow_local_user is not None:
92
+ self.allow_local_user = allow_local_user
65
93
 
66
94
  @property
67
95
  def url(self):
@@ -151,6 +179,94 @@ class ShowLdapConfigResponse(SdkResponse):
151
179
  """
152
180
  self._filter_condition = filter_condition
153
181
 
182
+ @property
183
+ def backup_url(self):
184
+ """Gets the backup_url of this ShowLdapConfigResponse.
185
+
186
+ ldap备节点的url
187
+
188
+ :return: The backup_url of this ShowLdapConfigResponse.
189
+ :rtype: str
190
+ """
191
+ return self._backup_url
192
+
193
+ @backup_url.setter
194
+ def backup_url(self, backup_url):
195
+ """Sets the backup_url of this ShowLdapConfigResponse.
196
+
197
+ ldap备节点的url
198
+
199
+ :param backup_url: The backup_url of this ShowLdapConfigResponse.
200
+ :type backup_url: str
201
+ """
202
+ self._backup_url = backup_url
203
+
204
+ @property
205
+ def schema(self):
206
+ """Gets the schema of this ShowLdapConfigResponse.
207
+
208
+ ldap的schema,不填写则默认为RFC2307
209
+
210
+ :return: The schema of this ShowLdapConfigResponse.
211
+ :rtype: str
212
+ """
213
+ return self._schema
214
+
215
+ @schema.setter
216
+ def schema(self, schema):
217
+ """Sets the schema of this ShowLdapConfigResponse.
218
+
219
+ ldap的schema,不填写则默认为RFC2307
220
+
221
+ :param schema: The schema of this ShowLdapConfigResponse.
222
+ :type schema: str
223
+ """
224
+ self._schema = schema
225
+
226
+ @property
227
+ def search_timeout(self):
228
+ """Gets the search_timeout of this ShowLdapConfigResponse.
229
+
230
+ ldap搜索的超时时间,单位为秒。不填写则默认为3秒
231
+
232
+ :return: The search_timeout of this ShowLdapConfigResponse.
233
+ :rtype: int
234
+ """
235
+ return self._search_timeout
236
+
237
+ @search_timeout.setter
238
+ def search_timeout(self, search_timeout):
239
+ """Sets the search_timeout of this ShowLdapConfigResponse.
240
+
241
+ ldap搜索的超时时间,单位为秒。不填写则默认为3秒
242
+
243
+ :param search_timeout: The search_timeout of this ShowLdapConfigResponse.
244
+ :type search_timeout: int
245
+ """
246
+ self._search_timeout = search_timeout
247
+
248
+ @property
249
+ def allow_local_user(self):
250
+ """Gets the allow_local_user of this ShowLdapConfigResponse.
251
+
252
+ 访问ldap服务器失败后是否允许使用本地用户鉴权
253
+
254
+ :return: The allow_local_user of this ShowLdapConfigResponse.
255
+ :rtype: str
256
+ """
257
+ return self._allow_local_user
258
+
259
+ @allow_local_user.setter
260
+ def allow_local_user(self, allow_local_user):
261
+ """Sets the allow_local_user of this ShowLdapConfigResponse.
262
+
263
+ 访问ldap服务器失败后是否允许使用本地用户鉴权
264
+
265
+ :param allow_local_user: The allow_local_user of this ShowLdapConfigResponse.
266
+ :type allow_local_user: str
267
+ """
268
+ self._allow_local_user = allow_local_user
269
+
154
270
  def to_dict(self):
155
271
  """Returns the model properties as a dict"""
156
272
  result = {}
@@ -40,9 +40,9 @@ class ShowPermRuleResponse(SdkResponse):
40
40
  :type id: str
41
41
  :param ip_cidr: 授权对象的IP地址或网段
42
42
  :type ip_cidr: str
43
- :param rw_type: -| 授权对象的读写权限 rw:默认选项,以读写的方式共享 ro:以只读的方式共享
43
+ :param rw_type: 授权对象的读写权限 - rw:默认选项,以读写的方式共享 - ro:以只读的方式共享 - none: 没有权限
44
44
  :type rw_type: str
45
- :param user_type: -| 授权对象的系统用户对文件系统的访问权限。取值如下: no_root_squash:客户端使用的是root用户时,映射到NFS服务器的用户依然为root用户。 root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。 all_squash:默认选项。所有访问NFS服务器的客户端的用户都映射为匿名用户。
45
+ :param user_type: 授权对象的系统用户对文件系统的访问权限。取值如下: - no_root_squash:客户端使用的是root用户时,映射到NFS服务器的用户依然为root用户。 - root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。 - all_squash:默认选项。所有访问NFS服务器的客户端的用户都映射为匿名用户。'
46
46
  :type user_type: str
47
47
  """
48
48
 
@@ -111,7 +111,7 @@ class ShowPermRuleResponse(SdkResponse):
111
111
  def rw_type(self):
112
112
  """Gets the rw_type of this ShowPermRuleResponse.
113
113
 
114
- -| 授权对象的读写权限 rw:默认选项,以读写的方式共享 ro:以只读的方式共享
114
+ 授权对象的读写权限 - rw:默认选项,以读写的方式共享 - ro:以只读的方式共享 - none: 没有权限
115
115
 
116
116
  :return: The rw_type of this ShowPermRuleResponse.
117
117
  :rtype: str
@@ -122,7 +122,7 @@ class ShowPermRuleResponse(SdkResponse):
122
122
  def rw_type(self, rw_type):
123
123
  """Sets the rw_type of this ShowPermRuleResponse.
124
124
 
125
- -| 授权对象的读写权限 rw:默认选项,以读写的方式共享 ro:以只读的方式共享
125
+ 授权对象的读写权限 - rw:默认选项,以读写的方式共享 - ro:以只读的方式共享 - none: 没有权限
126
126
 
127
127
  :param rw_type: The rw_type of this ShowPermRuleResponse.
128
128
  :type rw_type: str
@@ -133,7 +133,7 @@ class ShowPermRuleResponse(SdkResponse):
133
133
  def user_type(self):
134
134
  """Gets the user_type of this ShowPermRuleResponse.
135
135
 
136
- -| 授权对象的系统用户对文件系统的访问权限。取值如下: no_root_squash:客户端使用的是root用户时,映射到NFS服务器的用户依然为root用户。 root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。 all_squash:默认选项。所有访问NFS服务器的客户端的用户都映射为匿名用户。
136
+ 授权对象的系统用户对文件系统的访问权限。取值如下: - no_root_squash:客户端使用的是root用户时,映射到NFS服务器的用户依然为root用户。 - root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。 - all_squash:默认选项。所有访问NFS服务器的客户端的用户都映射为匿名用户。'
137
137
 
138
138
  :return: The user_type of this ShowPermRuleResponse.
139
139
  :rtype: str
@@ -144,7 +144,7 @@ class ShowPermRuleResponse(SdkResponse):
144
144
  def user_type(self, user_type):
145
145
  """Sets the user_type of this ShowPermRuleResponse.
146
146
 
147
- -| 授权对象的系统用户对文件系统的访问权限。取值如下: no_root_squash:客户端使用的是root用户时,映射到NFS服务器的用户依然为root用户。 root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。 all_squash:默认选项。所有访问NFS服务器的客户端的用户都映射为匿名用户。
147
+ 授权对象的系统用户对文件系统的访问权限。取值如下: - no_root_squash:客户端使用的是root用户时,映射到NFS服务器的用户依然为root用户。 - root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。 - all_squash:默认选项。所有访问NFS服务器的客户端的用户都映射为匿名用户。'
148
148
 
149
149
  :param user_type: The user_type of this ShowPermRuleResponse.
150
150
  :type user_type: str
@@ -40,7 +40,13 @@ class ShowShareResponse(SdkResponse):
40
40
  'subnet_id': 'str',
41
41
  'vpc_id': 'str',
42
42
  'enterprise_project_id': 'str',
43
- 'tags': 'list[ResourceTag]'
43
+ 'tags': 'list[ResourceTag]',
44
+ 'optional_endpoint': 'str',
45
+ 'hpc_bw': 'str',
46
+ 'instance_id': 'str',
47
+ 'instance_type': 'str',
48
+ 'status_detail': 'str',
49
+ 'features': 'ShareInfoFeatures'
44
50
  }
45
51
 
46
52
  attribute_map = {
@@ -66,10 +72,16 @@ class ShowShareResponse(SdkResponse):
66
72
  'subnet_id': 'subnet_id',
67
73
  'vpc_id': 'vpc_id',
68
74
  'enterprise_project_id': 'enterprise_project_id',
69
- 'tags': 'tags'
75
+ 'tags': 'tags',
76
+ 'optional_endpoint': 'optional_endpoint',
77
+ 'hpc_bw': 'hpc_bw',
78
+ 'instance_id': 'instanceId',
79
+ 'instance_type': 'instanceType',
80
+ 'status_detail': 'statusDetail',
81
+ 'features': 'features'
70
82
  }
71
83
 
72
- def __init__(self, action_progress=None, version=None, avail_capacity=None, availability_zone=None, az_name=None, created_at=None, crypt_key_id=None, expand_type=None, export_location=None, id=None, name=None, pay_model=None, region=None, security_group_id=None, share_proto=None, share_type=None, size=None, status=None, sub_status=None, subnet_id=None, vpc_id=None, enterprise_project_id=None, tags=None):
84
+ def __init__(self, action_progress=None, version=None, avail_capacity=None, availability_zone=None, az_name=None, created_at=None, crypt_key_id=None, expand_type=None, export_location=None, id=None, name=None, pay_model=None, region=None, security_group_id=None, share_proto=None, share_type=None, size=None, status=None, sub_status=None, subnet_id=None, vpc_id=None, enterprise_project_id=None, tags=None, optional_endpoint=None, hpc_bw=None, instance_id=None, instance_type=None, status_detail=None, features=None):
73
85
  """ShowShareResponse
74
86
 
75
87
  The model defined in huaweicloud sdk
@@ -88,15 +100,15 @@ class ShowShareResponse(SdkResponse):
88
100
  :type created_at: datetime
89
101
  :param crypt_key_id: 用户指定的加密密钥ID,非加密盘时不返回。
90
102
  :type crypt_key_id: str
91
- :param expand_type: 如果是增强型文件系统,该字段返回bandwidth,否则不返回。
103
+ :param expand_type: 如果是增强版文件系统,该字段返回bandwidth;如果是20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB,该字段返回hpc;否则不返回。
92
104
  :type expand_type: str
93
- :param export_location: SFS Turbo文件系统的挂载端点。
105
+ :param export_location: SFS Turbo文件系统的挂载端点。例如\"192.168.0.90:/\"。如果文件系统正在创建,该字段不返回。
94
106
  :type export_location: str
95
107
  :param id: SFS Turbo的文件系统ID。
96
108
  :type id: str
97
109
  :param name: 创建时指定的SFS Turbo文件系统名称。
98
110
  :type name: str
99
- :param pay_model: SFS Turbo文件系统的计费模式。'0'代表按需付费,'1'代表包周期计费。
111
+ :param pay_model: SFS Turbo文件系统的计费模式。'0'代表按需付费,'1'代表包周期计费。如果文件系统正在创建,该字段不返回。
100
112
  :type pay_model: str
101
113
  :param region: SFS Turbo文件系统所在区域。
102
114
  :type region: str
@@ -110,7 +122,7 @@ class ShowShareResponse(SdkResponse):
110
122
  :type size: str
111
123
  :param status: SFS Turbo文件系统的状态。'100'表示创建中,'200'表示可用,'303'表示创建失败,'800'表示实例被冻结。
112
124
  :type status: str
113
- :param sub_status: SFS Turbo文件系统的子状态。 '121'表示扩容中;'132'表示修改安全组中;'137'表示添加VPC中;'138'表示删除VPC中;'150'表示配置联动后端中;'151'表示删除联动后端配置中; '221'表示扩容成功;'232'表示修改安全组成功;'237'表示添加VPC成功;'238'表示删除VPC成功;'250'表示配置联动后端成功;'251'表示删除联动后端配置成功; '321'表示扩容失败;'332'表示修改安全组失败;'337'表示添加VPC失败;'338'表示删除VPC失败;'350'表示配置联动后端失败;'351'表示删除联动后端配置失败;
125
+ :param sub_status: SFS Turbo文件系统的子状态。当用户未对文件系统有修改类操作时,该字段不返回。 '121'表示扩容中;'132'表示修改安全组中;'137'表示添加VPC中;'138'表示删除VPC中;'150'表示配置联动后端中;'151'表示删除联动后端配置中。 '221'表示扩容成功;'232'表示修改安全组成功;'237'表示添加VPC成功;'238'表示删除VPC成功;'250'表示配置联动后端成功;'251'表示删除联动后端配置成功。 '321'表示扩容失败;'332'表示修改安全组失败;'337'表示添加VPC失败;'338'表示删除VPC失败;'350'表示配置联动后端失败;'351'表示删除联动后端配置失败。
114
126
  :type sub_status: str
115
127
  :param subnet_id: 用户指定的子网的网络ID。
116
128
  :type subnet_id: str
@@ -120,6 +132,18 @@ class ShowShareResponse(SdkResponse):
120
132
  :type enterprise_project_id: str
121
133
  :param tags: tag标签的列表。
122
134
  :type tags: list[:class:`huaweicloudsdksfsturbo.v1.ResourceTag`]
135
+ :param optional_endpoint: 可选的挂载IP地址。上一代文件系统规格类型不返回该字段。
136
+ :type optional_endpoint: str
137
+ :param hpc_bw: 文件系统的带宽规格。 - \"20M\"表示20MB/s/TiB - \"40M\"表示40MB/s/TiB - \"125M\"表示125MB/s/TiB - \"250M\"表示250MB/s/TiB - \"500M\"表示500MB/s/TiB - \"1000M\"表示1000MB/s/TiB - \"2G\"、\"4G\"、\"8G\"、\"16G\"、\"24G\"、\"32G\"或\"48G\"表示HPC缓存型的带宽规格。
138
+ :type hpc_bw: str
139
+ :param instance_id: 文件系统规格的节点id,为预留字段,不具备实际含义。
140
+ :type instance_id: str
141
+ :param instance_type: 文件系统规格的节点类型,为预留字段,不具备实际含义。
142
+ :type instance_type: str
143
+ :param status_detail: 文件系统的请求ID,为预留字段,不具备实际含义。
144
+ :type status_detail: str
145
+ :param features:
146
+ :type features: :class:`huaweicloudsdksfsturbo.v1.ShareInfoFeatures`
123
147
  """
124
148
 
125
149
  super(ShowShareResponse, self).__init__()
@@ -147,6 +171,12 @@ class ShowShareResponse(SdkResponse):
147
171
  self._vpc_id = None
148
172
  self._enterprise_project_id = None
149
173
  self._tags = None
174
+ self._optional_endpoint = None
175
+ self._hpc_bw = None
176
+ self._instance_id = None
177
+ self._instance_type = None
178
+ self._status_detail = None
179
+ self._features = None
150
180
  self.discriminator = None
151
181
 
152
182
  if action_progress is not None:
@@ -195,6 +225,18 @@ class ShowShareResponse(SdkResponse):
195
225
  self.enterprise_project_id = enterprise_project_id
196
226
  if tags is not None:
197
227
  self.tags = tags
228
+ if optional_endpoint is not None:
229
+ self.optional_endpoint = optional_endpoint
230
+ if hpc_bw is not None:
231
+ self.hpc_bw = hpc_bw
232
+ if instance_id is not None:
233
+ self.instance_id = instance_id
234
+ if instance_type is not None:
235
+ self.instance_type = instance_type
236
+ if status_detail is not None:
237
+ self.status_detail = status_detail
238
+ if features is not None:
239
+ self.features = features
198
240
 
199
241
  @property
200
242
  def action_progress(self):
@@ -350,7 +392,7 @@ class ShowShareResponse(SdkResponse):
350
392
  def expand_type(self):
351
393
  """Gets the expand_type of this ShowShareResponse.
352
394
 
353
- 如果是增强型文件系统,该字段返回bandwidth,否则不返回。
395
+ 如果是增强版文件系统,该字段返回bandwidth;如果是20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB,该字段返回hpc;否则不返回。
354
396
 
355
397
  :return: The expand_type of this ShowShareResponse.
356
398
  :rtype: str
@@ -361,7 +403,7 @@ class ShowShareResponse(SdkResponse):
361
403
  def expand_type(self, expand_type):
362
404
  """Sets the expand_type of this ShowShareResponse.
363
405
 
364
- 如果是增强型文件系统,该字段返回bandwidth,否则不返回。
406
+ 如果是增强版文件系统,该字段返回bandwidth;如果是20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB,该字段返回hpc;否则不返回。
365
407
 
366
408
  :param expand_type: The expand_type of this ShowShareResponse.
367
409
  :type expand_type: str
@@ -372,7 +414,7 @@ class ShowShareResponse(SdkResponse):
372
414
  def export_location(self):
373
415
  """Gets the export_location of this ShowShareResponse.
374
416
 
375
- SFS Turbo文件系统的挂载端点。
417
+ SFS Turbo文件系统的挂载端点。例如\"192.168.0.90:/\"。如果文件系统正在创建,该字段不返回。
376
418
 
377
419
  :return: The export_location of this ShowShareResponse.
378
420
  :rtype: str
@@ -383,7 +425,7 @@ class ShowShareResponse(SdkResponse):
383
425
  def export_location(self, export_location):
384
426
  """Sets the export_location of this ShowShareResponse.
385
427
 
386
- SFS Turbo文件系统的挂载端点。
428
+ SFS Turbo文件系统的挂载端点。例如\"192.168.0.90:/\"。如果文件系统正在创建,该字段不返回。
387
429
 
388
430
  :param export_location: The export_location of this ShowShareResponse.
389
431
  :type export_location: str
@@ -438,7 +480,7 @@ class ShowShareResponse(SdkResponse):
438
480
  def pay_model(self):
439
481
  """Gets the pay_model of this ShowShareResponse.
440
482
 
441
- SFS Turbo文件系统的计费模式。'0'代表按需付费,'1'代表包周期计费。
483
+ SFS Turbo文件系统的计费模式。'0'代表按需付费,'1'代表包周期计费。如果文件系统正在创建,该字段不返回。
442
484
 
443
485
  :return: The pay_model of this ShowShareResponse.
444
486
  :rtype: str
@@ -449,7 +491,7 @@ class ShowShareResponse(SdkResponse):
449
491
  def pay_model(self, pay_model):
450
492
  """Sets the pay_model of this ShowShareResponse.
451
493
 
452
- SFS Turbo文件系统的计费模式。'0'代表按需付费,'1'代表包周期计费。
494
+ SFS Turbo文件系统的计费模式。'0'代表按需付费,'1'代表包周期计费。如果文件系统正在创建,该字段不返回。
453
495
 
454
496
  :param pay_model: The pay_model of this ShowShareResponse.
455
497
  :type pay_model: str
@@ -592,7 +634,7 @@ class ShowShareResponse(SdkResponse):
592
634
  def sub_status(self):
593
635
  """Gets the sub_status of this ShowShareResponse.
594
636
 
595
- SFS Turbo文件系统的子状态。 '121'表示扩容中;'132'表示修改安全组中;'137'表示添加VPC中;'138'表示删除VPC中;'150'表示配置联动后端中;'151'表示删除联动后端配置中; '221'表示扩容成功;'232'表示修改安全组成功;'237'表示添加VPC成功;'238'表示删除VPC成功;'250'表示配置联动后端成功;'251'表示删除联动后端配置成功; '321'表示扩容失败;'332'表示修改安全组失败;'337'表示添加VPC失败;'338'表示删除VPC失败;'350'表示配置联动后端失败;'351'表示删除联动后端配置失败;
637
+ SFS Turbo文件系统的子状态。当用户未对文件系统有修改类操作时,该字段不返回。 '121'表示扩容中;'132'表示修改安全组中;'137'表示添加VPC中;'138'表示删除VPC中;'150'表示配置联动后端中;'151'表示删除联动后端配置中。 '221'表示扩容成功;'232'表示修改安全组成功;'237'表示添加VPC成功;'238'表示删除VPC成功;'250'表示配置联动后端成功;'251'表示删除联动后端配置成功。 '321'表示扩容失败;'332'表示修改安全组失败;'337'表示添加VPC失败;'338'表示删除VPC失败;'350'表示配置联动后端失败;'351'表示删除联动后端配置失败。
596
638
 
597
639
  :return: The sub_status of this ShowShareResponse.
598
640
  :rtype: str
@@ -603,7 +645,7 @@ class ShowShareResponse(SdkResponse):
603
645
  def sub_status(self, sub_status):
604
646
  """Sets the sub_status of this ShowShareResponse.
605
647
 
606
- SFS Turbo文件系统的子状态。 '121'表示扩容中;'132'表示修改安全组中;'137'表示添加VPC中;'138'表示删除VPC中;'150'表示配置联动后端中;'151'表示删除联动后端配置中; '221'表示扩容成功;'232'表示修改安全组成功;'237'表示添加VPC成功;'238'表示删除VPC成功;'250'表示配置联动后端成功;'251'表示删除联动后端配置成功; '321'表示扩容失败;'332'表示修改安全组失败;'337'表示添加VPC失败;'338'表示删除VPC失败;'350'表示配置联动后端失败;'351'表示删除联动后端配置失败;
648
+ SFS Turbo文件系统的子状态。当用户未对文件系统有修改类操作时,该字段不返回。 '121'表示扩容中;'132'表示修改安全组中;'137'表示添加VPC中;'138'表示删除VPC中;'150'表示配置联动后端中;'151'表示删除联动后端配置中。 '221'表示扩容成功;'232'表示修改安全组成功;'237'表示添加VPC成功;'238'表示删除VPC成功;'250'表示配置联动后端成功;'251'表示删除联动后端配置成功。 '321'表示扩容失败;'332'表示修改安全组失败;'337'表示添加VPC失败;'338'表示删除VPC失败;'350'表示配置联动后端失败;'351'表示删除联动后端配置失败。
607
649
 
608
650
  :param sub_status: The sub_status of this ShowShareResponse.
609
651
  :type sub_status: str
@@ -698,6 +740,134 @@ class ShowShareResponse(SdkResponse):
698
740
  """
699
741
  self._tags = tags
700
742
 
743
+ @property
744
+ def optional_endpoint(self):
745
+ """Gets the optional_endpoint of this ShowShareResponse.
746
+
747
+ 可选的挂载IP地址。上一代文件系统规格类型不返回该字段。
748
+
749
+ :return: The optional_endpoint of this ShowShareResponse.
750
+ :rtype: str
751
+ """
752
+ return self._optional_endpoint
753
+
754
+ @optional_endpoint.setter
755
+ def optional_endpoint(self, optional_endpoint):
756
+ """Sets the optional_endpoint of this ShowShareResponse.
757
+
758
+ 可选的挂载IP地址。上一代文件系统规格类型不返回该字段。
759
+
760
+ :param optional_endpoint: The optional_endpoint of this ShowShareResponse.
761
+ :type optional_endpoint: str
762
+ """
763
+ self._optional_endpoint = optional_endpoint
764
+
765
+ @property
766
+ def hpc_bw(self):
767
+ """Gets the hpc_bw of this ShowShareResponse.
768
+
769
+ 文件系统的带宽规格。 - \"20M\"表示20MB/s/TiB - \"40M\"表示40MB/s/TiB - \"125M\"表示125MB/s/TiB - \"250M\"表示250MB/s/TiB - \"500M\"表示500MB/s/TiB - \"1000M\"表示1000MB/s/TiB - \"2G\"、\"4G\"、\"8G\"、\"16G\"、\"24G\"、\"32G\"或\"48G\"表示HPC缓存型的带宽规格。
770
+
771
+ :return: The hpc_bw of this ShowShareResponse.
772
+ :rtype: str
773
+ """
774
+ return self._hpc_bw
775
+
776
+ @hpc_bw.setter
777
+ def hpc_bw(self, hpc_bw):
778
+ """Sets the hpc_bw of this ShowShareResponse.
779
+
780
+ 文件系统的带宽规格。 - \"20M\"表示20MB/s/TiB - \"40M\"表示40MB/s/TiB - \"125M\"表示125MB/s/TiB - \"250M\"表示250MB/s/TiB - \"500M\"表示500MB/s/TiB - \"1000M\"表示1000MB/s/TiB - \"2G\"、\"4G\"、\"8G\"、\"16G\"、\"24G\"、\"32G\"或\"48G\"表示HPC缓存型的带宽规格。
781
+
782
+ :param hpc_bw: The hpc_bw of this ShowShareResponse.
783
+ :type hpc_bw: str
784
+ """
785
+ self._hpc_bw = hpc_bw
786
+
787
+ @property
788
+ def instance_id(self):
789
+ """Gets the instance_id of this ShowShareResponse.
790
+
791
+ 文件系统规格的节点id,为预留字段,不具备实际含义。
792
+
793
+ :return: The instance_id of this ShowShareResponse.
794
+ :rtype: str
795
+ """
796
+ return self._instance_id
797
+
798
+ @instance_id.setter
799
+ def instance_id(self, instance_id):
800
+ """Sets the instance_id of this ShowShareResponse.
801
+
802
+ 文件系统规格的节点id,为预留字段,不具备实际含义。
803
+
804
+ :param instance_id: The instance_id of this ShowShareResponse.
805
+ :type instance_id: str
806
+ """
807
+ self._instance_id = instance_id
808
+
809
+ @property
810
+ def instance_type(self):
811
+ """Gets the instance_type of this ShowShareResponse.
812
+
813
+ 文件系统规格的节点类型,为预留字段,不具备实际含义。
814
+
815
+ :return: The instance_type of this ShowShareResponse.
816
+ :rtype: str
817
+ """
818
+ return self._instance_type
819
+
820
+ @instance_type.setter
821
+ def instance_type(self, instance_type):
822
+ """Sets the instance_type of this ShowShareResponse.
823
+
824
+ 文件系统规格的节点类型,为预留字段,不具备实际含义。
825
+
826
+ :param instance_type: The instance_type of this ShowShareResponse.
827
+ :type instance_type: str
828
+ """
829
+ self._instance_type = instance_type
830
+
831
+ @property
832
+ def status_detail(self):
833
+ """Gets the status_detail of this ShowShareResponse.
834
+
835
+ 文件系统的请求ID,为预留字段,不具备实际含义。
836
+
837
+ :return: The status_detail of this ShowShareResponse.
838
+ :rtype: str
839
+ """
840
+ return self._status_detail
841
+
842
+ @status_detail.setter
843
+ def status_detail(self, status_detail):
844
+ """Sets the status_detail of this ShowShareResponse.
845
+
846
+ 文件系统的请求ID,为预留字段,不具备实际含义。
847
+
848
+ :param status_detail: The status_detail of this ShowShareResponse.
849
+ :type status_detail: str
850
+ """
851
+ self._status_detail = status_detail
852
+
853
+ @property
854
+ def features(self):
855
+ """Gets the features of this ShowShareResponse.
856
+
857
+ :return: The features of this ShowShareResponse.
858
+ :rtype: :class:`huaweicloudsdksfsturbo.v1.ShareInfoFeatures`
859
+ """
860
+ return self._features
861
+
862
+ @features.setter
863
+ def features(self, features):
864
+ """Sets the features of this ShowShareResponse.
865
+
866
+ :param features: The features of this ShowShareResponse.
867
+ :type features: :class:`huaweicloudsdksfsturbo.v1.ShareInfoFeatures`
868
+ """
869
+ self._features = features
870
+
701
871
  def to_dict(self):
702
872
  """Returns the model properties as a dict"""
703
873
  result = {}
@@ -31,7 +31,7 @@ class Tag:
31
31
 
32
32
  The model defined in huaweicloud sdk
33
33
 
34
- :param key: 标签的键。 最大长度127个字符。 key不能为空。
34
+ :param key: 标签的键。 最大长度128个字符。 key不能为空。
35
35
  :type key: str
36
36
  :param values: 值列表。每个值最大长度255个字符,如果values为空列表,则表示匹配任意值value。value之间为或的关系。
37
37
  :type values: list[str]
@@ -50,7 +50,7 @@ class Tag:
50
50
  def key(self):
51
51
  """Gets the key of this Tag.
52
52
 
53
- 标签的键。 最大长度127个字符。 key不能为空。
53
+ 标签的键。 最大长度128个字符。 key不能为空。
54
54
 
55
55
  :return: The key of this Tag.
56
56
  :rtype: str
@@ -61,7 +61,7 @@ class Tag:
61
61
  def key(self, key):
62
62
  """Sets the key of this Tag.
63
63
 
64
- 标签的键。 最大长度127个字符。 key不能为空。
64
+ 标签的键。 最大长度128个字符。 key不能为空。
65
65
 
66
66
  :param key: The key of this Tag.
67
67
  :type key: str