@alicloud/vpc20160428 7.4.0 → 7.4.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 +268 -258
- package/dist/client.js +289 -257
- package/dist/client.js.map +1 -1
- package/dist/models/AddCommonBandwidthPackageIpRequest.d.ts +7 -7
- package/dist/models/AddCommonBandwidthPackageIpsRequest.d.ts +1 -1
- package/dist/models/AllocateEipAddressProRequest.d.ts +49 -25
- package/dist/models/AllocateEipAddressProRequest.js.map +1 -1
- package/dist/models/AllocateEipAddressProResponseBody.d.ts +2 -2
- package/dist/models/AllocateEipAddressRequest.d.ts +44 -44
- package/dist/models/AllocateEipAddressResponseBody.d.ts +4 -4
- package/dist/models/AllocateEipSegmentAddressRequest.d.ts +6 -6
- package/dist/models/AssociateEipAddressBatchRequest.d.ts +6 -6
- package/dist/models/AssociateEipAddressRequest.d.ts +16 -16
- package/dist/models/CalculateNatGatewayCapacityUnitsRequest.d.ts +6 -6
- package/dist/models/CalculateNatGatewayCapacityUnitsResponseBody.d.ts +2 -2
- package/dist/models/CalculateNatGatewayCapacityUnitsShrinkRequest.d.ts +5 -5
- package/dist/models/CancelCommonBandwidthPackageIpBandwidthRequest.d.ts +21 -3
- package/dist/models/CancelCommonBandwidthPackageIpBandwidthRequest.js +4 -0
- package/dist/models/CancelCommonBandwidthPackageIpBandwidthRequest.js.map +1 -1
- package/dist/models/CreateFlowLogRequest.d.ts +29 -29
- package/dist/models/CreateFlowLogResponseBody.d.ts +3 -3
- package/dist/models/CreateHaVipRequest.d.ts +5 -5
- package/dist/models/CreateRouteEntriesRequest.d.ts +28 -28
- package/dist/models/CreateRouteEntriesResponseBody.d.ts +8 -8
- package/dist/models/CreateRouteEntryRequest.d.ts +34 -34
- package/dist/models/CreateRouteEntryResponseBody.d.ts +1 -1
- package/dist/models/CreateSslVpnServerRequest.d.ts +15 -12
- package/dist/models/CreateSslVpnServerRequest.js.map +1 -1
- package/dist/models/CreateTrafficMirrorFilterRequest.d.ts +18 -18
- package/dist/models/CreateTrafficMirrorFilterRulesRequest.d.ts +19 -18
- package/dist/models/CreateTrafficMirrorFilterRulesRequest.js.map +1 -1
- package/dist/models/CreateVpnAttachmentRequest.d.ts +149 -89
- package/dist/models/CreateVpnAttachmentRequest.js.map +1 -1
- package/dist/models/CreateVpnAttachmentResponseBody.d.ts +6 -6
- package/dist/models/CreateVswitchRequest.d.ts +33 -22
- package/dist/models/CreateVswitchRequest.js +2 -0
- package/dist/models/CreateVswitchRequest.js.map +1 -1
- package/dist/models/DeleteIpv6internetBandwidthRequest.d.ts +6 -6
- package/dist/models/DeleteNatRateLimitRuleRequest.d.ts +3 -5
- package/dist/models/DeleteNatRateLimitRuleRequest.js.map +1 -1
- package/dist/models/DescribeCommonBandwidthPackagesRequest.d.ts +17 -16
- package/dist/models/DescribeCommonBandwidthPackagesRequest.js.map +1 -1
- package/dist/models/DescribeCommonBandwidthPackagesResponseBody.d.ts +5 -2
- package/dist/models/DescribeCommonBandwidthPackagesResponseBody.js +6 -0
- package/dist/models/DescribeCommonBandwidthPackagesResponseBody.js.map +1 -1
- package/dist/models/DescribeEipAddressesRequest.d.ts +20 -21
- package/dist/models/DescribeEipAddressesRequest.js.map +1 -1
- package/dist/models/DescribeEipAddressesResponseBody.d.ts +1 -0
- package/dist/models/DescribeEipAddressesResponseBody.js +2 -0
- package/dist/models/DescribeEipAddressesResponseBody.js.map +1 -1
- package/dist/models/DescribeIpv6addressesRequest.d.ts +14 -15
- package/dist/models/DescribeIpv6addressesRequest.js.map +1 -1
- package/dist/models/DescribeIpv6addressesResponseBody.d.ts +18 -2
- package/dist/models/DescribeIpv6addressesResponseBody.js +29 -1
- package/dist/models/DescribeIpv6addressesResponseBody.js.map +1 -1
- package/dist/models/DescribeNatGatewayCapacityReservationRequest.d.ts +5 -6
- package/dist/models/DescribeNatGatewayCapacityReservationRequest.js.map +1 -1
- package/dist/models/DescribeNatGatewayCapacityReservationResponseBody.d.ts +11 -7
- package/dist/models/DescribeNatGatewayCapacityReservationResponseBody.js.map +1 -1
- package/dist/models/DescribeRouteEntryListRequest.d.ts +11 -11
- package/dist/models/DescribeRouteEntryListResponseBody.d.ts +5 -2
- package/dist/models/DescribeRouteEntryListResponseBody.js.map +1 -1
- package/dist/models/DescribeVpnConnectionRequest.d.ts +1 -1
- package/dist/models/DescribeVpnConnectionResponseBody.d.ts +84 -63
- package/dist/models/DescribeVpnConnectionResponseBody.js.map +1 -1
- package/dist/models/DescribeVswitchAttributesRequest.d.ts +5 -5
- package/dist/models/DescribeVswitchAttributesResponseBody.d.ts +27 -16
- package/dist/models/DescribeVswitchAttributesResponseBody.js +2 -0
- package/dist/models/DescribeVswitchAttributesResponseBody.js.map +1 -1
- package/dist/models/DescribeVswitchesRequest.d.ts +37 -22
- package/dist/models/DescribeVswitchesRequest.js +2 -0
- package/dist/models/DescribeVswitchesRequest.js.map +1 -1
- package/dist/models/DescribeVswitchesResponseBody.d.ts +2 -2
- package/dist/models/ListTagResourcesForExpressConnectRequest.d.ts +12 -12
- package/dist/models/ListTagResourcesForExpressConnectResponseBody.d.ts +3 -3
- package/dist/models/ModifyBgpGroupAttributeRequest.d.ts +7 -7
- package/dist/models/ModifyBgpGroupAttributeResponseBody.d.ts +1 -1
- package/dist/models/ModifyCommonBandwidthPackageIpBandwidthRequest.d.ts +22 -4
- package/dist/models/ModifyCommonBandwidthPackageIpBandwidthRequest.js +4 -0
- package/dist/models/ModifyCommonBandwidthPackageIpBandwidthRequest.js.map +1 -1
- package/dist/models/ModifyCommonBandwidthPackageSpecRequest.d.ts +5 -5
- package/dist/models/ModifyEipAddressAttributeRequest.d.ts +5 -5
- package/dist/models/ModifyNatGatewayCapacityReservationRequest.d.ts +6 -6
- package/dist/models/ModifyNatGatewayCapacityReservationResponseBody.d.ts +2 -7
- package/dist/models/ModifyNatGatewayCapacityReservationResponseBody.js.map +1 -1
- package/dist/models/ModifyNatGatewayCapacityReservationShrinkRequest.d.ts +6 -6
- package/dist/models/ModifyNatRateLimitRuleRequest.d.ts +9 -9
- package/dist/models/ModifyNatRateLimitRuleResponseBody.d.ts +1 -1
- package/dist/models/ModifyRouteEntryRequest.d.ts +22 -22
- package/dist/models/RemoveCommonBandwidthPackageIpRequest.d.ts +5 -5
- package/dist/models/SetHighDefinitionMonitorLogStatusRequest.d.ts +2 -4
- package/dist/models/SetHighDefinitionMonitorLogStatusRequest.js.map +1 -1
- package/dist/models/SetHighDefinitionMonitorLogStatusResponseBody.d.ts +1 -0
- package/dist/models/SetHighDefinitionMonitorLogStatusResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +42 -40
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -1
- package/src/client.ts +295 -257
- package/src/models/AddCommonBandwidthPackageIpRequest.ts +7 -7
- package/src/models/AddCommonBandwidthPackageIpsRequest.ts +1 -1
- package/src/models/AllocateEipAddressProRequest.ts +49 -25
- package/src/models/AllocateEipAddressProResponseBody.ts +2 -2
- package/src/models/AllocateEipAddressRequest.ts +44 -44
- package/src/models/AllocateEipAddressResponseBody.ts +4 -4
- package/src/models/AllocateEipSegmentAddressRequest.ts +6 -6
- package/src/models/AssociateEipAddressBatchRequest.ts +6 -6
- package/src/models/AssociateEipAddressRequest.ts +16 -16
- package/src/models/CalculateNatGatewayCapacityUnitsRequest.ts +6 -6
- package/src/models/CalculateNatGatewayCapacityUnitsResponseBody.ts +2 -2
- package/src/models/CalculateNatGatewayCapacityUnitsShrinkRequest.ts +5 -5
- package/src/models/CancelCommonBandwidthPackageIpBandwidthRequest.ts +25 -3
- package/src/models/CreateFlowLogRequest.ts +29 -29
- package/src/models/CreateFlowLogResponseBody.ts +3 -3
- package/src/models/CreateHaVipRequest.ts +5 -5
- package/src/models/CreateRouteEntriesRequest.ts +28 -28
- package/src/models/CreateRouteEntriesResponseBody.ts +8 -8
- package/src/models/CreateRouteEntryRequest.ts +34 -34
- package/src/models/CreateRouteEntryResponseBody.ts +1 -1
- package/src/models/CreateSslVpnServerRequest.ts +15 -12
- package/src/models/CreateTrafficMirrorFilterRequest.ts +18 -18
- package/src/models/CreateTrafficMirrorFilterRulesRequest.ts +19 -18
- package/src/models/CreateVpnAttachmentRequest.ts +149 -89
- package/src/models/CreateVpnAttachmentResponseBody.ts +6 -6
- package/src/models/CreateVswitchRequest.ts +35 -22
- package/src/models/DeleteIpv6internetBandwidthRequest.ts +6 -6
- package/src/models/DeleteNatRateLimitRuleRequest.ts +3 -5
- package/src/models/DescribeCommonBandwidthPackagesRequest.ts +17 -16
- package/src/models/DescribeCommonBandwidthPackagesResponseBody.ts +11 -2
- package/src/models/DescribeEipAddressesRequest.ts +20 -21
- package/src/models/DescribeEipAddressesResponseBody.ts +3 -0
- package/src/models/DescribeIpv6addressesRequest.ts +14 -15
- package/src/models/DescribeIpv6addressesResponseBody.ts +37 -2
- package/src/models/DescribeNatGatewayCapacityReservationRequest.ts +5 -6
- package/src/models/DescribeNatGatewayCapacityReservationResponseBody.ts +11 -7
- package/src/models/DescribeRouteEntryListRequest.ts +11 -11
- package/src/models/DescribeRouteEntryListResponseBody.ts +5 -2
- package/src/models/DescribeVpnConnectionRequest.ts +2 -2
- package/src/models/DescribeVpnConnectionResponseBody.ts +84 -63
- package/src/models/DescribeVswitchAttributesRequest.ts +5 -5
- package/src/models/DescribeVswitchAttributesResponseBody.ts +29 -16
- package/src/models/DescribeVswitchesRequest.ts +39 -22
- package/src/models/DescribeVswitchesResponseBody.ts +2 -2
- package/src/models/ListTagResourcesForExpressConnectRequest.ts +12 -12
- package/src/models/ListTagResourcesForExpressConnectResponseBody.ts +3 -3
- package/src/models/ModifyBgpGroupAttributeRequest.ts +7 -7
- package/src/models/ModifyBgpGroupAttributeResponseBody.ts +1 -1
- package/src/models/ModifyCommonBandwidthPackageIpBandwidthRequest.ts +26 -4
- package/src/models/ModifyCommonBandwidthPackageSpecRequest.ts +5 -5
- package/src/models/ModifyEipAddressAttributeRequest.ts +5 -5
- package/src/models/ModifyNatGatewayCapacityReservationRequest.ts +6 -6
- package/src/models/ModifyNatGatewayCapacityReservationResponseBody.ts +2 -7
- package/src/models/ModifyNatGatewayCapacityReservationShrinkRequest.ts +6 -6
- package/src/models/ModifyNatRateLimitRuleRequest.ts +9 -9
- package/src/models/ModifyNatRateLimitRuleResponseBody.ts +1 -1
- package/src/models/ModifyRouteEntryRequest.ts +22 -22
- package/src/models/RemoveCommonBandwidthPackageIpRequest.ts +5 -5
- package/src/models/SetHighDefinitionMonitorLogStatusRequest.ts +2 -4
- package/src/models/SetHighDefinitionMonitorLogStatusResponseBody.ts +1 -0
- package/src/models/model.ts +1 -0
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateRouteEntryRequestNextHopList extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID of the next hop instance
|
|
8
|
+
* The ID of the next hop instance for the ECMP route.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ri-2zeo3xzyf3cd8r4****
|
|
@@ -13,7 +13,7 @@ export class CreateRouteEntryRequestNextHopList extends $dara.Model {
|
|
|
13
13
|
nextHopId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The type of the next hop
|
|
16
|
+
* The type of the next hop for the ECMP route. Set the value to **RouterInterface**, which specifies a router interface.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* RouterInterface
|
|
@@ -21,7 +21,7 @@ export class CreateRouteEntryRequestNextHopList extends $dara.Model {
|
|
|
21
21
|
nextHopType?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The weight of the next hop
|
|
24
|
+
* The route weight of the next hop for the ECMP route.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 10
|
|
@@ -57,9 +57,9 @@ export class CreateRouteEntryRequest extends $dara.Model {
|
|
|
57
57
|
* @remarks
|
|
58
58
|
* The client token that is used to ensure the idempotence of the request.
|
|
59
59
|
*
|
|
60
|
-
* You can use the client to generate the token, but you must make sure that the token is unique among different requests. The
|
|
60
|
+
* You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
|
|
61
61
|
*
|
|
62
|
-
* > If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId**
|
|
62
|
+
* > If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** of each API request is unique.
|
|
63
63
|
*
|
|
64
64
|
* @example
|
|
65
65
|
* 02fb3da4-130e-11e9-8e44-001****
|
|
@@ -69,7 +69,7 @@ export class CreateRouteEntryRequest extends $dara.Model {
|
|
|
69
69
|
* @remarks
|
|
70
70
|
* The description of the custom route entry.
|
|
71
71
|
*
|
|
72
|
-
* The description must be 1 to 256 characters in length and cannot start with `http://` or `https://`.
|
|
72
|
+
* The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
|
|
73
73
|
*
|
|
74
74
|
* @example
|
|
75
75
|
* test
|
|
@@ -77,11 +77,11 @@ export class CreateRouteEntryRequest extends $dara.Model {
|
|
|
77
77
|
description?: string;
|
|
78
78
|
/**
|
|
79
79
|
* @remarks
|
|
80
|
-
* The destination CIDR block of the custom route entry. IPv4 CIDR blocks, IPv6 CIDR blocks, destination CIDR blocks of prefix lists, and instance IDs of prefix lists are supported. The
|
|
80
|
+
* The destination CIDR block of the custom route entry. IPv4 CIDR blocks, IPv6 CIDR blocks, destination CIDR blocks of prefix lists, and instance IDs of prefix lists are supported. The destination CIDR block must meet the following requirements:
|
|
81
81
|
*
|
|
82
|
-
* - The destination CIDR block cannot point to or be contained by 100.64.0.0/10.
|
|
82
|
+
* - The destination CIDR block cannot point to 100.64.0.0/10 or be contained by 100.64.0.0/10.
|
|
83
83
|
*
|
|
84
|
-
* -
|
|
84
|
+
* - Route entries in the same route table cannot have the same destination CIDR block.
|
|
85
85
|
*
|
|
86
86
|
* This parameter is required.
|
|
87
87
|
*
|
|
@@ -91,9 +91,9 @@ export class CreateRouteEntryRequest extends $dara.Model {
|
|
|
91
91
|
destinationCidrBlock?: string;
|
|
92
92
|
/**
|
|
93
93
|
* @remarks
|
|
94
|
-
* Specifies whether to
|
|
95
|
-
* - **true**:
|
|
96
|
-
* - **false** (default): sends the request.
|
|
94
|
+
* Specifies whether to only precheck the request. Valid values:
|
|
95
|
+
* - **true**: prechecks the request without creating the route entry. The system checks whether the required parameters are specified, the request format is valid, and the service limits are met. If the request fails the precheck, the corresponding error is returned. If the request passes the precheck, the `DryRunOperation` error code is returned.
|
|
96
|
+
* - **false** (default): sends the request. If the request passes the precheck, an HTTP 2xx status code is returned and the operation is performed.
|
|
97
97
|
*
|
|
98
98
|
* @example
|
|
99
99
|
* false
|
|
@@ -101,7 +101,7 @@ export class CreateRouteEntryRequest extends $dara.Model {
|
|
|
101
101
|
dryRun?: boolean;
|
|
102
102
|
/**
|
|
103
103
|
* @remarks
|
|
104
|
-
* The ID of the next hop instance
|
|
104
|
+
* The ID of the next hop instance for the custom route entry.
|
|
105
105
|
* > If you set NextHopType to ECR, you can call the [DescribeExpressConnectRouterAssociation](https://help.aliyun.com/document_detail/2712069.html) operation to obtain the AssociationId as the next hop ID.
|
|
106
106
|
* > -
|
|
107
107
|
*
|
|
@@ -111,35 +111,35 @@ export class CreateRouteEntryRequest extends $dara.Model {
|
|
|
111
111
|
nextHopId?: string;
|
|
112
112
|
/**
|
|
113
113
|
* @remarks
|
|
114
|
-
* The information about the next
|
|
114
|
+
* The information about the next hops.
|
|
115
115
|
*/
|
|
116
116
|
nextHopList?: CreateRouteEntryRequestNextHopList[];
|
|
117
117
|
/**
|
|
118
118
|
* @remarks
|
|
119
|
-
* The type of the next hop
|
|
119
|
+
* The type of the next hop for the custom route entry. Valid values:
|
|
120
120
|
*
|
|
121
|
-
* - **Instance** (default): ECS instance.
|
|
121
|
+
* - **Instance** (default): an ECS instance.
|
|
122
122
|
*
|
|
123
|
-
* - **HaVip**: high-availability virtual IP address.
|
|
123
|
+
* - **HaVip**: a high-availability virtual IP address.
|
|
124
124
|
*
|
|
125
|
-
* - **RouterInterface**: vRouter interface.
|
|
125
|
+
* - **RouterInterface**: a vRouter interface.
|
|
126
126
|
*
|
|
127
|
-
* - **NetworkInterface**: network interface controller (NIC).
|
|
127
|
+
* - **NetworkInterface**: an elastic network interface controller (NIC).
|
|
128
128
|
*
|
|
129
|
-
* - **VpnGateway**: VPN gateway.
|
|
129
|
+
* - **VpnGateway**: a VPN gateway.
|
|
130
130
|
*
|
|
131
|
-
* - **IPv6Gateway**: IPv6 gateway.
|
|
131
|
+
* - **IPv6Gateway**: an IPv6 gateway.
|
|
132
132
|
*
|
|
133
|
-
* - **NatGateway**: NAT gateway.
|
|
133
|
+
* - **NatGateway**: a NAT gateway.
|
|
134
134
|
*
|
|
135
|
-
* - **Attachment**:
|
|
135
|
+
* - **Attachment**: a forward router.
|
|
136
136
|
*
|
|
137
|
-
* - **VpcPeer**: VPC peering connection.
|
|
138
|
-
* - **Ipv4Gateway**: IPv4 gateway.
|
|
139
|
-
* - **GatewayEndpoint**: gateway endpoint.
|
|
140
|
-
* - **Ecr**: Express Connect Router (ECR).
|
|
141
|
-
* - **GatewayLoadBalancerEndpoint**:
|
|
142
|
-
* - **RouteTargetGroup**:
|
|
137
|
+
* - **VpcPeer**: a VPC peering connection.
|
|
138
|
+
* - **Ipv4Gateway**: an IPv4 gateway.
|
|
139
|
+
* - **GatewayEndpoint**: a gateway endpoint.
|
|
140
|
+
* - **Ecr**: an Express Connect Router (ECR).
|
|
141
|
+
* - **GatewayLoadBalancerEndpoint**: a gateway load balancing endpoint (GWLBe).
|
|
142
|
+
* - **RouteTargetGroup**: a routing target group.
|
|
143
143
|
*
|
|
144
144
|
* @example
|
|
145
145
|
* RouterInterface
|
|
@@ -149,9 +149,9 @@ export class CreateRouteEntryRequest extends $dara.Model {
|
|
|
149
149
|
ownerId?: number;
|
|
150
150
|
/**
|
|
151
151
|
* @remarks
|
|
152
|
-
* The
|
|
152
|
+
* The ID of the region to which the route table belongs.
|
|
153
153
|
*
|
|
154
|
-
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query
|
|
154
|
+
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query region IDs.
|
|
155
155
|
*
|
|
156
156
|
* @example
|
|
157
157
|
* cn-hangzhou
|
|
@@ -161,9 +161,9 @@ export class CreateRouteEntryRequest extends $dara.Model {
|
|
|
161
161
|
resourceOwnerId?: number;
|
|
162
162
|
/**
|
|
163
163
|
* @remarks
|
|
164
|
-
* The name of the custom route entry to
|
|
164
|
+
* The name of the custom route entry to be added.
|
|
165
165
|
*
|
|
166
|
-
* The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
166
|
+
* The name must be 1 to 128 characters in length, and cannot start with `http://` or `https://`.
|
|
167
167
|
*
|
|
168
168
|
* @example
|
|
169
169
|
* test
|
|
@@ -171,7 +171,7 @@ export class CreateRouteEntryRequest extends $dara.Model {
|
|
|
171
171
|
routeEntryName?: string;
|
|
172
172
|
/**
|
|
173
173
|
* @remarks
|
|
174
|
-
* The ID of the route table to which you want to add
|
|
174
|
+
* The ID of the route table to which you want to add the custom route entry.
|
|
175
175
|
*
|
|
176
176
|
* This parameter is required.
|
|
177
177
|
*
|
|
@@ -7,9 +7,9 @@ export class CreateSslVpnServerRequest extends $dara.Model {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* The encryption algorithm used by the SSL-VPN connection.
|
|
9
9
|
*
|
|
10
|
-
* - If the client uses Tunnelblick or OpenVPN 2.4.0 or later, the SSL server and the client dynamically negotiate the encryption algorithm and prefer the highest
|
|
10
|
+
* - If the client uses Tunnelblick or OpenVPN 2.4.0 or later, the SSL server and the client dynamically negotiate the encryption algorithm and prefer the highest-security encryption algorithm supported by both parties. The encryption algorithm that you specify for the SSL server does not take effect.
|
|
11
11
|
*
|
|
12
|
-
* - If the client uses
|
|
12
|
+
* - If the client uses OpenVPN earlier than 2.4.0, the SSL server and the client use the encryption algorithm that you specify for the SSL server. The SSL server supports the following encryption algorithms:
|
|
13
13
|
*
|
|
14
14
|
* - **AES-128-CBC** (default): AES-128-CBC
|
|
15
15
|
*
|
|
@@ -27,16 +27,16 @@ export class CreateSslVpnServerRequest extends $dara.Model {
|
|
|
27
27
|
* @remarks
|
|
28
28
|
* The client CIDR block.
|
|
29
29
|
*
|
|
30
|
-
* This is the CIDR block from which IP addresses are allocated to the virtual network interface controller (NIC) of
|
|
30
|
+
* This is the CIDR block from which IP addresses are allocated to the virtual network interface controller (NIC) of clients. It is not the existing internal network CIDR block of the clients.
|
|
31
31
|
*
|
|
32
32
|
* When a client accesses the local network through an SSL-VPN connection, the VPN gateway allocates an IP address from the specified client CIDR block to the client. The client uses the allocated IP address to access cloud resources.
|
|
33
33
|
*
|
|
34
|
-
* When you specify the client CIDR block, make sure that the number of IP addresses included in the client CIDR block is at least four times the number of SSL connections
|
|
34
|
+
* When you specify the client CIDR block, make sure that the number of IP addresses included in the client CIDR block is at least four times the number of SSL connections supported by the current VPN gateway.
|
|
35
35
|
*
|
|
36
36
|
* <details>
|
|
37
37
|
* <summary>Click to view the reason</summary>
|
|
38
38
|
*
|
|
39
|
-
* For example, if you specify 192.168.0.0/24 as the client CIDR block, the system first divides a subnet with a subnet mask of 30 from the 192.168.0.0/24 CIDR block, such as 192.168.0.4/30,
|
|
39
|
+
* For example, if you specify 192.168.0.0/24 as the client CIDR block, the system first divides a subnet with a subnet mask of 30 from the 192.168.0.0/24 CIDR block, such as 192.168.0.4/30. Then, the system allocates an IP address from 192.168.0.4/30 for the client to use. The remaining three IP addresses are occupied by the system to ensure network communication. In this case, one client consumes four IP addresses. Therefore, to ensure that all your clients can be allocated IP addresses, make sure that the number of IP addresses included in the specified client CIDR block is at least four times the number of SSL connections supported by the VPN gateway.
|
|
40
40
|
* </details>
|
|
41
41
|
*
|
|
42
42
|
* <details>
|
|
@@ -65,7 +65,7 @@ export class CreateSslVpnServerRequest extends $dara.Model {
|
|
|
65
65
|
*
|
|
66
66
|
* > - The subnet mask of the client CIDR block must be 16 to 29 bits in length.
|
|
67
67
|
* > - Make sure that the client CIDR block does not overlap with the local CIDR block, the VPC CIDR block, or any routing CIDR block associated with the client terminal.
|
|
68
|
-
* > - When you specify the client CIDR block, we recommend that you use the 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 CIDR blocks and their subnets. If you need to specify a public CIDR block as the client CIDR block, you must
|
|
68
|
+
* > - When you specify the client CIDR block, we recommend that you use the 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 CIDR blocks and their subnets. If you need to specify a public CIDR block as the client CIDR block, you must add the public CIDR block to the user CIDR block Settings of the VPC to ensure that the VPC can access the public CIDR block. For more information about user CIDR blocks, see [virtual private cloud (VPC) FAQ](https://help.aliyun.com/document_detail/185311.html).
|
|
69
69
|
* > - After you create an SSL server, the system automatically adds routing for the client CIDR block in the route table of the VPC instance. Do not manually add routing for the client CIDR block in the route table of the VPC instance. Otherwise, SSL-VPN connection traffic transmission exceptions may occur.
|
|
70
70
|
*
|
|
71
71
|
* This parameter is required.
|
|
@@ -78,7 +78,7 @@ export class CreateSslVpnServerRequest extends $dara.Model {
|
|
|
78
78
|
* @remarks
|
|
79
79
|
* The client token that is used to ensure the idempotence of the request.
|
|
80
80
|
*
|
|
81
|
-
* You can generate
|
|
81
|
+
* You can generate a parameter value on your client to ensure that the value is unique across different requests. The ClientToken parameter supports only ASCII characters.
|
|
82
82
|
*
|
|
83
83
|
* > If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** of each API request is different.
|
|
84
84
|
*
|
|
@@ -99,6 +99,9 @@ export class CreateSslVpnServerRequest extends $dara.Model {
|
|
|
99
99
|
*/
|
|
100
100
|
compress?: boolean;
|
|
101
101
|
/**
|
|
102
|
+
* @remarks
|
|
103
|
+
* The DNS server addresses configured for the client. You can enter up to two addresses, separated by commas (,).
|
|
104
|
+
*
|
|
102
105
|
* @example
|
|
103
106
|
* 223.5.5.5,114.114.114.114
|
|
104
107
|
*/
|
|
@@ -107,20 +110,20 @@ export class CreateSslVpnServerRequest extends $dara.Model {
|
|
|
107
110
|
* @remarks
|
|
108
111
|
* Specifies whether to only precheck the request. Valid values:
|
|
109
112
|
*
|
|
110
|
-
* * **true**: Prechecks the request without performing the operation. The system prechecks required parameters, request syntax, and limits. If the request fails the precheck, an error message is returned. If the request passes the precheck, the DryRunOperation error code is returned.
|
|
113
|
+
* * **true**: Prechecks the request without performing the operation. The system prechecks required parameters, request syntax, and limits. If the request fails the precheck, an error message is returned. If the request passes the precheck, the `DryRunOperation` error code is returned.
|
|
111
114
|
*
|
|
112
115
|
* * **false** (default): Sends the request. After the request passes the precheck, a 2xx HTTP status code is returned and the operation is performed.
|
|
113
116
|
*/
|
|
114
117
|
dryRun?: boolean;
|
|
115
118
|
/**
|
|
116
119
|
* @remarks
|
|
117
|
-
* Specifies whether to enable two-factor authentication. If you enable two-factor authentication, you must also configure IDaaSInstanceId
|
|
120
|
+
* Specifies whether to enable two-factor authentication. If you enable two-factor authentication, you must also configure the `IDaaSInstanceId`, `IDaaSRegionId`, and `IDaaSApplicationId` parameters. Valid values:
|
|
118
121
|
*
|
|
119
122
|
* - **true**: Enables two-factor authentication.
|
|
120
123
|
*
|
|
121
124
|
* - **false** (default): Disables two-factor authentication.
|
|
122
125
|
*
|
|
123
|
-
* > - If you use the two-factor authentication feature for the first time, complete the [authorization](https://ram.console.aliyun.com/role/authorization?request=%7B%22Services%22%3A%5B%7B%22Service%22%3A%22VPN%22%2C%22Roles%22%3A%5B%7B%22RoleName%22%3A%22AliyunVpnAccessingIdaasRole%22%2C%22TemplateId%22%3A%22IdaasRole%22%7D%5D%7D%5D%2C%22ReturnUrl%22%3A%22https%3A%2F%2Fvpc.console.aliyun.com%2Fsslvpn%2Fcn-shanghai%2Fvpn-servers%22%7D) before you create
|
|
126
|
+
* > - If you use the two-factor authentication feature for the first time, complete the [authorization](https://ram.console.aliyun.com/role/authorization?request=%7B%22Services%22%3A%5B%7B%22Service%22%3A%22VPN%22%2C%22Roles%22%3A%5B%7B%22RoleName%22%3A%22AliyunVpnAccessingIdaasRole%22%2C%22TemplateId%22%3A%22IdaasRole%22%7D%5D%7D%5D%2C%22ReturnUrl%22%3A%22https%3A%2F%2Fvpc.console.aliyun.com%2Fsslvpn%2Fcn-shanghai%2Fvpn-servers%22%7D) before you create an SSL server.
|
|
124
127
|
* > - When you create an SSL server in the UAE (Dubai) region, we recommend that you bind an IDaaS EIAM 2.0 instance in the Singapore region to reduce cross-region latency.
|
|
125
128
|
* > - IDaaS EIAM 1.0 instances are no longer available for purchase. If your Alibaba Cloud account has an IDaaS EIAM 1.0 instance, you can still bind the IDaaS EIAM 1.0 instance after you enable two-factor authentication. If your Alibaba Cloud account does not have an IDaaS EIAM 1.0 instance, you can only bind an IDaaS EIAM 2.0 instance after you enable two-factor authentication.
|
|
126
129
|
*
|
|
@@ -161,7 +164,7 @@ export class CreateSslVpnServerRequest extends $dara.Model {
|
|
|
161
164
|
*
|
|
162
165
|
* This is the CIDR block that the client wants to access through the SSL-VPN connection.
|
|
163
166
|
*
|
|
164
|
-
* The local CIDR block can be the CIDR block of a VPC, the CIDR block of a vSwitch, the CIDR block of
|
|
167
|
+
* The local CIDR block can be the CIDR block of a VPC, the CIDR block of a vSwitch, the CIDR block of a data center that is connected to the VPC through an Express Connect circuit, or the CIDR block of a cloud service such as Object Storage Service (OSS).
|
|
165
168
|
*
|
|
166
169
|
* The subnet mask of the local CIDR block must be 8 to 32 bits in length. The following CIDR blocks cannot be specified as the local CIDR block:
|
|
167
170
|
*
|
|
@@ -213,7 +216,7 @@ export class CreateSslVpnServerRequest extends $dara.Model {
|
|
|
213
216
|
* @remarks
|
|
214
217
|
* The region ID of the VPN gateway.
|
|
215
218
|
*
|
|
216
|
-
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query
|
|
219
|
+
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query region IDs.
|
|
217
220
|
*
|
|
218
221
|
* This parameter is required.
|
|
219
222
|
*
|
|
@@ -24,7 +24,7 @@ export class CreateTrafficMirrorFilterRequestEgressRules extends $dara.Model {
|
|
|
24
24
|
destinationCidrBlock?: string;
|
|
25
25
|
/**
|
|
26
26
|
* @remarks
|
|
27
|
-
* The destination port range of the network traffic for the outbound rule.
|
|
27
|
+
* The destination port range of the network traffic for the outbound rule. Valid values are **1** to **65535**. Separate the start port and the end port with a forward slash (/). Examples: **1/200** and **80/80**. You cannot set this parameter only to **-1/-1**, which indicates that all ports are allowed.
|
|
28
28
|
*
|
|
29
29
|
* > If **EgressRules.N.Protocol** is set to **ALL** or **ICMP**, you do not need to specify this parameter, which indicates that all ports are allowed.
|
|
30
30
|
*
|
|
@@ -46,7 +46,7 @@ export class CreateTrafficMirrorFilterRequestEgressRules extends $dara.Model {
|
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
48
|
* The priority of the outbound rule. A smaller value indicates a higher priority.
|
|
49
|
-
* The maximum value of **N** is **10**, which
|
|
49
|
+
* The maximum value of **N** is **10**, which indicates that you can configure up to 10 outbound rules for a filter.
|
|
50
50
|
*
|
|
51
51
|
* @example
|
|
52
52
|
* 1
|
|
@@ -57,9 +57,9 @@ export class CreateTrafficMirrorFilterRequestEgressRules extends $dara.Model {
|
|
|
57
57
|
* The protocol type of the network traffic to be mirrored for the outbound rule. Valid values:
|
|
58
58
|
*
|
|
59
59
|
* - **ALL**: all protocols.
|
|
60
|
-
* - **ICMP**: Internet Control Message Protocol.
|
|
61
|
-
* - **TCP**: Transmission Control Protocol.
|
|
62
|
-
* - **UDP**: User Datagram Protocol.
|
|
60
|
+
* - **ICMP**: Internet Control Message Protocol (ICMP).
|
|
61
|
+
* - **TCP**: Transmission Control Protocol (TCP).
|
|
62
|
+
* - **UDP**: User Datagram Protocol (UDP).
|
|
63
63
|
*
|
|
64
64
|
* @example
|
|
65
65
|
* TCP
|
|
@@ -75,7 +75,7 @@ export class CreateTrafficMirrorFilterRequestEgressRules extends $dara.Model {
|
|
|
75
75
|
sourceCidrBlock?: string;
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The source port range of the network traffic for the outbound rule.
|
|
78
|
+
* The source port range of the network traffic for the outbound rule. Valid values are **1** to **65535**. Separate the start port and the end port with a forward slash (/). Examples: **1/200** and **80/80**. You cannot set this parameter only to **-1/-1**, which indicates that all ports are allowed.
|
|
79
79
|
*
|
|
80
80
|
* > If **EgressRules.N.Protocol** is set to **ALL** or **ICMP**, you do not need to specify this parameter, which indicates that all ports are allowed.
|
|
81
81
|
*
|
|
@@ -140,7 +140,7 @@ export class CreateTrafficMirrorFilterRequestIngressRules extends $dara.Model {
|
|
|
140
140
|
destinationCidrBlock?: string;
|
|
141
141
|
/**
|
|
142
142
|
* @remarks
|
|
143
|
-
* The destination port range of the network traffic for the inbound rule.
|
|
143
|
+
* The destination port range of the network traffic for the inbound rule. Valid values are **1** to **65535**. Separate the start port and the end port with a forward slash (/). Examples: **1/200** and **80/80**.
|
|
144
144
|
*
|
|
145
145
|
* > If **IngressRules.N.Protocol** is set to **ALL** or **ICMP**, you do not need to specify this parameter, which indicates that all ports are allowed.
|
|
146
146
|
*
|
|
@@ -162,7 +162,7 @@ export class CreateTrafficMirrorFilterRequestIngressRules extends $dara.Model {
|
|
|
162
162
|
/**
|
|
163
163
|
* @remarks
|
|
164
164
|
* The priority of the inbound rule. A smaller value indicates a higher priority.
|
|
165
|
-
* The maximum value of **N** is **10**, which
|
|
165
|
+
* The maximum value of **N** is **10**, which indicates that you can configure up to 10 inbound rules for a filter.
|
|
166
166
|
*
|
|
167
167
|
* @example
|
|
168
168
|
* 1
|
|
@@ -173,9 +173,9 @@ export class CreateTrafficMirrorFilterRequestIngressRules extends $dara.Model {
|
|
|
173
173
|
* The protocol type of the network traffic to be mirrored for the inbound rule. Valid values:
|
|
174
174
|
*
|
|
175
175
|
* - **ALL**: all protocols.
|
|
176
|
-
* - **ICMP**: Internet Control Message Protocol.
|
|
177
|
-
* - **TCP**: Transmission Control Protocol.
|
|
178
|
-
* - **UDP**: User Datagram Protocol.
|
|
176
|
+
* - **ICMP**: Internet Control Message Protocol (ICMP).
|
|
177
|
+
* - **TCP**: Transmission Control Protocol (TCP).
|
|
178
|
+
* - **UDP**: User Datagram Protocol (UDP).
|
|
179
179
|
*
|
|
180
180
|
* @example
|
|
181
181
|
* TCP
|
|
@@ -191,7 +191,7 @@ export class CreateTrafficMirrorFilterRequestIngressRules extends $dara.Model {
|
|
|
191
191
|
sourceCidrBlock?: string;
|
|
192
192
|
/**
|
|
193
193
|
* @remarks
|
|
194
|
-
* The source port range of the network traffic for the inbound rule.
|
|
194
|
+
* The source port range of the network traffic for the inbound rule. Valid values are **1** to **65535**. Separate the start port and the end port with a forward slash (/). Examples: **1/200** and **80/80**.
|
|
195
195
|
*
|
|
196
196
|
* > If **IngressRules.N.Protocol** is set to **ALL** or **ICMP**, you do not need to specify this parameter, which indicates that all ports are allowed.
|
|
197
197
|
*
|
|
@@ -239,7 +239,7 @@ export class CreateTrafficMirrorFilterRequestTag extends $dara.Model {
|
|
|
239
239
|
* @remarks
|
|
240
240
|
* The tag key of the resource. You can specify up to 20 tag keys. If you specify this parameter, you cannot specify an empty string.
|
|
241
241
|
*
|
|
242
|
-
* A tag key can be up to 128 characters in length
|
|
242
|
+
* A tag key can be up to 128 characters in length and cannot start with `aliyun` or `acs:`. It cannot contain `http://` or `https://`.
|
|
243
243
|
*
|
|
244
244
|
* @example
|
|
245
245
|
* FinanceDept
|
|
@@ -249,7 +249,7 @@ export class CreateTrafficMirrorFilterRequestTag extends $dara.Model {
|
|
|
249
249
|
* @remarks
|
|
250
250
|
* The tag value of the resource. You can specify up to 20 tag values. If you specify this parameter, you can specify an empty string.
|
|
251
251
|
*
|
|
252
|
-
* A tag value can be up to 128 characters in length
|
|
252
|
+
* A tag value can be up to 128 characters in length and cannot start with `aliyun` or `acs:`. It cannot contain `http://` or `https://`.
|
|
253
253
|
*
|
|
254
254
|
* @example
|
|
255
255
|
* FinanceJoshua
|
|
@@ -283,9 +283,9 @@ export class CreateTrafficMirrorFilterRequest extends $dara.Model {
|
|
|
283
283
|
* @remarks
|
|
284
284
|
* The client token that is used to ensure the idempotence of the request.
|
|
285
285
|
*
|
|
286
|
-
* You can
|
|
286
|
+
* You can generate a parameter value on your client to ensure that the value is unique across different requests. The client token can contain only ASCII characters.
|
|
287
287
|
*
|
|
288
|
-
* > If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** of each API request is
|
|
288
|
+
* > If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** of each API request is different.
|
|
289
289
|
*
|
|
290
290
|
* @example
|
|
291
291
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -293,9 +293,9 @@ export class CreateTrafficMirrorFilterRequest extends $dara.Model {
|
|
|
293
293
|
clientToken?: string;
|
|
294
294
|
/**
|
|
295
295
|
* @remarks
|
|
296
|
-
* Specifies whether to only dry run the request. Valid values:
|
|
296
|
+
* Specifies whether to only perform a dry run for the request. Valid values:
|
|
297
297
|
*
|
|
298
|
-
* - **true**:
|
|
298
|
+
* - **true**: performs a dry run for the request without creating the traffic mirror filter. The system checks whether required parameters are specified, the request format, and service limits. If the dry run fails, the corresponding error is returned. If the dry run succeeds, the `DryRunOperation` error code is returned.
|
|
299
299
|
*
|
|
300
300
|
* - **false** (default): sends a normal request. If the request passes the check, a 2xx HTTP status code is returned and the filter is created.
|
|
301
301
|
*
|
|
@@ -7,8 +7,8 @@ export class CreateTrafficMirrorFilterRulesRequestEgressRules extends $dara.Mode
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* The collection policy of the outbound rule. Valid values:
|
|
9
9
|
*
|
|
10
|
-
* - **accept**:
|
|
11
|
-
* - **drop**:
|
|
10
|
+
* - **accept**: Collects network traffic.
|
|
11
|
+
* - **drop**: Does not collect network traffic.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* accept
|
|
@@ -24,7 +24,7 @@ export class CreateTrafficMirrorFilterRulesRequestEgressRules extends $dara.Mode
|
|
|
24
24
|
destinationCidrBlock?: string;
|
|
25
25
|
/**
|
|
26
26
|
* @remarks
|
|
27
|
-
* The destination port range of the network traffic for the outbound rule. Valid values are **1** to **65535**. Separate the start port and the end port with a forward slash (/). Examples: **1/200** and **80/80**. You cannot
|
|
27
|
+
* The destination port range of the network traffic for the outbound rule. Valid values are from **1** to **65535**. Separate the start port and the end port with a forward slash (/). Examples: **1/200** and **80/80**. You cannot set this parameter only to **-1/-1**, which indicates that all ports are allowed.
|
|
28
28
|
*
|
|
29
29
|
* > If **EgressRules.N.Protocol** is set to **ALL** or **ICMP**, you do not need to specify this parameter, which indicates that all ports are allowed.
|
|
30
30
|
*
|
|
@@ -45,7 +45,7 @@ export class CreateTrafficMirrorFilterRulesRequestEgressRules extends $dara.Mode
|
|
|
45
45
|
ipVersion?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The priority of the outbound rule. A smaller value indicates a higher priority. The maximum value of **N** is **10**, which
|
|
48
|
+
* The priority of the outbound rule. A smaller value indicates a higher priority. The maximum value of **N** is **10**, which indicates that you can configure up to 10 outbound rules for a traffic mirror filter.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* 1
|
|
@@ -55,7 +55,7 @@ export class CreateTrafficMirrorFilterRulesRequestEgressRules extends $dara.Mode
|
|
|
55
55
|
* @remarks
|
|
56
56
|
* The protocol type of the network traffic to be mirrored for the outbound rule. Valid values:
|
|
57
57
|
*
|
|
58
|
-
* - **ALL**:
|
|
58
|
+
* - **ALL**: All protocols.
|
|
59
59
|
* - **ICMP**: Internet Control Message Protocol (ICMP).
|
|
60
60
|
* - **TCP**: Transmission Control Protocol (TCP).
|
|
61
61
|
* - **UDP**: User Datagram Protocol (UDP).
|
|
@@ -74,7 +74,7 @@ export class CreateTrafficMirrorFilterRulesRequestEgressRules extends $dara.Mode
|
|
|
74
74
|
sourceCidrBlock?: string;
|
|
75
75
|
/**
|
|
76
76
|
* @remarks
|
|
77
|
-
* The source port range of the network traffic for the outbound rule. Valid values are **1** to **65535**. Separate the start port and the end port with a forward slash (/). Examples: **1/200** and **80/80**. You cannot
|
|
77
|
+
* The source port range of the network traffic for the outbound rule. Valid values are from **1** to **65535**. Separate the start port and the end port with a forward slash (/). Examples: **1/200** and **80/80**. You cannot set this parameter only to **-1/-1**, which indicates that all ports are allowed.
|
|
78
78
|
*
|
|
79
79
|
* > If **EgressRules.N.Protocol** is set to **ALL** or **ICMP**, you do not need to specify this parameter, which indicates that all ports are allowed.
|
|
80
80
|
*
|
|
@@ -122,8 +122,8 @@ export class CreateTrafficMirrorFilterRulesRequestIngressRules extends $dara.Mod
|
|
|
122
122
|
* @remarks
|
|
123
123
|
* The collection policy of the inbound rule. Valid values:
|
|
124
124
|
*
|
|
125
|
-
* - **accept**:
|
|
126
|
-
* - **drop**:
|
|
125
|
+
* - **accept**: Collects network traffic.
|
|
126
|
+
* - **drop**: Does not collect network traffic.
|
|
127
127
|
*
|
|
128
128
|
* @example
|
|
129
129
|
* accept
|
|
@@ -139,7 +139,7 @@ export class CreateTrafficMirrorFilterRulesRequestIngressRules extends $dara.Mod
|
|
|
139
139
|
destinationCidrBlock?: string;
|
|
140
140
|
/**
|
|
141
141
|
* @remarks
|
|
142
|
-
* The destination port range of the network traffic for the inbound rule. Valid values are **1** to **65535**. Separate the start port and the end port with a forward slash (/). Examples: **1/200** and **80/80**.
|
|
142
|
+
* The destination port range of the network traffic for the inbound rule. Valid values are from **1** to **65535**. Separate the start port and the end port with a forward slash (/). Examples: **1/200** and **80/80**.
|
|
143
143
|
*
|
|
144
144
|
* > If **IngressRules.N.Protocol** is set to **ALL** or **ICMP**, you do not need to specify this parameter, which indicates that all ports are allowed.
|
|
145
145
|
*
|
|
@@ -160,7 +160,7 @@ export class CreateTrafficMirrorFilterRulesRequestIngressRules extends $dara.Mod
|
|
|
160
160
|
ipVersion?: string;
|
|
161
161
|
/**
|
|
162
162
|
* @remarks
|
|
163
|
-
* The priority of the inbound rule. A smaller value indicates a higher priority. The maximum value of **N** is **10**, which
|
|
163
|
+
* The priority of the inbound rule. A smaller value indicates a higher priority. The maximum value of **N** is **10**, which indicates that you can configure up to 10 inbound rules for a traffic mirror filter.
|
|
164
164
|
*
|
|
165
165
|
* @example
|
|
166
166
|
* 1
|
|
@@ -170,7 +170,7 @@ export class CreateTrafficMirrorFilterRulesRequestIngressRules extends $dara.Mod
|
|
|
170
170
|
* @remarks
|
|
171
171
|
* The protocol type of the network traffic to be mirrored for the inbound rule. Valid values:
|
|
172
172
|
*
|
|
173
|
-
* - **ALL**:
|
|
173
|
+
* - **ALL**: All protocols.
|
|
174
174
|
* - **ICMP**: Internet Control Message Protocol (ICMP).
|
|
175
175
|
* - **TCP**: Transmission Control Protocol (TCP).
|
|
176
176
|
* - **UDP**: User Datagram Protocol (UDP).
|
|
@@ -189,7 +189,7 @@ export class CreateTrafficMirrorFilterRulesRequestIngressRules extends $dara.Mod
|
|
|
189
189
|
sourceCidrBlock?: string;
|
|
190
190
|
/**
|
|
191
191
|
* @remarks
|
|
192
|
-
* The source port range of the network traffic for the inbound rule. Valid values are **1** to **65535**. Separate the start port and the end port with a forward slash (/). Examples: **1/200** and **80/80**. You cannot
|
|
192
|
+
* The source port range of the network traffic for the inbound rule. Valid values are from **1** to **65535**. Separate the start port and the end port with a forward slash (/). Examples: **1/200** and **80/80**. You cannot set this parameter only to **-1/-1**, which indicates that all ports are allowed.
|
|
193
193
|
*
|
|
194
194
|
* > If **IngressRules.N.Protocol** is set to **ALL** or **ICMP**, you do not need to specify this parameter, which indicates that all ports are allowed.
|
|
195
195
|
*
|
|
@@ -237,7 +237,7 @@ export class CreateTrafficMirrorFilterRulesRequest extends $dara.Model {
|
|
|
237
237
|
* @remarks
|
|
238
238
|
* The client token that is used to ensure the idempotence of the request.
|
|
239
239
|
*
|
|
240
|
-
* You can
|
|
240
|
+
* You can generate the value from your client and make sure that the value is unique across different requests. The client token can contain only ASCII characters.
|
|
241
241
|
*
|
|
242
242
|
* > If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** of each API request may be different.
|
|
243
243
|
*
|
|
@@ -247,11 +247,12 @@ export class CreateTrafficMirrorFilterRulesRequest extends $dara.Model {
|
|
|
247
247
|
clientToken?: string;
|
|
248
248
|
/**
|
|
249
249
|
* @remarks
|
|
250
|
-
* Specifies whether to
|
|
250
|
+
* Specifies whether to only precheck the request. Valid values:
|
|
251
251
|
*
|
|
252
|
-
* - **true**:
|
|
252
|
+
* - **true**: The system prechecks the request but does not create the inbound or outbound rules. The system checks whether the required parameters are specified, the request format, and the limits. If the request fails the precheck, the system returns an error. If the request passes the precheck, the system returns the DryRunOperation error code.
|
|
253
253
|
*
|
|
254
|
-
*
|
|
254
|
+
*
|
|
255
|
+
* - **false** (default): The system sends a normal request. After the request passes the precheck, the system creates the inbound or outbound rules.
|
|
255
256
|
*
|
|
256
257
|
* @example
|
|
257
258
|
* false
|
|
@@ -271,9 +272,9 @@ export class CreateTrafficMirrorFilterRulesRequest extends $dara.Model {
|
|
|
271
272
|
ownerId?: number;
|
|
272
273
|
/**
|
|
273
274
|
* @remarks
|
|
274
|
-
* The region ID of the traffic mirror.
|
|
275
|
+
* The region ID of the traffic mirror filter.
|
|
275
276
|
*
|
|
276
|
-
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query
|
|
277
|
+
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query region IDs. For more information about the regions that support traffic mirroring, see [Traffic mirroring overview](https://help.aliyun.com/document_detail/207513.html).
|
|
277
278
|
*
|
|
278
279
|
* This parameter is required.
|
|
279
280
|
*
|