@alicloud/ddosbgp20180720 2.6.2 → 2.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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
  /**
@@ -3299,6 +3320,7 @@ export class DescribeOpEntitiesRequest extends $tea.Model {
3299
3320
  * ddosbgp-cn-n6w1r7nz****
3300
3321
  */
3301
3322
  instanceId?: string;
3323
+ opAction?: number;
3302
3324
  /**
3303
3325
  * @remarks
3304
3326
  * The sorting method of operation logs. Set the value to **opdate**, which indicates sorting based on the operation time.
@@ -3365,6 +3387,7 @@ export class DescribeOpEntitiesRequest extends $tea.Model {
3365
3387
  currentPage: 'CurrentPage',
3366
3388
  endTime: 'EndTime',
3367
3389
  instanceId: 'InstanceId',
3390
+ opAction: 'OpAction',
3368
3391
  orderBy: 'OrderBy',
3369
3392
  orderDir: 'OrderDir',
3370
3393
  pageSize: 'PageSize',
@@ -3379,6 +3402,7 @@ export class DescribeOpEntitiesRequest extends $tea.Model {
3379
3402
  currentPage: 'number',
3380
3403
  endTime: 'number',
3381
3404
  instanceId: 'string',
3405
+ opAction: 'number',
3382
3406
  orderBy: 'string',
3383
3407
  orderDir: 'string',
3384
3408
  pageSize: 'number',
@@ -3919,9 +3943,9 @@ export class DescribeRdStatusResponse extends $tea.Model {
3919
3943
  export class DescribeRegionsRequest extends $tea.Model {
3920
3944
  /**
3921
3945
  * @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.
3946
+ * 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
3947
  *
3924
- * For more information about the IDs of other regions, see [Regions and zones](https://help.aliyun.com/document_detail/40654.html).
3948
+ * If you want to specify another value for **RegionId**, see [Regions and Zones](https://help.aliyun.com/document_detail/40654.html).
3925
3949
  *
3926
3950
  * @example
3927
3951
  * cn-hangzhou
@@ -3929,9 +3953,9 @@ export class DescribeRegionsRequest extends $tea.Model {
3929
3953
  regionId?: string;
3930
3954
  /**
3931
3955
  * @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.
3956
+ * 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
3957
  *
3934
- * For more information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
3958
+ * For information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
3935
3959
  *
3936
3960
  * @example
3937
3961
  * rg-acfm2pz25js****
@@ -3967,12 +3991,12 @@ export class DescribeRegionsResponseBody extends $tea.Model {
3967
3991
  code?: string;
3968
3992
  /**
3969
3993
  * @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.
3994
+ * The information about the regions of cloud assets that can be protected by Anti-DDoS Origin. The information includes region IDs and names.
3971
3995
  */
3972
3996
  regions?: DescribeRegionsResponseBodyRegions[];
3973
3997
  /**
3974
3998
  * @remarks
3975
- * The ID of the request.
3999
+ * The request ID.
3976
4000
  *
3977
4001
  * @example
3978
4002
  * F7CA8B4E-FB15-4336-A351-8DC29D66EA82
@@ -3980,10 +4004,10 @@ export class DescribeRegionsResponseBody extends $tea.Model {
3980
4004
  requestId?: string;
3981
4005
  /**
3982
4006
  * @remarks
3983
- * Indicates whether the request is successful. Valid values:
4007
+ * Indicates whether the request was successful. Valid values:
3984
4008
  *
3985
- * * **true**: The request is successful.
3986
- * * **false**: The request failed.
4009
+ * * **true**
4010
+ * * **false**
3987
4011
  *
3988
4012
  * @example
3989
4013
  * true
@@ -4749,11 +4773,26 @@ export class ListPolicyRequest extends $tea.Model {
4749
4773
  * 10
4750
4774
  */
4751
4775
  pageSize?: number;
4776
+ /**
4777
+ * @remarks
4778
+ * The service type. Valid values:
4779
+ *
4780
+ * * **ecs**: Elastic Compute Service (ECS).
4781
+ * * **slb**: Server Load Balancer (SLB).
4782
+ * * **eip**: Elastic IP Address (EIP).
4783
+ * * **gf-eip**: EIP with Anti-DDoS (Enhanced) enabled.
4784
+ *
4785
+ * > This parameter is available only if Type is set to `default`.
4786
+ *
4787
+ * @example
4788
+ * ecs
4789
+ */
4752
4790
  productType?: string;
