@alicloud/vpc20160428 6.8.6 → 6.9.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 (88) hide show
  1. package/dist/client.d.ts +21 -6
  2. package/dist/client.js +108 -24
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AssociateVpcCidrBlockRequest.d.ts +15 -8
  5. package/dist/models/AssociateVpcCidrBlockRequest.js +2 -0
  6. package/dist/models/AssociateVpcCidrBlockRequest.js.map +1 -1
  7. package/dist/models/CreateNatGatewayRequest.d.ts +2 -0
  8. package/dist/models/CreateNatGatewayRequest.js +4 -0
  9. package/dist/models/CreateNatGatewayRequest.js.map +1 -1
  10. package/dist/models/CreateNatGatewayShrinkRequest.d.ts +2 -0
  11. package/dist/models/CreateNatGatewayShrinkRequest.js +4 -0
  12. package/dist/models/CreateNatGatewayShrinkRequest.js.map +1 -1
  13. package/dist/models/CreateNatIpRequest.d.ts +6 -0
  14. package/dist/models/CreateNatIpRequest.js +4 -0
  15. package/dist/models/CreateNatIpRequest.js.map +1 -1
  16. package/dist/models/CreateNatIpResponseBody.d.ts +1 -0
  17. package/dist/models/CreateNatIpResponseBody.js +2 -0
  18. package/dist/models/CreateNatIpResponseBody.js.map +1 -1
  19. package/dist/models/CreateVpcRequest.d.ts +16 -0
  20. package/dist/models/CreateVpcRequest.js +4 -0
  21. package/dist/models/CreateVpcRequest.js.map +1 -1
  22. package/dist/models/DeleteIpv4gatewayRequest.d.ts +9 -0
  23. package/dist/models/DeleteIpv4gatewayRequest.js.map +1 -1
  24. package/dist/models/DeleteNatIpRequest.d.ts +2 -2
  25. package/dist/models/DeleteNatIpRequest.js +4 -0
  26. package/dist/models/DeleteNatIpRequest.js.map +1 -1
  27. package/dist/models/DeleteRouteEntriesRequest.d.ts +10 -0
  28. package/dist/models/DeleteRouteEntriesRequest.js.map +1 -1
  29. package/dist/models/DeleteRouteEntryRequest.d.ts +8 -0
  30. package/dist/models/DeleteRouteEntryRequest.js.map +1 -1
  31. package/dist/models/DescribeEipAddressesResponseBody.d.ts +5 -3
  32. package/dist/models/DescribeEipAddressesResponseBody.js.map +1 -1
  33. package/dist/models/DescribeFlowLogsRequest.d.ts +26 -29
  34. package/dist/models/DescribeFlowLogsRequest.js.map +1 -1
  35. package/dist/models/DescribeFlowLogsResponseBody.d.ts +51 -49
  36. package/dist/models/DescribeFlowLogsResponseBody.js.map +1 -1
  37. package/dist/models/DescribeNatGatewaysResponseBody.d.ts +27 -0
  38. package/dist/models/DescribeNatGatewaysResponseBody.js +47 -1
  39. package/dist/models/DescribeNatGatewaysResponseBody.js.map +1 -1
  40. package/dist/models/DescribeTagsRequest.d.ts +8 -0
  41. package/dist/models/DescribeTagsRequest.js.map +1 -1
  42. package/dist/models/DescribeVpcGrantRulesToEcrRequest.d.ts +83 -0
  43. package/dist/models/DescribeVpcGrantRulesToEcrRequest.js +106 -0
  44. package/dist/models/DescribeVpcGrantRulesToEcrRequest.js.map +1 -0
  45. package/dist/models/DescribeVpcGrantRulesToEcrResponse.d.ts +19 -0
  46. package/dist/models/DescribeVpcGrantRulesToEcrResponse.js +69 -0
  47. package/dist/models/DescribeVpcGrantRulesToEcrResponse.js.map +1 -0
  48. package/dist/models/DescribeVpcGrantRulesToEcrResponseBody.d.ts +76 -0
  49. package/dist/models/DescribeVpcGrantRulesToEcrResponseBody.js +98 -0
  50. package/dist/models/DescribeVpcGrantRulesToEcrResponseBody.js.map +1 -0
  51. package/dist/models/DescribeVroutersResponseBody.d.ts +1 -1
  52. package/dist/models/GetVpcPrefixListAssociationsRequest.d.ts +1 -1
  53. package/dist/models/GetVpcPrefixListAssociationsResponseBody.d.ts +7 -0
  54. package/dist/models/GetVpcPrefixListAssociationsResponseBody.js.map +1 -1
  55. package/dist/models/ListNatIpsResponseBody.d.ts +1 -0
  56. package/dist/models/ListNatIpsResponseBody.js +2 -0
  57. package/dist/models/ListNatIpsResponseBody.js.map +1 -1
  58. package/dist/models/ModifyFlowLogAttributeRequest.d.ts +4 -0
  59. package/dist/models/ModifyFlowLogAttributeRequest.js.map +1 -1
  60. package/dist/models/model.d.ts +7 -0
  61. package/dist/models/model.js +53 -39
  62. package/dist/models/model.js.map +1 -1
  63. package/package.json +1 -1
  64. package/src/client.ts +132 -24
  65. package/src/models/AssociateVpcCidrBlockRequest.ts +17 -8
  66. package/src/models/CreateNatGatewayRequest.ts +6 -0
  67. package/src/models/CreateNatGatewayShrinkRequest.ts +6 -0
  68. package/src/models/CreateNatIpRequest.ts +10 -0
  69. package/src/models/CreateNatIpResponseBody.ts +3 -0
  70. package/src/models/CreateVpcRequest.ts +20 -0
  71. package/src/models/DeleteIpv4gatewayRequest.ts +9 -0
  72. package/src/models/DeleteNatIpRequest.ts +6 -2
  73. package/src/models/DeleteRouteEntriesRequest.ts +10 -0
  74. package/src/models/DeleteRouteEntryRequest.ts +8 -0
  75. package/src/models/DescribeEipAddressesResponseBody.ts +5 -3
  76. package/src/models/DescribeFlowLogsRequest.ts +26 -29
  77. package/src/models/DescribeFlowLogsResponseBody.ts +51 -49
  78. package/src/models/DescribeNatGatewaysResponseBody.ts +55 -0
  79. package/src/models/DescribeTagsRequest.ts +8 -0
  80. package/src/models/DescribeVpcGrantRulesToEcrRequest.ts +135 -0
  81. package/src/models/DescribeVpcGrantRulesToEcrResponse.ts +40 -0
  82. package/src/models/DescribeVpcGrantRulesToEcrResponseBody.ts +120 -0
  83. package/src/models/DescribeVroutersResponseBody.ts +1 -1
  84. package/src/models/GetVpcPrefixListAssociationsRequest.ts +1 -1
  85. package/src/models/GetVpcPrefixListAssociationsResponseBody.ts +7 -0
  86. package/src/models/ListNatIpsResponseBody.ts +3 -0
  87. package/src/models/ModifyFlowLogAttributeRequest.ts +4 -0
  88. package/src/models/model.ts +7 -0
