@alicloud/vpc20160428 7.0.1 → 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 +79 -24
- package/dist/client.js +235 -24
- 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/CreateEnhancedVpnGatewayRequest.d.ts +76 -0
- package/dist/models/CreateEnhancedVpnGatewayRequest.js +84 -0
- package/dist/models/CreateEnhancedVpnGatewayRequest.js.map +1 -0
- package/dist/models/CreateEnhancedVpnGatewayResponse.d.ts +19 -0
- package/dist/models/CreateEnhancedVpnGatewayResponse.js +69 -0
- package/dist/models/CreateEnhancedVpnGatewayResponse.js.map +1 -0
- package/dist/models/CreateEnhancedVpnGatewayResponseBody.d.ts +28 -0
- package/dist/models/CreateEnhancedVpnGatewayResponseBody.js +62 -0
- package/dist/models/CreateEnhancedVpnGatewayResponseBody.js.map +1 -0
- package/dist/models/CreateVpcRequest.d.ts +2 -2
- package/dist/models/DeleteEnhancedVpnGatewayRequest.d.ts +38 -0
- package/dist/models/DeleteEnhancedVpnGatewayRequest.js +70 -0
- package/dist/models/DeleteEnhancedVpnGatewayRequest.js.map +1 -0
- package/dist/models/DeleteEnhancedVpnGatewayResponse.d.ts +19 -0
- package/dist/models/DeleteEnhancedVpnGatewayResponse.js +69 -0
- package/dist/models/DeleteEnhancedVpnGatewayResponse.js.map +1 -0
- package/dist/models/DeleteEnhancedVpnGatewayResponseBody.d.ts +18 -0
- package/dist/models/DeleteEnhancedVpnGatewayResponseBody.js +58 -0
- package/dist/models/DeleteEnhancedVpnGatewayResponseBody.js.map +1 -0
- 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/ModifyRouteEntryRequest.d.ts +3 -1
- package/dist/models/ModifyRouteEntryRequest.js.map +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/dist/models/UpdateEnhancedVpnGatewayRequest.d.ts +53 -0
- package/dist/models/UpdateEnhancedVpnGatewayRequest.js +76 -0
- package/dist/models/UpdateEnhancedVpnGatewayRequest.js.map +1 -0
- package/dist/models/UpdateEnhancedVpnGatewayResponse.d.ts +19 -0
- package/dist/models/UpdateEnhancedVpnGatewayResponse.js +69 -0
- package/dist/models/UpdateEnhancedVpnGatewayResponse.js.map +1 -0
- package/dist/models/UpdateEnhancedVpnGatewayResponseBody.d.ts +135 -0
- package/dist/models/UpdateEnhancedVpnGatewayResponseBody.js +163 -0
- package/dist/models/UpdateEnhancedVpnGatewayResponseBody.js.map +1 -0
- package/dist/models/UpdateNetworkAclEntriesRequest.d.ts +26 -22
- package/dist/models/UpdateNetworkAclEntriesRequest.js.map +1 -1
- package/dist/models/model.d.ts +12 -0
- package/dist/models/model.js +49 -25
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +272 -24
- package/src/models/AssociateVpcCidrBlockRequest.ts +2 -2
- package/src/models/CreateDefaultVswitchRequest.ts +2 -2
- package/src/models/CreateEnhancedVpnGatewayRequest.ts +115 -0
- package/src/models/CreateEnhancedVpnGatewayResponse.ts +40 -0
- package/src/models/CreateEnhancedVpnGatewayResponseBody.ts +45 -0
- package/src/models/CreateVpcRequest.ts +2 -2
- package/src/models/DeleteEnhancedVpnGatewayRequest.ts +63 -0
- package/src/models/DeleteEnhancedVpnGatewayResponse.ts +40 -0
- package/src/models/DeleteEnhancedVpnGatewayResponseBody.ts +31 -0
- 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/ModifyRouteEntryRequest.ts +3 -1
- package/src/models/ModifyVpcAttributeRequest.ts +1 -1
- package/src/models/RevokeInstanceFromCenRequest.ts +1 -1
- package/src/models/UnassociateVpcCidrBlockRequest.ts +6 -4
- package/src/models/UpdateEnhancedVpnGatewayRequest.ts +84 -0
- package/src/models/UpdateEnhancedVpnGatewayResponse.ts +40 -0
- package/src/models/UpdateEnhancedVpnGatewayResponseBody.ts +226 -0
- package/src/models/UpdateNetworkAclEntriesRequest.ts +26 -22
- package/src/models/model.ts +12 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateEnhancedVpnGatewayResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* MYVPN
|
|
9
|
+
*/
|
|
10
|
+
name?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* EB2C156A-41F8-49CC-A756-D55AFC8BFD69
|
|
14
|
+
*/
|
|
15
|
+
requestId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* vpn-uf68lxhgr7ftbqr3p****
|
|
19
|
+
*/
|
|
20
|
+
vpnGatewayId?: string;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
name: 'Name',
|
|
24
|
+
requestId: 'RequestId',
|
|
25
|
+
vpnGatewayId: 'VpnGatewayId',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
name: 'string',
|
|
32
|
+
requestId: 'string',
|
|
33
|
+
vpnGatewayId: 'string',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
@@ -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
|
/**
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteEnhancedVpnGatewayRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 02fb3da4-130e-11e9-8e44-0016e04115b
|
|
9
|
+
*/
|
|
10
|
+
clientToken?: string;
|
|
11
|
+
ownerAccount?: string;
|
|
12
|
+
ownerId?: number;
|
|
13
|
+
/**
|
|
14
|
+
* @remarks
|
|
15
|
+
* This parameter is required.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* cn-hangzhou
|
|
19
|
+
*/
|
|
20
|
+
regionId?: string;
|
|
21
|
+
resourceOwnerAccount?: string;
|
|
22
|
+
resourceOwnerId?: number;
|
|
23
|
+
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* This parameter is required.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* vpn-bp1q8bgx4xnkm2ogj****
|
|
29
|
+
*/
|
|
30
|
+
vpnGatewayId?: string;
|
|
31
|
+
static names(): { [key: string]: string } {
|
|
32
|
+
return {
|
|
33
|
+
clientToken: 'ClientToken',
|
|
34
|
+
ownerAccount: 'OwnerAccount',
|
|
35
|
+
ownerId: 'OwnerId',
|
|
36
|
+
regionId: 'RegionId',
|
|
37
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
38
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
39
|
+
vpnGatewayId: 'VpnGatewayId',
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
static types(): { [key: string]: any } {
|
|
44
|
+
return {
|
|
45
|
+
clientToken: 'string',
|
|
46
|
+
ownerAccount: 'string',
|
|
47
|
+
ownerId: 'number',
|
|
48
|
+
regionId: 'string',
|
|
49
|
+
resourceOwnerAccount: 'string',
|
|
50
|
+
resourceOwnerId: 'number',
|
|
51
|
+
vpnGatewayId: 'string',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
validate() {
|
|
56
|
+
super.validate();
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
constructor(map?: { [key: string]: any }) {
|
|
60
|
+
super(map);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DeleteEnhancedVpnGatewayResponseBody } from "./DeleteEnhancedVpnGatewayResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DeleteEnhancedVpnGatewayResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DeleteEnhancedVpnGatewayResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DeleteEnhancedVpnGatewayResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteEnhancedVpnGatewayResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* E9A8AABE-A84B-4AF2-A68A-8E2EA190E7AE
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
requestId: 'RequestId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
requestId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -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
|
*
|
|
@@ -15,7 +15,9 @@ export class ModifyRouteEntryRequest extends $dara.Model {
|
|
|
15
15
|
description?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The destination CIDR block of the route entry
|
|
18
|
+
* The destination CIDR block of the route entry, which supports IPv4 CIDR blocks and IPv6 CIDR blocks.
|
|
19
|
+
* > When the **RouteEntryId** parameter is not provided, both the **DestinationCidrBlock** and **RouteTableId** parameters are required.
|
|
20
|
+
* When modifying a route whose destination CIDR block points to a prefix list, the **RouteEntryId** parameter is required, and the **DestinationCidrBlock** parameter does not support prefix list CIDR blocks or prefix list instance IDs.
|
|
19
21
|
*
|
|
20
22
|
* @example
|
|
21
23
|
* 192.168.0.0/24
|
|
@@ -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.
|
|
@@ -15,7 +15,7 @@ export class RevokeInstanceFromCenRequest 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
|
*
|
|
@@ -7,7 +7,8 @@ export class UnassociateVpcCidrBlockRequest extends $dara.Model {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* The secondary IPv6 CIDR block to be deleted.
|
|
9
9
|
*
|
|
10
|
-
* >
|
|
10
|
+
* >
|
|
11
|
+
* > - You must set one of the Ipv6CidrBlock and SecondaryCidrBlock parameters.
|
|
11
12
|
*
|
|
12
13
|
* @example
|
|
13
14
|
* 2408:XXXX:0:6a::/56
|
|
@@ -19,12 +20,12 @@ export class UnassociateVpcCidrBlockRequest extends $dara.Model {
|
|
|
19
20
|
* @remarks
|
|
20
21
|
* The region ID of the VPC to which the secondary CIDR block to be deleted belongs.
|
|
21
22
|
*
|
|
22
|
-
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the
|
|
23
|
+
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the region ID.
|
|
23
24
|
*
|
|
24
25
|
* This parameter is required.
|
|
25
26
|
*
|
|
26
27
|
* @example
|
|
27
|
-
*
|
|
28
|
+
* cn-hangzhou
|
|
28
29
|
*/
|
|
29
30
|
regionId?: string;
|
|
30
31
|
resourceOwnerAccount?: string;
|
|
@@ -33,7 +34,8 @@ export class UnassociateVpcCidrBlockRequest extends $dara.Model {
|
|
|
33
34
|
* @remarks
|
|
34
35
|
* The secondary IPv4 CIDR block to be deleted.
|
|
35
36
|
*
|
|
36
|
-
* >
|
|
37
|
+
* >
|
|
38
|
+
* > - You must set one of the SecondaryCidrBlock and Ipv6CidrBlock parameters.
|
|
37
39
|
*
|
|
38
40
|
* @example
|
|
39
41
|
* 192.168.0.0/16
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateEnhancedVpnGatewayRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* true
|
|
9
|
+
*/
|
|
10
|
+
autoPropagate?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 123e4567-e89b-12d3-a456-4266****
|
|
14
|
+
*/
|
|
15
|
+
clientToken?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* test
|
|
19
|
+
*/
|
|
20
|
+
description?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* myvpn
|
|
24
|
+
*/
|
|
25
|
+
name?: string;
|
|
26
|
+
ownerAccount?: string;
|
|
27
|
+
ownerId?: number;
|
|
28
|
+
/**
|
|
29
|
+
* @remarks
|
|
30
|
+
* This parameter is required.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* cn-hangzhou
|
|
34
|
+
*/
|
|
35
|
+
regionId?: string;
|
|
36
|
+
resourceOwnerAccount?: string;
|
|
37
|
+
resourceOwnerId?: number;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* This parameter is required.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* vpn-bp1q8bgx4xnkm2ogj****
|
|
44
|
+
*/
|
|
45
|
+
vpnGatewayId?: string;
|
|
46
|
+
static names(): { [key: string]: string } {
|
|
47
|
+
return {
|
|
48
|
+
autoPropagate: 'AutoPropagate',
|
|
49
|
+
clientToken: 'ClientToken',
|
|
50
|
+
description: 'Description',
|
|
51
|
+
name: 'Name',
|
|
52
|
+
ownerAccount: 'OwnerAccount',
|
|
53
|
+
ownerId: 'OwnerId',
|
|
54
|
+
regionId: 'RegionId',
|
|
55
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
56
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
57
|
+
vpnGatewayId: 'VpnGatewayId',
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
static types(): { [key: string]: any } {
|
|
62
|
+
return {
|
|
63
|
+
autoPropagate: 'boolean',
|
|
64
|
+
clientToken: 'string',
|
|
65
|
+
description: 'string',
|
|
66
|
+
name: 'string',
|
|
67
|
+
ownerAccount: 'string',
|
|
68
|
+
ownerId: 'number',
|
|
69
|
+
regionId: 'string',
|
|
70
|
+
resourceOwnerAccount: 'string',
|
|
71
|
+
resourceOwnerId: 'number',
|
|
72
|
+
vpnGatewayId: 'string',
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
validate() {
|
|
77
|
+
super.validate();
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
constructor(map?: { [key: string]: any }) {
|
|
81
|
+
super(map);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { UpdateEnhancedVpnGatewayResponseBody } from "./UpdateEnhancedVpnGatewayResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class UpdateEnhancedVpnGatewayResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: UpdateEnhancedVpnGatewayResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: UpdateEnhancedVpnGatewayResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|