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

109 lines (108 loc) 4.07 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Description for Gets a virtual network the app (or deployment slot) is connected to by name. * * Uses Azure REST API version 2024-04-01. * * Other available API versions: 2016-08-01, 2018-02-01, 2018-11-01, 2019-08-01, 2020-06-01, 2020-09-01, 2020-10-01, 2020-12-01, 2021-01-01, 2021-01-15, 2021-02-01, 2021-03-01, 2022-03-01, 2022-09-01, 2023-01-01, 2023-12-01, 2024-11-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native web [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getWebAppVnetConnectionSlot(args: GetWebAppVnetConnectionSlotArgs, opts?: pulumi.InvokeOptions): Promise<GetWebAppVnetConnectionSlotResult>; export interface GetWebAppVnetConnectionSlotArgs { /** * Name of the app. */ name: string; /** * Name of the resource group to which the resource belongs. */ resourceGroupName: string; /** * Name of the deployment slot. If a slot is not specified, the API will get the named virtual network for the production slot. */ slot: string; /** * Name of the virtual network. */ vnetName: string; } /** * Virtual Network information ARM resource. */ export interface GetWebAppVnetConnectionSlotResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * A certificate file (.cer) blob containing the public key of the private key used to authenticate a * Point-To-Site VPN connection. */ readonly certBlob?: string; /** * The client certificate thumbprint. */ readonly certThumbprint: string; /** * DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses. */ readonly dnsServers?: string; /** * Resource Id. */ readonly id: string; /** * Flag that is used to denote if this is VNET injection */ readonly isSwift?: boolean; /** * Kind of resource. */ readonly kind?: string; /** * Resource Name. */ readonly name: string; /** * <code>true</code> if a resync is required; otherwise, <code>false</code>. */ readonly resyncRequired: boolean; /** * The routes that this Virtual Network connection uses. */ readonly routes: outputs.web.VnetRouteResponse[]; /** * Resource type. */ readonly type: string; /** * The Virtual Network's resource ID. */ readonly vnetResourceId?: string; } /** * Description for Gets a virtual network the app (or deployment slot) is connected to by name. * * Uses Azure REST API version 2024-04-01. * * Other available API versions: 2016-08-01, 2018-02-01, 2018-11-01, 2019-08-01, 2020-06-01, 2020-09-01, 2020-10-01, 2020-12-01, 2021-01-01, 2021-01-15, 2021-02-01, 2021-03-01, 2022-03-01, 2022-09-01, 2023-01-01, 2023-12-01, 2024-11-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native web [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getWebAppVnetConnectionSlotOutput(args: GetWebAppVnetConnectionSlotOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWebAppVnetConnectionSlotResult>; export interface GetWebAppVnetConnectionSlotOutputArgs { /** * Name of the app. */ name: pulumi.Input<string>; /** * Name of the resource group to which the resource belongs. */ resourceGroupName: pulumi.Input<string>; /** * Name of the deployment slot. If a slot is not specified, the API will get the named virtual network for the production slot. */ slot: pulumi.Input<string>; /** * Name of the virtual network. */ vnetName: pulumi.Input<string>; }