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
@@ -6,6 +6,7 @@ from huaweicloudsdksfsturbo.v1.sfsturbo_client import SFSTurboClient
6
6
  from huaweicloudsdksfsturbo.v1.sfsturbo_async_client import SFSTurboAsyncClient
7
7
 
8
8
  from huaweicloudsdksfsturbo.v1.model.action_progress import ActionProgress
9
+ from huaweicloudsdksfsturbo.v1.model.auto_export_policy import AutoExportPolicy
9
10
  from huaweicloudsdksfsturbo.v1.model.batch_add_shared_tags_request import BatchAddSharedTagsRequest
10
11
  from huaweicloudsdksfsturbo.v1.model.batch_add_shared_tags_request_body import BatchAddSharedTagsRequestBody
11
12
  from huaweicloudsdksfsturbo.v1.model.batch_add_shared_tags_response import BatchAddSharedTagsResponse
@@ -19,7 +20,6 @@ from huaweicloudsdksfsturbo.v1.model.change_share_name_req import ChangeShareNam
19
20
  from huaweicloudsdksfsturbo.v1.model.change_share_name_request import ChangeShareNameRequest
20
21
  from huaweicloudsdksfsturbo.v1.model.change_share_name_response import ChangeShareNameResponse
21
22
  from huaweicloudsdksfsturbo.v1.model.config_nas_target import ConfigNasTarget
22
- from huaweicloudsdksfsturbo.v1.model.config_obs_target import ConfigObsTarget
23
23
  from huaweicloudsdksfsturbo.v1.model.create_backend_target_request import CreateBackendTargetRequest
24
24
  from huaweicloudsdksfsturbo.v1.model.create_backend_target_request_body import CreateBackendTargetRequestBody
25
25
  from huaweicloudsdksfsturbo.v1.model.create_backend_target_response import CreateBackendTargetResponse
@@ -56,6 +56,8 @@ from huaweicloudsdksfsturbo.v1.model.delete_fs_dir_request_body import DeleteFsD
56
56
  from huaweicloudsdksfsturbo.v1.model.delete_fs_dir_response import DeleteFsDirResponse
57
57
  from huaweicloudsdksfsturbo.v1.model.delete_fs_task_request import DeleteFsTaskRequest
58
58
  from huaweicloudsdksfsturbo.v1.model.delete_fs_task_response import DeleteFsTaskResponse
59
+ from huaweicloudsdksfsturbo.v1.model.delete_hpc_cache_task_request import DeleteHpcCacheTaskRequest
60
+ from huaweicloudsdksfsturbo.v1.model.delete_hpc_cache_task_response import DeleteHpcCacheTaskResponse
59
61
  from huaweicloudsdksfsturbo.v1.model.delete_ldap_config_request import DeleteLdapConfigRequest
60
62
  from huaweicloudsdksfsturbo.v1.model.delete_ldap_config_response import DeleteLdapConfigResponse
61
63
  from huaweicloudsdksfsturbo.v1.model.delete_perm_rule_request import DeletePermRuleRequest
@@ -88,6 +90,8 @@ from huaweicloudsdksfsturbo.v1.model.list_shares_request import ListSharesReques
88
90
  from huaweicloudsdksfsturbo.v1.model.list_shares_response import ListSharesResponse
89
91
  from huaweicloudsdksfsturbo.v1.model.metadata import Metadata
90
92
  from huaweicloudsdksfsturbo.v1.model.obs_data_repository import ObsDataRepository
93
+ from huaweicloudsdksfsturbo.v1.model.obs_data_repository_policy import ObsDataRepositoryPolicy
94
+ from huaweicloudsdksfsturbo.v1.model.obs_target_attributes import ObsTargetAttributes
91
95
  from huaweicloudsdksfsturbo.v1.model.one_fs_task_resp import OneFsTaskResp
92
96
  from huaweicloudsdksfsturbo.v1.model.one_hpc_cache_task_info_resp import OneHpcCacheTaskInfoResp
93
97
  from huaweicloudsdksfsturbo.v1.model.one_perm_rule_request_info import OnePermRuleRequestInfo
@@ -100,6 +104,8 @@ from huaweicloudsdksfsturbo.v1.model.set_hpc_cache_backend_request import SetHpc
100
104
  from huaweicloudsdksfsturbo.v1.model.set_hpc_cache_backend_response import SetHpcCacheBackendResponse
101
105
  from huaweicloudsdksfsturbo.v1.model.share import Share
102
106
  from huaweicloudsdksfsturbo.v1.model.share_info import ShareInfo
107
+ from huaweicloudsdksfsturbo.v1.model.share_info_feature import ShareInfoFeature
108
+ from huaweicloudsdksfsturbo.v1.model.share_info_features import ShareInfoFeatures
103
109
  from huaweicloudsdksfsturbo.v1.model.share_name import ShareName
104
110
  from huaweicloudsdksfsturbo.v1.model.show_backend_target_info_request import ShowBackendTargetInfoRequest
105
111
  from huaweicloudsdksfsturbo.v1.model.show_backend_target_info_response import ShowBackendTargetInfoResponse
@@ -134,6 +140,12 @@ from huaweicloudsdksfsturbo.v1.model.update_hpc_share_response import UpdateHpcS
134
140
  from huaweicloudsdksfsturbo.v1.model.update_ldap_config_request import UpdateLdapConfigRequest
135
141
  from huaweicloudsdksfsturbo.v1.model.update_ldap_config_request_body import UpdateLdapConfigRequestBody
136
142
  from huaweicloudsdksfsturbo.v1.model.update_ldap_config_response import UpdateLdapConfigResponse
