huaweicloudsdksfsturbo 3.1.156__py2.py3-none-any.whl → 3.1.158__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 (105) hide show
  1. huaweicloudsdksfsturbo/v1/__init__.py +32 -0
  2. huaweicloudsdksfsturbo/v1/model/__init__.py +32 -0
  3. huaweicloudsdksfsturbo/v1/model/add_active_directory_domain_request.py +139 -0
  4. huaweicloudsdksfsturbo/v1/model/add_active_directory_domain_request_body.py +313 -0
  5. huaweicloudsdksfsturbo/v1/model/add_active_directory_domain_response.py +141 -0
  6. huaweicloudsdksfsturbo/v1/model/auto_export_policy.py +61 -3
  7. huaweicloudsdksfsturbo/v1/model/batch_add_shared_tags_request_body.py +7 -37
  8. huaweicloudsdksfsturbo/v1/model/bss_info.py +6 -6
  9. huaweicloudsdksfsturbo/v1/model/change_share_charge_mode_request_body.py +110 -0
  10. huaweicloudsdksfsturbo/v1/model/change_share_charge_mode_v2_request.py +139 -0
  11. huaweicloudsdksfsturbo/v1/model/change_share_charge_mode_v2_response.py +141 -0
  12. huaweicloudsdksfsturbo/v1/model/client_ip_info.py +115 -0
  13. huaweicloudsdksfsturbo/v1/model/create_backend_target_request_body.py +3 -3
  14. huaweicloudsdksfsturbo/v1/model/create_backend_target_response.py +3 -3
  15. huaweicloudsdksfsturbo/v1/model/create_fs_dir_quota_request.py +3 -3
  16. huaweicloudsdksfsturbo/v1/model/create_fs_dir_quota_request_body.py +6 -6
  17. huaweicloudsdksfsturbo/v1/model/create_fs_dir_request.py +3 -3
  18. huaweicloudsdksfsturbo/v1/model/create_fs_task_response.py +28 -3
  19. huaweicloudsdksfsturbo/v1/model/create_hpc_cache_task_req.py +3 -3
  20. huaweicloudsdksfsturbo/v1/model/create_ldap_config_request.py +3 -3
  21. huaweicloudsdksfsturbo/v1/model/create_ldap_config_request_body.py +21 -50
  22. huaweicloudsdksfsturbo/v1/model/create_ldap_config_response.py +31 -6
  23. huaweicloudsdksfsturbo/v1/model/create_perm_rule_request.py +3 -3
  24. huaweicloudsdksfsturbo/v1/model/delete_active_directory_domain_request.py +139 -0
  25. huaweicloudsdksfsturbo/v1/model/delete_active_directory_domain_request_body.py +142 -0
  26. huaweicloudsdksfsturbo/v1/model/delete_active_directory_domain_response.py +141 -0
  27. huaweicloudsdksfsturbo/v1/model/delete_backend_target_request.py +6 -6
  28. huaweicloudsdksfsturbo/v1/model/delete_backend_target_response.py +3 -3
  29. huaweicloudsdksfsturbo/v1/model/delete_fs_dir_quota_request.py +3 -3
  30. huaweicloudsdksfsturbo/v1/model/delete_fs_dir_request.py +3 -3
  31. huaweicloudsdksfsturbo/v1/model/delete_fs_task_request.py +3 -3
  32. huaweicloudsdksfsturbo/v1/model/delete_fs_task_response.py +28 -1
  33. huaweicloudsdksfsturbo/v1/model/delete_ldap_config_request.py +3 -3
  34. huaweicloudsdksfsturbo/v1/model/delete_ldap_config_response.py +31 -6
  35. huaweicloudsdksfsturbo/v1/model/delete_perm_rule_request.py +3 -3
  36. huaweicloudsdksfsturbo/v1/model/delete_shared_tag_request.py +3 -3
  37. huaweicloudsdksfsturbo/v1/model/extend.py +6 -6
  38. huaweicloudsdksfsturbo/v1/model/get_sub_job_detail.py +21 -21
  39. huaweicloudsdksfsturbo/v1/model/list_backend_targets_request.py +3 -3
  40. huaweicloudsdksfsturbo/v1/model/list_fs_tasks_request.py +3 -3
  41. huaweicloudsdksfsturbo/v1/model/list_fs_tasks_response.py +28 -3
  42. huaweicloudsdksfsturbo/v1/model/list_hpc_cache_tasks_request.py +3 -3
  43. huaweicloudsdksfsturbo/v1/model/list_perm_rules_request.py +3 -3
  44. huaweicloudsdksfsturbo/v1/model/list_share_types_request.py +144 -0
  45. huaweicloudsdksfsturbo/v1/model/list_share_types_response.py +141 -0
  46. huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_request_body.py +1 -2
  47. huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_response.py +3 -3
  48. huaweicloudsdksfsturbo/v1/model/one_perm_rule_request_info.py +9 -12
  49. huaweicloudsdksfsturbo/v1/model/one_perm_rule_response_info.py +6 -6
  50. huaweicloudsdksfsturbo/v1/model/resource_tag.py +6 -6
  51. huaweicloudsdksfsturbo/v1/model/share.py +15 -15
  52. huaweicloudsdksfsturbo/v1/model/share_info.py +6 -6
  53. huaweicloudsdksfsturbo/v1/model/share_type_available_zone.py +144 -0
  54. huaweicloudsdksfsturbo/v1/model/share_type_response_body.py +368 -0
  55. huaweicloudsdksfsturbo/v1/model/share_type_usage.py +161 -0
  56. huaweicloudsdksfsturbo/v1/model/share_type_usage_bandwidth.py +144 -0
  57. huaweicloudsdksfsturbo/v1/model/share_type_usage_capacity.py +144 -0
  58. huaweicloudsdksfsturbo/v1/model/share_type_usage_quantity.py +144 -0
  59. huaweicloudsdksfsturbo/v1/model/share_types_attribution.py +186 -0
  60. huaweicloudsdksfsturbo/v1/model/share_types_attribution_bandwidth.py +231 -0
  61. huaweicloudsdksfsturbo/v1/model/share_types_attribution_capacity.py +173 -0
  62. huaweicloudsdksfsturbo/v1/model/share_types_attribution_iops.py +144 -0
  63. huaweicloudsdksfsturbo/v1/model/share_types_attribution_single_channel4_k_latency.py +144 -0
  64. huaweicloudsdksfsturbo/v1/model/show_active_directory_domain_request.py +114 -0
  65. huaweicloudsdksfsturbo/v1/model/show_active_directory_domain_response.py +286 -0
  66. huaweicloudsdksfsturbo/v1/model/show_backend_target_info_response.py +3 -3
  67. huaweicloudsdksfsturbo/v1/model/show_backend_target_info_response_body.py +3 -3
  68. huaweicloudsdksfsturbo/v1/model/show_client_ip_info_request.py +139 -0
  69. huaweicloudsdksfsturbo/v1/model/show_client_ip_info_request_body.py +110 -0
  70. huaweicloudsdksfsturbo/v1/model/show_client_ip_info_response.py +170 -0
  71. huaweicloudsdksfsturbo/v1/model/show_fs_dir_quota_request.py +3 -3
  72. huaweicloudsdksfsturbo/v1/model/show_fs_dir_request.py +3 -3
  73. huaweicloudsdksfsturbo/v1/model/show_fs_dir_usage_request.py +3 -3
  74. huaweicloudsdksfsturbo/v1/model/show_fs_task_response.py +28 -3
  75. huaweicloudsdksfsturbo/v1/model/show_job_detail_response.py +18 -18
  76. huaweicloudsdksfsturbo/v1/model/show_ldap_config_request.py +3 -3
  77. huaweicloudsdksfsturbo/v1/model/show_ldap_config_response.py +59 -34
  78. huaweicloudsdksfsturbo/v1/model/show_perm_rule_request.py +3 -3
  79. huaweicloudsdksfsturbo/v1/model/show_perm_rule_response.py +6 -6
  80. huaweicloudsdksfsturbo/v1/model/show_share_response.py +6 -6
  81. huaweicloudsdksfsturbo/v1/model/show_shared_tags_response.py +3 -32
  82. huaweicloudsdksfsturbo/v1/model/tag.py +3 -3
  83. huaweicloudsdksfsturbo/v1/model/update_active_directory_domain_request.py +139 -0
  84. huaweicloudsdksfsturbo/v1/model/update_active_directory_domain_request_body.py +313 -0
  85. huaweicloudsdksfsturbo/v1/model/update_active_directory_domain_response.py +141 -0
  86. huaweicloudsdksfsturbo/v1/model/update_fs_dir_quota_request.py +3 -3
  87. huaweicloudsdksfsturbo/v1/model/update_fs_dir_quota_request_body.py +6 -6
  88. huaweicloudsdksfsturbo/v1/model/update_hpc_share_request_body.py +3 -3
  89. huaweicloudsdksfsturbo/v1/model/update_ldap_config_request.py +3 -3
  90. huaweicloudsdksfsturbo/v1/model/update_ldap_config_request_body.py +18 -47
  91. huaweicloudsdksfsturbo/v1/model/update_ldap_config_response.py +31 -6
  92. huaweicloudsdksfsturbo/v1/model/update_obs_target_attributes_request.py +6 -6
  93. huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_request.py +6 -6
  94. huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_response.py +3 -3
  95. huaweicloudsdksfsturbo/v1/model/update_one_perm_rule_request_info.py +144 -0
  96. huaweicloudsdksfsturbo/v1/model/update_perm_rule_request.py +7 -7
  97. huaweicloudsdksfsturbo/v1/model/update_perm_rule_response.py +6 -6
  98. huaweicloudsdksfsturbo/v1/region/sfsturbo_region.py +3 -0
  99. huaweicloudsdksfsturbo/v1/sfsturbo_async_client.py +492 -41
  100. huaweicloudsdksfsturbo/v1/sfsturbo_client.py +492 -41
  101. {huaweicloudsdksfsturbo-3.1.156.dist-info → huaweicloudsdksfsturbo-3.1.158.dist-info}/METADATA +2 -2
  102. {huaweicloudsdksfsturbo-3.1.156.dist-info → huaweicloudsdksfsturbo-3.1.158.dist-info}/RECORD +105 -73
  103. {huaweicloudsdksfsturbo-3.1.156.dist-info → huaweicloudsdksfsturbo-3.1.158.dist-info}/LICENSE +0 -0
  104. {huaweicloudsdksfsturbo-3.1.156.dist-info → huaweicloudsdksfsturbo-3.1.158.dist-info}/WHEEL +0 -0
  105. {huaweicloudsdksfsturbo-3.1.156.dist-info → huaweicloudsdksfsturbo-3.1.158.dist-info}/top_level.txt +0 -0
