Package-level declarations

Types

Link copied to clipboard
class Connection : KotlinCustomResource
Link copied to clipboard
data class ConnectionArgs(val autoConfigRoute: Output<Boolean>? = null, val bgpConfig: Output<ConnectionBgpConfigArgs>? = null, val customerGatewayId: Output<String>? = null, val effectImmediately: Output<Boolean>? = null, val enableDpd: Output<Boolean>? = null, val enableNatTraversal: Output<Boolean>? = null, val enableTunnelsBgp: Output<Boolean>? = null, val healthCheckConfig: Output<ConnectionHealthCheckConfigArgs>? = null, val ikeConfig: Output<ConnectionIkeConfigArgs>? = null, val ipsecConfig: Output<ConnectionIpsecConfigArgs>? = null, val localSubnets: Output<List<String>>? = null, val name: Output<String>? = null, val networkType: Output<String>? = null, val remoteSubnets: Output<List<String>>? = null, val tags: Output<Map<String, String>>? = null, val tunnelOptionsSpecifications: Output<List<ConnectionTunnelOptionsSpecificationArgs>>? = null, val vpnConnectionName: Output<String>? = null, val vpnGatewayId: Output<String>? = null) : ConvertibleToJava<ConnectionArgs>
Link copied to clipboard
Link copied to clipboard
object ConnectionMapper : ResourceMapper<Connection>
Link copied to clipboard
Link copied to clipboard
class CustomerGateway : KotlinCustomResource

Basic Usage

