@alicloud/vpc20160428 6.6.0 → 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 +7 -3
- package/dist/client.js +24 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +35 -3
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -1998,7 +1998,7 @@ export class AllocateEipSegmentAddressRequest extends $tea.Model {
|
|
|
1998
1998
|
eipMask?: string;
|
|
1999
1999
|
/**
|
|
2000
2000
|
* @remarks
|
|
2001
|
-
* The metering method of
|
|
2001
|
+
* The metering method of contiguous EIPs. Valid values:
|
|
2002
2002
|
*
|
|
2003
2003
|
* * **PayByBandwidth** (default)
|
|
2004
2004
|
* * **PayByTraffic**
|
|
@@ -16865,6 +16865,7 @@ export class CreateVpcRequest extends $tea.Model {
|
|
|
16865
16865
|
* false
|
|
16866
16866
|
*/
|
|
16867
16867
|
dryRun?: boolean;
|
|
16868
|
+
enableDnsHostname?: boolean;
|
|
16868
16869
|
/**
|
|
16869
16870
|
* @remarks
|
|
16870
16871
|
* Specifies whether to enable IPv6. Valid values:
|
|
@@ -16965,6 +16966,7 @@ export class CreateVpcRequest extends $tea.Model {
|
|
|
16965
16966
|
clientToken: 'ClientToken',
|
|
16966
16967
|
description: 'Description',
|
|
16967
16968
|
dryRun: 'DryRun',
|
|
16969
|
+
enableDnsHostname: 'EnableDnsHostname',
|
|
16968
16970
|
enableIpv6: 'EnableIpv6',
|
|
16969
16971
|
ipv4CidrMask: 'Ipv4CidrMask',
|
|
16970
16972
|
ipv4IpamPoolId: 'Ipv4IpamPoolId',
|
|
@@ -16988,6 +16990,7 @@ export class CreateVpcRequest extends $tea.Model {
|
|
|
16988
16990
|
clientToken: 'string',
|
|
16989
16991
|
description: 'string',
|
|
16990
16992
|
dryRun: 'boolean',
|
|
16993
|
+
enableDnsHostname: 'boolean',
|
|
16991
16994
|
enableIpv6: 'boolean',
|
|
16992
16995
|
ipv4CidrMask: 'number',
|
|
16993
16996
|
ipv4IpamPoolId: 'string',
|
|
@@ -39118,6 +39121,7 @@ export class DescribeVpcAttributeResponseBody extends $tea.Model {
|
|
|
39118
39121
|
* Available
|
|
39119
39122
|
*/
|
|
39120
39123
|
dhcpOptionsSetStatus?: string;
|
|
39124
|
+
dnsHostnameStatus?: string;
|
|
39121
39125
|
/**
|
|
39122
39126
|
* @remarks
|
|
39123
39127
|
* Indicates whether the VPC enables IPv6 .
|
|
@@ -39269,6 +39273,7 @@ export class DescribeVpcAttributeResponseBody extends $tea.Model {
|
|
|
39269
39273
|
description: 'Description',
|
|
39270
39274
|
dhcpOptionsSetId: 'DhcpOptionsSetId',
|
|
39271
39275
|
dhcpOptionsSetStatus: 'DhcpOptionsSetStatus',
|
|
39276
|
+
dnsHostnameStatus: 'DnsHostnameStatus',
|
|
39272
39277
|
enabledIpv6: 'EnabledIpv6',
|
|
39273
39278
|
ipv4GatewayId: 'Ipv4GatewayId',
|
|
39274
39279
|
ipv6CidrBlock: 'Ipv6CidrBlock',
|
|
@@ -39301,6 +39306,7 @@ export class DescribeVpcAttributeResponseBody extends $tea.Model {
|
|
|
39301
39306
|
description: 'string',
|
|
39302
39307
|
dhcpOptionsSetId: 'string',
|
|
39303
39308
|
dhcpOptionsSetStatus: 'string',
|
|
39309
|
+
dnsHostnameStatus: 'string',
|
|
39304
39310
|
enabledIpv6: 'boolean',
|
|
39305
39311
|
ipv4GatewayId: 'string',
|
|
39306
39312
|
ipv6CidrBlock: 'string',
|
|
@@ -56512,6 +56518,7 @@ export class ModifyRouteEntryRequest extends $tea.Model {
|
|
|
56512
56518
|
* EntryDescription
|
|
56513
56519
|
*/
|
|
56514
56520
|
description?: string;
|
|
56521
|
+
destinationCidrBlock?: string;
|
|
56515
56522
|
/**
|
|
56516
56523
|
* @remarks
|
|
56517
56524
|
* The ID of the new next hop instance.
|
|
@@ -56548,8 +56555,6 @@ export class ModifyRouteEntryRequest extends $tea.Model {
|
|
|
56548
56555
|
* @remarks
|
|
56549
56556
|
* The ID of the custom route entry.
|
|
56550
56557
|
*
|
|
56551
|
-
* This parameter is required.
|
|
56552
|
-
*
|
|
56553
56558
|
* @example
|
|
56554
56559
|
* rte-acfvgfsghfdd****
|
|
56555
56560
|
*/
|
|
@@ -56564,9 +56569,11 @@ export class ModifyRouteEntryRequest extends $tea.Model {
|
|
|
56564
56569
|
* EntryName
|
|
56565
56570
|
*/
|
|
56566
56571
|
routeEntryName?: string;
|
|
56572
|
+
routeTableId?: string;
|
|
56567
56573
|
static names(): { [key: string]: string } {
|
|
56568
56574
|
return {
|
|
56569
56575
|
description: 'Description',
|
|
56576
|
+
destinationCidrBlock: 'DestinationCidrBlock',
|
|
56570
56577
|
newNextHopId: 'NewNextHopId',
|
|
56571
56578
|
newNextHopType: 'NewNextHopType',
|
|
56572
56579
|
ownerAccount: 'OwnerAccount',
|
|
@@ -56576,12 +56583,14 @@ export class ModifyRouteEntryRequest extends $tea.Model {
|
|
|
56576
56583
|
resourceOwnerId: 'ResourceOwnerId',
|
|
56577
56584
|
routeEntryId: 'RouteEntryId',
|
|
56578
56585
|
routeEntryName: 'RouteEntryName',
|
|
56586
|
+
routeTableId: 'RouteTableId',
|
|
56579
56587
|
};
|
|
56580
56588
|
}
|
|
56581
56589
|
|
|
56582
56590
|
static types(): { [key: string]: any } {
|
|
56583
56591
|
return {
|
|
56584
56592
|
description: 'string',
|
|
56593
|
+
destinationCidrBlock: 'string',
|
|
56585
56594
|
newNextHopId: 'string',
|
|
56586
56595
|
newNextHopType: 'string',
|
|
56587
56596
|
ownerAccount: 'string',
|
|
@@ -56591,6 +56600,7 @@ export class ModifyRouteEntryRequest extends $tea.Model {
|
|
|
56591
56600
|
resourceOwnerId: 'number',
|
|
56592
56601
|
routeEntryId: 'string',
|
|
56593
56602
|
routeEntryName: 'string',
|
|
56603
|
+
routeTableId: 'string',
|
|
56594
56604
|
};
|
|
56595
56605
|
}
|
|
56596
56606
|
|
|
@@ -59136,6 +59146,7 @@ export class ModifyVpcAttributeRequest extends $tea.Model {
|
|
|
59136
59146
|
* This is my VPC.
|
|
59137
59147
|
*/
|
|
59138
59148
|
description?: string;
|
|
59149
|
+
enableDnsHostname?: boolean;
|
|
59139
59150
|
/**
|
|
59140
59151
|
* @remarks
|
|
59141
59152
|
* Specifies whether to enable IPv6 CIDR blocks. Valid values:
|
|
@@ -59208,6 +59219,7 @@ export class ModifyVpcAttributeRequest extends $tea.Model {
|
|
|
59208
59219
|
return {
|
|
59209
59220
|
cidrBlock: 'CidrBlock',
|
|
59210
59221
|
description: 'Description',
|
|
59222
|
+
enableDnsHostname: 'EnableDnsHostname',
|
|
59211
59223
|
enableIPv6: 'EnableIPv6',
|
|
59212
59224
|
ipv6CidrBlock: 'Ipv6CidrBlock',
|
|
59213
59225
|
ipv6Isp: 'Ipv6Isp',
|
|
@@ -59225,6 +59237,7 @@ export class ModifyVpcAttributeRequest extends $tea.Model {
|
|
|
59225
59237
|
return {
|
|
59226
59238
|
cidrBlock: 'string',
|
|
59227
59239
|
description: 'string',
|
|
59240
|
+
enableDnsHostname: 'boolean',
|
|
59228
59241
|
enableIPv6: 'boolean',
|
|
59229
59242
|
ipv6CidrBlock: 'string',
|
|
59230
59243
|
ipv6Isp: 'string',
|
|
@@ -87278,6 +87291,7 @@ export class DescribeVpcsResponseBodyVpcsVpc extends $tea.Model {
|
|
|
87278
87291
|
* Available
|
|
87279
87292
|
*/
|
|
87280
87293
|
dhcpOptionsSetStatus?: string;
|
|
87294
|
+
dnsHostnameStatus?: string;
|
|
87281
87295
|
enabledIpv6?: boolean;
|
|
87282
87296
|
/**
|
|
87283
87297
|
* @remarks
|
|
@@ -87402,6 +87416,7 @@ export class DescribeVpcsResponseBodyVpcsVpc extends $tea.Model {
|
|
|
87402
87416
|
description: 'Description',
|
|
87403
87417
|
dhcpOptionsSetId: 'DhcpOptionsSetId',
|
|
87404
87418
|
dhcpOptionsSetStatus: 'DhcpOptionsSetStatus',
|
|
87419
|
+
dnsHostnameStatus: 'DnsHostnameStatus',
|
|
87405
87420
|
enabledIpv6: 'EnabledIpv6',
|
|
87406
87421
|
ipv6CidrBlock: 'Ipv6CidrBlock',
|
|
87407
87422
|
ipv6CidrBlocks: 'Ipv6CidrBlocks',
|
|
@@ -87430,6 +87445,7 @@ export class DescribeVpcsResponseBodyVpcsVpc extends $tea.Model {
|
|
|
87430
87445
|
description: 'string',
|
|
87431
87446
|
dhcpOptionsSetId: 'string',
|
|
87432
87447
|
dhcpOptionsSetStatus: 'string',
|
|
87448
|
+
dnsHostnameStatus: 'string',
|
|
87433
87449
|
enabledIpv6: 'boolean',
|
|
87434
87450
|
ipv6CidrBlock: 'string',
|
|
87435
87451
|
ipv6CidrBlocks: DescribeVpcsResponseBodyVpcsVpcIpv6CidrBlocks,
|
|
@@ -107838,6 +107854,10 @@ export default class Client extends OpenApi {
|
|
|
107838
107854
|
query["DryRun"] = request.dryRun;
|
|
107839
107855
|
}
|
|
107840
107856
|
|
|
107857
|
+
if (!Util.isUnset(request.enableDnsHostname)) {
|
|
107858
|
+
query["EnableDnsHostname"] = request.enableDnsHostname;
|
|
107859
|
+
}
|
|
107860
|
+
|
|
107841
107861
|
if (!Util.isUnset(request.enableIpv6)) {
|
|
107842
107862
|
query["EnableIpv6"] = request.enableIpv6;
|
|
107843
107863
|
}
|
|
@@ -126114,6 +126134,10 @@ export default class Client extends OpenApi {
|
|
|
126114
126134
|
query["Description"] = request.description;
|
|
126115
126135
|
}
|
|
126116
126136
|
|
|
126137
|
+
if (!Util.isUnset(request.destinationCidrBlock)) {
|
|
126138
|
+
query["DestinationCidrBlock"] = request.destinationCidrBlock;
|
|
126139
|
+
}
|
|
126140
|
+
|
|
126117
126141
|
if (!Util.isUnset(request.newNextHopId)) {
|
|
126118
126142
|
query["NewNextHopId"] = request.newNextHopId;
|
|
126119
126143
|
}
|
|
@@ -126150,6 +126174,10 @@ export default class Client extends OpenApi {
|
|
|
126150
126174
|
query["RouteEntryName"] = request.routeEntryName;
|
|
126151
126175
|
}
|
|
126152
126176
|
|
|
126177
|
+
if (!Util.isUnset(request.routeTableId)) {
|
|
126178
|
+
query["RouteTableId"] = request.routeTableId;
|
|
126179
|
+
}
|
|
126180
|
+
|
|
126153
126181
|
let req = new $OpenApi.OpenApiRequest({
|
|
126154
126182
|
query: OpenApiUtil.query(query),
|
|
126155
126183
|
});
|
|
@@ -127335,6 +127363,10 @@ export default class Client extends OpenApi {
|
|
|
127335
127363
|
query["Description"] = request.description;
|
|
127336
127364
|
}
|
|
127337
127365
|
|
|
127366
|
+
if (!Util.isUnset(request.enableDnsHostname)) {
|
|
127367
|
+
query["EnableDnsHostname"] = request.enableDnsHostname;
|
|
127368
|
+
}
|
|
127369
|
+
|
|
127338
127370
|
if (!Util.isUnset(request.enableIPv6)) {
|
|
127339
127371
|
query["EnableIPv6"] = request.enableIPv6;
|
|
127340
127372
|
}
|