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
@@ -25,8 +25,7 @@ class CreateLdapConfigRequestBody:
25
25
  'filter_condition': 'str',
26
26
  'backup_url': 'str',
27
27
  'schema': 'str',
28
- 'search_timeout': 'int',
29
- 'allow_local_user': 'str'
28
+ 'search_timeout': 'int'
30
29
  }
31
30
 
32
31
  attribute_map = {
@@ -38,35 +37,32 @@ class CreateLdapConfigRequestBody:
38
37
  'filter_condition': 'filter_condition',
39
38
  'backup_url': 'backup_url',
40
39
  'schema': 'schema',
41
- 'search_timeout': 'search_timeout',
42
- 'allow_local_user': 'allow_local_user'
40
+ 'search_timeout': 'search_timeout'
43
41
  }
44
42
 
45
- def __init__(self, url=None, base_dn=None, user_dn=None, password=None, vpc_id=None, filter_condition=None, backup_url=None, schema=None, search_timeout=None, allow_local_user=None):
43
+ def __init__(self, url=None, base_dn=None, user_dn=None, password=None, vpc_id=None, filter_condition=None, backup_url=None, schema=None, search_timeout=None):
46
44
  r"""CreateLdapConfigRequestBody
47
45
 
48
46
  The model defined in huaweicloud sdk
49
47
 
50
- :param url: ldap服务器的url,固定格式为 ldap://{ip_address}:{port_number} 或 ldaps://{ip_address}:{port_number},例如ldap://192.168.xx.xx:60000
48
+ :param url: LDAP服务器的url,固定格式为 ldap://{ip_address}:{port_number} 或 ldaps://{ip_address}:{port_number},例如ldap://192.168.xx.xx:60000
51
49
  :type url: str
52
50
  :param base_dn: 数据库中的域
53
51
  :type base_dn: str
54
52
  :param user_dn: 用户区别名
55
53
  :type user_dn: str
56
- :param password: ldap认证密码
54
+ :param password: LDAP认证密码
57
55
  :type password: str
58
- :param vpc_id: 一般不涉及。仅在SFSTurbo支持多VPC的场景下,需要指定LDAP服务器可连通的VPC的id。
56
+ :param vpc_id: 一般不涉及。仅在SFS Turbo支持多VPC的场景下,需要指定LDAP服务器可连通的VPC的id。
59
57
  :type vpc_id: str
60
58
  :param filter_condition: 过滤条件。保留字段,暂不支持
61
59
  :type filter_condition: str
62
- :param backup_url: ldap备节点的url,固定格式为 ldap://{ip_address}:{port_number} 或 ldaps://{ip_address}:{port_number},例如ldap://192.168.xx.xx:60000
60
+ :param backup_url: LDAP备节点的url,固定格式为 ldap://{ip_address}:{port_number} 或 ldaps://{ip_address}:{port_number},例如ldap://192.168.xx.xx:60000
63
61
  :type backup_url: str
64
- :param schema: ldap的schema,不填写则默认为RFC2307
62
+ :param schema: LDAP的schema,不填写则默认为RFC2307
65
63
  :type schema: str
66
- :param search_timeout: ldap搜索的超时时间,单位为秒。不填写则默认为3秒
64
+ :param search_timeout: LDAP搜索的超时时间,单位为秒。不填写则默认为3秒
67
65
  :type search_timeout: int
68
- :param allow_local_user: 访问ldap服务器失败后是否允许使用本地用户鉴权
69
- :type allow_local_user: str
70
66
  """
71
67
 
72
68
 
@@ -80,7 +76,6 @@ class CreateLdapConfigRequestBody:
80
76
  self._backup_url = None
81
77
  self._schema = None
82
78
  self._search_timeout = None
83
- self._allow_local_user = None
84
79
  self.discriminator = None
85
80
 
86
81
  self.url = url
@@ -99,14 +94,12 @@ class CreateLdapConfigRequestBody:
99
94
  self.schema = schema
100
95
  if search_timeout is not None:
101
96
  self.search_timeout = search_timeout
102
- if allow_local_user is not None:
103
- self.allow_local_user = allow_local_user
104
97
 
105
98
  @property
106
99
  def url(self):
