@alicloud/vpc20160428 6.8.6 → 6.9.0
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 +21 -6
- package/dist/client.js +108 -24
- package/dist/client.js.map +1 -1
- package/dist/models/AssociateVpcCidrBlockRequest.d.ts +15 -8
- package/dist/models/AssociateVpcCidrBlockRequest.js +2 -0
- package/dist/models/AssociateVpcCidrBlockRequest.js.map +1 -1
- package/dist/models/CreateNatGatewayRequest.d.ts +2 -0
- package/dist/models/CreateNatGatewayRequest.js +4 -0
- package/dist/models/CreateNatGatewayRequest.js.map +1 -1
- package/dist/models/CreateNatGatewayShrinkRequest.d.ts +2 -0
- package/dist/models/CreateNatGatewayShrinkRequest.js +4 -0
- package/dist/models/CreateNatGatewayShrinkRequest.js.map +1 -1
- package/dist/models/CreateNatIpRequest.d.ts +6 -0
- package/dist/models/CreateNatIpRequest.js +4 -0
- package/dist/models/CreateNatIpRequest.js.map +1 -1
- package/dist/models/CreateNatIpResponseBody.d.ts +1 -0
- package/dist/models/CreateNatIpResponseBody.js +2 -0
- package/dist/models/CreateNatIpResponseBody.js.map +1 -1
- package/dist/models/CreateVpcRequest.d.ts +16 -0
- package/dist/models/CreateVpcRequest.js +4 -0
- package/dist/models/CreateVpcRequest.js.map +1 -1
- package/dist/models/DeleteIpv4gatewayRequest.d.ts +9 -0
- package/dist/models/DeleteIpv4gatewayRequest.js.map +1 -1
- package/dist/models/DeleteNatIpRequest.d.ts +2 -2
- package/dist/models/DeleteNatIpRequest.js +4 -0
- package/dist/models/DeleteNatIpRequest.js.map +1 -1
- package/dist/models/DeleteRouteEntriesRequest.d.ts +10 -0
- package/dist/models/DeleteRouteEntriesRequest.js.map +1 -1
- package/dist/models/DeleteRouteEntryRequest.d.ts +8 -0
- package/dist/models/DeleteRouteEntryRequest.js.map +1 -1
- package/dist/models/DescribeEipAddressesResponseBody.d.ts +5 -3
- package/dist/models/DescribeEipAddressesResponseBody.js.map +1 -1
- package/dist/models/DescribeFlowLogsRequest.d.ts +26 -29
- package/dist/models/DescribeFlowLogsRequest.js.map +1 -1
- package/dist/models/DescribeFlowLogsResponseBody.d.ts +51 -49
- package/dist/models/DescribeFlowLogsResponseBody.js.map +1 -1
- package/dist/models/DescribeNatGatewaysResponseBody.d.ts +27 -0
- package/dist/models/DescribeNatGatewaysResponseBody.js +47 -1
- package/dist/models/DescribeNatGatewaysResponseBody.js.map +1 -1
- package/dist/models/DescribeTagsRequest.d.ts +8 -0
- package/dist/models/DescribeTagsRequest.js.map +1 -1
- package/dist/models/DescribeVpcGrantRulesToEcrRequest.d.ts +83 -0
- package/dist/models/DescribeVpcGrantRulesToEcrRequest.js +106 -0
- package/dist/models/DescribeVpcGrantRulesToEcrRequest.js.map +1 -0
- package/dist/models/DescribeVpcGrantRulesToEcrResponse.d.ts +19 -0
- package/dist/models/DescribeVpcGrantRulesToEcrResponse.js +69 -0
- package/dist/models/DescribeVpcGrantRulesToEcrResponse.js.map +1 -0
- package/dist/models/DescribeVpcGrantRulesToEcrResponseBody.d.ts +76 -0
- package/dist/models/DescribeVpcGrantRulesToEcrResponseBody.js +98 -0
- package/dist/models/DescribeVpcGrantRulesToEcrResponseBody.js.map +1 -0
- package/dist/models/DescribeVroutersResponseBody.d.ts +1 -1
- package/dist/models/GetVpcPrefixListAssociationsRequest.d.ts +1 -1
- package/dist/models/GetVpcPrefixListAssociationsResponseBody.d.ts +7 -0
- package/dist/models/GetVpcPrefixListAssociationsResponseBody.js.map +1 -1
- package/dist/models/ListNatIpsResponseBody.d.ts +1 -0
- package/dist/models/ListNatIpsResponseBody.js +2 -0
- package/dist/models/ListNatIpsResponseBody.js.map +1 -1
- package/dist/models/ModifyFlowLogAttributeRequest.d.ts +4 -0
- package/dist/models/ModifyFlowLogAttributeRequest.js.map +1 -1
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +53 -39
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +132 -24
- package/src/models/AssociateVpcCidrBlockRequest.ts +17 -8
- package/src/models/CreateNatGatewayRequest.ts +6 -0
- package/src/models/CreateNatGatewayShrinkRequest.ts +6 -0
- package/src/models/CreateNatIpRequest.ts +10 -0
- package/src/models/CreateNatIpResponseBody.ts +3 -0
- package/src/models/CreateVpcRequest.ts +20 -0
- package/src/models/DeleteIpv4gatewayRequest.ts +9 -0
- package/src/models/DeleteNatIpRequest.ts +6 -2
- package/src/models/DeleteRouteEntriesRequest.ts +10 -0
- package/src/models/DeleteRouteEntryRequest.ts +8 -0
- package/src/models/DescribeEipAddressesResponseBody.ts +5 -3
- package/src/models/DescribeFlowLogsRequest.ts +26 -29
- package/src/models/DescribeFlowLogsResponseBody.ts +51 -49
- package/src/models/DescribeNatGatewaysResponseBody.ts +55 -0
- package/src/models/DescribeTagsRequest.ts +8 -0
- package/src/models/DescribeVpcGrantRulesToEcrRequest.ts +135 -0
- package/src/models/DescribeVpcGrantRulesToEcrResponse.ts +40 -0
- package/src/models/DescribeVpcGrantRulesToEcrResponseBody.ts +120 -0
- package/src/models/DescribeVroutersResponseBody.ts +1 -1
- package/src/models/GetVpcPrefixListAssociationsRequest.ts +1 -1
- package/src/models/GetVpcPrefixListAssociationsResponseBody.ts +7 -0
- package/src/models/ListNatIpsResponseBody.ts +3 -0
- package/src/models/ModifyFlowLogAttributeRequest.ts +4 -0
- package/src/models/model.ts +7 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeVpcGrantRulesToEcrResponseBody } from "./DescribeVpcGrantRulesToEcrResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeVpcGrantRulesToEcrResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeVpcGrantRulesToEcrResponseBody;
|
|
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: DescribeVpcGrantRulesToEcrResponseBody,
|
|
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,120 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeVpcGrantRulesToEcrResponseBodyGrantRuleModels extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 2024-09-09T02:14:51Z
|
|
9
|
+
*/
|
|
10
|
+
creationTime?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* ecr-tz7w3chlaptxr2****
|
|
14
|
+
*/
|
|
15
|
+
ecrId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 192732132151****
|
|
19
|
+
*/
|
|
20
|
+
ecrOwnerId?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* vpc-wz9ek66wd7tl5xqpy****
|
|
24
|
+
*/
|
|
25
|
+
instanceId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* 192745367151****
|
|
29
|
+
*/
|
|
30
|
+
instanceUid?: number;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* cn-hangzhou
|
|
34
|
+
*/
|
|
35
|
+
regionNo?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* VPC
|
|
39
|
+
*/
|
|
40
|
+
type?: string;
|
|
41
|
+
static names(): { [key: string]: string } {
|
|
42
|
+
return {
|
|
43
|
+
creationTime: 'CreationTime',
|
|
44
|
+
ecrId: 'EcrId',
|
|
45
|
+
ecrOwnerId: 'EcrOwnerId',
|
|
46
|
+
instanceId: 'InstanceId',
|
|
47
|
+
instanceUid: 'InstanceUid',
|
|
48
|
+
regionNo: 'RegionNo',
|
|
49
|
+
type: 'Type',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
static types(): { [key: string]: any } {
|
|
54
|
+
return {
|
|
55
|
+
creationTime: 'string',
|
|
56
|
+
ecrId: 'string',
|
|
57
|
+
ecrOwnerId: 'number',
|
|
58
|
+
instanceId: 'string',
|
|
59
|
+
instanceUid: 'number',
|
|
60
|
+
regionNo: 'string',
|
|
61
|
+
type: 'string',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
validate() {
|
|
66
|
+
super.validate();
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
constructor(map?: { [key: string]: any }) {
|
|
70
|
+
super(map);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export class DescribeVpcGrantRulesToEcrResponseBody extends $dara.Model {
|
|
75
|
+
grantRuleModels?: DescribeVpcGrantRulesToEcrResponseBodyGrantRuleModels[];
|
|
76
|
+
/**
|
|
77
|
+
* @example
|
|
78
|
+
* FFmyTO70tTpLG6I3FmYAXGKPd****
|
|
79
|
+
*/
|
|
80
|
+
nextToken?: string;
|
|
81
|
+
/**
|
|
82
|
+
* @example
|
|
83
|
+
* 66342E8E-5E87-5FF9-80C7-C3E3571A****
|
|
84
|
+
*/
|
|
85
|
+
requestId?: string;
|
|
86
|
+
/**
|
|
87
|
+
* @example
|
|
88
|
+
* 10
|
|
89
|
+
*/
|
|
90
|
+
totalCount?: string;
|
|
91
|
+
static names(): { [key: string]: string } {
|
|
92
|
+
return {
|
|
93
|
+
grantRuleModels: 'GrantRuleModels',
|
|
94
|
+
nextToken: 'NextToken',
|
|
95
|
+
requestId: 'RequestId',
|
|
96
|
+
totalCount: 'TotalCount',
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
static types(): { [key: string]: any } {
|
|
101
|
+
return {
|
|
102
|
+
grantRuleModels: { 'type': 'array', 'itemType': DescribeVpcGrantRulesToEcrResponseBodyGrantRuleModels },
|
|
103
|
+
nextToken: 'string',
|
|
104
|
+
requestId: 'string',
|
|
105
|
+
totalCount: 'string',
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
validate() {
|
|
110
|
+
if(Array.isArray(this.grantRuleModels)) {
|
|
111
|
+
$dara.Model.validateArray(this.grantRuleModels);
|
|
112
|
+
}
|
|
113
|
+
super.validate();
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
constructor(map?: { [key: string]: any }) {
|
|
117
|
+
super(map);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
@@ -55,7 +55,7 @@ export class DescribeVRoutersResponseBodyVRoutersVRouter extends $dara.Model {
|
|
|
55
55
|
regionId?: string;
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The
|
|
58
|
+
* The IDs of the route tables.
|
|
59
59
|
*/
|
|
60
60
|
routeTableIds?: DescribeVRoutersResponseBodyVRoutersVRouterRouteTableIds;
|
|
61
61
|
/**
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetVpcPrefixListAssociationsRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The number of entries
|
|
8
|
+
* The number of entries to return in each call. Valid values: **1** to **100**. Default value: **20**.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 20
|
|
@@ -3,6 +3,13 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class GetVpcPrefixListAssociationsResponseBodyPrefixListAssociation extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* List of CIDR addresses where the prefix list is effective in the currently associated resources.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 192.168.0.0/16
|
|
12
|
+
*/
|
|
6
13
|
cidrList?: string;
|
|
7
14
|
/**
|
|
8
15
|
* @remarks
|
|
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class ListNatIpsResponseBodyNatIps extends $dara.Model {
|
|
6
|
+
ipv4Prefix?: string;
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
9
|
* Indicates whether the IP address is the default IP address of the NAT gateway. Valid values:
|
|
@@ -79,6 +80,7 @@ export class ListNatIpsResponseBodyNatIps extends $dara.Model {
|
|
|
79
80
|
natIpStatus?: string;
|
|
80
81
|
static names(): { [key: string]: string } {
|
|
81
82
|
return {
|
|
83
|
+
ipv4Prefix: 'Ipv4Prefix',
|
|
82
84
|
isDefault: 'IsDefault',
|
|
83
85
|
natGatewayId: 'NatGatewayId',
|
|
84
86
|
natIp: 'NatIp',
|
|
@@ -92,6 +94,7 @@ export class ListNatIpsResponseBodyNatIps extends $dara.Model {
|
|
|
92
94
|
|
|
93
95
|
static types(): { [key: string]: any } {
|
|
94
96
|
return {
|
|
97
|
+
ipv4Prefix: 'string',
|
|
95
98
|
isDefault: 'boolean',
|
|
96
99
|
natGatewayId: 'string',
|
|
97
100
|
natIp: 'string',
|
package/src/models/model.ts
CHANGED
|
@@ -183,6 +183,8 @@ export { DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayForwardTableIds } f
|
|
|
183
183
|
export { DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayFullNatTableIds } from './DescribeNatGatewaysResponseBody';
|
|
184
184
|
export { DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpListsIpList } from './DescribeNatGatewaysResponseBody';
|
|
185
185
|
export { DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpLists } from './DescribeNatGatewaysResponseBody';
|
|
186
|
+
export { DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpPrefixListIpPrefixList } from './DescribeNatGatewaysResponseBody';
|
|
187
|
+
export { DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpPrefixList } from './DescribeNatGatewaysResponseBody';
|
|
186
188
|
export { DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayNatGatewayPrivateInfo } from './DescribeNatGatewaysResponseBody';
|
|
187
189
|
export { DescribeNatGatewaysResponseBodyNatGatewaysNatGatewaySnatTableIds } from './DescribeNatGatewaysResponseBody';
|
|
188
190
|
export { DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTagsTag } from './DescribeNatGatewaysResponseBody';
|
|
@@ -303,6 +305,8 @@ export { DescribeVpcAttributeResponseBodyTagsTag } from './DescribeVpcAttributeR
|
|
|
303
305
|
export { DescribeVpcAttributeResponseBodyTags } from './DescribeVpcAttributeResponseBody';
|
|
304
306
|
export { DescribeVpcAttributeResponseBodyUserCidrs } from './DescribeVpcAttributeResponseBody';
|
|
305
307
|
export { DescribeVpcAttributeResponseBodyVSwitchIds } from './DescribeVpcAttributeResponseBody';
|
|
308
|
+
export { DescribeVpcGrantRulesToEcrRequestTags } from './DescribeVpcGrantRulesToEcrRequest';
|
|
309
|
+
export { DescribeVpcGrantRulesToEcrResponseBodyGrantRuleModels } from './DescribeVpcGrantRulesToEcrResponseBody';
|
|
306
310
|
export { DescribeVpcsRequestTag } from './DescribeVpcsRequest';
|
|
307
311
|
export { DescribeVpcsResponseBodyVpcsVpcIpv6CidrBlocksIpv6CidrBlock } from './DescribeVpcsResponseBody';
|
|
308
312
|
export { DescribeVpcsResponseBodyVpcsVpcIpv6CidrBlocks } from './DescribeVpcsResponseBody';
|
|
@@ -1135,6 +1139,9 @@ export { DescribeVirtualBorderRoutersForPhysicalConnectionResponse } from './Des
|
|
|
1135
1139
|
export { DescribeVpcAttributeRequest } from './DescribeVpcAttributeRequest';
|
|
1136
1140
|
export { DescribeVpcAttributeResponseBody } from './DescribeVpcAttributeResponseBody';
|
|
1137
1141
|
export { DescribeVpcAttributeResponse } from './DescribeVpcAttributeResponse';
|
|
1142
|
+
export { DescribeVpcGrantRulesToEcrRequest } from './DescribeVpcGrantRulesToEcrRequest';
|
|
1143
|
+
export { DescribeVpcGrantRulesToEcrResponseBody } from './DescribeVpcGrantRulesToEcrResponseBody';
|
|
1144
|
+
export { DescribeVpcGrantRulesToEcrResponse } from './DescribeVpcGrantRulesToEcrResponse';
|
|
1138
1145
|
export { DescribeVpcsRequest } from './DescribeVpcsRequest';
|
|
1139
1146
|
export { DescribeVpcsResponseBody } from './DescribeVpcsResponseBody';
|
|
1140
1147
|
export { DescribeVpcsResponse } from './DescribeVpcsResponse';
|