@alicloud/esa20240910 2.38.0 → 2.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +108 -32
- package/dist/client.js +279 -32
- package/dist/client.js.map +1 -1
- package/dist/models/CreateEdgeContainerAppImageSecretRequest.d.ts +8 -0
- package/dist/models/CreateEdgeContainerAppImageSecretRequest.js.map +1 -1
- package/dist/models/CreateEdgeContainerAppImageSecretResponseBody.d.ts +3 -0
- package/dist/models/CreateEdgeContainerAppImageSecretResponseBody.js.map +1 -1
- package/dist/models/DeleteEdgeContainerAppImageSecretRequest.d.ts +4 -0
- package/dist/models/DeleteEdgeContainerAppImageSecretRequest.js.map +1 -1
- package/dist/models/DeleteEdgeContainerAppImageSecretResponseBody.d.ts +3 -0
- package/dist/models/DeleteEdgeContainerAppImageSecretResponseBody.js.map +1 -1
- package/dist/models/DeleteHttpDdoSintelligentRuleRequest.d.ts +6 -0
- package/dist/models/DeleteHttpDdoSintelligentRuleRequest.js.map +1 -1
- package/dist/models/DeleteHttpDdoSintelligentRuleResponseBody.d.ts +10 -1
- package/dist/models/DeleteHttpDdoSintelligentRuleResponseBody.js.map +1 -1
- package/dist/models/DeleteUserWafRulesetRequest.d.ts +4 -0
- package/dist/models/DeleteUserWafRulesetRequest.js.map +1 -1
- package/dist/models/DeleteUserWafRulesetResponseBody.d.ts +3 -0
- package/dist/models/DeleteUserWafRulesetResponseBody.js.map +1 -1
- package/dist/models/DescribeDdosMaxBurstGbpsRequest.d.ts +21 -0
- package/dist/models/DescribeDdosMaxBurstGbpsRequest.js +58 -0
- package/dist/models/DescribeDdosMaxBurstGbpsRequest.js.map +1 -0
- package/dist/models/DescribeDdosMaxBurstGbpsResponse.d.ts +19 -0
- package/dist/models/DescribeDdosMaxBurstGbpsResponse.js +69 -0
- package/dist/models/DescribeDdosMaxBurstGbpsResponse.js.map +1 -0
- package/dist/models/DescribeDdosMaxBurstGbpsResponseBody.d.ts +31 -0
- package/dist/models/DescribeDdosMaxBurstGbpsResponseBody.js +62 -0
- package/dist/models/DescribeDdosMaxBurstGbpsResponseBody.js.map +1 -0
- package/dist/models/DescribeHttpDdoSattackRulesRequest.d.ts +34 -0
- package/dist/models/DescribeHttpDdoSattackRulesRequest.js +62 -0
- package/dist/models/DescribeHttpDdoSattackRulesRequest.js.map +1 -0
- package/dist/models/DescribeHttpDdoSattackRulesResponse.d.ts +19 -0
- package/dist/models/DescribeHttpDdoSattackRulesResponse.js +69 -0
- package/dist/models/DescribeHttpDdoSattackRulesResponse.js.map +1 -0
- package/dist/models/DescribeHttpDdoSattackRulesResponseBody.d.ts +89 -0
- package/dist/models/DescribeHttpDdoSattackRulesResponseBody.js +102 -0
- package/dist/models/DescribeHttpDdoSattackRulesResponseBody.js.map +1 -0
- package/dist/models/DescribeHttpDdoSintelligentAclRulesRequest.d.ts +39 -0
- package/dist/models/DescribeHttpDdoSintelligentAclRulesRequest.js +64 -0
- package/dist/models/DescribeHttpDdoSintelligentAclRulesRequest.js.map +1 -0
- package/dist/models/DescribeHttpDdoSintelligentAclRulesResponse.d.ts +19 -0
- package/dist/models/DescribeHttpDdoSintelligentAclRulesResponse.js +69 -0
- package/dist/models/DescribeHttpDdoSintelligentAclRulesResponse.js.map +1 -0
- package/dist/models/DescribeHttpDdoSintelligentAclRulesResponseBody.d.ts +84 -0
- package/dist/models/DescribeHttpDdoSintelligentAclRulesResponseBody.js +100 -0
- package/dist/models/DescribeHttpDdoSintelligentAclRulesResponseBody.js.map +1 -0
- package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesRequest.d.ts +39 -0
- package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesRequest.js +64 -0
- package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesRequest.js.map +1 -0
- package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesResponse.d.ts +19 -0
- package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesResponse.js +69 -0
- package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesResponse.js.map +1 -0
- package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesResponseBody.d.ts +94 -0
- package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesResponseBody.js +104 -0
- package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesResponseBody.js.map +1 -0
- package/dist/models/GetEdgeContainerAppResourceCapacityRequest.d.ts +2 -0
- package/dist/models/GetEdgeContainerAppResourceCapacityRequest.js.map +1 -1
- package/dist/models/GetEdgeContainerAppResourceCapacityResponseBody.d.ts +60 -0
- package/dist/models/GetEdgeContainerAppResourceCapacityResponseBody.js.map +1 -1
- package/dist/models/GetKvDetailRequest.d.ts +33 -0
- package/dist/models/GetKvDetailRequest.js +60 -0
- package/dist/models/GetKvDetailRequest.js.map +1 -0
- package/dist/models/GetKvDetailResponse.d.ts +19 -0
- package/dist/models/GetKvDetailResponse.js +69 -0
- package/dist/models/GetKvDetailResponse.js.map +1 -0
- package/dist/models/GetKvDetailResponseBody.d.ts +37 -0
- package/dist/models/GetKvDetailResponseBody.js +62 -0
- package/dist/models/GetKvDetailResponseBody.js.map +1 -0
- package/dist/models/ListEdgeContainerAppImageSecretsRequest.d.ts +2 -0
- package/dist/models/ListEdgeContainerAppImageSecretsRequest.js.map +1 -1
- package/dist/models/ListEdgeContainerAppImageSecretsResponseBody.d.ts +16 -0
- package/dist/models/ListEdgeContainerAppImageSecretsResponseBody.js.map +1 -1
- package/dist/models/SetDdosMaxBurstGbpsRequest.d.ts +29 -0
- package/dist/models/SetDdosMaxBurstGbpsRequest.js +60 -0
- package/dist/models/SetDdosMaxBurstGbpsRequest.js.map +1 -0
- package/dist/models/SetDdosMaxBurstGbpsResponse.d.ts +19 -0
- package/dist/models/SetDdosMaxBurstGbpsResponse.js +69 -0
- package/dist/models/SetDdosMaxBurstGbpsResponse.js.map +1 -0
- package/dist/models/SetDdosMaxBurstGbpsResponseBody.d.ts +18 -0
- package/dist/models/SetDdosMaxBurstGbpsResponseBody.js +58 -0
- package/dist/models/SetDdosMaxBurstGbpsResponseBody.js.map +1 -0
- package/dist/models/SetHttpDdoSattackRuleActionRequest.d.ts +13 -0
- package/dist/models/SetHttpDdoSattackRuleActionRequest.js.map +1 -1
- package/dist/models/SetHttpDdoSattackRuleActionResponseBody.d.ts +1 -1
- package/dist/models/SetHttpDdoSattackRuleStatusRequest.d.ts +10 -0
- package/dist/models/SetHttpDdoSattackRuleStatusRequest.js.map +1 -1
- package/dist/models/SetHttpDdoSattackRuleStatusResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +21 -0
- package/dist/models/model.js +72 -29
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +306 -32
- package/src/models/CreateEdgeContainerAppImageSecretRequest.ts +8 -0
- package/src/models/CreateEdgeContainerAppImageSecretResponseBody.ts +3 -0
- package/src/models/DeleteEdgeContainerAppImageSecretRequest.ts +4 -0
- package/src/models/DeleteEdgeContainerAppImageSecretResponseBody.ts +3 -0
- package/src/models/DeleteHttpDdoSintelligentRuleRequest.ts +6 -0
- package/src/models/DeleteHttpDdoSintelligentRuleResponseBody.ts +10 -1
- package/src/models/DeleteUserWafRulesetRequest.ts +4 -0
- package/src/models/DeleteUserWafRulesetResponseBody.ts +3 -0
- package/src/models/DescribeDdosMaxBurstGbpsRequest.ts +34 -0
- package/src/models/DescribeDdosMaxBurstGbpsResponse.ts +40 -0
- package/src/models/DescribeDdosMaxBurstGbpsResponseBody.ts +48 -0
- package/src/models/DescribeHttpDdoSattackRulesRequest.ts +51 -0
- package/src/models/DescribeHttpDdoSattackRulesResponse.ts +40 -0
- package/src/models/DescribeHttpDdoSattackRulesResponseBody.ts +137 -0
- package/src/models/DescribeHttpDdoSintelligentAclRulesRequest.ts +58 -0
- package/src/models/DescribeHttpDdoSintelligentAclRulesResponse.ts +40 -0
- package/src/models/DescribeHttpDdoSintelligentAclRulesResponseBody.ts +130 -0
- package/src/models/DescribeHttpDdoSintelligentRateLimitRulesRequest.ts +58 -0
- package/src/models/DescribeHttpDdoSintelligentRateLimitRulesResponse.ts +40 -0
- package/src/models/DescribeHttpDdoSintelligentRateLimitRulesResponseBody.ts +144 -0
- package/src/models/GetEdgeContainerAppResourceCapacityRequest.ts +2 -0
- package/src/models/GetEdgeContainerAppResourceCapacityResponseBody.ts +60 -0
- package/src/models/GetKvDetailRequest.ts +48 -0
- package/src/models/GetKvDetailResponse.ts +40 -0
- package/src/models/GetKvDetailResponseBody.ts +54 -0
- package/src/models/ListEdgeContainerAppImageSecretsRequest.ts +2 -0
- package/src/models/ListEdgeContainerAppImageSecretsResponseBody.ts +16 -0
- package/src/models/SetDdosMaxBurstGbpsRequest.ts +44 -0
- package/src/models/SetDdosMaxBurstGbpsResponse.ts +40 -0
- package/src/models/SetDdosMaxBurstGbpsResponseBody.ts +31 -0
- package/src/models/SetHttpDdoSattackRuleActionRequest.ts +13 -0
- package/src/models/SetHttpDdoSattackRuleActionResponseBody.ts +1 -1
- package/src/models/SetHttpDdoSattackRuleStatusRequest.ts +10 -0
- package/src/models/SetHttpDdoSattackRuleStatusResponseBody.ts +1 -1
- package/src/models/model.ts +21 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.DescribeHttpDDoSAttackRulesResponse = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const DescribeHttpDdoSattackRulesResponseBody_1 = require("./DescribeHttpDdoSattackRulesResponseBody");
|
|
40
|
+
class DescribeHttpDDoSAttackRulesResponse extends $dara.Model {
|
|
41
|
+
static names() {
|
|
42
|
+
return {
|
|
43
|
+
headers: 'headers',
|
|
44
|
+
statusCode: 'statusCode',
|
|
45
|
+
body: 'body',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static types() {
|
|
49
|
+
return {
|
|
50
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
51
|
+
statusCode: 'number',
|
|
52
|
+
body: DescribeHttpDdoSattackRulesResponseBody_1.DescribeHttpDDoSAttackRulesResponseBody,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
validate() {
|
|
56
|
+
if (this.headers) {
|
|
57
|
+
$dara.Model.validateMap(this.headers);
|
|
58
|
+
}
|
|
59
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
60
|
+
this.body.validate();
|
|
61
|
+
}
|
|
62
|
+
super.validate();
|
|
63
|
+
}
|
|
64
|
+
constructor(map) {
|
|
65
|
+
super(map);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.DescribeHttpDDoSAttackRulesResponse = DescribeHttpDDoSAttackRulesResponse;
|
|
69
|
+
//# sourceMappingURL=DescribeHttpDdoSattackRulesResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribeHttpDdoSattackRulesResponse.js","sourceRoot":"","sources":["../../src/models/DescribeHttpDdoSattackRulesResponse.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"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class DescribeHttpDDoSAttackRulesResponseBodyRuleInfos extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @example
|
|
5
|
+
* deny
|
|
6
|
+
*/
|
|
7
|
+
action?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* deny
|
|
11
|
+
*/
|
|
12
|
+
defaultAction?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* 100010
|
|
16
|
+
*/
|
|
17
|
+
logRuleId?: number;
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* The HTTP request\\"s Accept header contains invalid features#1
|
|
21
|
+
*/
|
|
22
|
+
ruleDesc?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @example
|
|
25
|
+
* 20203578
|
|
26
|
+
*/
|
|
27
|
+
ruleId?: number;
|
|
28
|
+
/**
|
|
29
|
+
* @example
|
|
30
|
+
* global_01_s
|
|
31
|
+
*/
|
|
32
|
+
ruleIdInfo?: string;
|
|
33
|
+
/**
|
|
34
|
+
* @example
|
|
35
|
+
* Illegal request。
|
|
36
|
+
*/
|
|
37
|
+
ruleName?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @example
|
|
40
|
+
* on
|
|
41
|
+
*/
|
|
42
|
+
status?: string;
|
|
43
|
+
static names(): {
|
|
44
|
+
[key: string]: string;
|
|
45
|
+
};
|
|
46
|
+
static types(): {
|
|
47
|
+
[key: string]: any;
|
|
48
|
+
};
|
|
49
|
+
validate(): void;
|
|
50
|
+
constructor(map?: {
|
|
51
|
+
[key: string]: any;
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
export declare class DescribeHttpDDoSAttackRulesResponseBody extends $dara.Model {
|
|
55
|
+
/**
|
|
56
|
+
* @example
|
|
57
|
+
* 1
|
|
58
|
+
*/
|
|
59
|
+
pageNumber?: number;
|
|
60
|
+
/**
|
|
61
|
+
* @example
|
|
62
|
+
* 10
|
|
63
|
+
*/
|
|
64
|
+
pageSize?: number;
|
|
65
|
+
/**
|
|
66
|
+
* @remarks
|
|
67
|
+
* Id of the request
|
|
68
|
+
*
|
|
69
|
+
* @example
|
|
70
|
+
* D4030CD2-0D9D-5E92-B358-421AE58307C6
|
|
71
|
+
*/
|
|
72
|
+
requestId?: string;
|
|
73
|
+
ruleInfos?: DescribeHttpDDoSAttackRulesResponseBodyRuleInfos[];
|
|
74
|
+
/**
|
|
75
|
+
* @example
|
|
76
|
+
* 100
|
|
77
|
+
*/
|
|
78
|
+
totalCount?: number;
|
|
79
|
+
static names(): {
|
|
80
|
+
[key: string]: string;
|
|
81
|
+
};
|
|
82
|
+
static types(): {
|
|
83
|
+
[key: string]: any;
|
|
84
|
+
};
|
|
85
|
+
validate(): void;
|
|
86
|
+
constructor(map?: {
|
|
87
|
+
[key: string]: any;
|
|
88
|
+
});
|
|
89
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.DescribeHttpDDoSAttackRulesResponseBody = exports.DescribeHttpDDoSAttackRulesResponseBodyRuleInfos = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class DescribeHttpDDoSAttackRulesResponseBodyRuleInfos extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
action: 'Action',
|
|
43
|
+
defaultAction: 'DefaultAction',
|
|
44
|
+
logRuleId: 'LogRuleId',
|
|
45
|
+
ruleDesc: 'RuleDesc',
|
|
46
|
+
ruleId: 'RuleId',
|
|
47
|
+
ruleIdInfo: 'RuleIdInfo',
|
|
48
|
+
ruleName: 'RuleName',
|
|
49
|
+
status: 'Status',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
static types() {
|
|
53
|
+
return {
|
|
54
|
+
action: 'string',
|
|
55
|
+
defaultAction: 'string',
|
|
56
|
+
logRuleId: 'number',
|
|
57
|
+
ruleDesc: 'string',
|
|
58
|
+
ruleId: 'number',
|
|
59
|
+
ruleIdInfo: 'string',
|
|
60
|
+
ruleName: 'string',
|
|
61
|
+
status: 'string',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
validate() {
|
|
65
|
+
super.validate();
|
|
66
|
+
}
|
|
67
|
+
constructor(map) {
|
|
68
|
+
super(map);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
exports.DescribeHttpDDoSAttackRulesResponseBodyRuleInfos = DescribeHttpDDoSAttackRulesResponseBodyRuleInfos;
|
|
72
|
+
class DescribeHttpDDoSAttackRulesResponseBody extends $dara.Model {
|
|
73
|
+
static names() {
|
|
74
|
+
return {
|
|
75
|
+
pageNumber: 'PageNumber',
|
|
76
|
+
pageSize: 'PageSize',
|
|
77
|
+
requestId: 'RequestId',
|
|
78
|
+
ruleInfos: 'RuleInfos',
|
|
79
|
+
totalCount: 'TotalCount',
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
static types() {
|
|
83
|
+
return {
|
|
84
|
+
pageNumber: 'number',
|
|
85
|
+
pageSize: 'number',
|
|
86
|
+
requestId: 'string',
|
|
87
|
+
ruleInfos: { 'type': 'array', 'itemType': DescribeHttpDDoSAttackRulesResponseBodyRuleInfos },
|
|
88
|
+
totalCount: 'number',
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
validate() {
|
|
92
|
+
if (Array.isArray(this.ruleInfos)) {
|
|
93
|
+
$dara.Model.validateArray(this.ruleInfos);
|
|
94
|
+
}
|
|
95
|
+
super.validate();
|
|
96
|
+
}
|
|
97
|
+
constructor(map) {
|
|
98
|
+
super(map);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
exports.DescribeHttpDDoSAttackRulesResponseBody = DescribeHttpDDoSAttackRulesResponseBody;
|
|
102
|
+
//# sourceMappingURL=DescribeHttpDdoSattackRulesResponseBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribeHttpDdoSattackRulesResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeHttpDdoSattackRulesResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gDAAiD,SAAQ,KAAK,CAAC,KAAK;IAyC/E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,eAAe;YAC9B,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,QAAQ;YACvB,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;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;AA1ED,4GA0EC;AAED,MAAa,uCAAwC,SAAQ,KAAK,CAAC,KAAK;IAyBtE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;YACtB,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,gDAAgD,EAAE;YAC5F,UAAU,EAAE,QAAQ;SACrB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;YACjC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC5C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvDD,0FAuDC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class DescribeHttpDDoSIntelligentAclRulesRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* This parameter is required.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* 1
|
|
9
|
+
*/
|
|
10
|
+
pageNumber?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 10
|
|
14
|
+
*/
|
|
15
|
+
pageSize?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* acl
|
|
19
|
+
*/
|
|
20
|
+
ruleType?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @remarks
|
|
23
|
+
* This parameter is required.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* 5407498413****
|
|
27
|
+
*/
|
|
28
|
+
siteId?: number;
|
|
29
|
+
static names(): {
|
|
30
|
+
[key: string]: string;
|
|
31
|
+
};
|
|
32
|
+
static types(): {
|
|
33
|
+
[key: string]: any;
|
|
34
|
+
};
|
|
35
|
+
validate(): void;
|
|
36
|
+
constructor(map?: {
|
|
37
|
+
[key: string]: any;
|
|
38
|
+
});
|
|
39
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.DescribeHttpDDoSIntelligentAclRulesRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class DescribeHttpDDoSIntelligentAclRulesRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
pageNumber: 'PageNumber',
|
|
43
|
+
pageSize: 'PageSize',
|
|
44
|
+
ruleType: 'RuleType',
|
|
45
|
+
siteId: 'SiteId',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static types() {
|
|
49
|
+
return {
|
|
50
|
+
pageNumber: 'number',
|
|
51
|
+
pageSize: 'number',
|
|
52
|
+
ruleType: 'string',
|
|
53
|
+
siteId: 'number',
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
validate() {
|
|
57
|
+
super.validate();
|
|
58
|
+
}
|
|
59
|
+
constructor(map) {
|
|
60
|
+
super(map);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
exports.DescribeHttpDDoSIntelligentAclRulesRequest = DescribeHttpDDoSIntelligentAclRulesRequest;
|
|
64
|
+
//# sourceMappingURL=DescribeHttpDdoSintelligentAclRulesRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribeHttpDdoSintelligentAclRulesRequest.js","sourceRoot":"","sources":["../../src/models/DescribeHttpDdoSintelligentAclRulesRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,0CAA2C,SAAQ,KAAK,CAAC,KAAK;IA2BzE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;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;AApDD,gGAoDC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { DescribeHttpDDoSIntelligentAclRulesResponseBody } from "./DescribeHttpDdoSintelligentAclRulesResponseBody";
|
|
3
|
+
export declare class DescribeHttpDDoSIntelligentAclRulesResponse extends $dara.Model {
|
|
4
|
+
headers?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
statusCode?: number;
|
|
8
|
+
body?: DescribeHttpDDoSIntelligentAclRulesResponseBody;
|
|
9
|
+
static names(): {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
static types(): {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
15
|
+
validate(): void;
|
|
16
|
+
constructor(map?: {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.DescribeHttpDDoSIntelligentAclRulesResponse = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const DescribeHttpDdoSintelligentAclRulesResponseBody_1 = require("./DescribeHttpDdoSintelligentAclRulesResponseBody");
|
|
40
|
+
class DescribeHttpDDoSIntelligentAclRulesResponse extends $dara.Model {
|
|
41
|
+
static names() {
|
|
42
|
+
return {
|
|
43
|
+
headers: 'headers',
|
|
44
|
+
statusCode: 'statusCode',
|
|
45
|
+
body: 'body',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static types() {
|
|
49
|
+
return {
|
|
50
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
51
|
+
statusCode: 'number',
|
|
52
|
+
body: DescribeHttpDdoSintelligentAclRulesResponseBody_1.DescribeHttpDDoSIntelligentAclRulesResponseBody,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
validate() {
|
|
56
|
+
if (this.headers) {
|
|
57
|
+
$dara.Model.validateMap(this.headers);
|
|
58
|
+
}
|
|
59
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
60
|
+
this.body.validate();
|
|
61
|
+
}
|
|
62
|
+
super.validate();
|
|
63
|
+
}
|
|
64
|
+
constructor(map) {
|
|
65
|
+
super(map);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.DescribeHttpDDoSIntelligentAclRulesResponse = DescribeHttpDDoSIntelligentAclRulesResponse;
|
|
69
|
+
//# sourceMappingURL=DescribeHttpDdoSintelligentAclRulesResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribeHttpDdoSintelligentAclRulesResponse.js","sourceRoot":"","sources":["../../src/models/DescribeHttpDdoSintelligentAclRulesResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,uHAAoH;AAGpH,MAAa,2CAA4C,SAAQ,KAAK,CAAC,KAAK;IAI1E,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,iGAA+C;SACtD,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,kGAiCC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class DescribeHttpDDoSIntelligentAclRulesResponseBodyRuleInfos extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @example
|
|
5
|
+
* deny
|
|
6
|
+
*/
|
|
7
|
+
action?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* {"$and":[{"key":"URI","opValue":"prefix-match","values":"/"}]}
|
|
11
|
+
*/
|
|
12
|
+
condition?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* 1000030
|
|
16
|
+
*/
|
|
17
|
+
logRuleId?: number;
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* 1800
|
|
21
|
+
*/
|
|
22
|
+
punishTime?: number;
|
|
23
|
+
/**
|
|
24
|
+
* @example
|
|
25
|
+
* test.example.com
|
|
26
|
+
*/
|
|
27
|
+
recordName?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @example
|
|
30
|
+
* 20569929
|
|
31
|
+
*/
|
|
32
|
+
ruleId?: number;
|
|
33
|
+
/**
|
|
34
|
+
* @example
|
|
35
|
+
* smart_cc_***
|
|
36
|
+
*/
|
|
37
|
+
ruleName?: string;
|
|
38
|
+
static names(): {
|
|
39
|
+
[key: string]: string;
|
|
40
|
+
};
|
|
41
|
+
static types(): {
|
|
42
|
+
[key: string]: any;
|
|
43
|
+
};
|
|
44
|
+
validate(): void;
|
|
45
|
+
constructor(map?: {
|
|
46
|
+
[key: string]: any;
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
export declare class DescribeHttpDDoSIntelligentAclRulesResponseBody extends $dara.Model {
|
|
50
|
+
/**
|
|
51
|
+
* @example
|
|
52
|
+
* 1
|
|
53
|
+
*/
|
|
54
|
+
pageNumber?: number;
|
|
55
|
+
/**
|
|
56
|
+
* @example
|
|
57
|
+
* 10
|
|
58
|
+
*/
|
|
59
|
+
pageSize?: number;
|
|
60
|
+
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* Id of the request
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* 0AEDAF20-4DDF-4165-8750-47FF9C1929C9
|
|
66
|
+
*/
|
|
67
|
+
requestId?: string;
|
|
68
|
+
ruleInfos?: DescribeHttpDDoSIntelligentAclRulesResponseBodyRuleInfos[];
|
|
69
|
+
/**
|
|
70
|
+
* @example
|
|
71
|
+
* 100
|
|
72
|
+
*/
|
|
73
|
+
totalCount?: number;
|
|
74
|
+
static names(): {
|
|
75
|
+
[key: string]: string;
|
|
76
|
+
};
|
|
77
|
+
static types(): {
|
|
78
|
+
[key: string]: any;
|
|
79
|
+
};
|
|
80
|
+
validate(): void;
|
|
81
|
+
constructor(map?: {
|
|
82
|
+
[key: string]: any;
|
|
83
|
+
});
|
|
84
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.DescribeHttpDDoSIntelligentAclRulesResponseBody = exports.DescribeHttpDDoSIntelligentAclRulesResponseBodyRuleInfos = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class DescribeHttpDDoSIntelligentAclRulesResponseBodyRuleInfos extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
action: 'Action',
|
|
43
|
+
condition: 'Condition',
|
|
44
|
+
logRuleId: 'LogRuleId',
|
|
45
|
+
punishTime: 'PunishTime',
|
|
46
|
+
recordName: 'RecordName',
|
|
47
|
+
ruleId: 'RuleId',
|
|
48
|
+
ruleName: 'RuleName',
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
static types() {
|
|
52
|
+
return {
|
|
53
|
+
action: 'string',
|
|
54
|
+
condition: 'string',
|
|
55
|
+
logRuleId: 'number',
|
|
56
|
+
punishTime: 'number',
|
|
57
|
+
recordName: 'string',
|
|
58
|
+
ruleId: 'number',
|
|
59
|
+
ruleName: 'string',
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
validate() {
|
|
63
|
+
super.validate();
|
|
64
|
+
}
|
|
65
|
+
constructor(map) {
|
|
66
|
+
super(map);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.DescribeHttpDDoSIntelligentAclRulesResponseBodyRuleInfos = DescribeHttpDDoSIntelligentAclRulesResponseBodyRuleInfos;
|
|
70
|
+
class DescribeHttpDDoSIntelligentAclRulesResponseBody extends $dara.Model {
|
|
71
|
+
static names() {
|
|
72
|
+
return {
|
|
73
|
+
pageNumber: 'PageNumber',
|
|
74
|
+
pageSize: 'PageSize',
|
|
75
|
+
requestId: 'RequestId',
|
|
76
|
+
ruleInfos: 'RuleInfos',
|
|
77
|
+
totalCount: 'TotalCount',
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
static types() {
|
|
81
|
+
return {
|
|
82
|
+
pageNumber: 'number',
|
|
83
|
+
pageSize: 'number',
|
|
84
|
+
requestId: 'string',
|
|
85
|
+
ruleInfos: { 'type': 'array', 'itemType': DescribeHttpDDoSIntelligentAclRulesResponseBodyRuleInfos },
|
|
86
|
+
totalCount: 'number',
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
validate() {
|
|
90
|
+
if (Array.isArray(this.ruleInfos)) {
|
|
91
|
+
$dara.Model.validateArray(this.ruleInfos);
|
|
92
|
+
}
|
|
93
|
+
super.validate();
|
|
94
|
+
}
|
|
95
|
+
constructor(map) {
|
|
96
|
+
super(map);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
exports.DescribeHttpDDoSIntelligentAclRulesResponseBody = DescribeHttpDDoSIntelligentAclRulesResponseBody;
|
|
100
|
+
//# sourceMappingURL=DescribeHttpDdoSintelligentAclRulesResponseBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribeHttpDdoSintelligentAclRulesResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeHttpDdoSintelligentAclRulesResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wDAAyD,SAAQ,KAAK,CAAC,KAAK;IAoCvF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;YACtB,UAAU,EAAE,YAAY;YACxB,UAAU,EAAE,YAAY;YACxB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE,QAAQ;YACpB,UAAU,EAAE,QAAQ;YACpB,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;AAnED,4HAmEC;AAED,MAAa,+CAAgD,SAAQ,KAAK,CAAC,KAAK;IAyB9E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;YACtB,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,wDAAwD,EAAE;YACpG,UAAU,EAAE,QAAQ;SACrB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;YACjC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC5C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvDD,0GAuDC"}
|