huaweicloudsdksfsturbo 3.1.85__py2.py3-none-any.whl → 3.1.132__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. huaweicloudsdksfsturbo/v1/__init__.py +17 -1
  2. huaweicloudsdksfsturbo/v1/model/__init__.py +17 -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_by_tag_request.py +111 -0
  22. huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_request_body.py +260 -0
  23. huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_resource.py +202 -0
  24. huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_response.py +170 -0
  25. huaweicloudsdksfsturbo/v1/model/list_shares_request.py +6 -6
  26. huaweicloudsdksfsturbo/v1/model/metadata.py +6 -6
  27. huaweicloudsdksfsturbo/v1/model/obs_data_repository.py +53 -3
  28. huaweicloudsdksfsturbo/v1/model/obs_data_repository_policy.py +111 -0
  29. huaweicloudsdksfsturbo/v1/model/obs_target_attributes.py +202 -0
  30. huaweicloudsdksfsturbo/v1/model/one_perm_rule_request_info.py +6 -6
  31. huaweicloudsdksfsturbo/v1/model/one_perm_rule_response_info.py +6 -6
  32. huaweicloudsdksfsturbo/v1/model/req_update_hpc_cache_data.py +6 -35
  33. huaweicloudsdksfsturbo/v1/model/resource_tag.py +6 -6
  34. huaweicloudsdksfsturbo/v1/model/share.py +18 -18
  35. huaweicloudsdksfsturbo/v1/model/share_info.py +185 -15
  36. huaweicloudsdksfsturbo/v1/model/share_info_feature.py +173 -0
  37. huaweicloudsdksfsturbo/v1/model/share_info_features.py +111 -0
  38. huaweicloudsdksfsturbo/v1/model/show_fs_dir_quota_response.py +6 -6
  39. huaweicloudsdksfsturbo/v1/model/show_fs_dir_response.py +9 -9
  40. huaweicloudsdksfsturbo/v1/model/show_ldap_config_response.py +119 -3
  41. huaweicloudsdksfsturbo/v1/model/show_perm_rule_response.py +6 -6
  42. huaweicloudsdksfsturbo/v1/model/show_share_response.py +185 -15
  43. huaweicloudsdksfsturbo/v1/model/tag.py +3 -3
  44. huaweicloudsdksfsturbo/v1/model/update_fs_dir_quota_request_body.py +6 -6
  45. huaweicloudsdksfsturbo/v1/model/update_fs_dir_quota_response.py +6 -6
  46. huaweicloudsdksfsturbo/v1/model/update_hpc_share_request_body.py +3 -3
  47. huaweicloudsdksfsturbo/v1/model/update_ldap_config_request_body.py +122 -6
  48. huaweicloudsdksfsturbo/v1/model/update_ldap_config_response.py +3 -3
  49. huaweicloudsdksfsturbo/v1/model/update_obs_target_attributes_request.py +167 -0
  50. huaweicloudsdksfsturbo/v1/model/update_obs_target_attributes_request_body.py +110 -0
  51. huaweicloudsdksfsturbo/v1/model/update_obs_target_attributes_response.py +166 -0
  52. huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_request.py +167 -0
  53. huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_request_body.py +110 -0
  54. huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_response.py +166 -0
  55. huaweicloudsdksfsturbo/v1/model/update_perm_rule_response.py +6 -6
  56. huaweicloudsdksfsturbo/v1/region/sfsturbo_region.py +21 -0
  57. huaweicloudsdksfsturbo/v1/sfsturbo_async_client.py +311 -13
  58. huaweicloudsdksfsturbo/v1/sfsturbo_client.py +311 -13
  59. {huaweicloudsdksfsturbo-3.1.85.dist-info → huaweicloudsdksfsturbo-3.1.132.dist-info}/METADATA +2 -2
  60. {huaweicloudsdksfsturbo-3.1.85.dist-info → huaweicloudsdksfsturbo-3.1.132.dist-info}/RECORD +63 -47
  61. {huaweicloudsdksfsturbo-3.1.85.dist-info → huaweicloudsdksfsturbo-3.1.132.dist-info}/WHEEL +1 -1
  62. huaweicloudsdksfsturbo/v1/model/config_obs_target.py +0 -198
  63. {huaweicloudsdksfsturbo-3.1.85.dist-info → huaweicloudsdksfsturbo-3.1.132.dist-info}/LICENSE +0 -0
  64. {huaweicloudsdksfsturbo-3.1.85.dist-info → huaweicloudsdksfsturbo-3.1.132.dist-info}/top_level.txt +0 -0
