UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

110 lines (109 loc) • 4.38 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Retrieves the details of a virtual wan vpn gateway. * * Uses Azure REST API version 2024-05-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, 2024-07-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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getVpnGateway(args: GetVpnGatewayArgs, opts?: pulumi.InvokeOptions): Promise<GetVpnGatewayResult>; export interface GetVpnGatewayArgs { /** * The name of the gateway. */ gatewayName: string; /** * The resource group name of the VpnGateway. */ resourceGroupName: string; } /** * VpnGateway Resource. */ export interface GetVpnGatewayResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Local network gateway's BGP speaker settings. */ readonly bgpSettings?: outputs.network.BgpSettingsResponse; /** * List of all vpn connections to the gateway. */ readonly connections?: outputs.network.VpnConnectionResponse[]; /** * Enable BGP routes translation for NAT on this VpnGateway. */ readonly enableBgpRouteTranslationForNat?: boolean; /** * A unique read-only string that changes whenever the resource is updated. */ readonly etag: string; /** * Resource ID. */ readonly id?: string; /** * List of all IPs configured on the gateway. */ readonly ipConfigurations: outputs.network.VpnGatewayIpConfigurationResponse[]; /** * Enable Routing Preference property for the Public IP Interface of the VpnGateway. */ readonly isRoutingPreferenceInternet?: boolean; /** * Resource location. */ readonly location: string; /** * Resource name. */ readonly name: string; /** * List of all the nat Rules associated with the gateway. */ readonly natRules?: outputs.network.VpnGatewayNatRuleResponse[]; /** * The provisioning state of the VPN gateway resource. */ readonly provisioningState: string; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * Resource type. */ readonly type: string; /** * The VirtualHub to which the gateway belongs. */ readonly virtualHub?: outputs.network.SubResourceResponse; /** * The scale unit for this vpn gateway. */ readonly vpnGatewayScaleUnit?: number; } /** * Retrieves the details of a virtual wan vpn gateway. * * Uses Azure REST API version 2024-05-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, 2024-07-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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getVpnGatewayOutput(args: GetVpnGatewayOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVpnGatewayResult>; export interface GetVpnGatewayOutputArgs { /** * The name of the gateway. */ gatewayName: pulumi.Input<string>; /** * The resource group name of the VpnGateway. */ resourceGroupName: pulumi.Input<string>; }