@@ -8,7 +8,8 @@ export class DescribeEipAddressesResponseBodyEipAddressesEipAddressOperationLock
8
8
  * The reason why the EIP is locked. Valid values:
9
9
  *
10
10
  * * **financial**: The EIP is locked due to overdue payments.
11
- * * **security**: The EIP is locked for security reasons.
11
+ * * **security**: The instance is locked for security purposes.
12
+ * * **sharedPool**: The shared IP address pool is locked due to overdue payments.
12
13
  *
13
14
  * @example
14
15
  * financial
@@ -215,10 +216,11 @@ export class DescribeEipAddressesResponseBodyEipAddressesEipAddress extends $dar
215
216
  bizType?: string;
216
217
  /**
217
218
  * @remarks
218
- * The service state of the EIP. Valid values:
219
+ * The service status of the EIP. Valid values:
219
220
  *
220
221
  * * **Normal**
221
- * * **FinancialLocked**
222
+ * * **OperationLock**
223
+ * * **Unactivated**
222
224
  *
223
225
  * @example
224
226
  * Normal
@@ -5,9 +5,9 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeFlowLogsRequestTags extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The key of tag N to add to the resource. You can specify at most 20 tag keys. The tag key cannot be an empty string.
8
+ * The key of the tag. Up to 20 tag keys are supported. If you need to pass this value, it cannot be an empty string.
9
9
  *
10
- * The tag key can be at most 128 characters in length. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.
10
+ * A tag key can have up to 128 characters and cannot start with `aliyun` or `acs:`. It also cannot contain `http://` or `https://`.
11
11
  *
12
12
  * @example
13
13
  * FinanceDept
@@ -15,9 +15,9 @@ export class DescribeFlowLogsRequestTags extends $dara.Model {
15
15
  key?: string;
16
16
  /**
17
17
  * @remarks
18
- * The value of tag N to add to the resource. You can specify at most 20 tag values. The tag value can be an empty string.
18
+ * The value of the tag. Up to 20 tag values are supported. If you need to pass this value, it can be an empty string.
19
19
  *
20
- * The tag value can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. The tag value cannot contain `http://` or `https://`.
20
+ * A tag value can have up to 128 characters and cannot start with `aliyun` or `acs:`. It also cannot contain `http://` or `https://`.
21
21
  *
22
22
  * @example
23
23
  * FinanceJoshua
@@ -51,7 +51,7 @@ export class DescribeFlowLogsRequest extends $dara.Model {
51
51
  * @remarks
52
52
  * The description of the flow log.
53
53
  *
54
- * The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
54
+ * The description must be 1 to 256 characters long and cannot start with `http://` or `https://`.
55
55
  *
56
56
  * @example
57
57
  * This is my Flowlog.
@@ -69,7 +69,7 @@ export class DescribeFlowLogsRequest extends $dara.Model {
69
69
  * @remarks
70
70
  * The name of the flow log.
71
71
  *
72
- * The name must be 1 to 128 characters in length, and cannot start with `http://` or `https://`.
72
+ * The name must be 1 to 128 characters long and cannot start with `http://` or `https://`.
73
73
  *
74
74
  * @example
75
75
  * myFlowlog
@@ -77,7 +77,7 @@ export class DescribeFlowLogsRequest extends $dara.Model {
77
77
  flowLogName?: string;
78
78
  /**
79
79
  * @remarks
80
- * The Logstore that stores the captured traffic data.
80
+ * The Logstore that stores the captured traffic.
81
81
  *
82
82
  * @example
83
83
  * FlowLogStore
@@ -87,7 +87,7 @@ export class DescribeFlowLogsRequest extends $dara.Model {
87
87
  ownerId?: number;
88
88
  /**
89
89
  * @remarks
90
- * The number of the page to return. Default value: **1**.
90
+ * The page number, with a default value of **1**.
91
91
  *
92
92
  * @example
93
93
  * 1
@@ -95,7 +95,7 @@ export class DescribeFlowLogsRequest extends $dara.Model {
95
95
  pageNumber?: number;
96
96
  /**
97
97
  * @remarks
98
- * The number of entries to return on each page. Maximum value: **50**. Default value: **20**.
98
+ * The number of items per page in a paginated query, with a maximum value of **50** and a default value of **20**.
99
99
  *
100
100
  * @example
101
101
  * 20
@@ -103,7 +103,7 @@ export class DescribeFlowLogsRequest extends $dara.Model {
103
103
  pageSize?: number;
104
104
  /**
105
105
  * @remarks
106
- * The project that manages the captured traffic data.
106
+ * The Project that manages the captured traffic.
107
107
  *
108
108
  * @example
109
109
  * FlowLogProject
@@ -113,7 +113,7 @@ export class DescribeFlowLogsRequest extends $dara.Model {
113
113
  * @remarks
114
114
  * The region ID of the flow log.
115
115
  *
116
- * You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the most recent region list.
116
+ * You can obtain the region ID by calling the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) interface.
117
117
  *
118
118
  * This parameter is required.
119
119
  *
@@ -123,7 +123,7 @@ export class DescribeFlowLogsRequest extends $dara.Model {
123
123
  regionId?: string;
124
124
  /**
125
125
  * @remarks
126
- * The ID of the resource group to which the flow log belongs.
126
+ * The resource group ID of the flow log.
127
127
  *
128
128
  * @example
129
129
  * rg-bp67acfmxazb4ph****
@@ -131,7 +131,7 @@ export class DescribeFlowLogsRequest extends $dara.Model {
131
131
  resourceGroupId?: string;
132
132
  /**
133
133
  * @remarks
134
- * The ID of the resource from which traffic is captured.
134
+ * The resource ID of the traffic to capture.
135
135
  *
136
136
  * @example
137
137
  * eni-askldfas****
@@ -141,11 +141,10 @@ export class DescribeFlowLogsRequest extends $dara.Model {
141
141
  resourceOwnerId?: number;
142
142
  /**
143
143
  * @remarks
144
- * The type of resource from which traffic is captured. Valid values:
145
- *
146
- * * **NetworkInterface**: elastic network interface (ENI)
147
- * * **VSwitch**: all ENIs in a vSwitch
148
- * * **VPC**: all ENIs in a virtual private cloud (VPC)
144
+ * The resource type of the traffic to capture. Values:
145
+ * - **NetworkInterface**: Elastic Network Interface (ENI).
146
+ * - **VSwitch**: All ENIs within a VSwitch.
147
+ * - **VPC**: All ENIs within a VPC.
149
148
  *
150
149
  * @example
151
150
  * NetworkInterface
@@ -153,11 +152,10 @@ export class DescribeFlowLogsRequest extends $dara.Model {
153
152
  resourceType?: string;
154
153
  /**
155
154
  * @remarks
156
- * The status of the flow log. Valid values:
157
- *
158
- * * **Active**
159
- * * **Activating**
160
- * * **Inactive**
155
+ * The status of the flow log. Values:
156
+ * - **Active**: The flow log is in an active state.
157
+ * - **Activating**: The flow log is being created.
158
+ * - **Inactive**: The flow log is in an inactive state.
161
159
  *
162
160
  * @example
163
161
  * Active
@@ -170,11 +168,10 @@ export class DescribeFlowLogsRequest extends $dara.Model {
170
168
  tags?: DescribeFlowLogsRequestTags[];
171
169
  /**
172
170
  * @remarks
173
- * The type of traffic that is captured. Valid values:
174
- *
175
- * * **All**: all traffic
176
- * * **Allow**: traffic that is allowed by access control
177
- * * **Drop**: traffic that is denied by access control
171
+ * The type of traffic to collect. Values:
172
+ * - **All**: All traffic.
173
+ * - **Allow**: Traffic allowed by access control.
174
+ * - **Drop**: Traffic denied by access control.
178
175
  *
179
176
  * @example
180
177
  * All
@@ -182,7 +179,7 @@ export class DescribeFlowLogsRequest extends $dara.Model {
182
179
  trafficType?: string;
183
180
  /**
184
181
  * @remarks
185
- * The ID of the VPC to which the flow log belongs.
182
+ * The ID of the VPC for which you want to view the flow log.
186
183
  *
187
184
  * @example
188
185
  * vpc-bp1nwd16gvo1wgs****
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeFlowLogsResponseBodyFlowLogsFlowLogTagsTag extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The key of tag N.
8
+ * Tag key.
9
9
  *
10
10
  * @example
11
11
  * FinanceDept
@@ -13,7 +13,7 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLogTagsTag extends $dara.Mo
13
13
  key?: string;
14
14
  /**
15
15
  * @remarks
16
- * The value of tag N.
16
+ * Tag value.
17
17
  *
18
18
  * @example
19
19
  * FinanceJoshua
@@ -105,10 +105,10 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $dara.Model {
105
105
  aggregationInterval?: number;
106
106
  /**
107
107
  * @remarks
108
- * The business status of the flow log. Valid values:
108
+ * The business status. Values:
109
109
  *
110
- * * **Normal**
111
- * * **FinancialLocked**
110
+ * - **Normal**: Normal status.
111
+ * - **FinancialLocked**: Locked due to unpaid bills.
112
112
  *
113
113
  * @example
114
114
  * Normal
@@ -116,7 +116,7 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $dara.Model {
116
116
  businessStatus?: string;
117
117
  /**
118
118
  * @remarks
119
- * The time when the flow log was created.
119
+ * The creation time of the flow log.
120
120
  *
121
121
  * @example
122
122
  * 2022-01-21T03:08:50Z
@@ -132,11 +132,10 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $dara.Model {
132
132
  description?: string;
133
133
  /**
134
134
  * @remarks
135
- * If the flow log failed to be delivered, you can troubleshoot based on the following error messages that may be returned:
136
- *
137
- * * **UnavaliableTarget**: The Logstore of SLS is unavailable and cannot receive logs. Check whether the Logstore is available.
138
- * * **ProjectNotExist**: The project of SLS does not exist. We recommend that you delete the project and create a new one.
139
- * * **UnknownError**: An internal error occurred. Try again later.
135
+ * When log delivery fails, you can troubleshoot based on the error messages. Possible error messages include:
136
+ * - **UnavaliableTarget**: The Logstore of the Log Service SLS is unavailable and cannot receive logs. It is recommended to check if the corresponding Logstore actually exists and is accessible.
137
+ * - **ProjectNotExist**: The Project of the Log Service SLS does not exist. It is suggested to delete the original flow log and create a new one pointing to an existing Project.
138
+ * - **UnknownError**: An internal error has occurred. Please try again later.
140
139
  *
141
140
  * @example
142
141
  * UnavaliableTarget
@@ -144,9 +143,9 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $dara.Model {
144
143
  flowLogDeliverErrorMessage?: string;
145
144
  /**
146
145
  * @remarks
147
- * Indicates whether the flow log is delivered. Valid values:
148
- * - **SUCCESS**
149
- * - **FAILED**
146
+ * The delivery status of the flow log, with values:
147
+ * - **SUCCESS**: Delivery succeeded.
148
+ * - **FAILED**: Delivery failed.
150
149
  *
151
150
  * @example
152
151
  * FAILED
@@ -168,10 +167,17 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $dara.Model {
168
167
  * myFlowlog
169
168
  */