@@ -22,10 +22,11 @@ class ShowLdapConfigResponse(SdkResponse):
22
22
  'base_dn': 'str',
23
23
  'user_dn': 'str',
24
24
  'filter_condition': 'str',
25
+ 'vpc_id': 'str',
25
26
  'backup_url': 'str',
26
27
  'schema': 'str',
27
28
  'search_timeout': 'int',
28
- 'allow_local_user': 'str'
29
+ 'x_request_id': 'str'
29
30
  }
30
31
 
31
32
  attribute_map = {
@@ -33,18 +34,19 @@ class ShowLdapConfigResponse(SdkResponse):
33
34
  'base_dn': 'base_dn',
34
35
  'user_dn': 'user_dn',
35
36
  'filter_condition': 'filter_condition',
37
+ 'vpc_id': 'vpc_id',
36
38
  'backup_url': 'backup_url',
37
39
  'schema': 'schema',
38
40
  'search_timeout': 'search_timeout',
39
- 'allow_local_user': 'allow_local_user'
41
+ 'x_request_id': 'X-request-id'
40
42
  }
41
43
 
42
- def __init__(self, url=None, base_dn=None, user_dn=None, filter_condition=None, backup_url=None, schema=None, search_timeout=None, allow_local_user=None):
44
+ def __init__(self, url=None, base_dn=None, user_dn=None, filter_condition=None, vpc_id=None, backup_url=None, schema=None, search_timeout=None, x_request_id=None):
43
45
  r"""ShowLdapConfigResponse
44
46
 
45
47
  The model defined in huaweicloud sdk
46
48
 
47
- :param url: ldap服务器的url
49
+ :param url: LDAP服务器的url
48
50
  :type url: str
49
51
  :param base_dn: 数据库中的域
50
52
  :type base_dn: str
@@ -52,14 +54,16 @@ class ShowLdapConfigResponse(SdkResponse):
52
54
  :type user_dn: str
53
55
  :param filter_condition: 过滤条件。保留字段,暂不支持
54
56
  :type filter_condition: str
55
- :param backup_url: ldap备节点的url
57
+ :param vpc_id: 保留字段,暂不支持
58
+ :type vpc_id: str
59
+ :param backup_url: LDAP备节点的url
56
60
  :type backup_url: str
57
- :param schema: ldap的schema,不填写则默认为RFC2307
61
+ :param schema: LDAP的schema,不填写则默认为RFC2307
58
62
  :type schema: str
59
- :param search_timeout: ldap搜索的超时时间,单位为秒。不填写则默认为3秒
63
+ :param search_timeout: LDAP搜索的超时时间,单位为秒。不填写则默认为3秒
60
64
  :type search_timeout: int
61
- :param allow_local_user: 访问ldap服务器失败后是否允许使用本地用户鉴权
62
- :type allow_local_user: str
65
+ :param x_request_id:
66
+ :type x_request_id: str
63
67
  """