143
+ from huaweicloudsdksfsturbo.v1.model.update_obs_target_attributes_request import UpdateObsTargetAttributesRequest
144
+ from huaweicloudsdksfsturbo.v1.model.update_obs_target_attributes_request_body import UpdateObsTargetAttributesRequestBody
145
+ from huaweicloudsdksfsturbo.v1.model.update_obs_target_attributes_response import UpdateObsTargetAttributesResponse
146
+ from huaweicloudsdksfsturbo.v1.model.update_obs_target_policy_request import UpdateObsTargetPolicyRequest
147
+ from huaweicloudsdksfsturbo.v1.model.update_obs_target_policy_request_body import UpdateObsTargetPolicyRequestBody
148
+ from huaweicloudsdksfsturbo.v1.model.update_obs_target_policy_response import UpdateObsTargetPolicyResponse
137
149
  from huaweicloudsdksfsturbo.v1.model.update_perm_rule_request import UpdatePermRuleRequest
138
150
  from huaweicloudsdksfsturbo.v1.model.update_perm_rule_response import UpdatePermRuleResponse
139
151
 
@@ -4,6 +4,7 @@ from __future__ import absolute_import
4
4
 
5
5
  # import models into model package
6
6
  from huaweicloudsdksfsturbo.v1.model.action_progress import ActionProgress
7
+ from huaweicloudsdksfsturbo.v1.model.auto_export_policy import AutoExportPolicy
7
8
  from huaweicloudsdksfsturbo.v1.model.batch_add_shared_tags_request import BatchAddSharedTagsRequest
8
9
  from huaweicloudsdksfsturbo.v1.model.batch_add_shared_tags_request_body import BatchAddSharedTagsRequestBody
9
10
  from huaweicloudsdksfsturbo.v1.model.batch_add_shared_tags_response import BatchAddSharedTagsResponse
@@ -17,7 +18,6 @@ from huaweicloudsdksfsturbo.v1.model.change_share_name_req import ChangeShareNam
17
18
  from huaweicloudsdksfsturbo.v1.model.change_share_name_request import ChangeShareNameRequest
18
19
  from huaweicloudsdksfsturbo.v1.model.change_share_name_response import ChangeShareNameResponse
19
20
  from huaweicloudsdksfsturbo.v1.model.config_nas_target import ConfigNasTarget
20
- from huaweicloudsdksfsturbo.v1.model.config_obs_target import ConfigObsTarget
21
21
  from huaweicloudsdksfsturbo.v1.model.create_backend_target_request import CreateBackendTargetRequest
22
22
  from huaweicloudsdksfsturbo.v1.model.create_backend_target_request_body import CreateBackendTargetRequestBody
23
23
  from huaweicloudsdksfsturbo.v1.model.create_backend_target_response import CreateBackendTargetResponse
@@ -54,6 +54,8 @@ from huaweicloudsdksfsturbo.v1.model.delete_fs_dir_request_body import DeleteFsD
54
54
  from huaweicloudsdksfsturbo.v1.model.delete_fs_dir_response import DeleteFsDirResponse
55
55
  from huaweicloudsdksfsturbo.v1.model.delete_fs_task_request import DeleteFsTaskRequest
56
56
  from huaweicloudsdksfsturbo.v1.model.delete_fs_task_response import DeleteFsTaskResponse
57
+ from huaweicloudsdksfsturbo.v1.model.delete_hpc_cache_task_request import DeleteHpcCacheTaskRequest
58
+ from huaweicloudsdksfsturbo.v1.model.delete_hpc_cache_task_response import DeleteHpcCacheTaskResponse
57
59
  from huaweicloudsdksfsturbo.v1.model.delete_ldap_config_request import DeleteLdapConfigRequest
58
60
  from huaweicloudsdksfsturbo.v1.model.delete_ldap_config_response import DeleteLdapConfigResponse
59
61
  from huaweicloudsdksfsturbo.v1.model.delete_perm_rule_request import DeletePermRuleRequest
@@ -86,6 +88,8 @@ from huaweicloudsdksfsturbo.v1.model.list_shares_request import ListSharesReques
86
88
  from huaweicloudsdksfsturbo.v1.model.list_shares_response import ListSharesResponse
87
89
  from huaweicloudsdksfsturbo.v1.model.metadata import Metadata
88
90
  from huaweicloudsdksfsturbo.v1.model.obs_data_repository import ObsDataRepository
91
+ from huaweicloudsdksfsturbo.v1.model.obs_data_repository_policy import ObsDataRepositoryPolicy
92
+ from huaweicloudsdksfsturbo.v1.model.obs_target_attributes import ObsTargetAttributes
89
93
  from huaweicloudsdksfsturbo.v1.model.one_fs_task_resp import OneFsTaskResp
90
94
  from huaweicloudsdksfsturbo.v1.model.one_hpc_cache_task_info_resp import OneHpcCacheTaskInfoResp
91
95
  from huaweicloudsdksfsturbo.v1.model.one_perm_rule_request_info import OnePermRuleRequestInfo
@@ -98,6 +102,8 @@ from huaweicloudsdksfsturbo.v1.model.set_hpc_cache_backend_request import SetHpc
98
102
  from huaweicloudsdksfsturbo.v1.model.set_hpc_cache_backend_response import SetHpcCacheBackendResponse
99
103
  from huaweicloudsdksfsturbo.v1.model.share import Share
100
104
  from huaweicloudsdksfsturbo.v1.model.share_info import ShareInfo
105
+ from huaweicloudsdksfsturbo.v1.model.share_info_feature import ShareInfoFeature
106
+ from huaweicloudsdksfsturbo.v1.model.share_info_features import ShareInfoFeatures
101
107
  from huaweicloudsdksfsturbo.v1.model.share_name import ShareName
102
108
  from huaweicloudsdksfsturbo.v1.model.show_backend_target_info_request import ShowBackendTargetInfoRequest
103
109
  from huaweicloudsdksfsturbo.v1.model.show_backend_target_info_response import ShowBackendTargetInfoResponse
