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

102 lines (101 loc) • 4.38 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. * * Uses Azure REST API version 2024-05-01. * * Other available API versions: 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 getP2sVpnGatewayP2sVpnConnectionHealth(args: GetP2sVpnGatewayP2sVpnConnectionHealthArgs, opts?: pulumi.InvokeOptions): Promise<GetP2sVpnGatewayP2sVpnConnectionHealthResult>; export interface GetP2sVpnGatewayP2sVpnConnectionHealthArgs { /** * The name of the P2SVpnGateway. */ gatewayName: string; /** * The name of the resource group. */ resourceGroupName: string; } /** * P2SVpnGateway Resource. */ export interface GetP2sVpnGatewayP2sVpnConnectionHealthResult { /** * 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; } /** * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. * * Uses Azure REST API version 2024-05-01. * * Other available API versions: 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 getP2sVpnGatewayP2sVpnConnectionHealthOutput(args: GetP2sVpnGatewayP2sVpnConnectionHealthOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetP2sVpnGatewayP2sVpnConnectionHealthResult>; export interface GetP2sVpnGatewayP2sVpnConnectionHealthOutputArgs { /** * The name of the P2SVpnGateway. */ gatewayName: pulumi.Input<string>; /** * The name of the resource group. */ resourceGroupName: pulumi.Input<string>; }