64
68
 
65
69
  super(ShowLdapConfigResponse, self).__init__()
@@ -68,10 +72,11 @@ class ShowLdapConfigResponse(SdkResponse):
68
72
  self._base_dn = None
69
73
  self._user_dn = None
70
74
  self._filter_condition = None
75
+ self._vpc_id = None
71
76
  self._backup_url = None
72
77
  self._schema = None
73
78
  self._search_timeout = None
74
- self._allow_local_user = None
79
+ self._x_request_id = None
75
80
  self.discriminator = None
76
81
 
77
82
  if url is not None:
@@ -82,20 +87,22 @@ class ShowLdapConfigResponse(SdkResponse):
82
87
  self.user_dn = user_dn
83
88
  if filter_condition is not None:
84
89
  self.filter_condition = filter_condition
90
+ if vpc_id is not None:
91
+ self.vpc_id = vpc_id
85
92
  if backup_url is not None:
86
93
  self.backup_url = backup_url
87
94
  if schema is not None:
88
95
  self.schema = schema
89
96
  if search_timeout is not None:
90
97
  self.search_timeout = search_timeout
91
- if allow_local_user is not None:
92
- self.allow_local_user = allow_local_user
98
+ if x_request_id is not None:
99
+ self.x_request_id = x_request_id
93
100
 
94
101
  @property
95
102
  def url(self):
96
103
  r"""Gets the url of this ShowLdapConfigResponse.
97
104
 
98
- ldap服务器的url
105
+ LDAP服务器的url
99
106
 
100
107
  :return: The url of this ShowLdapConfigResponse.
101
108
  :rtype: str
@@ -106,7 +113,7 @@ class ShowLdapConfigResponse(SdkResponse):
106
113
  def url(self, url):
107
114
  r"""Sets the url of this ShowLdapConfigResponse.
108
115
 
109
- ldap服务器的url
116
+ LDAP服务器的url
110
117
 
111
118
  :param url: The url of this ShowLdapConfigResponse.
112
119
  :type url: str