@@ -132,5 +138,11 @@ from huaweicloudsdksfsturbo.v1.model.update_hpc_share_response import UpdateHpcS
132
138
  from huaweicloudsdksfsturbo.v1.model.update_ldap_config_request import UpdateLdapConfigRequest
133
139
  from huaweicloudsdksfsturbo.v1.model.update_ldap_config_request_body import UpdateLdapConfigRequestBody
134
140
  from huaweicloudsdksfsturbo.v1.model.update_ldap_config_response import UpdateLdapConfigResponse
141
+ from huaweicloudsdksfsturbo.v1.model.update_obs_target_attributes_request import UpdateObsTargetAttributesRequest
142
+ from huaweicloudsdksfsturbo.v1.model.update_obs_target_attributes_request_body import UpdateObsTargetAttributesRequestBody
143
+ from huaweicloudsdksfsturbo.v1.model.update_obs_target_attributes_response import UpdateObsTargetAttributesResponse
144
+ from huaweicloudsdksfsturbo.v1.model.update_obs_target_policy_request import UpdateObsTargetPolicyRequest
145
+ from huaweicloudsdksfsturbo.v1.model.update_obs_target_policy_request_body import UpdateObsTargetPolicyRequestBody
146
+ from huaweicloudsdksfsturbo.v1.model.update_obs_target_policy_response import UpdateObsTargetPolicyResponse
135
147
  from huaweicloudsdksfsturbo.v1.model.update_perm_rule_request import UpdatePermRuleRequest
136
148
  from huaweicloudsdksfsturbo.v1.model.update_perm_rule_response import UpdatePermRuleResponse
@@ -0,0 +1,115 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class AutoExportPolicy:
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
+ 'events': 'list[str]'
21
+ }
22
+
23
+ attribute_map = {
24
+ 'events': 'events'
25
+ }
26
+
27
+ def __init__(self, events=None):
28
+ """AutoExportPolicy
29
+
30
+ The model defined in huaweicloud sdk
31
+
32
+ :param events: 后端存储自动导出到OBS桶的数据更新类型。 - NEW:表示新增数据,SFS Turbo联动目录下创建的文件,及之后对这些文件进行的元数据和数据修改,会被自动同步到OBS桶里。 - CHANGED:表示修改数据,从OBS桶里导入到SFS Turbo联动目录下的文件,在SFS Turbo上对这些文件所进行的数据和元数据的修改,会被自动同步到OBS桶里。 - DELETED:表示删除数据,在SFS Turbo联动目录下删除文件,OBS桶对应的对象也会被删除,只有被SFS Turbo写入的OBS对象才会被删除。
33
+ :type events: list[str]
34
+ """
35
+
36
+
37
+
38
+ self._events = None
39
+ self.discriminator = None
40
+
41
+ if events is not None:
42
+ self.events = events
43
+
44
+ @property
45
+ def events(self):
46
+ """Gets the events of this AutoExportPolicy.
47
+
48
+ 后端存储自动导出到OBS桶的数据更新类型。 - NEW:表示新增数据,SFS Turbo联动目录下创建的文件,及之后对这些文件进行的元数据和数据修改,会被自动同步到OBS桶里。 - CHANGED:表示修改数据,从OBS桶里导入到SFS Turbo联动目录下的文件,在SFS Turbo上对这些文件所进行的数据和元数据的修改,会被自动同步到OBS桶里。 - DELETED:表示删除数据,在SFS Turbo联动目录下删除文件,OBS桶对应的对象也会被删除,只有被SFS Turbo写入的OBS对象才会被删除。
49
+
50
+ :return: The events of this AutoExportPolicy.
51
+ :rtype: list[str]
52
+ """
53
+ return self._events
54
+
55
+ @events.setter
56
+ def events(self, events):
57
+ """Sets the events of this AutoExportPolicy.
58
+
59
+ 后端存储自动导出到OBS桶的数据更新类型。 - NEW:表示新增数据,SFS Turbo联动目录下创建的文件,及之后对这些文件进行的元数据和数据修改,会被自动同步到OBS桶里。 - CHANGED:表示修改数据,从OBS桶里导入到SFS Turbo联动目录下的文件,在SFS Turbo上对这些文件所进行的数据和元数据的修改,会被自动同步到OBS桶里。 - DELETED:表示删除数据,在SFS Turbo联动目录下删除文件,OBS桶对应的对象也会被删除,只有被SFS Turbo写入的OBS对象才会被删除。
60
+
61
+ :param events: The events of this AutoExportPolicy.
62
+ :type events: list[str]
63
+ """
64
+ self._events = events
65
+
66
+ def to_dict(self):
67
+ """Returns the model properties as a dict"""
68
+ result = {}
69
+
70
+ for attr, _ in six.iteritems(self.openapi_types):
71
+ value = getattr(self, attr)
72
+ if isinstance(value, list):
73
+ result[attr] = list(map(
74
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
75
+ value
76
+ ))
77
+ elif hasattr(value, "to_dict"):
78
+ result[attr] = value.to_dict()
79
+ elif isinstance(value, dict):
80
+ result[attr] = dict(map(
81
+ lambda item: (item[0], item[1].to_dict())
82
+ if hasattr(item[1], "to_dict") else item,
83
+ value.items()
84
+ ))
85
+ else:
86
+ if attr in self.sensitive_list:
87
+ result[attr] = "****"
88
+ else:
89
+ result[attr] = value
90
+
91
+ return result
92
+
93
+ def to_str(self):
94
+ """Returns the string representation of the model"""
95
+ import simplejson as json
96
+ if six.PY2:
97
+ import sys
98
+ reload(sys)
99
+ sys.setdefaultencoding("utf-8")
100
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
101
+
102
+ def __repr__(self):
103
+ """For `print`"""
104
+ return self.to_str()
105
+
106
+ def __eq__(self, other):
107
+ """Returns true if both objects are equal"""
108
+ if not isinstance(other, AutoExportPolicy):
109
+ return False
110
+
111
+ return self.__dict__ == other.__dict__
112
+
113
+ def __ne__(self, other):
114
+ """Returns true if both objects are not equal"""
115
+ return not self == other
@@ -31,7 +31,7 @@ class CreateBackendTargetRequestBody:
31
31
 
