@alicloud/waf-openapi20211001 5.3.0 → 5.5.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 +859 -8
- package/dist/client.js.map +1 -1
- package/dist/models/CreateDomainRequest.d.ts +4 -0
- package/dist/models/CreateDomainRequest.js +8 -0
- package/dist/models/CreateDomainRequest.js.map +1 -1
- package/dist/models/CreateHybridCloudClusterRequest.d.ts +175 -0
- package/dist/models/CreateHybridCloudClusterRequest.js +88 -0
- package/dist/models/CreateHybridCloudClusterRequest.js.map +1 -0
- package/dist/models/CreateHybridCloudClusterResponse.d.ts +19 -0
- package/dist/models/CreateHybridCloudClusterResponse.js +69 -0
- package/dist/models/CreateHybridCloudClusterResponse.js.map +1 -0
- package/dist/models/CreateHybridCloudClusterResponseBody.d.ts +29 -0
- package/dist/models/CreateHybridCloudClusterResponseBody.js +60 -0
- package/dist/models/CreateHybridCloudClusterResponseBody.js.map +1 -0
- package/dist/models/DescribeCommonLogFieldsRequest.d.ts +42 -0
- package/dist/models/DescribeCommonLogFieldsRequest.js +71 -0
- package/dist/models/DescribeCommonLogFieldsRequest.js.map +1 -0
- package/dist/models/DescribeCommonLogFieldsResponse.d.ts +19 -0
- package/dist/models/DescribeCommonLogFieldsResponse.js +69 -0
- package/dist/models/DescribeCommonLogFieldsResponse.js.map +1 -0
- package/dist/models/DescribeCommonLogFieldsResponseBody.d.ts +56 -0
- package/dist/models/DescribeCommonLogFieldsResponseBody.js +90 -0
- package/dist/models/DescribeCommonLogFieldsResponseBody.js.map +1 -0
- package/dist/models/DescribeCommonLogFieldsShrinkRequest.d.ts +42 -0
- package/dist/models/DescribeCommonLogFieldsShrinkRequest.js +68 -0
- package/dist/models/DescribeCommonLogFieldsShrinkRequest.js.map +1 -0
- package/dist/models/DescribeDefenseGroupValidResourcesRequest.d.ts +51 -0
- package/dist/models/DescribeDefenseGroupValidResourcesRequest.js +70 -0
- package/dist/models/DescribeDefenseGroupValidResourcesRequest.js.map +1 -0
- package/dist/models/DescribeDefenseGroupValidResourcesResponse.d.ts +19 -0
- package/dist/models/DescribeDefenseGroupValidResourcesResponse.js +69 -0
- package/dist/models/DescribeDefenseGroupValidResourcesResponse.js.map +1 -0
- package/dist/models/DescribeDefenseGroupValidResourcesResponseBody.d.ts +24 -0
- package/dist/models/DescribeDefenseGroupValidResourcesResponseBody.js +65 -0
- package/dist/models/DescribeDefenseGroupValidResourcesResponseBody.js.map +1 -0
- package/dist/models/DescribeDefenseTemplateValidResourcesRequest.d.ts +59 -0
- package/dist/models/DescribeDefenseTemplateValidResourcesRequest.js +72 -0
- package/dist/models/DescribeDefenseTemplateValidResourcesRequest.js.map +1 -0
- package/dist/models/DescribeDefenseTemplateValidResourcesResponse.d.ts +19 -0
- package/dist/models/DescribeDefenseTemplateValidResourcesResponse.js +69 -0
- package/dist/models/DescribeDefenseTemplateValidResourcesResponse.js.map +1 -0
- package/dist/models/DescribeDefenseTemplateValidResourcesResponseBody.d.ts +24 -0
- package/dist/models/DescribeDefenseTemplateValidResourcesResponseBody.js +65 -0
- package/dist/models/DescribeDefenseTemplateValidResourcesResponseBody.js.map +1 -0
- package/dist/models/DescribeDomainDetailResponseBody.d.ts +4 -0
- package/dist/models/DescribeDomainDetailResponseBody.js +8 -0
- package/dist/models/DescribeDomainDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeHybridCloudBasicMonitorRequest.d.ts +54 -0
- package/dist/models/DescribeHybridCloudBasicMonitorRequest.js +64 -0
- package/dist/models/DescribeHybridCloudBasicMonitorRequest.js.map +1 -0
- package/dist/models/DescribeHybridCloudBasicMonitorResponse.d.ts +19 -0
- package/dist/models/DescribeHybridCloudBasicMonitorResponse.js +69 -0
- package/dist/models/DescribeHybridCloudBasicMonitorResponse.js.map +1 -0
- package/dist/models/DescribeHybridCloudBasicMonitorResponseBody.d.ts +60 -0
- package/dist/models/DescribeHybridCloudBasicMonitorResponseBody.js +88 -0
- package/dist/models/DescribeHybridCloudBasicMonitorResponseBody.js.map +1 -0
- package/dist/models/DescribeHybridCloudClusterServersRequest.d.ts +69 -0
- package/dist/models/DescribeHybridCloudClusterServersRequest.js +76 -0
- package/dist/models/DescribeHybridCloudClusterServersRequest.js.map +1 -0
- package/dist/models/DescribeHybridCloudClusterServersResponse.d.ts +19 -0
- package/dist/models/DescribeHybridCloudClusterServersResponse.js +69 -0
- package/dist/models/DescribeHybridCloudClusterServersResponse.js.map +1 -0
- package/dist/models/DescribeHybridCloudClusterServersResponseBody.d.ts +128 -0
- package/dist/models/DescribeHybridCloudClusterServersResponseBody.js +122 -0
- package/dist/models/DescribeHybridCloudClusterServersResponseBody.js.map +1 -0
- package/dist/models/DescribeHybridCloudProcessMonitorRequest.d.ts +54 -0
- package/dist/models/DescribeHybridCloudProcessMonitorRequest.js +64 -0
- package/dist/models/DescribeHybridCloudProcessMonitorRequest.js.map +1 -0
- package/dist/models/DescribeHybridCloudProcessMonitorResponse.d.ts +19 -0
- package/dist/models/DescribeHybridCloudProcessMonitorResponse.js +69 -0
- package/dist/models/DescribeHybridCloudProcessMonitorResponse.js.map +1 -0
- package/dist/models/DescribeHybridCloudProcessMonitorResponseBody.d.ts +70 -0
- package/dist/models/DescribeHybridCloudProcessMonitorResponseBody.js +88 -0
- package/dist/models/DescribeHybridCloudProcessMonitorResponseBody.js.map +1 -0
- package/dist/models/DescribeHybridCloudResourceDetailRequest.d.ts +59 -0
- package/dist/models/DescribeHybridCloudResourceDetailRequest.js +72 -0
- package/dist/models/DescribeHybridCloudResourceDetailRequest.js.map +1 -0
- package/dist/models/DescribeHybridCloudResourceDetailResponse.d.ts +19 -0
- package/dist/models/DescribeHybridCloudResourceDetailResponse.js +69 -0
- package/dist/models/DescribeHybridCloudResourceDetailResponse.js.map +1 -0
- package/dist/models/DescribeHybridCloudResourceDetailResponseBody.d.ts +236 -0
- package/dist/models/DescribeHybridCloudResourceDetailResponseBody.js +233 -0
- package/dist/models/DescribeHybridCloudResourceDetailResponseBody.js.map +1 -0
- package/dist/models/DescribeHybridCloudSdkServersRequest.d.ts +44 -0
- package/dist/models/DescribeHybridCloudSdkServersRequest.js +72 -0
- package/dist/models/DescribeHybridCloudSdkServersRequest.js.map +1 -0
- package/dist/models/DescribeHybridCloudSdkServersResponse.d.ts +19 -0
- package/dist/models/DescribeHybridCloudSdkServersResponse.js +69 -0
- package/dist/models/DescribeHybridCloudSdkServersResponse.js.map +1 -0
- package/dist/models/DescribeHybridCloudSdkServersResponseBody.d.ts +73 -0
- package/dist/models/DescribeHybridCloudSdkServersResponseBody.js +102 -0
- package/dist/models/DescribeHybridCloudSdkServersResponseBody.js.map +1 -0
- package/dist/models/DescribeHybridCloudSupportRegionsRequest.d.ts +31 -0
- package/dist/models/DescribeHybridCloudSupportRegionsRequest.js +62 -0
- package/dist/models/DescribeHybridCloudSupportRegionsRequest.js.map +1 -0
- package/dist/models/DescribeHybridCloudSupportRegionsResponse.d.ts +19 -0
- package/dist/models/DescribeHybridCloudSupportRegionsResponse.js +69 -0
- package/dist/models/DescribeHybridCloudSupportRegionsResponse.js.map +1 -0
- package/dist/models/DescribeHybridCloudSupportRegionsResponseBody.d.ts +19 -0
- package/dist/models/DescribeHybridCloudSupportRegionsResponseBody.js +63 -0
- package/dist/models/DescribeHybridCloudSupportRegionsResponseBody.js.map +1 -0
- package/dist/models/DescribeHybridCloudUnsupportPortsRequest.d.ts +44 -0
- package/dist/models/DescribeHybridCloudUnsupportPortsRequest.js +62 -0
- package/dist/models/DescribeHybridCloudUnsupportPortsRequest.js.map +1 -0
- package/dist/models/DescribeHybridCloudUnsupportPortsResponse.d.ts +19 -0
- package/dist/models/DescribeHybridCloudUnsupportPortsResponse.js +69 -0
- package/dist/models/DescribeHybridCloudUnsupportPortsResponse.js.map +1 -0
- package/dist/models/DescribeHybridCloudUnsupportPortsResponseBody.d.ts +37 -0
- package/dist/models/DescribeHybridCloudUnsupportPortsResponseBody.js +62 -0
- package/dist/models/DescribeHybridCloudUnsupportPortsResponseBody.js.map +1 -0
- package/dist/models/DescribeUserLogFieldConfigRequest.d.ts +36 -0
- package/dist/models/DescribeUserLogFieldConfigRequest.js +64 -0
- package/dist/models/DescribeUserLogFieldConfigRequest.js.map +1 -0
- package/dist/models/DescribeUserLogFieldConfigResponse.d.ts +19 -0
- package/dist/models/DescribeUserLogFieldConfigResponse.js +69 -0
- package/dist/models/DescribeUserLogFieldConfigResponse.js.map +1 -0
- package/dist/models/DescribeUserLogFieldConfigResponseBody.d.ts +53 -0
- package/dist/models/DescribeUserLogFieldConfigResponseBody.js +72 -0
- package/dist/models/DescribeUserLogFieldConfigResponseBody.js.map +1 -0
- package/dist/models/ModifyDomainRequest.d.ts +20 -0
- package/dist/models/ModifyDomainRequest.js +8 -0
- package/dist/models/ModifyDomainRequest.js.map +1 -1
- package/dist/models/ModifyHybridCloudClusterRequest.d.ts +105 -0
- package/dist/models/ModifyHybridCloudClusterRequest.js +90 -0
- package/dist/models/ModifyHybridCloudClusterRequest.js.map +1 -0
- package/dist/models/ModifyHybridCloudClusterResponse.d.ts +19 -0
- package/dist/models/ModifyHybridCloudClusterResponse.js +69 -0
- package/dist/models/ModifyHybridCloudClusterResponse.js.map +1 -0
- package/dist/models/ModifyHybridCloudClusterResponseBody.d.ts +21 -0
- package/dist/models/ModifyHybridCloudClusterResponseBody.js +58 -0
- package/dist/models/ModifyHybridCloudClusterResponseBody.js.map +1 -0
- package/dist/models/ModifyUserLogFieldConfigRequest.d.ts +54 -0
- package/dist/models/ModifyUserLogFieldConfigRequest.js +70 -0
- package/dist/models/ModifyUserLogFieldConfigRequest.js.map +1 -0
- package/dist/models/ModifyUserLogFieldConfigResponse.d.ts +19 -0
- package/dist/models/ModifyUserLogFieldConfigResponse.js +69 -0
- package/dist/models/ModifyUserLogFieldConfigResponse.js.map +1 -0
- package/dist/models/ModifyUserLogFieldConfigResponseBody.d.ts +18 -0
- package/dist/models/ModifyUserLogFieldConfigResponseBody.js +58 -0
- package/dist/models/ModifyUserLogFieldConfigResponseBody.js.map +1 -0
- package/dist/models/ModifyUserWafLogStatusRequest.d.ts +44 -0
- package/dist/models/ModifyUserWafLogStatusRequest.js +66 -0
- package/dist/models/ModifyUserWafLogStatusRequest.js.map +1 -0
- package/dist/models/ModifyUserWafLogStatusResponse.d.ts +19 -0
- package/dist/models/ModifyUserWafLogStatusResponse.js +69 -0
- package/dist/models/ModifyUserWafLogStatusResponse.js.map +1 -0
- package/dist/models/ModifyUserWafLogStatusResponseBody.d.ts +28 -0
- package/dist/models/ModifyUserWafLogStatusResponseBody.js +62 -0
- package/dist/models/ModifyUserWafLogStatusResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +55 -0
- package/dist/models/model.js +126 -15
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1012 -28
- package/src/models/CreateDomainRequest.ts +12 -0
- package/src/models/CreateHybridCloudClusterRequest.ts +218 -0
- package/src/models/CreateHybridCloudClusterResponse.ts +40 -0
- package/src/models/CreateHybridCloudClusterResponseBody.ts +44 -0
- package/src/models/DescribeCommonLogFieldsRequest.ts +68 -0
- package/src/models/DescribeCommonLogFieldsResponse.ts +40 -0
- package/src/models/DescribeCommonLogFieldsResponseBody.ts +92 -0
- package/src/models/DescribeCommonLogFieldsShrinkRequest.ts +65 -0
- package/src/models/DescribeDefenseGroupValidResourcesRequest.ts +76 -0
- package/src/models/DescribeDefenseGroupValidResourcesResponse.ts +40 -0
- package/src/models/DescribeDefenseGroupValidResourcesResponseBody.ts +44 -0
- package/src/models/DescribeDefenseTemplateValidResourcesRequest.ts +86 -0
- package/src/models/DescribeDefenseTemplateValidResourcesResponse.ts +40 -0
- package/src/models/DescribeDefenseTemplateValidResourcesResponseBody.ts +44 -0
- package/src/models/DescribeDomainDetailResponseBody.ts +12 -0
- package/src/models/DescribeHybridCloudBasicMonitorRequest.ts +73 -0
- package/src/models/DescribeHybridCloudBasicMonitorResponse.ts +40 -0
- package/src/models/DescribeHybridCloudBasicMonitorResponseBody.ts +94 -0
- package/src/models/DescribeHybridCloudClusterServersRequest.ts +100 -0
- package/src/models/DescribeHybridCloudClusterServersResponse.ts +40 -0
- package/src/models/DescribeHybridCloudClusterServersResponseBody.ts +196 -0
- package/src/models/DescribeHybridCloudProcessMonitorRequest.ts +73 -0
- package/src/models/DescribeHybridCloudProcessMonitorResponse.ts +40 -0
- package/src/models/DescribeHybridCloudProcessMonitorResponseBody.ts +104 -0
- package/src/models/DescribeHybridCloudResourceDetailRequest.ts +86 -0
- package/src/models/DescribeHybridCloudResourceDetailResponse.ts +40 -0
- package/src/models/DescribeHybridCloudResourceDetailResponseBody.ts +388 -0
- package/src/models/DescribeHybridCloudSdkServersRequest.ts +71 -0
- package/src/models/DescribeHybridCloudSdkServersResponse.ts +40 -0
- package/src/models/DescribeHybridCloudSdkServersResponseBody.ts +121 -0
- package/src/models/DescribeHybridCloudSupportRegionsRequest.ts +48 -0
- package/src/models/DescribeHybridCloudSupportRegionsResponse.ts +40 -0
- package/src/models/DescribeHybridCloudSupportRegionsResponseBody.ts +37 -0
- package/src/models/DescribeHybridCloudUnsupportPortsRequest.ts +61 -0
- package/src/models/DescribeHybridCloudUnsupportPortsResponse.ts +40 -0
- package/src/models/DescribeHybridCloudUnsupportPortsResponseBody.ts +54 -0
- package/src/models/DescribeUserLogFieldConfigRequest.ts +55 -0
- package/src/models/DescribeUserLogFieldConfigResponse.ts +40 -0
- package/src/models/DescribeUserLogFieldConfigResponseBody.ts +80 -0
- package/src/models/ModifyDomainRequest.ts +28 -0
- package/src/models/ModifyHybridCloudClusterRequest.ts +150 -0
- package/src/models/ModifyHybridCloudClusterResponse.ts +40 -0
- package/src/models/ModifyHybridCloudClusterResponseBody.ts +34 -0
- package/src/models/ModifyUserLogFieldConfigRequest.ts +79 -0
- package/src/models/ModifyUserLogFieldConfigResponse.ts +40 -0
- package/src/models/ModifyUserLogFieldConfigResponseBody.ts +31 -0
- package/src/models/ModifyUserWafLogStatusRequest.ts +65 -0
- package/src/models/ModifyUserWafLogStatusResponse.ts +40 -0
- package/src/models/ModifyUserWafLogStatusResponseBody.ts +45 -0
- package/src/models/model.ts +55 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeHybridCloudSupportRegionsResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 256959D5-3B45-54CD-A66D-F75F11E8E754
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
supportRegions?: string[];
|
|
12
|
+
static names(): { [key: string]: string } {
|
|
13
|
+
return {
|
|
14
|
+
requestId: 'RequestId',
|
|
15
|
+
supportRegions: 'SupportRegions',
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
static types(): { [key: string]: any } {
|
|
20
|
+
return {
|
|
21
|
+
requestId: 'string',
|
|
22
|
+
supportRegions: { 'type': 'array', 'itemType': 'string' },
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(Array.isArray(this.supportRegions)) {
|
|
28
|
+
$dara.Model.validateArray(this.supportRegions);
|
|
29
|
+
}
|
|
30
|
+
super.validate();
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
constructor(map?: { [key: string]: any }) {
|
|
34
|
+
super(map);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeHybridCloudUnsupportPortsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the WAF instance.
|
|
9
|
+
*
|
|
10
|
+
* > You can call the [DescribeInstanceInfo](https://help.aliyun.com/document_detail/140857.html) operation to query the ID of the WAF instance.
|
|
11
|
+
*
|
|
12
|
+
* This parameter is required.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* waf_cdnsdf3****
|
|
16
|
+
*/
|
|
17
|
+
instanceId?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @remarks
|
|
20
|
+
* The region ID of the Web Application Firewall (WAF) instance. Valid values:
|
|
21
|
+
*
|
|
22
|
+
* * **cn-hangzhou**: Chinese mainland.
|
|
23
|
+
* * **ap-southeast-1**: outside the Chinese mainland.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* cn-hangzhou
|
|
27
|
+
*/
|
|
28
|
+
regionId?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @remarks
|
|
31
|
+
* The ID of the Alibaba Cloud resource group.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* rg-acfm***q
|
|
35
|
+
*/
|
|
36
|
+
resourceManagerResourceGroupId?: string;
|
|
37
|
+
static names(): { [key: string]: string } {
|
|
38
|
+
return {
|
|
39
|
+
instanceId: 'InstanceId',
|
|
40
|
+
regionId: 'RegionId',
|
|
41
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
static types(): { [key: string]: any } {
|
|
46
|
+
return {
|
|
47
|
+
instanceId: 'string',
|
|
48
|
+
regionId: 'string',
|
|
49
|
+
resourceManagerResourceGroupId: 'string',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
validate() {
|
|
54
|
+
super.validate();
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
constructor(map?: { [key: string]: any }) {
|
|
58
|
+
super(map);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeHybridCloudUnsupportPortsResponseBody } from "./DescribeHybridCloudUnsupportPortsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeHybridCloudUnsupportPortsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeHybridCloudUnsupportPortsResponseBody;
|
|
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: DescribeHybridCloudUnsupportPortsResponseBody,
|
|
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,54 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeHybridCloudUnsupportPortsResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The HTTP ports. The value is a string. If multiple ports are returned, the value is in the **port1,port2,port3** format.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 80,8080
|
|
12
|
+
*/
|
|
13
|
+
httpPorts?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The HTTPS ports. The value is a string. If multiple ports are returned, the value is in the **port1,port2,port3** format.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 443,8443,8021,3443,2443,9011
|
|
20
|
+
*/
|
|
21
|
+
httpsPorts?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The request ID.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* C2E97B3F-1623-4CDF-A7E2-FD9D****027A
|
|
28
|
+
*/
|
|
29
|
+
requestId?: string;
|
|
30
|
+
static names(): { [key: string]: string } {
|
|
31
|
+
return {
|
|
32
|
+
httpPorts: 'HttpPorts',
|
|
33
|
+
httpsPorts: 'HttpsPorts',
|
|
34
|
+
requestId: 'RequestId',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
httpPorts: 'string',
|
|
41
|
+
httpsPorts: 'string',
|
|
42
|
+
requestId: 'string',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
super.validate();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
constructor(map?: { [key: string]: any }) {
|
|
51
|
+
super(map);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeUserLogFieldConfigRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* sls
|
|
9
|
+
*/
|
|
10
|
+
deliveryType?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* This parameter is required.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* waf_v3prepaid_public_cn-0*****
|
|
17
|
+
*/
|
|
18
|
+
instanceId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* cn-hangzhou
|
|
22
|
+
*/
|
|
23
|
+
regionId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @example
|
|
26
|
+
* rg-aek24******
|
|
27
|
+
*/
|
|
28
|
+
resourceManagerResourceGroupId?: string;
|
|
29
|
+
static names(): { [key: string]: string } {
|
|
30
|
+
return {
|
|
31
|
+
deliveryType: 'DeliveryType',
|
|
32
|
+
instanceId: 'InstanceId',
|
|
33
|
+
regionId: 'RegionId',
|
|
34
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
deliveryType: 'string',
|
|
41
|
+
instanceId: 'string',
|
|
42
|
+
regionId: 'string',
|
|
43
|
+
resourceManagerResourceGroupId: 'string',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
validate() {
|
|
48
|
+
super.validate();
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
constructor(map?: { [key: string]: any }) {
|
|
52
|
+
super(map);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeUserLogFieldConfigResponseBody } from "./DescribeUserLogFieldConfigResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeUserLogFieldConfigResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeUserLogFieldConfigResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DescribeUserLogFieldConfigResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeUserLogFieldConfigResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* acl_action,acl_rule_id
|
|
9
|
+
*/
|
|
10
|
+
addList?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* success_finished
|
|
14
|
+
*/
|
|
15
|
+
configStatus?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* waf_rule_id,waf_rule_type
|
|
19
|
+
*/
|
|
20
|
+
delList?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* sls
|
|
24
|
+
*/
|
|
25
|
+
deliveryType?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* {\\"request_header\\":\\"Ali-Cdn-Real-Ip\\"}
|
|
29
|
+
*/
|
|
30
|
+
extendConfig?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* account,acl_action,acl_rule_id,acl_rule_type
|
|
34
|
+
*/
|
|
35
|
+
fieldList?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* [{\\"logType\\":\\"blockLog\\",\\"rate\\":100},{\\"logType\\":\\"normalRequestLog\\",\\"rate\\":100},{\\"logType\\":\\"checkLog\\",\\"rate\\":100}]
|
|
39
|
+
*/
|
|
40
|
+
logDeliveryStrategy?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* 653778B4-4D47-5223-855B-4E******
|
|
44
|
+
*/
|
|
45
|
+
requestId?: string;
|
|
46
|
+
static names(): { [key: string]: string } {
|
|
47
|
+
return {
|
|
48
|
+
addList: 'AddList',
|
|
49
|
+
configStatus: 'ConfigStatus',
|
|
50
|
+
delList: 'DelList',
|
|
51
|
+
deliveryType: 'DeliveryType',
|
|
52
|
+
extendConfig: 'ExtendConfig',
|
|
53
|
+
fieldList: 'FieldList',
|
|
54
|
+
logDeliveryStrategy: 'LogDeliveryStrategy',
|
|
55
|
+
requestId: 'RequestId',
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
static types(): { [key: string]: any } {
|
|
60
|
+
return {
|
|
61
|
+
addList: 'string',
|
|
62
|
+
configStatus: 'string',
|
|
63
|
+
delList: 'string',
|
|
64
|
+
deliveryType: 'string',
|
|
65
|
+
extendConfig: 'string',
|
|
66
|
+
fieldList: 'string',
|
|
67
|
+
logDeliveryStrategy: 'string',
|
|
68
|
+
requestId: 'string',
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
validate() {
|
|
73
|
+
super.validate();
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
constructor(map?: { [key: string]: any }) {
|
|
77
|
+
super(map);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
@@ -453,6 +453,16 @@ export class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
453
453
|
* www.aliyundoc.com
|
|
454
454
|
*/
|
|
455
455
|
sniHost?: string;
|
|
456
|
+
/**
|
|
457
|
+
* **if can be null:**
|
|
458
|
+
* true
|
|
459
|
+
*/
|
|
460
|
+
WLProxyClientIp?: boolean;
|
|
461
|
+
/**
|
|
462
|
+
* **if can be null:**
|
|
463
|
+
* true
|
|
464
|
+
*/
|
|
465
|
+
webServerType?: boolean;
|
|
456
466
|
/**
|
|
457
467
|
* @remarks
|
|
458
468
|
* The timeout period of write connections. Unit: seconds. Valid values: 1 to 3600.
|
|
@@ -461,6 +471,16 @@ export class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
461
471
|
* 200
|
|
462
472
|
*/
|
|
463
473
|
writeTimeout?: number;
|
|
474
|
+
/**
|
|
475
|
+
* **if can be null:**
|
|
476
|
+
* true
|
|
477
|
+
*/
|
|
478
|
+
XClientIp?: boolean;
|
|
479
|
+
/**
|
|
480
|
+
* **if can be null:**
|
|
481
|
+
* true
|
|
482
|
+
*/
|
|
483
|
+
XTrueIp?: boolean;
|
|
464
484
|
/**
|
|
465
485
|
* @remarks
|
|
466
486
|
* Specifies whether to use the X-Forward-For-Proto header field to pass the protocol used by WAF to forward requests to the origin server. Valid values:
|
|
@@ -490,7 +510,11 @@ export class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
490
510
|
routingRules: 'RoutingRules',
|
|
491
511
|
sniEnabled: 'SniEnabled',
|
|
492
512
|
sniHost: 'SniHost',
|
|
513
|
+
WLProxyClientIp: 'WLProxyClientIp',
|
|
514
|
+
webServerType: 'WebServerType',
|
|
493
515
|
writeTimeout: 'WriteTimeout',
|
|
516
|
+
XClientIp: 'XClientIp',
|
|
517
|
+
XTrueIp: 'XTrueIp',
|
|
494
518
|
xffProto: 'XffProto',
|
|
495
519
|
};
|
|
496
520
|
}
|
|
@@ -513,7 +537,11 @@ export class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
513
537
|
routingRules: 'string',
|
|
514
538
|
sniEnabled: 'boolean',
|
|
515
539
|
sniHost: 'string',
|
|
540
|
+
WLProxyClientIp: 'boolean',
|
|
541
|
+
webServerType: 'boolean',
|
|
516
542
|
writeTimeout: 'number',
|
|
543
|
+
XClientIp: 'boolean',
|
|
544
|
+
XTrueIp: 'boolean',
|
|
517
545
|
xffProto: 'boolean',
|
|
518
546
|
};
|
|
519
547
|
}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifyHybridCloudClusterRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*/
|
|
10
|
+
accessMode?: string;
|
|
11
|
+
accessRegion?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @remarks
|
|
14
|
+
* The name of the cluster.
|
|
15
|
+
*
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*/
|
|
18
|
+
clusterName?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The HTTP ports that are supported. Set this parameter to a string. Specify multiple ports in the **port1,port2,port3** format.
|
|
22
|
+
*
|
|
23
|
+
* This parameter is required.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* 80,8080
|
|
27
|
+
*/
|
|
28
|
+
httpPorts?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @remarks
|
|
31
|
+
* The HTTPS ports that are supported. Set this parameter to a string. Specify multiple ports in the **port1,port2,port3** format.
|
|
32
|
+
*
|
|
33
|
+
* This parameter is required.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* 443,8443
|
|
37
|
+
*/
|
|
38
|
+
httpsPorts?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* The ID of the cluster.
|
|
42
|
+
*
|
|
43
|
+
* This parameter is required.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* 1
|
|
47
|
+
*/
|
|
48
|
+
id?: number;
|
|
49
|
+
/**
|
|
50
|
+
* @remarks
|
|
51
|
+
* The ID of the Web Application Firewall (WAF) instance.
|
|
52
|
+
*
|
|
53
|
+
* > You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
|
|
54
|
+
*
|
|
55
|
+
* This parameter is required.
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* waf-cn-mp9153****
|
|
59
|
+
*/
|
|
60
|
+
instanceId?: string;
|
|
61
|
+
logFieldsNotReturned?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The number of protection nodes that can be added to the cluster.
|
|
65
|
+
*
|
|
66
|
+
* This parameter is required.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* 1
|
|
70
|
+
*/
|
|
71
|
+
protectionServerCount?: number;
|
|
72
|
+
proxyStatus?: string;
|
|
73
|
+
proxyType?: string;
|
|
74
|
+
/**
|
|
75
|
+
* @remarks
|
|
76
|
+
* The region ID of the WAF instance. Valid values:
|
|
77
|
+
*
|
|
78
|
+
* * **cn-hangzhou**: Chinese mainland.
|
|
79
|
+
* * **ap-southeast-1**: outside the Chinese mainland.
|
|
80
|
+
*
|
|
81
|
+
* @example
|
|
82
|
+
* cn-hangzhou
|
|
83
|
+
*/
|
|
84
|
+
regionId?: string;
|
|
85
|
+
/**
|
|
86
|
+
* @remarks
|
|
87
|
+
* The remarks about the cluster.
|
|
88
|
+
*/
|
|
89
|
+
remark?: string;
|
|
90
|
+
/**
|
|
91
|
+
* @example
|
|
92
|
+
* rg-acfm***q
|
|
93
|
+
*/
|
|
94
|
+
resourceManagerResourceGroupId?: string;
|
|
95
|
+
ruleConfig?: string;
|
|
96
|
+
ruleStatus?: string;
|
|
97
|
+
ruleType?: string;
|
|
98
|
+
static names(): { [key: string]: string } {
|
|
99
|
+
return {
|
|
100
|
+
accessMode: 'AccessMode',
|
|
101
|
+
accessRegion: 'AccessRegion',
|
|
102
|
+
clusterName: 'ClusterName',
|
|
103
|
+
httpPorts: 'HttpPorts',
|
|
104
|
+
httpsPorts: 'HttpsPorts',
|
|
105
|
+
id: 'Id',
|
|
106
|
+
instanceId: 'InstanceId',
|
|
107
|
+
logFieldsNotReturned: 'LogFieldsNotReturned',
|
|
108
|
+
protectionServerCount: 'ProtectionServerCount',
|
|
109
|
+
proxyStatus: 'ProxyStatus',
|
|
110
|
+
proxyType: 'ProxyType',
|
|
111
|
+
regionId: 'RegionId',
|
|
112
|
+
remark: 'Remark',
|
|
113
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
114
|
+
ruleConfig: 'RuleConfig',
|
|
115
|
+
ruleStatus: 'RuleStatus',
|
|
116
|
+
ruleType: 'RuleType',
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
static types(): { [key: string]: any } {
|
|
121
|
+
return {
|
|
122
|
+
accessMode: 'string',
|
|
123
|
+
accessRegion: 'string',
|
|
124
|
+
clusterName: 'string',
|
|
125
|
+
httpPorts: 'string',
|
|
126
|
+
httpsPorts: 'string',
|
|
127
|
+
id: 'number',
|
|
128
|
+
instanceId: 'string',
|
|
129
|
+
logFieldsNotReturned: 'string',
|
|
130
|
+
protectionServerCount: 'number',
|
|
131
|
+
proxyStatus: 'string',
|
|
132
|
+
proxyType: 'string',
|
|
133
|
+
regionId: 'string',
|
|
134
|
+
remark: 'string',
|
|
135
|
+
resourceManagerResourceGroupId: 'string',
|
|
136
|
+
ruleConfig: 'string',
|
|
137
|
+
ruleStatus: 'string',
|
|
138
|
+
ruleType: 'string',
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
validate() {
|
|
143
|
+
super.validate();
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
constructor(map?: { [key: string]: any }) {
|
|
147
|
+
super(map);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ModifyHybridCloudClusterResponseBody } from "./ModifyHybridCloudClusterResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ModifyHybridCloudClusterResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ModifyHybridCloudClusterResponseBody;
|
|
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: ModifyHybridCloudClusterResponseBody,
|
|
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 ModifyHybridCloudClusterResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the request.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 2EFCFE18-78F8-5079-B312-07***48B
|
|
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
|
+
|