@@ -179,11 +186,33 @@ class ShowLdapConfigResponse(SdkResponse):
179
186
  """
180
187
  self._filter_condition = filter_condition
181
188
 
189
+ @property
190
+ def vpc_id(self):
191
+ r"""Gets the vpc_id of this ShowLdapConfigResponse.
192
+
193
+ 保留字段,暂不支持
194
+
195
+ :return: The vpc_id of this ShowLdapConfigResponse.
196
+ :rtype: str
197
+ """
198
+ return self._vpc_id
199
+
200
+ @vpc_id.setter
201
+ def vpc_id(self, vpc_id):
202
+ r"""Sets the vpc_id of this ShowLdapConfigResponse.
203
+
204
+ 保留字段,暂不支持
205
+
206
+ :param vpc_id: The vpc_id of this ShowLdapConfigResponse.
207
+ :type vpc_id: str
208
+ """
209
+ self._vpc_id = vpc_id
210
+
182
211
  @property
183
212
  def backup_url(self):
184
213
  r"""Gets the backup_url of this ShowLdapConfigResponse.
185
214
 
186
- ldap备节点的url
215
+ LDAP备节点的url
187
216
 
188
217
  :return: The backup_url of this ShowLdapConfigResponse.
189
218
  :rtype: str
@@ -194,7 +223,7 @@ class ShowLdapConfigResponse(SdkResponse):
194
223
  def backup_url(self, backup_url):
195
224
  r"""Sets the backup_url of this ShowLdapConfigResponse.
196
225
 
197
- ldap备节点的url
226
+ LDAP备节点的url
198
227
 
199
228
  :param backup_url: The backup_url of this ShowLdapConfigResponse.
200
229
  :type backup_url: str
@@ -205,7 +234,7 @@ class ShowLdapConfigResponse(SdkResponse):
205
234
  def schema(self):
206
235
  r"""Gets the schema of this ShowLdapConfigResponse.
207
236
 
208
- ldap的schema,不填写则默认为RFC2307
237
+ LDAP的schema,不填写则默认为RFC2307
209
238
 
210
239
  :return: The schema of this ShowLdapConfigResponse.
211
240
  :rtype: str
@@ -216,7 +245,7 @@ class ShowLdapConfigResponse(SdkResponse):
216
245
  def schema(self, schema):
217
246
  r"""Sets the schema of this ShowLdapConfigResponse.
218
247
 
219
- ldap的schema,不填写则默认为RFC2307
248
+ LDAP的schema,不填写则默认为RFC2307
220
249
 
221
250
  :param schema: The schema of this ShowLdapConfigResponse.
222
251
  :type schema: str
@@ -227,7 +256,7 @@ class ShowLdapConfigResponse(SdkResponse):
227
256
  def search_timeout(self):
228
257
  r"""Gets the search_timeout of this ShowLdapConfigResponse.
229
258
 
230
- ldap搜索的超时时间,单位为秒。不填写则默认为3秒
259
+ LDAP搜索的超时时间,单位为秒。不填写则默认为3秒
231
260
 
232
261
  :return: The search_timeout of this ShowLdapConfigResponse.
233
262
  :rtype: int
@@ -238,7 +267,7 @@ class ShowLdapConfigResponse(SdkResponse):
238
267
  def search_timeout(self, search_timeout):
239
268
  r"""Sets the search_timeout of this ShowLdapConfigResponse.
240
269
 
241
- ldap搜索的超时时间,单位为秒。不填写则默认为3秒
270
+ LDAP搜索的超时时间,单位为秒。不填写则默认为3秒
242
271
 
243
272
  :param search_timeout: The search_timeout of this ShowLdapConfigResponse.
244
273
  :type search_timeout: int
@@ -246,26 +275,22 @@ class ShowLdapConfigResponse(SdkResponse):
246
275
  self._search_timeout = search_timeout
247
276
 
248
277
  @property
249
- def allow_local_user(self):
250
- r"""Gets the allow_local_user of this ShowLdapConfigResponse.
251
-
252
- 访问ldap服务器失败后是否允许使用本地用户鉴权
278
+ def x_request_id(self):
279
+ r"""Gets the x_request_id of this ShowLdapConfigResponse.
253
280
 
254
- :return: The allow_local_user of this ShowLdapConfigResponse.
281
+ :return: The x_request_id of this ShowLdapConfigResponse.
255
282
  :rtype: str
256
283
  """
257
- return self._allow_local_user
258
-
259
- @allow_local_user.setter
260
- def allow_local_user(self, allow_local_user):
261
- r"""Sets the allow_local_user of this ShowLdapConfigResponse.
284
+ return self._x_request_id
262
285
 
263
- 访问ldap服务器失败后是否允许使用本地用户鉴权
286
+ @x_request_id.setter
287
+ def x_request_id(self, x_request_id):
288
+ r"""Sets the x_request_id of this ShowLdapConfigResponse.
264
289
 