32
32
  The model defined in huaweicloud sdk
33
33
 
34
- :param file_system_path: 联动目录名称,SFS Turbo会在文件系统根目录下以该名称创建一个子目录,该目录用于绑定后端存储。子目录名称不能重复,长度不能超过255个字符,子目录名称不能是“.”或“..”。不支持多层目录,不能包含字符'/'。
34
+ :param file_system_path: 联动目录名称,SFS Turbo会在文件系统根目录下以该名称创建一个子目录,该目录用于绑定后端存储。 必须是文件系统根目录下不存在的目录名,长度不能超过63个字符,子目录名称不能是“.”或“..”。 不支持多层目录,不能包含字符'/'。
35
35
  :type file_system_path: str
36
36
  :param obs:
37
37
  :type obs: :class:`huaweicloudsdksfsturbo.v1.ObsDataRepository`
@@ -50,7 +50,7 @@ class CreateBackendTargetRequestBody:
50
50
  def file_system_path(self):
51
51
  """Gets the file_system_path of this CreateBackendTargetRequestBody.
52
52
 
53
- 联动目录名称,SFS Turbo会在文件系统根目录下以该名称创建一个子目录,该目录用于绑定后端存储。子目录名称不能重复,长度不能超过255个字符,子目录名称不能是“.”或“..”。不支持多层目录,不能包含字符'/'。
53
+ 联动目录名称,SFS Turbo会在文件系统根目录下以该名称创建一个子目录,该目录用于绑定后端存储。 必须是文件系统根目录下不存在的目录名,长度不能超过63个字符,子目录名称不能是“.”或“..”。 不支持多层目录,不能包含字符'/'。
54
54
 
55
55
  :return: The file_system_path of this CreateBackendTargetRequestBody.
56
56
  :rtype: str
@@ -61,7 +61,7 @@ class CreateBackendTargetRequestBody:
61
61
  def file_system_path(self, file_system_path):
62
62
  """Sets the file_system_path of this CreateBackendTargetRequestBody.
63
63
 
64
- 联动目录名称,SFS Turbo会在文件系统根目录下以该名称创建一个子目录,该目录用于绑定后端存储。子目录名称不能重复,长度不能超过255个字符,子目录名称不能是“.”或“..”。不支持多层目录,不能包含字符'/'。
64
+ 联动目录名称,SFS Turbo会在文件系统根目录下以该名称创建一个子目录,该目录用于绑定后端存储。 必须是文件系统根目录下不存在的目录名,长度不能超过63个字符,子目录名称不能是“.”或“..”。 不支持多层目录,不能包含字符'/'。
65
65
 
66
66
  :param file_system_path: The file_system_path of this CreateBackendTargetRequestBody.
67
67
  :type file_system_path: str
@@ -50,7 +50,7 @@ class CreateBackendTargetResponse(SdkResponse):
50
50
  :type failure_details: :class:`huaweicloudsdksfsturbo.v1.FailureDetailsMessage`
51
51
  :param file_system_path: 联动目录名称
52
52
  :type file_system_path: str
53
- :param lifecycle: 绑定状态。如果返回状态为CREATING,您需要通过获取后端存储详细信息接口去轮询绑定完成状态。 如果返回状态为AVAILABLE,代表绑定后端存储成功。如果返回状态MISCONFIGURED,代表绑定后端存储失败。DELETING 状态暂不支持。
53
+ :param lifecycle: 绑定状态。 如果返回状态为CREATING,您需要通过获取后端存储详细信息接口去轮询绑定完成状态。 如果返回状态为AVAILABLE,代表绑定后端存储成功。 如果返回状态MISCONFIGURED,代表绑定后端存储失败。DELETING 状态暂不支持。
54
54
  :type lifecycle: str
55
55
  :param obs:
56
56
  :type obs: :class:`huaweicloudsdksfsturbo.v1.ObsDataRepository`
@@ -172,7 +172,7 @@ class CreateBackendTargetResponse(SdkResponse):
172
172
  def lifecycle(self):
173
173
  """Gets the lifecycle of this CreateBackendTargetResponse.
174
174
 
175
- 绑定状态。如果返回状态为CREATING,您需要通过获取后端存储详细信息接口去轮询绑定完成状态。 如果返回状态为AVAILABLE,代表绑定后端存储成功。如果返回状态MISCONFIGURED,代表绑定后端存储失败。DELETING 状态暂不支持。
175
+ 绑定状态。 如果返回状态为CREATING,您需要通过获取后端存储详细信息接口去轮询绑定完成状态。 如果返回状态为AVAILABLE,代表绑定后端存储成功。 如果返回状态MISCONFIGURED,代表绑定后端存储失败。DELETING 状态暂不支持。
176
176
 
177
177
  :return: The lifecycle of this CreateBackendTargetResponse.
178
178
  :rtype: str
@@ -183,7 +183,7 @@ class CreateBackendTargetResponse(SdkResponse):
183
183
  def lifecycle(self, lifecycle):
184
184
  """Sets the lifecycle of this CreateBackendTargetResponse.
185
185
 
186
- 绑定状态。如果返回状态为CREATING,您需要通过获取后端存储详细信息接口去轮询绑定完成状态。 如果返回状态为AVAILABLE,代表绑定后端存储成功。如果返回状态MISCONFIGURED,代表绑定后端存储失败。DELETING 状态暂不支持。
186
+ 绑定状态。 如果返回状态为CREATING,您需要通过获取后端存储详细信息接口去轮询绑定完成状态。 如果返回状态为AVAILABLE,代表绑定后端存储成功。 如果返回状态MISCONFIGURED,代表绑定后端存储失败。DELETING 状态暂不支持。
187
187
 