@@ -22,7 +22,11 @@ class CreateLdapConfigRequestBody:
22
22
  'user_dn': 'str',
23
23
  'password': 'str',
24
24
  'vpc_id': 'str',
25
- 'filter_condition': 'str'
25
+ 'filter_condition': 'str',
26
+ 'backup_url': 'str',
27
+ 'schema': 'str',
28
+ 'search_timeout': 'int',
29
+ 'allow_local_user': 'str'
26
30
  }
27
31
 
28
32
  attribute_map = {
@@ -31,15 +35,19 @@ class CreateLdapConfigRequestBody:
31
35
  'user_dn': 'user_dn',
32
36
  'password': 'password',
33
37
  'vpc_id': 'vpc_id',
34
- 'filter_condition': 'filter_condition'
38
+ 'filter_condition': 'filter_condition',
39
+ 'backup_url': 'backup_url',
40
+ 'schema': 'schema',
41
+ 'search_timeout': 'search_timeout',
42
+ 'allow_local_user': 'allow_local_user'
35
43
  }
36
44
 
37
- def __init__(self, url=None, base_dn=None, user_dn=None, password=None, vpc_id=None, filter_condition=None):
45
+ def __init__(self, url=None, base_dn=None, user_dn=None, password=None, vpc_id=None, filter_condition=None, backup_url=None, schema=None, search_timeout=None, allow_local_user=None):
38
46
  """CreateLdapConfigRequestBody
39
47
 
40
48
  The model defined in huaweicloud sdk
41
49
 
42
- :param url: ldap服务器的url
50
+ :param url: ldap服务器的url,固定格式为 ldap://{ip_address}:{port_number} 或 ldaps://{ip_address}:{port_number},例如ldap://192.168.xx.xx:60000
43
51
  :type url: str
44
52
  :param base_dn: 数据库中的域
45
53
  :type base_dn: str
@@ -51,6 +59,14 @@ class CreateLdapConfigRequestBody:
51
59
  :type vpc_id: str
52
60
  :param filter_condition: 过滤条件。保留字段,暂不支持
53
61
  :type filter_condition: str
62
+ :param backup_url: ldap备节点的url,固定格式为 ldap://{ip_address}:{port_number} 或 ldaps://{ip_address}:{port_number},例如ldap://192.168.xx.xx:60000
63
+ :type backup_url: str
64
+ :param schema: ldap的schema,不填写则默认为RFC2307
65
+ :type schema: str
66
+ :param search_timeout: ldap搜索的超时时间,单位为秒。不填写则默认为3秒
67
+ :type search_timeout: int
68
+ :param allow_local_user: 访问ldap服务器失败后是否允许使用本地用户鉴权
69
+ :type allow_local_user: str
54
70
  """
55
71
 
56
72
 
@@ -61,6 +77,10 @@ class CreateLdapConfigRequestBody:
61
77
  self._password = None
62
78
  self._vpc_id = None
63
79
  self._filter_condition = None
80
+ self._backup_url = None
81
+ self._schema = None
82
+ self._search_timeout = None
83
+ self._allow_local_user = None
64
84
  self.discriminator = None
65
85
 
66
86
  self.url = url
@@ -73,12 +93,20 @@ class CreateLdapConfigRequestBody:
73
93
  self.vpc_id = vpc_id
74
94
  if filter_condition is not None:
75
95
  self.filter_condition = filter_condition
96
+ if backup_url is not None:
97
+ self.backup_url = backup_url
98
+ if schema is not None:
99
+ self.schema = schema
100
+ if search_timeout is not None:
101
+ self.search_timeout = search_timeout
102
+ if allow_local_user is not None:
103
+ self.allow_local_user = allow_local_user
76
104
 
77
105
  @property
78
106
  def url(self):
79
107
  """Gets the url of this CreateLdapConfigRequestBody.
80
108
 
81
- ldap服务器的url
109
+ ldap服务器的url,固定格式为 ldap://{ip_address}:{port_number} 或 ldaps://{ip_address}:{port_number},例如ldap://192.168.xx.xx:60000
82
110
 
83
111
  :return: The url of this CreateLdapConfigRequestBody.
84
112
  :rtype: str
@@ -89,7 +117,7 @@ class CreateLdapConfigRequestBody:
89
117
  def url(self, url):
90
118
  """Sets the url of this CreateLdapConfigRequestBody.
91
119
 