107
100
  r"""Gets the url of this CreateLdapConfigRequestBody.
108
101
 
109
- ldap服务器的url,固定格式为 ldap://{ip_address}:{port_number} 或 ldaps://{ip_address}:{port_number},例如ldap://192.168.xx.xx:60000
102
+ LDAP服务器的url,固定格式为 ldap://{ip_address}:{port_number} 或 ldaps://{ip_address}:{port_number},例如ldap://192.168.xx.xx:60000
110
103
 
111
104
  :return: The url of this CreateLdapConfigRequestBody.
112
105
  :rtype: str
@@ -117,7 +110,7 @@ class CreateLdapConfigRequestBody:
117
110
  def url(self, url):
118
111
  r"""Sets the url of this CreateLdapConfigRequestBody.
119
112
 
120
- ldap服务器的url,固定格式为 ldap://{ip_address}:{port_number} 或 ldaps://{ip_address}:{port_number},例如ldap://192.168.xx.xx:60000
113
+ LDAP服务器的url,固定格式为 ldap://{ip_address}:{port_number} 或 ldaps://{ip_address}:{port_number},例如ldap://192.168.xx.xx:60000
121
114
 
122
115
  :param url: The url of this CreateLdapConfigRequestBody.
123
116
  :type url: str
@@ -172,7 +165,7 @@ class CreateLdapConfigRequestBody:
172
165
  def password(self):
173
166
  r"""Gets the password of this CreateLdapConfigRequestBody.
174
167
 
175
- ldap认证密码
168
+ LDAP认证密码
176
169
 
177
170
  :return: The password of this CreateLdapConfigRequestBody.
178
171
  :rtype: str
@@ -183,7 +176,7 @@ class CreateLdapConfigRequestBody:
183
176
  def password(self, password):
184
177
  r"""Sets the password of this CreateLdapConfigRequestBody.
185
178
 
186
- ldap认证密码
179
+ LDAP认证密码
187
180
 
188
181
  :param password: The password of this CreateLdapConfigRequestBody.
189
182
  :type password: str
@@ -194,7 +187,7 @@ class CreateLdapConfigRequestBody:
194
187
  def vpc_id(self):
195
188
  r"""Gets the vpc_id of this CreateLdapConfigRequestBody.
196
189
 
197
- 一般不涉及。仅在SFSTurbo支持多VPC的场景下,需要指定LDAP服务器可连通的VPC的id。
190
+ 一般不涉及。仅在SFS Turbo支持多VPC的场景下,需要指定LDAP服务器可连通的VPC的id。
198
191
 
199
192
  :return: The vpc_id of this CreateLdapConfigRequestBody.
200
193
  :rtype: str
@@ -205,7 +198,7 @@ class CreateLdapConfigRequestBody:
205
198
  def vpc_id(self, vpc_id):
206
199
  r"""Sets the vpc_id of this CreateLdapConfigRequestBody.
207
200
 
208
- 一般不涉及。仅在SFSTurbo支持多VPC的场景下,需要指定LDAP服务器可连通的VPC的id。
201
+ 一般不涉及。仅在SFS Turbo支持多VPC的场景下,需要指定LDAP服务器可连通的VPC的id。
209
202
 
210
203
  :param vpc_id: The vpc_id of this CreateLdapConfigRequestBody.
211
204
  :type vpc_id: str
@@ -238,7 +231,7 @@ class CreateLdapConfigRequestBody:
238
231
  def backup_url(self):
239
232
  r"""Gets the backup_url of this CreateLdapConfigRequestBody.
240
233
 
241
- ldap备节点的url,固定格式为 ldap://{ip_address}:{port_number} 或 ldaps://{ip_address}:{port_number},例如ldap://192.168.xx.xx:60000
234
+ LDAP备节点的url,固定格式为 ldap://{ip_address}:{port_number} 或 ldaps://{ip_address}:{port_number},例如ldap://192.168.xx.xx:60000
242
235
 
243
236
  :return: The backup_url of this CreateLdapConfigRequestBody.
244
237
  :rtype: str
@@ -249,7 +242,7 @@ class CreateLdapConfigRequestBody:
249
242
  def backup_url(self, backup_url):
250
243
  r"""Sets the backup_url of this CreateLdapConfigRequestBody.
251
244
 
252
- ldap备节点的url,固定格式为 ldap://{ip_address}:{port_number} 或 ldaps://{ip_address}:{port_number},例如ldap://192.168.xx.xx:60000
245
+ LDAP备节点的url,固定格式为 ldap://{ip_address}:{port_number} 或 ldaps://{ip_address}:{port_number},例如ldap://192.168.xx.xx:60000
253
246
 