170
169
  flowLogName?: string;
170
+ /**
171
+ * @remarks
172
+ * The type of IP address for collecting flow log traffic.
173
+ *
174
+ * @example
175
+ * IPv4
176
+ */
171
177
  ipVersion?: string;
172
178
  /**
173
179
  * @remarks
174
- * The Logstore that stores the captured traffic data.
180
+ * The Logstore where the captured traffic is stored.
175
181
  *
176
182
  * @example
177
183
  * FlowLogStore
@@ -179,7 +185,7 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $dara.Model {
179
185
  logStoreName?: string;
180
186
  /**
181
187
  * @remarks
182
- * The project that manages the captured traffic data.
188
+ * The Project that manages the captured traffic.
183
189
  *
184
190
  * @example
185
191
  * FlowLogProject
@@ -187,7 +193,7 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $dara.Model {
187
193
  projectName?: string;
188
194
  /**
189
195
  * @remarks
190
- * The region ID of the flow log.
196
+ * The region ID to which the flow log belongs.
191
197
  *
192
198
  * @example
193
199
  * cn-hangzhou
@@ -203,7 +209,7 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $dara.Model {
203
209
  resourceGroupId?: string;
204
210
  /**
205
211
  * @remarks
206
- * The ID of the resource from which traffic is captured.
212
+ * The resource ID of the traffic captured by the flow log.
207
213
  *
208
214
  * @example
209
215
  * eni-askldfas****
@@ -211,11 +217,11 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $dara.Model {
211
217
  resourceId?: string;
212
218
  /**
213
219
  * @remarks
214
- * The type of the resource from which traffic is captured. Valid values:
220
+ * The resource type of the traffic captured by the flow log:
215
221
  *
216
- * * **NetworkInterface**: ENI
217
- * * **VSwitch**: all ENIs in a vSwitch
218
- * * **VPC**: all ENIs in a VPC
222
+ * - **NetworkInterface**: Elastic network interface.
223
+ * - **VSwitch**: All elastic network interfaces within a VSwitch.
224
+ * - **VPC**: All elastic network interfaces within a VPC.
219
225
  *
220
226
  * @example
221
227
  * NetworkInterface
@@ -224,11 +230,9 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $dara.Model {
224
230
  /**
225
231
  * @remarks
226
232
  * The hosting type of the cloud service.
227
- *
228
- * * This parameter can be empty, which indicates that the flow log is created by the user.
229
- * * If this parameter is not empty, the value is set to **sls**. The value sls indicates that the flow log is created in the Simple Log Service (SLS) console.
230
- *
231
- * > A flow log that is created in the SLS console can be displayed in the VPC list. However, you cannot modify, start, stop, or delete the flow log in the VPC console. If you want to manage the flow log, you can log on to the [SLS console](https://sls.console.aliyun.com) and perform required operations.
233
+ * - It can be empty, indicating that the flow log was created by the user.
234
+ * - When not empty, the only supported value is: **sls**, indicating that the flow log was created through the Log Service console.
235
+ * > Flow log instances created through the Log Service console can be displayed in the VPC list, but they cannot be modified, started, stopped, or deleted within the VPC. If you need to perform these operations on the flow log, you can log in to the [Log Service console](https://sls.console.aliyun.com) to modify, start, stop, or delete it.
232
236
  *
233
237
  * @example
234
238
  * sls
@@ -236,11 +240,12 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $dara.Model {
236
240
  serviceType?: string;
237
241
  /**
238
242
  * @remarks
239
- * The status of the flow log. Valid values:
243
+ * The status of the flow log. Values:
244
+ * - **Active**: The flow log is in an active state.
245
+ *
246
+ * - **Activating**: The flow log is being created.
240
247
  *
241
- * * **Active**
242
- * * **Activating**
243
- * * **Inactive**
248
+ * - **Inactive**: The flow log is in an inactive state.
244
249
  *
245
250
  * @example
246
251
  * Active
@@ -248,26 +253,24 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $dara.Model {
248
253
  status?: string;
249
254
  /**
250
255
  * @remarks
251
- * The list of tags.
256
+ * List of tags
252
257
  */