188
188
  :param lifecycle: The lifecycle of this CreateBackendTargetResponse.
189
189
  :type lifecycle: str
@@ -35,9 +35,9 @@ class CreateFsDirQuotaRequestBody:
35
35
 
36
36
  :param path: 合法的已存在的目录的全路径
37
37
  :type path: str
38
- :param capacity: 目录的容量大小,单位:MB
38
+ :param capacity: 目录的容量大小,单位:MB; 设置为0会导致数据无法写入目录; capacity和quota至少二选一
39
39
  :type capacity: int
40
- :param inode: 目录的inode数量限制
40
+ :param inode: 目录的inode数量限制; 设置为0会导致数据无法写入目录; capacity和quota至少二选一
41
41
  :type inode: int
42
42
  """
43
43
 
@@ -80,7 +80,7 @@ class CreateFsDirQuotaRequestBody:
80
80
  def capacity(self):
81
81
  """Gets the capacity of this CreateFsDirQuotaRequestBody.
82
82
 
83
- 目录的容量大小,单位:MB
83
+ 目录的容量大小,单位:MB; 设置为0会导致数据无法写入目录; capacity和quota至少二选一
84
84
 
85
85
  :return: The capacity of this CreateFsDirQuotaRequestBody.
86
86
  :rtype: int
@@ -91,7 +91,7 @@ class CreateFsDirQuotaRequestBody:
91
91
  def capacity(self, capacity):
92
92
  """Sets the capacity of this CreateFsDirQuotaRequestBody.
93
93
 
94
- 目录的容量大小,单位:MB
94
+ 目录的容量大小,单位:MB; 设置为0会导致数据无法写入目录; capacity和quota至少二选一
95
95
 
96
96
  :param capacity: The capacity of this CreateFsDirQuotaRequestBody.
97
97
  :type capacity: int
@@ -102,7 +102,7 @@ class CreateFsDirQuotaRequestBody:
102
102
  def inode(self):
103
103
  """Gets the inode of this CreateFsDirQuotaRequestBody.
104
104
 
105
- 目录的inode数量限制
105
+ 目录的inode数量限制; 设置为0会导致数据无法写入目录; capacity和quota至少二选一
106
106
 
107
107
  :return: The inode of this CreateFsDirQuotaRequestBody.
108
108
  :rtype: int
@@ -113,7 +113,7 @@ class CreateFsDirQuotaRequestBody:
113
113
  def inode(self, inode):
114
114
  """Sets the inode of this CreateFsDirQuotaRequestBody.
115
115
 
116
- 目录的inode数量限制
116
+ 目录的inode数量限制; 设置为0会导致数据无法写入目录; capacity和quota至少二选一
117
117
 
118
118
  :param inode: The inode of this CreateFsDirQuotaRequestBody.
119
119
  :type inode: int
@@ -44,9 +44,9 @@ class CreateFsDirQuotaResponse(SdkResponse):
44
44
  :type capacity: int
45
45
  :param inode: 目录的inode数量限制
46
46
  :type inode: int
47
- :param used_capacity: 目录已使用的容量大小,单位:MB。仅SFSTurbo HPC型返回该字段
47
+ :param used_capacity: 目录已使用的容量大小,单位:MB。仅SFSTurbo 20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB返回该字段
48
48
  :type used_capacity: int
49
- :param used_inode: 目录的已使用的inode数量。仅SFSTurbo HPC型返回该字段
49
+ :param used_inode: 目录的已使用的inode数量。仅SFSTurbo 20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB返回该字段
50
50
  :type used_inode: int
51
51
  """
52
52
 
@@ -140,7 +140,7 @@ class CreateFsDirQuotaResponse(SdkResponse):
140
140
  def used_capacity(self):
141
141
  """Gets the used_capacity of this CreateFsDirQuotaResponse.
142
142
 
143
- 目录已使用的容量大小,单位:MB。仅SFSTurbo HPC型返回该字段
143
+ 目录已使用的容量大小,单位:MB。仅SFSTurbo 20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB返回该字段
144
144
 
145
145
  :return: The used_capacity of this CreateFsDirQuotaResponse.
146
146
  :rtype: int
@@ -151,7 +151,7 @@ class CreateFsDirQuotaResponse(SdkResponse):
151
151
  def used_capacity(self, used_capacity):
152
152
  """Sets the used_capacity of this CreateFsDirQuotaResponse.
153
153
 
154
- 目录已使用的容量大小,单位:MB。仅SFSTurbo HPC型返回该字段
154
+ 目录已使用的容量大小,单位:MB。仅SFSTurbo 20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB返回该字段
155
155
 
156
156
  :param used_capacity: The used_capacity of this CreateFsDirQuotaResponse.
157
157
  :type used_capacity: int
@@ -162,7 +162,7 @@ class CreateFsDirQuotaResponse(SdkResponse):
162
162
  def used_inode(self):
163
163
  """Gets the used_inode of this CreateFsDirQuotaResponse.
164
164
 
165
- 目录的已使用的inode数量。仅SFSTurbo HPC型返回该字段
165
+ 目录的已使用的inode数量。仅SFSTurbo 20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB返回该字段
166
166
 
167
167
  :return: The used_inode of this CreateFsDirQuotaResponse.
168
168
  :rtype: int
@@ -173,7 +173,7 @@ class CreateFsDirQuotaResponse(SdkResponse):
173
173
  def used_inode(self, used_inode):
174
174
  """Sets the used_inode of this CreateFsDirQuotaResponse.
175
175
 
176
- 目录的已使用的inode数量。仅SFSTurbo HPC型返回该字段
176
+ 目录的已使用的inode数量。仅SFSTurbo 20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB返回该字段
177
177
 
