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