92
- ldap服务器的url
120
+ ldap服务器的url,固定格式为 ldap://{ip_address}:{port_number} 或 ldaps://{ip_address}:{port_number},例如ldap://192.168.xx.xx:60000
93
121
 
94
122
  :param url: The url of this CreateLdapConfigRequestBody.
95
123
  :type url: str
@@ -206,6 +234,94 @@ class CreateLdapConfigRequestBody:
206
234
  """
207
235
  self._filter_condition = filter_condition
208
236
 
237
+ @property
238
+ def backup_url(self):
239
+ """Gets the backup_url of this CreateLdapConfigRequestBody.
240
+
241
+ ldap备节点的url,固定格式为 ldap://{ip_address}:{port_number} 或 ldaps://{ip_address}:{port_number},例如ldap://192.168.xx.xx:60000
242
+
243
+ :return: The backup_url of this CreateLdapConfigRequestBody.
244
+ :rtype: str
245
+ """
246
+ return self._backup_url
247
+
248
+ @backup_url.setter
249
+ def backup_url(self, backup_url):
250
+ """Sets the backup_url of this CreateLdapConfigRequestBody.
251
+
252
+ ldap备节点的url,固定格式为 ldap://{ip_address}:{port_number} 或 ldaps://{ip_address}:{port_number},例如ldap://192.168.xx.xx:60000
253
+
254
+ :param backup_url: The backup_url of this CreateLdapConfigRequestBody.
255
+ :type backup_url: str
256
+ """
257
+ self._backup_url = backup_url
258
+
259
+ @property
260
+ def schema(self):
261
+ """Gets the schema of this CreateLdapConfigRequestBody.
262
+
263
+ ldap的schema,不填写则默认为RFC2307
264
+
265
+ :return: The schema of this CreateLdapConfigRequestBody.
266
+ :rtype: str
267
+ """
268
+ return self._schema
269
+
270
+ @schema.setter
271
+ def schema(self, schema):
272
+ """Sets the schema of this CreateLdapConfigRequestBody.
273
+
274
+ ldap的schema,不填写则默认为RFC2307
275
+
276
+ :param schema: The schema of this CreateLdapConfigRequestBody.
277
+ :type schema: str
278
+ """
279
+ self._schema = schema
280
+
281
+ @property
282
+ def search_timeout(self):
283
+ """Gets the search_timeout of this CreateLdapConfigRequestBody.
284
+
285
+ ldap搜索的超时时间,单位为秒。不填写则默认为3秒
286
+
287
+ :return: The search_timeout of this CreateLdapConfigRequestBody.
288
+ :rtype: int
289
+ """
290
+ return self._search_timeout
291
+
292
+ @search_timeout.setter
293
+ def search_timeout(self, search_timeout):
294
+ """Sets the search_timeout of this CreateLdapConfigRequestBody.
295
+
296
+ ldap搜索的超时时间,单位为秒。不填写则默认为3秒
297
+
298
+ :param search_timeout: The search_timeout of this CreateLdapConfigRequestBody.
299
+ :type search_timeout: int
300
+ """
301
+ self._search_timeout = search_timeout
302
+
303
+ @property
304
+ def allow_local_user(self):
305
+ """Gets the allow_local_user of this CreateLdapConfigRequestBody.
306
+
307
+ 访问ldap服务器失败后是否允许使用本地用户鉴权
308
+
309
+ :return: The allow_local_user of this CreateLdapConfigRequestBody.
310
+ :rtype: str
311
+ """
312
+ return self._allow_local_user
313
+
314
+ @allow_local_user.setter
315
+ def allow_local_user(self, allow_local_user):
316
+ """Sets the allow_local_user of this CreateLdapConfigRequestBody.
317
+
318
+ 访问ldap服务器失败后是否允许使用本地用户鉴权
319
+
320
+ :param allow_local_user: The allow_local_user of this CreateLdapConfigRequestBody.
321
+ :type allow_local_user: str
322
+ """
323
+ self._allow_local_user = allow_local_user
324
+
209
325
  def to_dict(self):
210
326
  """Returns the model properties as a dict"""
211
327
  result = {}
@@ -30,7 +30,7 @@ class CreateLdapConfigResponse(SdkResponse):
30
30
 
31
31
  The model defined in huaweicloud sdk
32
32
 
33
- :param job_id: 创建ldap异步任务的id
33
+ :param job_id: ldap异步任务的id。可通过查询job的状态详情接口查询job的执行状态。
34
34
  :type job_id: str
35
35
  """
