@alicloud/vpc20160428 6.8.2 → 6.8.3
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 +32 -5
- package/dist/client.js +11 -2
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +42 -5
package/dist/client.d.ts
CHANGED
|
@@ -8117,6 +8117,7 @@ export declare class DescribeIpv6GatewaysResponseBodyIpv6GatewaysIpv6Gateway ext
|
|
|
8117
8117
|
* ipv6GW
|
|
8118
8118
|
*/
|
|
8119
8119
|
name?: string;
|
|
8120
|
+
ownerId?: string;
|
|
8120
8121
|
/**
|
|
8121
8122
|
* @remarks
|
|
8122
8123
|
* The ID of the region in which the IPv6 gateway is deployed.
|
|
@@ -25154,6 +25155,8 @@ export declare class UpdateNetworkAclEntriesRequestIngressAclEntries extends $da
|
|
|
25154
25155
|
export declare class WithdrawVpcPublishedRouteEntriesRequestRouteEntries extends $dara.Model {
|
|
25155
25156
|
/**
|
|
25156
25157
|
* @remarks
|
|
25158
|
+
* The destination CIDR block
|
|
25159
|
+
*
|
|
25157
25160
|
* This parameter is required.
|
|
25158
25161
|
*
|
|
25159
25162
|
* @example
|
|
@@ -25162,6 +25165,8 @@ export declare class WithdrawVpcPublishedRouteEntriesRequestRouteEntries extends
|
|
|
25162
25165
|
destinationCidrBlock?: string;
|
|
25163
25166
|
/**
|
|
25164
25167
|
* @remarks
|
|
25168
|
+
* The ID of the route table.
|
|
25169
|
+
*
|
|
25165
25170
|
* This parameter is required.
|
|
25166
25171
|
*
|
|
25167
25172
|
* @example
|
|
@@ -44569,6 +44574,7 @@ export declare class DeleteTrafficMirrorSessionResponse extends $dara.Model {
|
|
|
44569
44574
|
});
|
|
44570
44575
|
}
|
|
44571
44576
|
export declare class DeleteVSwitchRequest extends $dara.Model {
|
|
44577
|
+
dryRun?: boolean;
|
|
44572
44578
|
ownerAccount?: string;
|
|
44573
44579
|
ownerId?: number;
|
|
44574
44580
|
/**
|
|
@@ -46354,7 +46360,7 @@ export declare class DescribeBgpNetworksRequest extends $dara.Model {
|
|
|
46354
46360
|
ownerId?: number;
|
|
46355
46361
|
/**
|
|
46356
46362
|
* @remarks
|
|
46357
|
-
* The page
|
|
46363
|
+
* The number of the returned page. Default value: **1**.
|
|
46358
46364
|
*
|
|
46359
46365
|
* @example
|
|
46360
46366
|
* 1
|
|
@@ -46362,7 +46368,7 @@ export declare class DescribeBgpNetworksRequest extends $dara.Model {
|
|
|
46362
46368
|
pageNumber?: number;
|
|
46363
46369
|
/**
|
|
46364
46370
|
* @remarks
|
|
46365
|
-
* The number of entries per page.
|
|
46371
|
+
* The number of entries per page. The maximum value is **50**. Default value: **10**.
|
|
46366
46372
|
*
|
|
46367
46373
|
* @example
|
|
46368
46374
|
* 10
|
|
@@ -46404,7 +46410,7 @@ export declare class DescribeBgpNetworksRequest extends $dara.Model {
|
|
|
46404
46410
|
export declare class DescribeBgpNetworksResponseBody extends $dara.Model {
|
|
46405
46411
|
/**
|
|
46406
46412
|
* @remarks
|
|
46407
|
-
*
|
|
46413
|
+
* BGP networks.
|
|
46408
46414
|
*/
|
|
46409
46415
|
bgpNetworks?: DescribeBgpNetworksResponseBodyBgpNetworks;
|
|
46410
46416
|
/**
|
|
@@ -50621,6 +50627,7 @@ export declare class DescribeIpv6GatewayAttributeResponseBody extends $dara.Mode
|
|
|
50621
50627
|
* test
|
|
50622
50628
|
*/
|
|
50623
50629
|
name?: string;
|
|
50630
|
+
ownerId?: string;
|
|
50624
50631
|
/**
|
|
50625
50632
|
* @remarks
|
|
50626
50633
|
* The ID of the region where the IPv6 gateway is deployed.
|
|
@@ -79445,6 +79452,12 @@ export declare class VpcDescribeVpcNatGatewayNetworkInterfaceQuotaResponse exten
|
|
|
79445
79452
|
}
|
|
79446
79453
|
export declare class WithdrawVpcPublishedRouteEntriesRequest extends $dara.Model {
|
|
79447
79454
|
/**
|
|
79455
|
+
* @remarks
|
|
79456
|
+
* Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
79457
|
+
*
|
|
79458
|
+
* * **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.
|
|
79459
|
+
* * **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.
|
|
79460
|
+
*
|
|
79448
79461
|
* @example
|
|
79449
79462
|
* false
|
|
79450
79463
|
*/
|
|
@@ -79452,15 +79465,24 @@ export declare class WithdrawVpcPublishedRouteEntriesRequest extends $dara.Model
|
|
|
79452
79465
|
ownerAccount?: string;
|
|
79453
79466
|
ownerId?: number;
|
|
79454
79467
|
/**
|
|
79468
|
+
* @remarks
|
|
79469
|
+
* The ID of the region. Call the DescribeRegions operation to access it.
|
|
79470
|
+
*
|
|
79455
79471
|
* @example
|
|
79456
79472
|
* cn-hangzhou
|
|
79457
79473
|
*/
|
|
79458
79474
|
regionId?: string;
|
|
79459
79475
|
resourceOwnerAccount?: string;
|
|
79460
79476
|
resourceOwnerId?: number;
|
|
79477
|
+
/**
|
|
79478
|
+
* @remarks
|
|
79479
|
+
* The route entries to be withdrawn. Maximum value: 50.
|
|
79480
|
+
*/
|
|
79461
79481
|
routeEntries?: WithdrawVpcPublishedRouteEntriesRequestRouteEntries[];
|
|
79462
79482
|
/**
|
|
79463
79483
|
* @remarks
|
|
79484
|
+
* Target instance ID.
|
|
79485
|
+
*
|
|
79464
79486
|
* This parameter is required.
|
|
79465
79487
|
*
|
|
79466
79488
|
* @example
|
|
@@ -79469,6 +79491,8 @@ export declare class WithdrawVpcPublishedRouteEntriesRequest extends $dara.Model
|
|
|
79469
79491
|
targetInstanceId?: string;
|
|
79470
79492
|
/**
|
|
79471
79493
|
* @remarks
|
|
79494
|
+
* The type of target instance.
|
|
79495
|
+
*
|
|
79472
79496
|
* This parameter is required.
|
|
79473
79497
|
*
|
|
79474
79498
|
* @example
|
|
@@ -79488,6 +79512,9 @@ export declare class WithdrawVpcPublishedRouteEntriesRequest extends $dara.Model
|
|
|
79488
79512
|
}
|
|
79489
79513
|
export declare class WithdrawVpcPublishedRouteEntriesResponseBody extends $dara.Model {
|
|
79490
79514
|
/**
|
|
79515
|
+
* @remarks
|
|
79516
|
+
* The request ID.
|
|
79517
|
+
*
|
|
79491
79518
|
* @example
|
|
79492
79519
|
* 0ED8D006-F706-4D23-88ED-E11ED28DCAC0
|
|
79493
79520
|
*/
|
|
@@ -87964,7 +87991,7 @@ export default class Client extends OpenApi {
|
|
|
87964
87991
|
*/
|
|
87965
87992
|
vpcDescribeVpcNatGatewayNetworkInterfaceQuota(request: VpcDescribeVpcNatGatewayNetworkInterfaceQuotaRequest): Promise<VpcDescribeVpcNatGatewayNetworkInterfaceQuotaResponse>;
|
|
87966
87993
|
/**
|
|
87967
|
-
*
|
|
87994
|
+
* Withdraw advertised Virtual Private Cloud (VPC) routes.
|
|
87968
87995
|
*
|
|
87969
87996
|
* @param request - WithdrawVpcPublishedRouteEntriesRequest
|
|
87970
87997
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -87972,7 +87999,7 @@ export default class Client extends OpenApi {
|
|
|
87972
87999
|
*/
|
|
87973
88000
|
withdrawVpcPublishedRouteEntriesWithOptions(request: WithdrawVpcPublishedRouteEntriesRequest, runtime: $dara.RuntimeOptions): Promise<WithdrawVpcPublishedRouteEntriesResponse>;
|
|
87974
88001
|
/**
|
|
87975
|
-
*
|
|
88002
|
+
* Withdraw advertised Virtual Private Cloud (VPC) routes.
|
|
87976
88003
|
*
|
|
87977
88004
|
* @param request - WithdrawVpcPublishedRouteEntriesRequest
|
|
87978
88005
|
* @returns WithdrawVpcPublishedRouteEntriesResponse
|
package/dist/client.js
CHANGED
|
@@ -4651,6 +4651,7 @@ class DescribeIpv6GatewaysResponseBodyIpv6GatewaysIpv6Gateway extends $dara.Mode
|
|
|
4651
4651
|
instanceChargeType: 'InstanceChargeType',
|
|
4652
4652
|
ipv6GatewayId: 'Ipv6GatewayId',
|
|
4653
4653
|
name: 'Name',
|
|
4654
|
+
ownerId: 'OwnerId',
|
|
4654
4655
|
regionId: 'RegionId',
|
|
4655
4656
|
resourceGroupId: 'ResourceGroupId',
|
|
4656
4657
|
status: 'Status',
|
|
@@ -4667,6 +4668,7 @@ class DescribeIpv6GatewaysResponseBodyIpv6GatewaysIpv6Gateway extends $dara.Mode
|
|
|
4667
4668
|
instanceChargeType: 'string',
|
|
4668
4669
|
ipv6GatewayId: 'string',
|
|
4669
4670
|
name: 'string',
|
|
4671
|
+
ownerId: 'string',
|
|
4670
4672
|
regionId: 'string',
|
|
4671
4673
|
resourceGroupId: 'string',
|
|
4672
4674
|
status: 'string',
|
|
@@ -26350,6 +26352,7 @@ exports.DeleteTrafficMirrorSessionResponse = DeleteTrafficMirrorSessionResponse;
|
|
|
26350
26352
|
class DeleteVSwitchRequest extends $dara.Model {
|
|
26351
26353
|
static names() {
|
|
26352
26354
|
return {
|
|
26355
|
+
dryRun: 'DryRun',
|
|
26353
26356
|
ownerAccount: 'OwnerAccount',
|
|
26354
26357
|
ownerId: 'OwnerId',
|
|
26355
26358
|
regionId: 'RegionId',
|
|
@@ -26360,6 +26363,7 @@ class DeleteVSwitchRequest extends $dara.Model {
|
|
|
26360
26363
|
}
|
|
26361
26364
|
static types() {
|
|
26362
26365
|
return {
|
|
26366
|
+
dryRun: 'boolean',
|
|
26363
26367
|
ownerAccount: 'string',
|
|
26364
26368
|
ownerId: 'number',
|
|
26365
26369
|
regionId: 'string',
|
|
@@ -30514,6 +30518,7 @@ class DescribeIpv6GatewayAttributeResponseBody extends $dara.Model {
|
|
|
30514
30518
|
instanceChargeType: 'InstanceChargeType',
|
|
30515
30519
|
ipv6GatewayId: 'Ipv6GatewayId',
|
|
30516
30520
|
name: 'Name',
|
|
30521
|
+
ownerId: 'OwnerId',
|
|
30517
30522
|
regionId: 'RegionId',
|
|
30518
30523
|
requestId: 'RequestId',
|
|
30519
30524
|
resourceGroupId: 'ResourceGroupId',
|
|
@@ -30532,6 +30537,7 @@ class DescribeIpv6GatewayAttributeResponseBody extends $dara.Model {
|
|
|
30532
30537
|
instanceChargeType: 'string',
|
|
30533
30538
|
ipv6GatewayId: 'string',
|
|
30534
30539
|
name: 'string',
|
|
30540
|
+
ownerId: 'string',
|
|
30535
30541
|
regionId: 'string',
|
|
30536
30542
|
requestId: 'string',
|
|
30537
30543
|
resourceGroupId: 'string',
|
|
@@ -61634,6 +61640,9 @@ class Client extends openapi_core_1.default {
|
|
|
61634
61640
|
async deleteVSwitchWithOptions(request, runtime) {
|
|
61635
61641
|
request.validate();
|
|
61636
61642
|
let query = {};
|
|
61643
|
+
if (!$dara.isNull(request.dryRun)) {
|
|
61644
|
+
query["DryRun"] = request.dryRun;
|
|
61645
|
+
}
|
|
61637
61646
|
if (!$dara.isNull(request.ownerAccount)) {
|
|
61638
61647
|
query["OwnerAccount"] = request.ownerAccount;
|
|
61639
61648
|
}
|
|
@@ -80549,7 +80558,7 @@ class Client extends openapi_core_1.default {
|
|
|
80549
80558
|
return await this.vpcDescribeVpcNatGatewayNetworkInterfaceQuotaWithOptions(request, runtime);
|
|
80550
80559
|
}
|
|
80551
80560
|
/**
|
|
80552
|
-
*
|
|
80561
|
+
* Withdraw advertised Virtual Private Cloud (VPC) routes.
|
|
80553
80562
|
*
|
|
80554
80563
|
* @param request - WithdrawVpcPublishedRouteEntriesRequest
|
|
80555
80564
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -80610,7 +80619,7 @@ class Client extends openapi_core_1.default {
|
|
|
80610
80619
|
}
|
|
80611
80620
|
}
|
|
80612
80621
|
/**
|
|
80613
|
-
*
|
|
80622
|
+
* Withdraw advertised Virtual Private Cloud (VPC) routes.
|
|
80614
80623
|
*
|
|
80615
80624
|
* @param request - WithdrawVpcPublishedRouteEntriesRequest
|
|
80616
80625
|
* @returns WithdrawVpcPublishedRouteEntriesResponse
|