@alicloud/waf-openapi20211001 5.6.0 → 5.7.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 +225 -0
- package/dist/client.js +795 -24
- package/dist/client.js.map +1 -1
- package/dist/models/CreateLogDeliveryConfigRequest.d.ts +76 -0
- package/dist/models/CreateLogDeliveryConfigRequest.js +68 -0
- package/dist/models/CreateLogDeliveryConfigRequest.js.map +1 -0
- package/dist/models/CreateLogDeliveryConfigResponse.d.ts +19 -0
- package/dist/models/CreateLogDeliveryConfigResponse.js +69 -0
- package/dist/models/CreateLogDeliveryConfigResponse.js.map +1 -0
- package/dist/models/CreateLogDeliveryConfigResponseBody.d.ts +29 -0
- package/dist/models/CreateLogDeliveryConfigResponseBody.js +60 -0
- package/dist/models/CreateLogDeliveryConfigResponseBody.js.map +1 -0
- package/dist/models/DeleteHybridCloudGroupRequest.d.ts +47 -0
- package/dist/models/DeleteHybridCloudGroupRequest.js +66 -0
- package/dist/models/DeleteHybridCloudGroupRequest.js.map +1 -0
- package/dist/models/DeleteHybridCloudGroupResponse.d.ts +19 -0
- package/dist/models/DeleteHybridCloudGroupResponse.js +69 -0
- package/dist/models/DeleteHybridCloudGroupResponse.js.map +1 -0
- package/dist/models/DeleteHybridCloudGroupResponseBody.d.ts +18 -0
- package/dist/models/DeleteHybridCloudGroupResponseBody.js +58 -0
- package/dist/models/DeleteHybridCloudGroupResponseBody.js.map +1 -0
- package/dist/models/DeleteLogDeliveryConfigRequest.d.ts +39 -0
- package/dist/models/DeleteLogDeliveryConfigRequest.js +64 -0
- package/dist/models/DeleteLogDeliveryConfigRequest.js.map +1 -0
- package/dist/models/DeleteLogDeliveryConfigResponse.d.ts +19 -0
- package/dist/models/DeleteLogDeliveryConfigResponse.js +69 -0
- package/dist/models/DeleteLogDeliveryConfigResponse.js.map +1 -0
- package/dist/models/DeleteLogDeliveryConfigResponseBody.d.ts +18 -0
- package/dist/models/DeleteLogDeliveryConfigResponseBody.js +58 -0
- package/dist/models/DeleteLogDeliveryConfigResponseBody.js.map +1 -0
- package/dist/models/DescribeHybridCloudProtectableCountRequest.d.ts +41 -0
- package/dist/models/DescribeHybridCloudProtectableCountRequest.js +62 -0
- package/dist/models/DescribeHybridCloudProtectableCountRequest.js.map +1 -0
- package/dist/models/DescribeHybridCloudProtectableCountResponse.d.ts +19 -0
- package/dist/models/DescribeHybridCloudProtectableCountResponse.js +69 -0
- package/dist/models/DescribeHybridCloudProtectableCountResponse.js.map +1 -0
- package/dist/models/DescribeHybridCloudProtectableCountResponseBody.d.ts +29 -0
- package/dist/models/DescribeHybridCloudProtectableCountResponseBody.js +60 -0
- package/dist/models/DescribeHybridCloudProtectableCountResponseBody.js.map +1 -0
- package/dist/models/DescribeInstanceResponseBody.d.ts +20 -0
- package/dist/models/DescribeInstanceResponseBody.js +8 -0
- package/dist/models/DescribeInstanceResponseBody.js.map +1 -1
- package/dist/models/DescribeLogDeliveryConfigRequest.d.ts +54 -0
- package/dist/models/DescribeLogDeliveryConfigRequest.js +64 -0
- package/dist/models/DescribeLogDeliveryConfigRequest.js.map +1 -0
- package/dist/models/DescribeLogDeliveryConfigResponse.d.ts +19 -0
- package/dist/models/DescribeLogDeliveryConfigResponse.js +69 -0
- package/dist/models/DescribeLogDeliveryConfigResponse.js.map +1 -0
- package/dist/models/DescribeLogDeliveryConfigResponseBody.d.ts +64 -0
- package/dist/models/DescribeLogDeliveryConfigResponseBody.js +86 -0
- package/dist/models/DescribeLogDeliveryConfigResponseBody.js.map +1 -0
- package/dist/models/DescribeLogDeliveryConfigsRequest.d.ts +65 -0
- package/dist/models/DescribeLogDeliveryConfigsRequest.js +70 -0
- package/dist/models/DescribeLogDeliveryConfigsRequest.js.map +1 -0
- package/dist/models/DescribeLogDeliveryConfigsResponse.d.ts +19 -0
- package/dist/models/DescribeLogDeliveryConfigsResponse.js +69 -0
- package/dist/models/DescribeLogDeliveryConfigsResponse.js.map +1 -0
- package/dist/models/DescribeLogDeliveryConfigsResponseBody.d.ts +67 -0
- package/dist/models/DescribeLogDeliveryConfigsResponseBody.js +92 -0
- package/dist/models/DescribeLogDeliveryConfigsResponseBody.js.map +1 -0
- package/dist/models/DescribeResourceLogDeliveryStatusRequest.d.ts +39 -0
- package/dist/models/DescribeResourceLogDeliveryStatusRequest.js +64 -0
- package/dist/models/DescribeResourceLogDeliveryStatusRequest.js.map +1 -0
- package/dist/models/DescribeResourceLogDeliveryStatusResponse.d.ts +19 -0
- package/dist/models/DescribeResourceLogDeliveryStatusResponse.js +69 -0
- package/dist/models/DescribeResourceLogDeliveryStatusResponse.js.map +1 -0
- package/dist/models/DescribeResourceLogDeliveryStatusResponseBody.d.ts +51 -0
- package/dist/models/DescribeResourceLogDeliveryStatusResponseBody.js +88 -0
- package/dist/models/DescribeResourceLogDeliveryStatusResponseBody.js.map +1 -0
- package/dist/models/DescribeResourceLogFieldConfigRequest.d.ts +47 -0
- package/dist/models/DescribeResourceLogFieldConfigRequest.js +66 -0
- package/dist/models/DescribeResourceLogFieldConfigRequest.js.map +1 -0
- package/dist/models/DescribeResourceLogFieldConfigResponse.d.ts +19 -0
- package/dist/models/DescribeResourceLogFieldConfigResponse.js +69 -0
- package/dist/models/DescribeResourceLogFieldConfigResponse.js.map +1 -0
- package/dist/models/DescribeResourceLogFieldConfigResponseBody.d.ts +48 -0
- package/dist/models/DescribeResourceLogFieldConfigResponseBody.js +70 -0
- package/dist/models/DescribeResourceLogFieldConfigResponseBody.js.map +1 -0
- package/dist/models/DescribeRoleAuthStatusRequest.d.ts +23 -0
- package/dist/models/DescribeRoleAuthStatusRequest.js +60 -0
- package/dist/models/DescribeRoleAuthStatusRequest.js.map +1 -0
- package/dist/models/DescribeRoleAuthStatusResponse.d.ts +19 -0
- package/dist/models/DescribeRoleAuthStatusResponse.js +69 -0
- package/dist/models/DescribeRoleAuthStatusResponse.js.map +1 -0
- package/dist/models/DescribeRoleAuthStatusResponseBody.d.ts +23 -0
- package/dist/models/DescribeRoleAuthStatusResponseBody.js +60 -0
- package/dist/models/DescribeRoleAuthStatusResponseBody.js.map +1 -0
- package/dist/models/InitializeWafOperationRoleRequest.d.ts +31 -0
- package/dist/models/InitializeWafOperationRoleRequest.js +62 -0
- package/dist/models/InitializeWafOperationRoleRequest.js.map +1 -0
- package/dist/models/InitializeWafOperationRoleResponse.d.ts +19 -0
- package/dist/models/InitializeWafOperationRoleResponse.js +69 -0
- package/dist/models/InitializeWafOperationRoleResponse.js.map +1 -0
- package/dist/models/InitializeWafOperationRoleResponseBody.d.ts +18 -0
- package/dist/models/InitializeWafOperationRoleResponseBody.js +58 -0
- package/dist/models/InitializeWafOperationRoleResponseBody.js.map +1 -0
- package/dist/models/ModifyCloudResourceCertRequest.d.ts +86 -0
- package/dist/models/ModifyCloudResourceCertRequest.js +92 -0
- package/dist/models/ModifyCloudResourceCertRequest.js.map +1 -0
- package/dist/models/ModifyCloudResourceCertResponse.d.ts +19 -0
- package/dist/models/ModifyCloudResourceCertResponse.js +69 -0
- package/dist/models/ModifyCloudResourceCertResponse.js.map +1 -0
- package/dist/models/ModifyCloudResourceCertResponseBody.d.ts +21 -0
- package/dist/models/ModifyCloudResourceCertResponseBody.js +58 -0
- package/dist/models/ModifyCloudResourceCertResponseBody.js.map +1 -0
- package/dist/models/ModifyDomainCertRequest.d.ts +61 -0
- package/dist/models/ModifyDomainCertRequest.js +75 -0
- package/dist/models/ModifyDomainCertRequest.js.map +1 -0
- package/dist/models/ModifyDomainCertResponse.d.ts +19 -0
- package/dist/models/ModifyDomainCertResponse.js +69 -0
- package/dist/models/ModifyDomainCertResponse.js.map +1 -0
- package/dist/models/ModifyDomainCertResponseBody.d.ts +21 -0
- package/dist/models/ModifyDomainCertResponseBody.js +58 -0
- package/dist/models/ModifyDomainCertResponseBody.js.map +1 -0
- package/dist/models/ModifyLogDeliveryConfigRequest.d.ts +76 -0
- package/dist/models/ModifyLogDeliveryConfigRequest.js +68 -0
- package/dist/models/ModifyLogDeliveryConfigRequest.js.map +1 -0
- package/dist/models/ModifyLogDeliveryConfigResponse.d.ts +19 -0
- package/dist/models/ModifyLogDeliveryConfigResponse.js +69 -0
- package/dist/models/ModifyLogDeliveryConfigResponse.js.map +1 -0
- package/dist/models/ModifyLogDeliveryConfigResponseBody.d.ts +29 -0
- package/dist/models/ModifyLogDeliveryConfigResponseBody.js +60 -0
- package/dist/models/ModifyLogDeliveryConfigResponseBody.js.map +1 -0
- package/dist/models/ModifyResourceLogDeliveryStatusRequest.d.ts +52 -0
- package/dist/models/ModifyResourceLogDeliveryStatusRequest.js +68 -0
- package/dist/models/ModifyResourceLogDeliveryStatusRequest.js.map +1 -0
- package/dist/models/ModifyResourceLogDeliveryStatusResponse.d.ts +19 -0
- package/dist/models/ModifyResourceLogDeliveryStatusResponse.js +69 -0
- package/dist/models/ModifyResourceLogDeliveryStatusResponse.js.map +1 -0
- package/dist/models/ModifyResourceLogDeliveryStatusResponseBody.d.ts +33 -0
- package/dist/models/ModifyResourceLogDeliveryStatusResponseBody.js +64 -0
- package/dist/models/ModifyResourceLogDeliveryStatusResponseBody.js.map +1 -0
- package/dist/models/ModifyResourceLogFieldConfigRequest.d.ts +65 -0
- package/dist/models/ModifyResourceLogFieldConfigRequest.js +72 -0
- package/dist/models/ModifyResourceLogFieldConfigRequest.js.map +1 -0
- package/dist/models/ModifyResourceLogFieldConfigResponse.d.ts +19 -0
- package/dist/models/ModifyResourceLogFieldConfigResponse.js +69 -0
- package/dist/models/ModifyResourceLogFieldConfigResponse.js.map +1 -0
- package/dist/models/ModifyResourceLogFieldConfigResponseBody.d.ts +18 -0
- package/dist/models/ModifyResourceLogFieldConfigResponseBody.js +58 -0
- package/dist/models/ModifyResourceLogFieldConfigResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +49 -0
- package/dist/models/model.js +114 -15
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +971 -93
- package/src/models/CreateLogDeliveryConfigRequest.ts +99 -0
- package/src/models/CreateLogDeliveryConfigResponse.ts +40 -0
- package/src/models/CreateLogDeliveryConfigResponseBody.ts +44 -0
- package/src/models/DeleteHybridCloudGroupRequest.ts +68 -0
- package/src/models/DeleteHybridCloudGroupResponse.ts +40 -0
- package/src/models/DeleteHybridCloudGroupResponseBody.ts +31 -0
- package/src/models/DeleteLogDeliveryConfigRequest.ts +58 -0
- package/src/models/DeleteLogDeliveryConfigResponse.ts +40 -0
- package/src/models/DeleteLogDeliveryConfigResponseBody.ts +31 -0
- package/src/models/DescribeHybridCloudProtectableCountRequest.ts +58 -0
- package/src/models/DescribeHybridCloudProtectableCountResponse.ts +40 -0
- package/src/models/DescribeHybridCloudProtectableCountResponseBody.ts +44 -0
- package/src/models/DescribeInstanceResponseBody.ts +28 -0
- package/src/models/DescribeLogDeliveryConfigRequest.ts +73 -0
- package/src/models/DescribeLogDeliveryConfigResponse.ts +40 -0
- package/src/models/DescribeLogDeliveryConfigResponseBody.ts +96 -0
- package/src/models/DescribeLogDeliveryConfigsRequest.ts +90 -0
- package/src/models/DescribeLogDeliveryConfigsResponse.ts +40 -0
- package/src/models/DescribeLogDeliveryConfigsResponseBody.ts +105 -0
- package/src/models/DescribeResourceLogDeliveryStatusRequest.ts +58 -0
- package/src/models/DescribeResourceLogDeliveryStatusResponse.ts +40 -0
- package/src/models/DescribeResourceLogDeliveryStatusResponseBody.ts +85 -0
- package/src/models/DescribeResourceLogFieldConfigRequest.ts +68 -0
- package/src/models/DescribeResourceLogFieldConfigResponse.ts +40 -0
- package/src/models/DescribeResourceLogFieldConfigResponseBody.ts +73 -0
- package/src/models/DescribeRoleAuthStatusRequest.ts +38 -0
- package/src/models/DescribeRoleAuthStatusResponse.ts +40 -0
- package/src/models/DescribeRoleAuthStatusResponseBody.ts +38 -0
- package/src/models/InitializeWafOperationRoleRequest.ts +48 -0
- package/src/models/InitializeWafOperationRoleResponse.ts +40 -0
- package/src/models/InitializeWafOperationRoleResponseBody.ts +31 -0
- package/src/models/ModifyCloudResourceCertRequest.ts +124 -0
- package/src/models/ModifyCloudResourceCertResponse.ts +40 -0
- package/src/models/ModifyCloudResourceCertResponseBody.ts +34 -0
- package/src/models/ModifyDomainCertRequest.ts +91 -0
- package/src/models/ModifyDomainCertResponse.ts +40 -0
- package/src/models/ModifyDomainCertResponseBody.ts +34 -0
- package/src/models/ModifyLogDeliveryConfigRequest.ts +99 -0
- package/src/models/ModifyLogDeliveryConfigResponse.ts +40 -0
- package/src/models/ModifyLogDeliveryConfigResponseBody.ts +44 -0
- package/src/models/ModifyResourceLogDeliveryStatusRequest.ts +75 -0
- package/src/models/ModifyResourceLogDeliveryStatusResponse.ts +40 -0
- package/src/models/ModifyResourceLogDeliveryStatusResponseBody.ts +52 -0
- package/src/models/ModifyResourceLogFieldConfigRequest.ts +92 -0
- package/src/models/ModifyResourceLogFieldConfigResponse.ts +40 -0
- package/src/models/ModifyResourceLogFieldConfigResponseBody.ts +31 -0
- package/src/models/model.ts +49 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeResourceLogFieldConfigResponseBody } from "./DescribeResourceLogFieldConfigResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeResourceLogFieldConfigResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeResourceLogFieldConfigResponseBody;
|
|
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: DescribeResourceLogFieldConfigResponseBody,
|
|
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,73 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeResourceLogFieldConfigResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* acl_test,acl_action,acl_rule_id,waf_test,acl_rule_type
|
|
9
|
+
*/
|
|
10
|
+
addList?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* waf_rule_id,waf_rule_type
|
|
14
|
+
*/
|
|
15
|
+
delList?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* sls
|
|
19
|
+
*/
|
|
20
|
+
deliveryType?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* {\\"request_header\\":\\"Ali-Cdn-Real-Ip\\"}
|
|
24
|
+
*/
|
|
25
|
+
extendConfig?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* 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
|
|
29
|
+
*/
|
|
30
|
+
fieldList?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* [{\\"logType\\":\\"blockLog\\",\\"rate\\":100},{\\"logType\\":\\"normalRequestLog\\",\\"rate\\":100},{\\"logType\\":\\"checkLog\\",\\"rate\\":100}]
|
|
34
|
+
*/
|
|
35
|
+
logDeliveryStrategy?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* 7B53B47C-D368-5344-BB5E-79******
|
|
39
|
+
*/
|
|
40
|
+
requestId?: string;
|
|
41
|
+
static names(): { [key: string]: string } {
|
|
42
|
+
return {
|
|
43
|
+
addList: 'AddList',
|
|
44
|
+
delList: 'DelList',
|
|
45
|
+
deliveryType: 'DeliveryType',
|
|
46
|
+
extendConfig: 'ExtendConfig',
|
|
47
|
+
fieldList: 'FieldList',
|
|
48
|
+
logDeliveryStrategy: 'LogDeliveryStrategy',
|
|
49
|
+
requestId: 'RequestId',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
static types(): { [key: string]: any } {
|
|
54
|
+
return {
|
|
55
|
+
addList: 'string',
|
|
56
|
+
delList: 'string',
|
|
57
|
+
deliveryType: 'string',
|
|
58
|
+
extendConfig: 'string',
|
|
59
|
+
fieldList: 'string',
|
|
60
|
+
logDeliveryStrategy: 'string',
|
|
61
|
+
requestId: 'string',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
validate() {
|
|
66
|
+
super.validate();
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
constructor(map?: { [key: string]: any }) {
|
|
70
|
+
super(map);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeRoleAuthStatusRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* cn-hangzhou
|
|
9
|
+
*/
|
|
10
|
+
regionId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* rg-aekzhalsanv***
|
|
14
|
+
*/
|
|
15
|
+
resourceManagerResourceGroupId?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
regionId: 'RegionId',
|
|
19
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
regionId: 'string',
|
|
26
|
+
resourceManagerResourceGroupId: 'string',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeRoleAuthStatusResponseBody } from "./DescribeRoleAuthStatusResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeRoleAuthStatusResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeRoleAuthStatusResponseBody;
|
|
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: DescribeRoleAuthStatusResponseBody,
|
|
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,38 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeRoleAuthStatusResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* true
|
|
9
|
+
*/
|
|
10
|
+
authStatus?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 79ECBB08-079C-57C5-A676-***
|
|
14
|
+
*/
|
|
15
|
+
requestId?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
authStatus: 'AuthStatus',
|
|
19
|
+
requestId: 'RequestId',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
authStatus: 'boolean',
|
|
26
|
+
requestId: 'string',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class InitializeWafOperationRoleRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* waf_v2_public_cn-***
|
|
12
|
+
*/
|
|
13
|
+
instanceId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* cn-hangzhou
|
|
17
|
+
*/
|
|
18
|
+
regionId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* rg-acfm***q
|
|
22
|
+
*/
|
|
23
|
+
resourceManagerResourceGroupId?: string;
|
|
24
|
+
static names(): { [key: string]: string } {
|
|
25
|
+
return {
|
|
26
|
+
instanceId: 'InstanceId',
|
|
27
|
+
regionId: 'RegionId',
|
|
28
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
static types(): { [key: string]: any } {
|
|
33
|
+
return {
|
|
34
|
+
instanceId: 'string',
|
|
35
|
+
regionId: 'string',
|
|
36
|
+
resourceManagerResourceGroupId: 'string',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
validate() {
|
|
41
|
+
super.validate();
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
constructor(map?: { [key: string]: any }) {
|
|
45
|
+
super(map);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { InitializeWafOperationRoleResponseBody } from "./InitializeWafOperationRoleResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class InitializeWafOperationRoleResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: InitializeWafOperationRoleResponseBody;
|
|
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: InitializeWafOperationRoleResponseBody,
|
|
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 InitializeWafOperationRoleResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 4EC9EA6C-F80A-5D25-A8F7-***
|
|
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,124 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifyCloudResourceCertRequestCertificates extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* default
|
|
12
|
+
*/
|
|
13
|
+
appliedType?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 232***-cn-hangzhou
|
|
20
|
+
*/
|
|
21
|
+
certificateId?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
appliedType: 'AppliedType',
|
|
25
|
+
certificateId: 'CertificateId',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
appliedType: 'string',
|
|
32
|
+
certificateId: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export class ModifyCloudResourceCertRequest extends $dara.Model {
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* This parameter is required.
|
|
49
|
+
*/
|
|
50
|
+
certificates?: ModifyCloudResourceCertRequestCertificates[];
|
|
51
|
+
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* This parameter is required.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* waf_v2_public_cn-***
|
|
57
|
+
*/
|
|
58
|
+
instanceId?: string;
|
|
59
|
+
/**
|
|
60
|
+
* @remarks
|
|
61
|
+
* This parameter is required.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* 443
|
|
65
|
+
*/
|
|
66
|
+
port?: number;
|
|
67
|
+
/**
|
|
68
|
+
* @remarks
|
|
69
|
+
* This parameter is required.
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* cn-hangzhou
|
|
73
|
+
*/
|
|
74
|
+
regionId?: string;
|
|
75
|
+
/**
|
|
76
|
+
* @remarks
|
|
77
|
+
* This parameter is required.
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* lb-bp1*****jqnnqk5uj2p
|
|
81
|
+
*/
|
|
82
|
+
resourceInstanceId?: string;
|
|
83
|
+
/**
|
|
84
|
+
* @remarks
|
|
85
|
+
* This parameter is required.
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* clb4
|
|
89
|
+
*/
|
|
90
|
+
resourceProduct?: string;
|
|
91
|
+
static names(): { [key: string]: string } {
|
|
92
|
+
return {
|
|
93
|
+
certificates: 'Certificates',
|
|
94
|
+
instanceId: 'InstanceId',
|
|
95
|
+
port: 'Port',
|
|
96
|
+
regionId: 'RegionId',
|
|
97
|
+
resourceInstanceId: 'ResourceInstanceId',
|
|
98
|
+
resourceProduct: 'ResourceProduct',
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
static types(): { [key: string]: any } {
|
|
103
|
+
return {
|
|
104
|
+
certificates: { 'type': 'array', 'itemType': ModifyCloudResourceCertRequestCertificates },
|
|
105
|
+
instanceId: 'string',
|
|
106
|
+
port: 'number',
|
|
107
|
+
regionId: 'string',
|
|
108
|
+
resourceInstanceId: 'string',
|
|
109
|
+
resourceProduct: 'string',
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
validate() {
|
|
114
|
+
if(Array.isArray(this.certificates)) {
|
|
115
|
+
$dara.Model.validateArray(this.certificates);
|
|
116
|
+
}
|
|
117
|
+
super.validate();
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
constructor(map?: { [key: string]: any }) {
|
|
121
|
+
super(map);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ModifyCloudResourceCertResponseBody } from "./ModifyCloudResourceCertResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ModifyCloudResourceCertResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ModifyCloudResourceCertResponseBody;
|
|
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: ModifyCloudResourceCertResponseBody,
|
|
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,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifyCloudResourceCertResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Id of the request
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* A47D2DC0-7151-51EF-BFB7-***
|
|
12
|
+
*/
|
|
13
|
+
requestId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
requestId: 'RequestId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
requestId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifyDomainCertRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 123-cn-hangzhou
|
|
12
|
+
*/
|
|
13
|
+
certId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* 1
|
|
17
|
+
*/
|
|
18
|
+
cipherSuite?: string;
|
|
19
|
+
customCiphers?: string[];
|
|
20
|
+
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* This parameter is required.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* www.example.com
|
|
26
|
+
*/
|
|
27
|
+
domain?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @example
|
|
30
|
+
* false
|
|
31
|
+
*/
|
|
32
|
+
enableTLSv3?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* This parameter is required.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* waf_v2_public_cn-ww**b06
|
|
39
|
+
*/
|
|
40
|
+
instanceId?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @remarks
|
|
43
|
+
* This parameter is required.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* cn-hangzhou
|
|
47
|
+
*/
|
|
48
|
+
regionId?: string;
|
|
49
|
+
/**
|
|
50
|
+
* @example
|
|
51
|
+
* tlsv1
|
|
52
|
+
*/
|
|
53
|
+
TLSVersion?: string;
|
|
54
|
+
static names(): { [key: string]: string } {
|
|
55
|
+
return {
|
|
56
|
+
certId: 'CertId',
|
|
57
|
+
cipherSuite: 'CipherSuite',
|
|
58
|
+
customCiphers: 'CustomCiphers',
|
|
59
|
+
domain: 'Domain',
|
|
60
|
+
enableTLSv3: 'EnableTLSv3',
|
|
61
|
+
instanceId: 'InstanceId',
|
|
62
|
+
regionId: 'RegionId',
|
|
63
|
+
TLSVersion: 'TLSVersion',
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
static types(): { [key: string]: any } {
|
|
68
|
+
return {
|
|
69
|
+
certId: 'string',
|
|
70
|
+
cipherSuite: 'string',
|
|
71
|
+
customCiphers: { 'type': 'array', 'itemType': 'string' },
|
|
72
|
+
domain: 'string',
|
|
73
|
+
enableTLSv3: 'boolean',
|
|
74
|
+
instanceId: 'string',
|
|
75
|
+
regionId: 'string',
|
|
76
|
+
TLSVersion: 'string',
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
validate() {
|
|
81
|
+
if(Array.isArray(this.customCiphers)) {
|
|
82
|
+
$dara.Model.validateArray(this.customCiphers);
|
|
83
|
+
}
|
|
84
|
+
super.validate();
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
constructor(map?: { [key: string]: any }) {
|
|
88
|
+
super(map);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ModifyDomainCertResponseBody } from "./ModifyDomainCertResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ModifyDomainCertResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ModifyDomainCertResponseBody;
|
|
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: ModifyDomainCertResponseBody,
|
|
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
|
+
|