253
258
  tags?: DescribeFlowLogsResponseBodyFlowLogsFlowLogTags;
254
259
  /**
255
260
  * @remarks
256
- * The sampling scope of the traffic that is collected. Valid values:
261
+ * The path of the captured traffic. Values:
257
262
  *
258
- * * **all** (default value): all traffic
259
- * * **internetGateway**: Internet traffic
260
- *
261
- * > By default, the traffic path feature is unavailable. To use this feature, [submit a ticket](https://workorder-intl.console.aliyun.com/?spm=5176.11182188.console-base-top.dworkorder.18ae4882n3v6ZW#/ticket/createIndex).
263
+ * - **all**: Indicates full collection.
264
+ * - **internetGateway**: Indicates public network traffic collection.
262
265
  */
263
266
  trafficPath?: DescribeFlowLogsResponseBodyFlowLogsFlowLogTrafficPath;
264
267
  /**
265
268
  * @remarks
266
- * The type of traffic that is captured by the flow log. Valid values:
269
+ * The type of traffic captured by the flow log. Values:
267
270
  *
268
- * * **All**: all traffic
269
- * * **Allow**: traffic that is allowed by access control
270
- * * **Drop**: traffic that is denied by access control
271
+ * - **All**: All traffic.
272
+ * - **Allow**: Traffic allowed by access control.
273
+ * - **Drop**: Traffic denied by access control.
271
274
  *
272
275
  * @example
273
276
  * All
@@ -367,12 +370,12 @@ export class DescribeFlowLogsResponseBodyFlowLogs extends $dara.Model {
367
370
  export class DescribeFlowLogsResponseBody extends $dara.Model {
368
371
  /**
369
372
  * @remarks
370
- * The information about the flow logs.
373
+ * List of flow logs.
371
374
  */
