@alicloud/vpc20160428 6.2.0 → 6.2.1

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/dist/client.d.ts CHANGED
@@ -12671,6 +12671,8 @@ export declare class ListFullNatEntriesRequest extends $tea.Model {
12671
12671
  ipProtocol?: string;
12672
12672
  maxResults?: number;
12673
12673
  natGatewayId?: string;
12674
+ natIp?: string;
12675
+ natIpPort?: string;
12674
12676
  networkInterfaceIds?: string[];
12675
12677
  nextToken?: string;
12676
12678
  ownerAccount?: string;
@@ -27804,13 +27806,13 @@ export default class Client extends OpenApi {
27804
27806
  */
27805
27807
  deleteRouteEntries(request: DeleteRouteEntriesRequest): Promise<DeleteRouteEntriesResponse>;
27806
27808
  /**
27807
- * When you call this operation, take note of the following rules:
27809
+ * When you call this operation, take note of the following items:
27808
27810
  * * You can delete only routes that are in the **Available** state.
27809
- * * You cannot delete a route of a virtual private cloud (VPC) in which a vSwitch or a route is being created.
27811
+ * * You cannot delete a route entry of a virtual private cloud (VPC) in which a vSwitch or another route entry is being created or deleted.
27810
27812
  * * Before you call this operation to delete a route of a VBR route table, call the [DescribeRouteEntryList](~~138148~~) operation to query the **NextHopId** of the route first.
27811
- * * The **DeleteRouteEntry** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeRouteEntryList](~~138148~~) operation to query the status of a route:
27813
+ * * **DeleteRouteEntry** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeRouteEntryList](~~138148~~) operation to query the status of the task.
27812
27814
  * * If the route is in the **Deleting** state, the route is being deleted.
27813
- * * If you cannot query the route, the route is deleted.
27815
+ * * If you cannot query the route entry, the route entry is deleted.
27814
27816
  * * You cannot repeatedly call the **DeleteRouteEntry** operation to delete a route from the route table of a vRouter or a VBR within the specified period of time.
27815
27817
  *
27816
27818
  * @param request DeleteRouteEntryRequest
@@ -27819,13 +27821,13 @@ export default class Client extends OpenApi {
27819
27821
  */
27820
27822
  deleteRouteEntryWithOptions(request: DeleteRouteEntryRequest, runtime: $Util.RuntimeOptions): Promise<DeleteRouteEntryResponse>;
27821
27823
  /**
27822
- * When you call this operation, take note of the following rules:
27824
+ * When you call this operation, take note of the following items:
27823
27825
  * * You can delete only routes that are in the **Available** state.
27824
- * * You cannot delete a route of a virtual private cloud (VPC) in which a vSwitch or a route is being created.
27826
+ * * You cannot delete a route entry of a virtual private cloud (VPC) in which a vSwitch or another route entry is being created or deleted.
27825
27827
  * * Before you call this operation to delete a route of a VBR route table, call the [DescribeRouteEntryList](~~138148~~) operation to query the **NextHopId** of the route first.
27826
- * * The **DeleteRouteEntry** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeRouteEntryList](~~138148~~) operation to query the status of a route:
27828
+ * * **DeleteRouteEntry** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeRouteEntryList](~~138148~~) operation to query the status of the task.
27827
27829
  * * If the route is in the **Deleting** state, the route is being deleted.
27828
- * * If you cannot query the route, the route is deleted.
27830
+ * * If you cannot query the route entry, the route entry is deleted.
27829
27831
  * * You cannot repeatedly call the **DeleteRouteEntry** operation to delete a route from the route table of a vRouter or a VBR within the specified period of time.
27830
27832
  *
27831
27833
  * @param request DeleteRouteEntryRequest
package/dist/client.js CHANGED
@@ -18482,6 +18482,8 @@ class ListFullNatEntriesRequest extends $tea.Model {
18482
18482
  ipProtocol: 'IpProtocol',
18483
18483
  maxResults: 'MaxResults',
18484
18484
  natGatewayId: 'NatGatewayId',
18485
+ natIp: 'NatIp',
18486
+ natIpPort: 'NatIpPort',
18485
18487
  networkInterfaceIds: 'NetworkInterfaceIds',
18486
18488
  nextToken: 'NextToken',
18487
18489
  ownerAccount: 'OwnerAccount',
@@ -18500,6 +18502,8 @@ class ListFullNatEntriesRequest extends $tea.Model {
18500
18502
  ipProtocol: 'string',
18501
18503
  maxResults: 'number',
18502
18504
  natGatewayId: 'string',
18505
+ natIp: 'string',
18506
+ natIpPort: 'string',
18503
18507
  networkInterfaceIds: { 'type': 'array', 'itemType': 'string' },
18504
18508
  nextToken: 'string',
18505
18509
  ownerAccount: 'string',
@@ -46341,13 +46345,13 @@ class Client extends openapi_client_1.default {
46341
46345
  return await this.deleteRouteEntriesWithOptions(request, runtime);
46342
46346
  }
46343
46347
  /**
46344
- * When you call this operation, take note of the following rules:
46348
+ * When you call this operation, take note of the following items:
46345
46349
  * * You can delete only routes that are in the **Available** state.
46346
- * * You cannot delete a route of a virtual private cloud (VPC) in which a vSwitch or a route is being created.
46350
+ * * You cannot delete a route entry of a virtual private cloud (VPC) in which a vSwitch or another route entry is being created or deleted.
46347
46351
  * * Before you call this operation to delete a route of a VBR route table, call the [DescribeRouteEntryList](~~138148~~) operation to query the **NextHopId** of the route first.
46348
- * * The **DeleteRouteEntry** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeRouteEntryList](~~138148~~) operation to query the status of a route:
46352
+ * * **DeleteRouteEntry** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeRouteEntryList](~~138148~~) operation to query the status of the task.
46349
46353
  * * If the route is in the **Deleting** state, the route is being deleted.
46350
- * * If you cannot query the route, the route is deleted.
46354
+ * * If you cannot query the route entry, the route entry is deleted.
46351
46355
  * * You cannot repeatedly call the **DeleteRouteEntry** operation to delete a route from the route table of a vRouter or a VBR within the specified period of time.
46352
46356
  *
46353
46357
  * @param request DeleteRouteEntryRequest
@@ -46404,13 +46408,13 @@ class Client extends openapi_client_1.default {
46404
46408
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteRouteEntryResponse({}));
46405
46409
  }
46406
46410
  /**
46407
- * When you call this operation, take note of the following rules:
46411
+ * When you call this operation, take note of the following items:
46408
46412
  * * You can delete only routes that are in the **Available** state.
46409
- * * You cannot delete a route of a virtual private cloud (VPC) in which a vSwitch or a route is being created.
46413
+ * * You cannot delete a route entry of a virtual private cloud (VPC) in which a vSwitch or another route entry is being created or deleted.
46410
46414
  * * Before you call this operation to delete a route of a VBR route table, call the [DescribeRouteEntryList](~~138148~~) operation to query the **NextHopId** of the route first.
46411
- * * The **DeleteRouteEntry** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeRouteEntryList](~~138148~~) operation to query the status of a route:
46415
+ * * **DeleteRouteEntry** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeRouteEntryList](~~138148~~) operation to query the status of the task.
46412
46416
  * * If the route is in the **Deleting** state, the route is being deleted.
46413
- * * If you cannot query the route, the route is deleted.
46417
+ * * If you cannot query the route entry, the route entry is deleted.
46414
46418
  * * You cannot repeatedly call the **DeleteRouteEntry** operation to delete a route from the route table of a vRouter or a VBR within the specified period of time.
46415
46419
  *
46416
46420
  * @param request DeleteRouteEntryRequest
@@ -53364,6 +53368,12 @@ class Client extends openapi_client_1.default {
53364
53368
  if (!tea_util_1.default.isUnset(request.natGatewayId)) {
53365
53369
  query["NatGatewayId"] = request.natGatewayId;
53366
53370
  }
53371
+ if (!tea_util_1.default.isUnset(request.natIp)) {
53372
+ query["NatIp"] = request.natIp;
53373
+ }
53374
+ if (!tea_util_1.default.isUnset(request.natIpPort)) {
53375
+ query["NatIpPort"] = request.natIpPort;
53376
+ }
53367
53377
  if (!tea_util_1.default.isUnset(request.networkInterfaceIds)) {
53368
53378
  query["NetworkInterfaceIds"] = request.networkInterfaceIds;
53369
53379
  }