254
247
  :param backup_url: The backup_url of this CreateLdapConfigRequestBody.
255
248
  :type backup_url: str
@@ -260,7 +253,7 @@ class CreateLdapConfigRequestBody:
260
253
  def schema(self):
261
254
  r"""Gets the schema of this CreateLdapConfigRequestBody.
262
255
 
263
- ldap的schema,不填写则默认为RFC2307
256
+ LDAP的schema,不填写则默认为RFC2307
264
257
 
265
258
  :return: The schema of this CreateLdapConfigRequestBody.
266
259
  :rtype: str
@@ -271,7 +264,7 @@ class CreateLdapConfigRequestBody:
271
264
  def schema(self, schema):
272
265
  r"""Sets the schema of this CreateLdapConfigRequestBody.
273
266
 
274
- ldap的schema,不填写则默认为RFC2307
267
+ LDAP的schema,不填写则默认为RFC2307
275
268
 
276
269
  :param schema: The schema of this CreateLdapConfigRequestBody.
277
270
  :type schema: str
@@ -282,7 +275,7 @@ class CreateLdapConfigRequestBody:
282
275
  def search_timeout(self):
283
276
  r"""Gets the search_timeout of this CreateLdapConfigRequestBody.
284
277
 
285
- ldap搜索的超时时间,单位为秒。不填写则默认为3秒
278
+ LDAP搜索的超时时间,单位为秒。不填写则默认为3秒
286
279
 
287
280
  :return: The search_timeout of this CreateLdapConfigRequestBody.
288
281
  :rtype: int
@@ -293,35 +286,13 @@ class CreateLdapConfigRequestBody:
293
286
  def search_timeout(self, search_timeout):
294
287
  r"""Sets the search_timeout of this CreateLdapConfigRequestBody.
295
288
 
296
- ldap搜索的超时时间,单位为秒。不填写则默认为3秒
289
+ LDAP搜索的超时时间,单位为秒。不填写则默认为3秒
297
290
 
298
291
  :param search_timeout: The search_timeout of this CreateLdapConfigRequestBody.
299
292
  :type search_timeout: int
300
293
  """
301
294
  self._search_timeout = search_timeout
302
295
 
303
- @property
304
- def allow_local_user(self):
305
- r"""Gets the allow_local_user of this CreateLdapConfigRequestBody.
306
-
307
- 访问ldap服务器失败后是否允许使用本地用户鉴权
308
-
309
- :return: The allow_local_user of this CreateLdapConfigRequestBody.
310
- :rtype: str
311
- """
312
- return self._allow_local_user
313
-
314
- @allow_local_user.setter
315
- def allow_local_user(self, allow_local_user):
316
- r"""Sets the allow_local_user of this CreateLdapConfigRequestBody.
317
-
318
- 访问ldap服务器失败后是否允许使用本地用户鉴权
319
-
320
- :param allow_local_user: The allow_local_user of this CreateLdapConfigRequestBody.
321
- :type allow_local_user: str
322
- """
323
- self._allow_local_user = allow_local_user
324
-
325
296
  def to_dict(self):
326
297
  """Returns the model properties as a dict"""
327
298
  result = {}
@@ -18,35 +18,42 @@ class CreateLdapConfigResponse(SdkResponse):
18
18
  sensitive_list = []
19
19
 
20
20
  openapi_types = {
21
- 'job_id': 'str'
21
+ 'job_id': 'str',
22
+ 'x_request_id': 'str'
22
23
  }
23
24
 
24
25
  attribute_map = {
25
- 'job_id': 'jobId'
26
+ 'job_id': 'jobId',
27
+ 'x_request_id': 'X-request-id'
26
28
  }
27
29
 
28
- def __init__(self, job_id=None):
30
+ def __init__(self, job_id=None, x_request_id=None):
29
31
  r"""CreateLdapConfigResponse
30
32
 
31
33
  The model defined in huaweicloud sdk
32
34
 
33
- :param job_id: ldap异步任务的id。可通过查询job的状态详情接口查询job的执行状态。
35
+ :param job_id: LDAP异步任务的id。可通过查询job的状态详情接口查询job的执行状态。
34
36
  :type job_id: str