372
375
  flowLogs?: DescribeFlowLogsResponseBodyFlowLogs;
373
376
  /**
374
377
  * @remarks
375
- * The number of the returned page.
378
+ * The page number.
376
379
  *
377
380
  * @example
378
381
  * 1
@@ -380,7 +383,7 @@ export class DescribeFlowLogsResponseBody extends $dara.Model {
380
383
  pageNumber?: string;
381
384
  /**
382
385
  * @remarks
383
- * The number of entries per page.
386
+ * The number of items per page in a paginated query.
384
387
  *
385
388
  * @example
386
389
  * 20
@@ -396,10 +399,9 @@ export class DescribeFlowLogsResponseBody extends $dara.Model {
396
399
  requestId?: string;
397
400
  /**
398
401
  * @remarks
399
- * Indicates whether the operation is successful. Valid values:
400
- *
401
- * * **true**
402
- * * **false**
402
+ * Indicates whether the call was successful. Values:
403
+ * - **true**: The call was successful.
404
+ * - **false**: The call failed.
403
405
  *
404
406
  * @example
405
407
  * true
@@ -407,7 +409,7 @@ export class DescribeFlowLogsResponseBody extends $dara.Model {
407
409
  success?: string;
408
410
  /**
409
411
  * @remarks
410
- * The number of flow logs that are queried.
412
+ * The number of entries in the queried flow log list.
411
413
  *
412
414
  * @example
413
415
  * 1
@@ -184,6 +184,55 @@ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpLists extends
184
184
  }
185
185
  }
186
186
 
187
+ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpPrefixListIpPrefixList extends $dara.Model {
188
+ ipPrefix?: string;
189
+ static names(): { [key: string]: string } {
190
+ return {
191
+ ipPrefix: 'IpPrefix',
192
+ };
193
+ }
194
+
195
+ static types(): { [key: string]: any } {
196
+ return {
197
+ ipPrefix: 'string',
198
+ };
199
+ }
200
+
201
+ validate() {
202
+ super.validate();
203
+ }
204
+
205
+ constructor(map?: { [key: string]: any }) {
206
+ super(map);
207
+ }
208
+ }
209
+
210
+ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpPrefixList extends $dara.Model {
211
+ ipPrefixList?: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpPrefixListIpPrefixList[];
212
+ static names(): { [key: string]: string } {
213
+ return {
214
+ ipPrefixList: 'IpPrefixList',
215
+ };
216
+ }
217
+
218
+ static types(): { [key: string]: any } {
219
+ return {
220
+ ipPrefixList: { 'type': 'array', 'itemType': DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpPrefixListIpPrefixList },
221
+ };
222
+ }
223
+
224
+ validate() {
225
+ if(Array.isArray(this.ipPrefixList)) {
226
+ $dara.Model.validateArray(this.ipPrefixList);
227
+ }
228
+ super.validate();
229
+ }
230
+
231
+ constructor(map?: { [key: string]: any }) {
232
+ super(map);
233
+ }
234
+ }
235
+
187
236
  export class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayNatGatewayPrivateInfo extends $dara.Model {
188
237
  /**
189
238
  * @remarks
@@ -508,6 +557,7 @@ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $dara.
508
557
  * The list of elastic IP addresses (EIPs) that are associated with the Internet NAT gateway.
509
558
  */
