@alicloud/vpc20160428 7.1.0 → 7.1.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 +24 -16
- package/dist/client.js +24 -16
- package/dist/client.js.map +1 -1
- package/dist/models/AssociateVpcCidrBlockRequest.d.ts +2 -2
- package/dist/models/CreateDefaultVswitchRequest.d.ts +2 -2
- package/dist/models/CreateVpcRequest.d.ts +2 -2
- package/dist/models/DeleteVpcRequest.d.ts +1 -1
- package/dist/models/DeleteVswitchCidrReservationRequest.d.ts +1 -1
- package/dist/models/DeleteVswitchRequest.d.ts +1 -1
- package/dist/models/DescribeGrantRulesToCenRequest.d.ts +2 -2
- package/dist/models/DescribeVpcAttributeRequest.d.ts +1 -1
- package/dist/models/DescribeVpcsRequest.d.ts +2 -2
- package/dist/models/DescribeVswitchAttributesRequest.d.ts +1 -1
- package/dist/models/DescribeVswitchAttributesResponseBody.d.ts +5 -3
- package/dist/models/DescribeVswitchAttributesResponseBody.js.map +1 -1
- package/dist/models/DescribeVswitchesRequest.d.ts +1 -1
- package/dist/models/GrantInstanceToCenRequest.d.ts +1 -1
- package/dist/models/ModifyVpcAttributeRequest.d.ts +1 -1
- package/dist/models/RevokeInstanceFromCenRequest.d.ts +1 -1
- package/dist/models/UnassociateVpcCidrBlockRequest.d.ts +6 -4
- package/dist/models/UnassociateVpcCidrBlockRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +24 -16
- package/src/models/AssociateVpcCidrBlockRequest.ts +2 -2
- package/src/models/CreateDefaultVswitchRequest.ts +2 -2
- package/src/models/CreateVpcRequest.ts +2 -2
- package/src/models/DeleteVpcRequest.ts +1 -1
- package/src/models/DeleteVswitchCidrReservationRequest.ts +1 -1
- package/src/models/DeleteVswitchRequest.ts +1 -1
- package/src/models/DescribeGrantRulesToCenRequest.ts +2 -2
- package/src/models/DescribeVpcAttributeRequest.ts +1 -1
- package/src/models/DescribeVpcsRequest.ts +2 -2
- package/src/models/DescribeVswitchAttributesRequest.ts +1 -1
- package/src/models/DescribeVswitchAttributesResponseBody.ts +5 -3
- package/src/models/DescribeVswitchesRequest.ts +1 -1
- package/src/models/GrantInstanceToCenRequest.ts +1 -1
- package/src/models/ModifyVpcAttributeRequest.ts +1 -1
- package/src/models/RevokeInstanceFromCenRequest.ts +1 -1
- package/src/models/UnassociateVpcCidrBlockRequest.ts +6 -4
|
@@ -63,7 +63,7 @@ export declare class AssociateVpcCidrBlockRequest extends $dara.Model {
|
|
|
63
63
|
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the region ID.
|
|
64
64
|
*
|
|
65
65
|
* @example
|
|
66
|
-
*
|
|
66
|
+
* cn-hangzhou
|
|
67
67
|
*/
|
|
68
68
|
regionId?: string;
|
|
69
69
|
resourceOwnerAccount?: string;
|
|
@@ -80,7 +80,7 @@ export declare class AssociateVpcCidrBlockRequest extends $dara.Model {
|
|
|
80
80
|
* * The CIDR block cannot start with 0. The subnet mask must be 8 to 28 bits in length.
|
|
81
81
|
* * The CIDR block cannot overlap with the primary CIDR block or an existing secondary CIDR block of the VPC.
|
|
82
82
|
*
|
|
83
|
-
* > You must and can specify only one of **SecondaryCidrBlock** and **
|
|
83
|
+
* > You must and can specify only one of **SecondaryCidrBlock** and **IPv6CidrBlock**.
|
|
84
84
|
*
|
|
85
85
|
* @example
|
|
86
86
|
* 192.168.0.0/16
|
|
@@ -31,7 +31,7 @@ export declare class CreateDefaultVSwitchRequest extends $dara.Model {
|
|
|
31
31
|
* This parameter is required.
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
34
|
-
*
|
|
34
|
+
* ap-southeast-1
|
|
35
35
|
*/
|
|
36
36
|
regionId?: string;
|
|
37
37
|
resourceOwnerAccount?: string;
|
|
@@ -45,7 +45,7 @@ export declare class CreateDefaultVSwitchRequest extends $dara.Model {
|
|
|
45
45
|
* This parameter is required.
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
|
-
*
|
|
48
|
+
* ap-southeast-1a
|
|
49
49
|
*/
|
|
50
50
|
zoneId?: string;
|
|
51
51
|
static names(): {
|
|
@@ -34,7 +34,7 @@ export declare class CreateVpcRequestTag extends $dara.Model {
|
|
|
34
34
|
export declare class CreateVpcRequest extends $dara.Model {
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
|
-
*
|
|
37
|
+
* VPC CIDR.
|
|
38
38
|
*
|
|
39
39
|
* * We recommend using the private IPv4 address specified in RFC 1918 as the primary IPv4 CIDR block of the VPC with a recommended mask length of 16 to 28 bits. For example, 10.0.0.0/16, 172.16.0.0/16, and 192.168.0.0/16.
|
|
40
40
|
* * You can also use a custom CIDR block other than 100.64.0.0/10, 224.0.0.0/4, 127.0.0.0/8, 169.254.0.0/16, or their subnets as the primary IPv4 CIDR block.
|
|
@@ -191,7 +191,7 @@ export declare class CreateVpcRequest extends $dara.Model {
|
|
|
191
191
|
* For more information about user CIDR blocks, see the `What is a user CIDR block?` section in [VPC FAQ](https://help.aliyun.com/document_detail/185311.html).
|
|
192
192
|
*
|
|
193
193
|
* @example
|
|
194
|
-
* 192.168.0.0/
|
|
194
|
+
* 192.168.0.0/16
|
|
195
195
|
*/
|
|
196
196
|
userCidr?: string;
|
|
197
197
|
/**
|
|
@@ -17,7 +17,7 @@ export declare class DeleteVpcRequest extends $dara.Model {
|
|
|
17
17
|
* Specifies whether to perform a dry run. Valid values:
|
|
18
18
|
*
|
|
19
19
|
* - **true**: performs a dry run. The system checks the required parameters, request syntax, and limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
|
|
20
|
-
* - **false** (default):
|
|
20
|
+
* - **false** (default): sends the request directly without performing a dry run. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* false
|
|
@@ -18,7 +18,7 @@ export declare class DeleteVSwitchCidrReservationRequest extends $dara.Model {
|
|
|
18
18
|
*
|
|
19
19
|
* **true**: performs a dry run. The system checks the required parameters, request format, and limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
|
|
20
20
|
*
|
|
21
|
-
* **false** (default):
|
|
21
|
+
* **false** (default): sends the request directly without performing a dry run. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* false
|
|
@@ -5,7 +5,7 @@ export declare class DeleteVSwitchRequest extends $dara.Model {
|
|
|
5
5
|
* Specifies whether to perform a dry run. Valid values:
|
|
6
6
|
*
|
|
7
7
|
* - **true**: performs a dry run. The system checks the required parameters, request syntax, and limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
|
|
8
|
-
* - **false** (default):
|
|
8
|
+
* - **false** (default): sends the request directly without performing a dry run. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* false
|
|
@@ -40,7 +40,7 @@ export declare class DescribeGrantRulesToCenRequest extends $dara.Model {
|
|
|
40
40
|
ownerId?: number;
|
|
41
41
|
/**
|
|
42
42
|
* @remarks
|
|
43
|
-
* The number
|
|
43
|
+
* The page number. Minimum value: **1**. Default value: **1**.
|
|
44
44
|
*
|
|
45
45
|
* @example
|
|
46
46
|
* 1
|
|
@@ -48,7 +48,7 @@ export declare class DescribeGrantRulesToCenRequest extends $dara.Model {
|
|
|
48
48
|
pageNumber?: number;
|
|
49
49
|
/**
|
|
50
50
|
* @remarks
|
|
51
|
-
* The number of entries
|
|
51
|
+
* The number of entries per page. Maximum value: **50**. Minimum value: **1**. Default value: **10**.
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
54
|
* 10
|
|
@@ -4,7 +4,7 @@ export declare class DescribeVpcAttributeRequest extends $dara.Model {
|
|
|
4
4
|
* @remarks
|
|
5
5
|
* Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
6
6
|
*
|
|
7
|
-
* * **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes dry run, the `DryRunOperation` error code is returned.
|
|
7
|
+
* * **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. DryRun only validates the request format and permissions, but does not verify whether the specified resource actually exists. If the request fails the dry run, an error message is returned. If the request passes dry run, the `DryRunOperation` error code is returned.
|
|
8
8
|
* * **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
@@ -44,8 +44,8 @@ export declare class DescribeVpcsRequest extends $dara.Model {
|
|
|
44
44
|
* @remarks
|
|
45
45
|
* Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
46
46
|
*
|
|
47
|
-
* * **true**: performs only a dry run. The system
|
|
48
|
-
* * **false** (default):
|
|
47
|
+
* * **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
|
|
48
|
+
* * **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* false
|
|
@@ -15,7 +15,7 @@ export declare class DescribeVSwitchAttributesRequest extends $dara.Model {
|
|
|
15
15
|
ownerId?: number;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The region ID of the
|
|
18
|
+
* The region ID of the VPC to which the vSwitch belongs.
|
|
19
19
|
*
|
|
20
20
|
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the most recent region list.
|
|
21
21
|
*
|
|
@@ -71,7 +71,7 @@ export declare class DescribeVSwitchAttributesResponseBody extends $dara.Model {
|
|
|
71
71
|
* The CIDR block of the vSwitch.
|
|
72
72
|
*
|
|
73
73
|
* @example
|
|
74
|
-
* 192.168.0.
|
|
74
|
+
* 192.168.0.0/24
|
|
75
75
|
*/
|
|
76
76
|
cidrBlock?: string;
|
|
77
77
|
/**
|
|
@@ -97,6 +97,8 @@ export declare class DescribeVSwitchAttributesResponseBody extends $dara.Model {
|
|
|
97
97
|
* * **true**
|
|
98
98
|
* * **false**
|
|
99
99
|
*
|
|
100
|
+
* This field is returned only when IPv6 is enabled for the vSwitch.
|
|
101
|
+
*
|
|
100
102
|
* @example
|
|
101
103
|
* true
|
|
102
104
|
*/
|
|
@@ -125,7 +127,7 @@ export declare class DescribeVSwitchAttributesResponseBody extends $dara.Model {
|
|
|
125
127
|
* The network access control list (ACL) rules.
|
|
126
128
|
*
|
|
127
129
|
* @example
|
|
128
|
-
*
|
|
130
|
+
* nacl-bp1fg655nh68xyz9****
|
|
129
131
|
*/
|
|
130
132
|
networkAclId?: string;
|
|
131
133
|
/**
|
|
@@ -133,7 +135,7 @@ export declare class DescribeVSwitchAttributesResponseBody extends $dara.Model {
|
|
|
133
135
|
* The ID of the Alibaba Cloud account to which the resource belongs.
|
|
134
136
|
*
|
|
135
137
|
* @example
|
|
136
|
-
*
|
|
138
|
+
* 28768383240243****
|
|
137
139
|
*/
|
|
138
140
|
ownerId?: number;
|
|
139
141
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DescribeVswitchAttributesResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeVswitchAttributesResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+CAAgD,SAAQ,KAAK,CAAC,KAAK;IAoB9E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cAAc;YAC5B,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,QAAQ;YACtB,c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M,EAAE,QAAQ;YAChB,IAAI,EAAE,yCAAyC;YAC/C,SAAS,EAAE,QAAQ;YACnB,WAAW,EAAE,QAAQ;YACrB,KAAK,EAAE,QAAQ;YACf,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,UAAU,IAAI,OAAQ,IAAI,CAAC,UAAkB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC7E,IAAI,CAAC,UAAkB,CAAC,QAAQ,EAAE,CAAC;QACtC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA3ND,sFA2NC"}
|
|
@@ -133,7 +133,7 @@ export declare class DescribeVSwitchesRequest extends $dara.Model {
|
|
|
133
133
|
vSwitchId?: string;
|
|
134
134
|
/**
|
|
135
135
|
* @remarks
|
|
136
|
-
* The vSwitch
|
|
136
|
+
* The exact name of the vSwitch that you want to query. Fuzzy match is not supported.
|
|
137
137
|
*
|
|
138
138
|
* The name must be 1 to 128 characters in length, and cannot start with `http://` or `https://`.
|
|
139
139
|
*
|
|
@@ -12,7 +12,7 @@ export declare class GrantInstanceToCenRequest extends $dara.Model {
|
|
|
12
12
|
cenId?: string;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* The user ID (UID) of the
|
|
15
|
+
* The user ID (UID) of the Alibaba Cloud account to which the CEN instance belongs.
|
|
16
16
|
*
|
|
17
17
|
* This parameter is required.
|
|
18
18
|
*
|
|
@@ -24,7 +24,7 @@ export declare class ModifyVpcAttributeRequest extends $dara.Model {
|
|
|
24
24
|
description?: string;
|
|
25
25
|
/**
|
|
26
26
|
* @remarks
|
|
27
|
-
*
|
|
27
|
+
* Specifies whether to enable the DNS hostname feature. Valid values:
|
|
28
28
|
*
|
|
29
29
|
* * **false** (default): disabled.
|
|
30
30
|
* * **true**: enabled.
|
|
@@ -12,7 +12,7 @@ export declare class RevokeInstanceFromCenRequest extends $dara.Model {
|
|
|
12
12
|
cenId?: string;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* The user ID (UID) of the
|
|
15
|
+
* The user ID (UID) of the Alibaba Cloud account to which the CEN instance belongs.
|
|
16
16
|
*
|
|
17
17
|
* This parameter is required.
|
|
18
18
|
*
|
|
@@ -4,7 +4,8 @@ export declare class UnassociateVpcCidrBlockRequest extends $dara.Model {
|
|
|
4
4
|
* @remarks
|
|
5
5
|
* The secondary IPv6 CIDR block to be deleted.
|
|
6
6
|
*
|
|
7
|
-
* >
|
|
7
|
+
* >
|
|
8
|
+
* > - You must set one of the Ipv6CidrBlock and SecondaryCidrBlock parameters.
|
|
8
9
|
*
|
|
9
10
|
* @example
|
|
10
11
|
* 2408:XXXX:0:6a::/56
|
|
@@ -16,12 +17,12 @@ export declare class UnassociateVpcCidrBlockRequest extends $dara.Model {
|
|
|
16
17
|
* @remarks
|
|
17
18
|
* The region ID of the VPC to which the secondary CIDR block to be deleted belongs.
|
|
18
19
|
*
|
|
19
|
-
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the
|
|
20
|
+
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the region ID.
|
|
20
21
|
*
|
|
21
22
|
* This parameter is required.
|
|
22
23
|
*
|
|
23
24
|
* @example
|
|
24
|
-
*
|
|
25
|
+
* cn-hangzhou
|
|
25
26
|
*/
|
|
26
27
|
regionId?: string;
|
|
27
28
|
resourceOwnerAccount?: string;
|
|
@@ -30,7 +31,8 @@ export declare class UnassociateVpcCidrBlockRequest extends $dara.Model {
|
|
|
30
31
|
* @remarks
|
|
31
32
|
* The secondary IPv4 CIDR block to be deleted.
|
|
32
33
|
*
|
|
33
|
-
* >
|
|
34
|
+
* >
|
|
35
|
+
* > - You must set one of the SecondaryCidrBlock and Ipv6CidrBlock parameters.
|
|
34
36
|
*
|
|
35
37
|
* @example
|
|
36
38
|
* 192.168.0.0/16
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnassociateVpcCidrBlockRequest.js","sourceRoot":"","sources":["../../src/models/UnassociateVpcCidrBlockRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"UnassociateVpcCidrBlockRequest.js","sourceRoot":"","sources":["../../src/models/UnassociateVpcCidrBlockRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAiD7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;YAClC,kBAAkB,EAAE,oBAAoB;YACxC,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;YACvB,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;YACzB,kBAAkB,EAAE,QAAQ;YAC5B,KAAK,EAAE,QAAQ;SAChB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAlFD,wEAkFC"}
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -1344,7 +1344,7 @@ export default class Client extends OpenApi {
|
|
|
1344
1344
|
* # [](#)
|
|
1345
1345
|
* The following section describes how to allocate an IPv6 CIDR block to a virtual private cloud (VPC):
|
|
1346
1346
|
* 1. Call the AllocateVpcIpv6Cidr operation to reserve the IPv6 CIDR block.
|
|
1347
|
-
* 2. To allocate an IPv6 CIDR block to an existing VPC, call the [AssociateVpcCidrBlock](https://help.aliyun.com/document_detail/146745.html) operation. Set **RegionId**, **VpcId**, and **IPv6CidrBlock** to the IPv6 CIDR
|
|
1347
|
+
* 2. To allocate an IPv6 CIDR block to an existing VPC, call the [AssociateVpcCidrBlock](https://help.aliyun.com/document_detail/146745.html) operation. Set **RegionId**, **VpcId**, and **IPv6CidrBlock** to the IPv6 CIDR block, and set **IpVersion** to **ipv6**. To allocate an IPv6 CIDR block when you create a VPC, call the [CreateVpc](https://help.aliyun.com/document_detail/35737.html) operation. Set **RegionId** and **Ipv6CidrBlock** to the IPv6 CIDR block, and set **EnableIpv6** to **true**.
|
|
1348
1348
|
*
|
|
1349
1349
|
* @param request - AllocateVpcIpv6CidrRequest
|
|
1350
1350
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1417,7 +1417,7 @@ export default class Client extends OpenApi {
|
|
|
1417
1417
|
* # [](#)
|
|
1418
1418
|
* The following section describes how to allocate an IPv6 CIDR block to a virtual private cloud (VPC):
|
|
1419
1419
|
* 1. Call the AllocateVpcIpv6Cidr operation to reserve the IPv6 CIDR block.
|
|
1420
|
-
* 2. To allocate an IPv6 CIDR block to an existing VPC, call the [AssociateVpcCidrBlock](https://help.aliyun.com/document_detail/146745.html) operation. Set **RegionId**, **VpcId**, and **IPv6CidrBlock** to the IPv6 CIDR
|
|
1420
|
+
* 2. To allocate an IPv6 CIDR block to an existing VPC, call the [AssociateVpcCidrBlock](https://help.aliyun.com/document_detail/146745.html) operation. Set **RegionId**, **VpcId**, and **IPv6CidrBlock** to the IPv6 CIDR block, and set **IpVersion** to **ipv6**. To allocate an IPv6 CIDR block when you create a VPC, call the [CreateVpc](https://help.aliyun.com/document_detail/35737.html) operation. Set **RegionId** and **Ipv6CidrBlock** to the IPv6 CIDR block, and set **EnableIpv6** to **true**.
|
|
1421
1421
|
*
|
|
1422
1422
|
* @param request - AllocateVpcIpv6CidrRequest
|
|
1423
1423
|
* @returns AllocateVpcIpv6CidrResponse
|
|
@@ -8658,9 +8658,9 @@ export default class Client extends OpenApi {
|
|
|
8658
8658
|
* * After you create a VPC, a vRouter and a route table are automatically created.
|
|
8659
8659
|
* * At most three user CIDR blocks can be added to a VPC. If a user CIDR block includes another user CIDR block, the one with the shorter subnet mask takes effect. For example, if both 10.0.0.0/8 and 10.1.0.0/16 are specified, only 10.0.0.0/8 takes effect.
|
|
8660
8660
|
* * **CreateVpc** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVpcAttribute](https://help.aliyun.com/document_detail/94565.html) operation to query the status of the task:
|
|
8661
|
-
* * If the VPC is in the **
|
|
8662
|
-
* * If the VPC is in the **
|
|
8663
|
-
* * You cannot repeatedly call the **
|
|
8661
|
+
* * If the VPC is in the **Pending** state, the VPC is being created.
|
|
8662
|
+
* * If the VPC is in the **Available** state, the VPC is created.
|
|
8663
|
+
* * You cannot repeatedly call the **CreateVpc** operation to create default VPCs within a specific time period. However, you can repeatedly call this operation to create custom VPCs within a specific time period.
|
|
8664
8664
|
*
|
|
8665
8665
|
* @param request - CreateVpcRequest
|
|
8666
8666
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8781,9 +8781,9 @@ export default class Client extends OpenApi {
|
|
|
8781
8781
|
* * After you create a VPC, a vRouter and a route table are automatically created.
|
|
8782
8782
|
* * At most three user CIDR blocks can be added to a VPC. If a user CIDR block includes another user CIDR block, the one with the shorter subnet mask takes effect. For example, if both 10.0.0.0/8 and 10.1.0.0/16 are specified, only 10.0.0.0/8 takes effect.
|
|
8783
8783
|
* * **CreateVpc** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVpcAttribute](https://help.aliyun.com/document_detail/94565.html) operation to query the status of the task:
|
|
8784
|
-
* * If the VPC is in the **
|
|
8785
|
-
* * If the VPC is in the **
|
|
8786
|
-
* * You cannot repeatedly call the **
|
|
8784
|
+
* * If the VPC is in the **Pending** state, the VPC is being created.
|
|
8785
|
+
* * If the VPC is in the **Available** state, the VPC is created.
|
|
8786
|
+
* * You cannot repeatedly call the **CreateVpc** operation to create default VPCs within a specific time period. However, you can repeatedly call this operation to create custom VPCs within a specific time period.
|
|
8787
8787
|
*
|
|
8788
8788
|
* @param request - CreateVpcRequest
|
|
8789
8789
|
* @returns CreateVpcResponse
|
|
@@ -13268,8 +13268,8 @@ export default class Client extends OpenApi {
|
|
|
13268
13268
|
* * You can delete only vSwitches that are in the **Available** state.
|
|
13269
13269
|
* * You cannot delete a vSwitch from a VPC where a vSwitch or a route is being created or deleted.
|
|
13270
13270
|
* * **DeleteVSwitch** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVSwitchAttributes](https://help.aliyun.com/document_detail/94567.html) operation to query the status of the task:
|
|
13271
|
-
* * If the vSwitch is in the **
|
|
13272
|
-
* * If
|
|
13271
|
+
* * If the vSwitch is in the **Deleting** state, the vSwitch is being deleted.
|
|
13272
|
+
* * If the DescribeVSwitchAttributes operation returns empty values for the vSwitch attributes, the vSwitch is deleted.
|
|
13273
13273
|
* * You cannot repeatedly call the **DeleteVSwitch** operation to delete a vSwitch within the specified period of time.
|
|
13274
13274
|
*
|
|
13275
13275
|
* @param request - DeleteVSwitchRequest
|
|
@@ -13333,8 +13333,8 @@ export default class Client extends OpenApi {
|
|
|
13333
13333
|
* * You can delete only vSwitches that are in the **Available** state.
|
|
13334
13334
|
* * You cannot delete a vSwitch from a VPC where a vSwitch or a route is being created or deleted.
|
|
13335
13335
|
* * **DeleteVSwitch** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVSwitchAttributes](https://help.aliyun.com/document_detail/94567.html) operation to query the status of the task:
|
|
13336
|
-
* * If the vSwitch is in the **
|
|
13337
|
-
* * If
|
|
13336
|
+
* * If the vSwitch is in the **Deleting** state, the vSwitch is being deleted.
|
|
13337
|
+
* * If the DescribeVSwitchAttributes operation returns empty values for the vSwitch attributes, the vSwitch is deleted.
|
|
13338
13338
|
* * You cannot repeatedly call the **DeleteVSwitch** operation to delete a vSwitch within the specified period of time.
|
|
13339
13339
|
*
|
|
13340
13340
|
* @param request - DeleteVSwitchRequest
|
|
@@ -19542,6 +19542,10 @@ export default class Client extends OpenApi {
|
|
|
19542
19542
|
/**
|
|
19543
19543
|
* Queries the configuration of a virtual private cloud (VPC).
|
|
19544
19544
|
*
|
|
19545
|
+
* @remarks
|
|
19546
|
+
* ## Debugging
|
|
19547
|
+
* [You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.](https://api.aliyun.com/#product=Vpc\\&api=DescribeVpcAttribute\\&type=RPC\\&version=2016-04-28)
|
|
19548
|
+
*
|
|
19545
19549
|
* @param request - DescribeVpcAttributeRequest
|
|
19546
19550
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
19547
19551
|
* @returns DescribeVpcAttributeResponse
|
|
@@ -19601,6 +19605,10 @@ export default class Client extends OpenApi {
|
|
|
19601
19605
|
/**
|
|
19602
19606
|
* Queries the configuration of a virtual private cloud (VPC).
|
|
19603
19607
|
*
|
|
19608
|
+
* @remarks
|
|
19609
|
+
* ## Debugging
|
|
19610
|
+
* [You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.](https://api.aliyun.com/#product=Vpc\\&api=DescribeVpcAttribute\\&type=RPC\\&version=2016-04-28)
|
|
19611
|
+
*
|
|
19604
19612
|
* @param request - DescribeVpcAttributeRequest
|
|
19605
19613
|
* @returns DescribeVpcAttributeResponse
|
|
19606
19614
|
*/
|
|
@@ -28438,7 +28446,7 @@ export default class Client extends OpenApi {
|
|
|
28438
28446
|
}
|
|
28439
28447
|
|
|
28440
28448
|
/**
|
|
28441
|
-
* Modifies the name and
|
|
28449
|
+
* Modifies the name, description, and IPv6 settings of a vSwitch.
|
|
28442
28450
|
*
|
|
28443
28451
|
* @remarks
|
|
28444
28452
|
* **ModifyVSwitchAttribute** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVSwitchAttributes](https://help.aliyun.com/document_detail/94567.html) operation to query the status of the task:
|
|
@@ -28515,7 +28523,7 @@ export default class Client extends OpenApi {
|
|
|
28515
28523
|
}
|
|
28516
28524
|
|
|
28517
28525
|
/**
|
|
28518
|
-
* Modifies the name and
|
|
28526
|
+
* Modifies the name, description, and IPv6 settings of a vSwitch.
|
|
28519
28527
|
*
|
|
28520
28528
|
* @remarks
|
|
28521
28529
|
* **ModifyVSwitchAttribute** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVSwitchAttributes](https://help.aliyun.com/document_detail/94567.html) operation to query the status of the task:
|
|
@@ -28868,7 +28876,7 @@ export default class Client extends OpenApi {
|
|
|
28868
28876
|
}
|
|
28869
28877
|
|
|
28870
28878
|
/**
|
|
28871
|
-
* Modifies the
|
|
28879
|
+
* Modifies the name and description of a virtual private cloud (VPC).
|
|
28872
28880
|
*
|
|
28873
28881
|
* @remarks
|
|
28874
28882
|
* ## [](#)Description
|
|
@@ -28951,7 +28959,7 @@ export default class Client extends OpenApi {
|
|
|
28951
28959
|
}
|
|
28952
28960
|
|
|
28953
28961
|
/**
|
|
28954
|
-
* Modifies the
|
|
28962
|
+
* Modifies the name and description of a virtual private cloud (VPC).
|
|
28955
28963
|
*
|
|
28956
28964
|
* @remarks
|
|
28957
28965
|
* ## [](#)Description
|
|
@@ -66,7 +66,7 @@ export class AssociateVpcCidrBlockRequest extends $dara.Model {
|
|
|
66
66
|
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the region ID.
|
|
67
67
|
*
|
|
68
68
|
* @example
|
|
69
|
-
*
|
|
69
|
+
* cn-hangzhou
|
|
70
70
|
*/
|
|
71
71
|
regionId?: string;
|
|
72
72
|
resourceOwnerAccount?: string;
|
|
@@ -83,7 +83,7 @@ export class AssociateVpcCidrBlockRequest extends $dara.Model {
|
|
|
83
83
|
* * The CIDR block cannot start with 0. The subnet mask must be 8 to 28 bits in length.
|
|
84
84
|
* * The CIDR block cannot overlap with the primary CIDR block or an existing secondary CIDR block of the VPC.
|
|
85
85
|
*
|
|
86
|
-
* > You must and can specify only one of **SecondaryCidrBlock** and **
|
|
86
|
+
* > You must and can specify only one of **SecondaryCidrBlock** and **IPv6CidrBlock**.
|
|
87
87
|
*
|
|
88
88
|
* @example
|
|
89
89
|
* 192.168.0.0/16
|
|
@@ -34,7 +34,7 @@ export class CreateDefaultVSwitchRequest extends $dara.Model {
|
|
|
34
34
|
* This parameter is required.
|
|
35
35
|
*
|
|
36
36
|
* @example
|
|
37
|
-
*
|
|
37
|
+
* ap-southeast-1
|
|
38
38
|
*/
|
|
39
39
|
regionId?: string;
|
|
40
40
|
resourceOwnerAccount?: string;
|
|
@@ -48,7 +48,7 @@ export class CreateDefaultVSwitchRequest extends $dara.Model {
|
|
|
48
48
|
* This parameter is required.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
|
-
*
|
|
51
|
+
* ap-southeast-1a
|
|
52
52
|
*/
|
|
53
53
|
zoneId?: string;
|
|
54
54
|
static names(): { [key: string]: string } {
|
|
@@ -49,7 +49,7 @@ export class CreateVpcRequestTag extends $dara.Model {
|
|
|
49
49
|
export class CreateVpcRequest extends $dara.Model {
|
|
50
50
|
/**
|
|
51
51
|
* @remarks
|
|
52
|
-
*
|
|
52
|
+
* VPC CIDR.
|
|
53
53
|
*
|
|
54
54
|
* * We recommend using the private IPv4 address specified in RFC 1918 as the primary IPv4 CIDR block of the VPC with a recommended mask length of 16 to 28 bits. For example, 10.0.0.0/16, 172.16.0.0/16, and 192.168.0.0/16.
|
|
55
55
|
* * You can also use a custom CIDR block other than 100.64.0.0/10, 224.0.0.0/4, 127.0.0.0/8, 169.254.0.0/16, or their subnets as the primary IPv4 CIDR block.
|
|
@@ -206,7 +206,7 @@ export class CreateVpcRequest extends $dara.Model {
|
|
|
206
206
|
* For more information about user CIDR blocks, see the `What is a user CIDR block?` section in [VPC FAQ](https://help.aliyun.com/document_detail/185311.html).
|
|
207
207
|
*
|
|
208
208
|
* @example
|
|
209
|
-
* 192.168.0.0/
|
|
209
|
+
* 192.168.0.0/16
|
|
210
210
|
*/
|
|
211
211
|
userCidr?: string;
|
|
212
212
|
/**
|
|
@@ -20,7 +20,7 @@ export class DeleteVpcRequest extends $dara.Model {
|
|
|
20
20
|
* Specifies whether to perform a dry run. Valid values:
|
|
21
21
|
*
|
|
22
22
|
* - **true**: performs a dry run. The system checks the required parameters, request syntax, and limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
|
|
23
|
-
* - **false** (default):
|
|
23
|
+
* - **false** (default): sends the request directly without performing a dry run. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* false
|
|
@@ -21,7 +21,7 @@ export class DeleteVSwitchCidrReservationRequest extends $dara.Model {
|
|
|
21
21
|
*
|
|
22
22
|
* **true**: performs a dry run. The system checks the required parameters, request format, and limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
|
|
23
23
|
*
|
|
24
|
-
* **false** (default):
|
|
24
|
+
* **false** (default): sends the request directly without performing a dry run. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* false
|
|
@@ -8,7 +8,7 @@ export class DeleteVSwitchRequest extends $dara.Model {
|
|
|
8
8
|
* Specifies whether to perform a dry run. Valid values:
|
|
9
9
|
*
|
|
10
10
|
* - **true**: performs a dry run. The system checks the required parameters, request syntax, and limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
|
|
11
|
-
* - **false** (default):
|
|
11
|
+
* - **false** (default): sends the request directly without performing a dry run. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* false
|
|
@@ -43,7 +43,7 @@ export class DescribeGrantRulesToCenRequest extends $dara.Model {
|
|
|
43
43
|
ownerId?: number;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The number
|
|
46
|
+
* The page number. Minimum value: **1**. Default value: **1**.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* 1
|
|
@@ -51,7 +51,7 @@ export class DescribeGrantRulesToCenRequest extends $dara.Model {
|
|
|
51
51
|
pageNumber?: number;
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
|
-
* The number of entries
|
|
54
|
+
* The number of entries per page. Maximum value: **50**. Minimum value: **1**. Default value: **10**.
|
|
55
55
|
*
|
|
56
56
|
* @example
|
|
57
57
|
* 10
|
|
@@ -7,7 +7,7 @@ export class DescribeVpcAttributeRequest extends $dara.Model {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
9
9
|
*
|
|
10
|
-
* * **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes dry run, the `DryRunOperation` error code is returned.
|
|
10
|
+
* * **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. DryRun only validates the request format and permissions, but does not verify whether the specified resource actually exists. If the request fails the dry run, an error message is returned. If the request passes dry run, the `DryRunOperation` error code is returned.
|
|
11
11
|
* * **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
@@ -59,8 +59,8 @@ export class DescribeVpcsRequest extends $dara.Model {
|
|
|
59
59
|
* @remarks
|
|
60
60
|
* Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
61
61
|
*
|
|
62
|
-
* * **true**: performs only a dry run. The system
|
|
63
|
-
* * **false** (default):
|
|
62
|
+
* * **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
|
|
63
|
+
* * **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
64
64
|
*
|
|
65
65
|
* @example
|
|
66
66
|
* false
|
|
@@ -18,7 +18,7 @@ export class DescribeVSwitchAttributesRequest extends $dara.Model {
|
|
|
18
18
|
ownerId?: number;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The region ID of the
|
|
21
|
+
* The region ID of the VPC to which the vSwitch belongs.
|
|
22
22
|
*
|
|
23
23
|
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the most recent region list.
|
|
24
24
|
*
|
|
@@ -111,7 +111,7 @@ export class DescribeVSwitchAttributesResponseBody extends $dara.Model {
|
|
|
111
111
|
* The CIDR block of the vSwitch.
|
|
112
112
|
*
|
|
113
113
|
* @example
|
|
114
|
-
* 192.168.0.
|
|
114
|
+
* 192.168.0.0/24
|
|
115
115
|
*/
|
|
116
116
|
cidrBlock?: string;
|
|
117
117
|
/**
|
|
@@ -137,6 +137,8 @@ export class DescribeVSwitchAttributesResponseBody extends $dara.Model {
|
|
|
137
137
|
* * **true**
|
|
138
138
|
* * **false**
|
|
139
139
|
*
|
|
140
|
+
* This field is returned only when IPv6 is enabled for the vSwitch.
|
|
141
|
+
*
|
|
140
142
|
* @example
|
|
141
143
|
* true
|
|
142
144
|
*/
|
|
@@ -165,7 +167,7 @@ export class DescribeVSwitchAttributesResponseBody extends $dara.Model {
|
|
|
165
167
|
* The network access control list (ACL) rules.
|
|
166
168
|
*
|
|
167
169
|
* @example
|
|
168
|
-
*
|
|
170
|
+
* nacl-bp1fg655nh68xyz9****
|
|
169
171
|
*/
|
|
170
172
|
networkAclId?: string;
|
|
171
173
|
/**
|
|
@@ -173,7 +175,7 @@ export class DescribeVSwitchAttributesResponseBody extends $dara.Model {
|
|
|
173
175
|
* The ID of the Alibaba Cloud account to which the resource belongs.
|
|
174
176
|
*
|
|
175
177
|
* @example
|
|
176
|
-
*
|
|
178
|
+
* 28768383240243****
|
|
177
179
|
*/
|
|
178
180
|
ownerId?: number;
|
|
179
181
|
/**
|
|
@@ -148,7 +148,7 @@ export class DescribeVSwitchesRequest extends $dara.Model {
|
|
|
148
148
|
vSwitchId?: string;
|
|
149
149
|
/**
|
|
150
150
|
* @remarks
|
|
151
|
-
* The vSwitch
|
|
151
|
+
* The exact name of the vSwitch that you want to query. Fuzzy match is not supported.
|
|
152
152
|
*
|
|
153
153
|
* The name must be 1 to 128 characters in length, and cannot start with `http://` or `https://`.
|
|
154
154
|
*
|
|
@@ -15,7 +15,7 @@ export class GrantInstanceToCenRequest extends $dara.Model {
|
|
|
15
15
|
cenId?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The user ID (UID) of the
|
|
18
|
+
* The user ID (UID) of the Alibaba Cloud account to which the CEN instance belongs.
|
|
19
19
|
*
|
|
20
20
|
* This parameter is required.
|
|
21
21
|
*
|
|
@@ -27,7 +27,7 @@ export class ModifyVpcAttributeRequest extends $dara.Model {
|
|
|
27
27
|
description?: string;
|
|
28
28
|
/**
|
|
29
29
|
* @remarks
|
|
30
|
-
*
|
|
30
|
+
* Specifies whether to enable the DNS hostname feature. Valid values:
|
|
31
31
|
*
|
|
32
32
|
* * **false** (default): disabled.
|
|
33
33
|
* * **true**: enabled.
|