@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/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,16 @@ 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
+ */
2353
2363
  assetStatus?: number;
2354
2364
  /**
2355
2365
  * @remarks
@@ -2400,15 +2410,16 @@ export class DescribeDdosOriginInstanceBillResponseBody extends $tea.Model {
2400
2410
  * @remarks
2401
2411
  * The IP address distribution. The JSON struct contains the following fields:
2402
2412
  *
2403
- * * **eipCnIpCount**: the number of EIPs with Anti-DDoS (Enhanced) enabled in the Chinese mainland
2404
- * * **eipOvIpCount**: the number of EIPs with Anti-DDoS (Enhanced) enabled outside the Chinese mainland
2405
- * * **standardAssetsCnIpCount**: the number of IP addresses of regular Alibaba Cloud services in the Chinese mainland
2406
- * * **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.
2407
2417
  *
2408
2418
  * @example
2409
2419
  * {\\"eipCnIpCount\\":6,\\"eipOvIpCount\\":17,\\"standardAssetsCnIpCount\\":2,\\"standardAssetsOvIpCount\\":0}
2410
2420
  */
2411
2421
  ipInfo?: string;
2422
+ monthlySummaryList?: DescribeDdosOriginInstanceBillResponseBodyMonthlySummaryList[];
2412
2423
  /**
2413
2424
  * @remarks
2414
2425
  * The request ID.
@@ -2484,6 +2495,7 @@ export class DescribeDdosOriginInstanceBillResponseBody extends $tea.Model {
2484
2495
  ipCount: 'IpCount',
2485
2496
  ipCountOrFunctionList: 'IpCountOrFunctionList',
2486
2497
  ipInfo: 'IpInfo',
2498
+ monthlySummaryList: 'MonthlySummaryList',
2487
2499
  requestId: 'RequestId',
2488
2500
  standardAssetsFlowList: 'StandardAssetsFlowList',
2489
2501
  standardAssetsFlowRegion: 'StandardAssetsFlowRegion',
@@ -2505,6 +2517,7 @@ export class DescribeDdosOriginInstanceBillResponseBody extends $tea.Model {
2505
2517
  ipCount: 'number',
2506
2518
  ipCountOrFunctionList: { 'type': 'array', 'itemType': DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList },
2507
2519
  ipInfo: 'string',
2520
+ monthlySummaryList: { 'type': 'array', 'itemType': DescribeDdosOriginInstanceBillResponseBodyMonthlySummaryList },
2508
2521
  requestId: 'string',
2509
2522
  standardAssetsFlowList: { 'type': 'array', 'itemType': DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList },
2510
2523
  standardAssetsFlowRegion: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
@@ -2677,6 +2690,10 @@ export class DescribeInstanceListRequest extends $tea.Model {
2677
2690
  * 0
2678
2691
  */
2679
2692
  instanceType?: string;
2693
+ /**
2694
+ * @remarks
2695
+ * The mitigation plan of the Anti-DDoS Origin instance.
2696
+ */
2680
2697
  instanceTypeList?: string[];
2681
2698
  /**
2682
2699
  * @remarks
@@ -2766,6 +2783,10 @@ export class DescribeInstanceListRequest extends $tea.Model {
2766
2783
  * rg-acfm2pz25js****
2767
2784
  */
2768
2785
  resourceGroupId?: string;
2786
+ /**
2787
+ * @remarks
2788
+ * The tags that are added to the Anti-DDoS Origin instance.
2789
+ */
2769
2790
  tag?: DescribeInstanceListRequestTag[];
