import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * Manages a Container App.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "example-resources",
 *     location: "West Europe",
 * });
 * const exampleAnalyticsWorkspace = new azure.operationalinsights.AnalyticsWorkspace("example", {
 *     name: "acctest-01",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     sku: "PerGB2018",
 *     retentionInDays: 30,
 * });
 * const exampleEnvironment = new azure.containerapp.Environment("example", {
 *     name: "Example-Environment",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     logAnalyticsWorkspaceId: exampleAnalyticsWorkspace.id,
 * });
 * const exampleApp = new azure.containerapp.App("example", {
 *     name: "example-app",
 *     containerAppEnvironmentId: exampleEnvironment.id,
 *     resourceGroupName: example.name,
 *     revisionMode: "Single",
 *     template: {
 *         containers: [{
 *             name: "examplecontainerapp",
 *             image: "mcr.microsoft.com/k8se/quickstart:latest",
 *             cpu: 0.25,
 *             memory: "0.5Gi",
 *         }],
 *     },
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.App` - 2025-07-01
 *
 * ## Import
 *
 * A Container App can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:containerapp/app:App example "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.App/containerApps/myContainerApp"
 * ```
 */
export declare class App extends pulumi.CustomResource {
    /**
     * Get an existing App resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AppState, opts?: pulumi.CustomResourceOptions): App;
    /**
     * Returns true if the given object is an instance of App.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is App;
    /**
     * The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
     */
    readonly containerAppEnvironmentId: pulumi.Output<string>;
    /**
     * The ID of the Custom Domain Verification for this Container App.
     */
    readonly customDomainVerificationId: pulumi.Output<string>;
    /**
     * A `dapr` block as detailed below.
     */
    readonly dapr: pulumi.Output<outputs.containerapp.AppDapr | undefined>;
    /**
     * An `identity` block as detailed below.
     */
    readonly identity: pulumi.Output<outputs.containerapp.AppIdentity | undefined>;
    /**
     * An `ingress` block as detailed below.
     */
    readonly ingress: pulumi.Output<outputs.containerapp.AppIngress | undefined>;
    /**
     * The FQDN of the Latest Revision of the Container App.
     */
    readonly latestRevisionFqdn: pulumi.Output<string>;
    /**
     * The name of the latest Container Revision.
     */
    readonly latestRevisionName: pulumi.Output<string>;
    /**
     * The location this Container App is deployed in. This is the same as the Environment in which it is deployed.
     */
    readonly location: pulumi.Output<string>;
    /**
     * The maximum of inactive revisions allowed for this Container App.
     */
    readonly maxInactiveRevisions: pulumi.Output<number | undefined>;
    /**
     * The name for this Container App. Changing this forces a new resource to be created.
     */
    readonly name: pulumi.Output<string>;
    /**
     * A list of the Public IP Addresses which the Container App uses for outbound network access.
     */
    readonly outboundIpAddresses: pulumi.Output<string[]>;
    /**
     * A `registry` block as detailed below.
     */
    readonly registries: pulumi.Output<outputs.containerapp.AppRegistry[] | undefined>;
    /**
     * The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.
     */
    readonly resourceGroupName: pulumi.Output<string>;
    /**
     * The revisions operational mode for the Container App. Possible values include `Single` and `Multiple`. In `Single` mode, a single revision is in operation at any given time. In `Multiple` mode, more than one revision can be active at a time and can be configured with load distribution via the `trafficWeight` block in the `ingress` configuration.
     */
    readonly revisionMode: pulumi.Output<string>;
    /**
     * One or more `secret` block as detailed below.
     */
    readonly secrets: pulumi.Output<outputs.containerapp.AppSecret[] | undefined>;
    /**
     * A mapping of tags to assign to the Container App.
     */
    readonly tags: pulumi.Output<{
        [key: string]: string;
    } | undefined>;
    /**
     * A `template` block as detailed below.
     */
    readonly template: pulumi.Output<outputs.containerapp.AppTemplate>;
    /**
     * The name of the Workload Profile in the Container App Environment to place this Container App.
     *
     * > **Note:** Omit this value to use the default `Consumption` Workload Profile.
     */
    readonly workloadProfileName: pulumi.Output<string | undefined>;
    /**
     * Create a App resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args: AppArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering App resources.
 */
export interface AppState {
    /**
     * The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
     */
    containerAppEnvironmentId?: pulumi.Input<string | undefined>;
    /**
     * The ID of the Custom Domain Verification for this Container App.
     */
    customDomainVerificationId?: pulumi.Input<string | undefined>;
    /**
     * A `dapr` block as detailed below.
     */
    dapr?: pulumi.Input<inputs.containerapp.AppDapr | undefined>;
    /**
     * An `identity` block as detailed below.
     */
    identity?: pulumi.Input<inputs.containerapp.AppIdentity | undefined>;
    /**
     * An `ingress` block as detailed below.
     */
    ingress?: pulumi.Input<inputs.containerapp.AppIngress | undefined>;
    /**
     * The FQDN of the Latest Revision of the Container App.
     */
    latestRevisionFqdn?: pulumi.Input<string | undefined>;
    /**
     * The name of the latest Container Revision.
     */
    latestRevisionName?: pulumi.Input<string | undefined>;
    /**
     * The location this Container App is deployed in. This is the same as the Environment in which it is deployed.
     */
    location?: pulumi.Input<string | undefined>;
    /**
     * The maximum of inactive revisions allowed for this Container App.
     */
    maxInactiveRevisions?: pulumi.Input<number | undefined>;
    /**
     * The name for this Container App. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * A list of the Public IP Addresses which the Container App uses for outbound network access.
     */
    outboundIpAddresses?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * A `registry` block as detailed below.
     */
    registries?: pulumi.Input<pulumi.Input<inputs.containerapp.AppRegistry>[] | undefined>;
    /**
     * The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.
     */
    resourceGroupName?: pulumi.Input<string | undefined>;
    /**
     * The revisions operational mode for the Container App. Possible values include `Single` and `Multiple`. In `Single` mode, a single revision is in operation at any given time. In `Multiple` mode, more than one revision can be active at a time and can be configured with load distribution via the `trafficWeight` block in the `ingress` configuration.
     */
    revisionMode?: pulumi.Input<string | undefined>;
    /**
     * One or more `secret` block as detailed below.
     */
    secrets?: pulumi.Input<pulumi.Input<inputs.containerapp.AppSecret>[] | undefined>;
    /**
     * A mapping of tags to assign to the Container App.
     */
    tags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * A `template` block as detailed below.
     */
    template?: pulumi.Input<inputs.containerapp.AppTemplate | undefined>;
    /**
     * The name of the Workload Profile in the Container App Environment to place this Container App.
     *
     * > **Note:** Omit this value to use the default `Consumption` Workload Profile.
     */
    workloadProfileName?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a App resource.
 */
export interface AppArgs {
    /**
     * The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
     */
    containerAppEnvironmentId: pulumi.Input<string>;
    /**
     * A `dapr` block as detailed below.
     */
    dapr?: pulumi.Input<inputs.containerapp.AppDapr | undefined>;
    /**
     * An `identity` block as detailed below.
     */
    identity?: pulumi.Input<inputs.containerapp.AppIdentity | undefined>;
    /**
     * An `ingress` block as detailed below.
     */
    ingress?: pulumi.Input<inputs.containerapp.AppIngress | undefined>;
    /**
     * The maximum of inactive revisions allowed for this Container App.
     */
    maxInactiveRevisions?: pulumi.Input<number | undefined>;
    /**
     * The name for this Container App. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * A `registry` block as detailed below.
     */
    registries?: pulumi.Input<pulumi.Input<inputs.containerapp.AppRegistry>[] | undefined>;
    /**
     * The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.
     */
    resourceGroupName: pulumi.Input<string>;
    /**
     * The revisions operational mode for the Container App. Possible values include `Single` and `Multiple`. In `Single` mode, a single revision is in operation at any given time. In `Multiple` mode, more than one revision can be active at a time and can be configured with load distribution via the `trafficWeight` block in the `ingress` configuration.
     */
    revisionMode: pulumi.Input<string>;
    /**
     * One or more `secret` block as detailed below.
     */
    secrets?: pulumi.Input<pulumi.Input<inputs.containerapp.AppSecret>[] | undefined>;
    /**
     * A mapping of tags to assign to the Container App.
     */
    tags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * A `template` block as detailed below.
     */
    template: pulumi.Input<inputs.containerapp.AppTemplate>;
    /**
     * The name of the Workload Profile in the Container App Environment to place this Container App.
     *
     * > **Note:** Omit this value to use the default `Consumption` Workload Profile.
     */
    workloadProfileName?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=app.d.ts.map