36
36
 
@@ -46,7 +46,7 @@ class CreateLdapConfigResponse(SdkResponse):
46
46
  def job_id(self):
47
47
  """Gets the job_id of this CreateLdapConfigResponse.
48
48
 
49
- 创建ldap异步任务的id
49
+ ldap异步任务的id。可通过查询job的状态详情接口查询job的执行状态。
50
50
 
51
51
  :return: The job_id of this CreateLdapConfigResponse.
52
52
  :rtype: str
@@ -57,7 +57,7 @@ class CreateLdapConfigResponse(SdkResponse):
57
57
  def job_id(self, job_id):
58
58
  """Sets the job_id of this CreateLdapConfigResponse.
59
59
 
60
- 创建ldap异步任务的id
60
+ ldap异步任务的id。可通过查询job的状态详情接口查询job的执行状态。
61
61
 
62
62
  :param job_id: The job_id of this CreateLdapConfigResponse.
63
63
  :type job_id: str
@@ -0,0 +1,142 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class DeleteHpcCacheTaskRequest:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'share_id': 'str',
21
+ 'task_id': 'str'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'share_id': 'share_id',
26
+ 'task_id': 'task_id'
27
+ }
28
+
29
+ def __init__(self, share_id=None, task_id=None):
30
+ """DeleteHpcCacheTaskRequest
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param share_id: 文件系统ID
35
+ :type share_id: str
36
+ :param task_id: 任务ID
37
+ :type task_id: str
38
+ """
39
+
40
+
41
+
42
+ self._share_id = None
43
+ self._task_id = None
44
+ self.discriminator = None
45
+
46
+ self.share_id = share_id
47
+ self.task_id = task_id
48
+
49
+ @property
50
+ def share_id(self):
51
+ """Gets the share_id of this DeleteHpcCacheTaskRequest.
52
+
53
+ 文件系统ID
54
+
55
+ :return: The share_id of this DeleteHpcCacheTaskRequest.
56
+ :rtype: str
57
+ """
58
+ return self._share_id
59
+
60
+ @share_id.setter
61
+ def share_id(self, share_id):
62
+ """Sets the share_id of this DeleteHpcCacheTaskRequest.
63
+
64
+ 文件系统ID
65
+
66
+ :param share_id: The share_id of this DeleteHpcCacheTaskRequest.
67
+ :type share_id: str
68
+ """
69
+ self._share_id = share_id
70
+
71
+ @property
72
+ def task_id(self):
73
+ """Gets the task_id of this DeleteHpcCacheTaskRequest.
74
+
75
+ 任务ID
76
+
77
+ :return: The task_id of this DeleteHpcCacheTaskRequest.
78
+ :rtype: str
79
+ """
80
+ return self._task_id
81
+
82
+ @task_id.setter
83
+ def task_id(self, task_id):
84
+ """Sets the task_id of this DeleteHpcCacheTaskRequest.
85
+
86
+ 任务ID
87
+
88
+ :param task_id: The task_id of this DeleteHpcCacheTaskRequest.
89
+ :type task_id: str
90
+ """
91
+ self._task_id = task_id
92
+
93
+ def to_dict(self):
94
+ """Returns the model properties as a dict"""
95
+ result = {}
96
+
97
+ for attr, _ in six.iteritems(self.openapi_types):
98
+ value = getattr(self, attr)
99
+ if isinstance(value, list):
100
+ result[attr] = list(map(
101
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
102
+ value
103
+ ))
104
+ elif hasattr(value, "to_dict"):
105
+ result[attr] = value.to_dict()
106
+ elif isinstance(value, dict):
107
+ result[attr] = dict(map(
108
+ lambda item: (item[0], item[1].to_dict())
109
+ if hasattr(item[1], "to_dict") else item,
110
+ value.items()
111
+ ))
112
+ else:
113
+ if attr in self.sensitive_list:
114
+ result[attr] = "****"
115
+ else:
116
+ result[attr] = value
117
+
118
+ return result
119
+
120
+ def to_str(self):
121
+ """Returns the string representation of the model"""
122
+ import simplejson as json
123
+ if six.PY2:
124
+ import sys
125
+ reload(sys)
126
+ sys.setdefaultencoding("utf-8")
127
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
128
+
129
+ def __repr__(self):
130
+ """For `print`"""
131
+ return self.to_str()
132
+
133
+ def __eq__(self, other):
134
+ """Returns true if both objects are equal"""
135
+ if not isinstance(other, DeleteHpcCacheTaskRequest):
136
+ return False
137
+
138
+ return self.__dict__ == other.__dict__
139
+
140
+ def __ne__(self, other):
141
+ """Returns true if both objects are not equal"""
142
+ return not self == other
@@ -0,0 +1,112 @@
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 DeleteHpcCacheTaskResponse(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
+ 'x_request_id': 'str'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'x_request_id': 'X-request-id'
26
+ }
27
+
28
+ def __init__(self, x_request_id=None):
29
+ """DeleteHpcCacheTaskResponse
30
+
31
+ The model defined in huaweicloud sdk
32
+
33
+ :param x_request_id:
34
+ :type x_request_id: str
35
+ """
36
+
37
+ super(DeleteHpcCacheTaskResponse, self).__init__()
38
+
39
+ self._x_request_id = None
40
+ self.discriminator = None
41
+
42
+ if x_request_id is not None:
43
+ self.x_request_id = x_request_id
44
+
45
+ @property
46
+ def x_request_id(self):
47
+ """Gets the x_request_id of this DeleteHpcCacheTaskResponse.
48
+
49
+ :return: The x_request_id of this DeleteHpcCacheTaskResponse.
50
+ :rtype: str
51
+ """
52
+ return self._x_request_id
53
+
54
+ @x_request_id.setter
55
+ def x_request_id(self, x_request_id):
56
+ """Sets the x_request_id of this DeleteHpcCacheTaskResponse.
57
+
58
+ :param x_request_id: The x_request_id of this DeleteHpcCacheTaskResponse.
59
+ :type x_request_id: str
60
+ """
61
+ self._x_request_id = x_request_id
62
+
63
+ def to_dict(self):
64
+ """Returns the model properties as a dict"""
65
+ result = {}
66
+
67
+ for attr, _ in six.iteritems(self.openapi_types):
68
+ value = getattr(self, attr)
69
+ if isinstance(value, list):
70
+ result[attr] = list(map(
71
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
72
+ value
73
+ ))
74
+ elif hasattr(value, "to_dict"):
75
+ result[attr] = value.to_dict()
76
+ elif isinstance(value, dict):
77
+ result[attr] = dict(map(
78
+ lambda item: (item[0], item[1].to_dict())
79
+ if hasattr(item[1], "to_dict") else item,
80
+ value.items()
81
+ ))
82
+ else:
83
+ if attr in self.sensitive_list:
84
+ result[attr] = "****"
85
+ else:
86
+ result[attr] = value
87
+
88
+ return result
89
+
90
+ def to_str(self):
91
+ """Returns the string representation of the model"""
92
+ import simplejson as json
93
+ if six.PY2:
94
+ import sys
95
+ reload(sys)
96
+ sys.setdefaultencoding("utf-8")
97
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
98
+
99
+ def __repr__(self):
100
+ """For `print`"""
101
+ return self.to_str()
102
+
103
+ def __eq__(self, other):
104
+ """Returns true if both objects are equal"""
105
+ if not isinstance(other, DeleteHpcCacheTaskResponse):
106
+ return False
107
+
108
+ return self.__dict__ == other.__dict__
109
+
110
+ def __ne__(self, other):
111
+ """Returns true if both objects are not equal"""
112
+ return not self == other
@@ -30,7 +30,7 @@ class DeleteLdapConfigResponse(SdkResponse):
30
30
 
