@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/dist/client.d.ts
CHANGED
|
@@ -1513,7 +1513,7 @@ export declare class AllocateEipSegmentAddressRequest extends $tea.Model {
|
|
|
1513
1513
|
eipMask?: string;
|
|
1514
1514
|
/**
|
|
1515
1515
|
* @remarks
|
|
1516
|
-
* The metering method of
|
|
1516
|
+
* The metering method of contiguous EIPs. Valid values:
|
|
1517
1517
|
*
|
|
1518
1518
|
* * **PayByBandwidth** (default)
|
|
1519
1519
|
* * **PayByTraffic**
|
|
@@ -12768,6 +12768,7 @@ export declare class CreateVpcRequest extends $tea.Model {
|
|
|
12768
12768
|
* false
|
|
12769
12769
|
*/
|
|
12770
12770
|
dryRun?: boolean;
|
|
12771
|
+
enableDnsHostname?: boolean;
|
|
12771
12772
|
/**
|
|
12772
12773
|
* @remarks
|
|
12773
12774
|
* Specifies whether to enable IPv6. Valid values:
|
|
@@ -29212,6 +29213,7 @@ export declare class DescribeVpcAttributeResponseBody extends $tea.Model {
|
|
|
29212
29213
|
* Available
|
|
29213
29214
|
*/
|
|
29214
29215
|
dhcpOptionsSetStatus?: string;
|
|
29216
|
+
dnsHostnameStatus?: string;
|
|
29215
29217
|
/**
|
|
29216
29218
|
* @remarks
|
|
29217
29219
|
* Indicates whether the VPC enables IPv6 .
|
|
@@ -42124,6 +42126,7 @@ export declare class ModifyRouteEntryRequest extends $tea.Model {
|
|
|
42124
42126
|
* EntryDescription
|
|
42125
42127
|
*/
|
|
42126
42128
|
description?: string;
|
|
42129
|
+
destinationCidrBlock?: string;
|
|
42127
42130
|
/**
|
|
42128
42131
|
* @remarks
|
|
42129
42132
|
* The ID of the new next hop instance.
|
|
@@ -42160,8 +42163,6 @@ export declare class ModifyRouteEntryRequest extends $tea.Model {
|
|
|
42160
42163
|
* @remarks
|
|
42161
42164
|
* The ID of the custom route entry.
|
|
42162
42165
|
*
|
|
42163
|
-
* This parameter is required.
|
|
42164
|
-
*
|
|
42165
42166
|
* @example
|
|
42166
42167
|
* rte-acfvgfsghfdd****
|
|
42167
42168
|
*/
|
|
@@ -42176,6 +42177,7 @@ export declare class ModifyRouteEntryRequest extends $tea.Model {
|
|
|
42176
42177
|
* EntryName
|
|
42177
42178
|
*/
|
|
42178
42179
|
routeEntryName?: string;
|
|
42180
|
+
routeTableId?: string;
|
|
42179
42181
|
static names(): {
|
|
42180
42182
|
[key: string]: string;
|
|
42181
42183
|
};
|
|
@@ -44099,6 +44101,7 @@ export declare class ModifyVpcAttributeRequest extends $tea.Model {
|
|
|
44099
44101
|
* This is my VPC.
|
|
44100
44102
|
*/
|
|
44101
44103
|
description?: string;
|
|
44104
|
+
enableDnsHostname?: boolean;
|
|
44102
44105
|
/**
|
|
44103
44106
|
* @remarks
|
|
44104
44107
|
* Specifies whether to enable IPv6 CIDR blocks. Valid values:
|
|
@@ -65524,6 +65527,7 @@ export declare class DescribeVpcsResponseBodyVpcsVpc extends $tea.Model {
|
|
|
65524
65527
|
* Available
|
|
65525
65528
|
*/
|
|
65526
65529
|
dhcpOptionsSetStatus?: string;
|
|
65530
|
+
dnsHostnameStatus?: string;
|
|
65527
65531
|
enabledIpv6?: boolean;
|
|
65528
65532
|
/**
|
|
65529
65533
|
* @remarks
|
package/dist/client.js
CHANGED
|
@@ -6690,6 +6690,7 @@ class CreateVpcRequest extends $tea.Model {
|
|
|
6690
6690
|
clientToken: 'ClientToken',
|
|
6691
6691
|
description: 'Description',
|
|
6692
6692
|
dryRun: 'DryRun',
|
|
6693
|
+
enableDnsHostname: 'EnableDnsHostname',
|
|
6693
6694
|
enableIpv6: 'EnableIpv6',
|
|
6694
6695
|
ipv4CidrMask: 'Ipv4CidrMask',
|
|
6695
6696
|
ipv4IpamPoolId: 'Ipv4IpamPoolId',
|
|
@@ -6712,6 +6713,7 @@ class CreateVpcRequest extends $tea.Model {
|
|
|
6712
6713
|
clientToken: 'string',
|
|
6713
6714
|
description: 'string',
|
|
6714
6715
|
dryRun: 'boolean',
|
|
6716
|
+
enableDnsHostname: 'boolean',
|
|
6715
6717
|
enableIpv6: 'boolean',
|
|
6716
6718
|
ipv4CidrMask: 'number',
|
|
6717
6719
|
ipv4IpamPoolId: 'string',
|
|
@@ -16167,6 +16169,7 @@ class DescribeVpcAttributeResponseBody extends $tea.Model {
|
|
|
16167
16169
|
description: 'Description',
|
|
16168
16170
|
dhcpOptionsSetId: 'DhcpOptionsSetId',
|
|
16169
16171
|
dhcpOptionsSetStatus: 'DhcpOptionsSetStatus',
|
|
16172
|
+
dnsHostnameStatus: 'DnsHostnameStatus',
|
|
16170
16173
|
enabledIpv6: 'EnabledIpv6',
|
|
16171
16174
|
ipv4GatewayId: 'Ipv4GatewayId',
|
|
16172
16175
|
ipv6CidrBlock: 'Ipv6CidrBlock',
|
|
@@ -16198,6 +16201,7 @@ class DescribeVpcAttributeResponseBody extends $tea.Model {
|
|
|
16198
16201
|
description: 'string',
|
|
16199
16202
|
dhcpOptionsSetId: 'string',
|
|
16200
16203
|
dhcpOptionsSetStatus: 'string',
|
|
16204
|
+
dnsHostnameStatus: 'string',
|
|
16201
16205
|
enabledIpv6: 'boolean',
|
|
16202
16206
|
ipv4GatewayId: 'string',
|
|
16203
16207
|
ipv6CidrBlock: 'string',
|
|
@@ -23483,6 +23487,7 @@ class ModifyRouteEntryRequest extends $tea.Model {
|
|
|
23483
23487
|
static names() {
|
|
23484
23488
|
return {
|
|
23485
23489
|
description: 'Description',
|
|
23490
|
+
destinationCidrBlock: 'DestinationCidrBlock',
|
|
23486
23491
|
newNextHopId: 'NewNextHopId',
|
|
23487
23492
|
newNextHopType: 'NewNextHopType',
|
|
23488
23493
|
ownerAccount: 'OwnerAccount',
|
|
@@ -23492,11 +23497,13 @@ class ModifyRouteEntryRequest extends $tea.Model {
|
|
|
23492
23497
|
resourceOwnerId: 'ResourceOwnerId',
|
|
23493
23498
|
routeEntryId: 'RouteEntryId',
|
|
23494
23499
|
routeEntryName: 'RouteEntryName',
|
|
23500
|
+
routeTableId: 'RouteTableId',
|
|
23495
23501
|
};
|
|
23496
23502
|
}
|
|
23497
23503
|
static types() {
|
|
23498
23504
|
return {
|
|
23499
23505
|
description: 'string',
|
|
23506
|
+
destinationCidrBlock: 'string',
|
|
23500
23507
|
newNextHopId: 'string',
|
|
23501
23508
|
newNextHopType: 'string',
|
|
23502
23509
|
ownerAccount: 'string',
|
|
@@ -23506,6 +23513,7 @@ class ModifyRouteEntryRequest extends $tea.Model {
|
|
|
23506
23513
|
resourceOwnerId: 'number',
|
|
23507
23514
|
routeEntryId: 'string',
|
|
23508
23515
|
routeEntryName: 'string',
|
|
23516
|
+
routeTableId: 'string',
|
|
23509
23517
|
};
|
|
23510
23518
|
}
|
|
23511
23519
|
constructor(map) {
|
|
@@ -24510,6 +24518,7 @@ class ModifyVpcAttributeRequest extends $tea.Model {
|
|
|
24510
24518
|
return {
|
|
24511
24519
|
cidrBlock: 'CidrBlock',
|
|
24512
24520
|
description: 'Description',
|
|
24521
|
+
enableDnsHostname: 'EnableDnsHostname',
|
|
24513
24522
|
enableIPv6: 'EnableIPv6',
|
|
24514
24523
|
ipv6CidrBlock: 'Ipv6CidrBlock',
|
|
24515
24524
|
ipv6Isp: 'Ipv6Isp',
|
|
@@ -24526,6 +24535,7 @@ class ModifyVpcAttributeRequest extends $tea.Model {
|
|
|
24526
24535
|
return {
|
|
24527
24536
|
cidrBlock: 'string',
|
|
24528
24537
|
description: 'string',
|
|
24538
|
+
enableDnsHostname: 'boolean',
|
|
24529
24539
|
enableIPv6: 'boolean',
|
|
24530
24540
|
ipv6CidrBlock: 'string',
|
|
24531
24541
|
ipv6Isp: 'string',
|
|
@@ -35776,6 +35786,7 @@ class DescribeVpcsResponseBodyVpcsVpc extends $tea.Model {
|
|
|
35776
35786
|
description: 'Description',
|
|
35777
35787
|
dhcpOptionsSetId: 'DhcpOptionsSetId',
|
|
35778
35788
|
dhcpOptionsSetStatus: 'DhcpOptionsSetStatus',
|
|
35789
|
+
dnsHostnameStatus: 'DnsHostnameStatus',
|
|
35779
35790
|
enabledIpv6: 'EnabledIpv6',
|
|
35780
35791
|
ipv6CidrBlock: 'Ipv6CidrBlock',
|
|
35781
35792
|
ipv6CidrBlocks: 'Ipv6CidrBlocks',
|
|
@@ -35803,6 +35814,7 @@ class DescribeVpcsResponseBodyVpcsVpc extends $tea.Model {
|
|
|
35803
35814
|
description: 'string',
|
|
35804
35815
|
dhcpOptionsSetId: 'string',
|
|
35805
35816
|
dhcpOptionsSetStatus: 'string',
|
|
35817
|
+
dnsHostnameStatus: 'string',
|
|
35806
35818
|
enabledIpv6: 'boolean',
|
|
35807
35819
|
ipv6CidrBlock: 'string',
|
|
35808
35820
|
ipv6CidrBlocks: DescribeVpcsResponseBodyVpcsVpcIpv6CidrBlocks,
|
|
@@ -47116,6 +47128,9 @@ class Client extends openapi_client_1.default {
|
|
|
47116
47128
|
if (!tea_util_1.default.isUnset(request.dryRun)) {
|
|
47117
47129
|
query["DryRun"] = request.dryRun;
|
|
47118
47130
|
}
|
|
47131
|
+
if (!tea_util_1.default.isUnset(request.enableDnsHostname)) {
|
|
47132
|
+
query["EnableDnsHostname"] = request.enableDnsHostname;
|
|
47133
|
+
}
|
|
47119
47134
|
if (!tea_util_1.default.isUnset(request.enableIpv6)) {
|
|
47120
47135
|
query["EnableIpv6"] = request.enableIpv6;
|
|
47121
47136
|
}
|
|
@@ -62769,6 +62784,9 @@ class Client extends openapi_client_1.default {
|
|
|
62769
62784
|
if (!tea_util_1.default.isUnset(request.description)) {
|
|
62770
62785
|
query["Description"] = request.description;
|
|
62771
62786
|
}
|
|
62787
|
+
if (!tea_util_1.default.isUnset(request.destinationCidrBlock)) {
|
|
62788
|
+
query["DestinationCidrBlock"] = request.destinationCidrBlock;
|
|
62789
|
+
}
|
|
62772
62790
|
if (!tea_util_1.default.isUnset(request.newNextHopId)) {
|
|
62773
62791
|
query["NewNextHopId"] = request.newNextHopId;
|
|
62774
62792
|
}
|
|
@@ -62796,6 +62814,9 @@ class Client extends openapi_client_1.default {
|
|
|
62796
62814
|
if (!tea_util_1.default.isUnset(request.routeEntryName)) {
|
|
62797
62815
|
query["RouteEntryName"] = request.routeEntryName;
|
|
62798
62816
|
}
|
|
62817
|
+
if (!tea_util_1.default.isUnset(request.routeTableId)) {
|
|
62818
|
+
query["RouteTableId"] = request.routeTableId;
|
|
62819
|
+
}
|
|
62799
62820
|
let req = new $OpenApi.OpenApiRequest({
|
|
62800
62821
|
query: openapi_util_1.default.query(query),
|
|
62801
62822
|
});
|
|
@@ -63809,6 +63830,9 @@ class Client extends openapi_client_1.default {
|
|
|
63809
63830
|
if (!tea_util_1.default.isUnset(request.description)) {
|
|
63810
63831
|
query["Description"] = request.description;
|
|
63811
63832
|
}
|
|
63833
|
+
if (!tea_util_1.default.isUnset(request.enableDnsHostname)) {
|
|
63834
|
+
query["EnableDnsHostname"] = request.enableDnsHostname;
|
|
63835
|
+
}
|
|
63812
63836
|
if (!tea_util_1.default.isUnset(request.enableIPv6)) {
|
|
63813
63837
|
query["EnableIPv6"] = request.enableIPv6;
|
|
63814
63838
|
}
|