@alicloud/cloudfw20171207 6.0.0 → 6.1.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 +118 -0
- package/dist/client.js +399 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreatePrivateDnsEndpointRequest.d.ts +92 -0
- package/dist/models/CreatePrivateDnsEndpointRequest.js +87 -0
- package/dist/models/CreatePrivateDnsEndpointRequest.js.map +1 -0
- package/dist/models/CreatePrivateDnsEndpointResponse.d.ts +19 -0
- package/dist/models/CreatePrivateDnsEndpointResponse.js +69 -0
- package/dist/models/CreatePrivateDnsEndpointResponse.js.map +1 -0
- package/dist/models/CreatePrivateDnsEndpointResponseBody.d.ts +31 -0
- package/dist/models/CreatePrivateDnsEndpointResponseBody.js +62 -0
- package/dist/models/CreatePrivateDnsEndpointResponseBody.js.map +1 -0
- package/dist/models/DescribeNetworkInstanceRelationListRequest.d.ts +2 -0
- package/dist/models/DescribeNetworkInstanceRelationListRequest.js +4 -0
- package/dist/models/DescribeNetworkInstanceRelationListRequest.js.map +1 -1
- package/dist/models/DescribeNetworkInstanceRelationListResponseBody.d.ts +36 -0
- package/dist/models/DescribeNetworkInstanceRelationListResponseBody.js +65 -1
- package/dist/models/DescribeNetworkInstanceRelationListResponseBody.js.map +1 -1
- package/dist/models/DescribePostpayUserVpcStatusRequest.d.ts +32 -0
- package/dist/models/DescribePostpayUserVpcStatusRequest.js +60 -0
- package/dist/models/DescribePostpayUserVpcStatusRequest.js.map +1 -0
- package/dist/models/DescribePostpayUserVpcStatusResponse.d.ts +19 -0
- package/dist/models/DescribePostpayUserVpcStatusResponse.js +69 -0
- package/dist/models/DescribePostpayUserVpcStatusResponse.js.map +1 -0
- package/dist/models/DescribePostpayUserVpcStatusResponseBody.d.ts +41 -0
- package/dist/models/DescribePostpayUserVpcStatusResponseBody.js +62 -0
- package/dist/models/DescribePostpayUserVpcStatusResponseBody.js.map +1 -0
- package/dist/models/DescribeSecurityProxyRequest.d.ts +63 -0
- package/dist/models/DescribeSecurityProxyRequest.js +76 -0
- package/dist/models/DescribeSecurityProxyRequest.js.map +1 -0
- package/dist/models/DescribeSecurityProxyResponse.d.ts +19 -0
- package/dist/models/DescribeSecurityProxyResponse.js +69 -0
- package/dist/models/DescribeSecurityProxyResponse.js.map +1 -0
- package/dist/models/DescribeSecurityProxyResponseBody.d.ts +102 -0
- package/dist/models/DescribeSecurityProxyResponseBody.js +113 -0
- package/dist/models/DescribeSecurityProxyResponseBody.js.map +1 -0
- package/dist/models/DescribeThreatIntelligenceSwitchResponse.d.ts +19 -0
- package/dist/models/DescribeThreatIntelligenceSwitchResponse.js +69 -0
- package/dist/models/DescribeThreatIntelligenceSwitchResponse.js.map +1 -0
- package/dist/models/DescribeThreatIntelligenceSwitchResponseBody.d.ts +58 -0
- package/dist/models/DescribeThreatIntelligenceSwitchResponseBody.js +94 -0
- package/dist/models/DescribeThreatIntelligenceSwitchResponseBody.js.map +1 -0
- package/dist/models/DescribeUserIpswhitelistRequest.d.ts +8 -0
- package/dist/models/DescribeUserIpswhitelistRequest.js.map +1 -1
- package/dist/models/DescribeUserIpswhitelistResponseBody.d.ts +36 -0
- package/dist/models/DescribeUserIpswhitelistResponseBody.js.map +1 -1
- package/dist/models/DescribeVulnerabilityProtectedListRequest.d.ts +1 -0
- package/dist/models/DescribeVulnerabilityProtectedListRequest.js +2 -0
- package/dist/models/DescribeVulnerabilityProtectedListRequest.js.map +1 -1
- package/dist/models/DescribeVulnerabilityProtectedListResponseBody.d.ts +1 -0
- package/dist/models/DescribeVulnerabilityProtectedListResponseBody.js +2 -0
- package/dist/models/DescribeVulnerabilityProtectedListResponseBody.js.map +1 -1
- package/dist/models/GetTlsInspectCertificateDownloadUrlRequest.d.ts +21 -0
- package/dist/models/GetTlsInspectCertificateDownloadUrlRequest.js +58 -0
- package/dist/models/GetTlsInspectCertificateDownloadUrlRequest.js.map +1 -0
- package/dist/models/GetTlsInspectCertificateDownloadUrlResponse.d.ts +19 -0
- package/dist/models/GetTlsInspectCertificateDownloadUrlResponse.js +69 -0
- package/dist/models/GetTlsInspectCertificateDownloadUrlResponse.js.map +1 -0
- package/dist/models/GetTlsInspectCertificateDownloadUrlResponseBody.d.ts +24 -0
- package/dist/models/GetTlsInspectCertificateDownloadUrlResponseBody.js +62 -0
- package/dist/models/GetTlsInspectCertificateDownloadUrlResponseBody.js.map +1 -0
- package/dist/models/ListTlsInspectCacertificatesRequest.d.ts +28 -0
- package/dist/models/ListTlsInspectCacertificatesRequest.js +62 -0
- package/dist/models/ListTlsInspectCacertificatesRequest.js.map +1 -0
- package/dist/models/ListTlsInspectCacertificatesResponse.d.ts +19 -0
- package/dist/models/ListTlsInspectCacertificatesResponse.js +69 -0
- package/dist/models/ListTlsInspectCacertificatesResponse.js.map +1 -0
- package/dist/models/ListTlsInspectCacertificatesResponseBody.d.ts +81 -0
- package/dist/models/ListTlsInspectCacertificatesResponseBody.js +100 -0
- package/dist/models/ListTlsInspectCacertificatesResponseBody.js.map +1 -0
- package/dist/models/ModifyUserIpswhitelistRequest.d.ts +28 -0
- package/dist/models/ModifyUserIpswhitelistRequest.js.map +1 -1
- package/dist/models/ModifyUserIpswhitelistResponseBody.d.ts +4 -0
- package/dist/models/ModifyUserIpswhitelistResponseBody.js.map +1 -1
- package/dist/models/UpdatePostpayUserNatStatusRequest.d.ts +42 -0
- package/dist/models/UpdatePostpayUserNatStatusRequest.js +62 -0
- package/dist/models/UpdatePostpayUserNatStatusRequest.js.map +1 -0
- package/dist/models/UpdatePostpayUserNatStatusResponse.d.ts +19 -0
- package/dist/models/UpdatePostpayUserNatStatusResponse.js +69 -0
- package/dist/models/UpdatePostpayUserNatStatusResponse.js.map +1 -0
- package/dist/models/UpdatePostpayUserNatStatusResponseBody.d.ts +21 -0
- package/dist/models/UpdatePostpayUserNatStatusResponseBody.js +58 -0
- package/dist/models/UpdatePostpayUserNatStatusResponseBody.js.map +1 -0
- package/dist/models/UpdatePostpayUserVpcStatusRequest.d.ts +44 -0
- package/dist/models/UpdatePostpayUserVpcStatusRequest.js +62 -0
- package/dist/models/UpdatePostpayUserVpcStatusRequest.js.map +1 -0
- package/dist/models/UpdatePostpayUserVpcStatusResponse.d.ts +19 -0
- package/dist/models/UpdatePostpayUserVpcStatusResponse.js +69 -0
- package/dist/models/UpdatePostpayUserVpcStatusResponse.js.map +1 -0
- package/dist/models/UpdatePostpayUserVpcStatusResponseBody.d.ts +21 -0
- package/dist/models/UpdatePostpayUserVpcStatusResponseBody.js +58 -0
- package/dist/models/UpdatePostpayUserVpcStatusResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +28 -0
- package/dist/models/model.js +75 -18
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +454 -0
- package/src/models/CreatePrivateDnsEndpointRequest.ts +134 -0
- package/src/models/CreatePrivateDnsEndpointResponse.ts +40 -0
- package/src/models/CreatePrivateDnsEndpointResponseBody.ts +48 -0
- package/src/models/DescribeNetworkInstanceRelationListRequest.ts +6 -0
- package/src/models/DescribeNetworkInstanceRelationListResponseBody.ts +82 -0
- package/src/models/DescribePostpayUserVpcStatusRequest.ts +47 -0
- package/src/models/DescribePostpayUserVpcStatusResponse.ts +40 -0
- package/src/models/DescribePostpayUserVpcStatusResponseBody.ts +58 -0
- package/src/models/DescribeSecurityProxyRequest.ts +94 -0
- package/src/models/DescribeSecurityProxyResponse.ts +40 -0
- package/src/models/DescribeSecurityProxyResponseBody.ts +161 -0
- package/src/models/DescribeThreatIntelligenceSwitchResponse.ts +40 -0
- package/src/models/DescribeThreatIntelligenceSwitchResponseBody.ts +98 -0
- package/src/models/DescribeUserIpswhitelistRequest.ts +8 -0
- package/src/models/DescribeUserIpswhitelistResponseBody.ts +36 -0
- package/src/models/DescribeVulnerabilityProtectedListRequest.ts +3 -0
- package/src/models/DescribeVulnerabilityProtectedListResponseBody.ts +3 -0
- package/src/models/GetTlsInspectCertificateDownloadUrlRequest.ts +34 -0
- package/src/models/GetTlsInspectCertificateDownloadUrlResponse.ts +40 -0
- package/src/models/GetTlsInspectCertificateDownloadUrlResponseBody.ts +41 -0
- package/src/models/ListTlsInspectCacertificatesRequest.ts +45 -0
- package/src/models/ListTlsInspectCacertificatesResponse.ts +40 -0
- package/src/models/ListTlsInspectCacertificatesResponseBody.ts +127 -0
- package/src/models/ModifyUserIpswhitelistRequest.ts +28 -0
- package/src/models/ModifyUserIpswhitelistResponseBody.ts +4 -0
- package/src/models/UpdatePostpayUserNatStatusRequest.ts +59 -0
- package/src/models/UpdatePostpayUserNatStatusResponse.ts +40 -0
- package/src/models/UpdatePostpayUserNatStatusResponseBody.ts +34 -0
- package/src/models/UpdatePostpayUserVpcStatusRequest.ts +61 -0
- package/src/models/UpdatePostpayUserVpcStatusResponse.ts +40 -0
- package/src/models/UpdatePostpayUserVpcStatusResponseBody.ts +34 -0
- package/src/models/model.ts +28 -0
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeThreatIntelligenceSwitchResponseBodyCategoryList extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* alert
|
|
9
|
+
*/
|
|
10
|
+
action?: string;
|
|
11
|
+
categoryDescribe?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* 3000037
|
|
15
|
+
*/
|
|
16
|
+
categoryId?: string;
|
|
17
|
+
categoryName?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* 123
|
|
21
|
+
*/
|
|
22
|
+
categoryParentId?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @example
|
|
25
|
+
* 1
|
|
26
|
+
*/
|
|
27
|
+
enableStatus?: number;
|
|
28
|
+
static names(): { [key: string]: string } {
|
|
29
|
+
return {
|
|
30
|
+
action: 'Action',
|
|
31
|
+
categoryDescribe: 'CategoryDescribe',
|
|
32
|
+
categoryId: 'CategoryId',
|
|
33
|
+
categoryName: 'CategoryName',
|
|
34
|
+
categoryParentId: 'CategoryParentId',
|
|
35
|
+
enableStatus: 'EnableStatus',
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
static types(): { [key: string]: any } {
|
|
40
|
+
return {
|
|
41
|
+
action: 'string',
|
|
42
|
+
categoryDescribe: 'string',
|
|
43
|
+
categoryId: 'string',
|
|
44
|
+
categoryName: 'string',
|
|
45
|
+
categoryParentId: 'string',
|
|
46
|
+
enableStatus: 'number',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
validate() {
|
|
51
|
+
super.validate();
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
constructor(map?: { [key: string]: any }) {
|
|
55
|
+
super(map);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export class DescribeThreatIntelligenceSwitchResponseBody extends $dara.Model {
|
|
60
|
+
categoryList?: DescribeThreatIntelligenceSwitchResponseBodyCategoryList[];
|
|
61
|
+
/**
|
|
62
|
+
* @example
|
|
63
|
+
* 6B8E0379-2629-59A1-B811-96F3E****
|
|
64
|
+
*/
|
|
65
|
+
requestId?: string;
|
|
66
|
+
/**
|
|
67
|
+
* @example
|
|
68
|
+
* 24
|
|
69
|
+
*/
|
|
70
|
+
totalCount?: number;
|
|
71
|
+
static names(): { [key: string]: string } {
|
|
72
|
+
return {
|
|
73
|
+
categoryList: 'CategoryList',
|
|
74
|
+
requestId: 'RequestId',
|
|
75
|
+
totalCount: 'TotalCount',
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
static types(): { [key: string]: any } {
|
|
80
|
+
return {
|
|
81
|
+
categoryList: { 'type': 'array', 'itemType': DescribeThreatIntelligenceSwitchResponseBodyCategoryList },
|
|
82
|
+
requestId: 'string',
|
|
83
|
+
totalCount: 'number',
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
validate() {
|
|
88
|
+
if(Array.isArray(this.categoryList)) {
|
|
89
|
+
$dara.Model.validateArray(this.categoryList);
|
|
90
|
+
}
|
|
91
|
+
super.validate();
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
constructor(map?: { [key: string]: any }) {
|
|
95
|
+
super(map);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
@@ -3,7 +3,15 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeUserIPSWhitelistRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* zh
|
|
9
|
+
*/
|
|
6
10
|
lang?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 47.100.XX.XX
|
|
14
|
+
*/
|
|
7
15
|
sourceIp?: string;
|
|
8
16
|
static names(): { [key: string]: string } {
|
|
9
17
|
return {
|
|
@@ -3,10 +3,26 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeUserIPSWhitelistResponseBodyIpv6Whitelists extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 1
|
|
9
|
+
*/
|
|
6
10
|
direction?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 0
|
|
14
|
+
*/
|
|
7
15
|
listType?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 2408:400a:81a:7900:a77d:ea36:fcbf:de40/128
|
|
19
|
+
*/
|
|
8
20
|
listValue?: string;
|
|
9
21
|
whiteListValue?: string[];
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* 2
|
|
25
|
+
*/
|
|
10
26
|
whiteType?: number;
|
|
11
27
|
static names(): { [key: string]: string } {
|
|
12
28
|
return {
|
|
@@ -41,10 +57,26 @@ export class DescribeUserIPSWhitelistResponseBodyIpv6Whitelists extends $dara.Mo
|
|
|
41
57
|
}
|
|
42
58
|
|
|
43
59
|
export class DescribeUserIPSWhitelistResponseBodyWhitelists extends $dara.Model {
|
|
60
|
+
/**
|
|
61
|
+
* @example
|
|
62
|
+
* 1
|
|
63
|
+
*/
|
|
44
64
|
direction?: number;
|
|
65
|
+
/**
|
|
66
|
+
* @example
|
|
67
|
+
* 1
|
|
68
|
+
*/
|
|
45
69
|
listType?: number;
|
|
70
|
+
/**
|
|
71
|
+
* @example
|
|
72
|
+
* 10.10.200.4/32,10.10.200.25/32
|
|
73
|
+
*/
|
|
46
74
|
listValue?: string;
|
|
47
75
|
whiteListValue?: string[];
|
|
76
|
+
/**
|
|
77
|
+
* @example
|
|
78
|
+
* 1
|
|
79
|
+
*/
|
|
48
80
|
whiteType?: number;
|
|
49
81
|
static names(): { [key: string]: string } {
|
|
50
82
|
return {
|
|
@@ -80,6 +112,10 @@ export class DescribeUserIPSWhitelistResponseBodyWhitelists extends $dara.Model
|
|
|
80
112
|
|
|
81
113
|
export class DescribeUserIPSWhitelistResponseBody extends $dara.Model {
|
|
82
114
|
ipv6Whitelists?: DescribeUserIPSWhitelistResponseBodyIpv6Whitelists[];
|
|
115
|
+
/**
|
|
116
|
+
* @example
|
|
117
|
+
* 04F788A5-6A47-5EA9-AC30-CA4DB98AD520
|
|
118
|
+
*/
|
|
83
119
|
requestId?: string;
|
|
84
120
|
whitelists?: DescribeUserIPSWhitelistResponseBodyWhitelists[];
|
|
85
121
|
static names(): { [key: string]: string } {
|
|
@@ -91,6 +91,7 @@ export class DescribeVulnerabilityProtectedListRequest extends $dara.Model {
|
|
|
91
91
|
* 10
|
|
92
92
|
*/
|
|
93
93
|
pageSize?: string;
|
|
94
|
+
ruleTag?: string;
|
|
94
95
|
/**
|
|
95
96
|
* @remarks
|
|
96
97
|
* The sorting basis. Set the value to **attackCnt**, which indicates the number of attacks.
|
|
@@ -189,6 +190,7 @@ export class DescribeVulnerabilityProtectedListRequest extends $dara.Model {
|
|
|
189
190
|
memberUid: 'MemberUid',
|
|
190
191
|
order: 'Order',
|
|
191
192
|
pageSize: 'PageSize',
|
|
193
|
+
ruleTag: 'RuleTag',
|
|
192
194
|
sortKey: 'SortKey',
|
|
193
195
|
sourceIp: 'SourceIp',
|
|
194
196
|
startTime: 'StartTime',
|
|
@@ -211,6 +213,7 @@ export class DescribeVulnerabilityProtectedListRequest extends $dara.Model {
|
|
|
211
213
|
memberUid: 'string',
|
|
212
214
|
order: 'string',
|
|
213
215
|
pageSize: 'string',
|
|
216
|
+
ruleTag: 'string',
|
|
214
217
|
sortKey: 'string',
|
|
215
218
|
sourceIp: 'string',
|
|
216
219
|
startTime: 'string',
|
|
@@ -272,6 +272,7 @@ export class DescribeVulnerabilityProtectedListResponseBodyVulnList extends $dar
|
|
|
272
272
|
* The assets on which the vulnerability is detected.
|
|
273
273
|
*/
|
|
274
274
|
resourceList?: DescribeVulnerabilityProtectedListResponseBodyVulnListResourceList[];
|
|
275
|
+
ruleTag?: string;
|
|
275
276
|
/**
|
|
276
277
|
* @remarks
|
|
277
278
|
* The IDs of associated virtual patching policies.
|
|
@@ -350,6 +351,7 @@ export class DescribeVulnerabilityProtectedListResponseBodyVulnList extends $dar
|
|
|
350
351
|
needRuleClass: 'NeedRuleClass',
|
|
351
352
|
resourceCnt: 'ResourceCnt',
|
|
352
353
|
resourceList: 'ResourceList',
|
|
354
|
+
ruleTag: 'RuleTag',
|
|
353
355
|
virtualPatcheIds: 'VirtualPatcheIds',
|
|
354
356
|
vulnKey: 'VulnKey',
|
|
355
357
|
vulnLevel: 'VulnLevel',
|
|
@@ -377,6 +379,7 @@ export class DescribeVulnerabilityProtectedListResponseBodyVulnList extends $dar
|
|
|
377
379
|
needRuleClass: 'number',
|
|
378
380
|
resourceCnt: 'number',
|
|
379
381
|
resourceList: { 'type': 'array', 'itemType': DescribeVulnerabilityProtectedListResponseBodyVulnListResourceList },
|
|
382
|
+
ruleTag: 'string',
|
|
380
383
|
virtualPatcheIds: 'string',
|
|
381
384
|
vulnKey: 'string',
|
|
382
385
|
vulnLevel: 'string',
|
|
@@ -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 GetTlsInspectCertificateDownloadUrlRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* C3E91391-16CD-1BFC-A133-******D429
|
|
12
|
+
*/
|
|
13
|
+
caCertId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
caCertId: 'CaCertId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
caCertId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetTlsInspectCertificateDownloadUrlResponseBody } from "./GetTlsInspectCertificateDownloadUrlResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetTlsInspectCertificateDownloadUrlResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetTlsInspectCertificateDownloadUrlResponseBody;
|
|
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: GetTlsInspectCertificateDownloadUrlResponseBody,
|
|
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,41 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetTlsInspectCertificateDownloadUrlResponseBody extends $dara.Model {
|
|
6
|
+
caCertId?: string;
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* https://cfw-tls-inspect-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/tls_cert%2F2025-08-13%2F1850****
|
|
10
|
+
*/
|
|
11
|
+
downloadUrl?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* 850A84D6-0DE4-4797-A1E8-******h4j6
|
|
15
|
+
*/
|
|
16
|
+
requestId?: string;
|
|
17
|
+
static names(): { [key: string]: string } {
|
|
18
|
+
return {
|
|
19
|
+
caCertId: 'CaCertId',
|
|
20
|
+
downloadUrl: 'DownloadUrl',
|
|
21
|
+
requestId: 'RequestId',
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
static types(): { [key: string]: any } {
|
|
26
|
+
return {
|
|
27
|
+
caCertId: 'string',
|
|
28
|
+
downloadUrl: 'string',
|
|
29
|
+
requestId: 'string',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
validate() {
|
|
34
|
+
super.validate();
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
constructor(map?: { [key: string]: any }) {
|
|
38
|
+
super(map);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListTlsInspectCACertificatesRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* C3E91391-16CD-1BFC-A133-******D429
|
|
9
|
+
*/
|
|
10
|
+
caCertId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 1
|
|
14
|
+
*/
|
|
15
|
+
currentPage?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 10
|
|
19
|
+
*/
|
|
20
|
+
pageSize?: number;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
caCertId: 'CaCertId',
|
|
24
|
+
currentPage: 'CurrentPage',
|
|
25
|
+
pageSize: 'PageSize',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
caCertId: 'string',
|
|
32
|
+
currentPage: 'number',
|
|
33
|
+
pageSize: 'number',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListTlsInspectCACertificatesResponseBody } from "./ListTlsInspectCacertificatesResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListTlsInspectCACertificatesResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListTlsInspectCACertificatesResponseBody;
|
|
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: ListTlsInspectCACertificatesResponseBody,
|
|
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,127 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListTlsInspectCACertificatesResponseBodyCertificates extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* RSA
|
|
9
|
+
*/
|
|
10
|
+
algorithm?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* rsa_ml_***_root
|
|
14
|
+
*/
|
|
15
|
+
aliasName?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 2732BB48-2969-5716-B5D9-******CA85
|
|
19
|
+
*/
|
|
20
|
+
caCertId?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* ROOT
|
|
24
|
+
*/
|
|
25
|
+
caCertType?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* 1934***149
|
|
29
|
+
*/
|
|
30
|
+
expirationTime?: number;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* 2048
|
|
34
|
+
*/
|
|
35
|
+
keySize?: number;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* 340BB48-2969-5716-B5D9-****ACA85
|
|
39
|
+
*/
|
|
40
|
+
parentCaCertId?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* SHA256WITHRSA
|
|
44
|
+
*/
|
|
45
|
+
signAlgorithm?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @example
|
|
48
|
+
* ISSUE
|
|
49
|
+
*/
|
|
50
|
+
status?: string;
|
|
51
|
+
static names(): { [key: string]: string } {
|
|
52
|
+
return {
|
|
53
|
+
algorithm: 'Algorithm',
|
|
54
|
+
aliasName: 'AliasName',
|
|
55
|
+
caCertId: 'CaCertId',
|
|
56
|
+
caCertType: 'CaCertType',
|
|
57
|
+
expirationTime: 'ExpirationTime',
|
|
58
|
+
keySize: 'KeySize',
|
|
59
|
+
parentCaCertId: 'ParentCaCertId',
|
|
60
|
+
signAlgorithm: 'SignAlgorithm',
|
|
61
|
+
status: 'Status',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
static types(): { [key: string]: any } {
|
|
66
|
+
return {
|
|
67
|
+
algorithm: 'string',
|
|
68
|
+
aliasName: 'string',
|
|
69
|
+
caCertId: 'string',
|
|
70
|
+
caCertType: 'string',
|
|
71
|
+
expirationTime: 'number',
|
|
72
|
+
keySize: 'number',
|
|
73
|
+
parentCaCertId: 'string',
|
|
74
|
+
signAlgorithm: 'string',
|
|
75
|
+
status: 'string',
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
validate() {
|
|
80
|
+
super.validate();
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
constructor(map?: { [key: string]: any }) {
|
|
84
|
+
super(map);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export class ListTlsInspectCACertificatesResponseBody extends $dara.Model {
|
|
89
|
+
certificates?: ListTlsInspectCACertificatesResponseBodyCertificates[];
|
|
90
|
+
/**
|
|
91
|
+
* @example
|
|
92
|
+
* CBF1E9B7-D6A0-4E9E-AD3E-******837D
|
|
93
|
+
*/
|
|
94
|
+
requestId?: string;
|
|
95
|
+
/**
|
|
96
|
+
* @example
|
|
97
|
+
* 1
|
|
98
|
+
*/
|
|
99
|
+
totalCount?: number;
|
|
100
|
+
static names(): { [key: string]: string } {
|
|
101
|
+
return {
|
|
102
|
+
certificates: 'Certificates',
|
|
103
|
+
requestId: 'RequestId',
|
|
104
|
+
totalCount: 'TotalCount',
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
static types(): { [key: string]: any } {
|
|
109
|
+
return {
|
|
110
|
+
certificates: { 'type': 'array', 'itemType': ListTlsInspectCACertificatesResponseBodyCertificates },
|
|
111
|
+
requestId: 'string',
|
|
112
|
+
totalCount: 'number',
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
validate() {
|
|
117
|
+
if(Array.isArray(this.certificates)) {
|
|
118
|
+
$dara.Model.validateArray(this.certificates);
|
|
119
|
+
}
|
|
120
|
+
super.validate();
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
constructor(map?: { [key: string]: any }) {
|
|
124
|
+
super(map);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
@@ -3,12 +3,40 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class ModifyUserIPSWhitelistRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 1
|
|
9
|
+
*/
|
|
6
10
|
direction?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* ipv4
|
|
14
|
+
*/
|
|
7
15
|
ipVersion?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* zh
|
|
19
|
+
*/
|
|
8
20
|
lang?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* 2
|
|
24
|
+
*/
|
|
9
25
|
listType?: number;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* 115.236.36.114/32
|
|
29
|
+
*/
|
|
10
30
|
listValue?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* 47.100.XX.XX
|
|
34
|
+
*/
|
|
11
35
|
sourceIp?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* 2
|
|
39
|
+
*/
|
|
12
40
|
whiteType?: number;
|
|
13
41
|
static names(): { [key: string]: string } {
|
|
14
42
|
return {
|
|
@@ -3,6 +3,10 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class ModifyUserIPSWhitelistResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 36E89955-1E5D-5810-970C-74646F378085
|
|
9
|
+
*/
|
|
6
10
|
requestId?: string;
|
|
7
11
|
static names(): { [key: string]: string } {
|
|
8
12
|
return {
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdatePostpayUserNatStatusRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The instance ID of Cloud Firewall.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* cfw_elasticity_public_cn-************
|
|
12
|
+
*/
|
|
13
|
+
instanceId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The language of the content within the response. Valid values:
|
|
17
|
+
*
|
|
18
|
+
* * **zh** (default)
|
|
19
|
+
* * **en**
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* zh
|
|
23
|
+
*/
|
|
24
|
+
lang?: string;
|
|
25
|
+
/**
|
|
26
|
+
* @remarks
|
|
27
|
+
* The operation type.
|
|
28
|
+
*
|
|
29
|
+
* * Set the value to open.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* open
|
|
33
|
+
*/
|
|
34
|
+
operate?: string;
|
|
35
|
+
static names(): { [key: string]: string } {
|
|
36
|
+
return {
|
|
37
|
+
instanceId: 'InstanceId',
|
|
38
|
+
lang: 'Lang',
|
|
39
|
+
operate: 'Operate',
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
static types(): { [key: string]: any } {
|
|
44
|
+
return {
|
|
45
|
+
instanceId: 'string',
|
|
46
|
+
lang: 'string',
|
|
47
|
+
operate: 'string',
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
validate() {
|
|
52
|
+
super.validate();
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
constructor(map?: { [key: string]: any }) {
|
|
56
|
+
super(map);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|