Link copied to clipboard
data class CustomerGatewayArgs(val asn: Output<String>? = null, val customerGatewayName: Output<String>? = null, val description: Output<String>? = null, val ipAddress: Output<String>? = null, val name: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<CustomerGatewayArgs>

Basic Usage

Link copied to clipboard
object CustomerGatewayMapper : ResourceMapper<CustomerGateway>
Link copied to clipboard
class Gateway : KotlinCustomResource

VPN gateway can be imported using the id, e.g.

Link copied to clipboard
data class GatewayArgs(val autoPay: Output<Boolean>? = null, val autoPropagate: Output<Boolean>? = null, val bandwidth: Output<Int>? = null, val description: Output<String>? = null, val disasterRecoveryVswitchId: Output<String>? = null, val enableIpsec: Output<Boolean>? = null, val enableSsl: Output<Boolean>? = null, val instanceChargeType: Output<String>? = null, val name: Output<String>? = null, val networkType: Output<String>? = null, val paymentType: Output<String>? = null, val period: Output<Int>? = null, val resourceGroupId: Output<String>? = null, val sslConnections: Output<Int>? = null, val tags: Output<Map<String, String>>? = null, val vpcId: Output<String>? = null, val vpnGatewayName: Output<String>? = null, val vpnType: Output<String>? = null, val vswitchId: Output<String>? = null) : ConvertibleToJava<GatewayArgs>

VPN gateway can be imported using the id, e.g.

Link copied to clipboard
Link copied to clipboard
object GatewayMapper : ResourceMapper<Gateway>
Link copied to clipboard
Link copied to clipboard
class GatewayVcoRoute : KotlinCustomResource

Provides a VPN Gateway Vco Route resource. For information about VPN Gateway Vco Route and how to use it, see What is Vco Route.

Link copied to clipboard
data class GatewayVcoRouteArgs(val nextHop: Output<String>? = null, val overlayMode: Output<String>? = null, val routeDest: Output<String>? = null, val vpnConnectionId: Output<String>? = null, val weight: Output<Int>? = null) : ConvertibleToJava<GatewayVcoRouteArgs>

Provides a VPN Gateway Vco Route resource. For information about VPN Gateway Vco Route and how to use it, see What is Vco Route.

Link copied to clipboard
object GatewayVcoRouteMapper : ResourceMapper<GatewayVcoRoute>
Link copied to clipboard
class GatewayVpnAttachment : KotlinCustomResource

Provides a VPN Gateway Vpn Attachment resource. VpnAttachment has been upgraded to dual-tunnel mode. When you create a VpnAttachment in dual tunnel mode, you can configure the following request parameters in addition to the required parameters: vpn_attachment_name, network_type, effectImmediately, tags array, resource_group_id, tunnel_options_specification array, and enable_tunnels_bgp. For information about VPN Gateway Vpn Attachment and how to use it, see What is Vpn Attachment.

Link copied to clipboard
data class GatewayVpnAttachmentArgs(val bgpConfig: Output<GatewayVpnAttachmentBgpConfigArgs>? = null, val customerGatewayId: Output<String>? = null, val effectImmediately: Output<Boolean>? = null, val enableDpd: Output<Boolean>? = null, val enableNatTraversal: Output<Boolean>? = null, val enableTunnelsBgp: Output<Boolean>? = null, val healthCheckConfig: Output<GatewayVpnAttachmentHealthCheckConfigArgs>? = null, val ikeConfig: Output<GatewayVpnAttachmentIkeConfigArgs>? = null, val ipsecConfig: Output<GatewayVpnAttachmentIpsecConfigArgs>? = null, val localSubnet: Output<String>? = null, val networkType: Output<String>? = null, val remoteSubnet: Output<String>? = null, val resourceGroupId: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val tunnelOptionsSpecifications: Output<List<GatewayVpnAttachmentTunnelOptionsSpecificationArgs>>? = null, val vpnAttachmentName: Output<String>? = null) : ConvertibleToJava<GatewayVpnAttachmentArgs>

Provides a VPN Gateway Vpn Attachment resource. VpnAttachment has been upgraded to dual-tunnel mode. When you create a VpnAttachment in dual tunnel mode, you can configure the following request parameters in addition to the required parameters: vpn_attachment_name, network_type, effectImmediately, tags array, resource_group_id, tunnel_options_specification array, and enable_tunnels_bgp. For information about VPN Gateway Vpn Attachment and how to use it, see What is Vpn Attachment.

Link copied to clipboard
Link copied to clipboard
class IpsecServer : KotlinCustomResource

Provides a VPN Ipsec Server resource. For information about VPN Ipsec Server and how to use it, see What is Ipsec Server.

Link copied to clipboard
data class IpsecServerArgs(val clientIpPool: Output<String>? = null, val dryRun: Output<Boolean>? = null, val effectImmediately: Output<Boolean>? = null, val ikeConfigs: Output<List<IpsecServerIkeConfigArgs>>? = null, val ipsecConfigs: Output<List<IpsecServerIpsecConfigArgs>>? = null, val ipsecServerName: Output<String>? = null, val localSubnet: Output<String>? = null, val psk: Output<String>? = null, val pskEnabled: Output<Boolean>? = null, val vpnGatewayId: Output<String>? = null) : ConvertibleToJava<IpsecServerArgs>

Provides a VPN Ipsec Server resource. For information about VPN Ipsec Server and how to use it, see What is Ipsec Server.

Link copied to clipboard
Link copied to clipboard
object IpsecServerMapper : ResourceMapper<IpsecServer>
Link copied to clipboard
Link copied to clipboard
class PbrRouteEntry : KotlinCustomResource

Provides a VPN Pbr Route Entry resource.

Link copied to clipboard
data class PbrRouteEntryArgs(val nextHop: Output<String>? = null, val publishVpc: Output<Boolean>? = null, val routeDest: Output<String>? = null, val routeSource: Output<String>? = null, val vpnGatewayId: Output<String>? = null, val weight: Output<Int>? = null) : ConvertibleToJava<PbrRouteEntryArgs>

Provides a VPN Pbr Route Entry resource.

Link copied to clipboard
Link copied to clipboard
object PbrRouteEntryMapper : ResourceMapper<PbrRouteEntry>
Link copied to clipboard
Link copied to clipboard
class RouteEntry : KotlinCustomResource

Basic Usage

Link copied to clipboard
data class RouteEntryArgs(val nextHop: Output<String>? = null, val publishVpc: Output<Boolean>? = null, val routeDest: Output<String>? = null, val vpnGatewayId: Output<String>? = null, val weight: Output<Int>? = null) : ConvertibleToJava<RouteEntryArgs>

Basic Usage

Link copied to clipboard
Link copied to clipboard
object RouteEntryMapper : ResourceMapper<RouteEntry>
Link copied to clipboard
Link copied to clipboard
class SslVpnClientCert : KotlinCustomResource

Basic Usage

Link copied to clipboard
data class SslVpnClientCertArgs(val name: Output<String>? = null, val sslVpnServerId: Output<String>? = null) : ConvertibleToJava<SslVpnClientCertArgs>

Basic Usage

Link copied to clipboard
object SslVpnClientCertMapper : ResourceMapper<SslVpnClientCert>
Link copied to clipboard
class SslVpnServer : KotlinCustomResource

Basic Usage

Link copied to clipboard
data class SslVpnServerArgs(val cipher: Output<String>? = null, val clientIpPool: Output<String>? = null, val compress: Output<Boolean>? = null, val localSubnet: Output<String>? = null, val name: Output<String>? = null, val port: Output<Int>? = null, val protocol: Output<String>? = null, val vpnGatewayId: Output<String>? = null) : ConvertibleToJava<SslVpnServerArgs>

Basic Usage

Link copied to clipboard
Link copied to clipboard
object SslVpnServerMapper : ResourceMapper<SslVpnServer>
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun connection(name: String, block: suspend ConnectionResourceBuilder.() -> Unit): Connection
Link copied to clipboard
Link copied to clipboard
fun gateway(name: String): Gateway
suspend fun gateway(name: String, block: suspend GatewayResourceBuilder.() -> Unit): Gateway
Link copied to clipboard
Link copied to clipboard
suspend fun ipsecServer(name: String, block: suspend IpsecServerResourceBuilder.() -> Unit): IpsecServer
Link copied to clipboard
Link copied to clipboard
suspend fun routeEntry(name: String, block: suspend RouteEntryResourceBuilder.() -> Unit): RouteEntry
Link copied to clipboard
Link copied to clipboard