huaweicloudsdkcae 3.1.85__py2.py3-none-any.whl → 3.1.132__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.

Potentially problematic release.


This version of huaweicloudsdkcae might be problematic. Click here for more details.

Files changed (69) hide show
  1. huaweicloudsdkcae/v1/__init__.py +38 -6
  2. huaweicloudsdkcae/v1/cae_async_client.py +601 -45
  3. huaweicloudsdkcae/v1/cae_client.py +601 -45
  4. huaweicloudsdkcae/v1/model/__init__.py +38 -6
  5. huaweicloudsdkcae/v1/model/access_configuration_data_items.py +177 -7
  6. huaweicloudsdkcae/v1/model/access_configuration_metadata.py +115 -0
  7. huaweicloudsdkcae/v1/model/access_configuration_port.py +67 -9
  8. huaweicloudsdkcae/v1/model/agency_metadata.py +28 -3
  9. huaweicloudsdkcae/v1/model/cloud_storage_log_path_info.py +144 -0
  10. huaweicloudsdkcae/v1/model/configuration.py +35 -6
  11. huaweicloudsdkcae/v1/model/configuration_request_data_spec.py +37 -8
  12. huaweicloudsdkcae/v1/model/configuration_response_data_spec.py +37 -8
  13. huaweicloudsdkcae/v1/model/create_component_request_body.py +10 -12
  14. huaweicloudsdkcae/v1/model/{list_component_events_request.py → create_component_with_configuration_request.py} +43 -46
  15. huaweicloudsdkcae/v1/model/create_component_with_configuration_request_body.py +213 -0
  16. huaweicloudsdkcae/v1/model/{create_component_request_body_metadata.py → create_component_with_configuration_request_body_metadata.py} +11 -11
  17. huaweicloudsdkcae/v1/model/{create_component_request_body_spec.py → create_component_with_configuration_request_body_spec.py} +27 -27
  18. huaweicloudsdkcae/v1/model/create_component_with_configuration_response.py +241 -0
  19. huaweicloudsdkcae/v1/model/create_component_with_configuration_response_body_status.py +115 -0
  20. huaweicloudsdkcae/v1/model/create_environment_request_body_metadata.py +3 -3
  21. huaweicloudsdkcae/v1/model/create_notice_rule_item.py +244 -0
  22. huaweicloudsdkcae/v1/model/create_notice_rule_req.py +166 -0
  23. huaweicloudsdkcae/v1/model/create_notice_rule_request.py +168 -0
  24. huaweicloudsdkcae/v1/model/create_notice_rule_resp_item.py +277 -0
  25. huaweicloudsdkcae/v1/model/create_notice_rule_response.py +170 -0
  26. huaweicloudsdkcae/v1/model/create_vpc_egress_request.py +168 -0
  27. huaweicloudsdkcae/v1/model/{list_component_events_response.py → create_vpc_egress_response.py} +35 -39
  28. huaweicloudsdkcae/v1/model/delete_notice_rule_request.py +167 -0
  29. huaweicloudsdkcae/v1/model/delete_notice_rule_response.py +112 -0
  30. huaweicloudsdkcae/v1/model/delete_vpc_egress_request.py +171 -0
  31. huaweicloudsdkcae/v1/model/delete_vpc_egress_response.py +85 -0
  32. huaweicloudsdkcae/v1/model/egress_cidr.py +171 -0
  33. huaweicloudsdkcae/v1/model/environment_item.py +3 -3
  34. huaweicloudsdkcae/v1/model/health_check_configuration_http_get.py +4 -4
  35. huaweicloudsdkcae/v1/model/health_check_configuration_tcp_socket.py +4 -4
  36. huaweicloudsdkcae/v1/model/list_component_configurations_request.py +32 -3
  37. huaweicloudsdkcae/v1/model/list_components_request.py +61 -3
  38. huaweicloudsdkcae/v1/model/list_eip_response_body_spec_egress.py +30 -1
  39. huaweicloudsdkcae/v1/model/list_eip_response_body_spec_ingress.py +30 -1
  40. huaweicloudsdkcae/v1/model/list_notice_rules_request.py +143 -0
  41. huaweicloudsdkcae/v1/model/list_notice_rules_response.py +174 -0
  42. huaweicloudsdkcae/v1/model/list_vpc_egress_request.py +143 -0
  43. huaweicloudsdkcae/v1/model/list_vpc_egress_response.py +162 -0
  44. huaweicloudsdkcae/v1/model/notice_rule_notification.py +171 -0
  45. huaweicloudsdkcae/v1/model/notice_rule_scope.py +201 -0
  46. huaweicloudsdkcae/v1/model/resources_credential.py +144 -0
  47. huaweicloudsdkcae/v1/model/show_notice_rule_request.py +167 -0
  48. huaweicloudsdkcae/v1/model/show_notice_rule_response.py +170 -0
  49. huaweicloudsdkcae/v1/model/trigger_policy.py +201 -0
  50. huaweicloudsdkcae/v1/model/update_component_request_body.py +2 -4
  51. huaweicloudsdkcae/v1/model/update_eip_request_body_spec_egress.py +32 -3
  52. huaweicloudsdkcae/v1/model/update_eip_request_body_spec_ingress.py +32 -3
  53. huaweicloudsdkcae/v1/model/update_notice_rule_item.py +192 -0
  54. huaweicloudsdkcae/v1/model/update_notice_rule_req.py +166 -0
  55. huaweicloudsdkcae/v1/model/update_notice_rule_request.py +192 -0
  56. huaweicloudsdkcae/v1/model/update_notice_rule_response.py +170 -0
  57. huaweicloudsdkcae/v1/model/volume.py +30 -1
  58. huaweicloudsdkcae/v1/model/volume_spec.py +32 -3
  59. huaweicloudsdkcae/v1/model/{component_event_kind_obj.py → vpc_egress_kind_obj.py} +4 -4
  60. huaweicloudsdkcae/v1/model/vpc_egress_request_body.py +161 -0
  61. huaweicloudsdkcae/v1/model/vpc_egress_request_body_spec.py +114 -0
  62. huaweicloudsdkcae/v1/model/vpc_egress_response_body_spec.py +173 -0
  63. huaweicloudsdkcae/v1/region/cae_region.py +12 -4
  64. {huaweicloudsdkcae-3.1.85.dist-info → huaweicloudsdkcae-3.1.132.dist-info}/METADATA +2 -2
  65. {huaweicloudsdkcae-3.1.85.dist-info → huaweicloudsdkcae-3.1.132.dist-info}/RECORD +68 -36
  66. {huaweicloudsdkcae-3.1.85.dist-info → huaweicloudsdkcae-3.1.132.dist-info}/WHEEL +1 -1
  67. huaweicloudsdkcae/v1/model/event_item.py +0 -318
  68. {huaweicloudsdkcae-3.1.85.dist-info → huaweicloudsdkcae-3.1.132.dist-info}/LICENSE +0 -0
  69. {huaweicloudsdkcae-3.1.85.dist-info → huaweicloudsdkcae-3.1.132.dist-info}/top_level.txt +0 -0