4753
4791
  /**
4754
4792
  * @remarks
4755
4793
  * The type of the policy. Valid values:
4756
4794
  *
4795
+ * * **default**: the default mitigation policy.
4757
4796
  * * **l3**: IP-specific mitigation policies.
4758
4797
  * * **l4**: port-specific mitigation policies.
4759
4798
  *
@@ -5401,7 +5440,7 @@ export class ModifyPolicyRequest extends $tea.Model {
5401
5440
  actionType?: number;
5402
5441
  /**
5403
5442
  * @remarks
5404
- * The content of the policy.
5443
+ * The policy content.
5405
5444
  */
5406
5445
  content?: ModifyPolicyRequestContent;
5407
5446
  /**
@@ -5481,7 +5520,7 @@ export class ModifyPolicyShrinkRequest extends $tea.Model {
5481
5520
  actionType?: number;
5482
5521
  /**
5483
5522
  * @remarks
5484
- * The content of the policy.
5523
+ * The policy content.
5485
5524
  */
5486
5525
  contentShrink?: string;
5487
5526
  /**
@@ -5579,7 +5618,7 @@ export class ModifyPolicyResponse extends $tea.Model {
5579
5618
  export class ModifyPolicyContentRequest extends $tea.Model {
5580
5619
  /**
5581
5620
  * @remarks
5582
- * The content of the policy.
5621
+ * The policy content.
5583
5622
  */
5584
5623
  content?: ModifyPolicyContentRequestContent;
5585
5624
  /**
@@ -5624,7 +5663,7 @@ export class ModifyPolicyContentRequest extends $tea.Model {
5624
5663
  export class ModifyPolicyContentShrinkRequest extends $tea.Model {
5625
5664
  /**
5626
5665
  * @remarks
5627
- * The content of the policy.
5666
+ * The policy content.
5628
5667
  */
5629
5668
  contentShrink?: string;
