import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Description for Get an App Service plan. * * Uses Azure REST API version 2025-05-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-04-01, 2024-11-01, 2025-03-01, 2026-03-01-preview, 2026-03-15, 2026-07-15. 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 getAppServicePlan(args: GetAppServicePlanArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetAppServicePlanArgs { /** * Name of the App Service plan. */ name: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * App Service plan. */ export interface GetAppServicePlanResult { /** * If true, this App Service Plan will attempt to scale asynchronously if there are insufficient workers to scale synchronously. * If false, this App Service Plan will only attempt sync scaling. */ readonly asyncScalingEnabled?: boolean; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * ServerFarm supports ElasticScale. Apps in this plan will scale as if the ServerFarm was ElasticPremium sku */ readonly elasticScaleEnabled?: boolean; /** * Extended Location. */ readonly extendedLocation?: outputs.web.ExtendedLocationResponse; /** * The time when the server farm free offer expires. */ readonly freeOfferExpirationTime?: string; /** * Geographical location for the App Service plan. */ readonly geoRegion: string; /** * Specification for the App Service Environment to use for the App Service plan. */ readonly hostingEnvironmentProfile?: outputs.web.HostingEnvironmentProfileResponse; /** * If Hyper-V container app service plan true, false otherwise. */ readonly hyperV?: boolean; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * Managed service identity. */ readonly identity?: outputs.web.ManagedServiceIdentityResponse; /** * Install scripts associated with this App Service plan. */ readonly installScripts?: outputs.web.InstallScriptResponse[]; /** * Whether this server farm is in custom mode. */ readonly isCustomMode?: boolean; /** * If true, this App Service Plan owns spot instances. */ readonly isSpot?: boolean; /** * Obsolete: If Hyper-V container app service plan true, false otherwise. */ readonly isXenon?: boolean; /** * 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; /** * Specification for the Kubernetes Environment to use for the App Service plan. */ readonly kubeEnvironmentProfile?: outputs.web.KubeEnvironmentProfileResponse; /** * The geo-location where the resource lives */ readonly location: string; /** * Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan */ readonly maximumElasticWorkerCount?: number; /** * Maximum number of instances that can be assigned to this App Service plan. */ readonly maximumNumberOfWorkers: number; /** * The name of the resource */ readonly name: string; /** * All network settings for the server farm. */ readonly network?: outputs.web.ServerFarmNetworkSettingsResponse; /** * Number of apps assigned to this App Service plan. */ readonly numberOfSites: number; /** * The number of instances that are assigned to this App Service plan. */ readonly numberOfWorkers: number; /** * If true, apps assigned to this App Service plan can be scaled independently. * If false, apps assigned to this App Service plan will scale to all instances of the plan. */ readonly perSiteScaling?: boolean; /** * Identity to use by platform for various features and integrations using managed identity. */ readonly planDefaultIdentity?: outputs.web.DefaultIdentityResponse; /** * Provisioning state of the App Service Plan. */ readonly provisioningState: string; /** * If true, RDP access is enabled for this App Service plan. Only applicable for IsCustomMode ASPs. * If false, RDP access is disabled. */ readonly rdpEnabled?: boolean; /** * Registry adapters associated with this App Service plan. */ readonly registryAdapters?: outputs.web.RegistryAdapterResponse[]; /** * If Linux app service plan true, false otherwise. */ readonly reserved?: boolean; /** * Resource group of the App Service plan. */ readonly resourceGroup: string; /** * Description of a SKU for a scalable resource. */ readonly sku?: outputs.web.SkuDescriptionResponse; /** * The time when the server farm expires. Valid only if it is a spot server farm. */ readonly spotExpirationTime?: string; /** * App Service plan status. */ readonly status: string; /** * Storage mounts associated with this App Service plan. */ readonly storageMounts?: outputs.web.StorageMountResponse[]; /** * App Service plan subscription. */ readonly subscription: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.web.SystemDataResponse; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * Scaling worker count. */ readonly targetWorkerCount?: number; /** * Scaling worker size ID. */ readonly targetWorkerSizeId?: number; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; /** * Target worker tier assigned to the App Service plan. */ readonly workerTierName?: string; /** * If true, this App Service Plan will perform availability zone balancing. * If false, this App Service Plan will not perform availability zone balancing. */ readonly zoneRedundant?: boolean; } /** * Description for Get an App Service plan. * * Uses Azure REST API version 2025-05-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-04-01, 2024-11-01, 2025-03-01, 2026-03-01-preview, 2026-03-15, 2026-07-15. 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 getAppServicePlanOutput(args: GetAppServicePlanOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface GetAppServicePlanOutputArgs { /** * Name of the App Service plan. */ name: pulumi.Input; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input; } //# sourceMappingURL=getAppServicePlan.d.ts.map