@alicloud/ddosbgp20180720 3.0.0 → 3.1.0

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.
Files changed (148) hide show
  1. package/dist/client.d.ts +89 -53
  2. package/dist/client.js +147 -53
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddIpRequest.d.ts +11 -10
  5. package/dist/models/AddIpRequest.js.map +1 -1
  6. package/dist/models/AddIpResponseBody.d.ts +1 -1
  7. package/dist/models/AttachAssetGroupToInstanceRequest.d.ts +2 -2
  8. package/dist/models/AttachAssetGroupToInstanceShrinkRequest.d.ts +2 -2
  9. package/dist/models/AttachToPolicyRequest.d.ts +27 -10
  10. package/dist/models/AttachToPolicyRequest.js.map +1 -1
  11. package/dist/models/AttachToPolicyResponseBody.d.ts +1 -1
  12. package/dist/models/AttachToPolicyShrinkRequest.d.ts +12 -1
  13. package/dist/models/AttachToPolicyShrinkRequest.js.map +1 -1
  14. package/dist/models/CheckGrantRequest.d.ts +4 -3
  15. package/dist/models/CheckGrantRequest.js.map +1 -1
  16. package/dist/models/CheckGrantResponseBody.d.ts +3 -2
  17. package/dist/models/CheckGrantResponseBody.js.map +1 -1
  18. package/dist/models/CreatePolicyRequest.d.ts +15 -5
  19. package/dist/models/CreatePolicyRequest.js.map +1 -1
  20. package/dist/models/CreatePolicyResponseBody.d.ts +2 -2
  21. package/dist/models/DeleteIpRequest.d.ts +8 -10
  22. package/dist/models/DeleteIpRequest.js.map +1 -1
  23. package/dist/models/DeleteIpResponseBody.d.ts +1 -1
  24. package/dist/models/DescribeAssetGroupRequest.d.ts +4 -3
  25. package/dist/models/DescribeAssetGroupRequest.js.map +1 -1
  26. package/dist/models/DescribeAssetGroupToInstanceRequest.d.ts +5 -4
  27. package/dist/models/DescribeAssetGroupToInstanceRequest.js.map +1 -1
  28. package/dist/models/DescribeDdosOriginInstanceBillRequest.d.ts +12 -14
  29. package/dist/models/DescribeDdosOriginInstanceBillRequest.js.map +1 -1
  30. package/dist/models/DescribeDdosOriginInstanceBillResponseBody.d.ts +72 -85
  31. package/dist/models/DescribeDdosOriginInstanceBillResponseBody.js.map +1 -1
  32. package/dist/models/DescribeInstanceListRequest.d.ts +13 -9
  33. package/dist/models/DescribeInstanceListRequest.js.map +1 -1
  34. package/dist/models/DescribeInstanceListResponseBody.d.ts +28 -18
  35. package/dist/models/DescribeInstanceListResponseBody.js.map +1 -1
  36. package/dist/models/DescribeNetworkLayerInterceptsRequest.d.ts +107 -0
  37. package/dist/models/DescribeNetworkLayerInterceptsRequest.js +78 -0
  38. package/dist/models/DescribeNetworkLayerInterceptsRequest.js.map +1 -0
  39. package/dist/models/DescribeNetworkLayerInterceptsResponse.d.ts +19 -0
  40. package/dist/models/DescribeNetworkLayerInterceptsResponse.js +69 -0
  41. package/dist/models/DescribeNetworkLayerInterceptsResponse.js.map +1 -0
  42. package/dist/models/DescribeNetworkLayerInterceptsResponseBody.d.ts +144 -0
  43. package/dist/models/DescribeNetworkLayerInterceptsResponseBody.js +106 -0
  44. package/dist/models/DescribeNetworkLayerInterceptsResponseBody.js.map +1 -0
  45. package/dist/models/DescribePackIpListRequest.d.ts +14 -11
  46. package/dist/models/DescribePackIpListRequest.js.map +1 -1
  47. package/dist/models/DescribePackIpListResponseBody.d.ts +28 -22
  48. package/dist/models/DescribePackIpListResponseBody.js.map +1 -1
  49. package/dist/models/DescribeRdMemberListRequest.d.ts +1 -1
  50. package/dist/models/DescribeRdMemberListResponseBody.d.ts +2 -2
  51. package/dist/models/DescribeRdStatusResponseBody.d.ts +5 -3
  52. package/dist/models/DescribeRdStatusResponseBody.js.map +1 -1
  53. package/dist/models/DescribeRegionsRequest.d.ts +4 -4
  54. package/dist/models/DescribeRegionsResponseBody.d.ts +5 -6
  55. package/dist/models/DescribeRegionsResponseBody.js.map +1 -1
  56. package/dist/models/DescribeTrafficRequest.d.ts +16 -21
  57. package/dist/models/DescribeTrafficRequest.js.map +1 -1
  58. package/dist/models/DescribeTrafficResponseBody.d.ts +11 -12
  59. package/dist/models/DescribeTrafficResponseBody.js.map +1 -1
  60. package/dist/models/DetachFromPolicyRequest.d.ts +26 -8
  61. package/dist/models/DetachFromPolicyRequest.js.map +1 -1
  62. package/dist/models/DetachFromPolicyResponseBody.d.ts +1 -1
  63. package/dist/models/DetachFromPolicyShrinkRequest.d.ts +16 -6
  64. package/dist/models/DetachFromPolicyShrinkRequest.js.map +1 -1
  65. package/dist/models/DettachAssetGroupToInstanceRequest.d.ts +5 -4
  66. package/dist/models/DettachAssetGroupToInstanceRequest.js.map +1 -1
  67. package/dist/models/DettachAssetGroupToInstanceShrinkRequest.d.ts +2 -2
  68. package/dist/models/ListPolicyAttachmentRequest.d.ts +27 -11
  69. package/dist/models/ListPolicyAttachmentRequest.js.map +1 -1
  70. package/dist/models/ListPolicyAttachmentResponseBody.d.ts +19 -13
  71. package/dist/models/ListPolicyAttachmentResponseBody.js.map +1 -1
  72. package/dist/models/ListPolicyAttachmentShrinkRequest.d.ts +18 -9
  73. package/dist/models/ListPolicyAttachmentShrinkRequest.js.map +1 -1
  74. package/dist/models/ListPolicyRequest.d.ts +5 -16
  75. package/dist/models/ListPolicyRequest.js.map +1 -1
  76. package/dist/models/ListPolicyResponseBody.d.ts +182 -94
  77. package/dist/models/ListPolicyResponseBody.js +41 -1
  78. package/dist/models/ListPolicyResponseBody.js.map +1 -1
  79. package/dist/models/ModifyPolicyContentRequest.d.ts +176 -90
  80. package/dist/models/ModifyPolicyContentRequest.js +41 -1
  81. package/dist/models/ModifyPolicyContentRequest.js.map +1 -1
  82. package/dist/models/ModifyPolicyContentResponseBody.d.ts +1 -1
  83. package/dist/models/ModifyPolicyContentShrinkRequest.d.ts +9 -2
  84. package/dist/models/ModifyPolicyContentShrinkRequest.js.map +1 -1
  85. package/dist/models/ModifyPolicyRequest.d.ts +181 -118
  86. package/dist/models/ModifyPolicyRequest.js +41 -1
  87. package/dist/models/ModifyPolicyRequest.js.map +1 -1
  88. package/dist/models/ModifyPolicyResponseBody.d.ts +1 -1
  89. package/dist/models/ModifyPolicyShrinkRequest.d.ts +10 -26
  90. package/dist/models/ModifyPolicyShrinkRequest.js.map +1 -1
  91. package/dist/models/ModifyRemarkRequest.d.ts +5 -7
  92. package/dist/models/ModifyRemarkRequest.js.map +1 -1
  93. package/dist/models/ReleaseDdosOriginInstanceRequest.d.ts +1 -1
  94. package/dist/models/model.d.ts +7 -0
  95. package/dist/models/model.js +34 -20
  96. package/dist/models/model.js.map +1 -1
  97. package/package.json +2 -2
  98. package/src/client.ts +160 -53
  99. package/src/models/AddIpRequest.ts +11 -10
  100. package/src/models/AddIpResponseBody.ts +1 -1
  101. package/src/models/AttachAssetGroupToInstanceRequest.ts +2 -2
  102. package/src/models/AttachAssetGroupToInstanceShrinkRequest.ts +2 -2
  103. package/src/models/AttachToPolicyRequest.ts +27 -10
  104. package/src/models/AttachToPolicyResponseBody.ts +1 -1
  105. package/src/models/AttachToPolicyShrinkRequest.ts +12 -1
  106. package/src/models/CheckGrantRequest.ts +4 -3
  107. package/src/models/CheckGrantResponseBody.ts +3 -2
  108. package/src/models/CreatePolicyRequest.ts +15 -5
  109. package/src/models/CreatePolicyResponseBody.ts +2 -2
  110. package/src/models/DeleteIpRequest.ts +8 -10
  111. package/src/models/DeleteIpResponseBody.ts +1 -1
  112. package/src/models/DescribeAssetGroupRequest.ts +4 -3
  113. package/src/models/DescribeAssetGroupToInstanceRequest.ts +5 -4
  114. package/src/models/DescribeDdosOriginInstanceBillRequest.ts +12 -14
  115. package/src/models/DescribeDdosOriginInstanceBillResponseBody.ts +72 -85
  116. package/src/models/DescribeInstanceListRequest.ts +13 -9
  117. package/src/models/DescribeInstanceListResponseBody.ts +28 -18
  118. package/src/models/DescribeNetworkLayerInterceptsRequest.ts +140 -0
  119. package/src/models/DescribeNetworkLayerInterceptsResponse.ts +40 -0
  120. package/src/models/DescribeNetworkLayerInterceptsResponseBody.ts +196 -0
  121. package/src/models/DescribePackIpListRequest.ts +14 -11
  122. package/src/models/DescribePackIpListResponseBody.ts +28 -22
  123. package/src/models/DescribeRdMemberListRequest.ts +1 -1
  124. package/src/models/DescribeRdMemberListResponseBody.ts +2 -2
  125. package/src/models/DescribeRdStatusResponseBody.ts +5 -3
  126. package/src/models/DescribeRegionsRequest.ts +4 -4
  127. package/src/models/DescribeRegionsResponseBody.ts +5 -6
  128. package/src/models/DescribeTrafficRequest.ts +16 -21
  129. package/src/models/DescribeTrafficResponseBody.ts +11 -12
  130. package/src/models/DetachFromPolicyRequest.ts +26 -8
  131. package/src/models/DetachFromPolicyResponseBody.ts +1 -1
  132. package/src/models/DetachFromPolicyShrinkRequest.ts +16 -6
  133. package/src/models/DettachAssetGroupToInstanceRequest.ts +5 -4
  134. package/src/models/DettachAssetGroupToInstanceShrinkRequest.ts +2 -2
  135. package/src/models/ListPolicyAttachmentRequest.ts +27 -11
  136. package/src/models/ListPolicyAttachmentResponseBody.ts +19 -13
  137. package/src/models/ListPolicyAttachmentShrinkRequest.ts +18 -9
  138. package/src/models/ListPolicyRequest.ts +5 -16
  139. package/src/models/ListPolicyResponseBody.ts +213 -94
  140. package/src/models/ModifyPolicyContentRequest.ts +207 -90
  141. package/src/models/ModifyPolicyContentResponseBody.ts +1 -1
  142. package/src/models/ModifyPolicyContentShrinkRequest.ts +9 -2
  143. package/src/models/ModifyPolicyRequest.ts +212 -118
  144. package/src/models/ModifyPolicyResponseBody.ts +1 -1
  145. package/src/models/ModifyPolicyShrinkRequest.ts +10 -26
  146. package/src/models/ModifyRemarkRequest.ts +5 -7
  147. package/src/models/ReleaseDdosOriginInstanceRequest.ts +1 -1
  148. package/src/models/model.ts +7 -0
