@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/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -11145,6 +11145,7 @@ export class DescribeIpv6GatewaysResponseBodyIpv6GatewaysIpv6Gateway extends $da
|
|
|
11145
11145
|
* ipv6GW
|
|
11146
11146
|
*/
|
|
11147
11147
|
name?: string;
|
|
11148
|
+
ownerId?: string;
|
|
11148
11149
|
/**
|
|
11149
11150
|
* @remarks
|
|
11150
11151
|
* The ID of the region in which the IPv6 gateway is deployed.
|
|
@@ -11194,6 +11195,7 @@ export class DescribeIpv6GatewaysResponseBodyIpv6GatewaysIpv6Gateway extends $da
|
|
|
11194
11195
|
instanceChargeType: 'InstanceChargeType',
|
|
11195
11196
|
ipv6GatewayId: 'Ipv6GatewayId',
|
|
11196
11197
|
name: 'Name',
|
|
11198
|
+
ownerId: 'OwnerId',
|
|
11197
11199
|
regionId: 'RegionId',
|
|
11198
11200
|
resourceGroupId: 'ResourceGroupId',
|
|
11199
11201
|
status: 'Status',
|
|
@@ -11211,6 +11213,7 @@ export class DescribeIpv6GatewaysResponseBodyIpv6GatewaysIpv6Gateway extends $da
|
|
|
11211
11213
|
instanceChargeType: 'string',
|
|
11212
11214
|
ipv6GatewayId: 'string',
|
|
11213
11215
|
name: 'string',
|
|
11216
|
+
ownerId: 'string',
|
|
11214
11217
|
regionId: 'string',
|
|
11215
11218
|
resourceGroupId: 'string',
|
|
11216
11219
|
status: 'string',
|
|
@@ -34442,6 +34445,8 @@ export class UpdateNetworkAclEntriesRequestIngressAclEntries extends $dara.Model
|
|
|
34442
34445
|
export class WithdrawVpcPublishedRouteEntriesRequestRouteEntries extends $dara.Model {
|
|
34443
34446
|
/**
|
|
34444
34447
|
* @remarks
|
|
34448
|
+
* The destination CIDR block
|
|
34449
|
+
*
|
|
34445
34450
|
* This parameter is required.
|
|
34446
34451
|
*
|
|
34447
34452
|
* @example
|
|
@@ -34450,6 +34455,8 @@ export class WithdrawVpcPublishedRouteEntriesRequestRouteEntries extends $dara.M
|
|
|
34450
34455
|
destinationCidrBlock?: string;
|
|
34451
34456
|
/**
|
|
34452
34457
|
* @remarks
|
|
34458
|
+
* The ID of the route table.
|
|
34459
|
+
*
|
|
34453
34460
|
* This parameter is required.
|
|
34454
34461
|
*
|
|
34455
34462
|
* @example
|
|
@@ -62403,6 +62410,7 @@ export class DeleteTrafficMirrorSessionResponse extends $dara.Model {
|
|
|
62403
62410
|
}
|
|
62404
62411
|
|
|
62405
62412
|
export class DeleteVSwitchRequest extends $dara.Model {
|
|
62413
|
+
dryRun?: boolean;
|
|
62406
62414
|
ownerAccount?: string;
|
|
62407
62415
|
ownerId?: number;
|
|
62408
62416
|
/**
|
|
@@ -62429,6 +62437,7 @@ export class DeleteVSwitchRequest extends $dara.Model {
|
|
|
62429
62437
|
vSwitchId?: string;
|
|
62430
62438
|
static names(): { [key: string]: string } {
|
|
62431
62439
|
return {
|
|
62440
|
+
dryRun: 'DryRun',
|
|
62432
62441
|
ownerAccount: 'OwnerAccount',
|
|
62433
62442
|
ownerId: 'OwnerId',
|
|
62434
62443
|
regionId: 'RegionId',
|
|
@@ -62440,6 +62449,7 @@ export class DeleteVSwitchRequest extends $dara.Model {
|
|
|
62440
62449
|
|
|
62441
62450
|
static types(): { [key: string]: any } {
|
|
62442
62451
|
return {
|
|
62452
|
+
dryRun: 'boolean',
|
|
62443
62453
|
ownerAccount: 'string',
|
|
62444
62454
|
ownerId: 'number',
|
|
62445
62455
|
regionId: 'string',
|
|
@@ -65113,7 +65123,7 @@ export class DescribeBgpNetworksRequest extends $dara.Model {
|
|
|
65113
65123
|
ownerId?: number;
|
|
65114
65124
|
/**
|
|
65115
65125
|
* @remarks
|
|
65116
|
-
* The page
|
|
65126
|
+
* The number of the returned page. Default value: **1**.
|
|
65117
65127
|
*
|
|
65118
65128
|
* @example
|
|
65119
65129
|
* 1
|
|
@@ -65121,7 +65131,7 @@ export class DescribeBgpNetworksRequest extends $dara.Model {
|
|
|
65121
65131
|
pageNumber?: number;
|
|
65122
65132
|
/**
|
|
65123
65133
|
* @remarks
|
|
65124
|
-
* The number of entries per page.
|
|
65134
|
+
* The number of entries per page. The maximum value is **50**. Default value: **10**.
|
|
65125
65135
|
*
|
|
65126
65136
|
* @example
|
|
65127
65137
|
* 10
|
|
@@ -65187,7 +65197,7 @@ export class DescribeBgpNetworksRequest extends $dara.Model {
|
|
|
65187
65197
|
export class DescribeBgpNetworksResponseBody extends $dara.Model {
|
|
65188
65198
|
/**
|
|
65189
65199
|
* @remarks
|
|
65190
|
-
*
|
|
65200
|
+
* BGP networks.
|
|
65191
65201
|
*/
|
|
65192
65202
|
bgpNetworks?: DescribeBgpNetworksResponseBodyBgpNetworks;
|
|
65193
65203
|
/**
|
|
@@ -71326,6 +71336,7 @@ export class DescribeIpv6GatewayAttributeResponseBody extends $dara.Model {
|
|
|
71326
71336
|
* test
|
|
71327
71337
|
*/
|
|
71328
71338
|
name?: string;
|
|
71339
|
+
ownerId?: string;
|
|
71329
71340
|
/**
|
|
71330
71341
|
* @remarks
|
|
71331
71342
|
* The ID of the region where the IPv6 gateway is deployed.
|
|
@@ -71384,6 +71395,7 @@ export class DescribeIpv6GatewayAttributeResponseBody extends $dara.Model {
|
|
|
71384
71395
|
instanceChargeType: 'InstanceChargeType',
|
|
71385
71396
|
ipv6GatewayId: 'Ipv6GatewayId',
|
|
71386
71397
|
name: 'Name',
|
|
71398
|
+
ownerId: 'OwnerId',
|
|
71387
71399
|
regionId: 'RegionId',
|
|
71388
71400
|
requestId: 'RequestId',
|
|
71389
71401
|
resourceGroupId: 'ResourceGroupId',
|
|
@@ -71403,6 +71415,7 @@ export class DescribeIpv6GatewayAttributeResponseBody extends $dara.Model {
|
|
|
71403
71415
|
instanceChargeType: 'string',
|
|
71404
71416
|
ipv6GatewayId: 'string',
|
|
71405
71417
|
name: 'string',
|
|
71418
|
+
ownerId: 'string',
|
|
71406
71419
|
regionId: 'string',
|
|
71407
71420
|
requestId: 'string',
|
|
71408
71421
|
resourceGroupId: 'string',
|
|
@@ -113420,6 +113433,12 @@ export class VpcDescribeVpcNatGatewayNetworkInterfaceQuotaResponse extends $dara
|
|
|
113420
113433
|
|
|
113421
113434
|
export class WithdrawVpcPublishedRouteEntriesRequest extends $dara.Model {
|
|
113422
113435
|
/**
|
|
113436
|
+
* @remarks
|
|
113437
|
+
* Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
113438
|
+
*
|
|
113439
|
+
* * **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.
|
|
113440
|
+
* * **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.
|
|
113441
|
+
*
|
|
113423
113442
|
* @example
|
|
113424
113443
|
* false
|
|
113425
113444
|
*/
|
|
@@ -113427,15 +113446,24 @@ export class WithdrawVpcPublishedRouteEntriesRequest extends $dara.Model {
|
|
|
113427
113446
|
ownerAccount?: string;
|
|
113428
113447
|
ownerId?: number;
|
|
113429
113448
|
/**
|
|
113449
|
+
* @remarks
|
|
113450
|
+
* The ID of the region. Call the DescribeRegions operation to access it.
|
|
113451
|
+
*
|
|
113430
113452
|
* @example
|
|
113431
113453
|
* cn-hangzhou
|
|
113432
113454
|
*/
|
|
113433
113455
|
regionId?: string;
|
|
113434
113456
|
resourceOwnerAccount?: string;
|
|
113435
113457
|
resourceOwnerId?: number;
|
|
113458
|
+
/**
|
|
113459
|
+
* @remarks
|
|
113460
|
+
* The route entries to be withdrawn. Maximum value: 50.
|
|
113461
|
+
*/
|
|
113436
113462
|
routeEntries?: WithdrawVpcPublishedRouteEntriesRequestRouteEntries[];
|
|
113437
113463
|
/**
|
|
113438
113464
|
* @remarks
|
|
113465
|
+
* Target instance ID.
|
|
113466
|
+
*
|
|
113439
113467
|
* This parameter is required.
|
|
113440
113468
|
*
|
|
113441
113469
|
* @example
|
|
@@ -113444,6 +113472,8 @@ export class WithdrawVpcPublishedRouteEntriesRequest extends $dara.Model {
|
|
|
113444
113472
|
targetInstanceId?: string;
|
|
113445
113473
|
/**
|
|
113446
113474
|
* @remarks
|
|
113475
|
+
* The type of target instance.
|
|
113476
|
+
*
|
|
113447
113477
|
* This parameter is required.
|
|
113448
113478
|
*
|
|
113449
113479
|
* @example
|
|
@@ -113492,6 +113522,9 @@ export class WithdrawVpcPublishedRouteEntriesRequest extends $dara.Model {
|
|
|
113492
113522
|
|
|
113493
113523
|
export class WithdrawVpcPublishedRouteEntriesResponseBody extends $dara.Model {
|
|
113494
113524
|
/**
|
|
113525
|
+
* @remarks
|
|
113526
|
+
* The request ID.
|
|
113527
|
+
*
|
|
113495
113528
|
* @example
|
|
113496
113529
|
* 0ED8D006-F706-4D23-88ED-E11ED28DCAC0
|
|
113497
113530
|
*/
|
|
@@ -127153,6 +127186,10 @@ export default class Client extends OpenApi {
|
|
|
127153
127186
|
async deleteVSwitchWithOptions(request: DeleteVSwitchRequest, runtime: $dara.RuntimeOptions): Promise<DeleteVSwitchResponse> {
|
|
127154
127187
|
request.validate();
|
|
127155
127188
|
let query = { };
|
|
127189
|
+
if (!$dara.isNull(request.dryRun)) {
|
|
127190
|
+
query["DryRun"] = request.dryRun;
|
|
127191
|
+
}
|
|
127192
|
+
|
|
127156
127193
|
if (!$dara.isNull(request.ownerAccount)) {
|
|
127157
127194
|
query["OwnerAccount"] = request.ownerAccount;
|
|
127158
127195
|
}
|
|
@@ -149078,7 +149115,7 @@ export default class Client extends OpenApi {
|
|
|
149078
149115
|
}
|
|
149079
149116
|
|
|
149080
149117
|
/**
|
|
149081
|
-
*
|
|
149118
|
+
* Withdraw advertised Virtual Private Cloud (VPC) routes.
|
|
149082
149119
|
*
|
|
149083
149120
|
* @param request - WithdrawVpcPublishedRouteEntriesRequest
|
|
149084
149121
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -149150,7 +149187,7 @@ export default class Client extends OpenApi {
|
|
|
149150
149187
|
}
|
|
149151
149188
|
|
|
149152
149189
|
/**
|
|
149153
|
-
*
|
|
149190
|
+
* Withdraw advertised Virtual Private Cloud (VPC) routes.
|
|
149154
149191
|
*
|
|
149155
149192
|
* @param request - WithdrawVpcPublishedRouteEntriesRequest
|
|
149156
149193
|
* @returns WithdrawVpcPublishedRouteEntriesResponse
|