@alicloud/waf-openapi20211001 5.4.0 → 5.5.1
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 +120 -0
- package/dist/client.js +435 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateCertsRequest.d.ts +2 -0
- package/dist/models/CreateCertsRequest.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/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/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/model.d.ts +32 -0
- package/dist/models/model.js +79 -15
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +500 -0
- package/src/models/CreateCertsRequest.ts +2 -0
- package/src/models/CreateDomainRequest.ts +12 -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/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/model.ts +32 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeHybridCloudSdkServersResponseBody } from "./DescribeHybridCloudSdkServersResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeHybridCloudSdkServersResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeHybridCloudSdkServersResponseBody;
|
|
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: DescribeHybridCloudSdkServersResponseBody,
|
|
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,121 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeHybridCloudSdkServersResponseBodySdkServers extends $dara.Model {
|
|
6
|
+
clusterName?: string;
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* 1621428205000
|
|
10
|
+
*/
|
|
11
|
+
createTime?: number;
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* qsh5-sec-8-fedd**005
|
|
15
|
+
*/
|
|
16
|
+
hostName?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @example
|
|
19
|
+
* 127.0.0.1
|
|
20
|
+
*/
|
|
21
|
+
ip?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* SDKID。
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* b11327c21790846374051d5d**83c
|
|
28
|
+
*/
|
|
29
|
+
mid?: string;
|
|
30
|
+
protectionGroupAddress?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* on
|
|
34
|
+
*/
|
|
35
|
+
pullinStatus?: string;
|
|
36
|
+
resourceId?: string;
|
|
37
|
+
status?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @example
|
|
40
|
+
* 1719489906000
|
|
41
|
+
*/
|
|
42
|
+
updateTime?: number;
|
|
43
|
+
static names(): { [key: string]: string } {
|
|
44
|
+
return {
|
|
45
|
+
clusterName: 'ClusterName',
|
|
46
|
+
createTime: 'CreateTime',
|
|
47
|
+
hostName: 'HostName',
|
|
48
|
+
ip: 'Ip',
|
|
49
|
+
mid: 'Mid',
|
|
50
|
+
protectionGroupAddress: 'ProtectionGroupAddress',
|
|
51
|
+
pullinStatus: 'PullinStatus',
|
|
52
|
+
resourceId: 'ResourceId',
|
|
53
|
+
status: 'Status',
|
|
54
|
+
updateTime: 'UpdateTime',
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
static types(): { [key: string]: any } {
|
|
59
|
+
return {
|
|
60
|
+
clusterName: 'string',
|
|
61
|
+
createTime: 'number',
|
|
62
|
+
hostName: 'string',
|
|
63
|
+
ip: 'string',
|
|
64
|
+
mid: 'string',
|
|
65
|
+
protectionGroupAddress: 'string',
|
|
66
|
+
pullinStatus: 'string',
|
|
67
|
+
resourceId: 'string',
|
|
68
|
+
status: 'string',
|
|
69
|
+
updateTime: 'number',
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
validate() {
|
|
74
|
+
super.validate();
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
constructor(map?: { [key: string]: any }) {
|
|
78
|
+
super(map);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export class DescribeHybridCloudSdkServersResponseBody extends $dara.Model {
|
|
83
|
+
/**
|
|
84
|
+
* @example
|
|
85
|
+
* 3600F008-2E76-5D0B-BC76-EFBD****6D
|
|
86
|
+
*/
|
|
87
|
+
requestId?: string;
|
|
88
|
+
sdkServers?: DescribeHybridCloudSdkServersResponseBodySdkServers[];
|
|
89
|
+
/**
|
|
90
|
+
* @example
|
|
91
|
+
* 5
|
|
92
|
+
*/
|
|
93
|
+
totalCount?: number;
|
|
94
|
+
static names(): { [key: string]: string } {
|
|
95
|
+
return {
|
|
96
|
+
requestId: 'RequestId',
|
|
97
|
+
sdkServers: 'SdkServers',
|
|
98
|
+
totalCount: 'TotalCount',
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
static types(): { [key: string]: any } {
|
|
103
|
+
return {
|
|
104
|
+
requestId: 'string',
|
|
105
|
+
sdkServers: { 'type': 'array', 'itemType': DescribeHybridCloudSdkServersResponseBodySdkServers },
|
|
106
|
+
totalCount: 'number',
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
validate() {
|
|
111
|
+
if(Array.isArray(this.sdkServers)) {
|
|
112
|
+
$dara.Model.validateArray(this.sdkServers);
|
|
113
|
+
}
|
|
114
|
+
super.validate();
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
constructor(map?: { [key: string]: any }) {
|
|
118
|
+
super(map);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeHybridCloudSupportRegionsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* waf_v3prepaid_public_cn-uqm3e3s6x03
|
|
12
|
+
*/
|
|
13
|
+
instanceId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* cn-hangzhou
|
|
17
|
+
*/
|
|
18
|
+
regionId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* rg-acfm***q
|
|
22
|
+
*/
|
|
23
|
+
resourceManagerResourceGroupId?: string;
|
|
24
|
+
static names(): { [key: string]: string } {
|
|
25
|
+
return {
|
|
26
|
+
instanceId: 'InstanceId',
|
|
27
|
+
regionId: 'RegionId',
|
|
28
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
static types(): { [key: string]: any } {
|
|
33
|
+
return {
|
|
34
|
+
instanceId: 'string',
|
|
35
|
+
regionId: 'string',
|
|
36
|
+
resourceManagerResourceGroupId: 'string',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
validate() {
|
|
41
|
+
super.validate();
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
constructor(map?: { [key: string]: any }) {
|
|
45
|
+
super(map);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeHybridCloudSupportRegionsResponseBody } from "./DescribeHybridCloudSupportRegionsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeHybridCloudSupportRegionsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeHybridCloudSupportRegionsResponseBody;
|
|
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: DescribeHybridCloudSupportRegionsResponseBody,
|
|
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,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
|
+
|
|
@@ -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
|
+
|