@alicloud/ddosbgp20180720 3.1.0 → 3.1.2
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 +18 -14
- package/dist/client.js +18 -18
- package/dist/client.js.map +1 -1
- package/dist/models/AttachToPolicyRequest.d.ts +3 -2
- package/dist/models/AttachToPolicyRequest.js.map +1 -1
- package/dist/models/AttachToPolicyResponseBody.d.ts +1 -1
- package/dist/models/AttachToPolicyShrinkRequest.d.ts +2 -2
- 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 +30 -33
- package/dist/models/DescribeInstanceListRequest.js.map +1 -1
- package/dist/models/DescribeInstanceListResponseBody.d.ts +51 -50
- 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/dist/models/ListPolicyRequest.d.ts +17 -2
- package/dist/models/ListPolicyRequest.js.map +1 -1
- package/dist/models/ListPolicyResponseBody.d.ts +133 -27
- package/dist/models/ListPolicyResponseBody.js +8 -0
- package/dist/models/ListPolicyResponseBody.js.map +1 -1
- package/dist/models/ModifyPolicyContentRequest.d.ts +112 -26
- package/dist/models/ModifyPolicyContentRequest.js +8 -0
- package/dist/models/ModifyPolicyContentRequest.js.map +1 -1
- package/dist/models/ModifyPolicyContentShrinkRequest.d.ts +4 -0
- package/dist/models/ModifyPolicyContentShrinkRequest.js.map +1 -1
- package/dist/models/ModifyPolicyRequest.d.ts +155 -32
- package/dist/models/ModifyPolicyRequest.js +8 -0
- package/dist/models/ModifyPolicyRequest.js.map +1 -1
- package/dist/models/ModifyPolicyShrinkRequest.d.ts +29 -2
- package/dist/models/ModifyPolicyShrinkRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +18 -18
- package/src/models/AttachToPolicyRequest.ts +3 -2
- package/src/models/AttachToPolicyResponseBody.ts +1 -1
- package/src/models/AttachToPolicyShrinkRequest.ts +2 -2
- package/src/models/CheckAccessLogAuthRequest.ts +2 -2
- package/src/models/CheckAccessLogAuthResponseBody.ts +4 -5
- package/src/models/DescribeInstanceListRequest.ts +30 -33
- package/src/models/DescribeInstanceListResponseBody.ts +53 -50
- 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
- package/src/models/ListPolicyRequest.ts +17 -2
- package/src/models/ListPolicyResponseBody.ts +141 -27
- package/src/models/ModifyPolicyContentRequest.ts +120 -26
- package/src/models/ModifyPolicyContentShrinkRequest.ts +4 -0
- package/src/models/ModifyPolicyRequest.ts +163 -32
- package/src/models/ModifyPolicyShrinkRequest.ts +29 -2
package/src/client.ts
CHANGED
|
@@ -33,10 +33,6 @@ 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
|
-
'cn-hongkong': "ddosbgp.cn-hongkong.aliyuncs.com",
|
|
39
|
-
'ap-southeast-1': "ddosbgp.ap-southeast-1.aliyuncs.com",
|
|
40
36
|
};
|
|
41
37
|
this.checkConfig(config);
|
|
42
38
|
this._endpoint = this.getEndpoint("ddosbgp", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -220,10 +216,10 @@ export default class Client extends OpenApi {
|
|
|
220
216
|
}
|
|
221
217
|
|
|
222
218
|
/**
|
|
223
|
-
* Associates protection objects with
|
|
219
|
+
* Associates protection objects with mitigation policies.
|
|
224
220
|
*
|
|
225
221
|
* @remarks
|
|
226
|
-
*
|
|
222
|
+
* Mitigation policies that are associated with protection objects cannot be deleted.
|
|
227
223
|
*
|
|
228
224
|
* @param tmpReq - AttachToPolicyRequest
|
|
229
225
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -268,10 +264,10 @@ export default class Client extends OpenApi {
|
|
|
268
264
|
}
|
|
269
265
|
|
|
270
266
|
/**
|
|
271
|
-
* Associates protection objects with
|
|
267
|
+
* Associates protection objects with mitigation policies.
|
|
272
268
|
*
|
|
273
269
|
* @remarks
|
|
274
|
-
*
|
|
270
|
+
* Mitigation policies that are associated with protection objects cannot be deleted.
|
|
275
271
|
*
|
|
276
272
|
* @param request - AttachToPolicyRequest
|
|
277
273
|
* @returns AttachToPolicyResponse
|
|
@@ -964,10 +960,12 @@ export default class Client extends OpenApi {
|
|
|
964
960
|
}
|
|
965
961
|
|
|
966
962
|
/**
|
|
967
|
-
*
|
|
963
|
+
* Queries the details of Anti-DDoS Origin instances.
|
|
968
964
|
*
|
|
969
965
|
* @remarks
|
|
970
|
-
*
|
|
966
|
+
* 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.
|
|
967
|
+
* ### QPS limit
|
|
968
|
+
* The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API call is throttled, which may affect your business. Invoke this operation as needed.
|
|
971
969
|
*
|
|
972
970
|
* @param request - DescribeInstanceListRequest
|
|
973
971
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1046,10 +1044,12 @@ export default class Client extends OpenApi {
|
|
|
1046
1044
|
}
|
|
1047
1045
|
|
|
1048
1046
|
/**
|
|
1049
|
-
*
|
|
1047
|
+
* Queries the details of Anti-DDoS Origin instances.
|
|
1050
1048
|
*
|
|
1051
1049
|
* @remarks
|
|
1052
|
-
*
|
|
1050
|
+
* 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.
|
|
1051
|
+
* ### QPS limit
|
|
1052
|
+
* The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API call is throttled, which may affect your business. Invoke this operation as needed.
|
|
1053
1053
|
*
|
|
1054
1054
|
* @param request - DescribeInstanceListRequest
|
|
1055
1055
|
* @returns DescribeInstanceListResponse
|
|
@@ -1695,7 +1695,7 @@ export default class Client extends OpenApi {
|
|
|
1695
1695
|
}
|
|
1696
1696
|
|
|
1697
1697
|
/**
|
|
1698
|
-
* Queries
|
|
1698
|
+
* Queries the activation status of Simple Log Service for the current Alibaba Cloud account.
|
|
1699
1699
|
*
|
|
1700
1700
|
* @param request - GetSlsOpenStatusRequest
|
|
1701
1701
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1730,7 +1730,7 @@ export default class Client extends OpenApi {
|
|
|
1730
1730
|
}
|
|
1731
1731
|
|
|
1732
1732
|
/**
|
|
1733
|
-
* Queries
|
|
1733
|
+
* Queries the activation status of Simple Log Service for the current Alibaba Cloud account.
|
|
1734
1734
|
*
|
|
1735
1735
|
* @param request - GetSlsOpenStatusRequest
|
|
1736
1736
|
* @returns GetSlsOpenStatusResponse
|
|
@@ -1741,7 +1741,7 @@ export default class Client extends OpenApi {
|
|
|
1741
1741
|
}
|
|
1742
1742
|
|
|
1743
1743
|
/**
|
|
1744
|
-
* Queries
|
|
1744
|
+
* Queries Anti-DDoS Origin instances that have log analysis enabled.
|
|
1745
1745
|
*
|
|
1746
1746
|
* @param request - ListOpenedAccessLogInstancesRequest
|
|
1747
1747
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1780,7 +1780,7 @@ export default class Client extends OpenApi {
|
|
|
1780
1780
|
}
|
|
1781
1781
|
|
|
1782
1782
|
/**
|
|
1783
|
-
* Queries
|
|
1783
|
+
* Queries Anti-DDoS Origin instances that have log analysis enabled.
|
|
1784
1784
|
*
|
|
1785
1785
|
* @param request - ListOpenedAccessLogInstancesRequest
|
|
1786
1786
|
* @returns ListOpenedAccessLogInstancesResponse
|
|
@@ -2120,7 +2120,7 @@ export default class Client extends OpenApi {
|
|
|
2120
2120
|
* Modifies the content of a mitigation policy.
|
|
2121
2121
|
*
|
|
2122
2122
|
* @remarks
|
|
2123
|
-
*
|
|
2123
|
+
* Ensure that all parameters are specified when you call this operation. If a parameter is not specified, the corresponding configuration is deleted.
|
|
2124
2124
|
*
|
|
2125
2125
|
* @param tmpReq - ModifyPolicyContentRequest
|
|
2126
2126
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2172,7 +2172,7 @@ export default class Client extends OpenApi {
|
|
|
2172
2172
|
* Modifies the content of a mitigation policy.
|
|
2173
2173
|
*
|
|
2174
2174
|
* @remarks
|
|
2175
|
-
*
|
|
2175
|
+
* Ensure that all parameters are specified when you call this operation. If a parameter is not specified, the corresponding configuration is deleted.
|
|
2176
2176
|
*
|
|
2177
2177
|
* @param request - ModifyPolicyContentRequest
|
|
2178
2178
|
* @returns ModifyPolicyContentResponse
|
|
@@ -6,6 +6,7 @@ export class AttachToPolicyRequestIpPortProtocolList extends $dara.Model {
|
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
8
|
* The IP address of the protection object.
|
|
9
|
+
* > Prerequisite: The IP address must be added to the Anti-DDoS Origin instance by calling the AddIp operation in advance, and you must call the DescribeInstanceList operation to verify that the IP address has been added to the Anti-DDoS Origin instance.
|
|
9
10
|
*
|
|
10
11
|
* This parameter is required.
|
|
11
12
|
*
|
|
@@ -92,8 +93,8 @@ export class AttachToPolicyRequest extends $dara.Model {
|
|
|
92
93
|
* @remarks
|
|
93
94
|
* The version of the port-specific mitigation policy. Valid values:
|
|
94
95
|
*
|
|
95
|
-
* - **Not specified**: Associates the default surf
|
|
96
|
-
* - **2**: Associates the new stream
|
|
96
|
+
* - **Not specified**: Associates the default surf mitigation engine policy.
|
|
97
|
+
* - **2**: Associates the new stream mitigation engine policy.
|
|
97
98
|
* > Only port-specific mitigation policies support this parameter.
|
|
98
99
|
*
|
|
99
100
|
* @example
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class AttachToPolicyResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The request ID. Alibaba Cloud generates a unique identifier for each request
|
|
8
|
+
* The request ID. Alibaba Cloud generates a unique identifier for each request, which can be used for troubleshooting and diagnostics.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* DC245DEE-9800-5579-BF99-189D6A5****
|
|
@@ -24,8 +24,8 @@ export class AttachToPolicyShrinkRequest extends $dara.Model {
|
|
|
24
24
|
* @remarks
|
|
25
25
|
* The version of the port-specific mitigation policy. Valid values:
|
|
26
26
|
*
|
|
27
|
-
* - **Not specified**: Associates the default surf
|
|
28
|
-
* - **2**: Associates the new stream
|
|
27
|
+
* - **Not specified**: Associates the default surf mitigation engine policy.
|
|
28
|
+
* - **2**: Associates the new stream mitigation engine policy.
|
|
29
29
|
* > Only port-specific mitigation policies support this parameter.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
@@ -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 protected IP address of 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 sort field for the Anti-DDoS Origin instance list. The value is fixed as **expireTime**, which indicates sorting by instance 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 page number of the current page in a paging query. Settings the current page number.
|
|
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 in a paging query. Settings the number of instances per page.
|
|
132
123
|
*
|
|
133
124
|
* This parameter is required.
|
|
134
125
|
*
|
|
@@ -138,7 +129,11 @@ 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.
|
|
135
|
+
* >-
|
|
136
|
+
* >Notice: This parameter is required. If it is not specified, the API returns DDosBgp.CheckError.InvalidRegion(400).</notice>
|
|
142
137
|
*
|
|
143
138
|
* @example
|
|
144
139
|
* cn-hangzhou
|
|
@@ -146,7 +141,7 @@ export class DescribeInstanceListRequest extends $dara.Model {
|
|
|
146
141
|
regionId?: string;
|
|
147
142
|
/**
|
|
148
143
|
* @remarks
|
|
149
|
-
* The
|
|
144
|
+
* The remark of the Anti-DDoS Origin instance to query. Fuzzy match is supported.
|
|
150
145
|
*
|
|
151
146
|
* @example
|
|
152
147
|
* test
|
|
@@ -154,7 +149,9 @@ export class DescribeInstanceListRequest extends $dara.Model {
|
|
|
154
149
|
remark?: string;
|
|
155
150
|
/**
|
|
156
151
|
* @remarks
|
|
157
|
-
* The
|
|
152
|
+
* The ID of the resource group to which the Anti-DDoS Origin instance belongs in Resource Management.
|
|
153
|
+
*
|
|
154
|
+
* If you do not specify this parameter, the default resource group is used.
|
|
158
155
|
*
|
|
159
156
|
* @example
|
|
160
157
|
* rg-acfm2pz25js****
|
|
@@ -162,7 +159,7 @@ export class DescribeInstanceListRequest extends $dara.Model {
|
|
|
162
159
|
resourceGroupId?: string;
|
|
163
160
|
/**
|
|
164
161
|
* @remarks
|
|
165
|
-
* The
|
|
162
|
+
* The tags bound to the Anti-DDoS Origin instances to query.
|
|
166
163
|
*/
|
|
167
164
|
tag?: DescribeInstanceListRequestTag[];
|
|
168
165
|
static names(): { [key: string]: string } {
|
|
@@ -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 IP addresses that are in blackhole filtering status among the assets that are assigned public IP addresses protected by the instance.
|
|
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 globally.
|
|
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 globally.
|
|
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 UNIX 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 UNIX 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,7 +131,10 @@ 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
|
|
@@ -148,21 +142,28 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
|
|
|
148
142
|
ipType?: string;
|
|
149
143
|
/**
|
|
150
144
|
* @remarks
|
|
151
|
-
* The
|
|
145
|
+
* The full logs property.
|
|
152
146
|
*
|
|
153
147
|
* @example
|
|
154
|
-
*
|
|
148
|
+
* {\\"mitigationAnalysis\\":\\"on\\",\\"mitigationAnalysisCapacity\\":1,\\"ttl\\":180}
|
|
155
149
|
*/
|
|
156
|
-
|
|
150
|
+
logExt?: string;
|
|
157
151
|
/**
|
|
158
152
|
* @remarks
|
|
159
|
-
* The type of the cloud service
|
|
153
|
+
* 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.
|
|
160
154
|
*
|
|
161
155
|
* Valid values:
|
|
162
156
|
*
|
|
163
|
-
* - **gamebox**: The Anti-DDoS Origin instance is created by
|
|
157
|
+
* - **gamebox**: The Anti-DDoS Origin instance is created by Game Security Box.
|
|
158
|
+
* - **eip**: The Anti-DDoS Origin instance is created by an EIP with Anti-DDoS (Enhanced) enabled.
|
|
164
159
|
*
|
|
165
|
-
*
|
|
160
|
+
* @example
|
|
161
|
+
* gamebox
|
|
162
|
+
*/
|
|
163
|
+
product?: string;
|
|
164
|
+
/**
|
|
165
|
+
* @remarks
|
|
166
|
+
* The remark of the instance.
|
|
166
167
|
*
|
|
167
168
|
* @example
|
|
168
169
|
* test
|
|
@@ -178,11 +179,11 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
|
|
|
178
179
|
resourceGroupId?: string;
|
|
179
180
|
/**
|
|
180
181
|
* @remarks
|
|
181
|
-
*
|
|
182
|
-
*
|
|
183
|
-
* - **true**
|
|
182
|
+
* The status of the instance. Valid values:
|
|
184
183
|
*
|
|
185
|
-
* - **
|
|
184
|
+
* - **1**: Normal.
|
|
185
|
+
* - **2**: Expired.
|
|
186
|
+
* - **3**: Released.
|
|
186
187
|
*
|
|
187
188
|
* @example
|
|
188
189
|
* 1
|
|
@@ -201,6 +202,7 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
|
|
|
201
202
|
instanceId: 'InstanceId',
|
|
202
203
|
instanceType: 'InstanceType',
|
|
203
204
|
ipType: 'IpType',
|
|
205
|
+
logExt: 'LogExt',
|
|
204
206
|
product: 'Product',
|
|
205
207
|
remark: 'Remark',
|
|
206
208
|
resourceGroupId: 'ResourceGroupId',
|
|
@@ -221,6 +223,7 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
|
|
|
221
223
|
instanceId: 'string',
|
|
222
224
|
instanceType: 'string',
|
|
223
225
|
ipType: 'string',
|
|
226
|
+
logExt: 'string',
|
|
224
227
|
product: 'string',
|
|
225
228
|
remark: 'string',
|
|
226
229
|
resourceGroupId: 'string',
|
|
@@ -243,12 +246,12 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
|
|
|
243
246
|
export class DescribeInstanceListResponseBody extends $dara.Model {
|
|
244
247
|
/**
|
|
245
248
|
* @remarks
|
|
246
|
-
* The details
|
|
249
|
+
* The details of the Anti-DDoS Origin instances.
|
|
247
250
|
*/
|
|
248
251
|
instanceList?: DescribeInstanceListResponseBodyInstanceList[];
|
|
249
252
|
/**
|
|
250
253
|
* @remarks
|
|
251
|
-
* The
|
|
254
|
+
* The ID of the request.
|
|
252
255
|
*
|
|
253
256
|
* @example
|
|
254
257
|
* 381D5D33-BB8F-395F-8EE4-AE3BB4B523C4
|
|
@@ -256,7 +259,7 @@ export class DescribeInstanceListResponseBody extends $dara.Model {
|
|
|
256
259
|
requestId?: string;
|
|
257
260
|
/**
|
|
258
261
|
* @remarks
|
|
259
|
-
* The
|
|
262
|
+
* The total number of Anti-DDoS Origin instances returned.
|
|
260
263
|
*
|
|
261
264
|
* @example
|
|
262
265
|
* 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
|
*
|