huaweicloudsdksfsturbo 3.1.120__py2.py3-none-any.whl → 3.1.122__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- huaweicloudsdksfsturbo/v1/__init__.py +13 -1
- huaweicloudsdksfsturbo/v1/model/__init__.py +13 -1
- huaweicloudsdksfsturbo/v1/model/auto_export_policy.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_body.py +6 -6
- huaweicloudsdksfsturbo/v1/model/create_fs_dir_quota_response.py +6 -6
- huaweicloudsdksfsturbo/v1/model/create_fs_dir_request_body.py +3 -3
- huaweicloudsdksfsturbo/v1/model/create_fs_task_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/create_hpc_cache_task_req.py +34 -9
- huaweicloudsdksfsturbo/v1/model/create_ldap_config_request_body.py +122 -6
- huaweicloudsdksfsturbo/v1/model/create_ldap_config_response.py +3 -3
- huaweicloudsdksfsturbo/v1/model/delete_hpc_cache_task_request.py +142 -0
- huaweicloudsdksfsturbo/v1/model/delete_hpc_cache_task_response.py +112 -0
- huaweicloudsdksfsturbo/v1/model/delete_ldap_config_response.py +3 -3
- huaweicloudsdksfsturbo/v1/model/delete_shared_tag_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/extend.py +3 -3
- huaweicloudsdksfsturbo/v1/model/list_hpc_cache_tasks_request.py +61 -3
- huaweicloudsdksfsturbo/v1/model/list_perm_rules_request.py +61 -3
- huaweicloudsdksfsturbo/v1/model/list_shared_tags_request.py +61 -1
- huaweicloudsdksfsturbo/v1/model/list_shares_request.py +6 -6
- huaweicloudsdksfsturbo/v1/model/metadata.py +6 -6
- huaweicloudsdksfsturbo/v1/model/obs_data_repository.py +53 -3
- huaweicloudsdksfsturbo/v1/model/obs_data_repository_policy.py +111 -0
- huaweicloudsdksfsturbo/v1/model/obs_target_attributes.py +202 -0
- huaweicloudsdksfsturbo/v1/model/one_perm_rule_request_info.py +6 -6
- huaweicloudsdksfsturbo/v1/model/one_perm_rule_response_info.py +6 -6
- huaweicloudsdksfsturbo/v1/model/req_update_hpc_cache_data.py +6 -35
- huaweicloudsdksfsturbo/v1/model/resource_tag.py +6 -6
- huaweicloudsdksfsturbo/v1/model/share.py +18 -18
- huaweicloudsdksfsturbo/v1/model/share_info.py +185 -15
- huaweicloudsdksfsturbo/v1/model/share_info_feature.py +173 -0
- huaweicloudsdksfsturbo/v1/model/share_info_features.py +111 -0
- huaweicloudsdksfsturbo/v1/model/show_fs_dir_quota_response.py +6 -6
- huaweicloudsdksfsturbo/v1/model/show_fs_dir_response.py +9 -9
- huaweicloudsdksfsturbo/v1/model/show_ldap_config_response.py +119 -3
- huaweicloudsdksfsturbo/v1/model/show_perm_rule_response.py +6 -6
- huaweicloudsdksfsturbo/v1/model/show_share_response.py +185 -15
- huaweicloudsdksfsturbo/v1/model/tag.py +3 -3
- huaweicloudsdksfsturbo/v1/model/update_fs_dir_quota_request_body.py +6 -6
- huaweicloudsdksfsturbo/v1/model/update_fs_dir_quota_response.py +6 -6
- huaweicloudsdksfsturbo/v1/model/update_hpc_share_request_body.py +3 -3
- huaweicloudsdksfsturbo/v1/model/update_ldap_config_request_body.py +122 -6
- huaweicloudsdksfsturbo/v1/model/update_ldap_config_response.py +3 -3
- huaweicloudsdksfsturbo/v1/model/update_obs_target_attributes_request.py +167 -0
- huaweicloudsdksfsturbo/v1/model/update_obs_target_attributes_request_body.py +110 -0
- huaweicloudsdksfsturbo/v1/model/update_obs_target_attributes_response.py +166 -0
- huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_request.py +167 -0
- huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_request_body.py +110 -0
- huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_response.py +166 -0
- huaweicloudsdksfsturbo/v1/model/update_perm_rule_response.py +6 -6
- huaweicloudsdksfsturbo/v1/region/sfsturbo_region.py +6 -0
- huaweicloudsdksfsturbo/v1/sfsturbo_async_client.py +246 -13
- huaweicloudsdksfsturbo/v1/sfsturbo_client.py +246 -13
- {huaweicloudsdksfsturbo-3.1.120.dist-info → huaweicloudsdksfsturbo-3.1.122.dist-info}/METADATA +2 -2
- {huaweicloudsdksfsturbo-3.1.120.dist-info → huaweicloudsdksfsturbo-3.1.122.dist-info}/RECORD +59 -47
- {huaweicloudsdksfsturbo-3.1.120.dist-info → huaweicloudsdksfsturbo-3.1.122.dist-info}/WHEEL +1 -1
- huaweicloudsdksfsturbo/v1/model/config_obs_target.py +0 -198
- {huaweicloudsdksfsturbo-3.1.120.dist-info → huaweicloudsdksfsturbo-3.1.122.dist-info}/LICENSE +0 -0
- {huaweicloudsdksfsturbo-3.1.120.dist-info → huaweicloudsdksfsturbo-3.1.122.dist-info}/top_level.txt +0 -0
@@ -1,198 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
import six
|
4
|
-
|
5
|
-
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
-
|
7
|
-
|
8
|
-
class ConfigObsTarget:
|
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
|
-
'name': 'str',
|
21
|
-
'type': 'str',
|
22
|
-
'url': 'str',
|
23
|
-
'bucket': 'str'
|
24
|
-
}
|
25
|
-
|
26
|
-
attribute_map = {
|
27
|
-
'name': 'name',
|
28
|
-
'type': 'type',
|
29
|
-
'url': 'url',
|
30
|
-
'bucket': 'bucket'
|
31
|
-
}
|
32
|
-
|
33
|
-
def __init__(self, name=None, type=None, url=None, bucket=None):
|
34
|
-
"""ConfigObsTarget
|
35
|
-
|
36
|
-
The model defined in huaweicloud sdk
|
37
|
-
|
38
|
-
:param name: obs 配置名
|
39
|
-
:type name: str
|
40
|
-
:param type: obs 配置协议类型
|
41
|
-
:type type: str
|
42
|
-
:param url: obs 桶 endpoint
|
43
|
-
:type url: str
|
44
|
-
:param bucket: obs 桶名
|
45
|
-
:type bucket: str
|
46
|
-
"""
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
self._name = None
|
51
|
-
self._type = None
|
52
|
-
self._url = None
|
53
|
-
self._bucket = None
|
54
|
-
self.discriminator = None
|
55
|
-
|
56
|
-
self.name = name
|
57
|
-
self.type = type
|
58
|
-
self.url = url
|
59
|
-
self.bucket = bucket
|
60
|
-
|
61
|
-
@property
|
62
|
-
def name(self):
|
63
|
-
"""Gets the name of this ConfigObsTarget.
|
64
|
-
|
65
|
-
obs 配置名
|
66
|
-
|
67
|
-
:return: The name of this ConfigObsTarget.
|
68
|
-
:rtype: str
|
69
|
-
"""
|
70
|
-
return self._name
|
71
|
-
|
72
|
-
@name.setter
|
73
|
-
def name(self, name):
|
74
|
-
"""Sets the name of this ConfigObsTarget.
|
75
|
-
|
76
|
-
obs 配置名
|
77
|
-
|
78
|
-
:param name: The name of this ConfigObsTarget.
|
79
|
-
:type name: str
|
80
|
-
"""
|
81
|
-
self._name = name
|
82
|
-
|
83
|
-
@property
|
84
|
-
def type(self):
|
85
|
-
"""Gets the type of this ConfigObsTarget.
|
86
|
-
|
87
|
-
obs 配置协议类型
|
88
|
-
|
89
|
-
:return: The type of this ConfigObsTarget.
|
90
|
-
:rtype: str
|
91
|
-
"""
|
92
|
-
return self._type
|
93
|
-
|
94
|
-
@type.setter
|
95
|
-
def type(self, type):
|
96
|
-
"""Sets the type of this ConfigObsTarget.
|
97
|
-
|
98
|
-
obs 配置协议类型
|
99
|
-
|
100
|
-
:param type: The type of this ConfigObsTarget.
|
101
|
-
:type type: str
|
102
|
-
"""
|
103
|
-
self._type = type
|
104
|
-
|
105
|
-
@property
|
106
|
-
def url(self):
|
107
|
-
"""Gets the url of this ConfigObsTarget.
|
108
|
-
|
109
|
-
obs 桶 endpoint
|
110
|
-
|
111
|
-
:return: The url of this ConfigObsTarget.
|
112
|
-
:rtype: str
|
113
|
-
"""
|
114
|
-
return self._url
|
115
|
-
|
116
|
-
@url.setter
|
117
|
-
def url(self, url):
|
118
|
-
"""Sets the url of this ConfigObsTarget.
|
119
|
-
|
120
|
-
obs 桶 endpoint
|
121
|
-
|
122
|
-
:param url: The url of this ConfigObsTarget.
|
123
|
-
:type url: str
|
124
|
-
"""
|
125
|
-
self._url = url
|
126
|
-
|
127
|
-
@property
|
128
|
-
def bucket(self):
|
129
|
-
"""Gets the bucket of this ConfigObsTarget.
|
130
|
-
|
131
|
-
obs 桶名
|
132
|
-
|
133
|
-
:return: The bucket of this ConfigObsTarget.
|
134
|
-
:rtype: str
|
135
|
-
"""
|
136
|
-
return self._bucket
|
137
|
-
|
138
|
-
@bucket.setter
|
139
|
-
def bucket(self, bucket):
|
140
|
-
"""Sets the bucket of this ConfigObsTarget.
|
141
|
-
|
142
|
-
obs 桶名
|
143
|
-
|
144
|
-
:param bucket: The bucket of this ConfigObsTarget.
|
145
|
-
:type bucket: str
|
146
|
-
"""
|
147
|
-
self._bucket = bucket
|
148
|
-
|
149
|
-
def to_dict(self):
|
150
|
-
"""Returns the model properties as a dict"""
|
151
|
-
result = {}
|
152
|
-
|
153
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
154
|
-
value = getattr(self, attr)
|
155
|
-
if isinstance(value, list):
|
156
|
-
result[attr] = list(map(
|
157
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
158
|
-
value
|
159
|
-
))
|
160
|
-
elif hasattr(value, "to_dict"):
|
161
|
-
result[attr] = value.to_dict()
|
162
|
-
elif isinstance(value, dict):
|
163
|
-
result[attr] = dict(map(
|
164
|
-
lambda item: (item[0], item[1].to_dict())
|
165
|
-
if hasattr(item[1], "to_dict") else item,
|
166
|
-
value.items()
|
167
|
-
))
|
168
|
-
else:
|
169
|
-
if attr in self.sensitive_list:
|
170
|
-
result[attr] = "****"
|
171
|
-
else:
|
172
|
-
result[attr] = value
|
173
|
-
|
174
|
-
return result
|
175
|
-
|
176
|
-
def to_str(self):
|
177
|
-
"""Returns the string representation of the model"""
|
178
|
-
import simplejson as json
|
179
|
-
if six.PY2:
|
180
|
-
import sys
|
181
|
-
reload(sys)
|
182
|
-
sys.setdefaultencoding("utf-8")
|
183
|
-
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
184
|
-
|
185
|
-
def __repr__(self):
|
186
|
-
"""For `print`"""
|
187
|
-
return self.to_str()
|
188
|
-
|
189
|
-
def __eq__(self, other):
|
190
|
-
"""Returns true if both objects are equal"""
|
191
|
-
if not isinstance(other, ConfigObsTarget):
|
192
|
-
return False
|
193
|
-
|
194
|
-
return self.__dict__ == other.__dict__
|
195
|
-
|
196
|
-
def __ne__(self, other):
|
197
|
-
"""Returns true if both objects are not equal"""
|
198
|
-
return not self == other
|
{huaweicloudsdksfsturbo-3.1.120.dist-info → huaweicloudsdksfsturbo-3.1.122.dist-info}/LICENSE
RENAMED
File without changes
|
{huaweicloudsdksfsturbo-3.1.120.dist-info → huaweicloudsdksfsturbo-3.1.122.dist-info}/top_level.txt
RENAMED
File without changes
|