huaweicloudsdkcae 3.1.61__py2.py3-none-any.whl → 3.1.63__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of huaweicloudsdkcae might be problematic. Click here for more details.
- huaweicloudsdkcae/v1/__init__.py +2 -1
- huaweicloudsdkcae/v1/cae_async_client.py +8 -5
- huaweicloudsdkcae/v1/cae_client.py +8 -5
- huaweicloudsdkcae/v1/model/__init__.py +2 -1
- huaweicloudsdkcae/v1/model/access_control.py +8 -8
- huaweicloudsdkcae/v1/model/action_on_component_build.py +3 -3
- huaweicloudsdkcae/v1/model/build.py +3 -3
- huaweicloudsdkcae/v1/model/configuration_data_spec.py +104 -104
- huaweicloudsdkcae/v1/model/configuration_item.py +27 -27
- huaweicloudsdkcae/v1/model/{scale_configuration_data_trigger_metadata.py → cron_trigger_scheduler.py} +43 -43
- huaweicloudsdkcae/v1/model/health_check_configuration_exec.py +4 -4
- huaweicloudsdkcae/v1/model/life_cycle_configuration_exec.py +4 -4
- huaweicloudsdkcae/v1/model/scale_configuration_data_trigger.py +7 -7
- huaweicloudsdkcae/v1/model/scaling_trigger_meta.py +202 -0
- {huaweicloudsdkcae-3.1.61.dist-info → huaweicloudsdkcae-3.1.63.dist-info}/METADATA +2 -2
- {huaweicloudsdkcae-3.1.61.dist-info → huaweicloudsdkcae-3.1.63.dist-info}/RECORD +19 -18
- {huaweicloudsdkcae-3.1.61.dist-info → huaweicloudsdkcae-3.1.63.dist-info}/LICENSE +0 -0
- {huaweicloudsdkcae-3.1.61.dist-info → huaweicloudsdkcae-3.1.63.dist-info}/WHEEL +0 -0
- {huaweicloudsdkcae-3.1.61.dist-info → huaweicloudsdkcae-3.1.63.dist-info}/top_level.txt +0 -0
|
@@ -17,7 +17,6 @@ class ConfigurationDataSpec:
|
|
|
17
17
|
sensitive_list = []
|
|
18
18
|
|
|
19
19
|
openapi_types = {
|
|
20
|
-
'ip': 'str',
|
|
21
20
|
'rds_id': 'str',
|
|
22
21
|
'rds_db_name': 'str',
|
|
23
22
|
'rds_address': 'str',
|
|
@@ -28,6 +27,7 @@ class ConfigurationDataSpec:
|
|
|
28
27
|
'service_center_addr': 'str',
|
|
29
28
|
'cse_id': 'str',
|
|
30
29
|
'envs': 'dict(str, str)',
|
|
30
|
+
'ip': 'str',
|
|
31
31
|
'items': 'list[AccessConfigurationDataItems]',
|
|
32
32
|
'max_replica_count': 'int',
|
|
33
33
|
'triggers': 'list[ScaleConfigurationDataTrigger]',
|
|
@@ -37,7 +37,7 @@ class ConfigurationDataSpec:
|
|
|
37
37
|
'readiness_probe': 'HealthCheckConfigurationReadinessProbe',
|
|
38
38
|
'post_start': 'ConfigurationDataSpecPostStart',
|
|
39
39
|
'pre_stop': 'ConfigurationDataSpecPreStop',
|
|
40
|
-
'log_paths': 'list[
|
|
40
|
+
'log_paths': 'list[str]',
|
|
41
41
|
'access_key': 'str',
|
|
42
42
|
'access_value': 'str',
|
|
43
43
|
'business': 'str',
|
|
@@ -45,11 +45,10 @@ class ConfigurationDataSpec:
|
|
|
45
45
|
'version': 'str',
|
|
46
46
|
'path': 'str',
|
|
47
47
|
'port': 'str',
|
|
48
|
-
'metrics': 'list[
|
|
48
|
+
'metrics': 'list[str]'
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
attribute_map = {
|
|
52
|
-
'ip': 'ip',
|
|
53
52
|
'rds_id': 'rds_id',
|
|
54
53
|
'rds_db_name': 'rds_db_name',
|
|
55
54
|
'rds_address': 'rds_address',
|
|
@@ -60,6 +59,7 @@ class ConfigurationDataSpec:
|
|
|
60
59
|
'service_center_addr': 'service_center_addr',
|
|
61
60
|
'cse_id': 'cse_id',
|
|
62
61
|
'envs': 'envs',
|
|
62
|
+
'ip': 'ip',
|
|
63
63
|
'items': 'items',
|
|
64
64
|
'max_replica_count': 'max_replica_count',
|
|
65
65
|
'triggers': 'triggers',
|
|
@@ -80,40 +80,40 @@ class ConfigurationDataSpec:
|
|
|
80
80
|
'metrics': 'metrics'
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
def __init__(self,
|
|
83
|
+
def __init__(self, rds_id=None, rds_db_name=None, rds_address=None, rds_username=None, rds_password=None, rds_port=None, config_center_addr=None, service_center_addr=None, cse_id=None, envs=None, ip=None, items=None, max_replica_count=None, triggers=None, volumes=None, liveness_probe=None, startup_probe=None, readiness_probe=None, post_start=None, pre_stop=None, log_paths=None, access_key=None, access_value=None, business=None, image_pull_policy=None, version=None, path=None, port=None, metrics=None):
|
|
84
84
|
"""ConfigurationDataSpec
|
|
85
85
|
|
|
86
86
|
The model defined in huaweicloud sdk
|
|
87
87
|
|
|
88
|
-
:param
|
|
89
|
-
:type ip: str
|
|
90
|
-
:param rds_id: RDS数据库实例ID。
|
|
88
|
+
:param rds_id: - type为\"rds\"时,配置此参数。 - 参数含义:RDS数据库实例ID。
|
|
91
89
|
:type rds_id: str
|
|
92
|
-
:param rds_db_name: RDS数据库名称。
|
|
90
|
+
:param rds_db_name: - type为\"rds\"时,配置此参数。 - 参数含义:RDS数据库名称。
|
|
93
91
|
:type rds_db_name: str
|
|
94
|
-
:param rds_address: RDS数据库地址。
|
|
92
|
+
:param rds_address: - type为\"rds\"时,配置此参数。 - 参数含义:RDS数据库地址。
|
|
95
93
|
:type rds_address: str
|
|
96
|
-
:param rds_username: RDS数据库用户名称。
|
|
94
|
+
:param rds_username: - type为\"rds\"时,配置此参数。 - 参数含义:RDS数据库用户名称。
|
|
97
95
|
:type rds_username: str
|
|
98
|
-
:param rds_password: RDS数据库密码。
|
|
96
|
+
:param rds_password: - type为\"rds\"时,配置此参数。 - 参数含义:RDS数据库密码。
|
|
99
97
|
:type rds_password: str
|
|
100
|
-
:param rds_port: RDS数据库端口
|
|
98
|
+
:param rds_port: - type为\"rds\"时,配置此参数。 - 参数含义:RDS数据库端口
|
|
101
99
|
:type rds_port: str
|
|
102
|
-
:param config_center_addr: CSE配置中心地址。
|
|
100
|
+
:param config_center_addr: - type为\"cse\"时,配置此参数。 - 参数含义:CSE配置中心地址。
|
|
103
101
|
:type config_center_addr: str
|
|
104
|
-
:param service_center_addr: CSE服务注册发现地址。
|
|
102
|
+
:param service_center_addr: - type为\"cse\"时,配置此参数。 - 参数含义:CSE服务注册发现地址。
|
|
105
103
|
:type service_center_addr: str
|
|
106
|
-
:param cse_id: CSE引擎ID。
|
|
104
|
+
:param cse_id: - type为\"cse\"时,配置此参数。 - 参数含义:CSE引擎ID。
|
|
107
105
|
:type cse_id: str
|
|
108
106
|
:param envs: 环境变量配置,常用环境变量如下。 - TZ: 时区设置,东八区可设置为Asia/Shanghai。 - LANG: 语言字符集设置,中文UTF8可设置为zh_CN.UTF-8。
|
|
109
107
|
:type envs: dict(str, str)
|
|
110
|
-
:param
|
|
108
|
+
:param ip: 弹性公网IP,响应体参数,未配置域名时返回此参数。
|
|
109
|
+
:type ip: str
|
|
110
|
+
:param items: - type为\"access\"时,配置此参数。 - 参数含义:访问方式配置列表。
|
|
111
111
|
:type items: list[:class:`huaweicloudsdkcae.v1.AccessConfigurationDataItems`]
|
|
112
|
-
:param max_replica_count:
|
|
112
|
+
:param max_replica_count: - type为\"scaling\"时,配置此参数。 - 参数含义:伸缩策略配置最大伸缩个数。
|
|
113
113
|
:type max_replica_count: int
|
|
114
|
-
:param triggers:
|
|
114
|
+
:param triggers: - type为\"scaling\"时,配置此参数。 - 参数含义:伸缩策略配置触发器列表。
|
|
115
115
|
:type triggers: list[:class:`huaweicloudsdkcae.v1.ScaleConfigurationDataTrigger`]
|
|
116
|
-
:param volumes:
|
|
116
|
+
:param volumes: - type为\"volume\"时,配置此参数。 - 参数含义:云存储配置列表。
|
|
117
117
|
:type volumes: list[:class:`huaweicloudsdkcae.v1.VolumeConfigurationDataVolume`]
|
|
118
118
|
:param liveness_probe:
|
|
119
119
|
:type liveness_probe: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationLivenessProbe`
|
|
@@ -125,29 +125,28 @@ class ConfigurationDataSpec:
|
|
|
125
125
|
:type post_start: :class:`huaweicloudsdkcae.v1.ConfigurationDataSpecPostStart`
|
|
126
126
|
:param pre_stop:
|
|
127
127
|
:type pre_stop: :class:`huaweicloudsdkcae.v1.ConfigurationDataSpecPreStop`
|
|
128
|
-
:param log_paths:
|
|
129
|
-
:type log_paths: list[
|
|
130
|
-
:param access_key:
|
|
128
|
+
:param log_paths: - type为\"log\"时,配置此参数。 - 参数含义:自定义日志路径数组。
|
|
129
|
+
:type log_paths: list[str]
|
|
130
|
+
:param access_key: - type为\"apm2\"时,配置此参数。 - 参数含义:性能管理配置访问密钥Key。
|
|
131
131
|
:type access_key: str
|
|
132
|
-
:param access_value:
|
|
132
|
+
:param access_value: - type为\"apm2\"时,配置此参数。 - 参数含义:性能管理配置访问密钥value。
|
|
133
133
|
:type access_value: str
|
|
134
|
-
:param business:
|
|
134
|
+
:param business: - type为\"apm2\"时,配置此参数。 - 参数含义:性能管理配置应用。
|
|
135
135
|
:type business: str
|
|
136
|
-
:param image_pull_policy:
|
|
136
|
+
:param image_pull_policy: - type为\"apm2\"时,配置此参数。 - 参数含义:性能管理配置升级策略。 - 重启自动升级:每次都尝试重新下载镜像。 - 手动升级: 如果本地有该镜像,则继续使用本地镜像,不下载镜像。
|
|
137
137
|
:type image_pull_policy: str
|
|
138
|
-
:param version:
|
|
138
|
+
:param version: - type为\"apm2\"时,配置此参数。 - 参数含义:性能管理配置探针版本。
|
|
139
139
|
:type version: str
|
|
140
|
-
:param path:
|
|
140
|
+
:param path: - type为\"customMetric\"时,配置此参数。 - 参数含义:自定义监控指标配置采集路径。
|
|
141
141
|
:type path: str
|
|
142
|
-
:param port:
|
|
142
|
+
:param port: - type为\"customMetric\"时,配置此参数。 - 参数含义:自定义监控指标配置采集端口。
|
|
143
143
|
:type port: str
|
|
144
|
-
:param metrics:
|
|
145
|
-
:type metrics: list[
|
|
144
|
+
:param metrics: - type为\"customMetric\"时,配置此参数。 - 参数含义:自定义监控指标配置指标名称。
|
|
145
|
+
:type metrics: list[str]
|
|
146
146
|
"""
|
|
147
147
|
|
|
148
148
|
|
|
149
149
|
|
|
150
|
-
self._ip = None
|
|
151
150
|
self._rds_id = None
|
|
152
151
|
self._rds_db_name = None
|
|
153
152
|
self._rds_address = None
|
|
@@ -158,6 +157,7 @@ class ConfigurationDataSpec:
|
|
|
158
157
|
self._service_center_addr = None
|
|
159
158
|
self._cse_id = None
|
|
160
159
|
self._envs = None
|
|
160
|
+
self._ip = None
|
|
161
161
|
self._items = None
|
|
162
162
|
self._max_replica_count = None
|
|
163
163
|
self._triggers = None
|
|
@@ -178,8 +178,6 @@ class ConfigurationDataSpec:
|
|
|
178
178
|
self._metrics = None
|
|
179
179
|
self.discriminator = None
|
|
180
180
|
|
|
181
|
-
if ip is not None:
|
|
182
|
-
self.ip = ip
|
|
183
181
|
if rds_id is not None:
|
|
184
182
|
self.rds_id = rds_id
|
|
185
183
|
if rds_db_name is not None:
|
|
@@ -200,6 +198,8 @@ class ConfigurationDataSpec:
|
|
|
200
198
|
self.cse_id = cse_id
|
|
201
199
|
if envs is not None:
|
|
202
200
|
self.envs = envs
|
|
201
|
+
if ip is not None:
|
|
202
|
+
self.ip = ip
|
|
203
203
|
if items is not None:
|
|
204
204
|
self.items = items
|
|
205
205
|
if max_replica_count is not None:
|
|
@@ -237,33 +237,11 @@ class ConfigurationDataSpec:
|
|
|
237
237
|
if metrics is not None:
|
|
238
238
|
self.metrics = metrics
|
|
239
239
|
|
|
240
|
-
@property
|
|
241
|
-
def ip(self):
|
|
242
|
-
"""Gets the ip of this ConfigurationDataSpec.
|
|
243
|
-
|
|
244
|
-
弹性公网IP。
|
|
245
|
-
|
|
246
|
-
:return: The ip of this ConfigurationDataSpec.
|
|
247
|
-
:rtype: str
|
|
248
|
-
"""
|
|
249
|
-
return self._ip
|
|
250
|
-
|
|
251
|
-
@ip.setter
|
|
252
|
-
def ip(self, ip):
|
|
253
|
-
"""Sets the ip of this ConfigurationDataSpec.
|
|
254
|
-
|
|
255
|
-
弹性公网IP。
|
|
256
|
-
|
|
257
|
-
:param ip: The ip of this ConfigurationDataSpec.
|
|
258
|
-
:type ip: str
|
|
259
|
-
"""
|
|
260
|
-
self._ip = ip
|
|
261
|
-
|
|
262
240
|
@property
|
|
263
241
|
def rds_id(self):
|
|
264
242
|
"""Gets the rds_id of this ConfigurationDataSpec.
|
|
265
243
|
|
|
266
|
-
RDS数据库实例ID。
|
|
244
|
+
- type为\"rds\"时,配置此参数。 - 参数含义:RDS数据库实例ID。
|
|
267
245
|
|
|
268
246
|
:return: The rds_id of this ConfigurationDataSpec.
|
|
269
247
|
:rtype: str
|
|
@@ -274,7 +252,7 @@ class ConfigurationDataSpec:
|
|
|
274
252
|
def rds_id(self, rds_id):
|
|
275
253
|
"""Sets the rds_id of this ConfigurationDataSpec.
|
|
276
254
|
|
|
277
|
-
RDS数据库实例ID。
|
|
255
|
+
- type为\"rds\"时,配置此参数。 - 参数含义:RDS数据库实例ID。
|
|
278
256
|
|
|
279
257
|
:param rds_id: The rds_id of this ConfigurationDataSpec.
|
|
280
258
|
:type rds_id: str
|
|
@@ -285,7 +263,7 @@ class ConfigurationDataSpec:
|
|
|
285
263
|
def rds_db_name(self):
|
|
286
264
|
"""Gets the rds_db_name of this ConfigurationDataSpec.
|
|
287
265
|
|
|
288
|
-
RDS数据库名称。
|
|
266
|
+
- type为\"rds\"时,配置此参数。 - 参数含义:RDS数据库名称。
|
|
289
267
|
|
|
290
268
|
:return: The rds_db_name of this ConfigurationDataSpec.
|
|
291
269
|
:rtype: str
|
|
@@ -296,7 +274,7 @@ class ConfigurationDataSpec:
|
|
|
296
274
|
def rds_db_name(self, rds_db_name):
|
|
297
275
|
"""Sets the rds_db_name of this ConfigurationDataSpec.
|
|
298
276
|
|
|
299
|
-
RDS数据库名称。
|
|
277
|
+
- type为\"rds\"时,配置此参数。 - 参数含义:RDS数据库名称。
|
|
300
278
|
|
|
301
279
|
:param rds_db_name: The rds_db_name of this ConfigurationDataSpec.
|
|
302
280
|
:type rds_db_name: str
|
|
@@ -307,7 +285,7 @@ class ConfigurationDataSpec:
|
|
|
307
285
|
def rds_address(self):
|
|
308
286
|
"""Gets the rds_address of this ConfigurationDataSpec.
|
|
309
287
|
|
|
310
|
-
RDS数据库地址。
|
|
288
|
+
- type为\"rds\"时,配置此参数。 - 参数含义:RDS数据库地址。
|
|
311
289
|
|
|
312
290
|
:return: The rds_address of this ConfigurationDataSpec.
|
|
313
291
|
:rtype: str
|
|
@@ -318,7 +296,7 @@ class ConfigurationDataSpec:
|
|
|
318
296
|
def rds_address(self, rds_address):
|
|
319
297
|
"""Sets the rds_address of this ConfigurationDataSpec.
|
|
320
298
|
|
|
321
|
-
RDS数据库地址。
|
|
299
|
+
- type为\"rds\"时,配置此参数。 - 参数含义:RDS数据库地址。
|
|
322
300
|
|
|
323
301
|
:param rds_address: The rds_address of this ConfigurationDataSpec.
|
|
324
302
|
:type rds_address: str
|
|
@@ -329,7 +307,7 @@ class ConfigurationDataSpec:
|
|
|
329
307
|
def rds_username(self):
|
|
330
308
|
"""Gets the rds_username of this ConfigurationDataSpec.
|
|
331
309
|
|
|
332
|
-
RDS数据库用户名称。
|
|
310
|
+
- type为\"rds\"时,配置此参数。 - 参数含义:RDS数据库用户名称。
|
|
333
311
|
|
|
334
312
|
:return: The rds_username of this ConfigurationDataSpec.
|
|
335
313
|
:rtype: str
|
|
@@ -340,7 +318,7 @@ class ConfigurationDataSpec:
|
|
|
340
318
|
def rds_username(self, rds_username):
|
|
341
319
|
"""Sets the rds_username of this ConfigurationDataSpec.
|
|
342
320
|
|
|
343
|
-
RDS数据库用户名称。
|
|
321
|
+
- type为\"rds\"时,配置此参数。 - 参数含义:RDS数据库用户名称。
|
|
344
322
|
|
|
345
323
|
:param rds_username: The rds_username of this ConfigurationDataSpec.
|
|
346
324
|
:type rds_username: str
|
|
@@ -351,7 +329,7 @@ class ConfigurationDataSpec:
|
|
|
351
329
|
def rds_password(self):
|
|
352
330
|
"""Gets the rds_password of this ConfigurationDataSpec.
|
|
353
331
|
|
|
354
|
-
RDS数据库密码。
|
|
332
|
+
- type为\"rds\"时,配置此参数。 - 参数含义:RDS数据库密码。
|
|
355
333
|
|
|
356
334
|
:return: The rds_password of this ConfigurationDataSpec.
|
|
357
335
|
:rtype: str
|
|
@@ -362,7 +340,7 @@ class ConfigurationDataSpec:
|
|
|
362
340
|
def rds_password(self, rds_password):
|
|
363
341
|
"""Sets the rds_password of this ConfigurationDataSpec.
|
|
364
342
|
|
|
365
|
-
RDS数据库密码。
|
|
343
|
+
- type为\"rds\"时,配置此参数。 - 参数含义:RDS数据库密码。
|
|
366
344
|
|
|
367
345
|
:param rds_password: The rds_password of this ConfigurationDataSpec.
|
|
368
346
|
:type rds_password: str
|
|
@@ -373,7 +351,7 @@ class ConfigurationDataSpec:
|
|
|
373
351
|
def rds_port(self):
|
|
374
352
|
"""Gets the rds_port of this ConfigurationDataSpec.
|
|
375
353
|
|
|
376
|
-
RDS数据库端口
|
|
354
|
+
- type为\"rds\"时,配置此参数。 - 参数含义:RDS数据库端口
|
|
377
355
|
|
|
378
356
|
:return: The rds_port of this ConfigurationDataSpec.
|
|
379
357
|
:rtype: str
|
|
@@ -384,7 +362,7 @@ class ConfigurationDataSpec:
|
|
|
384
362
|
def rds_port(self, rds_port):
|
|
385
363
|
"""Sets the rds_port of this ConfigurationDataSpec.
|
|
386
364
|
|
|
387
|
-
RDS数据库端口
|
|
365
|
+
- type为\"rds\"时,配置此参数。 - 参数含义:RDS数据库端口
|
|
388
366
|
|
|
389
367
|
:param rds_port: The rds_port of this ConfigurationDataSpec.
|
|
390
368
|
:type rds_port: str
|
|
@@ -395,7 +373,7 @@ class ConfigurationDataSpec:
|
|
|
395
373
|
def config_center_addr(self):
|
|
396
374
|
"""Gets the config_center_addr of this ConfigurationDataSpec.
|
|
397
375
|
|
|
398
|
-
CSE配置中心地址。
|
|
376
|
+
- type为\"cse\"时,配置此参数。 - 参数含义:CSE配置中心地址。
|
|
399
377
|
|
|
400
378
|
:return: The config_center_addr of this ConfigurationDataSpec.
|
|
401
379
|
:rtype: str
|
|
@@ -406,7 +384,7 @@ class ConfigurationDataSpec:
|
|
|
406
384
|
def config_center_addr(self, config_center_addr):
|
|
407
385
|
"""Sets the config_center_addr of this ConfigurationDataSpec.
|
|
408
386
|
|
|
409
|
-
CSE配置中心地址。
|
|
387
|
+
- type为\"cse\"时,配置此参数。 - 参数含义:CSE配置中心地址。
|
|
410
388
|
|
|
411
389
|
:param config_center_addr: The config_center_addr of this ConfigurationDataSpec.
|
|
412
390
|
:type config_center_addr: str
|
|
@@ -417,7 +395,7 @@ class ConfigurationDataSpec:
|
|
|
417
395
|
def service_center_addr(self):
|
|
418
396
|
"""Gets the service_center_addr of this ConfigurationDataSpec.
|
|
419
397
|
|
|
420
|
-
CSE服务注册发现地址。
|
|
398
|
+
- type为\"cse\"时,配置此参数。 - 参数含义:CSE服务注册发现地址。
|
|
421
399
|
|
|
422
400
|
:return: The service_center_addr of this ConfigurationDataSpec.
|
|
423
401
|
:rtype: str
|
|
@@ -428,7 +406,7 @@ class ConfigurationDataSpec:
|
|
|
428
406
|
def service_center_addr(self, service_center_addr):
|
|
429
407
|
"""Sets the service_center_addr of this ConfigurationDataSpec.
|
|
430
408
|
|
|
431
|
-
CSE服务注册发现地址。
|
|
409
|
+
- type为\"cse\"时,配置此参数。 - 参数含义:CSE服务注册发现地址。
|
|
432
410
|
|
|
433
411
|
:param service_center_addr: The service_center_addr of this ConfigurationDataSpec.
|
|
434
412
|
:type service_center_addr: str
|
|
@@ -439,7 +417,7 @@ class ConfigurationDataSpec:
|
|
|
439
417
|
def cse_id(self):
|
|
440
418
|
"""Gets the cse_id of this ConfigurationDataSpec.
|
|
441
419
|
|
|
442
|
-
CSE引擎ID。
|
|
420
|
+
- type为\"cse\"时,配置此参数。 - 参数含义:CSE引擎ID。
|
|
443
421
|
|
|
444
422
|
:return: The cse_id of this ConfigurationDataSpec.
|
|
445
423
|
:rtype: str
|
|
@@ -450,7 +428,7 @@ class ConfigurationDataSpec:
|
|
|
450
428
|
def cse_id(self, cse_id):
|
|
451
429
|
"""Sets the cse_id of this ConfigurationDataSpec.
|
|
452
430
|
|
|
453
|
-
CSE引擎ID。
|
|
431
|
+
- type为\"cse\"时,配置此参数。 - 参数含义:CSE引擎ID。
|
|
454
432
|
|
|
455
433
|
:param cse_id: The cse_id of this ConfigurationDataSpec.
|
|
456
434
|
:type cse_id: str
|
|
@@ -479,11 +457,33 @@ class ConfigurationDataSpec:
|
|
|
479
457
|
"""
|
|
480
458
|
self._envs = envs
|
|
481
459
|
|
|
460
|
+
@property
|
|
461
|
+
def ip(self):
|
|
462
|
+
"""Gets the ip of this ConfigurationDataSpec.
|
|
463
|
+
|
|
464
|
+
弹性公网IP,响应体参数,未配置域名时返回此参数。
|
|
465
|
+
|
|
466
|
+
:return: The ip of this ConfigurationDataSpec.
|
|
467
|
+
:rtype: str
|
|
468
|
+
"""
|
|
469
|
+
return self._ip
|
|
470
|
+
|
|
471
|
+
@ip.setter
|
|
472
|
+
def ip(self, ip):
|
|
473
|
+
"""Sets the ip of this ConfigurationDataSpec.
|
|
474
|
+
|
|
475
|
+
弹性公网IP,响应体参数,未配置域名时返回此参数。
|
|
476
|
+
|
|
477
|
+
:param ip: The ip of this ConfigurationDataSpec.
|
|
478
|
+
:type ip: str
|
|
479
|
+
"""
|
|
480
|
+
self._ip = ip
|
|
481
|
+
|
|
482
482
|
@property
|
|
483
483
|
def items(self):
|
|
484
484
|
"""Gets the items of this ConfigurationDataSpec.
|
|
485
485
|
|
|
486
|
-
|
|
486
|
+
- type为\"access\"时,配置此参数。 - 参数含义:访问方式配置列表。
|
|
487
487
|
|
|
488
488
|
:return: The items of this ConfigurationDataSpec.
|
|
489
489
|
:rtype: list[:class:`huaweicloudsdkcae.v1.AccessConfigurationDataItems`]
|
|
@@ -494,7 +494,7 @@ class ConfigurationDataSpec:
|
|
|
494
494
|
def items(self, items):
|
|
495
495
|
"""Sets the items of this ConfigurationDataSpec.
|
|
496
496
|
|
|
497
|
-
|
|
497
|
+
- type为\"access\"时,配置此参数。 - 参数含义:访问方式配置列表。
|
|
498
498
|
|
|
499
499
|
:param items: The items of this ConfigurationDataSpec.
|
|
500
500
|
:type items: list[:class:`huaweicloudsdkcae.v1.AccessConfigurationDataItems`]
|
|
@@ -505,7 +505,7 @@ class ConfigurationDataSpec:
|
|
|
505
505
|
def max_replica_count(self):
|
|
506
506
|
"""Gets the max_replica_count of this ConfigurationDataSpec.
|
|
507
507
|
|
|
508
|
-
|
|
508
|
+
- type为\"scaling\"时,配置此参数。 - 参数含义:伸缩策略配置最大伸缩个数。
|
|
509
509
|
|
|
510
510
|
:return: The max_replica_count of this ConfigurationDataSpec.
|
|
511
511
|
:rtype: int
|
|
@@ -516,7 +516,7 @@ class ConfigurationDataSpec:
|
|
|
516
516
|
def max_replica_count(self, max_replica_count):
|
|
517
517
|
"""Sets the max_replica_count of this ConfigurationDataSpec.
|
|
518
518
|
|
|
519
|
-
|
|
519
|
+
- type为\"scaling\"时,配置此参数。 - 参数含义:伸缩策略配置最大伸缩个数。
|
|
520
520
|
|
|
521
521
|
:param max_replica_count: The max_replica_count of this ConfigurationDataSpec.
|
|
522
522
|
:type max_replica_count: int
|
|
@@ -527,7 +527,7 @@ class ConfigurationDataSpec:
|
|
|
527
527
|
def triggers(self):
|
|
528
528
|
"""Gets the triggers of this ConfigurationDataSpec.
|
|
529
529
|
|
|
530
|
-
|
|
530
|
+
- type为\"scaling\"时,配置此参数。 - 参数含义:伸缩策略配置触发器列表。
|
|
531
531
|
|
|
532
532
|
:return: The triggers of this ConfigurationDataSpec.
|
|
533
533
|
:rtype: list[:class:`huaweicloudsdkcae.v1.ScaleConfigurationDataTrigger`]
|
|
@@ -538,7 +538,7 @@ class ConfigurationDataSpec:
|
|
|
538
538
|
def triggers(self, triggers):
|
|
539
539
|
"""Sets the triggers of this ConfigurationDataSpec.
|
|
540
540
|
|
|
541
|
-
|
|
541
|
+
- type为\"scaling\"时,配置此参数。 - 参数含义:伸缩策略配置触发器列表。
|
|
542
542
|
|
|
543
543
|
:param triggers: The triggers of this ConfigurationDataSpec.
|
|
544
544
|
:type triggers: list[:class:`huaweicloudsdkcae.v1.ScaleConfigurationDataTrigger`]
|
|
@@ -549,7 +549,7 @@ class ConfigurationDataSpec:
|
|
|
549
549
|
def volumes(self):
|
|
550
550
|
"""Gets the volumes of this ConfigurationDataSpec.
|
|
551
551
|
|
|
552
|
-
|
|
552
|
+
- type为\"volume\"时,配置此参数。 - 参数含义:云存储配置列表。
|
|
553
553
|
|
|
554
554
|
:return: The volumes of this ConfigurationDataSpec.
|
|
555
555
|
:rtype: list[:class:`huaweicloudsdkcae.v1.VolumeConfigurationDataVolume`]
|
|
@@ -560,7 +560,7 @@ class ConfigurationDataSpec:
|
|
|
560
560
|
def volumes(self, volumes):
|
|
561
561
|
"""Sets the volumes of this ConfigurationDataSpec.
|
|
562
562
|
|
|
563
|
-
|
|
563
|
+
- type为\"volume\"时,配置此参数。 - 参数含义:云存储配置列表。
|
|
564
564
|
|
|
565
565
|
:param volumes: The volumes of this ConfigurationDataSpec.
|
|
566
566
|
:type volumes: list[:class:`huaweicloudsdkcae.v1.VolumeConfigurationDataVolume`]
|
|
@@ -661,10 +661,10 @@ class ConfigurationDataSpec:
|
|
|
661
661
|
def log_paths(self):
|
|
662
662
|
"""Gets the log_paths of this ConfigurationDataSpec.
|
|
663
663
|
|
|
664
|
-
|
|
664
|
+
- type为\"log\"时,配置此参数。 - 参数含义:自定义日志路径数组。
|
|
665
665
|
|
|
666
666
|
:return: The log_paths of this ConfigurationDataSpec.
|
|
667
|
-
:rtype: list[
|
|
667
|
+
:rtype: list[str]
|
|
668
668
|
"""
|
|
669
669
|
return self._log_paths
|
|
670
670
|
|
|
@@ -672,10 +672,10 @@ class ConfigurationDataSpec:
|
|
|
672
672
|
def log_paths(self, log_paths):
|
|
673
673
|
"""Sets the log_paths of this ConfigurationDataSpec.
|
|
674
674
|
|
|
675
|
-
|
|
675
|
+
- type为\"log\"时,配置此参数。 - 参数含义:自定义日志路径数组。
|
|
676
676
|
|
|
677
677
|
:param log_paths: The log_paths of this ConfigurationDataSpec.
|
|
678
|
-
:type log_paths: list[
|
|
678
|
+
:type log_paths: list[str]
|
|
679
679
|
"""
|
|
680
680
|
self._log_paths = log_paths
|
|
681
681
|
|
|
@@ -683,7 +683,7 @@ class ConfigurationDataSpec:
|
|
|
683
683
|
def access_key(self):
|
|
684
684
|
"""Gets the access_key of this ConfigurationDataSpec.
|
|
685
685
|
|
|
686
|
-
|
|
686
|
+
- type为\"apm2\"时,配置此参数。 - 参数含义:性能管理配置访问密钥Key。
|
|
687
687
|
|
|
688
688
|
:return: The access_key of this ConfigurationDataSpec.
|
|
689
689
|
:rtype: str
|
|
@@ -694,7 +694,7 @@ class ConfigurationDataSpec:
|
|
|
694
694
|
def access_key(self, access_key):
|
|
695
695
|
"""Sets the access_key of this ConfigurationDataSpec.
|
|
696
696
|
|
|
697
|
-
|
|
697
|
+
- type为\"apm2\"时,配置此参数。 - 参数含义:性能管理配置访问密钥Key。
|
|
698
698
|
|
|
699
699
|
:param access_key: The access_key of this ConfigurationDataSpec.
|
|
700
700
|
:type access_key: str
|
|
@@ -705,7 +705,7 @@ class ConfigurationDataSpec:
|
|
|
705
705
|
def access_value(self):
|
|
706
706
|
"""Gets the access_value of this ConfigurationDataSpec.
|
|
707
707
|
|
|
708
|
-
|
|
708
|
+
- type为\"apm2\"时,配置此参数。 - 参数含义:性能管理配置访问密钥value。
|
|
709
709
|
|
|
710
710
|
:return: The access_value of this ConfigurationDataSpec.
|
|
711
711
|
:rtype: str
|
|
@@ -716,7 +716,7 @@ class ConfigurationDataSpec:
|
|
|
716
716
|
def access_value(self, access_value):
|
|
717
717
|
"""Sets the access_value of this ConfigurationDataSpec.
|
|
718
718
|
|
|
719
|
-
|
|
719
|
+
- type为\"apm2\"时,配置此参数。 - 参数含义:性能管理配置访问密钥value。
|
|
720
720
|
|
|
721
721
|
:param access_value: The access_value of this ConfigurationDataSpec.
|
|
722
722
|
:type access_value: str
|
|
@@ -727,7 +727,7 @@ class ConfigurationDataSpec:
|
|
|
727
727
|
def business(self):
|
|
728
728
|
"""Gets the business of this ConfigurationDataSpec.
|
|
729
729
|
|
|
730
|
-
|
|
730
|
+
- type为\"apm2\"时,配置此参数。 - 参数含义:性能管理配置应用。
|
|
731
731
|
|
|
732
732
|
:return: The business of this ConfigurationDataSpec.
|
|
733
733
|
:rtype: str
|
|
@@ -738,7 +738,7 @@ class ConfigurationDataSpec:
|
|
|
738
738
|
def business(self, business):
|
|
739
739
|
"""Sets the business of this ConfigurationDataSpec.
|
|
740
740
|
|
|
741
|
-
|
|
741
|
+
- type为\"apm2\"时,配置此参数。 - 参数含义:性能管理配置应用。
|
|
742
742
|
|
|
743
743
|
:param business: The business of this ConfigurationDataSpec.
|
|
744
744
|
:type business: str
|
|
@@ -749,7 +749,7 @@ class ConfigurationDataSpec:
|
|
|
749
749
|
def image_pull_policy(self):
|
|
750
750
|
"""Gets the image_pull_policy of this ConfigurationDataSpec.
|
|
751
751
|
|
|
752
|
-
|
|
752
|
+
- type为\"apm2\"时,配置此参数。 - 参数含义:性能管理配置升级策略。 - 重启自动升级:每次都尝试重新下载镜像。 - 手动升级: 如果本地有该镜像,则继续使用本地镜像,不下载镜像。
|
|
753
753
|
|
|
754
754
|
:return: The image_pull_policy of this ConfigurationDataSpec.
|
|
755
755
|
:rtype: str
|
|
@@ -760,7 +760,7 @@ class ConfigurationDataSpec:
|
|
|
760
760
|
def image_pull_policy(self, image_pull_policy):
|
|
761
761
|
"""Sets the image_pull_policy of this ConfigurationDataSpec.
|
|
762
762
|
|
|
763
|
-
|
|
763
|
+
- type为\"apm2\"时,配置此参数。 - 参数含义:性能管理配置升级策略。 - 重启自动升级:每次都尝试重新下载镜像。 - 手动升级: 如果本地有该镜像,则继续使用本地镜像,不下载镜像。
|
|
764
764
|
|
|
765
765
|
:param image_pull_policy: The image_pull_policy of this ConfigurationDataSpec.
|
|
766
766
|
:type image_pull_policy: str
|
|
@@ -771,7 +771,7 @@ class ConfigurationDataSpec:
|
|
|
771
771
|
def version(self):
|
|
772
772
|
"""Gets the version of this ConfigurationDataSpec.
|
|
773
773
|
|
|
774
|
-
|
|
774
|
+
- type为\"apm2\"时,配置此参数。 - 参数含义:性能管理配置探针版本。
|
|
775
775
|
|
|
776
776
|
:return: The version of this ConfigurationDataSpec.
|
|
777
777
|
:rtype: str
|
|
@@ -782,7 +782,7 @@ class ConfigurationDataSpec:
|
|
|
782
782
|
def version(self, version):
|
|
783
783
|
"""Sets the version of this ConfigurationDataSpec.
|
|
784
784
|
|
|
785
|
-
|
|
785
|
+
- type为\"apm2\"时,配置此参数。 - 参数含义:性能管理配置探针版本。
|
|
786
786
|
|
|
787
787
|
:param version: The version of this ConfigurationDataSpec.
|
|
788
788
|
:type version: str
|
|
@@ -793,7 +793,7 @@ class ConfigurationDataSpec:
|
|
|
793
793
|
def path(self):
|
|
794
794
|
"""Gets the path of this ConfigurationDataSpec.
|
|
795
795
|
|
|
796
|
-
|
|
796
|
+
- type为\"customMetric\"时,配置此参数。 - 参数含义:自定义监控指标配置采集路径。
|
|
797
797
|
|
|
798
798
|
:return: The path of this ConfigurationDataSpec.
|
|
799
799
|
:rtype: str
|
|
@@ -804,7 +804,7 @@ class ConfigurationDataSpec:
|
|
|
804
804
|
def path(self, path):
|
|
805
805
|
"""Sets the path of this ConfigurationDataSpec.
|
|
806
806
|
|
|
807
|
-
|
|
807
|
+
- type为\"customMetric\"时,配置此参数。 - 参数含义:自定义监控指标配置采集路径。
|
|
808
808
|
|
|
809
809
|
:param path: The path of this ConfigurationDataSpec.
|
|
810
810
|
:type path: str
|
|
@@ -815,7 +815,7 @@ class ConfigurationDataSpec:
|
|
|
815
815
|
def port(self):
|
|
816
816
|
"""Gets the port of this ConfigurationDataSpec.
|
|
817
817
|
|
|
818
|
-
|
|
818
|
+
- type为\"customMetric\"时,配置此参数。 - 参数含义:自定义监控指标配置采集端口。
|
|
819
819
|
|
|
820
820
|
:return: The port of this ConfigurationDataSpec.
|
|
821
821
|
:rtype: str
|
|
@@ -826,7 +826,7 @@ class ConfigurationDataSpec:
|
|
|
826
826
|
def port(self, port):
|
|
827
827
|
"""Sets the port of this ConfigurationDataSpec.
|
|
828
828
|
|
|
829
|
-
|
|
829
|
+
- type为\"customMetric\"时,配置此参数。 - 参数含义:自定义监控指标配置采集端口。
|
|
830
830
|
|
|
831
831
|
:param port: The port of this ConfigurationDataSpec.
|
|
832
832
|
:type port: str
|
|
@@ -837,10 +837,10 @@ class ConfigurationDataSpec:
|
|
|
837
837
|
def metrics(self):
|
|
838
838
|
"""Gets the metrics of this ConfigurationDataSpec.
|
|
839
839
|
|
|
840
|
-
|
|
840
|
+
- type为\"customMetric\"时,配置此参数。 - 参数含义:自定义监控指标配置指标名称。
|
|
841
841
|
|
|
842
842
|
:return: The metrics of this ConfigurationDataSpec.
|
|
843
|
-
:rtype: list[
|
|
843
|
+
:rtype: list[str]
|
|
844
844
|
"""
|
|
845
845
|
return self._metrics
|
|
846
846
|
|
|
@@ -848,10 +848,10 @@ class ConfigurationDataSpec:
|
|
|
848
848
|
def metrics(self, metrics):
|
|
849
849
|
"""Sets the metrics of this ConfigurationDataSpec.
|
|
850
850
|
|
|
851
|
-
|
|
851
|
+
- type为\"customMetric\"时,配置此参数。 - 参数含义:自定义监控指标配置指标名称。
|
|
852
852
|
|
|
853
853
|
:param metrics: The metrics of this ConfigurationDataSpec.
|
|
854
|
-
:type metrics: list[
|
|
854
|
+
:type metrics: list[str]
|
|
855
855
|
"""
|
|
856
856
|
self._metrics = metrics
|
|
857
857
|
|