@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/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -56518,6 +56518,7 @@ export class ModifyRouteEntryRequest extends $tea.Model {
|
|
|
56518
56518
|
* EntryDescription
|
|
56519
56519
|
*/
|
|
56520
56520
|
description?: string;
|
|
56521
|
+
destinationCidrBlock?: string;
|
|
56521
56522
|
/**
|
|
56522
56523
|
* @remarks
|
|
56523
56524
|
* The ID of the new next hop instance.
|
|
@@ -56554,8 +56555,6 @@ export class ModifyRouteEntryRequest extends $tea.Model {
|
|
|
56554
56555
|
* @remarks
|
|
56555
56556
|
* The ID of the custom route entry.
|
|
56556
56557
|
*
|
|
56557
|
-
* This parameter is required.
|
|
56558
|
-
*
|
|
56559
56558
|
* @example
|
|
56560
56559
|
* rte-acfvgfsghfdd****
|
|
56561
56560
|
*/
|
|
@@ -56570,9 +56569,11 @@ export class ModifyRouteEntryRequest extends $tea.Model {
|
|
|
56570
56569
|
* EntryName
|
|
56571
56570
|
*/
|
|
56572
56571
|
routeEntryName?: string;
|
|
56572
|
+
routeTableId?: string;
|
|
56573
56573
|
static names(): { [key: string]: string } {
|
|
56574
56574
|
return {
|
|
56575
56575
|
description: 'Description',
|
|
56576
|
+
destinationCidrBlock: 'DestinationCidrBlock',
|
|
56576
56577
|
newNextHopId: 'NewNextHopId',
|
|
56577
56578
|
newNextHopType: 'NewNextHopType',
|
|
56578
56579
|
ownerAccount: 'OwnerAccount',
|
|
@@ -56582,12 +56583,14 @@ export class ModifyRouteEntryRequest extends $tea.Model {
|
|
|
56582
56583
|
resourceOwnerId: 'ResourceOwnerId',
|
|
56583
56584
|
routeEntryId: 'RouteEntryId',
|
|
56584
56585
|
routeEntryName: 'RouteEntryName',
|
|
56586
|
+
routeTableId: 'RouteTableId',
|
|
56585
56587
|
};
|
|
56586
56588
|
}
|
|
56587
56589
|
|
|
56588
56590
|
static types(): { [key: string]: any } {
|
|
56589
56591
|
return {
|
|
56590
56592
|
description: 'string',
|
|
56593
|
+
destinationCidrBlock: 'string',
|
|
56591
56594
|
newNextHopId: 'string',
|
|
56592
56595
|
newNextHopType: 'string',
|
|
56593
56596
|
ownerAccount: 'string',
|
|
@@ -56597,6 +56600,7 @@ export class ModifyRouteEntryRequest extends $tea.Model {
|
|
|
56597
56600
|
resourceOwnerId: 'number',
|
|
56598
56601
|
routeEntryId: 'string',
|
|
56599
56602
|
routeEntryName: 'string',
|
|
56603
|
+
routeTableId: 'string',
|
|
56600
56604
|
};
|
|
56601
56605
|
}
|
|
56602
56606
|
|
|
@@ -126130,6 +126134,10 @@ export default class Client extends OpenApi {
|
|
|
126130
126134
|
query["Description"] = request.description;
|
|
126131
126135
|
}
|
|
126132
126136
|
|
|
126137
|
+
if (!Util.isUnset(request.destinationCidrBlock)) {
|
|
126138
|
+
query["DestinationCidrBlock"] = request.destinationCidrBlock;
|
|
126139
|
+
}
|
|
126140
|
+
|
|
126133
126141
|
if (!Util.isUnset(request.newNextHopId)) {
|
|
126134
126142
|
query["NewNextHopId"] = request.newNextHopId;
|
|
126135
126143
|
}
|
|
@@ -126166,6 +126174,10 @@ export default class Client extends OpenApi {
|
|
|
126166
126174
|
query["RouteEntryName"] = request.routeEntryName;
|
|
126167
126175
|
}
|
|
126168
126176
|
|
|
126177
|
+
if (!Util.isUnset(request.routeTableId)) {
|
|
126178
|
+
query["RouteTableId"] = request.routeTableId;
|
|
126179
|
+
}
|
|
126180
|
+
|
|
126169
126181
|
let req = new $OpenApi.OpenApiRequest({
|
|
126170
126182
|
query: OpenApiUtil.query(query),
|
|
126171
126183
|
});
|