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

106 lines (105 loc) • 4.32 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Retrieves the details of a virtual wan p2s vpn gateway. * * Uses Azure REST API version 2024-05-01. * * Other available API versions: 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 getP2sVpnGateway(args: GetP2sVpnGatewayArgs, opts?: pulumi.InvokeOptions): Promise<GetP2sVpnGatewayResult>; export interface GetP2sVpnGatewayArgs { /** * The name of the gateway. */ gatewayName: string; /** * The resource group name of the P2SVpnGateway. */ resourceGroupName: string; } /** * P2SVpnGateway Resource. */ export interface GetP2sVpnGatewayResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * List of all customer specified DNS servers IP addresses. */ readonly customDnsServers?: string[]; /** * A unique read-only string that changes whenever the resource is updated. */ readonly etag: string; /** * Resource ID. */ readonly id?: string; /** * Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway. */ readonly isRoutingPreferenceInternet?: boolean; /** * Resource location. */ readonly location: string; /** * Resource name. */ readonly name: string; /** * List of all p2s connection configurations of the gateway. */ readonly p2SConnectionConfigurations?: outputs.network.P2SConnectionConfigurationResponse[]; /** * The provisioning state of the P2S 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; /** * All P2S VPN clients' connection health status. */ readonly vpnClientConnectionHealth: outputs.network.VpnClientConnectionHealthResponse; /** * The scale unit for this p2s vpn gateway. */ readonly vpnGatewayScaleUnit?: number; /** * The VpnServerConfiguration to which the p2sVpnGateway is attached to. */ readonly vpnServerConfiguration?: outputs.network.SubResourceResponse; } /** * Retrieves the details of a virtual wan p2s vpn gateway. * * Uses Azure REST API version 2024-05-01. * * Other available API versions: 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 getP2sVpnGatewayOutput(args: GetP2sVpnGatewayOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetP2sVpnGatewayResult>; export interface GetP2sVpnGatewayOutputArgs { /** * The name of the gateway. */ gatewayName: pulumi.Input<string>; /** * The resource group name of the P2SVpnGateway. */ resourceGroupName: pulumi.Input<string>; }