265
- :param allow_local_user: The allow_local_user of this ShowLdapConfigResponse.
266
- :type allow_local_user: str
290
+ :param x_request_id: The x_request_id of this ShowLdapConfigResponse.
291
+ :type x_request_id: str
267
292
  """
268
- self._allow_local_user = allow_local_user
293
+ self._x_request_id = x_request_id
269
294
 
270
295
  def to_dict(self):
271
296
  """Returns the model properties as a dict"""
@@ -31,7 +31,7 @@ class ShowPermRuleRequest:
31
31
 
32
32
  The model defined in huaweicloud sdk
33
33
 
34
- :param share_id: 文件系统id
34
+ :param share_id: 文件系统ID
35
35
  :type share_id: str
36
36
  :param rule_id: 权限规则id
37
37
  :type rule_id: str
@@ -50,7 +50,7 @@ class ShowPermRuleRequest:
50
50
  def share_id(self):
51
51
  r"""Gets the share_id of this ShowPermRuleRequest.
52
52
 
53
- 文件系统id
53
+ 文件系统ID
54
54
 
55
55
  :return: The share_id of this ShowPermRuleRequest.
56
56
  :rtype: str
@@ -61,7 +61,7 @@ class ShowPermRuleRequest:
61
61
  def share_id(self, share_id):
62
62
  r"""Sets the share_id of this ShowPermRuleRequest.
63
63
 
64
- 文件系统id
64
+ 文件系统ID
65
65
 
66
66
  :param share_id: The share_id of this ShowPermRuleRequest.
67
67
  :type share_id: str
@@ -40,9 +40,9 @@ class ShowPermRuleResponse(SdkResponse):
40
40
  :type id: str
41
41
  :param ip_cidr: 授权对象的IP地址或网段
42
42
  :type ip_cidr: str
43
- :param rw_type: 授权对象的读写权限 - rw:默认选项,以读写的方式共享 - ro:以只读的方式共享 - none: 没有权限
43
+ :param rw_type: 授权对象的读写权限 - rw:默认选项,以读写的方式共享 - ro:以只读的方式共享 - none: 没有权限
44
44
  :type rw_type: str
45
- :param user_type: 授权对象的系统用户对文件系统的访问权限。取值如下: - no_root_squash:客户端使用的是root用户时,映射到NFS服务器的用户依然为root用户。 - root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。 - all_squash:默认选项。所有访问NFS服务器的客户端的用户都映射为匿名用户。'
45
+ :param user_type: 授权对象的系统用户对文件系统的访问权限。取值如下: - no_root_squash:客户端使用的是root用户时,映射到NFS服务器的用户依然为root用户。 - root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。 - all_squash:默认选项。所有访问NFS服务器的客户端的用户都映射为匿名用户。'
46
46
  :type user_type: str
47
47
  """
48
48
 
@@ -111,7 +111,7 @@ class ShowPermRuleResponse(SdkResponse):
111
111
  def rw_type(self):
112
112
  r"""Gets the rw_type of this ShowPermRuleResponse.
113
113
 
114
- 授权对象的读写权限 - rw:默认选项,以读写的方式共享 - ro:以只读的方式共享 - none: 没有权限
114
+ 授权对象的读写权限 - rw:默认选项,以读写的方式共享 - ro:以只读的方式共享 - none: 没有权限
115
115
 
116
116
  :return: The rw_type of this ShowPermRuleResponse.
117
117
  :rtype: str
@@ -122,7 +122,7 @@ class ShowPermRuleResponse(SdkResponse):
122
122
  def rw_type(self, rw_type):
123
123
  r"""Sets the rw_type of this ShowPermRuleResponse.
124
124
 
125
- 授权对象的读写权限 - rw:默认选项,以读写的方式共享 - ro:以只读的方式共享 - none: 没有权限
125
+ 授权对象的读写权限 - rw:默认选项,以读写的方式共享 - ro:以只读的方式共享 - none: 没有权限
126
126
 
127
127
  :param rw_type: The rw_type of this ShowPermRuleResponse.
128
128
  :type rw_type: str
@@ -133,7 +133,7 @@ class ShowPermRuleResponse(SdkResponse):
133
133
  def user_type(self):
134
134
  r"""Gets the user_type of this ShowPermRuleResponse.
135
135
 
136
- 授权对象的系统用户对文件系统的访问权限。取值如下: - no_root_squash:客户端使用的是root用户时,映射到NFS服务器的用户依然为root用户。 - root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。 - all_squash:默认选项。所有访问NFS服务器的客户端的用户都映射为匿名用户。'
136
+ 授权对象的系统用户对文件系统的访问权限。取值如下: - no_root_squash:客户端使用的是root用户时,映射到NFS服务器的用户依然为root用户。 - root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。 - all_squash:默认选项。所有访问NFS服务器的客户端的用户都映射为匿名用户。'
137
137
 
138
138
  :return: The user_type of this ShowPermRuleResponse.
139
139
  :rtype: str
@@ -144,7 +144,7 @@ class ShowPermRuleResponse(SdkResponse):
144
144
  def user_type(self, user_type):
145
145
  r"""Sets the user_type of this ShowPermRuleResponse.
146
146
 
147
- 授权对象的系统用户对文件系统的访问权限。取值如下: - no_root_squash:客户端使用的是root用户时,映射到NFS服务器的用户依然为root用户。 - root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。 - all_squash:默认选项。所有访问NFS服务器的客户端的用户都映射为匿名用户。'
147
+ 授权对象的系统用户对文件系统的访问权限。取值如下: - no_root_squash:客户端使用的是root用户时,映射到NFS服务器的用户依然为root用户。 - root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。 - all_squash:默认选项。所有访问NFS服务器的客户端的用户都映射为匿名用户。'
148
148
 