178
178
  :param used_inode: The used_inode of this CreateFsDirQuotaResponse.
179
179
  :type used_inode: int
@@ -37,7 +37,7 @@ class CreateFsDirRequestBody:
37
37
 
38
38
  :param path: 合法的的目录全路径
39
39
  :type path: str
40
- :param mode: 目录权限,默认值是755,取值范围是0到777。第一位表示目录所有者的权限,第二位表示目录所属用户组的权限,第三位表示其他用户的权限。目录所有者由uid指定,目录所属用户组由gid指定,不是目录所有者且不在目录所属用户组的用户为其他用户。例如:755中第一位7代表该目录所有者对该目录具有读、写、执行权限;第二位5代表该目录所属用户组对该目录具有读、执行权限;第三位5代表其他用户对该目录具有读、执行权限。
40
+ :param mode: 目录权限,默认值是755,取值范围是0到777。第一位表示目录所有者的权限,取值范围是0到7;第二位表示目录所属用户组的权限,取值范围是0到7;第三位表示其他用户的权限,取值范围是0到7。目录所有者由uid指定,目录所属用户组由gid指定,不是目录所有者且不在目录所属用户组的用户为其他用户。例如:755中第一位7代表该目录所有者对该目录具有读、写、执行权限;第二位5代表该目录所属用户组对该目录具有读、执行权限;第三位5代表其他用户对该目录具有读、执行权限。
41
41
  :type mode: int
42
42
  :param uid: 目录所有者的用户id,默认值是0,取值范围是0到4,294,967,294(即2^32-2)。
43
43
  :type uid: int
@@ -87,7 +87,7 @@ class CreateFsDirRequestBody:
87
87
  def mode(self):
88
88
  """Gets the mode of this CreateFsDirRequestBody.
89
89
 
90
- 目录权限,默认值是755,取值范围是0到777。第一位表示目录所有者的权限,第二位表示目录所属用户组的权限,第三位表示其他用户的权限。目录所有者由uid指定,目录所属用户组由gid指定,不是目录所有者且不在目录所属用户组的用户为其他用户。例如:755中第一位7代表该目录所有者对该目录具有读、写、执行权限;第二位5代表该目录所属用户组对该目录具有读、执行权限;第三位5代表其他用户对该目录具有读、执行权限。
90
+ 目录权限,默认值是755,取值范围是0到777。第一位表示目录所有者的权限,取值范围是0到7;第二位表示目录所属用户组的权限,取值范围是0到7;第三位表示其他用户的权限,取值范围是0到7。目录所有者由uid指定,目录所属用户组由gid指定,不是目录所有者且不在目录所属用户组的用户为其他用户。例如:755中第一位7代表该目录所有者对该目录具有读、写、执行权限;第二位5代表该目录所属用户组对该目录具有读、执行权限;第三位5代表其他用户对该目录具有读、执行权限。
91
91
 
92
92
  :return: The mode of this CreateFsDirRequestBody.
93
93
  :rtype: int
@@ -98,7 +98,7 @@ class CreateFsDirRequestBody:
98
98
  def mode(self, mode):
99
99
  """Sets the mode of this CreateFsDirRequestBody.
100
100
 
101
- 目录权限,默认值是755,取值范围是0到777。第一位表示目录所有者的权限,第二位表示目录所属用户组的权限,第三位表示其他用户的权限。目录所有者由uid指定,目录所属用户组由gid指定,不是目录所有者且不在目录所属用户组的用户为其他用户。例如:755中第一位7代表该目录所有者对该目录具有读、写、执行权限;第二位5代表该目录所属用户组对该目录具有读、执行权限;第三位5代表其他用户对该目录具有读、执行权限。
101
+ 目录权限,默认值是755,取值范围是0到777。第一位表示目录所有者的权限,取值范围是0到7;第二位表示目录所属用户组的权限,取值范围是0到7;第三位表示其他用户的权限,取值范围是0到7。目录所有者由uid指定,目录所属用户组由gid指定,不是目录所有者且不在目录所属用户组的用户为其他用户。例如:755中第一位7代表该目录所有者对该目录具有读、写、执行权限;第二位5代表该目录所属用户组对该目录具有读、执行权限;第三位5代表其他用户对该目录具有读、执行权限。
102
102
 
103
103
  :param mode: The mode of this CreateFsDirRequestBody.
104
104
  :type mode: int
@@ -35,7 +35,7 @@ class CreateFsTaskRequest:
35
35
 
36
36
  :param share_id: 文件系统id
37
37
  :type share_id: str
38
- :param feature: 任务类型。例,DU任务取值为dir-usage
38
+ :param feature: 任务类型。当前仅支持取值\"dir-usage\"。
39
39
  :type feature: str
40
40
  :param body: Body of the CreateFsTaskRequest
41
41
  :type body: :class:`huaweicloudsdksfsturbo.v1.FsDirReq`
@@ -79,7 +79,7 @@ class CreateFsTaskRequest:
79
79
  def feature(self):
80
80
  """Gets the feature of this CreateFsTaskRequest.
81
81
 
82
- 任务类型。例,DU任务取值为dir-usage
82
+ 任务类型。当前仅支持取值\"dir-usage\"。
83
83
 
84
84
  :return: The feature of this CreateFsTaskRequest.
85
85
  :rtype: str
@@ -90,7 +90,7 @@ class CreateFsTaskRequest:
90
90
  def feature(self, feature):
91
91
  """Sets the feature of this CreateFsTaskRequest.
92
92
 
93
- 任务类型。例,DU任务取值为dir-usage
93
+ 任务类型。当前仅支持取值\"dir-usage\"。
94
94
 
95
95
  :param feature: The feature of this CreateFsTaskRequest.
96
96
  :type feature: str
