@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/src/client.ts
CHANGED
|
@@ -302,6 +302,10 @@ export default class Client extends OpenApi {
|
|
|
302
302
|
query["ClientToken"] = request.clientToken;
|
|
303
303
|
}
|
|
304
304
|
|
|
305
|
+
if (!$dara.isNull(request.dryRun)) {
|
|
306
|
+
query["DryRun"] = request.dryRun;
|
|
307
|
+
}
|
|
308
|
+
|
|
305
309
|
if (!$dara.isNull(request.ipInstanceId)) {
|
|
306
310
|
query["IpInstanceId"] = request.ipInstanceId;
|
|
307
311
|
}
|
|
@@ -1344,7 +1348,7 @@ export default class Client extends OpenApi {
|
|
|
1344
1348
|
* # [](#)
|
|
1345
1349
|
* The following section describes how to allocate an IPv6 CIDR block to a virtual private cloud (VPC):
|
|
1346
1350
|
* 1. Call the AllocateVpcIpv6Cidr operation to reserve the IPv6 CIDR block.
|
|
1347
|
-
* 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
|
|
1351
|
+
* 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**.
|
|
1348
1352
|
*
|
|
1349
1353
|
* @param request - AllocateVpcIpv6CidrRequest
|
|
1350
1354
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1417,7 +1421,7 @@ export default class Client extends OpenApi {
|
|
|
1417
1421
|
* # [](#)
|
|
1418
1422
|
* The following section describes how to allocate an IPv6 CIDR block to a virtual private cloud (VPC):
|
|
1419
1423
|
* 1. Call the AllocateVpcIpv6Cidr operation to reserve the IPv6 CIDR block.
|
|
1420
|
-
* 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
|
|
1424
|
+
* 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**.
|
|
1421
1425
|
*
|
|
1422
1426
|
* @param request - AllocateVpcIpv6CidrRequest
|
|
1423
1427
|
* @returns AllocateVpcIpv6CidrResponse
|
|
@@ -5707,6 +5711,10 @@ export default class Client extends OpenApi {
|
|
|
5707
5711
|
query["Description"] = request.description;
|
|
5708
5712
|
}
|
|
5709
5713
|
|
|
5714
|
+
if (!$dara.isNull(request.dryRun)) {
|
|
5715
|
+
query["DryRun"] = request.dryRun;
|
|
5716
|
+
}
|
|
5717
|
+
|
|
5710
5718
|
if (!$dara.isNull(request.instanceId)) {
|
|
5711
5719
|
query["InstanceId"] = request.instanceId;
|
|
5712
5720
|
}
|
|
@@ -5805,6 +5813,10 @@ export default class Client extends OpenApi {
|
|
|
5805
5813
|
query["Description"] = request.description;
|
|
5806
5814
|
}
|
|
5807
5815
|
|
|
5816
|
+
if (!$dara.isNull(request.dryRun)) {
|
|
5817
|
+
query["DryRun"] = request.dryRun;
|
|
5818
|
+
}
|
|
5819
|
+
|
|
5808
5820
|
if (!$dara.isNull(request.name)) {
|
|
5809
5821
|
query["Name"] = request.name;
|
|
5810
5822
|
}
|
|
@@ -8658,9 +8670,9 @@ export default class Client extends OpenApi {
|
|
|
8658
8670
|
* * After you create a VPC, a vRouter and a route table are automatically created.
|
|
8659
8671
|
* * 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.
|
|
8660
8672
|
* * **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:
|
|
8661
|
-
* * If the VPC is in the **
|
|
8662
|
-
* * If the VPC is in the **
|
|
8663
|
-
* * You cannot repeatedly call the **
|
|
8673
|
+
* * If the VPC is in the **Pending** state, the VPC is being created.
|
|
8674
|
+
* * If the VPC is in the **Available** state, the VPC is created.
|
|
8675
|
+
* * 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.
|
|
8664
8676
|
*
|
|
8665
8677
|
* @param request - CreateVpcRequest
|
|
8666
8678
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8781,9 +8793,9 @@ export default class Client extends OpenApi {
|
|
|
8781
8793
|
* * After you create a VPC, a vRouter and a route table are automatically created.
|
|
8782
8794
|
* * 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.
|
|
8783
8795
|
* * **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:
|
|
8784
|
-
* * If the VPC is in the **
|
|
8785
|
-
* * If the VPC is in the **
|
|
8786
|
-
* * You cannot repeatedly call the **
|
|
8796
|
+
* * If the VPC is in the **Pending** state, the VPC is being created.
|
|
8797
|
+
* * If the VPC is in the **Available** state, the VPC is created.
|
|
8798
|
+
* * 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.
|
|
8787
8799
|
*
|
|
8788
8800
|
* @param request - CreateVpcRequest
|
|
8789
8801
|
* @returns CreateVpcResponse
|
|
@@ -11525,6 +11537,10 @@ export default class Client extends OpenApi {
|
|
|
11525
11537
|
query["ClientToken"] = request.clientToken;
|
|
11526
11538
|
}
|
|
11527
11539
|
|
|
11540
|
+
if (!$dara.isNull(request.dryRun)) {
|
|
11541
|
+
query["DryRun"] = request.dryRun;
|
|
11542
|
+
}
|
|
11543
|
+
|
|
11528
11544
|
if (!$dara.isNull(request.ipv6EgressOnlyRuleId)) {
|
|
11529
11545
|
query["Ipv6EgressOnlyRuleId"] = request.ipv6EgressOnlyRuleId;
|
|
11530
11546
|
}
|
|
@@ -13268,8 +13284,8 @@ export default class Client extends OpenApi {
|
|
|
13268
13284
|
* * You can delete only vSwitches that are in the **Available** state.
|
|
13269
13285
|
* * You cannot delete a vSwitch from a VPC where a vSwitch or a route is being created or deleted.
|
|
13270
13286
|
* * **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:
|
|
13271
|
-
* * If the vSwitch is in the **
|
|
13272
|
-
* * If
|
|
13287
|
+
* * If the vSwitch is in the **Deleting** state, the vSwitch is being deleted.
|
|
13288
|
+
* * If the DescribeVSwitchAttributes operation returns empty values for the vSwitch attributes, the vSwitch is deleted.
|
|
13273
13289
|
* * You cannot repeatedly call the **DeleteVSwitch** operation to delete a vSwitch within the specified period of time.
|
|
13274
13290
|
*
|
|
13275
13291
|
* @param request - DeleteVSwitchRequest
|
|
@@ -13333,8 +13349,8 @@ export default class Client extends OpenApi {
|
|
|
13333
13349
|
* * You can delete only vSwitches that are in the **Available** state.
|
|
13334
13350
|
* * You cannot delete a vSwitch from a VPC where a vSwitch or a route is being created or deleted.
|
|
13335
13351
|
* * **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:
|
|
13336
|
-
* * If the vSwitch is in the **
|
|
13337
|
-
* * If
|
|
13352
|
+
* * If the vSwitch is in the **Deleting** state, the vSwitch is being deleted.
|
|
13353
|
+
* * If the DescribeVSwitchAttributes operation returns empty values for the vSwitch attributes, the vSwitch is deleted.
|
|
13338
13354
|
* * You cannot repeatedly call the **DeleteVSwitch** operation to delete a vSwitch within the specified period of time.
|
|
13339
13355
|
*
|
|
13340
13356
|
* @param request - DeleteVSwitchRequest
|
|
@@ -19542,6 +19558,10 @@ export default class Client extends OpenApi {
|
|
|
19542
19558
|
/**
|
|
19543
19559
|
* Queries the configuration of a virtual private cloud (VPC).
|
|
19544
19560
|
*
|
|
19561
|
+
* @remarks
|
|
19562
|
+
* ## Debugging
|
|
19563
|
+
* [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)
|
|
19564
|
+
*
|
|
19545
19565
|
* @param request - DescribeVpcAttributeRequest
|
|
19546
19566
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
19547
19567
|
* @returns DescribeVpcAttributeResponse
|
|
@@ -19601,6 +19621,10 @@ export default class Client extends OpenApi {
|
|
|
19601
19621
|
/**
|
|
19602
19622
|
* Queries the configuration of a virtual private cloud (VPC).
|
|
19603
19623
|
*
|
|
19624
|
+
* @remarks
|
|
19625
|
+
* ## Debugging
|
|
19626
|
+
* [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)
|
|
19627
|
+
*
|
|
19604
19628
|
* @param request - DescribeVpcAttributeRequest
|
|
19605
19629
|
* @returns DescribeVpcAttributeResponse
|
|
19606
19630
|
*/
|
|
@@ -20526,7 +20550,7 @@ export default class Client extends OpenApi {
|
|
|
20526
20550
|
}
|
|
20527
20551
|
|
|
20528
20552
|
/**
|
|
20529
|
-
* Queries the log of an SSL server.
|
|
20553
|
+
* Queries the log entries of an SSL server.
|
|
20530
20554
|
*
|
|
20531
20555
|
* @param request - DescribeVpnSslServerLogsRequest
|
|
20532
20556
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -20601,7 +20625,7 @@ export default class Client extends OpenApi {
|
|
|
20601
20625
|
}
|
|
20602
20626
|
|
|
20603
20627
|
/**
|
|
20604
|
-
* Queries the log of an SSL server.
|
|
20628
|
+
* Queries the log entries of an SSL server.
|
|
20605
20629
|
*
|
|
20606
20630
|
* @param request - DescribeVpnSslServerLogsRequest
|
|
20607
20631
|
* @returns DescribeVpnSslServerLogsResponse
|
|
@@ -23034,7 +23058,6 @@ export default class Client extends OpenApi {
|
|
|
23034
23058
|
/**
|
|
23035
23059
|
* Queries the most recent region list.
|
|
23036
23060
|
*
|
|
23037
|
-
* @param request - ListGeographicSubRegionsRequest
|
|
23038
23061
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
23039
23062
|
* @returns ListGeographicSubRegionsResponse
|
|
23040
23063
|
*/
|
|
@@ -28438,7 +28461,7 @@ export default class Client extends OpenApi {
|
|
|
28438
28461
|
}
|
|
28439
28462
|
|
|
28440
28463
|
/**
|
|
28441
|
-
* Modifies the name and
|
|
28464
|
+
* Modifies the name, description, and IPv6 settings of a vSwitch.
|
|
28442
28465
|
*
|
|
28443
28466
|
* @remarks
|
|
28444
28467
|
* **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:
|
|
@@ -28515,7 +28538,7 @@ export default class Client extends OpenApi {
|
|
|
28515
28538
|
}
|
|
28516
28539
|
|
|
28517
28540
|
/**
|
|
28518
|
-
* Modifies the name and
|
|
28541
|
+
* Modifies the name, description, and IPv6 settings of a vSwitch.
|
|
28519
28542
|
*
|
|
28520
28543
|
* @remarks
|
|
28521
28544
|
* **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:
|
|
@@ -28868,7 +28891,7 @@ export default class Client extends OpenApi {
|
|
|
28868
28891
|
}
|
|
28869
28892
|
|
|
28870
28893
|
/**
|
|
28871
|
-
* Modifies the
|
|
28894
|
+
* Modifies the name and description of a virtual private cloud (VPC).
|
|
28872
28895
|
*
|
|
28873
28896
|
* @remarks
|
|
28874
28897
|
* ## [](#)Description
|
|
@@ -28951,7 +28974,7 @@ export default class Client extends OpenApi {
|
|
|
28951
28974
|
}
|
|
28952
28975
|
|
|
28953
28976
|
/**
|
|
28954
|
-
* Modifies the
|
|
28977
|
+
* Modifies the name and description of a virtual private cloud (VPC).
|
|
28955
28978
|
*
|
|
28956
28979
|
* @remarks
|
|
28957
28980
|
* ## [](#)Description
|
|
@@ -29370,7 +29393,7 @@ export default class Client extends OpenApi {
|
|
|
29370
29393
|
}
|
|
29371
29394
|
|
|
29372
29395
|
/**
|
|
29373
|
-
* Modifies the name and description of a VPN
|
|
29396
|
+
* Modifies the name and description of a VPN gateway.
|
|
29374
29397
|
*
|
|
29375
29398
|
* @remarks
|
|
29376
29399
|
* **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.
|
|
@@ -29443,7 +29466,7 @@ export default class Client extends OpenApi {
|
|
|
29443
29466
|
}
|
|
29444
29467
|
|
|
29445
29468
|
/**
|
|
29446
|
-
* Modifies the name and description of a VPN
|
|
29469
|
+
* Modifies the name and description of a VPN gateway.
|
|
29447
29470
|
*
|
|
29448
29471
|
* @remarks
|
|
29449
29472
|
* **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.
|
|
@@ -30848,6 +30871,10 @@ export default class Client extends OpenApi {
|
|
|
30848
30871
|
query["ClientToken"] = request.clientToken;
|
|
30849
30872
|
}
|
|
30850
30873
|
|
|
30874
|
+
if (!$dara.isNull(request.dryRun)) {
|
|
30875
|
+
query["DryRun"] = request.dryRun;
|
|
30876
|
+
}
|
|
30877
|
+
|
|
30851
30878
|
if (!$dara.isNull(request.ipInstanceId)) {
|
|
30852
30879
|
query["IpInstanceId"] = request.ipInstanceId;
|
|
30853
30880
|
}
|
|
@@ -16,6 +16,7 @@ export class AddCommonBandwidthPackageIpRequest extends $dara.Model {
|
|
|
16
16
|
* 0c593ea1-3bea-11e9-b96b-88e9fe637760
|
|
17
17
|
*/
|
|
18
18
|
clientToken?: string;
|
|
19
|
+
dryRun?: boolean;
|
|
19
20
|
/**
|
|
20
21
|
* @remarks
|
|
21
22
|
* This parameter is required.
|
|
@@ -45,6 +46,7 @@ export class AddCommonBandwidthPackageIpRequest extends $dara.Model {
|
|
|
45
46
|
return {
|
|
46
47
|
bandwidthPackageId: 'BandwidthPackageId',
|
|
47
48
|
clientToken: 'ClientToken',
|
|
49
|
+
dryRun: 'DryRun',
|
|
48
50
|
ipInstanceId: 'IpInstanceId',
|
|
49
51
|
ipType: 'IpType',
|
|
50
52
|
ownerAccount: 'OwnerAccount',
|
|
@@ -59,6 +61,7 @@ export class AddCommonBandwidthPackageIpRequest extends $dara.Model {
|
|
|
59
61
|
return {
|
|
60
62
|
bandwidthPackageId: 'string',
|
|
61
63
|
clientToken: 'string',
|
|
64
|
+
dryRun: 'boolean',
|
|
62
65
|
ipInstanceId: 'string',
|
|
63
66
|
ipType: 'string',
|
|
64
67
|
ownerAccount: 'string',
|
|
@@ -66,7 +66,7 @@ export class AssociateVpcCidrBlockRequest extends $dara.Model {
|
|
|
66
66
|
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the region ID.
|
|
67
67
|
*
|
|
68
68
|
* @example
|
|
69
|
-
*
|
|
69
|
+
* cn-hangzhou
|
|
70
70
|
*/
|
|
71
71
|
regionId?: string;
|
|
72
72
|
resourceOwnerAccount?: string;
|
|
@@ -83,7 +83,7 @@ export class AssociateVpcCidrBlockRequest extends $dara.Model {
|
|
|
83
83
|
* * The CIDR block cannot start with 0. The subnet mask must be 8 to 28 bits in length.
|
|
84
84
|
* * The CIDR block cannot overlap with the primary CIDR block or an existing secondary CIDR block of the VPC.
|
|
85
85
|
*
|
|
86
|
-
* > You must and can specify only one of **SecondaryCidrBlock** and **
|
|
86
|
+
* > You must and can specify only one of **SecondaryCidrBlock** and **IPv6CidrBlock**.
|
|
87
87
|
*
|
|
88
88
|
* @example
|
|
89
89
|
* 192.168.0.0/16
|
|
@@ -34,7 +34,7 @@ export class CreateDefaultVSwitchRequest extends $dara.Model {
|
|
|
34
34
|
* This parameter is required.
|
|
35
35
|
*
|
|
36
36
|
* @example
|
|
37
|
-
*
|
|
37
|
+
* ap-southeast-1
|
|
38
38
|
*/
|
|
39
39
|
regionId?: string;
|
|
40
40
|
resourceOwnerAccount?: string;
|
|
@@ -48,7 +48,7 @@ export class CreateDefaultVSwitchRequest extends $dara.Model {
|
|
|
48
48
|
* This parameter is required.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
|
-
*
|
|
51
|
+
* ap-southeast-1a
|
|
52
52
|
*/
|
|
53
53
|
zoneId?: string;
|
|
54
54
|
static names(): { [key: string]: string } {
|
|
@@ -25,6 +25,7 @@ export class CreateIpv6EgressOnlyRuleRequest extends $dara.Model {
|
|
|
25
25
|
* ruledescription
|
|
26
26
|
*/
|
|
27
27
|
description?: string;
|
|
28
|
+
dryRun?: boolean;
|
|
28
29
|
/**
|
|
29
30
|
* @remarks
|
|
30
31
|
* The ID of the IPv6 address for which you want to create an egress-only rule.
|
|
@@ -85,6 +86,7 @@ export class CreateIpv6EgressOnlyRuleRequest extends $dara.Model {
|
|
|
85
86
|
return {
|
|
86
87
|
clientToken: 'ClientToken',
|
|
87
88
|
description: 'Description',
|
|
89
|
+
dryRun: 'DryRun',
|
|
88
90
|
instanceId: 'InstanceId',
|
|
89
91
|
instanceType: 'InstanceType',
|
|
90
92
|
ipv6GatewayId: 'Ipv6GatewayId',
|
|
@@ -101,6 +103,7 @@ export class CreateIpv6EgressOnlyRuleRequest extends $dara.Model {
|
|
|
101
103
|
return {
|
|
102
104
|
clientToken: 'string',
|
|
103
105
|
description: 'string',
|
|
106
|
+
dryRun: 'boolean',
|
|
104
107
|
instanceId: 'string',
|
|
105
108
|
instanceType: 'string',
|
|
106
109
|
ipv6GatewayId: 'string',
|
|
@@ -69,6 +69,7 @@ export class CreateIpv6GatewayRequest extends $dara.Model {
|
|
|
69
69
|
* ipv6gatewayforVPC1
|
|
70
70
|
*/
|
|
71
71
|
description?: string;
|
|
72
|
+
dryRun?: boolean;
|
|
72
73
|
/**
|
|
73
74
|
* @remarks
|
|
74
75
|
* The name of the IPv6 gateway.
|
|
@@ -120,6 +121,7 @@ export class CreateIpv6GatewayRequest extends $dara.Model {
|
|
|
120
121
|
return {
|
|
121
122
|
clientToken: 'ClientToken',
|
|
122
123
|
description: 'Description',
|
|
124
|
+
dryRun: 'DryRun',
|
|
123
125
|
name: 'Name',
|
|
124
126
|
ownerAccount: 'OwnerAccount',
|
|
125
127
|
ownerId: 'OwnerId',
|
|
@@ -136,6 +138,7 @@ export class CreateIpv6GatewayRequest extends $dara.Model {
|
|
|
136
138
|
return {
|
|
137
139
|
clientToken: 'string',
|
|
138
140
|
description: 'string',
|
|
141
|
+
dryRun: 'boolean',
|
|
139
142
|
name: 'string',
|
|
140
143
|
ownerAccount: 'string',
|
|
141
144
|
ownerId: 'number',
|
|
@@ -49,7 +49,7 @@ export class CreateVpcRequestTag extends $dara.Model {
|
|
|
49
49
|
export class CreateVpcRequest extends $dara.Model {
|
|
50
50
|
/**
|
|
51
51
|
* @remarks
|
|
52
|
-
*
|
|
52
|
+
* VPC CIDR.
|
|
53
53
|
*
|
|
54
54
|
* * We recommend using the private IPv4 address specified in RFC 1918 as the primary IPv4 CIDR block of the VPC with a recommended mask length of 16 to 28 bits. For example, 10.0.0.0/16, 172.16.0.0/16, and 192.168.0.0/16.
|
|
55
55
|
* * You can also use a custom CIDR block other than 100.64.0.0/10, 224.0.0.0/4, 127.0.0.0/8, 169.254.0.0/16, or their subnets as the primary IPv4 CIDR block.
|
|
@@ -206,7 +206,7 @@ export class CreateVpcRequest extends $dara.Model {
|
|
|
206
206
|
* For more information about user CIDR blocks, see the `What is a user CIDR block?` section in [VPC FAQ](https://help.aliyun.com/document_detail/185311.html).
|
|
207
207
|
*
|
|
208
208
|
* @example
|
|
209
|
-
* 192.168.0.0/
|
|
209
|
+
* 192.168.0.0/16
|
|
210
210
|
*/
|
|
211
211
|
userCidr?: string;
|
|
212
212
|
/**
|
|
@@ -15,6 +15,7 @@ export class DeleteIpv6EgressOnlyRuleRequest extends $dara.Model {
|
|
|
15
15
|
* 123456
|
|
16
16
|
*/
|
|
17
17
|
clientToken?: string;
|
|
18
|
+
dryRun?: boolean;
|
|
18
19
|
/**
|
|
19
20
|
* @remarks
|
|
20
21
|
* The ID of the egress-only rule that you want to delete.
|
|
@@ -42,6 +43,7 @@ export class DeleteIpv6EgressOnlyRuleRequest extends $dara.Model {
|
|
|
42
43
|
static names(): { [key: string]: string } {
|
|
43
44
|
return {
|
|
44
45
|
clientToken: 'ClientToken',
|
|
46
|
+
dryRun: 'DryRun',
|
|
45
47
|
ipv6EgressOnlyRuleId: 'Ipv6EgressOnlyRuleId',
|
|
46
48
|
ownerAccount: 'OwnerAccount',
|
|
47
49
|
ownerId: 'OwnerId',
|
|
@@ -54,6 +56,7 @@ export class DeleteIpv6EgressOnlyRuleRequest extends $dara.Model {
|
|
|
54
56
|
static types(): { [key: string]: any } {
|
|
55
57
|
return {
|
|
56
58
|
clientToken: 'string',
|
|
59
|
+
dryRun: 'boolean',
|
|
57
60
|
ipv6EgressOnlyRuleId: 'string',
|
|
58
61
|
ownerAccount: 'string',
|
|
59
62
|
ownerId: 'number',
|
|
@@ -20,7 +20,7 @@ export class DeleteVpcRequest extends $dara.Model {
|
|
|
20
20
|
* Specifies whether to perform a dry run. Valid values:
|
|
21
21
|
*
|
|
22
22
|
* - **true**: performs a dry run. The system checks the required parameters, request syntax, and limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
|
|
23
|
-
* - **false** (default):
|
|
23
|
+
* - **false** (default): sends the request directly without performing a dry run. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* false
|
|
@@ -21,7 +21,7 @@ export class DeleteVSwitchCidrReservationRequest extends $dara.Model {
|
|
|
21
21
|
*
|
|
22
22
|
* **true**: performs a dry run. The system checks the required parameters, request format, and limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
|
|
23
23
|
*
|
|
24
|
-
* **false** (default):
|
|
24
|
+
* **false** (default): sends the request directly without performing a dry run. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* false
|
|
@@ -8,7 +8,7 @@ export class DeleteVSwitchRequest extends $dara.Model {
|
|
|
8
8
|
* Specifies whether to perform a dry run. Valid values:
|
|
9
9
|
*
|
|
10
10
|
* - **true**: performs a dry run. The system checks the required parameters, request syntax, and limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
|
|
11
|
-
* - **false** (default):
|
|
11
|
+
* - **false** (default): sends the request directly without performing a dry run. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* false
|
|
@@ -43,7 +43,7 @@ export class DescribeGrantRulesToCenRequest extends $dara.Model {
|
|
|
43
43
|
ownerId?: number;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The number
|
|
46
|
+
* The page number. Minimum value: **1**. Default value: **1**.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* 1
|
|
@@ -51,7 +51,7 @@ export class DescribeGrantRulesToCenRequest extends $dara.Model {
|
|
|
51
51
|
pageNumber?: number;
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
|
-
* The number of entries
|
|
54
|
+
* The number of entries per page. Maximum value: **50**. Minimum value: **1**. Default value: **10**.
|
|
55
55
|
*
|
|
56
56
|
* @example
|
|
57
57
|
* 10
|
|
@@ -7,7 +7,7 @@ export class DescribeVpcAttributeRequest extends $dara.Model {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
9
9
|
*
|
|
10
|
-
* * **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes dry run, the `DryRunOperation` error code is returned.
|
|
10
|
+
* * **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. DryRun only validates the request format and permissions, but does not verify whether the specified resource actually exists. If the request fails the dry run, an error message is returned. If the request passes dry run, the `DryRunOperation` error code is returned.
|
|
11
11
|
* * **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
@@ -59,8 +59,8 @@ export class DescribeVpcsRequest extends $dara.Model {
|
|
|
59
59
|
* @remarks
|
|
60
60
|
* Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
61
61
|
*
|
|
62
|
-
* * **true**: performs only a dry run. The system
|
|
63
|
-
* * **false** (default):
|
|
62
|
+
* * **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
|
|
63
|
+
* * **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
64
64
|
*
|
|
65
65
|
* @example
|
|
66
66
|
* false
|
|
@@ -18,7 +18,7 @@ export class DescribeVSwitchAttributesRequest extends $dara.Model {
|
|
|
18
18
|
ownerId?: number;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The region ID of the
|
|
21
|
+
* The region ID of the VPC to which the vSwitch belongs.
|
|
22
22
|
*
|
|
23
23
|
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the most recent region list.
|
|
24
24
|
*
|
|
@@ -111,7 +111,7 @@ export class DescribeVSwitchAttributesResponseBody extends $dara.Model {
|
|
|
111
111
|
* The CIDR block of the vSwitch.
|
|
112
112
|
*
|
|
113
113
|
* @example
|
|
114
|
-
* 192.168.0.
|
|
114
|
+
* 192.168.0.0/24
|
|
115
115
|
*/
|
|
116
116
|
cidrBlock?: string;
|
|
117
117
|
/**
|
|
@@ -137,6 +137,8 @@ export class DescribeVSwitchAttributesResponseBody extends $dara.Model {
|
|
|
137
137
|
* * **true**
|
|
138
138
|
* * **false**
|
|
139
139
|
*
|
|
140
|
+
* This field is returned only when IPv6 is enabled for the vSwitch.
|
|
141
|
+
*
|
|
140
142
|
* @example
|
|
141
143
|
* true
|
|
142
144
|
*/
|
|
@@ -165,7 +167,7 @@ export class DescribeVSwitchAttributesResponseBody extends $dara.Model {
|
|
|
165
167
|
* The network access control list (ACL) rules.
|
|
166
168
|
*
|
|
167
169
|
* @example
|
|
168
|
-
*
|
|
170
|
+
* nacl-bp1fg655nh68xyz9****
|
|
169
171
|
*/
|
|
170
172
|
networkAclId?: string;
|
|
171
173
|
/**
|
|
@@ -173,7 +175,7 @@ export class DescribeVSwitchAttributesResponseBody extends $dara.Model {
|
|
|
173
175
|
* The ID of the Alibaba Cloud account to which the resource belongs.
|
|
174
176
|
*
|
|
175
177
|
* @example
|
|
176
|
-
*
|
|
178
|
+
* 28768383240243****
|
|
177
179
|
*/
|
|
178
180
|
ownerId?: number;
|
|
179
181
|
/**
|
|
@@ -148,7 +148,7 @@ export class DescribeVSwitchesRequest extends $dara.Model {
|
|
|
148
148
|
vSwitchId?: string;
|
|
149
149
|
/**
|
|
150
150
|
* @remarks
|
|
151
|
-
* The vSwitch
|
|
151
|
+
* The exact name of the vSwitch that you want to query. Fuzzy match is not supported.
|
|
152
152
|
*
|
|
153
153
|
* The name must be 1 to 128 characters in length, and cannot start with `http://` or `https://`.
|
|
154
154
|
*
|
|
@@ -15,7 +15,7 @@ export class GrantInstanceToCenRequest extends $dara.Model {
|
|
|
15
15
|
cenId?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The user ID (UID) of the
|
|
18
|
+
* The user ID (UID) of the Alibaba Cloud account to which the CEN instance belongs.
|
|
19
19
|
*
|
|
20
20
|
* This parameter is required.
|
|
21
21
|
*
|
|
@@ -27,7 +27,7 @@ export class ModifyVpcAttributeRequest extends $dara.Model {
|
|
|
27
27
|
description?: string;
|
|
28
28
|
/**
|
|
29
29
|
* @remarks
|
|
30
|
-
*
|
|
30
|
+
* Specifies whether to enable the DNS hostname feature. Valid values:
|
|
31
31
|
*
|
|
32
32
|
* * **false** (default): disabled.
|
|
33
33
|
* * **true**: enabled.
|
|
@@ -16,6 +16,7 @@ export class RemoveCommonBandwidthPackageIpRequest extends $dara.Model {
|
|
|
16
16
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
17
17
|
*/
|
|
18
18
|
clientToken?: string;
|
|
19
|
+
dryRun?: boolean;
|
|
19
20
|
/**
|
|
20
21
|
* @remarks
|
|
21
22
|
* This parameter is required.
|
|
@@ -40,6 +41,7 @@ export class RemoveCommonBandwidthPackageIpRequest extends $dara.Model {
|
|
|
40
41
|
return {
|
|
41
42
|
bandwidthPackageId: 'BandwidthPackageId',
|
|
42
43
|
clientToken: 'ClientToken',
|
|
44
|
+
dryRun: 'DryRun',
|
|
43
45
|
ipInstanceId: 'IpInstanceId',
|
|
44
46
|
ownerAccount: 'OwnerAccount',
|
|
45
47
|
ownerId: 'OwnerId',
|
|
@@ -53,6 +55,7 @@ export class RemoveCommonBandwidthPackageIpRequest extends $dara.Model {
|
|
|
53
55
|
return {
|
|
54
56
|
bandwidthPackageId: 'string',
|
|
55
57
|
clientToken: 'string',
|
|
58
|
+
dryRun: 'boolean',
|
|
56
59
|
ipInstanceId: 'string',
|
|
57
60
|
ownerAccount: 'string',
|
|
58
61
|
ownerId: 'number',
|
|
@@ -15,7 +15,7 @@ export class RevokeInstanceFromCenRequest extends $dara.Model {
|
|
|
15
15
|
cenId?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The user ID (UID) of the
|
|
18
|
+
* The user ID (UID) of the Alibaba Cloud account to which the CEN instance belongs.
|
|
19
19
|
*
|
|
20
20
|
* This parameter is required.
|
|
21
21
|
*
|
|
@@ -7,7 +7,8 @@ export class UnassociateVpcCidrBlockRequest extends $dara.Model {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* The secondary IPv6 CIDR block to be deleted.
|
|
9
9
|
*
|
|
10
|
-
* >
|
|
10
|
+
* >
|
|
11
|
+
* > - You must set one of the Ipv6CidrBlock and SecondaryCidrBlock parameters.
|
|
11
12
|
*
|
|
12
13
|
* @example
|
|
13
14
|
* 2408:XXXX:0:6a::/56
|
|
@@ -19,12 +20,12 @@ export class UnassociateVpcCidrBlockRequest extends $dara.Model {
|
|
|
19
20
|
* @remarks
|
|
20
21
|
* The region ID of the VPC to which the secondary CIDR block to be deleted belongs.
|
|
21
22
|
*
|
|
22
|
-
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the
|
|
23
|
+
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the region ID.
|
|
23
24
|
*
|
|
24
25
|
* This parameter is required.
|
|
25
26
|
*
|
|
26
27
|
* @example
|
|
27
|
-
*
|
|
28
|
+
* cn-hangzhou
|
|
28
29
|
*/
|
|
29
30
|
regionId?: string;
|
|
30
31
|
resourceOwnerAccount?: string;
|
|
@@ -33,7 +34,8 @@ export class UnassociateVpcCidrBlockRequest extends $dara.Model {
|
|
|
33
34
|
* @remarks
|
|
34
35
|
* The secondary IPv4 CIDR block to be deleted.
|
|
35
36
|
*
|
|
36
|
-
* >
|
|
37
|
+
* >
|
|
38
|
+
* > - You must set one of the SecondaryCidrBlock and Ipv6CidrBlock parameters.
|
|
37
39
|
*
|
|
38
40
|
* @example
|
|
39
41
|
* 192.168.0.0/16
|