31
31
  The model defined in huaweicloud sdk
32
32
 
33
- :param job_id: 创建ldap异步任务的id
33
+ :param job_id: ldap异步任务的id。可通过查询job的状态详情接口查询job的执行状态。
34
34
  :type job_id: str
35
35
  """
36
36
 
@@ -46,7 +46,7 @@ class DeleteLdapConfigResponse(SdkResponse):
46
46
  def job_id(self):
47
47
  """Gets the job_id of this DeleteLdapConfigResponse.
48
48
 
49
- 创建ldap异步任务的id
49
+ ldap异步任务的id。可通过查询job的状态详情接口查询job的执行状态。
50
50
 
51
51
  :return: The job_id of this DeleteLdapConfigResponse.
52
52
  :rtype: str
@@ -57,7 +57,7 @@ class DeleteLdapConfigResponse(SdkResponse):
57
57
  def job_id(self, job_id):
58
58
  """Sets the job_id of this DeleteLdapConfigResponse.
59
59
 
60
- 创建ldap异步任务的id
60
+ ldap异步任务的id。可通过查询job的状态详情接口查询job的执行状态。
61
61
 
62
62
  :param job_id: The job_id of this DeleteLdapConfigResponse.
63
63
  :type job_id: str
@@ -33,7 +33,7 @@ class DeleteSharedTagRequest:
33
33
 
34
34
  :param share_id: 共享ID
35
35
  :type share_id: str
36
- :param key: 标签的键,最大长度36个字符。 key不能为空,不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。只能包含大写字母、小写字母、数字,特殊字符\"-\"和\"_\"。 说明:调用删除共享标签接口删除标签时,如果标签的键中存在不被URL直接解析的特殊字符,需要对标签的键进行URL转义处理。
36
+ :param key: 标签的键,最大长度128个字符。 key不能为空,不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。只能包含大写字母、小写字母、数字,特殊字符\"-\"和\"_\"。 说明:调用删除共享标签接口删除标签时,如果标签的键中存在不被URL直接解析的特殊字符,需要对标签的键进行URL转义处理。
37
37
  :type key: str
38
38
  """