510
559
  ipLists?: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpLists;
560
+ ipPrefixList?: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpPrefixList;
511
561
  /**
512
562
  * @remarks
513
563
  * The name of the NAT gateway.
@@ -659,6 +709,7 @@ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $dara.
659
709
  instanceChargeType: 'InstanceChargeType',
660
710
  internetChargeType: 'InternetChargeType',
661
711
  ipLists: 'IpLists',
712
+ ipPrefixList: 'IpPrefixList',
662
713
  name: 'Name',
663
714
  natGatewayId: 'NatGatewayId',
664
715
  natGatewayPrivateInfo: 'NatGatewayPrivateInfo',
@@ -695,6 +746,7 @@ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $dara.
695
746
  instanceChargeType: 'string',
696
747
  internetChargeType: 'string',
697
748
  ipLists: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpLists,
749
+ ipPrefixList: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpPrefixList,
698
750
  name: 'string',
699
751
  natGatewayId: 'string',
700
752
  natGatewayPrivateInfo: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayNatGatewayPrivateInfo,
@@ -726,6 +778,9 @@ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $dara.
726
778
  if(this.ipLists && typeof (this.ipLists as any).validate === 'function') {
727
779
  (this.ipLists as any).validate();
728
780
  }
781
+ if(this.ipPrefixList && typeof (this.ipPrefixList as any).validate === 'function') {
782
+ (this.ipPrefixList as any).validate();
783
+ }
729
784
  if(this.natGatewayPrivateInfo && typeof (this.natGatewayPrivateInfo as any).validate === 'function') {
730
785
  (this.natGatewayPrivateInfo as any).validate();
731
786
  }
@@ -80,6 +80,10 @@ export class DescribeTagsRequest extends $dara.Model {
80
80
  * cn-hangzhou
81
81
  */
