@alicloud/vpc20160428 7.3.0 → 7.3.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 +144 -142
- package/dist/client.js +153 -178
- package/dist/client.js.map +1 -1
- package/dist/models/AddCommonBandwidthPackageIpRequest.d.ts +4 -4
- package/dist/models/CreateCommonBandwidthPackageRequest.d.ts +15 -15
- package/dist/models/CreateDhcpOptionsSetRequest.d.ts +7 -7
- package/dist/models/CreateFlowLogRequest.d.ts +17 -9
- package/dist/models/CreateFlowLogRequest.js.map +1 -1
- package/dist/models/CreateRouteEntriesRequest.d.ts +17 -17
- package/dist/models/CreateRouteEntriesResponseBody.d.ts +3 -3
- package/dist/models/CreateRouteEntryRequest.d.ts +8 -8
- package/dist/models/CreateRouteTargetGroupRequest.d.ts +5 -6
- package/dist/models/CreateRouteTargetGroupRequest.js.map +1 -1
- package/dist/models/CreateVpnPbrRouteEntryRequest.d.ts +15 -15
- package/dist/models/CreateVpnPbrRouteEntryResponseBody.d.ts +3 -3
- package/dist/models/CreateVpnRouteEntryRequest.d.ts +7 -7
- package/dist/models/CreateVpnRouteEntryResponseBody.d.ts +2 -2
- package/dist/models/CreateVswitchCidrReservationRequest.d.ts +11 -11
- package/dist/models/CreateVswitchRequest.d.ts +26 -9
- package/dist/models/CreateVswitchRequest.js +4 -0
- package/dist/models/CreateVswitchRequest.js.map +1 -1
- package/dist/models/DeleteRouteEntriesRequest.d.ts +3 -3
- package/dist/models/DeleteRouteEntriesResponseBody.d.ts +3 -3
- package/dist/models/DeleteRouteEntryRequest.d.ts +3 -3
- package/dist/models/DescribeRouteEntryListRequest.d.ts +6 -6
- package/dist/models/DescribeRouteEntryListResponseBody.d.ts +3 -2
- package/dist/models/DescribeRouteEntryListResponseBody.js +2 -0
- package/dist/models/DescribeRouteEntryListResponseBody.js.map +1 -1
- package/dist/models/DescribeVswitchAttributesRequest.d.ts +2 -2
- package/dist/models/DescribeVswitchAttributesResponseBody.d.ts +1 -1
- package/dist/models/GetDhcpOptionsSetRequest.d.ts +1 -1
- package/dist/models/GetDhcpOptionsSetResponseBody.d.ts +1 -1
- package/dist/models/GetVpcPrefixListAssociationsRequest.d.ts +3 -3
- package/dist/models/GetVpcPrefixListAssociationsResponseBody.d.ts +17 -9
- package/dist/models/GetVpcPrefixListAssociationsResponseBody.js +2 -0
- package/dist/models/GetVpcPrefixListAssociationsResponseBody.js.map +1 -1
- package/dist/models/GetVpcRouteEntrySummaryRequest.d.ts +7 -7
- package/dist/models/GetVpcRouteEntrySummaryResponseBody.d.ts +8 -8
- package/dist/models/ModifyRouteEntryRequest.d.ts +4 -4
- package/dist/models/ModifyVswitchAttributeRequest.d.ts +13 -3
- package/dist/models/ModifyVswitchAttributeRequest.js +2 -0
- package/dist/models/ModifyVswitchAttributeRequest.js.map +1 -1
- package/dist/models/RemoveCommonBandwidthPackageIpRequest.d.ts +8 -4
- package/dist/models/RemoveCommonBandwidthPackageIpRequest.js.map +1 -1
- package/dist/models/RetryVpcPrefixListAssociationRequest.d.ts +7 -7
- package/dist/models/SwitchActiveRouteTargetRequest.d.ts +3 -3
- package/dist/models/UpdateDhcpOptionsSetAttributeRequest.d.ts +10 -10
- package/package.json +1 -1
- package/src/client.ts +156 -178
- package/src/models/AddCommonBandwidthPackageIpRequest.ts +4 -4
- package/src/models/CreateCommonBandwidthPackageRequest.ts +15 -15
- package/src/models/CreateDhcpOptionsSetRequest.ts +7 -7
- package/src/models/CreateFlowLogRequest.ts +17 -9
- package/src/models/CreateRouteEntriesRequest.ts +17 -17
- package/src/models/CreateRouteEntriesResponseBody.ts +3 -3
- package/src/models/CreateRouteEntryRequest.ts +8 -8
- package/src/models/CreateRouteTargetGroupRequest.ts +5 -6
- package/src/models/CreateVpnPbrRouteEntryRequest.ts +15 -15
- package/src/models/CreateVpnPbrRouteEntryResponseBody.ts +3 -3
- package/src/models/CreateVpnRouteEntryRequest.ts +7 -7
- package/src/models/CreateVpnRouteEntryResponseBody.ts +2 -2
- package/src/models/CreateVswitchCidrReservationRequest.ts +11 -11
- package/src/models/CreateVswitchRequest.ts +30 -9
- package/src/models/DeleteRouteEntriesRequest.ts +3 -3
- package/src/models/DeleteRouteEntriesResponseBody.ts +3 -3
- package/src/models/DeleteRouteEntryRequest.ts +3 -3
- package/src/models/DescribeRouteEntryListRequest.ts +6 -6
- package/src/models/DescribeRouteEntryListResponseBody.ts +5 -2
- package/src/models/DescribeVswitchAttributesRequest.ts +2 -2
- package/src/models/DescribeVswitchAttributesResponseBody.ts +1 -1
- package/src/models/GetDhcpOptionsSetRequest.ts +1 -1
- package/src/models/GetDhcpOptionsSetResponseBody.ts +1 -1
- package/src/models/GetVpcPrefixListAssociationsRequest.ts +3 -3
- package/src/models/GetVpcPrefixListAssociationsResponseBody.ts +19 -9
- package/src/models/GetVpcRouteEntrySummaryRequest.ts +7 -7
- package/src/models/GetVpcRouteEntrySummaryResponseBody.ts +8 -8
- package/src/models/ModifyRouteEntryRequest.ts +4 -4
- package/src/models/ModifyVswitchAttributeRequest.ts +15 -3
- package/src/models/RemoveCommonBandwidthPackageIpRequest.ts +8 -4
- package/src/models/RetryVpcPrefixListAssociationRequest.ts +7 -7
- package/src/models/SwitchActiveRouteTargetRequest.ts +3 -3
- package/src/models/UpdateDhcpOptionsSetAttributeRequest.ts +10 -10
|
@@ -15,7 +15,7 @@ export class CreateVSwitchCidrReservationRequestTag extends $dara.Model {
|
|
|
15
15
|
key?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The tag value of the resource. You can specify up to 20 tag values.
|
|
18
|
+
* The tag value of the resource. You can specify up to 20 tag values. The value can be an empty string.
|
|
19
19
|
*
|
|
20
20
|
* The tag value can be up to 128 characters in length. It cannot start with aliyun or acs: and cannot contain `http://` or `https://`.
|
|
21
21
|
*
|
|
@@ -61,9 +61,9 @@ export class CreateVSwitchCidrReservationRequest extends $dara.Model {
|
|
|
61
61
|
clientToken?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* Specifies whether to perform
|
|
65
|
-
* - **true**:
|
|
66
|
-
* - **false** (default): sends a Normal request.
|
|
64
|
+
* Specifies whether to perform a dry run. Valid values:
|
|
65
|
+
* - **true**: performs a dry run. The system checks the required parameters, request format, and business restrictions. If the check fails, the corresponding error is returned. If the check succeeds, the `DryRunOperation` error code is returned.
|
|
66
|
+
* - **false** (default): sends a Normal request. If the check succeeds, an HTTP 2xx status code is returned and the reserved CIDR block for a vSwitch is created.
|
|
67
67
|
*
|
|
68
68
|
* @example
|
|
69
69
|
* false
|
|
@@ -84,7 +84,7 @@ export class CreateVSwitchCidrReservationRequest extends $dara.Model {
|
|
|
84
84
|
* - **IPv4** (default)
|
|
85
85
|
* - **IPv6**
|
|
86
86
|
*
|
|
87
|
-
* > You do not need to specify this parameter when
|
|
87
|
+
* > You do not need to specify this parameter when you create an IPv4 reserved CIDR block for a vSwitch. This parameter is required when you create an IPv6 reserved CIDR block for a vSwitch.
|
|
88
88
|
*
|
|
89
89
|
* @example
|
|
90
90
|
* IPv4
|
|
@@ -119,7 +119,7 @@ export class CreateVSwitchCidrReservationRequest extends $dara.Model {
|
|
|
119
119
|
* - If **IpVersion** is set to **IPv6**, the reserved CIDR block for a vSwitch must be a proper subset of the IPv6 CIDR block of the vSwitch, and the mask length cannot exceed 80.
|
|
120
120
|
*
|
|
121
121
|
* > - You must specify either the **VSwitchCidrReservationMask** parameter or the **VSwitchCidrReservationCidr** parameter.
|
|
122
|
-
* > - The reserved CIDR block cannot contain the system reserved IP addresses of the vSwitch.
|
|
122
|
+
* > - The reserved CIDR block cannot contain the system reserved IP addresses of the vSwitch to which it belongs.
|
|
123
123
|
*
|
|
124
124
|
* @example
|
|
125
125
|
* 192.168.1.64/28
|
|
@@ -139,11 +139,11 @@ export class CreateVSwitchCidrReservationRequest extends $dara.Model {
|
|
|
139
139
|
* @remarks
|
|
140
140
|
* The mask of the reserved CIDR block for a vSwitch.
|
|
141
141
|
*
|
|
142
|
-
* - If **IpVersion** is set to **IPv4**, the mask length of the reserved CIDR block must be at least 2 bits longer than the IPv4 CIDR block
|
|
143
|
-
* - If **IpVersion** is set to **IPv6**, the mask length of the reserved CIDR block must be longer than the IPv6 CIDR block
|
|
142
|
+
* - If **IpVersion** is set to **IPv4**, the mask length of the reserved CIDR block for a vSwitch must be at least 2 bits longer than the mask of the IPv4 CIDR block of the vSwitch and cannot exceed 28.
|
|
143
|
+
* - If **IpVersion** is set to **IPv6**, the mask length of the reserved CIDR block for a vSwitch must be longer than the mask of the IPv6 CIDR block of the vSwitch and cannot exceed 80.
|
|
144
144
|
*
|
|
145
145
|
* > - You must specify either the **VSwitchCidrReservationMask** parameter or the **VSwitchCidrReservationCidr** parameter.
|
|
146
|
-
* > - The reserved CIDR block cannot contain the system reserved IP addresses of the vSwitch.
|
|
146
|
+
* > - The reserved CIDR block cannot contain the system reserved IP addresses of the vSwitch to which it belongs.
|
|
147
147
|
*
|
|
148
148
|
* @example
|
|
149
149
|
* 28
|
|
@@ -163,7 +163,7 @@ export class CreateVSwitchCidrReservationRequest extends $dara.Model {
|
|
|
163
163
|
* @remarks
|
|
164
164
|
* The type of the reserved CIDR block for a vSwitch. Valid values: **prefix**, which indicates that IP addresses are allocated by CIDR block.
|
|
165
165
|
*
|
|
166
|
-
* > When users or cloud services automatically assign CIDR blocks to elastic network
|
|
166
|
+
* > When users or cloud services automatically assign CIDR blocks to elastic network interface controllers (NICs), the CIDR blocks must be allocated from the reserved CIDR block. If the IP addresses in the reserved CIDR block are exhausted, the system returns an error.
|
|
167
167
|
*
|
|
168
168
|
* @example
|
|
169
169
|
* prefix
|
|
@@ -171,7 +171,7 @@ export class CreateVSwitchCidrReservationRequest extends $dara.Model {
|
|
|
171
171
|
vSwitchCidrReservationType?: string;
|
|
172
172
|
/**
|
|
173
173
|
* @remarks
|
|
174
|
-
* The ID of the vSwitch
|
|
174
|
+
* The ID of the vSwitch to which the reserved CIDR block for a vSwitch belongs.
|
|
175
175
|
*
|
|
176
176
|
* This parameter is required.
|
|
177
177
|
*
|
|
@@ -49,31 +49,38 @@ export class CreateVSwitchRequestTag extends $dara.Model {
|
|
|
49
49
|
export class CreateVSwitchRequest extends $dara.Model {
|
|
50
50
|
/**
|
|
51
51
|
* @remarks
|
|
52
|
-
* The CIDR block of the vSwitch. The following requirements
|
|
52
|
+
* The CIDR block of the vSwitch. The vSwitch CIDR block must meet the following requirements:
|
|
53
53
|
*
|
|
54
54
|
* - The mask length of the vSwitch CIDR block must be 16 to 29 bits.
|
|
55
55
|
*
|
|
56
|
-
* - The CIDR block
|
|
56
|
+
* - The vSwitch CIDR block must be a subset of the CIDR block of the VPC to which the vSwitch belongs.
|
|
57
57
|
*
|
|
58
|
-
* - The CIDR block
|
|
58
|
+
* - The vSwitch CIDR block cannot be the same as the destination CIDR block of a route entry in the VPC, but can be a subset of the destination CIDR block.
|
|
59
59
|
*
|
|
60
|
-
* - The CIDR block
|
|
60
|
+
* - The vSwitch CIDR block cannot be within the following reserved address ranges: 100.64.0.0/10, 127.0.0.0/8, 169.254.0.0/16, or 224.0.0.0/4.
|
|
61
61
|
*
|
|
62
62
|
* > After a vSwitch is created, you cannot modify its CIDR block.
|
|
63
63
|
*
|
|
64
|
-
* This parameter is required.
|
|
65
|
-
*
|
|
66
64
|
* @example
|
|
67
65
|
* 172.16.0.0/24
|
|
68
66
|
*/
|
|
69
67
|
cidrBlock?: string;
|
|
68
|
+
/**
|
|
69
|
+
* @remarks
|
|
70
|
+
* The mask length of the IPv4 CIDR block of the vSwitch.
|
|
71
|
+
* > The mask length of the vSwitch IPv4 CIDR block must be 16 to 29 bits. You must specify at least one of CidrBlock and CidrMask.
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
* 24
|
|
75
|
+
*/
|
|
76
|
+
cidrMask?: number;
|
|
70
77
|
/**
|
|
71
78
|
* @remarks
|
|
72
79
|
* The client token that is used to ensure the idempotence of the request.
|
|
73
80
|
*
|
|
74
81
|
* You can use the client to generate the token, but you must make sure that the token is unique among different requests. The ClientToken value can contain only ASCII characters.
|
|
75
82
|
*
|
|
76
|
-
* > If you do not specify this parameter, the system uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may
|
|
83
|
+
* > If you do not specify this parameter, the system uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may vary for each API request.
|
|
77
84
|
*
|
|
78
85
|
* @example
|
|
79
86
|
* 0c593ea1-3bea-11e9-b96b-88e9fe63****
|
|
@@ -92,17 +99,27 @@ export class CreateVSwitchRequest extends $dara.Model {
|
|
|
92
99
|
/**
|
|
93
100
|
* @remarks
|
|
94
101
|
* The last 8 bits of the IPv6 CIDR block of the vSwitch. Valid values: **0** to **255**.
|
|
95
|
-
* You can specify this parameter only when the VPC to which the vSwitch belongs has IPv6 enabled.
|
|
102
|
+
* You can specify this parameter to assign an IPv6 CIDR block to the vSwitch only when the VPC to which the vSwitch belongs has IPv6 enabled. After the IPv6 CIDR block is assigned, it cannot be changed to another CIDR block. Make sure that the CIDR block does not overlap with those of other vSwitches in the VPC.
|
|
96
103
|
*
|
|
97
104
|
* @example
|
|
98
105
|
* 12
|
|
99
106
|
*/
|
|
100
107
|
ipv6CidrBlock?: number;
|
|
108
|
+
/**
|
|
109
|
+
* @remarks
|
|
110
|
+
* The subnet mask of the IPv6 CIDR block of the vSwitch. You can specify this parameter to assign an IPv6 CIDR block to the vSwitch only when the VPC to which the vSwitch belongs has IPv6 enabled.
|
|
111
|
+
*
|
|
112
|
+
* > Only 64 is supported.
|
|
113
|
+
*
|
|
114
|
+
* @example
|
|
115
|
+
* 64
|
|
116
|
+
*/
|
|
117
|
+
ipv6CidrMask?: number;
|
|
101
118
|
ownerAccount?: string;
|
|
102
119
|
ownerId?: number;
|
|
103
120
|
/**
|
|
104
121
|
* @remarks
|
|
105
|
-
* The region ID of the vSwitch
|
|
122
|
+
* The region ID of the vSwitch to create.
|
|
106
123
|
*
|
|
107
124
|
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the region ID.
|
|
108
125
|
*
|
|
@@ -160,9 +177,11 @@ export class CreateVSwitchRequest extends $dara.Model {
|
|
|
160
177
|
static names(): { [key: string]: string } {
|
|
161
178
|
return {
|
|
162
179
|
cidrBlock: 'CidrBlock',
|
|
180
|
+
cidrMask: 'CidrMask',
|
|
163
181
|
clientToken: 'ClientToken',
|
|
164
182
|
description: 'Description',
|
|
165
183
|
ipv6CidrBlock: 'Ipv6CidrBlock',
|
|
184
|
+
ipv6CidrMask: 'Ipv6CidrMask',
|
|
166
185
|
ownerAccount: 'OwnerAccount',
|
|
167
186
|
ownerId: 'OwnerId',
|
|
168
187
|
regionId: 'RegionId',
|
|
@@ -179,9 +198,11 @@ export class CreateVSwitchRequest extends $dara.Model {
|
|
|
179
198
|
static types(): { [key: string]: any } {
|
|
180
199
|
return {
|
|
181
200
|
cidrBlock: 'string',
|
|
201
|
+
cidrMask: 'number',
|
|
182
202
|
clientToken: 'string',
|
|
183
203
|
description: 'string',
|
|
184
204
|
ipv6CidrBlock: 'number',
|
|
205
|
+
ipv6CidrMask: 'number',
|
|
185
206
|
ownerAccount: 'string',
|
|
186
207
|
ownerId: 'number',
|
|
187
208
|
regionId: 'string',
|
|
@@ -75,9 +75,9 @@ export class DeleteRouteEntriesRequest extends $dara.Model {
|
|
|
75
75
|
* @remarks
|
|
76
76
|
* Specifies whether to perform a dry run. Valid values:
|
|
77
77
|
*
|
|
78
|
-
* **true**: performs a dry run without deleting
|
|
78
|
+
* **true**: performs a dry run without actually deleting the route entries. The system checks the AccessKey pair, the authorization of the Resource Access Management (RAM) user, and the required parameters. If the check fails, the corresponding error is returned. If the check passes, the `DryRunOperation` error code is returned.
|
|
79
79
|
*
|
|
80
|
-
* **false** (default): sends a normal request. If the check passes, a 2xx HTTP status code is returned and the
|
|
80
|
+
* **false** (default): sends a normal request. If the check passes, a 2xx HTTP status code is returned and the route entries are deleted.
|
|
81
81
|
*/
|
|
82
82
|
dryRun?: boolean;
|
|
83
83
|
ownerAccount?: string;
|
|
@@ -86,7 +86,7 @@ export class DeleteRouteEntriesRequest extends $dara.Model {
|
|
|
86
86
|
* @remarks
|
|
87
87
|
* The ID of the region where the route table resides.
|
|
88
88
|
*
|
|
89
|
-
* You can call [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) to query the region ID.
|
|
89
|
+
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the region ID.
|
|
90
90
|
*
|
|
91
91
|
* This parameter is required.
|
|
92
92
|
*
|
|
@@ -13,7 +13,7 @@ export class DeleteRouteEntriesResponseBodyFailedRouteEntries extends $dara.Mode
|
|
|
13
13
|
dstCidrBlock?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The error code
|
|
16
|
+
* The error code returned for the failure.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* VPC_ROUTER_ENTRY_NOT_EXIST
|
|
@@ -21,7 +21,7 @@ export class DeleteRouteEntriesResponseBodyFailedRouteEntries extends $dara.Mode
|
|
|
21
21
|
failedCode?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The error message
|
|
24
|
+
* The error message returned for the failure.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* vRouterEntry not exists
|
|
@@ -96,7 +96,7 @@ export class DeleteRouteEntriesResponseBody extends $dara.Model {
|
|
|
96
96
|
requestId?: string;
|
|
97
97
|
/**
|
|
98
98
|
* @remarks
|
|
99
|
-
* The number of route entries that were
|
|
99
|
+
* The number of route entries that were deleted.
|
|
100
100
|
*
|
|
101
101
|
* @example
|
|
102
102
|
* 2
|
|
@@ -58,15 +58,15 @@ export class DeleteRouteEntryRequest extends $dara.Model {
|
|
|
58
58
|
*
|
|
59
59
|
* **true**: performs a dry run without deleting the route. The system checks the AccessKey pair, the authorization of the Resource Access Management (RAM) user, and the required parameters. If the check fails, the corresponding error is returned. If the check succeeds, the error code `DryRunOperation` is returned.
|
|
60
60
|
*
|
|
61
|
-
* **false** (default): sends a
|
|
61
|
+
* **false** (default): sends a normal request. If the check succeeds, a 2xx HTTP status code is returned and the route is deleted.
|
|
62
62
|
*/
|
|
63
63
|
dryRun?: boolean;
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
66
|
* The ID of the next hop instance.
|
|
67
67
|
*
|
|
68
|
-
* - To delete a non-ECMP route, specify **NextHopId**.
|
|
69
|
-
* - To delete an ECMP route, specify **NextHopList**.
|
|
68
|
+
* - To delete a non-ECMP route, specify **NextHopId**. Do not specify **NextHopList**.
|
|
69
|
+
* - To delete an ECMP route, specify **NextHopList**. Do not specify **NextHopId**.
|
|
70
70
|
*
|
|
71
71
|
* @example
|
|
72
72
|
* ri-2zeo3xzyf38r4urzd****
|
|
@@ -30,7 +30,7 @@ export class DescribeRouteEntryListRequest extends $dara.Model {
|
|
|
30
30
|
ipVersion?: string;
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* The number of entries per page. Valid values: **1** to **100**. Default value: **10**.
|
|
33
|
+
* The number of entries per page for a paged query. Valid values: **1** to **100**. Default value: **10**.
|
|
34
34
|
*
|
|
35
35
|
* @example
|
|
36
36
|
* 10
|
|
@@ -58,7 +58,7 @@ export class DescribeRouteEntryListRequest extends $dara.Model {
|
|
|
58
58
|
*
|
|
59
59
|
* - **NetworkInterface**: secondary elastic network interface controller (NIC).
|
|
60
60
|
*
|
|
61
|
-
* - **RouterInterface**:
|
|
61
|
+
* - **RouterInterface**: vRouter interface.
|
|
62
62
|
*
|
|
63
63
|
* - **IPv6Gateway**: IPv6 gateway.
|
|
64
64
|
*
|
|
@@ -73,9 +73,9 @@ export class DescribeRouteEntryListRequest extends $dara.Model {
|
|
|
73
73
|
nextHopType?: string;
|
|
74
74
|
/**
|
|
75
75
|
* @remarks
|
|
76
|
-
* The pagination token. Valid values:
|
|
77
|
-
* -
|
|
78
|
-
* - If a subsequent
|
|
76
|
+
* The pagination token that is used in the next request to retrieve a new page of results. Valid values:
|
|
77
|
+
* - You do not need to specify this parameter for the first request or if no subsequent request exists.
|
|
78
|
+
* - If a subsequent request exists, set the value to the NextToken value that is returned from the last call.
|
|
79
79
|
*
|
|
80
80
|
* @example
|
|
81
81
|
* FFmyTO70tTpLG6I3FmYAXGKPd****
|
|
@@ -87,7 +87,7 @@ export class DescribeRouteEntryListRequest extends $dara.Model {
|
|
|
87
87
|
* @remarks
|
|
88
88
|
* The region ID of the route table to which the route belongs.
|
|
89
89
|
*
|
|
90
|
-
* You can call [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) to query the region
|
|
90
|
+
* You can call [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) to query the most recent region list.
|
|
91
91
|
*
|
|
92
92
|
* This parameter is required.
|
|
93
93
|
*
|
|
@@ -190,8 +190,8 @@ export class DescribeRouteEntryListResponseBodyRouteEntrys extends $dara.Model {
|
|
|
190
190
|
export class DescribeRouteEntryListResponseBody extends $dara.Model {
|
|
191
191
|
/**
|
|
192
192
|
* @remarks
|
|
193
|
-
* The pagination token. Valid values:
|
|
194
|
-
* - If **NextToken** is empty, no subsequent
|
|
193
|
+
* The pagination token that is used in the next request to retrieve a new page of results. Valid values:
|
|
194
|
+
* - If **NextToken** is empty, no subsequent request exists.
|
|
195
195
|
* - If **NextToken** is returned, the value indicates the token for the next query.
|
|
196
196
|
*
|
|
197
197
|
* @example
|
|
@@ -207,11 +207,13 @@ export class DescribeRouteEntryListResponseBody extends $dara.Model {
|
|
|
207
207
|
*/
|
|
208
208
|
requestId?: string;
|
|
209
209
|
routeEntrys?: DescribeRouteEntryListResponseBodyRouteEntrys;
|
|
210
|
+
totalCount?: number;
|
|
210
211
|
static names(): { [key: string]: string } {
|
|
211
212
|
return {
|
|
212
213
|
nextToken: 'NextToken',
|
|
213
214
|
requestId: 'RequestId',
|
|
214
215
|
routeEntrys: 'RouteEntrys',
|
|
216
|
+
totalCount: 'TotalCount',
|
|
215
217
|
};
|
|
216
218
|
}
|
|
217
219
|
|
|
@@ -220,6 +222,7 @@ export class DescribeRouteEntryListResponseBody extends $dara.Model {
|
|
|
220
222
|
nextToken: 'string',
|
|
221
223
|
requestId: 'string',
|
|
222
224
|
routeEntrys: DescribeRouteEntryListResponseBodyRouteEntrys,
|
|
225
|
+
totalCount: 'number',
|
|
223
226
|
};
|
|
224
227
|
}
|
|
225
228
|
|
|
@@ -6,8 +6,8 @@ export class DescribeVSwitchAttributesRequest extends $dara.Model {
|
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
8
|
* Specifies whether to perform a dry run. Valid values:
|
|
9
|
-
* - **true**: performs a dry run without querying the vSwitch configuration. The system checks the required parameters, request format, and service limits. If the
|
|
10
|
-
* - **false** (default): performs a dry run and sends the request.
|
|
9
|
+
* - **true**: performs a dry run without querying the vSwitch configuration. The system checks the required parameters, request format, and service limits. If the check fails, the corresponding error is returned. If the check succeeds, the error code `DryRunOperation` is returned.
|
|
10
|
+
* - **false** (default): performs a dry run and sends the request. After the request passes the check, an HTTP 2xx status code is returned and the vSwitch configuration is queried.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* false
|
|
@@ -101,7 +101,7 @@ export class DescribeVSwitchAttributesResponseBodyTags extends $dara.Model {
|
|
|
101
101
|
export class DescribeVSwitchAttributesResponseBody extends $dara.Model {
|
|
102
102
|
/**
|
|
103
103
|
* @remarks
|
|
104
|
-
* The
|
|
104
|
+
* The active IP address count.
|
|
105
105
|
*
|
|
106
106
|
* @example
|
|
107
107
|
* 12
|
|
@@ -19,7 +19,7 @@ export class GetDhcpOptionsSetRequest extends $dara.Model {
|
|
|
19
19
|
* @remarks
|
|
20
20
|
* The region ID of the DHCP options set that you want to query.
|
|
21
21
|
*
|
|
22
|
-
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to
|
|
22
|
+
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the region ID.
|
|
23
23
|
*
|
|
24
24
|
* This parameter is required.
|
|
25
25
|
*
|
|
@@ -170,7 +170,7 @@ export class GetDhcpOptionsSetResponseBody extends $dara.Model {
|
|
|
170
170
|
creationTime?: string;
|
|
171
171
|
/**
|
|
172
172
|
* @remarks
|
|
173
|
-
* The DHCP options configuration.
|
|
173
|
+
* The DHCP options configuration information.
|
|
174
174
|
*/
|
|
175
175
|
dhcpOptions?: GetDhcpOptionsSetResponseBodyDhcpOptions;
|
|
176
176
|
/**
|
|
@@ -13,9 +13,9 @@ export class GetVpcPrefixListAssociationsRequest extends $dara.Model {
|
|
|
13
13
|
maxResults?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
17
|
-
* - Leave this parameter empty for the first query or if no
|
|
18
|
-
* - If a
|
|
16
|
+
* The token for the next query. Valid values:
|
|
17
|
+
* - Leave this parameter empty for the first query or if no next query exists.
|
|
18
|
+
* - If a next query exists, set this parameter to the NextToken value returned in the previous API call.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* FFmyTO70tTpLG6I3FmYAXGKPd****
|
|
@@ -74,17 +74,25 @@ export class GetVpcPrefixListAssociationsResponseBodyPrefixListAssociation exten
|
|
|
74
74
|
* @remarks
|
|
75
75
|
* The association status of the prefix list. Valid values:
|
|
76
76
|
*
|
|
77
|
-
* - **Created**:
|
|
78
|
-
* - **ModifyFailed**:
|
|
79
|
-
* - **Creating**:
|
|
80
|
-
* - **Modifying**:
|
|
81
|
-
* - **Deleting**:
|
|
82
|
-
* - **Deleted**:
|
|
77
|
+
* - **Created**: Succeeded.
|
|
78
|
+
* - **ModifyFailed**: Not associated with the latest version.
|
|
79
|
+
* - **Creating**: Being created.
|
|
80
|
+
* - **Modifying**: Being modified.
|
|
81
|
+
* - **Deleting**: Being deleted.
|
|
82
|
+
* - **Deleted**: Deleted.
|
|
83
83
|
*
|
|
84
84
|
* @example
|
|
85
85
|
* Success
|
|
86
86
|
*/
|
|
87
87
|
status?: string;
|
|
88
|
+
/**
|
|
89
|
+
* @remarks
|
|
90
|
+
* The list of CIDR blocks in the prefix list that are not effective for the associated resource.
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* 192.124.0.0/16
|
|
94
|
+
*/
|
|
95
|
+
suppressedList?: string;
|
|
88
96
|
static names(): { [key: string]: string } {
|
|
89
97
|
return {
|
|
90
98
|
cidrList: 'CidrList',
|
|
@@ -96,6 +104,7 @@ export class GetVpcPrefixListAssociationsResponseBodyPrefixListAssociation exten
|
|
|
96
104
|
resourceType: 'ResourceType',
|
|
97
105
|
resourceUid: 'ResourceUid',
|
|
98
106
|
status: 'Status',
|
|
107
|
+
suppressedList: 'SuppressedList',
|
|
99
108
|
};
|
|
100
109
|
}
|
|
101
110
|
|
|
@@ -110,6 +119,7 @@ export class GetVpcPrefixListAssociationsResponseBodyPrefixListAssociation exten
|
|
|
110
119
|
resourceType: 'string',
|
|
111
120
|
resourceUid: 'string',
|
|
112
121
|
status: 'string',
|
|
122
|
+
suppressedList: 'string',
|
|
113
123
|
};
|
|
114
124
|
}
|
|
115
125
|
|
|
@@ -133,9 +143,9 @@ export class GetVpcPrefixListAssociationsResponseBody extends $dara.Model {
|
|
|
133
143
|
count?: number;
|
|
134
144
|
/**
|
|
135
145
|
* @remarks
|
|
136
|
-
* The
|
|
137
|
-
* - If **NextToken** is empty, no
|
|
138
|
-
* - If **NextToken**
|
|
146
|
+
* The token for the next query. Valid values:
|
|
147
|
+
* - If **NextToken** is empty, no next query exists.
|
|
148
|
+
* - If **NextToken** has a return value, the value is the token for the next query.
|
|
139
149
|
*
|
|
140
150
|
* @example
|
|
141
151
|
* FFmyTO70tTpLG6I3FmYAXGKPd****
|
|
@@ -9,7 +9,7 @@ export class GetVpcRouteEntrySummaryRequest extends $dara.Model {
|
|
|
9
9
|
* @remarks
|
|
10
10
|
* The ID of the region where the route table resides.
|
|
11
11
|
*
|
|
12
|
-
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query
|
|
12
|
+
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query region IDs.
|
|
13
13
|
*
|
|
14
14
|
* This parameter is required.
|
|
15
15
|
*
|
|
@@ -23,12 +23,12 @@ export class GetVpcRouteEntrySummaryRequest extends $dara.Model {
|
|
|
23
23
|
* @remarks
|
|
24
24
|
* The type of the route. Valid values:
|
|
25
25
|
* - **all**: all route types.
|
|
26
|
-
* - **custom**: custom
|
|
27
|
-
* - **system**: system
|
|
28
|
-
* - **bgp**: BGP
|
|
29
|
-
* - **cen**: Cloud Enterprise Network (CEN)
|
|
30
|
-
* - **type_vpn_bgp_internal**:
|
|
31
|
-
* - **ECR**: Express Connect Router (ECR)
|
|
26
|
+
* - **custom**: custom routes.
|
|
27
|
+
* - **system**: system routes.
|
|
28
|
+
* - **bgp**: BGP routes.
|
|
29
|
+
* - **cen**: Cloud Enterprise Network (CEN) routes.
|
|
30
|
+
* - **type_vpn_bgp_internal**: BGP routes of VPN.
|
|
31
|
+
* - **ECR**: Express Connect Router (ECR) routes.
|
|
32
32
|
*
|
|
33
33
|
* This parameter is required.
|
|
34
34
|
*
|
|
@@ -15,16 +15,16 @@ export class GetVpcRouteEntrySummaryResponseBodyRouteEntrySummarysEntrySummarys
|
|
|
15
15
|
* @remarks
|
|
16
16
|
* The type of the route. Valid values:
|
|
17
17
|
* - **all**: all route types.
|
|
18
|
-
* - **custom**: custom
|
|
19
|
-
* - **system**: system
|
|
20
|
-
* - **bgp**: BGP
|
|
21
|
-
* - **cen**: Cloud Enterprise Network (CEN)
|
|
22
|
-
* - **type_vpn_bgp_internal**:
|
|
23
|
-
* - **ECR**: Express Connect Router (ECR)
|
|
18
|
+
* - **custom**: custom routes.
|
|
19
|
+
* - **system**: system routes.
|
|
20
|
+
* - **bgp**: BGP routes.
|
|
21
|
+
* - **cen**: Cloud Enterprise Network (CEN) routes.
|
|
22
|
+
* - **type_vpn_bgp_internal**: BGP routes of VPN.
|
|
23
|
+
* - **ECR**: Express Connect Router (ECR) routes.
|
|
24
24
|
*
|
|
25
25
|
*
|
|
26
26
|
*
|
|
27
|
-
* > The returned system routes are the system routes
|
|
27
|
+
* > The returned system routes are the system routes under the system route table.
|
|
28
28
|
*
|
|
29
29
|
* @example
|
|
30
30
|
* Custom
|
|
@@ -104,7 +104,7 @@ export class GetVpcRouteEntrySummaryResponseBody extends $dara.Model {
|
|
|
104
104
|
requestId?: string;
|
|
105
105
|
/**
|
|
106
106
|
* @remarks
|
|
107
|
-
* The information about all route tables
|
|
107
|
+
* The information about all queried route tables.
|
|
108
108
|
*/
|
|
109
109
|
routeEntrySummarys?: GetVpcRouteEntrySummaryResponseBodyRouteEntrySummarys[];
|
|
110
110
|
static names(): { [key: string]: string } {
|
|
@@ -29,12 +29,12 @@ export class ModifyRouteEntryRequest extends $dara.Model {
|
|
|
29
29
|
*
|
|
30
30
|
* **true**: performs a dry run without modifying the route. The system checks the AccessKey pair, the authorization of the Resource Access Management (RAM) user, and the required parameters. If the check fails, the corresponding error is returned. If the check succeeds, the `DryRunOperation` error code is returned.
|
|
31
31
|
*
|
|
32
|
-
* **false** (default): sends a
|
|
32
|
+
* **false** (default): sends a normal request. If the check succeeds, a 2xx HTTP status code is returned and the route is modified.
|
|
33
33
|
*/
|
|
34
34
|
dryRun?: boolean;
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
|
-
* The new next hop
|
|
37
|
+
* The instance ID of the new next hop of the route entry.
|
|
38
38
|
*
|
|
39
39
|
* @example
|
|
40
40
|
* eni-bp17y37ytsenqyim****
|
|
@@ -50,7 +50,7 @@ export class ModifyRouteEntryRequest extends $dara.Model {
|
|
|
50
50
|
*
|
|
51
51
|
* - **RouterInterface**: vRouter interface.
|
|
52
52
|
*
|
|
53
|
-
* - **NetworkInterface**: elastic network
|
|
53
|
+
* - **NetworkInterface**: elastic network interface (ENI).
|
|
54
54
|
*
|
|
55
55
|
* - **VpnGateway**: VPN gateway.
|
|
56
56
|
*
|
|
@@ -58,7 +58,7 @@ export class ModifyRouteEntryRequest extends $dara.Model {
|
|
|
58
58
|
*
|
|
59
59
|
* - **NatGateway**: NAT gateway.
|
|
60
60
|
*
|
|
61
|
-
* - **Attachment**:
|
|
61
|
+
* - **Attachment**: transit router.
|
|
62
62
|
*
|
|
63
63
|
* - **VpcPeer**: VPC peering connection.
|
|
64
64
|
* - **Ipv4Gateway**: IPv4 gateway.
|
|
@@ -17,8 +17,8 @@ export class ModifyVSwitchAttributeRequest extends $dara.Model {
|
|
|
17
17
|
* @remarks
|
|
18
18
|
* Specifies whether to enable IPv6 for the vSwitch. Valid values:
|
|
19
19
|
*
|
|
20
|
-
* - **true**:
|
|
21
|
-
* - **false** (default):
|
|
20
|
+
* - **true**: Enables IPv6. IPv6 must be enabled for the VPC to which the vSwitch belongs. You must also specify Ipv6CidrBlock to allocate an IPv6 CIDR block to the vSwitch.
|
|
21
|
+
* - **false** (default): Disables IPv6. Before you disable IPv6 for the vSwitch, make sure that no IPv6 addresses are in use. You cannot specify Ipv6CidrBlock at the same time.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* false
|
|
@@ -28,12 +28,22 @@ export class ModifyVSwitchAttributeRequest extends $dara.Model {
|
|
|
28
28
|
* @remarks
|
|
29
29
|
* The last 8 bits of the IPv6 CIDR block of the vSwitch. Valid values: **0** to **255**.
|
|
30
30
|
*
|
|
31
|
-
* You can
|
|
31
|
+
* You can set this parameter only when IPv6 is enabled for the VPC to which the vSwitch belongs. This parameter allows you to allocate an IPv6 CIDR block to the vSwitch. After the IPv6 CIDR block is allocated, it cannot be changed to another CIDR block. Make sure that the CIDR block does not overlap with those of other vSwitches in the same VPC.
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
34
34
|
* 10
|
|
35
35
|
*/
|
|
36
36
|
ipv6CidrBlock?: number;
|
|
37
|
+
/**
|
|
38
|
+
* @remarks
|
|
39
|
+
* The IPv6 CIDR block mask of the vSwitch. You can set this parameter only when IPv6 is enabled for the VPC to which the vSwitch belongs.
|
|
40
|
+
*
|
|
41
|
+
* > Only 64 is supported.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* 64
|
|
45
|
+
*/
|
|
46
|
+
ipv6CidrMask?: number;
|
|
37
47
|
ownerAccount?: string;
|
|
38
48
|
ownerId?: number;
|
|
39
49
|
/**
|
|
@@ -80,6 +90,7 @@ export class ModifyVSwitchAttributeRequest extends $dara.Model {
|
|
|
80
90
|
description: 'Description',
|
|
81
91
|
enableIPv6: 'EnableIPv6',
|
|
82
92
|
ipv6CidrBlock: 'Ipv6CidrBlock',
|
|
93
|
+
ipv6CidrMask: 'Ipv6CidrMask',
|
|
83
94
|
ownerAccount: 'OwnerAccount',
|
|
84
95
|
ownerId: 'OwnerId',
|
|
85
96
|
regionId: 'RegionId',
|
|
@@ -96,6 +107,7 @@ export class ModifyVSwitchAttributeRequest extends $dara.Model {
|
|
|
96
107
|
description: 'string',
|
|
97
108
|
enableIPv6: 'boolean',
|
|
98
109
|
ipv6CidrBlock: 'number',
|
|
110
|
+
ipv6CidrMask: 'number',
|
|
99
111
|
ownerAccount: 'string',
|
|
100
112
|
ownerId: 'number',
|
|
101
113
|
regionId: 'string',
|
|
@@ -17,20 +17,24 @@ export class RemoveCommonBandwidthPackageIpRequest extends $dara.Model {
|
|
|
17
17
|
* @remarks
|
|
18
18
|
* The client token that is used to ensure the idempotence of the request.
|
|
19
19
|
*
|
|
20
|
-
*
|
|
20
|
+
* Generate a parameter value from your client to ensure uniqueness across different requests. ClientToken supports only ASCII characters.
|
|
21
21
|
*
|
|
22
|
-
* > If you do not specify this parameter, the system uses the **RequestId** as the **ClientToken**. The **RequestId**
|
|
22
|
+
* > If you do not specify this parameter, the system uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may vary for each API request.
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
26
26
|
*/
|
|
27
27
|
clientToken?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @remarks
|
|
30
|
+
* Specifies whether to perform a dry run without performing the actual operation.
|
|
31
|
+
*/
|
|
28
32
|
dryRun?: boolean;
|
|
29
33
|
/**
|
|
30
34
|
* @remarks
|
|
31
35
|
* The ID of the EIP.
|
|
32
36
|
*
|
|
33
|
-
* You can call the [DescribeEipAddresses](https://
|
|
37
|
+
* You can call the [DescribeEipAddresses](https://www.alibabacloud.com/help/en/eip/developer-reference/api-vpc-2016-04-28-describeeipaddresses-eips) operation to query the EIP ID.
|
|
34
38
|
*
|
|
35
39
|
* This parameter is required.
|
|
36
40
|
*
|
|
@@ -44,7 +48,7 @@ export class RemoveCommonBandwidthPackageIpRequest extends $dara.Model {
|
|
|
44
48
|
* @remarks
|
|
45
49
|
* The region ID of the Internet Shared Bandwidth instance.
|
|
46
50
|
*
|
|
47
|
-
* You can call the [DescribeRegions](https://
|
|
51
|
+
* You can call the [DescribeRegions](https://www.alibabacloud.com/help/en/vpc/developer-reference/api-vpc-2016-04-28-describeregions) operation to query the region ID.
|
|
48
52
|
*
|
|
49
53
|
* This parameter is required.
|
|
50
54
|
*
|