import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Description for Gets the details of a web, mobile, or API app. * * Uses Azure REST API version 2025-05-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-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 getWebAppSlot(args: GetWebAppSlotArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetWebAppSlotArgs { /** * Name of the app. */ name: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * Name of the deployment slot. By default, this API returns the production slot. */ slot: string; } /** * A web app, a mobile app backend, or an API app. */ export interface GetWebAppSlotResult { /** * Specifies the scope of uniqueness for the default hostname during resource creation */ readonly autoGeneratedDomainNameLabelScope?: string; /** * Management information availability state for the app. */ readonly availabilityState: string; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true. */ readonly clientAffinityEnabled?: boolean; /** * true to enable client affinity partitioning using CHIPS cookies, this will add the partitioned property to the affinity cookies; false to stop sending partitioned affinity cookies. Default is false. */ readonly clientAffinityPartitioningEnabled?: boolean; /** * true to override client affinity cookie domain with X-Forwarded-Host request header. false to use default domain. Default is false. */ readonly clientAffinityProxyEnabled?: boolean; /** * true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false. */ readonly clientCertEnabled?: boolean; /** * client certificate authentication comma-separated exclusion paths */ readonly clientCertExclusionPaths?: string; /** * This composes with ClientCertEnabled setting. * - ClientCertEnabled: false means ClientCert is ignored. * - ClientCertEnabled: true and ClientCertMode: Required means ClientCert is required. * - ClientCertEnabled: true and ClientCertMode: Optional means ClientCert is optional or accepted. */ readonly clientCertMode?: string; /** * Size of the function container. */ readonly containerSize?: number; /** * Unique identifier that verifies the custom domains assigned to the app. Customer will add this id to a txt record for verification. */ readonly customDomainVerificationId?: string; /** * Maximum allowed daily memory-time quota (applicable on dynamic apps only). */ readonly dailyMemoryTimeQuota?: number; /** * Dapr configuration of the app. */ readonly daprConfig?: outputs.web.DaprConfigResponse; /** * Default hostname of the app. Read-only. */ readonly defaultHostName: string; /** * Property to configure various DNS related settings for a site. */ readonly dnsConfiguration?: outputs.web.SiteDnsConfigResponse; /** * true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline). */ readonly enabled?: boolean; /** * Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise, * the app is not served on those hostnames. */ readonly enabledHostNames: string[]; /** * Whether to use end to end encryption between the FrontEnd and the Worker */ readonly endToEndEncryptionEnabled?: boolean; /** * Extended Location. */ readonly extendedLocation?: outputs.web.ExtendedLocationResponse; /** * Configuration specific of the Azure Function app. */ readonly functionAppConfig?: outputs.web.FunctionAppConfigResponse; /** * Hostname SSL states are used to manage the SSL bindings for app's hostnames. */ readonly hostNameSslStates?: outputs.web.HostNameSslStateResponse[]; /** * Hostnames associated with the app. */ readonly hostNames: string[]; /** * true to disable the public hostnames of the app; otherwise, false. * If true, the app is only accessible via API management process. */ readonly hostNamesDisabled?: boolean; /** * App Service Environment to use for the app. */ readonly hostingEnvironmentProfile?: outputs.web.HostingEnvironmentProfileResponse; /** * HttpsOnly: configures a web site to accept only https requests. Issues redirect for * http requests */ readonly httpsOnly?: boolean; /** * Hyper-V sandbox. */ 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; /** * Specifies an operation id if this site has a pending operation. */ readonly inProgressOperationId: string; /** * Specifies the IP mode of the app. */ readonly ipMode?: string; /** * true if the app is a default container; otherwise, false. */ readonly isDefaultContainer: boolean; /** * Obsolete: Hyper-V sandbox. */ readonly isXenon?: boolean; /** * Identity to use for Key Vault Reference authentication. */ readonly keyVaultReferenceIdentity?: string; /** * 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; /** * Last time the app was modified, in UTC. Read-only. */ readonly lastModifiedTimeUtc: string; /** * The geo-location where the resource lives */ readonly location: string; /** * Azure Resource Manager ID of the customer's selected Managed Environment on which to host this app. This must be of the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.App/managedEnvironments/{managedEnvironmentName} */ readonly managedEnvironmentId?: string; /** * Maximum number of workers. * This only applies to Functions container. */ readonly maxNumberOfWorkers: number; /** * The name of the resource */ readonly name: string; /** * List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only. */ readonly outboundIpAddresses: string; /** * Property to configure various outbound traffic routing options over virtual network for a site */ readonly outboundVnetRouting?: outputs.web.OutboundVnetRoutingResponse; /** * List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants except dataComponent. Read-only. */ readonly possibleOutboundIpAddresses: string; /** * Property to allow or block all public traffic. Allowed Values: 'Enabled', 'Disabled' or an empty string. */ readonly publicNetworkAccess?: string; /** * Site redundancy mode */ readonly redundancyMode?: string; /** * Name of the repository site. */ readonly repositorySiteName: string; /** * true if reserved; otherwise, false. */ readonly reserved?: boolean; /** * Function app resource requirements. */ readonly resourceConfig?: outputs.web.ResourceConfigResponse; /** * Name of the resource group the app belongs to. Read-only. */ readonly resourceGroup: string; /** * true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false. */ readonly scmSiteAlsoStopped?: boolean; /** * Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". */ readonly serverFarmId?: string; /** * Configuration of an App Service app. This property is not returned in response to normal create and read requests since it may contain sensitive information. */ readonly siteConfig?: outputs.web.SiteConfigResponse; /** * Current SKU of application based on associated App Service Plan. Some valid SKU values are Free, Shared, Basic, Dynamic, FlexConsumption, Standard, Premium, PremiumV2, PremiumV3, Isolated, IsolatedV2 */ readonly sku: string; /** * Status of the last deployment slot swap operation. */ readonly slotSwapStatus: outputs.web.SlotSwapStatusResponse; /** * Whether to enable ssh access. */ readonly sshEnabled?: boolean; /** * Current state of the app. */ readonly state: string; /** * Checks if Customer provided storage account is required */ readonly storageAccountRequired?: boolean; /** * App suspended till in case memory-time quota is exceeded. */ readonly suspendedTill: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.web.SystemDataResponse; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * Specifies which deployment slot this app will swap into. Read-only. */ readonly targetSwapSlot: string; /** * Azure Traffic Manager hostnames associated with the app. Read-only. */ readonly trafficManagerHostNames: string[]; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; /** * State indicating whether the app has exceeded its quota usage. Read-only. */ readonly usageState: string; /** * Azure Resource Manager ID of the Virtual network and subnet to be joined by Regional VNET Integration. * This must be of the form /subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName} */ readonly virtualNetworkSubnetId?: string; /** * Workload profile name for function app to execute on. */ readonly workloadProfileName?: string; } /** * Description for Gets the details of a web, mobile, or API app. * * Uses Azure REST API version 2025-05-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-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 getWebAppSlotOutput(args: GetWebAppSlotOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface GetWebAppSlotOutputArgs { /** * Name of the app. */ name: pulumi.Input; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input; /** * Name of the deployment slot. By default, this API returns the production slot. */ slot: pulumi.Input; } //# sourceMappingURL=getWebAppSlot.d.ts.map