@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/src/client.ts CHANGED
@@ -10,9 +10,9 @@ import * as $tea from '@alicloud/tea-typescript';
10
10
  export class AddIpRequest extends $tea.Model {
11
11
  /**
12
12
  * @remarks
13
- * The ID of the Anti-DDoS Origin Enterprise instance.
13
+ * The ID of the Anti-DDoS Origin instance.
14
14
  *
15
- * > You can call the [DescribeInstanceList](https://help.aliyun.com/document_detail/118698.html) operation to query the IDs of all Anti-DDoS Origin Enterprise instances.
15
+ * > You can call the [DescribeInstanceList](https://help.aliyun.com/document_detail/118698.html) operation to query the IDs of all Anti-DDoS Origin instances.
16
16
  *
17
17
  * This parameter is required.
18
18
  *
@@ -22,7 +22,7 @@ export class AddIpRequest extends $tea.Model {
22
22
  instanceId?: string;
23
23
  /**
24
24
  * @remarks
25
- * The list of IP addresses that you want to add to the Anti-DDoS Origin Enterprise instance. This parameter is a string consisting of JSON arrays. Each element in a JSON array is a JSON struct that includes the following field:
25
+ * 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:
26
26
  *
27
27
  * * **ip**: required. The IP address that you want to add. Data type: string.
28
28
  *
@@ -38,7 +38,7 @@ export class AddIpRequest extends $tea.Model {
38
38
  ipList?: string;
39
39
  /**
40
40
  * @remarks
41
- * The region ID of the Anti-DDoS Origin Enterprise instance.
41
+ * The ID of the region where the Anti-DDoS Origin instance resides.
42
42
  *
43
43
  * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) operation to query the most recent region list.
44
44
  *
@@ -48,9 +48,9 @@ export class AddIpRequest extends $tea.Model {
48
48
  regionId?: string;
49
49
  /**
50
50
  * @remarks
51
- * The ID of the resource group to which the Anti-DDoS Origin Enterprise instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.
51
+ * 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.
52
52
  *
53
- * For more information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
53
+ * For information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
54
54
  *
55
55
  * @example
56
56
  * rg-acfm2pz25js****
@@ -1414,9 +1414,9 @@ export class DeleteBlackholeResponse extends $tea.Model {
1414
1414
  export class DeleteIpRequest extends $tea.Model {
1415
1415
  /**
1416
1416
  * @remarks
1417
- * The ID of the Anti-DDoS Origin Enterprise instance.
1417
+ * The ID of the Anti-DDoS Origin instance.
1418
1418
  *
1419
- * > You can call the [DescribeInstanceList](https://help.aliyun.com/document_detail/118698.html) operation to query the IDs of all Anti-DDoS Origin Enterprise instances.
1419
+ * > You can call the [DescribeInstanceList](https://help.aliyun.com/document_detail/118698.html) operation to query the IDs of all Anti-DDoS Origin instances.
1420
1420
  *
1421
1421
  * This parameter is required.
1422
1422
  *
@@ -1426,13 +1426,13 @@ export class DeleteIpRequest extends $tea.Model {
1426
1426
  instanceId?: string;
1427
1427
  /**
1428
1428
  * @remarks
1429
- * The list of IP addresses that you want to remove from the Anti-DDoS Origin Enterprise 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:
1429
+ * 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:
1430
1430
  *
1431
1431
  * * **ip**: required. The IP address that you want to remove. Data type: string.
1432
1432
  *
1433
1433
  * **
1434
1434
  *
1435
- * **Note** The IP addresses that you want to remove must be protected by the Anti-DDoS Origin Enterprise instance.
1435
+ * **Note** The IP addresses that you want to remove must be protected by the Anti-DDoS Origin instance.
1436
1436
  *
1437
1437
  * This parameter is required.
1438
1438
  *
@@ -1442,7 +1442,7 @@ export class DeleteIpRequest extends $tea.Model {
1442
1442
  ipList?: string;
1443
1443
  /**
1444
1444
  * @remarks
1445
- * The region ID of the Anti-DDoS Origin Enterprise instance.
1445
+ * The ID of the region where the Anti-DDoS Origin instance resides.
1446
1446
  *
1447
1447
  * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) operation to query the most recent region list.
1448
1448
  *
@@ -1452,9 +1452,9 @@ export class DeleteIpRequest extends $tea.Model {
1452
1452
  regionId?: string;
1453
1453
  /**
1454
1454
  * @remarks
1455
- * The ID of the resource group to which the Anti-DDoS Origin Enterprise instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.
1455
+ * 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.
1456
1456
  *
1457
- * For more information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
1457
+ * For information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
1458
1458
  *
1459
1459
  * @example
1460
1460
  * rg-acfm2pz25js****
@@ -2350,6 +2350,17 @@ export class DescribeDdosOriginInstanceBillRequest extends $tea.Model {
2350
2350
  }
2351
2351
 
2352
2352
  export class DescribeDdosOriginInstanceBillResponseBody extends $tea.Model {
2353
+ /**
2354
+ * @remarks
2355
+ * The asset status.
2356
+ *
2357
+ * * **0**: No asset is added to the instance for protection.
2358
+ * * **1**: Assets are added to the instance for protection.
2359
+ *
2360
+ * @example
2361
+ * 0
2362
+ */
2363
+ assetStatus?: number;
2353
2364
  /**
2354
2365
  * @remarks
2355
2366
  * The payment status. Valid values:
@@ -2399,15 +2410,16 @@ export class DescribeDdosOriginInstanceBillResponseBody extends $tea.Model {
2399
2410
  * @remarks
2400
2411
  * The IP address distribution. The JSON struct contains the following fields:
2401
2412
  *
2402
- * * **eipCnIpCount**: the number of EIPs with Anti-DDoS (Enhanced) enabled in the Chinese mainland
2403
- * * **eipOvIpCount**: the number of EIPs with Anti-DDoS (Enhanced) enabled outside the Chinese mainland
2404
- * * **standardAssetsCnIpCount**: the number of IP addresses of regular Alibaba Cloud services in the Chinese mainland
2405
- * * **standardAssetsOvIpCount**: the number of IP addresses of regular Alibaba Cloud services outside the Chinese mainland
2413
+ * * **eipCnIpCount**: the number of EIPs with Anti-DDoS (Enhanced) enabled in the Chinese mainland.
2414
+ * * **eipOvIpCount**: the number of EIPs with Anti-DDoS (Enhanced) enabled outside the Chinese mainland.
2415
+ * * **standardAssetsCnIpCount**: the number of IP addresses of regular Alibaba Cloud services in the Chinese mainland.
2416
+ * * **standardAssetsOvIpCount**: the number of IP addresses of regular Alibaba Cloud services outside the Chinese mainland.
2406
2417
  *
2407
2418
  * @example
2408
2419
  * {\\"eipCnIpCount\\":6,\\"eipOvIpCount\\":17,\\"standardAssetsCnIpCount\\":2,\\"standardAssetsOvIpCount\\":0}
2409
2420
  */
2410
2421
  ipInfo?: string;
2422
+ monthlySummaryList?: DescribeDdosOriginInstanceBillResponseBodyMonthlySummaryList[];
2411
2423
  /**
2412
2424
  * @remarks
2413
2425
  * The request ID.
@@ -2475,6 +2487,7 @@ export class DescribeDdosOriginInstanceBillResponseBody extends $tea.Model {
2475
2487
  totalFlowOv?: number;
2476
2488
  static names(): { [key: string]: string } {
2477
2489
  return {
2490
+ assetStatus: 'AssetStatus',
2478
2491
  debtStatus: 'DebtStatus',
2479
2492
  flowList: 'FlowList',
2480
2493
  flowRegion: 'FlowRegion',
@@ -2482,6 +2495,7 @@ export class DescribeDdosOriginInstanceBillResponseBody extends $tea.Model {
2482
2495
  ipCount: 'IpCount',
2483
2496
  ipCountOrFunctionList: 'IpCountOrFunctionList',
2484
2497
  ipInfo: 'IpInfo',
2498
+ monthlySummaryList: 'MonthlySummaryList',
2485
2499
  requestId: 'RequestId',
2486
2500
  standardAssetsFlowList: 'StandardAssetsFlowList',
2487
2501
  standardAssetsFlowRegion: 'StandardAssetsFlowRegion',
@@ -2495,6 +2509,7 @@ export class DescribeDdosOriginInstanceBillResponseBody extends $tea.Model {
2495
2509
 
2496
2510
  static types(): { [key: string]: any } {
2497
2511
  return {
2512
+ assetStatus: 'number',
2498
2513
  debtStatus: 'number',
2499
2514
  flowList: { 'type': 'array', 'itemType': DescribeDdosOriginInstanceBillResponseBodyFlowList },
2500
2515
  flowRegion: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
@@ -2502,6 +2517,7 @@ export class DescribeDdosOriginInstanceBillResponseBody extends $tea.Model {
2502
2517
  ipCount: 'number',
2503
2518
  ipCountOrFunctionList: { 'type': 'array', 'itemType': DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList },
2504
2519
  ipInfo: 'string',
2520
+ monthlySummaryList: { 'type': 'array', 'itemType': DescribeDdosOriginInstanceBillResponseBodyMonthlySummaryList },
2505
2521
  requestId: 'string',
2506
2522
  standardAssetsFlowList: { 'type': 'array', 'itemType': DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList },
2507
2523
  standardAssetsFlowRegion: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
@@ -2674,6 +2690,10 @@ export class DescribeInstanceListRequest extends $tea.Model {
2674
2690
  * 0
2675
2691
  */
2676
2692
  instanceType?: string;
2693
+ /**
2694
+ * @remarks
2695
+ * The mitigation plan of the Anti-DDoS Origin instance.
2696
+ */
2677
2697
  instanceTypeList?: string[];
2678
2698
  /**
2679
2699
  * @remarks
@@ -2763,6 +2783,10 @@ export class DescribeInstanceListRequest extends $tea.Model {
2763
2783
  * rg-acfm2pz25js****
2764
2784
  */
2765
2785
  resourceGroupId?: string;
2786
+ /**
2787
+ * @remarks
2788
+ * The tags that are added to the Anti-DDoS Origin instance.
2789
+ */
2766
2790
  tag?: DescribeInstanceListRequestTag[];
2767
2791
  static names(): { [key: string]: string } {
2768
2792
  return {
@@ -2876,9 +2900,9 @@ export class DescribeInstanceListResponse extends $tea.Model {
2876
2900
  export class DescribeInstanceSpecsRequest extends $tea.Model {
2877
2901
  /**
2878
2902
  * @remarks
2879
- * The ID of the Anti-DDoS Origin Enterprise instance. This parameter value is a string consisting 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 (,).
2903
+ * 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 (,).
2880
2904
  *
2881
- * > You can call the [DescribeInstanceList](https://help.aliyun.com/document_detail/118698.html) operation to query the IDs of all Anti-DDoS Origin Enterprise instances in a specific region.
2905
+ * > 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.
2882
2906
  *
2883
2907
  * This parameter is required.
2884
2908
  *
@@ -2888,9 +2912,9 @@ export class DescribeInstanceSpecsRequest extends $tea.Model {
2888
2912
  instanceIdList?: string;
2889
2913
  /**
2890
2914
  * @remarks
2891
- * The region ID of the Anti-DDoS Origin Enterprise instance. Default value: **cn-hangzhou**, which indicates the China (Hangzhou) region.
2915
+ * The region ID of the Anti-DDoS Origin instance. Default value: **cn-hangzhou**, which indicates the China (Hangzhou) region.
2892
2916
  *
2893
- * > If your instance does not reside in the China (Hangzhou) region, you must specify 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 cloud assets that are supported by an Anti-DDoS Origin instance.
2917
+ * > 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.
2894
2918
  *
2895
2919
  * @example
2896
2920
  * cn-hangzhou
@@ -2898,9 +2922,9 @@ export class DescribeInstanceSpecsRequest extends $tea.Model {
2898
2922
  regionId?: string;
2899
2923
  /**
2900
2924
  * @remarks
2901
- * The ID of the resource group to which the Anti-DDoS Origin Enterprise instance belongs in Resource Management. This parameter is empty by default, which indicates that the Anti-DDoS Origin Enterprise instance belongs to the default resource group.
2925
+ * 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.
2902
2926
  *
2903
- * For more information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
2927
+ * For information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
2904
2928
  *
2905
2929
  * @example
2906
2930
  * rg-acfm2pz25js****
@@ -2930,7 +2954,7 @@ export class DescribeInstanceSpecsRequest extends $tea.Model {
2930
2954
  export class DescribeInstanceSpecsResponseBody extends $tea.Model {
2931
2955
  /**
2932
2956
  * @remarks
2933
- * The specifications of the Anti-DDoS Origin Enterprise 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.
2957
+ * 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.
2934
2958
  */
2935
2959
  instanceSpecs?: DescribeInstanceSpecsResponseBodyInstanceSpecs[];
2936
2960
  /**
@@ -3916,9 +3940,9 @@ export class DescribeRdStatusResponse extends $tea.Model {
3916
3940
  export class DescribeRegionsRequest extends $tea.Model {
3917
3941
  /**
3918
3942
  * @remarks
3919
- * The region ID to query. The default value is **cn-hangzhou**, which indicates that the regions of cloud assets that are supported by an Anti-DDoS Origin instance in the China (Hangzhou) region are queried.
3943
+ * 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.
3920
3944
  *
3921
- * For more information about the IDs of other regions, see [Regions and zones](https://help.aliyun.com/document_detail/40654.html).
3945
+ * If you want to specify another value for **RegionId**, see [Regions and Zones](https://help.aliyun.com/document_detail/40654.html).
3922
3946
  *
3923
3947
  * @example
3924
3948
  * cn-hangzhou
@@ -3926,9 +3950,9 @@ export class DescribeRegionsRequest extends $tea.Model {
3926
3950
  regionId?: string;
3927
3951
  /**
3928
3952
  * @remarks
3929
- * 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.
3953
+ * 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.
3930
3954
  *
3931
- * For more information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
3955
+ * For information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
3932
3956
  *
3933
3957
  * @example
3934
3958
  * rg-acfm2pz25js****
@@ -3964,12 +3988,12 @@ export class DescribeRegionsResponseBody extends $tea.Model {
3964
3988
  code?: string;
3965
3989
  /**
3966
3990
  * @remarks
3967
- * The information about regions of the cloud assets that are supported by the Anti-DDoS Origin instance. The information includes region IDs and names.
3991
+ * The information about the regions of cloud assets that can be protected by Anti-DDoS Origin. The information includes region IDs and names.
3968
3992
  */
3969
3993
  regions?: DescribeRegionsResponseBodyRegions[];
3970
3994
  /**
3971
3995
  * @remarks
3972
- * The ID of the request.
3996
+ * The request ID.
3973
3997
  *
3974
3998
  * @example
3975
3999
  * F7CA8B4E-FB15-4336-A351-8DC29D66EA82
@@ -3977,10 +4001,10 @@ export class DescribeRegionsResponseBody extends $tea.Model {
3977
4001
  requestId?: string;
3978
4002
  /**
3979
4003
  * @remarks
3980
- * Indicates whether the request is successful. Valid values:
4004
+ * Indicates whether the request was successful. Valid values:
3981
4005
  *
3982
- * * **true**: The request is successful.
3983
- * * **false**: The request failed.
4006
+ * * **true**
4007
+ * * **false**
3984
4008
  *
3985
4009
  * @example
3986
4010
  * true
@@ -4746,11 +4770,26 @@ export class ListPolicyRequest extends $tea.Model {
4746
4770
  * 10
4747
4771
  */
4748
4772
  pageSize?: number;
4773
+ /**
4774
+ * @remarks
4775
+ * The service type. Valid values:
4776
+ *
4777
+ * * **ecs**: Elastic Compute Service (ECS).
4778
+ * * **slb**: Server Load Balancer (SLB).
4779
+ * * **eip**: Elastic IP Address (EIP).
4780
+ * * **gf-eip**: EIP with Anti-DDoS (Enhanced) enabled.
4781
+ *
4782
+ * > This parameter is available only if Type is set to `default`.
4783
+ *
4784
+ * @example
4785
+ * ecs
4786
+ */
4749
4787
  productType?: string;
4750
4788
  /**
4751
4789
  * @remarks
4752
4790
  * The type of the policy. Valid values:
4753
4791
  *
4792
+ * * **default**: the default mitigation policy.
4754
4793
  * * **l3**: IP-specific mitigation policies.
4755
4794
  * * **l4**: port-specific mitigation policies.
4756
4795
  *
@@ -5398,7 +5437,7 @@ export class ModifyPolicyRequest extends $tea.Model {
5398
5437
  actionType?: number;
5399
5438
  /**
5400
5439
  * @remarks
5401
- * The content of the policy.
5440
+ * The policy content.
5402
5441
  */
5403
5442
  content?: ModifyPolicyRequestContent;
5404
5443
  /**
@@ -5478,7 +5517,7 @@ export class ModifyPolicyShrinkRequest extends $tea.Model {
5478
5517
  actionType?: number;
5479
5518
  /**
5480
5519
  * @remarks
5481
- * The content of the policy.
5520
+ * The policy content.
5482
5521
  */
5483
5522
  contentShrink?: string;
5484
5523
  /**
@@ -5576,7 +5615,7 @@ export class ModifyPolicyResponse extends $tea.Model {
5576
5615
  export class ModifyPolicyContentRequest extends $tea.Model {
5577
5616
  /**
5578
5617
  * @remarks
5579
- * The content of the policy.
5618
+ * The policy content.
5580
5619
  */
5581
5620
  content?: ModifyPolicyContentRequestContent;
5582
5621
  /**
@@ -5621,7 +5660,7 @@ export class ModifyPolicyContentRequest extends $tea.Model {
5621
5660
  export class ModifyPolicyContentShrinkRequest extends $tea.Model {
5622
5661
  /**
5623
5662
  * @remarks
5624
- * The content of the policy.
5663
+ * The policy content.
5625
5664
  */
5626
5665
  contentShrink?: string;
5627
5666
  /**
@@ -6840,9 +6879,9 @@ export class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList ext
6840
6879
  * @remarks
6841
6880
  * The application scope of the instance. Valid values:
6842
6881
  *
6843
- * * **only_mainland_china**: regions in the Chinese mainland
6844
- * * **global**: all regions
6845
- * * **international_and_hmt**: regions outside the Chinese mainland
6882
+ * * **only_mainland_china**: regions in the Chinese mainland.
6883
+ * * **global**: all regions.
6884
+ * * **international_and_hmt**: regions outside the Chinese mainland.
6846
6885
  *
6847
6886
  * @example
6848
6887
  * global
@@ -6868,11 +6907,11 @@ export class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList ext
6868
6907
  * @remarks
6869
6908
  * The bill distribution by account. The JSON struct contains the following fields:
6870
6909
  *
6871
- * * **eipCnIpCount**: the number of EIPs with Anti-DDoS (Enhanced) enabled in the Chinese mainland
6872
- * * **eipOvIpCount**: the number of EIPs with Anti-DDoS (Enhanced) enabled outside the Chinese mainland
6873
- * * **memberUid**: the owner account
6874
- * * **standardAssetsCnIpCount**: the number of IP addresses of regular Alibaba Cloud services in the Chinese mainland
6875
- * * **standardAssetsOvIpCount**: the number of IP addresses of regular Alibaba Cloud services outside the Chinese mainland
6910
+ * * **eipCnIpCount**: the number of EIPs with Anti-DDoS (Enhanced) enabled in the Chinese mainland.
6911
+ * * **eipOvIpCount**: the number of EIPs with Anti-DDoS (Enhanced) enabled outside the Chinese mainland.
6912
+ * * **memberUid**: the owner account.
6913
+ * * **standardAssetsCnIpCount**: the number of IP addresses of regular Alibaba Cloud services in the Chinese mainland.
6914
+ * * **standardAssetsOvIpCount**: the number of IP addresses of regular Alibaba Cloud services outside the Chinese mainland.
6876
6915
  *
6877
6916
  * > If the memberUid field in the JSON struct is empty, the information about the current account is returned.
6878
6917
  *
@@ -6913,6 +6952,49 @@ export class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList ext
6913
6952
  }
6914
6953
  }
6915
6954
 
6955
+ export class DescribeDdosOriginInstanceBillResponseBodyMonthlySummaryList extends $tea.Model {
6956
+ enableDays?: number;
6957
+ flowCn?: number;
6958
+ flowIntl?: number;
6959
+ ipCountCn?: number;
6960
+ ipCountIntl?: number;
6961
+ memberUid?: string;
6962
+ standardAssetsFlowCn?: number;
6963
+ standardAssetsFlowIntl?: number;
6964
+ uid?: string;
6965
+ static names(): { [key: string]: string } {
6966
+ return {
6967
+ enableDays: 'EnableDays',
6968
+ flowCn: 'FlowCn',
6969
+ flowIntl: 'FlowIntl',
6970
+ ipCountCn: 'IpCountCn',
6971
+ ipCountIntl: 'IpCountIntl',
6972
+ memberUid: 'MemberUid',
6973
+ standardAssetsFlowCn: 'StandardAssetsFlowCn',
6974
+ standardAssetsFlowIntl: 'StandardAssetsFlowIntl',
6975
+ uid: 'Uid',
6976
+ };
6977
+ }
6978
+
6979
+ static types(): { [key: string]: any } {
6980
+ return {
6981
+ enableDays: 'number',
6982
+ flowCn: 'number',
6983
+ flowIntl: 'number',
6984
+ ipCountCn: 'number',
6985
+ ipCountIntl: 'number',
6986
+ memberUid: 'string',
6987
+ standardAssetsFlowCn: 'number',
6988
+ standardAssetsFlowIntl: 'number',
6989
+ uid: 'string',
6990
+ };
6991
+ }
6992
+
6993
+ constructor(map?: { [key: string]: any }) {
6994
+ super(map);
6995
+ }
6996
+ }
6997
+
6916
6998
  export class DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList extends $tea.Model {
6917
6999
  /**
6918
7000
  * @remarks
@@ -6985,7 +7067,7 @@ export class DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList ex
6985
7067
  export class DescribeInstanceListRequestTag extends $tea.Model {
6986
7068
  /**
6987
7069
  * @remarks
6988
- * The key of the tag that is added to the Anti-DDoS Origin instance to query.
7070
+ * The key of the tag that is added to the Anti-DDoS Origin instance.
6989
7071
  *
6990
7072
  * @example
6991
7073
  * test-key
@@ -6993,7 +7075,7 @@ export class DescribeInstanceListRequestTag extends $tea.Model {
6993
7075
  key?: string;
6994
7076
  /**
6995
7077
  * @remarks
6996
- * The value of the tag that is added to the Anti-DDoS Origin instance to query.
7078
+ * The value of the tag that is added to the Anti-DDoS Origin instance.
6997
7079
  *
6998
7080
  * @example
6999
7081
  * test-value
@@ -7019,6 +7101,10 @@ export class DescribeInstanceListRequestTag extends $tea.Model {
7019
7101
  }
7020
7102
 
7021
7103
  export class DescribeInstanceListResponseBodyInstanceListAutoProtectCondition extends $tea.Model {
7104
+ /**
7105
+ * @remarks
7106
+ * The events that trigger automatic association.
7107
+ */
7022
7108
  events?: string[];
7023
7109
  static names(): { [key: string]: string } {
7024
7110
  return {
@@ -7068,8 +7154,11 @@ export class DescribeInstanceListResponseBodyInstanceList extends $tea.Model {
7068
7154
  * @remarks
7069
7155
  * The type of the instance.
7070
7156
  *
7071
- * * **ddos_ddosorigin_public_cn**: Anti-DDoS Origin 2.0 (Pay-as-you-go) on the China site (aliyun.com)
7072
- * * **ddos_ddosorigin_public_intl**: Anti-DDoS Origin 2.0 (Pay-as-you-go) on the International site (alibabacloud.com)
7157
+ * * **ddos_ddosorigin_public_cn**: Anti-DDoS Origin 2.0 (Pay-as-you-go) on the China site (aliyun.com).
7158
+ * * **ddos_ddosorigin_public_intl**: Anti-DDoS Origin 2.0 (Pay-as-you-go) on the International site (alibabacloud.com).
7159
+ *
7160
+ * @example
7161
+ * ddos_ddosorigin_public_cn
7073
7162
  */
7074
7163
  commodityType?: string;
7075
7164
  /**
@@ -7080,6 +7169,9 @@ export class DescribeInstanceListResponseBodyInstanceList extends $tea.Model {
7080
7169
  * * **2**: The instance supports public IP addresses in regions in the Chinese mainland.
7081
7170
  * * **3**: The instance supports public IP addresses in regions outside the Chinese mainland.
7082
7171
  * * **4**: The instance supports public IP addresses in a region in or outside the Chinese mainland.
7172
+ *
7173
+ * @example
7174
+ * 1
7083
7175
  */
7084
7176
  coverageType?: number;
7085
7177
  /**
@@ -7219,6 +7311,25 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig extends $t
7219
7311
  * 0
7220
7312
  */
7221
7313
  bindIpCount?: number;
7314
+ /**
7315
+ * @remarks
7316
+ * The burstable clean bandwidth. Unit: Mbit/s.
7317
+ *
7318
+ * @example
7319
+ * 100
7320
+ */
7321
+ elasticBwMbps?: number;
7322
+ /**
7323
+ * @remarks
7324
+ * The metering method of burstable clean bandwidth. Valid values:
7325
+ *
7326
+ * * **month**: the monthly 95th percentile metering method.
7327
+ * * **day**: the daily 95th percentile metering method.
7328
+ *
7329
+ * @example
7330
+ * day
7331
+ */
7332
+ elasticBwMode?: string;
7222
7333
  /**
7223
7334
  * @remarks
7224
7335
  * The burstable protection bandwidth of each protected IP address. Unit: Gbit/s.
@@ -7253,7 +7364,7 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig extends $t
7253
7364
  normalBandwidth?: number;
7254
7365
  /**
7255
7366
  * @remarks
7256
- * The burstable protection bandwidth of the Anti-DDoS Origin Enterprise instance. Unit: Gbit/s.
7367
+ * The burstable protection bandwidth of the Anti-DDoS Origin instance. Unit: Gbit/s.
7257
7368
  *
7258
7369
  * @example
7259
7370
  * 300
@@ -7261,7 +7372,7 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig extends $t
7261
7372
  packAdvThre?: number;
7262
7373
  /**
7263
7374
  * @remarks
7264
- * The basic protection bandwidth of the Anti-DDoS Origin Enterprise instance. Unit: Gbit/s.
7375
+ * The basic protection bandwidth of the Anti-DDoS Origin instance. Unit: Gbit/s.
7265
7376
  *
7266
7377
  * @example
7267
7378
  * 20
@@ -7271,6 +7382,8 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig extends $t
7271
7382
  return {
7272
7383
  bandwidth: 'Bandwidth',
7273
7384
  bindIpCount: 'BindIpCount',
7385
+ elasticBwMbps: 'ElasticBwMbps',
7386
+ elasticBwMode: 'ElasticBwMode',
7274
7387
  ipAdvanceThre: 'IpAdvanceThre',
7275
7388
  ipBasicThre: 'IpBasicThre',
7276
7389
  ipSpec: 'IpSpec',
@@ -7284,6 +7397,8 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig extends $t
7284
7397
  return {
7285
7398
  bandwidth: 'number',
7286
7399
  bindIpCount: 'number',
7400
+ elasticBwMbps: 'number',
7401
+ elasticBwMode: 'string',
7287
7402
  ipAdvanceThre: 'number',
7288
7403
  ipBasicThre: 'number',
7289
7404
  ipSpec: 'number',
@@ -7325,7 +7440,17 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
7325
7440
  defenseTimesPercent?: number;
7326
7441
  /**
7327
7442
  * @remarks
7328
- * The region ID of the Anti-DDoS Origin Enterprise instance.
7443
+ * Indicates whether the instance is downgraded. Valid value:
7444
+ *
7445
+ * * **8**: The instance is downgraded due to excessive bandwidth usage.
7446
+ *
7447
+ * @example
7448
+ * 8
7449
+ */
7450
+ downgradeStatus?: number;
7451
+ /**
7452
+ * @remarks
7453
+ * The ID of the Anti-DDoS Origin instance.
7329
7454
  *
7330
7455
  * @example
7331
7456
  * ddosbgp-cn-n6w1r7nz****
@@ -7344,14 +7469,14 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
7344
7469
  isFullDefenseMode?: number;
7345
7470
  /**
7346
7471
  * @remarks
7347
- * The configurations of the Anti-DDoS Origin Enterprise instance, including the number of protected IP addresses and protection bandwidth.
7472
+ * The configurations of the Anti-DDoS Origin instance, including the number of protected IP addresses and protection bandwidth.
7348
7473
  */
7349
7474
  packConfig?: DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig;
7350
7475
  /**
7351
7476
  * @remarks
7352
- * The region ID of the Anti-DDoS Origin Enterprise instance.
7477
+ * The region ID of the Anti-DDoS Origin instance.
7353
7478
  *
7354
- * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) operation to query the name of the region.
7479
+ * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) operation to query the name of the region.
7355
7480
  *
7356
7481
  * @example
7357
7482
  * cn-hangzhou
@@ -7370,6 +7495,7 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
7370
7495
  availableDefenseTimes: 'AvailableDefenseTimes',
7371
7496
  availableDeleteBlackholeCount: 'AvailableDeleteBlackholeCount',
7372
7497
  defenseTimesPercent: 'DefenseTimesPercent',
7498
+ downgradeStatus: 'DowngradeStatus',
7373
7499
  instanceId: 'InstanceId',
7374
7500
  isFullDefenseMode: 'IsFullDefenseMode',
7375
7501
  packConfig: 'PackConfig',
@@ -7383,6 +7509,7 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
7383
7509
  availableDefenseTimes: 'number',
7384
7510
  availableDeleteBlackholeCount: 'string',
7385
7511
  defenseTimesPercent: 'number',
7512
+ downgradeStatus: 'number',
7386
7513
  instanceId: 'string',
7387
7514
  isFullDefenseMode: 'number',
7388
7515
  packConfig: DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig,
@@ -7855,7 +7982,7 @@ export class DescribeRdMemberListResponseBodyMemberList extends $tea.Model {
7855
7982
  export class DescribeRegionsResponseBodyRegions extends $tea.Model {
7856
7983
  /**
7857
7984
  * @remarks
7858
- * The English name of the region where the cloud assets reside.
7985
+ * The English name of the region.
7859
7986
  *
7860
7987
  * @example
7861
7988
  * China (Hangzhou)
@@ -7871,7 +7998,10 @@ export class DescribeRegionsResponseBodyRegions extends $tea.Model {
7871
7998
  regionId?: string;
7872
7999
  /**
7873
8000
  * @remarks
7874
- * The name of the region where the cloud assets reside.
8001
+ * The Chinese name of the region.
8002
+ *
8003
+ * @example
8004
+ * 华东1(杭州)
7875
8005
  */
7876
8006
  regionName?: string;
7877
8007
  static names(): { [key: string]: string } {
@@ -8812,11 +8942,19 @@ export class ListPolicyResponseBodyPolicyList extends $tea.Model {
8812
8942
  * test**
8813
8943
  */
8814
8944
  name?: string;
8945
+ /**
8946
+ * @remarks
8947
+ * The remarks of the policy.
8948
+ *
8949
+ * @example
8950
+ * test
8951
+ */
8815
8952
  remark?: string;
8816
8953
  /**
8817
8954
  * @remarks
8818
8955
  * The type of the policy. Valid values:
8819
8956
  *
8957
+ * * **default**: the default mitigation policy.
8820
8958
  * * **l3**: IP-specific mitigation policies.
8821
8959
  * * **l4**: port-specific mitigation policies.
8822
8960
  *
@@ -8935,6 +9073,13 @@ export class ListPolicyAttachmentResponseBodyAttachmentList extends $tea.Model {
8935
9073
  * test**
8936
9074
  */
8937
9075
  policyName?: string;
9076
+ /**
9077
+ * @remarks
9078
+ * The description of the policy.
9079
+ *
9080
+ * @example
9081
+ * test
9082
+ */
8938
9083
  policyRemark?: string;
8939
9084
  /**
8940
9085
  * @remarks
@@ -9240,7 +9385,7 @@ export class ModifyPolicyRequestContentFingerPrintRuleList extends $tea.Model {
9240
9385
  payloadBytes?: string;
9241
9386
  /**
9242
9387
  * @remarks
9243
- * The type of the protocol. Valid value:
9388
+ * The type of the protocol. Valid values:
9244
9389
  *
9245
9390
  * * **tcp**
9246
9391
  * * **udp**
@@ -9526,7 +9671,7 @@ export class ModifyPolicyRequestContentPortRuleList extends $tea.Model {
9526
9671
  id?: string;
9527
9672
  /**
9528
9673
  * @remarks
9529
- * The action triggered if the rule is matched. Valid value:
9674
+ * The action triggered if the rule is matched. Valid values:
9530
9675
  *
9531
9676
  * * **drop**: The traffic is discarded.
9532
9677
  *
@@ -9647,9 +9792,9 @@ export class ModifyPolicyRequestContentSourceBlockList extends $tea.Model {
9647
9792
  * @remarks
9648
9793
  * The type of the source rate limit. Valid values:
9649
9794
  *
9650
- * * **3**: the PPS limit on source IP addresses.
9795
+ * * **3**: the pps limit on source IP addresses.
9651
9796
  * * **4**: the bandwidth limit on source IP addresses.
9652
- * * **5**: the PPS limit on source SYN packets.
9797
+ * * **5**: the pps limit on source SYN packets.
9653
9798
  * * **6**: the bandwidth limit on source SYN packets.
9654
9799
  *
9655
9800
  * This parameter is required.
@@ -9692,7 +9837,7 @@ export class ModifyPolicyRequestContentSourceLimit extends $tea.Model {
9692
9837
  bps?: number;
9693
9838
  /**
9694
9839
  * @remarks
9695
- * The packets per second (PPS) limit on source IP addresses.
9840
+ * The packets per second (pps) limit on source IP addresses.
9696
9841
  *
9697
9842
  * @example
9698
9843
  * 64
@@ -9708,7 +9853,7 @@ export class ModifyPolicyRequestContentSourceLimit extends $tea.Model {
9708
9853
  synBps?: number;
9709
9854
  /**
9710
9855
  * @remarks
9711
- * The PPS limit on source SYN packets.
9856
+ * The pps limit on source SYN packets.
9712
9857
  *
9713
9858
  * @example
9714
9859
  * 64
@@ -10252,7 +10397,7 @@ export class ModifyPolicyContentRequestContentPortRuleList extends $tea.Model {
10252
10397
  id?: string;
10253
10398
  /**
10254
10399
  * @remarks
10255
- * The action triggered if the rule is matched. Valid value:
10400
+ * The action triggered if the rule is matched. Valid values:
10256
10401
  *
10257
10402
  * * **drop**: The traffic is discarded.
10258
10403
  *
@@ -10373,9 +10518,9 @@ export class ModifyPolicyContentRequestContentSourceBlockList extends $tea.Model
10373
10518
  * @remarks
10374
10519
  * The type of the source rate limit. Valid values:
10375
10520
  *
10376
- * * **3**: the PPS limit on source IP addresses.
10521
+ * * **3**: the pps limit on source IP addresses.
10377
10522
  * * **4**: the bandwidth limit on source IP addresses.
10378
- * * **5**: the PPS limit on source SYN packets.
10523
+ * * **5**: the pps limit on source SYN packets.
10379
10524
  * * **6**: the bandwidth limit on source SYN packets.
10380
10525
  *
10381
10526
  * This parameter is required.
@@ -10418,7 +10563,7 @@ export class ModifyPolicyContentRequestContentSourceLimit extends $tea.Model {
10418
10563
  bps?: number;
10419
10564
  /**
10420
10565
  * @remarks
10421
- * The packets per second (PPS) limit on source IP addresses.
10566
+ * The packets per second (pps) limit on source IP addresses.
10422
10567
  *
10423
10568
  * @example
10424
10569
  * 64
@@ -10434,7 +10579,7 @@ export class ModifyPolicyContentRequestContentSourceLimit extends $tea.Model {
10434
10579
  synBps?: number;
10435
10580
  /**
10436
10581
  * @remarks
10437
- * The PPS limit on source SYN packets.
10582
+ * The pps limit on source SYN packets.
10438
10583
  *
10439
10584
  * @example
10440
10585
  * 64
@@ -10853,7 +10998,7 @@ export default class Client extends OpenApi {
10853
10998
  }
10854
10999
 
10855
11000
  /**
10856
- * Adds IP addresses to an Anti-DDoS Origin Enterprise instance.
11001
+ * Adds IP addresses to an Anti-DDoS Origin instance.
10857
11002
  *
10858
11003
  * @param request - AddIpRequest
10859
11004
  * @param runtime - runtime options for this request RuntimeOptions
@@ -10896,7 +11041,7 @@ export default class Client extends OpenApi {
10896
11041
  }
10897
11042
 
10898
11043
  /**
10899
- * Adds IP addresses to an Anti-DDoS Origin Enterprise instance.
11044
+ * Adds IP addresses to an Anti-DDoS Origin instance.
10900
11045
  *
10901
11046
  * @param request - AddIpRequest
10902
11047
  * @returns AddIpResponse
@@ -11447,7 +11592,7 @@ export default class Client extends OpenApi {
11447
11592
  }
11448
11593
 
11449
11594
  /**
11450
- * Removes specific IP addresses from an Anti-DDoS Origin Enterprise instance.
11595
+ * Removes specific IP addresses from an Anti-DDoS Origin instance.
11451
11596
  *
11452
11597
  * @remarks
11453
11598
  * The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
@@ -11493,7 +11638,7 @@ export default class Client extends OpenApi {
11493
11638
  }
11494
11639
 
11495
11640
  /**
11496
- * Removes specific IP addresses from an Anti-DDoS Origin Enterprise instance.
11641
+ * Removes specific IP addresses from an Anti-DDoS Origin instance.
11497
11642
  *
11498
11643
  * @remarks
11499
11644
  * The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
@@ -12063,6 +12208,8 @@ export default class Client extends OpenApi {
12063
12208
  }
12064
12209
 
12065
12210
  /**
12211
+ * Queries the specifications of a specific Anti-DDoS Origin instance.
12212
+ *
12066
12213
  * @param request - DescribeInstanceSpecsRequest
12067
12214
  * @param runtime - runtime options for this request RuntimeOptions
12068
12215
  * @returns DescribeInstanceSpecsResponse
@@ -12100,6 +12247,8 @@ export default class Client extends OpenApi {
12100
12247
  }
12101
12248
 
12102
12249
  /**
12250
+ * Queries the specifications of a specific Anti-DDoS Origin instance.
12251
+ *
12103
12252
  * @param request - DescribeInstanceSpecsRequest
12104
12253
  * @returns DescribeInstanceSpecsResponse
12105
12254
  */
@@ -12481,7 +12630,7 @@ export default class Client extends OpenApi {
12481
12630
  }
12482
12631
 
12483
12632
  /**
12484
- * Queries the regions of cloud assets that are supported by an Anti-DDoS Origin instance.
12633
+ * Queries the regions of assets that can be protected by Anti-DDoS Origin Enterprise in a specific region.
12485
12634
  *
12486
12635
  * @param request - DescribeRegionsRequest
12487
12636
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12516,7 +12665,7 @@ export default class Client extends OpenApi {
12516
12665
  }
12517
12666
 
12518
12667
  /**
12519
- * Queries the regions of cloud assets that are supported by an Anti-DDoS Origin instance.
12668
+ * Queries the regions of assets that can be protected by Anti-DDoS Origin Enterprise in a specific region.
12520
12669
  *
12521
12670
  * @param request - DescribeRegionsRequest
12522
12671
  * @returns DescribeRegionsResponse