import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Virtual Network Gateway. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.network.getVirtualNetworkGateway({ * name: "production", * resourceGroupName: "networking", * }); * export const virtualNetworkGatewayId = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Network` - 2025-01-01 */ export declare function getVirtualNetworkGateway(args: GetVirtualNetworkGatewayArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getVirtualNetworkGateway. */ export interface GetVirtualNetworkGatewayArgs { /** * Specifies the name of the Virtual Network Gateway. */ name: string; /** * Specifies the name of the resource group the Virtual Network Gateway is located in. */ resourceGroupName: string; } /** * A collection of values returned by getVirtualNetworkGateway. */ export interface GetVirtualNetworkGatewayResult { /** * Is this an Active-Active Gateway? */ readonly activeActive: boolean; /** * Will BGP (Border Gateway Protocol) will be enabled for this Virtual Network Gateway. */ readonly bgpEnabled: boolean; readonly bgpSettings: outputs.network.GetVirtualNetworkGatewayBgpSetting[]; readonly customRoutes: outputs.network.GetVirtualNetworkGatewayCustomRoute[]; /** * The ID of the local network gateway * through which outbound Internet traffic from the virtual network in which the * gateway is created will be routed (*forced tunneling*). Refer to the * [Azure documentation on forced tunneling](https://docs.microsoft.com/azure/vpn-gateway/vpn-gateway-forced-tunneling-rm). */ readonly defaultLocalNetworkGatewayId: string; /** * @deprecated the `enableBgp` property has been deprecated in favour of the `bgpEnabled` property and will be removed in 5.0 of the AzureRM provider */ readonly enableBgp: boolean; /** * The Generation of the Virtual Network Gateway. */ readonly generation: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * One or two `ipConfiguration` blocks documented below. */ readonly ipConfigurations: outputs.network.GetVirtualNetworkGatewayIpConfiguration[]; /** * The location/region where the Virtual Network Gateway is located. */ readonly location: string; /** * The user-defined name of the root certificate. */ readonly name: string; /** * Whether a private IP will be used for this gateway for connections. */ readonly privateIpAddressEnabled: boolean; readonly resourceGroupName: string; /** * Configuration of the size and capacity of the Virtual Network Gateway. */ readonly sku: string; /** * A mapping of tags assigned to the resource. */ readonly tags: { [key: string]: string; }; /** * The type of the Virtual Network Gateway. */ readonly type: string; /** * A `vpnClientConfiguration` block which is documented below. */ readonly vpnClientConfigurations: outputs.network.GetVirtualNetworkGatewayVpnClientConfiguration[]; /** * The routing type of the Virtual Network Gateway. */ readonly vpnType: string; } /** * Use this data source to access information about an existing Virtual Network Gateway. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.network.getVirtualNetworkGateway({ * name: "production", * resourceGroupName: "networking", * }); * export const virtualNetworkGatewayId = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Network` - 2025-01-01 */ export declare function getVirtualNetworkGatewayOutput(args: GetVirtualNetworkGatewayOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getVirtualNetworkGateway. */ export interface GetVirtualNetworkGatewayOutputArgs { /** * Specifies the name of the Virtual Network Gateway. */ name: pulumi.Input; /** * Specifies the name of the resource group the Virtual Network Gateway is located in. */ resourceGroupName: pulumi.Input; }