5630
5669
  /**
@@ -6843,9 +6882,9 @@ export class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList ext
6843
6882
  * @remarks
6844
6883
  * The application scope of the instance. Valid values:
6845
6884
  *
6846
- * * **only_mainland_china**: regions in the Chinese mainland
6847
- * * **global**: all regions
6848
- * * **international_and_hmt**: regions outside the Chinese mainland
6885
+ * * **only_mainland_china**: regions in the Chinese mainland.
6886
+ * * **global**: all regions.
6887
+ * * **international_and_hmt**: regions outside the Chinese mainland.
6849
6888
  *
6850
6889
  * @example
6851
6890
  * global
@@ -6871,11 +6910,11 @@ export class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList ext
6871
6910
  * @remarks
6872
6911
  * The bill distribution by account. The JSON struct contains the following fields:
6873
6912
  *
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
6913
+ * * **eipCnIpCount**: the number of EIPs with Anti-DDoS (Enhanced) enabled in the Chinese mainland.
6914
+ * * **eipOvIpCount**: the number of EIPs with Anti-DDoS (Enhanced) enabled outside the Chinese mainland.
6915
+ * * **memberUid**: the owner account.
6916
+ * * **standardAssetsCnIpCount**: the number of IP addresses of regular Alibaba Cloud services in the Chinese mainland.
6917
+ * * **standardAssetsOvIpCount**: the number of IP addresses of regular Alibaba Cloud services outside the Chinese mainland.
6879
6918
  *
6880
6919
  * > If the memberUid field in the JSON struct is empty, the information about the current account is returned.
6881
6920
  *
@@ -6916,6 +6955,49 @@ export class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList ext
6916
6955
  }
6917
6956
  }
6918
6957
 
6958
+ export class DescribeDdosOriginInstanceBillResponseBodyMonthlySummaryList extends $tea.Model {
6959
+ enableDays?: number;
6960
+ flowCn?: number;
6961
+ flowIntl?: number;
6962
+ ipCountCn?: number;
6963
+ ipCountIntl?: number;
6964
+ memberUid?: string;
6965
+ standardAssetsFlowCn?: number;
6966
+ standardAssetsFlowIntl?: number;
6967
+ uid?: string;
6968
+ static names(): { [key: string]: string } {
6969
+ return {
6970
+ enableDays: 'EnableDays',
6971
+ flowCn: 'FlowCn',
6972
+ flowIntl: 'FlowIntl',
6973
+ ipCountCn: 'IpCountCn',
6974
+ ipCountIntl: 'IpCountIntl',
6975
+ memberUid: 'MemberUid',
6976
+ standardAssetsFlowCn: 'StandardAssetsFlowCn',
6977
+ standardAssetsFlowIntl: 'StandardAssetsFlowIntl',
6978
+ uid: 'Uid',
6979
+ };
6980
+ }
6981
+
6982
+ static types(): { [key: string]: any } {
6983
+ return {
6984
+ enableDays: 'number',
6985
+ flowCn: 'number',
6986
+ flowIntl: 'number',
6987
+ ipCountCn: 'number',
6988
+ ipCountIntl: 'number',
6989
+ memberUid: 'string',
6990
+ standardAssetsFlowCn: 'number',
6991
+ standardAssetsFlowIntl: 'number',
6992
+ uid: 'string',
6993
+ };
6994
+ }
6995
+
6996
+ constructor(map?: { [key: string]: any }) {
6997
+ super(map);
6998
+ }
6999
+ }
7000
+
6919
7001
  export class DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList extends $tea.Model {
6920
7002
  /**
6921
7003
  * @remarks
@@ -6988,7 +7070,7 @@ export class DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList ex
6988
7070
  export class DescribeInstanceListRequestTag extends $tea.Model {
6989
7071
  /**
6990
7072
  * @remarks
6991
- * The key of the tag that is added to the Anti-DDoS Origin instance to query.
7073
+ * The key of the tag that is added to the Anti-DDoS Origin instance.
6992
7074
  *
6993
7075
  * @example
6994
7076
  * test-key
@@ -6996,7 +7078,7 @@ export class DescribeInstanceListRequestTag extends $tea.Model {
6996
7078
  key?: string;
6997
7079
  /**
6998
7080
  * @remarks
6999
- * The value of the tag that is added to the Anti-DDoS Origin instance to query.
7081
+ * The value of the tag that is added to the Anti-DDoS Origin instance.
7000
7082
  *
7001
7083
  * @example
7002
7084
  * test-value
@@ -7022,6 +7104,10 @@ export class DescribeInstanceListRequestTag extends $tea.Model {
7022
7104
  }
7023
7105
 
7024
7106
  export class DescribeInstanceListResponseBodyInstanceListAutoProtectCondition extends $tea.Model {
7107
+ /**
7108
+ * @remarks
7109
+ * The events that trigger automatic association.
7110
+ */
7025
7111
  events?: string[];
