@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DescribeInstanceListRequest.js","sourceRoot":"","sources":["../../src/models/DescribeInstanceListRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"DescribeInstanceListRequest.js","sourceRoot":"","sources":["../../src/models/DescribeInstanceListRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAiB7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,GAAG,EAAE,KAAK;YACV,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,GAAG,EAAE,QAAQ;YACb,KAAK,EAAE,QAAQ;SAChB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,wEAsCC;AAED,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAsH1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,gBAAgB;YAChC,YAAY,EAAE,cAAc;YAC5B,gBAAgB,EAAE,kBAAkB;YACpC,EAAE,EAAE,IAAI;YACR,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;YAChB,eAAe,EAAE,iBAAiB;YAClC,GAAG,EAAE,KAAK;SACX,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,QAAQ;YACxB,YAAY,EAAE,QAAQ;YACtB,gBAAgB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YAC3D,EAAE,EAAE,QAAQ;YACZ,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,QAAQ;YAChB,eAAe,EAAE,QAAQ;YACzB,GAAG,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,8BAA8B,EAAE;SACrE,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,CAAC,EAAE,CAAC;YACxC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QACnD,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;YAC3B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACtC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvKD,kEAuKC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class DescribeInstanceListResponseBodyInstanceListAutoProtectCondition extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
*
|
|
5
|
+
* The events on which automatic binding is based.
|
|
6
6
|
*/
|
|
7
7
|
events?: string[];
|
|
8
8
|
static names(): {
|
|
@@ -19,18 +19,15 @@ export declare class DescribeInstanceListResponseBodyInstanceListAutoProtectCond
|
|
|
19
19
|
export declare class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
|
|
20
20
|
/**
|
|
21
21
|
* @remarks
|
|
22
|
-
* The
|
|
23
|
-
*
|
|
24
|
-
* - **any**: The instance is automatically associated with an object based on traffic scrubbing events or blackhole filtering events.
|
|
25
|
-
*
|
|
26
|
-
* - **clean**: The instance is automatically associated with an object based on traffic scrubbing events.
|
|
27
|
-
*
|
|
28
|
-
* - **blackhole**: The instance is automatically associated with an object based on blackhole filtering events.
|
|
22
|
+
* The automatic binding condition.
|
|
29
23
|
*/
|
|
30
24
|
autoProtectCondition?: DescribeInstanceListResponseBodyInstanceListAutoProtectCondition;
|
|
31
25
|
/**
|
|
32
26
|
* @remarks
|
|
33
|
-
*
|
|
27
|
+
* Indicates whether auto-renewal is enabled for the instance. Valid values:
|
|
28
|
+
*
|
|
29
|
+
* - **true**: Enabled.
|
|
30
|
+
* - **false**: Disabled.
|
|
34
31
|
*
|
|
35
32
|
* @example
|
|
36
33
|
* false
|
|
@@ -38,11 +35,9 @@ export declare class DescribeInstanceListResponseBodyInstanceList extends $dara.
|
|
|
38
35
|
autoRenewal?: boolean;
|
|
39
36
|
/**
|
|
40
37
|
* @remarks
|
|
41
|
-
* The
|
|
42
|
-
*
|
|
43
|
-
* - **ddos_ddosorigin_public_cn**: Anti-DDoS Origin 2.0 (Pay-as-you-go) on the China site (aliyun.com).
|
|
38
|
+
* The number of assets that are assigned public IP addresses protected by the instance that are in blackhole filtering status.
|
|
44
39
|
*
|
|
45
|
-
*
|
|
40
|
+
* > You can invoke [DeleteBlackhole](https://help.aliyun.com/document_detail/118692.html) to deactivate blackhole filtering for a single protected IP address.
|
|
46
41
|
*
|
|
47
42
|
* @example
|
|
48
43
|
* 0
|
|
@@ -50,7 +45,10 @@ export declare class DescribeInstanceListResponseBodyInstanceList extends $dara.
|
|
|
50
45
|
blackholdingCount?: string;
|
|
51
46
|
/**
|
|
52
47
|
* @remarks
|
|
53
|
-
* The
|
|
48
|
+
* The commodity type of the instance.
|
|
49
|
+
*
|
|
50
|
+
* - **ddos_ddosorigin_public_cn**: Anti-DDoS Origin 2.0 (Pay-as-you-go) China site.
|
|
51
|
+
* - **ddos_ddosorigin_public_intl**: Anti-DDoS Origin 2.0 (Pay-as-you-go) International site.
|
|
54
52
|
*
|
|
55
53
|
* @example
|
|
56
54
|
* ddos_ddosorigin_public_cn
|
|
@@ -58,11 +56,12 @@ export declare class DescribeInstanceListResponseBodyInstanceList extends $dara.
|
|
|
58
56
|
commodityType?: string;
|
|
59
57
|
/**
|
|
60
58
|
* @remarks
|
|
61
|
-
*
|
|
59
|
+
* The asset overwrite type of the instance.
|
|
62
60
|
*
|
|
63
|
-
* - **
|
|
64
|
-
*
|
|
65
|
-
* - **
|
|
61
|
+
* - **1**: Supports assets that are assigned public IP addresses in multiple regions worldwide.
|
|
62
|
+
* - **2**: Supports assets that are assigned public IP addresses in multiple regions in the Chinese mainland.
|
|
63
|
+
* - **3**: Supports assets that are assigned public IP addresses in multiple regions outside the Chinese mainland.
|
|
64
|
+
* - **4**: Supports assets that are assigned public IP addresses in a single region worldwide.
|
|
66
65
|
*
|
|
67
66
|
* @example
|
|
68
67
|
* 1
|
|
@@ -70,7 +69,10 @@ export declare class DescribeInstanceListResponseBodyInstanceList extends $dara.
|
|
|
70
69
|
coverageType?: number;
|
|
71
70
|
/**
|
|
72
71
|
* @remarks
|
|
73
|
-
* The
|
|
72
|
+
* The overdue payment status. Valid values:
|
|
73
|
+
*
|
|
74
|
+
* - **0**: No overdue payment.
|
|
75
|
+
* - **1**: Overdue payment.
|
|
74
76
|
*
|
|
75
77
|
* @example
|
|
76
78
|
* 0
|
|
@@ -78,7 +80,7 @@ export declare class DescribeInstanceListResponseBodyInstanceList extends $dara.
|
|
|
78
80
|
debtStatus?: number;
|
|
79
81
|
/**
|
|
80
82
|
* @remarks
|
|
81
|
-
* The time
|
|
83
|
+
* The expiration time of the instance. The value is a timestamp. Unit: milliseconds.
|
|
82
84
|
*
|
|
83
85
|
* @example
|
|
84
86
|
* 1640275200000
|
|
@@ -86,11 +88,7 @@ export declare class DescribeInstanceListResponseBodyInstanceList extends $dara.
|
|
|
86
88
|
expireTime?: number;
|
|
87
89
|
/**
|
|
88
90
|
* @remarks
|
|
89
|
-
* The
|
|
90
|
-
*
|
|
91
|
-
* - **0**: the Professional mitigation plan
|
|
92
|
-
*
|
|
93
|
-
* - **1**: the Enterprise mitigation plan
|
|
91
|
+
* The purchase time of the instance. The value is a timestamp. Unit: milliseconds.
|
|
94
92
|
*
|
|
95
93
|
* @example
|
|
96
94
|
* 1592886047000
|
|
@@ -98,9 +96,7 @@ export declare class DescribeInstanceListResponseBodyInstanceList extends $dara.
|
|
|
98
96
|
gmtCreate?: number;
|
|
99
97
|
/**
|
|
100
98
|
* @remarks
|
|
101
|
-
* The
|
|
102
|
-
*
|
|
103
|
-
* > You can call the [DeleteBlackhole](https://help.aliyun.com/document_detail/118692.html) operation to deactivate blackhole filtering for a protected IP address.
|
|
99
|
+
* The instance ID.
|
|
104
100
|
*
|
|
105
101
|
* @example
|
|
106
102
|
* ddosbgp-cn-oew1pjrk****
|
|
@@ -108,15 +104,10 @@ export declare class DescribeInstanceListResponseBodyInstanceList extends $dara.
|
|
|
108
104
|
instanceId?: string;
|
|
109
105
|
/**
|
|
110
106
|
* @remarks
|
|
111
|
-
* The
|
|
112
|
-
*
|
|
113
|
-
* - **1**: The instance supports public IP addresses in all regions.
|
|
107
|
+
* The mitigation plan type of the instance. Valid values:
|
|
114
108
|
*
|
|
115
|
-
* - **
|
|
116
|
-
*
|
|
117
|
-
* - **3**: The instance supports public IP addresses in regions outside the Chinese mainland.
|
|
118
|
-
*
|
|
119
|
-
* - **4**: The instance supports public IP addresses in a region in or outside the Chinese mainland.
|
|
109
|
+
* - **0**: Professional.
|
|
110
|
+
* - **1**: Enterprise.
|
|
120
111
|
*
|
|
121
112
|
* @example
|
|
122
113
|
* 1
|
|
@@ -124,15 +115,24 @@ export declare class DescribeInstanceListResponseBodyInstanceList extends $dara.
|
|
|
124
115
|
instanceType?: string;
|
|
125
116
|
/**
|
|
126
117
|
* @remarks
|
|
127
|
-
* The
|
|
118
|
+
* The protocol type of the IP assets protected by the instance. Valid values:
|
|
119
|
+
*
|
|
120
|
+
* - **IPv4**: IPv4 protocol.
|
|
121
|
+
* - **IPv6**: IPv6 protocol.
|
|
128
122
|
*
|
|
129
123
|
* @example
|
|
130
124
|
* IPv4
|
|
131
125
|
*/
|
|
132
126
|
ipType?: string;
|
|
127
|
+
logExt?: string;
|
|
133
128
|
/**
|
|
134
129
|
* @remarks
|
|
135
|
-
* The
|
|
130
|
+
* 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.
|
|
131
|
+
*
|
|
132
|
+
* Valid values:
|
|
133
|
+
*
|
|
134
|
+
* - **gamebox**: The Anti-DDoS Origin instance is created by Game Security Box.
|
|
135
|
+
* - **eip**: The Anti-DDoS Origin instance is created by an EIP with Anti-DDoS (Enhanced) enabled.
|
|
136
136
|
*
|
|
137
137
|
* @example
|
|
138
138
|
* gamebox
|
|
@@ -140,13 +140,7 @@ export declare class DescribeInstanceListResponseBodyInstanceList extends $dara.
|
|
|
140
140
|
product?: string;
|
|
141
141
|
/**
|
|
142
142
|
* @remarks
|
|
143
|
-
* The
|
|
144
|
-
*
|
|
145
|
-
* Valid values:
|
|
146
|
-
*
|
|
147
|
-
* - **gamebox**: The Anti-DDoS Origin instance is created by using Game Security Box.
|
|
148
|
-
*
|
|
149
|
-
* - **eip**: The Anti-DDoS Origin instance is created by using an elastic IP address (EIP) for which Anti-DDoS (Enhanced Edition) is enabled.
|
|
143
|
+
* The remark of the instance.
|
|
150
144
|
*
|
|
151
145
|
* @example
|
|
152
146
|
* test
|
|
@@ -162,11 +156,11 @@ export declare class DescribeInstanceListResponseBodyInstanceList extends $dara.
|
|
|
162
156
|
resourceGroupId?: string;
|
|
163
157
|
/**
|
|
164
158
|
* @remarks
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
* - **true**
|
|
159
|
+
* The status of the instance. Valid values:
|
|
168
160
|
*
|
|
169
|
-
* - **
|
|
161
|
+
* - **1**: Normal.
|
|
162
|
+
* - **2**: Expired.
|
|
163
|
+
* - **3**: Released.
|
|
170
164
|
*
|
|
171
165
|
* @example
|
|
172
166
|
* 1
|
|
@@ -186,12 +180,12 @@ export declare class DescribeInstanceListResponseBodyInstanceList extends $dara.
|
|
|
186
180
|
export declare class DescribeInstanceListResponseBody extends $dara.Model {
|
|
187
181
|
/**
|
|
188
182
|
* @remarks
|
|
189
|
-
* The details
|
|
183
|
+
* The details of the Anti-DDoS Origin instances.
|
|
190
184
|
*/
|
|
191
185
|
instanceList?: DescribeInstanceListResponseBodyInstanceList[];
|
|
192
186
|
/**
|
|
193
187
|
* @remarks
|
|
194
|
-
* The
|
|
188
|
+
* The request ID.
|
|
195
189
|
*
|
|
196
190
|
* @example
|
|
197
191
|
* 381D5D33-BB8F-395F-8EE4-AE3BB4B523C4
|
|
@@ -199,7 +193,7 @@ export declare class DescribeInstanceListResponseBody extends $dara.Model {
|
|
|
199
193
|
requestId?: string;
|
|
200
194
|
/**
|
|
201
195
|
* @remarks
|
|
202
|
-
* The
|
|
196
|
+
* The total number of Anti-DDoS Origin instances returned.
|
|
203
197
|
*
|
|
204
198
|
* @example
|
|
205
199
|
* 1
|
|
@@ -72,6 +72,7 @@ class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
|
|
|
72
72
|
instanceId: 'InstanceId',
|
|
73
73
|
instanceType: 'InstanceType',
|
|
74
74
|
ipType: 'IpType',
|
|
75
|
+
logExt: 'LogExt',
|
|
75
76
|
product: 'Product',
|
|
76
77
|
remark: 'Remark',
|
|
77
78
|
resourceGroupId: 'ResourceGroupId',
|
|
@@ -91,6 +92,7 @@ class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
|
|
|
91
92
|
instanceId: 'string',
|
|
92
93
|
instanceType: 'string',
|
|
93
94
|
ipType: 'string',
|
|
95
|
+
logExt: 'string',
|
|
94
96
|
product: 'string',
|
|
95
97
|
remark: 'string',
|
|
96
98
|
resourceGroupId: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DescribeInstanceListResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeInstanceListResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gEAAiE,SAAQ,KAAK,CAAC,KAAK;IAM/F,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;SAClD,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YAC9B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACzC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5BD,4IA4BC;AAED,MAAa,4CAA6C,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"DescribeInstanceListResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeInstanceListResponseBody.ts"],"names":[],"mappings":"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"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class GetSlsOpenStatusRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The ID of the
|
|
5
|
+
* The region ID of the Anti-DDoS Origin instance.
|
|
6
6
|
*
|
|
7
7
|
* For more information about the valid values of this parameter, see [Regions and zones](https://help.aliyun.com/document_detail/188196.html).
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class GetSlsOpenStatusResponseBody extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The request
|
|
5
|
+
* The ID of the request.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* D01666F5-541B-4C78-98A6-D29E02DAAC7C
|
|
@@ -10,10 +10,10 @@ export declare class GetSlsOpenStatusResponseBody extends $dara.Model {
|
|
|
10
10
|
requestId?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* Indicates whether Simple Log Service
|
|
13
|
+
* Indicates whether Simple Log Service is activated for the current Alibaba Cloud account. Valid values:
|
|
14
14
|
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
15
|
+
* - **true**: Simple Log Service is activated.
|
|
16
|
+
* - **false**: Simple Log Service is not activated.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* true
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ListOpenedAccessLogInstancesRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The page number
|
|
5
|
+
* The page number to return in a paging query. Default value: **1**, which indicates the first page.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 1
|
|
@@ -10,7 +10,7 @@ export declare class ListOpenedAccessLogInstancesRequest extends $dara.Model {
|
|
|
10
10
|
pageNumber?: number;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The number of entries
|
|
13
|
+
* The number of entries to return on each page in a paging query. Default value: **10**, which indicates 10 entries per page.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* 10
|
|
@@ -18,7 +18,7 @@ export declare class ListOpenedAccessLogInstancesRequest extends $dara.Model {
|
|
|
18
18
|
pageSize?: number;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The ID of the resource group to which the Anti-DDoS Origin instance belongs in Resource Management.
|
|
21
|
+
* 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.
|
|
22
22
|
*
|
|
23
23
|
* For more information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
|
|
24
24
|
*
|
|
@@ -2,10 +2,10 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ListOpenedAccessLogInstancesResponseBodySlsConfigStatus extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* Indicates whether log analysis
|
|
5
|
+
* Indicates whether log analysis is enabled for the instance. Valid values:
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* - **true**: Enabled.
|
|
8
|
+
* - **false**: Not enabled.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* true
|
|
@@ -13,7 +13,7 @@ export declare class ListOpenedAccessLogInstancesResponseBodySlsConfigStatus ext
|
|
|
13
13
|
enable?: boolean;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The ID of
|
|
16
|
+
* The instance ID of Anti-DDoS Origin.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* ddosbgp-cn-m7r1zce2****
|
|
@@ -33,7 +33,7 @@ export declare class ListOpenedAccessLogInstancesResponseBodySlsConfigStatus ext
|
|
|
33
33
|
export declare class ListOpenedAccessLogInstancesResponseBody extends $dara.Model {
|
|
34
34
|
/**
|
|
35
35
|
* @remarks
|
|
36
|
-
* The request
|
|
36
|
+
* The ID of the request.
|
|
37
37
|
*
|
|
38
38
|
* @example
|
|
39
39
|
* 4DB64811-70A1-41C9-A0CE-CD8B260ED551
|
|
@@ -41,12 +41,12 @@ export declare class ListOpenedAccessLogInstancesResponseBody extends $dara.Mode
|
|
|
41
41
|
requestId?: string;
|
|
42
42
|
/**
|
|
43
43
|
* @remarks
|
|
44
|
-
* The
|
|
44
|
+
* The log analysis configurations of Anti-DDoS Origin instances.
|
|
45
45
|
*/
|
|
46
46
|
slsConfigStatus?: ListOpenedAccessLogInstancesResponseBodySlsConfigStatus[];
|
|
47
47
|
/**
|
|
48
48
|
* @remarks
|
|
49
|
-
* The number of the Anti-DDoS Origin instances
|
|
49
|
+
* The number of results returned, which is the number of Anti-DDoS Origin instances that have log analysis enabled.
|
|
50
50
|
*
|
|
51
51
|
* @example
|
|
52
52
|
* 1
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -33,10 +33,10 @@ export default class Client extends OpenApi {
|
|
|
33
33
|
'cn-shenzhen-finance-1': "ddosbgp.aliyuncs.com",
|
|
34
34
|
'cn-shanghai-finance-1': "ddosbgp.aliyuncs.com",
|
|
35
35
|
'cn-north-2-gov-1': "ddosbgp.aliyuncs.com",
|
|
36
|
-
'us-west-1': "ddosbgp.us-west-1.aliyuncs.com",
|
|
37
|
-
'us-east-1': "ddosbgp.us-east-1.aliyuncs.com",
|
|
38
36
|
'cn-hongkong': "ddosbgp.cn-hongkong.aliyuncs.com",
|
|
39
37
|
'ap-southeast-1': "ddosbgp.ap-southeast-1.aliyuncs.com",
|
|
38
|
+
'us-west-1': "ddosbgp.us-west-1.aliyuncs.com",
|
|
39
|
+
'us-east-1': "ddosbgp.us-east-1.aliyuncs.com",
|
|
40
40
|
};
|
|
41
41
|
this.checkConfig(config);
|
|
42
42
|
this._endpoint = this.getEndpoint("ddosbgp", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -964,10 +964,12 @@ export default class Client extends OpenApi {
|
|
|
964
964
|
}
|
|
965
965
|
|
|
966
966
|
/**
|
|
967
|
-
*
|
|
967
|
+
* Queries the details of Anti-DDoS Origin instances.
|
|
968
968
|
*
|
|
969
969
|
* @remarks
|
|
970
|
-
*
|
|
970
|
+
* This operation is used to query the details of all Anti-DDoS Origin instances owned by the current Alibaba Cloud account by paging, such as instance IDs, validity periods, and statuses.
|
|
971
|
+
* ### QPS limit
|
|
972
|
+
* You can invoke this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. This may affect your business. Invoke this operation within the limit.
|
|
971
973
|
*
|
|
972
974
|
* @param request - DescribeInstanceListRequest
|
|
973
975
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1046,10 +1048,12 @@ export default class Client extends OpenApi {
|
|
|
1046
1048
|
}
|
|
1047
1049
|
|
|
1048
1050
|
/**
|
|
1049
|
-
*
|
|
1051
|
+
* Queries the details of Anti-DDoS Origin instances.
|
|
1050
1052
|
*
|
|
1051
1053
|
* @remarks
|
|
1052
|
-
*
|
|
1054
|
+
* This operation is used to query the details of all Anti-DDoS Origin instances owned by the current Alibaba Cloud account by paging, such as instance IDs, validity periods, and statuses.
|
|
1055
|
+
* ### QPS limit
|
|
1056
|
+
* You can invoke this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. This may affect your business. Invoke this operation within the limit.
|
|
1053
1057
|
*
|
|
1054
1058
|
* @param request - DescribeInstanceListRequest
|
|
1055
1059
|
* @returns DescribeInstanceListResponse
|
|
@@ -1695,7 +1699,7 @@ export default class Client extends OpenApi {
|
|
|
1695
1699
|
}
|
|
1696
1700
|
|
|
1697
1701
|
/**
|
|
1698
|
-
* Queries
|
|
1702
|
+
* Queries the activation status of Simple Log Service for the current Alibaba Cloud account.
|
|
1699
1703
|
*
|
|
1700
1704
|
* @param request - GetSlsOpenStatusRequest
|
|
1701
1705
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1730,7 +1734,7 @@ export default class Client extends OpenApi {
|
|
|
1730
1734
|
}
|
|
1731
1735
|
|
|
1732
1736
|
/**
|
|
1733
|
-
* Queries
|
|
1737
|
+
* Queries the activation status of Simple Log Service for the current Alibaba Cloud account.
|
|
1734
1738
|
*
|
|
1735
1739
|
* @param request - GetSlsOpenStatusRequest
|
|
1736
1740
|
* @returns GetSlsOpenStatusResponse
|
|
@@ -1741,7 +1745,7 @@ export default class Client extends OpenApi {
|
|
|
1741
1745
|
}
|
|
1742
1746
|
|
|
1743
1747
|
/**
|
|
1744
|
-
* Queries
|
|
1748
|
+
* Queries Anti-DDoS Origin instances that have log analysis enabled.
|
|
1745
1749
|
*
|
|
1746
1750
|
* @param request - ListOpenedAccessLogInstancesRequest
|
|
1747
1751
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1780,7 +1784,7 @@ export default class Client extends OpenApi {
|
|
|
1780
1784
|
}
|
|
1781
1785
|
|
|
1782
1786
|
/**
|
|
1783
|
-
* Queries
|
|
1787
|
+
* Queries Anti-DDoS Origin instances that have log analysis enabled.
|
|
1784
1788
|
*
|
|
1785
1789
|
* @param request - ListOpenedAccessLogInstancesRequest
|
|
1786
1790
|
* @returns ListOpenedAccessLogInstancesResponse
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CheckAccessLogAuthRequest 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
|
*
|
|
@@ -15,7 +15,7 @@ export class CheckAccessLogAuthRequest extends $dara.Model {
|
|
|
15
15
|
regionId?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The ID of the resource group to which the Anti-DDoS Origin instance belongs in Resource Management.
|
|
18
|
+
* The ID of the resource group to which the Anti-DDoS Origin instance belongs in Resource Management. If this parameter is empty, the instance belongs to the default resource group.
|
|
19
19
|
*
|
|
20
20
|
* For more information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
|
|
21
21
|
*
|
|
@@ -5,10 +5,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CheckAccessLogAuthResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Indicates whether Anti-DDoS Origin
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* * **false**
|
|
8
|
+
* Indicates whether Anti-DDoS Origin is authorized to access Simple Log Service. Valid values:
|
|
9
|
+
* - **true**: Authorized.
|
|
10
|
+
* - **false**: Not authorized.
|
|
12
11
|
*
|
|
13
12
|
* @example
|
|
14
13
|
* true
|
|
@@ -16,7 +15,7 @@ export class CheckAccessLogAuthResponseBody extends $dara.Model {
|
|
|
16
15
|
accessLogAuth?: boolean;
|
|
17
16
|
/**
|
|
18
17
|
* @remarks
|
|
19
|
-
* The request
|
|
18
|
+
* The ID of the request.
|
|
20
19
|
*
|
|
21
20
|
* @example
|
|
22
21
|
* 864FE2F4-CB2E-4024-B9EF-D59FD08ABD41
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeInstanceListRequestTag extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The key of the tag bound to the Anti-DDoS Origin instance to query.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* test-key
|
|
@@ -13,11 +13,7 @@ export class DescribeInstanceListRequestTag extends $dara.Model {
|
|
|
13
13
|
key?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
17
|
-
*
|
|
18
|
-
* - 0: the Professional mitigation plan.
|
|
19
|
-
*
|
|
20
|
-
* - 1: the Enterprise mitigation plan.
|
|
16
|
+
* The value of the tag bound to the Anti-DDoS Origin instance to query.
|
|
21
17
|
*
|
|
22
18
|
* @example
|
|
23
19
|
* test-value
|
|
@@ -49,7 +45,7 @@ export class DescribeInstanceListRequestTag extends $dara.Model {
|
|
|
49
45
|
export class DescribeInstanceListRequest extends $dara.Model {
|
|
50
46
|
/**
|
|
51
47
|
* @remarks
|
|
52
|
-
* The
|
|
48
|
+
* The IDs of the Anti-DDoS Origin instances to query. Specify the value in the `["<Instance ID 1>","<Instance ID 2>",……]` format.
|
|
53
49
|
*
|
|
54
50
|
* @example
|
|
55
51
|
* ["ddosbgp-cn-oew1pjrk****"]
|
|
@@ -57,9 +53,10 @@ export class DescribeInstanceListRequest extends $dara.Model {
|
|
|
57
53
|
instanceIdList?: string;
|
|
58
54
|
/**
|
|
59
55
|
* @remarks
|
|
60
|
-
* The
|
|
56
|
+
* The mitigation plan type of the Anti-DDoS Origin instance to query. Valid values:
|
|
61
57
|
*
|
|
62
|
-
*
|
|
58
|
+
* - **0**: Professional.
|
|
59
|
+
* - **1**: Enterprise.
|
|
63
60
|
*
|
|
64
61
|
* @example
|
|
65
62
|
* 0
|
|
@@ -67,16 +64,12 @@ export class DescribeInstanceListRequest extends $dara.Model {
|
|
|
67
64
|
instanceType?: string;
|
|
68
65
|
/**
|
|
69
66
|
* @remarks
|
|
70
|
-
* The
|
|
67
|
+
* The mitigation plan types of the Anti-DDoS Origin instances to query.
|
|
71
68
|
*/
|
|
72
69
|
instanceTypeList?: string[];
|
|
73
70
|
/**
|
|
74
71
|
* @remarks
|
|
75
|
-
* The
|
|
76
|
-
*
|
|
77
|
-
* - **desc**: the descending order. This is the default value.
|
|
78
|
-
*
|
|
79
|
-
* - **asc**: the ascending order.
|
|
72
|
+
* The IP address of the protected object for the Anti-DDoS Origin instance to query.
|
|
80
73
|
*
|
|
81
74
|
* @example
|
|
82
75
|
* 47.89.XX.XX
|
|
@@ -84,7 +77,10 @@ export class DescribeInstanceListRequest extends $dara.Model {
|
|
|
84
77
|
ip?: string;
|
|
85
78
|
/**
|
|
86
79
|
* @remarks
|
|
87
|
-
* The
|
|
80
|
+
* The protocol type of the IP assets protected by the Anti-DDoS Origin instance to query. Valid values:
|
|
81
|
+
*
|
|
82
|
+
* - **IPv4**: IPv4 protocol.
|
|
83
|
+
* - **IPv6**: IPv6 protocol.
|
|
88
84
|
*
|
|
89
85
|
* @example
|
|
90
86
|
* IPv4
|
|
@@ -92,9 +88,9 @@ export class DescribeInstanceListRequest extends $dara.Model {
|
|
|
92
88
|
ipVersion?: string;
|
|
93
89
|
/**
|
|
94
90
|
* @remarks
|
|
95
|
-
* The
|
|
91
|
+
* The field used to sort the Anti-DDoS Origin instance list. The value is fixed as **expireTime**, which indicates that instances are sorted by expiration time.
|
|
96
92
|
*
|
|
97
|
-
*
|
|
93
|
+
* You can use the **Orderdire** parameter to specify the sort order.
|
|
98
94
|
*
|
|
99
95
|
* @example
|
|
100
96
|
* expireTime
|
|
@@ -102,7 +98,10 @@ export class DescribeInstanceListRequest extends $dara.Model {
|
|
|
102
98
|
orderby?: string;
|
|
103
99
|
/**
|
|
104
100
|
* @remarks
|
|
105
|
-
* The
|
|
101
|
+
* The sort order. Valid values:
|
|
102
|
+
*
|
|
103
|
+
* - **desc** (default): descending order by expiration time.
|
|
104
|
+
* - **asc**: ascending order by expiration time.
|
|
106
105
|
*
|
|
107
106
|
* @example
|
|
108
107
|
* desc
|
|
@@ -110,11 +109,7 @@ export class DescribeInstanceListRequest extends $dara.Model {
|
|
|
110
109
|
orderdire?: string;
|
|
111
110
|
/**
|
|
112
111
|
* @remarks
|
|
113
|
-
* The
|
|
114
|
-
*
|
|
115
|
-
* - **Ipv4**: IPv4
|
|
116
|
-
*
|
|
117
|
-
* - **Ipv6**: IPv6
|
|
112
|
+
* The number of the page to return when paging is used.
|
|
118
113
|
*
|
|
119
114
|
* This parameter is required.
|
|
120
115
|
*
|
|
@@ -124,11 +119,7 @@ export class DescribeInstanceListRequest extends $dara.Model {
|
|
|
124
119
|
pageNo?: number;
|
|
125
120
|
/**
|
|
126
121
|
* @remarks
|
|
127
|
-
* The
|
|
128
|
-
*
|
|
129
|
-
* - **0**: the Professional mitigation plan
|
|
130
|
-
*
|
|
131
|
-
* - **1**: the Enterprise mitigation plan
|
|
122
|
+
* The number of instances on each page when paging is used.
|
|
132
123
|
*
|
|
133
124
|
* This parameter is required.
|
|
134
125
|
*
|
|
@@ -138,7 +129,9 @@ export class DescribeInstanceListRequest extends $dara.Model {
|
|
|
138
129
|
pageSize?: number;
|
|
139
130
|
/**
|
|
140
131
|
* @remarks
|
|
141
|
-
* The
|
|
132
|
+
* The region ID of the Anti-DDoS Origin instance to query.
|
|
133
|
+
*
|
|
134
|
+
* > You can call [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) to query all region IDs supported by Anti-DDoS Origin.
|
|
142
135
|
*
|
|
143
136
|
* @example
|
|
144
137
|
* cn-hangzhou
|
|
@@ -146,7 +139,7 @@ export class DescribeInstanceListRequest extends $dara.Model {
|
|
|
146
139
|
regionId?: string;
|
|
147
140
|
/**
|
|
148
141
|
* @remarks
|
|
149
|
-
* The
|
|
142
|
+
* The remark of the Anti-DDoS Origin instance to query. Fuzzy match is supported.
|
|
150
143
|
*
|
|
151
144
|
* @example
|
|
152
145
|
* test
|
|
@@ -154,7 +147,9 @@ export class DescribeInstanceListRequest extends $dara.Model {
|
|
|
154
147
|
remark?: string;
|
|
155
148
|
/**
|
|
156
149
|
* @remarks
|
|
157
|
-
* The
|
|
150
|
+
* The ID of the resource group to which the Anti-DDoS Origin instance belongs in Resource Management.
|
|
151
|
+
*
|
|
152
|
+
* If you do not specify this parameter, the instance belongs to the default resource group.
|
|
158
153
|
*
|
|
159
154
|
* @example
|
|
160
155
|
* rg-acfm2pz25js****
|
|
@@ -162,7 +157,7 @@ export class DescribeInstanceListRequest extends $dara.Model {
|
|
|
162
157
|
resourceGroupId?: string;
|
|
163
158
|
/**
|
|
164
159
|
* @remarks
|
|
165
|
-
* The
|
|
160
|
+
* The tags bound to the Anti-DDoS Origin instance to query.
|
|
166
161
|
*/
|
|
167
162
|
tag?: DescribeInstanceListRequestTag[];
|
|
168
163
|
static names(): { [key: string]: string } {
|