huaweicloudsdksfsturbo 3.1.71__py2.py3-none-any.whl → 3.1.73__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- huaweicloudsdksfsturbo/v1/model/create_backend_target_request_body.py +3 -3
- huaweicloudsdksfsturbo/v1/model/create_backend_target_response.py +12 -12
- huaweicloudsdksfsturbo/v1/model/create_fs_dir_request_body.py +9 -9
- huaweicloudsdksfsturbo/v1/model/create_fs_task_response.py +3 -3
- huaweicloudsdksfsturbo/v1/model/create_hpc_cache_task_req.py +15 -15
- huaweicloudsdksfsturbo/v1/model/create_hpc_cache_task_response.py +3 -3
- huaweicloudsdksfsturbo/v1/model/delete_backend_target_request.py +6 -6
- huaweicloudsdksfsturbo/v1/model/delete_backend_target_response.py +9 -9
- huaweicloudsdksfsturbo/v1/model/delete_fs_task_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/fs_du_info.py +9 -9
- huaweicloudsdksfsturbo/v1/model/fs_file_count.py +14 -7
- huaweicloudsdksfsturbo/v1/model/list_backend_targets_response.py +6 -6
- huaweicloudsdksfsturbo/v1/model/list_hpc_cache_tasks_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/list_hpc_cache_tasks_response.py +3 -3
- huaweicloudsdksfsturbo/v1/model/obs_data_repository.py +6 -6
- huaweicloudsdksfsturbo/v1/model/one_fs_task_resp.py +4 -8
- huaweicloudsdksfsturbo/v1/model/one_hpc_cache_task_info_resp.py +15 -15
- huaweicloudsdksfsturbo/v1/model/share.py +35 -6
- huaweicloudsdksfsturbo/v1/model/share_info.py +61 -3
- huaweicloudsdksfsturbo/v1/model/show_backend_target_info_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/show_backend_target_info_response.py +12 -12
- huaweicloudsdksfsturbo/v1/model/show_backend_target_info_response_body.py +12 -12
- huaweicloudsdksfsturbo/v1/model/show_fs_dir_response.py +9 -9
- huaweicloudsdksfsturbo/v1/model/show_fs_dir_usage_response.py +1 -5
- huaweicloudsdksfsturbo/v1/model/show_fs_task_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/show_fs_task_response.py +4 -8
- huaweicloudsdksfsturbo/v1/model/show_hpc_cache_task_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/show_hpc_cache_task_response.py +15 -15
- huaweicloudsdksfsturbo/v1/model/show_share_response.py +61 -3
- huaweicloudsdksfsturbo/v1/model/update_hpc_share_request_body.py +3 -3
- huaweicloudsdksfsturbo/v1/model/update_hpc_share_response.py +3 -3
- huaweicloudsdksfsturbo/v1/sfsturbo_async_client.py +20 -20
- huaweicloudsdksfsturbo/v1/sfsturbo_client.py +20 -20
- {huaweicloudsdksfsturbo-3.1.71.dist-info → huaweicloudsdksfsturbo-3.1.73.dist-info}/METADATA +2 -2
- {huaweicloudsdksfsturbo-3.1.71.dist-info → huaweicloudsdksfsturbo-3.1.73.dist-info}/RECORD +38 -38
- {huaweicloudsdksfsturbo-3.1.71.dist-info → huaweicloudsdksfsturbo-3.1.73.dist-info}/LICENSE +0 -0
- {huaweicloudsdksfsturbo-3.1.71.dist-info → huaweicloudsdksfsturbo-3.1.73.dist-info}/WHEEL +0 -0
- {huaweicloudsdksfsturbo-3.1.71.dist-info → huaweicloudsdksfsturbo-3.1.73.dist-info}/top_level.txt +0 -0
@@ -36,7 +36,7 @@ class ListHpcCacheTasksResponse(SdkResponse):
|
|
36
36
|
|
37
37
|
:param tasks: 任务详情
|
38
38
|
:type tasks: list[:class:`huaweicloudsdksfsturbo.v1.OneHpcCacheTaskInfoResp`]
|
39
|
-
:param count:
|
39
|
+
:param count: 任务数量
|
40
40
|
:type count: int
|
41
41
|
:param x_request_id:
|
42
42
|
:type x_request_id: str
|
@@ -82,7 +82,7 @@ class ListHpcCacheTasksResponse(SdkResponse):
|
|
82
82
|
def count(self):
|
83
83
|
"""Gets the count of this ListHpcCacheTasksResponse.
|
84
84
|
|
85
|
-
|
85
|
+
任务数量
|
86
86
|
|
87
87
|
:return: The count of this ListHpcCacheTasksResponse.
|
88
88
|
:rtype: int
|
@@ -93,7 +93,7 @@ class ListHpcCacheTasksResponse(SdkResponse):
|
|
93
93
|
def count(self, count):
|
94
94
|
"""Sets the count of this ListHpcCacheTasksResponse.
|
95
95
|
|
96
|
-
|
96
|
+
任务数量
|
97
97
|
|
98
98
|
:param count: The count of this ListHpcCacheTasksResponse.
|
99
99
|
:type count: int
|
@@ -31,9 +31,9 @@ class ObsDataRepository:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param bucket:
|
34
|
+
:param bucket: OBS桶名称
|
35
35
|
:type bucket: str
|
36
|
-
:param endpoint:
|
36
|
+
:param endpoint: OBS桶所在的区域域名
|
37
37
|
:type endpoint: str
|
38
38
|
"""
|
39
39
|
|
@@ -50,7 +50,7 @@ class ObsDataRepository:
|
|
50
50
|
def bucket(self):
|
51
51
|
"""Gets the bucket of this ObsDataRepository.
|
52
52
|
|
53
|
-
|
53
|
+
OBS桶名称
|
54
54
|
|
55
55
|
:return: The bucket of this ObsDataRepository.
|
56
56
|
:rtype: str
|
@@ -61,7 +61,7 @@ class ObsDataRepository:
|
|
61
61
|
def bucket(self, bucket):
|
62
62
|
"""Sets the bucket of this ObsDataRepository.
|
63
63
|
|
64
|
-
|
64
|
+
OBS桶名称
|
65
65
|
|
66
66
|
:param bucket: The bucket of this ObsDataRepository.
|
67
67
|
:type bucket: str
|
@@ -72,7 +72,7 @@ class ObsDataRepository:
|
|
72
72
|
def endpoint(self):
|
73
73
|
"""Gets the endpoint of this ObsDataRepository.
|
74
74
|
|
75
|
-
|
75
|
+
OBS桶所在的区域域名
|
76
76
|
|
77
77
|
:return: The endpoint of this ObsDataRepository.
|
78
78
|
:rtype: str
|
@@ -83,7 +83,7 @@ class ObsDataRepository:
|
|
83
83
|
def endpoint(self, endpoint):
|
84
84
|
"""Sets the endpoint of this ObsDataRepository.
|
85
85
|
|
86
|
-
|
86
|
+
OBS桶所在的区域域名
|
87
87
|
|
88
88
|
:param endpoint: The endpoint of this ObsDataRepository.
|
89
89
|
:type endpoint: str
|
@@ -37,11 +37,11 @@ class OneFsTaskResp:
|
|
37
37
|
|
38
38
|
The model defined in huaweicloud sdk
|
39
39
|
|
40
|
-
:param task_id: 任务
|
40
|
+
:param task_id: 任务ID
|
41
41
|
:type task_id: str
|
42
42
|
:param status: 任务状态, SUCCESS表示成功,DOING表示正在执行,FAIL表示失败
|
43
43
|
:type status: str
|
44
|
-
:param dir_usage:
|
44
|
+
:param dir_usage:
|
45
45
|
:type dir_usage: :class:`huaweicloudsdksfsturbo.v1.FsDuInfo`
|
46
46
|
:param begin_time: 任务开始时间,UTC时间,例如:2006-01-02 15:04:05'
|
47
47
|
:type begin_time: str
|
@@ -69,7 +69,7 @@ class OneFsTaskResp:
|
|
69
69
|
def task_id(self):
|
70
70
|
"""Gets the task_id of this OneFsTaskResp.
|
71
71
|
|
72
|
-
任务
|
72
|
+
任务ID
|
73
73
|
|
74
74
|
:return: The task_id of this OneFsTaskResp.
|
75
75
|
:rtype: str
|
@@ -80,7 +80,7 @@ class OneFsTaskResp:
|
|
80
80
|
def task_id(self, task_id):
|
81
81
|
"""Sets the task_id of this OneFsTaskResp.
|
82
82
|
|
83
|
-
任务
|
83
|
+
任务ID
|
84
84
|
|
85
85
|
:param task_id: The task_id of this OneFsTaskResp.
|
86
86
|
:type task_id: str
|
@@ -113,8 +113,6 @@ class OneFsTaskResp:
|
|
113
113
|
def dir_usage(self):
|
114
114
|
"""Gets the dir_usage of this OneFsTaskResp.
|
115
115
|
|
116
|
-
目录资源使用情况(包含子目录)
|
117
|
-
|
118
116
|
:return: The dir_usage of this OneFsTaskResp.
|
119
117
|
:rtype: :class:`huaweicloudsdksfsturbo.v1.FsDuInfo`
|
120
118
|
"""
|
@@ -124,8 +122,6 @@ class OneFsTaskResp:
|
|
124
122
|
def dir_usage(self, dir_usage):
|
125
123
|
"""Sets the dir_usage of this OneFsTaskResp.
|
126
124
|
|
127
|
-
目录资源使用情况(包含子目录)
|
128
|
-
|
129
125
|
:param dir_usage: The dir_usage of this OneFsTaskResp.
|
130
126
|
:type dir_usage: :class:`huaweicloudsdksfsturbo.v1.FsDuInfo`
|
131
127
|
"""
|
@@ -47,19 +47,19 @@ class OneHpcCacheTaskInfoResp:
|
|
47
47
|
|
48
48
|
The model defined in huaweicloud sdk
|
49
49
|
|
50
|
-
:param task_id: 任务
|
50
|
+
:param task_id: 任务ID
|
51
51
|
:type task_id: str
|
52
52
|
:param type: 任务类型
|
53
53
|
:type type: str
|
54
54
|
:param status: 任务状态
|
55
55
|
:type status: str
|
56
|
-
:param src_target:
|
56
|
+
:param src_target: 联动目录名称
|
57
57
|
:type src_target: str
|
58
|
-
:param src_prefix:
|
58
|
+
:param src_prefix: 导入导出任务的源端路径前缀
|
59
59
|
:type src_prefix: str
|
60
|
-
:param dest_target:
|
60
|
+
:param dest_target: 和src_target保持一致
|
61
61
|
:type dest_target: str
|
62
|
-
:param dest_prefix:
|
62
|
+
:param dest_prefix: 和src_prefix保持一致
|
63
63
|
:type dest_prefix: str
|
64
64
|
:param start_time: 任务开始时间
|
65
65
|
:type start_time: str
|
@@ -98,7 +98,7 @@ class OneHpcCacheTaskInfoResp:
|
|
98
98
|
def task_id(self):
|
99
99
|
"""Gets the task_id of this OneHpcCacheTaskInfoResp.
|
100
100
|
|
101
|
-
任务
|
101
|
+
任务ID
|
102
102
|
|
103
103
|
:return: The task_id of this OneHpcCacheTaskInfoResp.
|
104
104
|
:rtype: str
|
@@ -109,7 +109,7 @@ class OneHpcCacheTaskInfoResp:
|
|
109
109
|
def task_id(self, task_id):
|
110
110
|
"""Sets the task_id of this OneHpcCacheTaskInfoResp.
|
111
111
|
|
112
|
-
任务
|
112
|
+
任务ID
|
113
113
|
|
114
114
|
:param task_id: The task_id of this OneHpcCacheTaskInfoResp.
|
115
115
|
:type task_id: str
|
@@ -164,7 +164,7 @@ class OneHpcCacheTaskInfoResp:
|
|
164
164
|
def src_target(self):
|
165
165
|
"""Gets the src_target of this OneHpcCacheTaskInfoResp.
|
166
166
|
|
167
|
-
|
167
|
+
联动目录名称
|
168
168
|
|
169
169
|
:return: The src_target of this OneHpcCacheTaskInfoResp.
|
170
170
|
:rtype: str
|
@@ -175,7 +175,7 @@ class OneHpcCacheTaskInfoResp:
|
|
175
175
|
def src_target(self, src_target):
|
176
176
|
"""Sets the src_target of this OneHpcCacheTaskInfoResp.
|
177
177
|
|
178
|
-
|
178
|
+
联动目录名称
|
179
179
|
|
180
180
|
:param src_target: The src_target of this OneHpcCacheTaskInfoResp.
|
181
181
|
:type src_target: str
|
@@ -186,7 +186,7 @@ class OneHpcCacheTaskInfoResp:
|
|
186
186
|
def src_prefix(self):
|
187
187
|
"""Gets the src_prefix of this OneHpcCacheTaskInfoResp.
|
188
188
|
|
189
|
-
|
189
|
+
导入导出任务的源端路径前缀
|
190
190
|
|
191
191
|
:return: The src_prefix of this OneHpcCacheTaskInfoResp.
|
192
192
|
:rtype: str
|
@@ -197,7 +197,7 @@ class OneHpcCacheTaskInfoResp:
|
|
197
197
|
def src_prefix(self, src_prefix):
|
198
198
|
"""Sets the src_prefix of this OneHpcCacheTaskInfoResp.
|
199
199
|
|
200
|
-
|
200
|
+
导入导出任务的源端路径前缀
|
201
201
|
|
202
202
|
:param src_prefix: The src_prefix of this OneHpcCacheTaskInfoResp.
|
203
203
|
:type src_prefix: str
|
@@ -208,7 +208,7 @@ class OneHpcCacheTaskInfoResp:
|
|
208
208
|
def dest_target(self):
|
209
209
|
"""Gets the dest_target of this OneHpcCacheTaskInfoResp.
|
210
210
|
|
211
|
-
|
211
|
+
和src_target保持一致
|
212
212
|
|
213
213
|
:return: The dest_target of this OneHpcCacheTaskInfoResp.
|
214
214
|
:rtype: str
|
@@ -219,7 +219,7 @@ class OneHpcCacheTaskInfoResp:
|
|
219
219
|
def dest_target(self, dest_target):
|
220
220
|
"""Sets the dest_target of this OneHpcCacheTaskInfoResp.
|
221
221
|
|
222
|
-
|
222
|
+
和src_target保持一致
|
223
223
|
|
224
224
|
:param dest_target: The dest_target of this OneHpcCacheTaskInfoResp.
|
225
225
|
:type dest_target: str
|
@@ -230,7 +230,7 @@ class OneHpcCacheTaskInfoResp:
|
|
230
230
|
def dest_prefix(self):
|
231
231
|
"""Gets the dest_prefix of this OneHpcCacheTaskInfoResp.
|
232
232
|
|
233
|
-
|
233
|
+
和src_prefix保持一致
|
234
234
|
|
235
235
|
:return: The dest_prefix of this OneHpcCacheTaskInfoResp.
|
236
236
|
:rtype: str
|
@@ -241,7 +241,7 @@ class OneHpcCacheTaskInfoResp:
|
|
241
241
|
def dest_prefix(self, dest_prefix):
|
242
242
|
"""Sets the dest_prefix of this OneHpcCacheTaskInfoResp.
|
243
243
|
|
244
|
-
|
244
|
+
和src_prefix保持一致
|
245
245
|
|
246
246
|
:param dest_prefix: The dest_prefix of this OneHpcCacheTaskInfoResp.
|
247
247
|
:type dest_prefix: str
|
@@ -28,7 +28,8 @@ class Share:
|
|
28
28
|
'size': 'int',
|
29
29
|
'subnet_id': 'str',
|
30
30
|
'vpc_id': 'str',
|
31
|
-
'backup_id': 'str'
|
31
|
+
'backup_id': 'str',
|
32
|
+
'tags': 'list[ResourceTag]'
|
32
33
|
}
|
33
34
|
|
34
35
|
attribute_map = {
|
@@ -43,10 +44,11 @@ class Share:
|
|
43
44
|
'size': 'size',
|
44
45
|
'subnet_id': 'subnet_id',
|
45
46
|
'vpc_id': 'vpc_id',
|
46
|
-
'backup_id': 'backup_id'
|
47
|
+
'backup_id': 'backup_id',
|
48
|
+
'tags': 'tags'
|
47
49
|
}
|
48
50
|
|
49
|
-
def __init__(self, availability_zone=None, description=None, enterprise_project_id=None, metadata=None, name=None, security_group_id=None, share_proto=None, share_type=None, size=None, subnet_id=None, vpc_id=None, backup_id=None):
|
51
|
+
def __init__(self, availability_zone=None, description=None, enterprise_project_id=None, metadata=None, name=None, security_group_id=None, share_proto=None, share_type=None, size=None, subnet_id=None, vpc_id=None, backup_id=None, tags=None):
|
50
52
|
"""Share
|
51
53
|
|
52
54
|
The model defined in huaweicloud sdk
|
@@ -67,7 +69,7 @@ class Share:
|
|
67
69
|
:type share_proto: str
|
68
70
|
:param share_type: 文件系统类型,有效值为STANDARD或者PERFORMANCE。 通用型:标准型和标准型增强版填写STANDARD,性能型和性能型增强版填写PERFORMANCE。 HPC型:不校验该字段,可填写STANDARD或者PERFORMANCE。 HPC缓存型:不校验该字段,可填写STANDARD或者PERFORMANCE。
|
69
71
|
:type share_type: str
|
70
|
-
:param size: 通用型-普通文件系统容量,取值范围500~32768,单位GB。 通用型-增强版文件系统,即在“metadata”字段中设置了expand_type=\"bandwidth\",则容量范围是10240~327680,单位GiB。 HPC型文件系统,即在“metadata”字段中设置了expand_type=\"hpc\",则容量范围是3686~1048576,单位GiB。HPC型文件系统的容量必须为1.2TiB的倍数,换算为GiB后需要向下取整。如3.6TiB->3686GiB, 4.8TiB->4915GiB,8.4TiB->8601GiB。 HPC缓存型文件系统,即在“metadata”字段中设置了expand_type=\"hpc_cache\",则容量范围是4096~1048576,单位GiB。不同带宽,起步容量不一样,步长均为1TiB。如2GB/s带宽,起步容量为4TiB,即4096GiB;4GB/s带宽,起步容量为8TiB,即8192GiB;8GB/s带宽,起步容量为16TiB,即16384GiB。
|
72
|
+
:param size: 通用型-普通文件系统容量,取值范围500~32768,单位GB。 通用型-增强版文件系统,即在“metadata”字段中设置了expand_type=\"bandwidth\",则容量范围是10240~327680,单位GiB。 HPC型文件系统,即在“metadata”字段中设置了expand_type=\"hpc\",则容量范围是3686(或1228)~1048576,单位GiB。对于20MB/s/TiB的规格,起步容量为3686GiB;对于HPC其他规格,起步容量为1228GiB。HPC型文件系统的容量必须为1.2TiB的倍数,换算为GiB后需要向下取整。如3.6TiB->3686GiB, 4.8TiB->4915GiB,8.4TiB->8601GiB。 HPC缓存型文件系统,即在“metadata”字段中设置了expand_type=\"hpc_cache\",则容量范围是4096~1048576,单位GiB。不同带宽,起步容量不一样,步长均为1TiB。如2GB/s带宽,起步容量为4TiB,即4096GiB;4GB/s带宽,起步容量为8TiB,即8192GiB;8GB/s带宽,起步容量为16TiB,即16384GiB。
|
71
73
|
:type size: int
|
72
74
|
:param subnet_id: 用户在VPC下面的子网的网络ID。
|
73
75
|
:type subnet_id: str
|
@@ -75,6 +77,8 @@ class Share:
|
|
75
77
|
:type vpc_id: str
|
76
78
|
:param backup_id: 备份ID,从备份创建文件系统时为必选。
|
77
79
|
:type backup_id: str
|
80
|
+
:param tags: tag标签的列表。
|
81
|
+
:type tags: list[:class:`huaweicloudsdksfsturbo.v1.ResourceTag`]
|
78
82
|
"""
|
79
83
|
|
80
84
|
|
@@ -91,6 +95,7 @@ class Share:
|
|
91
95
|
self._subnet_id = None
|
92
96
|
self._vpc_id = None
|
93
97
|
self._backup_id = None
|
98
|
+
self._tags = None
|
94
99
|
self.discriminator = None
|
95
100
|
|
96
101
|
self.availability_zone = availability_zone
|
@@ -109,6 +114,8 @@ class Share:
|
|
109
114
|
self.vpc_id = vpc_id
|
110
115
|
if backup_id is not None:
|
111
116
|
self.backup_id = backup_id
|
117
|
+
if tags is not None:
|
118
|
+
self.tags = tags
|
112
119
|
|
113
120
|
@property
|
114
121
|
def availability_zone(self):
|
@@ -286,7 +293,7 @@ class Share:
|
|
286
293
|
def size(self):
|
287
294
|
"""Gets the size of this Share.
|
288
295
|
|
289
|
-
通用型-普通文件系统容量,取值范围500~32768,单位GB。 通用型-增强版文件系统,即在“metadata”字段中设置了expand_type=\"bandwidth\",则容量范围是10240~327680,单位GiB。 HPC型文件系统,即在“metadata”字段中设置了expand_type=\"hpc\",则容量范围是3686~1048576,单位GiB。HPC型文件系统的容量必须为1.2TiB的倍数,换算为GiB后需要向下取整。如3.6TiB->3686GiB, 4.8TiB->4915GiB,8.4TiB->8601GiB。 HPC缓存型文件系统,即在“metadata”字段中设置了expand_type=\"hpc_cache\",则容量范围是4096~1048576,单位GiB。不同带宽,起步容量不一样,步长均为1TiB。如2GB/s带宽,起步容量为4TiB,即4096GiB;4GB/s带宽,起步容量为8TiB,即8192GiB;8GB/s带宽,起步容量为16TiB,即16384GiB。
|
296
|
+
通用型-普通文件系统容量,取值范围500~32768,单位GB。 通用型-增强版文件系统,即在“metadata”字段中设置了expand_type=\"bandwidth\",则容量范围是10240~327680,单位GiB。 HPC型文件系统,即在“metadata”字段中设置了expand_type=\"hpc\",则容量范围是3686(或1228)~1048576,单位GiB。对于20MB/s/TiB的规格,起步容量为3686GiB;对于HPC其他规格,起步容量为1228GiB。HPC型文件系统的容量必须为1.2TiB的倍数,换算为GiB后需要向下取整。如3.6TiB->3686GiB, 4.8TiB->4915GiB,8.4TiB->8601GiB。 HPC缓存型文件系统,即在“metadata”字段中设置了expand_type=\"hpc_cache\",则容量范围是4096~1048576,单位GiB。不同带宽,起步容量不一样,步长均为1TiB。如2GB/s带宽,起步容量为4TiB,即4096GiB;4GB/s带宽,起步容量为8TiB,即8192GiB;8GB/s带宽,起步容量为16TiB,即16384GiB。
|
290
297
|
|
291
298
|
:return: The size of this Share.
|
292
299
|
:rtype: int
|
@@ -297,7 +304,7 @@ class Share:
|
|
297
304
|
def size(self, size):
|
298
305
|
"""Sets the size of this Share.
|
299
306
|
|
300
|
-
通用型-普通文件系统容量,取值范围500~32768,单位GB。 通用型-增强版文件系统,即在“metadata”字段中设置了expand_type=\"bandwidth\",则容量范围是10240~327680,单位GiB。 HPC型文件系统,即在“metadata”字段中设置了expand_type=\"hpc\",则容量范围是3686~1048576,单位GiB。HPC型文件系统的容量必须为1.2TiB的倍数,换算为GiB后需要向下取整。如3.6TiB->3686GiB, 4.8TiB->4915GiB,8.4TiB->8601GiB。 HPC缓存型文件系统,即在“metadata”字段中设置了expand_type=\"hpc_cache\",则容量范围是4096~1048576,单位GiB。不同带宽,起步容量不一样,步长均为1TiB。如2GB/s带宽,起步容量为4TiB,即4096GiB;4GB/s带宽,起步容量为8TiB,即8192GiB;8GB/s带宽,起步容量为16TiB,即16384GiB。
|
307
|
+
通用型-普通文件系统容量,取值范围500~32768,单位GB。 通用型-增强版文件系统,即在“metadata”字段中设置了expand_type=\"bandwidth\",则容量范围是10240~327680,单位GiB。 HPC型文件系统,即在“metadata”字段中设置了expand_type=\"hpc\",则容量范围是3686(或1228)~1048576,单位GiB。对于20MB/s/TiB的规格,起步容量为3686GiB;对于HPC其他规格,起步容量为1228GiB。HPC型文件系统的容量必须为1.2TiB的倍数,换算为GiB后需要向下取整。如3.6TiB->3686GiB, 4.8TiB->4915GiB,8.4TiB->8601GiB。 HPC缓存型文件系统,即在“metadata”字段中设置了expand_type=\"hpc_cache\",则容量范围是4096~1048576,单位GiB。不同带宽,起步容量不一样,步长均为1TiB。如2GB/s带宽,起步容量为4TiB,即4096GiB;4GB/s带宽,起步容量为8TiB,即8192GiB;8GB/s带宽,起步容量为16TiB,即16384GiB。
|
301
308
|
|
302
309
|
:param size: The size of this Share.
|
303
310
|
:type size: int
|
@@ -370,6 +377,28 @@ class Share:
|
|
370
377
|
"""
|
371
378
|
self._backup_id = backup_id
|
372
379
|
|
380
|
+
@property
|
381
|
+
def tags(self):
|
382
|
+
"""Gets the tags of this Share.
|
383
|
+
|
384
|
+
tag标签的列表。
|
385
|
+
|
386
|
+
:return: The tags of this Share.
|
387
|
+
:rtype: list[:class:`huaweicloudsdksfsturbo.v1.ResourceTag`]
|
388
|
+
"""
|
389
|
+
return self._tags
|
390
|
+
|
391
|
+
@tags.setter
|
392
|
+
def tags(self, tags):
|
393
|
+
"""Sets the tags of this Share.
|
394
|
+
|
395
|
+
tag标签的列表。
|
396
|
+
|
397
|
+
:param tags: The tags of this Share.
|
398
|
+
:type tags: list[:class:`huaweicloudsdksfsturbo.v1.ResourceTag`]
|
399
|
+
"""
|
400
|
+
self._tags = tags
|
401
|
+
|
373
402
|
def to_dict(self):
|
374
403
|
"""Returns the model properties as a dict"""
|
375
404
|
result = {}
|
@@ -37,7 +37,9 @@ class ShareInfo:
|
|
37
37
|
'status': 'str',
|
38
38
|
'sub_status': 'str',
|
39
39
|
'subnet_id': 'str',
|
40
|
-
'vpc_id': 'str'
|
40
|
+
'vpc_id': 'str',
|
41
|
+
'enterprise_project_id': 'str',
|
42
|
+
'tags': 'list[ResourceTag]'
|
41
43
|
}
|
42
44
|
|
43
45
|
attribute_map = {
|
@@ -61,10 +63,12 @@ class ShareInfo:
|
|
61
63
|
'status': 'status',
|
62
64
|
'sub_status': 'sub_status',
|
63
65
|
'subnet_id': 'subnet_id',
|
64
|
-
'vpc_id': 'vpc_id'
|
66
|
+
'vpc_id': 'vpc_id',
|
67
|
+
'enterprise_project_id': 'enterprise_project_id',
|
68
|
+
'tags': 'tags'
|
65
69
|
}
|
66
70
|
|
67
|
-
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):
|
71
|
+
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):
|
68
72
|
"""ShareInfo
|
69
73
|
|
70
74
|
The model defined in huaweicloud sdk
|
@@ -111,6 +115,10 @@ class ShareInfo:
|
|
111
115
|
:type subnet_id: str
|
112
116
|
:param vpc_id: 用户指定的VPC ID。
|
113
117
|
:type vpc_id: str
|
118
|
+
:param enterprise_project_id: SFS Turbo文件系统绑定的企业项目ID。
|
119
|
+
:type enterprise_project_id: str
|
120
|
+
:param tags: tag标签的列表。
|
121
|
+
:type tags: list[:class:`huaweicloudsdksfsturbo.v1.ResourceTag`]
|
114
122
|
"""
|
115
123
|
|
116
124
|
|
@@ -136,6 +144,8 @@ class ShareInfo:
|
|
136
144
|
self._sub_status = None
|
137
145
|
self._subnet_id = None
|
138
146
|
self._vpc_id = None
|
147
|
+
self._enterprise_project_id = None
|
148
|
+
self._tags = None
|
139
149
|
self.discriminator = None
|
140
150
|
|
141
151
|
if action_progress is not None:
|
@@ -180,6 +190,10 @@ class ShareInfo:
|
|
180
190
|
self.subnet_id = subnet_id
|
181
191
|
if vpc_id is not None:
|
182
192
|
self.vpc_id = vpc_id
|
193
|
+
if enterprise_project_id is not None:
|
194
|
+
self.enterprise_project_id = enterprise_project_id
|
195
|
+
if tags is not None:
|
196
|
+
self.tags = tags
|
183
197
|
|
184
198
|
@property
|
185
199
|
def action_progress(self):
|
@@ -639,6 +653,50 @@ class ShareInfo:
|
|
639
653
|
"""
|
640
654
|
self._vpc_id = vpc_id
|
641
655
|
|
656
|
+
@property
|
657
|
+
def enterprise_project_id(self):
|
658
|
+
"""Gets the enterprise_project_id of this ShareInfo.
|
659
|
+
|
660
|
+
SFS Turbo文件系统绑定的企业项目ID。
|
661
|
+
|
662
|
+
:return: The enterprise_project_id of this ShareInfo.
|
663
|
+
:rtype: str
|
664
|
+
"""
|
665
|
+
return self._enterprise_project_id
|
666
|
+
|
667
|
+
@enterprise_project_id.setter
|
668
|
+
def enterprise_project_id(self, enterprise_project_id):
|
669
|
+
"""Sets the enterprise_project_id of this ShareInfo.
|
670
|
+
|
671
|
+
SFS Turbo文件系统绑定的企业项目ID。
|
672
|
+
|
673
|
+
:param enterprise_project_id: The enterprise_project_id of this ShareInfo.
|
674
|
+
:type enterprise_project_id: str
|
675
|
+
"""
|
676
|
+
self._enterprise_project_id = enterprise_project_id
|
677
|
+
|
678
|
+
@property
|
679
|
+
def tags(self):
|
680
|
+
"""Gets the tags of this ShareInfo.
|
681
|
+
|
682
|
+
tag标签的列表。
|
683
|
+
|
684
|
+
:return: The tags of this ShareInfo.
|
685
|
+
:rtype: list[:class:`huaweicloudsdksfsturbo.v1.ResourceTag`]
|
686
|
+
"""
|
687
|
+
return self._tags
|
688
|
+
|
689
|
+
@tags.setter
|
690
|
+
def tags(self, tags):
|
691
|
+
"""Sets the tags of this ShareInfo.
|
692
|
+
|
693
|
+
tag标签的列表。
|
694
|
+
|
695
|
+
:param tags: The tags of this ShareInfo.
|
696
|
+
:type tags: list[:class:`huaweicloudsdksfsturbo.v1.ResourceTag`]
|
697
|
+
"""
|
698
|
+
self._tags = tags
|
699
|
+
|
642
700
|
def to_dict(self):
|
643
701
|
"""Returns the model properties as a dict"""
|
644
702
|
result = {}
|
@@ -33,7 +33,7 @@ class ShowBackendTargetInfoRequest:
|
|
33
33
|
|
34
34
|
:param share_id: 文件系统id
|
35
35
|
:type share_id: str
|
36
|
-
:param target_id:
|
36
|
+
:param target_id: 绑定关系id
|
37
37
|
:type target_id: str
|
38
38
|
"""
|
39
39
|
|
@@ -72,7 +72,7 @@ class ShowBackendTargetInfoRequest:
|
|
72
72
|
def target_id(self):
|
73
73
|
"""Gets the target_id of this ShowBackendTargetInfoRequest.
|
74
74
|
|
75
|
-
|
75
|
+
绑定关系id
|
76
76
|
|
77
77
|
:return: The target_id of this ShowBackendTargetInfoRequest.
|
78
78
|
:rtype: str
|
@@ -83,7 +83,7 @@ class ShowBackendTargetInfoRequest:
|
|
83
83
|
def target_id(self, target_id):
|
84
84
|
"""Sets the target_id of this ShowBackendTargetInfoRequest.
|
85
85
|
|
86
|
-
|
86
|
+
绑定关系id
|
87
87
|
|
88
88
|
:param target_id: The target_id of this ShowBackendTargetInfoRequest.
|
89
89
|
:type target_id: str
|
@@ -42,15 +42,15 @@ class ShowBackendTargetInfoResponse(SdkResponse):
|
|
42
42
|
|
43
43
|
The model defined in huaweicloud sdk
|
44
44
|
|
45
|
-
:param target_id:
|
45
|
+
:param target_id: 绑定关系id
|
46
46
|
:type target_id: str
|
47
|
-
:param creation_time:
|
47
|
+
:param creation_time: 绑定关系创建时间
|
48
48
|
:type creation_time: str
|
49
|
-
:param file_system_path:
|
49
|
+
:param file_system_path: 联动目录名称
|
50
50
|
:type file_system_path: str
|
51
51
|
:param failure_details:
|
52
52
|
:type failure_details: :class:`huaweicloudsdksfsturbo.v1.FailureDetailsMessage`
|
53
|
-
:param lifecycle:
|
53
|
+
:param lifecycle: 绑定状态
|
54
54
|
:type lifecycle: str
|
55
55
|
:param obs:
|
56
56
|
:type obs: :class:`huaweicloudsdksfsturbo.v1.ObsDataRepository`
|
@@ -88,7 +88,7 @@ class ShowBackendTargetInfoResponse(SdkResponse):
|
|
88
88
|
def target_id(self):
|
89
89
|
"""Gets the target_id of this ShowBackendTargetInfoResponse.
|
90
90
|
|
91
|
-
|
91
|
+
绑定关系id
|
92
92
|
|
93
93
|
:return: The target_id of this ShowBackendTargetInfoResponse.
|
94
94
|
:rtype: str
|
@@ -99,7 +99,7 @@ class ShowBackendTargetInfoResponse(SdkResponse):
|
|
99
99
|
def target_id(self, target_id):
|
100
100
|
"""Sets the target_id of this ShowBackendTargetInfoResponse.
|
101
101
|
|
102
|
-
|
102
|
+
绑定关系id
|
103
103
|
|
104
104
|
:param target_id: The target_id of this ShowBackendTargetInfoResponse.
|
105
105
|
:type target_id: str
|
@@ -110,7 +110,7 @@ class ShowBackendTargetInfoResponse(SdkResponse):
|
|
110
110
|
def creation_time(self):
|
111
111
|
"""Gets the creation_time of this ShowBackendTargetInfoResponse.
|
112
112
|
|
113
|
-
|
113
|
+
绑定关系创建时间
|
114
114
|
|
115
115
|
:return: The creation_time of this ShowBackendTargetInfoResponse.
|
116
116
|
:rtype: str
|
@@ -121,7 +121,7 @@ class ShowBackendTargetInfoResponse(SdkResponse):
|
|
121
121
|
def creation_time(self, creation_time):
|
122
122
|
"""Sets the creation_time of this ShowBackendTargetInfoResponse.
|
123
123
|
|
124
|
-
|
124
|
+
绑定关系创建时间
|
125
125
|
|
126
126
|
:param creation_time: The creation_time of this ShowBackendTargetInfoResponse.
|
127
127
|
:type creation_time: str
|
@@ -132,7 +132,7 @@ class ShowBackendTargetInfoResponse(SdkResponse):
|
|
132
132
|
def file_system_path(self):
|
133
133
|
"""Gets the file_system_path of this ShowBackendTargetInfoResponse.
|
134
134
|
|
135
|
-
|
135
|
+
联动目录名称
|
136
136
|
|
137
137
|
:return: The file_system_path of this ShowBackendTargetInfoResponse.
|
138
138
|
:rtype: str
|
@@ -143,7 +143,7 @@ class ShowBackendTargetInfoResponse(SdkResponse):
|
|
143
143
|
def file_system_path(self, file_system_path):
|
144
144
|
"""Sets the file_system_path of this ShowBackendTargetInfoResponse.
|
145
145
|
|
146
|
-
|
146
|
+
联动目录名称
|
147
147
|
|
148
148
|
:param file_system_path: The file_system_path of this ShowBackendTargetInfoResponse.
|
149
149
|
:type file_system_path: str
|
@@ -172,7 +172,7 @@ class ShowBackendTargetInfoResponse(SdkResponse):
|
|
172
172
|
def lifecycle(self):
|
173
173
|
"""Gets the lifecycle of this ShowBackendTargetInfoResponse.
|
174
174
|
|
175
|
-
|
175
|
+
绑定状态
|
176
176
|
|
177
177
|
:return: The lifecycle of this ShowBackendTargetInfoResponse.
|
178
178
|
:rtype: str
|
@@ -183,7 +183,7 @@ class ShowBackendTargetInfoResponse(SdkResponse):
|
|
183
183
|
def lifecycle(self, lifecycle):
|
184
184
|
"""Sets the lifecycle of this ShowBackendTargetInfoResponse.
|
185
185
|
|
186
|
-
|
186
|
+
绑定状态
|
187
187
|
|
188
188
|
:param lifecycle: The lifecycle of this ShowBackendTargetInfoResponse.
|
189
189
|
:type lifecycle: str
|
@@ -39,15 +39,15 @@ class ShowBackendTargetInfoResponseBody:
|
|
39
39
|
|
40
40
|
The model defined in huaweicloud sdk
|
41
41
|
|
42
|
-
:param target_id:
|
42
|
+
:param target_id: 绑定关系id
|
43
43
|
:type target_id: str
|
44
|
-
:param creation_time:
|
44
|
+
:param creation_time: 绑定关系创建时间
|
45
45
|
:type creation_time: str
|
46
|
-
:param file_system_path:
|
46
|
+
:param file_system_path: 联动目录名称
|
47
47
|
:type file_system_path: str
|
48
48
|
:param failure_details:
|
49
49
|
:type failure_details: :class:`huaweicloudsdksfsturbo.v1.FailureDetailsMessage`
|
50
|
-
:param lifecycle:
|
50
|
+
:param lifecycle: 绑定状态
|
51
51
|
:type lifecycle: str
|
52
52
|
:param obs:
|
53
53
|
:type obs: :class:`huaweicloudsdksfsturbo.v1.ObsDataRepository`
|
@@ -80,7 +80,7 @@ class ShowBackendTargetInfoResponseBody:
|
|
80
80
|
def target_id(self):
|
81
81
|
"""Gets the target_id of this ShowBackendTargetInfoResponseBody.
|
82
82
|
|
83
|
-
|
83
|
+
绑定关系id
|
84
84
|
|
85
85
|
:return: The target_id of this ShowBackendTargetInfoResponseBody.
|
86
86
|
:rtype: str
|
@@ -91,7 +91,7 @@ class ShowBackendTargetInfoResponseBody:
|
|
91
91
|
def target_id(self, target_id):
|
92
92
|
"""Sets the target_id of this ShowBackendTargetInfoResponseBody.
|
93
93
|
|
94
|
-
|
94
|
+
绑定关系id
|
95
95
|
|
96
96
|
:param target_id: The target_id of this ShowBackendTargetInfoResponseBody.
|
97
97
|
:type target_id: str
|
@@ -102,7 +102,7 @@ class ShowBackendTargetInfoResponseBody:
|
|
102
102
|
def creation_time(self):
|
103
103
|
"""Gets the creation_time of this ShowBackendTargetInfoResponseBody.
|
104
104
|
|
105
|
-
|
105
|
+
绑定关系创建时间
|
106
106
|
|
107
107
|
:return: The creation_time of this ShowBackendTargetInfoResponseBody.
|
108
108
|
:rtype: str
|
@@ -113,7 +113,7 @@ class ShowBackendTargetInfoResponseBody:
|
|
113
113
|
def creation_time(self, creation_time):
|
114
114
|
"""Sets the creation_time of this ShowBackendTargetInfoResponseBody.
|
115
115
|
|
116
|
-
|
116
|
+
绑定关系创建时间
|
117
117
|
|
118
118
|
:param creation_time: The creation_time of this ShowBackendTargetInfoResponseBody.
|
119
119
|
:type creation_time: str
|
@@ -124,7 +124,7 @@ class ShowBackendTargetInfoResponseBody:
|
|
124
124
|
def file_system_path(self):
|
125
125
|
"""Gets the file_system_path of this ShowBackendTargetInfoResponseBody.
|
126
126
|
|
127
|
-
|
127
|
+
联动目录名称
|
128
128
|
|
129
129
|
:return: The file_system_path of this ShowBackendTargetInfoResponseBody.
|
130
130
|
:rtype: str
|
@@ -135,7 +135,7 @@ class ShowBackendTargetInfoResponseBody:
|
|
135
135
|
def file_system_path(self, file_system_path):
|
136
136
|
"""Sets the file_system_path of this ShowBackendTargetInfoResponseBody.
|
137
137
|
|
138
|
-
|
138
|
+
联动目录名称
|
139
139
|
|
140
140
|
:param file_system_path: The file_system_path of this ShowBackendTargetInfoResponseBody.
|
141
141
|
:type file_system_path: str
|
@@ -164,7 +164,7 @@ class ShowBackendTargetInfoResponseBody:
|
|
164
164
|
def lifecycle(self):
|
165
165
|
"""Gets the lifecycle of this ShowBackendTargetInfoResponseBody.
|
166
166
|
|
167
|
-
|
167
|
+
绑定状态
|
168
168
|
|
169
169
|
:return: The lifecycle of this ShowBackendTargetInfoResponseBody.
|
170
170
|
:rtype: str
|
@@ -175,7 +175,7 @@ class ShowBackendTargetInfoResponseBody:
|
|
175
175
|
def lifecycle(self, lifecycle):
|
176
176
|
"""Sets the lifecycle of this ShowBackendTargetInfoResponseBody.
|
177
177
|
|
178
|
-
|
178
|
+
绑定状态
|
179
179
|
|
180
180
|
:param lifecycle: The lifecycle of this ShowBackendTargetInfoResponseBody.
|
181
181
|
:type lifecycle: str
|