@@ -21,7 +21,8 @@ class CreateHpcCacheTaskReq:
21
21
  'src_target': 'str',
22
22
  'src_prefix': 'str',
23
23
  'dest_target': 'str',
24
- 'dest_prefix': 'str'
24
+ 'dest_prefix': 'str',
25
+ 'attributes': 'ObsTargetAttributes'
25
26
  }
26
27
 
27
28
  attribute_map = {
@@ -29,24 +30,27 @@ class CreateHpcCacheTaskReq:
29
30
  'src_target': 'src_target',
30
31
  'src_prefix': 'src_prefix',
31
32
  'dest_target': 'dest_target',
32
- 'dest_prefix': 'dest_prefix'
33
+ 'dest_prefix': 'dest_prefix',
34
+ 'attributes': 'attributes'
33
35
  }
34
36
 
35
- def __init__(self, type=None, src_target=None, src_prefix=None, dest_target=None, dest_prefix=None):
37
+ def __init__(self, type=None, src_target=None, src_prefix=None, dest_target=None, dest_prefix=None, attributes=None):
36
38
  """CreateHpcCacheTaskReq
37
39
 
38
40
  The model defined in huaweicloud sdk
39
41
 
40
- :param type: 任务类型,当前支持import(附加元数据导入),import_metadata(快速导入),preload(数据预热),export(导出)。 附加元数据导入方式会导入OBS对象的元数据(名称、大小、最后修改时间)以及来源于SFS Turbo HPC型导出时的附加元数据(如uid、gid、mode)。 快速导入方式仅会导入OBS对象的元数据(名称、大小、最后修改时间),不会导入其它附加元数据(如uid、gid、mode),SFS Turbo会生成默认的附加元数据(uid:0、gid:0、目录权限:755、文件权限:644)。 数据预热功能会同时导入元数据和数据内容,数据预热中的元数据导入采用快速导入方式,不会导入其它附加元数据(如uid、gid、mode)。 数据导出功能会将您在联动目录里创建的文件,以及对从OBS导入后又做过修改的文件导出存储到OBS桶里。
42
+ :param type: 任务类型,当前支持import(附加元数据导入),import_metadata(快速导入),preload(数据预热),export(导出)。 附加元数据导入方式会导入OBS对象的元数据(名称、大小、最后修改时间)以及来源于SFS Turbo 导出时的附加元数据(如uid、gid、mode)。 快速导入方式仅会导入OBS对象的元数据(名称、大小、最后修改时间),不会导入其它附加元数据(如uid、gid、mode),SFS Turbo会生成默认的附加元数据。 数据预热功能会同时导入元数据和数据内容,数据预热中的元数据导入采用快速导入方式,不会导入其它附加元数据(如uid、gid、mode)。 数据导出功能会将您在联动目录里创建的文件,以及对从OBS导入后又做过修改的文件导出存储到OBS桶里。
41
43
  :type type: str
42
44
  :param src_target: 联动目录名称
43
45
  :type src_target: str
44
- :param src_prefix: 导入导出任务的源端路径前缀,导入时不需要包含OBS桶名,导出时不需要包含联动目录名称。 对于数据预热导入,携带源端路径前缀时必须是以“/”结尾的目录或具体到某个对象。 如果不带该字段,导入时会导入绑定OBS桶内的所有对象,导出时会导出联动目录下的所有文件。
46
+ :param src_prefix: 导入导出任务的源端路径前缀,导入时不需要包含OBS桶名,导出时不需要包含联动目录名称。 对于数据预热导入,携带源端路径前缀时必须是以“/”结尾的目录或具体到某个对象。 如果不带该字段,导入时会导入绑定OBS桶内的所有对象,导出时会导出联动目录下的所有文件。
45
47
  :type src_prefix: str
46
48
  :param dest_target: 目前只支持和src_target保持一致
47
49
  :type dest_target: str
48
50
  :param dest_prefix: 目前只支持和src_prefix保持一致
49
51
  :type dest_prefix: str
52
+ :param attributes:
53
+ :type attributes: :class:`huaweicloudsdksfsturbo.v1.ObsTargetAttributes`
50
54
  """
51
55
 
52
56
 
@@ -56,6 +60,7 @@ class CreateHpcCacheTaskReq:
56
60
  self._src_prefix = None
57
61
  self._dest_target = None
58
62
  self._dest_prefix = None
63
+ self._attributes = None
59
64
  self.discriminator = None
60
65
 
61
66
  self.type = type
@@ -65,12 +70,14 @@ class CreateHpcCacheTaskReq:
65
70
  self.dest_target = dest_target
66
71
  if dest_prefix is not None:
67
72
  self.dest_prefix = dest_prefix
73
+ if attributes is not None:
74
+ self.attributes = attributes
68
75
 
69
76
  @property
70
77
  def type(self):
71
78
  """Gets the type of this CreateHpcCacheTaskReq.
72
79
 
73
- 任务类型,当前支持import(附加元数据导入),import_metadata(快速导入),preload(数据预热),export(导出)。 附加元数据导入方式会导入OBS对象的元数据(名称、大小、最后修改时间)以及来源于SFS Turbo HPC型导出时的附加元数据(如uid、gid、mode)。 快速导入方式仅会导入OBS对象的元数据(名称、大小、最后修改时间),不会导入其它附加元数据(如uid、gid、mode),SFS Turbo会生成默认的附加元数据(uid:0、gid:0、目录权限:755、文件权限:644)。 数据预热功能会同时导入元数据和数据内容,数据预热中的元数据导入采用快速导入方式,不会导入其它附加元数据(如uid、gid、mode)。 数据导出功能会将您在联动目录里创建的文件,以及对从OBS导入后又做过修改的文件导出存储到OBS桶里。
80
+ 任务类型,当前支持import(附加元数据导入),import_metadata(快速导入),preload(数据预热),export(导出)。 附加元数据导入方式会导入OBS对象的元数据(名称、大小、最后修改时间)以及来源于SFS Turbo 导出时的附加元数据(如uid、gid、mode)。 快速导入方式仅会导入OBS对象的元数据(名称、大小、最后修改时间),不会导入其它附加元数据(如uid、gid、mode),SFS Turbo会生成默认的附加元数据。 数据预热功能会同时导入元数据和数据内容,数据预热中的元数据导入采用快速导入方式,不会导入其它附加元数据(如uid、gid、mode)。 数据导出功能会将您在联动目录里创建的文件,以及对从OBS导入后又做过修改的文件导出存储到OBS桶里。
74
81
 
75
82
  :return: The type of this CreateHpcCacheTaskReq.
76
83
  :rtype: str
@@ -81,7 +88,7 @@ class CreateHpcCacheTaskReq:
81
88
  def type(self, type):
82
89
  """Sets the type of this CreateHpcCacheTaskReq.
