@alicloud/ddosbgp20180720 2.6.1 → 2.6.3
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 +190 -74
- package/dist/client.js +53 -7
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +223 -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,17 @@ 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
|
+
*/
|
|
1793
|
+
assetStatus?: number;
|
|
1783
1794
|
/**
|
|
1784
1795
|
* @remarks
|
|
1785
1796
|
* The payment status. Valid values:
|
|
@@ -1831,15 +1842,16 @@ export declare class DescribeDdosOriginInstanceBillResponseBody extends $tea.Mod
|
|
|
1831
1842
|
* @remarks
|
|
1832
1843
|
* The IP address distribution. The JSON struct contains the following fields:
|
|
1833
1844
|
*
|
|
1834
|
-
* * **eipCnIpCount**: the number of EIPs with Anti-DDoS (Enhanced) enabled in the Chinese mainland
|
|
1835
|
-
* * **eipOvIpCount**: the number of EIPs with Anti-DDoS (Enhanced) enabled outside the Chinese mainland
|
|
1836
|
-
* * **standardAssetsCnIpCount**: the number of IP addresses of regular Alibaba Cloud services in the Chinese mainland
|
|
1837
|
-
* * **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.
|
|
1838
1849
|
*
|
|
1839
1850
|
* @example
|
|
1840
1851
|
* {\\"eipCnIpCount\\":6,\\"eipOvIpCount\\":17,\\"standardAssetsCnIpCount\\":2,\\"standardAssetsOvIpCount\\":0}
|
|
1841
1852
|
*/
|
|
1842
1853
|
ipInfo?: string;
|
|
1854
|
+
monthlySummaryList?: DescribeDdosOriginInstanceBillResponseBodyMonthlySummaryList[];
|
|
1843
1855
|
/**
|
|
1844
1856
|
* @remarks
|
|
1845
1857
|
* The request ID.
|
|
@@ -2035,6 +2047,10 @@ export declare class DescribeInstanceListRequest extends $tea.Model {
|
|
|
2035
2047
|
* 0
|
|
2036
2048
|
*/
|
|
2037
2049
|
instanceType?: string;
|
|
2050
|
+
/**
|
|
2051
|
+
* @remarks
|
|
2052
|
+
* The mitigation plan of the Anti-DDoS Origin instance.
|
|
2053
|
+
*/
|
|
2038
2054
|
instanceTypeList?: string[];
|
|
2039
2055
|
/**
|
|
2040
2056
|
* @remarks
|
|
@@ -2124,6 +2140,10 @@ export declare class DescribeInstanceListRequest extends $tea.Model {
|
|
|
2124
2140
|
* rg-acfm2pz25js****
|
|
2125
2141
|
*/
|
|
2126
2142
|
resourceGroupId?: string;
|
|
2143
|
+
/**
|
|
2144
|
+
* @remarks
|
|
2145
|
+
* The tags that are added to the Anti-DDoS Origin instance.
|
|
2146
|
+
*/
|
|
2127
2147
|
tag?: DescribeInstanceListRequestTag[];
|
|
2128
2148
|
static names(): {
|
|
2129
2149
|
[key: string]: string;
|
|
@@ -2186,9 +2206,9 @@ export declare class DescribeInstanceListResponse extends $tea.Model {
|
|
|
2186
2206
|
export declare class DescribeInstanceSpecsRequest extends $tea.Model {
|
|
2187
2207
|
/**
|
|
2188
2208
|
* @remarks
|
|
2189
|
-
* 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 (,).
|
|
2190
2210
|
*
|
|
2191
|
-
* > 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.
|
|
2192
2212
|
*
|
|
2193
2213
|
* This parameter is required.
|
|
2194
2214
|
*
|
|
@@ -2198,9 +2218,9 @@ export declare class DescribeInstanceSpecsRequest extends $tea.Model {
|
|
|
2198
2218
|
instanceIdList?: string;
|
|
2199
2219
|
/**
|
|
2200
2220
|
* @remarks
|
|
2201
|
-
* 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.
|
|
2202
2222
|
*
|
|
2203
|
-
* > 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.
|
|
2204
2224
|
*
|
|
2205
2225
|
* @example
|
|
2206
2226
|
* cn-hangzhou
|
|
@@ -2208,9 +2228,9 @@ export declare class DescribeInstanceSpecsRequest extends $tea.Model {
|
|
|
2208
2228
|
regionId?: string;
|
|
2209
2229
|
/**
|
|
2210
2230
|
* @remarks
|
|
2211
|
-
* 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.
|
|
2212
2232
|
*
|
|
2213
|
-
* For
|
|
2233
|
+
* For information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
|
|
2214
2234
|
*
|
|
2215
2235
|
* @example
|
|
2216
2236
|
* rg-acfm2pz25js****
|
|
@@ -2229,7 +2249,7 @@ export declare class DescribeInstanceSpecsRequest extends $tea.Model {
|
|
|
2229
2249
|
export declare class DescribeInstanceSpecsResponseBody extends $tea.Model {
|
|
2230
2250
|
/**
|
|
2231
2251
|
* @remarks
|
|
2232
|
-
* 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.
|
|
2233
2253
|
*/
|
|
2234
2254
|
instanceSpecs?: DescribeInstanceSpecsResponseBodyInstanceSpecs[];
|
|
2235
2255
|
/**
|
|
@@ -2978,9 +2998,9 @@ export declare class DescribeRdStatusResponse extends $tea.Model {
|
|
|
2978
2998
|
export declare class DescribeRegionsRequest extends $tea.Model {
|
|
2979
2999
|
/**
|
|
2980
3000
|
* @remarks
|
|
2981
|
-
* The
|
|
3001
|
+
* 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.
|
|
2982
3002
|
*
|
|
2983
|
-
*
|
|
3003
|
+
* If you want to specify another value for **RegionId**, see [Regions and Zones](https://help.aliyun.com/document_detail/40654.html).
|
|
2984
3004
|
*
|
|
2985
3005
|
* @example
|
|
2986
3006
|
* cn-hangzhou
|
|
@@ -2988,9 +3008,9 @@ export declare class DescribeRegionsRequest extends $tea.Model {
|
|
|
2988
3008
|
regionId?: string;
|
|
2989
3009
|
/**
|
|
2990
3010
|
* @remarks
|
|
2991
|
-
* 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.
|
|
3011
|
+
* 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.
|
|
2992
3012
|
*
|
|
2993
|
-
* For
|
|
3013
|
+
* For information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
|
|
2994
3014
|
*
|
|
2995
3015
|
* @example
|
|
2996
3016
|
* rg-acfm2pz25js****
|
|
@@ -3017,12 +3037,12 @@ export declare class DescribeRegionsResponseBody extends $tea.Model {
|
|
|
3017
3037
|
code?: string;
|
|
3018
3038
|
/**
|
|
3019
3039
|
* @remarks
|
|
3020
|
-
* The information about regions of
|
|
3040
|
+
* The information about the regions of cloud assets that can be protected by Anti-DDoS Origin. The information includes region IDs and names.
|
|
3021
3041
|
*/
|
|
3022
3042
|
regions?: DescribeRegionsResponseBodyRegions[];
|
|
3023
3043
|
/**
|
|
3024
3044
|
* @remarks
|
|
3025
|
-
* The ID
|
|
3045
|
+
* The request ID.
|
|
3026
3046
|
*
|
|
3027
3047
|
* @example
|
|
3028
3048
|
* F7CA8B4E-FB15-4336-A351-8DC29D66EA82
|
|
@@ -3030,10 +3050,10 @@ export declare class DescribeRegionsResponseBody extends $tea.Model {
|
|
|
3030
3050
|
requestId?: string;
|
|
3031
3051
|
/**
|
|
3032
3052
|
* @remarks
|
|
3033
|
-
* Indicates whether the request
|
|
3053
|
+
* Indicates whether the request was successful. Valid values:
|
|
3034
3054
|
*
|
|
3035
|
-
* * **true
|
|
3036
|
-
* * **false
|
|
3055
|
+
* * **true**
|
|
3056
|
+
* * **false**
|
|
3037
3057
|
*
|
|
3038
3058
|
* @example
|
|
3039
3059
|
* true
|
|
@@ -3606,11 +3626,26 @@ export declare class ListPolicyRequest extends $tea.Model {
|
|
|
3606
3626
|
* 10
|
|
3607
3627
|
*/
|
|
3608
3628
|
pageSize?: number;
|
|
3629
|
+
/**
|
|
3630
|
+
* @remarks
|
|
3631
|
+
* The service type. Valid values:
|
|
3632
|
+
*
|
|
3633
|
+
* * **ecs**: Elastic Compute Service (ECS).
|
|
3634
|
+
* * **slb**: Server Load Balancer (SLB).
|
|
3635
|
+
* * **eip**: Elastic IP Address (EIP).
|
|
3636
|
+
* * **gf-eip**: EIP with Anti-DDoS (Enhanced) enabled.
|
|
3637
|
+
*
|
|
3638
|
+
* > This parameter is available only if Type is set to `default`.
|
|
3639
|
+
*
|
|
3640
|
+
* @example
|
|
3641
|
+
* ecs
|
|
3642
|
+
*/
|
|
3609
3643
|
productType?: string;
|
|
3610
3644
|
/**
|
|
3611
3645
|
* @remarks
|
|
3612
3646
|
* The type of the policy. Valid values:
|
|
3613
3647
|
*
|
|
3648
|
+
* * **default**: the default mitigation policy.
|
|
3614
3649
|
* * **l3**: IP-specific mitigation policies.
|
|
3615
3650
|
* * **l4**: port-specific mitigation policies.
|
|
3616
3651
|
*
|
|
@@ -4097,7 +4132,7 @@ export declare class ModifyPolicyRequest extends $tea.Model {
|
|
|
4097
4132
|
actionType?: number;
|
|
4098
4133
|
/**
|
|
4099
4134
|
* @remarks
|
|
4100
|
-
* The content
|
|
4135
|
+
* The policy content.
|
|
4101
4136
|
*/
|
|
4102
4137
|
content?: ModifyPolicyRequestContent;
|
|
4103
4138
|
/**
|
|
@@ -4164,7 +4199,7 @@ export declare class ModifyPolicyShrinkRequest extends $tea.Model {
|
|
|
4164
4199
|
actionType?: number;
|
|
4165
4200
|
/**
|
|
4166
4201
|
* @remarks
|
|
4167
|
-
* The content
|
|
4202
|
+
* The policy content.
|
|
4168
4203
|
*/
|
|
4169
4204
|
contentShrink?: string;
|
|
4170
4205
|
/**
|
|
@@ -4233,7 +4268,7 @@ export declare class ModifyPolicyResponse extends $tea.Model {
|
|
|
4233
4268
|
export declare class ModifyPolicyContentRequest extends $tea.Model {
|
|
4234
4269
|
/**
|
|
4235
4270
|
* @remarks
|
|
4236
|
-
* The content
|
|
4271
|
+
* The policy content.
|
|
4237
4272
|
*/
|
|
4238
4273
|
content?: ModifyPolicyContentRequestContent;
|
|
4239
4274
|
/**
|
|
@@ -4267,7 +4302,7 @@ export declare class ModifyPolicyContentRequest extends $tea.Model {
|
|
|
4267
4302
|
export declare class ModifyPolicyContentShrinkRequest extends $tea.Model {
|
|
4268
4303
|
/**
|
|
4269
4304
|
* @remarks
|
|
4270
|
-
* The content
|
|
4305
|
+
* The policy content.
|
|
4271
4306
|
*/
|
|
4272
4307
|
contentShrink?: string;
|
|
4273
4308
|
/**
|
|
@@ -5189,9 +5224,9 @@ export declare class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunction
|
|
|
5189
5224
|
* @remarks
|
|
5190
5225
|
* The application scope of the instance. Valid values:
|
|
5191
5226
|
*
|
|
5192
|
-
* * **only_mainland_china**: regions in the Chinese mainland
|
|
5193
|
-
* * **global**: all regions
|
|
5194
|
-
* * **international_and_hmt**: regions outside the Chinese mainland
|
|
5227
|
+
* * **only_mainland_china**: regions in the Chinese mainland.
|
|
5228
|
+
* * **global**: all regions.
|
|
5229
|
+
* * **international_and_hmt**: regions outside the Chinese mainland.
|
|
5195
5230
|
*
|
|
5196
5231
|
* @example
|
|
5197
5232
|
* global
|
|
@@ -5217,11 +5252,11 @@ export declare class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunction
|
|
|
5217
5252
|
* @remarks
|
|
5218
5253
|
* The bill distribution by account. The JSON struct contains the following fields:
|
|
5219
5254
|
*
|
|
5220
|
-
* * **eipCnIpCount**: the number of EIPs with Anti-DDoS (Enhanced) enabled in the Chinese mainland
|
|
5221
|
-
* * **eipOvIpCount**: the number of EIPs with Anti-DDoS (Enhanced) enabled outside the Chinese mainland
|
|
5222
|
-
* * **memberUid**: the owner account
|
|
5223
|
-
* * **standardAssetsCnIpCount**: the number of IP addresses of regular Alibaba Cloud services in the Chinese mainland
|
|
5224
|
-
* * **standardAssetsOvIpCount**: the number of IP addresses of regular Alibaba Cloud services outside the Chinese mainland
|
|
5255
|
+
* * **eipCnIpCount**: the number of EIPs with Anti-DDoS (Enhanced) enabled in the Chinese mainland.
|
|
5256
|
+
* * **eipOvIpCount**: the number of EIPs with Anti-DDoS (Enhanced) enabled outside the Chinese mainland.
|
|
5257
|
+
* * **memberUid**: the owner account.
|
|
5258
|
+
* * **standardAssetsCnIpCount**: the number of IP addresses of regular Alibaba Cloud services in the Chinese mainland.
|
|
5259
|
+
* * **standardAssetsOvIpCount**: the number of IP addresses of regular Alibaba Cloud services outside the Chinese mainland.
|
|
5225
5260
|
*
|
|
5226
5261
|
* > If the memberUid field in the JSON struct is empty, the information about the current account is returned.
|
|
5227
5262
|
*
|
|
@@ -5247,6 +5282,26 @@ export declare class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunction
|
|
|
5247
5282
|
[key: string]: any;
|
|
5248
5283
|
});
|
|
5249
5284
|
}
|
|
5285
|
+
export declare class DescribeDdosOriginInstanceBillResponseBodyMonthlySummaryList extends $tea.Model {
|
|
5286
|
+
enableDays?: number;
|
|
5287
|
+
flowCn?: number;
|
|
5288
|
+
flowIntl?: number;
|
|
5289
|
+
ipCountCn?: number;
|
|
5290
|
+
ipCountIntl?: number;
|
|
5291
|
+
memberUid?: string;
|
|
5292
|
+
standardAssetsFlowCn?: number;
|
|
5293
|
+
standardAssetsFlowIntl?: number;
|
|
5294
|
+
uid?: string;
|
|
5295
|
+
static names(): {
|
|
5296
|
+
[key: string]: string;
|
|
5297
|
+
};
|
|
5298
|
+
static types(): {
|
|
5299
|
+
[key: string]: any;
|
|
5300
|
+
};
|
|
5301
|
+
constructor(map?: {
|
|
5302
|
+
[key: string]: any;
|
|
5303
|
+
});
|
|
5304
|
+
}
|
|
5250
5305
|
export declare class DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList extends $tea.Model {
|
|
5251
5306
|
/**
|
|
5252
5307
|
* @remarks
|
|
@@ -5306,7 +5361,7 @@ export declare class DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlo
|
|
|
5306
5361
|
export declare class DescribeInstanceListRequestTag extends $tea.Model {
|
|
5307
5362
|
/**
|
|
5308
5363
|
* @remarks
|
|
5309
|
-
* The key of the tag that is added to the Anti-DDoS Origin instance
|
|
5364
|
+
* The key of the tag that is added to the Anti-DDoS Origin instance.
|
|
5310
5365
|
*
|
|
5311
5366
|
* @example
|
|
5312
5367
|
* test-key
|
|
@@ -5314,7 +5369,7 @@ export declare class DescribeInstanceListRequestTag extends $tea.Model {
|
|
|
5314
5369
|
key?: string;
|
|
5315
5370
|
/**
|
|
5316
5371
|
* @remarks
|
|
5317
|
-
* The value of the tag that is added to the Anti-DDoS Origin instance
|
|
5372
|
+
* The value of the tag that is added to the Anti-DDoS Origin instance.
|
|
5318
5373
|
*
|
|
5319
5374
|
* @example
|
|
5320
5375
|
* test-value
|
|
@@ -5331,6 +5386,10 @@ export declare class DescribeInstanceListRequestTag extends $tea.Model {
|
|
|
5331
5386
|
});
|
|
5332
5387
|
}
|
|
5333
5388
|
export declare class DescribeInstanceListResponseBodyInstanceListAutoProtectCondition extends $tea.Model {
|
|
5389
|
+
/**
|
|
5390
|
+
* @remarks
|
|
5391
|
+
* The events that trigger automatic association.
|
|
5392
|
+
*/
|
|
5334
5393
|
events?: string[];
|
|
5335
5394
|
static names(): {
|
|
5336
5395
|
[key: string]: string;
|
|
@@ -5373,8 +5432,11 @@ export declare class DescribeInstanceListResponseBodyInstanceList extends $tea.M
|
|
|
5373
5432
|
* @remarks
|
|
5374
5433
|
* The type of the instance.
|
|
5375
5434
|
*
|
|
5376
|
-
* * **ddos_ddosorigin_public_cn**: Anti-DDoS Origin 2.0 (Pay-as-you-go) on the China site (aliyun.com)
|
|
5377
|
-
* * **ddos_ddosorigin_public_intl**: Anti-DDoS Origin 2.0 (Pay-as-you-go) on the International site (alibabacloud.com)
|
|
5435
|
+
* * **ddos_ddosorigin_public_cn**: Anti-DDoS Origin 2.0 (Pay-as-you-go) on the China site (aliyun.com).
|
|
5436
|
+
* * **ddos_ddosorigin_public_intl**: Anti-DDoS Origin 2.0 (Pay-as-you-go) on the International site (alibabacloud.com).
|
|
5437
|
+
*
|
|
5438
|
+
* @example
|
|
5439
|
+
* ddos_ddosorigin_public_cn
|
|
5378
5440
|
*/
|
|
5379
5441
|
commodityType?: string;
|
|
5380
5442
|
/**
|
|
@@ -5385,6 +5447,9 @@ export declare class DescribeInstanceListResponseBodyInstanceList extends $tea.M
|
|
|
5385
5447
|
* * **2**: The instance supports public IP addresses in regions in the Chinese mainland.
|
|
5386
5448
|
* * **3**: The instance supports public IP addresses in regions outside the Chinese mainland.
|
|
5387
5449
|
* * **4**: The instance supports public IP addresses in a region in or outside the Chinese mainland.
|
|
5450
|
+
*
|
|
5451
|
+
* @example
|
|
5452
|
+
* 1
|
|
5388
5453
|
*/
|
|
5389
5454
|
coverageType?: number;
|
|
5390
5455
|
/**
|
|
@@ -5493,6 +5558,25 @@ export declare class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig ex
|
|
|
5493
5558
|
* 0
|
|
5494
5559
|
*/
|
|
5495
5560
|
bindIpCount?: number;
|
|
5561
|
+
/**
|
|
5562
|
+
* @remarks
|
|
5563
|
+
* The burstable clean bandwidth. Unit: Mbit/s.
|
|
5564
|
+
*
|
|
5565
|
+
* @example
|
|
5566
|
+
* 100
|
|
5567
|
+
*/
|
|
5568
|
+
elasticBwMbps?: number;
|
|
5569
|
+
/**
|
|
5570
|
+
* @remarks
|
|
5571
|
+
* The metering method of burstable clean bandwidth. Valid values:
|
|
5572
|
+
*
|
|
5573
|
+
* * **month**: the monthly 95th percentile metering method.
|
|
5574
|
+
* * **day**: the daily 95th percentile metering method.
|
|
5575
|
+
*
|
|
5576
|
+
* @example
|
|
5577
|
+
* day
|
|
5578
|
+
*/
|
|
5579
|
+
elasticBwMode?: string;
|
|
5496
5580
|
/**
|
|
5497
5581
|
* @remarks
|
|
5498
5582
|
* The burstable protection bandwidth of each protected IP address. Unit: Gbit/s.
|
|
@@ -5527,7 +5611,7 @@ export declare class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig ex
|
|
|
5527
5611
|
normalBandwidth?: number;
|
|
5528
5612
|
/**
|
|
5529
5613
|
* @remarks
|
|
5530
|
-
* The burstable protection bandwidth of the Anti-DDoS Origin
|
|
5614
|
+
* The burstable protection bandwidth of the Anti-DDoS Origin instance. Unit: Gbit/s.
|
|
5531
5615
|
*
|
|
5532
5616
|
* @example
|
|
5533
5617
|
* 300
|
|
@@ -5535,7 +5619,7 @@ export declare class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig ex
|
|
|
5535
5619
|
packAdvThre?: number;
|
|
5536
5620
|
/**
|
|
5537
5621
|
* @remarks
|
|
5538
|
-
* The basic protection bandwidth of the Anti-DDoS Origin
|
|
5622
|
+
* The basic protection bandwidth of the Anti-DDoS Origin instance. Unit: Gbit/s.
|
|
5539
5623
|
*
|
|
5540
5624
|
* @example
|
|
5541
5625
|
* 20
|
|
@@ -5578,7 +5662,17 @@ export declare class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea
|
|
|
5578
5662
|
defenseTimesPercent?: number;
|
|
5579
5663
|
/**
|
|
5580
5664
|
* @remarks
|
|
5581
|
-
*
|
|
5665
|
+
* Indicates whether the instance is downgraded. Valid value:
|
|
5666
|
+
*
|
|
5667
|
+
* * **8**: The instance is downgraded due to excessive bandwidth usage.
|
|
5668
|
+
*
|
|
5669
|
+
* @example
|
|
5670
|
+
* 8
|
|
5671
|
+
*/
|
|
5672
|
+
downgradeStatus?: number;
|
|
5673
|
+
/**
|
|
5674
|
+
* @remarks
|
|
5675
|
+
* The ID of the Anti-DDoS Origin instance.
|
|
5582
5676
|
*
|
|
5583
5677
|
* @example
|
|
5584
5678
|
* ddosbgp-cn-n6w1r7nz****
|
|
@@ -5597,14 +5691,14 @@ export declare class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea
|
|
|
5597
5691
|
isFullDefenseMode?: number;
|
|
5598
5692
|
/**
|
|
5599
5693
|
* @remarks
|
|
5600
|
-
* The configurations of the Anti-DDoS Origin
|
|
5694
|
+
* The configurations of the Anti-DDoS Origin instance, including the number of protected IP addresses and protection bandwidth.
|
|
5601
5695
|
*/
|
|
5602
5696
|
packConfig?: DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig;
|
|
5603
5697
|
/**
|
|
5604
5698
|
* @remarks
|
|
5605
|
-
* The region ID of the Anti-DDoS Origin
|
|
5699
|
+
* The region ID of the Anti-DDoS Origin instance.
|
|
5606
5700
|
*
|
|
5607
|
-
* >
|
|
5701
|
+
* > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) operation to query the name of the region.
|
|
5608
5702
|
*
|
|
5609
5703
|
* @example
|
|
5610
5704
|
* cn-hangzhou
|
|
@@ -6000,7 +6094,7 @@ export declare class DescribeRdMemberListResponseBodyMemberList extends $tea.Mod
|
|
|
6000
6094
|
export declare class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
6001
6095
|
/**
|
|
6002
6096
|
* @remarks
|
|
6003
|
-
* The English name of the region
|
|
6097
|
+
* The English name of the region.
|
|
6004
6098
|
*
|
|
6005
6099
|
* @example
|
|
6006
6100
|
* China (Hangzhou)
|
|
@@ -6016,7 +6110,10 @@ export declare class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
|
6016
6110
|
regionId?: string;
|
|
6017
6111
|
/**
|
|
6018
6112
|
* @remarks
|
|
6019
|
-
* The name of the region
|
|
6113
|
+
* The Chinese name of the region.
|
|
6114
|
+
*
|
|
6115
|
+
* @example
|
|
6116
|
+
* 华东1(杭州)
|
|
6020
6117
|
*/
|
|
6021
6118
|
regionName?: string;
|
|
6022
6119
|
static names(): {
|
|
@@ -6755,11 +6852,19 @@ export declare class ListPolicyResponseBodyPolicyList extends $tea.Model {
|
|
|
6755
6852
|
* test**
|
|
6756
6853
|
*/
|
|
6757
6854
|
name?: string;
|
|
6855
|
+
/**
|
|
6856
|
+
* @remarks
|
|
6857
|
+
* The remarks of the policy.
|
|
6858
|
+
*
|
|
6859
|
+
* @example
|
|
6860
|
+
* test
|
|
6861
|
+
*/
|
|
6758
6862
|
remark?: string;
|
|
6759
6863
|
/**
|
|
6760
6864
|
* @remarks
|
|
6761
6865
|
* The type of the policy. Valid values:
|
|
6762
6866
|
*
|
|
6867
|
+
* * **default**: the default mitigation policy.
|
|
6763
6868
|
* * **l3**: IP-specific mitigation policies.
|
|
6764
6869
|
* * **l4**: port-specific mitigation policies.
|
|
6765
6870
|
*
|
|
@@ -6850,6 +6955,13 @@ export declare class ListPolicyAttachmentResponseBodyAttachmentList extends $tea
|
|
|
6850
6955
|
* test**
|
|
6851
6956
|
*/
|
|
6852
6957
|
policyName?: string;
|
|
6958
|
+
/**
|
|
6959
|
+
* @remarks
|
|
6960
|
+
* The description of the policy.
|
|
6961
|
+
*
|
|
6962
|
+
* @example
|
|
6963
|
+
* test
|
|
6964
|
+
*/
|
|
6853
6965
|
policyRemark?: string;
|
|
6854
6966
|
/**
|
|
6855
6967
|
* @remarks
|
|
@@ -7094,7 +7206,7 @@ export declare class ModifyPolicyRequestContentFingerPrintRuleList extends $tea.
|
|
|
7094
7206
|
payloadBytes?: string;
|
|
7095
7207
|
/**
|
|
7096
7208
|
* @remarks
|
|
7097
|
-
* The type of the protocol. Valid
|
|
7209
|
+
* The type of the protocol. Valid values:
|
|
7098
7210
|
*
|
|
7099
7211
|
* * **tcp**
|
|
7100
7212
|
* * **udp**
|
|
@@ -7319,7 +7431,7 @@ export declare class ModifyPolicyRequestContentPortRuleList extends $tea.Model {
|
|
|
7319
7431
|
id?: string;
|
|
7320
7432
|
/**
|
|
7321
7433
|
* @remarks
|
|
7322
|
-
* The action triggered if the rule is matched. Valid
|
|
7434
|
+
* The action triggered if the rule is matched. Valid values:
|
|
7323
7435
|
*
|
|
7324
7436
|
* * **drop**: The traffic is discarded.
|
|
7325
7437
|
*
|
|
@@ -7419,9 +7531,9 @@ export declare class ModifyPolicyRequestContentSourceBlockList extends $tea.Mode
|
|
|
7419
7531
|
* @remarks
|
|
7420
7532
|
* The type of the source rate limit. Valid values:
|
|
7421
7533
|
*
|
|
7422
|
-
* * **3**: the
|
|
7534
|
+
* * **3**: the pps limit on source IP addresses.
|
|
7423
7535
|
* * **4**: the bandwidth limit on source IP addresses.
|
|
7424
|
-
* * **5**: the
|
|
7536
|
+
* * **5**: the pps limit on source SYN packets.
|
|
7425
7537
|
* * **6**: the bandwidth limit on source SYN packets.
|
|
7426
7538
|
*
|
|
7427
7539
|
* This parameter is required.
|
|
@@ -7451,7 +7563,7 @@ export declare class ModifyPolicyRequestContentSourceLimit extends $tea.Model {
|
|
|
7451
7563
|
bps?: number;
|
|
7452
7564
|
/**
|
|
7453
7565
|
* @remarks
|
|
7454
|
-
* The packets per second (
|
|
7566
|
+
* The packets per second (pps) limit on source IP addresses.
|
|
7455
7567
|
*
|
|
7456
7568
|
* @example
|
|
7457
7569
|
* 64
|
|
@@ -7467,7 +7579,7 @@ export declare class ModifyPolicyRequestContentSourceLimit extends $tea.Model {
|
|
|
7467
7579
|
synBps?: number;
|
|
7468
7580
|
/**
|
|
7469
7581
|
* @remarks
|
|
7470
|
-
* The
|
|
7582
|
+
* The pps limit on source SYN packets.
|
|
7471
7583
|
*
|
|
7472
7584
|
* @example
|
|
7473
7585
|
* 64
|
|
@@ -7900,7 +8012,7 @@ export declare class ModifyPolicyContentRequestContentPortRuleList extends $tea.
|
|
|
7900
8012
|
id?: string;
|
|
7901
8013
|
/**
|
|
7902
8014
|
* @remarks
|
|
7903
|
-
* The action triggered if the rule is matched. Valid
|
|
8015
|
+
* The action triggered if the rule is matched. Valid values:
|
|
7904
8016
|
*
|
|
7905
8017
|
* * **drop**: The traffic is discarded.
|
|
7906
8018
|
*
|
|
@@ -8000,9 +8112,9 @@ export declare class ModifyPolicyContentRequestContentSourceBlockList extends $t
|
|
|
8000
8112
|
* @remarks
|
|
8001
8113
|
* The type of the source rate limit. Valid values:
|
|
8002
8114
|
*
|
|
8003
|
-
* * **3**: the
|
|
8115
|
+
* * **3**: the pps limit on source IP addresses.
|
|
8004
8116
|
* * **4**: the bandwidth limit on source IP addresses.
|
|
8005
|
-
* * **5**: the
|
|
8117
|
+
* * **5**: the pps limit on source SYN packets.
|
|
8006
8118
|
* * **6**: the bandwidth limit on source SYN packets.
|
|
8007
8119
|
*
|
|
8008
8120
|
* This parameter is required.
|
|
@@ -8032,7 +8144,7 @@ export declare class ModifyPolicyContentRequestContentSourceLimit extends $tea.M
|
|
|
8032
8144
|
bps?: number;
|
|
8033
8145
|
/**
|
|
8034
8146
|
* @remarks
|
|
8035
|
-
* The packets per second (
|
|
8147
|
+
* The packets per second (pps) limit on source IP addresses.
|
|
8036
8148
|
*
|
|
8037
8149
|
* @example
|
|
8038
8150
|
* 64
|
|
@@ -8048,7 +8160,7 @@ export declare class ModifyPolicyContentRequestContentSourceLimit extends $tea.M
|
|
|
8048
8160
|
synBps?: number;
|
|
8049
8161
|
/**
|
|
8050
8162
|
* @remarks
|
|
8051
|
-
* The
|
|
8163
|
+
* The pps limit on source SYN packets.
|
|
8052
8164
|
*
|
|
8053
8165
|
* @example
|
|
8054
8166
|
* 64
|
|
@@ -8338,7 +8450,7 @@ export default class Client extends OpenApi {
|
|
|
8338
8450
|
[key: string]: string;
|
|
8339
8451
|
}, endpoint: string): string;
|
|
8340
8452
|
/**
|
|
8341
|
-
* Adds IP addresses to an Anti-DDoS Origin
|
|
8453
|
+
* Adds IP addresses to an Anti-DDoS Origin instance.
|
|
8342
8454
|
*
|
|
8343
8455
|
* @param request - AddIpRequest
|
|
8344
8456
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8346,7 +8458,7 @@ export default class Client extends OpenApi {
|
|
|
8346
8458
|
*/
|
|
8347
8459
|
addIpWithOptions(request: AddIpRequest, runtime: $Util.RuntimeOptions): Promise<AddIpResponse>;
|
|
8348
8460
|
/**
|
|
8349
|
-
* Adds IP addresses to an Anti-DDoS Origin
|
|
8461
|
+
* Adds IP addresses to an Anti-DDoS Origin instance.
|
|
8350
8462
|
*
|
|
8351
8463
|
* @param request - AddIpRequest
|
|
8352
8464
|
* @returns AddIpResponse
|
|
@@ -8516,7 +8628,7 @@ export default class Client extends OpenApi {
|
|
|
8516
8628
|
*/
|
|
8517
8629
|
deleteBlackhole(request: DeleteBlackholeRequest): Promise<DeleteBlackholeResponse>;
|
|
8518
8630
|
/**
|
|
8519
|
-
* Removes specific IP addresses from an Anti-DDoS Origin
|
|
8631
|
+
* Removes specific IP addresses from an Anti-DDoS Origin instance.
|
|
8520
8632
|
*
|
|
8521
8633
|
* @remarks
|
|
8522
8634
|
* The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
|
|
@@ -8527,7 +8639,7 @@ export default class Client extends OpenApi {
|
|
|
8527
8639
|
*/
|
|
8528
8640
|
deleteIpWithOptions(request: DeleteIpRequest, runtime: $Util.RuntimeOptions): Promise<DeleteIpResponse>;
|
|
8529
8641
|
/**
|
|
8530
|
-
* Removes specific IP addresses from an Anti-DDoS Origin
|
|
8642
|
+
* Removes specific IP addresses from an Anti-DDoS Origin instance.
|
|
8531
8643
|
*
|
|
8532
8644
|
* @remarks
|
|
8533
8645
|
* The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
|
|
@@ -8712,12 +8824,16 @@ export default class Client extends OpenApi {
|
|
|
8712
8824
|
*/
|
|
8713
8825
|
describeInstanceList(request: DescribeInstanceListRequest): Promise<DescribeInstanceListResponse>;
|
|
8714
8826
|
/**
|
|
8827
|
+
* Queries the specifications of a specific Anti-DDoS Origin instance.
|
|
8828
|
+
*
|
|
8715
8829
|
* @param request - DescribeInstanceSpecsRequest
|
|
8716
8830
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
8717
8831
|
* @returns DescribeInstanceSpecsResponse
|
|
8718
8832
|
*/
|
|
8719
8833
|
describeInstanceSpecsWithOptions(request: DescribeInstanceSpecsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceSpecsResponse>;
|
|
8720
8834
|
/**
|
|
8835
|
+
* Queries the specifications of a specific Anti-DDoS Origin instance.
|
|
8836
|
+
*
|
|
8721
8837
|
* @param request - DescribeInstanceSpecsRequest
|
|
8722
8838
|
* @returns DescribeInstanceSpecsResponse
|
|
8723
8839
|
*/
|
|
@@ -8841,7 +8957,7 @@ export default class Client extends OpenApi {
|
|
|
8841
8957
|
*/
|
|
8842
8958
|
describeRdStatus(): Promise<DescribeRdStatusResponse>;
|
|
8843
8959
|
/**
|
|
8844
|
-
* Queries the regions of
|
|
8960
|
+
* Queries the regions of assets that can be protected by Anti-DDoS Origin Enterprise in a specific region.
|
|
8845
8961
|
*
|
|
8846
8962
|
* @param request - DescribeRegionsRequest
|
|
8847
8963
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8849,7 +8965,7 @@ export default class Client extends OpenApi {
|
|
|
8849
8965
|
*/
|
|
8850
8966
|
describeRegionsWithOptions(request: DescribeRegionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRegionsResponse>;
|
|
8851
8967
|
/**
|
|
8852
|
-
* Queries the regions of
|
|
8968
|
+
* Queries the regions of assets that can be protected by Anti-DDoS Origin Enterprise in a specific region.
|
|
8853
8969
|
*
|
|
8854
8970
|
* @param request - DescribeRegionsRequest
|
|
8855
8971
|
* @returns DescribeRegionsResponse
|