@alicloud/das20200116 2.5.2 → 2.6.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 +90 -0
- package/dist/client.js +261 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateSecurityIpgroupRequest.d.ts +37 -0
- package/dist/models/CreateSecurityIpgroupRequest.js +62 -0
- package/dist/models/CreateSecurityIpgroupRequest.js.map +1 -0
- package/dist/models/CreateSecurityIpgroupResponse.d.ts +19 -0
- package/dist/models/CreateSecurityIpgroupResponse.js +69 -0
- package/dist/models/CreateSecurityIpgroupResponse.js.map +1 -0
- package/dist/models/CreateSecurityIpgroupResponseBody.d.ts +93 -0
- package/dist/models/CreateSecurityIpgroupResponseBody.js +120 -0
- package/dist/models/CreateSecurityIpgroupResponseBody.js.map +1 -0
- package/dist/models/DeleteSecurityIpgroupRequest.d.ts +29 -0
- package/dist/models/DeleteSecurityIpgroupRequest.js +60 -0
- package/dist/models/DeleteSecurityIpgroupRequest.js.map +1 -0
- package/dist/models/DeleteSecurityIpgroupResponse.d.ts +19 -0
- package/dist/models/DeleteSecurityIpgroupResponse.js +69 -0
- package/dist/models/DeleteSecurityIpgroupResponse.js.map +1 -0
- package/dist/models/DeleteSecurityIpgroupResponseBody.d.ts +68 -0
- package/dist/models/DeleteSecurityIpgroupResponseBody.js +110 -0
- package/dist/models/DeleteSecurityIpgroupResponseBody.js.map +1 -0
- package/dist/models/DescribeSecurityIpgroupRelationRequest.d.ts +29 -0
- package/dist/models/DescribeSecurityIpgroupRelationRequest.js +60 -0
- package/dist/models/DescribeSecurityIpgroupRelationRequest.js.map +1 -0
- package/dist/models/DescribeSecurityIpgroupRelationResponse.d.ts +19 -0
- package/dist/models/DescribeSecurityIpgroupRelationResponse.js +69 -0
- package/dist/models/DescribeSecurityIpgroupRelationResponse.js.map +1 -0
- package/dist/models/DescribeSecurityIpgroupRelationResponseBody.d.ts +88 -0
- package/dist/models/DescribeSecurityIpgroupRelationResponseBody.js +118 -0
- package/dist/models/DescribeSecurityIpgroupRelationResponseBody.js.map +1 -0
- package/dist/models/DescribeSecurityIpgroupRequest.d.ts +21 -0
- package/dist/models/DescribeSecurityIpgroupRequest.js +58 -0
- package/dist/models/DescribeSecurityIpgroupRequest.js.map +1 -0
- package/dist/models/DescribeSecurityIpgroupResponse.d.ts +19 -0
- package/dist/models/DescribeSecurityIpgroupResponse.js +69 -0
- package/dist/models/DescribeSecurityIpgroupResponse.js.map +1 -0
- package/dist/models/DescribeSecurityIpgroupResponseBody.d.ts +129 -0
- package/dist/models/DescribeSecurityIpgroupResponseBody.js +162 -0
- package/dist/models/DescribeSecurityIpgroupResponseBody.js.map +1 -0
- package/dist/models/ModifySecurityIpgroupRelationRequest.d.ts +37 -0
- package/dist/models/ModifySecurityIpgroupRelationRequest.js +62 -0
- package/dist/models/ModifySecurityIpgroupRelationRequest.js.map +1 -0
- package/dist/models/ModifySecurityIpgroupRelationResponse.d.ts +19 -0
- package/dist/models/ModifySecurityIpgroupRelationResponse.js +69 -0
- package/dist/models/ModifySecurityIpgroupRelationResponse.js.map +1 -0
- package/dist/models/ModifySecurityIpgroupRelationResponseBody.d.ts +88 -0
- package/dist/models/ModifySecurityIpgroupRelationResponseBody.js +118 -0
- package/dist/models/ModifySecurityIpgroupRelationResponseBody.js.map +1 -0
- package/dist/models/ModifySecurityIpgroupRequest.d.ts +45 -0
- package/dist/models/ModifySecurityIpgroupRequest.js +64 -0
- package/dist/models/ModifySecurityIpgroupRequest.js.map +1 -0
- package/dist/models/ModifySecurityIpgroupResponse.d.ts +19 -0
- package/dist/models/ModifySecurityIpgroupResponse.js +69 -0
- package/dist/models/ModifySecurityIpgroupResponse.js.map +1 -0
- package/dist/models/ModifySecurityIpgroupResponseBody.d.ts +93 -0
- package/dist/models/ModifySecurityIpgroupResponseBody.js +120 -0
- package/dist/models/ModifySecurityIpgroupResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +31 -0
- package/dist/models/model.js +74 -11
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +288 -0
- package/src/models/CreateSecurityIpgroupRequest.ts +54 -0
- package/src/models/CreateSecurityIpgroupResponse.ts +40 -0
- package/src/models/CreateSecurityIpgroupResponseBody.ts +150 -0
- package/src/models/DeleteSecurityIpgroupRequest.ts +44 -0
- package/src/models/DeleteSecurityIpgroupResponse.ts +40 -0
- package/src/models/DeleteSecurityIpgroupResponseBody.ts +115 -0
- package/src/models/DescribeSecurityIpgroupRelationRequest.ts +44 -0
- package/src/models/DescribeSecurityIpgroupRelationResponse.ts +40 -0
- package/src/models/DescribeSecurityIpgroupRelationResponseBody.ts +143 -0
- package/src/models/DescribeSecurityIpgroupRequest.ts +34 -0
- package/src/models/DescribeSecurityIpgroupResponse.ts +40 -0
- package/src/models/DescribeSecurityIpgroupResponseBody.ts +219 -0
- package/src/models/ModifySecurityIpgroupRelationRequest.ts +54 -0
- package/src/models/ModifySecurityIpgroupRelationResponse.ts +40 -0
- package/src/models/ModifySecurityIpgroupRelationResponseBody.ts +143 -0
- package/src/models/ModifySecurityIpgroupRequest.ts +64 -0
- package/src/models/ModifySecurityIpgroupResponse.ts +40 -0
- package/src/models/ModifySecurityIpgroupResponseBody.ts +150 -0
- package/src/models/model.ts +31 -0
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteSecurityIPGroupResponseBodyDataGlobalSecurityIPGroup extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* g-1no2rzybnqcv0m****
|
|
9
|
+
*/
|
|
10
|
+
globalSecurityGroupId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
globalSecurityGroupId: 'GlobalSecurityGroupId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
globalSecurityGroupId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export class DeleteSecurityIPGroupResponseBodyData extends $dara.Model {
|
|
33
|
+
globalSecurityIPGroup?: DeleteSecurityIPGroupResponseBodyDataGlobalSecurityIPGroup[];
|
|
34
|
+
static names(): { [key: string]: string } {
|
|
35
|
+
return {
|
|
36
|
+
globalSecurityIPGroup: 'GlobalSecurityIPGroup',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
static types(): { [key: string]: any } {
|
|
41
|
+
return {
|
|
42
|
+
globalSecurityIPGroup: { 'type': 'array', 'itemType': DeleteSecurityIPGroupResponseBodyDataGlobalSecurityIPGroup },
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
if(Array.isArray(this.globalSecurityIPGroup)) {
|
|
48
|
+
$dara.Model.validateArray(this.globalSecurityIPGroup);
|
|
49
|
+
}
|
|
50
|
+
super.validate();
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
constructor(map?: { [key: string]: any }) {
|
|
54
|
+
super(map);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export class DeleteSecurityIPGroupResponseBody extends $dara.Model {
|
|
59
|
+
/**
|
|
60
|
+
* @example
|
|
61
|
+
* 200
|
|
62
|
+
*/
|
|
63
|
+
code?: string;
|
|
64
|
+
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* ListResult<InstanceSSL>
|
|
67
|
+
*/
|
|
68
|
+
data?: DeleteSecurityIPGroupResponseBodyData;
|
|
69
|
+
/**
|
|
70
|
+
* @example
|
|
71
|
+
* Successful
|
|
72
|
+
*/
|
|
73
|
+
message?: string;
|
|
74
|
+
/**
|
|
75
|
+
* @example
|
|
76
|
+
* B6D17591-B48B-4D31-9CD6-9B9796B2****
|
|
77
|
+
*/
|
|
78
|
+
requestId?: string;
|
|
79
|
+
/**
|
|
80
|
+
* @example
|
|
81
|
+
* true
|
|
82
|
+
*/
|
|
83
|
+
success?: string;
|
|
84
|
+
static names(): { [key: string]: string } {
|
|
85
|
+
return {
|
|
86
|
+
code: 'Code',
|
|
87
|
+
data: 'Data',
|
|
88
|
+
message: 'Message',
|
|
89
|
+
requestId: 'RequestId',
|
|
90
|
+
success: 'Success',
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
static types(): { [key: string]: any } {
|
|
95
|
+
return {
|
|
96
|
+
code: 'string',
|
|
97
|
+
data: DeleteSecurityIPGroupResponseBodyData,
|
|
98
|
+
message: 'string',
|
|
99
|
+
requestId: 'string',
|
|
100
|
+
success: 'string',
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
validate() {
|
|
105
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
106
|
+
(this.data as any).validate();
|
|
107
|
+
}
|
|
108
|
+
super.validate();
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
constructor(map?: { [key: string]: any }) {
|
|
112
|
+
super(map);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeSecurityIPGroupRelationRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* rm-2zegsc57ofexxxxx
|
|
12
|
+
*/
|
|
13
|
+
instanceId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* cn-shanghai
|
|
20
|
+
*/
|
|
21
|
+
regionName?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
instanceId: 'InstanceId',
|
|
25
|
+
regionName: 'RegionName',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
instanceId: 'string',
|
|
32
|
+
regionName: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeSecurityIPGroupRelationResponseBody } from "./DescribeSecurityIpgroupRelationResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeSecurityIPGroupRelationResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeSecurityIPGroupRelationResponseBody;
|
|
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: DescribeSecurityIPGroupRelationResponseBody,
|
|
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,143 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeSecurityIPGroupRelationResponseBodyDataGlobalSecurityIPGroupRel extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 192.168.1.28/32
|
|
9
|
+
*/
|
|
10
|
+
GIpList?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* test2
|
|
14
|
+
*/
|
|
15
|
+
globalIgName?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* g-1no2rzybnqcv0xxxxxx
|
|
19
|
+
*/
|
|
20
|
+
globalSecurityGroupId?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* cn-shenzhen
|
|
24
|
+
*/
|
|
25
|
+
regionId?: string;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
GIpList: 'GIpList',
|
|
29
|
+
globalIgName: 'GlobalIgName',
|
|
30
|
+
globalSecurityGroupId: 'GlobalSecurityGroupId',
|
|
31
|
+
regionId: 'RegionId',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
GIpList: 'string',
|
|
38
|
+
globalIgName: 'string',
|
|
39
|
+
globalSecurityGroupId: 'string',
|
|
40
|
+
regionId: 'string',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
validate() {
|
|
45
|
+
super.validate();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
constructor(map?: { [key: string]: any }) {
|
|
49
|
+
super(map);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export class DescribeSecurityIPGroupRelationResponseBodyData extends $dara.Model {
|
|
54
|
+
globalSecurityIPGroupRel?: DescribeSecurityIPGroupRelationResponseBodyDataGlobalSecurityIPGroupRel[];
|
|
55
|
+
/**
|
|
56
|
+
* @example
|
|
57
|
+
* rm-2ze1jdv45i7l6****
|
|
58
|
+
*/
|
|
59
|
+
instanceId?: string;
|
|
60
|
+
static names(): { [key: string]: string } {
|
|
61
|
+
return {
|
|
62
|
+
globalSecurityIPGroupRel: 'GlobalSecurityIPGroupRel',
|
|
63
|
+
instanceId: 'InstanceId',
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
static types(): { [key: string]: any } {
|
|
68
|
+
return {
|
|
69
|
+
globalSecurityIPGroupRel: { 'type': 'array', 'itemType': DescribeSecurityIPGroupRelationResponseBodyDataGlobalSecurityIPGroupRel },
|
|
70
|
+
instanceId: 'string',
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
validate() {
|
|
75
|
+
if(Array.isArray(this.globalSecurityIPGroupRel)) {
|
|
76
|
+
$dara.Model.validateArray(this.globalSecurityIPGroupRel);
|
|
77
|
+
}
|
|
78
|
+
super.validate();
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
constructor(map?: { [key: string]: any }) {
|
|
82
|
+
super(map);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export class DescribeSecurityIPGroupRelationResponseBody extends $dara.Model {
|
|
87
|
+
/**
|
|
88
|
+
* @example
|
|
89
|
+
* 200
|
|
90
|
+
*/
|
|
91
|
+
code?: string;
|
|
92
|
+
/**
|
|
93
|
+
* @remarks
|
|
94
|
+
* ListResult<InstanceSSL>
|
|
95
|
+
*/
|
|
96
|
+
data?: DescribeSecurityIPGroupRelationResponseBodyData;
|
|
97
|
+
/**
|
|
98
|
+
* @example
|
|
99
|
+
* Successful
|
|
100
|
+
*/
|
|
101
|
+
message?: string;
|
|
102
|
+
/**
|
|
103
|
+
* @example
|
|
104
|
+
* A6D1C8EE-013C-541F-83EB-B13C8xxxxxx
|
|
105
|
+
*/
|
|
106
|
+
requestId?: string;
|
|
107
|
+
/**
|
|
108
|
+
* @example
|
|
109
|
+
* true
|
|
110
|
+
*/
|
|
111
|
+
success?: string;
|
|
112
|
+
static names(): { [key: string]: string } {
|
|
113
|
+
return {
|
|
114
|
+
code: 'Code',
|
|
115
|
+
data: 'Data',
|
|
116
|
+
message: 'Message',
|
|
117
|
+
requestId: 'RequestId',
|
|
118
|
+
success: 'Success',
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
static types(): { [key: string]: any } {
|
|
123
|
+
return {
|
|
124
|
+
code: 'string',
|
|
125
|
+
data: DescribeSecurityIPGroupRelationResponseBodyData,
|
|
126
|
+
message: 'string',
|
|
127
|
+
requestId: 'string',
|
|
128
|
+
success: 'string',
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
validate() {
|
|
133
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
134
|
+
(this.data as any).validate();
|
|
135
|
+
}
|
|
136
|
+
super.validate();
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
constructor(map?: { [key: string]: any }) {
|
|
140
|
+
super(map);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
@@ -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 DescribeSecurityIPGroupRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* cn-shanghai
|
|
12
|
+
*/
|
|
13
|
+
regionName?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
regionName: 'RegionName',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
regionName: '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 { DescribeSecurityIPGroupResponseBody } from "./DescribeSecurityIpgroupResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeSecurityIPGroupResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeSecurityIPGroupResponseBody;
|
|
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: DescribeSecurityIPGroupResponseBody,
|
|
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,219 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeSecurityIPGroupResponseBodyDataSecurityIpGroupsEngineInfoList extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* PolarDBMySQL
|
|
9
|
+
*/
|
|
10
|
+
engineName?: string;
|
|
11
|
+
instanceIds?: string[];
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* 10
|
|
15
|
+
*/
|
|
16
|
+
instanceNum?: number;
|
|
17
|
+
static names(): { [key: string]: string } {
|
|
18
|
+
return {
|
|
19
|
+
engineName: 'EngineName',
|
|
20
|
+
instanceIds: 'InstanceIds',
|
|
21
|
+
instanceNum: 'InstanceNum',
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
static types(): { [key: string]: any } {
|
|
26
|
+
return {
|
|
27
|
+
engineName: 'string',
|
|
28
|
+
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
29
|
+
instanceNum: 'number',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
validate() {
|
|
34
|
+
if(Array.isArray(this.instanceIds)) {
|
|
35
|
+
$dara.Model.validateArray(this.instanceIds);
|
|
36
|
+
}
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export class DescribeSecurityIPGroupResponseBodyDataSecurityIpGroups extends $dara.Model {
|
|
46
|
+
dbInstances?: string[];
|
|
47
|
+
engineInfoList?: DescribeSecurityIPGroupResponseBodyDataSecurityIpGroupsEngineInfoList[];
|
|
48
|
+
GEcsSgIdList?: string;
|
|
49
|
+
/**
|
|
50
|
+
* @example
|
|
51
|
+
* 192.168.1.28/32
|
|
52
|
+
*/
|
|
53
|
+
GIpList?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @example
|
|
56
|
+
* test_123
|
|
57
|
+
*/
|
|
58
|
+
globalIgName?: string;
|
|
59
|
+
/**
|
|
60
|
+
* @example
|
|
61
|
+
* g-1no2rzybnqcv****
|
|
62
|
+
*/
|
|
63
|
+
globalSecurityGroupId?: string;
|
|
64
|
+
/**
|
|
65
|
+
* @example
|
|
66
|
+
* cn-hangzhou
|
|
67
|
+
*/
|
|
68
|
+
regionId?: string;
|
|
69
|
+
/**
|
|
70
|
+
* @example
|
|
71
|
+
* ipv4
|
|
72
|
+
*/
|
|
73
|
+
securityIpType?: string;
|
|
74
|
+
/**
|
|
75
|
+
* @example
|
|
76
|
+
* 160-79abe3f4****
|
|
77
|
+
*/
|
|
78
|
+
uid?: string;
|
|
79
|
+
/**
|
|
80
|
+
* @example
|
|
81
|
+
* 641***
|
|
82
|
+
*/
|
|
83
|
+
userId?: string;
|
|
84
|
+
/**
|
|
85
|
+
* @example
|
|
86
|
+
* mix
|
|
87
|
+
*/
|
|
88
|
+
whitelistNetType?: string;
|
|
89
|
+
static names(): { [key: string]: string } {
|
|
90
|
+
return {
|
|
91
|
+
dbInstances: 'DbInstances',
|
|
92
|
+
engineInfoList: 'EngineInfoList',
|
|
93
|
+
GEcsSgIdList: 'GEcsSgIdList',
|
|
94
|
+
GIpList: 'GIpList',
|
|
95
|
+
globalIgName: 'GlobalIgName',
|
|
96
|
+
globalSecurityGroupId: 'GlobalSecurityGroupId',
|
|
97
|
+
regionId: 'RegionId',
|
|
98
|
+
securityIpType: 'SecurityIpType',
|
|
99
|
+
uid: 'Uid',
|
|
100
|
+
userId: 'UserId',
|
|
101
|
+
whitelistNetType: 'WhitelistNetType',
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
static types(): { [key: string]: any } {
|
|
106
|
+
return {
|
|
107
|
+
dbInstances: { 'type': 'array', 'itemType': 'string' },
|
|
108
|
+
engineInfoList: { 'type': 'array', 'itemType': DescribeSecurityIPGroupResponseBodyDataSecurityIpGroupsEngineInfoList },
|
|
109
|
+
GEcsSgIdList: 'string',
|
|
110
|
+
GIpList: 'string',
|
|
111
|
+
globalIgName: 'string',
|
|
112
|
+
globalSecurityGroupId: 'string',
|
|
113
|
+
regionId: 'string',
|
|
114
|
+
securityIpType: 'string',
|
|
115
|
+
uid: 'string',
|
|
116
|
+
userId: 'string',
|
|
117
|
+
whitelistNetType: 'string',
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
validate() {
|
|
122
|
+
if(Array.isArray(this.dbInstances)) {
|
|
123
|
+
$dara.Model.validateArray(this.dbInstances);
|
|
124
|
+
}
|
|
125
|
+
if(Array.isArray(this.engineInfoList)) {
|
|
126
|
+
$dara.Model.validateArray(this.engineInfoList);
|
|
127
|
+
}
|
|
128
|
+
super.validate();
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
constructor(map?: { [key: string]: any }) {
|
|
132
|
+
super(map);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export class DescribeSecurityIPGroupResponseBodyData extends $dara.Model {
|
|
137
|
+
securityIpGroups?: DescribeSecurityIPGroupResponseBodyDataSecurityIpGroups[];
|
|
138
|
+
static names(): { [key: string]: string } {
|
|
139
|
+
return {
|
|
140
|
+
securityIpGroups: 'SecurityIpGroups',
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
static types(): { [key: string]: any } {
|
|
145
|
+
return {
|
|
146
|
+
securityIpGroups: { 'type': 'array', 'itemType': DescribeSecurityIPGroupResponseBodyDataSecurityIpGroups },
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
validate() {
|
|
151
|
+
if(Array.isArray(this.securityIpGroups)) {
|
|
152
|
+
$dara.Model.validateArray(this.securityIpGroups);
|
|
153
|
+
}
|
|
154
|
+
super.validate();
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
constructor(map?: { [key: string]: any }) {
|
|
158
|
+
super(map);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export class DescribeSecurityIPGroupResponseBody extends $dara.Model {
|
|
163
|
+
/**
|
|
164
|
+
* @example
|
|
165
|
+
* 200
|
|
166
|
+
*/
|
|
167
|
+
code?: string;
|
|
168
|
+
/**
|
|
169
|
+
* @remarks
|
|
170
|
+
* ListResult<InstanceSSL>
|
|
171
|
+
*/
|
|
172
|
+
data?: DescribeSecurityIPGroupResponseBodyData;
|
|
173
|
+
/**
|
|
174
|
+
* @example
|
|
175
|
+
* Successful
|
|
176
|
+
*/
|
|
177
|
+
message?: string;
|
|
178
|
+
/**
|
|
179
|
+
* @example
|
|
180
|
+
* CAC553F1-C669-53F1-A295-2CF050E****
|
|
181
|
+
*/
|
|
182
|
+
requestId?: string;
|
|
183
|
+
/**
|
|
184
|
+
* @example
|
|
185
|
+
* true
|
|
186
|
+
*/
|
|
187
|
+
success?: string;
|
|
188
|
+
static names(): { [key: string]: string } {
|
|
189
|
+
return {
|
|
190
|
+
code: 'Code',
|
|
191
|
+
data: 'Data',
|
|
192
|
+
message: 'Message',
|
|
193
|
+
requestId: 'RequestId',
|
|
194
|
+
success: 'Success',
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
static types(): { [key: string]: any } {
|
|
199
|
+
return {
|
|
200
|
+
code: 'string',
|
|
201
|
+
data: DescribeSecurityIPGroupResponseBodyData,
|
|
202
|
+
message: 'string',
|
|
203
|
+
requestId: 'string',
|
|
204
|
+
success: 'string',
|
|
205
|
+
};
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
validate() {
|
|
209
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
210
|
+
(this.data as any).validate();
|
|
211
|
+
}
|
|
212
|
+
super.validate();
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
constructor(map?: { [key: string]: any }) {
|
|
216
|
+
super(map);
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
@@ -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 ModifySecurityIPGroupRelationRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* g-ggh7qvrrwikyxe****
|
|
12
|
+
*/
|
|
13
|
+
globalSecurityGroupId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* pc-bp1u5mas9exx7****
|
|
20
|
+
*/
|
|
21
|
+
instanceId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* This parameter is required.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* cn-shanghai
|
|
28
|
+
*/
|
|
29
|
+
regionName?: string;
|
|
30
|
+
static names(): { [key: string]: string } {
|
|
31
|
+
return {
|
|
32
|
+
globalSecurityGroupId: 'GlobalSecurityGroupId',
|
|
33
|
+
instanceId: 'InstanceId',
|
|
34
|
+
regionName: 'RegionName',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
globalSecurityGroupId: 'string',
|
|
41
|
+
instanceId: 'string',
|
|
42
|
+
regionName: 'string',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
super.validate();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
constructor(map?: { [key: string]: any }) {
|
|
51
|
+
super(map);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|