@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 DescribeVpnConnectionResponseBodyIkeConfig extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The authentication algorithm
|
|
8
|
+
* The authentication algorithm at the IKE stage.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* sha1
|
|
@@ -13,7 +13,7 @@ export class DescribeVpnConnectionResponseBodyIkeConfig extends $dara.Model {
|
|
|
13
13
|
ikeAuthAlg?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The encryption algorithm
|
|
16
|
+
* The encryption algorithm at the IKE stage.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* aes
|
|
@@ -21,7 +21,7 @@ export class DescribeVpnConnectionResponseBodyIkeConfig extends $dara.Model {
|
|
|
21
21
|
ikeEncAlg?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The IKE
|
|
24
|
+
* The lifetime of the IKE SA. Unit: seconds.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 86400
|
|
@@ -29,7 +29,9 @@ export class DescribeVpnConnectionResponseBodyIkeConfig extends $dara.Model {
|
|
|
29
29
|
ikeLifetime?: number;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The IKE negotiation mode.
|
|
32
|
+
* The IKE negotiation mode. Valid values:
|
|
33
|
+
* - **main**: Main mode. The negotiation process is highly secure.
|
|
34
|
+
* - **aggressive**: Aggressive mode. The negotiation process is fast and has a high success rate.
|
|
33
35
|
*
|
|
34
36
|
* @example
|
|
35
37
|
* main
|
|
@@ -37,7 +39,7 @@ export class DescribeVpnConnectionResponseBodyIkeConfig extends $dara.Model {
|
|
|
37
39
|
ikeMode?: string;
|
|
38
40
|
/**
|
|
39
41
|
* @remarks
|
|
40
|
-
* The DH group
|
|
42
|
+
* The Diffie-Hellman (DH) group at the IKE stage.
|
|
41
43
|
*
|
|
42
44
|
* @example
|
|
43
45
|
* group2
|
|
@@ -45,12 +47,10 @@ export class DescribeVpnConnectionResponseBodyIkeConfig extends $dara.Model {
|
|
|
45
47
|
ikePfs?: string;
|
|
46
48
|
/**
|
|
47
49
|
* @remarks
|
|
48
|
-
* The IKE
|
|
49
|
-
*
|
|
50
|
+
* The IKE version. Valid values:
|
|
50
51
|
* - **ikev1**
|
|
51
52
|
* - **ikev2**
|
|
52
|
-
*
|
|
53
|
-
* Compared with IKEv1, IKEv2 simplifies the SA negotiation process and provides better support for multi-CIDR-block scenarios.
|
|
53
|
+
* Compared with IKEv1, IKEv2 simplifies the SA negotiation process and provides better support for scenarios where multiple CIDR blocks are used.
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
56
56
|
* ikev1
|
|
@@ -74,7 +74,7 @@ export class DescribeVpnConnectionResponseBodyIkeConfig extends $dara.Model {
|
|
|
74
74
|
psk?: string;
|
|
75
75
|
/**
|
|
76
76
|
* @remarks
|
|
77
|
-
* The identifier
|
|
77
|
+
* The identifier of the peer on the data center side of the IPsec-VPN connection.
|
|
78
78
|
*
|
|
79
79
|
* @example
|
|
80
80
|
* 139.34.XX.XX
|
|
@@ -120,7 +120,7 @@ export class DescribeVpnConnectionResponseBodyIkeConfig extends $dara.Model {
|
|
|
120
120
|
export class DescribeVpnConnectionResponseBodyIpsecConfig extends $dara.Model {
|
|
121
121
|
/**
|
|
122
122
|
* @remarks
|
|
123
|
-
* The authentication algorithm
|
|
123
|
+
* The authentication algorithm at the IPsec stage.
|
|
124
124
|
*
|
|
125
125
|
* @example
|
|
126
126
|
* sha1
|
|
@@ -128,7 +128,7 @@ export class DescribeVpnConnectionResponseBodyIpsecConfig extends $dara.Model {
|
|
|
128
128
|
ipsecAuthAlg?: string;
|
|
129
129
|
/**
|
|
130
130
|
* @remarks
|
|
131
|
-
* The encryption algorithm
|
|
131
|
+
* The encryption algorithm at the IPsec stage.
|
|
132
132
|
*
|
|
133
133
|
* @example
|
|
134
134
|
* aes
|
|
@@ -136,7 +136,7 @@ export class DescribeVpnConnectionResponseBodyIpsecConfig extends $dara.Model {
|
|
|
136
136
|
ipsecEncAlg?: string;
|
|
137
137
|
/**
|
|
138
138
|
* @remarks
|
|
139
|
-
* The IPsec
|
|
139
|
+
* The lifetime of the IPsec SA. Unit: seconds.
|
|
140
140
|
*
|
|
141
141
|
* @example
|
|
142
142
|
* 86400
|
|
@@ -144,7 +144,7 @@ export class DescribeVpnConnectionResponseBodyIpsecConfig extends $dara.Model {
|
|
|
144
144
|
ipsecLifetime?: number;
|
|
145
145
|
/**
|
|
146
146
|
* @remarks
|
|
147
|
-
* The DH group
|
|
147
|
+
* The DH group at the IPsec stage.
|
|
148
148
|
*
|
|
149
149
|
* @example
|
|
150
150
|
* group2
|
|
@@ -454,11 +454,9 @@ export class DescribeVpnConnectionResponseBodyVcoHealthCheck extends $dara.Model
|
|
|
454
454
|
dip?: string;
|
|
455
455
|
/**
|
|
456
456
|
* @remarks
|
|
457
|
-
* Indicates whether health
|
|
458
|
-
*
|
|
459
|
-
* - **
|
|
460
|
-
*
|
|
461
|
-
* - **true**: Enabled.
|
|
457
|
+
* Indicates whether health checks are enabled for the IPsec-VPN connection. Valid values:
|
|
458
|
+
* - **false**: Health checks are disabled.
|
|
459
|
+
* - **true**: Health checks are enabled.
|
|
462
460
|
*
|
|
463
461
|
* @example
|
|
464
462
|
* true
|
|
@@ -466,7 +464,7 @@ export class DescribeVpnConnectionResponseBodyVcoHealthCheck extends $dara.Model
|
|
|
466
464
|
enable?: string;
|
|
467
465
|
/**
|
|
468
466
|
* @remarks
|
|
469
|
-
* The retry interval
|
|
467
|
+
* The retry interval for health checks. Unit: seconds.
|
|
470
468
|
*
|
|
471
469
|
* @example
|
|
472
470
|
* 3
|
|
@@ -474,7 +472,9 @@ export class DescribeVpnConnectionResponseBodyVcoHealthCheck extends $dara.Model
|
|
|
474
472
|
interval?: number;
|
|
475
473
|
/**
|
|
476
474
|
* @remarks
|
|
477
|
-
* Indicates whether published routes
|
|
475
|
+
* Indicates whether to revoke published routes when a health check fails. Valid values:
|
|
476
|
+
* - **revoke_route**: Revoke routes.
|
|
477
|
+
* - **reserve_route**: Do not revoke routes.
|
|
478
478
|
*
|
|
479
479
|
* @example
|
|
480
480
|
* revoke_route
|
|
@@ -482,7 +482,7 @@ export class DescribeVpnConnectionResponseBodyVcoHealthCheck extends $dara.Model
|
|
|
482
482
|
policy?: string;
|
|
483
483
|
/**
|
|
484
484
|
* @remarks
|
|
485
|
-
* The number of health check retries.
|
|
485
|
+
* The maximum number of health check retries.
|
|
486
486
|
*
|
|
487
487
|
* @example
|
|
488
488
|
* 3
|
|
@@ -498,7 +498,9 @@ export class DescribeVpnConnectionResponseBodyVcoHealthCheck extends $dara.Model
|
|
|
498
498
|
sip?: string;
|
|
499
499
|
/**
|
|
500
500
|
* @remarks
|
|
501
|
-
* The health check status.
|
|
501
|
+
* The health check status. Valid values:
|
|
502
|
+
* - **failed**: Abnormal.
|
|
503
|
+
* - **success**: Normal.
|
|
502
504
|
*
|
|
503
505
|
* @example
|
|
504
506
|
* failed
|
|
@@ -548,7 +550,9 @@ export class DescribeVpnConnectionResponseBodyVpnBgpConfig extends $dara.Model {
|
|
|
548
550
|
authKey?: string;
|
|
549
551
|
/**
|
|
550
552
|
* @remarks
|
|
551
|
-
* The enabling status of the BGP routing protocol.
|
|
553
|
+
* The enabling status of the BGP routing protocol. Valid values:
|
|
554
|
+
* - **true**: Enabled.
|
|
555
|
+
* - **false**: Disabled.
|
|
552
556
|
*
|
|
553
557
|
* @example
|
|
554
558
|
* true
|
|
@@ -572,7 +576,7 @@ export class DescribeVpnConnectionResponseBodyVpnBgpConfig extends $dara.Model {
|
|
|
572
576
|
localBgpIp?: string;
|
|
573
577
|
/**
|
|
574
578
|
* @remarks
|
|
575
|
-
* The autonomous system number of the peer.
|
|
579
|
+
* The autonomous system number (ASN) of the peer.
|
|
576
580
|
*
|
|
577
581
|
* @example
|
|
578
582
|
* 65530
|
|
@@ -588,7 +592,9 @@ export class DescribeVpnConnectionResponseBodyVpnBgpConfig extends $dara.Model {
|
|
|
588
592
|
peerBgpIp?: string;
|
|
589
593
|
/**
|
|
590
594
|
* @remarks
|
|
591
|
-
* The negotiation status of the BGP routing protocol.
|
|
595
|
+
* The negotiation status of the BGP routing protocol. Valid values:
|
|
596
|
+
* - **success**: Normal.
|
|
597
|
+
* - **failed**: Abnormal.
|
|
592
598
|
*
|
|
593
599
|
* @example
|
|
594
600
|
* success
|
|
@@ -596,7 +602,7 @@ export class DescribeVpnConnectionResponseBodyVpnBgpConfig extends $dara.Model {
|
|
|
596
602
|
status?: string;
|
|
597
603
|
/**
|
|
598
604
|
* @remarks
|
|
599
|
-
* The BGP CIDR block of the IPsec-VPN connection. The CIDR block
|
|
605
|
+
* The BGP CIDR block of the IPsec-VPN connection. The CIDR block must be a subnet of 169.254.0.0/16 with a subnet mask length of 30 bits.
|
|
600
606
|
*
|
|
601
607
|
* @example
|
|
602
608
|
* 169.254.11.0/30
|
|
@@ -640,7 +646,7 @@ export class DescribeVpnConnectionResponseBodyVpnBgpConfig extends $dara.Model {
|
|
|
640
646
|
export class DescribeVpnConnectionResponseBody extends $dara.Model {
|
|
641
647
|
/**
|
|
642
648
|
* @remarks
|
|
643
|
-
* The
|
|
649
|
+
* The ID of the Cloud Enterprise Network (CEN) instance to which the transit router instance belongs.
|
|
644
650
|
*
|
|
645
651
|
* @example
|
|
646
652
|
* cen-lxxpbpalc776qz****
|
|
@@ -648,11 +654,10 @@ export class DescribeVpnConnectionResponseBody extends $dara.Model {
|
|
|
648
654
|
attachInstanceId?: string;
|
|
649
655
|
/**
|
|
650
656
|
* @remarks
|
|
651
|
-
* The type of resource
|
|
652
|
-
*
|
|
653
|
-
* - **
|
|
654
|
-
* - **
|
|
655
|
-
* - **VPNGW**: The IPsec-VPN connection is attached to a VPN gateway instance.
|
|
657
|
+
* The type of resource associated with the IPsec-VPN connection. Valid values:
|
|
658
|
+
* - **CEN**: The IPsec-VPN connection is associated with a transit router of a Cloud Enterprise Network (CEN) instance.
|
|
659
|
+
* - **NO_ASSOCIATED**: The IPsec-VPN connection is not associated with any resource.
|
|
660
|
+
* - **VPNGW**: The IPsec-VPN connection is associated with a VPN gateway.
|
|
656
661
|
*
|
|
657
662
|
* @example
|
|
658
663
|
* CEN
|
|
@@ -661,8 +666,7 @@ export class DescribeVpnConnectionResponseBody extends $dara.Model {
|
|
|
661
666
|
/**
|
|
662
667
|
* @remarks
|
|
663
668
|
* The timestamp when the IPsec-VPN connection was created. Unit: milliseconds.
|
|
664
|
-
*
|
|
665
|
-
* The timestamp is in the UNIX timestamp format, which represents the total number of milliseconds that have elapsed since January 1, 1970, 00:00:00 (UTC) to the time when the IPsec-VPN connection was created.
|
|
669
|
+
* The timestamp is in UNIX timestamp format, which indicates the total number of milliseconds that have elapsed since 00:00:00 UTC on January 1, 1970.
|
|
666
670
|
*
|
|
667
671
|
* @example
|
|
668
672
|
* 1492753817000
|
|
@@ -670,7 +674,9 @@ export class DescribeVpnConnectionResponseBody extends $dara.Model {
|
|
|
670
674
|
createTime?: number;
|
|
671
675
|
/**
|
|
672
676
|
* @remarks
|
|
673
|
-
* Indicates whether the IPsec-VPN connection is
|
|
677
|
+
* Indicates whether the IPsec-VPN connection is associated with a cross-account transit router. Valid values:
|
|
678
|
+
* - **true**: Yes.
|
|
679
|
+
* - **false**: No.
|
|
674
680
|
*
|
|
675
681
|
* @example
|
|
676
682
|
* false
|
|
@@ -686,11 +692,9 @@ export class DescribeVpnConnectionResponseBody extends $dara.Model {
|
|
|
686
692
|
customerGatewayId?: string;
|
|
687
693
|
/**
|
|
688
694
|
* @remarks
|
|
689
|
-
* Indicates whether the IPsec-VPN connection
|
|
690
|
-
*
|
|
691
|
-
* - **
|
|
692
|
-
*
|
|
693
|
-
* - **false**: The configurations do not take effect immediately. A reconnection is triggered when traffic is detected.
|
|
695
|
+
* Indicates whether the configuration of the IPsec-VPN connection takes effect immediately. Valid values:
|
|
696
|
+
* - **true**: Yes. A reconnection is triggered after the configuration is changed.
|
|
697
|
+
* - **false**: No. A reconnection is triggered when traffic is detected.
|
|
694
698
|
*
|
|
695
699
|
* @example
|
|
696
700
|
* true
|
|
@@ -698,7 +702,10 @@ export class DescribeVpnConnectionResponseBody extends $dara.Model {
|
|
|
698
702
|
effectImmediately?: boolean;
|
|
699
703
|
/**
|
|
700
704
|
* @remarks
|
|
701
|
-
* Indicates whether
|
|
705
|
+
* Indicates whether dead peer detection (DPD) is enabled for the IPsec-VPN connection. Valid values:
|
|
706
|
+
* - **false**: DPD is disabled.
|
|
707
|
+
* - **true**: DPD is enabled.
|
|
708
|
+
* After DPD is enabled, the initiator of the IPsec-VPN connection sends DPD packets to check whether the peer device is alive. If no valid response is received within the specified time, the peer device is considered disconnected. The IPsec-VPN connection deletes the ISAKMP SA and the corresponding IPsec SA, and the secure tunnel is also deleted.
|
|
702
709
|
*
|
|
703
710
|
* @example
|
|
704
711
|
* true
|
|
@@ -706,7 +713,10 @@ export class DescribeVpnConnectionResponseBody extends $dara.Model {
|
|
|
706
713
|
enableDpd?: boolean;
|
|
707
714
|
/**
|
|
708
715
|
* @remarks
|
|
709
|
-
* Indicates whether NAT traversal is enabled for the IPsec-VPN connection.
|
|
716
|
+
* Indicates whether NAT traversal is enabled for the IPsec-VPN connection. Valid values:
|
|
717
|
+
* - **true**: NAT traversal is enabled.
|
|
718
|
+
* - **false**: NAT traversal is disabled.
|
|
719
|
+
* After NAT traversal is enabled, the verification of the UDP port number is skipped during the IKE negotiation process, and NAT gateway devices in the VPN tunnel can be discovered.
|
|
710
720
|
*
|
|
711
721
|
* @example
|
|
712
722
|
* true
|
|
@@ -714,7 +724,10 @@ export class DescribeVpnConnectionResponseBody extends $dara.Model {
|
|
|
714
724
|
enableNatTraversal?: boolean;
|
|
715
725
|
/**
|
|
716
726
|
* @remarks
|
|
717
|
-
* The enabling status of tunnel
|
|
727
|
+
* The enabling status of BGP for the tunnel.
|
|
728
|
+
*
|
|
729
|
+
* - **true**: Enabled.
|
|
730
|
+
* - **false**: Disabled.
|
|
718
731
|
*
|
|
719
732
|
* @example
|
|
720
733
|
* true
|
|
@@ -722,7 +735,7 @@ export class DescribeVpnConnectionResponseBody extends $dara.Model {
|
|
|
722
735
|
enableTunnelsBgp?: boolean;
|
|
723
736
|
/**
|
|
724
737
|
* @remarks
|
|
725
|
-
* The configuration of Phase 1
|
|
738
|
+
* The configuration of Phase 1 negotiations.
|
|
726
739
|
*/
|
|
727
740
|
ikeConfig?: DescribeVpnConnectionResponseBodyIkeConfig;
|
|
728
741
|
/**
|
|
@@ -735,12 +748,13 @@ export class DescribeVpnConnectionResponseBody extends $dara.Model {
|
|
|
735
748
|
internetIp?: string;
|
|
736
749
|
/**
|
|
737
750
|
* @remarks
|
|
738
|
-
* The configuration of Phase 2
|
|
751
|
+
* The configuration of Phase 2 negotiations.
|
|
739
752
|
*/
|
|
740
753
|
ipsecConfig?: DescribeVpnConnectionResponseBodyIpsecConfig;
|
|
741
754
|
/**
|
|
742
755
|
* @remarks
|
|
743
756
|
* The CIDR block on the Alibaba Cloud side of the IPsec-VPN connection.
|
|
757
|
+
* If multiple CIDR blocks are specified, they are separated by commas (,).
|
|
744
758
|
*
|
|
745
759
|
* @example
|
|
746
760
|
* 10.0.0.0/8
|
|
@@ -756,10 +770,9 @@ export class DescribeVpnConnectionResponseBody extends $dara.Model {
|
|
|
756
770
|
name?: string;
|
|
757
771
|
/**
|
|
758
772
|
* @remarks
|
|
759
|
-
* The network type of the IPsec-VPN connection.
|
|
760
|
-
*
|
|
761
|
-
* - **
|
|
762
|
-
* - **private**: private network. The IPsec-VPN connection establishes an encrypted communication channel over a private network.
|
|
773
|
+
* The network type of the IPsec-VPN connection. Valid values:
|
|
774
|
+
* - **public**: Internet. The IPsec-VPN connection establishes an encrypted communication channel over the Internet.
|
|
775
|
+
* - **private**: Private network. The IPsec-VPN connection establishes an encrypted communication channel over a private network.
|
|
763
776
|
*
|
|
764
777
|
* @example
|
|
765
778
|
* public
|
|
@@ -775,7 +788,8 @@ export class DescribeVpnConnectionResponseBody extends $dara.Model {
|
|
|
775
788
|
remoteCaCertificate?: string;
|
|
776
789
|
/**
|
|
777
790
|
* @remarks
|
|
778
|
-
* The CIDR block on the
|
|
791
|
+
* The CIDR block on the data center side of the IPsec-VPN connection.
|
|
792
|
+
* If multiple CIDR blocks are specified, they are separated by commas (,).
|
|
779
793
|
*
|
|
780
794
|
* @example
|
|
781
795
|
* 192.168.0.0/16
|
|
@@ -801,7 +815,7 @@ export class DescribeVpnConnectionResponseBody extends $dara.Model {
|
|
|
801
815
|
resourceGroupId?: string;
|
|
802
816
|
/**
|
|
803
817
|
* @remarks
|
|
804
|
-
* The bandwidth specification of the IPsec-VPN connection. Unit: **
|
|
818
|
+
* The bandwidth specification of the IPsec-VPN connection. Unit: **Mbit/s**.
|
|
805
819
|
*
|
|
806
820
|
* @example
|
|
807
821
|
* 1000M
|
|
@@ -809,7 +823,17 @@ export class DescribeVpnConnectionResponseBody extends $dara.Model {
|
|
|
809
823
|
spec?: string;
|
|
810
824
|
/**
|
|
811
825
|
* @remarks
|
|
812
|
-
* The
|
|
826
|
+
* The association status between the IPsec-VPN connection and the transit router instance. Valid values:
|
|
827
|
+
* - **active**: The IPsec-VPN connection is associated with a VPN gateway instance and is in a normal state.
|
|
828
|
+
* - **init**: The IPsec-VPN connection is not associated with any resource, and the IPsec-VPN connection is being initialized.
|
|
829
|
+
* - **attaching**: The IPsec-VPN connection is being associated with the transit router instance.
|
|
830
|
+
* - **attached**: The IPsec-VPN connection is associated with the transit router instance.
|
|
831
|
+
* - **detaching**: The IPsec-VPN connection is being disassociated from the transit router instance.
|
|
832
|
+
* - **financialLocked**: The instance is locked due to overdue payments.
|
|
833
|
+
* - **provisioning**: The resource is being prepared.
|
|
834
|
+
* - **updating**: The IPsec-VPN connection is being updated.
|
|
835
|
+
* - **upgrading**: The IPsec-VPN connection is being upgraded.
|
|
836
|
+
* - **deleted**: The IPsec-VPN connection is deleted.
|
|
813
837
|
*
|
|
814
838
|
* @example
|
|
815
839
|
* attached
|
|
@@ -817,14 +841,10 @@ export class DescribeVpnConnectionResponseBody extends $dara.Model {
|
|
|
817
841
|
state?: string;
|
|
818
842
|
/**
|
|
819
843
|
* @remarks
|
|
820
|
-
* The status of the IPsec-VPN connection.
|
|
821
|
-
*
|
|
844
|
+
* The status of the IPsec-VPN connection. Valid values:
|
|
822
845
|
* - **ike_sa_not_established**: Phase 1 negotiation failed.
|
|
823
|
-
*
|
|
824
846
|
* - **ike_sa_established**: Phase 1 negotiation succeeded.
|
|
825
|
-
*
|
|
826
847
|
* - **ipsec_sa_not_established**: Phase 2 negotiation failed.
|
|
827
|
-
*
|
|
828
848
|
* - **ipsec_sa_established**: Phase 2 negotiation succeeded.
|
|
829
849
|
*
|
|
830
850
|
* @example
|
|
@@ -834,7 +854,7 @@ export class DescribeVpnConnectionResponseBody extends $dara.Model {
|
|
|
834
854
|
tags?: DescribeVpnConnectionResponseBodyTags;
|
|
835
855
|
/**
|
|
836
856
|
* @remarks
|
|
837
|
-
* The
|
|
857
|
+
* The ID of the transit router instance associated with the IPsec-VPN connection.
|
|
838
858
|
*
|
|
839
859
|
* @example
|
|
840
860
|
* tr-p0we2edef9qr44a85****
|
|
@@ -842,7 +862,7 @@ export class DescribeVpnConnectionResponseBody extends $dara.Model {
|
|
|
842
862
|
transitRouterId?: string;
|
|
843
863
|
/**
|
|
844
864
|
* @remarks
|
|
845
|
-
* The name of the transit router
|
|
865
|
+
* The name of the transit router.
|
|
846
866
|
*
|
|
847
867
|
* @example
|
|
848
868
|
* nametest
|
|
@@ -851,6 +871,8 @@ export class DescribeVpnConnectionResponseBody extends $dara.Model {
|
|
|
851
871
|
/**
|
|
852
872
|
* @remarks
|
|
853
873
|
* The bandwidth specification of a single VPN tunnel. Valid values:
|
|
874
|
+
* - Standard (default): The standard type. The default bandwidth is 1 Gbps.
|
|
875
|
+
* - Large: The large type. The default bandwidth is 3 Gbps.
|
|
854
876
|
*
|
|
855
877
|
* @example
|
|
856
878
|
* Standard
|
|
@@ -877,7 +899,7 @@ export class DescribeVpnConnectionResponseBody extends $dara.Model {
|
|
|
877
899
|
vpnConnectionId?: string;
|
|
878
900
|
/**
|
|
879
901
|
* @remarks
|
|
880
|
-
* The
|
|
902
|
+
* The ID of the VPN gateway instance.
|
|
881
903
|
*
|
|
882
904
|
* @example
|
|
883
905
|
* vpn-bp1q8bgx4xnkm2ogj****
|
|
@@ -885,8 +907,7 @@ export class DescribeVpnConnectionResponseBody extends $dara.Model {
|
|
|
885
907
|
vpnGatewayId?: string;
|
|
886
908
|
/**
|
|
887
909
|
* @remarks
|
|
888
|
-
* The zone
|
|
889
|
-
*
|
|
910
|
+
* The ID of the zone where the IPsec-VPN connection is deployed.
|
|
890
911
|
* You can call the [DescribeZones](https://help.aliyun.com/document_detail/36064.html) operation to query the mapping between zone IDs and zones.
|
|
891
912
|
*
|
|
892
913
|
* @example
|
|
@@ -5,9 +5,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeVSwitchAttributesRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Specifies whether to
|
|
9
|
-
* - **true**:
|
|
10
|
-
* - **false** (default):
|
|
8
|
+
* Specifies whether to only precheck the request. Valid values:
|
|
9
|
+
* - **true**: The system prechecks the request without querying the configuration information of the vSwitch. The system checks whether required parameters are specified, the request format is valid, and 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.
|
|
10
|
+
* - **false** (default): The system sends a normal request. If the request passes the precheck, an HTTP 2xx status code is returned and the configuration information of the vSwitch is queried.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* false
|
|
@@ -19,7 +19,7 @@ export class DescribeVSwitchAttributesRequest extends $dara.Model {
|
|
|
19
19
|
* @remarks
|
|
20
20
|
* The region ID of the VPC to which the route table belongs.
|
|
21
21
|
*
|
|
22
|
-
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query
|
|
22
|
+
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query region IDs.
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* cn-hangzhou
|
|
@@ -29,7 +29,7 @@ export class DescribeVSwitchAttributesRequest extends $dara.Model {
|
|
|
29
29
|
resourceOwnerId?: number;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The ID of the vSwitch
|
|
32
|
+
* The ID of the vSwitch.
|
|
33
33
|
*
|
|
34
34
|
* This parameter is required.
|
|
35
35
|
*
|
|
@@ -15,9 +15,9 @@ export class DescribeVSwitchAttributesResponseBodyRouteTable extends $dara.Model
|
|
|
15
15
|
* @remarks
|
|
16
16
|
* The type of the route table. Valid values:
|
|
17
17
|
*
|
|
18
|
-
* - **System**:
|
|
18
|
+
* - **System**: System route table.
|
|
19
19
|
*
|
|
20
|
-
* - **Custom**:
|
|
20
|
+
* - **Custom**: Custom route table.
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* System
|
|
@@ -109,7 +109,7 @@ export class DescribeVSwitchAttributesResponseBody extends $dara.Model {
|
|
|
109
109
|
availableIpAddressCount?: number;
|
|
110
110
|
/**
|
|
111
111
|
* @remarks
|
|
112
|
-
* The private
|
|
112
|
+
* The private endpoint range of the vSwitch.
|
|
113
113
|
*
|
|
114
114
|
* @example
|
|
115
115
|
* 192.168.0.1/24
|
|
@@ -133,9 +133,9 @@ export class DescribeVSwitchAttributesResponseBody extends $dara.Model {
|
|
|
133
133
|
description?: string;
|
|
134
134
|
/**
|
|
135
135
|
* @remarks
|
|
136
|
-
*
|
|
137
|
-
* - **true**:
|
|
138
|
-
* - **false**:
|
|
136
|
+
* Specifies whether the IPv6 CIDR block is enabled and configured for the vSwitch. Valid values:
|
|
137
|
+
* - **true**: Enabled.
|
|
138
|
+
* - **false**: Disabled.
|
|
139
139
|
*
|
|
140
140
|
* @example
|
|
141
141
|
* true
|
|
@@ -151,7 +151,18 @@ export class DescribeVSwitchAttributesResponseBody extends $dara.Model {
|
|
|
151
151
|
ipv6CidrBlock?: string;
|
|
152
152
|
/**
|
|
153
153
|
* @remarks
|
|
154
|
-
* Indicates whether the vSwitch is
|
|
154
|
+
* Indicates whether the vSwitch is an IPv6 single-stack vSwitch. Valid values:
|
|
155
|
+
*
|
|
156
|
+
* - true: The vSwitch is an IPv6 single-stack vSwitch.
|
|
157
|
+
* - false: The vSwitch is not an IPv6 single-stack vSwitch.
|
|
158
|
+
*
|
|
159
|
+
* @example
|
|
160
|
+
* false
|
|
161
|
+
*/
|
|
162
|
+
ipv6Only?: boolean;
|
|
163
|
+
/**
|
|
164
|
+
* @remarks
|
|
165
|
+
* Specifies whether the vSwitch is the default vSwitch. Valid values:
|
|
155
166
|
*
|
|
156
167
|
* - **true**: The vSwitch is the default vSwitch.
|
|
157
168
|
* - **false**: The vSwitch is not the default vSwitch.
|
|
@@ -170,9 +181,9 @@ export class DescribeVSwitchAttributesResponseBody extends $dara.Model {
|
|
|
170
181
|
networkAclId?: string;
|
|
171
182
|
/**
|
|
172
183
|
* @remarks
|
|
173
|
-
* The Alibaba Cloud account ID of the resource
|
|
184
|
+
* The Alibaba Cloud account ID of the resource owner.
|
|
174
185
|
*
|
|
175
|
-
* >Notice: This value is of the Long type
|
|
186
|
+
* >Notice: This value is of the Long type and may cause precision loss in some programming languages. Use it with caution.
|
|
176
187
|
*
|
|
177
188
|
* @example
|
|
178
189
|
* 28768383240243****
|
|
@@ -180,7 +191,7 @@ export class DescribeVSwitchAttributesResponseBody extends $dara.Model {
|
|
|
180
191
|
ownerId?: number;
|
|
181
192
|
/**
|
|
182
193
|
* @remarks
|
|
183
|
-
* The request
|
|
194
|
+
* The ID of the request.
|
|
184
195
|
*
|
|
185
196
|
* @example
|
|
186
197
|
* 7B48B4B9-1EAD-469F-B488-594DAB4B6A1A
|
|
@@ -188,7 +199,7 @@ export class DescribeVSwitchAttributesResponseBody extends $dara.Model {
|
|
|
188
199
|
requestId?: string;
|
|
189
200
|
/**
|
|
190
201
|
* @remarks
|
|
191
|
-
* The resource group
|
|
202
|
+
* The ID of the resource group.
|
|
192
203
|
*
|
|
193
204
|
* @example
|
|
194
205
|
* rg-acfmxazb4ph****
|
|
@@ -201,11 +212,11 @@ export class DescribeVSwitchAttributesResponseBody extends $dara.Model {
|
|
|
201
212
|
routeTable?: DescribeVSwitchAttributesResponseBodyRouteTable;
|
|
202
213
|
/**
|
|
203
214
|
* @remarks
|
|
204
|
-
* The
|
|
215
|
+
* The share type of the vSwitch.
|
|
205
216
|
*
|
|
206
|
-
* - If the value is empty, the vSwitch is a
|
|
217
|
+
* - If the value is empty, the vSwitch is a standard vSwitch.
|
|
207
218
|
* - If the value is **Shared**, the vSwitch is a shared vSwitch.
|
|
208
|
-
* - If the value is **Sharing**, the vSwitch is being shared
|
|
219
|
+
* - If the value is **Sharing**, the vSwitch is being shared.
|
|
209
220
|
*
|
|
210
221
|
* @example
|
|
211
222
|
* Shared
|
|
@@ -215,9 +226,9 @@ export class DescribeVSwitchAttributesResponseBody extends $dara.Model {
|
|
|
215
226
|
* @remarks
|
|
216
227
|
* The status of the vSwitch. Valid values:
|
|
217
228
|
*
|
|
218
|
-
* - **Pending**:
|
|
229
|
+
* - **Pending**: Configuring.
|
|
219
230
|
*
|
|
220
|
-
* - **Available**:
|
|
231
|
+
* - **Available**: Available.
|
|
221
232
|
*
|
|
222
233
|
* @example
|
|
223
234
|
* Pending
|
|
@@ -264,6 +275,7 @@ export class DescribeVSwitchAttributesResponseBody extends $dara.Model {
|
|
|
264
275
|
description: 'Description',
|
|
265
276
|
enabledIpv6: 'EnabledIpv6',
|
|
266
277
|
ipv6CidrBlock: 'Ipv6CidrBlock',
|
|
278
|
+
ipv6Only: 'Ipv6Only',
|
|
267
279
|
isDefault: 'IsDefault',
|
|
268
280
|
networkAclId: 'NetworkAclId',
|
|
269
281
|
ownerId: 'OwnerId',
|
|
@@ -288,6 +300,7 @@ export class DescribeVSwitchAttributesResponseBody extends $dara.Model {
|
|
|
288
300
|
description: 'string',
|
|
289
301
|
enabledIpv6: 'boolean',
|
|
290
302
|
ipv6CidrBlock: 'string',
|
|
303
|
+
ipv6Only: 'boolean',
|
|
291
304
|
isDefault: 'boolean',
|
|
292
305
|
networkAclId: 'string',
|
|
293
306
|
ownerId: 'number',
|