huaweicloudsdkrocketmq 3.1.146__py2.py3-none-any.whl → 3.1.147__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 (70) hide show
  1. huaweicloudsdkrocketmq/v2/__init__.py +13 -1
  2. huaweicloudsdkrocketmq/v2/model/__init__.py +13 -1
  3. huaweicloudsdkrocketmq/v2/model/batch_update_consumer_group.py +260 -0
  4. huaweicloudsdkrocketmq/v2/model/batch_update_consumer_group_req.py +4 -4
  5. huaweicloudsdkrocketmq/v2/model/brokers.py +6 -6
  6. huaweicloudsdkrocketmq/v2/model/consumer_detail_resp.py +12 -12
  7. huaweicloudsdkrocketmq/v2/model/consumer_group.py +27 -27
  8. huaweicloudsdkrocketmq/v2/model/consumer_list.py +6 -6
  9. huaweicloudsdkrocketmq/v2/model/create_instance_by_engine_req.py +6 -6
  10. huaweicloudsdkrocketmq/v2/model/create_post_paid_instance_req.py +9 -9
  11. huaweicloudsdkrocketmq/v2/model/create_user_request.py +3 -3
  12. huaweicloudsdkrocketmq/v2/model/create_user_response.py +24 -24
  13. huaweicloudsdkrocketmq/v2/model/enable_dns_request.py +114 -0
  14. huaweicloudsdkrocketmq/v2/model/enable_dns_response.py +85 -0
  15. huaweicloudsdkrocketmq/v2/model/instance_detail.py +1942 -0
  16. huaweicloudsdkrocketmq/v2/model/list_available_zones_resp_available_zones.py +27 -27
  17. huaweicloudsdkrocketmq/v2/model/list_available_zones_response.py +6 -6
  18. huaweicloudsdkrocketmq/v2/model/list_brokers_request.py +61 -3
  19. huaweicloudsdkrocketmq/v2/model/list_brokers_response.py +88 -1
  20. huaweicloudsdkrocketmq/v2/model/list_engine_products_request.py +228 -0
  21. huaweicloudsdkrocketmq/v2/model/list_engine_products_response.py +261 -0
  22. huaweicloudsdkrocketmq/v2/model/list_instance_consumer_groups_request.py +12 -12
  23. huaweicloudsdkrocketmq/v2/model/list_instance_consumer_groups_response.py +18 -18
  24. huaweicloudsdkrocketmq/v2/model/list_instances_request.py +27 -27
  25. huaweicloudsdkrocketmq/v2/model/list_instances_response.py +10 -10
  26. huaweicloudsdkrocketmq/v2/model/list_message_trace_request.py +61 -3
  27. huaweicloudsdkrocketmq/v2/model/list_message_trace_response.py +88 -1
  28. huaweicloudsdkrocketmq/v2/model/list_rocket_instance_topics_request.py +9 -9
  29. huaweicloudsdkrocketmq/v2/model/list_rocket_instance_topics_response.py +18 -18
  30. huaweicloudsdkrocketmq/v2/model/product_entity.py +434 -0
  31. huaweicloudsdkrocketmq/v2/model/queue.py +15 -15
  32. huaweicloudsdkrocketmq/v2/model/quota_resource_entity.py +173 -0
  33. huaweicloudsdkrocketmq/v2/model/quotas_resp_quotas.py +115 -0
  34. huaweicloudsdkrocketmq/v2/model/resend_req.py +2 -4
  35. huaweicloudsdkrocketmq/v2/model/resize_engine_instance_req.py +6 -6
  36. huaweicloudsdkrocketmq/v2/model/restart_instance_request.py +142 -0
  37. huaweicloudsdkrocketmq/v2/model/restart_instance_response.py +174 -0
  38. huaweicloudsdkrocketmq/v2/model/show_consumer_list_or_details_request.py +15 -15
  39. huaweicloudsdkrocketmq/v2/model/show_consumer_list_or_details_response.py +18 -18
  40. huaweicloudsdkrocketmq/v2/model/show_engine_instance_extend_product_info_request.py +61 -3
  41. huaweicloudsdkrocketmq/v2/model/show_engine_instance_extend_product_info_response.py +88 -1
  42. huaweicloudsdkrocketmq/v2/model/show_instance_request.py +3 -3
  43. huaweicloudsdkrocketmq/v2/model/show_instance_response.py +458 -168
  44. huaweicloudsdkrocketmq/v2/model/show_one_topic_response.py +15 -15
  45. huaweicloudsdkrocketmq/v2/model/show_quotas_request.py +84 -0
  46. huaweicloudsdkrocketmq/v2/model/show_quotas_response.py +112 -0
  47. huaweicloudsdkrocketmq/v2/model/show_rocket_mq_configs_request.py +61 -3
  48. huaweicloudsdkrocketmq/v2/model/show_rocket_mq_configs_response.py +88 -1
  49. huaweicloudsdkrocketmq/v2/model/show_rocketmq_project_tags_request.py +61 -1
  50. huaweicloudsdkrocketmq/v2/model/show_rocketmq_project_tags_response.py +91 -4
  51. huaweicloudsdkrocketmq/v2/model/show_rocketmq_tags_request.py +61 -3
  52. huaweicloudsdkrocketmq/v2/model/show_rocketmq_tags_response.py +88 -1
  53. huaweicloudsdkrocketmq/v2/model/show_user_response.py +24 -24
  54. huaweicloudsdkrocketmq/v2/model/tag_multy_value_entity.py +6 -6
  55. huaweicloudsdkrocketmq/v2/model/topic.py +15 -15
  56. huaweicloudsdkrocketmq/v2/model/topic_brokers.py +9 -9
  57. huaweicloudsdkrocketmq/v2/model/update_user_request.py +6 -6
  58. huaweicloudsdkrocketmq/v2/model/update_user_response.py +24 -24
  59. huaweicloudsdkrocketmq/v2/model/user.py +24 -24
  60. huaweicloudsdkrocketmq/v2/model/user_group_perms.py +6 -6
  61. huaweicloudsdkrocketmq/v2/model/user_topic_perms.py +6 -6
  62. huaweicloudsdkrocketmq/v2/region/rocketmq_region.py +9 -0
  63. huaweicloudsdkrocketmq/v2/rocketmq_async_client.py +292 -0
  64. huaweicloudsdkrocketmq/v2/rocketmq_client.py +292 -0
  65. {huaweicloudsdkrocketmq-3.1.146.dist-info → huaweicloudsdkrocketmq-3.1.147.dist-info}/METADATA +2 -2
  66. {huaweicloudsdkrocketmq-3.1.146.dist-info → huaweicloudsdkrocketmq-3.1.147.dist-info}/RECORD +69 -57
  67. huaweicloudsdkrocketmq/v2/model/show_instance_resp.py +0 -1681
  68. {huaweicloudsdkrocketmq-3.1.146.dist-info → huaweicloudsdkrocketmq-3.1.147.dist-info}/LICENSE +0 -0
  69. {huaweicloudsdkrocketmq-3.1.146.dist-info → huaweicloudsdkrocketmq-3.1.147.dist-info}/WHEEL +0 -0
  70. {huaweicloudsdkrocketmq-3.1.146.dist-info → huaweicloudsdkrocketmq-3.1.147.dist-info}/top_level.txt +0 -0
