@alicloud/vpc20160428 6.8.7 → 6.9.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 +21 -6
- package/dist/client.js +108 -6
- package/dist/client.js.map +1 -1
- package/dist/models/AssociateVpcCidrBlockRequest.d.ts +14 -6
- 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/CreatePhysicalConnectionOccupancyOrderRequest.d.ts +2 -0
- package/dist/models/CreatePhysicalConnectionOccupancyOrderRequest.js +4 -0
- package/dist/models/CreatePhysicalConnectionOccupancyOrderRequest.js.map +1 -1
- package/dist/models/CreateVpcRequest.d.ts +14 -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/DescribeVirtualBorderRoutersResponseBody.d.ts +1 -0
- package/dist/models/DescribeVirtualBorderRoutersResponseBody.js +2 -0
- package/dist/models/DescribeVirtualBorderRoutersResponseBody.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/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/ModifyVirtualBorderRouterAttributeRequest.d.ts +1 -0
- package/dist/models/ModifyVirtualBorderRouterAttributeRequest.js +2 -0
- package/dist/models/ModifyVirtualBorderRouterAttributeRequest.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 -6
- package/src/models/AssociateVpcCidrBlockRequest.ts +14 -6
- 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/CreatePhysicalConnectionOccupancyOrderRequest.ts +6 -0
- package/src/models/CreateVpcRequest.ts +14 -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/DescribeVirtualBorderRoutersResponseBody.ts +3 -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/ListNatIpsResponseBody.ts +3 -0
- package/src/models/ModifyFlowLogAttributeRequest.ts +4 -0
- package/src/models/ModifyVirtualBorderRouterAttributeRequest.ts +3 -0
- package/src/models/model.ts +7 -0
|
@@ -26,6 +26,12 @@ export class CreateNatIpRequest extends $dara.Model {
|
|
|
26
26
|
* false
|
|
27
27
|
*/
|
|
28
28
|
dryRun?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* @example
|
|
31
|
+
* null
|
|
32
|
+
*/
|
|
33
|
+
ipv4Prefix?: string;
|
|
34
|
+
ipv4PrefixCount?: number;
|
|
29
35
|
/**
|
|
30
36
|
* @remarks
|
|
31
37
|
* The ID of the Virtual Private Cloud (VPC) NAT gateway for which you want to create the NAT IP address.
|
|
@@ -96,6 +102,8 @@ export class CreateNatIpRequest extends $dara.Model {
|
|
|
96
102
|
return {
|
|
97
103
|
clientToken: 'ClientToken',
|
|
98
104
|
dryRun: 'DryRun',
|
|
105
|
+
ipv4Prefix: 'Ipv4Prefix',
|
|
106
|
+
ipv4PrefixCount: 'Ipv4PrefixCount',
|
|
99
107
|
natGatewayId: 'NatGatewayId',
|
|
100
108
|
natIp: 'NatIp',
|
|
101
109
|
natIpCidr: 'NatIpCidr',
|
|
@@ -113,6 +121,8 @@ export class CreateNatIpRequest extends $dara.Model {
|
|
|
113
121
|
return {
|
|
114
122
|
clientToken: 'string',
|
|
115
123
|
dryRun: 'boolean',
|
|
124
|
+
ipv4Prefix: 'string',
|
|
125
|
+
ipv4PrefixCount: 'number',
|
|
116
126
|
natGatewayId: 'string',
|
|
117
127
|
natIp: 'string',
|
|
118
128
|
natIpCidr: 'string',
|
|
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreateNatIpResponseBody extends $dara.Model {
|
|
6
|
+
ipv4Prefix?: string;
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
9
|
* The NAT IP address.
|
|
@@ -29,6 +30,7 @@ export class CreateNatIpResponseBody extends $dara.Model {
|
|
|
29
30
|
requestId?: string;
|
|
30
31
|
static names(): { [key: string]: string } {
|
|
31
32
|
return {
|
|
33
|
+
ipv4Prefix: 'Ipv4Prefix',
|
|
32
34
|
natIp: 'NatIp',
|
|
33
35
|
natIpId: 'NatIpId',
|
|
34
36
|
requestId: 'RequestId',
|
|
@@ -37,6 +39,7 @@ export class CreateNatIpResponseBody extends $dara.Model {
|
|
|
37
39
|
|
|
38
40
|
static types(): { [key: string]: any } {
|
|
39
41
|
return {
|
|
42
|
+
ipv4Prefix: 'string',
|
|
40
43
|
natIp: 'string',
|
|
41
44
|
natIpId: 'string',
|
|
42
45
|
requestId: 'string',
|
|
@@ -14,6 +14,8 @@ export class CreatePhysicalConnectionOccupancyOrderRequest extends $dara.Model {
|
|
|
14
14
|
* false
|
|
15
15
|
*/
|
|
16
16
|
autoPay?: boolean;
|
|
17
|
+
autoRenew?: boolean;
|
|
18
|
+
autoRenewDuration?: number;
|
|
17
19
|
/**
|
|
18
20
|
* @remarks
|
|
19
21
|
* The client token that is used to ensure the idempotence of the request.
|
|
@@ -85,6 +87,8 @@ export class CreatePhysicalConnectionOccupancyOrderRequest extends $dara.Model {
|
|
|
85
87
|
static names(): { [key: string]: string } {
|
|
86
88
|
return {
|
|
87
89
|
autoPay: 'AutoPay',
|
|
90
|
+
autoRenew: 'AutoRenew',
|
|
91
|
+
autoRenewDuration: 'AutoRenewDuration',
|
|
88
92
|
clientToken: 'ClientToken',
|
|
89
93
|
instanceChargeType: 'InstanceChargeType',
|
|
90
94
|
ownerAccount: 'OwnerAccount',
|
|
@@ -101,6 +105,8 @@ export class CreatePhysicalConnectionOccupancyOrderRequest extends $dara.Model {
|
|
|
101
105
|
static types(): { [key: string]: any } {
|
|
102
106
|
return {
|
|
103
107
|
autoPay: 'boolean',
|
|
108
|
+
autoRenew: 'boolean',
|
|
109
|
+
autoRenewDuration: 'number',
|
|
104
110
|
clientToken: 'string',
|
|
105
111
|
instanceChargeType: 'string',
|
|
106
112
|
ownerAccount: 'string',
|
|
@@ -137,7 +137,21 @@ export class CreateVpcRequest extends $dara.Model {
|
|
|
137
137
|
* 2408:XXXX:0:6a::/56
|
|
138
138
|
*/
|
|
139
139
|
ipv6CidrBlock?: string;
|
|
140
|
+
/**
|
|
141
|
+
* @remarks
|
|
142
|
+
* Add an IPv6 CIDR block from the IPAM pool to the VPC by entering a mask.
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* 56
|
|
146
|
+
*/
|
|
140
147
|
ipv6CidrMask?: number;
|
|
148
|
+
/**
|
|
149
|
+
* @remarks
|
|
150
|
+
* The ID of the IP Address Manager (IPAM) pool of the IPv6 type.
|
|
151
|
+
*
|
|
152
|
+
* @example
|
|
153
|
+
* ipam-pool-bp1aq51kkfh477z03****
|
|
154
|
+
*/
|
|
141
155
|
ipv6IpamPoolId?: string;
|
|
142
156
|
/**
|
|
143
157
|
* @remarks
|
|
@@ -26,6 +26,15 @@ export class DeleteIpv4GatewayRequest extends $dara.Model {
|
|
|
26
26
|
* false
|
|
27
27
|
*/
|
|
28
28
|
dryRun?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* @remarks
|
|
31
|
+
* Select the public network mode of the VPC after deleting the IPv4 gateway. The values are:
|
|
32
|
+
* - **private**: Default value, after deleting the IPv4 gateway, the VPC will become a pure private VPC without public network access capability.
|
|
33
|
+
* - **public**: After deleting the IPv4 gateway, the VPC\\"s public network access is no longer centrally controlled by the IPv4 gateway, and instances with public IPs bound can access the public network by default.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* public
|
|
37
|
+
*/
|
|
29
38
|
internetMode?: string;
|
|
30
39
|
/**
|
|
31
40
|
* @remarks
|
|
@@ -26,12 +26,12 @@ export class DeleteNatIpRequest extends $dara.Model {
|
|
|
26
26
|
* false
|
|
27
27
|
*/
|
|
28
28
|
dryRun?: boolean;
|
|
29
|
+
ipv4Prefix?: string;
|
|
30
|
+
natGatewayId?: string;
|
|
29
31
|
/**
|
|
30
32
|
* @remarks
|
|
31
33
|
* The ID of the NAT IP address that you want to delete.
|
|
32
34
|
*
|
|
33
|
-
* This parameter is required.
|
|
34
|
-
*
|
|
35
35
|
* @example
|
|
36
36
|
* vpcnatip-gw8y7q3cpk3fggs87****
|
|
37
37
|
*/
|
|
@@ -56,6 +56,8 @@ export class DeleteNatIpRequest extends $dara.Model {
|
|
|
56
56
|
return {
|
|
57
57
|
clientToken: 'ClientToken',
|
|
58
58
|
dryRun: 'DryRun',
|
|
59
|
+
ipv4Prefix: 'Ipv4Prefix',
|
|
60
|
+
natGatewayId: 'NatGatewayId',
|
|
59
61
|
natIpId: 'NatIpId',
|
|
60
62
|
ownerAccount: 'OwnerAccount',
|
|
61
63
|
ownerId: 'OwnerId',
|
|
@@ -69,6 +71,8 @@ export class DeleteNatIpRequest extends $dara.Model {
|
|
|
69
71
|
return {
|
|
70
72
|
clientToken: 'string',
|
|
71
73
|
dryRun: 'boolean',
|
|
74
|
+
ipv4Prefix: 'string',
|
|
75
|
+
natGatewayId: 'string',
|
|
72
76
|
natIpId: 'string',
|
|
73
77
|
ownerAccount: 'string',
|
|
74
78
|
ownerId: 'number',
|
|
@@ -71,6 +71,16 @@ export class DeleteRouteEntriesRequestRouteEntries extends $dara.Model {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
export class DeleteRouteEntriesRequest extends $dara.Model {
|
|
74
|
+
/**
|
|
75
|
+
* @remarks
|
|
76
|
+
* Specifies whether to perform a dry run, without performing the actual request. Valid values:
|
|
77
|
+
*
|
|
78
|
+
* * **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.
|
|
79
|
+
* * **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.
|
|
80
|
+
*
|
|
81
|
+
* @example
|
|
82
|
+
* false
|
|
83
|
+
*/
|
|
74
84
|
dryRun?: boolean;
|
|
75
85
|
ownerAccount?: string;
|
|
76
86
|
ownerId?: number;
|
|
@@ -51,6 +51,14 @@ export class DeleteRouteEntryRequest extends $dara.Model {
|
|
|
51
51
|
* 47.100.XX.XX/16
|
|
52
52
|
*/
|
|
53
53
|
destinationCidrBlock?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
57
|
+
*
|
|
58
|
+
* **true**: sends a request without deleting the route entry. The system checks the request for potential issues, including invalid AccessKey pairs, unauthorized RAM users, and missing parameter values. 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.
|
|
59
|
+
*
|
|
60
|
+
* **false** (default): performs a dry run and the actual request. If the request passes the check, a 2xx HTTP status code is returned and the route entry is deleted.
|
|
61
|
+
*/
|
|
54
62
|
dryRun?: boolean;
|
|
55
63
|
/**
|
|
56
64
|
* @remarks
|
|
@@ -8,7 +8,8 @@ export class DescribeEipAddressesResponseBodyEipAddressesEipAddressOperationLock
|
|
|
8
8
|
* The reason why the EIP is locked. Valid values:
|
|
9
9
|
*
|
|
10
10
|
* * **financial**: The EIP is locked due to overdue payments.
|
|
11
|
-
* * **security**: The
|
|
11
|
+
* * **security**: The instance is locked for security purposes.
|
|
12
|
+
* * **sharedPool**: The shared IP address pool is locked due to overdue payments.
|
|
12
13
|
*
|
|
13
14
|
* @example
|
|
14
15
|
* financial
|
|
@@ -215,10 +216,11 @@ export class DescribeEipAddressesResponseBodyEipAddressesEipAddress extends $dar
|
|
|
215
216
|
bizType?: string;
|
|
216
217
|
/**
|
|
217
218
|
* @remarks
|
|
218
|
-
* The service
|
|
219
|
+
* The service status of the EIP. Valid values:
|
|
219
220
|
*
|
|
220
221
|
* * **Normal**
|
|
221
|
-
* * **
|
|
222
|
+
* * **OperationLock**
|
|
223
|
+
* * **Unactivated**
|
|
222
224
|
*
|
|
223
225
|
* @example
|
|
224
226
|
* Normal
|
|
@@ -5,9 +5,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeFlowLogsRequestTags extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The key of tag
|
|
8
|
+
* The key of the tag. Up to 20 tag keys are supported. If you need to pass this value, it cannot be an empty string.
|
|
9
9
|
*
|
|
10
|
-
*
|
|
10
|
+
* A tag key can have up to 128 characters and cannot start with `aliyun` or `acs:`. It also cannot contain `http://` or `https://`.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* FinanceDept
|
|
@@ -15,9 +15,9 @@ export class DescribeFlowLogsRequestTags extends $dara.Model {
|
|
|
15
15
|
key?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The value of tag
|
|
18
|
+
* The value of the tag. Up to 20 tag values are supported. If you need to pass this value, it can be an empty string.
|
|
19
19
|
*
|
|
20
|
-
*
|
|
20
|
+
* A tag value can have up to 128 characters and cannot start with `aliyun` or `acs:`. It also cannot contain `http://` or `https://`.
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* FinanceJoshua
|
|
@@ -51,7 +51,7 @@ export class DescribeFlowLogsRequest extends $dara.Model {
|
|
|
51
51
|
* @remarks
|
|
52
52
|
* The description of the flow log.
|
|
53
53
|
*
|
|
54
|
-
* The description must be 1 to 256 characters
|
|
54
|
+
* The description must be 1 to 256 characters long and cannot start with `http://` or `https://`.
|
|
55
55
|
*
|
|
56
56
|
* @example
|
|
57
57
|
* This is my Flowlog.
|
|
@@ -69,7 +69,7 @@ export class DescribeFlowLogsRequest extends $dara.Model {
|
|
|
69
69
|
* @remarks
|
|
70
70
|
* The name of the flow log.
|
|
71
71
|
*
|
|
72
|
-
* The name must be 1 to 128 characters
|
|
72
|
+
* The name must be 1 to 128 characters long and cannot start with `http://` or `https://`.
|
|
73
73
|
*
|
|
74
74
|
* @example
|
|
75
75
|
* myFlowlog
|
|
@@ -77,7 +77,7 @@ export class DescribeFlowLogsRequest extends $dara.Model {
|
|
|
77
77
|
flowLogName?: string;
|
|
78
78
|
/**
|
|
79
79
|
* @remarks
|
|
80
|
-
* The Logstore that stores the captured traffic
|
|
80
|
+
* The Logstore that stores the captured traffic.
|
|
81
81
|
*
|
|
82
82
|
* @example
|
|
83
83
|
* FlowLogStore
|
|
@@ -87,7 +87,7 @@ export class DescribeFlowLogsRequest extends $dara.Model {
|
|
|
87
87
|
ownerId?: number;
|
|
88
88
|
/**
|
|
89
89
|
* @remarks
|
|
90
|
-
* The number
|
|
90
|
+
* The page number, with a default value of **1**.
|
|
91
91
|
*
|
|
92
92
|
* @example
|
|
93
93
|
* 1
|
|
@@ -95,7 +95,7 @@ export class DescribeFlowLogsRequest extends $dara.Model {
|
|
|
95
95
|
pageNumber?: number;
|
|
96
96
|
/**
|
|
97
97
|
* @remarks
|
|
98
|
-
* The number of
|
|
98
|
+
* The number of items per page in a paginated query, with a maximum value of **50** and a default value of **20**.
|
|
99
99
|
*
|
|
100
100
|
* @example
|
|
101
101
|
* 20
|
|
@@ -103,7 +103,7 @@ export class DescribeFlowLogsRequest extends $dara.Model {
|
|
|
103
103
|
pageSize?: number;
|
|
104
104
|
/**
|
|
105
105
|
* @remarks
|
|
106
|
-
* The
|
|
106
|
+
* The Project that manages the captured traffic.
|
|
107
107
|
*
|
|
108
108
|
* @example
|
|
109
109
|
* FlowLogProject
|
|
@@ -113,7 +113,7 @@ export class DescribeFlowLogsRequest extends $dara.Model {
|
|
|
113
113
|
* @remarks
|
|
114
114
|
* The region ID of the flow log.
|
|
115
115
|
*
|
|
116
|
-
* You can
|
|
116
|
+
* You can obtain the region ID by calling the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) interface.
|
|
117
117
|
*
|
|
118
118
|
* This parameter is required.
|
|
119
119
|
*
|
|
@@ -123,7 +123,7 @@ export class DescribeFlowLogsRequest extends $dara.Model {
|
|
|
123
123
|
regionId?: string;
|
|
124
124
|
/**
|
|
125
125
|
* @remarks
|
|
126
|
-
* The
|
|
126
|
+
* The resource group ID of the flow log.
|
|
127
127
|
*
|
|
128
128
|
* @example
|
|
129
129
|
* rg-bp67acfmxazb4ph****
|
|
@@ -131,7 +131,7 @@ export class DescribeFlowLogsRequest extends $dara.Model {
|
|
|
131
131
|
resourceGroupId?: string;
|
|
132
132
|
/**
|
|
133
133
|
* @remarks
|
|
134
|
-
* The ID of the
|
|
134
|
+
* The resource ID of the traffic to capture.
|
|
135
135
|
*
|
|
136
136
|
* @example
|
|
137
137
|
* eni-askldfas****
|
|
@@ -141,11 +141,10 @@ export class DescribeFlowLogsRequest extends $dara.Model {
|
|
|
141
141
|
resourceOwnerId?: number;
|
|
142
142
|
/**
|
|
143
143
|
* @remarks
|
|
144
|
-
* The type of
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
* * **VPC**: all ENIs in a virtual private cloud (VPC)
|
|
144
|
+
* The resource type of the traffic to capture. Values:
|
|
145
|
+
* - **NetworkInterface**: Elastic Network Interface (ENI).
|
|
146
|
+
* - **VSwitch**: All ENIs within a VSwitch.
|
|
147
|
+
* - **VPC**: All ENIs within a VPC.
|
|
149
148
|
*
|
|
150
149
|
* @example
|
|
151
150
|
* NetworkInterface
|
|
@@ -153,11 +152,10 @@ export class DescribeFlowLogsRequest extends $dara.Model {
|
|
|
153
152
|
resourceType?: string;
|
|
154
153
|
/**
|
|
155
154
|
* @remarks
|
|
156
|
-
* The status of the flow log.
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
* * **Inactive**
|
|
155
|
+
* The status of the flow log. Values:
|
|
156
|
+
* - **Active**: The flow log is in an active state.
|
|
157
|
+
* - **Activating**: The flow log is being created.
|
|
158
|
+
* - **Inactive**: The flow log is in an inactive state.
|
|
161
159
|
*
|
|
162
160
|
* @example
|
|
163
161
|
* Active
|
|
@@ -170,11 +168,10 @@ export class DescribeFlowLogsRequest extends $dara.Model {
|
|
|
170
168
|
tags?: DescribeFlowLogsRequestTags[];
|
|
171
169
|
/**
|
|
172
170
|
* @remarks
|
|
173
|
-
* The type of traffic
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
* * **Drop**: traffic that is denied by access control
|
|
171
|
+
* The type of traffic to collect. Values:
|
|
172
|
+
* - **All**: All traffic.
|
|
173
|
+
* - **Allow**: Traffic allowed by access control.
|
|
174
|
+
* - **Drop**: Traffic denied by access control.
|
|
178
175
|
*
|
|
179
176
|
* @example
|
|
180
177
|
* All
|
|
@@ -182,7 +179,7 @@ export class DescribeFlowLogsRequest extends $dara.Model {
|
|
|
182
179
|
trafficType?: string;
|
|
183
180
|
/**
|
|
184
181
|
* @remarks
|
|
185
|
-
* The ID of the VPC
|
|
182
|
+
* The ID of the VPC for which you want to view the flow log.
|
|
186
183
|
*
|
|
187
184
|
* @example
|
|
188
185
|
* vpc-bp1nwd16gvo1wgs****
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeFlowLogsResponseBodyFlowLogsFlowLogTagsTag extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* Tag key.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* FinanceDept
|
|
@@ -13,7 +13,7 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLogTagsTag extends $dara.Mo
|
|
|
13
13
|
key?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* Tag value.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* FinanceJoshua
|
|
@@ -105,10 +105,10 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $dara.Model {
|
|
|
105
105
|
aggregationInterval?: number;
|
|
106
106
|
/**
|
|
107
107
|
* @remarks
|
|
108
|
-
* The business status
|
|
108
|
+
* The business status. Values:
|
|
109
109
|
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
110
|
+
* - **Normal**: Normal status.
|
|
111
|
+
* - **FinancialLocked**: Locked due to unpaid bills.
|
|
112
112
|
*
|
|
113
113
|
* @example
|
|
114
114
|
* Normal
|
|
@@ -116,7 +116,7 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $dara.Model {
|
|
|
116
116
|
businessStatus?: string;
|
|
117
117
|
/**
|
|
118
118
|
* @remarks
|
|
119
|
-
* The time
|
|
119
|
+
* The creation time of the flow log.
|
|
120
120
|
*
|
|
121
121
|
* @example
|
|
122
122
|
* 2022-01-21T03:08:50Z
|
|
@@ -132,11 +132,10 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $dara.Model {
|
|
|
132
132
|
description?: string;
|
|
133
133
|
/**
|
|
134
134
|
* @remarks
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
* * **UnknownError**: An internal error occurred. Try again later.
|
|
135
|
+
* When log delivery fails, you can troubleshoot based on the error messages. Possible error messages include:
|
|
136
|
+
* - **UnavaliableTarget**: The Logstore of the Log Service SLS is unavailable and cannot receive logs. It is recommended to check if the corresponding Logstore actually exists and is accessible.
|
|
137
|
+
* - **ProjectNotExist**: The Project of the Log Service SLS does not exist. It is suggested to delete the original flow log and create a new one pointing to an existing Project.
|
|
138
|
+
* - **UnknownError**: An internal error has occurred. Please try again later.
|
|
140
139
|
*
|
|
141
140
|
* @example
|
|
142
141
|
* UnavaliableTarget
|
|
@@ -144,9 +143,9 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $dara.Model {
|
|
|
144
143
|
flowLogDeliverErrorMessage?: string;
|
|
145
144
|
/**
|
|
146
145
|
* @remarks
|
|
147
|
-
*
|
|
148
|
-
* - **SUCCESS
|
|
149
|
-
* - **FAILED
|
|
146
|
+
* The delivery status of the flow log, with values:
|
|
147
|
+
* - **SUCCESS**: Delivery succeeded.
|
|
148
|
+
* - **FAILED**: Delivery failed.
|
|
150
149
|
*
|
|
151
150
|
* @example
|
|
152
151
|
* FAILED
|
|
@@ -168,10 +167,17 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $dara.Model {
|
|
|
168
167
|
* myFlowlog
|
|
169
168
|
*/
|
|
170
169
|
flowLogName?: string;
|
|
170
|
+
/**
|
|
171
|
+
* @remarks
|
|
172
|
+
* The type of IP address for collecting flow log traffic.
|
|
173
|
+
*
|
|
174
|
+
* @example
|
|
175
|
+
* IPv4
|
|
176
|
+
*/
|
|
171
177
|
ipVersion?: string;
|
|
172
178
|
/**
|
|
173
179
|
* @remarks
|
|
174
|
-
* The Logstore
|
|
180
|
+
* The Logstore where the captured traffic is stored.
|
|
175
181
|
*
|
|
176
182
|
* @example
|
|
177
183
|
* FlowLogStore
|
|
@@ -179,7 +185,7 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $dara.Model {
|
|
|
179
185
|
logStoreName?: string;
|
|
180
186
|
/**
|
|
181
187
|
* @remarks
|
|
182
|
-
* The
|
|
188
|
+
* The Project that manages the captured traffic.
|
|
183
189
|
*
|
|
184
190
|
* @example
|
|
185
191
|
* FlowLogProject
|
|
@@ -187,7 +193,7 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $dara.Model {
|
|
|
187
193
|
projectName?: string;
|
|
188
194
|
/**
|
|
189
195
|
* @remarks
|
|
190
|
-
* The region ID
|
|
196
|
+
* The region ID to which the flow log belongs.
|
|
191
197
|
*
|
|
192
198
|
* @example
|
|
193
199
|
* cn-hangzhou
|
|
@@ -203,7 +209,7 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $dara.Model {
|
|
|
203
209
|
resourceGroupId?: string;
|
|
204
210
|
/**
|
|
205
211
|
* @remarks
|
|
206
|
-
* The ID of the
|
|
212
|
+
* The resource ID of the traffic captured by the flow log.
|
|
207
213
|
*
|
|
208
214
|
* @example
|
|
209
215
|
* eni-askldfas****
|
|
@@ -211,11 +217,11 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $dara.Model {
|
|
|
211
217
|
resourceId?: string;
|
|
212
218
|
/**
|
|
213
219
|
* @remarks
|
|
214
|
-
* The type of the
|
|
220
|
+
* The resource type of the traffic captured by the flow log:
|
|
215
221
|
*
|
|
216
|
-
*
|
|
217
|
-
*
|
|
218
|
-
*
|
|
222
|
+
* - **NetworkInterface**: Elastic network interface.
|
|
223
|
+
* - **VSwitch**: All elastic network interfaces within a VSwitch.
|
|
224
|
+
* - **VPC**: All elastic network interfaces within a VPC.
|
|
219
225
|
*
|
|
220
226
|
* @example
|
|
221
227
|
* NetworkInterface
|
|
@@ -224,11 +230,9 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $dara.Model {
|
|
|
224
230
|
/**
|
|
225
231
|
* @remarks
|
|
226
232
|
* The hosting type of the cloud service.
|
|
227
|
-
*
|
|
228
|
-
*
|
|
229
|
-
*
|
|
230
|
-
*
|
|
231
|
-
* > A flow log that is created in the SLS console can be displayed in the VPC list. However, you cannot modify, start, stop, or delete the flow log in the VPC console. If you want to manage the flow log, you can log on to the [SLS console](https://sls.console.aliyun.com) and perform required operations.
|
|
233
|
+
* - It can be empty, indicating that the flow log was created by the user.
|
|
234
|
+
* - When not empty, the only supported value is: **sls**, indicating that the flow log was created through the Log Service console.
|
|
235
|
+
* > Flow log instances created through the Log Service console can be displayed in the VPC list, but they cannot be modified, started, stopped, or deleted within the VPC. If you need to perform these operations on the flow log, you can log in to the [Log Service console](https://sls.console.aliyun.com) to modify, start, stop, or delete it.
|
|
232
236
|
*
|
|
233
237
|
* @example
|
|
234
238
|
* sls
|
|
@@ -236,11 +240,12 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $dara.Model {
|
|
|
236
240
|
serviceType?: string;
|
|
237
241
|
/**
|
|
238
242
|
* @remarks
|
|
239
|
-
* The status of the flow log.
|
|
243
|
+
* The status of the flow log. Values:
|
|
244
|
+
* - **Active**: The flow log is in an active state.
|
|
245
|
+
*
|
|
246
|
+
* - **Activating**: The flow log is being created.
|
|
240
247
|
*
|
|
241
|
-
*
|
|
242
|
-
* * **Activating**
|
|
243
|
-
* * **Inactive**
|
|
248
|
+
* - **Inactive**: The flow log is in an inactive state.
|
|
244
249
|
*
|
|
245
250
|
* @example
|
|
246
251
|
* Active
|
|
@@ -248,26 +253,24 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $dara.Model {
|
|
|
248
253
|
status?: string;
|
|
249
254
|
/**
|
|
250
255
|
* @remarks
|
|
251
|
-
*
|
|
256
|
+
* List of tags
|
|
252
257
|
*/
|
|
253
258
|
tags?: DescribeFlowLogsResponseBodyFlowLogsFlowLogTags;
|
|
254
259
|
/**
|
|
255
260
|
* @remarks
|
|
256
|
-
* The
|
|
261
|
+
* The path of the captured traffic. Values:
|
|
257
262
|
*
|
|
258
|
-
*
|
|
259
|
-
*
|
|
260
|
-
*
|
|
261
|
-
* > By default, the traffic path feature is unavailable. To use this feature, [submit a ticket](https://workorder-intl.console.aliyun.com/?spm=5176.11182188.console-base-top.dworkorder.18ae4882n3v6ZW#/ticket/createIndex).
|
|
263
|
+
* - **all**: Indicates full collection.
|
|
264
|
+
* - **internetGateway**: Indicates public network traffic collection.
|
|
262
265
|
*/
|
|
263
266
|
trafficPath?: DescribeFlowLogsResponseBodyFlowLogsFlowLogTrafficPath;
|
|
264
267
|
/**
|
|
265
268
|
* @remarks
|
|
266
|
-
* The type of traffic
|
|
269
|
+
* The type of traffic captured by the flow log. Values:
|
|
267
270
|
*
|
|
268
|
-
*
|
|
269
|
-
*
|
|
270
|
-
*
|
|
271
|
+
* - **All**: All traffic.
|
|
272
|
+
* - **Allow**: Traffic allowed by access control.
|
|
273
|
+
* - **Drop**: Traffic denied by access control.
|
|
271
274
|
*
|
|
272
275
|
* @example
|
|
273
276
|
* All
|
|
@@ -367,12 +370,12 @@ export class DescribeFlowLogsResponseBodyFlowLogs extends $dara.Model {
|
|
|
367
370
|
export class DescribeFlowLogsResponseBody extends $dara.Model {
|
|
368
371
|
/**
|
|
369
372
|
* @remarks
|
|
370
|
-
*
|
|
373
|
+
* List of flow logs.
|
|
371
374
|
*/
|
|
372
375
|
flowLogs?: DescribeFlowLogsResponseBodyFlowLogs;
|
|
373
376
|
/**
|
|
374
377
|
* @remarks
|
|
375
|
-
* The number
|
|
378
|
+
* The page number.
|
|
376
379
|
*
|
|
377
380
|
* @example
|
|
378
381
|
* 1
|
|
@@ -380,7 +383,7 @@ export class DescribeFlowLogsResponseBody extends $dara.Model {
|
|
|
380
383
|
pageNumber?: string;
|
|
381
384
|
/**
|
|
382
385
|
* @remarks
|
|
383
|
-
* The number of
|
|
386
|
+
* The number of items per page in a paginated query.
|
|
384
387
|
*
|
|
385
388
|
* @example
|
|
386
389
|
* 20
|
|
@@ -396,10 +399,9 @@ export class DescribeFlowLogsResponseBody extends $dara.Model {
|
|
|
396
399
|
requestId?: string;
|
|
397
400
|
/**
|
|
398
401
|
* @remarks
|
|
399
|
-
* Indicates whether the
|
|
400
|
-
*
|
|
401
|
-
*
|
|
402
|
-
* * **false**
|
|
402
|
+
* Indicates whether the call was successful. Values:
|
|
403
|
+
* - **true**: The call was successful.
|
|
404
|
+
* - **false**: The call failed.
|
|
403
405
|
*
|
|
404
406
|
* @example
|
|
405
407
|
* true
|
|
@@ -407,7 +409,7 @@ export class DescribeFlowLogsResponseBody extends $dara.Model {
|
|
|
407
409
|
success?: string;
|
|
408
410
|
/**
|
|
409
411
|
* @remarks
|
|
410
|
-
* The number of
|
|
412
|
+
* The number of entries in the queried flow log list.
|
|
411
413
|
*
|
|
412
414
|
* @example
|
|
413
415
|
* 1
|