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

155 lines (154 loc) 5.59 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Description for Get the properties of an App Service Environment. * * Uses Azure REST API version 2024-04-01. * * Other available API versions: 2016-09-01, 2018-02-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 getAppServiceEnvironment(args: GetAppServiceEnvironmentArgs, opts?: pulumi.InvokeOptions): Promise<GetAppServiceEnvironmentResult>; export interface GetAppServiceEnvironmentArgs { /** * Name of the App Service Environment. */ name: string; /** * Name of the resource group to which the resource belongs. */ resourceGroupName: string; } /** * App Service Environment ARM resource. */ export interface GetAppServiceEnvironmentResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Custom settings for changing the behavior of the App Service Environment. */ readonly clusterSettings?: outputs.web.NameValuePairResponse[]; /** * Full view of the custom domain suffix configuration for ASEv3. */ readonly customDnsSuffixConfiguration?: outputs.web.CustomDnsSuffixConfigurationResponse; /** * Dedicated Host Count */ readonly dedicatedHostCount?: number; /** * DNS suffix of the App Service Environment. */ readonly dnsSuffix?: string; /** * Scale factor for front-ends. */ readonly frontEndScaleFactor?: number; /** * Flag that displays whether an ASE has linux workers or not */ readonly hasLinuxWorkers: boolean; /** * Resource Id. */ readonly id: string; /** * Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. */ readonly internalLoadBalancingMode?: string; /** * Number of IP SSL addresses reserved for the App Service Environment. */ readonly ipsslAddressCount?: number; /** * Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind. */ readonly kind?: string; /** * Resource Location. */ readonly location: string; /** * Maximum number of VMs in the App Service Environment. */ readonly maximumNumberOfMachines: number; /** * Number of front-end instances. */ readonly multiRoleCount: number; /** * Front-end VM size, e.g. "Medium", "Large". */ readonly multiSize?: string; /** * Resource Name. */ readonly name: string; /** * Full view of networking configuration for an ASE. */ readonly networkingConfiguration?: outputs.web.AseV3NetworkingConfigurationResponse; /** * Provisioning state of the App Service Environment. */ readonly provisioningState: string; /** * Current status of the App Service Environment. */ readonly status: string; /** * <code>true</code> if the App Service Environment is suspended; otherwise, <code>false</code>. The environment can be suspended, e.g. when the management endpoint is no longer available * (most likely because NSG blocked the incoming traffic). */ readonly suspended: boolean; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * Resource type. */ readonly type: string; /** * Whether an upgrade is available for this App Service Environment. */ readonly upgradeAvailability: string; /** * Upgrade Preference */ readonly upgradePreference?: string; /** * User added ip ranges to whitelist on ASE db */ readonly userWhitelistedIpRanges?: string[]; /** * Description of the Virtual Network. */ readonly virtualNetwork: outputs.web.VirtualNetworkProfileResponse; /** * Whether or not this App Service Environment is zone-redundant. */ readonly zoneRedundant?: boolean; } /** * Description for Get the properties of an App Service Environment. * * Uses Azure REST API version 2024-04-01. * * Other available API versions: 2016-09-01, 2018-02-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 getAppServiceEnvironmentOutput(args: GetAppServiceEnvironmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAppServiceEnvironmentResult>; export interface GetAppServiceEnvironmentOutputArgs { /** * Name of the App Service Environment. */ name: pulumi.Input<string>; /** * Name of the resource group to which the resource belongs. */ resourceGroupName: pulumi.Input<string>; }