LocalNetworkGateway

class LocalNetworkGateway : KotlinCustomResource

Manages a local network gateway connection over which specific connections can be configured.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.network.LocalNetworkGateway;
import com.pulumi.azure.network.LocalNetworkGatewayArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ResourceGroup("example", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var home = new LocalNetworkGateway("home", LocalNetworkGatewayArgs.builder()
.resourceGroupName(example.name())
.location(example.location())
.gatewayAddress("12.13.14.15")
.addressSpaces("10.0.0.0/16")
.build());
}
}

Import

Local Network Gateways can be imported using the resource id, e.g.

$ pulumi import azure:network/localNetworkGateway:LocalNetworkGateway lng1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/localNetworkGateways/lng1

Properties

Link copied to clipboard
val addressSpaces: Output<List<String>>?

The list of string CIDRs representing the address spaces the gateway exposes.

Link copied to clipboard

A bgp_settings block as defined below containing the Local Network Gateway's BGP speaker settings.

Link copied to clipboard
val gatewayAddress: Output<String>?

The gateway IP address to connect with.

Link copied to clipboard
val gatewayFqdn: Output<String>?

The gateway FQDN to connect with.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>

The location/region where the local network gateway is created. Changing this forces a new resource to be created.

Link copied to clipboard
val name: Output<String>

The name of the local network gateway. Changing this forces a new resource to be created.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The name of the resource group in which to create the local network gateway. Changing this forces a new resource to be created.

Link copied to clipboard
val tags: Output<Map<String, String>>?

A mapping of tags to assign to the resource.

Link copied to clipboard
val urn: Output<String>