huaweicloudsdksfsturbo 3.1.157__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.
- huaweicloudsdksfsturbo/v1/__init__.py +32 -0
- huaweicloudsdksfsturbo/v1/model/__init__.py +32 -0
- huaweicloudsdksfsturbo/v1/model/add_active_directory_domain_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/add_active_directory_domain_request_body.py +313 -0
- huaweicloudsdksfsturbo/v1/model/add_active_directory_domain_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/auto_export_policy.py +61 -3
- huaweicloudsdksfsturbo/v1/model/batch_add_shared_tags_request_body.py +7 -37
- huaweicloudsdksfsturbo/v1/model/bss_info.py +6 -6
- huaweicloudsdksfsturbo/v1/model/change_share_charge_mode_request_body.py +110 -0
- huaweicloudsdksfsturbo/v1/model/change_share_charge_mode_v2_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/change_share_charge_mode_v2_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/client_ip_info.py +115 -0
- huaweicloudsdksfsturbo/v1/model/create_backend_target_request_body.py +3 -3
- huaweicloudsdksfsturbo/v1/model/create_backend_target_response.py +3 -3
- huaweicloudsdksfsturbo/v1/model/create_fs_dir_quota_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/create_fs_dir_quota_request_body.py +6 -6
- huaweicloudsdksfsturbo/v1/model/create_fs_dir_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/create_fs_task_response.py +28 -3
- huaweicloudsdksfsturbo/v1/model/create_hpc_cache_task_req.py +3 -3
- huaweicloudsdksfsturbo/v1/model/create_ldap_config_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/create_ldap_config_request_body.py +21 -50
- huaweicloudsdksfsturbo/v1/model/create_ldap_config_response.py +31 -6
- huaweicloudsdksfsturbo/v1/model/create_perm_rule_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/delete_active_directory_domain_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/delete_active_directory_domain_request_body.py +142 -0
- huaweicloudsdksfsturbo/v1/model/delete_active_directory_domain_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/delete_backend_target_request.py +6 -6
- huaweicloudsdksfsturbo/v1/model/delete_backend_target_response.py +3 -3
- huaweicloudsdksfsturbo/v1/model/delete_fs_dir_quota_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/delete_fs_dir_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/delete_fs_task_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/delete_fs_task_response.py +28 -1
- huaweicloudsdksfsturbo/v1/model/delete_ldap_config_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/delete_ldap_config_response.py +31 -6
- huaweicloudsdksfsturbo/v1/model/delete_perm_rule_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/delete_shared_tag_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/extend.py +6 -6
- huaweicloudsdksfsturbo/v1/model/get_sub_job_detail.py +21 -21
- huaweicloudsdksfsturbo/v1/model/list_backend_targets_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/list_fs_tasks_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/list_fs_tasks_response.py +28 -3
- huaweicloudsdksfsturbo/v1/model/list_hpc_cache_tasks_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/list_perm_rules_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/list_share_types_request.py +144 -0
- huaweicloudsdksfsturbo/v1/model/list_share_types_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_request_body.py +1 -2
- huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_response.py +3 -3
- huaweicloudsdksfsturbo/v1/model/one_perm_rule_request_info.py +9 -12
- huaweicloudsdksfsturbo/v1/model/one_perm_rule_response_info.py +6 -6
- huaweicloudsdksfsturbo/v1/model/resource_tag.py +6 -6
- huaweicloudsdksfsturbo/v1/model/share.py +15 -15
- huaweicloudsdksfsturbo/v1/model/share_info.py +6 -6
- huaweicloudsdksfsturbo/v1/model/share_type_available_zone.py +144 -0
- huaweicloudsdksfsturbo/v1/model/share_type_response_body.py +368 -0
- huaweicloudsdksfsturbo/v1/model/share_type_usage.py +161 -0
- huaweicloudsdksfsturbo/v1/model/share_type_usage_bandwidth.py +144 -0
- huaweicloudsdksfsturbo/v1/model/share_type_usage_capacity.py +144 -0
- huaweicloudsdksfsturbo/v1/model/share_type_usage_quantity.py +144 -0
- huaweicloudsdksfsturbo/v1/model/share_types_attribution.py +186 -0
- huaweicloudsdksfsturbo/v1/model/share_types_attribution_bandwidth.py +231 -0
- huaweicloudsdksfsturbo/v1/model/share_types_attribution_capacity.py +173 -0
- huaweicloudsdksfsturbo/v1/model/share_types_attribution_iops.py +144 -0
- huaweicloudsdksfsturbo/v1/model/share_types_attribution_single_channel4_k_latency.py +144 -0
- huaweicloudsdksfsturbo/v1/model/show_active_directory_domain_request.py +114 -0
- huaweicloudsdksfsturbo/v1/model/show_active_directory_domain_response.py +286 -0
- huaweicloudsdksfsturbo/v1/model/show_backend_target_info_response.py +3 -3
- huaweicloudsdksfsturbo/v1/model/show_backend_target_info_response_body.py +3 -3
- huaweicloudsdksfsturbo/v1/model/show_client_ip_info_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/show_client_ip_info_request_body.py +110 -0
- huaweicloudsdksfsturbo/v1/model/show_client_ip_info_response.py +170 -0
- huaweicloudsdksfsturbo/v1/model/show_fs_dir_quota_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/show_fs_dir_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/show_fs_dir_usage_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/show_fs_task_response.py +28 -3
- huaweicloudsdksfsturbo/v1/model/show_job_detail_response.py +18 -18
- huaweicloudsdksfsturbo/v1/model/show_ldap_config_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/show_ldap_config_response.py +59 -34
- huaweicloudsdksfsturbo/v1/model/show_perm_rule_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/show_perm_rule_response.py +6 -6
- huaweicloudsdksfsturbo/v1/model/show_share_response.py +6 -6
- huaweicloudsdksfsturbo/v1/model/show_shared_tags_response.py +3 -32
- huaweicloudsdksfsturbo/v1/model/tag.py +3 -3
- huaweicloudsdksfsturbo/v1/model/update_active_directory_domain_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/update_active_directory_domain_request_body.py +313 -0
- huaweicloudsdksfsturbo/v1/model/update_active_directory_domain_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/update_fs_dir_quota_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/update_fs_dir_quota_request_body.py +6 -6
- huaweicloudsdksfsturbo/v1/model/update_hpc_share_request_body.py +3 -3
- huaweicloudsdksfsturbo/v1/model/update_ldap_config_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/update_ldap_config_request_body.py +18 -47
- huaweicloudsdksfsturbo/v1/model/update_ldap_config_response.py +31 -6
- huaweicloudsdksfsturbo/v1/model/update_obs_target_attributes_request.py +6 -6
- huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_request.py +6 -6
- huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_response.py +3 -3
- huaweicloudsdksfsturbo/v1/model/update_one_perm_rule_request_info.py +144 -0
- huaweicloudsdksfsturbo/v1/model/update_perm_rule_request.py +7 -7
- huaweicloudsdksfsturbo/v1/model/update_perm_rule_response.py +6 -6
- huaweicloudsdksfsturbo/v1/region/sfsturbo_region.py +3 -0
- huaweicloudsdksfsturbo/v1/sfsturbo_async_client.py +492 -41
- huaweicloudsdksfsturbo/v1/sfsturbo_client.py +492 -41
- {huaweicloudsdksfsturbo-3.1.157.dist-info → huaweicloudsdksfsturbo-3.1.158.dist-info}/METADATA +2 -2
- {huaweicloudsdksfsturbo-3.1.157.dist-info → huaweicloudsdksfsturbo-3.1.158.dist-info}/RECORD +105 -73
- {huaweicloudsdksfsturbo-3.1.157.dist-info → huaweicloudsdksfsturbo-3.1.158.dist-info}/LICENSE +0 -0
- {huaweicloudsdksfsturbo-3.1.157.dist-info → huaweicloudsdksfsturbo-3.1.158.dist-info}/WHEEL +0 -0
- {huaweicloudsdksfsturbo-3.1.157.dist-info → huaweicloudsdksfsturbo-3.1.158.dist-info}/top_level.txt +0 -0
@@ -6,6 +6,9 @@ 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.add_active_directory_domain_request import AddActiveDirectoryDomainRequest
|
10
|
+
from huaweicloudsdksfsturbo.v1.model.add_active_directory_domain_request_body import AddActiveDirectoryDomainRequestBody
|
11
|
+
from huaweicloudsdksfsturbo.v1.model.add_active_directory_domain_response import AddActiveDirectoryDomainResponse
|
9
12
|
from huaweicloudsdksfsturbo.v1.model.auto_export_policy import AutoExportPolicy
|
10
13
|
from huaweicloudsdksfsturbo.v1.model.batch_add_shared_tags_request import BatchAddSharedTagsRequest
|
11
14
|
from huaweicloudsdksfsturbo.v1.model.batch_add_shared_tags_request_body import BatchAddSharedTagsRequestBody
|
@@ -16,9 +19,13 @@ from huaweicloudsdksfsturbo.v1.model.change_security_group import ChangeSecurity
|
|
16
19
|
from huaweicloudsdksfsturbo.v1.model.change_security_group_request import ChangeSecurityGroupRequest
|
17
20
|
from huaweicloudsdksfsturbo.v1.model.change_security_group_request_body import ChangeSecurityGroupRequestBody
|
18
21
|
from huaweicloudsdksfsturbo.v1.model.change_security_group_response import ChangeSecurityGroupResponse
|
22
|
+
from huaweicloudsdksfsturbo.v1.model.change_share_charge_mode_request_body import ChangeShareChargeModeRequestBody
|
23
|
+
from huaweicloudsdksfsturbo.v1.model.change_share_charge_mode_v2_request import ChangeShareChargeModeV2Request
|
24
|
+
from huaweicloudsdksfsturbo.v1.model.change_share_charge_mode_v2_response import ChangeShareChargeModeV2Response
|
19
25
|
from huaweicloudsdksfsturbo.v1.model.change_share_name_req import ChangeShareNameReq
|
20
26
|
from huaweicloudsdksfsturbo.v1.model.change_share_name_request import ChangeShareNameRequest
|
21
27
|
from huaweicloudsdksfsturbo.v1.model.change_share_name_response import ChangeShareNameResponse
|
28
|
+
from huaweicloudsdksfsturbo.v1.model.client_ip_info import ClientIpInfo
|
22
29
|
from huaweicloudsdksfsturbo.v1.model.config_nas_target import ConfigNasTarget
|
23
30
|
from huaweicloudsdksfsturbo.v1.model.create_backend_target_request import CreateBackendTargetRequest
|
24
31
|
from huaweicloudsdksfsturbo.v1.model.create_backend_target_request_body import CreateBackendTargetRequestBody
|
@@ -46,6 +53,9 @@ from huaweicloudsdksfsturbo.v1.model.create_share_response import CreateShareRes
|
|
46
53
|
from huaweicloudsdksfsturbo.v1.model.create_shared_tag_request import CreateSharedTagRequest
|
47
54
|
from huaweicloudsdksfsturbo.v1.model.create_shared_tag_request_body import CreateSharedTagRequestBody
|
48
55
|
from huaweicloudsdksfsturbo.v1.model.create_shared_tag_response import CreateSharedTagResponse
|
56
|
+
from huaweicloudsdksfsturbo.v1.model.delete_active_directory_domain_request import DeleteActiveDirectoryDomainRequest
|
57
|
+
from huaweicloudsdksfsturbo.v1.model.delete_active_directory_domain_request_body import DeleteActiveDirectoryDomainRequestBody
|
58
|
+
from huaweicloudsdksfsturbo.v1.model.delete_active_directory_domain_response import DeleteActiveDirectoryDomainResponse
|
49
59
|
from huaweicloudsdksfsturbo.v1.model.delete_backend_target_request import DeleteBackendTargetRequest
|
50
60
|
from huaweicloudsdksfsturbo.v1.model.delete_backend_target_response import DeleteBackendTargetResponse
|
51
61
|
from huaweicloudsdksfsturbo.v1.model.delete_fs_dir_quota_request import DeleteFsDirQuotaRequest
|
@@ -84,6 +94,8 @@ from huaweicloudsdksfsturbo.v1.model.list_hpc_cache_tasks_request import ListHpc
|
|
84
94
|
from huaweicloudsdksfsturbo.v1.model.list_hpc_cache_tasks_response import ListHpcCacheTasksResponse
|
85
95
|
from huaweicloudsdksfsturbo.v1.model.list_perm_rules_request import ListPermRulesRequest
|
86
96
|
from huaweicloudsdksfsturbo.v1.model.list_perm_rules_response import ListPermRulesResponse
|
97
|
+
from huaweicloudsdksfsturbo.v1.model.list_share_types_request import ListShareTypesRequest
|
98
|
+
from huaweicloudsdksfsturbo.v1.model.list_share_types_response import ListShareTypesResponse
|
87
99
|
from huaweicloudsdksfsturbo.v1.model.list_shared_tags_request import ListSharedTagsRequest
|
88
100
|
from huaweicloudsdksfsturbo.v1.model.list_shared_tags_response import ListSharedTagsResponse
|
89
101
|
from huaweicloudsdksfsturbo.v1.model.list_shares_by_tag_request import ListSharesByTagRequest
|
@@ -111,9 +123,25 @@ from huaweicloudsdksfsturbo.v1.model.share_info import ShareInfo
|
|
111
123
|
from huaweicloudsdksfsturbo.v1.model.share_info_feature import ShareInfoFeature
|
112
124
|
from huaweicloudsdksfsturbo.v1.model.share_info_features import ShareInfoFeatures
|
113
125
|
from huaweicloudsdksfsturbo.v1.model.share_name import ShareName
|
126
|
+
from huaweicloudsdksfsturbo.v1.model.share_type_available_zone import ShareTypeAvailableZone
|
127
|
+
from huaweicloudsdksfsturbo.v1.model.share_type_response_body import ShareTypeResponseBody
|
128
|
+
from huaweicloudsdksfsturbo.v1.model.share_type_usage import ShareTypeUsage
|
129
|
+
from huaweicloudsdksfsturbo.v1.model.share_type_usage_bandwidth import ShareTypeUsageBandwidth
|
130
|
+
from huaweicloudsdksfsturbo.v1.model.share_type_usage_capacity import ShareTypeUsageCapacity
|
131
|
+
from huaweicloudsdksfsturbo.v1.model.share_type_usage_quantity import ShareTypeUsageQuantity
|
132
|
+
from huaweicloudsdksfsturbo.v1.model.share_types_attribution import ShareTypesAttribution
|
133
|
+
from huaweicloudsdksfsturbo.v1.model.share_types_attribution_bandwidth import ShareTypesAttributionBandwidth
|
134
|
+
from huaweicloudsdksfsturbo.v1.model.share_types_attribution_capacity import ShareTypesAttributionCapacity
|
135
|
+
from huaweicloudsdksfsturbo.v1.model.share_types_attribution_iops import ShareTypesAttributionIops
|
136
|
+
from huaweicloudsdksfsturbo.v1.model.share_types_attribution_single_channel4_k_latency import ShareTypesAttributionSingleChannel4KLatency
|
137
|
+
from huaweicloudsdksfsturbo.v1.model.show_active_directory_domain_request import ShowActiveDirectoryDomainRequest
|
138
|
+
from huaweicloudsdksfsturbo.v1.model.show_active_directory_domain_response import ShowActiveDirectoryDomainResponse
|
114
139
|
from huaweicloudsdksfsturbo.v1.model.show_backend_target_info_request import ShowBackendTargetInfoRequest
|
115
140
|
from huaweicloudsdksfsturbo.v1.model.show_backend_target_info_response import ShowBackendTargetInfoResponse
|
116
141
|
from huaweicloudsdksfsturbo.v1.model.show_backend_target_info_response_body import ShowBackendTargetInfoResponseBody
|
142
|
+
from huaweicloudsdksfsturbo.v1.model.show_client_ip_info_request import ShowClientIpInfoRequest
|
143
|
+
from huaweicloudsdksfsturbo.v1.model.show_client_ip_info_request_body import ShowClientIpInfoRequestBody
|
144
|
+
from huaweicloudsdksfsturbo.v1.model.show_client_ip_info_response import ShowClientIpInfoResponse
|
117
145
|
from huaweicloudsdksfsturbo.v1.model.show_fs_dir_quota_request import ShowFsDirQuotaRequest
|
118
146
|
from huaweicloudsdksfsturbo.v1.model.show_fs_dir_quota_response import ShowFsDirQuotaResponse
|
119
147
|
from huaweicloudsdksfsturbo.v1.model.show_fs_dir_request import ShowFsDirRequest
|
@@ -135,6 +163,9 @@ from huaweicloudsdksfsturbo.v1.model.show_share_response import ShowShareRespons
|
|
135
163
|
from huaweicloudsdksfsturbo.v1.model.show_shared_tags_request import ShowSharedTagsRequest
|
136
164
|
from huaweicloudsdksfsturbo.v1.model.show_shared_tags_response import ShowSharedTagsResponse
|
137
165
|
from huaweicloudsdksfsturbo.v1.model.tag import Tag
|
166
|
+
from huaweicloudsdksfsturbo.v1.model.update_active_directory_domain_request import UpdateActiveDirectoryDomainRequest
|
167
|
+
from huaweicloudsdksfsturbo.v1.model.update_active_directory_domain_request_body import UpdateActiveDirectoryDomainRequestBody
|
168
|
+
from huaweicloudsdksfsturbo.v1.model.update_active_directory_domain_response import UpdateActiveDirectoryDomainResponse
|
138
169
|
from huaweicloudsdksfsturbo.v1.model.update_fs_dir_quota_request import UpdateFsDirQuotaRequest
|
139
170
|
from huaweicloudsdksfsturbo.v1.model.update_fs_dir_quota_request_body import UpdateFsDirQuotaRequestBody
|
140
171
|
from huaweicloudsdksfsturbo.v1.model.update_fs_dir_quota_response import UpdateFsDirQuotaResponse
|
@@ -150,6 +181,7 @@ from huaweicloudsdksfsturbo.v1.model.update_obs_target_attributes_response impor
|
|
150
181
|
from huaweicloudsdksfsturbo.v1.model.update_obs_target_policy_request import UpdateObsTargetPolicyRequest
|
151
182
|
from huaweicloudsdksfsturbo.v1.model.update_obs_target_policy_request_body import UpdateObsTargetPolicyRequestBody
|
152
183
|
from huaweicloudsdksfsturbo.v1.model.update_obs_target_policy_response import UpdateObsTargetPolicyResponse
|
184
|
+
from huaweicloudsdksfsturbo.v1.model.update_one_perm_rule_request_info import UpdateOnePermRuleRequestInfo
|
153
185
|
from huaweicloudsdksfsturbo.v1.model.update_perm_rule_request import UpdatePermRuleRequest
|
154
186
|
from huaweicloudsdksfsturbo.v1.model.update_perm_rule_response import UpdatePermRuleResponse
|
155
187
|
|
@@ -4,6 +4,9 @@ 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.add_active_directory_domain_request import AddActiveDirectoryDomainRequest
|
8
|
+
from huaweicloudsdksfsturbo.v1.model.add_active_directory_domain_request_body import AddActiveDirectoryDomainRequestBody
|
9
|
+
from huaweicloudsdksfsturbo.v1.model.add_active_directory_domain_response import AddActiveDirectoryDomainResponse
|
7
10
|
from huaweicloudsdksfsturbo.v1.model.auto_export_policy import AutoExportPolicy
|
8
11
|
from huaweicloudsdksfsturbo.v1.model.batch_add_shared_tags_request import BatchAddSharedTagsRequest
|
9
12
|
from huaweicloudsdksfsturbo.v1.model.batch_add_shared_tags_request_body import BatchAddSharedTagsRequestBody
|
@@ -14,9 +17,13 @@ from huaweicloudsdksfsturbo.v1.model.change_security_group import ChangeSecurity
|
|
14
17
|
from huaweicloudsdksfsturbo.v1.model.change_security_group_request import ChangeSecurityGroupRequest
|
15
18
|
from huaweicloudsdksfsturbo.v1.model.change_security_group_request_body import ChangeSecurityGroupRequestBody
|
16
19
|
from huaweicloudsdksfsturbo.v1.model.change_security_group_response import ChangeSecurityGroupResponse
|
20
|
+
from huaweicloudsdksfsturbo.v1.model.change_share_charge_mode_request_body import ChangeShareChargeModeRequestBody
|
21
|
+
from huaweicloudsdksfsturbo.v1.model.change_share_charge_mode_v2_request import ChangeShareChargeModeV2Request
|
22
|
+
from huaweicloudsdksfsturbo.v1.model.change_share_charge_mode_v2_response import ChangeShareChargeModeV2Response
|
17
23
|
from huaweicloudsdksfsturbo.v1.model.change_share_name_req import ChangeShareNameReq
|
18
24
|
from huaweicloudsdksfsturbo.v1.model.change_share_name_request import ChangeShareNameRequest
|
19
25
|
from huaweicloudsdksfsturbo.v1.model.change_share_name_response import ChangeShareNameResponse
|
26
|
+
from huaweicloudsdksfsturbo.v1.model.client_ip_info import ClientIpInfo
|
20
27
|
from huaweicloudsdksfsturbo.v1.model.config_nas_target import ConfigNasTarget
|
21
28
|
from huaweicloudsdksfsturbo.v1.model.create_backend_target_request import CreateBackendTargetRequest
|
22
29
|
from huaweicloudsdksfsturbo.v1.model.create_backend_target_request_body import CreateBackendTargetRequestBody
|
@@ -44,6 +51,9 @@ from huaweicloudsdksfsturbo.v1.model.create_share_response import CreateShareRes
|
|
44
51
|
from huaweicloudsdksfsturbo.v1.model.create_shared_tag_request import CreateSharedTagRequest
|
45
52
|
from huaweicloudsdksfsturbo.v1.model.create_shared_tag_request_body import CreateSharedTagRequestBody
|
46
53
|
from huaweicloudsdksfsturbo.v1.model.create_shared_tag_response import CreateSharedTagResponse
|
54
|
+
from huaweicloudsdksfsturbo.v1.model.delete_active_directory_domain_request import DeleteActiveDirectoryDomainRequest
|
55
|
+
from huaweicloudsdksfsturbo.v1.model.delete_active_directory_domain_request_body import DeleteActiveDirectoryDomainRequestBody
|
56
|
+
from huaweicloudsdksfsturbo.v1.model.delete_active_directory_domain_response import DeleteActiveDirectoryDomainResponse
|
47
57
|
from huaweicloudsdksfsturbo.v1.model.delete_backend_target_request import DeleteBackendTargetRequest
|
48
58
|
from huaweicloudsdksfsturbo.v1.model.delete_backend_target_response import DeleteBackendTargetResponse
|
49
59
|
from huaweicloudsdksfsturbo.v1.model.delete_fs_dir_quota_request import DeleteFsDirQuotaRequest
|
@@ -82,6 +92,8 @@ from huaweicloudsdksfsturbo.v1.model.list_hpc_cache_tasks_request import ListHpc
|
|
82
92
|
from huaweicloudsdksfsturbo.v1.model.list_hpc_cache_tasks_response import ListHpcCacheTasksResponse
|
83
93
|
from huaweicloudsdksfsturbo.v1.model.list_perm_rules_request import ListPermRulesRequest
|
84
94
|
from huaweicloudsdksfsturbo.v1.model.list_perm_rules_response import ListPermRulesResponse
|
95
|
+
from huaweicloudsdksfsturbo.v1.model.list_share_types_request import ListShareTypesRequest
|
96
|
+
from huaweicloudsdksfsturbo.v1.model.list_share_types_response import ListShareTypesResponse
|
85
97
|
from huaweicloudsdksfsturbo.v1.model.list_shared_tags_request import ListSharedTagsRequest
|
86
98
|
from huaweicloudsdksfsturbo.v1.model.list_shared_tags_response import ListSharedTagsResponse
|
87
99
|
from huaweicloudsdksfsturbo.v1.model.list_shares_by_tag_request import ListSharesByTagRequest
|
@@ -109,9 +121,25 @@ from huaweicloudsdksfsturbo.v1.model.share_info import ShareInfo
|
|
109
121
|
from huaweicloudsdksfsturbo.v1.model.share_info_feature import ShareInfoFeature
|
110
122
|
from huaweicloudsdksfsturbo.v1.model.share_info_features import ShareInfoFeatures
|
111
123
|
from huaweicloudsdksfsturbo.v1.model.share_name import ShareName
|
124
|
+
from huaweicloudsdksfsturbo.v1.model.share_type_available_zone import ShareTypeAvailableZone
|
125
|
+
from huaweicloudsdksfsturbo.v1.model.share_type_response_body import ShareTypeResponseBody
|
126
|
+
from huaweicloudsdksfsturbo.v1.model.share_type_usage import ShareTypeUsage
|
127
|
+
from huaweicloudsdksfsturbo.v1.model.share_type_usage_bandwidth import ShareTypeUsageBandwidth
|
128
|
+
from huaweicloudsdksfsturbo.v1.model.share_type_usage_capacity import ShareTypeUsageCapacity
|
129
|
+
from huaweicloudsdksfsturbo.v1.model.share_type_usage_quantity import ShareTypeUsageQuantity
|
130
|
+
from huaweicloudsdksfsturbo.v1.model.share_types_attribution import ShareTypesAttribution
|
131
|
+
from huaweicloudsdksfsturbo.v1.model.share_types_attribution_bandwidth import ShareTypesAttributionBandwidth
|
132
|
+
from huaweicloudsdksfsturbo.v1.model.share_types_attribution_capacity import ShareTypesAttributionCapacity
|
133
|
+
from huaweicloudsdksfsturbo.v1.model.share_types_attribution_iops import ShareTypesAttributionIops
|
134
|
+
from huaweicloudsdksfsturbo.v1.model.share_types_attribution_single_channel4_k_latency import ShareTypesAttributionSingleChannel4KLatency
|
135
|
+
from huaweicloudsdksfsturbo.v1.model.show_active_directory_domain_request import ShowActiveDirectoryDomainRequest
|
136
|
+
from huaweicloudsdksfsturbo.v1.model.show_active_directory_domain_response import ShowActiveDirectoryDomainResponse
|
112
137
|
from huaweicloudsdksfsturbo.v1.model.show_backend_target_info_request import ShowBackendTargetInfoRequest
|
113
138
|
from huaweicloudsdksfsturbo.v1.model.show_backend_target_info_response import ShowBackendTargetInfoResponse
|
114
139
|
from huaweicloudsdksfsturbo.v1.model.show_backend_target_info_response_body import ShowBackendTargetInfoResponseBody
|
140
|
+
from huaweicloudsdksfsturbo.v1.model.show_client_ip_info_request import ShowClientIpInfoRequest
|
141
|
+
from huaweicloudsdksfsturbo.v1.model.show_client_ip_info_request_body import ShowClientIpInfoRequestBody
|
142
|
+
from huaweicloudsdksfsturbo.v1.model.show_client_ip_info_response import ShowClientIpInfoResponse
|
115
143
|
from huaweicloudsdksfsturbo.v1.model.show_fs_dir_quota_request import ShowFsDirQuotaRequest
|
116
144
|
from huaweicloudsdksfsturbo.v1.model.show_fs_dir_quota_response import ShowFsDirQuotaResponse
|
117
145
|
from huaweicloudsdksfsturbo.v1.model.show_fs_dir_request import ShowFsDirRequest
|
@@ -133,6 +161,9 @@ from huaweicloudsdksfsturbo.v1.model.show_share_response import ShowShareRespons
|
|
133
161
|
from huaweicloudsdksfsturbo.v1.model.show_shared_tags_request import ShowSharedTagsRequest
|
134
162
|
from huaweicloudsdksfsturbo.v1.model.show_shared_tags_response import ShowSharedTagsResponse
|
135
163
|
from huaweicloudsdksfsturbo.v1.model.tag import Tag
|
164
|
+
from huaweicloudsdksfsturbo.v1.model.update_active_directory_domain_request import UpdateActiveDirectoryDomainRequest
|
165
|
+
from huaweicloudsdksfsturbo.v1.model.update_active_directory_domain_request_body import UpdateActiveDirectoryDomainRequestBody
|
166
|
+
from huaweicloudsdksfsturbo.v1.model.update_active_directory_domain_response import UpdateActiveDirectoryDomainResponse
|
136
167
|
from huaweicloudsdksfsturbo.v1.model.update_fs_dir_quota_request import UpdateFsDirQuotaRequest
|
137
168
|
from huaweicloudsdksfsturbo.v1.model.update_fs_dir_quota_request_body import UpdateFsDirQuotaRequestBody
|
138
169
|
from huaweicloudsdksfsturbo.v1.model.update_fs_dir_quota_response import UpdateFsDirQuotaResponse
|
@@ -148,5 +179,6 @@ from huaweicloudsdksfsturbo.v1.model.update_obs_target_attributes_response impor
|
|
148
179
|
from huaweicloudsdksfsturbo.v1.model.update_obs_target_policy_request import UpdateObsTargetPolicyRequest
|
149
180
|
from huaweicloudsdksfsturbo.v1.model.update_obs_target_policy_request_body import UpdateObsTargetPolicyRequestBody
|
150
181
|
from huaweicloudsdksfsturbo.v1.model.update_obs_target_policy_response import UpdateObsTargetPolicyResponse
|
182
|
+
from huaweicloudsdksfsturbo.v1.model.update_one_perm_rule_request_info import UpdateOnePermRuleRequestInfo
|
151
183
|
from huaweicloudsdksfsturbo.v1.model.update_perm_rule_request import UpdatePermRuleRequest
|
152
184
|
from huaweicloudsdksfsturbo.v1.model.update_perm_rule_response import UpdatePermRuleResponse
|
@@ -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 AddActiveDirectoryDomainRequest:
|
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': 'AddActiveDirectoryDomainRequestBody'
|
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"""AddActiveDirectoryDomainRequest
|
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 AddActiveDirectoryDomainRequest
|
37
|
+
:type body: :class:`huaweicloudsdksfsturbo.v1.AddActiveDirectoryDomainRequestBody`
|
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 AddActiveDirectoryDomainRequest.
|
53
|
+
|
54
|
+
文件系统ID
|
55
|
+
|
56
|
+
:return: The share_id of this AddActiveDirectoryDomainRequest.
|
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 AddActiveDirectoryDomainRequest.
|
64
|
+
|
65
|
+
文件系统ID
|
66
|
+
|
67
|
+
:param share_id: The share_id of this AddActiveDirectoryDomainRequest.
|
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 AddActiveDirectoryDomainRequest.
|
75
|
+
|
76
|
+
:return: The body of this AddActiveDirectoryDomainRequest.
|
77
|
+
:rtype: :class:`huaweicloudsdksfsturbo.v1.AddActiveDirectoryDomainRequestBody`
|
78
|
+
"""
|
79
|
+
return self._body
|
80
|
+
|
81
|
+
@body.setter
|
82
|
+
def body(self, body):
|
83
|
+
r"""Sets the body of this AddActiveDirectoryDomainRequest.
|
84
|
+
|
85
|
+
:param body: The body of this AddActiveDirectoryDomainRequest.
|
86
|
+
:type body: :class:`huaweicloudsdksfsturbo.v1.AddActiveDirectoryDomainRequestBody`
|
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, AddActiveDirectoryDomainRequest):
|
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,313 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class AddActiveDirectoryDomainRequestBody:
|
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
|
+
'domain_name': 'str',
|
23
|
+
'system_name': 'str',
|
24
|
+
'overwrite_same_account': 'bool',
|
25
|
+
'dns_server': 'list[str]',
|
26
|
+
'organization_unit': 'str',
|
27
|
+
'vpc_id': 'str'
|
28
|
+
}
|
29
|
+
|
30
|
+
attribute_map = {
|
31
|
+
'service_account': 'service_account',
|
32
|
+
'password': 'password',
|
33
|
+
'domain_name': 'domain_name',
|
34
|
+
'system_name': 'system_name',
|
35
|
+
'overwrite_same_account': 'overwrite_same_account',
|
36
|
+
'dns_server': 'dns_server',
|
37
|
+
'organization_unit': 'organization_unit',
|
38
|
+
'vpc_id': 'vpc_id'
|
39
|
+
}
|
40
|
+
|
41
|
+
def __init__(self, service_account=None, password=None, domain_name=None, system_name=None, overwrite_same_account=None, dns_server=None, organization_unit=None, vpc_id=None):
|
42
|
+
r"""AddActiveDirectoryDomainRequestBody
|
43
|
+
|
44
|
+
The model defined in huaweicloud sdk
|
45
|
+
|
46
|
+
:param service_account: 服务账号,在创建域服务器时指定,一般默认为administrator
|
47
|
+
:type service_account: str
|
48
|
+
:param password: 账号对应密码
|
49
|
+
:type password: str
|
50
|
+
:param domain_name: 域控服务器的域名,在创建域服务器时指定
|
51
|
+
:type domain_name: str
|
52
|
+
:param system_name: 存储系统在AD域中的名称
|
53
|
+
:type system_name: str
|
54
|
+
:param overwrite_same_account: 如果域控制器中已存在同系统名称的存储系统,开启该选项后,将覆盖原有的存储系统信息。
|
55
|
+
:type overwrite_same_account: bool
|
56
|
+
:param dns_server: DNS服务器IP地址,用于解析AD域的域名
|
57
|
+
:type dns_server: list[str]
|
58
|
+
:param organization_unit: 域中包含的一类目录对象如用户、计算机、打印机等资源的总称,加入后将作为其中的一员。若不填,则默认加入到computers组织单元。
|
59
|
+
:type organization_unit: str
|
60
|
+
:param vpc_id: vpc的id
|
61
|
+
:type vpc_id: str
|
62
|
+
"""
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
self._service_account = None
|
67
|
+
self._password = None
|
68
|
+
self._domain_name = None
|
69
|
+
self._system_name = None
|
70
|
+
self._overwrite_same_account = None
|
71
|
+
self._dns_server = None
|
72
|
+
self._organization_unit = None
|
73
|
+
self._vpc_id = None
|
74
|
+
self.discriminator = None
|
75
|
+
|
76
|
+
self.service_account = service_account
|
77
|
+
self.password = password
|
78
|
+
self.domain_name = domain_name
|
79
|
+
self.system_name = system_name
|
80
|
+
if overwrite_same_account is not None:
|
81
|
+
self.overwrite_same_account = overwrite_same_account
|
82
|
+
self.dns_server = dns_server
|
83
|
+
if organization_unit is not None:
|
84
|
+
self.organization_unit = organization_unit
|
85
|
+
if vpc_id is not None:
|
86
|
+
self.vpc_id = vpc_id
|
87
|
+
|
88
|
+
@property
|
89
|
+
def service_account(self):
|
90
|
+
r"""Gets the service_account of this AddActiveDirectoryDomainRequestBody.
|
91
|
+
|
92
|
+
服务账号,在创建域服务器时指定,一般默认为administrator
|
93
|
+
|
94
|
+
:return: The service_account of this AddActiveDirectoryDomainRequestBody.
|
95
|
+
:rtype: str
|
96
|
+
"""
|
97
|
+
return self._service_account
|
98
|
+
|
99
|
+
@service_account.setter
|
100
|
+
def service_account(self, service_account):
|
101
|
+
r"""Sets the service_account of this AddActiveDirectoryDomainRequestBody.
|
102
|
+
|
103
|
+
服务账号,在创建域服务器时指定,一般默认为administrator
|
104
|
+
|
105
|
+
:param service_account: The service_account of this AddActiveDirectoryDomainRequestBody.
|
106
|
+
:type service_account: str
|
107
|
+
"""
|
108
|
+
self._service_account = service_account
|
109
|
+
|
110
|
+
@property
|
111
|
+
def password(self):
|
112
|
+
r"""Gets the password of this AddActiveDirectoryDomainRequestBody.
|
113
|
+
|
114
|
+
账号对应密码
|
115
|
+
|
116
|
+
:return: The password of this AddActiveDirectoryDomainRequestBody.
|
117
|
+
:rtype: str
|
118
|
+
"""
|
119
|
+
return self._password
|
120
|
+
|
121
|
+
@password.setter
|
122
|
+
def password(self, password):
|
123
|
+
r"""Sets the password of this AddActiveDirectoryDomainRequestBody.
|
124
|
+
|
125
|
+
账号对应密码
|
126
|
+
|
127
|
+
:param password: The password of this AddActiveDirectoryDomainRequestBody.
|
128
|
+
:type password: str
|
129
|
+
"""
|
130
|
+
self._password = password
|
131
|
+
|
132
|
+
@property
|
133
|
+
def domain_name(self):
|
134
|
+
r"""Gets the domain_name of this AddActiveDirectoryDomainRequestBody.
|
135
|
+
|
136
|
+
域控服务器的域名,在创建域服务器时指定
|
137
|
+
|
138
|
+
:return: The domain_name of this AddActiveDirectoryDomainRequestBody.
|
139
|
+
:rtype: str
|
140
|
+
"""
|
141
|
+
return self._domain_name
|
142
|
+
|
143
|
+
@domain_name.setter
|
144
|
+
def domain_name(self, domain_name):
|
145
|
+
r"""Sets the domain_name of this AddActiveDirectoryDomainRequestBody.
|
146
|
+
|
147
|
+
域控服务器的域名,在创建域服务器时指定
|
148
|
+
|
149
|
+
:param domain_name: The domain_name of this AddActiveDirectoryDomainRequestBody.
|
150
|
+
:type domain_name: str
|
151
|
+
"""
|
152
|
+
self._domain_name = domain_name
|
153
|
+
|
154
|
+
@property
|
155
|
+
def system_name(self):
|
156
|
+
r"""Gets the system_name of this AddActiveDirectoryDomainRequestBody.
|
157
|
+
|
158
|
+
存储系统在AD域中的名称
|
159
|
+
|
160
|
+
:return: The system_name of this AddActiveDirectoryDomainRequestBody.
|
161
|
+
:rtype: str
|
162
|
+
"""
|
163
|
+
return self._system_name
|
164
|
+
|
165
|
+
@system_name.setter
|
166
|
+
def system_name(self, system_name):
|
167
|
+
r"""Sets the system_name of this AddActiveDirectoryDomainRequestBody.
|
168
|
+
|
169
|
+
存储系统在AD域中的名称
|
170
|
+
|
171
|
+
:param system_name: The system_name of this AddActiveDirectoryDomainRequestBody.
|
172
|
+
:type system_name: str
|
173
|
+
"""
|
174
|
+
self._system_name = system_name
|
175
|
+
|
176
|
+
@property
|
177
|
+
def overwrite_same_account(self):
|
178
|
+
r"""Gets the overwrite_same_account of this AddActiveDirectoryDomainRequestBody.
|
179
|
+
|
180
|
+
如果域控制器中已存在同系统名称的存储系统,开启该选项后,将覆盖原有的存储系统信息。
|
181
|
+
|
182
|
+
:return: The overwrite_same_account of this AddActiveDirectoryDomainRequestBody.
|
183
|
+
:rtype: bool
|
184
|
+
"""
|
185
|
+
return self._overwrite_same_account
|
186
|
+
|
187
|
+
@overwrite_same_account.setter
|
188
|
+
def overwrite_same_account(self, overwrite_same_account):
|
189
|
+
r"""Sets the overwrite_same_account of this AddActiveDirectoryDomainRequestBody.
|
190
|
+
|
191
|
+
如果域控制器中已存在同系统名称的存储系统,开启该选项后,将覆盖原有的存储系统信息。
|
192
|
+
|
193
|
+
:param overwrite_same_account: The overwrite_same_account of this AddActiveDirectoryDomainRequestBody.
|
194
|
+
:type overwrite_same_account: bool
|
195
|
+
"""
|
196
|
+
self._overwrite_same_account = overwrite_same_account
|
197
|
+
|
198
|
+
@property
|
199
|
+
def dns_server(self):
|
200
|
+
r"""Gets the dns_server of this AddActiveDirectoryDomainRequestBody.
|
201
|
+
|
202
|
+
DNS服务器IP地址,用于解析AD域的域名
|
203
|
+
|
204
|
+
:return: The dns_server of this AddActiveDirectoryDomainRequestBody.
|
205
|
+
:rtype: list[str]
|
206
|
+
"""
|
207
|
+
return self._dns_server
|
208
|
+
|
209
|
+
@dns_server.setter
|
210
|
+
def dns_server(self, dns_server):
|
211
|
+
r"""Sets the dns_server of this AddActiveDirectoryDomainRequestBody.
|
212
|
+
|
213
|
+
DNS服务器IP地址,用于解析AD域的域名
|
214
|
+
|
215
|
+
:param dns_server: The dns_server of this AddActiveDirectoryDomainRequestBody.
|
216
|
+
:type dns_server: list[str]
|
217
|
+
"""
|
218
|
+
self._dns_server = dns_server
|
219
|
+
|
220
|
+
@property
|
221
|
+
def organization_unit(self):
|
222
|
+
r"""Gets the organization_unit of this AddActiveDirectoryDomainRequestBody.
|
223
|
+
|
224
|
+
域中包含的一类目录对象如用户、计算机、打印机等资源的总称,加入后将作为其中的一员。若不填,则默认加入到computers组织单元。
|
225
|
+
|
226
|
+
:return: The organization_unit of this AddActiveDirectoryDomainRequestBody.
|
227
|
+
:rtype: str
|
228
|
+
"""
|
229
|
+
return self._organization_unit
|
230
|
+
|
231
|
+
@organization_unit.setter
|
232
|
+
def organization_unit(self, organization_unit):
|
233
|
+
r"""Sets the organization_unit of this AddActiveDirectoryDomainRequestBody.
|
234
|
+
|
235
|
+
域中包含的一类目录对象如用户、计算机、打印机等资源的总称,加入后将作为其中的一员。若不填,则默认加入到computers组织单元。
|
236
|
+
|
237
|
+
:param organization_unit: The organization_unit of this AddActiveDirectoryDomainRequestBody.
|
238
|
+
:type organization_unit: str
|
239
|
+
"""
|
240
|
+
self._organization_unit = organization_unit
|
241
|
+
|
242
|
+
@property
|
243
|
+
def vpc_id(self):
|
244
|
+
r"""Gets the vpc_id of this AddActiveDirectoryDomainRequestBody.
|
245
|
+
|
246
|
+
vpc的id
|
247
|
+
|
248
|
+
:return: The vpc_id of this AddActiveDirectoryDomainRequestBody.
|
249
|
+
:rtype: str
|
250
|
+
"""
|
251
|
+
return self._vpc_id
|
252
|
+
|
253
|
+
@vpc_id.setter
|
254
|
+
def vpc_id(self, vpc_id):
|
255
|
+
r"""Sets the vpc_id of this AddActiveDirectoryDomainRequestBody.
|
256
|
+
|
257
|
+
vpc的id
|
258
|
+
|
259
|
+
:param vpc_id: The vpc_id of this AddActiveDirectoryDomainRequestBody.
|
260
|
+
:type vpc_id: str
|
261
|
+
"""
|
262
|
+
self._vpc_id = vpc_id
|
263
|
+
|
264
|
+
def to_dict(self):
|
265
|
+
"""Returns the model properties as a dict"""
|
266
|
+
result = {}
|
267
|
+
|
268
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
269
|
+
value = getattr(self, attr)
|
270
|
+
if isinstance(value, list):
|
271
|
+
result[attr] = list(map(
|
272
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
273
|
+
value
|
274
|
+
))
|
275
|
+
elif hasattr(value, "to_dict"):
|
276
|
+
result[attr] = value.to_dict()
|
277
|
+
elif isinstance(value, dict):
|
278
|
+
result[attr] = dict(map(
|
279
|
+
lambda item: (item[0], item[1].to_dict())
|
280
|
+
if hasattr(item[1], "to_dict") else item,
|
281
|
+
value.items()
|
282
|
+
))
|
283
|
+
else:
|
284
|
+
if attr in self.sensitive_list:
|
285
|
+
result[attr] = "****"
|
286
|
+
else:
|
287
|
+
result[attr] = value
|
288
|
+
|
289
|
+
return result
|
290
|
+
|
291
|
+
def to_str(self):
|
292
|
+
"""Returns the string representation of the model"""
|
293
|
+
import simplejson as json
|
294
|
+
if six.PY2:
|
295
|
+
import sys
|
296
|
+
reload(sys)
|
297
|
+
sys.setdefaultencoding("utf-8")
|
298
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
299
|
+
|
300
|
+
def __repr__(self):
|
301
|
+
"""For `print`"""
|
302
|
+
return self.to_str()
|
303
|
+
|
304
|
+
def __eq__(self, other):
|
305
|
+
"""Returns true if both objects are equal"""
|
306
|
+
if not isinstance(other, AddActiveDirectoryDomainRequestBody):
|
307
|
+
return False
|
308
|
+
|
309
|
+
return self.__dict__ == other.__dict__
|
310
|
+
|
311
|
+
def __ne__(self, other):
|
312
|
+
"""Returns true if both objects are not equal"""
|
313
|
+
return not self == other
|