@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
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateRouteEntriesResponseBodyFailedRouteEntries extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The destination CIDR block of the custom route entry that
|
|
5
|
+
* The destination CIDR block of the custom route entry that fails to be added.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 192.168.0.0/24
|
|
@@ -10,7 +10,7 @@ export declare class CreateRouteEntriesResponseBodyFailedRouteEntries extends $d
|
|
|
10
10
|
dstCidrBlock?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The error code
|
|
13
|
+
* The error code for the failure.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* VPC_ROUTE_ENTRY_CIDR_BLOCK_DUPLICATE
|
|
@@ -18,7 +18,7 @@ export declare class CreateRouteEntriesResponseBodyFailedRouteEntries extends $d
|
|
|
18
18
|
failedCode?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The error message
|
|
21
|
+
* The specific error message for the failure.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* Specified CIDR block is already exists, entry.cidrBlock=xxxx
|
|
@@ -26,7 +26,7 @@ export declare class CreateRouteEntriesResponseBodyFailedRouteEntries extends $d
|
|
|
26
26
|
failedMessage?: string;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The ID of the next hop instance
|
|
29
|
+
* The ID of the next hop instance for the custom route entry that fails to be added.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* i-j6c2fp57q8rr4jlu****
|
|
@@ -46,7 +46,7 @@ export declare class CreateRouteEntriesResponseBodyFailedRouteEntries extends $d
|
|
|
46
46
|
export declare class CreateRouteEntriesResponseBody extends $dara.Model {
|
|
47
47
|
/**
|
|
48
48
|
* @remarks
|
|
49
|
-
* The number of route entries that
|
|
49
|
+
* The number of route entries that fail to be added.
|
|
50
50
|
*
|
|
51
51
|
* @example
|
|
52
52
|
* 2
|
|
@@ -54,7 +54,7 @@ export declare class CreateRouteEntriesResponseBody extends $dara.Model {
|
|
|
54
54
|
failedCount?: number;
|
|
55
55
|
/**
|
|
56
56
|
* @remarks
|
|
57
|
-
* The details of the route entries that
|
|
57
|
+
* The details of the route entries that fail to be added.
|
|
58
58
|
*/
|
|
59
59
|
failedRouteEntries?: CreateRouteEntriesResponseBodyFailedRouteEntries[];
|
|
60
60
|
/**
|
|
@@ -67,12 +67,12 @@ export declare class CreateRouteEntriesResponseBody extends $dara.Model {
|
|
|
67
67
|
requestId?: string;
|
|
68
68
|
/**
|
|
69
69
|
* @remarks
|
|
70
|
-
* The
|
|
70
|
+
* The instance IDs returned for the custom route entry (routing) that is successfully added.
|
|
71
71
|
*/
|
|
72
72
|
routeEntryIds?: string[];
|
|
73
73
|
/**
|
|
74
74
|
* @remarks
|
|
75
|
-
* The number of route entries that
|
|
75
|
+
* The number of route entries that are successfully added.
|
|
76
76
|
*
|
|
77
77
|
* @example
|
|
78
78
|
* 2
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateRouteEntryRequestNextHopList extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The ID of the next hop instance
|
|
5
|
+
* The ID of the next hop instance for the ECMP route.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* ri-2zeo3xzyf3cd8r4****
|
|
@@ -10,7 +10,7 @@ export declare class CreateRouteEntryRequestNextHopList extends $dara.Model {
|
|
|
10
10
|
nextHopId?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The type of the next hop
|
|
13
|
+
* The type of the next hop for the ECMP route. Set the value to **RouterInterface**, which specifies a router interface.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* RouterInterface
|
|
@@ -18,7 +18,7 @@ export declare class CreateRouteEntryRequestNextHopList extends $dara.Model {
|
|
|
18
18
|
nextHopType?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The weight of the next hop
|
|
21
|
+
* The route weight of the next hop for the ECMP route.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* 10
|
|
@@ -40,9 +40,9 @@ export declare class CreateRouteEntryRequest extends $dara.Model {
|
|
|
40
40
|
* @remarks
|
|
41
41
|
* The client token that is used to ensure the idempotence of the request.
|
|
42
42
|
*
|
|
43
|
-
* You can use the client to generate the token, but you must make sure that the token is unique among different requests. The
|
|
43
|
+
* 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.
|
|
44
44
|
*
|
|
45
|
-
* > If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId**
|
|
45
|
+
* > 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.
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
48
|
* 02fb3da4-130e-11e9-8e44-001****
|
|
@@ -52,7 +52,7 @@ export declare class CreateRouteEntryRequest extends $dara.Model {
|
|
|
52
52
|
* @remarks
|
|
53
53
|
* The description of the custom route entry.
|
|
54
54
|
*
|
|
55
|
-
* The description must be 1 to 256 characters in length and cannot start with `http://` or `https://`.
|
|
55
|
+
* The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
|
|
56
56
|
*
|
|
57
57
|
* @example
|
|
58
58
|
* test
|
|
@@ -60,11 +60,11 @@ export declare class CreateRouteEntryRequest extends $dara.Model {
|
|
|
60
60
|
description?: string;
|
|
61
61
|
/**
|
|
62
62
|
* @remarks
|
|
63
|
-
* 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
|
|
63
|
+
* 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:
|
|
64
64
|
*
|
|
65
|
-
* - The destination CIDR block cannot point to or be contained by 100.64.0.0/10.
|
|
65
|
+
* - The destination CIDR block cannot point to 100.64.0.0/10 or be contained by 100.64.0.0/10.
|
|
66
66
|
*
|
|
67
|
-
* -
|
|
67
|
+
* - Route entries in the same route table cannot have the same destination CIDR block.
|
|
68
68
|
*
|
|
69
69
|
* This parameter is required.
|
|
70
70
|
*
|
|
@@ -74,9 +74,9 @@ export declare class CreateRouteEntryRequest extends $dara.Model {
|
|
|
74
74
|
destinationCidrBlock?: string;
|
|
75
75
|
/**
|
|
76
76
|
* @remarks
|
|
77
|
-
* Specifies whether to
|
|
78
|
-
* - **true**:
|
|
79
|
-
* - **false** (default): sends the request.
|
|
77
|
+
* Specifies whether to only precheck the request. Valid values:
|
|
78
|
+
* - **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.
|
|
79
|
+
* - **false** (default): sends the request. If the request passes the precheck, an HTTP 2xx status code is returned and the operation is performed.
|
|
80
80
|
*
|
|
81
81
|
* @example
|
|
82
82
|
* false
|
|
@@ -84,7 +84,7 @@ export declare class CreateRouteEntryRequest extends $dara.Model {
|
|
|
84
84
|
dryRun?: boolean;
|
|
85
85
|
/**
|
|
86
86
|
* @remarks
|
|
87
|
-
* The ID of the next hop instance
|
|
87
|
+
* The ID of the next hop instance for the custom route entry.
|
|
88
88
|
* > 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.
|
|
89
89
|
* > -
|
|
90
90
|
*
|
|
@@ -94,35 +94,35 @@ export declare class CreateRouteEntryRequest extends $dara.Model {
|
|
|
94
94
|
nextHopId?: string;
|
|
95
95
|
/**
|
|
96
96
|
* @remarks
|
|
97
|
-
* The information about the next
|
|
97
|
+
* The information about the next hops.
|
|
98
98
|
*/
|
|
99
99
|
nextHopList?: CreateRouteEntryRequestNextHopList[];
|
|
100
100
|
/**
|
|
101
101
|
* @remarks
|
|
102
|
-
* The type of the next hop
|
|
102
|
+
* The type of the next hop for the custom route entry. Valid values:
|
|
103
103
|
*
|
|
104
|
-
* - **Instance** (default): ECS instance.
|
|
104
|
+
* - **Instance** (default): an ECS instance.
|
|
105
105
|
*
|
|
106
|
-
* - **HaVip**: high-availability virtual IP address.
|
|
106
|
+
* - **HaVip**: a high-availability virtual IP address.
|
|
107
107
|
*
|
|
108
|
-
* - **RouterInterface**: vRouter interface.
|
|
108
|
+
* - **RouterInterface**: a vRouter interface.
|
|
109
109
|
*
|
|
110
|
-
* - **NetworkInterface**: network interface controller (NIC).
|
|
110
|
+
* - **NetworkInterface**: an elastic network interface controller (NIC).
|
|
111
111
|
*
|
|
112
|
-
* - **VpnGateway**: VPN gateway.
|
|
112
|
+
* - **VpnGateway**: a VPN gateway.
|
|
113
113
|
*
|
|
114
|
-
* - **IPv6Gateway**: IPv6 gateway.
|
|
114
|
+
* - **IPv6Gateway**: an IPv6 gateway.
|
|
115
115
|
*
|
|
116
|
-
* - **NatGateway**: NAT gateway.
|
|
116
|
+
* - **NatGateway**: a NAT gateway.
|
|
117
117
|
*
|
|
118
|
-
* - **Attachment**:
|
|
118
|
+
* - **Attachment**: a forward router.
|
|
119
119
|
*
|
|
120
|
-
* - **VpcPeer**: VPC peering connection.
|
|
121
|
-
* - **Ipv4Gateway**: IPv4 gateway.
|
|
122
|
-
* - **GatewayEndpoint**: gateway endpoint.
|
|
123
|
-
* - **Ecr**: Express Connect Router (ECR).
|
|
124
|
-
* - **GatewayLoadBalancerEndpoint**:
|
|
125
|
-
* - **RouteTargetGroup**:
|
|
120
|
+
* - **VpcPeer**: a VPC peering connection.
|
|
121
|
+
* - **Ipv4Gateway**: an IPv4 gateway.
|
|
122
|
+
* - **GatewayEndpoint**: a gateway endpoint.
|
|
123
|
+
* - **Ecr**: an Express Connect Router (ECR).
|
|
124
|
+
* - **GatewayLoadBalancerEndpoint**: a gateway load balancing endpoint (GWLBe).
|
|
125
|
+
* - **RouteTargetGroup**: a routing target group.
|
|
126
126
|
*
|
|
127
127
|
* @example
|
|
128
128
|
* RouterInterface
|
|
@@ -132,9 +132,9 @@ export declare class CreateRouteEntryRequest extends $dara.Model {
|
|
|
132
132
|
ownerId?: number;
|
|
133
133
|
/**
|
|
134
134
|
* @remarks
|
|
135
|
-
* The
|
|
135
|
+
* The ID of the region to which the route table belongs.
|
|
136
136
|
*
|
|
137
|
-
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query
|
|
137
|
+
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query region IDs.
|
|
138
138
|
*
|
|
139
139
|
* @example
|
|
140
140
|
* cn-hangzhou
|
|
@@ -144,9 +144,9 @@ export declare class CreateRouteEntryRequest extends $dara.Model {
|
|
|
144
144
|
resourceOwnerId?: number;
|
|
145
145
|
/**
|
|
146
146
|
* @remarks
|
|
147
|
-
* The name of the custom route entry to
|
|
147
|
+
* The name of the custom route entry to be added.
|
|
148
148
|
*
|
|
149
|
-
* The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
149
|
+
* The name must be 1 to 128 characters in length, and cannot start with `http://` or `https://`.
|
|
150
150
|
*
|
|
151
151
|
* @example
|
|
152
152
|
* test
|
|
@@ -154,7 +154,7 @@ export declare class CreateRouteEntryRequest extends $dara.Model {
|
|
|
154
154
|
routeEntryName?: string;
|
|
155
155
|
/**
|
|
156
156
|
* @remarks
|
|
157
|
-
* The ID of the route table to which you want to add
|
|
157
|
+
* The ID of the route table to which you want to add the custom route entry.
|
|
158
158
|
*
|
|
159
159
|
* This parameter is required.
|
|
160
160
|
*
|
|
@@ -4,9 +4,9 @@ export declare class CreateSslVpnServerRequest extends $dara.Model {
|
|
|
4
4
|
* @remarks
|
|
5
5
|
* The encryption algorithm used by the SSL-VPN connection.
|
|
6
6
|
*
|
|
7
|
-
* - 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
|
|
7
|
+
* - 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.
|
|
8
8
|
*
|
|
9
|
-
* - If the client uses
|
|
9
|
+
* - 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:
|
|
10
10
|
*
|
|
11
11
|
* - **AES-128-CBC** (default): AES-128-CBC
|
|
12
12
|
*
|
|
@@ -24,16 +24,16 @@ export declare class CreateSslVpnServerRequest extends $dara.Model {
|
|
|
24
24
|
* @remarks
|
|
25
25
|
* The client CIDR block.
|
|
26
26
|
*
|
|
27
|
-
* This is the CIDR block from which IP addresses are allocated to the virtual network interface controller (NIC) of
|
|
27
|
+
* 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.
|
|
28
28
|
*
|
|
29
29
|
* 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.
|
|
30
30
|
*
|
|
31
|
-
* 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
|
|
31
|
+
* 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.
|
|
32
32
|
*
|
|
33
33
|
* <details>
|
|
34
34
|
* <summary>Click to view the reason</summary>
|
|
35
35
|
*
|
|
36
|
-
* 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,
|
|
36
|
+
* 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.
|
|
37
37
|
* </details>
|
|
38
38
|
*
|
|
39
39
|
* <details>
|
|
@@ -62,7 +62,7 @@ export declare class CreateSslVpnServerRequest extends $dara.Model {
|
|
|
62
62
|
*
|
|
63
63
|
* > - The subnet mask of the client CIDR block must be 16 to 29 bits in length.
|
|
64
64
|
* > - 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.
|
|
65
|
-
* > - 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
|
|
65
|
+
* > - 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).
|
|
66
66
|
* > - 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.
|
|
67
67
|
*
|
|
68
68
|
* This parameter is required.
|
|
@@ -75,7 +75,7 @@ export declare class CreateSslVpnServerRequest extends $dara.Model {
|
|
|
75
75
|
* @remarks
|
|
76
76
|
* The client token that is used to ensure the idempotence of the request.
|
|
77
77
|
*
|
|
78
|
-
* You can generate
|
|
78
|
+
* 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.
|
|
79
79
|
*
|
|
80
80
|
* > 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.
|
|
81
81
|
*
|
|
@@ -96,6 +96,9 @@ export declare class CreateSslVpnServerRequest extends $dara.Model {
|
|
|
96
96
|
*/
|
|
97
97
|
compress?: boolean;
|
|
98
98
|
/**
|
|
99
|
+
* @remarks
|
|
100
|
+
* The DNS server addresses configured for the client. You can enter up to two addresses, separated by commas (,).
|
|
101
|
+
*
|
|
99
102
|
* @example
|
|
100
103
|
* 223.5.5.5,114.114.114.114
|
|
101
104
|
*/
|
|
@@ -104,20 +107,20 @@ export declare class CreateSslVpnServerRequest extends $dara.Model {
|
|
|
104
107
|
* @remarks
|
|
105
108
|
* Specifies whether to only precheck the request. Valid values:
|
|
106
109
|
*
|
|
107
|
-
* * **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.
|
|
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.
|
|
108
111
|
*
|
|
109
112
|
* * **false** (default): Sends the request. After the request passes the precheck, a 2xx HTTP status code is returned and the operation is performed.
|
|
110
113
|
*/
|
|
111
114
|
dryRun?: boolean;
|
|
112
115
|
/**
|
|
113
116
|
* @remarks
|
|
114
|
-
* Specifies whether to enable two-factor authentication. If you enable two-factor authentication, you must also configure IDaaSInstanceId
|
|
117
|
+
* 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:
|
|
115
118
|
*
|
|
116
119
|
* - **true**: Enables two-factor authentication.
|
|
117
120
|
*
|
|
118
121
|
* - **false** (default): Disables two-factor authentication.
|
|
119
122
|
*
|
|
120
|
-
* > - 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
|
|
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 an SSL server.
|
|
121
124
|
* > - 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.
|
|
122
125
|
* > - 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.
|
|
123
126
|
*
|
|
@@ -158,7 +161,7 @@ export declare class CreateSslVpnServerRequest extends $dara.Model {
|
|
|
158
161
|
*
|
|
159
162
|
* This is the CIDR block that the client wants to access through the SSL-VPN connection.
|
|
160
163
|
*
|
|
161
|
-
* The local CIDR block can be the CIDR block of a VPC, the CIDR block of a vSwitch, the CIDR block of
|
|
164
|
+
* 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).
|
|
162
165
|
*
|
|
163
166
|
* 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:
|
|
164
167
|
*
|
|
@@ -210,7 +213,7 @@ export declare class CreateSslVpnServerRequest extends $dara.Model {
|
|
|
210
213
|
* @remarks
|
|
211
214
|
* The region ID of the VPN gateway.
|
|
212
215
|
*
|
|
213
|
-
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query
|
|
216
|
+
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query region IDs.
|
|
214
217
|
*
|
|
215
218
|
* This parameter is required.
|
|
216
219
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateSslVpnServerRequest.js","sourceRoot":"","sources":["../../src/models/CreateSslVpnServerRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateSslVpnServerRequest.js","sourceRoot":"","sources":["../../src/models/CreateSslVpnServerRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CA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AAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAnSD,8DAmSC"}
|
|
@@ -21,7 +21,7 @@ export declare class CreateTrafficMirrorFilterRequestEgressRules extends $dara.M
|
|
|
21
21
|
destinationCidrBlock?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The destination port range of the network traffic for the outbound rule.
|
|
24
|
+
* 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.
|
|
25
25
|
*
|
|
26
26
|
* > 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.
|
|
27
27
|
*
|
|
@@ -43,7 +43,7 @@ export declare class CreateTrafficMirrorFilterRequestEgressRules extends $dara.M
|
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
45
|
* The priority of the outbound rule. A smaller value indicates a higher priority.
|
|
46
|
-
* The maximum value of **N** is **10**, which
|
|
46
|
+
* The maximum value of **N** is **10**, which indicates that you can configure up to 10 outbound rules for a filter.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* 1
|
|
@@ -54,9 +54,9 @@ export declare class CreateTrafficMirrorFilterRequestEgressRules extends $dara.M
|
|
|
54
54
|
* The protocol type of the network traffic to be mirrored for the outbound rule. Valid values:
|
|
55
55
|
*
|
|
56
56
|
* - **ALL**: all protocols.
|
|
57
|
-
* - **ICMP**: Internet Control Message Protocol.
|
|
58
|
-
* - **TCP**: Transmission Control Protocol.
|
|
59
|
-
* - **UDP**: User Datagram Protocol.
|
|
57
|
+
* - **ICMP**: Internet Control Message Protocol (ICMP).
|
|
58
|
+
* - **TCP**: Transmission Control Protocol (TCP).
|
|
59
|
+
* - **UDP**: User Datagram Protocol (UDP).
|
|
60
60
|
*
|
|
61
61
|
* @example
|
|
62
62
|
* TCP
|
|
@@ -72,7 +72,7 @@ export declare class CreateTrafficMirrorFilterRequestEgressRules extends $dara.M
|
|
|
72
72
|
sourceCidrBlock?: string;
|
|
73
73
|
/**
|
|
74
74
|
* @remarks
|
|
75
|
-
* The source port range of the network traffic for the outbound rule.
|
|
75
|
+
* 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.
|
|
76
76
|
*
|
|
77
77
|
* > 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.
|
|
78
78
|
*
|
|
@@ -113,7 +113,7 @@ export declare class CreateTrafficMirrorFilterRequestIngressRules extends $dara.
|
|
|
113
113
|
destinationCidrBlock?: string;
|
|
114
114
|
/**
|
|
115
115
|
* @remarks
|
|
116
|
-
* The destination port range of the network traffic for the inbound rule.
|
|
116
|
+
* 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**.
|
|
117
117
|
*
|
|
118
118
|
* > 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.
|
|
119
119
|
*
|
|
@@ -135,7 +135,7 @@ export declare class CreateTrafficMirrorFilterRequestIngressRules extends $dara.
|
|
|
135
135
|
/**
|
|
136
136
|
* @remarks
|
|
137
137
|
* The priority of the inbound rule. A smaller value indicates a higher priority.
|
|
138
|
-
* The maximum value of **N** is **10**, which
|
|
138
|
+
* The maximum value of **N** is **10**, which indicates that you can configure up to 10 inbound rules for a filter.
|
|
139
139
|
*
|
|
140
140
|
* @example
|
|
141
141
|
* 1
|
|
@@ -146,9 +146,9 @@ export declare class CreateTrafficMirrorFilterRequestIngressRules extends $dara.
|
|
|
146
146
|
* The protocol type of the network traffic to be mirrored for the inbound rule. Valid values:
|
|
147
147
|
*
|
|
148
148
|
* - **ALL**: all protocols.
|
|
149
|
-
* - **ICMP**: Internet Control Message Protocol.
|
|
150
|
-
* - **TCP**: Transmission Control Protocol.
|
|
151
|
-
* - **UDP**: User Datagram Protocol.
|
|
149
|
+
* - **ICMP**: Internet Control Message Protocol (ICMP).
|
|
150
|
+
* - **TCP**: Transmission Control Protocol (TCP).
|
|
151
|
+
* - **UDP**: User Datagram Protocol (UDP).
|
|
152
152
|
*
|
|
153
153
|
* @example
|
|
154
154
|
* TCP
|
|
@@ -164,7 +164,7 @@ export declare class CreateTrafficMirrorFilterRequestIngressRules extends $dara.
|
|
|
164
164
|
sourceCidrBlock?: string;
|
|
165
165
|
/**
|
|
166
166
|
* @remarks
|
|
167
|
-
* The source port range of the network traffic for the inbound rule.
|
|
167
|
+
* 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**.
|
|
168
168
|
*
|
|
169
169
|
* > 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.
|
|
170
170
|
*
|
|
@@ -188,7 +188,7 @@ export declare class CreateTrafficMirrorFilterRequestTag extends $dara.Model {
|
|
|
188
188
|
* @remarks
|
|
189
189
|
* 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.
|
|
190
190
|
*
|
|
191
|
-
* A tag key can be up to 128 characters in length
|
|
191
|
+
* A tag key can be up to 128 characters in length and cannot start with `aliyun` or `acs:`. It cannot contain `http://` or `https://`.
|
|
192
192
|
*
|
|
193
193
|
* @example
|
|
194
194
|
* FinanceDept
|
|
@@ -198,7 +198,7 @@ export declare class CreateTrafficMirrorFilterRequestTag extends $dara.Model {
|
|
|
198
198
|
* @remarks
|
|
199
199
|
* 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.
|
|
200
200
|
*
|
|
201
|
-
* A tag value can be up to 128 characters in length
|
|
201
|
+
* A tag value can be up to 128 characters in length and cannot start with `aliyun` or `acs:`. It cannot contain `http://` or `https://`.
|
|
202
202
|
*
|
|
203
203
|
* @example
|
|
204
204
|
* FinanceJoshua
|
|
@@ -220,9 +220,9 @@ export declare class CreateTrafficMirrorFilterRequest extends $dara.Model {
|
|
|
220
220
|
* @remarks
|
|
221
221
|
* The client token that is used to ensure the idempotence of the request.
|
|
222
222
|
*
|
|
223
|
-
* You can
|
|
223
|
+
* 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.
|
|
224
224
|
*
|
|
225
|
-
* > 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
|
|
225
|
+
* > 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.
|
|
226
226
|
*
|
|
227
227
|
* @example
|
|
228
228
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -230,9 +230,9 @@ export declare class CreateTrafficMirrorFilterRequest extends $dara.Model {
|
|
|
230
230
|
clientToken?: string;
|
|
231
231
|
/**
|
|
232
232
|
* @remarks
|
|
233
|
-
* Specifies whether to only dry run the request. Valid values:
|
|
233
|
+
* Specifies whether to only perform a dry run for the request. Valid values:
|
|
234
234
|
*
|
|
235
|
-
* - **true**:
|
|
235
|
+
* - **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.
|
|
236
236
|
*
|
|
237
237
|
* - **false** (default): sends a normal request. If the request passes the check, a 2xx HTTP status code is returned and the filter is created.
|
|
238
238
|
*
|
|
@@ -4,8 +4,8 @@ export declare class CreateTrafficMirrorFilterRulesRequestEgressRules extends $d
|
|
|
4
4
|
* @remarks
|
|
5
5
|
* The collection policy of the outbound rule. Valid values:
|
|
6
6
|
*
|
|
7
|
-
* - **accept**:
|
|
8
|
-
* - **drop**:
|
|
7
|
+
* - **accept**: Collects network traffic.
|
|
8
|
+
* - **drop**: Does not collect network traffic.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* accept
|
|
@@ -21,7 +21,7 @@ export declare class CreateTrafficMirrorFilterRulesRequestEgressRules extends $d
|
|
|
21
21
|
destinationCidrBlock?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* 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
|
|
24
|
+
* 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.
|
|
25
25
|
*
|
|
26
26
|
* > 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.
|
|
27
27
|
*
|
|
@@ -42,7 +42,7 @@ export declare class CreateTrafficMirrorFilterRulesRequestEgressRules extends $d
|
|
|
42
42
|
ipVersion?: string;
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
* The priority of the outbound rule. A smaller value indicates a higher priority. The maximum value of **N** is **10**, which
|
|
45
|
+
* 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.
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
48
|
* 1
|
|
@@ -52,7 +52,7 @@ export declare class CreateTrafficMirrorFilterRulesRequestEgressRules extends $d
|
|
|
52
52
|
* @remarks
|
|
53
53
|
* The protocol type of the network traffic to be mirrored for the outbound rule. Valid values:
|
|
54
54
|
*
|
|
55
|
-
* - **ALL**:
|
|
55
|
+
* - **ALL**: All protocols.
|
|
56
56
|
* - **ICMP**: Internet Control Message Protocol (ICMP).
|
|
57
57
|
* - **TCP**: Transmission Control Protocol (TCP).
|
|
58
58
|
* - **UDP**: User Datagram Protocol (UDP).
|
|
@@ -71,7 +71,7 @@ export declare class CreateTrafficMirrorFilterRulesRequestEgressRules extends $d
|
|
|
71
71
|
sourceCidrBlock?: string;
|
|
72
72
|
/**
|
|
73
73
|
* @remarks
|
|
74
|
-
* 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
|
|
74
|
+
* 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.
|
|
75
75
|
*
|
|
76
76
|
* > 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.
|
|
77
77
|
*
|
|
@@ -95,8 +95,8 @@ export declare class CreateTrafficMirrorFilterRulesRequestIngressRules extends $
|
|
|
95
95
|
* @remarks
|
|
96
96
|
* The collection policy of the inbound rule. Valid values:
|
|
97
97
|
*
|
|
98
|
-
* - **accept**:
|
|
99
|
-
* - **drop**:
|
|
98
|
+
* - **accept**: Collects network traffic.
|
|
99
|
+
* - **drop**: Does not collect network traffic.
|
|
100
100
|
*
|
|
101
101
|
* @example
|
|
102
102
|
* accept
|
|
@@ -112,7 +112,7 @@ export declare class CreateTrafficMirrorFilterRulesRequestIngressRules extends $
|
|
|
112
112
|
destinationCidrBlock?: string;
|
|
113
113
|
/**
|
|
114
114
|
* @remarks
|
|
115
|
-
* 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**.
|
|
115
|
+
* 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**.
|
|
116
116
|
*
|
|
117
117
|
* > 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.
|
|
118
118
|
*
|
|
@@ -133,7 +133,7 @@ export declare class CreateTrafficMirrorFilterRulesRequestIngressRules extends $
|
|
|
133
133
|
ipVersion?: string;
|
|
134
134
|
/**
|
|
135
135
|
* @remarks
|
|
136
|
-
* The priority of the inbound rule. A smaller value indicates a higher priority. The maximum value of **N** is **10**, which
|
|
136
|
+
* 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.
|
|
137
137
|
*
|
|
138
138
|
* @example
|
|
139
139
|
* 1
|
|
@@ -143,7 +143,7 @@ export declare class CreateTrafficMirrorFilterRulesRequestIngressRules extends $
|
|
|
143
143
|
* @remarks
|
|
144
144
|
* The protocol type of the network traffic to be mirrored for the inbound rule. Valid values:
|
|
145
145
|
*
|
|
146
|
-
* - **ALL**:
|
|
146
|
+
* - **ALL**: All protocols.
|
|
147
147
|
* - **ICMP**: Internet Control Message Protocol (ICMP).
|
|
148
148
|
* - **TCP**: Transmission Control Protocol (TCP).
|
|
149
149
|
* - **UDP**: User Datagram Protocol (UDP).
|
|
@@ -162,7 +162,7 @@ export declare class CreateTrafficMirrorFilterRulesRequestIngressRules extends $
|
|
|
162
162
|
sourceCidrBlock?: string;
|
|
163
163
|
/**
|
|
164
164
|
* @remarks
|
|
165
|
-
* 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
|
|
165
|
+
* 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.
|
|
166
166
|
*
|
|
167
167
|
* > 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.
|
|
168
168
|
*
|
|
@@ -186,7 +186,7 @@ export declare class CreateTrafficMirrorFilterRulesRequest extends $dara.Model {
|
|
|
186
186
|
* @remarks
|
|
187
187
|
* The client token that is used to ensure the idempotence of the request.
|
|
188
188
|
*
|
|
189
|
-
* You can
|
|
189
|
+
* 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.
|
|
190
190
|
*
|
|
191
191
|
* > 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.
|
|
192
192
|
*
|
|
@@ -196,11 +196,12 @@ export declare class CreateTrafficMirrorFilterRulesRequest extends $dara.Model {
|
|
|
196
196
|
clientToken?: string;
|
|
197
197
|
/**
|
|
198
198
|
* @remarks
|
|
199
|
-
* Specifies whether to
|
|
199
|
+
* Specifies whether to only precheck the request. Valid values:
|
|
200
200
|
*
|
|
201
|
-
* - **true**:
|
|
201
|
+
* - **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.
|
|
202
202
|
*
|
|
203
|
-
*
|
|
203
|
+
*
|
|
204
|
+
* - **false** (default): The system sends a normal request. After the request passes the precheck, the system creates the inbound or outbound rules.
|
|
204
205
|
*
|
|
205
206
|
* @example
|
|
206
207
|
* false
|
|
@@ -220,9 +221,9 @@ export declare class CreateTrafficMirrorFilterRulesRequest extends $dara.Model {
|
|
|
220
221
|
ownerId?: number;
|
|
221
222
|
/**
|
|
222
223
|
* @remarks
|
|
223
|
-
* The region ID of the traffic mirror.
|
|
224
|
+
* The region ID of the traffic mirror filter.
|
|
224
225
|
*
|
|
225
|
-
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query
|
|
226
|
+
* 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).
|
|
226
227
|
*
|
|
227
228
|
* This parameter is required.
|
|
228
229
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateTrafficMirrorFilterRulesRequest.js","sourceRo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