37
+ :param x_request_id:
38
+ :type x_request_id: str
35
39
  """
36
40
 
37
41
  super(CreateLdapConfigResponse, self).__init__()
38
42
 
39
43
  self._job_id = None
44
+ self._x_request_id = None
40
45
  self.discriminator = None
41
46
 
42
47
  if job_id is not None:
43
48
  self.job_id = job_id
49
+ if x_request_id is not None:
50
+ self.x_request_id = x_request_id
44
51
 
45
52
  @property
46
53
  def job_id(self):
47
54
  r"""Gets the job_id of this CreateLdapConfigResponse.
48
55
 
49
- ldap异步任务的id。可通过查询job的状态详情接口查询job的执行状态。
56
+ LDAP异步任务的id。可通过查询job的状态详情接口查询job的执行状态。
50
57
 
51
58
  :return: The job_id of this CreateLdapConfigResponse.
52
59
  :rtype: str
@@ -57,13 +64,31 @@ class CreateLdapConfigResponse(SdkResponse):
57
64
  def job_id(self, job_id):
58
65
  r"""Sets the job_id of this CreateLdapConfigResponse.
59
66
 
60
- ldap异步任务的id。可通过查询job的状态详情接口查询job的执行状态。
67
+ LDAP异步任务的id。可通过查询job的状态详情接口查询job的执行状态。
61
68
 
62
69
  :param job_id: The job_id of this CreateLdapConfigResponse.
63
70
  :type job_id: str
64
71
  """
65
72
  self._job_id = job_id
66
73
 
74
+ @property
75
+ def x_request_id(self):
76
+ r"""Gets the x_request_id of this CreateLdapConfigResponse.
77
+
78
+ :return: The x_request_id of this CreateLdapConfigResponse.
79
+ :rtype: str
80
+ """
81
+ return self._x_request_id
82
+
83
+ @x_request_id.setter
84
+ def x_request_id(self, x_request_id):
85
+ r"""Sets the x_request_id of this CreateLdapConfigResponse.
86
+
87
+ :param x_request_id: The x_request_id of this CreateLdapConfigResponse.
88
+ :type x_request_id: str
89
+ """
90
+ self._x_request_id = x_request_id
91
+
67
92
  def to_dict(self):
68
93
  """Returns the model properties as a dict"""
69
94
  result = {}
@@ -31,7 +31,7 @@ class CreatePermRuleRequest:
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 body: Body of the CreatePermRuleRequest
37
37
  :type body: :class:`huaweicloudsdksfsturbo.v1.CreatePermRulesRequestBody`
@@ -51,7 +51,7 @@ class CreatePermRuleRequest:
51
51
  def share_id(self):
52
52
  r"""Gets the share_id of this CreatePermRuleRequest.
53
53
 
54
- 文件系统id
54
+ 文件系统ID
55
55
 
56
56
  :return: The share_id of this CreatePermRuleRequest.
57
57
  :rtype: str
@@ -62,7 +62,7 @@ class CreatePermRuleRequest:
62
62
  def share_id(self, share_id):
63
63
  r"""Sets the share_id of this CreatePermRuleRequest.
64
64
 
65
- 文件系统id
65
+ 文件系统ID
66
66
 
67
67
  :param share_id: The share_id of this CreatePermRuleRequest.
