@alicloud/vpc20160428 7.1.0 → 7.1.2
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 +28 -21
- package/dist/client.js +43 -21
- package/dist/client.js.map +1 -1
- package/dist/models/AddCommonBandwidthPackageIpRequest.d.ts +1 -0
- package/dist/models/AddCommonBandwidthPackageIpRequest.js +2 -0
- package/dist/models/AddCommonBandwidthPackageIpRequest.js.map +1 -1
- package/dist/models/AssociateVpcCidrBlockRequest.d.ts +2 -2
- package/dist/models/CreateDefaultVswitchRequest.d.ts +2 -2
- package/dist/models/CreateIpv6egressOnlyRuleRequest.d.ts +1 -0
- package/dist/models/CreateIpv6egressOnlyRuleRequest.js +2 -0
- package/dist/models/CreateIpv6egressOnlyRuleRequest.js.map +1 -1
- package/dist/models/CreateIpv6gatewayRequest.d.ts +1 -0
- package/dist/models/CreateIpv6gatewayRequest.js +2 -0
- package/dist/models/CreateIpv6gatewayRequest.js.map +1 -1
- package/dist/models/CreateVpcRequest.d.ts +2 -2
- package/dist/models/DeleteIpv6egressOnlyRuleRequest.d.ts +1 -0
- package/dist/models/DeleteIpv6egressOnlyRuleRequest.js +2 -0
- package/dist/models/DeleteIpv6egressOnlyRuleRequest.js.map +1 -1
- package/dist/models/DeleteVpcRequest.d.ts +1 -1
- package/dist/models/DeleteVswitchCidrReservationRequest.d.ts +1 -1
- package/dist/models/DeleteVswitchRequest.d.ts +1 -1
- package/dist/models/DescribeGrantRulesToCenRequest.d.ts +2 -2
- package/dist/models/DescribeVpcAttributeRequest.d.ts +1 -1
- package/dist/models/DescribeVpcsRequest.d.ts +2 -2
- package/dist/models/DescribeVswitchAttributesRequest.d.ts +1 -1
- package/dist/models/DescribeVswitchAttributesResponseBody.d.ts +5 -3
- package/dist/models/DescribeVswitchAttributesResponseBody.js.map +1 -1
- package/dist/models/DescribeVswitchesRequest.d.ts +1 -1
- package/dist/models/GrantInstanceToCenRequest.d.ts +1 -1
- package/dist/models/ModifyVpcAttributeRequest.d.ts +1 -1
- package/dist/models/RemoveCommonBandwidthPackageIpRequest.d.ts +1 -0
- package/dist/models/RemoveCommonBandwidthPackageIpRequest.js +2 -0
- package/dist/models/RemoveCommonBandwidthPackageIpRequest.js.map +1 -1
- package/dist/models/RevokeInstanceFromCenRequest.d.ts +1 -1
- package/dist/models/UnassociateVpcCidrBlockRequest.d.ts +6 -4
- package/dist/models/UnassociateVpcCidrBlockRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +48 -21
- package/src/models/AddCommonBandwidthPackageIpRequest.ts +3 -0
- package/src/models/AssociateVpcCidrBlockRequest.ts +2 -2
- package/src/models/CreateDefaultVswitchRequest.ts +2 -2
- package/src/models/CreateIpv6egressOnlyRuleRequest.ts +3 -0
- package/src/models/CreateIpv6gatewayRequest.ts +3 -0
- package/src/models/CreateVpcRequest.ts +2 -2
- package/src/models/DeleteIpv6egressOnlyRuleRequest.ts +3 -0
- package/src/models/DeleteVpcRequest.ts +1 -1
- package/src/models/DeleteVswitchCidrReservationRequest.ts +1 -1
- package/src/models/DeleteVswitchRequest.ts +1 -1
- package/src/models/DescribeGrantRulesToCenRequest.ts +2 -2
- package/src/models/DescribeVpcAttributeRequest.ts +1 -1
- package/src/models/DescribeVpcsRequest.ts +2 -2
- package/src/models/DescribeVswitchAttributesRequest.ts +1 -1
- package/src/models/DescribeVswitchAttributesResponseBody.ts +5 -3
- package/src/models/DescribeVswitchesRequest.ts +1 -1
- package/src/models/GrantInstanceToCenRequest.ts +1 -1
- package/src/models/ModifyVpcAttributeRequest.ts +1 -1
- package/src/models/RemoveCommonBandwidthPackageIpRequest.ts +3 -0
- package/src/models/RevokeInstanceFromCenRequest.ts +1 -1
- package/src/models/UnassociateVpcCidrBlockRequest.ts +6 -4
package/dist/client.d.ts
CHANGED
|
@@ -333,7 +333,7 @@ export default class Client extends OpenApi {
|
|
|
333
333
|
* # [](#)
|
|
334
334
|
* The following section describes how to allocate an IPv6 CIDR block to a virtual private cloud (VPC):
|
|
335
335
|
* 1. Call the AllocateVpcIpv6Cidr operation to reserve the IPv6 CIDR block.
|
|
336
|
-
* 2. To allocate an IPv6 CIDR block to an existing VPC, call the [AssociateVpcCidrBlock](https://help.aliyun.com/document_detail/146745.html) operation. Set **RegionId**, **VpcId**, and **IPv6CidrBlock** to the IPv6 CIDR
|
|
336
|
+
* 2. To allocate an IPv6 CIDR block to an existing VPC, call the [AssociateVpcCidrBlock](https://help.aliyun.com/document_detail/146745.html) operation. Set **RegionId**, **VpcId**, and **IPv6CidrBlock** to the IPv6 CIDR block, and set **IpVersion** to **ipv6**. To allocate an IPv6 CIDR block when you create a VPC, call the [CreateVpc](https://help.aliyun.com/document_detail/35737.html) operation. Set **RegionId** and **Ipv6CidrBlock** to the IPv6 CIDR block, and set **EnableIpv6** to **true**.
|
|
337
337
|
*
|
|
338
338
|
* @param request - AllocateVpcIpv6CidrRequest
|
|
339
339
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -347,7 +347,7 @@ export default class Client extends OpenApi {
|
|
|
347
347
|
* # [](#)
|
|
348
348
|
* The following section describes how to allocate an IPv6 CIDR block to a virtual private cloud (VPC):
|
|
349
349
|
* 1. Call the AllocateVpcIpv6Cidr operation to reserve the IPv6 CIDR block.
|
|
350
|
-
* 2. To allocate an IPv6 CIDR block to an existing VPC, call the [AssociateVpcCidrBlock](https://help.aliyun.com/document_detail/146745.html) operation. Set **RegionId**, **VpcId**, and **IPv6CidrBlock** to the IPv6 CIDR
|
|
350
|
+
* 2. To allocate an IPv6 CIDR block to an existing VPC, call the [AssociateVpcCidrBlock](https://help.aliyun.com/document_detail/146745.html) operation. Set **RegionId**, **VpcId**, and **IPv6CidrBlock** to the IPv6 CIDR block, and set **IpVersion** to **ipv6**. To allocate an IPv6 CIDR block when you create a VPC, call the [CreateVpc](https://help.aliyun.com/document_detail/35737.html) operation. Set **RegionId** and **Ipv6CidrBlock** to the IPv6 CIDR block, and set **EnableIpv6** to **true**.
|
|
351
351
|
*
|
|
352
352
|
* @param request - AllocateVpcIpv6CidrRequest
|
|
353
353
|
* @returns AllocateVpcIpv6CidrResponse
|
|
@@ -2243,9 +2243,9 @@ export default class Client extends OpenApi {
|
|
|
2243
2243
|
* * After you create a VPC, a vRouter and a route table are automatically created.
|
|
2244
2244
|
* * At most three user CIDR blocks can be added to a VPC. If a user CIDR block includes another user CIDR block, the one with the shorter subnet mask takes effect. For example, if both 10.0.0.0/8 and 10.1.0.0/16 are specified, only 10.0.0.0/8 takes effect.
|
|
2245
2245
|
* * **CreateVpc** 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 [DescribeVpcAttribute](https://help.aliyun.com/document_detail/94565.html) operation to query the status of the task:
|
|
2246
|
-
* * If the VPC is in the **
|
|
2247
|
-
* * If the VPC is in the **
|
|
2248
|
-
* * You cannot repeatedly call the **
|
|
2246
|
+
* * If the VPC is in the **Pending** state, the VPC is being created.
|
|
2247
|
+
* * If the VPC is in the **Available** state, the VPC is created.
|
|
2248
|
+
* * You cannot repeatedly call the **CreateVpc** operation to create default VPCs within a specific time period. However, you can repeatedly call this operation to create custom VPCs within a specific time period.
|
|
2249
2249
|
*
|
|
2250
2250
|
* @param request - CreateVpcRequest
|
|
2251
2251
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2263,9 +2263,9 @@ export default class Client extends OpenApi {
|
|
|
2263
2263
|
* * After you create a VPC, a vRouter and a route table are automatically created.
|
|
2264
2264
|
* * At most three user CIDR blocks can be added to a VPC. If a user CIDR block includes another user CIDR block, the one with the shorter subnet mask takes effect. For example, if both 10.0.0.0/8 and 10.1.0.0/16 are specified, only 10.0.0.0/8 takes effect.
|
|
2265
2265
|
* * **CreateVpc** 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 [DescribeVpcAttribute](https://help.aliyun.com/document_detail/94565.html) operation to query the status of the task:
|
|
2266
|
-
* * If the VPC is in the **
|
|
2267
|
-
* * If the VPC is in the **
|
|
2268
|
-
* * You cannot repeatedly call the **
|
|
2266
|
+
* * If the VPC is in the **Pending** state, the VPC is being created.
|
|
2267
|
+
* * If the VPC is in the **Available** state, the VPC is created.
|
|
2268
|
+
* * You cannot repeatedly call the **CreateVpc** operation to create default VPCs within a specific time period. However, you can repeatedly call this operation to create custom VPCs within a specific time period.
|
|
2269
2269
|
*
|
|
2270
2270
|
* @param request - CreateVpcRequest
|
|
2271
2271
|
* @returns CreateVpcResponse
|
|
@@ -3603,8 +3603,8 @@ export default class Client extends OpenApi {
|
|
|
3603
3603
|
* * You can delete only vSwitches that are in the **Available** state.
|
|
3604
3604
|
* * You cannot delete a vSwitch from a VPC where a vSwitch or a route is being created or deleted.
|
|
3605
3605
|
* * **DeleteVSwitch** 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 [DescribeVSwitchAttributes](https://help.aliyun.com/document_detail/94567.html) operation to query the status of the task:
|
|
3606
|
-
* * If the vSwitch is in the **
|
|
3607
|
-
* * If
|
|
3606
|
+
* * If the vSwitch is in the **Deleting** state, the vSwitch is being deleted.
|
|
3607
|
+
* * If the DescribeVSwitchAttributes operation returns empty values for the vSwitch attributes, the vSwitch is deleted.
|
|
3608
3608
|
* * You cannot repeatedly call the **DeleteVSwitch** operation to delete a vSwitch within the specified period of time.
|
|
3609
3609
|
*
|
|
3610
3610
|
* @param request - DeleteVSwitchRequest
|
|
@@ -3621,8 +3621,8 @@ export default class Client extends OpenApi {
|
|
|
3621
3621
|
* * You can delete only vSwitches that are in the **Available** state.
|
|
3622
3622
|
* * You cannot delete a vSwitch from a VPC where a vSwitch or a route is being created or deleted.
|
|
3623
3623
|
* * **DeleteVSwitch** 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 [DescribeVSwitchAttributes](https://help.aliyun.com/document_detail/94567.html) operation to query the status of the task:
|
|
3624
|
-
* * If the vSwitch is in the **
|
|
3625
|
-
* * If
|
|
3624
|
+
* * If the vSwitch is in the **Deleting** state, the vSwitch is being deleted.
|
|
3625
|
+
* * If the DescribeVSwitchAttributes operation returns empty values for the vSwitch attributes, the vSwitch is deleted.
|
|
3626
3626
|
* * You cannot repeatedly call the **DeleteVSwitch** operation to delete a vSwitch within the specified period of time.
|
|
3627
3627
|
*
|
|
3628
3628
|
* @param request - DeleteVSwitchRequest
|
|
@@ -4961,6 +4961,10 @@ export default class Client extends OpenApi {
|
|
|
4961
4961
|
/**
|
|
4962
4962
|
* Queries the configuration of a virtual private cloud (VPC).
|
|
4963
4963
|
*
|
|
4964
|
+
* @remarks
|
|
4965
|
+
* ## Debugging
|
|
4966
|
+
* [You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.](https://api.aliyun.com/#product=Vpc\\&api=DescribeVpcAttribute\\&type=RPC\\&version=2016-04-28)
|
|
4967
|
+
*
|
|
4964
4968
|
* @param request - DescribeVpcAttributeRequest
|
|
4965
4969
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4966
4970
|
* @returns DescribeVpcAttributeResponse
|
|
@@ -4969,6 +4973,10 @@ export default class Client extends OpenApi {
|
|
|
4969
4973
|
/**
|
|
4970
4974
|
* Queries the configuration of a virtual private cloud (VPC).
|
|
4971
4975
|
*
|
|
4976
|
+
* @remarks
|
|
4977
|
+
* ## Debugging
|
|
4978
|
+
* [You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.](https://api.aliyun.com/#product=Vpc\\&api=DescribeVpcAttribute\\&type=RPC\\&version=2016-04-28)
|
|
4979
|
+
*
|
|
4972
4980
|
* @param request - DescribeVpcAttributeRequest
|
|
4973
4981
|
* @returns DescribeVpcAttributeResponse
|
|
4974
4982
|
*/
|
|
@@ -5154,7 +5162,7 @@ export default class Client extends OpenApi {
|
|
|
5154
5162
|
*/
|
|
5155
5163
|
describeVpnRouteEntries(request: $_model.DescribeVpnRouteEntriesRequest): Promise<$_model.DescribeVpnRouteEntriesResponse>;
|
|
5156
5164
|
/**
|
|
5157
|
-
* Queries the log of an SSL server.
|
|
5165
|
+
* Queries the log entries of an SSL server.
|
|
5158
5166
|
*
|
|
5159
5167
|
* @param request - DescribeVpnSslServerLogsRequest
|
|
5160
5168
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5162,7 +5170,7 @@ export default class Client extends OpenApi {
|
|
|
5162
5170
|
*/
|
|
5163
5171
|
describeVpnSslServerLogsWithOptions(request: $_model.DescribeVpnSslServerLogsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeVpnSslServerLogsResponse>;
|
|
5164
5172
|
/**
|
|
5165
|
-
* Queries the log of an SSL server.
|
|
5173
|
+
* Queries the log entries of an SSL server.
|
|
5166
5174
|
*
|
|
5167
5175
|
* @param request - DescribeVpnSslServerLogsRequest
|
|
5168
5176
|
* @returns DescribeVpnSslServerLogsResponse
|
|
@@ -5801,7 +5809,6 @@ export default class Client extends OpenApi {
|
|
|
5801
5809
|
/**
|
|
5802
5810
|
* Queries the most recent region list.
|
|
5803
5811
|
*
|
|
5804
|
-
* @param request - ListGeographicSubRegionsRequest
|
|
5805
5812
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
5806
5813
|
* @returns ListGeographicSubRegionsResponse
|
|
5807
5814
|
*/
|
|
@@ -7012,7 +7019,7 @@ export default class Client extends OpenApi {
|
|
|
7012
7019
|
*/
|
|
7013
7020
|
modifyVRouterAttribute(request: $_model.ModifyVRouterAttributeRequest): Promise<$_model.ModifyVRouterAttributeResponse>;
|
|
7014
7021
|
/**
|
|
7015
|
-
* Modifies the name and
|
|
7022
|
+
* Modifies the name, description, and IPv6 settings of a vSwitch.
|
|
7016
7023
|
*
|
|
7017
7024
|
* @remarks
|
|
7018
7025
|
* **ModifyVSwitchAttribute** 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 [DescribeVSwitchAttributes](https://help.aliyun.com/document_detail/94567.html) operation to query the status of the task:
|
|
@@ -7026,7 +7033,7 @@ export default class Client extends OpenApi {
|
|
|
7026
7033
|
*/
|
|
7027
7034
|
modifyVSwitchAttributeWithOptions(request: $_model.ModifyVSwitchAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyVSwitchAttributeResponse>;
|
|
7028
7035
|
/**
|
|
7029
|
-
* Modifies the name and
|
|
7036
|
+
* Modifies the name, description, and IPv6 settings of a vSwitch.
|
|
7030
7037
|
*
|
|
7031
7038
|
* @remarks
|
|
7032
7039
|
* **ModifyVSwitchAttribute** 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 [DescribeVSwitchAttributes](https://help.aliyun.com/document_detail/94567.html) operation to query the status of the task:
|
|
@@ -7122,7 +7129,7 @@ export default class Client extends OpenApi {
|
|
|
7122
7129
|
*/
|
|
7123
7130
|
modifyVirtualBorderRouterAttribute(request: $_model.ModifyVirtualBorderRouterAttributeRequest): Promise<$_model.ModifyVirtualBorderRouterAttributeResponse>;
|
|
7124
7131
|
/**
|
|
7125
|
-
* Modifies the
|
|
7132
|
+
* Modifies the name and description of a virtual private cloud (VPC).
|
|
7126
7133
|
*
|
|
7127
7134
|
* @remarks
|
|
7128
7135
|
* ## [](#)Description
|
|
@@ -7134,7 +7141,7 @@ export default class Client extends OpenApi {
|
|
|
7134
7141
|
*/
|
|
7135
7142
|
modifyVpcAttributeWithOptions(request: $_model.ModifyVpcAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyVpcAttributeResponse>;
|
|
7136
7143
|
/**
|
|
7137
|
-
* Modifies the
|
|
7144
|
+
* Modifies the name and description of a virtual private cloud (VPC).
|
|
7138
7145
|
*
|
|
7139
7146
|
* @remarks
|
|
7140
7147
|
* ## [](#)Description
|
|
@@ -7242,7 +7249,7 @@ export default class Client extends OpenApi {
|
|
|
7242
7249
|
*/
|
|
7243
7250
|
modifyVpnConnectionAttribute(request: $_model.ModifyVpnConnectionAttributeRequest): Promise<$_model.ModifyVpnConnectionAttributeResponse>;
|
|
7244
7251
|
/**
|
|
7245
|
-
* Modifies the name and description of a VPN
|
|
7252
|
+
* Modifies the name and description of a VPN gateway.
|
|
7246
7253
|
*
|
|
7247
7254
|
* @remarks
|
|
7248
7255
|
* **ModifyVpnGatewayAttribute** 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 [DescribeVpnGateway](https://help.aliyun.com/document_detail/73720.html) to query the status of the task.
|
|
@@ -7256,7 +7263,7 @@ export default class Client extends OpenApi {
|
|
|
7256
7263
|
*/
|
|
7257
7264
|
modifyVpnGatewayAttributeWithOptions(request: $_model.ModifyVpnGatewayAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyVpnGatewayAttributeResponse>;
|
|
7258
7265
|
/**
|
|
7259
|
-
* Modifies the name and description of a VPN
|
|
7266
|
+
* Modifies the name and description of a VPN gateway.
|
|
7260
7267
|
*
|
|
7261
7268
|
* @remarks
|
|
7262
7269
|
* **ModifyVpnGatewayAttribute** 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 [DescribeVpnGateway](https://help.aliyun.com/document_detail/73720.html) to query the status of the task.
|
package/dist/client.js
CHANGED
|
@@ -306,6 +306,9 @@ class Client extends openapi_core_1.default {
|
|
|
306
306
|
if (!$dara.isNull(request.clientToken)) {
|
|
307
307
|
query["ClientToken"] = request.clientToken;
|
|
308
308
|
}
|
|
309
|
+
if (!$dara.isNull(request.dryRun)) {
|
|
310
|
+
query["DryRun"] = request.dryRun;
|
|
311
|
+
}
|
|
309
312
|
if (!$dara.isNull(request.ipInstanceId)) {
|
|
310
313
|
query["IpInstanceId"] = request.ipInstanceId;
|
|
311
314
|
}
|
|
@@ -1191,7 +1194,7 @@ class Client extends openapi_core_1.default {
|
|
|
1191
1194
|
* # [](#)
|
|
1192
1195
|
* The following section describes how to allocate an IPv6 CIDR block to a virtual private cloud (VPC):
|
|
1193
1196
|
* 1. Call the AllocateVpcIpv6Cidr operation to reserve the IPv6 CIDR block.
|
|
1194
|
-
* 2. To allocate an IPv6 CIDR block to an existing VPC, call the [AssociateVpcCidrBlock](https://help.aliyun.com/document_detail/146745.html) operation. Set **RegionId**, **VpcId**, and **IPv6CidrBlock** to the IPv6 CIDR
|
|
1197
|
+
* 2. To allocate an IPv6 CIDR block to an existing VPC, call the [AssociateVpcCidrBlock](https://help.aliyun.com/document_detail/146745.html) operation. Set **RegionId**, **VpcId**, and **IPv6CidrBlock** to the IPv6 CIDR block, and set **IpVersion** to **ipv6**. To allocate an IPv6 CIDR block when you create a VPC, call the [CreateVpc](https://help.aliyun.com/document_detail/35737.html) operation. Set **RegionId** and **Ipv6CidrBlock** to the IPv6 CIDR block, and set **EnableIpv6** to **true**.
|
|
1195
1198
|
*
|
|
1196
1199
|
* @param request - AllocateVpcIpv6CidrRequest
|
|
1197
1200
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1253,7 +1256,7 @@ class Client extends openapi_core_1.default {
|
|
|
1253
1256
|
* # [](#)
|
|
1254
1257
|
* The following section describes how to allocate an IPv6 CIDR block to a virtual private cloud (VPC):
|
|
1255
1258
|
* 1. Call the AllocateVpcIpv6Cidr operation to reserve the IPv6 CIDR block.
|
|
1256
|
-
* 2. To allocate an IPv6 CIDR block to an existing VPC, call the [AssociateVpcCidrBlock](https://help.aliyun.com/document_detail/146745.html) operation. Set **RegionId**, **VpcId**, and **IPv6CidrBlock** to the IPv6 CIDR
|
|
1259
|
+
* 2. To allocate an IPv6 CIDR block to an existing VPC, call the [AssociateVpcCidrBlock](https://help.aliyun.com/document_detail/146745.html) operation. Set **RegionId**, **VpcId**, and **IPv6CidrBlock** to the IPv6 CIDR block, and set **IpVersion** to **ipv6**. To allocate an IPv6 CIDR block when you create a VPC, call the [CreateVpc](https://help.aliyun.com/document_detail/35737.html) operation. Set **RegionId** and **Ipv6CidrBlock** to the IPv6 CIDR block, and set **EnableIpv6** to **true**.
|
|
1257
1260
|
*
|
|
1258
1261
|
* @param request - AllocateVpcIpv6CidrRequest
|
|
1259
1262
|
* @returns AllocateVpcIpv6CidrResponse
|
|
@@ -4926,6 +4929,9 @@ class Client extends openapi_core_1.default {
|
|
|
4926
4929
|
if (!$dara.isNull(request.description)) {
|
|
4927
4930
|
query["Description"] = request.description;
|
|
4928
4931
|
}
|
|
4932
|
+
if (!$dara.isNull(request.dryRun)) {
|
|
4933
|
+
query["DryRun"] = request.dryRun;
|
|
4934
|
+
}
|
|
4929
4935
|
if (!$dara.isNull(request.instanceId)) {
|
|
4930
4936
|
query["InstanceId"] = request.instanceId;
|
|
4931
4937
|
}
|
|
@@ -5010,6 +5016,9 @@ class Client extends openapi_core_1.default {
|
|
|
5010
5016
|
if (!$dara.isNull(request.description)) {
|
|
5011
5017
|
query["Description"] = request.description;
|
|
5012
5018
|
}
|
|
5019
|
+
if (!$dara.isNull(request.dryRun)) {
|
|
5020
|
+
query["DryRun"] = request.dryRun;
|
|
5021
|
+
}
|
|
5013
5022
|
if (!$dara.isNull(request.name)) {
|
|
5014
5023
|
query["Name"] = request.name;
|
|
5015
5024
|
}
|
|
@@ -7433,9 +7442,9 @@ class Client extends openapi_core_1.default {
|
|
|
7433
7442
|
* * After you create a VPC, a vRouter and a route table are automatically created.
|
|
7434
7443
|
* * At most three user CIDR blocks can be added to a VPC. If a user CIDR block includes another user CIDR block, the one with the shorter subnet mask takes effect. For example, if both 10.0.0.0/8 and 10.1.0.0/16 are specified, only 10.0.0.0/8 takes effect.
|
|
7435
7444
|
* * **CreateVpc** 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 [DescribeVpcAttribute](https://help.aliyun.com/document_detail/94565.html) operation to query the status of the task:
|
|
7436
|
-
* * If the VPC is in the **
|
|
7437
|
-
* * If the VPC is in the **
|
|
7438
|
-
* * You cannot repeatedly call the **
|
|
7445
|
+
* * If the VPC is in the **Pending** state, the VPC is being created.
|
|
7446
|
+
* * If the VPC is in the **Available** state, the VPC is created.
|
|
7447
|
+
* * You cannot repeatedly call the **CreateVpc** operation to create default VPCs within a specific time period. However, you can repeatedly call this operation to create custom VPCs within a specific time period.
|
|
7439
7448
|
*
|
|
7440
7449
|
* @param request - CreateVpcRequest
|
|
7441
7450
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7534,9 +7543,9 @@ class Client extends openapi_core_1.default {
|
|
|
7534
7543
|
* * After you create a VPC, a vRouter and a route table are automatically created.
|
|
7535
7544
|
* * At most three user CIDR blocks can be added to a VPC. If a user CIDR block includes another user CIDR block, the one with the shorter subnet mask takes effect. For example, if both 10.0.0.0/8 and 10.1.0.0/16 are specified, only 10.0.0.0/8 takes effect.
|
|
7536
7545
|
* * **CreateVpc** 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 [DescribeVpcAttribute](https://help.aliyun.com/document_detail/94565.html) operation to query the status of the task:
|
|
7537
|
-
* * If the VPC is in the **
|
|
7538
|
-
* * If the VPC is in the **
|
|
7539
|
-
* * You cannot repeatedly call the **
|
|
7546
|
+
* * If the VPC is in the **Pending** state, the VPC is being created.
|
|
7547
|
+
* * If the VPC is in the **Available** state, the VPC is created.
|
|
7548
|
+
* * You cannot repeatedly call the **CreateVpc** operation to create default VPCs within a specific time period. However, you can repeatedly call this operation to create custom VPCs within a specific time period.
|
|
7540
7549
|
*
|
|
7541
7550
|
* @param request - CreateVpcRequest
|
|
7542
7551
|
* @returns CreateVpcResponse
|
|
@@ -9901,6 +9910,9 @@ class Client extends openapi_core_1.default {
|
|
|
9901
9910
|
if (!$dara.isNull(request.clientToken)) {
|
|
9902
9911
|
query["ClientToken"] = request.clientToken;
|
|
9903
9912
|
}
|
|
9913
|
+
if (!$dara.isNull(request.dryRun)) {
|
|
9914
|
+
query["DryRun"] = request.dryRun;
|
|
9915
|
+
}
|
|
9904
9916
|
if (!$dara.isNull(request.ipv6EgressOnlyRuleId)) {
|
|
9905
9917
|
query["Ipv6EgressOnlyRuleId"] = request.ipv6EgressOnlyRuleId;
|
|
9906
9918
|
}
|
|
@@ -11431,8 +11443,8 @@ class Client extends openapi_core_1.default {
|
|
|
11431
11443
|
* * You can delete only vSwitches that are in the **Available** state.
|
|
11432
11444
|
* * You cannot delete a vSwitch from a VPC where a vSwitch or a route is being created or deleted.
|
|
11433
11445
|
* * **DeleteVSwitch** 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 [DescribeVSwitchAttributes](https://help.aliyun.com/document_detail/94567.html) operation to query the status of the task:
|
|
11434
|
-
* * If the vSwitch is in the **
|
|
11435
|
-
* * If
|
|
11446
|
+
* * If the vSwitch is in the **Deleting** state, the vSwitch is being deleted.
|
|
11447
|
+
* * If the DescribeVSwitchAttributes operation returns empty values for the vSwitch attributes, the vSwitch is deleted.
|
|
11436
11448
|
* * You cannot repeatedly call the **DeleteVSwitch** operation to delete a vSwitch within the specified period of time.
|
|
11437
11449
|
*
|
|
11438
11450
|
* @param request - DeleteVSwitchRequest
|
|
@@ -11488,8 +11500,8 @@ class Client extends openapi_core_1.default {
|
|
|
11488
11500
|
* * You can delete only vSwitches that are in the **Available** state.
|
|
11489
11501
|
* * You cannot delete a vSwitch from a VPC where a vSwitch or a route is being created or deleted.
|
|
11490
11502
|
* * **DeleteVSwitch** 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 [DescribeVSwitchAttributes](https://help.aliyun.com/document_detail/94567.html) operation to query the status of the task:
|
|
11491
|
-
* * If the vSwitch is in the **
|
|
11492
|
-
* * If
|
|
11503
|
+
* * If the vSwitch is in the **Deleting** state, the vSwitch is being deleted.
|
|
11504
|
+
* * If the DescribeVSwitchAttributes operation returns empty values for the vSwitch attributes, the vSwitch is deleted.
|
|
11493
11505
|
* * You cannot repeatedly call the **DeleteVSwitch** operation to delete a vSwitch within the specified period of time.
|
|
11494
11506
|
*
|
|
11495
11507
|
* @param request - DeleteVSwitchRequest
|
|
@@ -16762,6 +16774,10 @@ class Client extends openapi_core_1.default {
|
|
|
16762
16774
|
/**
|
|
16763
16775
|
* Queries the configuration of a virtual private cloud (VPC).
|
|
16764
16776
|
*
|
|
16777
|
+
* @remarks
|
|
16778
|
+
* ## Debugging
|
|
16779
|
+
* [You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.](https://api.aliyun.com/#product=Vpc\\&api=DescribeVpcAttribute\\&type=RPC\\&version=2016-04-28)
|
|
16780
|
+
*
|
|
16765
16781
|
* @param request - DescribeVpcAttributeRequest
|
|
16766
16782
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
16767
16783
|
* @returns DescribeVpcAttributeResponse
|
|
@@ -16812,6 +16828,10 @@ class Client extends openapi_core_1.default {
|
|
|
16812
16828
|
/**
|
|
16813
16829
|
* Queries the configuration of a virtual private cloud (VPC).
|
|
16814
16830
|
*
|
|
16831
|
+
* @remarks
|
|
16832
|
+
* ## Debugging
|
|
16833
|
+
* [You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.](https://api.aliyun.com/#product=Vpc\\&api=DescribeVpcAttribute\\&type=RPC\\&version=2016-04-28)
|
|
16834
|
+
*
|
|
16815
16835
|
* @param request - DescribeVpcAttributeRequest
|
|
16816
16836
|
* @returns DescribeVpcAttributeResponse
|
|
16817
16837
|
*/
|
|
@@ -17597,7 +17617,7 @@ class Client extends openapi_core_1.default {
|
|
|
17597
17617
|
return await this.describeVpnRouteEntriesWithOptions(request, runtime);
|
|
17598
17618
|
}
|
|
17599
17619
|
/**
|
|
17600
|
-
* Queries the log of an SSL server.
|
|
17620
|
+
* Queries the log entries of an SSL server.
|
|
17601
17621
|
*
|
|
17602
17622
|
* @param request - DescribeVpnSslServerLogsRequest
|
|
17603
17623
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -17659,7 +17679,7 @@ class Client extends openapi_core_1.default {
|
|
|
17659
17679
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeVpnSslServerLogsResponse({}));
|
|
17660
17680
|
}
|
|
17661
17681
|
/**
|
|
17662
|
-
* Queries the log of an SSL server.
|
|
17682
|
+
* Queries the log entries of an SSL server.
|
|
17663
17683
|
*
|
|
17664
17684
|
* @param request - DescribeVpnSslServerLogsRequest
|
|
17665
17685
|
* @returns DescribeVpnSslServerLogsResponse
|
|
@@ -19772,7 +19792,6 @@ class Client extends openapi_core_1.default {
|
|
|
19772
19792
|
/**
|
|
19773
19793
|
* Queries the most recent region list.
|
|
19774
19794
|
*
|
|
19775
|
-
* @param request - ListGeographicSubRegionsRequest
|
|
19776
19795
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
19777
19796
|
* @returns ListGeographicSubRegionsResponse
|
|
19778
19797
|
*/
|
|
@@ -24364,7 +24383,7 @@ class Client extends openapi_core_1.default {
|
|
|
24364
24383
|
return await this.modifyVRouterAttributeWithOptions(request, runtime);
|
|
24365
24384
|
}
|
|
24366
24385
|
/**
|
|
24367
|
-
* Modifies the name and
|
|
24386
|
+
* Modifies the name, description, and IPv6 settings of a vSwitch.
|
|
24368
24387
|
*
|
|
24369
24388
|
* @remarks
|
|
24370
24389
|
* **ModifyVSwitchAttribute** 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 [DescribeVSwitchAttributes](https://help.aliyun.com/document_detail/94567.html) operation to query the status of the task:
|
|
@@ -24429,7 +24448,7 @@ class Client extends openapi_core_1.default {
|
|
|
24429
24448
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyVSwitchAttributeResponse({}));
|
|
24430
24449
|
}
|
|
24431
24450
|
/**
|
|
24432
|
-
* Modifies the name and
|
|
24451
|
+
* Modifies the name, description, and IPv6 settings of a vSwitch.
|
|
24433
24452
|
*
|
|
24434
24453
|
* @remarks
|
|
24435
24454
|
* **ModifyVSwitchAttribute** 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 [DescribeVSwitchAttributes](https://help.aliyun.com/document_detail/94567.html) operation to query the status of the task:
|
|
@@ -24729,7 +24748,7 @@ class Client extends openapi_core_1.default {
|
|
|
24729
24748
|
return await this.modifyVirtualBorderRouterAttributeWithOptions(request, runtime);
|
|
24730
24749
|
}
|
|
24731
24750
|
/**
|
|
24732
|
-
* Modifies the
|
|
24751
|
+
* Modifies the name and description of a virtual private cloud (VPC).
|
|
24733
24752
|
*
|
|
24734
24753
|
* @remarks
|
|
24735
24754
|
* ## [](#)Description
|
|
@@ -24798,7 +24817,7 @@ class Client extends openapi_core_1.default {
|
|
|
24798
24817
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyVpcAttributeResponse({}));
|
|
24799
24818
|
}
|
|
24800
24819
|
/**
|
|
24801
|
-
* Modifies the
|
|
24820
|
+
* Modifies the name and description of a virtual private cloud (VPC).
|
|
24802
24821
|
*
|
|
24803
24822
|
* @remarks
|
|
24804
24823
|
* ## [](#)Description
|
|
@@ -25148,7 +25167,7 @@ class Client extends openapi_core_1.default {
|
|
|
25148
25167
|
return await this.modifyVpnConnectionAttributeWithOptions(request, runtime);
|
|
25149
25168
|
}
|
|
25150
25169
|
/**
|
|
25151
|
-
* Modifies the name and description of a VPN
|
|
25170
|
+
* Modifies the name and description of a VPN gateway.
|
|
25152
25171
|
*
|
|
25153
25172
|
* @remarks
|
|
25154
25173
|
* **ModifyVpnGatewayAttribute** 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 [DescribeVpnGateway](https://help.aliyun.com/document_detail/73720.html) to query the status of the task.
|
|
@@ -25210,7 +25229,7 @@ class Client extends openapi_core_1.default {
|
|
|
25210
25229
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyVpnGatewayAttributeResponse({}));
|
|
25211
25230
|
}
|
|
25212
25231
|
/**
|
|
25213
|
-
* Modifies the name and description of a VPN
|
|
25232
|
+
* Modifies the name and description of a VPN gateway.
|
|
25214
25233
|
*
|
|
25215
25234
|
* @remarks
|
|
25216
25235
|
* **ModifyVpnGatewayAttribute** 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 [DescribeVpnGateway](https://help.aliyun.com/document_detail/73720.html) to query the status of the task.
|
|
@@ -26429,6 +26448,9 @@ class Client extends openapi_core_1.default {
|
|
|
26429
26448
|
if (!$dara.isNull(request.clientToken)) {
|
|
26430
26449
|
query["ClientToken"] = request.clientToken;
|
|
26431
26450
|
}
|
|
26451
|
+
if (!$dara.isNull(request.dryRun)) {
|
|
26452
|
+
query["DryRun"] = request.dryRun;
|
|
26453
|
+
}
|
|
26432
26454
|
if (!$dara.isNull(request.ipInstanceId)) {
|
|
26433
26455
|
query["IpInstanceId"] = request.ipInstanceId;
|
|
26434
26456
|
}
|