import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Container App. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.containerapp.getApp({ * name: "example-app", * resourceGroupName: "example-resources", * }); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.App` - 2025-07-01 */ export declare function getApp(args: GetAppArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getApp. */ export interface GetAppArgs { /** * The name of the Container App. */ name: string; /** * Should the data source read the secrets from the Container App? Defaults to `true`. */ readSecrets?: boolean; /** * The name of the Resource Group where this Container App exists. */ resourceGroupName: string; } /** * A collection of values returned by getApp. */ export interface GetAppResult { /** * The ID of the Container App Environment this Container App is linked to. */ readonly containerAppEnvironmentId: string; readonly customDomainVerificationId: string; /** * A `dapr` block as detailed below. */ readonly daprs: outputs.containerapp.GetAppDapr[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Resource ID for the User Assigned Managed identity to use when pulling from the Container Registry. */ readonly identities: outputs.containerapp.GetAppIdentity[]; /** * An `ingress` block as detailed below. */ readonly ingresses: outputs.containerapp.GetAppIngress[]; readonly latestRevisionFqdn: string; readonly latestRevisionName: string; readonly location: string; /** * The max inactive revisions for this Container App. */ readonly maxInactiveRevisions: number; /** * Name for the IP restriction rule. */ readonly name: string; readonly outboundIpAddresses: string[]; readonly readSecrets?: boolean; /** * A `registry` block as detailed below. */ readonly registries: outputs.containerapp.GetAppRegistry[]; readonly resourceGroupName: string; /** * The revision mode of the Container App. */ readonly revisionMode: string; /** * One or more `secret` block as detailed below. */ readonly secrets: outputs.containerapp.GetAppSecret[]; /** * A mapping of tags to assign to the Container App. */ readonly tags: { [key: string]: string; }; /** * A `template` block as detailed below. */ readonly templates: outputs.containerapp.GetAppTemplate[]; /** * The name of the Workload Profile in the Container App Environment in which this Container App is running. */ readonly workloadProfileName: string; } /** * Use this data source to access information about an existing Container App. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.containerapp.getApp({ * name: "example-app", * resourceGroupName: "example-resources", * }); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.App` - 2025-07-01 */ export declare function getAppOutput(args: GetAppOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getApp. */ export interface GetAppOutputArgs { /** * The name of the Container App. */ name: pulumi.Input; /** * Should the data source read the secrets from the Container App? Defaults to `true`. */ readSecrets?: pulumi.Input; /** * The name of the Resource Group where this Container App exists. */ resourceGroupName: pulumi.Input; }