83
90
 
84
- 任务类型,当前支持import(附加元数据导入),import_metadata(快速导入),preload(数据预热),export(导出)。 附加元数据导入方式会导入OBS对象的元数据(名称、大小、最后修改时间)以及来源于SFS Turbo HPC型导出时的附加元数据(如uid、gid、mode)。 快速导入方式仅会导入OBS对象的元数据(名称、大小、最后修改时间),不会导入其它附加元数据(如uid、gid、mode),SFS Turbo会生成默认的附加元数据(uid:0、gid:0、目录权限:755、文件权限:644)。 数据预热功能会同时导入元数据和数据内容,数据预热中的元数据导入采用快速导入方式,不会导入其它附加元数据(如uid、gid、mode)。 数据导出功能会将您在联动目录里创建的文件,以及对从OBS导入后又做过修改的文件导出存储到OBS桶里。
91
+ 任务类型,当前支持import(附加元数据导入),import_metadata(快速导入),preload(数据预热),export(导出)。 附加元数据导入方式会导入OBS对象的元数据(名称、大小、最后修改时间)以及来源于SFS Turbo 导出时的附加元数据(如uid、gid、mode)。 快速导入方式仅会导入OBS对象的元数据(名称、大小、最后修改时间),不会导入其它附加元数据(如uid、gid、mode),SFS Turbo会生成默认的附加元数据。 数据预热功能会同时导入元数据和数据内容,数据预热中的元数据导入采用快速导入方式,不会导入其它附加元数据(如uid、gid、mode)。 数据导出功能会将您在联动目录里创建的文件,以及对从OBS导入后又做过修改的文件导出存储到OBS桶里。
85
92
 
86
93
  :param type: The type of this CreateHpcCacheTaskReq.
87
94
  :type type: str
@@ -114,7 +121,7 @@ class CreateHpcCacheTaskReq:
114
121
  def src_prefix(self):
115
122
  """Gets the src_prefix of this CreateHpcCacheTaskReq.
116
123
 
117
- 导入导出任务的源端路径前缀,导入时不需要包含OBS桶名,导出时不需要包含联动目录名称。 对于数据预热导入,携带源端路径前缀时必须是以“/”结尾的目录或具体到某个对象。 如果不带该字段,导入时会导入绑定OBS桶内的所有对象,导出时会导出联动目录下的所有文件。
124
+ 导入导出任务的源端路径前缀,导入时不需要包含OBS桶名,导出时不需要包含联动目录名称。 对于数据预热导入,携带源端路径前缀时必须是以“/”结尾的目录或具体到某个对象。 如果不带该字段,导入时会导入绑定OBS桶内的所有对象,导出时会导出联动目录下的所有文件。
118
125
 
119
126
  :return: The src_prefix of this CreateHpcCacheTaskReq.
120
127
  :rtype: str
@@ -125,7 +132,7 @@ class CreateHpcCacheTaskReq:
125
132
  def src_prefix(self, src_prefix):
126
133
  """Sets the src_prefix of this CreateHpcCacheTaskReq.
127
134
 
128
- 导入导出任务的源端路径前缀,导入时不需要包含OBS桶名,导出时不需要包含联动目录名称。 对于数据预热导入,携带源端路径前缀时必须是以“/”结尾的目录或具体到某个对象。 如果不带该字段,导入时会导入绑定OBS桶内的所有对象,导出时会导出联动目录下的所有文件。
135
+ 导入导出任务的源端路径前缀,导入时不需要包含OBS桶名,导出时不需要包含联动目录名称。 对于数据预热导入,携带源端路径前缀时必须是以“/”结尾的目录或具体到某个对象。 如果不带该字段,导入时会导入绑定OBS桶内的所有对象,导出时会导出联动目录下的所有文件。
129
136
 
130
137
  :param src_prefix: The src_prefix of this CreateHpcCacheTaskReq.
131
138
  :type src_prefix: str
@@ -176,6 +183,24 @@ class CreateHpcCacheTaskReq:
176
183
  """
177
184
  self._dest_prefix = dest_prefix
178
185
 
186
+ @property
187
+ def attributes(self):
188
+ """Gets the attributes of this CreateHpcCacheTaskReq.
189
+
190
+ :return: The attributes of this CreateHpcCacheTaskReq.
191
+ :rtype: :class:`huaweicloudsdksfsturbo.v1.ObsTargetAttributes`
192
+ """
193
+ return self._attributes
194
+
195
+ @attributes.setter
196
+ def attributes(self, attributes):
197
+ """Sets the attributes of this CreateHpcCacheTaskReq.
198
+
199
+ :param attributes: The attributes of this CreateHpcCacheTaskReq.
200
+ :type attributes: :class:`huaweicloudsdksfsturbo.v1.ObsTargetAttributes`
201
+ """
202
+ self._attributes = attributes
203
+
179
204
  def to_dict(self):
180
205
  """Returns the model properties as a dict"""
181
206
  result = {}