@@ -1,318 +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 EventItem:
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
- 'involved_object_kind': 'str',
22
- 'involved_object': 'str',
23
- 'message': 'str',
24
- 'created_at': 'str',
25
- 'updated_at': 'str',
26
- 'status': 'str',
27
- 'count': 'int'
28
- }
29
-
30
- attribute_map = {
31
- 'name': 'name',
32
- 'involved_object_kind': 'involved_object_kind',
33
- 'involved_object': 'involved_object',
34
- 'message': 'message',
35
- 'created_at': 'created_at',
36
- 'updated_at': 'updated_at',
37
- 'status': 'status',
38
- 'count': 'count'
39
- }
40
-
41
- def __init__(self, name=None, involved_object_kind=None, involved_object=None, message=None, created_at=None, updated_at=None, status=None, count=None):
42
- """EventItem
43
-
44
- The model defined in huaweicloud sdk
45
-
46
- :param name: 事件名称。
47
- :type name: str
48
- :param involved_object_kind: 涉及对象类型。
49
- :type involved_object_kind: str
50
- :param involved_object: 涉及对象。
51
- :type involved_object: str
52
- :param message: 组件事件信息。
53
- :type message: str
54
- :param created_at: 创建时间。
55
- :type created_at: str
56
- :param updated_at: 更新时间。
57
- :type updated_at: str
58
- :param status: 组件事件状态。
59
- :type status: str
60
- :param count: 事件发生次数。
61
- :type count: int
62
- """
63
-
64
-
65
-
66
- self._name = None
67
- self._involved_object_kind = None
68
- self._involved_object = None
69
- self._message = None
70
- self._created_at = None
71
- self._updated_at = None
72
- self._status = None
73
- self._count = None
74
- self.discriminator = None
75
-
76
- if name is not None:
77
- self.name = name
78
- if involved_object_kind is not None:
79
- self.involved_object_kind = involved_object_kind
80
- if involved_object is not None:
81
- self.involved_object = involved_object
82
- if message is not None:
83
- self.message = message
84
- if created_at is not None:
85
- self.created_at = created_at
86
- if updated_at is not None:
87
- self.updated_at = updated_at
88
- if status is not None:
89
- self.status = status
90
- if count is not None:
91
- self.count = count
92
-
93
- @property
94
- def name(self):
95
- """Gets the name of this EventItem.
96
-
97
- 事件名称。
98
-
99
- :return: The name of this EventItem.
100
- :rtype: str
101
- """
102
- return self._name
103
-
104
- @name.setter
105
- def name(self, name):
106
- """Sets the name of this EventItem.
107
-
108
- 事件名称。
109
-
110
- :param name: The name of this EventItem.
111
- :type name: str
112
- """
113
- self._name = name
114
-
115
- @property
116
- def involved_object_kind(self):
117
- """Gets the involved_object_kind of this EventItem.
118
-
119
- 涉及对象类型。
120
-
121
- :return: The involved_object_kind of this EventItem.
122
- :rtype: str
123
- """
124
- return self._involved_object_kind
125
-
126
- @involved_object_kind.setter
127
- def involved_object_kind(self, involved_object_kind):
128
- """Sets the involved_object_kind of this EventItem.
129
-
130
- 涉及对象类型。
131
-
132
- :param involved_object_kind: The involved_object_kind of this EventItem.
133
- :type involved_object_kind: str
134
- """
135
- self._involved_object_kind = involved_object_kind
136
-
137
- @property
138
- def involved_object(self):
139
- """Gets the involved_object of this EventItem.
140
-
141
- 涉及对象。
142
-
143
- :return: The involved_object of this EventItem.
144
- :rtype: str
145
- """
146
- return self._involved_object
147
-
148
- @involved_object.setter
149
- def involved_object(self, involved_object):
150
- """Sets the involved_object of this EventItem.
151
-
152
- 涉及对象。
153
-
154
- :param involved_object: The involved_object of this EventItem.
155
- :type involved_object: str
156
- """
157
- self._involved_object = involved_object
158
-
159
- @property
160
- def message(self):
161
- """Gets the message of this EventItem.
162
-
163
- 组件事件信息。
164
-
165
- :return: The message of this EventItem.
166
- :rtype: str
167
- """
168
- return self._message
169
-
170
- @message.setter
171
- def message(self, message):
172
- """Sets the message of this EventItem.
173
-
174
- 组件事件信息。
175
-
176
- :param message: The message of this EventItem.
177
- :type message: str
178
- """
179
- self._message = message
180
-
181
- @property
182
- def created_at(self):
183
- """Gets the created_at of this EventItem.
184
-
185
- 创建时间。
186
-
187
- :return: The created_at of this EventItem.
188
- :rtype: str
189
- """
190
- return self._created_at
191
-
192
- @created_at.setter
193
- def created_at(self, created_at):
194
- """Sets the created_at of this EventItem.
195
-
196
- 创建时间。
197
-
198
- :param created_at: The created_at of this EventItem.
199
- :type created_at: str
200
- """
201
- self._created_at = created_at
202
-
203
- @property
204
- def updated_at(self):
205
- """Gets the updated_at of this EventItem.
206
-
207
- 更新时间。
208
-
209
- :return: The updated_at of this EventItem.
210
- :rtype: str
211
- """
212
- return self._updated_at
213
-
214
- @updated_at.setter
215
- def updated_at(self, updated_at):
216
- """Sets the updated_at of this EventItem.
217
-
218
- 更新时间。
219
-
220
- :param updated_at: The updated_at of this EventItem.
221
- :type updated_at: str
222
- """
223
- self._updated_at = updated_at
224
-
225
- @property
226
- def status(self):
227
- """Gets the status of this EventItem.
228
-
229
- 组件事件状态。
230
-
231
- :return: The status of this EventItem.
232
- :rtype: str
233
- """
234
- return self._status
235
-
236
- @status.setter
237
- def status(self, status):
238
- """Sets the status of this EventItem.
239
-
240
- 组件事件状态。
241
-
242
- :param status: The status of this EventItem.
243
- :type status: str
244
- """
245
- self._status = status
246
-
247
- @property
248
- def count(self):
249
- """Gets the count of this EventItem.
250
-
251
- 事件发生次数。
252
-
253
- :return: The count of this EventItem.
254
- :rtype: int
255
- """
256
- return self._count
257
-
258
- @count.setter
259
- def count(self, count):
260
- """Sets the count of this EventItem.
261
-
262
- 事件发生次数。
263
-
264
- :param count: The count of this EventItem.
265
- :type count: int
266
- """
267
- self._count = count
268
-
269
- def to_dict(self):
270
- """Returns the model properties as a dict"""
271
- result = {}
272
-
273
- for attr, _ in six.iteritems(self.openapi_types):
274
- value = getattr(self, attr)
275
- if isinstance(value, list):
276
- result[attr] = list(map(
277
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
278
- value
279
- ))
280
- elif hasattr(value, "to_dict"):
281
- result[attr] = value.to_dict()
282
- elif isinstance(value, dict):
283
- result[attr] = dict(map(
284
- lambda item: (item[0], item[1].to_dict())
285
- if hasattr(item[1], "to_dict") else item,
286
- value.items()
287
- ))
288
- else:
289
- if attr in self.sensitive_list:
290
- result[attr] = "****"
291
- else:
292
- result[attr] = value
293
-
294
- return result
295
-
296
- def to_str(self):
297
- """Returns the string representation of the model"""
298
- import simplejson as json
299
- if six.PY2:
300
- import sys
301
- reload(sys)
302
- sys.setdefaultencoding("utf-8")
303
- return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
304
-
305
- def __repr__(self):
306
- """For `print`"""
307
- return self.to_str()
308
-
309
- def __eq__(self, other):
310
- """Returns true if both objects are equal"""
311
- if not isinstance(other, EventItem):
312
- return False
313
-
314
- return self.__dict__ == other.__dict__
315
-
316
- def __ne__(self, other):
317
- """Returns true if both objects are not equal"""
318
- return not self == other