39
39
 
@@ -72,7 +72,7 @@ class DeleteSharedTagRequest:
72
72
  def key(self):
73
73
  """Gets the key of this DeleteSharedTagRequest.
74
74
 
75
- 标签的键,最大长度36个字符。 key不能为空,不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。只能包含大写字母、小写字母、数字,特殊字符\"-\"和\"_\"。 说明:调用删除共享标签接口删除标签时,如果标签的键中存在不被URL直接解析的特殊字符,需要对标签的键进行URL转义处理。
75
+ 标签的键,最大长度128个字符。 key不能为空,不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。只能包含大写字母、小写字母、数字,特殊字符\"-\"和\"_\"。 说明:调用删除共享标签接口删除标签时,如果标签的键中存在不被URL直接解析的特殊字符,需要对标签的键进行URL转义处理。
76
76
 
77
77
  :return: The key of this DeleteSharedTagRequest.
78
78
  :rtype: str
@@ -83,7 +83,7 @@ class DeleteSharedTagRequest:
83
83
  def key(self, key):
84
84
  """Sets the key of this DeleteSharedTagRequest.
85
85
 
86
- 标签的键,最大长度36个字符。 key不能为空,不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。只能包含大写字母、小写字母、数字,特殊字符\"-\"和\"_\"。 说明:调用删除共享标签接口删除标签时,如果标签的键中存在不被URL直接解析的特殊字符,需要对标签的键进行URL转义处理。
86
+ 标签的键,最大长度128个字符。 key不能为空,不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。只能包含大写字母、小写字母、数字,特殊字符\"-\"和\"_\"。 说明:调用删除共享标签接口删除标签时,如果标签的键中存在不被URL直接解析的特殊字符,需要对标签的键进行URL转义处理。
87
87
 
88
88
  :param key: The key of this DeleteSharedTagRequest.
89
89
  :type key: str
@@ -33,7 +33,7 @@ class Extend:
33
33
 
34
34
  The model defined in huaweicloud sdk
35
35
 
36
- :param new_size: 扩容后文件系统的新容量,以GiB为单位。 通用型-标准型和性能型,取值范围500~32768 GiB,扩容步长大于等于100 GiB。 通用型-标准型增强版和性能型增强版。容量范围是10240~327680 GiB。扩容步长大于等于100 GiB。 HPC型文件系统,容量范围是3686~1048576 GiB。HPC型文件系统的容量必须为1.2TiB的倍数,扩容步长需要大于等于1.2TiB,需要将目标容量换算为GiB后需要向下取整。如4.8TiB-&gt;4915GiB,8.4TiB-&gt;8601GiB。 HPC缓存型文件系统,容量范围是4096~1048576 GiB。扩容步长均为1TiB。需要将目标容量换算为GiB。
36
+ :param new_size: 扩容后文件系统的新容量,以GiB为单位。 SFS Turbo上一代文件系统规格类型-标准型和性能型,取值范围500~32768 GiB,扩容步长大于等于100 GiB。 SFS Turbo上一代文件系统规格类型-标准型增强版和性能型增强版。容量范围是10240~327680 GiB。扩容步长大于等于100 GiB。 20MB/s/TiB,容量范围是3686~1048576 GiB。容量必须为1.2TiB的倍数,扩容步长需要大于等于1.2TiB,需要将目标容量换算为GiB后需要向下取整。如4.8TiB-&gt;4915GiB,8.4TiB-&gt;8601GiB 40MB/s/TiB,容量范围是1228~1048576 GiB。容量必须为1.2TiB的倍数,扩容步长需要大于等于1.2TiB,需要将目标容量换算为GiB后需要向下取整。如4.8TiB-&gt;4915GiB,8.4TiB-&gt;8601GiB。 125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB与40MB/s/TiB的容量范围,扩容步长相同。 HPC缓存型文件系统,容量范围是4096~1048576 GiB。扩容步长均为1TiB。需要将目标容量换算为GiB。
37
37
  :type new_size: int