82
82
  regionId?: string;
83
+ /**
84
+ * @remarks
85
+ * The resource IDs.
86
+ */
83
87
  resourceId?: string[];
84
88
  resourceOwnerAccount?: string;
85
89
  resourceOwnerId?: number;
@@ -99,6 +103,10 @@ export class DescribeTagsRequest extends $dara.Model {
99
103
  * VPC
100
104
  */
101
105
  resourceType?: string;
106
+ /**
107
+ * @remarks
108
+ * The tags.
109
+ */
102
110
  tag?: DescribeTagsRequestTag[];
103
111
  static names(): { [key: string]: string } {
104
112
  return {
@@ -0,0 +1,135 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeVpcGrantRulesToEcrRequestTags extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * FinanceDept
9
+ */
10
+ key?: string;
11
+ /**
12
+ * @example
13
+ * FinanceJoshua
14
+ */
15
+ value?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ key: 'Key',
19
+ value: 'Value',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ key: 'string',
26
+ value: 'string',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
39
+ export class DescribeVpcGrantRulesToEcrRequest extends $dara.Model {
40
+ /**
41
+ * @example
42
+ * ecr-ncxadcujadncsa****
43
+ */
44
+ ecrInstanceId?: string;
45
+ /**
46
+ * @example
47
+ * 192732132151****
48
+ */
49
+ ecrOwnerId?: number;
50
+ /**
51
+ * @example
52
+ * vpc-wz9ek66wd7tl5xqpy****
53
+ */
54
+ instanceId?: string;
55
+ /**
56
+ * @example
57
+ * VPC
58
+ */
59
+ instanceType?: string;
60
+ /**
61
+ * @example
62
+ * 50
63
+ */
64
+ maxResults?: number;
65
+ /**
66
+ * @example
67
+ * FFmyTO70tTpLG6I3FmYAXGKPd****
68
+ */
69
+ nextToken?: string;
70
+ ownerAccount?: string;
71
+ ownerId?: number;
72
+ /**
73
+ * @remarks
74
+ * This parameter is required.
75
+ *
76
+ * @example
77
+ * cn-hangzhou
78
+ */
79
+ regionId?: string;
80
+ /**
81
+ * @example
82
+ * rg-acfmxazb4ph6aiy****
83
+ */
84
+ resourceGroupId?: string;
85
+ resourceOwnerAccount?: string;
86
+ resourceOwnerId?: number;
87
+ tags?: DescribeVpcGrantRulesToEcrRequestTags[];
88
+ static names(): { [key: string]: string } {
89
+ return {
90
+ ecrInstanceId: 'EcrInstanceId',
91
+ ecrOwnerId: 'EcrOwnerId',
92
+ instanceId: 'InstanceId',
93
+ instanceType: 'InstanceType',
94
+ maxResults: 'MaxResults',
95
+ nextToken: 'NextToken',
96
+ ownerAccount: 'OwnerAccount',
97
+ ownerId: 'OwnerId',
98
+ regionId: 'RegionId',
99
+ resourceGroupId: 'ResourceGroupId',
100
+ resourceOwnerAccount: 'ResourceOwnerAccount',
101
+ resourceOwnerId: 'ResourceOwnerId',
102
+ tags: 'Tags',
103
+ };
104
+ }
105
+
106
+ static types(): { [key: string]: any } {
107
+ return {
108
+ ecrInstanceId: 'string',
109
+ ecrOwnerId: 'number',
110
+ instanceId: 'string',
111
+ instanceType: 'string',
112
+ maxResults: 'number',
113
+ nextToken: 'string',
114
+ ownerAccount: 'string',
115
+ ownerId: 'number',
116
+ regionId: 'string',
117
+ resourceGroupId: 'string',
118
+ resourceOwnerAccount: 'string',
119
+ resourceOwnerId: 'number',
120
+ tags: { 'type': 'array', 'itemType': DescribeVpcGrantRulesToEcrRequestTags },
121
+ };
122
+ }
123
+
124
+ validate() {
125
+ if(Array.isArray(this.tags)) {
126
+ $dara.Model.validateArray(this.tags);
127
+ }
128
+ super.validate();
129
+ }
130
+
131
+ constructor(map?: { [key: string]: any }) {
132
+ super(map);
133
+ }
134
+ }
135
+