@alicloud/ddosbgp20180720 2.6.2 → 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 +189 -74
- package/dist/client.js +51 -7
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +220 -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
|
/**
|
|
@@ -2979,9 +2998,9 @@ export declare class DescribeRdStatusResponse extends $tea.Model {
|
|
|
2979
2998
|
export declare class DescribeRegionsRequest extends $tea.Model {
|
|
2980
2999
|
/**
|
|
2981
3000
|
* @remarks
|
|
2982
|
-
* 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.
|
|
2983
3002
|
*
|
|
2984
|
-
*
|
|
3003
|
+
* If you want to specify another value for **RegionId**, see [Regions and Zones](https://help.aliyun.com/document_detail/40654.html).
|
|
2985
3004
|
*
|
|
2986
3005
|
* @example
|
|
2987
3006
|
* cn-hangzhou
|
|
@@ -2989,9 +3008,9 @@ export declare class DescribeRegionsRequest extends $tea.Model {
|
|
|
2989
3008
|
regionId?: string;
|
|
2990
3009
|
/**
|
|
2991
3010
|
* @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.
|
|
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.
|
|
2993
3012
|
*
|
|
2994
|
-
* For
|
|
3013
|
+
* For information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
|
|
2995
3014
|
*
|
|
2996
3015
|
* @example
|
|
2997
3016
|
* rg-acfm2pz25js****
|
|
@@ -3018,12 +3037,12 @@ export declare class DescribeRegionsResponseBody extends $tea.Model {
|
|
|
3018
3037
|
code?: string;
|
|
3019
3038
|
/**
|
|
3020
3039
|
* @remarks
|
|
3021
|
-
* 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.
|
|
3022
3041
|
*/
|
|
3023
3042
|
regions?: DescribeRegionsResponseBodyRegions[];
|
|
3024
3043
|
/**
|
|
3025
3044
|
* @remarks
|
|
3026
|
-
* The ID
|
|
3045
|
+
* The request ID.
|
|
3027
3046
|
*
|
|
3028
3047
|
* @example
|
|
3029
3048
|
* F7CA8B4E-FB15-4336-A351-8DC29D66EA82
|
|
@@ -3031,10 +3050,10 @@ export declare class DescribeRegionsResponseBody extends $tea.Model {
|
|
|
3031
3050
|
requestId?: string;
|
|
3032
3051
|
/**
|
|
3033
3052
|
* @remarks
|
|
3034
|
-
* Indicates whether the request
|
|
3053
|
+
* Indicates whether the request was successful. Valid values:
|
|
3035
3054
|
*
|
|
3036
|
-
* * **true
|
|
3037
|
-
* * **false
|
|
3055
|
+
* * **true**
|
|
3056
|
+
* * **false**
|
|
3038
3057
|
*
|
|
3039
3058
|
* @example
|
|
3040
3059
|
* true
|
|
@@ -3607,11 +3626,26 @@ export declare class ListPolicyRequest extends $tea.Model {
|
|
|
3607
3626
|
* 10
|
|
3608
3627
|
*/
|
|
3609
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
|
+
*/
|
|
3610
3643
|
productType?: string;
|
|
3611
3644
|
/**
|
|
3612
3645
|
* @remarks
|
|
3613
3646
|
* The type of the policy. Valid values:
|
|
3614
3647
|
*
|
|
3648
|
+
* * **default**: the default mitigation policy.
|
|
3615
3649
|
* * **l3**: IP-specific mitigation policies.
|
|
3616
3650
|
* * **l4**: port-specific mitigation policies.
|
|
3617
3651
|
*
|
|
@@ -4098,7 +4132,7 @@ export declare class ModifyPolicyRequest extends $tea.Model {
|
|
|
4098
4132
|
actionType?: number;
|
|
4099
4133
|
/**
|
|
4100
4134
|
* @remarks
|
|
4101
|
-
* The content
|
|
4135
|
+
* The policy content.
|
|
4102
4136
|
*/
|
|
4103
4137
|
content?: ModifyPolicyRequestContent;
|
|
4104
4138
|
/**
|
|
@@ -4165,7 +4199,7 @@ export declare class ModifyPolicyShrinkRequest extends $tea.Model {
|
|
|
4165
4199
|
actionType?: number;
|
|
4166
4200
|
/**
|
|
4167
4201
|
* @remarks
|
|
4168
|
-
* The content
|
|
4202
|
+
* The policy content.
|
|
4169
4203
|
*/
|
|
4170
4204
|
contentShrink?: string;
|
|
4171
4205
|
/**
|
|
@@ -4234,7 +4268,7 @@ export declare class ModifyPolicyResponse extends $tea.Model {
|
|
|
4234
4268
|
export declare class ModifyPolicyContentRequest extends $tea.Model {
|
|
4235
4269
|
/**
|
|
4236
4270
|
* @remarks
|
|
4237
|
-
* The content
|
|
4271
|
+
* The policy content.
|
|
4238
4272
|
*/
|
|
4239
4273
|
content?: ModifyPolicyContentRequestContent;
|
|
4240
4274
|
/**
|
|
@@ -4268,7 +4302,7 @@ export declare class ModifyPolicyContentRequest extends $tea.Model {
|
|
|
4268
4302
|
export declare class ModifyPolicyContentShrinkRequest extends $tea.Model {
|
|
4269
4303
|
/**
|
|
4270
4304
|
* @remarks
|
|
4271
|
-
* The content
|
|
4305
|
+
* The policy content.
|
|
4272
4306
|
*/
|
|
4273
4307
|
contentShrink?: string;
|
|
4274
4308
|
/**
|
|
@@ -5190,9 +5224,9 @@ export declare class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunction
|
|
|
5190
5224
|
* @remarks
|
|
5191
5225
|
* The application scope of the instance. Valid values:
|
|
5192
5226
|
*
|
|
5193
|
-
* * **only_mainland_china**: regions in the Chinese mainland
|
|
5194
|
-
* * **global**: all regions
|
|
5195
|
-
* * **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.
|
|
5196
5230
|
*
|
|
5197
5231
|
* @example
|
|
5198
5232
|
* global
|
|
@@ -5218,11 +5252,11 @@ export declare class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunction
|
|
|
5218
5252
|
* @remarks
|
|
5219
5253
|
* The bill distribution by account. The JSON struct contains the following fields:
|
|
5220
5254
|
*
|
|
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
|
|
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.
|
|
5226
5260
|
*
|
|
5227
5261
|
* > If the memberUid field in the JSON struct is empty, the information about the current account is returned.
|
|
5228
5262
|
*
|
|
@@ -5248,6 +5282,26 @@ export declare class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunction
|
|
|
5248
5282
|
[key: string]: any;
|
|
5249
5283
|
});
|
|
5250
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
|
+
}
|
|
5251
5305
|
export declare class DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList extends $tea.Model {
|
|
5252
5306
|
/**
|
|
5253
5307
|
* @remarks
|
|
@@ -5307,7 +5361,7 @@ export declare class DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlo
|
|
|
5307
5361
|
export declare class DescribeInstanceListRequestTag extends $tea.Model {
|
|
5308
5362
|
/**
|
|
5309
5363
|
* @remarks
|
|
5310
|
-
* 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.
|
|
5311
5365
|
*
|
|
5312
5366
|
* @example
|
|
5313
5367
|
* test-key
|
|
@@ -5315,7 +5369,7 @@ export declare class DescribeInstanceListRequestTag extends $tea.Model {
|
|
|
5315
5369
|
key?: string;
|
|
5316
5370
|
/**
|
|
5317
5371
|
* @remarks
|
|
5318
|
-
* 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.
|
|
5319
5373
|
*
|
|
5320
5374
|
* @example
|
|
5321
5375
|
* test-value
|
|
@@ -5332,6 +5386,10 @@ export declare class DescribeInstanceListRequestTag extends $tea.Model {
|
|
|
5332
5386
|
});
|
|
5333
5387
|
}
|
|
5334
5388
|
export declare class DescribeInstanceListResponseBodyInstanceListAutoProtectCondition extends $tea.Model {
|
|
5389
|
+
/**
|
|
5390
|
+
* @remarks
|
|
5391
|
+
* The events that trigger automatic association.
|
|
5392
|
+
*/
|
|
5335
5393
|
events?: string[];
|
|
5336
5394
|
static names(): {
|
|
5337
5395
|
[key: string]: string;
|
|
@@ -5374,8 +5432,11 @@ export declare class DescribeInstanceListResponseBodyInstanceList extends $tea.M
|
|
|
5374
5432
|
* @remarks
|
|
5375
5433
|
* The type of the instance.
|
|
5376
5434
|
*
|
|
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)
|
|
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
|
|
5379
5440
|
*/
|
|
5380
5441
|
commodityType?: string;
|
|
5381
5442
|
/**
|
|
@@ -5386,6 +5447,9 @@ export declare class DescribeInstanceListResponseBodyInstanceList extends $tea.M
|
|
|
5386
5447
|
* * **2**: The instance supports public IP addresses in regions in the Chinese mainland.
|
|
5387
5448
|
* * **3**: The instance supports public IP addresses in regions outside the Chinese mainland.
|
|
5388
5449
|
* * **4**: The instance supports public IP addresses in a region in or outside the Chinese mainland.
|
|
5450
|
+
*
|
|
5451
|
+
* @example
|
|
5452
|
+
* 1
|
|
5389
5453
|
*/
|
|
5390
5454
|
coverageType?: number;
|
|
5391
5455
|
/**
|
|
@@ -5494,6 +5558,25 @@ export declare class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig ex
|
|
|
5494
5558
|
* 0
|
|
5495
5559
|
*/
|
|
5496
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;
|
|
5497
5580
|
/**
|
|
5498
5581
|
* @remarks
|
|
5499
5582
|
* The burstable protection bandwidth of each protected IP address. Unit: Gbit/s.
|
|
@@ -5528,7 +5611,7 @@ export declare class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig ex
|
|
|
5528
5611
|
normalBandwidth?: number;
|
|
5529
5612
|
/**
|
|
5530
5613
|
* @remarks
|
|
5531
|
-
* The burstable protection bandwidth of the Anti-DDoS Origin
|
|
5614
|
+
* The burstable protection bandwidth of the Anti-DDoS Origin instance. Unit: Gbit/s.
|
|
5532
5615
|
*
|
|
5533
5616
|
* @example
|
|
5534
5617
|
* 300
|
|
@@ -5536,7 +5619,7 @@ export declare class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig ex
|
|
|
5536
5619
|
packAdvThre?: number;
|
|
5537
5620
|
/**
|
|
5538
5621
|
* @remarks
|
|
5539
|
-
* The basic protection bandwidth of the Anti-DDoS Origin
|
|
5622
|
+
* The basic protection bandwidth of the Anti-DDoS Origin instance. Unit: Gbit/s.
|
|
5540
5623
|
*
|
|
5541
5624
|
* @example
|
|
5542
5625
|
* 20
|
|
@@ -5579,7 +5662,17 @@ export declare class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea
|
|
|
5579
5662
|
defenseTimesPercent?: number;
|
|
5580
5663
|
/**
|
|
5581
5664
|
* @remarks
|
|
5582
|
-
*
|
|
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.
|
|
5583
5676
|
*
|
|
5584
5677
|
* @example
|
|
5585
5678
|
* ddosbgp-cn-n6w1r7nz****
|
|
@@ -5598,14 +5691,14 @@ export declare class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea
|
|
|
5598
5691
|
isFullDefenseMode?: number;
|
|
5599
5692
|
/**
|
|
5600
5693
|
* @remarks
|
|
5601
|
-
* 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.
|
|
5602
5695
|
*/
|
|
5603
5696
|
packConfig?: DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig;
|
|
5604
5697
|
/**
|
|
5605
5698
|
* @remarks
|
|
5606
|
-
* The region ID of the Anti-DDoS Origin
|
|
5699
|
+
* The region ID of the Anti-DDoS Origin instance.
|
|
5607
5700
|
*
|
|
5608
|
-
* >
|
|
5701
|
+
* > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) operation to query the name of the region.
|
|
5609
5702
|
*
|
|
5610
5703
|
* @example
|
|
5611
5704
|
* cn-hangzhou
|
|
@@ -6001,7 +6094,7 @@ export declare class DescribeRdMemberListResponseBodyMemberList extends $tea.Mod
|
|
|
6001
6094
|
export declare class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
6002
6095
|
/**
|
|
6003
6096
|
* @remarks
|
|
6004
|
-
* The English name of the region
|
|
6097
|
+
* The English name of the region.
|
|
6005
6098
|
*
|
|
6006
6099
|
* @example
|
|
6007
6100
|
* China (Hangzhou)
|
|
@@ -6017,7 +6110,10 @@ export declare class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
|
6017
6110
|
regionId?: string;
|
|
6018
6111
|
/**
|
|
6019
6112
|
* @remarks
|
|
6020
|
-
* The name of the region
|
|
6113
|
+
* The Chinese name of the region.
|
|
6114
|
+
*
|
|
6115
|
+
* @example
|
|
6116
|
+
* 华东1(杭州)
|
|
6021
6117
|
*/
|
|
6022
6118
|
regionName?: string;
|
|
6023
6119
|
static names(): {
|
|
@@ -6756,11 +6852,19 @@ export declare class ListPolicyResponseBodyPolicyList extends $tea.Model {
|
|
|
6756
6852
|
* test**
|
|
6757
6853
|
*/
|
|
6758
6854
|
name?: string;
|
|
6855
|
+
/**
|
|
6856
|
+
* @remarks
|
|
6857
|
+
* The remarks of the policy.
|
|
6858
|
+
*
|
|
6859
|
+
* @example
|
|
6860
|
+
* test
|
|
6861
|
+
*/
|
|
6759
6862
|
remark?: string;
|
|
6760
6863
|
/**
|
|
6761
6864
|
* @remarks
|
|
6762
6865
|
* The type of the policy. Valid values:
|
|
6763
6866
|
*
|
|
6867
|
+
* * **default**: the default mitigation policy.
|
|
6764
6868
|
* * **l3**: IP-specific mitigation policies.
|
|
6765
6869
|
* * **l4**: port-specific mitigation policies.
|
|
6766
6870
|
*
|
|
@@ -6851,6 +6955,13 @@ export declare class ListPolicyAttachmentResponseBodyAttachmentList extends $tea
|
|
|
6851
6955
|
* test**
|
|
6852
6956
|
*/
|
|
6853
6957
|
policyName?: string;
|
|
6958
|
+
/**
|
|
6959
|
+
* @remarks
|
|
6960
|
+
* The description of the policy.
|
|
6961
|
+
*
|
|
6962
|
+
* @example
|
|
6963
|
+
* test
|
|
6964
|
+
*/
|
|
6854
6965
|
policyRemark?: string;
|
|
6855
6966
|
/**
|
|
6856
6967
|
* @remarks
|
|
@@ -7095,7 +7206,7 @@ export declare class ModifyPolicyRequestContentFingerPrintRuleList extends $tea.
|
|
|
7095
7206
|
payloadBytes?: string;
|
|
7096
7207
|
/**
|
|
7097
7208
|
* @remarks
|
|
7098
|
-
* The type of the protocol. Valid
|
|
7209
|
+
* The type of the protocol. Valid values:
|
|
7099
7210
|
*
|
|
7100
7211
|
* * **tcp**
|
|
7101
7212
|
* * **udp**
|
|
@@ -7320,7 +7431,7 @@ export declare class ModifyPolicyRequestContentPortRuleList extends $tea.Model {
|
|
|
7320
7431
|
id?: string;
|
|
7321
7432
|
/**
|
|
7322
7433
|
* @remarks
|
|
7323
|
-
* The action triggered if the rule is matched. Valid
|
|
7434
|
+
* The action triggered if the rule is matched. Valid values:
|
|
7324
7435
|
*
|
|
7325
7436
|
* * **drop**: The traffic is discarded.
|
|
7326
7437
|
*
|
|
@@ -7420,9 +7531,9 @@ export declare class ModifyPolicyRequestContentSourceBlockList extends $tea.Mode
|
|
|
7420
7531
|
* @remarks
|
|
7421
7532
|
* The type of the source rate limit. Valid values:
|
|
7422
7533
|
*
|
|
7423
|
-
* * **3**: the
|
|
7534
|
+
* * **3**: the pps limit on source IP addresses.
|
|
7424
7535
|
* * **4**: the bandwidth limit on source IP addresses.
|
|
7425
|
-
* * **5**: the
|
|
7536
|
+
* * **5**: the pps limit on source SYN packets.
|
|
7426
7537
|
* * **6**: the bandwidth limit on source SYN packets.
|
|
7427
7538
|
*
|
|
7428
7539
|
* This parameter is required.
|
|
@@ -7452,7 +7563,7 @@ export declare class ModifyPolicyRequestContentSourceLimit extends $tea.Model {
|
|
|
7452
7563
|
bps?: number;
|
|
7453
7564
|
/**
|
|
7454
7565
|
* @remarks
|
|
7455
|
-
* The packets per second (
|
|
7566
|
+
* The packets per second (pps) limit on source IP addresses.
|
|
7456
7567
|
*
|
|
7457
7568
|
* @example
|
|
7458
7569
|
* 64
|
|
@@ -7468,7 +7579,7 @@ export declare class ModifyPolicyRequestContentSourceLimit extends $tea.Model {
|
|
|
7468
7579
|
synBps?: number;
|
|
7469
7580
|
/**
|
|
7470
7581
|
* @remarks
|
|
7471
|
-
* The
|
|
7582
|
+
* The pps limit on source SYN packets.
|
|
7472
7583
|
*
|
|
7473
7584
|
* @example
|
|
7474
7585
|
* 64
|
|
@@ -7901,7 +8012,7 @@ export declare class ModifyPolicyContentRequestContentPortRuleList extends $tea.
|
|
|
7901
8012
|
id?: string;
|
|
7902
8013
|
/**
|
|
7903
8014
|
* @remarks
|
|
7904
|
-
* The action triggered if the rule is matched. Valid
|
|
8015
|
+
* The action triggered if the rule is matched. Valid values:
|
|
7905
8016
|
*
|
|
7906
8017
|
* * **drop**: The traffic is discarded.
|
|
7907
8018
|
*
|
|
@@ -8001,9 +8112,9 @@ export declare class ModifyPolicyContentRequestContentSourceBlockList extends $t
|
|
|
8001
8112
|
* @remarks
|
|
8002
8113
|
* The type of the source rate limit. Valid values:
|
|
8003
8114
|
*
|
|
8004
|
-
* * **3**: the
|
|
8115
|
+
* * **3**: the pps limit on source IP addresses.
|
|
8005
8116
|
* * **4**: the bandwidth limit on source IP addresses.
|
|
8006
|
-
* * **5**: the
|
|
8117
|
+
* * **5**: the pps limit on source SYN packets.
|
|
8007
8118
|
* * **6**: the bandwidth limit on source SYN packets.
|
|
8008
8119
|
*
|
|
8009
8120
|
* This parameter is required.
|
|
@@ -8033,7 +8144,7 @@ export declare class ModifyPolicyContentRequestContentSourceLimit extends $tea.M
|
|
|
8033
8144
|
bps?: number;
|
|
8034
8145
|
/**
|
|
8035
8146
|
* @remarks
|
|
8036
|
-
* The packets per second (
|
|
8147
|
+
* The packets per second (pps) limit on source IP addresses.
|
|
8037
8148
|
*
|
|
8038
8149
|
* @example
|
|
8039
8150
|
* 64
|
|
@@ -8049,7 +8160,7 @@ export declare class ModifyPolicyContentRequestContentSourceLimit extends $tea.M
|
|
|
8049
8160
|
synBps?: number;
|
|
8050
8161
|
/**
|
|
8051
8162
|
* @remarks
|
|
8052
|
-
* The
|
|
8163
|
+
* The pps limit on source SYN packets.
|
|
8053
8164
|
*
|
|
8054
8165
|
* @example
|
|
8055
8166
|
* 64
|
|
@@ -8339,7 +8450,7 @@ export default class Client extends OpenApi {
|
|
|
8339
8450
|
[key: string]: string;
|
|
8340
8451
|
}, endpoint: string): string;
|
|
8341
8452
|
/**
|
|
8342
|
-
* Adds IP addresses to an Anti-DDoS Origin
|
|
8453
|
+
* Adds IP addresses to an Anti-DDoS Origin instance.
|
|
8343
8454
|
*
|
|
8344
8455
|
* @param request - AddIpRequest
|
|
8345
8456
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8347,7 +8458,7 @@ export default class Client extends OpenApi {
|
|
|
8347
8458
|
*/
|
|
8348
8459
|
addIpWithOptions(request: AddIpRequest, runtime: $Util.RuntimeOptions): Promise<AddIpResponse>;
|
|
8349
8460
|
/**
|
|
8350
|
-
* Adds IP addresses to an Anti-DDoS Origin
|
|
8461
|
+
* Adds IP addresses to an Anti-DDoS Origin instance.
|
|
8351
8462
|
*
|
|
8352
8463
|
* @param request - AddIpRequest
|
|
8353
8464
|
* @returns AddIpResponse
|
|
@@ -8517,7 +8628,7 @@ export default class Client extends OpenApi {
|
|
|
8517
8628
|
*/
|
|
8518
8629
|
deleteBlackhole(request: DeleteBlackholeRequest): Promise<DeleteBlackholeResponse>;
|
|
8519
8630
|
/**
|
|
8520
|
-
* Removes specific IP addresses from an Anti-DDoS Origin
|
|
8631
|
+
* Removes specific IP addresses from an Anti-DDoS Origin instance.
|
|
8521
8632
|
*
|
|
8522
8633
|
* @remarks
|
|
8523
8634
|
* The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
|
|
@@ -8528,7 +8639,7 @@ export default class Client extends OpenApi {
|
|
|
8528
8639
|
*/
|
|
8529
8640
|
deleteIpWithOptions(request: DeleteIpRequest, runtime: $Util.RuntimeOptions): Promise<DeleteIpResponse>;
|
|
8530
8641
|
/**
|
|
8531
|
-
* Removes specific IP addresses from an Anti-DDoS Origin
|
|
8642
|
+
* Removes specific IP addresses from an Anti-DDoS Origin instance.
|
|
8532
8643
|
*
|
|
8533
8644
|
* @remarks
|
|
8534
8645
|
* The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
|
|
@@ -8713,12 +8824,16 @@ export default class Client extends OpenApi {
|
|
|
8713
8824
|
*/
|
|
8714
8825
|
describeInstanceList(request: DescribeInstanceListRequest): Promise<DescribeInstanceListResponse>;
|
|
8715
8826
|
/**
|
|
8827
|
+
* Queries the specifications of a specific Anti-DDoS Origin instance.
|
|
8828
|
+
*
|
|
8716
8829
|
* @param request - DescribeInstanceSpecsRequest
|
|
8717
8830
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
8718
8831
|
* @returns DescribeInstanceSpecsResponse
|
|
8719
8832
|
*/
|
|
8720
8833
|
describeInstanceSpecsWithOptions(request: DescribeInstanceSpecsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceSpecsResponse>;
|
|
8721
8834
|
/**
|
|
8835
|
+
* Queries the specifications of a specific Anti-DDoS Origin instance.
|
|
8836
|
+
*
|
|
8722
8837
|
* @param request - DescribeInstanceSpecsRequest
|
|
8723
8838
|
* @returns DescribeInstanceSpecsResponse
|
|
8724
8839
|
*/
|
|
@@ -8842,7 +8957,7 @@ export default class Client extends OpenApi {
|
|
|
8842
8957
|
*/
|
|
8843
8958
|
describeRdStatus(): Promise<DescribeRdStatusResponse>;
|
|
8844
8959
|
/**
|
|
8845
|
-
* Queries the regions of
|
|
8960
|
+
* Queries the regions of assets that can be protected by Anti-DDoS Origin Enterprise in a specific region.
|
|
8846
8961
|
*
|
|
8847
8962
|
* @param request - DescribeRegionsRequest
|
|
8848
8963
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8850,7 +8965,7 @@ export default class Client extends OpenApi {
|
|
|
8850
8965
|
*/
|
|
8851
8966
|
describeRegionsWithOptions(request: DescribeRegionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRegionsResponse>;
|
|
8852
8967
|
/**
|
|
8853
|
-
* Queries the regions of
|
|
8968
|
+
* Queries the regions of assets that can be protected by Anti-DDoS Origin Enterprise in a specific region.
|
|
8854
8969
|
*
|
|
8855
8970
|
* @param request - DescribeRegionsRequest
|
|
8856
8971
|
* @returns DescribeRegionsResponse
|