1. Packages
  2. Azure Native
  3. API Docs
  4. network
  5. LocalNetworkGateway
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.network.LocalNetworkGateway

Explore with Pulumi AI

A common class for general resource information.

Uses Azure REST API version 2024-05-01. In version 2.x of the Azure Native provider, it used API version 2023-02-01.

Other available API versions: 2018-06-01, 2018-07-01, 2018-08-01, 2018-10-01, 2018-11-01, 2018-12-01, 2019-02-01, 2019-04-01, 2019-06-01, 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-02-01, 2021-03-01, 2021-05-01, 2021-08-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native network [ApiVersion]. See the version guide for details.

Example Usage

CreateLocalNetworkGateway

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var localNetworkGateway = new AzureNative.Network.LocalNetworkGateway("localNetworkGateway", new()
    {
        Fqdn = "site1.contoso.com",
        GatewayIpAddress = "11.12.13.14",
        LocalNetworkAddressSpace = new AzureNative.Network.Inputs.AddressSpaceArgs
        {
            AddressPrefixes = new[]
            {
                "10.1.0.0/16",
            },
        },
        LocalNetworkGatewayName = "localgw",
        Location = "Central US",
        ResourceGroupName = "rg1",
    });

});
Copy
package main

import (
	network "github.com/pulumi/pulumi-azure-native-sdk/network/v3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := network.NewLocalNetworkGateway(ctx, "localNetworkGateway", &network.LocalNetworkGatewayArgs{
			Fqdn:             pulumi.String("site1.contoso.com"),
			GatewayIpAddress: pulumi.String("11.12.13.14"),
			LocalNetworkAddressSpace: &network.AddressSpaceArgs{
				AddressPrefixes: pulumi.StringArray{
					pulumi.String("10.1.0.0/16"),
				},
			},
			LocalNetworkGatewayName: pulumi.String("localgw"),
			Location:                pulumi.String("Central US"),
			ResourceGroupName:       pulumi.String("rg1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.LocalNetworkGateway;
import com.pulumi.azurenative.network.LocalNetworkGatewayArgs;
import com.pulumi.azurenative.network.inputs.AddressSpaceArgs;
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 localNetworkGateway = new LocalNetworkGateway("localNetworkGateway", LocalNetworkGatewayArgs.builder()
            .fqdn("site1.contoso.com")
            .gatewayIpAddress("11.12.13.14")
            .localNetworkAddressSpace(AddressSpaceArgs.builder()
                .addressPrefixes("10.1.0.0/16")
                .build())
            .localNetworkGatewayName("localgw")
            .location("Central US")
            .resourceGroupName("rg1")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const localNetworkGateway = new azure_native.network.LocalNetworkGateway("localNetworkGateway", {
    fqdn: "site1.contoso.com",
    gatewayIpAddress: "11.12.13.14",
    localNetworkAddressSpace: {
        addressPrefixes: ["10.1.0.0/16"],
    },
    localNetworkGatewayName: "localgw",
    location: "Central US",
    resourceGroupName: "rg1",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

local_network_gateway = azure_native.network.LocalNetworkGateway("localNetworkGateway",
    fqdn="site1.contoso.com",
    gateway_ip_address="11.12.13.14",
    local_network_address_space={
        "address_prefixes": ["10.1.0.0/16"],
    },
    local_network_gateway_name="localgw",
    location="Central US",
    resource_group_name="rg1")
Copy
resources:
  localNetworkGateway:
    type: azure-native:network:LocalNetworkGateway
    properties:
      fqdn: site1.contoso.com
      gatewayIpAddress: 11.12.13.14
      localNetworkAddressSpace:
        addressPrefixes:
          - 10.1.0.0/16
      localNetworkGatewayName: localgw
      location: Central US
      resourceGroupName: rg1
Copy

Create LocalNetworkGateway Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new LocalNetworkGateway(name: string, args: LocalNetworkGatewayArgs, opts?: CustomResourceOptions);
@overload
def LocalNetworkGateway(resource_name: str,
                        args: LocalNetworkGatewayInitArgs,
                        opts: Optional[ResourceOptions] = None)

@overload
def LocalNetworkGateway(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        resource_group_name: Optional[str] = None,
                        bgp_settings: Optional[BgpSettingsArgs] = None,
                        fqdn: Optional[str] = None,
                        gateway_ip_address: Optional[str] = None,
                        id: Optional[str] = None,
                        local_network_address_space: Optional[AddressSpaceArgs] = None,
                        local_network_gateway_name: Optional[str] = None,
                        location: Optional[str] = None,
                        tags: Optional[Mapping[str, str]] = None)
func NewLocalNetworkGateway(ctx *Context, name string, args LocalNetworkGatewayArgs, opts ...ResourceOption) (*LocalNetworkGateway, error)
public LocalNetworkGateway(string name, LocalNetworkGatewayArgs args, CustomResourceOptions? opts = null)
public LocalNetworkGateway(String name, LocalNetworkGatewayArgs args)
public LocalNetworkGateway(String name, LocalNetworkGatewayArgs args, CustomResourceOptions options)
type: azure-native:network:LocalNetworkGateway
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. LocalNetworkGatewayArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. LocalNetworkGatewayInitArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. LocalNetworkGatewayArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. LocalNetworkGatewayArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. LocalNetworkGatewayArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var localNetworkGatewayResource = new AzureNative.Network.LocalNetworkGateway("localNetworkGatewayResource", new()
{
    ResourceGroupName = "string",
    BgpSettings = new AzureNative.Network.Inputs.BgpSettingsArgs
    {
        Asn = 0,
        BgpPeeringAddress = "string",
        BgpPeeringAddresses = new[]
        {
            new AzureNative.Network.Inputs.IPConfigurationBgpPeeringAddressArgs
            {
                CustomBgpIpAddresses = new[]
                {
                    "string",
                },
                IpconfigurationId = "string",
            },
        },
        PeerWeight = 0,
    },
    Fqdn = "string",
    GatewayIpAddress = "string",
    Id = "string",
    LocalNetworkAddressSpace = new AzureNative.Network.Inputs.AddressSpaceArgs
    {
        AddressPrefixes = new[]
        {
            "string",
        },
        IpamPoolPrefixAllocations = new[]
        {
            new AzureNative.Network.Inputs.IpamPoolPrefixAllocationArgs
            {
                Id = "string",
                NumberOfIpAddresses = "string",
            },
        },
    },
    LocalNetworkGatewayName = "string",
    Location = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := network.NewLocalNetworkGateway(ctx, "localNetworkGatewayResource", &network.LocalNetworkGatewayArgs{
	ResourceGroupName: pulumi.String("string"),
	BgpSettings: &network.BgpSettingsArgs{
		Asn:               pulumi.Float64(0),
		BgpPeeringAddress: pulumi.String("string"),
		BgpPeeringAddresses: network.IPConfigurationBgpPeeringAddressArray{
			&network.IPConfigurationBgpPeeringAddressArgs{
				CustomBgpIpAddresses: pulumi.StringArray{
					pulumi.String("string"),
				},
				IpconfigurationId: pulumi.String("string"),
			},
		},
		PeerWeight: pulumi.Int(0),
	},
	Fqdn:             pulumi.String("string"),
	GatewayIpAddress: pulumi.String("string"),
	Id:               pulumi.String("string"),
	LocalNetworkAddressSpace: &network.AddressSpaceArgs{
		AddressPrefixes: pulumi.StringArray{
			pulumi.String("string"),
		},
		IpamPoolPrefixAllocations: network.IpamPoolPrefixAllocationArray{
			&network.IpamPoolPrefixAllocationArgs{
				Id:                  pulumi.String("string"),
				NumberOfIpAddresses: pulumi.String("string"),
			},
		},
	},
	LocalNetworkGatewayName: pulumi.String("string"),
	Location:                pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var localNetworkGatewayResource = new LocalNetworkGateway("localNetworkGatewayResource", LocalNetworkGatewayArgs.builder()
    .resourceGroupName("string")
    .bgpSettings(BgpSettingsArgs.builder()
        .asn(0)
        .bgpPeeringAddress("string")
        .bgpPeeringAddresses(IPConfigurationBgpPeeringAddressArgs.builder()
            .customBgpIpAddresses("string")
            .ipconfigurationId("string")
            .build())
        .peerWeight(0)
        .build())
    .fqdn("string")
    .gatewayIpAddress("string")
    .id("string")
    .localNetworkAddressSpace(AddressSpaceArgs.builder()
        .addressPrefixes("string")
        .ipamPoolPrefixAllocations(IpamPoolPrefixAllocationArgs.builder()
            .id("string")
            .numberOfIpAddresses("string")
            .build())
        .build())
    .localNetworkGatewayName("string")
    .location("string")
    .tags(Map.of("string", "string"))
    .build());
Copy
local_network_gateway_resource = azure_native.network.LocalNetworkGateway("localNetworkGatewayResource",
    resource_group_name="string",
    bgp_settings={
        "asn": 0,
        "bgp_peering_address": "string",
        "bgp_peering_addresses": [{
            "custom_bgp_ip_addresses": ["string"],
            "ipconfiguration_id": "string",
        }],
        "peer_weight": 0,
    },
    fqdn="string",
    gateway_ip_address="string",
    id="string",
    local_network_address_space={
        "address_prefixes": ["string"],
        "ipam_pool_prefix_allocations": [{
            "id": "string",
            "number_of_ip_addresses": "string",
        }],
    },
    local_network_gateway_name="string",
    location="string",
    tags={
        "string": "string",
    })
Copy
const localNetworkGatewayResource = new azure_native.network.LocalNetworkGateway("localNetworkGatewayResource", {
    resourceGroupName: "string",
    bgpSettings: {
        asn: 0,
        bgpPeeringAddress: "string",
        bgpPeeringAddresses: [{
            customBgpIpAddresses: ["string"],
            ipconfigurationId: "string",
        }],
        peerWeight: 0,
    },
    fqdn: "string",
    gatewayIpAddress: "string",
    id: "string",
    localNetworkAddressSpace: {
        addressPrefixes: ["string"],
        ipamPoolPrefixAllocations: [{
            id: "string",
            numberOfIpAddresses: "string",
        }],
    },
    localNetworkGatewayName: "string",
    location: "string",
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:network:LocalNetworkGateway
properties:
    bgpSettings:
        asn: 0
        bgpPeeringAddress: string
        bgpPeeringAddresses:
            - customBgpIpAddresses:
                - string
              ipconfigurationId: string
        peerWeight: 0
    fqdn: string
    gatewayIpAddress: string
    id: string
    localNetworkAddressSpace:
        addressPrefixes:
            - string
        ipamPoolPrefixAllocations:
            - id: string
              numberOfIpAddresses: string
    localNetworkGatewayName: string
    location: string
    resourceGroupName: string
    tags:
        string: string
Copy

LocalNetworkGateway Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The LocalNetworkGateway resource accepts the following input properties:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
BgpSettings Pulumi.AzureNative.Network.Inputs.BgpSettings
Local network gateway's BGP speaker settings.
Fqdn string
FQDN of local network gateway.
GatewayIpAddress string
IP address of local network gateway.
Id string
Resource ID.
LocalNetworkAddressSpace Pulumi.AzureNative.Network.Inputs.AddressSpace
Local network site address space.
LocalNetworkGatewayName Changes to this property will trigger replacement. string
The name of the local network gateway.
Location string
Resource location.
Tags Dictionary<string, string>
Resource tags.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
BgpSettings BgpSettingsArgs
Local network gateway's BGP speaker settings.
Fqdn string
FQDN of local network gateway.
GatewayIpAddress string
IP address of local network gateway.
Id string
Resource ID.
LocalNetworkAddressSpace AddressSpaceArgs
Local network site address space.
LocalNetworkGatewayName Changes to this property will trigger replacement. string
The name of the local network gateway.
Location string
Resource location.
Tags map[string]string
Resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
bgpSettings BgpSettings
Local network gateway's BGP speaker settings.
fqdn String
FQDN of local network gateway.
gatewayIpAddress String
IP address of local network gateway.
id String
Resource ID.
localNetworkAddressSpace AddressSpace
Local network site address space.
localNetworkGatewayName Changes to this property will trigger replacement. String
The name of the local network gateway.
location String
Resource location.
tags Map<String,String>
Resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
bgpSettings BgpSettings
Local network gateway's BGP speaker settings.
fqdn string
FQDN of local network gateway.
gatewayIpAddress string
IP address of local network gateway.
id string
Resource ID.
localNetworkAddressSpace AddressSpace
Local network site address space.
localNetworkGatewayName Changes to this property will trigger replacement. string
The name of the local network gateway.
location string
Resource location.
tags {[key: string]: string}
Resource tags.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group.
bgp_settings BgpSettingsArgs
Local network gateway's BGP speaker settings.
fqdn str
FQDN of local network gateway.
gateway_ip_address str
IP address of local network gateway.
id str
Resource ID.
local_network_address_space AddressSpaceArgs
Local network site address space.
local_network_gateway_name Changes to this property will trigger replacement. str
The name of the local network gateway.
location str
Resource location.
tags Mapping[str, str]
Resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
bgpSettings Property Map
Local network gateway's BGP speaker settings.
fqdn String
FQDN of local network gateway.
gatewayIpAddress String
IP address of local network gateway.
id String
Resource ID.
localNetworkAddressSpace Property Map
Local network site address space.
localNetworkGatewayName Changes to this property will trigger replacement. String
The name of the local network gateway.
location String
Resource location.
tags Map<String>
Resource tags.

Outputs

All input properties are implicitly available as output properties. Additionally, the LocalNetworkGateway resource produces the following output properties:

AzureApiVersion string
The Azure API version of the resource.
Etag string
A unique read-only string that changes whenever the resource is updated.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Resource name.
ProvisioningState string
The provisioning state of the local network gateway resource.
ResourceGuid string
The resource GUID property of the local network gateway resource.
Type string
Resource type.
AzureApiVersion string
The Azure API version of the resource.
Etag string
A unique read-only string that changes whenever the resource is updated.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Resource name.
ProvisioningState string
The provisioning state of the local network gateway resource.
ResourceGuid string
The resource GUID property of the local network gateway resource.
Type string
Resource type.
azureApiVersion String
The Azure API version of the resource.
etag String
A unique read-only string that changes whenever the resource is updated.
id String
The provider-assigned unique ID for this managed resource.
name String
Resource name.
provisioningState String
The provisioning state of the local network gateway resource.
resourceGuid String
The resource GUID property of the local network gateway resource.
type String
Resource type.
azureApiVersion string
The Azure API version of the resource.
etag string
A unique read-only string that changes whenever the resource is updated.
id string
The provider-assigned unique ID for this managed resource.
name string
Resource name.
provisioningState string
The provisioning state of the local network gateway resource.
resourceGuid string
The resource GUID property of the local network gateway resource.
type string
Resource type.
azure_api_version str
The Azure API version of the resource.
etag str
A unique read-only string that changes whenever the resource is updated.
id str
The provider-assigned unique ID for this managed resource.
name str
Resource name.
provisioning_state str
The provisioning state of the local network gateway resource.
resource_guid str
The resource GUID property of the local network gateway resource.
type str
Resource type.
azureApiVersion String
The Azure API version of the resource.
etag String
A unique read-only string that changes whenever the resource is updated.
id String
The provider-assigned unique ID for this managed resource.
name String
Resource name.
provisioningState String
The provisioning state of the local network gateway resource.
resourceGuid String
The resource GUID property of the local network gateway resource.
type String
Resource type.

Supporting Types

AddressSpace
, AddressSpaceArgs

AddressPrefixes List<string>
A list of address blocks reserved for this virtual network in CIDR notation.
IpamPoolPrefixAllocations List<Pulumi.AzureNative.Network.Inputs.IpamPoolPrefixAllocation>
A list of IPAM Pools allocating IP address prefixes.
AddressPrefixes []string
A list of address blocks reserved for this virtual network in CIDR notation.
IpamPoolPrefixAllocations []IpamPoolPrefixAllocation
A list of IPAM Pools allocating IP address prefixes.
addressPrefixes List<String>
A list of address blocks reserved for this virtual network in CIDR notation.
ipamPoolPrefixAllocations List<IpamPoolPrefixAllocation>
A list of IPAM Pools allocating IP address prefixes.
addressPrefixes string[]
A list of address blocks reserved for this virtual network in CIDR notation.
ipamPoolPrefixAllocations IpamPoolPrefixAllocation[]
A list of IPAM Pools allocating IP address prefixes.
address_prefixes Sequence[str]
A list of address blocks reserved for this virtual network in CIDR notation.
ipam_pool_prefix_allocations Sequence[IpamPoolPrefixAllocation]
A list of IPAM Pools allocating IP address prefixes.
addressPrefixes List<String>
A list of address blocks reserved for this virtual network in CIDR notation.
ipamPoolPrefixAllocations List<Property Map>
A list of IPAM Pools allocating IP address prefixes.

AddressSpaceResponse
, AddressSpaceResponseArgs

AddressPrefixes List<string>
A list of address blocks reserved for this virtual network in CIDR notation.
IpamPoolPrefixAllocations List<Pulumi.AzureNative.Network.Inputs.IpamPoolPrefixAllocationResponse>
A list of IPAM Pools allocating IP address prefixes.
AddressPrefixes []string
A list of address blocks reserved for this virtual network in CIDR notation.
IpamPoolPrefixAllocations []IpamPoolPrefixAllocationResponse
A list of IPAM Pools allocating IP address prefixes.
addressPrefixes List<String>
A list of address blocks reserved for this virtual network in CIDR notation.
ipamPoolPrefixAllocations List<IpamPoolPrefixAllocationResponse>
A list of IPAM Pools allocating IP address prefixes.
addressPrefixes string[]
A list of address blocks reserved for this virtual network in CIDR notation.
ipamPoolPrefixAllocations IpamPoolPrefixAllocationResponse[]
A list of IPAM Pools allocating IP address prefixes.
address_prefixes Sequence[str]
A list of address blocks reserved for this virtual network in CIDR notation.
ipam_pool_prefix_allocations Sequence[IpamPoolPrefixAllocationResponse]
A list of IPAM Pools allocating IP address prefixes.
addressPrefixes List<String>
A list of address blocks reserved for this virtual network in CIDR notation.
ipamPoolPrefixAllocations List<Property Map>
A list of IPAM Pools allocating IP address prefixes.

BgpSettings
, BgpSettingsArgs

Asn double
The BGP speaker's ASN.
BgpPeeringAddress string
The BGP peering address and BGP identifier of this BGP speaker.
BgpPeeringAddresses List<Pulumi.AzureNative.Network.Inputs.IPConfigurationBgpPeeringAddress>
BGP peering address with IP configuration ID for virtual network gateway.
PeerWeight int
The weight added to routes learned from this BGP speaker.
Asn float64
The BGP speaker's ASN.
BgpPeeringAddress string
The BGP peering address and BGP identifier of this BGP speaker.
BgpPeeringAddresses []IPConfigurationBgpPeeringAddress
BGP peering address with IP configuration ID for virtual network gateway.
PeerWeight int
The weight added to routes learned from this BGP speaker.
asn Double
The BGP speaker's ASN.
bgpPeeringAddress String
The BGP peering address and BGP identifier of this BGP speaker.
bgpPeeringAddresses List<IPConfigurationBgpPeeringAddress>
BGP peering address with IP configuration ID for virtual network gateway.
peerWeight Integer
The weight added to routes learned from this BGP speaker.
asn number
The BGP speaker's ASN.
bgpPeeringAddress string
The BGP peering address and BGP identifier of this BGP speaker.
bgpPeeringAddresses IPConfigurationBgpPeeringAddress[]
BGP peering address with IP configuration ID for virtual network gateway.
peerWeight number
The weight added to routes learned from this BGP speaker.
asn float
The BGP speaker's ASN.
bgp_peering_address str
The BGP peering address and BGP identifier of this BGP speaker.
bgp_peering_addresses Sequence[IPConfigurationBgpPeeringAddress]
BGP peering address with IP configuration ID for virtual network gateway.
peer_weight int
The weight added to routes learned from this BGP speaker.
asn Number
The BGP speaker's ASN.
bgpPeeringAddress String
The BGP peering address and BGP identifier of this BGP speaker.
bgpPeeringAddresses List<Property Map>
BGP peering address with IP configuration ID for virtual network gateway.
peerWeight Number
The weight added to routes learned from this BGP speaker.

BgpSettingsResponse
, BgpSettingsResponseArgs

Asn double
The BGP speaker's ASN.
BgpPeeringAddress string
The BGP peering address and BGP identifier of this BGP speaker.
BgpPeeringAddresses List<Pulumi.AzureNative.Network.Inputs.IPConfigurationBgpPeeringAddressResponse>
BGP peering address with IP configuration ID for virtual network gateway.
PeerWeight int
The weight added to routes learned from this BGP speaker.
Asn float64
The BGP speaker's ASN.
BgpPeeringAddress string
The BGP peering address and BGP identifier of this BGP speaker.
BgpPeeringAddresses []IPConfigurationBgpPeeringAddressResponse
BGP peering address with IP configuration ID for virtual network gateway.
PeerWeight int
The weight added to routes learned from this BGP speaker.
asn Double
The BGP speaker's ASN.
bgpPeeringAddress String
The BGP peering address and BGP identifier of this BGP speaker.
bgpPeeringAddresses List<IPConfigurationBgpPeeringAddressResponse>
BGP peering address with IP configuration ID for virtual network gateway.
peerWeight Integer
The weight added to routes learned from this BGP speaker.
asn number
The BGP speaker's ASN.
bgpPeeringAddress string
The BGP peering address and BGP identifier of this BGP speaker.
bgpPeeringAddresses IPConfigurationBgpPeeringAddressResponse[]
BGP peering address with IP configuration ID for virtual network gateway.
peerWeight number
The weight added to routes learned from this BGP speaker.
asn float
The BGP speaker's ASN.
bgp_peering_address str
The BGP peering address and BGP identifier of this BGP speaker.
bgp_peering_addresses Sequence[IPConfigurationBgpPeeringAddressResponse]
BGP peering address with IP configuration ID for virtual network gateway.
peer_weight int
The weight added to routes learned from this BGP speaker.
asn Number
The BGP speaker's ASN.
bgpPeeringAddress String
The BGP peering address and BGP identifier of this BGP speaker.
bgpPeeringAddresses List<Property Map>
BGP peering address with IP configuration ID for virtual network gateway.
peerWeight Number
The weight added to routes learned from this BGP speaker.

IPConfigurationBgpPeeringAddress
, IPConfigurationBgpPeeringAddressArgs

CustomBgpIpAddresses List<string>
The list of custom BGP peering addresses which belong to IP configuration.
IpconfigurationId string
The ID of IP configuration which belongs to gateway.
CustomBgpIpAddresses []string
The list of custom BGP peering addresses which belong to IP configuration.
IpconfigurationId string
The ID of IP configuration which belongs to gateway.
customBgpIpAddresses List<String>
The list of custom BGP peering addresses which belong to IP configuration.
ipconfigurationId String
The ID of IP configuration which belongs to gateway.
customBgpIpAddresses string[]
The list of custom BGP peering addresses which belong to IP configuration.
ipconfigurationId string
The ID of IP configuration which belongs to gateway.
custom_bgp_ip_addresses Sequence[str]
The list of custom BGP peering addresses which belong to IP configuration.
ipconfiguration_id str
The ID of IP configuration which belongs to gateway.
customBgpIpAddresses List<String>
The list of custom BGP peering addresses which belong to IP configuration.
ipconfigurationId String
The ID of IP configuration which belongs to gateway.

IPConfigurationBgpPeeringAddressResponse
, IPConfigurationBgpPeeringAddressResponseArgs

DefaultBgpIpAddresses This property is required. List<string>
The list of default BGP peering addresses which belong to IP configuration.
TunnelIpAddresses This property is required. List<string>
The list of tunnel public IP addresses which belong to IP configuration.
CustomBgpIpAddresses List<string>
The list of custom BGP peering addresses which belong to IP configuration.
IpconfigurationId string
The ID of IP configuration which belongs to gateway.
DefaultBgpIpAddresses This property is required. []string
The list of default BGP peering addresses which belong to IP configuration.
TunnelIpAddresses This property is required. []string
The list of tunnel public IP addresses which belong to IP configuration.
CustomBgpIpAddresses []string
The list of custom BGP peering addresses which belong to IP configuration.
IpconfigurationId string
The ID of IP configuration which belongs to gateway.
defaultBgpIpAddresses This property is required. List<String>
The list of default BGP peering addresses which belong to IP configuration.
tunnelIpAddresses This property is required. List<String>
The list of tunnel public IP addresses which belong to IP configuration.
customBgpIpAddresses List<String>
The list of custom BGP peering addresses which belong to IP configuration.
ipconfigurationId String
The ID of IP configuration which belongs to gateway.
defaultBgpIpAddresses This property is required. string[]
The list of default BGP peering addresses which belong to IP configuration.
tunnelIpAddresses This property is required. string[]
The list of tunnel public IP addresses which belong to IP configuration.
customBgpIpAddresses string[]
The list of custom BGP peering addresses which belong to IP configuration.
ipconfigurationId string
The ID of IP configuration which belongs to gateway.
default_bgp_ip_addresses This property is required. Sequence[str]
The list of default BGP peering addresses which belong to IP configuration.
tunnel_ip_addresses This property is required. Sequence[str]
The list of tunnel public IP addresses which belong to IP configuration.
custom_bgp_ip_addresses Sequence[str]
The list of custom BGP peering addresses which belong to IP configuration.
ipconfiguration_id str
The ID of IP configuration which belongs to gateway.
defaultBgpIpAddresses This property is required. List<String>
The list of default BGP peering addresses which belong to IP configuration.
tunnelIpAddresses This property is required. List<String>
The list of tunnel public IP addresses which belong to IP configuration.
customBgpIpAddresses List<String>
The list of custom BGP peering addresses which belong to IP configuration.
ipconfigurationId String
The ID of IP configuration which belongs to gateway.

IpamPoolPrefixAllocation
, IpamPoolPrefixAllocationArgs

Id string
Resource id of the associated Azure IpamPool resource.
NumberOfIpAddresses string
Number of IP addresses to allocate.
Id string
Resource id of the associated Azure IpamPool resource.
NumberOfIpAddresses string
Number of IP addresses to allocate.
id String
Resource id of the associated Azure IpamPool resource.
numberOfIpAddresses String
Number of IP addresses to allocate.
id string
Resource id of the associated Azure IpamPool resource.
numberOfIpAddresses string
Number of IP addresses to allocate.
id str
Resource id of the associated Azure IpamPool resource.
number_of_ip_addresses str
Number of IP addresses to allocate.
id String
Resource id of the associated Azure IpamPool resource.
numberOfIpAddresses String
Number of IP addresses to allocate.

IpamPoolPrefixAllocationResponse
, IpamPoolPrefixAllocationResponseArgs

AllocatedAddressPrefixes This property is required. List<string>
List of assigned IP address prefixes in the IpamPool of the associated resource.
Id string
Resource id of the associated Azure IpamPool resource.
NumberOfIpAddresses string
Number of IP addresses to allocate.
AllocatedAddressPrefixes This property is required. []string
List of assigned IP address prefixes in the IpamPool of the associated resource.
Id string
Resource id of the associated Azure IpamPool resource.
NumberOfIpAddresses string
Number of IP addresses to allocate.
allocatedAddressPrefixes This property is required. List<String>
List of assigned IP address prefixes in the IpamPool of the associated resource.
id String
Resource id of the associated Azure IpamPool resource.
numberOfIpAddresses String
Number of IP addresses to allocate.
allocatedAddressPrefixes This property is required. string[]
List of assigned IP address prefixes in the IpamPool of the associated resource.
id string
Resource id of the associated Azure IpamPool resource.
numberOfIpAddresses string
Number of IP addresses to allocate.
allocated_address_prefixes This property is required. Sequence[str]
List of assigned IP address prefixes in the IpamPool of the associated resource.
id str
Resource id of the associated Azure IpamPool resource.
number_of_ip_addresses str
Number of IP addresses to allocate.
allocatedAddressPrefixes This property is required. List<String>
List of assigned IP address prefixes in the IpamPool of the associated resource.
id String
Resource id of the associated Azure IpamPool resource.
numberOfIpAddresses String
Number of IP addresses to allocate.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:network:LocalNetworkGateway localgw /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0