import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Linux Web App. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.appservice.getLinuxWebApp({ * name: "existing", * resourceGroupName: "existing", * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Web` - 2023-12-01 */ export declare function getLinuxWebApp(args: GetLinuxWebAppArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getLinuxWebApp. */ export interface GetLinuxWebAppArgs { /** * The name of this Linux Web App. */ name: string; /** * The name of the Resource Group where the Linux Web App exists. */ resourceGroupName: string; } /** * A collection of values returned by getLinuxWebApp. */ export interface GetLinuxWebAppResult { /** * An `appMetadata` block as defined below. */ readonly appMetadata: { [key: string]: string; }; /** * An `appSettings` block as defined below. */ readonly appSettings: { [key: string]: string; }; /** * An `authSettings` block as defined below. */ readonly authSettings: outputs.appservice.GetLinuxWebAppAuthSetting[]; /** * An `authSettingsV2` block as defined below. */ readonly authSettingsV2s: outputs.appservice.GetLinuxWebAppAuthSettingsV2[]; /** * The current availability state. Possible values are `Normal`, `Limited`, and `DisasterRecoveryMode`. */ readonly availability: string; /** * A `backup` block as defined below. */ readonly backups: outputs.appservice.GetLinuxWebAppBackup[]; /** * Is Client Affinity enabled? */ readonly clientAffinityEnabled: boolean; /** * Are Client Certificates enabled? */ readonly clientCertificateEnabled: boolean; /** * Paths to exclude when using client certificates, separated by ; */ readonly clientCertificateExclusionPaths: string; /** * The Client Certificate mode. */ readonly clientCertificateMode: string; /** * A `connectionString` block as defined below. */ readonly connectionStrings: outputs.appservice.GetLinuxWebAppConnectionString[]; /** * The identifier used by App Service to perform domain ownership verification via DNS TXT record. */ readonly customDomainVerificationId: string; /** * The default hostname of the Linux Web App. */ readonly defaultHostname: string; /** * Is the Backup enabled? */ readonly enabled: boolean; /** * Are the default FTP Basic Authentication publishing credentials enabled. */ readonly ftpPublishBasicAuthenticationEnabled: boolean; /** * The ID of the App Service Environment used by App Service. */ readonly hostingEnvironmentId: string; /** * Should the Linux Web App require HTTPS connections. */ readonly httpsOnly: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * A `identity` block as defined below. */ readonly identities: outputs.appservice.GetLinuxWebAppIdentity[]; readonly keyVaultReferenceIdentityId: string; /** * The Kind value for this Linux Web App. */ readonly kind: string; /** * The Azure Region where the Linux Web App exists. */ readonly location: string; /** * A `logs` block as defined below. */ readonly logs: outputs.appservice.GetLinuxWebAppLog[]; /** * The name of this Storage Account. */ readonly name: string; /** * A `outboundIpAddressList` block as defined below. */ readonly outboundIpAddressLists: string[]; /** * A comma separated list of outbound IP addresses - such as `52.23.25.3,52.143.43.12`. */ readonly outboundIpAddresses: string; /** * A `possibleOutboundIpAddressList` block as defined below. */ readonly possibleOutboundIpAddressLists: string[]; /** * A comma separated list of outbound IP addresses - such as `52.23.25.3,52.143.43.12,52.143.43.17` - not all of which are necessarily in use. Superset of `outboundIpAddresses`. */ readonly possibleOutboundIpAddresses: string; /** * Is Public Network Access enabled for this Linux Web App. */ readonly publicNetworkAccessEnabled: boolean; readonly resourceGroupName: string; /** * The ID of the Service Plan that this Linux Web App exists in. */ readonly servicePlanId: string; /** * A `siteConfig` block as defined below. */ readonly siteConfigs: outputs.appservice.GetLinuxWebAppSiteConfig[]; /** * A `siteCredential` block as defined below. */ readonly siteCredentials: outputs.appservice.GetLinuxWebAppSiteCredential[]; /** * A `stickySettings` block as defined below. */ readonly stickySettings: outputs.appservice.GetLinuxWebAppStickySetting[]; /** * A `storageAccount` block as defined below. */ readonly storageAccounts: outputs.appservice.GetLinuxWebAppStorageAccount[]; /** * A mapping of tags assigned to the Linux Web App. */ readonly tags: { [key: string]: string; }; /** * The current usage state. Possible values are `Normal` and `Exceeded`. */ readonly usage: string; /** * Whether backup and restore operations over the linked virtual network are enabled. */ readonly virtualNetworkBackupRestoreEnabled: boolean; /** * The subnet id which the Linux Web App is vNet Integrated with. */ readonly virtualNetworkSubnetId: string; /** * Are the default WebDeploy Basic Authentication publishing credentials enabled. */ readonly webdeployPublishBasicAuthenticationEnabled: boolean; } /** * Use this data source to access information about an existing Linux Web App. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.appservice.getLinuxWebApp({ * name: "existing", * resourceGroupName: "existing", * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Web` - 2023-12-01 */ export declare function getLinuxWebAppOutput(args: GetLinuxWebAppOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getLinuxWebApp. */ export interface GetLinuxWebAppOutputArgs { /** * The name of this Linux Web App. */ name: pulumi.Input; /** * The name of the Resource Group where the Linux Web App exists. */ resourceGroupName: pulumi.Input; }