38
38
  :param new_bandwidth: 带宽的目标值,单位:GB。仅HPC缓存型支持带宽扩缩。 支持的带宽值为:\&quot;2G\&quot;、\&quot;4G\&quot;、\&quot;8G\&quot;、\&quot;16G\&quot;、\&quot;24G\&quot;、\&quot;32G\&quot;、\&quot;48G\&quot;。
39
39
  :type new_bandwidth: int
@@ -58,7 +58,7 @@ class Extend:
58
58
  def new_size(self):
59
59
  """Gets the new_size of this Extend.
60
60
 
61
- 扩容后文件系统的新容量,以GiB为单位。 通用型-标准型和性能型,取值范围500~32768 GiB,扩容步长大于等于100 GiB。 通用型-标准型增强版和性能型增强版。容量范围是10240~327680 GiB。扩容步长大于等于100 GiB。 HPC型文件系统,容量范围是3686~1048576 GiB。HPC型文件系统的容量必须为1.2TiB的倍数,扩容步长需要大于等于1.2TiB,需要将目标容量换算为GiB后需要向下取整。如4.8TiB->4915GiB,8.4TiB->8601GiB。 HPC缓存型文件系统,容量范围是4096~1048576 GiB。扩容步长均为1TiB。需要将目标容量换算为GiB。
61
+ 扩容后文件系统的新容量,以GiB为单位。 SFS Turbo上一代文件系统规格类型-标准型和性能型,取值范围500~32768 GiB,扩容步长大于等于100 GiB。 SFS Turbo上一代文件系统规格类型-标准型增强版和性能型增强版。容量范围是10240~327680 GiB。扩容步长大于等于100 GiB。 20MB/s/TiB,容量范围是3686~1048576 GiB。容量必须为1.2TiB的倍数,扩容步长需要大于等于1.2TiB,需要将目标容量换算为GiB后需要向下取整。如4.8TiB->4915GiB,8.4TiB->8601GiB 40MB/s/TiB,容量范围是1228~1048576 GiB。容量必须为1.2TiB的倍数,扩容步长需要大于等于1.2TiB,需要将目标容量换算为GiB后需要向下取整。如4.8TiB->4915GiB,8.4TiB->8601GiB。 125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB与40MB/s/TiB的容量范围,扩容步长相同。 HPC缓存型文件系统,容量范围是4096~1048576 GiB。扩容步长均为1TiB。需要将目标容量换算为GiB。
62
62
 
63
63
  :return: The new_size of this Extend.
64
64
  :rtype: int
@@ -69,7 +69,7 @@ class Extend:
69
69
  def new_size(self, new_size):
70
70
  """Sets the new_size of this Extend.
71
71
 
72
- 扩容后文件系统的新容量,以GiB为单位。 通用型-标准型和性能型,取值范围500~32768 GiB,扩容步长大于等于100 GiB。 通用型-标准型增强版和性能型增强版。容量范围是10240~327680 GiB。扩容步长大于等于100 GiB。 HPC型文件系统,容量范围是3686~1048576 GiB。HPC型文件系统的容量必须为1.2TiB的倍数,扩容步长需要大于等于1.2TiB,需要将目标容量换算为GiB后需要向下取整。如4.8TiB->4915GiB,8.4TiB->8601GiB。 HPC缓存型文件系统,容量范围是4096~1048576 GiB。扩容步长均为1TiB。需要将目标容量换算为GiB。
72
+ 扩容后文件系统的新容量,以GiB为单位。 SFS Turbo上一代文件系统规格类型-标准型和性能型,取值范围500~32768 GiB,扩容步长大于等于100 GiB。 SFS Turbo上一代文件系统规格类型-标准型增强版和性能型增强版。容量范围是10240~327680 GiB。扩容步长大于等于100 GiB。 20MB/s/TiB,容量范围是3686~1048576 GiB。容量必须为1.2TiB的倍数,扩容步长需要大于等于1.2TiB,需要将目标容量换算为GiB后需要向下取整。如4.8TiB->4915GiB,8.4TiB->8601GiB 40MB/s/TiB,容量范围是1228~1048576 GiB。容量必须为1.2TiB的倍数,扩容步长需要大于等于1.2TiB,需要将目标容量换算为GiB后需要向下取整。如4.8TiB->4915GiB,8.4TiB->8601GiB。 125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB与40MB/s/TiB的容量范围,扩容步长相同。 HPC缓存型文件系统,容量范围是4096~1048576 GiB。扩容步长均为1TiB。需要将目标容量换算为GiB。
73
73
 
74
74
  :param new_size: The new_size of this Extend.
75
75
  :type new_size: int
@@ -21,7 +21,9 @@ class ListHpcCacheTasksRequest:
21
21
  'type': 'str',
22
22
  'status': 'str',
23
23
  'offset': 'int',
24
- 'limit': 'int'
24
+ 'limit': 'int',
25
+ 'start_time': 'str',
26
+ 'end_time': 'str'
25
27
  }
26
28
 
27
29
  attribute_map = {
@@ -29,10 +31,12 @@ class ListHpcCacheTasksRequest:
29
31
  'type': 'type',
30
32
  'status': 'status',
31
33
  'offset': 'offset',
32
- 'limit': 'limit'
34
+ 'limit': 'limit',
35
+ 'start_time': 'start_time',
36
+ 'end_time': 'end_time'
33
37
  }
34
38
 
35
- def __init__(self, share_id=None, type=None, status=None, offset=None, limit=None):
39
+ def __init__(self, share_id=None, type=None, status=None, offset=None, limit=None, start_time=None, end_time=None):
36
40
  """ListHpcCacheTasksRequest
37
41
 
38
42
  The model defined in huaweicloud sdk
@@ -47,6 +51,10 @@ class ListHpcCacheTasksRequest:
47
51
  :type offset: int
48
52
  :param limit: limit,默认值为 20
49
53
  :type limit: int
54
+ :param start_time: start_time
55
+ :type start_time: str
56
+ :param end_time: end_time
57
+ :type end_time: str
50
58
  """
51
59
 
52
60
 
@@ -56,6 +64,8 @@ class ListHpcCacheTasksRequest:
56
64
  self._status = None
57
65
  self._offset = None
58
66
  self._limit = None
67
+ self._start_time = None
68
+ self._end_time = None
59
69
  self.discriminator = None
60
70
 
61
71
  self.share_id = share_id
@@ -67,6 +77,10 @@ class ListHpcCacheTasksRequest:
67
77
  self.offset = offset
68
78
  if limit is not None:
69
79
  self.limit = limit
80
+ if start_time is not None:
81
+ self.start_time = start_time
82
+ if end_time is not None:
83
+ self.end_time = end_time
70
84
 
71
85
  @property
72
86
  def share_id(self):
@@ -178,6 +192,50 @@ class ListHpcCacheTasksRequest:
178
192
  """
179
193
  self._limit = limit
180
194
 
195
+ @property
196
+ def start_time(self):
197
+ """Gets the start_time of this ListHpcCacheTasksRequest.
198
+
199
+ start_time
200
+
201
+ :return: The start_time of this ListHpcCacheTasksRequest.
202
+ :rtype: str
203
+ """
204
+ return self._start_time
205
+
206
+ @start_time.setter
207
+ def start_time(self, start_time):
208
+ """Sets the start_time of this ListHpcCacheTasksRequest.
209
+
210
+ start_time
211
+
212
+ :param start_time: The start_time of this ListHpcCacheTasksRequest.
213
+ :type start_time: str
214
+ """
215
+ self._start_time = start_time
216
+
217
+ @property
218
+ def end_time(self):
219
+ """Gets the end_time of this ListHpcCacheTasksRequest.
220
+
221
+ end_time
222
+
223
+ :return: The end_time of this ListHpcCacheTasksRequest.
224
+ :rtype: str
225
+ """
226
+ return self._end_time
227
+
228
+ @end_time.setter
229
+ def end_time(self, end_time):
230
+ """Sets the end_time of this ListHpcCacheTasksRequest.
231
+
232
+ end_time
233
+
234
+ :param end_time: The end_time of this ListHpcCacheTasksRequest.
235
+ :type end_time: str
236
+ """
237
+ self._end_time = end_time
238
+
181
239
  def to_dict(self):
182
240
  """Returns the model properties as a dict"""
183
241
  result = {}