@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,73 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeLogDeliveryConfigRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The name of the log delivery configuration.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* test1
|
|
14
|
+
*/
|
|
15
|
+
deliveryName?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The ID of the Web Application Firewall (WAF) instance.
|
|
19
|
+
*
|
|
20
|
+
* > You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
|
|
21
|
+
*
|
|
22
|
+
* This parameter is required.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* waf_elasticity-*****
|
|
26
|
+
*/
|
|
27
|
+
instanceId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @remarks
|
|
30
|
+
* The region ID of the WAF instance. Valid values:
|
|
31
|
+
*
|
|
32
|
+
* * **cn-hangzhou**: the Chinese mainland.
|
|
33
|
+
* * **ap-southeast-1**: outside the Chinese mainland.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* cn-hangzhou
|
|
37
|
+
*/
|
|
38
|
+
regionId?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* The ID of the Alibaba Cloud resource group.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* rg-acfm***q
|
|
45
|
+
*/
|
|
46
|
+
resourceManagerResourceGroupId?: string;
|
|
47
|
+
static names(): { [key: string]: string } {
|
|
48
|
+
return {
|
|
49
|
+
deliveryName: 'DeliveryName',
|
|
50
|
+
instanceId: 'InstanceId',
|
|
51
|
+
regionId: 'RegionId',
|
|
52
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
static types(): { [key: string]: any } {
|
|
57
|
+
return {
|
|
58
|
+
deliveryName: 'string',
|
|
59
|
+
instanceId: 'string',
|
|
60
|
+
regionId: 'string',
|
|
61
|
+
resourceManagerResourceGroupId: '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,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeLogDeliveryConfigResponseBody } from "./DescribeLogDeliveryConfigResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeLogDeliveryConfigResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeLogDeliveryConfigResponseBody;
|
|
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: DescribeLogDeliveryConfigResponseBody,
|
|
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,96 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeLogDeliveryConfigResponseBodyDeliveryConfig extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The content of the log delivery configuration. The value is a JSON string that contains multiple parameters.
|
|
9
|
+
*
|
|
10
|
+
* > This parameter is the same as the **DeliveryDetail** parameter of the **CreateLogDeliveryConfig** operation. For more information, see **Parameter description for log delivery configuration** of the [CreateLogDeliveryConfig](~~CreateLogDeliveryConfig~~) operation.
|
|
11
|
+
*/
|
|
12
|
+
deliveryDetail?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @remarks
|
|
15
|
+
* The name of the log delivery configuration.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* test1
|
|
19
|
+
*/
|
|
20
|
+
deliveryName?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @remarks
|
|
23
|
+
* The type of the log delivery configuration. Valid values:
|
|
24
|
+
*
|
|
25
|
+
* * **syslog**: Logs are delivered to a syslog service.
|
|
26
|
+
* * **kafka**: Logs are delivered to a Kafka service.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* syslog
|
|
30
|
+
*/
|
|
31
|
+
deliveryType?: string;
|
|
32
|
+
static names(): { [key: string]: string } {
|
|
33
|
+
return {
|
|
34
|
+
deliveryDetail: 'DeliveryDetail',
|
|
35
|
+
deliveryName: 'DeliveryName',
|
|
36
|
+
deliveryType: 'DeliveryType',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
static types(): { [key: string]: any } {
|
|
41
|
+
return {
|
|
42
|
+
deliveryDetail: 'string',
|
|
43
|
+
deliveryName: 'string',
|
|
44
|
+
deliveryType: 'string',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
validate() {
|
|
49
|
+
super.validate();
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
constructor(map?: { [key: string]: any }) {
|
|
53
|
+
super(map);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export class DescribeLogDeliveryConfigResponseBody extends $dara.Model {
|
|
58
|
+
/**
|
|
59
|
+
* @remarks
|
|
60
|
+
* The information about the log delivery configuration.
|
|
61
|
+
*/
|
|
62
|
+
deliveryConfig?: DescribeLogDeliveryConfigResponseBodyDeliveryConfig;
|
|
63
|
+
/**
|
|
64
|
+
* @remarks
|
|
65
|
+
* The request ID.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* 66A98669-CC6E-4F3E-80A6-******
|
|
69
|
+
*/
|
|
70
|
+
requestId?: string;
|
|
71
|
+
static names(): { [key: string]: string } {
|
|
72
|
+
return {
|
|
73
|
+
deliveryConfig: 'DeliveryConfig',
|
|
74
|
+
requestId: 'RequestId',
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
static types(): { [key: string]: any } {
|
|
79
|
+
return {
|
|
80
|
+
deliveryConfig: DescribeLogDeliveryConfigResponseBodyDeliveryConfig,
|
|
81
|
+
requestId: 'string',
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
validate() {
|
|
86
|
+
if(this.deliveryConfig && typeof (this.deliveryConfig as any).validate === 'function') {
|
|
87
|
+
(this.deliveryConfig as any).validate();
|
|
88
|
+
}
|
|
89
|
+
super.validate();
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
constructor(map?: { [key: string]: any }) {
|
|
93
|
+
super(map);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeLogDeliveryConfigsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The name of the log delivery configuration. Fuzzy queries are supported.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* test
|
|
12
|
+
*/
|
|
13
|
+
deliveryNameLike?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The type of the log delivery configuration that you want to query. Valid values:
|
|
17
|
+
*
|
|
18
|
+
* * **syslog**: Logs are delivered to a syslog service.
|
|
19
|
+
* * **kafka**: Logs are delivered to a Kafka service.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* kafka
|
|
23
|
+
*/
|
|
24
|
+
deliveryType?: string;
|
|
25
|
+
/**
|
|
26
|
+
* @remarks
|
|
27
|
+
* The ID of the Web Application Firewall (WAF) instance.
|
|
28
|
+
*
|
|
29
|
+
* > You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
|
|
30
|
+
*
|
|
31
|
+
* This parameter is required.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* waf-cn-zz11sr5****
|
|
35
|
+
*/
|
|
36
|
+
instanceId?: string;
|
|
37
|
+
maxResults?: number;
|
|
38
|
+
nextToken?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* The region ID of the WAF instance. Valid values:
|
|
42
|
+
*
|
|
43
|
+
* * **cn-hangzhou**: the Chinese mainland.
|
|
44
|
+
* * **ap-southeast-1**: outside the Chinese mainland.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* cn-hangzhou
|
|
48
|
+
*/
|
|
49
|
+
regionId?: string;
|
|
50
|
+
/**
|
|
51
|
+
* @remarks
|
|
52
|
+
* The ID of the Alibaba Cloud resource group.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* rg-acfm***q
|
|
56
|
+
*/
|
|
57
|
+
resourceManagerResourceGroupId?: string;
|
|
58
|
+
static names(): { [key: string]: string } {
|
|
59
|
+
return {
|
|
60
|
+
deliveryNameLike: 'DeliveryNameLike',
|
|
61
|
+
deliveryType: 'DeliveryType',
|
|
62
|
+
instanceId: 'InstanceId',
|
|
63
|
+
maxResults: 'MaxResults',
|
|
64
|
+
nextToken: 'NextToken',
|
|
65
|
+
regionId: 'RegionId',
|
|
66
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
static types(): { [key: string]: any } {
|
|
71
|
+
return {
|
|
72
|
+
deliveryNameLike: 'string',
|
|
73
|
+
deliveryType: 'string',
|
|
74
|
+
instanceId: 'string',
|
|
75
|
+
maxResults: 'number',
|
|
76
|
+
nextToken: 'string',
|
|
77
|
+
regionId: 'string',
|
|
78
|
+
resourceManagerResourceGroupId: 'string',
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
validate() {
|
|
83
|
+
super.validate();
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
constructor(map?: { [key: string]: any }) {
|
|
87
|
+
super(map);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeLogDeliveryConfigsResponseBody } from "./DescribeLogDeliveryConfigsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeLogDeliveryConfigsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeLogDeliveryConfigsResponseBody;
|
|
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: DescribeLogDeliveryConfigsResponseBody,
|
|
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,105 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeLogDeliveryConfigsResponseBodyDeliveryConfigs extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The content of the log delivery configuration. The value is a JSON string that contains multiple parameters.
|
|
9
|
+
*
|
|
10
|
+
* > This parameter is the same as the **DeliveryDetail** parameter of the **CreateLogDeliveryConfig** operation. For more information, see **Parameter description for log delivery configuration** of the [CreateLogDeliveryConfig](~~CreateLogDeliveryConfig~~) operation.
|
|
11
|
+
*/
|
|
12
|
+
deliveryDetail?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @remarks
|
|
15
|
+
* The name of the log delivery configuration.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* test1
|
|
19
|
+
*/
|
|
20
|
+
deliveryName?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @remarks
|
|
23
|
+
* The type of the log delivery configuration. Valid values:
|
|
24
|
+
*
|
|
25
|
+
* * **syslog**: Logs are delivered to a syslog service.
|
|
26
|
+
* * **kafka**: Logs are delivered to a Kafka service.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* kafka
|
|
30
|
+
*/
|
|
31
|
+
deliveryType?: string;
|
|
32
|
+
static names(): { [key: string]: string } {
|
|
33
|
+
return {
|
|
34
|
+
deliveryDetail: 'DeliveryDetail',
|
|
35
|
+
deliveryName: 'DeliveryName',
|
|
36
|
+
deliveryType: 'DeliveryType',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
static types(): { [key: string]: any } {
|
|
41
|
+
return {
|
|
42
|
+
deliveryDetail: 'string',
|
|
43
|
+
deliveryName: 'string',
|
|
44
|
+
deliveryType: 'string',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
validate() {
|
|
49
|
+
super.validate();
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
constructor(map?: { [key: string]: any }) {
|
|
53
|
+
super(map);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export class DescribeLogDeliveryConfigsResponseBody extends $dara.Model {
|
|
58
|
+
/**
|
|
59
|
+
* @remarks
|
|
60
|
+
* The information about the log delivery configuration.
|
|
61
|
+
*/
|
|
62
|
+
deliveryConfigs?: DescribeLogDeliveryConfigsResponseBodyDeliveryConfigs[];
|
|
63
|
+
maxResults?: number;
|
|
64
|
+
nextToken?: string;
|
|
65
|
+
/**
|
|
66
|
+
* @remarks
|
|
67
|
+
* The request ID.
|
|
68
|
+
*
|
|
69
|
+
* @example
|
|
70
|
+
* 2EFCFE18-78F8-5079-B312-07***48B
|
|
71
|
+
*/
|
|
72
|
+
requestId?: string;
|
|
73
|
+
totalCount?: number;
|
|
74
|
+
static names(): { [key: string]: string } {
|
|
75
|
+
return {
|
|
76
|
+
deliveryConfigs: 'DeliveryConfigs',
|
|
77
|
+
maxResults: 'MaxResults',
|
|
78
|
+
nextToken: 'NextToken',
|
|
79
|
+
requestId: 'RequestId',
|
|
80
|
+
totalCount: 'TotalCount',
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
static types(): { [key: string]: any } {
|
|
85
|
+
return {
|
|
86
|
+
deliveryConfigs: { 'type': 'array', 'itemType': DescribeLogDeliveryConfigsResponseBodyDeliveryConfigs },
|
|
87
|
+
maxResults: 'number',
|
|
88
|
+
nextToken: 'string',
|
|
89
|
+
requestId: 'string',
|
|
90
|
+
totalCount: 'number',
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
validate() {
|
|
95
|
+
if(Array.isArray(this.deliveryConfigs)) {
|
|
96
|
+
$dara.Model.validateArray(this.deliveryConfigs);
|
|
97
|
+
}
|
|
98
|
+
super.validate();
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
constructor(map?: { [key: string]: any }) {
|
|
102
|
+
super(map);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
@@ -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 DescribeResourceLogDeliveryStatusRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* waf_v3prepaid_public_cn-g6z3z*****
|
|
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
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* This parameter is required.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* alb-wewbb23dfsetetcic1242-0****,test.waf.com-waf
|
|
30
|
+
*/
|
|
31
|
+
resources?: string;
|
|
32
|
+
static names(): { [key: string]: string } {
|
|
33
|
+
return {
|
|
34
|
+
instanceId: 'InstanceId',
|
|
35
|
+
regionId: 'RegionId',
|
|
36
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
37
|
+
resources: 'Resources',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
instanceId: 'string',
|
|
44
|
+
regionId: 'string',
|
|
45
|
+
resourceManagerResourceGroupId: 'string',
|
|
46
|
+
resources: '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 { DescribeResourceLogDeliveryStatusResponseBody } from "./DescribeResourceLogDeliveryStatusResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeResourceLogDeliveryStatusResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeResourceLogDeliveryStatusResponseBody;
|
|
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: DescribeResourceLogDeliveryStatusResponseBody,
|
|
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,85 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeResourceLogDeliveryStatusResponseBodyLogConfigs extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* export-kafka
|
|
9
|
+
*/
|
|
10
|
+
deliveryName?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* kafka
|
|
14
|
+
*/
|
|
15
|
+
deliveryType?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* test.waf.com-waf
|
|
19
|
+
*/
|
|
20
|
+
resource?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* true
|
|
24
|
+
*/
|
|
25
|
+
status?: boolean;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
deliveryName: 'DeliveryName',
|
|
29
|
+
deliveryType: 'DeliveryType',
|
|
30
|
+
resource: 'Resource',
|
|
31
|
+
status: 'Status',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
deliveryName: 'string',
|
|
38
|
+
deliveryType: 'string',
|
|
39
|
+
resource: 'string',
|
|
40
|
+
status: 'boolean',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
validate() {
|
|
45
|
+
super.validate();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
constructor(map?: { [key: string]: any }) {
|
|
49
|
+
super(map);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export class DescribeResourceLogDeliveryStatusResponseBody extends $dara.Model {
|
|
54
|
+
logConfigs?: DescribeResourceLogDeliveryStatusResponseBodyLogConfigs[];
|
|
55
|
+
/**
|
|
56
|
+
* @example
|
|
57
|
+
* D7861F61-5B61-46CE-A47C-6B19****5EB0
|
|
58
|
+
*/
|
|
59
|
+
requestId?: string;
|
|
60
|
+
static names(): { [key: string]: string } {
|
|
61
|
+
return {
|
|
62
|
+
logConfigs: 'LogConfigs',
|
|
63
|
+
requestId: 'RequestId',
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
static types(): { [key: string]: any } {
|
|
68
|
+
return {
|
|
69
|
+
logConfigs: { 'type': 'array', 'itemType': DescribeResourceLogDeliveryStatusResponseBodyLogConfigs },
|
|
70
|
+
requestId: 'string',
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
validate() {
|
|
75
|
+
if(Array.isArray(this.logConfigs)) {
|
|
76
|
+
$dara.Model.validateArray(this.logConfigs);
|
|
77
|
+
}
|
|
78
|
+
super.validate();
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
constructor(map?: { [key: string]: any }) {
|
|
82
|
+
super(map);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
@@ -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 DescribeResourceLogFieldConfigRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* sls
|
|
12
|
+
*/
|
|
13
|
+
deliveryType?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* waf_v3prepaid_public_cn-zpr3*******
|
|
20
|
+
*/
|
|
21
|
+
instanceId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* cn-hangzhou
|
|
25
|
+
*/
|
|
26
|
+
regionId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* This parameter is required.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* test.waf.com-waf
|
|
33
|
+
*/
|
|
34
|
+
resource?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @example
|
|
37
|
+
* rg-acfm***q
|
|
38
|
+
*/
|
|
39
|
+
resourceManagerResourceGroupId?: string;
|
|
40
|
+
static names(): { [key: string]: string } {
|
|
41
|
+
return {
|
|
42
|
+
deliveryType: 'DeliveryType',
|
|
43
|
+
instanceId: 'InstanceId',
|
|
44
|
+
regionId: 'RegionId',
|
|
45
|
+
resource: 'Resource',
|
|
46
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
static types(): { [key: string]: any } {
|
|
51
|
+
return {
|
|
52
|
+
deliveryType: 'string',
|
|
53
|
+
instanceId: 'string',
|
|
54
|
+
regionId: 'string',
|
|
55
|
+
resource: '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
|
+
|