@alicloud/waf-openapi20211001 4.5.0 → 5.0.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 +30 -0
- package/dist/client.js +123 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateDefenseTemplateRequest.d.ts +2 -0
- package/dist/models/CreateDefenseTemplateRequest.js +10 -0
- package/dist/models/CreateDefenseTemplateRequest.js.map +1 -1
- package/dist/models/DeleteDefenseRuleBlockIpRequest.d.ts +47 -0
- package/dist/models/DeleteDefenseRuleBlockIpRequest.js +66 -0
- package/dist/models/DeleteDefenseRuleBlockIpRequest.js.map +1 -0
- package/dist/models/DeleteDefenseRuleBlockIpResponse.d.ts +19 -0
- package/dist/models/DeleteDefenseRuleBlockIpResponse.js +69 -0
- package/dist/models/DeleteDefenseRuleBlockIpResponse.js.map +1 -0
- package/dist/models/DeleteDefenseRuleBlockIpResponseBody.d.ts +18 -0
- package/dist/models/DeleteDefenseRuleBlockIpResponseBody.js +58 -0
- package/dist/models/DeleteDefenseRuleBlockIpResponseBody.js.map +1 -0
- package/dist/models/DeleteDomainRequest.d.ts +0 -2
- package/dist/models/DeleteDomainRequest.js.map +1 -1
- package/dist/models/DescribeDefenseResourceOwnerUidRequest.d.ts +39 -0
- package/dist/models/DescribeDefenseResourceOwnerUidRequest.js +64 -0
- package/dist/models/DescribeDefenseResourceOwnerUidRequest.js.map +1 -0
- package/dist/models/DescribeDefenseResourceOwnerUidResponse.d.ts +19 -0
- package/dist/models/DescribeDefenseResourceOwnerUidResponse.js +69 -0
- package/dist/models/DescribeDefenseResourceOwnerUidResponse.js.map +1 -0
- package/dist/models/DescribeDefenseResourceOwnerUidResponseBody.d.ts +20 -0
- package/dist/models/DescribeDefenseResourceOwnerUidResponseBody.js +64 -0
- package/dist/models/DescribeDefenseResourceOwnerUidResponseBody.js.map +1 -0
- package/dist/models/DescribeDefenseResourceOwnerUidResponseBodyOwnerInfos.d.ts +23 -0
- package/dist/models/DescribeDefenseResourceOwnerUidResponseBodyOwnerInfos.js +60 -0
- package/dist/models/DescribeDefenseResourceOwnerUidResponseBodyOwnerInfos.js.map +1 -0
- package/dist/models/DescribeDefenseRulesRequest.d.ts +1 -0
- package/dist/models/DescribeDefenseRulesRequest.js +2 -0
- package/dist/models/DescribeDefenseRulesRequest.js.map +1 -1
- package/dist/models/DescribeDomainDetailRequest.d.ts +1 -2
- package/dist/models/DescribeDomainDetailRequest.js +2 -0
- package/dist/models/DescribeDomainDetailRequest.js.map +1 -1
- package/dist/models/DescribeDomainDetailResponseBody.d.ts +1 -0
- package/dist/models/DescribeDomainDetailResponseBody.js +2 -0
- package/dist/models/DescribeDomainDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeDomainDetailResponseBodyListen.d.ts +1 -1
- package/dist/models/DescribeDomainDetailResponseBodyListen.js +1 -1
- package/dist/models/DescribeDomainsResponseBodyDomains.d.ts +1 -0
- package/dist/models/DescribeDomainsResponseBodyDomains.js +2 -0
- package/dist/models/DescribeDomainsResponseBodyDomains.js.map +1 -1
- package/dist/models/DescribeTemplateResourcesRequest.d.ts +3 -0
- package/dist/models/DescribeTemplateResourcesRequest.js +6 -0
- package/dist/models/DescribeTemplateResourcesRequest.js.map +1 -1
- package/dist/models/DescribeTemplateResourcesResponseBody.d.ts +3 -0
- package/dist/models/DescribeTemplateResourcesResponseBody.js +6 -0
- package/dist/models/DescribeTemplateResourcesResponseBody.js.map +1 -1
- package/dist/models/ModifyDomainRequest.d.ts +1 -2
- package/dist/models/ModifyDomainRequest.js +2 -0
- package/dist/models/ModifyDomainRequest.js.map +1 -1
- package/dist/models/ModifyDomainShrinkRequest.d.ts +1 -2
- package/dist/models/ModifyDomainShrinkRequest.js +2 -0
- package/dist/models/ModifyDomainShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +29 -14
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +144 -0
- package/src/models/CreateDefenseTemplateRequest.ts +12 -0
- package/src/models/DeleteDefenseRuleBlockIpRequest.ts +68 -0
- package/src/models/DeleteDefenseRuleBlockIpResponse.ts +40 -0
- package/src/models/DeleteDefenseRuleBlockIpResponseBody.ts +31 -0
- package/src/models/DeleteDomainRequest.ts +0 -2
- package/src/models/DescribeDefenseResourceOwnerUidRequest.ts +58 -0
- package/src/models/DescribeDefenseResourceOwnerUidResponse.ts +40 -0
- package/src/models/DescribeDefenseResourceOwnerUidResponseBody.ts +38 -0
- package/src/models/DescribeDefenseResourceOwnerUidResponseBodyOwnerInfos.ts +38 -0
- package/src/models/DescribeDefenseRulesRequest.ts +3 -0
- package/src/models/DescribeDomainDetailRequest.ts +3 -2
- package/src/models/DescribeDomainDetailResponseBody.ts +3 -0
- package/src/models/DescribeDomainDetailResponseBodyListen.ts +2 -2
- package/src/models/DescribeDomainsResponseBodyDomains.ts +3 -0
- package/src/models/DescribeTemplateResourcesRequest.ts +9 -0
- package/src/models/DescribeTemplateResourcesResponseBody.ts +9 -0
- package/src/models/ModifyDomainRequest.ts +3 -2
- package/src/models/ModifyDomainShrinkRequest.ts +3 -2
- package/src/models/model.ts +7 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteDefenseRuleBlockIpRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* waf_v2_public_cn-9lb37yxse05
|
|
12
|
+
*/
|
|
13
|
+
instanceId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* cn-hangzhou
|
|
17
|
+
*/
|
|
18
|
+
regionId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* rg-acfm***q
|
|
22
|
+
*/
|
|
23
|
+
resourceManagerResourceGroupId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* This parameter is required.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* 36998
|
|
30
|
+
*/
|
|
31
|
+
ruleId?: number;
|
|
32
|
+
/**
|
|
33
|
+
* @remarks
|
|
34
|
+
* This parameter is required.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* 4057
|
|
38
|
+
*/
|
|
39
|
+
templateId?: number;
|
|
40
|
+
static names(): { [key: string]: string } {
|
|
41
|
+
return {
|
|
42
|
+
instanceId: 'InstanceId',
|
|
43
|
+
regionId: 'RegionId',
|
|
44
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
45
|
+
ruleId: 'RuleId',
|
|
46
|
+
templateId: 'TemplateId',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
static types(): { [key: string]: any } {
|
|
51
|
+
return {
|
|
52
|
+
instanceId: 'string',
|
|
53
|
+
regionId: 'string',
|
|
54
|
+
resourceManagerResourceGroupId: 'string',
|
|
55
|
+
ruleId: 'number',
|
|
56
|
+
templateId: 'number',
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
validate() {
|
|
61
|
+
super.validate();
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
constructor(map?: { [key: string]: any }) {
|
|
65
|
+
super(map);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DeleteDefenseRuleBlockIpResponseBody } from "./DeleteDefenseRuleBlockIpResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DeleteDefenseRuleBlockIpResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DeleteDefenseRuleBlockIpResponseBody;
|
|
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: DeleteDefenseRuleBlockIpResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteDefenseRuleBlockIpResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 9D11AC3A-A10C-56E7-A342-E87EC892BAE2
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
requestId: 'RequestId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
requestId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeDefenseResourceOwnerUidRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* waf_v2_public_cn********60f
|
|
12
|
+
*/
|
|
13
|
+
instanceId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* cn-hangzhou
|
|
17
|
+
*/
|
|
18
|
+
regionId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* rg-acfm***q
|
|
22
|
+
*/
|
|
23
|
+
resourceManagerResourceGroupId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* This parameter is required.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* a.com-waf,b.com-waf
|
|
30
|
+
*/
|
|
31
|
+
resourceNames?: string;
|
|
32
|
+
static names(): { [key: string]: string } {
|
|
33
|
+
return {
|
|
34
|
+
instanceId: 'InstanceId',
|
|
35
|
+
regionId: 'RegionId',
|
|
36
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
37
|
+
resourceNames: 'ResourceNames',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
instanceId: 'string',
|
|
44
|
+
regionId: 'string',
|
|
45
|
+
resourceManagerResourceGroupId: 'string',
|
|
46
|
+
resourceNames: 'string',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
validate() {
|
|
51
|
+
super.validate();
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
constructor(map?: { [key: string]: any }) {
|
|
55
|
+
super(map);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeDefenseResourceOwnerUidResponseBody } from "./DescribeDefenseResourceOwnerUidResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeDefenseResourceOwnerUidResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeDefenseResourceOwnerUidResponseBody;
|
|
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: DescribeDefenseResourceOwnerUidResponseBody,
|
|
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,38 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeDefenseResourceOwnerUidResponseBodyOwnerInfos } from "./DescribeDefenseResourceOwnerUidResponseBodyOwnerInfos";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeDefenseResourceOwnerUidResponseBody extends $dara.Model {
|
|
7
|
+
ownerInfos?: DescribeDefenseResourceOwnerUidResponseBodyOwnerInfos[];
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* 7326952B-B83B-5B7C-84FA-77F3E17310A2
|
|
11
|
+
*/
|
|
12
|
+
requestId?: string;
|
|
13
|
+
static names(): { [key: string]: string } {
|
|
14
|
+
return {
|
|
15
|
+
ownerInfos: 'OwnerInfos',
|
|
16
|
+
requestId: 'RequestId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
ownerInfos: { 'type': 'array', 'itemType': DescribeDefenseResourceOwnerUidResponseBodyOwnerInfos },
|
|
23
|
+
requestId: 'string',
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
validate() {
|
|
28
|
+
if(Array.isArray(this.ownerInfos)) {
|
|
29
|
+
$dara.Model.validateArray(this.ownerInfos);
|
|
30
|
+
}
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeDefenseResourceOwnerUidResponseBodyOwnerInfos extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 125************21
|
|
9
|
+
*/
|
|
10
|
+
ownerUserId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* a.com-waf
|
|
14
|
+
*/
|
|
15
|
+
resourceName?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
ownerUserId: 'OwnerUserId',
|
|
19
|
+
resourceName: 'ResourceName',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
ownerUserId: 'string',
|
|
26
|
+
resourceName: 'string',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeDefenseRulesRequest extends $dara.Model {
|
|
6
|
+
defenseType?: string;
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
9
|
* The ID of the Web Application Firewall (WAF) instance.
|
|
@@ -73,6 +74,7 @@ export class DescribeDefenseRulesRequest extends $dara.Model {
|
|
|
73
74
|
ruleType?: string;
|
|
74
75
|
static names(): { [key: string]: string } {
|
|
75
76
|
return {
|
|
77
|
+
defenseType: 'DefenseType',
|
|
76
78
|
instanceId: 'InstanceId',
|
|
77
79
|
pageNumber: 'PageNumber',
|
|
78
80
|
pageSize: 'PageSize',
|
|
@@ -85,6 +87,7 @@ export class DescribeDefenseRulesRequest extends $dara.Model {
|
|
|
85
87
|
|
|
86
88
|
static types(): { [key: string]: any } {
|
|
87
89
|
return {
|
|
90
|
+
defenseType: 'string',
|
|
88
91
|
instanceId: 'string',
|
|
89
92
|
pageNumber: 'number',
|
|
90
93
|
pageSize: 'number',
|
|
@@ -7,12 +7,11 @@ export class DescribeDomainDetailRequest extends $dara.Model {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* The domain name that you want to query.
|
|
9
9
|
*
|
|
10
|
-
* This parameter is required.
|
|
11
|
-
*
|
|
12
10
|
* @example
|
|
13
11
|
* www.aliyundoc.com
|
|
14
12
|
*/
|
|
15
13
|
domain?: string;
|
|
14
|
+
domainId?: string;
|
|
16
15
|
/**
|
|
17
16
|
* @remarks
|
|
18
17
|
* The ID of the WAF instance.
|
|
@@ -39,6 +38,7 @@ export class DescribeDomainDetailRequest extends $dara.Model {
|
|
|
39
38
|
static names(): { [key: string]: string } {
|
|
40
39
|
return {
|
|
41
40
|
domain: 'Domain',
|
|
41
|
+
domainId: 'DomainId',
|
|
42
42
|
instanceId: 'InstanceId',
|
|
43
43
|
regionId: 'RegionId',
|
|
44
44
|
};
|
|
@@ -47,6 +47,7 @@ export class DescribeDomainDetailRequest extends $dara.Model {
|
|
|
47
47
|
static types(): { [key: string]: any } {
|
|
48
48
|
return {
|
|
49
49
|
domain: 'string',
|
|
50
|
+
domainId: 'string',
|
|
50
51
|
instanceId: 'string',
|
|
51
52
|
regionId: 'string',
|
|
52
53
|
};
|
|
@@ -28,6 +28,7 @@ export class DescribeDomainDetailResponseBody extends $dara.Model {
|
|
|
28
28
|
* www.aliyundoc.com
|
|
29
29
|
*/
|
|
30
30
|
domain?: string;
|
|
31
|
+
domainId?: string;
|
|
31
32
|
/**
|
|
32
33
|
* @remarks
|
|
33
34
|
* The configurations of the listeners.
|
|
@@ -78,6 +79,7 @@ export class DescribeDomainDetailResponseBody extends $dara.Model {
|
|
|
78
79
|
certDetail: 'CertDetail',
|
|
79
80
|
cname: 'Cname',
|
|
80
81
|
domain: 'Domain',
|
|
82
|
+
domainId: 'DomainId',
|
|
81
83
|
listen: 'Listen',
|
|
82
84
|
redirect: 'Redirect',
|
|
83
85
|
requestId: 'RequestId',
|
|
@@ -92,6 +94,7 @@ export class DescribeDomainDetailResponseBody extends $dara.Model {
|
|
|
92
94
|
certDetail: DescribeDomainDetailResponseBodyCertDetail,
|
|
93
95
|
cname: 'string',
|
|
94
96
|
domain: 'string',
|
|
97
|
+
domainId: 'string',
|
|
95
98
|
listen: DescribeDomainDetailResponseBodyListen,
|
|
96
99
|
redirect: DescribeDomainDetailResponseBodyRedirect,
|
|
97
100
|
requestId: 'string',
|
|
@@ -10,7 +10,7 @@ export class DescribeDomainDetailResponseBodyListen extends $dara.Model {
|
|
|
10
10
|
* @example
|
|
11
11
|
* 123
|
|
12
12
|
*/
|
|
13
|
-
certId?:
|
|
13
|
+
certId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
16
|
* The type of the cipher suites. Valid values:
|
|
@@ -187,7 +187,7 @@ export class DescribeDomainDetailResponseBodyListen extends $dara.Model {
|
|
|
187
187
|
|
|
188
188
|
static types(): { [key: string]: any } {
|
|
189
189
|
return {
|
|
190
|
-
certId: '
|
|
190
|
+
certId: 'string',
|
|
191
191
|
cipherSuite: 'number',
|
|
192
192
|
customCiphers: { 'type': 'array', 'itemType': 'string' },
|
|
193
193
|
enableTLSv3: 'boolean',
|
|
@@ -26,6 +26,7 @@ export class DescribeDomainsResponseBodyDomains extends $dara.Model {
|
|
|
26
26
|
* www.aliyundoc.com
|
|
27
27
|
*/
|
|
28
28
|
domain?: string;
|
|
29
|
+
domainId?: string;
|
|
29
30
|
/**
|
|
30
31
|
* @remarks
|
|
31
32
|
* The configurations of the listeners.
|
|
@@ -58,6 +59,7 @@ export class DescribeDomainsResponseBodyDomains extends $dara.Model {
|
|
|
58
59
|
backeds: 'Backeds',
|
|
59
60
|
cname: 'Cname',
|
|
60
61
|
domain: 'Domain',
|
|
62
|
+
domainId: 'DomainId',
|
|
61
63
|
listenPorts: 'ListenPorts',
|
|
62
64
|
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
63
65
|
status: 'Status',
|
|
@@ -69,6 +71,7 @@ export class DescribeDomainsResponseBodyDomains extends $dara.Model {
|
|
|
69
71
|
backeds: DescribeDomainsResponseBodyDomainsBackeds,
|
|
70
72
|
cname: 'string',
|
|
71
73
|
domain: 'string',
|
|
74
|
+
domainId: 'string',
|
|
72
75
|
listenPorts: DescribeDomainsResponseBodyDomainsListenPorts,
|
|
73
76
|
resourceManagerResourceGroupId: 'string',
|
|
74
77
|
status: 'number',
|
|
@@ -15,6 +15,8 @@ export class DescribeTemplateResourcesRequest extends $dara.Model {
|
|
|
15
15
|
* waf_cdnsdf3****
|
|
16
16
|
*/
|
|
17
17
|
instanceId?: string;
|
|
18
|
+
maxResults?: number;
|
|
19
|
+
nextToken?: string;
|
|
18
20
|
/**
|
|
19
21
|
* @remarks
|
|
20
22
|
* The region where the WAF instance resides. Valid values:
|
|
@@ -26,6 +28,7 @@ export class DescribeTemplateResourcesRequest extends $dara.Model {
|
|
|
26
28
|
* cn-hangzhou
|
|
27
29
|
*/
|
|
28
30
|
regionId?: string;
|
|
31
|
+
resource?: string;
|
|
29
32
|
/**
|
|
30
33
|
* @remarks
|
|
31
34
|
* The ID of the Alibaba Cloud resource group.
|
|
@@ -60,7 +63,10 @@ export class DescribeTemplateResourcesRequest extends $dara.Model {
|
|
|
60
63
|
static names(): { [key: string]: string } {
|
|
61
64
|
return {
|
|
62
65
|
instanceId: 'InstanceId',
|
|
66
|
+
maxResults: 'MaxResults',
|
|
67
|
+
nextToken: 'NextToken',
|
|
63
68
|
regionId: 'RegionId',
|
|
69
|
+
resource: 'Resource',
|
|
64
70
|
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
65
71
|
resourceType: 'ResourceType',
|
|
66
72
|
templateId: 'TemplateId',
|
|
@@ -70,7 +76,10 @@ export class DescribeTemplateResourcesRequest extends $dara.Model {
|
|
|
70
76
|
static types(): { [key: string]: any } {
|
|
71
77
|
return {
|
|
72
78
|
instanceId: 'string',
|
|
79
|
+
maxResults: 'number',
|
|
80
|
+
nextToken: 'string',
|
|
73
81
|
regionId: 'string',
|
|
82
|
+
resource: 'string',
|
|
74
83
|
resourceManagerResourceGroupId: 'string',
|
|
75
84
|
resourceType: 'string',
|
|
76
85
|
templateId: 'number',
|
|
@@ -3,6 +3,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeTemplateResourcesResponseBody extends $dara.Model {
|
|
6
|
+
maxResults?: number;
|
|
7
|
+
nextToken?: string;
|
|
6
8
|
/**
|
|
7
9
|
* @remarks
|
|
8
10
|
* The ID of the request.
|
|
@@ -16,17 +18,24 @@ export class DescribeTemplateResourcesResponseBody extends $dara.Model {
|
|
|
16
18
|
* An array of protected objects or protected object groups that are associated to the protection rule template.
|
|
17
19
|
*/
|
|
18
20
|
resources?: string[];
|
|
21
|
+
totalCount?: number;
|
|
19
22
|
static names(): { [key: string]: string } {
|
|
20
23
|
return {
|
|
24
|
+
maxResults: 'MaxResults',
|
|
25
|
+
nextToken: 'NextToken',
|
|
21
26
|
requestId: 'RequestId',
|
|
22
27
|
resources: 'Resources',
|
|
28
|
+
totalCount: 'TotalCount',
|
|
23
29
|
};
|
|
24
30
|
}
|
|
25
31
|
|
|
26
32
|
static types(): { [key: string]: any } {
|
|
27
33
|
return {
|
|
34
|
+
maxResults: 'number',
|
|
35
|
+
nextToken: 'string',
|
|
28
36
|
requestId: 'string',
|
|
29
37
|
resources: { 'type': 'array', 'itemType': 'string' },
|
|
38
|
+
totalCount: 'number',
|
|
30
39
|
};
|
|
31
40
|
}
|
|
32
41
|
|
|
@@ -19,12 +19,11 @@ export class ModifyDomainRequest extends $dara.Model {
|
|
|
19
19
|
* @remarks
|
|
20
20
|
* The domain name whose access configurations you want to modify.
|
|
21
21
|
*
|
|
22
|
-
* This parameter is required.
|
|
23
|
-
*
|
|
24
22
|
* @example
|
|
25
23
|
* www.aliyundoc.com
|
|
26
24
|
*/
|
|
27
25
|
domain?: string;
|
|
26
|
+
domainId?: string;
|
|
28
27
|
/**
|
|
29
28
|
* @remarks
|
|
30
29
|
* The ID of the WAF instance.
|
|
@@ -68,6 +67,7 @@ export class ModifyDomainRequest extends $dara.Model {
|
|
|
68
67
|
return {
|
|
69
68
|
accessType: 'AccessType',
|
|
70
69
|
domain: 'Domain',
|
|
70
|
+
domainId: 'DomainId',
|
|
71
71
|
instanceId: 'InstanceId',
|
|
72
72
|
listen: 'Listen',
|
|
73
73
|
redirect: 'Redirect',
|
|
@@ -79,6 +79,7 @@ export class ModifyDomainRequest extends $dara.Model {
|
|
|
79
79
|
return {
|
|
80
80
|
accessType: 'string',
|
|
81
81
|
domain: 'string',
|
|
82
|
+
domainId: 'string',
|
|
82
83
|
instanceId: 'string',
|
|
83
84
|
listen: ModifyDomainRequestListen,
|
|
84
85
|
redirect: ModifyDomainRequestRedirect,
|
|
@@ -17,12 +17,11 @@ export class ModifyDomainShrinkRequest extends $dara.Model {
|
|
|
17
17
|
* @remarks
|
|
18
18
|
* The domain name whose access configurations you want to modify.
|
|
19
19
|
*
|
|
20
|
-
* This parameter is required.
|
|
21
|
-
*
|
|
22
20
|
* @example
|
|
23
21
|
* www.aliyundoc.com
|
|
24
22
|
*/
|
|
25
23
|
domain?: string;
|
|
24
|
+
domainId?: string;
|
|
26
25
|
/**
|
|
27
26
|
* @remarks
|
|
28
27
|
* The ID of the WAF instance.
|
|
@@ -66,6 +65,7 @@ export class ModifyDomainShrinkRequest extends $dara.Model {
|
|
|
66
65
|
return {
|
|
67
66
|
accessType: 'AccessType',
|
|
68
67
|
domain: 'Domain',
|
|
68
|
+
domainId: 'DomainId',
|
|
69
69
|
instanceId: 'InstanceId',
|
|
70
70
|
listenShrink: 'Listen',
|
|
71
71
|
redirectShrink: 'Redirect',
|
|
@@ -77,6 +77,7 @@ export class ModifyDomainShrinkRequest extends $dara.Model {
|
|
|
77
77
|
return {
|
|
78
78
|
accessType: 'string',
|
|
79
79
|
domain: 'string',
|
|
80
|
+
domainId: 'string',
|
|
80
81
|
instanceId: 'string',
|
|
81
82
|
listenShrink: 'string',
|
|
82
83
|
redirectShrink: 'string',
|
package/src/models/model.ts
CHANGED
|
@@ -44,6 +44,7 @@ export { DescribeDefenseResourceResponseBodyResourceResponseHeaders } from './De
|
|
|
44
44
|
export { DescribeDefenseResourceResponseBodyResource } from './DescribeDefenseResourceResponseBodyResource';
|
|
45
45
|
export { DescribeDefenseResourceGroupResponseBodyGroup } from './DescribeDefenseResourceGroupResponseBodyGroup';
|
|
46
46
|
export { DescribeDefenseResourceGroupsResponseBodyGroups } from './DescribeDefenseResourceGroupsResponseBodyGroups';
|
|
47
|
+
export { DescribeDefenseResourceOwnerUidResponseBodyOwnerInfos } from './DescribeDefenseResourceOwnerUidResponseBodyOwnerInfos';
|
|
47
48
|
export { DescribeDefenseResourceTemplatesResponseBodyTemplates } from './DescribeDefenseResourceTemplatesResponseBodyTemplates';
|
|
48
49
|
export { DescribeDefenseResourcesRequestTag } from './DescribeDefenseResourcesRequestTag';
|
|
49
50
|
export { DescribeDefenseResourcesResponseBodyResourcesResponseHeaders } from './DescribeDefenseResourcesResponseBodyResourcesResponseHeaders';
|
|
@@ -236,6 +237,9 @@ export { DeleteDefenseResourceGroupResponse } from './DeleteDefenseResourceGroup
|
|
|
236
237
|
export { DeleteDefenseRuleRequest } from './DeleteDefenseRuleRequest';
|
|
237
238
|
export { DeleteDefenseRuleResponseBody } from './DeleteDefenseRuleResponseBody';
|
|
238
239
|
export { DeleteDefenseRuleResponse } from './DeleteDefenseRuleResponse';
|
|
240
|
+
export { DeleteDefenseRuleBlockIpRequest } from './DeleteDefenseRuleBlockIpRequest';
|
|
241
|
+
export { DeleteDefenseRuleBlockIpResponseBody } from './DeleteDefenseRuleBlockIpResponseBody';
|
|
242
|
+
export { DeleteDefenseRuleBlockIpResponse } from './DeleteDefenseRuleBlockIpResponse';
|
|
239
243
|
export { DeleteDefenseTemplateRequest } from './DeleteDefenseTemplateRequest';
|
|
240
244
|
export { DeleteDefenseTemplateResponseBody } from './DeleteDefenseTemplateResponseBody';
|
|
241
245
|
export { DeleteDefenseTemplateResponse } from './DeleteDefenseTemplateResponse';
|
|
@@ -347,6 +351,9 @@ export { DescribeDefenseResourceGroupsResponse } from './DescribeDefenseResource
|
|
|
347
351
|
export { DescribeDefenseResourceNamesRequest } from './DescribeDefenseResourceNamesRequest';
|
|
348
352
|
export { DescribeDefenseResourceNamesResponseBody } from './DescribeDefenseResourceNamesResponseBody';
|
|
349
353
|
export { DescribeDefenseResourceNamesResponse } from './DescribeDefenseResourceNamesResponse';
|
|
354
|
+
export { DescribeDefenseResourceOwnerUidRequest } from './DescribeDefenseResourceOwnerUidRequest';
|
|
355
|
+
export { DescribeDefenseResourceOwnerUidResponseBody } from './DescribeDefenseResourceOwnerUidResponseBody';
|
|
356
|
+
export { DescribeDefenseResourceOwnerUidResponse } from './DescribeDefenseResourceOwnerUidResponse';
|
|
350
357
|
export { DescribeDefenseResourceTemplatesRequest } from './DescribeDefenseResourceTemplatesRequest';
|
|
351
358
|
export { DescribeDefenseResourceTemplatesResponseBody } from './DescribeDefenseResourceTemplatesResponseBody';
|
|
352
359
|
export { DescribeDefenseResourceTemplatesResponse } from './DescribeDefenseResourceTemplatesResponse';
|