@alicloud/waf-openapi20211001 5.3.0 → 5.4.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 +105 -0
- package/dist/client.js +416 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateHybridCloudClusterRequest.d.ts +175 -0
- package/dist/models/CreateHybridCloudClusterRequest.js +88 -0
- package/dist/models/CreateHybridCloudClusterRequest.js.map +1 -0
- package/dist/models/CreateHybridCloudClusterResponse.d.ts +19 -0
- package/dist/models/CreateHybridCloudClusterResponse.js +69 -0
- package/dist/models/CreateHybridCloudClusterResponse.js.map +1 -0
- package/dist/models/CreateHybridCloudClusterResponseBody.d.ts +29 -0
- package/dist/models/CreateHybridCloudClusterResponseBody.js +60 -0
- package/dist/models/CreateHybridCloudClusterResponseBody.js.map +1 -0
- package/dist/models/DescribeCommonLogFieldsRequest.d.ts +42 -0
- package/dist/models/DescribeCommonLogFieldsRequest.js +71 -0
- package/dist/models/DescribeCommonLogFieldsRequest.js.map +1 -0
- package/dist/models/DescribeCommonLogFieldsResponse.d.ts +19 -0
- package/dist/models/DescribeCommonLogFieldsResponse.js +69 -0
- package/dist/models/DescribeCommonLogFieldsResponse.js.map +1 -0
- package/dist/models/DescribeCommonLogFieldsResponseBody.d.ts +56 -0
- package/dist/models/DescribeCommonLogFieldsResponseBody.js +90 -0
- package/dist/models/DescribeCommonLogFieldsResponseBody.js.map +1 -0
- package/dist/models/DescribeCommonLogFieldsShrinkRequest.d.ts +42 -0
- package/dist/models/DescribeCommonLogFieldsShrinkRequest.js +68 -0
- package/dist/models/DescribeCommonLogFieldsShrinkRequest.js.map +1 -0
- package/dist/models/DescribeDefenseGroupValidResourcesRequest.d.ts +51 -0
- package/dist/models/DescribeDefenseGroupValidResourcesRequest.js +70 -0
- package/dist/models/DescribeDefenseGroupValidResourcesRequest.js.map +1 -0
- package/dist/models/DescribeDefenseGroupValidResourcesResponse.d.ts +19 -0
- package/dist/models/DescribeDefenseGroupValidResourcesResponse.js +69 -0
- package/dist/models/DescribeDefenseGroupValidResourcesResponse.js.map +1 -0
- package/dist/models/DescribeDefenseGroupValidResourcesResponseBody.d.ts +24 -0
- package/dist/models/DescribeDefenseGroupValidResourcesResponseBody.js +65 -0
- package/dist/models/DescribeDefenseGroupValidResourcesResponseBody.js.map +1 -0
- package/dist/models/DescribeDefenseTemplateValidResourcesRequest.d.ts +59 -0
- package/dist/models/DescribeDefenseTemplateValidResourcesRequest.js +72 -0
- package/dist/models/DescribeDefenseTemplateValidResourcesRequest.js.map +1 -0
- package/dist/models/DescribeDefenseTemplateValidResourcesResponse.d.ts +19 -0
- package/dist/models/DescribeDefenseTemplateValidResourcesResponse.js +69 -0
- package/dist/models/DescribeDefenseTemplateValidResourcesResponse.js.map +1 -0
- package/dist/models/DescribeDefenseTemplateValidResourcesResponseBody.d.ts +24 -0
- package/dist/models/DescribeDefenseTemplateValidResourcesResponseBody.js +65 -0
- package/dist/models/DescribeDefenseTemplateValidResourcesResponseBody.js.map +1 -0
- package/dist/models/DescribeUserLogFieldConfigRequest.d.ts +36 -0
- package/dist/models/DescribeUserLogFieldConfigRequest.js +64 -0
- package/dist/models/DescribeUserLogFieldConfigRequest.js.map +1 -0
- package/dist/models/DescribeUserLogFieldConfigResponse.d.ts +19 -0
- package/dist/models/DescribeUserLogFieldConfigResponse.js +69 -0
- package/dist/models/DescribeUserLogFieldConfigResponse.js.map +1 -0
- package/dist/models/DescribeUserLogFieldConfigResponseBody.d.ts +53 -0
- package/dist/models/DescribeUserLogFieldConfigResponseBody.js +72 -0
- package/dist/models/DescribeUserLogFieldConfigResponseBody.js.map +1 -0
- package/dist/models/ModifyUserLogFieldConfigRequest.d.ts +54 -0
- package/dist/models/ModifyUserLogFieldConfigRequest.js +70 -0
- package/dist/models/ModifyUserLogFieldConfigRequest.js.map +1 -0
- package/dist/models/ModifyUserLogFieldConfigResponse.d.ts +19 -0
- package/dist/models/ModifyUserLogFieldConfigResponse.js +69 -0
- package/dist/models/ModifyUserLogFieldConfigResponse.js.map +1 -0
- package/dist/models/ModifyUserLogFieldConfigResponseBody.d.ts +18 -0
- package/dist/models/ModifyUserLogFieldConfigResponseBody.js +58 -0
- package/dist/models/ModifyUserLogFieldConfigResponseBody.js.map +1 -0
- package/dist/models/ModifyUserWafLogStatusRequest.d.ts +44 -0
- package/dist/models/ModifyUserWafLogStatusRequest.js +66 -0
- package/dist/models/ModifyUserWafLogStatusRequest.js.map +1 -0
- package/dist/models/ModifyUserWafLogStatusResponse.d.ts +19 -0
- package/dist/models/ModifyUserWafLogStatusResponse.js +69 -0
- package/dist/models/ModifyUserWafLogStatusResponse.js.map +1 -0
- package/dist/models/ModifyUserWafLogStatusResponseBody.d.ts +28 -0
- package/dist/models/ModifyUserWafLogStatusResponseBody.js +62 -0
- package/dist/models/ModifyUserWafLogStatusResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +23 -0
- package/dist/models/model.js +62 -15
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +484 -0
- package/src/models/CreateHybridCloudClusterRequest.ts +218 -0
- package/src/models/CreateHybridCloudClusterResponse.ts +40 -0
- package/src/models/CreateHybridCloudClusterResponseBody.ts +44 -0
- package/src/models/DescribeCommonLogFieldsRequest.ts +68 -0
- package/src/models/DescribeCommonLogFieldsResponse.ts +40 -0
- package/src/models/DescribeCommonLogFieldsResponseBody.ts +92 -0
- package/src/models/DescribeCommonLogFieldsShrinkRequest.ts +65 -0
- package/src/models/DescribeDefenseGroupValidResourcesRequest.ts +76 -0
- package/src/models/DescribeDefenseGroupValidResourcesResponse.ts +40 -0
- package/src/models/DescribeDefenseGroupValidResourcesResponseBody.ts +44 -0
- package/src/models/DescribeDefenseTemplateValidResourcesRequest.ts +86 -0
- package/src/models/DescribeDefenseTemplateValidResourcesResponse.ts +40 -0
- package/src/models/DescribeDefenseTemplateValidResourcesResponseBody.ts +44 -0
- package/src/models/DescribeUserLogFieldConfigRequest.ts +55 -0
- package/src/models/DescribeUserLogFieldConfigResponse.ts +40 -0
- package/src/models/DescribeUserLogFieldConfigResponseBody.ts +80 -0
- package/src/models/ModifyUserLogFieldConfigRequest.ts +79 -0
- package/src/models/ModifyUserLogFieldConfigResponse.ts +40 -0
- package/src/models/ModifyUserLogFieldConfigResponseBody.ts +31 -0
- package/src/models/ModifyUserWafLogStatusRequest.ts +65 -0
- package/src/models/ModifyUserWafLogStatusResponse.ts +40 -0
- package/src/models/ModifyUserWafLogStatusResponseBody.ts +45 -0
- package/src/models/model.ts +23 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeDefenseGroupValidResourcesResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* A57BA089-3B28-5C82-8331-7B94****4978
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
resources?: string[];
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* 12
|
|
15
|
+
*/
|
|
16
|
+
totalCount?: number;
|
|
17
|
+
static names(): { [key: string]: string } {
|
|
18
|
+
return {
|
|
19
|
+
requestId: 'RequestId',
|
|
20
|
+
resources: 'Resources',
|
|
21
|
+
totalCount: 'TotalCount',
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
static types(): { [key: string]: any } {
|
|
26
|
+
return {
|
|
27
|
+
requestId: 'string',
|
|
28
|
+
resources: { 'type': 'array', 'itemType': 'string' },
|
|
29
|
+
totalCount: 'number',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
validate() {
|
|
34
|
+
if(Array.isArray(this.resources)) {
|
|
35
|
+
$dara.Model.validateArray(this.resources);
|
|
36
|
+
}
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeDefenseTemplateValidResourcesRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* whitelist
|
|
12
|
+
*/
|
|
13
|
+
defenseScene?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* waf_v3prepaid_public_cn-27a3jyw0v04
|
|
20
|
+
*/
|
|
21
|
+
instanceId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* 2
|
|
25
|
+
*/
|
|
26
|
+
pageNumber?: number;
|
|
27
|
+
/**
|
|
28
|
+
* @example
|
|
29
|
+
* 10
|
|
30
|
+
*/
|
|
31
|
+
pageSize?: number;
|
|
32
|
+
/**
|
|
33
|
+
* @example
|
|
34
|
+
* cn-hangzhou
|
|
35
|
+
*/
|
|
36
|
+
regionId?: string;
|
|
37
|
+
/**
|
|
38
|
+
* @example
|
|
39
|
+
* mgw.realperson.antdigital.com
|
|
40
|
+
*/
|
|
41
|
+
resource?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @example
|
|
44
|
+
* rg-acfm2thcppfv6ay
|
|
45
|
+
*/
|
|
46
|
+
resourceManagerResourceGroupId?: string;
|
|
47
|
+
/**
|
|
48
|
+
* @example
|
|
49
|
+
* 21202
|
|
50
|
+
*/
|
|
51
|
+
templateId?: number;
|
|
52
|
+
static names(): { [key: string]: string } {
|
|
53
|
+
return {
|
|
54
|
+
defenseScene: 'DefenseScene',
|
|
55
|
+
instanceId: 'InstanceId',
|
|
56
|
+
pageNumber: 'PageNumber',
|
|
57
|
+
pageSize: 'PageSize',
|
|
58
|
+
regionId: 'RegionId',
|
|
59
|
+
resource: 'Resource',
|
|
60
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
61
|
+
templateId: 'TemplateId',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
static types(): { [key: string]: any } {
|
|
66
|
+
return {
|
|
67
|
+
defenseScene: 'string',
|
|
68
|
+
instanceId: 'string',
|
|
69
|
+
pageNumber: 'number',
|
|
70
|
+
pageSize: 'number',
|
|
71
|
+
regionId: 'string',
|
|
72
|
+
resource: 'string',
|
|
73
|
+
resourceManagerResourceGroupId: 'string',
|
|
74
|
+
templateId: 'number',
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
validate() {
|
|
79
|
+
super.validate();
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
constructor(map?: { [key: string]: any }) {
|
|
83
|
+
super(map);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeDefenseTemplateValidResourcesResponseBody } from "./DescribeDefenseTemplateValidResourcesResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeDefenseTemplateValidResourcesResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeDefenseTemplateValidResourcesResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DescribeDefenseTemplateValidResourcesResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeDefenseTemplateValidResourcesResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* C54DD36B-6380-57E5-89BA-2642757C4DB8
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
resources?: string[];
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* 34
|
|
15
|
+
*/
|
|
16
|
+
totalCount?: number;
|
|
17
|
+
static names(): { [key: string]: string } {
|
|
18
|
+
return {
|
|
19
|
+
requestId: 'RequestId',
|
|
20
|
+
resources: 'Resources',
|
|
21
|
+
totalCount: 'TotalCount',
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
static types(): { [key: string]: any } {
|
|
26
|
+
return {
|
|
27
|
+
requestId: 'string',
|
|
28
|
+
resources: { 'type': 'array', 'itemType': 'string' },
|
|
29
|
+
totalCount: 'number',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
validate() {
|
|
34
|
+
if(Array.isArray(this.resources)) {
|
|
35
|
+
$dara.Model.validateArray(this.resources);
|
|
36
|
+
}
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeUserLogFieldConfigRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* sls
|
|
9
|
+
*/
|
|
10
|
+
deliveryType?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* This parameter is required.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* waf_v3prepaid_public_cn-0*****
|
|
17
|
+
*/
|
|
18
|
+
instanceId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* cn-hangzhou
|
|
22
|
+
*/
|
|
23
|
+
regionId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @example
|
|
26
|
+
* rg-aek24******
|
|
27
|
+
*/
|
|
28
|
+
resourceManagerResourceGroupId?: string;
|
|
29
|
+
static names(): { [key: string]: string } {
|
|
30
|
+
return {
|
|
31
|
+
deliveryType: 'DeliveryType',
|
|
32
|
+
instanceId: 'InstanceId',
|
|
33
|
+
regionId: 'RegionId',
|
|
34
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
deliveryType: 'string',
|
|
41
|
+
instanceId: 'string',
|
|
42
|
+
regionId: 'string',
|
|
43
|
+
resourceManagerResourceGroupId: 'string',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
validate() {
|
|
48
|
+
super.validate();
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
constructor(map?: { [key: string]: any }) {
|
|
52
|
+
super(map);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeUserLogFieldConfigResponseBody } from "./DescribeUserLogFieldConfigResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeUserLogFieldConfigResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeUserLogFieldConfigResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DescribeUserLogFieldConfigResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeUserLogFieldConfigResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* acl_action,acl_rule_id
|
|
9
|
+
*/
|
|
10
|
+
addList?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* success_finished
|
|
14
|
+
*/
|
|
15
|
+
configStatus?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* waf_rule_id,waf_rule_type
|
|
19
|
+
*/
|
|
20
|
+
delList?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* sls
|
|
24
|
+
*/
|
|
25
|
+
deliveryType?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* {\\"request_header\\":\\"Ali-Cdn-Real-Ip\\"}
|
|
29
|
+
*/
|
|
30
|
+
extendConfig?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* account,acl_action,acl_rule_id,acl_rule_type
|
|
34
|
+
*/
|
|
35
|
+
fieldList?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* [{\\"logType\\":\\"blockLog\\",\\"rate\\":100},{\\"logType\\":\\"normalRequestLog\\",\\"rate\\":100},{\\"logType\\":\\"checkLog\\",\\"rate\\":100}]
|
|
39
|
+
*/
|
|
40
|
+
logDeliveryStrategy?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* 653778B4-4D47-5223-855B-4E******
|
|
44
|
+
*/
|
|
45
|
+
requestId?: string;
|
|
46
|
+
static names(): { [key: string]: string } {
|
|
47
|
+
return {
|
|
48
|
+
addList: 'AddList',
|
|
49
|
+
configStatus: 'ConfigStatus',
|
|
50
|
+
delList: 'DelList',
|
|
51
|
+
deliveryType: 'DeliveryType',
|
|
52
|
+
extendConfig: 'ExtendConfig',
|
|
53
|
+
fieldList: 'FieldList',
|
|
54
|
+
logDeliveryStrategy: 'LogDeliveryStrategy',
|
|
55
|
+
requestId: 'RequestId',
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
static types(): { [key: string]: any } {
|
|
60
|
+
return {
|
|
61
|
+
addList: 'string',
|
|
62
|
+
configStatus: 'string',
|
|
63
|
+
delList: 'string',
|
|
64
|
+
deliveryType: 'string',
|
|
65
|
+
extendConfig: 'string',
|
|
66
|
+
fieldList: 'string',
|
|
67
|
+
logDeliveryStrategy: 'string',
|
|
68
|
+
requestId: 'string',
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
validate() {
|
|
73
|
+
super.validate();
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
constructor(map?: { [key: string]: any }) {
|
|
77
|
+
super(map);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifyUserLogFieldConfigRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* sls
|
|
9
|
+
*/
|
|
10
|
+
deliveryType?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* {\\"request_header\\":\\"App-Id,channelCode\\"}
|
|
14
|
+
*/
|
|
15
|
+
extendConfig?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* This parameter is required.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* account,acl_action,acl_rule_id,acl_rule_type,acl_test,antiscan_action,antiscan_rule_id,antiscan_rule_type,antiscan_test,body_bytes_sent,bypass_matched_ids
|
|
22
|
+
*/
|
|
23
|
+
fieldList?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* This parameter is required.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* waf_v2_public_cn-fou****
|
|
30
|
+
*/
|
|
31
|
+
instanceId?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @example
|
|
34
|
+
* [{\\"logType\\":\\"blockLog\\",\\"rate\\":100},{\\"logType\\":\\"normalRequestLog\\",\\"rate\\":100},{\\"logType\\":\\"checkLog\\",\\"rate\\":100}]
|
|
35
|
+
*/
|
|
36
|
+
logDeliveryStrategy?: string;
|
|
37
|
+
/**
|
|
38
|
+
* @example
|
|
39
|
+
* cn-hangzhou
|
|
40
|
+
*/
|
|
41
|
+
regionId?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @example
|
|
44
|
+
* rg-acfm***q
|
|
45
|
+
*/
|
|
46
|
+
resourceManagerResourceGroupId?: string;
|
|
47
|
+
static names(): { [key: string]: string } {
|
|
48
|
+
return {
|
|
49
|
+
deliveryType: 'DeliveryType',
|
|
50
|
+
extendConfig: 'ExtendConfig',
|
|
51
|
+
fieldList: 'FieldList',
|
|
52
|
+
instanceId: 'InstanceId',
|
|
53
|
+
logDeliveryStrategy: 'LogDeliveryStrategy',
|
|
54
|
+
regionId: 'RegionId',
|
|
55
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
static types(): { [key: string]: any } {
|
|
60
|
+
return {
|
|
61
|
+
deliveryType: 'string',
|
|
62
|
+
extendConfig: 'string',
|
|
63
|
+
fieldList: 'string',
|
|
64
|
+
instanceId: 'string',
|
|
65
|
+
logDeliveryStrategy: 'string',
|
|
66
|
+
regionId: 'string',
|
|
67
|
+
resourceManagerResourceGroupId: 'string',
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
validate() {
|
|
72
|
+
super.validate();
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
constructor(map?: { [key: string]: any }) {
|
|
76
|
+
super(map);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ModifyUserLogFieldConfigResponseBody } from "./ModifyUserLogFieldConfigResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ModifyUserLogFieldConfigResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ModifyUserLogFieldConfigResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: ModifyUserLogFieldConfigResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifyUserLogFieldConfigResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* E2D63742-9BAA-*****
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
requestId: 'RequestId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
requestId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifyUserWafLogStatusRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* waf-cn-mp9153****
|
|
12
|
+
*/
|
|
13
|
+
instanceId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* cn-beijing
|
|
17
|
+
*/
|
|
18
|
+
logRegionId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* This parameter is required.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* 1
|
|
25
|
+
*/
|
|
26
|
+
logStatus?: number;
|
|
27
|
+
/**
|
|
28
|
+
* @example
|
|
29
|
+
* cn-hangzhou
|
|
30
|
+
*/
|
|
31
|
+
regionId?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @example
|
|
34
|
+
* rg-acfm***q
|
|
35
|
+
*/
|
|
36
|
+
resourceManagerResourceGroupId?: string;
|
|
37
|
+
static names(): { [key: string]: string } {
|
|
38
|
+
return {
|
|
39
|
+
instanceId: 'InstanceId',
|
|
40
|
+
logRegionId: 'LogRegionId',
|
|
41
|
+
logStatus: 'LogStatus',
|
|
42
|
+
regionId: 'RegionId',
|
|
43
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
instanceId: 'string',
|
|
50
|
+
logRegionId: 'string',
|
|
51
|
+
logStatus: 'number',
|
|
52
|
+
regionId: 'string',
|
|
53
|
+
resourceManagerResourceGroupId: 'string',
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
validate() {
|
|
58
|
+
super.validate();
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
constructor(map?: { [key: string]: any }) {
|
|
62
|
+
super(map);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ModifyUserWafLogStatusResponseBody } from "./ModifyUserWafLogStatusResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ModifyUserWafLogStatusResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ModifyUserWafLogStatusResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: ModifyUserWafLogStatusResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifyUserWafLogStatusResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* wafng-logstore
|
|
9
|
+
*/
|
|
10
|
+
logStoreName?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* wafng-project-14316572********-cn-hangzhou
|
|
14
|
+
*/
|
|
15
|
+
projectName?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* D7861F61-5B61-****-A47C-6B19160*****
|
|
19
|
+
*/
|
|
20
|
+
requestId?: string;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
logStoreName: 'LogStoreName',
|
|
24
|
+
projectName: 'ProjectName',
|
|
25
|
+
requestId: 'RequestId',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
logStoreName: 'string',
|
|
32
|
+
projectName: 'boolean',
|
|
33
|
+
requestId: 'string',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|