@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,99 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateLogDeliveryConfigRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The content of the log delivery configuration. Set the value to a JSON string that contains multiple parameters.
|
|
9
|
+
*
|
|
10
|
+
* > The parameters vary based on the type of the **log delivery configuration** specified by **DeliveryType**. For more information, see **Parameter description for log delivery configuration**.
|
|
11
|
+
*
|
|
12
|
+
* This parameter is required.
|
|
13
|
+
*/
|
|
14
|
+
deliveryDetail?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* The name of the log delivery configuration.
|
|
18
|
+
*
|
|
19
|
+
* This parameter is required.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* test1
|
|
23
|
+
*/
|
|
24
|
+
deliveryName?: string;
|
|
25
|
+
/**
|
|
26
|
+
* @remarks
|
|
27
|
+
* The type of the log delivery configuration. Valid values:
|
|
28
|
+
*
|
|
29
|
+
* * **syslog**: Logs are delivered to a syslog service.
|
|
30
|
+
* * **kafka**: Logs are delivered to a Kafka service.
|
|
31
|
+
*
|
|
32
|
+
* This parameter is required.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* kafka
|
|
36
|
+
*/
|
|
37
|
+
deliveryType?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The ID of the Web Application Firewall (WAF) instance.
|
|
41
|
+
*
|
|
42
|
+
* > You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
|
|
43
|
+
*
|
|
44
|
+
* This parameter is required.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* waf_elasticity-cn-0xldbqt****
|
|
48
|
+
*/
|
|
49
|
+
instanceId?: string;
|
|
50
|
+
/**
|
|
51
|
+
* @remarks
|
|
52
|
+
* The region ID of the WAF instance. Valid values:
|
|
53
|
+
*
|
|
54
|
+
* * **cn-hangzhou**: the Chinese mainland.
|
|
55
|
+
* * **ap-southeast-1**: outside the Chinese mainland.
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* cn-hangzhou
|
|
59
|
+
*/
|
|
60
|
+
regionId?: string;
|
|
61
|
+
/**
|
|
62
|
+
* @remarks
|
|
63
|
+
* The ID of the Alibaba Cloud resource group.
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
* rg-acfm***q
|
|
67
|
+
*/
|
|
68
|
+
resourceManagerResourceGroupId?: string;
|
|
69
|
+
static names(): { [key: string]: string } {
|
|
70
|
+
return {
|
|
71
|
+
deliveryDetail: 'DeliveryDetail',
|
|
72
|
+
deliveryName: 'DeliveryName',
|
|
73
|
+
deliveryType: 'DeliveryType',
|
|
74
|
+
instanceId: 'InstanceId',
|
|
75
|
+
regionId: 'RegionId',
|
|
76
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
static types(): { [key: string]: any } {
|
|
81
|
+
return {
|
|
82
|
+
deliveryDetail: 'string',
|
|
83
|
+
deliveryName: 'string',
|
|
84
|
+
deliveryType: 'string',
|
|
85
|
+
instanceId: 'string',
|
|
86
|
+
regionId: 'string',
|
|
87
|
+
resourceManagerResourceGroupId: 'string',
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
validate() {
|
|
92
|
+
super.validate();
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
constructor(map?: { [key: string]: any }) {
|
|
96
|
+
super(map);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateLogDeliveryConfigResponseBody } from "./CreateLogDeliveryConfigResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreateLogDeliveryConfigResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: CreateLogDeliveryConfigResponseBody;
|
|
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: CreateLogDeliveryConfigResponseBody,
|
|
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 CreateLogDeliveryConfigResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The name of the log delivery configuration.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* test1
|
|
12
|
+
*/
|
|
13
|
+
deliveryName?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The request ID.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 26E46541-7AAB-5565-801D-F14DBDC5****
|
|
20
|
+
*/
|
|
21
|
+
requestId?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
deliveryName: 'DeliveryName',
|
|
25
|
+
requestId: 'RequestId',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
deliveryName: 'string',
|
|
32
|
+
requestId: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteHybridCloudGroupRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 1
|
|
12
|
+
*/
|
|
13
|
+
clusterId?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 1
|
|
20
|
+
*/
|
|
21
|
+
groupId?: number;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* This parameter is required.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* waf_elasticity-cn-*****tm005
|
|
28
|
+
*/
|
|
29
|
+
instanceId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @example
|
|
32
|
+
* cn-hangzhou
|
|
33
|
+
*/
|
|
34
|
+
regionId?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @example
|
|
37
|
+
* rg-acfm***q
|
|
38
|
+
*/
|
|
39
|
+
resourceManagerResourceGroupId?: string;
|
|
40
|
+
static names(): { [key: string]: string } {
|
|
41
|
+
return {
|
|
42
|
+
clusterId: 'ClusterId',
|
|
43
|
+
groupId: 'GroupId',
|
|
44
|
+
instanceId: 'InstanceId',
|
|
45
|
+
regionId: 'RegionId',
|
|
46
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
static types(): { [key: string]: any } {
|
|
51
|
+
return {
|
|
52
|
+
clusterId: 'number',
|
|
53
|
+
groupId: 'number',
|
|
54
|
+
instanceId: 'string',
|
|
55
|
+
regionId: 'string',
|
|
56
|
+
resourceManagerResourceGroupId: 'string',
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
validate() {
|
|
61
|
+
super.validate();
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
constructor(map?: { [key: string]: any }) {
|
|
65
|
+
super(map);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DeleteHybridCloudGroupResponseBody } from "./DeleteHybridCloudGroupResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DeleteHybridCloudGroupResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DeleteHybridCloudGroupResponseBody;
|
|
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: DeleteHybridCloudGroupResponseBody,
|
|
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 DeleteHybridCloudGroupResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* D7861F61-5B61-46CE-A47C-*****60D5EB0
|
|
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,58 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteLogDeliveryConfigRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* test1
|
|
12
|
+
*/
|
|
13
|
+
deliveryName?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* waf-cn-n6w***x52m
|
|
20
|
+
*/
|
|
21
|
+
instanceId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* cn-hangzhou
|
|
25
|
+
*/
|
|
26
|
+
regionId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @example
|
|
29
|
+
* rg-acfm***q
|
|
30
|
+
*/
|
|
31
|
+
resourceManagerResourceGroupId?: string;
|
|
32
|
+
static names(): { [key: string]: string } {
|
|
33
|
+
return {
|
|
34
|
+
deliveryName: 'DeliveryName',
|
|
35
|
+
instanceId: 'InstanceId',
|
|
36
|
+
regionId: 'RegionId',
|
|
37
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
deliveryName: 'string',
|
|
44
|
+
instanceId: 'string',
|
|
45
|
+
regionId: 'string',
|
|
46
|
+
resourceManagerResourceGroupId: 'string',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
validate() {
|
|
51
|
+
super.validate();
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
constructor(map?: { [key: string]: any }) {
|
|
55
|
+
super(map);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DeleteLogDeliveryConfigResponseBody } from "./DeleteLogDeliveryConfigResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DeleteLogDeliveryConfigResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DeleteLogDeliveryConfigResponseBody;
|
|
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: DeleteLogDeliveryConfigResponseBody,
|
|
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 DeleteLogDeliveryConfigResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* D7861F61-5B61-46CE-A47C-*****
|
|
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,58 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeHybridCloudProtectableCountRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the Web Application Firewall (WAF) instance.
|
|
9
|
+
*
|
|
10
|
+
* > You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
|
|
11
|
+
*
|
|
12
|
+
* This parameter is required.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* waf-cn-4xl3fdi4u01**fe23
|
|
16
|
+
*/
|
|
17
|
+
instanceId?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @remarks
|
|
20
|
+
* The region where the WAF instance is deployed. Valid values:
|
|
21
|
+
*
|
|
22
|
+
* * **cn-hangzhou**: the Chinese mainland.
|
|
23
|
+
* * **ap-southeast-1**: outside the Chinese mainland.
|
|
24
|
+
*/
|
|
25
|
+
regionId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* 阿里云资源组ID。
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* rg-acfm***q
|
|
32
|
+
*/
|
|
33
|
+
resourceManagerResourceGroupId?: string;
|
|
34
|
+
static names(): { [key: string]: string } {
|
|
35
|
+
return {
|
|
36
|
+
instanceId: 'InstanceId',
|
|
37
|
+
regionId: 'RegionId',
|
|
38
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
static types(): { [key: string]: any } {
|
|
43
|
+
return {
|
|
44
|
+
instanceId: 'string',
|
|
45
|
+
regionId: 'string',
|
|
46
|
+
resourceManagerResourceGroupId: 'string',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
validate() {
|
|
51
|
+
super.validate();
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
constructor(map?: { [key: string]: any }) {
|
|
55
|
+
super(map);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeHybridCloudProtectableCountResponseBody } from "./DescribeHybridCloudProtectableCountResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeHybridCloudProtectableCountResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeHybridCloudProtectableCountResponseBody;
|
|
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: DescribeHybridCloudProtectableCountResponseBody,
|
|
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 DescribeHybridCloudProtectableCountResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The number of protection nodes that can be added to the hybrid cloud cluster.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 1
|
|
12
|
+
*/
|
|
13
|
+
protectableCount?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The ID of the request.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 6087EA47-C10F-5A0A-A405-DB5B241**B1
|
|
20
|
+
*/
|
|
21
|
+
requestId?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
protectableCount: 'ProtectableCount',
|
|
25
|
+
requestId: 'RequestId',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
protectableCount: 'number',
|
|
32
|
+
requestId: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
@@ -251,6 +251,11 @@ export class DescribeInstanceResponseBodyDetails extends $dara.Model {
|
|
|
251
251
|
* 50
|
|
252
252
|
*/
|
|
253
253
|
dlpTemplateMaxCount?: number;
|
|
254
|
+
/**
|
|
255
|
+
* @example
|
|
256
|
+
* 2000
|
|
257
|
+
*/
|
|
258
|
+
elasticQps?: number;
|
|
254
259
|
/**
|
|
255
260
|
* @remarks
|
|
256
261
|
* Indicates whether exclusive IP addresses are supported. Valid values:
|
|
@@ -262,6 +267,16 @@ export class DescribeInstanceResponseBodyDetails extends $dara.Model {
|
|
|
262
267
|
* true
|
|
263
268
|
*/
|
|
264
269
|
exclusiveIp?: boolean;
|
|
270
|
+
/**
|
|
271
|
+
* @example
|
|
272
|
+
* 10000
|
|
273
|
+
*/
|
|
274
|
+
extendQps?: number;
|
|
275
|
+
/**
|
|
276
|
+
* @example
|
|
277
|
+
* 1000
|
|
278
|
+
*/
|
|
279
|
+
freeQps?: number;
|
|
265
280
|
/**
|
|
266
281
|
* @remarks
|
|
267
282
|
* Indicates whether global server load balancing (GSLB) is supported. Valid values:
|
|
@@ -365,6 +380,11 @@ export class DescribeInstanceResponseBodyDetails extends $dara.Model {
|
|
|
365
380
|
* 20
|
|
366
381
|
*/
|
|
367
382
|
majorProtectionTemplateMaxCount?: number;
|
|
383
|
+
/**
|
|
384
|
+
* @example
|
|
385
|
+
* 2000
|
|
386
|
+
*/
|
|
387
|
+
qpsBillingCap?: number;
|
|
368
388
|
/**
|
|
369
389
|
* @remarks
|
|
370
390
|
* Indicates whether the website tamper-proofing module is supported. Valid values:
|
|
@@ -489,7 +509,10 @@ export class DescribeInstanceResponseBodyDetails extends $dara.Model {
|
|
|
489
509
|
dlp: 'Dlp',
|
|
490
510
|
dlpRuleInTemplateMaxCount: 'DlpRuleInTemplateMaxCount',
|
|
491
511
|
dlpTemplateMaxCount: 'DlpTemplateMaxCount',
|
|
512
|
+
elasticQps: 'ElasticQps',
|
|
492
513
|
exclusiveIp: 'ExclusiveIp',
|
|
514
|
+
extendQps: 'ExtendQps',
|
|
515
|
+
freeQps: 'FreeQps',
|
|
493
516
|
gslb: 'Gslb',
|
|
494
517
|
httpPorts: 'HttpPorts',
|
|
495
518
|
httpsPorts: 'HttpsPorts',
|
|
@@ -501,6 +524,7 @@ export class DescribeInstanceResponseBodyDetails extends $dara.Model {
|
|
|
501
524
|
logService: 'LogService',
|
|
502
525
|
majorProtection: 'MajorProtection',
|
|
503
526
|
majorProtectionTemplateMaxCount: 'MajorProtectionTemplateMaxCount',
|
|
527
|
+
qpsBillingCap: 'QpsBillingCap',
|
|
504
528
|
tamperproof: 'Tamperproof',
|
|
505
529
|
tamperproofRuleInTemplateMaxCount: 'TamperproofRuleInTemplateMaxCount',
|
|
506
530
|
tamperproofTemplateMaxCount: 'TamperproofTemplateMaxCount',
|
|
@@ -545,7 +569,10 @@ export class DescribeInstanceResponseBodyDetails extends $dara.Model {
|
|
|
545
569
|
dlp: 'boolean',
|
|
546
570
|
dlpRuleInTemplateMaxCount: 'number',
|
|
547
571
|
dlpTemplateMaxCount: 'number',
|
|
572
|
+
elasticQps: 'number',
|
|
548
573
|
exclusiveIp: 'boolean',
|
|
574
|
+
extendQps: 'number',
|
|
575
|
+
freeQps: 'number',
|
|
549
576
|
gslb: 'boolean',
|
|
550
577
|
httpPorts: 'string',
|
|
551
578
|
httpsPorts: 'string',
|
|
@@ -557,6 +584,7 @@ export class DescribeInstanceResponseBodyDetails extends $dara.Model {
|
|
|
557
584
|
logService: 'boolean',
|
|
558
585
|
majorProtection: 'boolean',
|
|
559
586
|
majorProtectionTemplateMaxCount: 'number',
|
|
587
|
+
qpsBillingCap: 'number',
|
|
560
588
|
tamperproof: 'boolean',
|
|
561
589
|
tamperproofRuleInTemplateMaxCount: 'number',
|
|
562
590
|
tamperproofTemplateMaxCount: 'number',
|