@@ -1,1681 +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 ShowInstanceResp:
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
- 'engine': 'str',
22
- 'status': 'str',
23
- 'description': 'str',
24
- 'type': 'str',
25
- 'specification': 'str',
26
- 'engine_version': 'str',
27
- 'instance_id': 'str',
28
- 'charging_mode': 'int',
29
- 'vpc_id': 'str',
30
- 'vpc_name': 'str',
31
- 'created_at': 'str',
32
- 'product_id': 'str',
33
- 'security_group_id': 'str',
34
- 'security_group_name': 'str',
35
- 'subnet_id': 'str',
36
- 'subnet_name': 'str',
37
- 'subnet_cidr': 'str',
38
- 'available_zones': 'list[str]',
39
- 'available_zone_names': 'list[str]',
40
- 'user_id': 'str',
41
- 'user_name': 'str',
42
- 'maintain_begin': 'str',
43
- 'maintain_end': 'str',
44
- 'enable_log_collection': 'bool',
45
- 'storage_space': 'int',
46
- 'used_storage_space': 'int',
47
- 'enable_publicip': 'bool',
48
- 'publicip_id': 'str',
49
- 'publicip_address': 'str',
50
- 'ssl_enable': 'bool',
51
- 'cross_vpc_info': 'str',
52
- 'storage_resource_id': 'str',
53
- 'storage_spec_code': 'str',
54
- 'service_type': 'str',
55
- 'storage_type': 'str',
56
- 'extend_times': 'int',
57
- 'ipv6_enable': 'bool',
58
- 'support_features': 'str',
59
- 'disk_encrypted': 'bool',
60
- 'ces_version': 'str',
61
- 'node_num': 'int',
62
- 'new_spec_billing_enable': 'bool',
63
- 'enable_acl': 'bool',
64
- 'broker_num': 'int',
65
- 'namesrv_address': 'str',
66
- 'broker_address': 'str',
67
- 'public_namesrv_address': 'str',
68
- 'public_broker_address': 'str',
69
- 'grpc_address': 'str',
70
- 'public_grpc_address': 'str',
71
- 'enterprise_project_id': 'str',
72
- 'tags': 'list[TagEntity]',
73
- 'total_storage_space': 'int',
74
- 'resource_spec_code': 'str'
75
- }
76
-
77
- attribute_map = {
78
- 'name': 'name',
79
- 'engine': 'engine',
80
- 'status': 'status',
81
- 'description': 'description',
82
- 'type': 'type',
83
- 'specification': 'specification',
84
- 'engine_version': 'engine_version',
85
- 'instance_id': 'instance_id',
86
- 'charging_mode': 'charging_mode',
87
- 'vpc_id': 'vpc_id',
88
- 'vpc_name': 'vpc_name',
89
- 'created_at': 'created_at',
90
- 'product_id': 'product_id',
91
- 'security_group_id': 'security_group_id',
92
- 'security_group_name': 'security_group_name',
93
- 'subnet_id': 'subnet_id',
94
- 'subnet_name': 'subnet_name',
95
- 'subnet_cidr': 'subnet_cidr',
96
- 'available_zones': 'available_zones',
97
- 'available_zone_names': 'available_zone_names',
98
- 'user_id': 'user_id',
99
- 'user_name': 'user_name',
100
- 'maintain_begin': 'maintain_begin',
101
- 'maintain_end': 'maintain_end',
102
- 'enable_log_collection': 'enable_log_collection',
103
- 'storage_space': 'storage_space',
104
- 'used_storage_space': 'used_storage_space',
105
- 'enable_publicip': 'enable_publicip',
106
- 'publicip_id': 'publicip_id',
107
- 'publicip_address': 'publicip_address',
108
- 'ssl_enable': 'ssl_enable',
109
- 'cross_vpc_info': 'cross_vpc_info',
110
- 'storage_resource_id': 'storage_resource_id',
111
- 'storage_spec_code': 'storage_spec_code',
112
- 'service_type': 'service_type',
113
- 'storage_type': 'storage_type',
114
- 'extend_times': 'extend_times',
115
- 'ipv6_enable': 'ipv6_enable',
116
- 'support_features': 'support_features',
117
- 'disk_encrypted': 'disk_encrypted',
118
- 'ces_version': 'ces_version',
119
- 'node_num': 'node_num',
120
- 'new_spec_billing_enable': 'new_spec_billing_enable',
121
- 'enable_acl': 'enable_acl',
122
- 'broker_num': 'broker_num',
123
- 'namesrv_address': 'namesrv_address',
124
- 'broker_address': 'broker_address',
125
- 'public_namesrv_address': 'public_namesrv_address',
126
- 'public_broker_address': 'public_broker_address',
127
- 'grpc_address': 'grpc_address',
128
- 'public_grpc_address': 'public_grpc_address',
129
- 'enterprise_project_id': 'enterprise_project_id',
130
- 'tags': 'tags',
131
- 'total_storage_space': 'total_storage_space',
132
- 'resource_spec_code': 'resource_spec_code'
133
- }
134
-
135
- def __init__(self, name=None, engine=None, status=None, description=None, type=None, specification=None, engine_version=None, instance_id=None, charging_mode=None, vpc_id=None, vpc_name=None, created_at=None, product_id=None, security_group_id=None, security_group_name=None, subnet_id=None, subnet_name=None, subnet_cidr=None, available_zones=None, available_zone_names=None, user_id=None, user_name=None, maintain_begin=None, maintain_end=None, enable_log_collection=None, storage_space=None, used_storage_space=None, enable_publicip=None, publicip_id=None, publicip_address=None, ssl_enable=None, cross_vpc_info=None, storage_resource_id=None, storage_spec_code=None, service_type=None, storage_type=None, extend_times=None, ipv6_enable=None, support_features=None, disk_encrypted=None, ces_version=None, node_num=None, new_spec_billing_enable=None, enable_acl=None, broker_num=None, namesrv_address=None, broker_address=None, public_namesrv_address=None, public_broker_address=None, grpc_address=None, public_grpc_address=None, enterprise_project_id=None, tags=None, total_storage_space=None, resource_spec_code=None):
136
- r"""ShowInstanceResp
137
-
138
- The model defined in huaweicloud sdk
139
-
140
- :param name: 实例名称。
141
- :type name: str
142
- :param engine: 引擎。
143
- :type engine: str
144
- :param status: 状态。
145
- :type status: str
146
- :param description: 消息描述。
147
- :type description: str
148
- :param type: 实例类型:集群,cluster。
149
- :type type: str
150
- :param specification: 实例规格。
151
- :type specification: str
152
- :param engine_version: 版本。
153
- :type engine_version: str
154
- :param instance_id: 实例ID。
155
- :type instance_id: str
156
- :param charging_mode: [付费模式,1表示按需计费。](tag:hws_eu,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[付费模式,1表示按需计费,0表示包年/包月计费。](tag:hws,hws_eu,hws_hk,ctc) [计费模式,参数暂未使用。](tag:ocb,hws_ocb,hcs,fcs)
157
- :type charging_mode: int
158
- :param vpc_id: 私有云ID。
159
- :type vpc_id: str
160
- :param vpc_name: 私有云名称。
161
- :type vpc_name: str
162
- :param created_at: 完成创建时间。 格式为时间戳,指从格林威治时间1970年01月01日00时00分00秒起至指定时间的偏差总毫秒数。
163
- :type created_at: str
164
- :param product_id: 产品标识。
165
- :type product_id: str
166
- :param security_group_id: 安全组ID。
167
- :type security_group_id: str
168
- :param security_group_name: 租户安全组名称。
169
- :type security_group_name: str
170
- :param subnet_id: 子网ID。
171
- :type subnet_id: str
172
- :param subnet_name: 子网名称。
173
- :type subnet_name: str
174
- :param subnet_cidr: 子网路由(仅RocketMQ 5.x版本会显示此字段)。
175
- :type subnet_cidr: str
176
- :param available_zones: 可用区ID列表。
177
- :type available_zones: list[str]
178
- :param available_zone_names: 可用区名称列表。
179
- :type available_zone_names: list[str]
180
- :param user_id: 用户ID。
181
- :type user_id: str
182
- :param user_name: 用户名。
183
- :type user_name: str
184
- :param maintain_begin: 维护时间窗开始时间,格式为HH:mm:ss。
185
- :type maintain_begin: str
186
- :param maintain_end: 维护时间窗结束时间,格式为HH:mm:ss。
187
- :type maintain_end: str
188
- :param enable_log_collection: 是否开启消息收集功能。
189
- :type enable_log_collection: bool
190
- :param storage_space: 存储空间,单位:GB。
191
- :type storage_space: int
192
- :param used_storage_space: 已用消息存储空间,单位:GB。
193
- :type used_storage_space: int
194
- :param enable_publicip: 是否开启公网。
195
- :type enable_publicip: bool
196
- :param publicip_id: 实例绑定的弹性IP地址的ID。 以英文逗号隔开多个弹性IP地址的ID。 如果开启了公网访问功能(即enable_publicip为true),该字段为必选。
197
- :type publicip_id: str
198
- :param publicip_address: 公网IP地址。
199
- :type publicip_address: str
200
- :param ssl_enable: 是否开启SSL。
201
- :type ssl_enable: bool
202
- :param cross_vpc_info: 跨VPC访问信息。
203
- :type cross_vpc_info: str
204
- :param storage_resource_id: 存储资源ID。
205
- :type storage_resource_id: str
206
- :param storage_spec_code: 存储规格代码。
207
- :type storage_spec_code: str
208
- :param service_type: 服务类型。
209
- :type service_type: str
210
- :param storage_type: 存储类型。
211
- :type storage_type: str
212
- :param extend_times: 扩展时间。
213
- :type extend_times: int
214
- :param ipv6_enable: 是否开启IPv6。
215
- :type ipv6_enable: bool
216
- :param support_features: 实例支持的特性功能。
217
- :type support_features: str
218
- :param disk_encrypted: 是否开启磁盘加密。
219
- :type disk_encrypted: bool
220
- :param ces_version: 云监控版本。
221
- :type ces_version: str
222
- :param node_num: 节点数。
223
- :type node_num: int
224
- :param new_spec_billing_enable: 是否启用新规格计费。
225
- :type new_spec_billing_enable: bool
226
- :param enable_acl: 是否开启访问控制列表。
227
- :type enable_acl: bool
228
- :param broker_num: 节点数(仅RocketMQ 4.8.0版本会显示此字段)。
229
- :type broker_num: int
230
- :param namesrv_address: 元数据地址。
231
- :type namesrv_address: str
232
- :param broker_address: 业务数据地址。
233
- :type broker_address: str
234
- :param public_namesrv_address: 公网元数据地址。
235
- :type public_namesrv_address: str
236
- :param public_broker_address: 公网业务数据地址。
237
- :type public_broker_address: str
238
- :param grpc_address: grpc连接地址(仅RocketMQ 5.x版本会显示此字段)。
239
- :type grpc_address: str
240
- :param public_grpc_address: 公网grpc连接地址(仅RocketMQ 5.x版本会显示此字段)。
241
- :type public_grpc_address: str
242
- :param enterprise_project_id: 企业项目ID。
243
- :type enterprise_project_id: str
244
- :param tags: 标签列表。
245
- :type tags: list[:class:`huaweicloudsdkrocketmq.v2.TagEntity`]
246
- :param total_storage_space: 总存储空间。
247
- :type total_storage_space: int
248
- :param resource_spec_code: 资源规格。
249
- :type resource_spec_code: str
250
- """
251
-
252
-
253
-
254
- self._name = None
255
- self._engine = None
256
- self._status = None
257
- self._description = None
258
- self._type = None
259
- self._specification = None
260
- self._engine_version = None
261
- self._instance_id = None
262
- self._charging_mode = None
263
- self._vpc_id = None
264
- self._vpc_name = None
265
- self._created_at = None
266
- self._product_id = None
267
- self._security_group_id = None
268
- self._security_group_name = None
269
- self._subnet_id = None
270
- self._subnet_name = None
271
- self._subnet_cidr = None
272
- self._available_zones = None
273
- self._available_zone_names = None
274
- self._user_id = None
275
- self._user_name = None
276
- self._maintain_begin = None
277
- self._maintain_end = None
278
- self._enable_log_collection = None
279
- self._storage_space = None
280
- self._used_storage_space = None
281
- self._enable_publicip = None
282
- self._publicip_id = None
283
- self._publicip_address = None
284
- self._ssl_enable = None
285
- self._cross_vpc_info = None
286
- self._storage_resource_id = None
287
- self._storage_spec_code = None
288
- self._service_type = None
289
- self._storage_type = None
290
- self._extend_times = None
291
- self._ipv6_enable = None
292
- self._support_features = None
293
- self._disk_encrypted = None
294
- self._ces_version = None
295
- self._node_num = None
296
- self._new_spec_billing_enable = None
297
- self._enable_acl = None
298
- self._broker_num = None
299
- self._namesrv_address = None
300
- self._broker_address = None
301
- self._public_namesrv_address = None
302
- self._public_broker_address = None
303
- self._grpc_address = None
304
- self._public_grpc_address = None
305
- self._enterprise_project_id = None
306
- self._tags = None
307
- self._total_storage_space = None
308
- self._resource_spec_code = None
309
- self.discriminator = None
310
-
311
- if name is not None:
312
- self.name = name
313
- if engine is not None:
314
- self.engine = engine
315
- if status is not None:
316
- self.status = status
317
- if description is not None:
318
- self.description = description
319
- if type is not None:
320
- self.type = type
321
- if specification is not None:
322
- self.specification = specification
323
- if engine_version is not None:
324
- self.engine_version = engine_version
325
- if instance_id is not None:
326
- self.instance_id = instance_id
327
- if charging_mode is not None:
328
- self.charging_mode = charging_mode
329
- if vpc_id is not None:
330
- self.vpc_id = vpc_id
331
- if vpc_name is not None:
332
- self.vpc_name = vpc_name
333
- if created_at is not None:
334
- self.created_at = created_at
335
- if product_id is not None:
336
- self.product_id = product_id
337
- if security_group_id is not None:
338
- self.security_group_id = security_group_id
339
- if security_group_name is not None:
340
- self.security_group_name = security_group_name
341
- if subnet_id is not None:
342
- self.subnet_id = subnet_id
343
- if subnet_name is not None:
344
- self.subnet_name = subnet_name
345
- if subnet_cidr is not None:
346
- self.subnet_cidr = subnet_cidr
347
- if available_zones is not None:
348
- self.available_zones = available_zones
349
- if available_zone_names is not None:
350
- self.available_zone_names = available_zone_names
351
- if user_id is not None:
352
- self.user_id = user_id
353
- if user_name is not None:
354
- self.user_name = user_name
355
- if maintain_begin is not None:
356
- self.maintain_begin = maintain_begin
357
- if maintain_end is not None:
358
- self.maintain_end = maintain_end
359
- if enable_log_collection is not None:
360
- self.enable_log_collection = enable_log_collection
361
- if storage_space is not None:
362
- self.storage_space = storage_space
363
- if used_storage_space is not None:
364
- self.used_storage_space = used_storage_space
365
- if enable_publicip is not None:
366
- self.enable_publicip = enable_publicip
367
- if publicip_id is not None:
368
- self.publicip_id = publicip_id
369
- if publicip_address is not None:
370
- self.publicip_address = publicip_address
371
- if ssl_enable is not None:
372
- self.ssl_enable = ssl_enable
373
- if cross_vpc_info is not None:
374
- self.cross_vpc_info = cross_vpc_info
375
- if storage_resource_id is not None:
376
- self.storage_resource_id = storage_resource_id
377
- if storage_spec_code is not None:
378
- self.storage_spec_code = storage_spec_code
379
- if service_type is not None:
380
- self.service_type = service_type
381
- if storage_type is not None:
382
- self.storage_type = storage_type
383
- if extend_times is not None:
384
- self.extend_times = extend_times
385
- if ipv6_enable is not None:
386
- self.ipv6_enable = ipv6_enable
387
- if support_features is not None:
388
- self.support_features = support_features
389
- if disk_encrypted is not None:
390
- self.disk_encrypted = disk_encrypted
391
- if ces_version is not None:
392
- self.ces_version = ces_version
393
- if node_num is not None:
394
- self.node_num = node_num
395
- if new_spec_billing_enable is not None:
396
- self.new_spec_billing_enable = new_spec_billing_enable
397
- if enable_acl is not None:
398
- self.enable_acl = enable_acl
399
- if broker_num is not None:
400
- self.broker_num = broker_num
401
- if namesrv_address is not None:
402
- self.namesrv_address = namesrv_address
403
- if broker_address is not None:
404
- self.broker_address = broker_address
405
- if public_namesrv_address is not None:
406
- self.public_namesrv_address = public_namesrv_address
407
- if public_broker_address is not None:
408
- self.public_broker_address = public_broker_address
409
- if grpc_address is not None:
410
- self.grpc_address = grpc_address
411
- if public_grpc_address is not None:
412
- self.public_grpc_address = public_grpc_address
413
- if enterprise_project_id is not None:
414
- self.enterprise_project_id = enterprise_project_id
415
- if tags is not None:
416
- self.tags = tags
417
- if total_storage_space is not None:
418
- self.total_storage_space = total_storage_space
419
- if resource_spec_code is not None:
420
- self.resource_spec_code = resource_spec_code
421
-
422
- @property
423
- def name(self):
424
- r"""Gets the name of this ShowInstanceResp.
425
-
426
- 实例名称。
427
-
428
- :return: The name of this ShowInstanceResp.
429
- :rtype: str
430
- """
431
- return self._name
432
-
433
- @name.setter
434
- def name(self, name):
435
- r"""Sets the name of this ShowInstanceResp.
436
-
437
- 实例名称。
438
-
439
- :param name: The name of this ShowInstanceResp.
440
- :type name: str
441
- """
442
- self._name = name
443
-
444
- @property
445
- def engine(self):
446
- r"""Gets the engine of this ShowInstanceResp.
447
-
448
- 引擎。
449
-
450
- :return: The engine of this ShowInstanceResp.
451
- :rtype: str
452
- """
453
- return self._engine
454
-
455
- @engine.setter
456
- def engine(self, engine):
457
- r"""Sets the engine of this ShowInstanceResp.
458
-
459
- 引擎。
460
-
461
- :param engine: The engine of this ShowInstanceResp.
462
- :type engine: str
463
- """
464
- self._engine = engine
465
-
466
- @property
467
- def status(self):
468
- r"""Gets the status of this ShowInstanceResp.
469
-
470
- 状态。
471
-
472
- :return: The status of this ShowInstanceResp.
473
- :rtype: str
474
- """
475
- return self._status
476
-
477
- @status.setter
478
- def status(self, status):
479
- r"""Sets the status of this ShowInstanceResp.
480
-
481
- 状态。
482
-
483
- :param status: The status of this ShowInstanceResp.
484
- :type status: str
485
- """
486
- self._status = status
487
-
488
- @property
489
- def description(self):
490
- r"""Gets the description of this ShowInstanceResp.
491
-
492
- 消息描述。
493
-
494
- :return: The description of this ShowInstanceResp.
495
- :rtype: str
496
- """
497
- return self._description
498
-
499
- @description.setter
500
- def description(self, description):
501
- r"""Sets the description of this ShowInstanceResp.
502
-
503
- 消息描述。
504
-
505
- :param description: The description of this ShowInstanceResp.
506
- :type description: str
507
- """
508
- self._description = description
509
-
510
- @property
511
- def type(self):
512
- r"""Gets the type of this ShowInstanceResp.
513
-
514
- 实例类型:集群,cluster。
515
-
516
- :return: The type of this ShowInstanceResp.
517
- :rtype: str
518
- """
519
- return self._type
520
-
521
- @type.setter
522
- def type(self, type):
523
- r"""Sets the type of this ShowInstanceResp.
524
-
525
- 实例类型:集群,cluster。
526
-
527
- :param type: The type of this ShowInstanceResp.
528
- :type type: str
529
- """
530
- self._type = type
531
-
532
- @property
533
- def specification(self):
534
- r"""Gets the specification of this ShowInstanceResp.
535
-
536
- 实例规格。
537
-
538
- :return: The specification of this ShowInstanceResp.
539
- :rtype: str
540
- """
541
- return self._specification
542
-
543
- @specification.setter
544
- def specification(self, specification):
545
- r"""Sets the specification of this ShowInstanceResp.
546
-
547
- 实例规格。
548
-
549
- :param specification: The specification of this ShowInstanceResp.
550
- :type specification: str
551
- """
552
- self._specification = specification
553
-
554
- @property
555
- def engine_version(self):
556
- r"""Gets the engine_version of this ShowInstanceResp.
557
-
558
- 版本。
559
-
560
- :return: The engine_version of this ShowInstanceResp.
561
- :rtype: str
562
- """
563
- return self._engine_version
564
-
565
- @engine_version.setter
566
- def engine_version(self, engine_version):
567
- r"""Sets the engine_version of this ShowInstanceResp.
568
-
569
- 版本。
570
-
571
- :param engine_version: The engine_version of this ShowInstanceResp.
572
- :type engine_version: str
573
- """
574
- self._engine_version = engine_version
575
-
576
- @property
577
- def instance_id(self):
578
- r"""Gets the instance_id of this ShowInstanceResp.
579
-
580
- 实例ID。
581
-
582
- :return: The instance_id of this ShowInstanceResp.
583
- :rtype: str
584
- """
585
- return self._instance_id
586
-
587
- @instance_id.setter
588
- def instance_id(self, instance_id):
589
- r"""Sets the instance_id of this ShowInstanceResp.
590
-
591
- 实例ID。
592
-
593
- :param instance_id: The instance_id of this ShowInstanceResp.
594
- :type instance_id: str
595
- """
596
- self._instance_id = instance_id
597
-
598
- @property
599
- def charging_mode(self):
600
- r"""Gets the charging_mode of this ShowInstanceResp.
601
-
602
- [付费模式,1表示按需计费。](tag:hws_eu,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[付费模式,1表示按需计费,0表示包年/包月计费。](tag:hws,hws_eu,hws_hk,ctc) [计费模式,参数暂未使用。](tag:ocb,hws_ocb,hcs,fcs)
603
-
604
- :return: The charging_mode of this ShowInstanceResp.
605
- :rtype: int
606
- """
607
- return self._charging_mode
608
-
609
- @charging_mode.setter
610
- def charging_mode(self, charging_mode):
611
- r"""Sets the charging_mode of this ShowInstanceResp.
612
-
613
- [付费模式,1表示按需计费。](tag:hws_eu,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[付费模式,1表示按需计费,0表示包年/包月计费。](tag:hws,hws_eu,hws_hk,ctc) [计费模式,参数暂未使用。](tag:ocb,hws_ocb,hcs,fcs)
614
-
615
- :param charging_mode: The charging_mode of this ShowInstanceResp.
616
- :type charging_mode: int
617
- """
618
- self._charging_mode = charging_mode
619
-
620
- @property
621
- def vpc_id(self):
622
- r"""Gets the vpc_id of this ShowInstanceResp.
623
-
624
- 私有云ID。
625
-
626
- :return: The vpc_id of this ShowInstanceResp.
627
- :rtype: str
628
- """
629
- return self._vpc_id
630
-
631
- @vpc_id.setter
632
- def vpc_id(self, vpc_id):
633
- r"""Sets the vpc_id of this ShowInstanceResp.
634
-
635
- 私有云ID。
636
-
637
- :param vpc_id: The vpc_id of this ShowInstanceResp.
638
- :type vpc_id: str
639
- """
640
- self._vpc_id = vpc_id
641
-
642
- @property
643
- def vpc_name(self):
644
- r"""Gets the vpc_name of this ShowInstanceResp.
645
-
646
- 私有云名称。
647
-
648
- :return: The vpc_name of this ShowInstanceResp.
649
- :rtype: str
650
- """
651
- return self._vpc_name
652
-
653
- @vpc_name.setter
654
- def vpc_name(self, vpc_name):
655
- r"""Sets the vpc_name of this ShowInstanceResp.
656
-
657
- 私有云名称。
658
-
659
- :param vpc_name: The vpc_name of this ShowInstanceResp.
660
- :type vpc_name: str
661
- """
662
- self._vpc_name = vpc_name
663
-
664
- @property
665
- def created_at(self):
666
- r"""Gets the created_at of this ShowInstanceResp.
667
-
668
- 完成创建时间。 格式为时间戳,指从格林威治时间1970年01月01日00时00分00秒起至指定时间的偏差总毫秒数。
669
-
670
- :return: The created_at of this ShowInstanceResp.
671
- :rtype: str
672
- """
673
- return self._created_at
674
-
675
- @created_at.setter
676
- def created_at(self, created_at):
677
- r"""Sets the created_at of this ShowInstanceResp.
678
-
679
- 完成创建时间。 格式为时间戳,指从格林威治时间1970年01月01日00时00分00秒起至指定时间的偏差总毫秒数。
680
-
681
- :param created_at: The created_at of this ShowInstanceResp.
682
- :type created_at: str
683
- """
684
- self._created_at = created_at
685
-
686
- @property
687
- def product_id(self):
688
- r"""Gets the product_id of this ShowInstanceResp.
689
-
690
- 产品标识。
691
-
692
- :return: The product_id of this ShowInstanceResp.
693
- :rtype: str
694
- """
695
- return self._product_id
696
-
697
- @product_id.setter
698
- def product_id(self, product_id):
699
- r"""Sets the product_id of this ShowInstanceResp.
700
-
701
- 产品标识。
702
-
703
- :param product_id: The product_id of this ShowInstanceResp.
704
- :type product_id: str
705
- """
706
- self._product_id = product_id
707
-
708
- @property
709
- def security_group_id(self):
710
- r"""Gets the security_group_id of this ShowInstanceResp.
711
-
712
- 安全组ID。
713
-
714
- :return: The security_group_id of this ShowInstanceResp.
715
- :rtype: str
716
- """
717
- return self._security_group_id
718
-
719
- @security_group_id.setter
720
- def security_group_id(self, security_group_id):
721
- r"""Sets the security_group_id of this ShowInstanceResp.
722
-
723
- 安全组ID。
724
-
725
- :param security_group_id: The security_group_id of this ShowInstanceResp.
726
- :type security_group_id: str
727
- """
728
- self._security_group_id = security_group_id
729
-
730
- @property
731
- def security_group_name(self):
732
- r"""Gets the security_group_name of this ShowInstanceResp.
733
-
734
- 租户安全组名称。
735
-
736
- :return: The security_group_name of this ShowInstanceResp.
737
- :rtype: str
738
- """
739
- return self._security_group_name
740
-
741
- @security_group_name.setter
742
- def security_group_name(self, security_group_name):
743
- r"""Sets the security_group_name of this ShowInstanceResp.
744
-
745
- 租户安全组名称。
746
-
747
- :param security_group_name: The security_group_name of this ShowInstanceResp.
748
- :type security_group_name: str
749
- """
750
- self._security_group_name = security_group_name
751
-
752
- @property
753
- def subnet_id(self):
754
- r"""Gets the subnet_id of this ShowInstanceResp.
755
-
756
- 子网ID。
757
-
758
- :return: The subnet_id of this ShowInstanceResp.
759
- :rtype: str
760
- """
761
- return self._subnet_id
762
-
763
- @subnet_id.setter
764
- def subnet_id(self, subnet_id):
765
- r"""Sets the subnet_id of this ShowInstanceResp.
766
-
767
- 子网ID。
768
-
769
- :param subnet_id: The subnet_id of this ShowInstanceResp.
770
- :type subnet_id: str
771
- """
772
- self._subnet_id = subnet_id
773
-
774
- @property
775
- def subnet_name(self):
776
- r"""Gets the subnet_name of this ShowInstanceResp.
777
-
778
- 子网名称。
779
-
780
- :return: The subnet_name of this ShowInstanceResp.
781
- :rtype: str
782
- """
783
- return self._subnet_name
784
-
785
- @subnet_name.setter
786
- def subnet_name(self, subnet_name):
787
- r"""Sets the subnet_name of this ShowInstanceResp.
788
-
789
- 子网名称。
790
-
791
- :param subnet_name: The subnet_name of this ShowInstanceResp.
792
- :type subnet_name: str
793
- """
794
- self._subnet_name = subnet_name
795
-
796
- @property
797
- def subnet_cidr(self):
798
- r"""Gets the subnet_cidr of this ShowInstanceResp.
799
-
800
- 子网路由(仅RocketMQ 5.x版本会显示此字段)。
801
-
802
- :return: The subnet_cidr of this ShowInstanceResp.
803
- :rtype: str
804
- """
805
- return self._subnet_cidr
806
-
807
- @subnet_cidr.setter
808
- def subnet_cidr(self, subnet_cidr):
809
- r"""Sets the subnet_cidr of this ShowInstanceResp.
810
-
811
- 子网路由(仅RocketMQ 5.x版本会显示此字段)。
812
-
813
- :param subnet_cidr: The subnet_cidr of this ShowInstanceResp.
814
- :type subnet_cidr: str
815
- """
816
- self._subnet_cidr = subnet_cidr
817
-
818
- @property
819
- def available_zones(self):
820
- r"""Gets the available_zones of this ShowInstanceResp.
821
-
822
- 可用区ID列表。
823
-
824
- :return: The available_zones of this ShowInstanceResp.
825
- :rtype: list[str]
826
- """
827
- return self._available_zones
828
-
829
- @available_zones.setter
830
- def available_zones(self, available_zones):
831
- r"""Sets the available_zones of this ShowInstanceResp.
832
-
833
- 可用区ID列表。
834
-
835
- :param available_zones: The available_zones of this ShowInstanceResp.
836
- :type available_zones: list[str]
837
- """
838
- self._available_zones = available_zones
839
-
840
- @property
841
- def available_zone_names(self):
842
- r"""Gets the available_zone_names of this ShowInstanceResp.
843
-
844
- 可用区名称列表。
845
-
846
- :return: The available_zone_names of this ShowInstanceResp.
847
- :rtype: list[str]
848
- """
849
- return self._available_zone_names
850
-
851
- @available_zone_names.setter
852
- def available_zone_names(self, available_zone_names):
853
- r"""Sets the available_zone_names of this ShowInstanceResp.
854
-
855
- 可用区名称列表。
856
-
857
- :param available_zone_names: The available_zone_names of this ShowInstanceResp.
858
- :type available_zone_names: list[str]
859
- """
860
- self._available_zone_names = available_zone_names
861
-
862
- @property
863
- def user_id(self):
864
- r"""Gets the user_id of this ShowInstanceResp.
865
-
866
- 用户ID。
867
-
868
- :return: The user_id of this ShowInstanceResp.
869
- :rtype: str
870
- """
871
- return self._user_id
872
-
873
- @user_id.setter
874
- def user_id(self, user_id):
875
- r"""Sets the user_id of this ShowInstanceResp.
876
-
877
- 用户ID。
878
-
879
- :param user_id: The user_id of this ShowInstanceResp.
880
- :type user_id: str
881
- """
882
- self._user_id = user_id
883
-
884
- @property
885
- def user_name(self):
886
- r"""Gets the user_name of this ShowInstanceResp.
887
-
888
- 用户名。
889
-
890
- :return: The user_name of this ShowInstanceResp.
891
- :rtype: str
892
- """
893
- return self._user_name
894
-
895
- @user_name.setter
896
- def user_name(self, user_name):
897
- r"""Sets the user_name of this ShowInstanceResp.
898
-
899
- 用户名。
900
-
901
- :param user_name: The user_name of this ShowInstanceResp.
902
- :type user_name: str
903
- """
904
- self._user_name = user_name
905
-
906
- @property
907
- def maintain_begin(self):
908
- r"""Gets the maintain_begin of this ShowInstanceResp.
909
-
910
- 维护时间窗开始时间,格式为HH:mm:ss。
911
-
912
- :return: The maintain_begin of this ShowInstanceResp.
913
- :rtype: str
914
- """
915
- return self._maintain_begin
916
-
917
- @maintain_begin.setter
918
- def maintain_begin(self, maintain_begin):
919
- r"""Sets the maintain_begin of this ShowInstanceResp.
920
-
921
- 维护时间窗开始时间,格式为HH:mm:ss。
922
-
923
- :param maintain_begin: The maintain_begin of this ShowInstanceResp.
924
- :type maintain_begin: str
925
- """
926
- self._maintain_begin = maintain_begin
927
-
928
- @property
929
- def maintain_end(self):
930
- r"""Gets the maintain_end of this ShowInstanceResp.
931
-
932
- 维护时间窗结束时间,格式为HH:mm:ss。
933
-
934
- :return: The maintain_end of this ShowInstanceResp.
935
- :rtype: str
936
- """
937
- return self._maintain_end
938
-
939
- @maintain_end.setter
940
- def maintain_end(self, maintain_end):
941
- r"""Sets the maintain_end of this ShowInstanceResp.
942
-
943
- 维护时间窗结束时间,格式为HH:mm:ss。
944
-
945
- :param maintain_end: The maintain_end of this ShowInstanceResp.
946
- :type maintain_end: str
947
- """
948
- self._maintain_end = maintain_end
949
-
950
- @property
951
- def enable_log_collection(self):
952
- r"""Gets the enable_log_collection of this ShowInstanceResp.
953
-
954
- 是否开启消息收集功能。
955
-
956
- :return: The enable_log_collection of this ShowInstanceResp.
957
- :rtype: bool
958
- """
959
- return self._enable_log_collection
960
-
961
- @enable_log_collection.setter
962
- def enable_log_collection(self, enable_log_collection):
963
- r"""Sets the enable_log_collection of this ShowInstanceResp.
964
-
965
- 是否开启消息收集功能。
966
-
967
- :param enable_log_collection: The enable_log_collection of this ShowInstanceResp.
968
- :type enable_log_collection: bool
969
- """
970
- self._enable_log_collection = enable_log_collection
971
-
972
- @property
973
- def storage_space(self):
974
- r"""Gets the storage_space of this ShowInstanceResp.
975
-
976
- 存储空间,单位:GB。
977
-
978
- :return: The storage_space of this ShowInstanceResp.
979
- :rtype: int
980
- """
981
- return self._storage_space
982
-
983
- @storage_space.setter
984
- def storage_space(self, storage_space):
985
- r"""Sets the storage_space of this ShowInstanceResp.
986
-
987
- 存储空间,单位:GB。
988
-
989
- :param storage_space: The storage_space of this ShowInstanceResp.
990
- :type storage_space: int
991
- """
992
- self._storage_space = storage_space
993
-
994
- @property
995
- def used_storage_space(self):
996
- r"""Gets the used_storage_space of this ShowInstanceResp.
997
-
998
- 已用消息存储空间,单位:GB。
999
-
1000
- :return: The used_storage_space of this ShowInstanceResp.
1001
- :rtype: int
1002
- """
1003
- return self._used_storage_space
1004
-
1005
- @used_storage_space.setter
1006
- def used_storage_space(self, used_storage_space):
1007
- r"""Sets the used_storage_space of this ShowInstanceResp.
1008
-
1009
- 已用消息存储空间,单位:GB。
1010
-
1011
- :param used_storage_space: The used_storage_space of this ShowInstanceResp.
1012
- :type used_storage_space: int
1013
- """
1014
- self._used_storage_space = used_storage_space
1015
-
1016
- @property
1017
- def enable_publicip(self):
1018
- r"""Gets the enable_publicip of this ShowInstanceResp.
1019
-
1020
- 是否开启公网。
1021
-
1022
- :return: The enable_publicip of this ShowInstanceResp.
1023
- :rtype: bool
1024
- """
1025
- return self._enable_publicip
1026
-
1027
- @enable_publicip.setter
1028
- def enable_publicip(self, enable_publicip):
1029
- r"""Sets the enable_publicip of this ShowInstanceResp.
1030
-
1031
- 是否开启公网。
1032
-
1033
- :param enable_publicip: The enable_publicip of this ShowInstanceResp.
1034
- :type enable_publicip: bool
1035
- """
1036
- self._enable_publicip = enable_publicip
1037
-
1038
- @property
1039
- def publicip_id(self):
1040
- r"""Gets the publicip_id of this ShowInstanceResp.
1041
-
1042
- 实例绑定的弹性IP地址的ID。 以英文逗号隔开多个弹性IP地址的ID。 如果开启了公网访问功能(即enable_publicip为true),该字段为必选。
1043
-
1044
- :return: The publicip_id of this ShowInstanceResp.
1045
- :rtype: str
1046
- """
1047
- return self._publicip_id
1048
-
1049
- @publicip_id.setter
1050
- def publicip_id(self, publicip_id):
1051
- r"""Sets the publicip_id of this ShowInstanceResp.
1052
-
1053
- 实例绑定的弹性IP地址的ID。 以英文逗号隔开多个弹性IP地址的ID。 如果开启了公网访问功能(即enable_publicip为true),该字段为必选。
1054
-
1055
- :param publicip_id: The publicip_id of this ShowInstanceResp.
1056
- :type publicip_id: str
1057
- """
1058
- self._publicip_id = publicip_id
1059
-
1060
- @property
1061
- def publicip_address(self):
1062
- r"""Gets the publicip_address of this ShowInstanceResp.
1063
-
1064
- 公网IP地址。
1065
-
1066
- :return: The publicip_address of this ShowInstanceResp.
1067
- :rtype: str
1068
- """
1069
- return self._publicip_address
1070
-
1071
- @publicip_address.setter
1072
- def publicip_address(self, publicip_address):
1073
- r"""Sets the publicip_address of this ShowInstanceResp.
1074
-
1075
- 公网IP地址。
1076
-
1077
- :param publicip_address: The publicip_address of this ShowInstanceResp.
1078
- :type publicip_address: str
1079
- """
1080
- self._publicip_address = publicip_address
1081
-
1082
- @property
1083
- def ssl_enable(self):
1084
- r"""Gets the ssl_enable of this ShowInstanceResp.
1085
-
1086
- 是否开启SSL。
1087
-
1088
- :return: The ssl_enable of this ShowInstanceResp.
1089
- :rtype: bool
1090
- """
1091
- return self._ssl_enable
1092
-
1093
- @ssl_enable.setter
1094
- def ssl_enable(self, ssl_enable):
1095
- r"""Sets the ssl_enable of this ShowInstanceResp.
1096
-
1097
- 是否开启SSL。
1098
-
1099
- :param ssl_enable: The ssl_enable of this ShowInstanceResp.
1100
- :type ssl_enable: bool
1101
- """
1102
- self._ssl_enable = ssl_enable
1103
-
1104
- @property
1105
- def cross_vpc_info(self):
1106
- r"""Gets the cross_vpc_info of this ShowInstanceResp.
1107
-
1108
- 跨VPC访问信息。
1109
-
1110
- :return: The cross_vpc_info of this ShowInstanceResp.
1111
- :rtype: str
1112
- """
1113
- return self._cross_vpc_info
1114
-
1115
- @cross_vpc_info.setter
1116
- def cross_vpc_info(self, cross_vpc_info):
1117
- r"""Sets the cross_vpc_info of this ShowInstanceResp.
1118
-
1119
- 跨VPC访问信息。
1120
-
1121
- :param cross_vpc_info: The cross_vpc_info of this ShowInstanceResp.
1122
- :type cross_vpc_info: str
1123
- """
1124
- self._cross_vpc_info = cross_vpc_info
1125
-
1126
- @property
1127
- def storage_resource_id(self):
1128
- r"""Gets the storage_resource_id of this ShowInstanceResp.
1129
-
1130
- 存储资源ID。
1131
-
1132
- :return: The storage_resource_id of this ShowInstanceResp.
1133
- :rtype: str
1134
- """
1135
- return self._storage_resource_id
1136
-
1137
- @storage_resource_id.setter
1138
- def storage_resource_id(self, storage_resource_id):
1139
- r"""Sets the storage_resource_id of this ShowInstanceResp.
1140
-
1141
- 存储资源ID。
1142
-
1143
- :param storage_resource_id: The storage_resource_id of this ShowInstanceResp.
1144
- :type storage_resource_id: str
1145
- """
1146
- self._storage_resource_id = storage_resource_id
1147
-
1148
- @property
1149
- def storage_spec_code(self):
1150
- r"""Gets the storage_spec_code of this ShowInstanceResp.
1151
-
1152
- 存储规格代码。
1153
-
1154
- :return: The storage_spec_code of this ShowInstanceResp.
1155
- :rtype: str
1156
- """
1157
- return self._storage_spec_code
1158
-
1159
- @storage_spec_code.setter
1160
- def storage_spec_code(self, storage_spec_code):
1161
- r"""Sets the storage_spec_code of this ShowInstanceResp.
1162
-
1163
- 存储规格代码。
1164
-
1165
- :param storage_spec_code: The storage_spec_code of this ShowInstanceResp.
1166
- :type storage_spec_code: str
1167
- """
1168
- self._storage_spec_code = storage_spec_code
1169
-
1170
- @property
1171
- def service_type(self):
1172
- r"""Gets the service_type of this ShowInstanceResp.
1173
-
1174
- 服务类型。
1175
-
1176
- :return: The service_type of this ShowInstanceResp.
1177
- :rtype: str
1178
- """
1179
- return self._service_type
1180
-
1181
- @service_type.setter
1182
- def service_type(self, service_type):
1183
- r"""Sets the service_type of this ShowInstanceResp.
1184
-
1185
- 服务类型。
1186
-
1187
- :param service_type: The service_type of this ShowInstanceResp.
1188
- :type service_type: str
1189
- """
1190
- self._service_type = service_type
1191
-
1192
- @property
1193
- def storage_type(self):
1194
- r"""Gets the storage_type of this ShowInstanceResp.
1195
-
1196
- 存储类型。
1197
-
1198
- :return: The storage_type of this ShowInstanceResp.
1199
- :rtype: str
1200
- """
1201
- return self._storage_type
1202
-
1203
- @storage_type.setter
1204
- def storage_type(self, storage_type):
1205
- r"""Sets the storage_type of this ShowInstanceResp.
1206
-
1207
- 存储类型。
1208
-
1209
- :param storage_type: The storage_type of this ShowInstanceResp.
1210
- :type storage_type: str
1211
- """
1212
- self._storage_type = storage_type
1213
-
1214
- @property
1215
- def extend_times(self):
1216
- r"""Gets the extend_times of this ShowInstanceResp.
1217
-
1218
- 扩展时间。
1219
-
1220
- :return: The extend_times of this ShowInstanceResp.
1221
- :rtype: int
1222
- """
1223
- return self._extend_times
1224
-
1225
- @extend_times.setter
1226
- def extend_times(self, extend_times):
1227
- r"""Sets the extend_times of this ShowInstanceResp.
1228
-
1229
- 扩展时间。
1230
-
1231
- :param extend_times: The extend_times of this ShowInstanceResp.
1232
- :type extend_times: int
1233
- """
1234
- self._extend_times = extend_times
1235
-
1236
- @property
1237
- def ipv6_enable(self):
1238
- r"""Gets the ipv6_enable of this ShowInstanceResp.
1239
-
1240
- 是否开启IPv6。
1241
-
1242
- :return: The ipv6_enable of this ShowInstanceResp.
1243
- :rtype: bool
1244
- """
1245
- return self._ipv6_enable
1246
-
1247
- @ipv6_enable.setter
1248
- def ipv6_enable(self, ipv6_enable):
1249
- r"""Sets the ipv6_enable of this ShowInstanceResp.
1250
-
1251
- 是否开启IPv6。
1252
-
1253
- :param ipv6_enable: The ipv6_enable of this ShowInstanceResp.
1254
- :type ipv6_enable: bool
1255
- """
1256
- self._ipv6_enable = ipv6_enable
1257
-
1258
- @property
1259
- def support_features(self):
1260
- r"""Gets the support_features of this ShowInstanceResp.
1261
-
1262
- 实例支持的特性功能。
1263
-
1264
- :return: The support_features of this ShowInstanceResp.
1265
- :rtype: str
1266
- """
1267
- return self._support_features
1268
-
1269
- @support_features.setter
1270
- def support_features(self, support_features):
1271
- r"""Sets the support_features of this ShowInstanceResp.
1272
-
1273
- 实例支持的特性功能。
1274
-
1275
- :param support_features: The support_features of this ShowInstanceResp.
1276
- :type support_features: str
1277
- """
1278
- self._support_features = support_features
1279
-
1280
- @property
1281
- def disk_encrypted(self):
1282
- r"""Gets the disk_encrypted of this ShowInstanceResp.
1283
-
1284
- 是否开启磁盘加密。
1285
-
1286
- :return: The disk_encrypted of this ShowInstanceResp.
1287
- :rtype: bool
1288
- """
1289
- return self._disk_encrypted
1290
-
1291
- @disk_encrypted.setter
1292
- def disk_encrypted(self, disk_encrypted):
1293
- r"""Sets the disk_encrypted of this ShowInstanceResp.
1294
-
1295
- 是否开启磁盘加密。
1296
-
1297
- :param disk_encrypted: The disk_encrypted of this ShowInstanceResp.
1298
- :type disk_encrypted: bool
1299
- """
1300
- self._disk_encrypted = disk_encrypted
1301
-
1302
- @property
1303
- def ces_version(self):
1304
- r"""Gets the ces_version of this ShowInstanceResp.
1305
-
1306
- 云监控版本。
1307
-
1308
- :return: The ces_version of this ShowInstanceResp.
1309
- :rtype: str
1310
- """
1311
- return self._ces_version
1312
-
1313
- @ces_version.setter
1314
- def ces_version(self, ces_version):
1315
- r"""Sets the ces_version of this ShowInstanceResp.
1316
-
1317
- 云监控版本。
1318
-
1319
- :param ces_version: The ces_version of this ShowInstanceResp.
1320
- :type ces_version: str
1321
- """
1322
- self._ces_version = ces_version
1323
-
1324
- @property
1325
- def node_num(self):
1326
- r"""Gets the node_num of this ShowInstanceResp.
1327
-
1328
- 节点数。
1329
-
1330
- :return: The node_num of this ShowInstanceResp.
1331
- :rtype: int
1332
- """
1333
- return self._node_num
1334
-
1335
- @node_num.setter
1336
- def node_num(self, node_num):
1337
- r"""Sets the node_num of this ShowInstanceResp.
1338
-
1339
- 节点数。
1340
-
1341
- :param node_num: The node_num of this ShowInstanceResp.
1342
- :type node_num: int
1343
- """
1344
- self._node_num = node_num
1345
-
1346
- @property
1347
- def new_spec_billing_enable(self):
1348
- r"""Gets the new_spec_billing_enable of this ShowInstanceResp.
1349
-
1350
- 是否启用新规格计费。
1351
-
1352
- :return: The new_spec_billing_enable of this ShowInstanceResp.
1353
- :rtype: bool
1354
- """
1355
- return self._new_spec_billing_enable
1356
-
1357
- @new_spec_billing_enable.setter
1358
- def new_spec_billing_enable(self, new_spec_billing_enable):
1359
- r"""Sets the new_spec_billing_enable of this ShowInstanceResp.
1360
-
1361
- 是否启用新规格计费。
1362
-
1363
- :param new_spec_billing_enable: The new_spec_billing_enable of this ShowInstanceResp.
1364
- :type new_spec_billing_enable: bool
1365
- """
1366
- self._new_spec_billing_enable = new_spec_billing_enable
1367
-
1368
- @property
1369
- def enable_acl(self):
1370
- r"""Gets the enable_acl of this ShowInstanceResp.
1371
-
1372
- 是否开启访问控制列表。
1373
-
1374
- :return: The enable_acl of this ShowInstanceResp.
1375
- :rtype: bool
1376
- """
1377
- return self._enable_acl
1378
-
1379
- @enable_acl.setter
1380
- def enable_acl(self, enable_acl):
1381
- r"""Sets the enable_acl of this ShowInstanceResp.
1382
-
1383
- 是否开启访问控制列表。
1384
-
1385
- :param enable_acl: The enable_acl of this ShowInstanceResp.
1386
- :type enable_acl: bool
1387
- """
1388
- self._enable_acl = enable_acl
1389
-
1390
- @property
1391
- def broker_num(self):
1392
- r"""Gets the broker_num of this ShowInstanceResp.
1393
-
1394
- 节点数(仅RocketMQ 4.8.0版本会显示此字段)。
1395
-
1396
- :return: The broker_num of this ShowInstanceResp.
1397
- :rtype: int
1398
- """
1399
- return self._broker_num
1400
-
1401
- @broker_num.setter
1402
- def broker_num(self, broker_num):
1403
- r"""Sets the broker_num of this ShowInstanceResp.
1404
-
1405
- 节点数(仅RocketMQ 4.8.0版本会显示此字段)。
1406
-
1407
- :param broker_num: The broker_num of this ShowInstanceResp.
1408
- :type broker_num: int
1409
- """
1410
- self._broker_num = broker_num
1411
-
1412
- @property
1413
- def namesrv_address(self):
1414
- r"""Gets the namesrv_address of this ShowInstanceResp.
1415
-
1416
- 元数据地址。
1417
-
1418
- :return: The namesrv_address of this ShowInstanceResp.
1419
- :rtype: str
1420
- """
1421
- return self._namesrv_address
1422
-
1423
- @namesrv_address.setter
1424
- def namesrv_address(self, namesrv_address):
1425
- r"""Sets the namesrv_address of this ShowInstanceResp.
1426
-
1427
- 元数据地址。
1428
-
1429
- :param namesrv_address: The namesrv_address of this ShowInstanceResp.
1430
- :type namesrv_address: str
1431
- """
1432
- self._namesrv_address = namesrv_address
1433
-
1434
- @property
1435
- def broker_address(self):
1436
- r"""Gets the broker_address of this ShowInstanceResp.
1437
-
1438
- 业务数据地址。
1439
-
1440
- :return: The broker_address of this ShowInstanceResp.
1441
- :rtype: str
1442
- """
1443
- return self._broker_address
1444
-
1445
- @broker_address.setter
1446
- def broker_address(self, broker_address):
1447
- r"""Sets the broker_address of this ShowInstanceResp.
1448
-
1449
- 业务数据地址。
1450
-
1451
- :param broker_address: The broker_address of this ShowInstanceResp.
1452
- :type broker_address: str
1453
- """
1454
- self._broker_address = broker_address
1455
-
1456
- @property
1457
- def public_namesrv_address(self):
1458
- r"""Gets the public_namesrv_address of this ShowInstanceResp.
1459
-
1460
- 公网元数据地址。
1461
-
1462
- :return: The public_namesrv_address of this ShowInstanceResp.
1463
- :rtype: str
1464
- """
1465
- return self._public_namesrv_address
1466
-
1467
- @public_namesrv_address.setter
1468
- def public_namesrv_address(self, public_namesrv_address):
1469
- r"""Sets the public_namesrv_address of this ShowInstanceResp.
1470
-
1471
- 公网元数据地址。
1472
-
1473
- :param public_namesrv_address: The public_namesrv_address of this ShowInstanceResp.
1474
- :type public_namesrv_address: str
1475
- """
1476
- self._public_namesrv_address = public_namesrv_address
1477
-
1478
- @property
1479
- def public_broker_address(self):
1480
- r"""Gets the public_broker_address of this ShowInstanceResp.
1481
-
1482
- 公网业务数据地址。
1483
-
1484
- :return: The public_broker_address of this ShowInstanceResp.
1485
- :rtype: str
1486
- """
1487
- return self._public_broker_address
1488
-
1489
- @public_broker_address.setter
1490
- def public_broker_address(self, public_broker_address):
1491
- r"""Sets the public_broker_address of this ShowInstanceResp.
1492
-
1493
- 公网业务数据地址。
1494
-
1495
- :param public_broker_address: The public_broker_address of this ShowInstanceResp.
1496
- :type public_broker_address: str
1497
- """
1498
- self._public_broker_address = public_broker_address
1499
-
1500
- @property
1501
- def grpc_address(self):
1502
- r"""Gets the grpc_address of this ShowInstanceResp.
1503
-
1504
- grpc连接地址(仅RocketMQ 5.x版本会显示此字段)。
1505
-
1506
- :return: The grpc_address of this ShowInstanceResp.
1507
- :rtype: str
1508
- """
1509
- return self._grpc_address
1510
-
1511
- @grpc_address.setter
1512
- def grpc_address(self, grpc_address):
1513
- r"""Sets the grpc_address of this ShowInstanceResp.
1514
-
1515
- grpc连接地址(仅RocketMQ 5.x版本会显示此字段)。
1516
-
1517
- :param grpc_address: The grpc_address of this ShowInstanceResp.
1518
- :type grpc_address: str
1519
- """
1520
- self._grpc_address = grpc_address
1521
-
1522
- @property
1523
- def public_grpc_address(self):
1524
- r"""Gets the public_grpc_address of this ShowInstanceResp.
1525
-
1526
- 公网grpc连接地址(仅RocketMQ 5.x版本会显示此字段)。
1527
-
1528
- :return: The public_grpc_address of this ShowInstanceResp.
1529
- :rtype: str
1530
- """
1531
- return self._public_grpc_address
1532
-
1533
- @public_grpc_address.setter
1534
- def public_grpc_address(self, public_grpc_address):
1535
- r"""Sets the public_grpc_address of this ShowInstanceResp.
1536
-
1537
- 公网grpc连接地址(仅RocketMQ 5.x版本会显示此字段)。
1538
-
1539
- :param public_grpc_address: The public_grpc_address of this ShowInstanceResp.
1540
- :type public_grpc_address: str
1541
- """
1542
- self._public_grpc_address = public_grpc_address
1543
-
1544
- @property
1545
- def enterprise_project_id(self):
1546
- r"""Gets the enterprise_project_id of this ShowInstanceResp.
1547
-
1548
- 企业项目ID。
1549
-
1550
- :return: The enterprise_project_id of this ShowInstanceResp.
1551
- :rtype: str
1552
- """
1553
- return self._enterprise_project_id
1554
-
1555
- @enterprise_project_id.setter
1556
- def enterprise_project_id(self, enterprise_project_id):
1557
- r"""Sets the enterprise_project_id of this ShowInstanceResp.
1558
-
1559
- 企业项目ID。
1560
-
1561
- :param enterprise_project_id: The enterprise_project_id of this ShowInstanceResp.
1562
- :type enterprise_project_id: str
1563
- """
1564
- self._enterprise_project_id = enterprise_project_id
1565
-
1566
- @property
1567
- def tags(self):
1568
- r"""Gets the tags of this ShowInstanceResp.
1569
-
1570
- 标签列表。
1571
-
1572
- :return: The tags of this ShowInstanceResp.
1573
- :rtype: list[:class:`huaweicloudsdkrocketmq.v2.TagEntity`]
1574
- """
1575
- return self._tags
1576
-
1577
- @tags.setter
1578
- def tags(self, tags):
1579
- r"""Sets the tags of this ShowInstanceResp.
1580
-
1581
- 标签列表。
1582
-
1583
- :param tags: The tags of this ShowInstanceResp.
1584
- :type tags: list[:class:`huaweicloudsdkrocketmq.v2.TagEntity`]
1585
- """
1586
- self._tags = tags
1587
-
1588
- @property
1589
- def total_storage_space(self):
1590
- r"""Gets the total_storage_space of this ShowInstanceResp.
1591
-
1592
- 总存储空间。
1593
-
1594
- :return: The total_storage_space of this ShowInstanceResp.
1595
- :rtype: int
1596
- """
1597
- return self._total_storage_space
1598
-
1599
- @total_storage_space.setter
1600
- def total_storage_space(self, total_storage_space):
1601
- r"""Sets the total_storage_space of this ShowInstanceResp.
1602
-
1603
- 总存储空间。
1604
-
1605
- :param total_storage_space: The total_storage_space of this ShowInstanceResp.
1606
- :type total_storage_space: int
1607
- """
1608
- self._total_storage_space = total_storage_space
1609
-
1610
- @property
1611
- def resource_spec_code(self):
1612
- r"""Gets the resource_spec_code of this ShowInstanceResp.
1613
-
1614
- 资源规格。
1615
-
1616
- :return: The resource_spec_code of this ShowInstanceResp.
1617
- :rtype: str
1618
- """
1619
- return self._resource_spec_code
1620
-
1621
- @resource_spec_code.setter
1622
- def resource_spec_code(self, resource_spec_code):
1623
- r"""Sets the resource_spec_code of this ShowInstanceResp.
1624
-
1625
- 资源规格。
1626
-
1627
- :param resource_spec_code: The resource_spec_code of this ShowInstanceResp.
1628
- :type resource_spec_code: str
1629
- """
1630
- self._resource_spec_code = resource_spec_code
1631
-
1632
- def to_dict(self):
1633
- """Returns the model properties as a dict"""
1634
- result = {}
1635
-
1636
- for attr, _ in six.iteritems(self.openapi_types):
1637
- value = getattr(self, attr)
1638
- if isinstance(value, list):
1639
- result[attr] = list(map(
1640
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
1641
- value
1642
- ))
1643
- elif hasattr(value, "to_dict"):
1644
- result[attr] = value.to_dict()
1645
- elif isinstance(value, dict):
1646
- result[attr] = dict(map(
1647
- lambda item: (item[0], item[1].to_dict())
1648
- if hasattr(item[1], "to_dict") else item,
1649
- value.items()
1650
- ))
1651
- else:
1652
- if attr in self.sensitive_list:
1653
- result[attr] = "****"
1654
- else:
1655
- result[attr] = value
1656
-
1657
- return result
1658
-
1659
- def to_str(self):
1660
- """Returns the string representation of the model"""
1661
- import simplejson as json
1662
- if six.PY2:
1663
- import sys
1664
- reload(sys)
1665
- sys.setdefaultencoding("utf-8")
1666
- return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
1667
-
1668
- def __repr__(self):
1669
- """For `print`"""
1670
- return self.to_str()
1671
-
1672
- def __eq__(self, other):
1673
- """Returns true if both objects are equal"""
1674
- if not isinstance(other, ShowInstanceResp):
1675
- return False
1676
-
1677
- return self.__dict__ == other.__dict__
1678
-
1679
- def __ne__(self, other):
1680
- """Returns true if both objects are not equal"""
1681
- return not self == other