getGateways

The VPNs data source lists a number of VPNs resource information owned by an Alicloud account.

NOTE: Available since v1.18.0.

Return

A collection of values returned by getGateways.

Parameters

argument

A collection of arguments for invoking getGateways.


suspend fun getGateways(businessStatus: String? = null, enableIpsec: Boolean? = null, ids: List<String>? = null, includeReservationData: Boolean? = null, nameRegex: String? = null, outputFile: String? = null, sslVpn: String? = null, status: String? = null, vpcId: String? = null): GetGatewaysResult

Return

A collection of values returned by getGateways.

Parameters

businessStatus

Limit search to specific business status - valid value is "Normal", "FinancialLocked".

enableIpsec

Indicates whether the IPsec-VPN feature is enabled.

ids

IDs of the VPN.

includeReservationData

Include ineffective ordering data.

nameRegex

A regex string of VPN name.

outputFile

Save the result to the file.

sslVpn

Indicates whether the SSL-VPN feature is enabled. Valid value is enable, disable.

status

Limit search to specific status - valid value is "Init", "Provisioning", "Active", "Updating", "Deleting".

vpcId

Use the VPC ID as the search key.

See also


suspend fun getGateways(argument: suspend GetGatewaysPlainArgsBuilder.() -> Unit): GetGatewaysResult

Return

A collection of values returned by getGateways.

Parameters

argument

Builder for com.pulumi.alicloud.vpn.kotlin.inputs.GetGatewaysPlainArgs.

See also