68
68
  :type share_id: 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 DeleteActiveDirectoryDomainRequest:
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': 'DeleteActiveDirectoryDomainRequestBody'
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"""DeleteActiveDirectoryDomainRequest
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 DeleteActiveDirectoryDomainRequest
37
+ :type body: :class:`huaweicloudsdksfsturbo.v1.DeleteActiveDirectoryDomainRequestBody`
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 DeleteActiveDirectoryDomainRequest.
53
+
54
+ 文件系统ID
55
+
56
+ :return: The share_id of this DeleteActiveDirectoryDomainRequest.
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 DeleteActiveDirectoryDomainRequest.
64
+
65
+ 文件系统ID
66
+
67
+ :param share_id: The share_id of this DeleteActiveDirectoryDomainRequest.
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 DeleteActiveDirectoryDomainRequest.
75
+
76
+ :return: The body of this DeleteActiveDirectoryDomainRequest.
77
+ :rtype: :class:`huaweicloudsdksfsturbo.v1.DeleteActiveDirectoryDomainRequestBody`
78
+ """
79
+ return self._body
80
+
81
+ @body.setter
82
+ def body(self, body):
83
+ r"""Sets the body of this DeleteActiveDirectoryDomainRequest.
84
+
85
+ :param body: The body of this DeleteActiveDirectoryDomainRequest.
86
+ :type body: :class:`huaweicloudsdksfsturbo.v1.DeleteActiveDirectoryDomainRequestBody`
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, DeleteActiveDirectoryDomainRequest):
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
@@ -0,0 +1,142 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class DeleteActiveDirectoryDomainRequestBody:
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
+ 'service_account': 'str',
21
+ 'password': 'str'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'service_account': 'service_account',
26
+ 'password': 'password'
27
+ }
28
+
29
+ def __init__(self, service_account=None, password=None):
30
+ r"""DeleteActiveDirectoryDomainRequestBody
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param service_account: 服务账号,在创建域服务器时指定,一般默认为administrator
35
+ :type service_account: str
36
+ :param password: 账号对应密码
37
+ :type password: str
38
+ """
39
+
40
+
41
+
42
+ self._service_account = None
43
+ self._password = None
44
+ self.discriminator = None
45
+
46
+ self.service_account = service_account
47
+ self.password = password
48
+
49
+ @property
50
+ def service_account(self):
51
+ r"""Gets the service_account of this DeleteActiveDirectoryDomainRequestBody.
52
+
53
+ 服务账号,在创建域服务器时指定,一般默认为administrator
54
+
55
+ :return: The service_account of this DeleteActiveDirectoryDomainRequestBody.
56
+ :rtype: str
57
+ """
58
+ return self._service_account
59
+
60
+ @service_account.setter
61
+ def service_account(self, service_account):
62
+ r"""Sets the service_account of this DeleteActiveDirectoryDomainRequestBody.
63
+
64
+ 服务账号,在创建域服务器时指定,一般默认为administrator
65
+
66
+ :param service_account: The service_account of this DeleteActiveDirectoryDomainRequestBody.
67
+ :type service_account: str
68
+ """
69
+ self._service_account = service_account
70
+
71
+ @property
72
+ def password(self):
73
+ r"""Gets the password of this DeleteActiveDirectoryDomainRequestBody.
74
+
75
+ 账号对应密码
76
+
77
+ :return: The password of this DeleteActiveDirectoryDomainRequestBody.
78
+ :rtype: str
79
+ """
80
+ return self._password
81
+
82
+ @password.setter
83
+ def password(self, password):
84
+ r"""Sets the password of this DeleteActiveDirectoryDomainRequestBody.
85
+
86
+ 账号对应密码
87
+
88
+ :param password: The password of this DeleteActiveDirectoryDomainRequestBody.
89
+ :type password: str
90
+ """
91
+ self._password = password
92
+
93
+ def to_dict(self):
94
+ """Returns the model properties as a dict"""
95
+ result = {}
96
+
97
+ for attr, _ in six.iteritems(self.openapi_types):
98
+ value = getattr(self, attr)
99
+ if isinstance(value, list):
100
+ result[attr] = list(map(
101
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
102
+ value
103
+ ))
104
+ elif hasattr(value, "to_dict"):
105
+ result[attr] = value.to_dict()
106
+ elif isinstance(value, dict):
107
+ result[attr] = dict(map(
108
+ lambda item: (item[0], item[1].to_dict())
109
+ if hasattr(item[1], "to_dict") else item,
110
+ value.items()
111
+ ))
112
+ else:
113
+ if attr in self.sensitive_list:
114
+ result[attr] = "****"
115
+ else:
116
+ result[attr] = value
117
+
118
+ return result
119
+
120
+ def to_str(self):
121
+ """Returns the string representation of the model"""
122
+ import simplejson as json
123
+ if six.PY2:
124
+ import sys
125
+ reload(sys)
126
+ sys.setdefaultencoding("utf-8")
127
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
128
+
129
+ def __repr__(self):
130
+ """For `print`"""
131
+ return self.to_str()
132
+
133
+ def __eq__(self, other):
134
+ """Returns true if both objects are equal"""
135
+ if not isinstance(other, DeleteActiveDirectoryDomainRequestBody):
136
+ return False
137
+
138
+ return self.__dict__ == other.__dict__
139
+
140
+ def __ne__(self, other):
141
+ """Returns true if both objects are not equal"""
142
+ return not self == other