@alicloud/vpc20160428 4.0.2 → 4.1.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 +215 -4
- package/dist/client.js +377 -9
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +477 -4
package/dist/client.d.ts
CHANGED
|
@@ -7536,6 +7536,7 @@ export declare class DescribeEipAddressesRequest extends $tea.Model {
|
|
|
7536
7536
|
securityProtectionEnabled?: boolean;
|
|
7537
7537
|
segmentInstanceId?: string;
|
|
7538
7538
|
status?: string;
|
|
7539
|
+
tag?: DescribeEipAddressesRequestTag[];
|
|
7539
7540
|
static names(): {
|
|
7540
7541
|
[key: string]: string;
|
|
7541
7542
|
};
|
|
@@ -15062,6 +15063,66 @@ export declare class ModifySslVpnServerResponse extends $tea.Model {
|
|
|
15062
15063
|
[key: string]: any;
|
|
15063
15064
|
});
|
|
15064
15065
|
}
|
|
15066
|
+
export declare class ModifyTunnelAttributeRequest extends $tea.Model {
|
|
15067
|
+
clientToken?: string;
|
|
15068
|
+
ownerAccount?: string;
|
|
15069
|
+
ownerId?: number;
|
|
15070
|
+
regionId?: string;
|
|
15071
|
+
resourceOwnerAccount?: string;
|
|
15072
|
+
resourceOwnerId?: number;
|
|
15073
|
+
tunnelId?: string;
|
|
15074
|
+
tunnelOptionsSpecification?: ModifyTunnelAttributeRequestTunnelOptionsSpecification;
|
|
15075
|
+
vpnConnectionId?: string;
|
|
15076
|
+
static names(): {
|
|
15077
|
+
[key: string]: string;
|
|
15078
|
+
};
|
|
15079
|
+
static types(): {
|
|
15080
|
+
[key: string]: any;
|
|
15081
|
+
};
|
|
15082
|
+
constructor(map?: {
|
|
15083
|
+
[key: string]: any;
|
|
15084
|
+
});
|
|
15085
|
+
}
|
|
15086
|
+
export declare class ModifyTunnelAttributeResponseBody extends $tea.Model {
|
|
15087
|
+
customerGatewayId?: string;
|
|
15088
|
+
enableDpd?: boolean;
|
|
15089
|
+
enableNatTraversal?: boolean;
|
|
15090
|
+
internetIp?: string;
|
|
15091
|
+
remoteCaCertificate?: string;
|
|
15092
|
+
requestId?: string;
|
|
15093
|
+
role?: string;
|
|
15094
|
+
state?: string;
|
|
15095
|
+
tunnelBgpConfig?: ModifyTunnelAttributeResponseBodyTunnelBgpConfig;
|
|
15096
|
+
tunnelId?: string;
|
|
15097
|
+
tunnelIkeConfig?: ModifyTunnelAttributeResponseBodyTunnelIkeConfig;
|
|
15098
|
+
tunnelIpsecConfig?: ModifyTunnelAttributeResponseBodyTunnelIpsecConfig;
|
|
15099
|
+
zoneNo?: string;
|
|
15100
|
+
static names(): {
|
|
15101
|
+
[key: string]: string;
|
|
15102
|
+
};
|
|
15103
|
+
static types(): {
|
|
15104
|
+
[key: string]: any;
|
|
15105
|
+
};
|
|
15106
|
+
constructor(map?: {
|
|
15107
|
+
[key: string]: any;
|
|
15108
|
+
});
|
|
15109
|
+
}
|
|
15110
|
+
export declare class ModifyTunnelAttributeResponse extends $tea.Model {
|
|
15111
|
+
headers: {
|
|
15112
|
+
[key: string]: string;
|
|
15113
|
+
};
|
|
15114
|
+
statusCode: number;
|
|
15115
|
+
body: ModifyTunnelAttributeResponseBody;
|
|
15116
|
+
static names(): {
|
|
15117
|
+
[key: string]: string;
|
|
15118
|
+
};
|
|
15119
|
+
static types(): {
|
|
15120
|
+
[key: string]: any;
|
|
15121
|
+
};
|
|
15122
|
+
constructor(map?: {
|
|
15123
|
+
[key: string]: any;
|
|
15124
|
+
});
|
|
15125
|
+
}
|
|
15065
15126
|
export declare class ModifyVRouterAttributeRequest extends $tea.Model {
|
|
15066
15127
|
description?: string;
|
|
15067
15128
|
ownerAccount?: string;
|
|
@@ -19198,6 +19259,19 @@ export declare class DescribeEipAddressesRequestFilter extends $tea.Model {
|
|
|
19198
19259
|
[key: string]: any;
|
|
19199
19260
|
});
|
|
19200
19261
|
}
|
|
19262
|
+
export declare class DescribeEipAddressesRequestTag extends $tea.Model {
|
|
19263
|
+
key?: string;
|
|
19264
|
+
value?: string;
|
|
19265
|
+
static names(): {
|
|
19266
|
+
[key: string]: string;
|
|
19267
|
+
};
|
|
19268
|
+
static types(): {
|
|
19269
|
+
[key: string]: any;
|
|
19270
|
+
};
|
|
19271
|
+
constructor(map?: {
|
|
19272
|
+
[key: string]: any;
|
|
19273
|
+
});
|
|
19274
|
+
}
|
|
19201
19275
|
export declare class DescribeEipAddressesResponseBodyEipAddressesEipAddressOperationLocksLockReason extends $tea.Model {
|
|
19202
19276
|
lockReason?: string;
|
|
19203
19277
|
static names(): {
|
|
@@ -19509,6 +19583,7 @@ export declare class DescribeForwardTableEntriesResponseBodyForwardTableEntriesF
|
|
|
19509
19583
|
internalIp?: string;
|
|
19510
19584
|
internalPort?: string;
|
|
19511
19585
|
ipProtocol?: string;
|
|
19586
|
+
natGatewayId?: string;
|
|
19512
19587
|
status?: string;
|
|
19513
19588
|
static names(): {
|
|
19514
19589
|
[key: string]: string;
|
|
@@ -20818,6 +20893,8 @@ export declare class DescribeRouteEntryListResponseBodyRouteEntrys extends $tea.
|
|
|
20818
20893
|
});
|
|
20819
20894
|
}
|
|
20820
20895
|
export declare class DescribeRouteTableListRequestTag extends $tea.Model {
|
|
20896
|
+
key?: string;
|
|
20897
|
+
value?: string;
|
|
20821
20898
|
static names(): {
|
|
20822
20899
|
[key: string]: string;
|
|
20823
20900
|
};
|
|
@@ -21186,6 +21263,7 @@ export declare class DescribeServerRelatedGlobalAccelerationInstancesResponseBod
|
|
|
21186
21263
|
});
|
|
21187
21264
|
}
|
|
21188
21265
|
export declare class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry extends $tea.Model {
|
|
21266
|
+
natGatewayId?: string;
|
|
21189
21267
|
snatEntryId?: string;
|
|
21190
21268
|
snatEntryName?: string;
|
|
21191
21269
|
snatIp?: string;
|
|
@@ -24009,6 +24087,124 @@ export declare class ListVpnCertificateAssociationsResponseBodyVpnCertificateRel
|
|
|
24009
24087
|
[key: string]: any;
|
|
24010
24088
|
});
|
|
24011
24089
|
}
|
|
24090
|
+
export declare class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig extends $tea.Model {
|
|
24091
|
+
localAsn?: number;
|
|
24092
|
+
localBgpIp?: string;
|
|
24093
|
+
tunnelCidr?: string;
|
|
24094
|
+
static names(): {
|
|
24095
|
+
[key: string]: string;
|
|
24096
|
+
};
|
|
24097
|
+
static types(): {
|
|
24098
|
+
[key: string]: any;
|
|
24099
|
+
};
|
|
24100
|
+
constructor(map?: {
|
|
24101
|
+
[key: string]: any;
|
|
24102
|
+
});
|
|
24103
|
+
}
|
|
24104
|
+
export declare class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig extends $tea.Model {
|
|
24105
|
+
ikeAuthAlg?: string;
|
|
24106
|
+
ikeEncAlg?: string;
|
|
24107
|
+
ikeLifetime?: number;
|
|
24108
|
+
ikeMode?: string;
|
|
24109
|
+
ikePfs?: string;
|
|
24110
|
+
ikeVersion?: string;
|
|
24111
|
+
localId?: string;
|
|
24112
|
+
psk?: string;
|
|
24113
|
+
remoteId?: string;
|
|
24114
|
+
static names(): {
|
|
24115
|
+
[key: string]: string;
|
|
24116
|
+
};
|
|
24117
|
+
static types(): {
|
|
24118
|
+
[key: string]: any;
|
|
24119
|
+
};
|
|
24120
|
+
constructor(map?: {
|
|
24121
|
+
[key: string]: any;
|
|
24122
|
+
});
|
|
24123
|
+
}
|
|
24124
|
+
export declare class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig extends $tea.Model {
|
|
24125
|
+
ipsecAuthAlg?: string;
|
|
24126
|
+
ipsecEncAlg?: string;
|
|
24127
|
+
ipsecLifetime?: number;
|
|
24128
|
+
ipsecPfs?: string;
|
|
24129
|
+
static names(): {
|
|
24130
|
+
[key: string]: string;
|
|
24131
|
+
};
|
|
24132
|
+
static types(): {
|
|
24133
|
+
[key: string]: any;
|
|
24134
|
+
};
|
|
24135
|
+
constructor(map?: {
|
|
24136
|
+
[key: string]: any;
|
|
24137
|
+
});
|
|
24138
|
+
}
|
|
24139
|
+
export declare class ModifyTunnelAttributeRequestTunnelOptionsSpecification extends $tea.Model {
|
|
24140
|
+
enableDpd?: boolean;
|
|
24141
|
+
enableNatTraversal?: boolean;
|
|
24142
|
+
remoteCaCertificate?: string;
|
|
24143
|
+
tunnelBgpConfig?: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig;
|
|
24144
|
+
tunnelIkeConfig?: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig;
|
|
24145
|
+
tunnelIpsecConfig?: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig;
|
|
24146
|
+
static names(): {
|
|
24147
|
+
[key: string]: string;
|
|
24148
|
+
};
|
|
24149
|
+
static types(): {
|
|
24150
|
+
[key: string]: any;
|
|
24151
|
+
};
|
|
24152
|
+
constructor(map?: {
|
|
24153
|
+
[key: string]: any;
|
|
24154
|
+
});
|
|
24155
|
+
}
|
|
24156
|
+
export declare class ModifyTunnelAttributeResponseBodyTunnelBgpConfig extends $tea.Model {
|
|
24157
|
+
enableBgp?: boolean;
|
|
24158
|
+
localAsn?: number;
|
|
24159
|
+
localBgpIp?: string;
|
|
24160
|
+
peerAsn?: number;
|
|
24161
|
+
peerBgpIp?: string;
|
|
24162
|
+
tunnelCidr?: string;
|
|
24163
|
+
static names(): {
|
|
24164
|
+
[key: string]: string;
|
|
24165
|
+
};
|
|
24166
|
+
static types(): {
|
|
24167
|
+
[key: string]: any;
|
|
24168
|
+
};
|
|
24169
|
+
constructor(map?: {
|
|
24170
|
+
[key: string]: any;
|
|
24171
|
+
});
|
|
24172
|
+
}
|
|
24173
|
+
export declare class ModifyTunnelAttributeResponseBodyTunnelIkeConfig extends $tea.Model {
|
|
24174
|
+
ikeAuthAlg?: string;
|
|
24175
|
+
ikeEncAlg?: string;
|
|
24176
|
+
ikeLifetime?: number;
|
|
24177
|
+
ikeMode?: string;
|
|
24178
|
+
ikePfs?: string;
|
|
24179
|
+
ikeVersion?: string;
|
|
24180
|
+
localId?: string;
|
|
24181
|
+
psk?: string;
|
|
24182
|
+
remoteId?: string;
|
|
24183
|
+
static names(): {
|
|
24184
|
+
[key: string]: string;
|
|
24185
|
+
};
|
|
24186
|
+
static types(): {
|
|
24187
|
+
[key: string]: any;
|
|
24188
|
+
};
|
|
24189
|
+
constructor(map?: {
|
|
24190
|
+
[key: string]: any;
|
|
24191
|
+
});
|
|
24192
|
+
}
|
|
24193
|
+
export declare class ModifyTunnelAttributeResponseBodyTunnelIpsecConfig extends $tea.Model {
|
|
24194
|
+
ipsecAuthAlg?: string;
|
|
24195
|
+
ipsecEncAlg?: string;
|
|
24196
|
+
ipsecLifetime?: number;
|
|
24197
|
+
ipsecPfs?: string;
|
|
24198
|
+
static names(): {
|
|
24199
|
+
[key: string]: string;
|
|
24200
|
+
};
|
|
24201
|
+
static types(): {
|
|
24202
|
+
[key: string]: any;
|
|
24203
|
+
};
|
|
24204
|
+
constructor(map?: {
|
|
24205
|
+
[key: string]: any;
|
|
24206
|
+
});
|
|
24207
|
+
}
|
|
24012
24208
|
export declare class ModifyVpcPrefixListRequestAddPrefixListEntry extends $tea.Model {
|
|
24013
24209
|
cidr?: string;
|
|
24014
24210
|
description?: string;
|
|
@@ -26021,7 +26217,6 @@ export default class Client extends OpenApi {
|
|
|
26021
26217
|
*/
|
|
26022
26218
|
createVpnConnection(request: CreateVpnConnectionRequest): Promise<CreateVpnConnectionResponse>;
|
|
26023
26219
|
/**
|
|
26024
|
-
* ## Usage notes
|
|
26025
26220
|
* * Before you create a VPN gateway, we recommend that you understand its limits. For more information, see [Limits on VPN gateways](~~65290~~).
|
|
26026
26221
|
* * The **CreateVpnGateway** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call [DescribeVpnGateway](~~73720~~) to query the status of a VPN gateway.
|
|
26027
26222
|
* * If the VPN gateway is in the **provisioning** state, the VPN gateway is being created.
|
|
@@ -26033,7 +26228,6 @@ export default class Client extends OpenApi {
|
|
|
26033
26228
|
*/
|
|
26034
26229
|
createVpnGatewayWithOptions(request: CreateVpnGatewayRequest, runtime: $Util.RuntimeOptions): Promise<CreateVpnGatewayResponse>;
|
|
26035
26230
|
/**
|
|
26036
|
-
* ## Usage notes
|
|
26037
26231
|
* * Before you create a VPN gateway, we recommend that you understand its limits. For more information, see [Limits on VPN gateways](~~65290~~).
|
|
26038
26232
|
* * The **CreateVpnGateway** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call [DescribeVpnGateway](~~73720~~) to query the status of a VPN gateway.
|
|
26039
26233
|
* * If the VPN gateway is in the **provisioning** state, the VPN gateway is being created.
|
|
@@ -26369,7 +26563,8 @@ export default class Client extends OpenApi {
|
|
|
26369
26563
|
*/
|
|
26370
26564
|
deleteIpv6EgressOnlyRule(request: DeleteIpv6EgressOnlyRuleRequest): Promise<DeleteIpv6EgressOnlyRuleResponse>;
|
|
26371
26565
|
/**
|
|
26372
|
-
* - The **DeleteIpv6Gateway** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeIpv6GatewayAttribute](/help/en/virtual-private-cloud/latest/describeipv6gatewayattribute) operation to query the status of an IPv6 gateway:
|
|
26566
|
+
* - The **DeleteIpv6Gateway** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeIpv6GatewayAttribute](/help/en/virtual-private-cloud/latest/describeipv6gatewayattribute) operation to query the status of an IPv6 gateway:
|
|
26567
|
+
* - If the IPv6 gateway is in the **Deleting** state, the IPv6 gateway is being deleted.
|
|
26373
26568
|
* - If you cannot query the IPv6 gateway, the IPv6 gateway is deleted.
|
|
26374
26569
|
* - After you call the **DeleteIpv6Gateway** operation to delete an IPv6 gateway, you cannot call the operation again to delete the IPv6 gateway until the deletion task is complete.
|
|
26375
26570
|
* ## Prerequisites
|
|
@@ -26381,7 +26576,8 @@ export default class Client extends OpenApi {
|
|
|
26381
26576
|
*/
|
|
26382
26577
|
deleteIpv6GatewayWithOptions(request: DeleteIpv6GatewayRequest, runtime: $Util.RuntimeOptions): Promise<DeleteIpv6GatewayResponse>;
|
|
26383
26578
|
/**
|
|
26384
|
-
* - The **DeleteIpv6Gateway** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeIpv6GatewayAttribute](/help/en/virtual-private-cloud/latest/describeipv6gatewayattribute) operation to query the status of an IPv6 gateway:
|
|
26579
|
+
* - The **DeleteIpv6Gateway** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeIpv6GatewayAttribute](/help/en/virtual-private-cloud/latest/describeipv6gatewayattribute) operation to query the status of an IPv6 gateway:
|
|
26580
|
+
* - If the IPv6 gateway is in the **Deleting** state, the IPv6 gateway is being deleted.
|
|
26385
26581
|
* - If you cannot query the IPv6 gateway, the IPv6 gateway is deleted.
|
|
26386
26582
|
* - After you call the **DeleteIpv6Gateway** operation to delete an IPv6 gateway, you cannot call the operation again to delete the IPv6 gateway until the deletion task is complete.
|
|
26387
26583
|
* ## Prerequisites
|
|
@@ -27227,7 +27423,20 @@ export default class Client extends OpenApi {
|
|
|
27227
27423
|
describeSslVpnClientCert(request: DescribeSslVpnClientCertRequest): Promise<DescribeSslVpnClientCertResponse>;
|
|
27228
27424
|
describeSslVpnClientCertsWithOptions(request: DescribeSslVpnClientCertsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSslVpnClientCertsResponse>;
|
|
27229
27425
|
describeSslVpnClientCerts(request: DescribeSslVpnClientCertsRequest): Promise<DescribeSslVpnClientCertsResponse>;
|
|
27426
|
+
/**
|
|
27427
|
+
* If your VPN gateway was created before December 10, 2022, you must upgrade your VPN gateway to the latest version before you can view connection information about SSL clients. For more information, see Upgrade a VPN gateway. If your VPN gateway was created after December 10, 2022, you can view connection information about SSL clients by default.
|
|
27428
|
+
*
|
|
27429
|
+
* @param request DescribeSslVpnClientsRequest
|
|
27430
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
27431
|
+
* @return DescribeSslVpnClientsResponse
|
|
27432
|
+
*/
|
|
27230
27433
|
describeSslVpnClientsWithOptions(request: DescribeSslVpnClientsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSslVpnClientsResponse>;
|
|
27434
|
+
/**
|
|
27435
|
+
* If your VPN gateway was created before December 10, 2022, you must upgrade your VPN gateway to the latest version before you can view connection information about SSL clients. For more information, see Upgrade a VPN gateway. If your VPN gateway was created after December 10, 2022, you can view connection information about SSL clients by default.
|
|
27436
|
+
*
|
|
27437
|
+
* @param request DescribeSslVpnClientsRequest
|
|
27438
|
+
* @return DescribeSslVpnClientsResponse
|
|
27439
|
+
*/
|
|
27231
27440
|
describeSslVpnClients(request: DescribeSslVpnClientsRequest): Promise<DescribeSslVpnClientsResponse>;
|
|
27232
27441
|
describeSslVpnServersWithOptions(request: DescribeSslVpnServersRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSslVpnServersResponse>;
|
|
27233
27442
|
describeSslVpnServers(request: DescribeSslVpnServersRequest): Promise<DescribeSslVpnServersResponse>;
|
|
@@ -28065,6 +28274,8 @@ export default class Client extends OpenApi {
|
|
|
28065
28274
|
* @return ModifySslVpnServerResponse
|
|
28066
28275
|
*/
|
|
28067
28276
|
modifySslVpnServer(request: ModifySslVpnServerRequest): Promise<ModifySslVpnServerResponse>;
|
|
28277
|
+
modifyTunnelAttributeWithOptions(request: ModifyTunnelAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyTunnelAttributeResponse>;
|
|
28278
|
+
modifyTunnelAttribute(request: ModifyTunnelAttributeRequest): Promise<ModifyTunnelAttributeResponse>;
|
|
28068
28279
|
/**
|
|
28069
28280
|
* You cannot repeatedly call the **ModifyVRouterAttribute** operation to modify the name and description of a vRouter within the specified period of time.
|
|
28070
28281
|
*
|