@alicloud/ddosbgp20180720 2.6.2 → 2.6.4
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 +191 -74
- package/dist/client.js +58 -7
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +230 -74
package/dist/client.d.ts
CHANGED
|
@@ -6,9 +6,9 @@ import * as $tea from '@alicloud/tea-typescript';
|
|
|
6
6
|
export declare class AddIpRequest extends $tea.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* The ID of the Anti-DDoS Origin
|
|
9
|
+
* The ID of the Anti-DDoS Origin instance.
|
|
10
10
|
*
|
|
11
|
-
* > You can call the [DescribeInstanceList](https://help.aliyun.com/document_detail/118698.html) operation to query the IDs of all Anti-DDoS Origin
|
|
11
|
+
* > You can call the [DescribeInstanceList](https://help.aliyun.com/document_detail/118698.html) operation to query the IDs of all Anti-DDoS Origin instances.
|
|
12
12
|
*
|
|
13
13
|
* This parameter is required.
|
|
14
14
|
*
|
|
@@ -18,7 +18,7 @@ export declare class AddIpRequest extends $tea.Model {
|
|
|
18
18
|
instanceId?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The
|
|
21
|
+
* The IP addresses that you want to add to the Anti-DDoS Origin instance. This parameter is a string that consists of JSON arrays. Each element in a JSON array is a JSON struct that includes the following field:
|
|
22
22
|
*
|
|
23
23
|
* * **ip**: required. The IP address that you want to add. Data type: string.
|
|
24
24
|
*
|
|
@@ -34,7 +34,7 @@ export declare class AddIpRequest extends $tea.Model {
|
|
|
34
34
|
ipList?: string;
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
|
-
* The
|
|
37
|
+
* The ID of the region where the Anti-DDoS Origin instance resides.
|
|
38
38
|
*
|
|
39
39
|
* > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) operation to query the most recent region list.
|
|
40
40
|
*
|
|
@@ -44,9 +44,9 @@ export declare class AddIpRequest extends $tea.Model {
|
|
|
44
44
|
regionId?: string;
|
|
45
45
|
/**
|
|
46
46
|
* @remarks
|
|
47
|
-
* The ID of the resource group to which the Anti-DDoS Origin
|
|
47
|
+
* The ID of the resource group to which the Anti-DDoS Origin instance belongs in Resource Management. This parameter is empty by default, which indicates that the Anti-DDoS Origin instance belongs to the default resource group.
|
|
48
48
|
*
|
|
49
|
-
* For
|
|
49
|
+
* For information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
|
|
50
50
|
*
|
|
51
51
|
* @example
|
|
52
52
|
* rg-acfm2pz25js****
|
|
@@ -1077,9 +1077,9 @@ export declare class DeleteBlackholeResponse extends $tea.Model {
|
|
|
1077
1077
|
export declare class DeleteIpRequest extends $tea.Model {
|
|
1078
1078
|
/**
|
|
1079
1079
|
* @remarks
|
|
1080
|
-
* The ID of the Anti-DDoS Origin
|
|
1080
|
+
* The ID of the Anti-DDoS Origin instance.
|
|
1081
1081
|
*
|
|
1082
|
-
* > You can call the [DescribeInstanceList](https://help.aliyun.com/document_detail/118698.html) operation to query the IDs of all Anti-DDoS Origin
|
|
1082
|
+
* > You can call the [DescribeInstanceList](https://help.aliyun.com/document_detail/118698.html) operation to query the IDs of all Anti-DDoS Origin instances.
|
|
1083
1083
|
*
|
|
1084
1084
|
* This parameter is required.
|
|
1085
1085
|
*
|
|
@@ -1089,13 +1089,13 @@ export declare class DeleteIpRequest extends $tea.Model {
|
|
|
1089
1089
|
instanceId?: string;
|
|
1090
1090
|
/**
|
|
1091
1091
|
* @remarks
|
|
1092
|
-
* The
|
|
1092
|
+
* The IP addresses that you want to remove from the Anti-DDoS Origin instance. This parameter is a string that consists of JSON arrays. Each element in a JSON array is a JSON struct that contains the following fields:
|
|
1093
1093
|
*
|
|
1094
1094
|
* * **ip**: required. The IP address that you want to remove. Data type: string.
|
|
1095
1095
|
*
|
|
1096
1096
|
* **
|
|
1097
1097
|
*
|
|
1098
|
-
* **Note** The IP addresses that you want to remove must be protected by the Anti-DDoS Origin
|
|
1098
|
+
* **Note** The IP addresses that you want to remove must be protected by the Anti-DDoS Origin instance.
|
|
1099
1099
|
*
|
|
1100
1100
|
* This parameter is required.
|
|
1101
1101
|
*
|
|
@@ -1105,7 +1105,7 @@ export declare class DeleteIpRequest extends $tea.Model {
|
|
|
1105
1105
|
ipList?: string;
|
|
1106
1106
|
/**
|
|
1107
1107
|
* @remarks
|
|
1108
|
-
* The
|
|
1108
|
+
* The ID of the region where the Anti-DDoS Origin instance resides.
|
|
1109
1109
|
*
|
|
1110
1110
|
* > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) operation to query the most recent region list.
|
|
1111
1111
|
*
|
|
@@ -1115,9 +1115,9 @@ export declare class DeleteIpRequest extends $tea.Model {
|
|
|
1115
1115
|
regionId?: string;
|
|
1116
1116
|
/**
|
|
1117
1117
|
* @remarks
|
|
1118
|
-
* The ID of the resource group to which the Anti-DDoS Origin
|
|
1118
|
+
* The ID of the resource group to which the Anti-DDoS Origin instance belongs in Resource Management. This parameter is empty by default, which indicates that the Anti-DDoS Origin instance belongs to the default resource group.
|
|
1119
1119
|
*
|
|
1120
|
-
* For
|
|
1120
|
+
* For information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
|
|
1121
1121
|
*
|
|
1122
1122
|
* @example
|
|
1123
1123
|
* rg-acfm2pz25js****
|
|
@@ -1780,6 +1780,16 @@ export declare class DescribeDdosOriginInstanceBillRequest extends $tea.Model {
|
|
|
1780
1780
|
});
|
|
1781
1781
|
}
|
|
1782
1782
|
export declare class DescribeDdosOriginInstanceBillResponseBody extends $tea.Model {
|
|
1783
|
+
/**
|
|
1784
|
+
* @remarks
|
|
1785
|
+
* The asset status.
|
|
1786
|
+
*
|
|
1787
|
+
* * **0**: No asset is added to the instance for protection.
|
|
1788
|
+
* * **1**: Assets are added to the instance for protection.
|
|
1789
|
+
*
|
|
1790
|
+
* @example
|
|
1791
|
+
* 0
|
|
1792
|
+
*/
|
|
1783
1793
|
assetStatus?: number;
|
|
1784
1794
|
/**
|
|
1785
1795
|
* @remarks
|
|
@@ -1832,15 +1842,16 @@ export declare class DescribeDdosOriginInstanceBillResponseBody extends $tea.Mod
|
|
|
1832
1842
|
* @remarks
|
|
1833
1843
|
* The IP address distribution. The JSON struct contains the following fields:
|
|
1834
1844
|
*
|
|
1835
|
-
* * **eipCnIpCount**: the number of EIPs with Anti-DDoS (Enhanced) enabled in the Chinese mainland
|
|
1836
|
-
* * **eipOvIpCount**: the number of EIPs with Anti-DDoS (Enhanced) enabled outside the Chinese mainland
|
|
1837
|
-
* * **standardAssetsCnIpCount**: the number of IP addresses of regular Alibaba Cloud services in the Chinese mainland
|
|
1838
|
-
* * **standardAssetsOvIpCount**: the number of IP addresses of regular Alibaba Cloud services outside the Chinese mainland
|
|
1845
|
+
* * **eipCnIpCount**: the number of EIPs with Anti-DDoS (Enhanced) enabled in the Chinese mainland.
|
|
1846
|
+
* * **eipOvIpCount**: the number of EIPs with Anti-DDoS (Enhanced) enabled outside the Chinese mainland.
|
|
1847
|
+
* * **standardAssetsCnIpCount**: the number of IP addresses of regular Alibaba Cloud services in the Chinese mainland.
|
|
1848
|
+
* * **standardAssetsOvIpCount**: the number of IP addresses of regular Alibaba Cloud services outside the Chinese mainland.
|
|
1839
1849
|
*
|
|
1840
1850
|
* @example
|
|
1841
1851
|
* {\\"eipCnIpCount\\":6,\\"eipOvIpCount\\":17,\\"standardAssetsCnIpCount\\":2,\\"standardAssetsOvIpCount\\":0}
|
|
1842
1852
|
*/
|
|
1843
1853
|
ipInfo?: string;
|
|
1854
|
+
monthlySummaryList?: DescribeDdosOriginInstanceBillResponseBodyMonthlySummaryList[];
|
|
1844
1855
|
/**
|
|
1845
1856
|
* @remarks
|
|
1846
1857
|
* The request ID.
|
|
@@ -2036,6 +2047,10 @@ export declare class DescribeInstanceListRequest extends $tea.Model {
|
|
|
2036
2047
|
* 0
|
|
2037
2048
|
*/
|
|
2038
2049
|
instanceType?: string;
|
|
2050
|
+
/**
|
|
2051
|
+
* @remarks
|
|
2052
|
+
* The mitigation plan of the Anti-DDoS Origin instance.
|
|
2053
|
+
*/
|
|
2039
2054
|
instanceTypeList?: string[];
|
|
2040
2055
|
/**
|
|
2041
2056
|
* @remarks
|
|
@@ -2125,6 +2140,10 @@ export declare class DescribeInstanceListRequest extends $tea.Model {
|
|
|
2125
2140
|
* rg-acfm2pz25js****
|
|
2126
2141
|
*/
|
|
2127
2142
|
resourceGroupId?: string;
|
|
2143
|
+
/**
|
|
2144
|
+
* @remarks
|
|
2145
|
+
* The tags that are added to the Anti-DDoS Origin instance.
|
|
2146
|
+
*/
|
|
2128
2147
|
tag?: DescribeInstanceListRequestTag[];
|
|
2129
2148
|
static names(): {
|
|
2130
2149
|
[key: string]: string;
|
|
@@ -2187,9 +2206,9 @@ export declare class DescribeInstanceListResponse extends $tea.Model {
|
|
|
2187
2206
|
export declare class DescribeInstanceSpecsRequest extends $tea.Model {
|
|
2188
2207
|
/**
|
|
2189
2208
|
* @remarks
|
|
2190
|
-
* The ID of the Anti-DDoS Origin
|
|
2209
|
+
* The ID of the Anti-DDoS Origin instance. This parameter is a string that consists of JSON arrays. Each element in a JSON array indicates an instance ID. If you want to query more than one instance, separate instance IDs with commas (,).
|
|
2191
2210
|
*
|
|
2192
|
-
* > You can call the [DescribeInstanceList](https://help.aliyun.com/document_detail/118698.html) operation to query the IDs of all Anti-DDoS Origin
|
|
2211
|
+
* > You can call the [DescribeInstanceList](https://help.aliyun.com/document_detail/118698.html) operation to query the IDs of all Anti-DDoS Origin instances in a specific region.
|
|
2193
2212
|
*
|
|
2194
2213
|
* This parameter is required.
|
|
2195
2214
|
*
|
|
@@ -2199,9 +2218,9 @@ export declare class DescribeInstanceSpecsRequest extends $tea.Model {
|
|
|
2199
2218
|
instanceIdList?: string;
|
|
2200
2219
|
/**
|
|
2201
2220
|
* @remarks
|
|
2202
|
-
* The region ID of the Anti-DDoS Origin
|
|
2221
|
+
* The region ID of the Anti-DDoS Origin instance. Default value: **cn-hangzhou**, which indicates the China (Hangzhou) region.
|
|
2203
2222
|
*
|
|
2204
|
-
* > If your instance does not reside in the China (Hangzhou) region, you must
|
|
2223
|
+
* > If your instance does not reside in the China (Hangzhou) region, you must set this parameter to the region ID of your instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) operation to query the regions of assets that can be protected by Anti-DDoS Origin in a specific region.
|
|
2205
2224
|
*
|
|
2206
2225
|
* @example
|
|
2207
2226
|
* cn-hangzhou
|
|
@@ -2209,9 +2228,9 @@ export declare class DescribeInstanceSpecsRequest extends $tea.Model {
|
|
|
2209
2228
|
regionId?: string;
|
|
2210
2229
|
/**
|
|
2211
2230
|
* @remarks
|
|
2212
|
-
* The ID of the resource group to which the Anti-DDoS Origin
|
|
2231
|
+
* The ID of the resource group to which the Anti-DDoS Origin instance belongs in Resource Management. This parameter is empty by default, which indicates that the Anti-DDoS Origin instance belongs to the default resource group.
|
|
2213
2232
|
*
|
|
2214
|
-
* For
|
|
2233
|
+
* For information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
|
|
2215
2234
|
*
|
|
2216
2235
|
* @example
|
|
2217
2236
|
* rg-acfm2pz25js****
|
|
@@ -2230,7 +2249,7 @@ export declare class DescribeInstanceSpecsRequest extends $tea.Model {
|
|
|
2230
2249
|
export declare class DescribeInstanceSpecsResponseBody extends $tea.Model {
|
|
2231
2250
|
/**
|
|
2232
2251
|
* @remarks
|
|
2233
|
-
* The specifications of the Anti-DDoS Origin
|
|
2252
|
+
* The specifications of the Anti-DDoS Origin instance, including whether best-effort protection is enabled, the number of available best-effort protection sessions, and the number of used best-effort protection sessions.
|
|
2234
2253
|
*/
|
|
2235
2254
|
instanceSpecs?: DescribeInstanceSpecsResponseBodyInstanceSpecs[];
|
|
2236
2255
|
/**
|
|
@@ -2510,6 +2529,7 @@ export declare class DescribeOpEntitiesRequest extends $tea.Model {
|
|
|
2510
2529
|
* ddosbgp-cn-n6w1r7nz****
|
|
2511
2530
|
*/
|
|
2512
2531
|
instanceId?: string;
|
|
2532
|
+
opAction?: number;
|
|
2513
2533
|
/**
|
|
2514
2534
|
* @remarks
|
|
2515
2535
|
* The sorting method of operation logs. Set the value to **opdate**, which indicates sorting based on the operation time.
|
|
@@ -2979,9 +2999,9 @@ export declare class DescribeRdStatusResponse extends $tea.Model {
|
|
|
2979
2999
|
export declare class DescribeRegionsRequest extends $tea.Model {
|
|
2980
3000
|
/**
|
|
2981
3001
|
* @remarks
|
|
2982
|
-
* The
|
|
3002
|
+
* The ID of the region. The default value is **cn-hangzhou**. If the default value is used, the regions of cloud assets that can be protected by Anti-DDoS Origin in the China (Hangzhou) region are queried.
|
|
2983
3003
|
*
|
|
2984
|
-
*
|
|
3004
|
+
* If you want to specify another value for **RegionId**, see [Regions and Zones](https://help.aliyun.com/document_detail/40654.html).
|
|
2985
3005
|
*
|
|
2986
3006
|
* @example
|
|
2987
3007
|
* cn-hangzhou
|
|
@@ -2989,9 +3009,9 @@ export declare class DescribeRegionsRequest extends $tea.Model {
|
|
|
2989
3009
|
regionId?: string;
|
|
2990
3010
|
/**
|
|
2991
3011
|
* @remarks
|
|
2992
|
-
* The ID of the resource group to which the Anti-DDoS Origin instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.
|
|
3012
|
+
* The ID of the resource group to which the Anti-DDoS Origin instance belongs in Resource Management. This parameter is empty by default, which indicates that the Anti-DDoS Origin instance belongs to the default resource group.
|
|
2993
3013
|
*
|
|
2994
|
-
* For
|
|
3014
|
+
* For information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
|
|
2995
3015
|
*
|
|
2996
3016
|
* @example
|
|
2997
3017
|
* rg-acfm2pz25js****
|
|
@@ -3018,12 +3038,12 @@ export declare class DescribeRegionsResponseBody extends $tea.Model {
|
|
|
3018
3038
|
code?: string;
|
|
3019
3039
|
/**
|
|
3020
3040
|
* @remarks
|
|
3021
|
-
* The information about regions of
|
|
3041
|
+
* The information about the regions of cloud assets that can be protected by Anti-DDoS Origin. The information includes region IDs and names.
|
|
3022
3042
|
*/
|
|
3023
3043
|
regions?: DescribeRegionsResponseBodyRegions[];
|
|
3024
3044
|
/**
|
|
3025
3045
|
* @remarks
|
|
3026
|
-
* The ID
|
|
3046
|
+
* The request ID.
|
|
3027
3047
|
*
|
|
3028
3048
|
* @example
|
|
3029
3049
|
* F7CA8B4E-FB15-4336-A351-8DC29D66EA82
|
|
@@ -3031,10 +3051,10 @@ export declare class DescribeRegionsResponseBody extends $tea.Model {
|
|
|
3031
3051
|
requestId?: string;
|
|
3032
3052
|
/**
|
|
3033
3053
|
* @remarks
|
|
3034
|
-
* Indicates whether the request
|
|
3054
|
+
* Indicates whether the request was successful. Valid values:
|
|
3035
3055
|
*
|
|
3036
|
-
* * **true
|
|
3037
|
-
* * **false
|
|
3056
|
+
* * **true**
|
|
3057
|
+
* * **false**
|
|
3038
3058
|
*
|
|
3039
3059
|
* @example
|
|
3040
3060
|
* true
|
|
@@ -3607,11 +3627,26 @@ export declare class ListPolicyRequest extends $tea.Model {
|
|
|
3607
3627
|
* 10
|
|
3608
3628
|
*/
|
|
3609
3629
|
pageSize?: number;
|
|
3630
|
+
/**
|
|
3631
|
+
* @remarks
|
|
3632
|
+
* The service type. Valid values:
|
|
3633
|
+
*
|
|
3634
|
+
* * **ecs**: Elastic Compute Service (ECS).
|
|
3635
|
+
* * **slb**: Server Load Balancer (SLB).
|
|
3636
|
+
* * **eip**: Elastic IP Address (EIP).
|
|
3637
|
+
* * **gf-eip**: EIP with Anti-DDoS (Enhanced) enabled.
|
|
3638
|
+
*
|
|
3639
|
+
* > This parameter is available only if Type is set to `default`.
|
|
3640
|
+
*
|
|
3641
|
+
* @example
|
|
3642
|
+
* ecs
|
|
3643
|
+
*/
|
|
3610
3644
|
productType?: string;
|
|
3611
3645
|
/**
|
|
3612
3646
|
* @remarks
|
|
3613
3647
|
* The type of the policy. Valid values:
|
|
3614
3648
|
*
|
|
3649
|
+
* * **default**: the default mitigation policy.
|
|
3615
3650
|
* * **l3**: IP-specific mitigation policies.
|
|
3616
3651
|
* * **l4**: port-specific mitigation policies.
|
|
3617
3652
|
*
|
|
@@ -4098,7 +4133,7 @@ export declare class ModifyPolicyRequest extends $tea.Model {
|
|
|
4098
4133
|
actionType?: number;
|
|
4099
4134
|
/**
|
|
4100
4135
|
* @remarks
|
|
4101
|
-
* The content
|
|
4136
|
+
* The policy content.
|
|
4102
4137
|
*/
|
|
4103
4138
|
content?: ModifyPolicyRequestContent;
|
|
4104
4139
|
/**
|
|
@@ -4165,7 +4200,7 @@ export declare class ModifyPolicyShrinkRequest extends $tea.Model {
|
|
|
4165
4200
|
actionType?: number;
|
|
4166
4201
|
/**
|
|
4167
4202
|
* @remarks
|
|
4168
|
-
* The content
|
|
4203
|
+
* The policy content.
|
|
4169
4204
|
*/
|
|
4170
4205
|
contentShrink?: string;
|
|
4171
4206
|
/**
|
|
@@ -4234,7 +4269,7 @@ export declare class ModifyPolicyResponse extends $tea.Model {
|
|
|
4234
4269
|
export declare class ModifyPolicyContentRequest extends $tea.Model {
|
|
4235
4270
|
/**
|
|
4236
4271
|
* @remarks
|
|
4237
|
-
* The content
|
|
4272
|
+
* The policy content.
|
|
4238
4273
|
*/
|
|
4239
4274
|
content?: ModifyPolicyContentRequestContent;
|
|
4240
4275
|
/**
|
|
@@ -4268,7 +4303,7 @@ export declare class ModifyPolicyContentRequest extends $tea.Model {
|
|
|
4268
4303
|
export declare class ModifyPolicyContentShrinkRequest extends $tea.Model {
|
|
4269
4304
|
/**
|
|
4270
4305
|
* @remarks
|
|
4271
|
-
* The content
|
|
4306
|
+
* The policy content.
|
|
4272
4307
|
*/
|
|
4273
4308
|
contentShrink?: string;
|
|
4274
4309
|
/**
|
|
@@ -5190,9 +5225,9 @@ export declare class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunction
|
|
|
5190
5225
|
* @remarks
|
|
5191
5226
|
* The application scope of the instance. Valid values:
|
|
5192
5227
|
*
|
|
5193
|
-
* * **only_mainland_china**: regions in the Chinese mainland
|
|
5194
|
-
* * **global**: all regions
|
|
5195
|
-
* * **international_and_hmt**: regions outside the Chinese mainland
|
|
5228
|
+
* * **only_mainland_china**: regions in the Chinese mainland.
|
|
5229
|
+
* * **global**: all regions.
|
|
5230
|
+
* * **international_and_hmt**: regions outside the Chinese mainland.
|
|
5196
5231
|
*
|
|
5197
5232
|
* @example
|
|
5198
5233
|
* global
|
|
@@ -5218,11 +5253,11 @@ export declare class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunction
|
|
|
5218
5253
|
* @remarks
|
|
5219
5254
|
* The bill distribution by account. The JSON struct contains the following fields:
|
|
5220
5255
|
*
|
|
5221
|
-
* * **eipCnIpCount**: the number of EIPs with Anti-DDoS (Enhanced) enabled in the Chinese mainland
|
|
5222
|
-
* * **eipOvIpCount**: the number of EIPs with Anti-DDoS (Enhanced) enabled outside the Chinese mainland
|
|
5223
|
-
* * **memberUid**: the owner account
|
|
5224
|
-
* * **standardAssetsCnIpCount**: the number of IP addresses of regular Alibaba Cloud services in the Chinese mainland
|
|
5225
|
-
* * **standardAssetsOvIpCount**: the number of IP addresses of regular Alibaba Cloud services outside the Chinese mainland
|
|
5256
|
+
* * **eipCnIpCount**: the number of EIPs with Anti-DDoS (Enhanced) enabled in the Chinese mainland.
|
|
5257
|
+
* * **eipOvIpCount**: the number of EIPs with Anti-DDoS (Enhanced) enabled outside the Chinese mainland.
|
|
5258
|
+
* * **memberUid**: the owner account.
|
|
5259
|
+
* * **standardAssetsCnIpCount**: the number of IP addresses of regular Alibaba Cloud services in the Chinese mainland.
|
|
5260
|
+
* * **standardAssetsOvIpCount**: the number of IP addresses of regular Alibaba Cloud services outside the Chinese mainland.
|
|
5226
5261
|
*
|
|
5227
5262
|
* > If the memberUid field in the JSON struct is empty, the information about the current account is returned.
|
|
5228
5263
|
*
|
|
@@ -5248,6 +5283,26 @@ export declare class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunction
|
|
|
5248
5283
|
[key: string]: any;
|
|
5249
5284
|
});
|
|
5250
5285
|
}
|
|
5286
|
+
export declare class DescribeDdosOriginInstanceBillResponseBodyMonthlySummaryList extends $tea.Model {
|
|
5287
|
+
enableDays?: number;
|
|
5288
|
+
flowCn?: number;
|
|
5289
|
+
flowIntl?: number;
|
|
5290
|
+
ipCountCn?: number;
|
|
5291
|
+
ipCountIntl?: number;
|
|
5292
|
+
memberUid?: string;
|
|
5293
|
+
standardAssetsFlowCn?: number;
|
|
5294
|
+
standardAssetsFlowIntl?: number;
|
|
5295
|
+
uid?: string;
|
|
5296
|
+
static names(): {
|
|
5297
|
+
[key: string]: string;
|
|
5298
|
+
};
|
|
5299
|
+
static types(): {
|
|
5300
|
+
[key: string]: any;
|
|
5301
|
+
};
|
|
5302
|
+
constructor(map?: {
|
|
5303
|
+
[key: string]: any;
|
|
5304
|
+
});
|
|
5305
|
+
}
|
|
5251
5306
|
export declare class DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList extends $tea.Model {
|
|
5252
5307
|
/**
|
|
5253
5308
|
* @remarks
|
|
@@ -5307,7 +5362,7 @@ export declare class DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlo
|
|
|
5307
5362
|
export declare class DescribeInstanceListRequestTag extends $tea.Model {
|
|
5308
5363
|
/**
|
|
5309
5364
|
* @remarks
|
|
5310
|
-
* The key of the tag that is added to the Anti-DDoS Origin instance
|
|
5365
|
+
* The key of the tag that is added to the Anti-DDoS Origin instance.
|
|
5311
5366
|
*
|
|
5312
5367
|
* @example
|
|
5313
5368
|
* test-key
|
|
@@ -5315,7 +5370,7 @@ export declare class DescribeInstanceListRequestTag extends $tea.Model {
|
|
|
5315
5370
|
key?: string;
|
|
5316
5371
|
/**
|
|
5317
5372
|
* @remarks
|
|
5318
|
-
* The value of the tag that is added to the Anti-DDoS Origin instance
|
|
5373
|
+
* The value of the tag that is added to the Anti-DDoS Origin instance.
|
|
5319
5374
|
*
|
|
5320
5375
|
* @example
|
|
5321
5376
|
* test-value
|
|
@@ -5332,6 +5387,10 @@ export declare class DescribeInstanceListRequestTag extends $tea.Model {
|
|
|
5332
5387
|
});
|
|
5333
5388
|
}
|
|
5334
5389
|
export declare class DescribeInstanceListResponseBodyInstanceListAutoProtectCondition extends $tea.Model {
|
|
5390
|
+
/**
|
|
5391
|
+
* @remarks
|
|
5392
|
+
* The events that trigger automatic association.
|
|
5393
|
+
*/
|
|
5335
5394
|
events?: string[];
|
|
5336
5395
|
static names(): {
|
|
5337
5396
|
[key: string]: string;
|
|
@@ -5374,8 +5433,11 @@ export declare class DescribeInstanceListResponseBodyInstanceList extends $tea.M
|
|
|
5374
5433
|
* @remarks
|
|
5375
5434
|
* The type of the instance.
|
|
5376
5435
|
*
|
|
5377
|
-
* * **ddos_ddosorigin_public_cn**: Anti-DDoS Origin 2.0 (Pay-as-you-go) on the China site (aliyun.com)
|
|
5378
|
-
* * **ddos_ddosorigin_public_intl**: Anti-DDoS Origin 2.0 (Pay-as-you-go) on the International site (alibabacloud.com)
|
|
5436
|
+
* * **ddos_ddosorigin_public_cn**: Anti-DDoS Origin 2.0 (Pay-as-you-go) on the China site (aliyun.com).
|
|
5437
|
+
* * **ddos_ddosorigin_public_intl**: Anti-DDoS Origin 2.0 (Pay-as-you-go) on the International site (alibabacloud.com).
|
|
5438
|
+
*
|
|
5439
|
+
* @example
|
|
5440
|
+
* ddos_ddosorigin_public_cn
|
|
5379
5441
|
*/
|
|
5380
5442
|
commodityType?: string;
|
|
5381
5443
|
/**
|
|
@@ -5386,8 +5448,12 @@ export declare class DescribeInstanceListResponseBodyInstanceList extends $tea.M
|
|
|
5386
5448
|
* * **2**: The instance supports public IP addresses in regions in the Chinese mainland.
|
|
5387
5449
|
* * **3**: The instance supports public IP addresses in regions outside the Chinese mainland.
|
|
5388
5450
|
* * **4**: The instance supports public IP addresses in a region in or outside the Chinese mainland.
|
|
5451
|
+
*
|
|
5452
|
+
* @example
|
|
5453
|
+
* 1
|
|
5389
5454
|
*/
|
|
5390
5455
|
coverageType?: number;
|
|
5456
|
+
debtStatus?: number;
|
|
5391
5457
|
/**
|
|
5392
5458
|
* @remarks
|
|
5393
5459
|
* The time when the instance expires. The value is a UNIX timestamp. Unit: milliseconds.
|
|
@@ -5494,6 +5560,25 @@ export declare class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig ex
|
|
|
5494
5560
|
* 0
|
|
5495
5561
|
*/
|
|
5496
5562
|
bindIpCount?: number;
|
|
5563
|
+
/**
|
|
5564
|
+
* @remarks
|
|
5565
|
+
* The burstable clean bandwidth. Unit: Mbit/s.
|
|
5566
|
+
*
|
|
5567
|
+
* @example
|
|
5568
|
+
* 100
|
|
5569
|
+
*/
|
|
5570
|
+
elasticBwMbps?: number;
|
|
5571
|
+
/**
|
|
5572
|
+
* @remarks
|
|
5573
|
+
* The metering method of burstable clean bandwidth. Valid values:
|
|
5574
|
+
*
|
|
5575
|
+
* * **month**: the monthly 95th percentile metering method.
|
|
5576
|
+
* * **day**: the daily 95th percentile metering method.
|
|
5577
|
+
*
|
|
5578
|
+
* @example
|
|
5579
|
+
* day
|
|
5580
|
+
*/
|
|
5581
|
+
elasticBwMode?: string;
|
|
5497
5582
|
/**
|
|
5498
5583
|
* @remarks
|
|
5499
5584
|
* The burstable protection bandwidth of each protected IP address. Unit: Gbit/s.
|
|
@@ -5528,7 +5613,7 @@ export declare class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig ex
|
|
|
5528
5613
|
normalBandwidth?: number;
|
|
5529
5614
|
/**
|
|
5530
5615
|
* @remarks
|
|
5531
|
-
* The burstable protection bandwidth of the Anti-DDoS Origin
|
|
5616
|
+
* The burstable protection bandwidth of the Anti-DDoS Origin instance. Unit: Gbit/s.
|
|
5532
5617
|
*
|
|
5533
5618
|
* @example
|
|
5534
5619
|
* 300
|
|
@@ -5536,7 +5621,7 @@ export declare class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig ex
|
|
|
5536
5621
|
packAdvThre?: number;
|
|
5537
5622
|
/**
|
|
5538
5623
|
* @remarks
|
|
5539
|
-
* The basic protection bandwidth of the Anti-DDoS Origin
|
|
5624
|
+
* The basic protection bandwidth of the Anti-DDoS Origin instance. Unit: Gbit/s.
|
|
5540
5625
|
*
|
|
5541
5626
|
* @example
|
|
5542
5627
|
* 20
|
|
@@ -5579,7 +5664,17 @@ export declare class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea
|
|
|
5579
5664
|
defenseTimesPercent?: number;
|
|
5580
5665
|
/**
|
|
5581
5666
|
* @remarks
|
|
5582
|
-
*
|
|
5667
|
+
* Indicates whether the instance is downgraded. Valid value:
|
|
5668
|
+
*
|
|
5669
|
+
* * **8**: The instance is downgraded due to excessive bandwidth usage.
|
|
5670
|
+
*
|
|
5671
|
+
* @example
|
|
5672
|
+
* 8
|
|
5673
|
+
*/
|
|
5674
|
+
downgradeStatus?: number;
|
|
5675
|
+
/**
|
|
5676
|
+
* @remarks
|
|
5677
|
+
* The ID of the Anti-DDoS Origin instance.
|
|
5583
5678
|
*
|
|
5584
5679
|
* @example
|
|
5585
5680
|
* ddosbgp-cn-n6w1r7nz****
|
|
@@ -5598,14 +5693,14 @@ export declare class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea
|
|
|
5598
5693
|
isFullDefenseMode?: number;
|
|
5599
5694
|
/**
|
|
5600
5695
|
* @remarks
|
|
5601
|
-
* The configurations of the Anti-DDoS Origin
|
|
5696
|
+
* The configurations of the Anti-DDoS Origin instance, including the number of protected IP addresses and protection bandwidth.
|
|
5602
5697
|
*/
|
|
5603
5698
|
packConfig?: DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig;
|
|
5604
5699
|
/**
|
|
5605
5700
|
* @remarks
|
|
5606
|
-
* The region ID of the Anti-DDoS Origin
|
|
5701
|
+
* The region ID of the Anti-DDoS Origin instance.
|
|
5607
5702
|
*
|
|
5608
|
-
* >
|
|
5703
|
+
* > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) operation to query the name of the region.
|
|
5609
5704
|
*
|
|
5610
5705
|
* @example
|
|
5611
5706
|
* cn-hangzhou
|
|
@@ -6001,7 +6096,7 @@ export declare class DescribeRdMemberListResponseBodyMemberList extends $tea.Mod
|
|
|
6001
6096
|
export declare class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
6002
6097
|
/**
|
|
6003
6098
|
* @remarks
|
|
6004
|
-
* The English name of the region
|
|
6099
|
+
* The English name of the region.
|
|
6005
6100
|
*
|
|
6006
6101
|
* @example
|
|
6007
6102
|
* China (Hangzhou)
|
|
@@ -6017,7 +6112,10 @@ export declare class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
|
6017
6112
|
regionId?: string;
|
|
6018
6113
|
/**
|
|
6019
6114
|
* @remarks
|
|
6020
|
-
* The name of the region
|
|
6115
|
+
* The Chinese name of the region.
|
|
6116
|
+
*
|
|
6117
|
+
* @example
|
|
6118
|
+
* 华东1(杭州)
|
|
6021
6119
|
*/
|
|
6022
6120
|
regionName?: string;
|
|
6023
6121
|
static names(): {
|
|
@@ -6756,11 +6854,19 @@ export declare class ListPolicyResponseBodyPolicyList extends $tea.Model {
|
|
|
6756
6854
|
* test**
|
|
6757
6855
|
*/
|
|
6758
6856
|
name?: string;
|
|
6857
|
+
/**
|
|
6858
|
+
* @remarks
|
|
6859
|
+
* The remarks of the policy.
|
|
6860
|
+
*
|
|
6861
|
+
* @example
|
|
6862
|
+
* test
|
|
6863
|
+
*/
|
|
6759
6864
|
remark?: string;
|
|
6760
6865
|
/**
|
|
6761
6866
|
* @remarks
|
|
6762
6867
|
* The type of the policy. Valid values:
|
|
6763
6868
|
*
|
|
6869
|
+
* * **default**: the default mitigation policy.
|
|
6764
6870
|
* * **l3**: IP-specific mitigation policies.
|
|
6765
6871
|
* * **l4**: port-specific mitigation policies.
|
|
6766
6872
|
*
|
|
@@ -6851,6 +6957,13 @@ export declare class ListPolicyAttachmentResponseBodyAttachmentList extends $tea
|
|
|
6851
6957
|
* test**
|
|
6852
6958
|
*/
|
|
6853
6959
|
policyName?: string;
|
|
6960
|
+
/**
|
|
6961
|
+
* @remarks
|
|
6962
|
+
* The description of the policy.
|
|
6963
|
+
*
|
|
6964
|
+
* @example
|
|
6965
|
+
* test
|
|
6966
|
+
*/
|
|
6854
6967
|
policyRemark?: string;
|
|
6855
6968
|
/**
|
|
6856
6969
|
* @remarks
|
|
@@ -7095,7 +7208,7 @@ export declare class ModifyPolicyRequestContentFingerPrintRuleList extends $tea.
|
|
|
7095
7208
|
payloadBytes?: string;
|
|
7096
7209
|
/**
|
|
7097
7210
|
* @remarks
|
|
7098
|
-
* The type of the protocol. Valid
|
|
7211
|
+
* The type of the protocol. Valid values:
|
|
7099
7212
|
*
|
|
7100
7213
|
* * **tcp**
|
|
7101
7214
|
* * **udp**
|
|
@@ -7320,7 +7433,7 @@ export declare class ModifyPolicyRequestContentPortRuleList extends $tea.Model {
|
|
|
7320
7433
|
id?: string;
|
|
7321
7434
|
/**
|
|
7322
7435
|
* @remarks
|
|
7323
|
-
* The action triggered if the rule is matched. Valid
|
|
7436
|
+
* The action triggered if the rule is matched. Valid values:
|
|
7324
7437
|
*
|
|
7325
7438
|
* * **drop**: The traffic is discarded.
|
|
7326
7439
|
*
|
|
@@ -7420,9 +7533,9 @@ export declare class ModifyPolicyRequestContentSourceBlockList extends $tea.Mode
|
|
|
7420
7533
|
* @remarks
|
|
7421
7534
|
* The type of the source rate limit. Valid values:
|
|
7422
7535
|
*
|
|
7423
|
-
* * **3**: the
|
|
7536
|
+
* * **3**: the pps limit on source IP addresses.
|
|
7424
7537
|
* * **4**: the bandwidth limit on source IP addresses.
|
|
7425
|
-
* * **5**: the
|
|
7538
|
+
* * **5**: the pps limit on source SYN packets.
|
|
7426
7539
|
* * **6**: the bandwidth limit on source SYN packets.
|
|
7427
7540
|
*
|
|
7428
7541
|
* This parameter is required.
|
|
@@ -7452,7 +7565,7 @@ export declare class ModifyPolicyRequestContentSourceLimit extends $tea.Model {
|
|
|
7452
7565
|
bps?: number;
|
|
7453
7566
|
/**
|
|
7454
7567
|
* @remarks
|
|
7455
|
-
* The packets per second (
|
|
7568
|
+
* The packets per second (pps) limit on source IP addresses.
|
|
7456
7569
|
*
|
|
7457
7570
|
* @example
|
|
7458
7571
|
* 64
|
|
@@ -7468,7 +7581,7 @@ export declare class ModifyPolicyRequestContentSourceLimit extends $tea.Model {
|
|
|
7468
7581
|
synBps?: number;
|
|
7469
7582
|
/**
|
|
7470
7583
|
* @remarks
|
|
7471
|
-
* The
|
|
7584
|
+
* The pps limit on source SYN packets.
|
|
7472
7585
|
*
|
|
7473
7586
|
* @example
|
|
7474
7587
|
* 64
|
|
@@ -7901,7 +8014,7 @@ export declare class ModifyPolicyContentRequestContentPortRuleList extends $tea.
|
|
|
7901
8014
|
id?: string;
|
|
7902
8015
|
/**
|
|
7903
8016
|
* @remarks
|
|
7904
|
-
* The action triggered if the rule is matched. Valid
|
|
8017
|
+
* The action triggered if the rule is matched. Valid values:
|
|
7905
8018
|
*
|
|
7906
8019
|
* * **drop**: The traffic is discarded.
|
|
7907
8020
|
*
|
|
@@ -8001,9 +8114,9 @@ export declare class ModifyPolicyContentRequestContentSourceBlockList extends $t
|
|
|
8001
8114
|
* @remarks
|
|
8002
8115
|
* The type of the source rate limit. Valid values:
|
|
8003
8116
|
*
|
|
8004
|
-
* * **3**: the
|
|
8117
|
+
* * **3**: the pps limit on source IP addresses.
|
|
8005
8118
|
* * **4**: the bandwidth limit on source IP addresses.
|
|
8006
|
-
* * **5**: the
|
|
8119
|
+
* * **5**: the pps limit on source SYN packets.
|
|
8007
8120
|
* * **6**: the bandwidth limit on source SYN packets.
|
|
8008
8121
|
*
|
|
8009
8122
|
* This parameter is required.
|
|
@@ -8033,7 +8146,7 @@ export declare class ModifyPolicyContentRequestContentSourceLimit extends $tea.M
|
|
|
8033
8146
|
bps?: number;
|
|
8034
8147
|
/**
|
|
8035
8148
|
* @remarks
|
|
8036
|
-
* The packets per second (
|
|
8149
|
+
* The packets per second (pps) limit on source IP addresses.
|
|
8037
8150
|
*
|
|
8038
8151
|
* @example
|
|
8039
8152
|
* 64
|
|
@@ -8049,7 +8162,7 @@ export declare class ModifyPolicyContentRequestContentSourceLimit extends $tea.M
|
|
|
8049
8162
|
synBps?: number;
|
|
8050
8163
|
/**
|
|
8051
8164
|
* @remarks
|
|
8052
|
-
* The
|
|
8165
|
+
* The pps limit on source SYN packets.
|
|
8053
8166
|
*
|
|
8054
8167
|
* @example
|
|
8055
8168
|
* 64
|
|
@@ -8339,7 +8452,7 @@ export default class Client extends OpenApi {
|
|
|
8339
8452
|
[key: string]: string;
|
|
8340
8453
|
}, endpoint: string): string;
|
|
8341
8454
|
/**
|
|
8342
|
-
* Adds IP addresses to an Anti-DDoS Origin
|
|
8455
|
+
* Adds IP addresses to an Anti-DDoS Origin instance.
|
|
8343
8456
|
*
|
|
8344
8457
|
* @param request - AddIpRequest
|
|
8345
8458
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8347,7 +8460,7 @@ export default class Client extends OpenApi {
|
|
|
8347
8460
|
*/
|
|
8348
8461
|
addIpWithOptions(request: AddIpRequest, runtime: $Util.RuntimeOptions): Promise<AddIpResponse>;
|
|
8349
8462
|
/**
|
|
8350
|
-
* Adds IP addresses to an Anti-DDoS Origin
|
|
8463
|
+
* Adds IP addresses to an Anti-DDoS Origin instance.
|
|
8351
8464
|
*
|
|
8352
8465
|
* @param request - AddIpRequest
|
|
8353
8466
|
* @returns AddIpResponse
|
|
@@ -8517,7 +8630,7 @@ export default class Client extends OpenApi {
|
|
|
8517
8630
|
*/
|
|
8518
8631
|
deleteBlackhole(request: DeleteBlackholeRequest): Promise<DeleteBlackholeResponse>;
|
|
8519
8632
|
/**
|
|
8520
|
-
* Removes specific IP addresses from an Anti-DDoS Origin
|
|
8633
|
+
* Removes specific IP addresses from an Anti-DDoS Origin instance.
|
|
8521
8634
|
*
|
|
8522
8635
|
* @remarks
|
|
8523
8636
|
* The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
|
|
@@ -8528,7 +8641,7 @@ export default class Client extends OpenApi {
|
|
|
8528
8641
|
*/
|
|
8529
8642
|
deleteIpWithOptions(request: DeleteIpRequest, runtime: $Util.RuntimeOptions): Promise<DeleteIpResponse>;
|
|
8530
8643
|
/**
|
|
8531
|
-
* Removes specific IP addresses from an Anti-DDoS Origin
|
|
8644
|
+
* Removes specific IP addresses from an Anti-DDoS Origin instance.
|
|
8532
8645
|
*
|
|
8533
8646
|
* @remarks
|
|
8534
8647
|
* The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
|
|
@@ -8713,12 +8826,16 @@ export default class Client extends OpenApi {
|
|
|
8713
8826
|
*/
|
|
8714
8827
|
describeInstanceList(request: DescribeInstanceListRequest): Promise<DescribeInstanceListResponse>;
|
|
8715
8828
|
/**
|
|
8829
|
+
* Queries the specifications of a specific Anti-DDoS Origin instance.
|
|
8830
|
+
*
|
|
8716
8831
|
* @param request - DescribeInstanceSpecsRequest
|
|
8717
8832
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
8718
8833
|
* @returns DescribeInstanceSpecsResponse
|
|
8719
8834
|
*/
|
|
8720
8835
|
describeInstanceSpecsWithOptions(request: DescribeInstanceSpecsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceSpecsResponse>;
|
|
8721
8836
|
/**
|
|
8837
|
+
* Queries the specifications of a specific Anti-DDoS Origin instance.
|
|
8838
|
+
*
|
|
8722
8839
|
* @param request - DescribeInstanceSpecsRequest
|
|
8723
8840
|
* @returns DescribeInstanceSpecsResponse
|
|
8724
8841
|
*/
|
|
@@ -8842,7 +8959,7 @@ export default class Client extends OpenApi {
|
|
|
8842
8959
|
*/
|
|
8843
8960
|
describeRdStatus(): Promise<DescribeRdStatusResponse>;
|
|
8844
8961
|
/**
|
|
8845
|
-
* Queries the regions of
|
|
8962
|
+
* Queries the regions of assets that can be protected by Anti-DDoS Origin Enterprise in a specific region.
|
|
8846
8963
|
*
|
|
8847
8964
|
* @param request - DescribeRegionsRequest
|
|
8848
8965
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8850,7 +8967,7 @@ export default class Client extends OpenApi {
|
|
|
8850
8967
|
*/
|
|
8851
8968
|
describeRegionsWithOptions(request: DescribeRegionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRegionsResponse>;
|
|
8852
8969
|
/**
|
|
8853
|
-
* Queries the regions of
|
|
8970
|
+
* Queries the regions of assets that can be protected by Anti-DDoS Origin Enterprise in a specific region.
|
|
8854
8971
|
*
|
|
8855
8972
|
* @param request - DescribeRegionsRequest
|
|
8856
8973
|
* @returns DescribeRegionsResponse
|