149
149
  :param user_type: The user_type of this ShowPermRuleResponse.
150
150
  :type user_type: str
@@ -114,7 +114,7 @@ class ShowShareResponse(SdkResponse):
114
114
  :type region: str
115
115
  :param security_group_id: 用户指定的安全组ID。
116
116
  :type security_group_id: str
117
- :param share_proto: SFS Turbo文件系统的协议类型,当前为NFS
117
+ :param share_proto: SFS Turbo文件系统的协议类型,当前为NFS或 CIFS。
118
118
  :type share_proto: str
119
119
  :param share_type: SFS Turbo文件系统性能类型,包括“STANDARD”标准型和“PERFORMANCE”性能型。
120
120
  :type share_type: str
@@ -122,7 +122,7 @@ class ShowShareResponse(SdkResponse):
122
122
  :type size: str
123
123
  :param status: SFS Turbo文件系统的状态。'100'表示创建中,'200'表示可用,'303'表示创建失败,'800'表示实例被冻结。
124
124
  :type status: str
125
- :param sub_status: SFS Turbo文件系统的子状态。当用户未对文件系统有修改类操作时,该字段不返回。 '121'表示扩容中;'132'表示修改安全组中;'137'表示添加VPC中;'138'表示删除VPC中;'150'表示配置联动后端中;'151'表示删除联动后端配置中。 '221'表示扩容成功;'232'表示修改安全组成功;'237'表示添加VPC成功;'238'表示删除VPC成功;'250'表示配置联动后端成功;'251'表示删除联动后端配置成功。 '321'表示扩容失败;'332'表示修改安全组失败;'337'表示添加VPC失败;'338'表示删除VPC失败;'350'表示配置联动后端失败;'351'表示删除联动后端配置失败。
125
+ :param sub_status: SFS Turbo文件系统的子状态。当用户未对文件系统有修改类操作时,该字段不返回。 '121'表示扩容中;'132'表示修改安全组中;'137'表示添加VPC中;'138'表示删除VPC中;'150'表示配置联动后端中;'151'表示删除联动后端配置中。 '221'表示扩容成功;'232'表示修改安全组成功;'237'表示添加VPC成功;'238'表示删除VPC成功;'250'表示配置联动后端成功;'251'表示删除联动后端配置成功。 '321'表示扩容失败;'332'表示修改安全组失败;'337'表示添加VPC失败;'338'表示删除VPC失败;'350'表示配置联动后端失败;'351'表示删除联动后端配置失败。
126
126
  :type sub_status: str
127
127
  :param subnet_id: 用户指定的子网的网络ID。
128
128
  :type subnet_id: str
@@ -546,7 +546,7 @@ class ShowShareResponse(SdkResponse):
546
546
  def share_proto(self):
547
547
  r"""Gets the share_proto of this ShowShareResponse.
548
548
 
549
- SFS Turbo文件系统的协议类型,当前为NFS
549
+ SFS Turbo文件系统的协议类型,当前为NFS或 CIFS。
550
550
 
551
551
  :return: The share_proto of this ShowShareResponse.
552
552
  :rtype: str
@@ -557,7 +557,7 @@ class ShowShareResponse(SdkResponse):
557
557
  def share_proto(self, share_proto):
558
558
  r"""Sets the share_proto of this ShowShareResponse.
559
559
 
560
- SFS Turbo文件系统的协议类型,当前为NFS
560
+ SFS Turbo文件系统的协议类型,当前为NFS或 CIFS。
561
561
 
562
562
  :param share_proto: The share_proto of this ShowShareResponse.
563
563
  :type share_proto: str
@@ -634,7 +634,7 @@ class ShowShareResponse(SdkResponse):
634
634
  def sub_status(self):
635
635
  r"""Gets the sub_status of this ShowShareResponse.
636
636
 
637
- SFS Turbo文件系统的子状态。当用户未对文件系统有修改类操作时,该字段不返回。 '121'表示扩容中;'132'表示修改安全组中;'137'表示添加VPC中;'138'表示删除VPC中;'150'表示配置联动后端中;'151'表示删除联动后端配置中。 '221'表示扩容成功;'232'表示修改安全组成功;'237'表示添加VPC成功;'238'表示删除VPC成功;'250'表示配置联动后端成功;'251'表示删除联动后端配置成功。 '321'表示扩容失败;'332'表示修改安全组失败;'337'表示添加VPC失败;'338'表示删除VPC失败;'350'表示配置联动后端失败;'351'表示删除联动后端配置失败。
637
+ SFS Turbo文件系统的子状态。当用户未对文件系统有修改类操作时,该字段不返回。 '121'表示扩容中;'132'表示修改安全组中;'137'表示添加VPC中;'138'表示删除VPC中;'150'表示配置联动后端中;'151'表示删除联动后端配置中。 '221'表示扩容成功;'232'表示修改安全组成功;'237'表示添加VPC成功;'238'表示删除VPC成功;'250'表示配置联动后端成功;'251'表示删除联动后端配置成功。 '321'表示扩容失败;'332'表示修改安全组失败;'337'表示添加VPC失败;'338'表示删除VPC失败;'350'表示配置联动后端失败;'351'表示删除联动后端配置失败。
638
638
 
639
639
  :return: The sub_status of this ShowShareResponse.
640
640
  :rtype: str
@@ -645,7 +645,7 @@ class ShowShareResponse(SdkResponse):
645
645
  def sub_status(self, sub_status):
646
646
  r"""Sets the sub_status of this ShowShareResponse.
