@alicloud/ddosbgp20180720 3.1.0 → 3.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 +12 -8
- package/dist/client.js +14 -10
- package/dist/client.js.map +1 -1
- package/dist/models/CheckAccessLogAuthRequest.d.ts +2 -2
- package/dist/models/CheckAccessLogAuthResponseBody.d.ts +4 -5
- package/dist/models/CheckAccessLogAuthResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceListRequest.d.ts +28 -33
- package/dist/models/DescribeInstanceListRequest.js.map +1 -1
- package/dist/models/DescribeInstanceListResponseBody.d.ts +46 -52
- package/dist/models/DescribeInstanceListResponseBody.js +2 -0
- package/dist/models/DescribeInstanceListResponseBody.js.map +1 -1
- package/dist/models/GetSlsOpenStatusRequest.d.ts +1 -1
- package/dist/models/GetSlsOpenStatusResponseBody.d.ts +4 -4
- package/dist/models/ListOpenedAccessLogInstancesRequest.d.ts +3 -3
- package/dist/models/ListOpenedAccessLogInstancesResponseBody.d.ts +7 -7
- package/package.json +1 -1
- package/src/client.ts +14 -10
- package/src/models/CheckAccessLogAuthRequest.ts +2 -2
- package/src/models/CheckAccessLogAuthResponseBody.ts +4 -5
- package/src/models/DescribeInstanceListRequest.ts +28 -33
- package/src/models/DescribeInstanceListResponseBody.ts +48 -52
- package/src/models/GetSlsOpenStatusRequest.ts +1 -1
- package/src/models/GetSlsOpenStatusResponseBody.ts +4 -4
- package/src/models/ListOpenedAccessLogInstancesRequest.ts +3 -3
- package/src/models/ListOpenedAccessLogInstancesResponseBody.ts +7 -7
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeInstanceListResponseBodyInstanceListAutoProtectCondition extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* The events on which automatic binding is based.
|
|
9
9
|
*/
|
|
10
10
|
events?: string[];
|
|
11
11
|
static names(): { [key: string]: string } {
|
|
@@ -35,18 +35,15 @@ export class DescribeInstanceListResponseBodyInstanceListAutoProtectCondition ex
|
|
|
35
35
|
export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The
|
|
39
|
-
*
|
|
40
|
-
* - **any**: The instance is automatically associated with an object based on traffic scrubbing events or blackhole filtering events.
|
|
41
|
-
*
|
|
42
|
-
* - **clean**: The instance is automatically associated with an object based on traffic scrubbing events.
|
|
43
|
-
*
|
|
44
|
-
* - **blackhole**: The instance is automatically associated with an object based on blackhole filtering events.
|
|
38
|
+
* The automatic binding condition.
|
|
45
39
|
*/
|
|
46
40
|
autoProtectCondition?: DescribeInstanceListResponseBodyInstanceListAutoProtectCondition;
|
|
47
41
|
/**
|
|
48
42
|
* @remarks
|
|
49
|
-
*
|
|
43
|
+
* Indicates whether auto-renewal is enabled for the instance. Valid values:
|
|
44
|
+
*
|
|
45
|
+
* - **true**: Enabled.
|
|
46
|
+
* - **false**: Disabled.
|
|
50
47
|
*
|
|
51
48
|
* @example
|
|
52
49
|
* false
|
|
@@ -54,11 +51,9 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
|
|
|
54
51
|
autoRenewal?: boolean;
|
|
55
52
|
/**
|
|
56
53
|
* @remarks
|
|
57
|
-
* The
|
|
58
|
-
*
|
|
59
|
-
* - **ddos_ddosorigin_public_cn**: Anti-DDoS Origin 2.0 (Pay-as-you-go) on the China site (aliyun.com).
|
|
54
|
+
* The number of assets that are assigned public IP addresses protected by the instance that are in blackhole filtering status.
|
|
60
55
|
*
|
|
61
|
-
*
|
|
56
|
+
* > You can invoke [DeleteBlackhole](https://help.aliyun.com/document_detail/118692.html) to deactivate blackhole filtering for a single protected IP address.
|
|
62
57
|
*
|
|
63
58
|
* @example
|
|
64
59
|
* 0
|
|
@@ -66,7 +61,10 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
|
|
|
66
61
|
blackholdingCount?: string;
|
|
67
62
|
/**
|
|
68
63
|
* @remarks
|
|
69
|
-
* The
|
|
64
|
+
* The commodity type of the instance.
|
|
65
|
+
*
|
|
66
|
+
* - **ddos_ddosorigin_public_cn**: Anti-DDoS Origin 2.0 (Pay-as-you-go) China site.
|
|
67
|
+
* - **ddos_ddosorigin_public_intl**: Anti-DDoS Origin 2.0 (Pay-as-you-go) International site.
|
|
70
68
|
*
|
|
71
69
|
* @example
|
|
72
70
|
* ddos_ddosorigin_public_cn
|
|
@@ -74,11 +72,12 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
|
|
|
74
72
|
commodityType?: string;
|
|
75
73
|
/**
|
|
76
74
|
* @remarks
|
|
77
|
-
*
|
|
75
|
+
* The asset overwrite type of the instance.
|
|
78
76
|
*
|
|
79
|
-
* - **
|
|
80
|
-
*
|
|
81
|
-
* - **
|
|
77
|
+
* - **1**: Supports assets that are assigned public IP addresses in multiple regions worldwide.
|
|
78
|
+
* - **2**: Supports assets that are assigned public IP addresses in multiple regions in the Chinese mainland.
|
|
79
|
+
* - **3**: Supports assets that are assigned public IP addresses in multiple regions outside the Chinese mainland.
|
|
80
|
+
* - **4**: Supports assets that are assigned public IP addresses in a single region worldwide.
|
|
82
81
|
*
|
|
83
82
|
* @example
|
|
84
83
|
* 1
|
|
@@ -86,7 +85,10 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
|
|
|
86
85
|
coverageType?: number;
|
|
87
86
|
/**
|
|
88
87
|
* @remarks
|
|
89
|
-
* The
|
|
88
|
+
* The overdue payment status. Valid values:
|
|
89
|
+
*
|
|
90
|
+
* - **0**: No overdue payment.
|
|
91
|
+
* - **1**: Overdue payment.
|
|
90
92
|
*
|
|
91
93
|
* @example
|
|
92
94
|
* 0
|
|
@@ -94,7 +96,7 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
|
|
|
94
96
|
debtStatus?: number;
|
|
95
97
|
/**
|
|
96
98
|
* @remarks
|
|
97
|
-
* The time
|
|
99
|
+
* The expiration time of the instance. The value is a timestamp. Unit: milliseconds.
|
|
98
100
|
*
|
|
99
101
|
* @example
|
|
100
102
|
* 1640275200000
|
|
@@ -102,11 +104,7 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
|
|
|
102
104
|
expireTime?: number;
|
|
103
105
|
/**
|
|
104
106
|
* @remarks
|
|
105
|
-
* The
|
|
106
|
-
*
|
|
107
|
-
* - **0**: the Professional mitigation plan
|
|
108
|
-
*
|
|
109
|
-
* - **1**: the Enterprise mitigation plan
|
|
107
|
+
* The purchase time of the instance. The value is a timestamp. Unit: milliseconds.
|
|
110
108
|
*
|
|
111
109
|
* @example
|
|
112
110
|
* 1592886047000
|
|
@@ -114,9 +112,7 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
|
|
|
114
112
|
gmtCreate?: number;
|
|
115
113
|
/**
|
|
116
114
|
* @remarks
|
|
117
|
-
* The
|
|
118
|
-
*
|
|
119
|
-
* > You can call the [DeleteBlackhole](https://help.aliyun.com/document_detail/118692.html) operation to deactivate blackhole filtering for a protected IP address.
|
|
115
|
+
* The instance ID.
|
|
120
116
|
*
|
|
121
117
|
* @example
|
|
122
118
|
* ddosbgp-cn-oew1pjrk****
|
|
@@ -124,15 +120,10 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
|
|
|
124
120
|
instanceId?: string;
|
|
125
121
|
/**
|
|
126
122
|
* @remarks
|
|
127
|
-
* The
|
|
128
|
-
*
|
|
129
|
-
* - **1**: The instance supports public IP addresses in all regions.
|
|
123
|
+
* The mitigation plan type of the instance. Valid values:
|
|
130
124
|
*
|
|
131
|
-
* - **
|
|
132
|
-
*
|
|
133
|
-
* - **3**: The instance supports public IP addresses in regions outside the Chinese mainland.
|
|
134
|
-
*
|
|
135
|
-
* - **4**: The instance supports public IP addresses in a region in or outside the Chinese mainland.
|
|
125
|
+
* - **0**: Professional.
|
|
126
|
+
* - **1**: Enterprise.
|
|
136
127
|
*
|
|
137
128
|
* @example
|
|
138
129
|
* 1
|
|
@@ -140,15 +131,24 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
|
|
|
140
131
|
instanceType?: string;
|
|
141
132
|
/**
|
|
142
133
|
* @remarks
|
|
143
|
-
* The
|
|
134
|
+
* The protocol type of the IP assets protected by the instance. Valid values:
|
|
135
|
+
*
|
|
136
|
+
* - **IPv4**: IPv4 protocol.
|
|
137
|
+
* - **IPv6**: IPv6 protocol.
|
|
144
138
|
*
|
|
145
139
|
* @example
|
|
146
140
|
* IPv4
|
|
147
141
|
*/
|
|
148
142
|
ipType?: string;
|
|
143
|
+
logExt?: string;
|
|
149
144
|
/**
|
|
150
145
|
* @remarks
|
|
151
|
-
* The
|
|
146
|
+
* The type of the cloud service associated with the instance. This parameter is not returned by default. It is returned only when the Anti-DDoS Origin instance is created by another cloud service, with the corresponding cloud service code.
|
|
147
|
+
*
|
|
148
|
+
* Valid values:
|
|
149
|
+
*
|
|
150
|
+
* - **gamebox**: The Anti-DDoS Origin instance is created by Game Security Box.
|
|
151
|
+
* - **eip**: The Anti-DDoS Origin instance is created by an EIP with Anti-DDoS (Enhanced) enabled.
|
|
152
152
|
*
|
|
153
153
|
* @example
|
|
154
154
|
* gamebox
|
|
@@ -156,13 +156,7 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
|
|
|
156
156
|
product?: string;
|
|
157
157
|
/**
|
|
158
158
|
* @remarks
|
|
159
|
-
* The
|
|
160
|
-
*
|
|
161
|
-
* Valid values:
|
|
162
|
-
*
|
|
163
|
-
* - **gamebox**: The Anti-DDoS Origin instance is created by using Game Security Box.
|
|
164
|
-
*
|
|
165
|
-
* - **eip**: The Anti-DDoS Origin instance is created by using an elastic IP address (EIP) for which Anti-DDoS (Enhanced Edition) is enabled.
|
|
159
|
+
* The remark of the instance.
|
|
166
160
|
*
|
|
167
161
|
* @example
|
|
168
162
|
* test
|
|
@@ -178,11 +172,11 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
|
|
|
178
172
|
resourceGroupId?: string;
|
|
179
173
|
/**
|
|
180
174
|
* @remarks
|
|
181
|
-
*
|
|
182
|
-
*
|
|
183
|
-
* - **true**
|
|
175
|
+
* The status of the instance. Valid values:
|
|
184
176
|
*
|
|
185
|
-
* - **
|
|
177
|
+
* - **1**: Normal.
|
|
178
|
+
* - **2**: Expired.
|
|
179
|
+
* - **3**: Released.
|
|
186
180
|
*
|
|
187
181
|
* @example
|
|
188
182
|
* 1
|
|
@@ -201,6 +195,7 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
|
|
|
201
195
|
instanceId: 'InstanceId',
|
|
202
196
|
instanceType: 'InstanceType',
|
|
203
197
|
ipType: 'IpType',
|
|
198
|
+
logExt: 'LogExt',
|
|
204
199
|
product: 'Product',
|
|
205
200
|
remark: 'Remark',
|
|
206
201
|
resourceGroupId: 'ResourceGroupId',
|
|
@@ -221,6 +216,7 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
|
|
|
221
216
|
instanceId: 'string',
|
|
222
217
|
instanceType: 'string',
|
|
223
218
|
ipType: 'string',
|
|
219
|
+
logExt: 'string',
|
|
224
220
|
product: 'string',
|
|
225
221
|
remark: 'string',
|
|
226
222
|
resourceGroupId: 'string',
|
|
@@ -243,12 +239,12 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
|
|
|
243
239
|
export class DescribeInstanceListResponseBody extends $dara.Model {
|
|
244
240
|
/**
|
|
245
241
|
* @remarks
|
|
246
|
-
* The details
|
|
242
|
+
* The details of the Anti-DDoS Origin instances.
|
|
247
243
|
*/
|
|
248
244
|
instanceList?: DescribeInstanceListResponseBodyInstanceList[];
|
|
249
245
|
/**
|
|
250
246
|
* @remarks
|
|
251
|
-
* The
|
|
247
|
+
* The request ID.
|
|
252
248
|
*
|
|
253
249
|
* @example
|
|
254
250
|
* 381D5D33-BB8F-395F-8EE4-AE3BB4B523C4
|
|
@@ -256,7 +252,7 @@ export class DescribeInstanceListResponseBody extends $dara.Model {
|
|
|
256
252
|
requestId?: string;
|
|
257
253
|
/**
|
|
258
254
|
* @remarks
|
|
259
|
-
* The
|
|
255
|
+
* The total number of Anti-DDoS Origin instances returned.
|
|
260
256
|
*
|
|
261
257
|
* @example
|
|
262
258
|
* 1
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetSlsOpenStatusRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID of the
|
|
8
|
+
* The region ID of the Anti-DDoS Origin instance.
|
|
9
9
|
*
|
|
10
10
|
* For more information about the valid values of this parameter, see [Regions and zones](https://help.aliyun.com/document_detail/188196.html).
|
|
11
11
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetSlsOpenStatusResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The request
|
|
8
|
+
* The ID of the request.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* D01666F5-541B-4C78-98A6-D29E02DAAC7C
|
|
@@ -13,10 +13,10 @@ export class GetSlsOpenStatusResponseBody extends $dara.Model {
|
|
|
13
13
|
requestId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* Indicates whether Simple Log Service
|
|
16
|
+
* Indicates whether Simple Log Service is activated for the current Alibaba Cloud account. Valid values:
|
|
17
17
|
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
18
|
+
* - **true**: Simple Log Service is activated.
|
|
19
|
+
* - **false**: Simple Log Service is not activated.
|
|
20
20
|
*
|
|
21
21
|
* @example
|
|
22
22
|
* true
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListOpenedAccessLogInstancesRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The page number
|
|
8
|
+
* The page number to return in a paging query. Default value: **1**, which indicates the first page.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 1
|
|
@@ -13,7 +13,7 @@ export class ListOpenedAccessLogInstancesRequest extends $dara.Model {
|
|
|
13
13
|
pageNumber?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The number of entries
|
|
16
|
+
* The number of entries to return on each page in a paging query. Default value: **10**, which indicates 10 entries per page.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 10
|
|
@@ -21,7 +21,7 @@ export class ListOpenedAccessLogInstancesRequest extends $dara.Model {
|
|
|
21
21
|
pageSize?: number;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The ID of the resource group to which the Anti-DDoS Origin instance belongs in Resource Management.
|
|
24
|
+
* The ID of the resource group to which the Anti-DDoS Origin instance belongs in Resource Management. By default, this parameter is empty, which indicates that the instance belongs to the default resource group.
|
|
25
25
|
*
|
|
26
26
|
* For more information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
|
|
27
27
|
*
|
|
@@ -5,10 +5,10 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListOpenedAccessLogInstancesResponseBodySlsConfigStatus extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Indicates whether log analysis
|
|
8
|
+
* Indicates whether log analysis is enabled for the instance. Valid values:
|
|
9
9
|
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
10
|
+
* - **true**: Enabled.
|
|
11
|
+
* - **false**: Not enabled.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* true
|
|
@@ -16,7 +16,7 @@ export class ListOpenedAccessLogInstancesResponseBodySlsConfigStatus extends $da
|
|
|
16
16
|
enable?: boolean;
|
|
17
17
|
/**
|
|
18
18
|
* @remarks
|
|
19
|
-
* The ID of
|
|
19
|
+
* The instance ID of Anti-DDoS Origin.
|
|
20
20
|
*
|
|
21
21
|
* @example
|
|
22
22
|
* ddosbgp-cn-m7r1zce2****
|
|
@@ -48,7 +48,7 @@ export class ListOpenedAccessLogInstancesResponseBodySlsConfigStatus extends $da
|
|
|
48
48
|
export class ListOpenedAccessLogInstancesResponseBody extends $dara.Model {
|
|
49
49
|
/**
|
|
50
50
|
* @remarks
|
|
51
|
-
* The request
|
|
51
|
+
* The ID of the request.
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
54
|
* 4DB64811-70A1-41C9-A0CE-CD8B260ED551
|
|
@@ -56,12 +56,12 @@ export class ListOpenedAccessLogInstancesResponseBody extends $dara.Model {
|
|
|
56
56
|
requestId?: string;
|
|
57
57
|
/**
|
|
58
58
|
* @remarks
|
|
59
|
-
* The
|
|
59
|
+
* The log analysis configurations of Anti-DDoS Origin instances.
|
|
60
60
|
*/
|
|
61
61
|
slsConfigStatus?: ListOpenedAccessLogInstancesResponseBodySlsConfigStatus[];
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The number of the Anti-DDoS Origin instances
|
|
64
|
+
* The number of results returned, which is the number of Anti-DDoS Origin instances that have log analysis enabled.
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
67
|
* 1
|