2770
2791
  static names(): { [key: string]: string } {
2771
2792
  return {
@@ -2879,9 +2900,9 @@ export class DescribeInstanceListResponse extends $tea.Model {
2879
2900
  export class DescribeInstanceSpecsRequest extends $tea.Model {
2880
2901
  /**
2881
2902
  * @remarks
2882
- * 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 (,).
2883
2904
  *
2884
- * > 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.
2885
2906
  *
2886
2907
  * This parameter is required.
2887
2908
  *
@@ -2891,9 +2912,9 @@ export class DescribeInstanceSpecsRequest extends $tea.Model {
2891
2912
  instanceIdList?: string;
2892
2913
  /**
2893
2914
  * @remarks
2894
- * 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.
2895
2916
  *
2896
- * > 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.
2897
2918
  *
2898
2919
  * @example
2899
2920
  * cn-hangzhou
@@ -2901,9 +2922,9 @@ export class DescribeInstanceSpecsRequest extends $tea.Model {
2901
2922
  regionId?: string;
2902
2923
  /**
2903
2924
  * @remarks
2904
- * 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.
2905
2926
  *
2906
- * 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).
2907
2928
  *
2908
2929
  * @example
2909
2930
  * rg-acfm2pz25js****
@@ -2933,7 +2954,7 @@ export class DescribeInstanceSpecsRequest extends $tea.Model {
2933
2954
  export class DescribeInstanceSpecsResponseBody extends $tea.Model {
2934
2955
  /**
2935
2956
  * @remarks
2936
- * 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.
2937
2958
  */
2938
2959
  instanceSpecs?: DescribeInstanceSpecsResponseBodyInstanceSpecs[];
2939
2960
  /**
@@ -3919,9 +3940,9 @@ export class DescribeRdStatusResponse extends $tea.Model {
3919
3940
  export class DescribeRegionsRequest extends $tea.Model {
3920
3941
  /**
3921
3942
  * @remarks
3922
- * 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.
3923
3944
  *
3924
- * 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).
3925
3946
  *
3926
3947
  * @example
3927
3948
  * cn-hangzhou
@@ -3929,9 +3950,9 @@ export class DescribeRegionsRequest extends $tea.Model {
3929
3950
  regionId?: string;
3930
3951
  /**
3931
3952
  * @remarks
3932
- * 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.
3933
3954
  *
3934
- * 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).
3935
3956
  *
3936
3957
  * @example
3937
3958
  * rg-acfm2pz25js****
@@ -3967,12 +3988,12 @@ export class DescribeRegionsResponseBody extends $tea.Model {
3967
3988
  code?: string;
3968
3989
  /**
3969
3990
  * @remarks
3970
- * 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.
3971
3992
  */
3972
3993
  regions?: DescribeRegionsResponseBodyRegions[];
3973
3994
  /**
3974
3995
  * @remarks
3975
- * The ID of the request.
3996
+ * The request ID.
3976
3997
  *
3977
3998
  * @example
3978
3999
  * F7CA8B4E-FB15-4336-A351-8DC29D66EA82
@@ -3980,10 +4001,10 @@ export class DescribeRegionsResponseBody extends $tea.Model {
3980
4001
  requestId?: string;
3981
4002
  /**
3982
4003
  * @remarks
3983
- * Indicates whether the request is successful. Valid values:
4004
+ * Indicates whether the request was successful. Valid values:
3984
4005
  *
3985
- * * **true**: The request is successful.
3986
- * * **false**: The request failed.
4006
+ * * **true**
4007
+ * * **false**
3987
4008
  *
3988
4009
  * @example
3989
4010
  * true
@@ -4749,11 +4770,26 @@ export class ListPolicyRequest extends $tea.Model {
4749
4770
  * 10
4750
4771
  */
4751
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
+ */
4752
4787
  productType?: string;
4753
4788
  /**
4754
4789
  * @remarks
4755
4790
  * The type of the policy. Valid values:
4756
4791
  *
4792
+ * * **default**: the default mitigation policy.
4757
4793
  * * **l3**: IP-specific mitigation policies.
4758
4794
  * * **l4**: port-specific mitigation policies.
4759
4795
  *
@@ -5401,7 +5437,7 @@ export class ModifyPolicyRequest extends $tea.Model {
5401
5437
  actionType?: number;
5402
5438
  /**
5403
5439
  * @remarks
5404
- * The content of the policy.
5440
+ * The policy content.
5405
5441
  */
5406
5442
  content?: ModifyPolicyRequestContent;
5407
5443
  /**
@@ -5481,7 +5517,7 @@ export class ModifyPolicyShrinkRequest extends $tea.Model {
5481
5517
  actionType?: number;
5482
5518
  /**
5483
5519
  * @remarks
5484
- * The content of the policy.
5520
+ * The policy content.
5485
5521
  */
5486
5522
  contentShrink?: string;
5487
5523
  /**
@@ -5579,7 +5615,7 @@ export class ModifyPolicyResponse extends $tea.Model {
5579
5615
  export class ModifyPolicyContentRequest extends $tea.Model {
5580
5616
  /**
5581
5617
  * @remarks
5582
- * The content of the policy.
5618
+ * The policy content.
5583
5619
  */
5584
5620
  content?: ModifyPolicyContentRequestContent;
5585
5621
  /**
@@ -5624,7 +5660,7 @@ export class ModifyPolicyContentRequest extends $tea.Model {
5624
5660
  export class ModifyPolicyContentShrinkRequest extends $tea.Model {
5625
5661
  /**
5626
5662
  * @remarks
5627
- * The content of the policy.
5663
+ * The policy content.
5628
5664
  */
5629
5665
  contentShrink?: string;
5630
5666
  /**
@@ -6843,9 +6879,9 @@ export class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList ext
6843
6879
  * @remarks
6844
6880
  * The application scope of the instance. Valid values:
6845
6881
  *
6846
- * * **only_mainland_china**: regions in the Chinese mainland
6847
- * * **global**: all regions
6848
- * * **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.
6849
6885
  *
6850
6886
  * @example
6851
6887
  * global
@@ -6871,11 +6907,11 @@ export class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList ext
6871
6907
  * @remarks
6872
6908
  * The bill distribution by account. The JSON struct contains the following fields:
6873
6909
  *
6874
- * * **eipCnIpCount**: the number of EIPs with Anti-DDoS (Enhanced) enabled in the Chinese mainland
6875
- * * **eipOvIpCount**: the number of EIPs with Anti-DDoS (Enhanced) enabled outside the Chinese mainland
6876
- * * **memberUid**: the owner account
6877
- * * **standardAssetsCnIpCount**: the number of IP addresses of regular Alibaba Cloud services in the Chinese mainland
6878
- * * **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.
6879
6915
  *
6880
6916
  * > If the memberUid field in the JSON struct is empty, the information about the current account is returned.
6881
6917
  *
@@ -6916,6 +6952,49 @@ export class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList ext
6916
6952
  }
6917
6953
  }
6918
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
+
6919
6998
  export class DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList extends $tea.Model {
6920
6999
  /**
6921
7000
  * @remarks
@@ -6988,7 +7067,7 @@ export class DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList ex
6988
7067
  export class DescribeInstanceListRequestTag extends $tea.Model {
6989
7068
  /**
6990
7069
  * @remarks
6991
- * 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.
6992
7071
  *
6993
7072
  * @example
6994
7073
  * test-key
@@ -6996,7 +7075,7 @@ export class DescribeInstanceListRequestTag extends $tea.Model {
6996
7075
  key?: string;
6997
7076
  /**
6998
7077
  * @remarks
6999
- * 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.
7000
7079
  *
7001
7080
  * @example
7002
7081
  * test-value
@@ -7022,6 +7101,10 @@ export class DescribeInstanceListRequestTag extends $tea.Model {
7022
7101
  }
7023
7102
 
7024
7103
  export class DescribeInstanceListResponseBodyInstanceListAutoProtectCondition extends $tea.Model {
7104
+ /**
7105
+ * @remarks
7106
+ * The events that trigger automatic association.
7107
+ */
7025
7108
  events?: string[];
7026
7109
  static names(): { [key: string]: string } {
7027
7110
  return {
@@ -7071,8 +7154,11 @@ export class DescribeInstanceListResponseBodyInstanceList extends $tea.Model {
7071
7154
  * @remarks
7072
7155
  * The type of the instance.
7073
7156
  *
7074
- * * **ddos_ddosorigin_public_cn**: Anti-DDoS Origin 2.0 (Pay-as-you-go) on the China site (aliyun.com)
7075
- * * **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
7076
7162
  */
7077
7163
  commodityType?: string;
7078
7164
  /**
@@ -7083,6 +7169,9 @@ export class DescribeInstanceListResponseBodyInstanceList extends $tea.Model {
7083
7169
  * * **2**: The instance supports public IP addresses in regions in the Chinese mainland.
7084
7170
  * * **3**: The instance supports public IP addresses in regions outside the Chinese mainland.
7085
7171
  * * **4**: The instance supports public IP addresses in a region in or outside the Chinese mainland.
7172
+ *
7173
+ * @example
7174
+ * 1
7086
7175
  */
7087
7176
  coverageType?: number;
7088
7177
  /**
@@ -7222,6 +7311,25 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig extends $t
7222
7311
  * 0
7223
7312
  */
7224
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;
7225
7333
  /**
7226
7334
  * @remarks
7227
7335
  * The burstable protection bandwidth of each protected IP address. Unit: Gbit/s.
@@ -7256,7 +7364,7 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig extends $t
7256
7364
  normalBandwidth?: number;
7257
7365
  /**
7258
7366
  * @remarks
7259
- * 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.
7260
7368
  *
7261
7369
  * @example
7262
7370
  * 300
@@ -7264,7 +7372,7 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig extends $t
7264
7372
  packAdvThre?: number;
7265
7373
  /**
7266
7374
  * @remarks
7267
- * 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.
7268
7376
  *
7269
7377
  * @example
7270
7378
  * 20
@@ -7274,6 +7382,8 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig extends $t
7274
7382
  return {
7275
7383
  bandwidth: 'Bandwidth',
7276
7384
  bindIpCount: 'BindIpCount',
7385
+ elasticBwMbps: 'ElasticBwMbps',
7386
+ elasticBwMode: 'ElasticBwMode',
7277
7387
  ipAdvanceThre: 'IpAdvanceThre',
7278
7388
  ipBasicThre: 'IpBasicThre',
7279
7389
  ipSpec: 'IpSpec',
@@ -7287,6 +7397,8 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig extends $t
7287
7397
  return {
7288
7398
  bandwidth: 'number',
7289
7399
  bindIpCount: 'number',
7400
+ elasticBwMbps: 'number',
7401
+ elasticBwMode: 'string',
7290
7402
  ipAdvanceThre: 'number',
7291
7403
  ipBasicThre: 'number',
7292
7404
  ipSpec: 'number',
@@ -7328,7 +7440,17 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
7328
7440
  defenseTimesPercent?: number;
7329
7441
  /**
7330
7442
  * @remarks
7331
- * 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.
7332
7454
  *
7333
7455
  * @example
7334
7456
  * ddosbgp-cn-n6w1r7nz****
@@ -7347,14 +7469,14 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
7347
7469
  isFullDefenseMode?: number;
7348
7470
  /**
7349
7471
  * @remarks
7350
- * 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.
7351
7473
  */
7352
7474
  packConfig?: DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig;
7353
7475
  /**
7354
7476
  * @remarks
7355
- * The region ID of the Anti-DDoS Origin Enterprise instance.
7477
+ * The region ID of the Anti-DDoS Origin instance.
7356
7478
  *
7357
- * > 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.
7358
7480
  *
7359
7481
  * @example
7360
7482
  * cn-hangzhou
@@ -7373,6 +7495,7 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
7373
7495
  availableDefenseTimes: 'AvailableDefenseTimes',
7374
7496
  availableDeleteBlackholeCount: 'AvailableDeleteBlackholeCount',
7375
7497
  defenseTimesPercent: 'DefenseTimesPercent',
7498
+ downgradeStatus: 'DowngradeStatus',
7376
7499
  instanceId: 'InstanceId',
7377
7500
  isFullDefenseMode: 'IsFullDefenseMode',
7378
7501
  packConfig: 'PackConfig',
@@ -7386,6 +7509,7 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
7386
7509
  availableDefenseTimes: 'number',
7387
7510
  availableDeleteBlackholeCount: 'string',
7388
7511
  defenseTimesPercent: 'number',
7512
+ downgradeStatus: 'number',
7389
7513
  instanceId: 'string',
7390
7514
  isFullDefenseMode: 'number',
7391
7515
  packConfig: DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig,
@@ -7858,7 +7982,7 @@ export class DescribeRdMemberListResponseBodyMemberList extends $tea.Model {
7858
7982
  export class DescribeRegionsResponseBodyRegions extends $tea.Model {
7859
7983
  /**
7860
7984
  * @remarks
7861
- * The English name of the region where the cloud assets reside.
7985
+ * The English name of the region.
7862
7986
  *
7863
7987
  * @example
7864
7988
  * China (Hangzhou)
@@ -7874,7 +7998,10 @@ export class DescribeRegionsResponseBodyRegions extends $tea.Model {
7874
7998
  regionId?: string;
7875
7999
  /**
7876
8000
  * @remarks
7877
- * The name of the region where the cloud assets reside.
8001
+ * The Chinese name of the region.
8002
+ *
8003
+ * @example
8004
+ * 华东1(杭州)
7878
8005
  */
7879
8006
  regionName?: string;
7880
8007
  static names(): { [key: string]: string } {
@@ -8815,11 +8942,19 @@ export class ListPolicyResponseBodyPolicyList extends $tea.Model {
8815
8942
  * test**
8816
8943
  */
8817
8944
  name?: string;
8945
+ /**
8946
+ * @remarks
8947
+ * The remarks of the policy.
8948
+ *
8949
+ * @example
8950
+ * test
8951
+ */
8818
8952
  remark?: string;
8819
8953
  /**
8820
8954
  * @remarks
8821
8955
  * The type of the policy. Valid values:
8822
8956
  *
8957
+ * * **default**: the default mitigation policy.
8823
8958
  * * **l3**: IP-specific mitigation policies.
8824
8959
  * * **l4**: port-specific mitigation policies.
8825
8960
  *
@@ -8938,6 +9073,13 @@ export class ListPolicyAttachmentResponseBodyAttachmentList extends $tea.Model {
8938
9073
  * test**
8939
9074
  */
8940
9075
  policyName?: string;
9076
+ /**
9077
+ * @remarks
9078
+ * The description of the policy.
9079
+ *
9080
+ * @example
9081
+ * test
9082
+ */
8941
9083
  policyRemark?: string;
8942
9084
  /**
8943
9085
  * @remarks
@@ -9243,7 +9385,7 @@ export class ModifyPolicyRequestContentFingerPrintRuleList extends $tea.Model {
9243
9385
  payloadBytes?: string;
9244
9386
  /**
9245
9387
  * @remarks
9246
- * The type of the protocol. Valid value:
9388
+ * The type of the protocol. Valid values:
9247
9389
  *
9248
9390
  * * **tcp**
9249
9391
  * * **udp**
@@ -9529,7 +9671,7 @@ export class ModifyPolicyRequestContentPortRuleList extends $tea.Model {
9529
9671
  id?: string;
9530
9672
  /**
9531
9673
  * @remarks
9532
- * The action triggered if the rule is matched. Valid value:
9674
+ * The action triggered if the rule is matched. Valid values:
9533
9675
  *
9534
9676
  * * **drop**: The traffic is discarded.
9535
9677
  *
@@ -9650,9 +9792,9 @@ export class ModifyPolicyRequestContentSourceBlockList extends $tea.Model {
9650
9792
  * @remarks
9651
9793
  * The type of the source rate limit. Valid values:
9652
9794
  *
9653
- * * **3**: the PPS limit on source IP addresses.
9795
+ * * **3**: the pps limit on source IP addresses.
9654
9796
  * * **4**: the bandwidth limit on source IP addresses.
9655
- * * **5**: the PPS limit on source SYN packets.
9797
+ * * **5**: the pps limit on source SYN packets.
9656
9798
  * * **6**: the bandwidth limit on source SYN packets.
9657
9799
  *
9658
9800
  * This parameter is required.
@@ -9695,7 +9837,7 @@ export class ModifyPolicyRequestContentSourceLimit extends $tea.Model {
9695
9837
  bps?: number;
9696
9838
  /**
9697
9839
  * @remarks
9698
- * The packets per second (PPS) limit on source IP addresses.
9840
+ * The packets per second (pps) limit on source IP addresses.
9699
9841
  *
9700
9842
  * @example
9701
9843
  * 64
@@ -9711,7 +9853,7 @@ export class ModifyPolicyRequestContentSourceLimit extends $tea.Model {
9711
9853
  synBps?: number;
9712
9854
  /**
9713
9855
  * @remarks
9714
- * The PPS limit on source SYN packets.
9856
+ * The pps limit on source SYN packets.
9715
9857
  *
9716
9858
  * @example
9717
9859
  * 64
@@ -10255,7 +10397,7 @@ export class ModifyPolicyContentRequestContentPortRuleList extends $tea.Model {
10255
10397
  id?: string;
10256
10398
  /**
10257
10399
  * @remarks
10258
- * The action triggered if the rule is matched. Valid value:
10400
+ * The action triggered if the rule is matched. Valid values:
10259
10401
  *
10260
10402
  * * **drop**: The traffic is discarded.
10261
10403
  *
@@ -10376,9 +10518,9 @@ export class ModifyPolicyContentRequestContentSourceBlockList extends $tea.Model
10376
10518
  * @remarks
10377
10519
  * The type of the source rate limit. Valid values:
10378
10520
  *
10379
- * * **3**: the PPS limit on source IP addresses.
10521
+ * * **3**: the pps limit on source IP addresses.
10380
10522
  * * **4**: the bandwidth limit on source IP addresses.
10381
- * * **5**: the PPS limit on source SYN packets.
10523
+ * * **5**: the pps limit on source SYN packets.
10382
10524
  * * **6**: the bandwidth limit on source SYN packets.
10383
10525
  *
10384
10526
  * This parameter is required.
@@ -10421,7 +10563,7 @@ export class ModifyPolicyContentRequestContentSourceLimit extends $tea.Model {
10421
10563
  bps?: number;
10422
10564
  /**
10423
10565
  * @remarks
10424
- * The packets per second (PPS) limit on source IP addresses.
10566
+ * The packets per second (pps) limit on source IP addresses.
10425
10567
  *
10426
10568
  * @example
10427
10569
  * 64
@@ -10437,7 +10579,7 @@ export class ModifyPolicyContentRequestContentSourceLimit extends $tea.Model {
10437
10579
  synBps?: number;
10438
10580
  /**
10439
10581
  * @remarks
10440
- * The PPS limit on source SYN packets.
10582
+ * The pps limit on source SYN packets.
10441
10583
  *
10442
10584
  * @example
10443
10585
  * 64
@@ -10856,7 +10998,7 @@ export default class Client extends OpenApi {
10856
10998
  }
10857
10999
 
10858
11000
  /**
10859
- * Adds IP addresses to an Anti-DDoS Origin Enterprise instance.
11001
+ * Adds IP addresses to an Anti-DDoS Origin instance.
10860
11002
  *
10861
11003
  * @param request - AddIpRequest
10862
11004
  * @param runtime - runtime options for this request RuntimeOptions
@@ -10899,7 +11041,7 @@ export default class Client extends OpenApi {
10899
11041
  }
10900
11042
 
10901
11043
  /**
10902
- * Adds IP addresses to an Anti-DDoS Origin Enterprise instance.
11044
+ * Adds IP addresses to an Anti-DDoS Origin instance.
10903
11045
  *
10904
11046
  * @param request - AddIpRequest
10905
11047
  * @returns AddIpResponse
@@ -11450,7 +11592,7 @@ export default class Client extends OpenApi {
11450
11592
  }
11451
11593
 
11452
11594
  /**
11453
- * Removes specific IP addresses from an Anti-DDoS Origin Enterprise instance.
11595
+ * Removes specific IP addresses from an Anti-DDoS Origin instance.
11454
11596
  *
11455
11597
  * @remarks
11456
11598
  * The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
@@ -11496,7 +11638,7 @@ export default class Client extends OpenApi {
11496
11638
  }
11497
11639
 
11498
11640
  /**
11499
- * Removes specific IP addresses from an Anti-DDoS Origin Enterprise instance.
11641
+ * Removes specific IP addresses from an Anti-DDoS Origin instance.
11500
11642
  *
11501
11643
  * @remarks
11502
11644
  * The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
@@ -12066,6 +12208,8 @@ export default class Client extends OpenApi {
12066
12208
  }
12067
12209
 
12068
12210
  /**
12211
+ * Queries the specifications of a specific Anti-DDoS Origin instance.
12212
+ *
12069
12213
  * @param request - DescribeInstanceSpecsRequest
12070
12214
  * @param runtime - runtime options for this request RuntimeOptions
12071
12215
  * @returns DescribeInstanceSpecsResponse
@@ -12103,6 +12247,8 @@ export default class Client extends OpenApi {
12103
12247
  }
12104
12248
 
12105
12249
  /**
12250
+ * Queries the specifications of a specific Anti-DDoS Origin instance.
12251
+ *
12106
12252
  * @param request - DescribeInstanceSpecsRequest
12107
12253
  * @returns DescribeInstanceSpecsResponse
12108
12254
  */
@@ -12484,7 +12630,7 @@ export default class Client extends OpenApi {
12484
12630
  }
12485
12631
 
12486
12632
  /**
12487
- * 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.
12488
12634
  *
12489
12635
  * @param request - DescribeRegionsRequest
12490
12636
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12519,7 +12665,7 @@ export default class Client extends OpenApi {
12519
12665
  }
12520
12666
 
12521
12667
  /**
12522
- * 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.
12523
12669
  *
12524
12670
  * @param request - DescribeRegionsRequest
12525
12671
  * @returns DescribeRegionsResponse