@alicloud/cms20240330 8.0.0 → 8.0.1
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.
- package/dist/client.js +6 -0
- package/dist/client.js.map +1 -1
- package/dist/models/AlertRuleCondition.d.ts +48 -0
- package/dist/models/AlertRuleCondition.js +85 -1
- package/dist/models/AlertRuleCondition.js.map +1 -1
- package/dist/models/AlertRuleDataSource.d.ts +1 -0
- package/dist/models/AlertRuleDataSource.js +2 -0
- package/dist/models/AlertRuleDataSource.js.map +1 -1
- package/dist/models/AlertRuleNotification.d.ts +5 -0
- package/dist/models/AlertRuleNotification.js +5 -0
- package/dist/models/AlertRuleNotification.js.map +1 -1
- package/dist/models/AlertRuleQuery.d.ts +2 -0
- package/dist/models/AlertRuleQuery.js +4 -0
- package/dist/models/AlertRuleQuery.js.map +1 -1
- package/dist/models/GetPrometheusInstanceResponseBody.d.ts +4 -0
- package/dist/models/GetPrometheusInstanceResponseBody.js +8 -0
- package/dist/models/GetPrometheusInstanceResponseBody.js.map +1 -1
- package/dist/models/GetPrometheusViewResponseBody.d.ts +2 -0
- package/dist/models/GetPrometheusViewResponseBody.js +4 -0
- package/dist/models/GetPrometheusViewResponseBody.js.map +1 -1
- package/dist/models/ListPrometheusVirtualInstancesRequest.d.ts +2 -0
- package/dist/models/ListPrometheusVirtualInstancesRequest.js +4 -0
- package/dist/models/ListPrometheusVirtualInstancesRequest.js.map +1 -1
- package/dist/models/ListPrometheusVirtualInstancesResponseBody.d.ts +3 -0
- package/dist/models/ListPrometheusVirtualInstancesResponseBody.js +6 -0
- package/dist/models/ListPrometheusVirtualInstancesResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +22 -16
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +8 -0
- package/src/models/AlertRuleCondition.ts +105 -0
- package/src/models/AlertRuleDataSource.ts +3 -0
- package/src/models/AlertRuleNotification.ts +6 -0
- package/src/models/AlertRuleQuery.ts +6 -0
- package/src/models/GetPrometheusInstanceResponseBody.ts +12 -0
- package/src/models/GetPrometheusViewResponseBody.ts +6 -0
- package/src/models/ListPrometheusVirtualInstancesRequest.ts +6 -0
- package/src/models/ListPrometheusVirtualInstancesResponseBody.ts +9 -0
- package/src/models/model.ts +3 -0
|
@@ -171,6 +171,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
171
171
|
* http://workspace-default-cms-xxxxxxx
|
|
172
172
|
*/
|
|
173
173
|
httpApiInterUrl?: string;
|
|
174
|
+
httpApiInternalUrl?: string;
|
|
174
175
|
/**
|
|
175
176
|
* @remarks
|
|
176
177
|
* HTTP intranet address.
|
|
@@ -237,6 +238,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
237
238
|
* http://workspace-default-cms-xxxxxxx
|
|
238
239
|
*/
|
|
239
240
|
pushGatewayInterUrl?: string;
|
|
241
|
+
pushGatewayInternalUrl?: string;
|
|
240
242
|
/**
|
|
241
243
|
* @remarks
|
|
242
244
|
* Intranet address of PushGateway.
|
|
@@ -261,6 +263,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
261
263
|
* http://workspace-default-cms-xxxxxxx
|
|
262
264
|
*/
|
|
263
265
|
remoteReadInterUrl?: string;
|
|
266
|
+
remoteReadInternalUrl?: string;
|
|
264
267
|
/**
|
|
265
268
|
* @remarks
|
|
266
269
|
* Intranet read address.
|
|
@@ -277,6 +280,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
277
280
|
* https://workspace-default-cms-xxxxxxxxxx
|
|
278
281
|
*/
|
|
279
282
|
remoteWriteInterUrl?: string;
|
|
283
|
+
remoteWriteInternalUrl?: string;
|
|
280
284
|
/**
|
|
281
285
|
* @remarks
|
|
282
286
|
* Intranet write address.
|
|
@@ -367,6 +371,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
367
371
|
grafanaInstanceId: 'grafanaInstanceId',
|
|
368
372
|
grafanaInstanceName: 'grafanaInstanceName',
|
|
369
373
|
httpApiInterUrl: 'httpApiInterUrl',
|
|
374
|
+
httpApiInternalUrl: 'httpApiInternalUrl',
|
|
370
375
|
httpApiIntraUrl: 'httpApiIntraUrl',
|
|
371
376
|
instanceType: 'instanceType',
|
|
372
377
|
paymentType: 'paymentType',
|
|
@@ -375,11 +380,14 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
375
380
|
prometheusInstanceId: 'prometheusInstanceId',
|
|
376
381
|
prometheusInstanceName: 'prometheusInstanceName',
|
|
377
382
|
pushGatewayInterUrl: 'pushGatewayInterUrl',
|
|
383
|
+
pushGatewayInternalUrl: 'pushGatewayInternalUrl',
|
|
378
384
|
pushGatewayIntraUrl: 'pushGatewayIntraUrl',
|
|
379
385
|
regionId: 'regionId',
|
|
380
386
|
remoteReadInterUrl: 'remoteReadInterUrl',
|
|
387
|
+
remoteReadInternalUrl: 'remoteReadInternalUrl',
|
|
381
388
|
remoteReadIntraUrl: 'remoteReadIntraUrl',
|
|
382
389
|
remoteWriteInterUrl: 'remoteWriteInterUrl',
|
|
390
|
+
remoteWriteInternalUrl: 'remoteWriteInternalUrl',
|
|
383
391
|
remoteWriteIntraUrl: 'remoteWriteIntraUrl',
|
|
384
392
|
resourceGroupId: 'resourceGroupId',
|
|
385
393
|
resourceType: 'resourceType',
|
|
@@ -409,6 +417,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
409
417
|
grafanaInstanceId: 'string',
|
|
410
418
|
grafanaInstanceName: 'string',
|
|
411
419
|
httpApiInterUrl: 'string',
|
|
420
|
+
httpApiInternalUrl: 'string',
|
|
412
421
|
httpApiIntraUrl: 'string',
|
|
413
422
|
instanceType: 'string',
|
|
414
423
|
paymentType: 'string',
|
|
@@ -417,11 +426,14 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
417
426
|
prometheusInstanceId: 'string',
|
|
418
427
|
prometheusInstanceName: 'string',
|
|
419
428
|
pushGatewayInterUrl: 'string',
|
|
429
|
+
pushGatewayInternalUrl: 'string',
|
|
420
430
|
pushGatewayIntraUrl: 'string',
|
|
421
431
|
regionId: 'string',
|
|
422
432
|
remoteReadInterUrl: 'string',
|
|
433
|
+
remoteReadInternalUrl: 'string',
|
|
423
434
|
remoteReadIntraUrl: 'string',
|
|
424
435
|
remoteWriteInterUrl: 'string',
|
|
436
|
+
remoteWriteInternalUrl: 'string',
|
|
425
437
|
remoteWriteIntraUrl: 'string',
|
|
426
438
|
resourceGroupId: 'string',
|
|
427
439
|
resourceType: 'string',
|
|
@@ -174,6 +174,7 @@ export class GetPrometheusViewResponseBodyPrometheusView extends $dara.Model {
|
|
|
174
174
|
* http://xxxxxxxx
|
|
175
175
|
*/
|
|
176
176
|
httpApiInterUrl?: string;
|
|
177
|
+
httpApiInternalUrl?: string;
|
|
177
178
|
/**
|
|
178
179
|
* @remarks
|
|
179
180
|
* Private HTTP address.
|
|
@@ -243,6 +244,7 @@ export class GetPrometheusViewResponseBodyPrometheusView extends $dara.Model {
|
|
|
243
244
|
* http://workspace-default-cms-xxx-cn-hangzhou.cn-hangzhou.log.aliyuncs.com/prometheus/workspace-default-cms-xxx-cn-hangzhou/xxx/api/v1/read
|
|
244
245
|
*/
|
|
245
246
|
remoteReadInterUrl?: string;
|
|
247
|
+
remoteReadInternalUrl?: string;
|
|
246
248
|
/**
|
|
247
249
|
* @remarks
|
|
248
250
|
* Remote read intranet URL.
|
|
@@ -320,6 +322,7 @@ export class GetPrometheusViewResponseBodyPrometheusView extends $dara.Model {
|
|
|
320
322
|
grafanaInstanceId: 'grafanaInstanceId',
|
|
321
323
|
grafanaInstanceName: 'grafanaInstanceName',
|
|
322
324
|
httpApiInterUrl: 'httpApiInterUrl',
|
|
325
|
+
httpApiInternalUrl: 'httpApiInternalUrl',
|
|
323
326
|
httpApiIntraUrl: 'httpApiIntraUrl',
|
|
324
327
|
instanceType: 'instanceType',
|
|
325
328
|
paymentType: 'paymentType',
|
|
@@ -329,6 +332,7 @@ export class GetPrometheusViewResponseBodyPrometheusView extends $dara.Model {
|
|
|
329
332
|
prometheusViewName: 'prometheusViewName',
|
|
330
333
|
regionId: 'regionId',
|
|
331
334
|
remoteReadInterUrl: 'remoteReadInterUrl',
|
|
335
|
+
remoteReadInternalUrl: 'remoteReadInternalUrl',
|
|
332
336
|
remoteReadIntraUrl: 'remoteReadIntraUrl',
|
|
333
337
|
resourceGroupId: 'resourceGroupId',
|
|
334
338
|
resourceType: 'resourceType',
|
|
@@ -352,6 +356,7 @@ export class GetPrometheusViewResponseBodyPrometheusView extends $dara.Model {
|
|
|
352
356
|
grafanaInstanceId: 'string',
|
|
353
357
|
grafanaInstanceName: 'string',
|
|
354
358
|
httpApiInterUrl: 'string',
|
|
359
|
+
httpApiInternalUrl: 'string',
|
|
355
360
|
httpApiIntraUrl: 'string',
|
|
356
361
|
instanceType: 'string',
|
|
357
362
|
paymentType: 'string',
|
|
@@ -361,6 +366,7 @@ export class GetPrometheusViewResponseBodyPrometheusView extends $dara.Model {
|
|
|
361
366
|
prometheusViewName: 'string',
|
|
362
367
|
regionId: 'string',
|
|
363
368
|
remoteReadInterUrl: 'string',
|
|
369
|
+
remoteReadInternalUrl: 'string',
|
|
364
370
|
remoteReadIntraUrl: 'string',
|
|
365
371
|
resourceGroupId: 'string',
|
|
366
372
|
resourceType: 'string',
|
|
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class ListPrometheusVirtualInstancesRequest extends $dara.Model {
|
|
6
|
+
maxResults?: number;
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
9
|
* Optional cloud product
|
|
@@ -11,17 +12,22 @@ export class ListPrometheusVirtualInstancesRequest extends $dara.Model {
|
|
|
11
12
|
* ack-csi-fuse
|
|
12
13
|
*/
|
|
13
14
|
namespace?: string;
|
|
15
|
+
nextToken?: string;
|
|
14
16
|
tenantId?: string;
|
|
15
17
|
static names(): { [key: string]: string } {
|
|
16
18
|
return {
|
|
19
|
+
maxResults: 'maxResults',
|
|
17
20
|
namespace: 'namespace',
|
|
21
|
+
nextToken: 'nextToken',
|
|
18
22
|
tenantId: 'tenantId',
|
|
19
23
|
};
|
|
20
24
|
}
|
|
21
25
|
|
|
22
26
|
static types(): { [key: string]: any } {
|
|
23
27
|
return {
|
|
28
|
+
maxResults: 'number',
|
|
24
29
|
namespace: 'string',
|
|
30
|
+
nextToken: 'string',
|
|
25
31
|
tenantId: 'string',
|
|
26
32
|
};
|
|
27
33
|
}
|
|
@@ -92,6 +92,8 @@ export class ListPrometheusVirtualInstancesResponseBody extends $dara.Model {
|
|
|
92
92
|
* Instance information.
|
|
93
93
|
*/
|
|
94
94
|
instances?: ListPrometheusVirtualInstancesResponseBodyInstances[];
|
|
95
|
+
maxResults?: string;
|
|
96
|
+
nextToken?: string;
|
|
95
97
|
/**
|
|
96
98
|
* @remarks
|
|
97
99
|
* ID of the request
|
|
@@ -100,17 +102,24 @@ export class ListPrometheusVirtualInstancesResponseBody extends $dara.Model {
|
|
|
100
102
|
* 264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC
|
|
101
103
|
*/
|
|
102
104
|
requestId?: string;
|
|
105
|
+
totalCount?: string;
|
|
103
106
|
static names(): { [key: string]: string } {
|
|
104
107
|
return {
|
|
105
108
|
instances: 'instances',
|
|
109
|
+
maxResults: 'maxResults',
|
|
110
|
+
nextToken: 'nextToken',
|
|
106
111
|
requestId: 'requestId',
|
|
112
|
+
totalCount: 'totalCount',
|
|
107
113
|
};
|
|
108
114
|
}
|
|
109
115
|
|
|
110
116
|
static types(): { [key: string]: any } {
|
|
111
117
|
return {
|
|
112
118
|
instances: { 'type': 'array', 'itemType': ListPrometheusVirtualInstancesResponseBodyInstances },
|
|
119
|
+
maxResults: 'string',
|
|
120
|
+
nextToken: 'string',
|
|
113
121
|
requestId: 'string',
|
|
122
|
+
totalCount: 'string',
|
|
114
123
|
};
|
|
115
124
|
}
|
|
116
125
|
|
package/src/models/model.ts
CHANGED
|
@@ -16,6 +16,9 @@ export { AlertRuleConditionCompositeEscalation } from './AlertRuleCondition';
|
|
|
16
16
|
export { AlertRuleConditionExpressEscalation } from './AlertRuleCondition';
|
|
17
17
|
export { AlertRuleConditionSimpleEscalationEscalations } from './AlertRuleCondition';
|
|
18
18
|
export { AlertRuleConditionSimpleEscalation } from './AlertRuleCondition';
|
|
19
|
+
export { AlertRuleConditionTriggersExpressionConditions } from './AlertRuleCondition';
|
|
20
|
+
export { AlertRuleConditionTriggersExpression } from './AlertRuleCondition';
|
|
21
|
+
export { AlertRuleConditionTriggers } from './AlertRuleCondition';
|
|
19
22
|
export { AlertRuleDataSourceDsList } from './AlertRuleDataSource';
|
|
20
23
|
export { AlertRuleQueryEntityFields } from './AlertRuleQuery';
|
|
21
24
|
export { AlertRuleQueryEntityFilterFilters } from './AlertRuleQuery';
|