@alicloud/vpc20160428 6.6.1 → 6.6.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 +2 -2
- package/dist/client.js +10 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +14 -2
package/dist/client.d.ts
CHANGED
|
@@ -42126,6 +42126,7 @@ export declare class ModifyRouteEntryRequest extends $tea.Model {
|
|
|
42126
42126
|
* EntryDescription
|
|
42127
42127
|
*/
|
|
42128
42128
|
description?: string;
|
|
42129
|
+
destinationCidrBlock?: string;
|
|
42129
42130
|
/**
|
|
42130
42131
|
* @remarks
|
|
42131
42132
|
* The ID of the new next hop instance.
|
|
@@ -42162,8 +42163,6 @@ export declare class ModifyRouteEntryRequest extends $tea.Model {
|
|
|
42162
42163
|
* @remarks
|
|
42163
42164
|
* The ID of the custom route entry.
|
|
42164
42165
|
*
|
|
42165
|
-
* This parameter is required.
|
|
42166
|
-
*
|
|
42167
42166
|
* @example
|
|
42168
42167
|
* rte-acfvgfsghfdd****
|
|
42169
42168
|
*/
|
|
@@ -42178,6 +42177,7 @@ export declare class ModifyRouteEntryRequest extends $tea.Model {
|
|
|
42178
42177
|
* EntryName
|
|
42179
42178
|
*/
|
|
42180
42179
|
routeEntryName?: string;
|
|
42180
|
+
routeTableId?: string;
|
|
42181
42181
|
static names(): {
|
|
42182
42182
|
[key: string]: string;
|
|
42183
42183
|
};
|
package/dist/client.js
CHANGED
|
@@ -23487,6 +23487,7 @@ class ModifyRouteEntryRequest extends $tea.Model {
|
|
|
23487
23487
|
static names() {
|
|
23488
23488
|
return {
|
|
23489
23489
|
description: 'Description',
|
|
23490
|
+
destinationCidrBlock: 'DestinationCidrBlock',
|
|
23490
23491
|
newNextHopId: 'NewNextHopId',
|
|
23491
23492
|
newNextHopType: 'NewNextHopType',
|
|
23492
23493
|
ownerAccount: 'OwnerAccount',
|
|
@@ -23496,11 +23497,13 @@ class ModifyRouteEntryRequest extends $tea.Model {
|
|
|
23496
23497
|
resourceOwnerId: 'ResourceOwnerId',
|
|
23497
23498
|
routeEntryId: 'RouteEntryId',
|
|
23498
23499
|
routeEntryName: 'RouteEntryName',
|
|
23500
|
+
routeTableId: 'RouteTableId',
|
|
23499
23501
|
};
|
|
23500
23502
|
}
|
|
23501
23503
|
static types() {
|
|
23502
23504
|
return {
|
|
23503
23505
|
description: 'string',
|
|
23506
|
+
destinationCidrBlock: 'string',
|
|
23504
23507
|
newNextHopId: 'string',
|
|
23505
23508
|
newNextHopType: 'string',
|
|
23506
23509
|
ownerAccount: 'string',
|
|
@@ -23510,6 +23513,7 @@ class ModifyRouteEntryRequest extends $tea.Model {
|
|
|
23510
23513
|
resourceOwnerId: 'number',
|
|
23511
23514
|
routeEntryId: 'string',
|
|
23512
23515
|
routeEntryName: 'string',
|
|
23516
|
+
routeTableId: 'string',
|
|
23513
23517
|
};
|
|
23514
23518
|
}
|
|
23515
23519
|
constructor(map) {
|
|
@@ -62780,6 +62784,9 @@ class Client extends openapi_client_1.default {
|
|
|
62780
62784
|
if (!tea_util_1.default.isUnset(request.description)) {
|
|
62781
62785
|
query["Description"] = request.description;
|
|
62782
62786
|
}
|
|
62787
|
+
if (!tea_util_1.default.isUnset(request.destinationCidrBlock)) {
|
|
62788
|
+
query["DestinationCidrBlock"] = request.destinationCidrBlock;
|
|
62789
|
+
}
|
|
62783
62790
|
if (!tea_util_1.default.isUnset(request.newNextHopId)) {
|
|
62784
62791
|
query["NewNextHopId"] = request.newNextHopId;
|
|
62785
62792
|
}
|
|
@@ -62807,6 +62814,9 @@ class Client extends openapi_client_1.default {
|
|
|
62807
62814
|
if (!tea_util_1.default.isUnset(request.routeEntryName)) {
|
|
62808
62815
|
query["RouteEntryName"] = request.routeEntryName;
|
|
62809
62816
|
}
|
|
62817
|
+
if (!tea_util_1.default.isUnset(request.routeTableId)) {
|
|
62818
|
+
query["RouteTableId"] = request.routeTableId;
|
|
62819
|
+
}
|
|
62810
62820
|
let req = new $OpenApi.OpenApiRequest({
|
|
62811
62821
|
query: openapi_util_1.default.query(query),
|
|
62812
62822
|
});
|