647
647
 
648
- SFS Turbo文件系统的子状态。当用户未对文件系统有修改类操作时,该字段不返回。 '121'表示扩容中;'132'表示修改安全组中;'137'表示添加VPC中;'138'表示删除VPC中;'150'表示配置联动后端中;'151'表示删除联动后端配置中。 '221'表示扩容成功;'232'表示修改安全组成功;'237'表示添加VPC成功;'238'表示删除VPC成功;'250'表示配置联动后端成功;'251'表示删除联动后端配置成功。 '321'表示扩容失败;'332'表示修改安全组失败;'337'表示添加VPC失败;'338'表示删除VPC失败;'350'表示配置联动后端失败;'351'表示删除联动后端配置失败。
648
+ SFS Turbo文件系统的子状态。当用户未对文件系统有修改类操作时,该字段不返回。 '121'表示扩容中;'132'表示修改安全组中;'137'表示添加VPC中;'138'表示删除VPC中;'150'表示配置联动后端中;'151'表示删除联动后端配置中。 '221'表示扩容成功;'232'表示修改安全组成功;'237'表示添加VPC成功;'238'表示删除VPC成功;'250'表示配置联动后端成功;'251'表示删除联动后端配置成功。 '321'表示扩容失败;'332'表示修改安全组失败;'337'表示添加VPC失败;'338'表示删除VPC失败;'350'表示配置联动后端失败;'351'表示删除联动后端配置失败。
649
649
 
650
650
  :param sub_status: The sub_status of this ShowShareResponse.
651
651
  :type sub_status: str
@@ -18,36 +18,29 @@ class ShowSharedTagsResponse(SdkResponse):
18
18
  sensitive_list = []
19
19
 
20
20
  openapi_types = {
21
- 'tags': 'list[ResourceTag]',
22
- 'sys_tags': 'list[ResourceTag]'
21
+ 'tags': 'list[ResourceTag]'
23
22
  }
24
23
 
25
24
  attribute_map = {
26
- 'tags': 'tags',
27
- 'sys_tags': 'sys_tags'
25
+ 'tags': 'tags'
28
26
  }
29
27
 
30
- def __init__(self, tags=None, sys_tags=None):
28
+ def __init__(self, tags=None):
31
29
  r"""ShowSharedTagsResponse
32
30
 
33
31
  The model defined in huaweicloud sdk
34
32
 
35
33
  :param tags: tag标签的列表。
36
34
  :type tags: list[:class:`huaweicloudsdksfsturbo.v1.ResourceTag`]
37
- :param sys_tags: 仅op_service权限才可以获取此字段。 1. 目前只包含一个resource_tag结构体 key:_sys_enterprise_project_id 2. 目前key下面只包含一个value,0表示默认企业项目。 非op_service场景不能返回此字段。
38
- :type sys_tags: list[:class:`huaweicloudsdksfsturbo.v1.ResourceTag`]
39
35
  """
40
36
 
41
37
  super(ShowSharedTagsResponse, self).__init__()
42
38
 
43
39
  self._tags = None
44
- self._sys_tags = None
45
40
  self.discriminator = None
46
41
 
47
42
  if tags is not None:
48
43
  self.tags = tags
49
- if sys_tags is not None:
50
- self.sys_tags = sys_tags
51
44
 
52
45
  @property
53
46
  def tags(self):
@@ -71,28 +64,6 @@ class ShowSharedTagsResponse(SdkResponse):
71
64
  """
72
65
  self._tags = tags
73
66
 
74
- @property
75
- def sys_tags(self):
76
- r"""Gets the sys_tags of this ShowSharedTagsResponse.
77
-
78
- 仅op_service权限才可以获取此字段。 1. 目前只包含一个resource_tag结构体 key:_sys_enterprise_project_id 2. 目前key下面只包含一个value,0表示默认企业项目。 非op_service场景不能返回此字段。
79
-
80
- :return: The sys_tags of this ShowSharedTagsResponse.
81
- :rtype: list[:class:`huaweicloudsdksfsturbo.v1.ResourceTag`]
82
- """
83
- return self._sys_tags
84
-
85
- @sys_tags.setter
86
- def sys_tags(self, sys_tags):
87
- r"""Sets the sys_tags of this ShowSharedTagsResponse.
88
-
89
- 仅op_service权限才可以获取此字段。 1. 目前只包含一个resource_tag结构体 key:_sys_enterprise_project_id 2. 目前key下面只包含一个value,0表示默认企业项目。 非op_service场景不能返回此字段。
90
-
91
- :param sys_tags: The sys_tags of this ShowSharedTagsResponse.
92
- :type sys_tags: list[:class:`huaweicloudsdksfsturbo.v1.ResourceTag`]
93
- """
94
- self._sys_tags = sys_tags
95
-
96
67
  def to_dict(self):
97
68
  """Returns the model properties as a dict"""
98
69
  result = {}
@@ -31,7 +31,7 @@ class Tag:
31
31
 
32
32
  The model defined in huaweicloud sdk
33
33
 
34
- :param key: 标签的键。 最大长度128个字符。 key不能为空。
34
+ :param key: 标签的键。 最大长度128个字符。 key不能为空。
35
35
  :type key: str
36
36
  :param values: 值列表。每个值最大长度255个字符,如果values为空列表,则表示匹配任意值value。value之间为或的关系。
37
37
  :type values: list[str]
@@ -50,7 +50,7 @@ class Tag:
50
50
  def key(self):
51
51
  r"""Gets the key of this Tag.