@@ -13,7 +13,7 @@ export class DescribePackIpListResponseBodyIpList extends $dara.Model {
13
13
  ip?: string;
14
14
  /**
15
15
  * @remarks
16
- * The ID of the member.
16
+ * The UID of the member account.
17
17
  *
18
18
  * @example
19
19
  * 170858869679****
@@ -21,7 +21,7 @@ export class DescribePackIpListResponseBodyIpList extends $dara.Model {
21
21
  memberUid?: string;
22
22
  /**
23
23
  * @remarks
24
- * The time when the near-origin traffic diversion feature was disabled.
24
+ * The end time of cross-border traffic blocking.
25
25
  *
26
26
  * @example
27
27
  * 1715658000
@@ -29,7 +29,7 @@ export class DescribePackIpListResponseBodyIpList extends $dara.Model {
29
29
  nsmExpireAt?: number;
30
30
  /**
31
31
  * @remarks
32
- * The time when the near-origin traffic diversion feature was enabled.
32
+ * The start time of cross-border traffic blocking.
33
33
  *
34
34
  * @example
35
35
  * 1715655000
@@ -37,10 +37,11 @@ export class DescribePackIpListResponseBodyIpList extends $dara.Model {
37
37
  nsmStartAt?: number;
38
38
  /**
39
39
  * @remarks
40
- * The status of the near-origin traffic diversion feature. Valid values:
40
+ * The status of cross-border traffic blocking. Valid values:
41
41
  *
42
- * * **1**: The near-origin traffic diversion feature is enabled.
43
- * * **0**: The near-origin traffic diversion feature is disabled.
42
+ * - **1**: Cross-border traffic is being blocked.
43
+ *
44
+ * - **0**: Cross-border traffic is not blocked.
44
45
  *
45
46
  * @example
46
47
  * 0
@@ -50,10 +51,13 @@ export class DescribePackIpListResponseBodyIpList extends $dara.Model {
50
51
  * @remarks
51
52
  * The type of the cloud asset to which the IP address belongs. Valid values:
52
53
  *
53
- * * **ECS**: an ECS instance.
54
- * * **SLB**: a CLB (formerly SLB) instance.
55
- * * **EIP**: an EIP. If the IP address belongs to an ALB instance, the value EIP is returned.
56
- * * **WAF**: a WAF instance.
54
+ * - **ECS**: an ECS instance.
55
+ *
56
+ * - **SLB**: a CLB instance.
57
+ *
58
+ * - **EIP**: an EIP instance. This includes the EIP used by an ALB instance.
59
+ *
60
+ * - **WAF**: a WAF instance.
57
61
  *
58
62
  * @example
59
63
  * ECS
@@ -61,9 +65,9 @@ export class DescribePackIpListResponseBodyIpList extends $dara.Model {
61
65
  product?: string;
62
66
  /**
63
67
  * @remarks
64
- * The region to which the protected IP address belongs.
68
+ * The region where the protected IP address is deployed.
65
69
  *
66
- * > If the protected IP address is in the same region as the instance, this parameter is not returned.
70
+ * > This parameter is not returned if the protected IP address is deployed in the same region as the instance.
67
71
  *
68
72
  * @example
69
73
  * cn-hangzhou
@@ -71,9 +75,9 @@ export class DescribePackIpListResponseBodyIpList extends $dara.Model {
71
75
  region?: string;
72
76
  /**
73
77
  * @remarks
74
- * The description of the cloud asset to which the IP address belongs. The asset can be an ECS instance or an SLB instance.
78
+ * The remarks on the cloud asset to which the IP address belongs, such as an ECS instance or an SLB instance.
75
79
  *
76
- * > If no descriptions are provided for the asset, this parameter is not returned.
80
+ * > This parameter is not returned if no remarks are specified for the cloud asset.
77
81
  *
78
82
  * @example
79
83
  * test
@@ -81,10 +85,11 @@ export class DescribePackIpListResponseBodyIpList extends $dara.Model {
81
85
  remark?: string;
82
86
  /**
83
87
  * @remarks
84
- * The status of the IP address. Valid values:
88
+ * The current status of the IP address. Valid values:
89
+ *
90
+ * - **normal**: The IP address is not under attack.
85
91
  *
86
- * * **normal**: The IP address is not under attack.
87
- * * **hole_begin**: Blackhole filtering is triggered for the IP address.
92
+ * - **hole_begin**: The IP address is in blackhole filtering status.
88
93
  *
89
94
  * @example
90
95
  * normal
@@ -140,7 +145,7 @@ export class DescribePackIpListResponseBody extends $dara.Model {
140
145
  code?: string;
141
146
  /**
142
147
  * @remarks
143
- * The IP addresses that are protected by the instance.
148
+ * The list of IP addresses that are protected by the Anti-DDoS Origin instance.
144
149
  */
145
150
  ipList?: DescribePackIpListResponseBodyIpList[];
146
151
  /**
@@ -153,10 +158,11 @@ export class DescribePackIpListResponseBody extends $dara.Model {
153
158
  requestId?: string;
154
159
  /**
155
160
  * @remarks
156
- * Indicates whether the request is successful. Valid values:
161
+ * Indicates whether the request was successful. Valid values:
162
+ *
163
+ * - **true**: The request was successful.
157
164
  *
158
- * * **true**: The call is successful.
159
- * * **false**: The call fails.
165
+ * - **false**: The request failed.
160
166
  *
161
167
  * @example
162
168
  * true
@@ -164,7 +170,7 @@ export class DescribePackIpListResponseBody extends $dara.Model {
164
170
  success?: boolean;
165
171
  /**
166
172
  * @remarks
167
- * The number of protected IP addresses.
173
+ * The number of protected IP addresses that are returned.
168
174
  *
169
175
  * @example
170
176
  * 1
@@ -24,7 +24,7 @@ export class DescribeRdMemberListRequest extends $dara.Model {
24
24
  * The ID of the resource directory.
25
25
  *
26
26
  * @example
27
- * rd-x9bLhd
27
+ * rd-x9bL**
28
28
  */
29
29
  resourceDirectoryId?: string;
30
30
  static names(): { [key: string]: string } {
@@ -16,7 +16,7 @@ export class DescribeRdMemberListResponseBodyMemberList extends $dara.Model {
16
16
  * The name of the member.
17
17
  *
18
18
  * @example
19
- * test1
19
+ * tes***
20
20
  */
21
21
  name?: string;
22
22
  /**
@@ -24,7 +24,7 @@ export class DescribeRdMemberListResponseBodyMemberList extends $dara.Model {
24
24
  * The Alibaba Cloud account ID of the member.
25
25
  *
26
26
  * @example
27
- * 1960279802016267
27
+ * 196027980201****
28
28
  */
29
29
  uid?: string;
30
30
  static names(): { [key: string]: string } {
@@ -15,9 +15,11 @@ export class DescribeRdStatusResponseBody extends $dara.Model {
15
15
  * @remarks
16
16
  * The type of the Alibaba Cloud account. Valid values:
17
17
  *
18
- * * **MasterAccount**: management account.
19
- * * **DelegatedAdminAccount**: delegated administrator account.
20
- * * **MemberAccount**: member.
18
+ * - **MasterAccount**: management account.
19
+ *
20
+ * - **DelegatedAdminAccount**: delegated administrator account.
21
+ *
22
+ * - **MemberAccount**: member.
21
23
  *
22
24
  * @example
23
25
  * MemberAccount
@@ -5,9 +5,9 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeRegionsRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * 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.
8
+ * The region ID to query. Default value: **ap-southeast-1**, which indicates that the regions of cloud assets that can be protected by the Anti-DDoS Origin instance in the China (Hangzhou) region are queried.
9
9
  *
10
- * If you want to specify another value for **RegionId**, see [Regions and Zones](https://help.aliyun.com/document_detail/40654.html).
10
+ * To query other region IDs, see [Regions and zones](https://help.aliyun.com/document_detail/40654.html) to obtain the corresponding **RegionId**.
11
11
  *
12
12
  * @example
13
13
  * cn-hangzhou
@@ -15,9 +15,9 @@ export class DescribeRegionsRequest extends $dara.Model {
15
15
  regionId?: string;
16
16
  /**
17
17
  * @remarks
18
- * 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.
18
+ * The ID of the resource group to which the Anti-DDoS Origin instance belongs in Resource Management. By default, this parameter is empty, which indicates that the instance belongs to the default resource group.
19
19
  *
20
- * For information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
20
+ * For more information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
21
21
  *
22
22
  * @example
23
23
  * rg-acfm2pz25js****
@@ -13,7 +13,7 @@ export class DescribeRegionsResponseBodyRegions extends $dara.Model {
13
13
  regionEnName?: string;
14
14
  /**
15
15
  * @remarks
16
- * The ID of the region.
16
+ * The region ID.
17
17
  *
18
18
  * @example
19
19
  * cn-hangzhou
@@ -63,7 +63,7 @@ export class DescribeRegionsResponseBody extends $dara.Model {
63
63
  code?: string;
64
64
  /**
65
65
  * @remarks
66
- * The information about the regions of cloud assets that can be protected by Anti-DDoS Origin. The information includes region IDs and names.
66
+ * The region information of cloud assets that can be protected by Anti-DDoS Origin, including region IDs and names.
67
67
  */
68
68
  regions?: DescribeRegionsResponseBodyRegions[];
69
69
  /**
@@ -76,10 +76,9 @@ export class DescribeRegionsResponseBody extends $dara.Model {
76
76
  requestId?: string;
77
77
  /**
78
78
  * @remarks
79
- * Indicates whether the request was successful. Valid values:
80
- *
81
- * * **true**
82
- * * **false**
79
+ * Indicates whether the call was successful. Valid values:
80
+ * - **true**: The call was successful.
81
+ * - **false**: The call failed.
83
82
  *
84
83
  * @example
85
84
  * true
@@ -5,9 +5,9 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeTrafficRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.
8
+ * The end time of the query. Specify a UNIX timestamp. Unit: seconds.
9
9
  *
10
- * If you do not specify this parameter, the current system time is used as the end time.
10
+ * If you do not set this parameter, the current time is used as the end time.
11
11
  *
12
12
  * @example
13
13
  * 1563445054
@@ -15,16 +15,10 @@ export class DescribeTrafficRequest extends $dara.Model {
15
15
  endTime?: number;
16
16
  /**
17
17
  * @remarks
18
- * The type of the traffic statistics to query. Valid values:
18
+ * The type of traffic statistics to query. Valid values:
19
19
  *
20
- * * **max**: the peak traffic within the specified interval.
21
- * * **avg**: the average traffic within the specified interval.
22
- *
23
- * Enumerated values:
24
- *
25
- * * all
26
- * * avg
27
- * * max
20
+ * - **max**: the peak traffic within the statistical interval.
21
+ * - **avg**: the average traffic within the statistical interval.
28
22
  *
29
23
  * @example
30
24
  * max
@@ -34,9 +28,10 @@ export class DescribeTrafficRequest extends $dara.Model {
34
28
  * @remarks
35
29
  * The ID of the Anti-DDoS Origin instance to query.
36
30
  *
37
- * > You can call the [DescribeInstanceList](https://help.aliyun.com/document_detail/118698.html) operation to query the IDs of all Anti-DDoS Origin instances.
31
+ * > You can call [DescribeInstanceList](https://help.aliyun.com/document_detail/118698.html) to query the IDs of all Anti-DDoS Origin instances.
32
+ *
38
33
  *
39
- * If you specify an on-demand instance, you must configure the **Interval** parameter.
34
+ * If the instance specified here is used for traffic diversion, you must set the **Interval** request parameter.
40
35
  *
41
36
  * @example
42
37
  * ddosbgp-cn-n6w203qg****
@@ -44,7 +39,7 @@ export class DescribeTrafficRequest extends $dara.Model {
44
39
  instanceId?: string;
45
40
  /**
46
41
  * @remarks
47
- * The interval at which the traffic statistics are calculated. Unit: seconds. Default value: **5**.
42
+ * The time interval for traffic statistics. Unit: seconds. This parameter specifies the length of each interval for which traffic data is aggregated. Default value: **5**.
48
43
  *
49
44
  * @example
50
45
  * 5
@@ -52,9 +47,9 @@ export class DescribeTrafficRequest extends $dara.Model {
52
47
  interval?: number;
53
48
  /**
54
49
  * @remarks
55
- * The public IP address of the asset to query. If you do not specify this parameter, the traffic statistics of all public IP addresses that are protected by the Anti-DDoS Origin instance are queried.
50
+ * The assets that are assigned public IP addresses to query. If you do not specify this parameter in Settings, the traffic statistics of all assets that are assigned public IP addresses protected by the Anti-DDoS Origin instance are queried.
56
51
  *
57
- * > The public IP address must be a protected object of the Anti-DDoS Origin instance. You can call the [DescribePackIpList](https://help.aliyun.com/document_detail/118701.html) operation to query all protected objects of the Anti-DDoS Origin instance.
52
+ * > The assets that are assigned public IP addresses must have been added as protected objects of the Anti-DDoS Origin instance. You can invoke [DescribePackIpList](https://help.aliyun.com/document_detail/118701.html) to query all protected objects of the Anti-DDoS Origin instance.
58
53
  *
59
54
  * @example
60
55
  * 39.XX.XX.96
@@ -62,7 +57,7 @@ export class DescribeTrafficRequest extends $dara.Model {
62
57
  ip?: string;
63
58
  /**
64
59
  * @remarks
65
- * The Classless Inter-Domain Routing (CIDR) block of the on-demand instance that you want to query.
60
+ * The CIDR block used for traffic diversion to query.
66
61
  *
67
62
  * @example
68
63
  * 111.XX.XX.0/24
@@ -70,9 +65,9 @@ export class DescribeTrafficRequest extends $dara.Model {
70
65
  ipnet?: string;
71
66
  /**
72
67
  * @remarks
73
- * The ID of the region where the Anti-DDoS Origin instance resides.
68
+ * The region ID of the Anti-DDoS Origin instance.
74
69
  *
75
- * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) operation to query the most recent region list.
70
+ * > You can call [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) to query all region IDs supported by Anti-DDoS Origin.
76
71
  *
77
72
  * @example
78
73
  * cn-hangzhou
@@ -82,7 +77,7 @@ export class DescribeTrafficRequest extends $dara.Model {
82
77
  * @remarks
83
78
  * The ID of the resource group to which the Anti-DDoS Origin instance belongs in Resource Management.
84
79
  *
85
- * If you do not specify this parameter, the instance belongs to the default resource group.
80
+ * If you do not set this parameter, the default resource group is used.
86
81
  *
87
82
  * @example
88
83
  * rg-acfm2pz25js****
@@ -90,7 +85,7 @@ export class DescribeTrafficRequest extends $dara.Model {
90
85
  resourceGroupId?: string;
91
86
  /**
92
87
  * @remarks
93
- * The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.
88
+ * The start time of the query. Specify a UNIX timestamp. Unit: seconds.
94
89
  *
95
90
  * This parameter is required.
96
91
  *
@@ -5,9 +5,9 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeTrafficResponseBodyFlowList extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The bandwidth of attack traffic. Unit: bit/s.
8
+ * The bandwidth of attack traffic. Unit: bps.
9
9
  *
10
- * > This parameter is returned only if attack traffic exists.
10
+ * > This field is returned only when attack traffic exists.
11
11
  *
12
12
  * @example
13
13
  * 0
@@ -15,9 +15,8 @@ export class DescribeTrafficResponseBodyFlowList extends $dara.Model {
15
15
  attackBps?: number;
16
16
  /**
17
17
  * @remarks
18
- * The packet forwarding rate of attack traffic. Unit: packets per second.
19
- *
20
- * > This parameter is returned only if attack traffic exists.
18
+ * The packet forwarding rate of attack traffic. Unit: pps.
19
+ * > This field is returned only when attack traffic exists.
21
20
  *
22
21
  * @example
23
22
  * 0
@@ -27,8 +26,8 @@ export class DescribeTrafficResponseBodyFlowList extends $dara.Model {
27
26
  * @remarks
28
27
  * The type of the traffic statistics. Valid values:
29
28
  *
30
- * * **max**: the peak traffic within the specified interval
31
- * * **avg**: the average traffic within the specified interval
29
+ * - **max**: the peak traffic within the statistical interval.
30
+ * - **avg**: the average traffic within the statistical interval.
32
31
  *
33
32
  * @example
34
33
  * max
@@ -36,7 +35,7 @@ export class DescribeTrafficResponseBodyFlowList extends $dara.Model {
36
35
  flowType?: string;
37
36
  /**
38
37
  * @remarks
39
- * The bandwidth of the total traffic. Unit: Kbit/s.
38
+ * The bandwidth of total traffic. Unit: Kbps.
40
39
  *
41
40
  * @example
42
41
  * 417
@@ -44,7 +43,7 @@ export class DescribeTrafficResponseBodyFlowList extends $dara.Model {
44
43
  kbps?: number;
45
44
  /**
46
45
  * @remarks
47
- * The ID of the traffic statistics.
46
+ * The ID of the traffic statistics entry.
48
47
  *
49
48
  * @example
50
49
  * 8e33f19e-5644-11eb-b5c1-d89d67182200
@@ -52,7 +51,7 @@ export class DescribeTrafficResponseBodyFlowList extends $dara.Model {
52
51
  name?: string;
53
52
  /**
54
53
  * @remarks
55
- * The packet forwarding rate of the total traffic. Unit: packets per second.
54
+ * The packet forwarding rate of total traffic. Unit: pps.
56
55
  *
57
56
  * @example
58
57
  * 274
@@ -60,7 +59,7 @@ export class DescribeTrafficResponseBodyFlowList extends $dara.Model {
60
59
  pps?: number;
61
60
  /**
62
61
  * @remarks
63
- * The time when the traffic statistics are calculated. This value is a UNIX timestamp. Unit: seconds.
62
+ * The time of the traffic statistics. Expressed as a UNIX timestamp. Unit: seconds.
64
63
  *
65
64
  * @example
66
65
  * 1620951900
@@ -102,7 +101,7 @@ export class DescribeTrafficResponseBodyFlowList extends $dara.Model {
102
101
  export class DescribeTrafficResponseBody extends $dara.Model {
103
102
  /**
104
103
  * @remarks
105
- * The queried traffic statistics.
104
+ * The traffic statistics.
106
105
  */
107
106
  flowList?: DescribeTrafficResponseBodyFlowList[];
108
107
  /**
@@ -21,13 +21,21 @@ export class DetachFromPolicyRequestIpPortProtocolList extends $dara.Model {
21
21
  * 8*
22
22
  */
23
23
  port?: number;
24
+ /**
25
+ * @remarks
26
+ * The port range of the protected object.
27
+ * > Only port-specific mitigation policies support this parameter.
28
+ *
29
+ * @example
30
+ * 8*-9*
31
+ */
24
32
  portRange?: string;
25
33
  /**
26
34
  * @remarks
27
35
  * The protocol type of the protected object. Valid values:
28
36
  *
29
- * * **tcp**
30
- * * **udp**
37
+ * - **tcp**: Transmission Control Protocol.
38
+ * - **udp**: User Datagram Protocol.
31
39
  *
32
40
  * @example
33
41
  * tcp
@@ -63,18 +71,17 @@ export class DetachFromPolicyRequestIpPortProtocolList extends $dara.Model {
63
71
  export class DetachFromPolicyRequest extends $dara.Model {
64
72
  /**
65
73
  * @remarks
66
- * The protected objects.
74
+ * The list of protected objects.
67
75
  *
68
76
  * This parameter is required.
69
77
  */
70
78
  ipPortProtocolList?: DetachFromPolicyRequestIpPortProtocolList[];
71
79
  /**
72
80
  * @remarks
73
- * The type of the policy. Valid values:
74
- *
75
- * * **default**: the default mitigation policies.
76
- * * **l3**: IP-specific mitigation policies.
77
- * * **l4**: port-specific mitigation policies.
81
+ * The policy type. Valid values:
82
+ * - **default**: default mitigation policy.
83
+ * - **l3**: IP-specific mitigation policy.
84
+ * - **l4**: port-specific mitigation policy.
78
85
  *
79
86
  * This parameter is required.
80
87
  *
@@ -82,6 +89,17 @@ export class DetachFromPolicyRequest extends $dara.Model {
82
89
  * l3
83
90
  */
84
91
  policyType?: string;
92
+ /**
93
+ * @remarks
94
+ * The version of the port-specific mitigation policy. Valid values:
95
+ *
96
+ * - **Not specified**: dissociates the default surf anti-DDoS engine policy.
97
+ * - **2**: dissociates the new stream anti-DDoS engine policy.
98
+ * > Only port-specific mitigation policies support this parameter.
99
+ *
100
+ * @example
101
+ * 2
102
+ */
85
103
  portVersion?: string;
86
104
  static names(): { [key: string]: string } {
87
105
  return {
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DetachFromPolicyResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The request ID.
8
+ * The request ID. Alibaba Cloud generates a unique identifier for each request. You can use this ID to troubleshoot issues.
9
9
  *
10
10
  * @example
11
11
  * 1B0F7EC6-51D7-4D70-B0EC-CD8A9E99****
@@ -5,18 +5,17 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DetachFromPolicyShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The protected objects.
8
+ * The list of protected objects.
9
9
  *
10
10
  * This parameter is required.
11
11
  */
12
12
  ipPortProtocolListShrink?: string;
13
13
  /**
14
14
  * @remarks
15
- * The type of the policy. Valid values:
16
- *
17
- * * **default**: the default mitigation policies.
18
- * * **l3**: IP-specific mitigation policies.
19
- * * **l4**: port-specific mitigation policies.
15
+ * The policy type. Valid values:
16
+ * - **default**: default mitigation policy.
17
+ * - **l3**: IP-specific mitigation policy.
18
+ * - **l4**: port-specific mitigation policy.
20
19
  *
21
20
  * This parameter is required.
22
21
  *
@@ -24,6 +23,17 @@ export class DetachFromPolicyShrinkRequest extends $dara.Model {
24
23
  * l3
25
24
  */
26
25
  policyType?: string;
26
+ /**
27
+ * @remarks
28
+ * The version of the port-specific mitigation policy. Valid values:
29
+ *
30
+ * - **Not specified**: dissociates the default surf anti-DDoS engine policy.
31
+ * - **2**: dissociates the new stream anti-DDoS engine policy.
32
+ * > Only port-specific mitigation policies support this parameter.
33
+ *
34
+ * @example
35
+ * 2
36
+ */
27
37
  portVersion?: string;
28
38
  static names(): { [key: string]: string } {
29
39
  return {
@@ -27,8 +27,9 @@ export class DettachAssetGroupToInstanceRequestAssetGroupList extends $dara.Mode
27
27
  * @remarks
28
28
  * The type of the asset. Valid values:
29
29
  *
30
- * * **waf**: WAF instance
31
- * * **ga**: Global Accelerator (GA) instance
30
+ * - **waf**: WAF instance
31
+ *
32
+ * - **ga**: Global Accelerator (GA) instance
32
33
  *
33
34
  * This parameter is required.
34
35
  *
@@ -73,7 +74,7 @@ export class DettachAssetGroupToInstanceRequest extends $dara.Model {
73
74
  * @remarks
74
75
  * The ID of the instance.
75
76
  *
76
- * > You can call the [DescribeInstanceList](https://help.aliyun.com/document_detail/118698.html) operation to query the IDs of all Anti-DDoS Origin instances of paid editions.
77
+ * > You can call the [DescribeInstanceList](https://help.aliyun.com/document_detail/118698.html) operation to query the IDs of all Anti-DDoS Origin instances of paid editions.
77
78
  *
78
79
  * This parameter is required.
79
80
  *
@@ -85,7 +86,7 @@ export class DettachAssetGroupToInstanceRequest extends $dara.Model {
85
86
  * @remarks
86
87
  * The ID of the region in which the instance resides.
87
88
  *
88
- * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) operation to query the most recent region list.
89
+ * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) operation to query the most recent region list.
89
90
  *
90
91
  * @example
91
92
  * cn-hangzhou
@@ -14,7 +14,7 @@ export class DettachAssetGroupToInstanceShrinkRequest extends $dara.Model {
14
14
  * @remarks
15
15
  * The ID of the instance.
16
16
  *
17
- * > You can call the [DescribeInstanceList](https://help.aliyun.com/document_detail/118698.html) operation to query the IDs of all Anti-DDoS Origin instances of paid editions.
17
+ * > You can call the [DescribeInstanceList](https://help.aliyun.com/document_detail/118698.html) operation to query the IDs of all Anti-DDoS Origin instances of paid editions.
18
18
  *
19
19
  * This parameter is required.
20
20
  *
@@ -26,7 +26,7 @@ export class DettachAssetGroupToInstanceShrinkRequest extends $dara.Model {
26
26
  * @remarks
27
27
  * The ID of the region in which the instance resides.
28
28
  *
29
- * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) operation to query the most recent region list.
29
+ * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) operation to query the most recent region list.
30
30
  *
31
31
  * @example
32
32
  * cn-hangzhou
@@ -21,13 +21,20 @@ export class ListPolicyAttachmentRequestIpPortProtocolList extends $dara.Model {
21
21
  * 8*
22
22
  */
23
23
  port?: number;
24
+ /**
25
+ * @remarks
26
+ * The port number range of the protected object.
27
+ *
28
+ * @example
29
+ * 8*-9*
30
+ */
24
31
  portRange?: string;
25
32
  /**
26
33
  * @remarks
27
34
  * The protocol type of the protected object. Valid values:
28
35
  *
29
- * * **tcp**
30
- * * **udp**
36
+ * - **tcp**: Transmission Control Protocol.
37
+ * - **udp**: User Datagram Protocol.
31
38
  *
32
39
  * @example
33
40
  * tcp
@@ -63,12 +70,12 @@ export class ListPolicyAttachmentRequestIpPortProtocolList extends $dara.Model {
63
70
  export class ListPolicyAttachmentRequest extends $dara.Model {
64
71
  /**
65
72
  * @remarks
66
- * The protected objects.
73
+ * The list of protected objects.
67
74
  */
68
75
  ipPortProtocolList?: ListPolicyAttachmentRequestIpPortProtocolList[];
69
76
  /**
70
77
  * @remarks
71
- * The page number.
78
+ * The page number of the current page in a paging query.
72
79
  *
73
80
  * @example
74
81
  * 1
@@ -76,7 +83,7 @@ export class ListPolicyAttachmentRequest extends $dara.Model {
76
83
  pageNo?: number;
77
84
  /**
78
85
  * @remarks
79
- * The number of entries per page. Default value: **10**.
86
+ * The number of rows per page in a paging query. Default value: **10**.
80
87
  *
81
88
  * @example
82
89
  * 10
@@ -84,7 +91,7 @@ export class ListPolicyAttachmentRequest extends $dara.Model {
84
91
  pageSize?: number;
85
92
  /**
86
93
  * @remarks
87
- * The ID of the policy.
94
+ * The policy ID.
88
95
  *
89
96
  * @example
90
97
  * f38f6520-92b7-451e-b520-9ab3********
@@ -92,16 +99,25 @@ export class ListPolicyAttachmentRequest extends $dara.Model {
92
99
  policyId?: string;
93
100
  /**
94
101
  * @remarks
95
- * The type of the policy. Valid values:
96
- *
97
- * * **default**: the default mitigation policies.
98
- * * **l3**: IP-specific mitigation policies.
99
- * * **l4**: port-specific mitigation policies.
102
+ * The policy type. Valid values:
103
+ * - **default**: default mitigation policy.
104
+ * - **l3**: IP-specific mitigation policy.
105
+ * - **l4**: port-specific mitigation policy.
100
106
  *
101
107
  * @example
102
108
  * l3
103
109
  */
104
110
  policyType?: string;
111
+ /**
112
+ * @remarks
113
+ * The version of the port-specific mitigation policy. Valid values:
114
+ *
115
+ * - **Not specified**: queries the policy associations that attach to the default surf DPI engine.
116
+ * - **2**: queries the policy associations that attach to the new stream DPI engine.
117
+ *
118
+ * @example
119
+ * 2
120
+ */
105
121
  portVersion?: string;
106
122
  static names(): { [key: string]: string } {
107
123
  return {