7026
7112
  static names(): { [key: string]: string } {
7027
7113
  return {
@@ -7071,8 +7157,11 @@ export class DescribeInstanceListResponseBodyInstanceList extends $tea.Model {
7071
7157
  * @remarks
7072
7158
  * The type of the instance.
7073
7159
  *
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)
7160
+ * * **ddos_ddosorigin_public_cn**: Anti-DDoS Origin 2.0 (Pay-as-you-go) on the China site (aliyun.com).
7161
+ * * **ddos_ddosorigin_public_intl**: Anti-DDoS Origin 2.0 (Pay-as-you-go) on the International site (alibabacloud.com).
7162
+ *
7163
+ * @example
7164
+ * ddos_ddosorigin_public_cn
7076
7165
  */
7077
7166
  commodityType?: string;
7078
7167
  /**
@@ -7083,8 +7172,12 @@ export class DescribeInstanceListResponseBodyInstanceList extends $tea.Model {
7083
7172
  * * **2**: The instance supports public IP addresses in regions in the Chinese mainland.
7084
7173
  * * **3**: The instance supports public IP addresses in regions outside the Chinese mainland.
7085
7174
  * * **4**: The instance supports public IP addresses in a region in or outside the Chinese mainland.
7175
+ *
7176
+ * @example
7177
+ * 1
7086
7178
  */
7087
7179
  coverageType?: number;
7180
+ debtStatus?: number;
7088
7181
  /**
7089
7182
  * @remarks
7090
7183
  * The time when the instance expires. The value is a UNIX timestamp. Unit: milliseconds.
@@ -7171,6 +7264,7 @@ export class DescribeInstanceListResponseBodyInstanceList extends $tea.Model {
7171
7264
  blackholdingCount: 'BlackholdingCount',
7172
7265
  commodityType: 'CommodityType',
7173
7266
  coverageType: 'CoverageType',
7267
+ debtStatus: 'DebtStatus',
7174
7268
  expireTime: 'ExpireTime',
7175
7269
  gmtCreate: 'GmtCreate',
7176
7270
  instanceId: 'InstanceId',
@@ -7189,6 +7283,7 @@ export class DescribeInstanceListResponseBodyInstanceList extends $tea.Model {
7189
7283
  blackholdingCount: 'string',
7190
7284
  commodityType: 'string',
7191
7285
  coverageType: 'number',
7286
+ debtStatus: 'number',
7192
7287
  expireTime: 'number',
7193
7288
  gmtCreate: 'number',
7194
7289
  instanceId: 'string',
@@ -7222,6 +7317,25 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig extends $t
7222
7317
  * 0
7223
7318
  */
7224
7319
  bindIpCount?: number;
7320
+ /**
7321
+ * @remarks
7322
+ * The burstable clean bandwidth. Unit: Mbit/s.
7323
+ *
7324
+ * @example
7325
+ * 100
7326
+ */
7327
+ elasticBwMbps?: number;
7328
+ /**
7329
+ * @remarks
7330
+ * The metering method of burstable clean bandwidth. Valid values:
7331
+ *
7332
+ * * **month**: the monthly 95th percentile metering method.
7333
+ * * **day**: the daily 95th percentile metering method.
7334
+ *
7335
+ * @example
7336
+ * day
7337
+ */
7338
+ elasticBwMode?: string;
7225
7339
  /**
7226
7340
  * @remarks
7227
7341
  * The burstable protection bandwidth of each protected IP address. Unit: Gbit/s.
@@ -7256,7 +7370,7 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig extends $t
7256
7370
  normalBandwidth?: number;
7257
7371
  /**
7258
7372
  * @remarks
7259
- * The burstable protection bandwidth of the Anti-DDoS Origin Enterprise instance. Unit: Gbit/s.
7373
+ * The burstable protection bandwidth of the Anti-DDoS Origin instance. Unit: Gbit/s.
7260
7374
  *
7261
7375
  * @example
7262
7376
  * 300
@@ -7264,7 +7378,7 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig extends $t
7264
7378
  packAdvThre?: number;
7265
7379
  /**
7266
7380
  * @remarks
7267
- * The basic protection bandwidth of the Anti-DDoS Origin Enterprise instance. Unit: Gbit/s.
7381
+ * The basic protection bandwidth of the Anti-DDoS Origin instance. Unit: Gbit/s.
7268
7382
  *
7269
7383
  * @example
7270
7384
  * 20
@@ -7274,6 +7388,8 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig extends $t
7274
7388
  return {
7275
7389
  bandwidth: 'Bandwidth',
7276
7390
  bindIpCount: 'BindIpCount',
7391
+ elasticBwMbps: 'ElasticBwMbps',
7392
+ elasticBwMode: 'ElasticBwMode',
7277
7393
  ipAdvanceThre: 'IpAdvanceThre',
7278
7394
  ipBasicThre: 'IpBasicThre',
7279
7395
  ipSpec: 'IpSpec',
@@ -7287,6 +7403,8 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig extends $t
7287
7403
  return {
7288
7404
  bandwidth: 'number',
7289
7405
  bindIpCount: 'number',
7406
+ elasticBwMbps: 'number',
7407
+ elasticBwMode: 'string',
7290
7408
  ipAdvanceThre: 'number',
7291
7409
  ipBasicThre: 'number',
7292
7410
  ipSpec: 'number',
@@ -7328,7 +7446,17 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
7328
7446
  defenseTimesPercent?: number;
7329
7447
  /**
7330
7448
  * @remarks
7331
- * The region ID of the Anti-DDoS Origin Enterprise instance.
7449
+ * Indicates whether the instance is downgraded. Valid value:
7450
+ *
7451
+ * * **8**: The instance is downgraded due to excessive bandwidth usage.
7452
+ *
7453
+ * @example
7454
+ * 8
7455
+ */
7456
+ downgradeStatus?: number;
7457
+ /**
7458
+ * @remarks
7459
+ * The ID of the Anti-DDoS Origin instance.
7332
7460
  *
7333
7461
  * @example
7334
7462
  * ddosbgp-cn-n6w1r7nz****
@@ -7347,14 +7475,14 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
7347
7475
  isFullDefenseMode?: number;
7348
7476
  /**
7349
7477
  * @remarks
7350
- * The configurations of the Anti-DDoS Origin Enterprise instance, including the number of protected IP addresses and protection bandwidth.
7478
+ * The configurations of the Anti-DDoS Origin instance, including the number of protected IP addresses and protection bandwidth.
7351
7479
  */
7352
7480
  packConfig?: DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig;
7353
7481
  /**
7354
7482
  * @remarks
7355
- * The region ID of the Anti-DDoS Origin Enterprise instance.
7483
+ * The region ID of the Anti-DDoS Origin instance.
7356
7484
  *
7357
- * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) operation to query the name of the region.
7485
+ * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) operation to query the name of the region.
7358
7486
  *
7359
7487
  * @example
7360
7488
  * cn-hangzhou
@@ -7373,6 +7501,7 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
7373
7501
  availableDefenseTimes: 'AvailableDefenseTimes',
7374
7502
  availableDeleteBlackholeCount: 'AvailableDeleteBlackholeCount',
7375
7503
  defenseTimesPercent: 'DefenseTimesPercent',
7504
+ downgradeStatus: 'DowngradeStatus',
7376
7505
  instanceId: 'InstanceId',
7377
7506
  isFullDefenseMode: 'IsFullDefenseMode',
7378
7507
  packConfig: 'PackConfig',
@@ -7386,6 +7515,7 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
7386
7515
  availableDefenseTimes: 'number',
7387
7516
  availableDeleteBlackholeCount: 'string',
7388
7517
  defenseTimesPercent: 'number',
7518
+ downgradeStatus: 'number',
7389
7519
  instanceId: 'string',
7390
7520
  isFullDefenseMode: 'number',
7391
7521
  packConfig: DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig,
@@ -7858,7 +7988,7 @@ export class DescribeRdMemberListResponseBodyMemberList extends $tea.Model {
7858
7988
  export class DescribeRegionsResponseBodyRegions extends $tea.Model {
7859
7989
  /**
7860
7990
  * @remarks
7861
- * The English name of the region where the cloud assets reside.
7991
+ * The English name of the region.
7862
7992
  *
7863
7993
  * @example
7864
7994
  * China (Hangzhou)
@@ -7874,7 +8004,10 @@ export class DescribeRegionsResponseBodyRegions extends $tea.Model {
7874
8004
  regionId?: string;
7875
8005
  /**
7876
8006
  * @remarks
7877
- * The name of the region where the cloud assets reside.
8007
+ * The Chinese name of the region.
8008
+ *
8009
+ * @example
8010
+ * 华东1(杭州)
7878
8011
  */
7879
8012
  regionName?: string;
7880
8013
  static names(): { [key: string]: string } {
@@ -8815,11 +8948,19 @@ export class ListPolicyResponseBodyPolicyList extends $tea.Model {
8815
8948
  * test**
8816
8949
  */
8817
8950
  name?: string;
8951
+ /**
8952
+ * @remarks
8953
+ * The remarks of the policy.
8954
+ *
8955
+ * @example
8956
+ * test
8957
+ */
8818
8958
  remark?: string;
8819
8959
  /**
8820
8960
  * @remarks
8821
8961
  * The type of the policy. Valid values:
8822
8962
  *
8963
+ * * **default**: the default mitigation policy.
8823
8964
  * * **l3**: IP-specific mitigation policies.
8824
8965
  * * **l4**: port-specific mitigation policies.
8825
8966
  *
@@ -8938,6 +9079,13 @@ export class ListPolicyAttachmentResponseBodyAttachmentList extends $tea.Model {
8938
9079
  * test**
8939
9080
  */
8940
9081
  policyName?: string;
9082
+ /**
9083
+ * @remarks
9084
+ * The description of the policy.
9085
+ *
9086
+ * @example
9087
+ * test
9088
+ */
8941
9089
  policyRemark?: string;
8942
9090
  /**
8943
9091
  * @remarks
@@ -9243,7 +9391,7 @@ export class ModifyPolicyRequestContentFingerPrintRuleList extends $tea.Model {
9243
9391
  payloadBytes?: string;
9244
9392
  /**
9245
9393
  * @remarks
9246
- * The type of the protocol. Valid value:
9394
+ * The type of the protocol. Valid values:
9247
9395
  *
9248
9396
  * * **tcp**
9249
9397
  * * **udp**
@@ -9529,7 +9677,7 @@ export class ModifyPolicyRequestContentPortRuleList extends $tea.Model {
9529
9677
  id?: string;
9530
9678
  /**
9531
9679
  * @remarks
9532
- * The action triggered if the rule is matched. Valid value:
9680
+ * The action triggered if the rule is matched. Valid values:
9533
9681
  *
9534
9682
  * * **drop**: The traffic is discarded.
9535
9683
  *
@@ -9650,9 +9798,9 @@ export class ModifyPolicyRequestContentSourceBlockList extends $tea.Model {
9650
9798
  * @remarks
9651
9799
  * The type of the source rate limit. Valid values:
9652
9800
  *
9653
- * * **3**: the PPS limit on source IP addresses.
9801
+ * * **3**: the pps limit on source IP addresses.
9654
9802
  * * **4**: the bandwidth limit on source IP addresses.
9655
- * * **5**: the PPS limit on source SYN packets.
9803
+ * * **5**: the pps limit on source SYN packets.
9656
9804
  * * **6**: the bandwidth limit on source SYN packets.
9657
9805
  *
9658
9806
  * This parameter is required.
@@ -9695,7 +9843,7 @@ export class ModifyPolicyRequestContentSourceLimit extends $tea.Model {
9695
9843
  bps?: number;
9696
9844
  /**
9697
9845
  * @remarks
9698
- * The packets per second (PPS) limit on source IP addresses.
9846
+ * The packets per second (pps) limit on source IP addresses.
9699
9847
  *
9700
9848
  * @example
9701
9849
  * 64
@@ -9711,7 +9859,7 @@ export class ModifyPolicyRequestContentSourceLimit extends $tea.Model {
9711
9859
  synBps?: number;
9712
9860
  /**
9713
9861
  * @remarks
9714
- * The PPS limit on source SYN packets.
9862
+ * The pps limit on source SYN packets.
9715
9863
  *
9716
9864
  * @example
9717
9865
  * 64
@@ -10255,7 +10403,7 @@ export class ModifyPolicyContentRequestContentPortRuleList extends $tea.Model {
10255
10403
  id?: string;
10256
10404
  /**
10257
10405
  * @remarks
10258
- * The action triggered if the rule is matched. Valid value:
10406
+ * The action triggered if the rule is matched. Valid values:
10259
10407
  *
10260
10408
  * * **drop**: The traffic is discarded.
10261
10409
  *
@@ -10376,9 +10524,9 @@ export class ModifyPolicyContentRequestContentSourceBlockList extends $tea.Model
10376
10524
  * @remarks
10377
10525
  * The type of the source rate limit. Valid values:
10378
10526
  *
10379
- * * **3**: the PPS limit on source IP addresses.
10527
+ * * **3**: the pps limit on source IP addresses.
10380
10528
  * * **4**: the bandwidth limit on source IP addresses.
10381
- * * **5**: the PPS limit on source SYN packets.
10529
+ * * **5**: the pps limit on source SYN packets.
10382
10530
  * * **6**: the bandwidth limit on source SYN packets.
10383
10531
  *
10384
10532
  * This parameter is required.
@@ -10421,7 +10569,7 @@ export class ModifyPolicyContentRequestContentSourceLimit extends $tea.Model {
10421
10569
  bps?: number;
10422
10570
  /**
10423
10571
  * @remarks
10424
- * The packets per second (PPS) limit on source IP addresses.
10572
+ * The packets per second (pps) limit on source IP addresses.
10425
10573
  *
10426
10574
  * @example
10427
10575
  * 64
@@ -10437,7 +10585,7 @@ export class ModifyPolicyContentRequestContentSourceLimit extends $tea.Model {
10437
10585
  synBps?: number;
10438
10586
  /**
10439
10587
  * @remarks
10440
- * The PPS limit on source SYN packets.
10588
+ * The pps limit on source SYN packets.
10441
10589
  *
10442
10590
  * @example
10443
10591
  * 64
@@ -10856,7 +11004,7 @@ export default class Client extends OpenApi {
10856
11004
  }
10857
11005
 
10858
11006
  /**
10859
- * Adds IP addresses to an Anti-DDoS Origin Enterprise instance.
11007
+ * Adds IP addresses to an Anti-DDoS Origin instance.
10860
11008
  *
10861
11009
  * @param request - AddIpRequest
10862
11010
  * @param runtime - runtime options for this request RuntimeOptions
@@ -10899,7 +11047,7 @@ export default class Client extends OpenApi {
10899
11047
  }
10900
11048
 
10901
11049
  /**
10902
- * Adds IP addresses to an Anti-DDoS Origin Enterprise instance.
11050
+ * Adds IP addresses to an Anti-DDoS Origin instance.
10903
11051
  *
10904
11052
  * @param request - AddIpRequest
10905
11053
  * @returns AddIpResponse
@@ -11450,7 +11598,7 @@ export default class Client extends OpenApi {
11450
11598
  }
11451
11599
 
11452
11600
  /**
11453
- * Removes specific IP addresses from an Anti-DDoS Origin Enterprise instance.
11601
+ * Removes specific IP addresses from an Anti-DDoS Origin instance.
11454
11602
  *
11455
11603
  * @remarks
11456
11604
  * The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
@@ -11496,7 +11644,7 @@ export default class Client extends OpenApi {
11496
11644
  }
11497
11645
 
11498
11646
  /**
11499
- * Removes specific IP addresses from an Anti-DDoS Origin Enterprise instance.
11647
+ * Removes specific IP addresses from an Anti-DDoS Origin instance.
11500
11648
  *
11501
11649
  * @remarks
11502
11650
  * The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
@@ -12066,6 +12214,8 @@ export default class Client extends OpenApi {
12066
12214
  }
12067
12215
 
12068
12216
  /**
12217
+ * Queries the specifications of a specific Anti-DDoS Origin instance.
12218
+ *
12069
12219
  * @param request - DescribeInstanceSpecsRequest
12070
12220
  * @param runtime - runtime options for this request RuntimeOptions
12071
12221
  * @returns DescribeInstanceSpecsResponse
@@ -12103,6 +12253,8 @@ export default class Client extends OpenApi {
12103
12253
  }
12104
12254
 
12105
12255
  /**
12256
+ * Queries the specifications of a specific Anti-DDoS Origin instance.
12257
+ *
12106
12258
  * @param request - DescribeInstanceSpecsRequest
12107
12259
  * @returns DescribeInstanceSpecsResponse
12108
12260
  */
@@ -12264,6 +12416,10 @@ export default class Client extends OpenApi {
12264
12416
  query["InstanceId"] = request.instanceId;
12265
12417
  }
12266
12418
 
12419
+ if (!Util.isUnset(request.opAction)) {
12420
+ query["OpAction"] = request.opAction;
12421
+ }
12422
+
12267
12423
  if (!Util.isUnset(request.orderBy)) {
12268
12424
  query["OrderBy"] = request.orderBy;
12269
12425
  }
@@ -12484,7 +12640,7 @@ export default class Client extends OpenApi {
12484
12640
  }
12485
12641
 
12486
12642
  /**
12487
- * Queries the regions of cloud assets that are supported by an Anti-DDoS Origin instance.
12643
+ * Queries the regions of assets that can be protected by Anti-DDoS Origin Enterprise in a specific region.
12488
12644
  *
12489
12645
  * @param request - DescribeRegionsRequest
12490
12646
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12519,7 +12675,7 @@ export default class Client extends OpenApi {
12519
12675
  }
12520
12676
 
12521
12677
  /**
12522
- * Queries the regions of cloud assets that are supported by an Anti-DDoS Origin instance.
12678
+ * Queries the regions of assets that can be protected by Anti-DDoS Origin Enterprise in a specific region.
12523
12679
  *
12524
12680
  * @param request - DescribeRegionsRequest
12525
12681
  * @returns DescribeRegionsResponse