52
52
 
53
- 标签的键。 最大长度128个字符。 key不能为空。
53
+ 标签的键。 最大长度128个字符。 key不能为空。
54
54
 
55
55
  :return: The key of this Tag.
56
56
  :rtype: str
@@ -61,7 +61,7 @@ class Tag:
61
61
  def key(self, key):
62
62
  r"""Sets the key of this Tag.
63
63
 
64
- 标签的键。 最大长度128个字符。 key不能为空。
64
+ 标签的键。 最大长度128个字符。 key不能为空。
65
65
 
66
66
  :param key: The key of this Tag.
67
67
  :type key: str
@@ -0,0 +1,139 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class UpdateActiveDirectoryDomainRequest:
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
+ 'body': 'UpdateActiveDirectoryDomainRequestBody'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'share_id': 'share_id',
26
+ 'body': 'body'
27
+ }
28
+
29
+ def __init__(self, share_id=None, body=None):
30
+ r"""UpdateActiveDirectoryDomainRequest
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param share_id: 文件系统ID
35
+ :type share_id: str
36
+ :param body: Body of the UpdateActiveDirectoryDomainRequest
37
+ :type body: :class:`huaweicloudsdksfsturbo.v1.UpdateActiveDirectoryDomainRequestBody`
38
+ """
39
+
40
+
41
+
42
+ self._share_id = None
43
+ self._body = None
44
+ self.discriminator = None
45
+
46
+ self.share_id = share_id
47
+ if body is not None:
48
+ self.body = body
49
+
50
+ @property
51
+ def share_id(self):
52
+ r"""Gets the share_id of this UpdateActiveDirectoryDomainRequest.
53
+
54
+ 文件系统ID
55
+
56
+ :return: The share_id of this UpdateActiveDirectoryDomainRequest.
57
+ :rtype: str
58
+ """
59
+ return self._share_id
60
+
61
+ @share_id.setter
62
+ def share_id(self, share_id):
63
+ r"""Sets the share_id of this UpdateActiveDirectoryDomainRequest.
64
+
65
+ 文件系统ID
66
+
67
+ :param share_id: The share_id of this UpdateActiveDirectoryDomainRequest.
68
+ :type share_id: str
69
+ """
70
+ self._share_id = share_id
71
+
72
+ @property
73
+ def body(self):
74
+ r"""Gets the body of this UpdateActiveDirectoryDomainRequest.
75
+
76
+ :return: The body of this UpdateActiveDirectoryDomainRequest.
77
+ :rtype: :class:`huaweicloudsdksfsturbo.v1.UpdateActiveDirectoryDomainRequestBody`
78
+ """
79
+ return self._body
80
+
81
+ @body.setter
82
+ def body(self, body):
83
+ r"""Sets the body of this UpdateActiveDirectoryDomainRequest.
84
+
85
+ :param body: The body of this UpdateActiveDirectoryDomainRequest.
86
+ :type body: :class:`huaweicloudsdksfsturbo.v1.UpdateActiveDirectoryDomainRequestBody`
87
+ """
88
+ self._body = body
89
+
90
+ def to_dict(self):
91
+ """Returns the model properties as a dict"""
92
+ result = {}
93
+
94
+ for attr, _ in six.iteritems(self.openapi_types):
95
+ value = getattr(self, attr)
96
+ if isinstance(value, list):
97
+ result[attr] = list(map(
98
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
99
+ value
100
+ ))
101
+ elif hasattr(value, "to_dict"):
102
+ result[attr] = value.to_dict()
103
+ elif isinstance(value, dict):
104
+ result[attr] = dict(map(
105
+ lambda item: (item[0], item[1].to_dict())
106
+ if hasattr(item[1], "to_dict") else item,
107
+ value.items()
108
+ ))
109
+ else:
110
+ if attr in self.sensitive_list:
111
+ result[attr] = "****"
112
+ else:
113
+ result[attr] = value
114
+
115
+ return result
116
+
117
+ def to_str(self):
118
+ """Returns the string representation of the model"""
119
+ import simplejson as json
120
+ if six.PY2:
121
+ import sys
122
+ reload(sys)
123
+ sys.setdefaultencoding("utf-8")
124
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
125
+
126
+ def __repr__(self):
127
+ """For `print`"""
128
+ return self.to_str()
129
+
130
+ def __eq__(self, other):
131
+ """Returns true if both objects are equal"""
132
+ if not isinstance(other, UpdateActiveDirectoryDomainRequest):
133
+ return False
134
+
135
+ return self.__dict__ == other.__dict__
136
+
137
+ def __ne__(self, other):
138
+ """Returns true if both objects are not equal"""
139
+ return not self == other