This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.network.getLocalNetworkGateway
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Gets the specified local network gateway in a resource group. Azure REST API version: 2023-02-01.
Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01.
Using getLocalNetworkGateway
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getLocalNetworkGateway(args: GetLocalNetworkGatewayArgs, opts?: InvokeOptions): Promise<GetLocalNetworkGatewayResult>
function getLocalNetworkGatewayOutput(args: GetLocalNetworkGatewayOutputArgs, opts?: InvokeOptions): Output<GetLocalNetworkGatewayResult>def get_local_network_gateway(local_network_gateway_name: Optional[str] = None,
                              resource_group_name: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetLocalNetworkGatewayResult
def get_local_network_gateway_output(local_network_gateway_name: Optional[pulumi.Input[str]] = None,
                              resource_group_name: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetLocalNetworkGatewayResult]func LookupLocalNetworkGateway(ctx *Context, args *LookupLocalNetworkGatewayArgs, opts ...InvokeOption) (*LookupLocalNetworkGatewayResult, error)
func LookupLocalNetworkGatewayOutput(ctx *Context, args *LookupLocalNetworkGatewayOutputArgs, opts ...InvokeOption) LookupLocalNetworkGatewayResultOutput> Note: This function is named LookupLocalNetworkGateway in the Go SDK.
public static class GetLocalNetworkGateway 
{
    public static Task<GetLocalNetworkGatewayResult> InvokeAsync(GetLocalNetworkGatewayArgs args, InvokeOptions? opts = null)
    public static Output<GetLocalNetworkGatewayResult> Invoke(GetLocalNetworkGatewayInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetLocalNetworkGatewayResult> getLocalNetworkGateway(GetLocalNetworkGatewayArgs args, InvokeOptions options)
public static Output<GetLocalNetworkGatewayResult> getLocalNetworkGateway(GetLocalNetworkGatewayArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:network:getLocalNetworkGateway
  arguments:
    # arguments dictionaryThe following arguments are supported:
- LocalNetwork stringGateway Name 
- The name of the local network gateway.
- ResourceGroup stringName 
- The name of the resource group.
- LocalNetwork stringGateway Name 
- The name of the local network gateway.
- ResourceGroup stringName 
- The name of the resource group.
- localNetwork StringGateway Name 
- The name of the local network gateway.
- resourceGroup StringName 
- The name of the resource group.
- localNetwork stringGateway Name 
- The name of the local network gateway.
- resourceGroup stringName 
- The name of the resource group.
- local_network_ strgateway_ name 
- The name of the local network gateway.
- resource_group_ strname 
- The name of the resource group.
- localNetwork StringGateway Name 
- The name of the local network gateway.
- resourceGroup StringName 
- The name of the resource group.
getLocalNetworkGateway Result
The following output properties are available:
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- 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.
- BgpSettings Pulumi.Azure Native. Network. Outputs. Bgp Settings Response 
- Local network gateway's BGP speaker settings.
- Fqdn string
- FQDN of local network gateway.
- GatewayIp stringAddress 
- IP address of local network gateway.
- Id string
- Resource ID.
- LocalNetwork Pulumi.Address Space Azure Native. Network. Outputs. Address Space Response 
- Local network site address space.
- Location string
- Resource location.
- Dictionary<string, string>
- Resource tags.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- 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.
- BgpSettings BgpSettings Response 
- Local network gateway's BGP speaker settings.
- Fqdn string
- FQDN of local network gateway.
- GatewayIp stringAddress 
- IP address of local network gateway.
- Id string
- Resource ID.
- LocalNetwork AddressAddress Space Space Response 
- Local network site address space.
- Location string
- Resource location.
- map[string]string
- Resource tags.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- 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.
- bgpSettings BgpSettings Response 
- Local network gateway's BGP speaker settings.
- fqdn String
- FQDN of local network gateway.
- gatewayIp StringAddress 
- IP address of local network gateway.
- id String
- Resource ID.
- localNetwork AddressAddress Space Space Response 
- Local network site address space.
- location String
- Resource location.
- Map<String,String>
- Resource tags.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- 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.
- bgpSettings BgpSettings Response 
- Local network gateway's BGP speaker settings.
- fqdn string
- FQDN of local network gateway.
- gatewayIp stringAddress 
- IP address of local network gateway.
- id string
- Resource ID.
- localNetwork AddressAddress Space Space Response 
- Local network site address space.
- location string
- Resource location.
- {[key: string]: string}
- Resource tags.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- 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.
- bgp_settings BgpSettings Response 
- Local network gateway's BGP speaker settings.
- fqdn str
- FQDN of local network gateway.
- gateway_ip_ straddress 
- IP address of local network gateway.
- id str
- Resource ID.
- local_network_ Addressaddress_ space Space Response 
- Local network site address space.
- location str
- Resource location.
- Mapping[str, str]
- Resource tags.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- 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.
- bgpSettings Property Map
- Local network gateway's BGP speaker settings.
- fqdn String
- FQDN of local network gateway.
- gatewayIp StringAddress 
- IP address of local network gateway.
- id String
- Resource ID.
- localNetwork Property MapAddress Space 
- Local network site address space.
- location String
- Resource location.
- Map<String>
- Resource tags.
Supporting Types
AddressSpaceResponse  
- AddressPrefixes List<string>
- A list of address blocks reserved for this virtual network in CIDR notation.
- AddressPrefixes []string
- A list of address blocks reserved for this virtual network in CIDR notation.
- addressPrefixes List<String>
- A list of address blocks reserved for this virtual network in CIDR notation.
- addressPrefixes string[]
- A list of address blocks reserved for this virtual network in CIDR notation.
- address_prefixes Sequence[str]
- A list of address blocks reserved for this virtual network in CIDR notation.
- addressPrefixes List<String>
- A list of address blocks reserved for this virtual network in CIDR notation.
BgpSettingsResponse  
- Asn double
- The BGP speaker's ASN.
- BgpPeering stringAddress 
- The BGP peering address and BGP identifier of this BGP speaker.
- BgpPeering List<Pulumi.Addresses Azure Native. Network. Inputs. IPConfiguration Bgp Peering Address Response> 
- 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.
- BgpPeering stringAddress 
- The BGP peering address and BGP identifier of this BGP speaker.
- BgpPeering []IPConfigurationAddresses Bgp Peering Address Response 
- 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.
- bgpPeering StringAddress 
- The BGP peering address and BGP identifier of this BGP speaker.
- bgpPeering List<IPConfigurationAddresses Bgp Peering Address Response> 
- 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.
- bgpPeering stringAddress 
- The BGP peering address and BGP identifier of this BGP speaker.
- bgpPeering IPConfigurationAddresses Bgp Peering Address Response[] 
- 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_ straddress 
- The BGP peering address and BGP identifier of this BGP speaker.
- bgp_peering_ Sequence[IPConfigurationaddresses Bgp Peering Address Response] 
- 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.
- bgpPeering StringAddress 
- The BGP peering address and BGP identifier of this BGP speaker.
- bgpPeering List<Property Map>Addresses 
- BGP peering address with IP configuration ID for virtual network gateway.
- peerWeight Number
- The weight added to routes learned from this BGP speaker.
IPConfigurationBgpPeeringAddressResponse    
- DefaultBgp List<string>Ip Addresses 
- The list of default BGP peering addresses which belong to IP configuration.
- TunnelIp List<string>Addresses 
- The list of tunnel public IP addresses which belong to IP configuration.
- CustomBgp List<string>Ip Addresses 
- The list of custom BGP peering addresses which belong to IP configuration.
- IpconfigurationId string
- The ID of IP configuration which belongs to gateway.
- DefaultBgp []stringIp Addresses 
- The list of default BGP peering addresses which belong to IP configuration.
- TunnelIp []stringAddresses 
- The list of tunnel public IP addresses which belong to IP configuration.
- CustomBgp []stringIp Addresses 
- The list of custom BGP peering addresses which belong to IP configuration.
- IpconfigurationId string
- The ID of IP configuration which belongs to gateway.
- defaultBgp List<String>Ip Addresses 
- The list of default BGP peering addresses which belong to IP configuration.
- tunnelIp List<String>Addresses 
- The list of tunnel public IP addresses which belong to IP configuration.
- customBgp List<String>Ip Addresses 
- The list of custom BGP peering addresses which belong to IP configuration.
- ipconfigurationId String
- The ID of IP configuration which belongs to gateway.
- defaultBgp string[]Ip Addresses 
- The list of default BGP peering addresses which belong to IP configuration.
- tunnelIp string[]Addresses 
- The list of tunnel public IP addresses which belong to IP configuration.
- customBgp string[]Ip Addresses 
- 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_ Sequence[str]ip_ addresses 
- The list of default BGP peering addresses which belong to IP configuration.
- tunnel_ip_ Sequence[str]addresses 
- The list of tunnel public IP addresses which belong to IP configuration.
- custom_bgp_ Sequence[str]ip_ addresses 
- The list of custom BGP peering addresses which belong to IP configuration.
- ipconfiguration_id str
- The ID of IP configuration which belongs to gateway.
- defaultBgp List<String>Ip Addresses 
- The list of default BGP peering addresses which belong to IP configuration.
- tunnelIp List<String>Addresses 
- The list of tunnel public IP addresses which belong to IP configuration.
- customBgp List<String>Ip Addresses 
- The list of custom BGP peering addresses which belong to IP configuration.
- ipconfigurationId String
- The ID of IP configuration which belongs to gateway.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi