feat: 添加多项功能和修复
功能新增: - OSS 存储使用情况显示(文件页面) - OSS 当日流量统计(阿里云云监控API) - 分享页面路由修复(/s/xxx 格式支持) Bug修复: - 修复分享页面资源路径(相对路径改绝对路径) - 修复分享码获取逻辑(支持路径格式) - 修复OSS配额undefined显示问题 - 修复登录流程OSS配置检查 - 修复文件数为null时的显示问题 依赖更新: - 添加 @alicloud/cms20190101 云监控SDK - 添加 @alicloud/openapi-client Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
3038
backend/node_modules/@alicloud/cms20190101/dist/client.d.ts
generated
vendored
Normal file
3038
backend/node_modules/@alicloud/cms20190101/dist/client.d.ts
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
8647
backend/node_modules/@alicloud/cms20190101/dist/client.js
generated
vendored
Normal file
8647
backend/node_modules/@alicloud/cms20190101/dist/client.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
backend/node_modules/@alicloud/cms20190101/dist/client.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/client.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
79
backend/node_modules/@alicloud/cms20190101/dist/models/AddTagsRequest.d.ts
generated
vendored
Normal file
79
backend/node_modules/@alicloud/cms20190101/dist/models/AddTagsRequest.d.ts
generated
vendored
Normal file
@@ -0,0 +1,79 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
export declare class AddTagsRequestTag extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The tag key.
|
||||
*
|
||||
* Valid values of N: 1 to 3. A tag key can be 1 to 64 characters in length.
|
||||
*
|
||||
* You can create a tag key or specify an existing tag key. For more information about how to obtain a tag key, see [DescribeTagKeyList](https://help.aliyun.com/document_detail/2513189.html).
|
||||
*
|
||||
* > The tag key cannot start with `aliyun` or `acs:`. The tag key (`Tag.N.Key`) and tag value (`Tag.N.Value`) must be specified at the same time.
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* key1
|
||||
*/
|
||||
key?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The tag value.
|
||||
*
|
||||
* Valid values of N: 1 to 3. A tag value can be 1 to 64 characters in length.
|
||||
*
|
||||
* You can create a tag value or specify an existing tag value. For more information about how to obtain a tag value, see [DescribeTagValueList](https://help.aliyun.com/document_detail/2513188.html).
|
||||
*
|
||||
* > The tag value cannot start with `aliyun` or `acs:`. The tag key (`Tag.N.Key`) and tag value (`Tag.N.Value`) must be specified at the same time.
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* value1
|
||||
*/
|
||||
value?: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
export declare class AddTagsRequest extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The ID of the application group.
|
||||
*
|
||||
* Valid values of N: 1 to 20.
|
||||
*
|
||||
* For information about how to query the IDs of application groups, see [DescribeMonitorGroups](https://help.aliyun.com/document_detail/2513168.html).
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* 7301****
|
||||
*/
|
||||
groupIds?: string[];
|
||||
regionId?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The tags.
|
||||
*
|
||||
* This parameter is required.
|
||||
*/
|
||||
tag?: AddTagsRequestTag[];
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
89
backend/node_modules/@alicloud/cms20190101/dist/models/AddTagsRequest.js
generated
vendored
Normal file
89
backend/node_modules/@alicloud/cms20190101/dist/models/AddTagsRequest.js
generated
vendored
Normal file
@@ -0,0 +1,89 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AddTagsRequest = exports.AddTagsRequestTag = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
class AddTagsRequestTag extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
key: 'Key',
|
||||
value: 'Value',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
key: 'string',
|
||||
value: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.AddTagsRequestTag = AddTagsRequestTag;
|
||||
class AddTagsRequest extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
groupIds: 'GroupIds',
|
||||
regionId: 'RegionId',
|
||||
tag: 'Tag',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
groupIds: { 'type': 'array', 'itemType': 'string' },
|
||||
regionId: 'string',
|
||||
tag: { 'type': 'array', 'itemType': AddTagsRequestTag },
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (Array.isArray(this.groupIds)) {
|
||||
$dara.Model.validateArray(this.groupIds);
|
||||
}
|
||||
if (Array.isArray(this.tag)) {
|
||||
$dara.Model.validateArray(this.tag);
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.AddTagsRequest = AddTagsRequest;
|
||||
//# sourceMappingURL=AddTagsRequest.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/AddTagsRequest.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/AddTagsRequest.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AddTagsRequest.js","sourceRoot":"","sources":["../../src/models/AddTagsRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,iBAAkB,SAAQ,KAAK,CAAC,KAAK;IAiChD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,GAAG,EAAE,KAAK;YACV,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,GAAG,EAAE,QAAQ;YACb,KAAK,EAAE,QAAQ;SAChB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtDD,8CAsDC;AAED,MAAa,cAAe,SAAQ,KAAK,CAAC,KAAK;IAuB7C,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,GAAG,EAAE,KAAK;SACX,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACnD,QAAQ,EAAE,QAAQ;YAClB,GAAG,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE;SACxD,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;YAChC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC3C,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;YAC3B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACtC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApDD,wCAoDC"}
|
||||
19
backend/node_modules/@alicloud/cms20190101/dist/models/AddTagsResponse.d.ts
generated
vendored
Normal file
19
backend/node_modules/@alicloud/cms20190101/dist/models/AddTagsResponse.d.ts
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
import { AddTagsResponseBody } from "./AddTagsResponseBody";
|
||||
export declare class AddTagsResponse extends $dara.Model {
|
||||
headers?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
statusCode?: number;
|
||||
body?: AddTagsResponseBody;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
69
backend/node_modules/@alicloud/cms20190101/dist/models/AddTagsResponse.js
generated
vendored
Normal file
69
backend/node_modules/@alicloud/cms20190101/dist/models/AddTagsResponse.js
generated
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AddTagsResponse = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
const AddTagsResponseBody_1 = require("./AddTagsResponseBody");
|
||||
class AddTagsResponse extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
headers: 'headers',
|
||||
statusCode: 'statusCode',
|
||||
body: 'body',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
||||
statusCode: 'number',
|
||||
body: AddTagsResponseBody_1.AddTagsResponseBody,
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (this.headers) {
|
||||
$dara.Model.validateMap(this.headers);
|
||||
}
|
||||
if (this.body && typeof this.body.validate === 'function') {
|
||||
this.body.validate();
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.AddTagsResponse = AddTagsResponse;
|
||||
//# sourceMappingURL=AddTagsResponse.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/AddTagsResponse.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/AddTagsResponse.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AddTagsResponse.js","sourceRoot":"","sources":["../../src/models/AddTagsResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+DAA4D;AAG5D,MAAa,eAAgB,SAAQ,KAAK,CAAC,KAAK;IAI9C,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,yCAAmB;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,0CAiCC"}
|
||||
50
backend/node_modules/@alicloud/cms20190101/dist/models/AddTagsResponseBody.d.ts
generated
vendored
Normal file
50
backend/node_modules/@alicloud/cms20190101/dist/models/AddTagsResponseBody.d.ts
generated
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
export declare class AddTagsResponseBody extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The status code.
|
||||
*
|
||||
* > The status code 200 indicates that the request was successful.
|
||||
*
|
||||
* @example
|
||||
* 200
|
||||
*/
|
||||
code?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The error message.
|
||||
*
|
||||
* @example
|
||||
* The specified resource is not found.
|
||||
*/
|
||||
message?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The request ID.
|
||||
*
|
||||
* @example
|
||||
* DAE4B115-3847-5438-8709-423627F0A3A3
|
||||
*/
|
||||
requestId?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* Indicates whether the request was successful. Valid values:
|
||||
*
|
||||
* * true
|
||||
* * false
|
||||
*
|
||||
* @example
|
||||
* true
|
||||
*/
|
||||
success?: boolean;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
64
backend/node_modules/@alicloud/cms20190101/dist/models/AddTagsResponseBody.js
generated
vendored
Normal file
64
backend/node_modules/@alicloud/cms20190101/dist/models/AddTagsResponseBody.js
generated
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AddTagsResponseBody = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
class AddTagsResponseBody extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
code: 'Code',
|
||||
message: 'Message',
|
||||
requestId: 'RequestId',
|
||||
success: 'Success',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
code: 'string',
|
||||
message: 'string',
|
||||
requestId: 'string',
|
||||
success: 'boolean',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.AddTagsResponseBody = AddTagsResponseBody;
|
||||
//# sourceMappingURL=AddTagsResponseBody.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/AddTagsResponseBody.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/AddTagsResponseBody.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AddTagsResponseBody.js","sourceRoot":"","sources":["../../src/models/AddTagsResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mBAAoB,SAAQ,KAAK,CAAC,KAAK;IAsClD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA/DD,kDA+DC"}
|
||||
60
backend/node_modules/@alicloud/cms20190101/dist/models/AlertEvent.d.ts
generated
vendored
Normal file
60
backend/node_modules/@alicloud/cms20190101/dist/models/AlertEvent.d.ts
generated
vendored
Normal file
@@ -0,0 +1,60 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
/**
|
||||
*/
|
||||
export declare class AlertEventMetrics extends $dara.Model {
|
||||
curValue?: string;
|
||||
metricName?: string;
|
||||
metricNameEn?: string;
|
||||
metricNameZh?: string;
|
||||
operator?: string;
|
||||
statistics?: string;
|
||||
threshold?: string;
|
||||
unit?: string;
|
||||
unitFactor?: number;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
export declare class AlertEvent extends $dara.Model {
|
||||
alertName?: string;
|
||||
alertStatus?: string;
|
||||
arn?: string;
|
||||
content?: string;
|
||||
customLabels?: {
|
||||
[key: string]: any;
|
||||
};
|
||||
deDupId?: string;
|
||||
details?: string;
|
||||
eventName?: string;
|
||||
eventType?: string;
|
||||
expression?: string;
|
||||
metrics?: AlertEventMetrics[];
|
||||
product?: string;
|
||||
resourceInfo?: {
|
||||
[key: string]: any;
|
||||
};
|
||||
ruleName?: string;
|
||||
severity?: string;
|
||||
source?: string;
|
||||
summary?: string;
|
||||
timestamp?: number;
|
||||
traceId?: string;
|
||||
userId?: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
142
backend/node_modules/@alicloud/cms20190101/dist/models/AlertEvent.js
generated
vendored
Normal file
142
backend/node_modules/@alicloud/cms20190101/dist/models/AlertEvent.js
generated
vendored
Normal file
@@ -0,0 +1,142 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AlertEvent = exports.AlertEventMetrics = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
/**
|
||||
*/
|
||||
class AlertEventMetrics extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
curValue: 'CurValue',
|
||||
metricName: 'MetricName',
|
||||
metricNameEn: 'MetricNameEn',
|
||||
metricNameZh: 'MetricNameZh',
|
||||
operator: 'Operator',
|
||||
statistics: 'Statistics',
|
||||
threshold: 'Threshold',
|
||||
unit: 'Unit',
|
||||
unitFactor: 'UnitFactor',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
curValue: 'string',
|
||||
metricName: 'string',
|
||||
metricNameEn: 'string',
|
||||
metricNameZh: 'string',
|
||||
operator: 'string',
|
||||
statistics: 'string',
|
||||
threshold: 'string',
|
||||
unit: 'string',
|
||||
unitFactor: 'number',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.AlertEventMetrics = AlertEventMetrics;
|
||||
class AlertEvent extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
alertName: 'AlertName',
|
||||
alertStatus: 'AlertStatus',
|
||||
arn: 'Arn',
|
||||
content: 'Content',
|
||||
customLabels: 'CustomLabels',
|
||||
deDupId: 'DeDupId',
|
||||
details: 'Details',
|
||||
eventName: 'EventName',
|
||||
eventType: 'EventType',
|
||||
expression: 'Expression',
|
||||
metrics: 'Metrics',
|
||||
product: 'Product',
|
||||
resourceInfo: 'ResourceInfo',
|
||||
ruleName: 'RuleName',
|
||||
severity: 'Severity',
|
||||
source: 'Source',
|
||||
summary: 'Summary',
|
||||
timestamp: 'Timestamp',
|
||||
traceId: 'TraceId',
|
||||
userId: 'UserId',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
alertName: 'string',
|
||||
alertStatus: 'string',
|
||||
arn: 'string',
|
||||
content: 'string',
|
||||
customLabels: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
||||
deDupId: 'string',
|
||||
details: 'string',
|
||||
eventName: 'string',
|
||||
eventType: 'string',
|
||||
expression: 'string',
|
||||
metrics: { 'type': 'array', 'itemType': AlertEventMetrics },
|
||||
product: 'string',
|
||||
resourceInfo: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
||||
ruleName: 'string',
|
||||
severity: 'string',
|
||||
source: 'string',
|
||||
summary: 'string',
|
||||
timestamp: 'number',
|
||||
traceId: 'string',
|
||||
userId: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (this.customLabels) {
|
||||
$dara.Model.validateMap(this.customLabels);
|
||||
}
|
||||
if (Array.isArray(this.metrics)) {
|
||||
$dara.Model.validateArray(this.metrics);
|
||||
}
|
||||
if (this.resourceInfo) {
|
||||
$dara.Model.validateMap(this.resourceInfo);
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.AlertEvent = AlertEvent;
|
||||
//# sourceMappingURL=AlertEvent.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/AlertEvent.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/AlertEvent.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AlertEvent.js","sourceRoot":"","sources":["../../src/models/AlertEvent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C;GACG;AACH,MAAa,iBAAkB,SAAQ,KAAK,CAAC,KAAK;IAUhD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,YAAY;YACxB,YAAY,EAAE,cAAc;YAC5B,YAAY,EAAE,cAAc;YAC5B,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,UAAU,EAAE,QAAQ;YACpB,YAAY,EAAE,QAAQ;YACtB,YAAY,EAAE,QAAQ;YACtB,QAAQ,EAAE,QAAQ;YAClB,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE,QAAQ;SACrB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA7CD,8CA6CC;AAED,MAAa,UAAW,SAAQ,KAAK,CAAC,KAAK;IAqBzC,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,WAAW,EAAE,aAAa;YAC1B,GAAG,EAAE,KAAK;YACV,OAAO,EAAE,SAAS;YAClB,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;YACtB,UAAU,EAAE,YAAY;YACxB,OAAO,EAAE,SAAS;YAClB,OAAO,EAAE,SAAS;YAClB,YAAY,EAAE,cAAc;YAC5B,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,WAAW,EAAE,QAAQ;YACrB,GAAG,EAAE,QAAQ;YACb,OAAO,EAAE,QAAQ;YACjB,YAAY,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,KAAK,EAAE;YACxE,OAAO,EAAE,QAAQ;YACjB,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE,QAAQ;YACpB,OAAO,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE;YAC3D,OAAO,EAAE,QAAQ;YACjB,YAAY,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,KAAK,EAAE;YACxE,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,QAAQ;YACjB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,YAAY,EAAE,CAAC;YACrB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC7C,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;YAC/B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC1C,CAAC;QACD,IAAG,IAAI,CAAC,YAAY,EAAE,CAAC;YACrB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC7C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvFD,gCAuFC"}
|
||||
15
backend/node_modules/@alicloud/cms20190101/dist/models/AlertStrategyRelation.d.ts
generated
vendored
Normal file
15
backend/node_modules/@alicloud/cms20190101/dist/models/AlertStrategyRelation.d.ts
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
export declare class AlertStrategyRelation extends $dara.Model {
|
||||
alertName?: string;
|
||||
strategyUuid?: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
60
backend/node_modules/@alicloud/cms20190101/dist/models/AlertStrategyRelation.js
generated
vendored
Normal file
60
backend/node_modules/@alicloud/cms20190101/dist/models/AlertStrategyRelation.js
generated
vendored
Normal file
@@ -0,0 +1,60 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AlertStrategyRelation = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
class AlertStrategyRelation extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
alertName: 'AlertName',
|
||||
strategyUuid: 'StrategyUuid',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
alertName: 'string',
|
||||
strategyUuid: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.AlertStrategyRelation = AlertStrategyRelation;
|
||||
//# sourceMappingURL=AlertStrategyRelation.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/AlertStrategyRelation.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/AlertStrategyRelation.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AlertStrategyRelation.js","sourceRoot":"","sources":["../../src/models/AlertStrategyRelation.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qBAAsB,SAAQ,KAAK,CAAC,KAAK;IAGpD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,YAAY,EAAE,cAAc;SAC7B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,QAAQ;SACvB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxBD,sDAwBC"}
|
||||
103
backend/node_modules/@alicloud/cms20190101/dist/models/ApplyMetricRuleTemplateRequest.d.ts
generated
vendored
Normal file
103
backend/node_modules/@alicloud/cms20190101/dist/models/ApplyMetricRuleTemplateRequest.d.ts
generated
vendored
Normal file
@@ -0,0 +1,103 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
export declare class ApplyMetricRuleTemplateRequest extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The template application policy. Valid values:
|
||||
*
|
||||
* * all (default): deletes all the rules that are created by using the alert template from the selected application group, and then creates alert rules based on the template.
|
||||
* * append: deletes the rules that are created by using the alert template from the selected application group, and then creates alert rules based on the existing template.
|
||||
*
|
||||
* @example
|
||||
* all
|
||||
*/
|
||||
appendMode?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The mode in which the alert template is applied. Valid values:
|
||||
*
|
||||
* * GROUP_INSTANCE_FIRST: The metrics in the application group take precedence. If a metric specified in the alert template does not exist in the application group, the system does not generate an alert rule for the metric based on the alert template.
|
||||
* * ALARM_TEMPLATE_FIRST: The metrics specified in the alert template take precedence. If a metric specified in the alert template does not exist in the application group, the system still generates an alert rule for the metric based on the alert template.
|
||||
*
|
||||
* @example
|
||||
* GROUP_INSTANCE_FIRST
|
||||
*/
|
||||
applyMode?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The end of the time period during which the alert rule is effective. Valid values: 00 to 23. A value of 00 indicates 00:59 and a value of 23 indicates 23:59.
|
||||
*
|
||||
* @example
|
||||
* 23
|
||||
*/
|
||||
enableEndTime?: number;
|
||||
/**
|
||||
* @remarks
|
||||
* The beginning of the time period during which the alert rule is effective. Valid values: 00 to 23. A value of 00 indicates 00:00 and a value of 23 indicates 23:00.
|
||||
*
|
||||
* @example
|
||||
* 00
|
||||
*/
|
||||
enableStartTime?: number;
|
||||
/**
|
||||
* @remarks
|
||||
* The ID of the application group to which the alert template is applied.
|
||||
*
|
||||
* For more information about how to query the ID of an application group, see [DescribeMonitorGroups](https://help.aliyun.com/document_detail/115032.html).
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* 123456
|
||||
*/
|
||||
groupId?: number;
|
||||
/**
|
||||
* @remarks
|
||||
* The alert notification method. Valid values:
|
||||
*
|
||||
* Set the value to 4. A value of 4 indicates that alert notifications are sent by using TradeManager and DingTalk chatbots.
|
||||
*
|
||||
* @example
|
||||
* 4
|
||||
*/
|
||||
notifyLevel?: number;
|
||||
/**
|
||||
* @remarks
|
||||
* The mute period during which notifications are not repeatedly sent for an alert. Unit: seconds. Default value: 86400.
|
||||
*
|
||||
* > Only one alert notification is sent during each mute period even if the metric value exceeds the alert threshold several times.
|
||||
*
|
||||
* @example
|
||||
* 86400
|
||||
*/
|
||||
silenceTime?: number;
|
||||
/**
|
||||
* @remarks
|
||||
* The ID of the alert template.
|
||||
*
|
||||
* For more information about how to query the IDs of alert templates, see [DescribeMetricRuleTemplateList](https://help.aliyun.com/document_detail/114982.html).
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* 700****
|
||||
*/
|
||||
templateIds?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The callback URL to which a POST request is sent when an alert is triggered based on the alert rule.
|
||||
*
|
||||
* @example
|
||||
* https://www.aliyun.com
|
||||
*/
|
||||
webhook?: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
74
backend/node_modules/@alicloud/cms20190101/dist/models/ApplyMetricRuleTemplateRequest.js
generated
vendored
Normal file
74
backend/node_modules/@alicloud/cms20190101/dist/models/ApplyMetricRuleTemplateRequest.js
generated
vendored
Normal file
@@ -0,0 +1,74 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ApplyMetricRuleTemplateRequest = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
class ApplyMetricRuleTemplateRequest extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
appendMode: 'AppendMode',
|
||||
applyMode: 'ApplyMode',
|
||||
enableEndTime: 'EnableEndTime',
|
||||
enableStartTime: 'EnableStartTime',
|
||||
groupId: 'GroupId',
|
||||
notifyLevel: 'NotifyLevel',
|
||||
silenceTime: 'SilenceTime',
|
||||
templateIds: 'TemplateIds',
|
||||
webhook: 'Webhook',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
appendMode: 'string',
|
||||
applyMode: 'string',
|
||||
enableEndTime: 'number',
|
||||
enableStartTime: 'number',
|
||||
groupId: 'number',
|
||||
notifyLevel: 'number',
|
||||
silenceTime: 'number',
|
||||
templateIds: 'string',
|
||||
webhook: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.ApplyMetricRuleTemplateRequest = ApplyMetricRuleTemplateRequest;
|
||||
//# sourceMappingURL=ApplyMetricRuleTemplateRequest.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/ApplyMetricRuleTemplateRequest.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/ApplyMetricRuleTemplateRequest.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ApplyMetricRuleTemplateRequest.js","sourceRoot":"","sources":["../../src/models/ApplyMetricRuleTemplateRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IA2F7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,aAAa,EAAE,eAAe;YAC9B,eAAe,EAAE,iBAAiB;YAClC,OAAO,EAAE,SAAS;YAClB,WAAW,EAAE,aAAa;YAC1B,WAAW,EAAE,aAAa;YAC1B,WAAW,EAAE,aAAa;YAC1B,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,aAAa,EAAE,QAAQ;YACvB,eAAe,EAAE,QAAQ;YACzB,OAAO,EAAE,QAAQ;YACjB,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,QAAQ;YACrB,OAAO,EAAE,QAAQ;SAClB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA9HD,wEA8HC"}
|
||||
19
backend/node_modules/@alicloud/cms20190101/dist/models/ApplyMetricRuleTemplateResponse.d.ts
generated
vendored
Normal file
19
backend/node_modules/@alicloud/cms20190101/dist/models/ApplyMetricRuleTemplateResponse.d.ts
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
import { ApplyMetricRuleTemplateResponseBody } from "./ApplyMetricRuleTemplateResponseBody";
|
||||
export declare class ApplyMetricRuleTemplateResponse extends $dara.Model {
|
||||
headers?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
statusCode?: number;
|
||||
body?: ApplyMetricRuleTemplateResponseBody;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
69
backend/node_modules/@alicloud/cms20190101/dist/models/ApplyMetricRuleTemplateResponse.js
generated
vendored
Normal file
69
backend/node_modules/@alicloud/cms20190101/dist/models/ApplyMetricRuleTemplateResponse.js
generated
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ApplyMetricRuleTemplateResponse = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
const ApplyMetricRuleTemplateResponseBody_1 = require("./ApplyMetricRuleTemplateResponseBody");
|
||||
class ApplyMetricRuleTemplateResponse extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
headers: 'headers',
|
||||
statusCode: 'statusCode',
|
||||
body: 'body',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
||||
statusCode: 'number',
|
||||
body: ApplyMetricRuleTemplateResponseBody_1.ApplyMetricRuleTemplateResponseBody,
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (this.headers) {
|
||||
$dara.Model.validateMap(this.headers);
|
||||
}
|
||||
if (this.body && typeof this.body.validate === 'function') {
|
||||
this.body.validate();
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.ApplyMetricRuleTemplateResponse = ApplyMetricRuleTemplateResponse;
|
||||
//# sourceMappingURL=ApplyMetricRuleTemplateResponse.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/ApplyMetricRuleTemplateResponse.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/ApplyMetricRuleTemplateResponse.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ApplyMetricRuleTemplateResponse.js","sourceRoot":"","sources":["../../src/models/ApplyMetricRuleTemplateResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+FAA4F;AAG5F,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAI9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,yEAAmC;SAC1C,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,0EAiCC"}
|
||||
137
backend/node_modules/@alicloud/cms20190101/dist/models/ApplyMetricRuleTemplateResponseBody.d.ts
generated
vendored
Normal file
137
backend/node_modules/@alicloud/cms20190101/dist/models/ApplyMetricRuleTemplateResponseBody.d.ts
generated
vendored
Normal file
@@ -0,0 +1,137 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
export declare class ApplyMetricRuleTemplateResponseBodyResourceAlertResults extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The responses code.
|
||||
*
|
||||
* > The status code 200 indicates that the request was successful.
|
||||
*
|
||||
* @example
|
||||
* 200
|
||||
*/
|
||||
code?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The returned message.
|
||||
*
|
||||
* @example
|
||||
* alert rule is creating, please wait a few minutes.
|
||||
*/
|
||||
message?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The ID of the alert rule.
|
||||
*
|
||||
* @example
|
||||
* applyTemplate8ab74c6b-9f27-47ab-8841-de01dc08****
|
||||
*/
|
||||
ruleId?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The name of the alert rule.
|
||||
*
|
||||
* @example
|
||||
* test123
|
||||
*/
|
||||
ruleName?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* Indicates whether the request was successful. Valid values:
|
||||
*
|
||||
* * true
|
||||
* * false
|
||||
*
|
||||
* @example
|
||||
* true
|
||||
*/
|
||||
success?: boolean;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
export declare class ApplyMetricRuleTemplateResponseBodyResource extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The details of the generated alert rule.
|
||||
*/
|
||||
alertResults?: ApplyMetricRuleTemplateResponseBodyResourceAlertResults[];
|
||||
/**
|
||||
* @remarks
|
||||
* The ID of the application group.
|
||||
*
|
||||
* @example
|
||||
* 123456
|
||||
*/
|
||||
groupId?: number;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
export declare class ApplyMetricRuleTemplateResponseBody extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The responses code.
|
||||
*
|
||||
* > The status code 200 indicates that the request was successful.
|
||||
*
|
||||
* @example
|
||||
* 200
|
||||
*/
|
||||
code?: number;
|
||||
/**
|
||||
* @remarks
|
||||
* The returned message.
|
||||
*
|
||||
* @example
|
||||
* The specified resource is not found.
|
||||
*/
|
||||
message?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The request ID.
|
||||
*
|
||||
* @example
|
||||
* 3F897F3C-020A-4993-95B4-63ABB84F83E6
|
||||
*/
|
||||
requestId?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The resources that are affected by the alert rule.
|
||||
*/
|
||||
resource?: ApplyMetricRuleTemplateResponseBodyResource;
|
||||
/**
|
||||
* @remarks
|
||||
* Indicates whether the request was successful. Valid values:
|
||||
*
|
||||
* * true
|
||||
* * false
|
||||
*
|
||||
* @example
|
||||
* true
|
||||
*/
|
||||
success?: boolean;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
120
backend/node_modules/@alicloud/cms20190101/dist/models/ApplyMetricRuleTemplateResponseBody.js
generated
vendored
Normal file
120
backend/node_modules/@alicloud/cms20190101/dist/models/ApplyMetricRuleTemplateResponseBody.js
generated
vendored
Normal file
@@ -0,0 +1,120 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ApplyMetricRuleTemplateResponseBody = exports.ApplyMetricRuleTemplateResponseBodyResource = exports.ApplyMetricRuleTemplateResponseBodyResourceAlertResults = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
class ApplyMetricRuleTemplateResponseBodyResourceAlertResults extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
code: 'Code',
|
||||
message: 'Message',
|
||||
ruleId: 'RuleId',
|
||||
ruleName: 'RuleName',
|
||||
success: 'Success',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
code: 'string',
|
||||
message: 'string',
|
||||
ruleId: 'string',
|
||||
ruleName: 'string',
|
||||
success: 'boolean',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.ApplyMetricRuleTemplateResponseBodyResourceAlertResults = ApplyMetricRuleTemplateResponseBodyResourceAlertResults;
|
||||
class ApplyMetricRuleTemplateResponseBodyResource extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
alertResults: 'AlertResults',
|
||||
groupId: 'GroupId',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
alertResults: { 'type': 'array', 'itemType': ApplyMetricRuleTemplateResponseBodyResourceAlertResults },
|
||||
groupId: 'number',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (Array.isArray(this.alertResults)) {
|
||||
$dara.Model.validateArray(this.alertResults);
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.ApplyMetricRuleTemplateResponseBodyResource = ApplyMetricRuleTemplateResponseBodyResource;
|
||||
class ApplyMetricRuleTemplateResponseBody extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
code: 'Code',
|
||||
message: 'Message',
|
||||
requestId: 'RequestId',
|
||||
resource: 'Resource',
|
||||
success: 'Success',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
code: 'number',
|
||||
message: 'string',
|
||||
requestId: 'string',
|
||||
resource: ApplyMetricRuleTemplateResponseBodyResource,
|
||||
success: 'boolean',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (this.resource && typeof this.resource.validate === 'function') {
|
||||
this.resource.validate();
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.ApplyMetricRuleTemplateResponseBody = ApplyMetricRuleTemplateResponseBody;
|
||||
//# sourceMappingURL=ApplyMetricRuleTemplateResponseBody.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/ApplyMetricRuleTemplateResponseBody.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/ApplyMetricRuleTemplateResponseBody.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ApplyMetricRuleTemplateResponseBody.js","sourceRoot":"","sources":["../../src/models/ApplyMetricRuleTemplateResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uDAAwD,SAAQ,KAAK,CAAC,KAAK;IA8CtF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;YACpB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ;YACjB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,QAAQ;YAClB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzED,0HAyEC;AAED,MAAa,2CAA4C,SAAQ,KAAK,CAAC,KAAK;IAc1E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,uDAAuD,EAAE;YACtG,OAAO,EAAE,QAAQ;SAClB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC;YACpC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC/C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,kGAsCC;AAED,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IA2ClE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;YACpB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,2CAA2C;YACrD,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,QAAQ,IAAI,OAAQ,IAAI,CAAC,QAAgB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACzE,IAAI,CAAC,QAAgB,CAAC,QAAQ,EAAE,CAAC;QACpC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzED,kFAyEC"}
|
||||
89
backend/node_modules/@alicloud/cms20190101/dist/models/BatchCreateInstantSiteMonitorRequest.d.ts
generated
vendored
Normal file
89
backend/node_modules/@alicloud/cms20190101/dist/models/BatchCreateInstantSiteMonitorRequest.d.ts
generated
vendored
Normal file
@@ -0,0 +1,89 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
export declare class BatchCreateInstantSiteMonitorRequestTaskList extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The URL or IP address that is monitored by the task.
|
||||
*
|
||||
* > You must create at least one site monitoring task. You must specify all of the `Address`, `TaskName`, and `TaskType` parameters in each request.
|
||||
*
|
||||
* @example
|
||||
* https://www.aliyun.com
|
||||
*/
|
||||
address?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The detection points. If you leave this parameter empty, the system randomly selects three detection points.
|
||||
*
|
||||
* The value is a `JSON array`. Example: `{"city":"546","isp":"465"},{"city":"572","isp":"465"},{"city":"738","isp":"465"}`. The values of the city field indicate Beijing, Hangzhou, and Qingdao.
|
||||
*
|
||||
* For information about how to obtain detection points, see [DescribeSiteMonitorISPCityList](https://help.aliyun.com/document_detail/115045.html).
|
||||
*
|
||||
* @example
|
||||
* [{"city":"546","isp":"465"},{"city":"572","isp":"465"},{"city":"738","isp":"465"}]
|
||||
*/
|
||||
ispCities?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The extended options of the protocol that is used by the site monitoring task. The options vary based on the protocol.
|
||||
*
|
||||
* @example
|
||||
* {"time_out":5000}
|
||||
*/
|
||||
optionsJson?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The name of the site monitoring task.
|
||||
*
|
||||
* The name must be 4 to 100 characters in length, and can contain letters, digits, and underscores (_).
|
||||
*
|
||||
* > You must create at least one site monitoring task. You must specify all of the `Address`, `TaskName`, and `TaskType` parameters in each request.
|
||||
*
|
||||
* @example
|
||||
* HangZhou_ECS1
|
||||
*/
|
||||
taskName?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The type of the site monitoring task.
|
||||
*
|
||||
* Valid values: HTTP, PING, TCP, UDP, DNS, SMTP, POP3, and FTP.
|
||||
*
|
||||
* > You must create at least one site monitoring task. You must specify all of the `Address`, `TaskName`, and `TaskType` parameters in each request.
|
||||
*
|
||||
* @example
|
||||
* HTTP
|
||||
*/
|
||||
taskType?: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
export declare class BatchCreateInstantSiteMonitorRequest extends $dara.Model {
|
||||
regionId?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The site monitoring tasks.
|
||||
*
|
||||
* > You must create at least one site monitoring task. You must specify all of the `Address`, `TaskName`, and `TaskType` parameters in each request.
|
||||
*
|
||||
* This parameter is required.
|
||||
*/
|
||||
taskList?: BatchCreateInstantSiteMonitorRequestTaskList[];
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
90
backend/node_modules/@alicloud/cms20190101/dist/models/BatchCreateInstantSiteMonitorRequest.js
generated
vendored
Normal file
90
backend/node_modules/@alicloud/cms20190101/dist/models/BatchCreateInstantSiteMonitorRequest.js
generated
vendored
Normal file
@@ -0,0 +1,90 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.BatchCreateInstantSiteMonitorRequest = exports.BatchCreateInstantSiteMonitorRequestTaskList = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
class BatchCreateInstantSiteMonitorRequestTaskList extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
address: 'Address',
|
||||
ispCities: 'IspCities',
|
||||
optionsJson: 'OptionsJson',
|
||||
taskName: 'TaskName',
|
||||
taskType: 'TaskType',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
address: 'string',
|
||||
ispCities: 'string',
|
||||
optionsJson: 'string',
|
||||
taskName: 'string',
|
||||
taskType: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.BatchCreateInstantSiteMonitorRequestTaskList = BatchCreateInstantSiteMonitorRequestTaskList;
|
||||
class BatchCreateInstantSiteMonitorRequest extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
regionId: 'RegionId',
|
||||
taskList: 'TaskList',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
regionId: 'string',
|
||||
taskList: { 'type': 'array', 'itemType': BatchCreateInstantSiteMonitorRequestTaskList },
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (Array.isArray(this.taskList)) {
|
||||
$dara.Model.validateArray(this.taskList);
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.BatchCreateInstantSiteMonitorRequest = BatchCreateInstantSiteMonitorRequest;
|
||||
//# sourceMappingURL=BatchCreateInstantSiteMonitorRequest.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/BatchCreateInstantSiteMonitorRequest.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/BatchCreateInstantSiteMonitorRequest.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BatchCreateInstantSiteMonitorRequest.js","sourceRoot":"","sources":["../../src/models/BatchCreateInstantSiteMonitorRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4CAA6C,SAAQ,KAAK,CAAC,KAAK;IAuD3E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAlFD,oGAkFC;AAED,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAWnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,4CAA4C,EAAE;SACxF,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;YAChC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC3C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAnCD,oFAmCC"}
|
||||
19
backend/node_modules/@alicloud/cms20190101/dist/models/BatchCreateInstantSiteMonitorResponse.d.ts
generated
vendored
Normal file
19
backend/node_modules/@alicloud/cms20190101/dist/models/BatchCreateInstantSiteMonitorResponse.d.ts
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
import { BatchCreateInstantSiteMonitorResponseBody } from "./BatchCreateInstantSiteMonitorResponseBody";
|
||||
export declare class BatchCreateInstantSiteMonitorResponse extends $dara.Model {
|
||||
headers?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
statusCode?: number;
|
||||
body?: BatchCreateInstantSiteMonitorResponseBody;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
69
backend/node_modules/@alicloud/cms20190101/dist/models/BatchCreateInstantSiteMonitorResponse.js
generated
vendored
Normal file
69
backend/node_modules/@alicloud/cms20190101/dist/models/BatchCreateInstantSiteMonitorResponse.js
generated
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.BatchCreateInstantSiteMonitorResponse = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
const BatchCreateInstantSiteMonitorResponseBody_1 = require("./BatchCreateInstantSiteMonitorResponseBody");
|
||||
class BatchCreateInstantSiteMonitorResponse extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
headers: 'headers',
|
||||
statusCode: 'statusCode',
|
||||
body: 'body',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
||||
statusCode: 'number',
|
||||
body: BatchCreateInstantSiteMonitorResponseBody_1.BatchCreateInstantSiteMonitorResponseBody,
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (this.headers) {
|
||||
$dara.Model.validateMap(this.headers);
|
||||
}
|
||||
if (this.body && typeof this.body.validate === 'function') {
|
||||
this.body.validate();
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.BatchCreateInstantSiteMonitorResponse = BatchCreateInstantSiteMonitorResponse;
|
||||
//# sourceMappingURL=BatchCreateInstantSiteMonitorResponse.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/BatchCreateInstantSiteMonitorResponse.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/BatchCreateInstantSiteMonitorResponse.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BatchCreateInstantSiteMonitorResponse.js","sourceRoot":"","sources":["../../src/models/BatchCreateInstantSiteMonitorResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,2GAAwG;AAGxG,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;IAIpE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,qFAAyC;SAChD,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,sFAiCC"}
|
||||
86
backend/node_modules/@alicloud/cms20190101/dist/models/BatchCreateInstantSiteMonitorResponseBody.d.ts
generated
vendored
Normal file
86
backend/node_modules/@alicloud/cms20190101/dist/models/BatchCreateInstantSiteMonitorResponseBody.d.ts
generated
vendored
Normal file
@@ -0,0 +1,86 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
export declare class BatchCreateInstantSiteMonitorResponseBodyData extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The ID of the site monitoring task.
|
||||
*
|
||||
* @example
|
||||
* 679fbe4f-b80b-4706-91b2-5427b43e****
|
||||
*/
|
||||
taskId?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The name of the site monitoring task.
|
||||
*
|
||||
* @example
|
||||
* HangZhou_ECS1
|
||||
*/
|
||||
taskName?: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
export declare class BatchCreateInstantSiteMonitorResponseBody extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The HTTP status code.
|
||||
*
|
||||
* > The status code 200 indicates that the request was successful.
|
||||
*
|
||||
* @example
|
||||
* 200
|
||||
*/
|
||||
code?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The information about the site monitoring task.
|
||||
*
|
||||
* @example
|
||||
* [{"taskName": "HangZhou_ECS1", "taskId": "679fbe4f-b80b-4706-91b2-5427b43e****"}]
|
||||
*/
|
||||
data?: BatchCreateInstantSiteMonitorResponseBodyData[];
|
||||
/**
|
||||
* @remarks
|
||||
* The returned message.
|
||||
*
|
||||
* @example
|
||||
* successful
|
||||
*/
|
||||
message?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The request ID.
|
||||
*
|
||||
* @example
|
||||
* 7AE72720-2C96-5446-9F2B-308C7CEDFF1A
|
||||
*/
|
||||
requestId?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* Indicates whether the request was successful. Valid values:
|
||||
*
|
||||
* * true
|
||||
* * false
|
||||
*
|
||||
* @example
|
||||
* true
|
||||
*/
|
||||
success?: boolean;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
90
backend/node_modules/@alicloud/cms20190101/dist/models/BatchCreateInstantSiteMonitorResponseBody.js
generated
vendored
Normal file
90
backend/node_modules/@alicloud/cms20190101/dist/models/BatchCreateInstantSiteMonitorResponseBody.js
generated
vendored
Normal file
@@ -0,0 +1,90 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.BatchCreateInstantSiteMonitorResponseBody = exports.BatchCreateInstantSiteMonitorResponseBodyData = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
class BatchCreateInstantSiteMonitorResponseBodyData extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
taskId: 'TaskId',
|
||||
taskName: 'TaskName',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
taskId: 'string',
|
||||
taskName: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.BatchCreateInstantSiteMonitorResponseBodyData = BatchCreateInstantSiteMonitorResponseBodyData;
|
||||
class BatchCreateInstantSiteMonitorResponseBody extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
code: 'Code',
|
||||
data: 'Data',
|
||||
message: 'Message',
|
||||
requestId: 'RequestId',
|
||||
success: 'Success',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
code: 'string',
|
||||
data: { 'type': 'array', 'itemType': BatchCreateInstantSiteMonitorResponseBodyData },
|
||||
message: 'string',
|
||||
requestId: 'string',
|
||||
success: 'boolean',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (Array.isArray(this.data)) {
|
||||
$dara.Model.validateArray(this.data);
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.BatchCreateInstantSiteMonitorResponseBody = BatchCreateInstantSiteMonitorResponseBody;
|
||||
//# sourceMappingURL=BatchCreateInstantSiteMonitorResponseBody.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/BatchCreateInstantSiteMonitorResponseBody.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/BatchCreateInstantSiteMonitorResponseBody.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BatchCreateInstantSiteMonitorResponseBody.js","sourceRoot":"","sources":["../../src/models/BatchCreateInstantSiteMonitorResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6CAA8C,SAAQ,KAAK,CAAC,KAAK;IAiB5E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,sGAsCC;AAED,MAAa,yCAA0C,SAAQ,KAAK,CAAC,KAAK;IA8CxE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,6CAA6C,EAAE;YACpF,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;YAC5B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5ED,8FA4EC"}
|
||||
75
backend/node_modules/@alicloud/cms20190101/dist/models/BatchExportRequest.d.ts
generated
vendored
Normal file
75
backend/node_modules/@alicloud/cms20190101/dist/models/BatchExportRequest.d.ts
generated
vendored
Normal file
@@ -0,0 +1,75 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
export declare class BatchExportRequest extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* When you call this operation to export data, you must specify the `Cursor` parameter. You can obtain the value of the `Cursor` parameter by using one of the following methods:
|
||||
*
|
||||
* * When you call this operation for the first time, you must call the Cursor operation to obtain the `Cursor` value. For more information, see [Cursor](https://help.aliyun.com/document_detail/2330730.html).
|
||||
* * When you call this operation again, you can obtain the `Cursor` value from the returned data of the last call.
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* eyJidWNrZXRzIjo0LCJjdXJzb3IiOiIxNjQxNDU0MzIwMDAwMWUxY2YxNWY0NTU0MTliZjllYTY4OWQ2ODI1OTU1Yzc1NmZjMDQ2OTMxMzczMzM2MzUzMTMxMzEzMzM0MzMzODM5MzEzMTMwMjQyYzY5MmQ3NTY2MzYzMjY3NmI2ZjM5MzU2YjY4MzAzMTYyNzg3MTcwNjkzMTM3MjQyYyIsImN1cnNvclZlcnNpb24iOiJxdWVyeSIsImVuZFRpbWUiOjE2NDE0NTQ3OTU4MjMsImV4cG9ydEVuZFRpbWUiOjE2NDE0NTQ3OTU4MjMsImV4cG9ydFN0YXJ0VGltZSI6MTY0MTQ1NDE5NTgyMywiZXhwcmVzc1JhbmdlIjpmYWxzZSwiaGFzTmV4dCI6dHJ1ZSwiaW5wdXRNZXRyaWMiOiJDUFVVdGlsaXphdGlvbiIsImlucHV0TmFtZXNwYWNlIjoiYWNzX2Vjc19kYXNoYm9hcmQiLCJsaW1pdCI6MTAwMCwibG9nVGltZU1vZGUiOnRydWUsIm1hdGNoZXJzIjp7ImNoYWluIjpbeyJsYWJlbCI6InVzZXJJZCIsIm9wZXJhdG9yIjoiRVFVQUxTIiwidmFsdWUiOiIxNzM2NTExMTM0Mzg5MTEwIn1dfSwibWV0cmljIjoiQ1BVVXRpbGl6YXRpb24iLCJtZXRyaWNUeXBlIjoiTUVUUklDIiwibmFtZXNwYWNlIjoiYWNzX2Vjc19kYXNoYm9hcmQiLCJuZXh0UGtBZGFwdGVyIjp7fSwib2Zmc2V0IjowLCJwYXJlbnRVaWQiOjEyNzA2NzY2Nzk1NDY3MDQsInN0YXJ0VGltZSI6MTY0MTQ1NDE5NTgyMywic3RlcCI6LTEsInRpbWVvdXQiOjEyMCwid2luZG93Ijo2****
|
||||
*/
|
||||
cursor?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The maximum number of data entries that can be returned in each response.
|
||||
*
|
||||
* Valid values: 1 to 10000.
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* 1000
|
||||
*/
|
||||
length?: number;
|
||||
/**
|
||||
* @remarks
|
||||
* The statistical methods used to customize the returned data. By default, the measurements based on all statistical methods are returned.
|
||||
*
|
||||
* For example, the `cpu_idle` metric of ECS (`acs_ecs_dashboard`) has three statistical methods: `Average`, `Maximum`, and `Minimum`. If you want to return only the measurements based on the `Average` and `Maximum` statistical methods, set this parameter to `["Average", "Maximum"]`.
|
||||
*
|
||||
* The statistical methods of metrics are displayed in the `Statistics` column on the Metrics page of each cloud service. For more information, see [Appendix 1: Metrics](https://help.aliyun.com/document_detail/163515.html).
|
||||
*/
|
||||
measurements?: string[];
|
||||
/**
|
||||
* @remarks
|
||||
* The metric that is used to monitor the cloud service.
|
||||
*
|
||||
* For more information about the metrics of cloud services, see [Appendix 1: Metrics](https://help.aliyun.com/document_detail/163515.html).
|
||||
*
|
||||
* > The value of this parameter must be the same as the value of the request parameter `Metric` in the Cursor operation.
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* cpu_idle
|
||||
*/
|
||||
metric?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The namespace of the cloud service.
|
||||
*
|
||||
* For more information about the namespaces of cloud services, see [Appendix 1: Metrics](https://help.aliyun.com/document_detail/163515.html).
|
||||
*
|
||||
* > The value of this parameter must be the same as the value of the request parameter `Namespace` in the Cursor operation.
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* acs_ecs_dashboard
|
||||
*/
|
||||
namespace?: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
69
backend/node_modules/@alicloud/cms20190101/dist/models/BatchExportRequest.js
generated
vendored
Normal file
69
backend/node_modules/@alicloud/cms20190101/dist/models/BatchExportRequest.js
generated
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.BatchExportRequest = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
class BatchExportRequest extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
cursor: 'Cursor',
|
||||
length: 'Length',
|
||||
measurements: 'Measurements',
|
||||
metric: 'Metric',
|
||||
namespace: 'Namespace',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
cursor: 'string',
|
||||
length: 'number',
|
||||
measurements: { 'type': 'array', 'itemType': 'string' },
|
||||
metric: 'string',
|
||||
namespace: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (Array.isArray(this.measurements)) {
|
||||
$dara.Model.validateArray(this.measurements);
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.BatchExportRequest = BatchExportRequest;
|
||||
//# sourceMappingURL=BatchExportRequest.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/BatchExportRequest.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/BatchExportRequest.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BatchExportRequest.js","sourceRoot":"","sources":["../../src/models/BatchExportRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kBAAmB,SAAQ,KAAK,CAAC,KAAK;IA+DjD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,YAAY,EAAE,cAAc;YAC5B,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,YAAY,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACvD,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC;YACpC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC/C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA7FD,gDA6FC"}
|
||||
19
backend/node_modules/@alicloud/cms20190101/dist/models/BatchExportResponse.d.ts
generated
vendored
Normal file
19
backend/node_modules/@alicloud/cms20190101/dist/models/BatchExportResponse.d.ts
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
import { BatchExportResponseBody } from "./BatchExportResponseBody";
|
||||
export declare class BatchExportResponse extends $dara.Model {
|
||||
headers?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
statusCode?: number;
|
||||
body?: BatchExportResponseBody;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
69
backend/node_modules/@alicloud/cms20190101/dist/models/BatchExportResponse.js
generated
vendored
Normal file
69
backend/node_modules/@alicloud/cms20190101/dist/models/BatchExportResponse.js
generated
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.BatchExportResponse = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
const BatchExportResponseBody_1 = require("./BatchExportResponseBody");
|
||||
class BatchExportResponse extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
headers: 'headers',
|
||||
statusCode: 'statusCode',
|
||||
body: 'body',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
||||
statusCode: 'number',
|
||||
body: BatchExportResponseBody_1.BatchExportResponseBody,
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (this.headers) {
|
||||
$dara.Model.validateMap(this.headers);
|
||||
}
|
||||
if (this.body && typeof this.body.validate === 'function') {
|
||||
this.body.validate();
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.BatchExportResponse = BatchExportResponse;
|
||||
//# sourceMappingURL=BatchExportResponse.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/BatchExportResponse.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/BatchExportResponse.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BatchExportResponse.js","sourceRoot":"","sources":["../../src/models/BatchExportResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,uEAAoE;AAGpE,MAAa,mBAAoB,SAAQ,KAAK,CAAC,KAAK;IAIlD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,iDAAuB;SAC9B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,kDAiCC"}
|
||||
93
backend/node_modules/@alicloud/cms20190101/dist/models/BatchExportResponseBody.d.ts
generated
vendored
Normal file
93
backend/node_modules/@alicloud/cms20190101/dist/models/BatchExportResponseBody.d.ts
generated
vendored
Normal file
@@ -0,0 +1,93 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
import { MetricStat } from "./MetricStat";
|
||||
export declare class BatchExportResponseBody extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The timestamp of the data requested by the backend. A larger timestamp indicates that the data export time is closer to the current time.
|
||||
*
|
||||
* @example
|
||||
* 1678781819000
|
||||
*/
|
||||
anchor?: number;
|
||||
/**
|
||||
* @remarks
|
||||
* The HTTP status code.
|
||||
*
|
||||
* > The status code 200 indicates that the request was successful.
|
||||
*
|
||||
* @example
|
||||
* 200
|
||||
*/
|
||||
code?: number;
|
||||
/**
|
||||
* @remarks
|
||||
* The Cursor information that is used to call this operation again.
|
||||
*
|
||||
* > If `null` is returned, the monitoring data is exported.
|
||||
*
|
||||
* @example
|
||||
* v2.5eyJidWNrZXRzIjo0LCJjdXJzb3IiOiIxNjQxNDU0ODAwMDAwMWUxY2YxNWY0NTU0MTliZjllYTY4OWQ2ODI1OTU1Yzc1NmZjMDQ2OTMxMzczMzM2MzUzMTMxMzEzMzM0MzMzODM5MzEzMTMwMjQyYzY5MmQzMjdhNjU2MjY3N2E2NjZhNzczOTY2NmM3Mjc0NjM3MzY5Njg3NDcyMjQyYyIsImN1cnNvclZlcnNpb24iOiJxdWVyeSIsImVuZFRpbWUiOjE2NDE0NTUyMzYxMTIsImV4cG9ydEVuZFRpbWUiOjE2NDE0NTUyMzYxMTIsImV4cG9ydFN0YXJ0VGltZSI6MTY0MTQ1NDYzNjExMiwiZXhwcmVzc1JhbmdlIjpmYWxzZSwiaGFzTmV4dCI6dHJ1ZSwiaW5wdXRNZXRyaWMiOiJDUFVVdGlsaXphdGlvbiIsImlucHV0TmFtZXNwYWNlIjoiYWNzX2Vjc19kYXNoYm9hcmQiLCJsaW1pdCI6MTAwMCwibG9nVGltZU1vZGUiOnRydWUsIm1hdGNoZXJzIjp7ImNoYWluIjpbeyJsYWJlbCI6InVzZXJJZCIsIm9wZXJhdG9yIjoiRVFVQUxTIiwidmFsdWUiOiIxNzM2NTExMTM0Mzg5MTEwIn1dfSwibWV0cmljIjoiQ1BVVXRpbGl6YXRpb24iLCJtZXRyaWNUeXBlIjoiTUVUUklDIiwibmFtZXNwYWNlIjoiYWNzX2Vjc19kYXNoYm9hcmQiLCJuZXh0UGtBZGFwdGVyIjp7fSwib2Zmc2V0IjowLCJwYXJlbnRVaWQiOjEyNzA2NzY2Nzk1NDY3MDQsInN0YXJ0VGltZSI6MTY0MTQ1NDYzNjExMiwic3RlcCI6LTEsInRpbWVvdXQiOjEyMCwid2luZG93Ijo2MH0***
|
||||
*/
|
||||
cursor?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The data returned in this call.
|
||||
*/
|
||||
dataResults?: MetricStat[];
|
||||
/**
|
||||
* @remarks
|
||||
* Indicates whether the data has been exported. Valid values:
|
||||
*
|
||||
* * true: Some data is not exported.
|
||||
* * false: All the data is exported.
|
||||
*
|
||||
* @example
|
||||
* true
|
||||
*/
|
||||
hasNext?: boolean;
|
||||
/**
|
||||
* @remarks
|
||||
* The number of data entries returned in this call.
|
||||
*
|
||||
* @example
|
||||
* 1000
|
||||
*/
|
||||
length?: number;
|
||||
/**
|
||||
* @remarks
|
||||
* The returned message.
|
||||
*
|
||||
* @example
|
||||
* success
|
||||
*/
|
||||
message?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The request ID.
|
||||
*
|
||||
* @example
|
||||
* 251402CD-305C-1617-808E-D8C11FC8138D
|
||||
*/
|
||||
requestId?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* Indicates whether the request was successful. Valid values:
|
||||
*
|
||||
* * true
|
||||
* * false
|
||||
*
|
||||
* @example
|
||||
* true
|
||||
*/
|
||||
success?: boolean;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
78
backend/node_modules/@alicloud/cms20190101/dist/models/BatchExportResponseBody.js
generated
vendored
Normal file
78
backend/node_modules/@alicloud/cms20190101/dist/models/BatchExportResponseBody.js
generated
vendored
Normal file
@@ -0,0 +1,78 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.BatchExportResponseBody = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
const MetricStat_1 = require("./MetricStat");
|
||||
class BatchExportResponseBody extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
anchor: 'Anchor',
|
||||
code: 'Code',
|
||||
cursor: 'Cursor',
|
||||
dataResults: 'DataResults',
|
||||
hasNext: 'HasNext',
|
||||
length: 'Length',
|
||||
message: 'Message',
|
||||
requestId: 'RequestId',
|
||||
success: 'Success',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
anchor: 'number',
|
||||
code: 'number',
|
||||
cursor: 'string',
|
||||
dataResults: { 'type': 'array', 'itemType': MetricStat_1.MetricStat },
|
||||
hasNext: 'boolean',
|
||||
length: 'number',
|
||||
message: 'string',
|
||||
requestId: 'string',
|
||||
success: 'boolean',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (Array.isArray(this.dataResults)) {
|
||||
$dara.Model.validateArray(this.dataResults);
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.BatchExportResponseBody = BatchExportResponseBody;
|
||||
//# sourceMappingURL=BatchExportResponseBody.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/BatchExportResponseBody.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/BatchExportResponseBody.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BatchExportResponseBody.js","sourceRoot":"","sources":["../../src/models/BatchExportResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,6CAA0C;AAG1C,MAAa,uBAAwB,SAAQ,KAAK,CAAC,KAAK;IAgFtD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,IAAI,EAAE,MAAM;YACZ,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,aAAa;YAC1B,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,uBAAU,EAAE;YACxD,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC;YACnC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC9C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtHD,0DAsHC"}
|
||||
75
backend/node_modules/@alicloud/cms20190101/dist/models/BatchExportShrinkRequest.d.ts
generated
vendored
Normal file
75
backend/node_modules/@alicloud/cms20190101/dist/models/BatchExportShrinkRequest.d.ts
generated
vendored
Normal file
@@ -0,0 +1,75 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
export declare class BatchExportShrinkRequest extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* When you call this operation to export data, you must specify the `Cursor` parameter. You can obtain the value of the `Cursor` parameter by using one of the following methods:
|
||||
*
|
||||
* * When you call this operation for the first time, you must call the Cursor operation to obtain the `Cursor` value. For more information, see [Cursor](https://help.aliyun.com/document_detail/2330730.html).
|
||||
* * When you call this operation again, you can obtain the `Cursor` value from the returned data of the last call.
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* eyJidWNrZXRzIjo0LCJjdXJzb3IiOiIxNjQxNDU0MzIwMDAwMWUxY2YxNWY0NTU0MTliZjllYTY4OWQ2ODI1OTU1Yzc1NmZjMDQ2OTMxMzczMzM2MzUzMTMxMzEzMzM0MzMzODM5MzEzMTMwMjQyYzY5MmQ3NTY2MzYzMjY3NmI2ZjM5MzU2YjY4MzAzMTYyNzg3MTcwNjkzMTM3MjQyYyIsImN1cnNvclZlcnNpb24iOiJxdWVyeSIsImVuZFRpbWUiOjE2NDE0NTQ3OTU4MjMsImV4cG9ydEVuZFRpbWUiOjE2NDE0NTQ3OTU4MjMsImV4cG9ydFN0YXJ0VGltZSI6MTY0MTQ1NDE5NTgyMywiZXhwcmVzc1JhbmdlIjpmYWxzZSwiaGFzTmV4dCI6dHJ1ZSwiaW5wdXRNZXRyaWMiOiJDUFVVdGlsaXphdGlvbiIsImlucHV0TmFtZXNwYWNlIjoiYWNzX2Vjc19kYXNoYm9hcmQiLCJsaW1pdCI6MTAwMCwibG9nVGltZU1vZGUiOnRydWUsIm1hdGNoZXJzIjp7ImNoYWluIjpbeyJsYWJlbCI6InVzZXJJZCIsIm9wZXJhdG9yIjoiRVFVQUxTIiwidmFsdWUiOiIxNzM2NTExMTM0Mzg5MTEwIn1dfSwibWV0cmljIjoiQ1BVVXRpbGl6YXRpb24iLCJtZXRyaWNUeXBlIjoiTUVUUklDIiwibmFtZXNwYWNlIjoiYWNzX2Vjc19kYXNoYm9hcmQiLCJuZXh0UGtBZGFwdGVyIjp7fSwib2Zmc2V0IjowLCJwYXJlbnRVaWQiOjEyNzA2NzY2Nzk1NDY3MDQsInN0YXJ0VGltZSI6MTY0MTQ1NDE5NTgyMywic3RlcCI6LTEsInRpbWVvdXQiOjEyMCwid2luZG93Ijo2****
|
||||
*/
|
||||
cursor?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The maximum number of data entries that can be returned in each response.
|
||||
*
|
||||
* Valid values: 1 to 10000.
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* 1000
|
||||
*/
|
||||
length?: number;
|
||||
/**
|
||||
* @remarks
|
||||
* The statistical methods used to customize the returned data. By default, the measurements based on all statistical methods are returned.
|
||||
*
|
||||
* For example, the `cpu_idle` metric of ECS (`acs_ecs_dashboard`) has three statistical methods: `Average`, `Maximum`, and `Minimum`. If you want to return only the measurements based on the `Average` and `Maximum` statistical methods, set this parameter to `["Average", "Maximum"]`.
|
||||
*
|
||||
* The statistical methods of metrics are displayed in the `Statistics` column on the Metrics page of each cloud service. For more information, see [Appendix 1: Metrics](https://help.aliyun.com/document_detail/163515.html).
|
||||
*/
|
||||
measurementsShrink?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The metric that is used to monitor the cloud service.
|
||||
*
|
||||
* For more information about the metrics of cloud services, see [Appendix 1: Metrics](https://help.aliyun.com/document_detail/163515.html).
|
||||
*
|
||||
* > The value of this parameter must be the same as the value of the request parameter `Metric` in the Cursor operation.
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* cpu_idle
|
||||
*/
|
||||
metric?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The namespace of the cloud service.
|
||||
*
|
||||
* For more information about the namespaces of cloud services, see [Appendix 1: Metrics](https://help.aliyun.com/document_detail/163515.html).
|
||||
*
|
||||
* > The value of this parameter must be the same as the value of the request parameter `Namespace` in the Cursor operation.
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* acs_ecs_dashboard
|
||||
*/
|
||||
namespace?: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
66
backend/node_modules/@alicloud/cms20190101/dist/models/BatchExportShrinkRequest.js
generated
vendored
Normal file
66
backend/node_modules/@alicloud/cms20190101/dist/models/BatchExportShrinkRequest.js
generated
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.BatchExportShrinkRequest = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
class BatchExportShrinkRequest extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
cursor: 'Cursor',
|
||||
length: 'Length',
|
||||
measurementsShrink: 'Measurements',
|
||||
metric: 'Metric',
|
||||
namespace: 'Namespace',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
cursor: 'string',
|
||||
length: 'number',
|
||||
measurementsShrink: 'string',
|
||||
metric: 'string',
|
||||
namespace: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.BatchExportShrinkRequest = BatchExportShrinkRequest;
|
||||
//# sourceMappingURL=BatchExportShrinkRequest.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/BatchExportShrinkRequest.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/BatchExportShrinkRequest.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BatchExportShrinkRequest.js","sourceRoot":"","sources":["../../src/models/BatchExportShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IA+DvD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,kBAAkB,EAAE,cAAc;YAClC,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,kBAAkB,EAAE,QAAQ;YAC5B,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA1FD,4DA0FC"}
|
||||
134
backend/node_modules/@alicloud/cms20190101/dist/models/CreateDynamicTagGroupRequest.d.ts
generated
vendored
Normal file
134
backend/node_modules/@alicloud/cms20190101/dist/models/CreateDynamicTagGroupRequest.d.ts
generated
vendored
Normal file
@@ -0,0 +1,134 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
export declare class CreateDynamicTagGroupRequestMatchExpress extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The keys of the tags that are used to create the application group. If a specified key is attached to multiple resources, the resources that have the same key-value pair are added to the same group.
|
||||
*
|
||||
* @example
|
||||
* appname
|
||||
*/
|
||||
tagName?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The tag values of the cloud resources. Set the value of N to 1.
|
||||
*
|
||||
* > If you set the `MatchExpress.N.TagValueMatchFunction` parameter, you must also set the `MatchExpress.N.TagValue` parameter.
|
||||
*
|
||||
* @example
|
||||
* instance
|
||||
*/
|
||||
tagValue?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The method that is used to match the tag values of the cloud resources. Set the value of N to 1. Valid values:
|
||||
*
|
||||
* * contains: contains
|
||||
* * startWith: starts with a prefix
|
||||
* * endWith: ends with a suffix
|
||||
* * notContains: does not contain
|
||||
* * equals: equals
|
||||
* * all: matches all
|
||||
*
|
||||
* > If you set the `MatchExpress.N.TagValueMatchFunction` parameter, you must also set the `MatchExpress.N.TagValue` parameter.
|
||||
*
|
||||
* @example
|
||||
* contains
|
||||
*/
|
||||
tagValueMatchFunction?: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
export declare class CreateDynamicTagGroupRequest extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* ECS_Group
|
||||
*/
|
||||
contactGroupList?: string[];
|
||||
/**
|
||||
* @remarks
|
||||
* Specifies whether the CloudMonitor agent is automatically installed for the application group. CloudMonitor determines whether to automatically install the CloudMonitor agent for the hosts in an application group based on the value of this parameter. Valid values:
|
||||
*
|
||||
* * true: The CloudMonitor agent is automatically installed.
|
||||
* * false (default value): The CloudMonitor agent is not automatically installed.
|
||||
*
|
||||
* @example
|
||||
* true
|
||||
*/
|
||||
enableInstallAgent?: boolean;
|
||||
/**
|
||||
* @remarks
|
||||
* Specifies whether the application group automatically subscribes to event notifications. If events whose severity level is critical or warning occur on resources in an application group, CloudMonitor sends alert notifications. Valid values:
|
||||
*
|
||||
* * true: The application group automatically subscribes to event notifications.
|
||||
* * false (default value): The application group does not automatically subscribe to event notifications.
|
||||
*
|
||||
* @example
|
||||
* true
|
||||
*/
|
||||
enableSubscribeEvent?: boolean;
|
||||
/**
|
||||
* @remarks
|
||||
* The conditional expressions used to create an application group based on the tag.
|
||||
*
|
||||
* This parameter is required.
|
||||
*/
|
||||
matchExpress?: CreateDynamicTagGroupRequestMatchExpress[];
|
||||
/**
|
||||
* @remarks
|
||||
* The relationship between the conditional expressions for the tag values of the cloud resources. Valid values:
|
||||
*
|
||||
* * and (default)
|
||||
* * or
|
||||
*
|
||||
* @example
|
||||
* and
|
||||
*/
|
||||
matchExpressFilterRelation?: string;
|
||||
regionId?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The tag keys of the cloud resources.
|
||||
*
|
||||
* For more information about how to obtain tag keys, see [DescribeTagKeyList](https://help.aliyun.com/document_detail/145558.html).
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* ecs_instance
|
||||
*/
|
||||
tagKey?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The ID of the region to which the tags belong.
|
||||
*
|
||||
* @example
|
||||
* cn-hangzhou
|
||||
*/
|
||||
tagRegionId?: string;
|
||||
/**
|
||||
* @example
|
||||
* 85****
|
||||
*/
|
||||
templateIdList?: string[];
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
106
backend/node_modules/@alicloud/cms20190101/dist/models/CreateDynamicTagGroupRequest.js
generated
vendored
Normal file
106
backend/node_modules/@alicloud/cms20190101/dist/models/CreateDynamicTagGroupRequest.js
generated
vendored
Normal file
@@ -0,0 +1,106 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CreateDynamicTagGroupRequest = exports.CreateDynamicTagGroupRequestMatchExpress = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
class CreateDynamicTagGroupRequestMatchExpress extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
tagName: 'TagName',
|
||||
tagValue: 'TagValue',
|
||||
tagValueMatchFunction: 'TagValueMatchFunction',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
tagName: 'string',
|
||||
tagValue: 'string',
|
||||
tagValueMatchFunction: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateDynamicTagGroupRequestMatchExpress = CreateDynamicTagGroupRequestMatchExpress;
|
||||
class CreateDynamicTagGroupRequest extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
contactGroupList: 'ContactGroupList',
|
||||
enableInstallAgent: 'EnableInstallAgent',
|
||||
enableSubscribeEvent: 'EnableSubscribeEvent',
|
||||
matchExpress: 'MatchExpress',
|
||||
matchExpressFilterRelation: 'MatchExpressFilterRelation',
|
||||
regionId: 'RegionId',
|
||||
tagKey: 'TagKey',
|
||||
tagRegionId: 'TagRegionId',
|
||||
templateIdList: 'TemplateIdList',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
contactGroupList: { 'type': 'array', 'itemType': 'string' },
|
||||
enableInstallAgent: 'boolean',
|
||||
enableSubscribeEvent: 'boolean',
|
||||
matchExpress: { 'type': 'array', 'itemType': CreateDynamicTagGroupRequestMatchExpress },
|
||||
matchExpressFilterRelation: 'string',
|
||||
regionId: 'string',
|
||||
tagKey: 'string',
|
||||
tagRegionId: 'string',
|
||||
templateIdList: { 'type': 'array', 'itemType': 'string' },
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (Array.isArray(this.contactGroupList)) {
|
||||
$dara.Model.validateArray(this.contactGroupList);
|
||||
}
|
||||
if (Array.isArray(this.matchExpress)) {
|
||||
$dara.Model.validateArray(this.matchExpress);
|
||||
}
|
||||
if (Array.isArray(this.templateIdList)) {
|
||||
$dara.Model.validateArray(this.templateIdList);
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateDynamicTagGroupRequest = CreateDynamicTagGroupRequest;
|
||||
//# sourceMappingURL=CreateDynamicTagGroupRequest.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateDynamicTagGroupRequest.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateDynamicTagGroupRequest.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CreateDynamicTagGroupRequest.js","sourceRoot":"","sources":["../../src/models/CreateDynamicTagGroupRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;IAoCvE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,qBAAqB,EAAE,uBAAuB;SAC/C,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,qBAAqB,EAAE,QAAQ;SAChC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA3DD,4FA2DC;AAED,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IA2E3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,kBAAkB;YACpC,kBAAkB,EAAE,oBAAoB;YACxC,oBAAoB,EAAE,sBAAsB;YAC5C,YAAY,EAAE,cAAc;YAC5B,0BAA0B,EAAE,4BAA4B;YACxD,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,aAAa;YAC1B,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YAC3D,kBAAkB,EAAE,SAAS;YAC7B,oBAAoB,EAAE,SAAS;YAC/B,YAAY,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,wCAAwC,EAAE;YACvF,0BAA0B,EAAE,QAAQ;YACpC,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,QAAQ;YACrB,cAAc,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;SAC1D,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,CAAC,EAAE,CAAC;YACxC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QACnD,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC;YACpC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC/C,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC;YACtC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACjD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvHD,oEAuHC"}
|
||||
19
backend/node_modules/@alicloud/cms20190101/dist/models/CreateDynamicTagGroupResponse.d.ts
generated
vendored
Normal file
19
backend/node_modules/@alicloud/cms20190101/dist/models/CreateDynamicTagGroupResponse.d.ts
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
import { CreateDynamicTagGroupResponseBody } from "./CreateDynamicTagGroupResponseBody";
|
||||
export declare class CreateDynamicTagGroupResponse extends $dara.Model {
|
||||
headers?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
statusCode?: number;
|
||||
body?: CreateDynamicTagGroupResponseBody;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
69
backend/node_modules/@alicloud/cms20190101/dist/models/CreateDynamicTagGroupResponse.js
generated
vendored
Normal file
69
backend/node_modules/@alicloud/cms20190101/dist/models/CreateDynamicTagGroupResponse.js
generated
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CreateDynamicTagGroupResponse = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
const CreateDynamicTagGroupResponseBody_1 = require("./CreateDynamicTagGroupResponseBody");
|
||||
class CreateDynamicTagGroupResponse extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
headers: 'headers',
|
||||
statusCode: 'statusCode',
|
||||
body: 'body',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
||||
statusCode: 'number',
|
||||
body: CreateDynamicTagGroupResponseBody_1.CreateDynamicTagGroupResponseBody,
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (this.headers) {
|
||||
$dara.Model.validateMap(this.headers);
|
||||
}
|
||||
if (this.body && typeof this.body.validate === 'function') {
|
||||
this.body.validate();
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateDynamicTagGroupResponse = CreateDynamicTagGroupResponse;
|
||||
//# sourceMappingURL=CreateDynamicTagGroupResponse.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateDynamicTagGroupResponse.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateDynamicTagGroupResponse.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CreateDynamicTagGroupResponse.js","sourceRoot":"","sources":["../../src/models/CreateDynamicTagGroupResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,2FAAwF;AAGxF,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAI5D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,qEAAiC;SACxC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,sEAiCC"}
|
||||
58
backend/node_modules/@alicloud/cms20190101/dist/models/CreateDynamicTagGroupResponseBody.d.ts
generated
vendored
Normal file
58
backend/node_modules/@alicloud/cms20190101/dist/models/CreateDynamicTagGroupResponseBody.d.ts
generated
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
export declare class CreateDynamicTagGroupResponseBody extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The HTTP status code.
|
||||
*
|
||||
* > The status code 200 indicates that the call is successful.
|
||||
*
|
||||
* @example
|
||||
* 200
|
||||
*/
|
||||
code?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The ID of the tag matching rule.
|
||||
*
|
||||
* @example
|
||||
* 2534dc0a-e3e5-4ae1-a2fc-75ef166c****
|
||||
*/
|
||||
id?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The error message.
|
||||
*
|
||||
* @example
|
||||
* The specified resource is not found.
|
||||
*/
|
||||
message?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The ID of the request.
|
||||
*
|
||||
* @example
|
||||
* 84AC6F0B-7945-466A-AA44-99BB5A561F86
|
||||
*/
|
||||
requestId?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* Indicates whether the call is successful. Valid values:
|
||||
*
|
||||
* * true: The call is successful.
|
||||
* * false: The call fails.
|
||||
*
|
||||
* @example
|
||||
* true
|
||||
*/
|
||||
success?: boolean;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
66
backend/node_modules/@alicloud/cms20190101/dist/models/CreateDynamicTagGroupResponseBody.js
generated
vendored
Normal file
66
backend/node_modules/@alicloud/cms20190101/dist/models/CreateDynamicTagGroupResponseBody.js
generated
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CreateDynamicTagGroupResponseBody = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
class CreateDynamicTagGroupResponseBody extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
code: 'Code',
|
||||
id: 'Id',
|
||||
message: 'Message',
|
||||
requestId: 'RequestId',
|
||||
success: 'Success',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
code: 'string',
|
||||
id: 'string',
|
||||
message: 'string',
|
||||
requestId: 'string',
|
||||
success: 'boolean',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateDynamicTagGroupResponseBody = CreateDynamicTagGroupResponseBody;
|
||||
//# sourceMappingURL=CreateDynamicTagGroupResponseBody.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateDynamicTagGroupResponseBody.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateDynamicTagGroupResponseBody.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CreateDynamicTagGroupResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateDynamicTagGroupResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;IA8ChE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,EAAE,EAAE,IAAI;YACR,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,EAAE,EAAE,QAAQ;YACZ,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzED,8EAyEC"}
|
||||
426
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMetricRulesRequest.d.ts
generated
vendored
Normal file
426
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMetricRulesRequest.d.ts
generated
vendored
Normal file
@@ -0,0 +1,426 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
export declare class CreateGroupMetricRulesRequestGroupMetricRulesEscalationsCritical extends $dara.Model {
|
||||
comparisonOperator?: string;
|
||||
n?: string;
|
||||
preCondition?: string;
|
||||
statistics?: string;
|
||||
threshold?: string;
|
||||
times?: number;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
export declare class CreateGroupMetricRulesRequestGroupMetricRulesEscalationsInfo extends $dara.Model {
|
||||
comparisonOperator?: string;
|
||||
n?: string;
|
||||
preCondition?: string;
|
||||
statistics?: string;
|
||||
threshold?: string;
|
||||
times?: number;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
export declare class CreateGroupMetricRulesRequestGroupMetricRulesEscalationsWarn extends $dara.Model {
|
||||
comparisonOperator?: string;
|
||||
n?: string;
|
||||
preCondition?: string;
|
||||
statistics?: string;
|
||||
threshold?: string;
|
||||
times?: number;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
export declare class CreateGroupMetricRulesRequestGroupMetricRulesEscalations extends $dara.Model {
|
||||
critical?: CreateGroupMetricRulesRequestGroupMetricRulesEscalationsCritical;
|
||||
info?: CreateGroupMetricRulesRequestGroupMetricRulesEscalationsInfo;
|
||||
warn?: CreateGroupMetricRulesRequestGroupMetricRulesEscalationsWarn;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
export declare class CreateGroupMetricRulesRequestGroupMetricRulesLabels extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The tag key of the alert rule. The specified tag is contained in alert notifications.
|
||||
*
|
||||
* Valid values of N: 1 to 200.
|
||||
*
|
||||
* @example
|
||||
* key1
|
||||
*/
|
||||
key?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The tag value of the alert rule. The specified tag is contained in alert notifications.
|
||||
*
|
||||
* Valid values of N: 1 to 200.
|
||||
*
|
||||
* @example
|
||||
* value1
|
||||
*/
|
||||
value?: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
export declare class CreateGroupMetricRulesRequestGroupMetricRules extends $dara.Model {
|
||||
escalations?: CreateGroupMetricRulesRequestGroupMetricRulesEscalations;
|
||||
/**
|
||||
* @remarks
|
||||
* The name of the cloud service. Valid values of N: 1 to 200. Valid value:
|
||||
*
|
||||
* * PolarDB: PolarDB
|
||||
* * NewBGPDDoS: Anti-DDoS Pro
|
||||
* * IoTDevice: IoT Platform
|
||||
* * DRDS: Distributed Relational Database Service (DRDS)
|
||||
* * VS: Video Surveillance System
|
||||
* * AMQP: Alibaba Cloud Message Queue for AMQP
|
||||
* * ADS: AnalyticDB
|
||||
* * APIGateway: API Gateway
|
||||
* * InternetSharedBandwidth: EIP Bandwidth Plan
|
||||
* * CDN: Alibaba Cloud Content Delivery Network (CDN)
|
||||
* * CEN: Cloud Enterprise Network (CEN)
|
||||
* * DCDN: Dynamic Route for CDN (DCDN)
|
||||
* * DDoS: Anti-DDoS
|
||||
* * ECS: Elastic Compute Service (ECS)
|
||||
* * DirectMail: Direct Mail
|
||||
* * Elasticsearch: Elasticsearch
|
||||
* * EMR: E-MapReduce (EMR)
|
||||
* * ESS: Auto Scaling
|
||||
* * FunctionCompute: Function Compute
|
||||
* * RealtimeCompute: Realtime Compute for Apache Flink
|
||||
* * GlobalAcceleration: Global Accelerator (GA)
|
||||
* * Hbase: ApsaraDB for HBase
|
||||
* * TSDB: Time Series Database (TSDB)
|
||||
* * IPv6trans: IPv6 Translation Service
|
||||
* * Kafka: Message Queue for Apache Kafka
|
||||
* * Kubernetes: Container Service for Kubernetes (ACK)
|
||||
* * KVstore: ApsaraDB for Redis
|
||||
* * MNS: Message Service (MNS)
|
||||
* * MongoDB: ApsaraDB for MongoDB
|
||||
* * MQ: Message Queue
|
||||
* * NAT: NAT Gateway
|
||||
* * OpenAd: Open Ad
|
||||
* * OpenSearch: Open Search
|
||||
* * OSS: Object Storage Service (OSS)
|
||||
* * PCDN: P2P CDN
|
||||
* * petadata: HybridDB for MySQL
|
||||
* * RDS: ApsaraDB RDS
|
||||
* * SCDN: Secure CDN
|
||||
* * SLB: Server Load Balancer (SLB)
|
||||
* * SLS: Log Service
|
||||
* * VideoLive: ApsaraVideo Live
|
||||
* * VOD: ApsaraVideo VOD
|
||||
* * EIP: Elastic IP Address (EIP)
|
||||
* * VPN: VPN Gateway
|
||||
* * AIRec: Artificial Intelligence Recommendation
|
||||
* * GPDB: AnalyticDB for PostgreSQL
|
||||
* * DBS: Database Backup (DBS)
|
||||
* * SAG: Smart Access Gateway (SAG)
|
||||
* * Memcache: ApsaraDB for Memcache
|
||||
* * IOT_EDGE: Link IoT Edge
|
||||
* * OCS: ApsaraDB for Memcache (previous version)
|
||||
* * VPC: Express Connect
|
||||
* * EHPC: Elastic High Performance Computing (E-HPC)
|
||||
* * MPS: ApsaraVideo Media Processing
|
||||
* * ENS: Edge Node Service (ENS)
|
||||
* * MaxCompute_Prepay: MaxCompute
|
||||
* * IoT_Kubernetes: Edge Application Hosting
|
||||
* * CMS: CloudMonitor
|
||||
* * batchcomputenew: Batch Compute
|
||||
* * HBaseUE: ApsaraDB for HBase Performance-enhanced Edition
|
||||
* * UIS: Ultimate Internet Service (UIS)
|
||||
* * nls: Intelligent Speech Interaction
|
||||
* * ots: Tablestore
|
||||
* * NAS: File Storage NAS
|
||||
* * ECI: Elastic Container Instance (ECI)
|
||||
* * OpenAPI: OpenAPI Explorer
|
||||
* * pvtzpost: Alibaba Cloud DNS PrivateZone
|
||||
* * blinkonk8s: Flink on Kubernetes
|
||||
* * FunctionFlow: Serverless Workflow (SWF)
|
||||
* * SMC: Server Migration Center (SMC)
|
||||
* * ddosbgp: Anti-DDoS Origin
|
||||
* * baas: Blockchain as a Service
|
||||
* * privatelink: PrivateLink
|
||||
* * cds: ApsaraDB for Cassandra
|
||||
* * DDH: Dedicated Host
|
||||
* * RocketMQ: Message Queue for Apache RocketMQ
|
||||
* * ECC: Express Cloud Connect
|
||||
* * hbaseserverless: ApsaraDB for HBase Serverless Edition
|
||||
* * mns_tmp: Message Service
|
||||
* * hdr: Hybrid Disaster Recovery (HDR)
|
||||
* * hbr: Hybrid Backup Recovery (HBR)
|
||||
* * ADB: AnalyticDB for MySQL V3.0
|
||||
* * tag: Tag Service
|
||||
* * GDB: Graph Database
|
||||
* * WAF: Web Application Firewall (WAF)
|
||||
* * hcs_sgw: Cloud Storage Gateway (CSG)
|
||||
* * ipv6gateway: IPv6 Gateway
|
||||
* * RDS_SAR: ApsaraDB Exclusive Host Group
|
||||
* * learn: Machine Learning Platform for AI
|
||||
* * ROS: Resource Orchestration Service (ROS)
|
||||
* * OOS: Operation Orchestration Service (OOS)
|
||||
* * bds: Data Synchronization for HBase
|
||||
* * cfw: Cloud Firewall
|
||||
* * ddosDip: Anti-DDoS Premium
|
||||
* * datahub: DataHub
|
||||
* * hologres: Hologres
|
||||
* * ExpressConnect: Express Connect
|
||||
* * dbfs: Database File System (DBFS)
|
||||
* * clickhouse: ApsaraDB for ClickHouse
|
||||
* * k8s: Container Service for Kubernetes (ACK)
|
||||
* * DTS: Data Transmission Service (DTS)
|
||||
* * AnycastEIP: Anycast Elastic IP Address
|
||||
* * Lindorm: ApsaraDB for Lindorm
|
||||
* * config: Cloud Config
|
||||
* * spark: Databricks DataInsight (DDI)
|
||||
* * serverless: Serverless App Engine (SAE)
|
||||
* * alb: Application Load Balancer (ALB)
|
||||
* * oceanbase: ApsaraDB for OceanBase
|
||||
* * KMS: Key Management Service (KMS)
|
||||
* * lvwang: Content Moderation
|
||||
* * LinkVisual: LinkVisual
|
||||
* * tair: ApsaraDB for Redis Enhanced Edition (Tair)
|
||||
* * dlf: Data Lake Formation (DLF)
|
||||
* * networkmonitor: Site Monitoring
|
||||
* * pnc: Physical Network Change
|
||||
* * AIS: Alibaba Cloud Infrastructure
|
||||
* * cloudgame: Cloud Gaming Platform
|
||||
* * RTC: Real-Time Communication
|
||||
* * cloudbox: CloudBox
|
||||
* * actiontrail: ActionTrail
|
||||
* * cc: Cloud Connector
|
||||
* * disk: Elastic Block Storage (EBS)
|
||||
* * easygene: Genomics Computing Platform
|
||||
* * cloudphone: Elastic Cloud Phone
|
||||
* * BMS: Bare Metal Management Service
|
||||
* * swas: Simple Application Server
|
||||
* * AvailabilityMonitoring: Availability Monitoring of CloudMonitor
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* ECS
|
||||
*/
|
||||
category?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The alert contact groups. Valid values of N: 1 to 200.
|
||||
*
|
||||
* For information about how to obtain alert contact groups, see [DescribeContactGroupList](https://help.aliyun.com/document_detail/114922.html).
|
||||
*
|
||||
* @example
|
||||
* ECS_Group
|
||||
*/
|
||||
contactGroups?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The dimension of the alert rule. Valid values of N: 1 to 200.
|
||||
*
|
||||
* Set the value to a set of key-value pairs, for example, `userId:120886317861****` or `instanceId:i-m5e1qg6uo38rztr4****`.
|
||||
*
|
||||
* @example
|
||||
* [{"instanceId":"i-m5e1qg6uo38rztr4****"}]
|
||||
*/
|
||||
dimensions?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The time period during which the alert rule is effective. Valid values of N: 1 to 200.
|
||||
*
|
||||
* @example
|
||||
* 05:31-23:59
|
||||
*/
|
||||
effectiveInterval?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The subject of the alert notification email. Valid values of N: 1 to 200.
|
||||
*/
|
||||
emailSubject?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The interval at which CloudMonitor checks whether the alert rule is triggered. Valid values of N: 1 to 200.
|
||||
*
|
||||
* Unit: seconds. The default value is the lowest frequency at which the metric is polled.
|
||||
*
|
||||
* > We recommend that you set the interval to the data aggregation period. If the interval is shorter than the data aggregation period, alerts cannot be triggered due to insufficient data.
|
||||
*
|
||||
* @example
|
||||
* 60
|
||||
*/
|
||||
interval?: string;
|
||||
labels?: CreateGroupMetricRulesRequestGroupMetricRulesLabels[];
|
||||
/**
|
||||
* @remarks
|
||||
* The name of the metric. Valid values of N: 1 to 200.
|
||||
*
|
||||
* For information about how to obtain the name of a metric, see [DescribeMetricMetaList](https://help.aliyun.com/document_detail/98846.html) or [Appendix 1: Metrics](https://help.aliyun.com/document_detail/163515.html).
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* cpu_total
|
||||
*/
|
||||
metricName?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The namespace of the cloud service. Valid values of N: 1 to 200.
|
||||
*
|
||||
* For information about how to obtain the namespace of a cloud service, see [DescribeMetricMetaList](https://help.aliyun.com/document_detail/98846.html) or [Appendix 1: Metrics](https://help.aliyun.com/document_detail/163515.html).
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* acs_ecs_dashboard
|
||||
*/
|
||||
namespace?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The method that is used to handle alerts when no monitoring data is found. Valid values of N: 1 to 200. Valid value:
|
||||
*
|
||||
* * KEEP_LAST_STATE (default value): No operation is performed.
|
||||
* * INSUFFICIENT_DATA: An alert whose content is "Insufficient data" is triggered.
|
||||
* * OK: The alert rule has no active alerts.
|
||||
*
|
||||
* @example
|
||||
* KEEP_LAST_STATE
|
||||
*/
|
||||
noDataPolicy?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The time period during which the alert rule is ineffective. Valid values of N: 1 to 200.
|
||||
*
|
||||
* @example
|
||||
* 00:00-05:30
|
||||
*/
|
||||
noEffectiveInterval?: string;
|
||||
/**
|
||||
* @example
|
||||
* {
|
||||
* "NotSendOK": true
|
||||
* }
|
||||
*/
|
||||
options?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The aggregation period of the metric data. Valid values of N: 1 to 200.
|
||||
*
|
||||
* Set the `Period` parameter to an integral multiple of 60. Unit: seconds. Default value: 300.
|
||||
*
|
||||
* @example
|
||||
* 60
|
||||
*/
|
||||
period?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The ID of the alert rule. Valid values of N: 1 to 200.
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* 456789
|
||||
*/
|
||||
ruleId?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The name of the alert rule. Valid values of N: 1 to 200.
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* ECS_Rule1
|
||||
*/
|
||||
ruleName?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The mute period during which new alerts are not sent even if the trigger conditions are met. Valid values of N: 1 to 200.
|
||||
*
|
||||
* Unit: seconds. Default value: 86400. Minimum value: 3600.
|
||||
*
|
||||
* @example
|
||||
* 86400
|
||||
*/
|
||||
silenceTime?: number;
|
||||
/**
|
||||
* @remarks
|
||||
* The callback URL. Valid values of N: 1 to 200.
|
||||
*
|
||||
* The callback URL must be accessible over the Internet. CloudMonitor pushes an alert notification to the specified callback URL by sending an HTTP POST request. Only the HTTP protocol is supported.
|
||||
*
|
||||
* @example
|
||||
* https://www.aliyun.com
|
||||
*/
|
||||
webhook?: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
export declare class CreateGroupMetricRulesRequest extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The ID of the application group.
|
||||
*
|
||||
* For information about how to obtain the ID of an application group, see [DescribeMonitorGroups](https://help.aliyun.com/document_detail/115032.html).
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* 123456
|
||||
*/
|
||||
groupId?: number;
|
||||
groupMetricRules?: CreateGroupMetricRulesRequestGroupMetricRules[];
|
||||
regionId?: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
264
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMetricRulesRequest.js
generated
vendored
Normal file
264
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMetricRulesRequest.js
generated
vendored
Normal file
@@ -0,0 +1,264 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CreateGroupMetricRulesRequest = exports.CreateGroupMetricRulesRequestGroupMetricRules = exports.CreateGroupMetricRulesRequestGroupMetricRulesLabels = exports.CreateGroupMetricRulesRequestGroupMetricRulesEscalations = exports.CreateGroupMetricRulesRequestGroupMetricRulesEscalationsWarn = exports.CreateGroupMetricRulesRequestGroupMetricRulesEscalationsInfo = exports.CreateGroupMetricRulesRequestGroupMetricRulesEscalationsCritical = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
class CreateGroupMetricRulesRequestGroupMetricRulesEscalationsCritical extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
comparisonOperator: 'ComparisonOperator',
|
||||
n: 'N',
|
||||
preCondition: 'PreCondition',
|
||||
statistics: 'Statistics',
|
||||
threshold: 'Threshold',
|
||||
times: 'Times',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
comparisonOperator: 'string',
|
||||
n: 'string',
|
||||
preCondition: 'string',
|
||||
statistics: 'string',
|
||||
threshold: 'string',
|
||||
times: 'number',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateGroupMetricRulesRequestGroupMetricRulesEscalationsCritical = CreateGroupMetricRulesRequestGroupMetricRulesEscalationsCritical;
|
||||
class CreateGroupMetricRulesRequestGroupMetricRulesEscalationsInfo extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
comparisonOperator: 'ComparisonOperator',
|
||||
n: 'N',
|
||||
preCondition: 'PreCondition',
|
||||
statistics: 'Statistics',
|
||||
threshold: 'Threshold',
|
||||
times: 'Times',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
comparisonOperator: 'string',
|
||||
n: 'string',
|
||||
preCondition: 'string',
|
||||
statistics: 'string',
|
||||
threshold: 'string',
|
||||
times: 'number',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateGroupMetricRulesRequestGroupMetricRulesEscalationsInfo = CreateGroupMetricRulesRequestGroupMetricRulesEscalationsInfo;
|
||||
class CreateGroupMetricRulesRequestGroupMetricRulesEscalationsWarn extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
comparisonOperator: 'ComparisonOperator',
|
||||
n: 'N',
|
||||
preCondition: 'PreCondition',
|
||||
statistics: 'Statistics',
|
||||
threshold: 'Threshold',
|
||||
times: 'Times',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
comparisonOperator: 'string',
|
||||
n: 'string',
|
||||
preCondition: 'string',
|
||||
statistics: 'string',
|
||||
threshold: 'string',
|
||||
times: 'number',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateGroupMetricRulesRequestGroupMetricRulesEscalationsWarn = CreateGroupMetricRulesRequestGroupMetricRulesEscalationsWarn;
|
||||
class CreateGroupMetricRulesRequestGroupMetricRulesEscalations extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
critical: 'Critical',
|
||||
info: 'Info',
|
||||
warn: 'Warn',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
critical: CreateGroupMetricRulesRequestGroupMetricRulesEscalationsCritical,
|
||||
info: CreateGroupMetricRulesRequestGroupMetricRulesEscalationsInfo,
|
||||
warn: CreateGroupMetricRulesRequestGroupMetricRulesEscalationsWarn,
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (this.critical && typeof this.critical.validate === 'function') {
|
||||
this.critical.validate();
|
||||
}
|
||||
if (this.info && typeof this.info.validate === 'function') {
|
||||
this.info.validate();
|
||||
}
|
||||
if (this.warn && typeof this.warn.validate === 'function') {
|
||||
this.warn.validate();
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateGroupMetricRulesRequestGroupMetricRulesEscalations = CreateGroupMetricRulesRequestGroupMetricRulesEscalations;
|
||||
class CreateGroupMetricRulesRequestGroupMetricRulesLabels extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
key: 'Key',
|
||||
value: 'Value',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
key: 'string',
|
||||
value: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateGroupMetricRulesRequestGroupMetricRulesLabels = CreateGroupMetricRulesRequestGroupMetricRulesLabels;
|
||||
class CreateGroupMetricRulesRequestGroupMetricRules extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
escalations: 'Escalations',
|
||||
category: 'Category',
|
||||
contactGroups: 'ContactGroups',
|
||||
dimensions: 'Dimensions',
|
||||
effectiveInterval: 'EffectiveInterval',
|
||||
emailSubject: 'EmailSubject',
|
||||
interval: 'Interval',
|
||||
labels: 'Labels',
|
||||
metricName: 'MetricName',
|
||||
namespace: 'Namespace',
|
||||
noDataPolicy: 'NoDataPolicy',
|
||||
noEffectiveInterval: 'NoEffectiveInterval',
|
||||
options: 'Options',
|
||||
period: 'Period',
|
||||
ruleId: 'RuleId',
|
||||
ruleName: 'RuleName',
|
||||
silenceTime: 'SilenceTime',
|
||||
webhook: 'Webhook',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
escalations: CreateGroupMetricRulesRequestGroupMetricRulesEscalations,
|
||||
category: 'string',
|
||||
contactGroups: 'string',
|
||||
dimensions: 'string',
|
||||
effectiveInterval: 'string',
|
||||
emailSubject: 'string',
|
||||
interval: 'string',
|
||||
labels: { 'type': 'array', 'itemType': CreateGroupMetricRulesRequestGroupMetricRulesLabels },
|
||||
metricName: 'string',
|
||||
namespace: 'string',
|
||||
noDataPolicy: 'string',
|
||||
noEffectiveInterval: 'string',
|
||||
options: 'string',
|
||||
period: 'string',
|
||||
ruleId: 'string',
|
||||
ruleName: 'string',
|
||||
silenceTime: 'number',
|
||||
webhook: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (this.escalations && typeof this.escalations.validate === 'function') {
|
||||
this.escalations.validate();
|
||||
}
|
||||
if (Array.isArray(this.labels)) {
|
||||
$dara.Model.validateArray(this.labels);
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateGroupMetricRulesRequestGroupMetricRules = CreateGroupMetricRulesRequestGroupMetricRules;
|
||||
class CreateGroupMetricRulesRequest extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
groupId: 'GroupId',
|
||||
groupMetricRules: 'GroupMetricRules',
|
||||
regionId: 'RegionId',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
groupId: 'number',
|
||||
groupMetricRules: { 'type': 'array', 'itemType': CreateGroupMetricRulesRequestGroupMetricRules },
|
||||
regionId: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (Array.isArray(this.groupMetricRules)) {
|
||||
$dara.Model.validateArray(this.groupMetricRules);
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateGroupMetricRulesRequest = CreateGroupMetricRulesRequest;
|
||||
//# sourceMappingURL=CreateGroupMetricRulesRequest.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMetricRulesRequest.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMetricRulesRequest.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CreateGroupMetricRulesRequest.js","sourceRoot":"","sources":["../../src/models/CreateGroupMetricRulesRequest.ts"],"names":[],"mappings":"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"}
|
||||
19
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMetricRulesResponse.d.ts
generated
vendored
Normal file
19
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMetricRulesResponse.d.ts
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
import { CreateGroupMetricRulesResponseBody } from "./CreateGroupMetricRulesResponseBody";
|
||||
export declare class CreateGroupMetricRulesResponse extends $dara.Model {
|
||||
headers?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
statusCode?: number;
|
||||
body?: CreateGroupMetricRulesResponseBody;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
69
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMetricRulesResponse.js
generated
vendored
Normal file
69
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMetricRulesResponse.js
generated
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CreateGroupMetricRulesResponse = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
const CreateGroupMetricRulesResponseBody_1 = require("./CreateGroupMetricRulesResponseBody");
|
||||
class CreateGroupMetricRulesResponse extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
headers: 'headers',
|
||||
statusCode: 'statusCode',
|
||||
body: 'body',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
||||
statusCode: 'number',
|
||||
body: CreateGroupMetricRulesResponseBody_1.CreateGroupMetricRulesResponseBody,
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (this.headers) {
|
||||
$dara.Model.validateMap(this.headers);
|
||||
}
|
||||
if (this.body && typeof this.body.validate === 'function') {
|
||||
this.body.validate();
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateGroupMetricRulesResponse = CreateGroupMetricRulesResponse;
|
||||
//# sourceMappingURL=CreateGroupMetricRulesResponse.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMetricRulesResponse.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMetricRulesResponse.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CreateGroupMetricRulesResponse.js","sourceRoot":"","sources":["../../src/models/CreateGroupMetricRulesResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,6FAA0F;AAG1F,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAI7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,uEAAkC;SACzC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,wEAiCC"}
|
||||
125
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMetricRulesResponseBody.d.ts
generated
vendored
Normal file
125
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMetricRulesResponseBody.d.ts
generated
vendored
Normal file
@@ -0,0 +1,125 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
export declare class CreateGroupMetricRulesResponseBodyResourcesAlertResult extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The status code that is returned for the alert rule.
|
||||
*
|
||||
* > The status code 200 indicates that the call is successful.
|
||||
*
|
||||
* @example
|
||||
* 200
|
||||
*/
|
||||
code?: number;
|
||||
/**
|
||||
* @remarks
|
||||
* The error message that is returned for the alert rule.
|
||||
*
|
||||
* @example
|
||||
* Metric not found.
|
||||
*/
|
||||
message?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The ID of the alert rule.
|
||||
*
|
||||
* @example
|
||||
* 456789
|
||||
*/
|
||||
ruleId?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The name of the alert rule.
|
||||
*
|
||||
* @example
|
||||
* ECS_Rule1
|
||||
*/
|
||||
ruleName?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* Indicates whether the alert rule was created. Valid value:
|
||||
*
|
||||
* - true: The alert rule was created.
|
||||
* - false: The alert rule failed to be created.
|
||||
*
|
||||
* @example
|
||||
* true
|
||||
*/
|
||||
success?: boolean;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
export declare class CreateGroupMetricRulesResponseBodyResources extends $dara.Model {
|
||||
alertResult?: CreateGroupMetricRulesResponseBodyResourcesAlertResult[];
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
export declare class CreateGroupMetricRulesResponseBody extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The HTTP status code.
|
||||
*
|
||||
* > The status code 200 indicates that the call is successful.
|
||||
*
|
||||
* @example
|
||||
* 200
|
||||
*/
|
||||
code?: number;
|
||||
/**
|
||||
* @remarks
|
||||
* The error message.
|
||||
*
|
||||
* @example
|
||||
* The Request is not authorization.
|
||||
*/
|
||||
message?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The ID of the request.
|
||||
*
|
||||
* @example
|
||||
* 461CF2CD-2FC3-4B26-8645-7BD27E7D0F1D
|
||||
*/
|
||||
requestId?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The details of the alert rules.
|
||||
*/
|
||||
resources?: CreateGroupMetricRulesResponseBodyResources;
|
||||
/**
|
||||
* @remarks
|
||||
* Indicates whether the call is successful. Valid value:
|
||||
*
|
||||
* - true: The call is successful.
|
||||
* - false: The call fails.
|
||||
*
|
||||
* @example
|
||||
* true
|
||||
*/
|
||||
success?: boolean;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
118
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMetricRulesResponseBody.js
generated
vendored
Normal file
118
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMetricRulesResponseBody.js
generated
vendored
Normal file
@@ -0,0 +1,118 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CreateGroupMetricRulesResponseBody = exports.CreateGroupMetricRulesResponseBodyResources = exports.CreateGroupMetricRulesResponseBodyResourcesAlertResult = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
class CreateGroupMetricRulesResponseBodyResourcesAlertResult extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
code: 'Code',
|
||||
message: 'Message',
|
||||
ruleId: 'RuleId',
|
||||
ruleName: 'RuleName',
|
||||
success: 'Success',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
code: 'number',
|
||||
message: 'string',
|
||||
ruleId: 'string',
|
||||
ruleName: 'string',
|
||||
success: 'boolean',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateGroupMetricRulesResponseBodyResourcesAlertResult = CreateGroupMetricRulesResponseBodyResourcesAlertResult;
|
||||
class CreateGroupMetricRulesResponseBodyResources extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
alertResult: 'AlertResult',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
alertResult: { 'type': 'array', 'itemType': CreateGroupMetricRulesResponseBodyResourcesAlertResult },
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (Array.isArray(this.alertResult)) {
|
||||
$dara.Model.validateArray(this.alertResult);
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateGroupMetricRulesResponseBodyResources = CreateGroupMetricRulesResponseBodyResources;
|
||||
class CreateGroupMetricRulesResponseBody extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
code: 'Code',
|
||||
message: 'Message',
|
||||
requestId: 'RequestId',
|
||||
resources: 'Resources',
|
||||
success: 'Success',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
code: 'number',
|
||||
message: 'string',
|
||||
requestId: 'string',
|
||||
resources: CreateGroupMetricRulesResponseBodyResources,
|
||||
success: 'boolean',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (this.resources && typeof this.resources.validate === 'function') {
|
||||
this.resources.validate();
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateGroupMetricRulesResponseBody = CreateGroupMetricRulesResponseBody;
|
||||
//# sourceMappingURL=CreateGroupMetricRulesResponseBody.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMetricRulesResponseBody.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMetricRulesResponseBody.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CreateGroupMetricRulesResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateGroupMetricRulesResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,sDAAuD,SAAQ,KAAK,CAAC,KAAK;IA8CrF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;YACpB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ;YACjB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,QAAQ;YAClB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzED,wHAyEC;AAED,MAAa,2CAA4C,SAAQ,KAAK,CAAC,KAAK;IAE1E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,sDAAsD,EAAE;SACrG,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC;YACnC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC9C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxBD,kGAwBC;AAED,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IA2CjE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,2CAA2C;YACtD,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,SAAS,IAAI,OAAQ,IAAI,CAAC,SAAiB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC3E,IAAI,CAAC,SAAiB,CAAC,QAAQ,EAAE,CAAC;QACrC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzED,gFAyEC"}
|
||||
322
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMonitoringAgentProcessRequest.d.ts
generated
vendored
Normal file
322
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMonitoringAgentProcessRequest.d.ts
generated
vendored
Normal file
@@ -0,0 +1,322 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
export declare class CreateGroupMonitoringAgentProcessRequestAlertConfigTargetList extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The Alibaba Cloud Resource Name (ARN) of the resource.
|
||||
*
|
||||
* For more information about how to query the ARN of a resource, see [DescribeMetricRuleTargets](https://help.aliyun.com/document_detail/121592.html).
|
||||
*
|
||||
* Format: `acs:{Service name abbreviation}:{regionId}:{userId}:/{Resource type}/{Resource name}/message`. Example: `acs:mns:cn-hangzhou:120886317861****:/queues/test123/message`. Fields:
|
||||
*
|
||||
* * {Service name abbreviation}: the abbreviation of the service name. Set the value to Simple Message Queue (formerly MNS) (SMQ).
|
||||
*
|
||||
* * {userId}: the ID of the Alibaba Cloud account.
|
||||
*
|
||||
* * {regionId}: the region ID of the SMQ queue or topic.
|
||||
*
|
||||
* * {Resource type}: the type of the resource that triggers the alert. Valid values:
|
||||
*
|
||||
* * **queues**
|
||||
* * **topics**
|
||||
*
|
||||
* * {Resource name}: the resource name.
|
||||
*
|
||||
* * If the resource type is **queues**, the resource name is the queue name.
|
||||
* * If the resource type is **topics**, the resource name is the topic name.
|
||||
*
|
||||
* @example
|
||||
* acs:mns:cn-hangzhou:120886317861****:/queues/test/message
|
||||
*/
|
||||
arn?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The ID of the resource for which alerts are triggered.
|
||||
*
|
||||
* For more information about how to obtain the ID of a resource for which alerts are triggered, see [DescribeMetricRuleTargets](https://help.aliyun.com/document_detail/121592.html).
|
||||
*
|
||||
* @example
|
||||
* 1
|
||||
*/
|
||||
id?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The parameters of the alert callback. The parameters are in the JSON format.
|
||||
*
|
||||
* @example
|
||||
* {"customField1":"value1","customField2":"$.name"}
|
||||
*/
|
||||
jsonParams?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The alert level. Valid values:
|
||||
*
|
||||
* * INFO
|
||||
* * WARN
|
||||
* * CRITICAL
|
||||
*
|
||||
* @example
|
||||
* ["INFO", "WARN", "CRITICAL"]
|
||||
*/
|
||||
level?: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
export declare class CreateGroupMonitoringAgentProcessRequestAlertConfig extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The operator that is used to compare the metric value with the threshold. Valid values:
|
||||
*
|
||||
* * GreaterThanOrEqualToThreshold: greater than or equal to the threshold
|
||||
* * GreaterThanThreshold: greater than the threshold
|
||||
* * LessThanOrEqualToThreshold: less than or equal to the threshold
|
||||
* * LessThanThreshold: less than the threshold
|
||||
* * NotEqualToThreshold: not equal to the threshold
|
||||
* * GreaterThanYesterday: greater than the metric value at the same time yesterday
|
||||
* * LessThanYesterday: less than the metric value at the same time yesterday
|
||||
* * GreaterThanLastWeek: greater than the metric value at the same time last week
|
||||
* * LessThanLastWeek: less than the metric value at the same time last week
|
||||
* * GreaterThanLastPeriod: greater than the metric value in the last monitoring cycle
|
||||
* * LessThanLastPeriod: less than the metric value in the previous monitoring cycle
|
||||
*
|
||||
* Valid values of N: 1 to 3.
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* GreaterThanOrEqualToThreshold
|
||||
*/
|
||||
comparisonOperator?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The period of time during which the alert rule is effective.
|
||||
*
|
||||
* Valid values of N: 1 to 3.
|
||||
*
|
||||
* @example
|
||||
* 00:00-23:59
|
||||
*/
|
||||
effectiveInterval?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The alert level. Valid values:
|
||||
*
|
||||
* * critical (default)
|
||||
* * warn
|
||||
* * info
|
||||
*
|
||||
* Valid values of N: 1 to 3.
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* warn
|
||||
*/
|
||||
escalationsLevel?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* This parameter is deprecated.
|
||||
*
|
||||
* @example
|
||||
* 00:00-23:59
|
||||
*/
|
||||
noEffectiveInterval?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The mute period during which new alert notifications are not sent even if the trigger conditions are met. Unit: seconds. Minimum value: 3600, which is equivalent to one hour. Default value: 86400, which is equivalent to one day.
|
||||
*
|
||||
* Valid values of N: 1 to 3.
|
||||
*
|
||||
* > Only one alert notification is sent during a mute period even if the metric value exceeds the alert threshold during consecutive checks.
|
||||
*
|
||||
* @example
|
||||
* 86400
|
||||
*/
|
||||
silenceTime?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The statistical aggregation method that is used to calculate the metric values.
|
||||
*
|
||||
* Valid values of N: 1 to 3.
|
||||
*
|
||||
* > Set the value to Average.
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* Average
|
||||
*/
|
||||
statistics?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The alert triggers.
|
||||
*/
|
||||
targetList?: CreateGroupMonitoringAgentProcessRequestAlertConfigTargetList[];
|
||||
/**
|
||||
* @remarks
|
||||
* The alert threshold.
|
||||
*
|
||||
* Valid values of N: 1 to 3.
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* 5
|
||||
*/
|
||||
threshold?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The number of times for which the threshold can be consecutively exceeded. Default value: 3.
|
||||
*
|
||||
* Valid values of N: 1 to 3.
|
||||
*
|
||||
* > A metric triggers an alert only after the metric value reaches the threshold consecutively for the specified times.
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* 3
|
||||
*/
|
||||
times?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The callback URL.
|
||||
*
|
||||
* Valid values of N: 1 to 3.
|
||||
*
|
||||
* @example
|
||||
* http://www.aliyun.com
|
||||
*/
|
||||
webhook?: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
export declare class CreateGroupMonitoringAgentProcessRequestMatchExpress extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The matching condition. Valid values:
|
||||
*
|
||||
* * all (default value): matches all
|
||||
* * startWith: starts with a prefix
|
||||
* * endWith: ends with a suffix
|
||||
* * contains: contains
|
||||
* * notContains: does not contain
|
||||
* * equals: equals
|
||||
*
|
||||
* Valid values of N: 1 to 3.
|
||||
*
|
||||
* @example
|
||||
* startWith
|
||||
*/
|
||||
function?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The criteria based on which the instances are matched.
|
||||
*
|
||||
* Valid values of N: 1 to 3.
|
||||
*
|
||||
* > Set the value to name. The value name indicates that the instances are matched based on the instance name.
|
||||
*
|
||||
* @example
|
||||
* name1
|
||||
*/
|
||||
name?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The keyword used to match the instance name.
|
||||
*
|
||||
* Valid values of N: 1 to 3.
|
||||
*
|
||||
* @example
|
||||
* portalHost
|
||||
*/
|
||||
value?: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
export declare class CreateGroupMonitoringAgentProcessRequest extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The alert rule configurations.
|
||||
*
|
||||
* Valid values of N: 1 to 3.
|
||||
*
|
||||
* This parameter is required.
|
||||
*/
|
||||
alertConfig?: CreateGroupMonitoringAgentProcessRequestAlertConfig[];
|
||||
/**
|
||||
* @remarks
|
||||
* The ID of the application group.
|
||||
*
|
||||
* For more information about how to obtain the ID of an application group, see [DescribeMonitorGroups](https://help.aliyun.com/document_detail/115032.html).
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* 123456
|
||||
*/
|
||||
groupId?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The expressions used to match instances.
|
||||
*
|
||||
* Valid values of N: 1 to 3.
|
||||
*/
|
||||
matchExpress?: CreateGroupMonitoringAgentProcessRequestMatchExpress[];
|
||||
/**
|
||||
* @remarks
|
||||
* The logical operator used between conditional expressions that are used to match instances. Valid values:
|
||||
*
|
||||
* * all
|
||||
* * and
|
||||
* * or
|
||||
*
|
||||
* @example
|
||||
* and
|
||||
*/
|
||||
matchExpressFilterRelation?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The process name.
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* test1
|
||||
*/
|
||||
processName?: string;
|
||||
regionId?: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
162
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMonitoringAgentProcessRequest.js
generated
vendored
Normal file
162
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMonitoringAgentProcessRequest.js
generated
vendored
Normal file
@@ -0,0 +1,162 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CreateGroupMonitoringAgentProcessRequest = exports.CreateGroupMonitoringAgentProcessRequestMatchExpress = exports.CreateGroupMonitoringAgentProcessRequestAlertConfig = exports.CreateGroupMonitoringAgentProcessRequestAlertConfigTargetList = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
class CreateGroupMonitoringAgentProcessRequestAlertConfigTargetList extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
arn: 'Arn',
|
||||
id: 'Id',
|
||||
jsonParams: 'JsonParams',
|
||||
level: 'Level',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
arn: 'string',
|
||||
id: 'string',
|
||||
jsonParams: 'string',
|
||||
level: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateGroupMonitoringAgentProcessRequestAlertConfigTargetList = CreateGroupMonitoringAgentProcessRequestAlertConfigTargetList;
|
||||
class CreateGroupMonitoringAgentProcessRequestAlertConfig extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
comparisonOperator: 'ComparisonOperator',
|
||||
effectiveInterval: 'EffectiveInterval',
|
||||
escalationsLevel: 'EscalationsLevel',
|
||||
noEffectiveInterval: 'NoEffectiveInterval',
|
||||
silenceTime: 'SilenceTime',
|
||||
statistics: 'Statistics',
|
||||
targetList: 'TargetList',
|
||||
threshold: 'Threshold',
|
||||
times: 'Times',
|
||||
webhook: 'Webhook',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
comparisonOperator: 'string',
|
||||
effectiveInterval: 'string',
|
||||
escalationsLevel: 'string',
|
||||
noEffectiveInterval: 'string',
|
||||
silenceTime: 'string',
|
||||
statistics: 'string',
|
||||
targetList: { 'type': 'array', 'itemType': CreateGroupMonitoringAgentProcessRequestAlertConfigTargetList },
|
||||
threshold: 'string',
|
||||
times: 'string',
|
||||
webhook: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (Array.isArray(this.targetList)) {
|
||||
$dara.Model.validateArray(this.targetList);
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateGroupMonitoringAgentProcessRequestAlertConfig = CreateGroupMonitoringAgentProcessRequestAlertConfig;
|
||||
class CreateGroupMonitoringAgentProcessRequestMatchExpress extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
function: 'Function',
|
||||
name: 'Name',
|
||||
value: 'Value',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
function: 'string',
|
||||
name: 'string',
|
||||
value: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateGroupMonitoringAgentProcessRequestMatchExpress = CreateGroupMonitoringAgentProcessRequestMatchExpress;
|
||||
class CreateGroupMonitoringAgentProcessRequest extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
alertConfig: 'AlertConfig',
|
||||
groupId: 'GroupId',
|
||||
matchExpress: 'MatchExpress',
|
||||
matchExpressFilterRelation: 'MatchExpressFilterRelation',
|
||||
processName: 'ProcessName',
|
||||
regionId: 'RegionId',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
alertConfig: { 'type': 'array', 'itemType': CreateGroupMonitoringAgentProcessRequestAlertConfig },
|
||||
groupId: 'string',
|
||||
matchExpress: { 'type': 'array', 'itemType': CreateGroupMonitoringAgentProcessRequestMatchExpress },
|
||||
matchExpressFilterRelation: 'string',
|
||||
processName: 'string',
|
||||
regionId: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (Array.isArray(this.alertConfig)) {
|
||||
$dara.Model.validateArray(this.alertConfig);
|
||||
}
|
||||
if (Array.isArray(this.matchExpress)) {
|
||||
$dara.Model.validateArray(this.matchExpress);
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateGroupMonitoringAgentProcessRequest = CreateGroupMonitoringAgentProcessRequest;
|
||||
//# sourceMappingURL=CreateGroupMonitoringAgentProcessRequest.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMonitoringAgentProcessRequest.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMonitoringAgentProcessRequest.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CreateGroupMonitoringAgentProcessRequest.js","sourceRoot":"","sources":["../../src/models/CreateGroupMonitoringAgentProcessRequest.ts"],"names":[],"mappings":"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"}
|
||||
19
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMonitoringAgentProcessResponse.d.ts
generated
vendored
Normal file
19
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMonitoringAgentProcessResponse.d.ts
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
import { CreateGroupMonitoringAgentProcessResponseBody } from "./CreateGroupMonitoringAgentProcessResponseBody";
|
||||
export declare class CreateGroupMonitoringAgentProcessResponse extends $dara.Model {
|
||||
headers?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
statusCode?: number;
|
||||
body?: CreateGroupMonitoringAgentProcessResponseBody;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
69
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMonitoringAgentProcessResponse.js
generated
vendored
Normal file
69
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMonitoringAgentProcessResponse.js
generated
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CreateGroupMonitoringAgentProcessResponse = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
const CreateGroupMonitoringAgentProcessResponseBody_1 = require("./CreateGroupMonitoringAgentProcessResponseBody");
|
||||
class CreateGroupMonitoringAgentProcessResponse extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
headers: 'headers',
|
||||
statusCode: 'statusCode',
|
||||
body: 'body',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
||||
statusCode: 'number',
|
||||
body: CreateGroupMonitoringAgentProcessResponseBody_1.CreateGroupMonitoringAgentProcessResponseBody,
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (this.headers) {
|
||||
$dara.Model.validateMap(this.headers);
|
||||
}
|
||||
if (this.body && typeof this.body.validate === 'function') {
|
||||
this.body.validate();
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateGroupMonitoringAgentProcessResponse = CreateGroupMonitoringAgentProcessResponse;
|
||||
//# sourceMappingURL=CreateGroupMonitoringAgentProcessResponse.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMonitoringAgentProcessResponse.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMonitoringAgentProcessResponse.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CreateGroupMonitoringAgentProcessResponse.js","sourceRoot":"","sources":["../../src/models/CreateGroupMonitoringAgentProcessResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,mHAAgH;AAGhH,MAAa,yCAA0C,SAAQ,KAAK,CAAC,KAAK;IAIxE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,6FAA6C;SACpD,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,8FAiCC"}
|
||||
75
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMonitoringAgentProcessResponseBody.d.ts
generated
vendored
Normal file
75
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMonitoringAgentProcessResponseBody.d.ts
generated
vendored
Normal file
@@ -0,0 +1,75 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
export declare class CreateGroupMonitoringAgentProcessResponseBodyResource extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The ID of the group process.
|
||||
*
|
||||
* @example
|
||||
* 7F2B0024-4F21-48B9-A764-211CEC48****
|
||||
*/
|
||||
groupProcessId?: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
export declare class CreateGroupMonitoringAgentProcessResponseBody extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The status code.
|
||||
*
|
||||
* > The status code 200 indicates that the call is successful.
|
||||
*
|
||||
* @example
|
||||
* 200
|
||||
*/
|
||||
code?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The error message.
|
||||
*
|
||||
* @example
|
||||
* The Request is not authorization.
|
||||
*/
|
||||
message?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The request ID.
|
||||
*
|
||||
* @example
|
||||
* 3F6150F9-45C7-43F9-9578-A58B2E726C90
|
||||
*/
|
||||
requestId?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The group process information.
|
||||
*/
|
||||
resource?: CreateGroupMonitoringAgentProcessResponseBodyResource;
|
||||
/**
|
||||
* @remarks
|
||||
* Indicates whether the call is successful. Valid values:
|
||||
*
|
||||
* * true: The call is successful.
|
||||
* * false: The call fails.
|
||||
*
|
||||
* @example
|
||||
* true
|
||||
*/
|
||||
success?: boolean;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
88
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMonitoringAgentProcessResponseBody.js
generated
vendored
Normal file
88
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMonitoringAgentProcessResponseBody.js
generated
vendored
Normal file
@@ -0,0 +1,88 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CreateGroupMonitoringAgentProcessResponseBody = exports.CreateGroupMonitoringAgentProcessResponseBodyResource = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
class CreateGroupMonitoringAgentProcessResponseBodyResource extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
groupProcessId: 'GroupProcessId',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
groupProcessId: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateGroupMonitoringAgentProcessResponseBodyResource = CreateGroupMonitoringAgentProcessResponseBodyResource;
|
||||
class CreateGroupMonitoringAgentProcessResponseBody extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
code: 'Code',
|
||||
message: 'Message',
|
||||
requestId: 'RequestId',
|
||||
resource: 'Resource',
|
||||
success: 'Success',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
code: 'string',
|
||||
message: 'string',
|
||||
requestId: 'string',
|
||||
resource: CreateGroupMonitoringAgentProcessResponseBodyResource,
|
||||
success: 'boolean',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (this.resource && typeof this.resource.validate === 'function') {
|
||||
this.resource.validate();
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateGroupMonitoringAgentProcessResponseBody = CreateGroupMonitoringAgentProcessResponseBody;
|
||||
//# sourceMappingURL=CreateGroupMonitoringAgentProcessResponseBody.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMonitoringAgentProcessResponseBody.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateGroupMonitoringAgentProcessResponseBody.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CreateGroupMonitoringAgentProcessResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateGroupMonitoringAgentProcessResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qDAAsD,SAAQ,KAAK,CAAC,KAAK;IASpF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,QAAQ;SACzB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5BD,sHA4BC;AAED,MAAa,6CAA8C,SAAQ,KAAK,CAAC,KAAK;IA2C5E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;YACpB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,qDAAqD;YAC/D,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,QAAQ,IAAI,OAAQ,IAAI,CAAC,QAAgB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACzE,IAAI,CAAC,QAAgB,CAAC,QAAQ,EAAE,CAAC;QACpC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzED,sGAyEC"}
|
||||
389
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHostAvailabilityRequest.d.ts
generated
vendored
Normal file
389
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHostAvailabilityRequest.d.ts
generated
vendored
Normal file
@@ -0,0 +1,389 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
export declare class CreateHostAvailabilityRequestAlertConfig extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The end of the time range during which the alert rule is effective. Valid values: 0 to 23.
|
||||
*
|
||||
* For example, if the `AlertConfig.StartTime` parameter is set to 0 and the `AlertConfig.EndTime` parameter is set to 22, the alert rule is effective from 00:00:00 to 22:00:00.
|
||||
*
|
||||
* > Alert notifications are sent based on the specified threshold only if the alert rule is effective.
|
||||
*
|
||||
* @example
|
||||
* 22
|
||||
*/
|
||||
endTime?: number;
|
||||
/**
|
||||
* @remarks
|
||||
* The alert notification methods. Valid values:
|
||||
*
|
||||
* 0: Alert notifications are sent by using emails and DingTalk chatbots.
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* 0
|
||||
*/
|
||||
notifyType?: number;
|
||||
/**
|
||||
* @remarks
|
||||
* The mute period during which new alerts are not sent even if the trigger conditions are met. Unit: seconds. Default value: 86400. The default value indicates one day.
|
||||
*
|
||||
* @example
|
||||
* 86400
|
||||
*/
|
||||
silenceTime?: number;
|
||||
/**
|
||||
* @remarks
|
||||
* The beginning of the time range during which the alert rule is effective. Valid values: 0 to 23.
|
||||
*
|
||||
* For example, if the `AlertConfig.StartTime` parameter is set to 0 and the `AlertConfig.EndTime` parameter is set to 22, the alert rule is effective from 00:00:00 to 22:00:00.
|
||||
*
|
||||
* > Alert notifications are sent based on the specified threshold only if the alert rule is effective.
|
||||
*
|
||||
* @example
|
||||
* 0
|
||||
*/
|
||||
startTime?: number;
|
||||
/**
|
||||
* @remarks
|
||||
* The callback URL.
|
||||
*
|
||||
* @example
|
||||
* https://www.aliyun.com/webhook.json
|
||||
*/
|
||||
webHook?: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
export declare class CreateHostAvailabilityRequestTaskOption extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The header of the HTTP request. Format: `Parameter name:Parameter value`. Separate multiple parameters with carriage return characters. Example:
|
||||
*
|
||||
* params1:value1
|
||||
* params2:value2
|
||||
*
|
||||
* @example
|
||||
* token:testTokenValue
|
||||
*/
|
||||
httpHeader?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The HTTP request method. Valid values:
|
||||
*
|
||||
* * GET
|
||||
* * POST
|
||||
* * HEAD
|
||||
*
|
||||
* > This parameter must be specified when TaskType is set to HTTP.
|
||||
*
|
||||
* @example
|
||||
* GET
|
||||
*/
|
||||
httpMethod?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The method to trigger an alert. The alert can be triggered based on whether the specified alert rule is included in the response body. Valid values:
|
||||
*
|
||||
* * true: If the HTTP response body includes the alert rule, an alert is triggered.
|
||||
* * false: If the HTTP response does not include the alert rule, an alert is triggered.
|
||||
*
|
||||
* > This parameter must be specified when TaskType is set to HTTP.
|
||||
*
|
||||
* @example
|
||||
* true
|
||||
*/
|
||||
httpNegative?: boolean;
|
||||
/**
|
||||
* @remarks
|
||||
* The content of the HTTP POST request.
|
||||
*
|
||||
* @example
|
||||
* params1=paramsValue1
|
||||
*/
|
||||
httpPostContent?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The character set that is used in the HTTP response.
|
||||
*
|
||||
* > Only UTF-8 is supported.
|
||||
*
|
||||
* @example
|
||||
* UTF-8
|
||||
*/
|
||||
httpResponseCharset?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The response to the HTTP request.
|
||||
*
|
||||
* @example
|
||||
* ok
|
||||
*/
|
||||
httpResponseMatchContent?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The URI that you want to monitor. This parameter is required if the TaskType parameter is set to HTTP or Telnet.
|
||||
*
|
||||
* @example
|
||||
* https://www.aliyun.com
|
||||
*/
|
||||
httpURI?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The interval at which detection requests are sent. Unit: seconds. Valid values: 15, 30, 60, 120, 300, 900, 1800, and 3600.
|
||||
*
|
||||
* > This parameter is available only for the CloudMonitor agent V3.5.1 or later.
|
||||
*
|
||||
* @example
|
||||
* 60
|
||||
*/
|
||||
interval?: number;
|
||||
/**
|
||||
* @remarks
|
||||
* The domain name or IP address that you want to monitor.
|
||||
*
|
||||
* > This parameter is required if the TaskType parameter is set to PING.
|
||||
*
|
||||
* @example
|
||||
* www.aliyun.com
|
||||
*/
|
||||
telnetOrPingHost?: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
export declare class CreateHostAvailabilityRequestAlertConfigEscalationList extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The method used to calculate the metric values that trigger alerts. Valid values of N: 1 to 21. Valid values:
|
||||
*
|
||||
* * HttpStatus: Value
|
||||
* * HttpLatency: Average
|
||||
* * TelnetStatus: Value
|
||||
* * TelnetLatency: Average
|
||||
* * PingLostRate: Average
|
||||
*
|
||||
* > The value Value indicates the original value and is used for metrics such as status codes. The value Average indicates the average value and is used for metrics such as the latency and packet loss rate.
|
||||
*
|
||||
* @example
|
||||
* Value
|
||||
*/
|
||||
aggregate?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The metric for which the alert feature is enabled. Valid values of N: 1 to 21. Valid values:
|
||||
*
|
||||
* * HttpStatus: HTTP status code
|
||||
* * HttpLatency: HTTP response time
|
||||
* * TelnetStatus: Telnet status code
|
||||
* * TelnetLatency: Telnet response time
|
||||
* * PingLostRate: Ping packet loss rate
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* HttpStatus
|
||||
*/
|
||||
metricName?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The comparison operator that is used in the alert rule. Valid values of N: 1 to 21. Valid values:
|
||||
*
|
||||
* * `>`
|
||||
* * `>=`
|
||||
* * `<`
|
||||
* * `<=`
|
||||
* * `=`
|
||||
*
|
||||
* @example
|
||||
* >
|
||||
*/
|
||||
operator?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The consecutive number of times for which the metric value meets the alert condition before an alert is triggered. Valid values of N: 1 to 21.
|
||||
*
|
||||
* @example
|
||||
* 3
|
||||
*/
|
||||
times?: number;
|
||||
/**
|
||||
* @remarks
|
||||
* The alert threshold. Valid values of N: 1 to 21.
|
||||
*
|
||||
* @example
|
||||
* 90
|
||||
*/
|
||||
value?: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
export declare class CreateHostAvailabilityRequestAlertConfigTargetList extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The Alibaba Cloud Resource Name (ARN) of the resource. Format: `acs:{Service name abbreviation}:{regionId}:{userId}:/{Resource type}/{Resource name}/message`. Example: `acs:mns:cn-hangzhou:120886317861****:/queues/test123/message`. Fields:
|
||||
*
|
||||
* * {Service name abbreviation}: the abbreviation of the service name. Set the value to Simple Message Queue (formerly MNS) (SMQ).
|
||||
*
|
||||
* * {userId}: the ID of the Alibaba Cloud account.
|
||||
*
|
||||
* * {regionId}: the region ID of the SMQ queue or topic.
|
||||
*
|
||||
* * {Resource type}: the type of the resource for which alerts are triggered. Valid values:
|
||||
*
|
||||
* * **queues**
|
||||
* * **topics**
|
||||
*
|
||||
* * {Resource name}: the resource name.
|
||||
*
|
||||
* * If the resource type is **queues**, the resource name is the queue name.
|
||||
* * If the resource type is **topics**, the resource name is the topic name.
|
||||
*
|
||||
* @example
|
||||
* acs:mns:cn-hangzhou:120886317861****:/queues/test/message
|
||||
*/
|
||||
arn?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The ID of the resource for which alerts are triggered.
|
||||
*
|
||||
* @example
|
||||
* 1
|
||||
*/
|
||||
id?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The parameters of the alert callback. The parameters are in the JSON format.
|
||||
*
|
||||
* @example
|
||||
* {"customField1":"value1","customField2":"$.name"}
|
||||
*/
|
||||
jsonParams?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The alert level. Valid values:
|
||||
*
|
||||
* * INFO
|
||||
* * WARN
|
||||
* * CRITICAL
|
||||
*
|
||||
* @example
|
||||
* ["INFO", "WARN", "CRITICAL"]
|
||||
*/
|
||||
level?: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
export declare class CreateHostAvailabilityRequest extends $dara.Model {
|
||||
alertConfig?: CreateHostAvailabilityRequestAlertConfig;
|
||||
taskOption?: CreateHostAvailabilityRequestTaskOption;
|
||||
/**
|
||||
* @remarks
|
||||
* None
|
||||
*
|
||||
* This parameter is required.
|
||||
*/
|
||||
alertConfigEscalationList?: CreateHostAvailabilityRequestAlertConfigEscalationList[];
|
||||
/**
|
||||
* @remarks
|
||||
* The resources for which alerts are triggered.
|
||||
*/
|
||||
alertConfigTargetList?: CreateHostAvailabilityRequestAlertConfigTargetList[];
|
||||
/**
|
||||
* @remarks
|
||||
* The ID of the application group.
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* 123456
|
||||
*/
|
||||
groupId?: number;
|
||||
/**
|
||||
* @remarks
|
||||
* The ECS instances that are monitored. Valid values of N: 1 to 21.
|
||||
*
|
||||
* > This parameter must be specified when `TaskScope` is set to `GROUP_SPEC_INSTANCE`.
|
||||
*
|
||||
* @example
|
||||
* i-absdfkwl321****
|
||||
*/
|
||||
instanceList?: string[];
|
||||
regionId?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The name of the availability monitoring task. The name must be 4 to 100 characters in length, and can contain letters, digits, and underscores (_).
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* task1
|
||||
*/
|
||||
taskName?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The range of instances that are monitored by the availability monitoring task. Valid values:
|
||||
*
|
||||
* * GROUP: All ECS instances in the application group are monitored.
|
||||
* * GROUP_SPEC_INSTANCE: Specified ECS instances in the application group are monitored. The TaskScope parameter must be used in combination with the InstanceList parameter. The InstanceList parameter specifies the ECS instances to be monitored.
|
||||
*
|
||||
* @example
|
||||
* GROUP
|
||||
*/
|
||||
taskScope?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The monitoring type of the availability monitoring task. Valid values:
|
||||
*
|
||||
* * PING
|
||||
* * TELNET
|
||||
* * HTTP
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* HTTP
|
||||
*/
|
||||
taskType?: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
205
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHostAvailabilityRequest.js
generated
vendored
Normal file
205
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHostAvailabilityRequest.js
generated
vendored
Normal file
@@ -0,0 +1,205 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CreateHostAvailabilityRequest = exports.CreateHostAvailabilityRequestAlertConfigTargetList = exports.CreateHostAvailabilityRequestAlertConfigEscalationList = exports.CreateHostAvailabilityRequestTaskOption = exports.CreateHostAvailabilityRequestAlertConfig = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
class CreateHostAvailabilityRequestAlertConfig extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
endTime: 'EndTime',
|
||||
notifyType: 'NotifyType',
|
||||
silenceTime: 'SilenceTime',
|
||||
startTime: 'StartTime',
|
||||
webHook: 'WebHook',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
endTime: 'number',
|
||||
notifyType: 'number',
|
||||
silenceTime: 'number',
|
||||
startTime: 'number',
|
||||
webHook: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateHostAvailabilityRequestAlertConfig = CreateHostAvailabilityRequestAlertConfig;
|
||||
class CreateHostAvailabilityRequestTaskOption extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
httpHeader: 'HttpHeader',
|
||||
httpMethod: 'HttpMethod',
|
||||
httpNegative: 'HttpNegative',
|
||||
httpPostContent: 'HttpPostContent',
|
||||
httpResponseCharset: 'HttpResponseCharset',
|
||||
httpResponseMatchContent: 'HttpResponseMatchContent',
|
||||
httpURI: 'HttpURI',
|
||||
interval: 'Interval',
|
||||
telnetOrPingHost: 'TelnetOrPingHost',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
httpHeader: 'string',
|
||||
httpMethod: 'string',
|
||||
httpNegative: 'boolean',
|
||||
httpPostContent: 'string',
|
||||
httpResponseCharset: 'string',
|
||||
httpResponseMatchContent: 'string',
|
||||
httpURI: 'string',
|
||||
interval: 'number',
|
||||
telnetOrPingHost: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateHostAvailabilityRequestTaskOption = CreateHostAvailabilityRequestTaskOption;
|
||||
class CreateHostAvailabilityRequestAlertConfigEscalationList extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
aggregate: 'Aggregate',
|
||||
metricName: 'MetricName',
|
||||
operator: 'Operator',
|
||||
times: 'Times',
|
||||
value: 'Value',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
aggregate: 'string',
|
||||
metricName: 'string',
|
||||
operator: 'string',
|
||||
times: 'number',
|
||||
value: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateHostAvailabilityRequestAlertConfigEscalationList = CreateHostAvailabilityRequestAlertConfigEscalationList;
|
||||
class CreateHostAvailabilityRequestAlertConfigTargetList extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
arn: 'Arn',
|
||||
id: 'Id',
|
||||
jsonParams: 'JsonParams',
|
||||
level: 'Level',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
arn: 'string',
|
||||
id: 'string',
|
||||
jsonParams: 'string',
|
||||
level: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateHostAvailabilityRequestAlertConfigTargetList = CreateHostAvailabilityRequestAlertConfigTargetList;
|
||||
class CreateHostAvailabilityRequest extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
alertConfig: 'AlertConfig',
|
||||
taskOption: 'TaskOption',
|
||||
alertConfigEscalationList: 'AlertConfigEscalationList',
|
||||
alertConfigTargetList: 'AlertConfigTargetList',
|
||||
groupId: 'GroupId',
|
||||
instanceList: 'InstanceList',
|
||||
regionId: 'RegionId',
|
||||
taskName: 'TaskName',
|
||||
taskScope: 'TaskScope',
|
||||
taskType: 'TaskType',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
alertConfig: CreateHostAvailabilityRequestAlertConfig,
|
||||
taskOption: CreateHostAvailabilityRequestTaskOption,
|
||||
alertConfigEscalationList: { 'type': 'array', 'itemType': CreateHostAvailabilityRequestAlertConfigEscalationList },
|
||||
alertConfigTargetList: { 'type': 'array', 'itemType': CreateHostAvailabilityRequestAlertConfigTargetList },
|
||||
groupId: 'number',
|
||||
instanceList: { 'type': 'array', 'itemType': 'string' },
|
||||
regionId: 'string',
|
||||
taskName: 'string',
|
||||
taskScope: 'string',
|
||||
taskType: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (this.alertConfig && typeof this.alertConfig.validate === 'function') {
|
||||
this.alertConfig.validate();
|
||||
}
|
||||
if (this.taskOption && typeof this.taskOption.validate === 'function') {
|
||||
this.taskOption.validate();
|
||||
}
|
||||
if (Array.isArray(this.alertConfigEscalationList)) {
|
||||
$dara.Model.validateArray(this.alertConfigEscalationList);
|
||||
}
|
||||
if (Array.isArray(this.alertConfigTargetList)) {
|
||||
$dara.Model.validateArray(this.alertConfigTargetList);
|
||||
}
|
||||
if (Array.isArray(this.instanceList)) {
|
||||
$dara.Model.validateArray(this.instanceList);
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateHostAvailabilityRequest = CreateHostAvailabilityRequest;
|
||||
//# sourceMappingURL=CreateHostAvailabilityRequest.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHostAvailabilityRequest.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHostAvailabilityRequest.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CreateHostAvailabilityRequest.js","sourceRoot":"","sources":["../../src/models/CreateHostAvailabilityRequest.ts"],"names":[],"mappings":"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"}
|
||||
19
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHostAvailabilityResponse.d.ts
generated
vendored
Normal file
19
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHostAvailabilityResponse.d.ts
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
import { CreateHostAvailabilityResponseBody } from "./CreateHostAvailabilityResponseBody";
|
||||
export declare class CreateHostAvailabilityResponse extends $dara.Model {
|
||||
headers?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
statusCode?: number;
|
||||
body?: CreateHostAvailabilityResponseBody;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
69
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHostAvailabilityResponse.js
generated
vendored
Normal file
69
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHostAvailabilityResponse.js
generated
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CreateHostAvailabilityResponse = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
const CreateHostAvailabilityResponseBody_1 = require("./CreateHostAvailabilityResponseBody");
|
||||
class CreateHostAvailabilityResponse extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
headers: 'headers',
|
||||
statusCode: 'statusCode',
|
||||
body: 'body',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
||||
statusCode: 'number',
|
||||
body: CreateHostAvailabilityResponseBody_1.CreateHostAvailabilityResponseBody,
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (this.headers) {
|
||||
$dara.Model.validateMap(this.headers);
|
||||
}
|
||||
if (this.body && typeof this.body.validate === 'function') {
|
||||
this.body.validate();
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateHostAvailabilityResponse = CreateHostAvailabilityResponse;
|
||||
//# sourceMappingURL=CreateHostAvailabilityResponse.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHostAvailabilityResponse.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHostAvailabilityResponse.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CreateHostAvailabilityResponse.js","sourceRoot":"","sources":["../../src/models/CreateHostAvailabilityResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,6FAA0F;AAG1F,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAI7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,uEAAkC;SACzC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,wEAiCC"}
|
||||
58
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHostAvailabilityResponseBody.d.ts
generated
vendored
Normal file
58
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHostAvailabilityResponseBody.d.ts
generated
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
export declare class CreateHostAvailabilityResponseBody extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The status code.
|
||||
*
|
||||
* > The status code 200 indicates that the request was successful.
|
||||
*
|
||||
* @example
|
||||
* 200
|
||||
*/
|
||||
code?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The error message.
|
||||
*
|
||||
* @example
|
||||
* The specified resource is not found.
|
||||
*/
|
||||
message?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The request ID.
|
||||
*
|
||||
* @example
|
||||
* ACBDBB40-DFB6-4F4C-8957-51FFB233969C
|
||||
*/
|
||||
requestId?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* Indicates whether the request was successful. Valid values:
|
||||
*
|
||||
* * true
|
||||
* * false
|
||||
*
|
||||
* @example
|
||||
* true
|
||||
*/
|
||||
success?: boolean;
|
||||
/**
|
||||
* @remarks
|
||||
* The ID of the availability monitoring task.
|
||||
*
|
||||
* @example
|
||||
* 12345
|
||||
*/
|
||||
taskId?: number;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
66
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHostAvailabilityResponseBody.js
generated
vendored
Normal file
66
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHostAvailabilityResponseBody.js
generated
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CreateHostAvailabilityResponseBody = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
class CreateHostAvailabilityResponseBody extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
code: 'Code',
|
||||
message: 'Message',
|
||||
requestId: 'RequestId',
|
||||
success: 'Success',
|
||||
taskId: 'TaskId',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
code: 'string',
|
||||
message: 'string',
|
||||
requestId: 'string',
|
||||
success: 'boolean',
|
||||
taskId: 'number',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateHostAvailabilityResponseBody = CreateHostAvailabilityResponseBody;
|
||||
//# sourceMappingURL=CreateHostAvailabilityResponseBody.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHostAvailabilityResponseBody.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHostAvailabilityResponseBody.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CreateHostAvailabilityResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateHostAvailabilityResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IA8CjE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzED,gFAyEC"}
|
||||
69
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorNamespaceRequest.d.ts
generated
vendored
Normal file
69
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorNamespaceRequest.d.ts
generated
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
export declare class CreateHybridMonitorNamespaceRequest extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The description of the namespace.
|
||||
*/
|
||||
description?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The name of the namespace.
|
||||
*
|
||||
* The name can contain lowercase letters, digits, and hyphens (-).
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* aliyun
|
||||
*/
|
||||
namespace?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The region where the metric data is stored.
|
||||
*
|
||||
* @example
|
||||
* cn-hangzhou
|
||||
*/
|
||||
namespaceRegion?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The storage scheme of metric data. Valid values:
|
||||
*
|
||||
* * m_prom_user: The metric data is stored in Simple Log Service.
|
||||
* * m_prom_pool: The metric data is stored in the private storage space provided by CloudMonitor.
|
||||
*
|
||||
* > For more information about the storage schemes of metric data, see [Data storage schemes for Hybrid Cloud Monitoring](https://help.aliyun.com/document_detail/2594921.html).
|
||||
*
|
||||
* @example
|
||||
* m_prometheus
|
||||
*/
|
||||
namespaceType?: string;
|
||||
regionId?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The data retention period. Valid values:
|
||||
*
|
||||
* * cms.s1.large (Retention Period 15 Days)
|
||||
* * cms.s1.xlarge (Retention Period 32 Days)
|
||||
* * cms.s1.2xlarge (Retention Period 63 Days)
|
||||
* * cms.s1.3xlarge (Retention Period 93 Days) (default)
|
||||
* * cms.s1.6xlarge (Retention Period 185 Days)
|
||||
* * cms.s1.12xlarge (Retention Period 367 Days)
|
||||
*
|
||||
* For information about the pricing for different retention periods, see the **Pricing** section in [Billing of the dashboard feature](https://help.aliyun.com/document_detail/223532.html).
|
||||
*
|
||||
* @example
|
||||
* cms.s1.3xlarge
|
||||
*/
|
||||
spec?: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
68
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorNamespaceRequest.js
generated
vendored
Normal file
68
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorNamespaceRequest.js
generated
vendored
Normal file
@@ -0,0 +1,68 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CreateHybridMonitorNamespaceRequest = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
class CreateHybridMonitorNamespaceRequest extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
description: 'Description',
|
||||
namespace: 'Namespace',
|
||||
namespaceRegion: 'NamespaceRegion',
|
||||
namespaceType: 'NamespaceType',
|
||||
regionId: 'RegionId',
|
||||
spec: 'Spec',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
description: 'string',
|
||||
namespace: 'string',
|
||||
namespaceRegion: 'string',
|
||||
namespaceType: 'string',
|
||||
regionId: 'string',
|
||||
spec: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateHybridMonitorNamespaceRequest = CreateHybridMonitorNamespaceRequest;
|
||||
//# sourceMappingURL=CreateHybridMonitorNamespaceRequest.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorNamespaceRequest.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorNamespaceRequest.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CreateHybridMonitorNamespaceRequest.js","sourceRoot":"","sources":["../../src/models/CreateHybridMonitorNamespaceRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAyDlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,SAAS,EAAE,WAAW;YACtB,eAAe,EAAE,iBAAiB;YAClC,aAAa,EAAE,eAAe;YAC9B,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,SAAS,EAAE,QAAQ;YACnB,eAAe,EAAE,QAAQ;YACzB,aAAa,EAAE,QAAQ;YACvB,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,QAAQ;SACf,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtFD,kFAsFC"}
|
||||
19
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorNamespaceResponse.d.ts
generated
vendored
Normal file
19
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorNamespaceResponse.d.ts
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
import { CreateHybridMonitorNamespaceResponseBody } from "./CreateHybridMonitorNamespaceResponseBody";
|
||||
export declare class CreateHybridMonitorNamespaceResponse extends $dara.Model {
|
||||
headers?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
statusCode?: number;
|
||||
body?: CreateHybridMonitorNamespaceResponseBody;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
69
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorNamespaceResponse.js
generated
vendored
Normal file
69
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorNamespaceResponse.js
generated
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CreateHybridMonitorNamespaceResponse = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
const CreateHybridMonitorNamespaceResponseBody_1 = require("./CreateHybridMonitorNamespaceResponseBody");
|
||||
class CreateHybridMonitorNamespaceResponse extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
headers: 'headers',
|
||||
statusCode: 'statusCode',
|
||||
body: 'body',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
||||
statusCode: 'number',
|
||||
body: CreateHybridMonitorNamespaceResponseBody_1.CreateHybridMonitorNamespaceResponseBody,
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (this.headers) {
|
||||
$dara.Model.validateMap(this.headers);
|
||||
}
|
||||
if (this.body && typeof this.body.validate === 'function') {
|
||||
this.body.validate();
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateHybridMonitorNamespaceResponse = CreateHybridMonitorNamespaceResponse;
|
||||
//# sourceMappingURL=CreateHybridMonitorNamespaceResponse.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorNamespaceResponse.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorNamespaceResponse.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CreateHybridMonitorNamespaceResponse.js","sourceRoot":"","sources":["../../src/models/CreateHybridMonitorNamespaceResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,yGAAsG;AAGtG,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAInE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,mFAAwC;SAC/C,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,oFAiCC"}
|
||||
48
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorNamespaceResponseBody.d.ts
generated
vendored
Normal file
48
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorNamespaceResponseBody.d.ts
generated
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
export declare class CreateHybridMonitorNamespaceResponseBody extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The response code.
|
||||
*
|
||||
* @example
|
||||
* Success
|
||||
*/
|
||||
code?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The error message returned.
|
||||
*
|
||||
* @example
|
||||
* Namespace.Existed
|
||||
*/
|
||||
message?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The request ID.
|
||||
*
|
||||
* @example
|
||||
* 3843D23A-FB9E-5DC8-BCCC-458768B79296
|
||||
*/
|
||||
requestId?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* Indicates whether the request was successful. Valid values:
|
||||
*
|
||||
* * true
|
||||
* * false
|
||||
*
|
||||
* @example
|
||||
* true
|
||||
*/
|
||||
success?: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
64
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorNamespaceResponseBody.js
generated
vendored
Normal file
64
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorNamespaceResponseBody.js
generated
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CreateHybridMonitorNamespaceResponseBody = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
class CreateHybridMonitorNamespaceResponseBody extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
code: 'Code',
|
||||
message: 'Message',
|
||||
requestId: 'RequestId',
|
||||
success: 'Success',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
code: 'string',
|
||||
message: 'string',
|
||||
requestId: 'string',
|
||||
success: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateHybridMonitorNamespaceResponseBody = CreateHybridMonitorNamespaceResponseBody;
|
||||
//# sourceMappingURL=CreateHybridMonitorNamespaceResponseBody.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorNamespaceResponseBody.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorNamespaceResponseBody.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CreateHybridMonitorNamespaceResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateHybridMonitorNamespaceResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;IAoCvE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,QAAQ;SAClB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA7DD,4FA6DC"}
|
||||
102
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorSlsgroupRequest.d.ts
generated
vendored
Normal file
102
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorSlsgroupRequest.d.ts
generated
vendored
Normal file
@@ -0,0 +1,102 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
export declare class CreateHybridMonitorSLSGroupRequestSLSGroupConfig extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The Logstore.
|
||||
*
|
||||
* Valid values of N: 1 to 25.
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* Logstore-ECS
|
||||
*/
|
||||
SLSLogstore?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The Simple Log Service project.
|
||||
*
|
||||
* Valid values of N: 1 to 25.
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* aliyun-project
|
||||
*/
|
||||
SLSProject?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The region ID.
|
||||
*
|
||||
* Valid values of N: 1 to 25.
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* cn-hangzhou
|
||||
*/
|
||||
SLSRegion?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The member ID.
|
||||
*
|
||||
* Valid values of N: 1 to 25.
|
||||
*
|
||||
* If you call this operation by using the management account of a resource directory, you can connect the Alibaba Cloud services that are activated for all members in the resource directory to Hybrid Cloud Monitoring. You can use the resource directory to monitor Alibaba Cloud services across enterprise accounts.
|
||||
*
|
||||
* > If a member uses CloudMonitor for the first time, you must make sure that the service-linked role AliyunServiceRoleForCloudMonitor is attached to the member. For more information, see [Manage the service-linked role for CloudMonitor](https://help.aliyun.com/document_detail/170423.html).
|
||||
*
|
||||
* @example
|
||||
* 120886317861****
|
||||
*/
|
||||
SLSUserId?: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
export declare class CreateHybridMonitorSLSGroupRequest extends $dara.Model {
|
||||
regionId?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The configurations of the Logstore group.
|
||||
*
|
||||
* Valid values of N: 1 to 25.
|
||||
*
|
||||
* This parameter is required.
|
||||
*/
|
||||
SLSGroupConfig?: CreateHybridMonitorSLSGroupRequestSLSGroupConfig[];
|
||||
/**
|
||||
* @remarks
|
||||
* The description of the Logstore group.
|
||||
*/
|
||||
SLSGroupDescription?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The name of the Logstore group.
|
||||
*
|
||||
* The name must be 2 to 32 characters in length and can contain uppercase letters, lowercase letters, digits, and underscores (_). The name must start with a letter.
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* Logstore_test
|
||||
*/
|
||||
SLSGroupName?: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
92
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorSlsgroupRequest.js
generated
vendored
Normal file
92
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorSlsgroupRequest.js
generated
vendored
Normal file
@@ -0,0 +1,92 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CreateHybridMonitorSLSGroupRequest = exports.CreateHybridMonitorSLSGroupRequestSLSGroupConfig = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
class CreateHybridMonitorSLSGroupRequestSLSGroupConfig extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
SLSLogstore: 'SLSLogstore',
|
||||
SLSProject: 'SLSProject',
|
||||
SLSRegion: 'SLSRegion',
|
||||
SLSUserId: 'SLSUserId',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
SLSLogstore: 'string',
|
||||
SLSProject: 'string',
|
||||
SLSRegion: 'string',
|
||||
SLSUserId: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateHybridMonitorSLSGroupRequestSLSGroupConfig = CreateHybridMonitorSLSGroupRequestSLSGroupConfig;
|
||||
class CreateHybridMonitorSLSGroupRequest extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
regionId: 'RegionId',
|
||||
SLSGroupConfig: 'SLSGroupConfig',
|
||||
SLSGroupDescription: 'SLSGroupDescription',
|
||||
SLSGroupName: 'SLSGroupName',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
regionId: 'string',
|
||||
SLSGroupConfig: { 'type': 'array', 'itemType': CreateHybridMonitorSLSGroupRequestSLSGroupConfig },
|
||||
SLSGroupDescription: 'string',
|
||||
SLSGroupName: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (Array.isArray(this.SLSGroupConfig)) {
|
||||
$dara.Model.validateArray(this.SLSGroupConfig);
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateHybridMonitorSLSGroupRequest = CreateHybridMonitorSLSGroupRequest;
|
||||
//# sourceMappingURL=CreateHybridMonitorSlsgroupRequest.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorSlsgroupRequest.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorSlsgroupRequest.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CreateHybridMonitorSlsgroupRequest.js","sourceRoot":"","sources":["../../src/models/CreateHybridMonitorSlsgroupRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gDAAiD,SAAQ,KAAK,CAAC,KAAK;IAmD/E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5ED,4GA4EC;AAED,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IA4BjE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,cAAc,EAAE,gBAAgB;YAChC,mBAAmB,EAAE,qBAAqB;YAC1C,YAAY,EAAE,cAAc;SAC7B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,cAAc,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,gDAAgD,EAAE;YACjG,mBAAmB,EAAE,QAAQ;YAC7B,YAAY,EAAE,QAAQ;SACvB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC;YACtC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACjD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxDD,gFAwDC"}
|
||||
19
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorSlsgroupResponse.d.ts
generated
vendored
Normal file
19
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorSlsgroupResponse.d.ts
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
import { CreateHybridMonitorSLSGroupResponseBody } from "./CreateHybridMonitorSlsgroupResponseBody";
|
||||
export declare class CreateHybridMonitorSLSGroupResponse extends $dara.Model {
|
||||
headers?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
statusCode?: number;
|
||||
body?: CreateHybridMonitorSLSGroupResponseBody;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
69
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorSlsgroupResponse.js
generated
vendored
Normal file
69
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorSlsgroupResponse.js
generated
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CreateHybridMonitorSLSGroupResponse = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
const CreateHybridMonitorSlsgroupResponseBody_1 = require("./CreateHybridMonitorSlsgroupResponseBody");
|
||||
class CreateHybridMonitorSLSGroupResponse extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
headers: 'headers',
|
||||
statusCode: 'statusCode',
|
||||
body: 'body',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
||||
statusCode: 'number',
|
||||
body: CreateHybridMonitorSlsgroupResponseBody_1.CreateHybridMonitorSLSGroupResponseBody,
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (this.headers) {
|
||||
$dara.Model.validateMap(this.headers);
|
||||
}
|
||||
if (this.body && typeof this.body.validate === 'function') {
|
||||
this.body.validate();
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.CreateHybridMonitorSLSGroupResponse = CreateHybridMonitorSLSGroupResponse;
|
||||
//# sourceMappingURL=CreateHybridMonitorSlsgroupResponse.js.map
|
||||
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorSlsgroupResponse.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorSlsgroupResponse.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CreateHybridMonitorSlsgroupResponse.js","sourceRoot":"","sources":["../../src/models/CreateHybridMonitorSlsgroupResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,uGAAoG;AAGpG,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAIlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,iFAAuC;SAC9C,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,kFAiCC"}
|
||||
50
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorSlsgroupResponseBody.d.ts
generated
vendored
Normal file
50
backend/node_modules/@alicloud/cms20190101/dist/models/CreateHybridMonitorSlsgroupResponseBody.d.ts
generated
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
export declare class CreateHybridMonitorSLSGroupResponseBody extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The HTTP status code.
|
||||
*
|
||||
* > The status code 200 indicates that the request was successful.
|
||||
*
|
||||
* @example
|
||||
* 200
|
||||
*/
|
||||
code?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The error message.
|
||||
*
|
||||
* @example
|
||||
* Duplicate.SLSGroup
|
||||
*/
|
||||
message?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The request ID.
|
||||
*
|
||||
* @example
|
||||
* 66683237-7126-50F8-BBF8-D67ACC919A17
|
||||
*/
|
||||
requestId?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* Indicates whether the request was successful. Valid values:
|
||||
*
|
||||
* * true
|
||||
* * false
|
||||
*
|
||||
* @example
|
||||
* true
|
||||
*/
|
||||
success?: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user