@alicloud/vpc20160428 6.6.0 → 6.6.1
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 +5 -1
- package/dist/client.js +14 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +21 -1
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',
|
|
@@ -59136,6 +59142,7 @@ export class ModifyVpcAttributeRequest extends $tea.Model {
|
|
|
59136
59142
|
* This is my VPC.
|
|
59137
59143
|
*/
|
|
59138
59144
|
description?: string;
|
|
59145
|
+
enableDnsHostname?: boolean;
|
|
59139
59146
|
/**
|
|
59140
59147
|
* @remarks
|
|
59141
59148
|
* Specifies whether to enable IPv6 CIDR blocks. Valid values:
|
|
@@ -59208,6 +59215,7 @@ export class ModifyVpcAttributeRequest extends $tea.Model {
|
|
|
59208
59215
|
return {
|
|
59209
59216
|
cidrBlock: 'CidrBlock',
|
|
59210
59217
|
description: 'Description',
|
|
59218
|
+
enableDnsHostname: 'EnableDnsHostname',
|
|
59211
59219
|
enableIPv6: 'EnableIPv6',
|
|
59212
59220
|
ipv6CidrBlock: 'Ipv6CidrBlock',
|
|
59213
59221
|
ipv6Isp: 'Ipv6Isp',
|
|
@@ -59225,6 +59233,7 @@ export class ModifyVpcAttributeRequest extends $tea.Model {
|
|
|
59225
59233
|
return {
|
|
59226
59234
|
cidrBlock: 'string',
|
|
59227
59235
|
description: 'string',
|
|
59236
|
+
enableDnsHostname: 'boolean',
|
|
59228
59237
|
enableIPv6: 'boolean',
|
|
59229
59238
|
ipv6CidrBlock: 'string',
|
|
59230
59239
|
ipv6Isp: 'string',
|
|
@@ -87278,6 +87287,7 @@ export class DescribeVpcsResponseBodyVpcsVpc extends $tea.Model {
|
|
|
87278
87287
|
* Available
|
|
87279
87288
|
*/
|
|
87280
87289
|
dhcpOptionsSetStatus?: string;
|
|
87290
|
+
dnsHostnameStatus?: string;
|
|
87281
87291
|
enabledIpv6?: boolean;
|
|
87282
87292
|
/**
|
|
87283
87293
|
* @remarks
|
|
@@ -87402,6 +87412,7 @@ export class DescribeVpcsResponseBodyVpcsVpc extends $tea.Model {
|
|
|
87402
87412
|
description: 'Description',
|
|
87403
87413
|
dhcpOptionsSetId: 'DhcpOptionsSetId',
|
|
87404
87414
|
dhcpOptionsSetStatus: 'DhcpOptionsSetStatus',
|
|
87415
|
+
dnsHostnameStatus: 'DnsHostnameStatus',
|
|
87405
87416
|
enabledIpv6: 'EnabledIpv6',
|
|
87406
87417
|
ipv6CidrBlock: 'Ipv6CidrBlock',
|
|
87407
87418
|
ipv6CidrBlocks: 'Ipv6CidrBlocks',
|
|
@@ -87430,6 +87441,7 @@ export class DescribeVpcsResponseBodyVpcsVpc extends $tea.Model {
|
|
|
87430
87441
|
description: 'string',
|
|
87431
87442
|
dhcpOptionsSetId: 'string',
|
|
87432
87443
|
dhcpOptionsSetStatus: 'string',
|
|
87444
|
+
dnsHostnameStatus: 'string',
|
|
87433
87445
|
enabledIpv6: 'boolean',
|
|
87434
87446
|
ipv6CidrBlock: 'string',
|
|
87435
87447
|
ipv6CidrBlocks: DescribeVpcsResponseBodyVpcsVpcIpv6CidrBlocks,
|
|
@@ -107838,6 +107850,10 @@ export default class Client extends OpenApi {
|
|
|
107838
107850
|
query["DryRun"] = request.dryRun;
|
|
107839
107851
|
}
|
|
107840
107852
|
|
|
107853
|
+
if (!Util.isUnset(request.enableDnsHostname)) {
|
|
107854
|
+
query["EnableDnsHostname"] = request.enableDnsHostname;
|
|
107855
|
+
}
|
|
107856
|
+
|
|
107841
107857
|
if (!Util.isUnset(request.enableIpv6)) {
|
|
107842
107858
|
query["EnableIpv6"] = request.enableIpv6;
|
|
107843
107859
|
}
|
|
@@ -127335,6 +127351,10 @@ export default class Client extends OpenApi {
|
|
|
127335
127351
|
query["Description"] = request.description;
|
|
127336
127352
|
}
|
|
127337
127353
|
|
|
127354
|
+
if (!Util.isUnset(request.enableDnsHostname)) {
|
|
127355
|
+
query["EnableDnsHostname"] = request.enableDnsHostname;
|
|
127356
|
+
}
|
|
127357
|
+
|
|
127338
127358
|
if (!Util.isUnset(request.enableIPv6)) {
|
|
127339
127359
|
query["EnableIPv6"] = request.enableIPv6;
|
|
127340
127360
|
}
|