import * as pulumi from "@pulumi/pulumi";
/**
 * Manages a Container App Environment Managed Certificate.
 *
 * ## 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: "example-workspace",
 *     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",
 *     resourceGroupName: example.name,
 *     containerAppEnvironmentId: exampleEnvironment.id,
 *     revisionMode: "Single",
 *     template: {
 *         containers: [{
 *             name: "example-container",
 *             image: "mcr.microsoft.com/k8se/quickstart:latest",
 *             cpu: 0.25,
 *             memory: "0.5Gi",
 *         }],
 *     },
 *     ingress: {
 *         externalEnabled: true,
 *         targetPort: 80,
 *         transport: "http",
 *         trafficWeights: [{
 *             latestRevision: true,
 *             percentage: 100,
 *         }],
 *     },
 * });
 * const exampleCustomDomain = new azure.containerapp.CustomDomain("example", {
 *     name: "example.com",
 *     containerAppId: exampleApp.id,
 * });
 * const exampleEnvironmentManagedCertificate = new azure.containerapp.EnvironmentManagedCertificate("example", {
 *     name: "example-managed-cert",
 *     containerAppEnvironmentId: exampleEnvironment.id,
 *     subjectName: "example.com",
 *     domainControlValidation: "HTTP",
 * }, {
 *     dependsOn: [exampleCustomDomain],
 * });
 * ```
 *
 * ## 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 Environment Managed Certificate can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:containerapp/environmentManagedCertificate:EnvironmentManagedCertificate example "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.App/managedEnvironments/myenv/managedCertificates/mycertificate"
 * ```
 */
export declare class EnvironmentManagedCertificate extends pulumi.CustomResource {
    /**
     * Get an existing EnvironmentManagedCertificate 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?: EnvironmentManagedCertificateState, opts?: pulumi.CustomResourceOptions): EnvironmentManagedCertificate;
    /**
     * Returns true if the given object is an instance of EnvironmentManagedCertificate.  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 EnvironmentManagedCertificate;
    /**
     * The Container App Managed Environment ID to configure this Managed Certificate on. Changing this forces a new resource to be created.
     */
    readonly containerAppEnvironmentId: pulumi.Output<string>;
    /**
     * The domain control validation type for the managed certificate. Possible values are `CNAME` and `HTTP`. Defaults to `HTTP`. Changing this forces a new resource to be created.
     *
     * > **Note:** The supported validation methods depend on the domain. Azure will validate domain ownership based on the specified method. `HTTP` validation requires an HTTP endpoint at the domain, `CNAME` validation requires DNS CNAME record configuration.
     */
    readonly domainControlValidation: pulumi.Output<string | undefined>;
    /**
     * The name of the Container Apps Environment Managed Certificate. Changing this forces a new resource to be created.
     */
    readonly name: pulumi.Output<string>;
    /**
     * The Subject Name of the Certificate. Must be a valid domain name. Changing this forces a new resource to be created.
     */
    readonly subjectName: pulumi.Output<string>;
    /**
     * A mapping of tags to assign to the resource.
     */
    readonly tags: pulumi.Output<{
        [key: string]: string;
    } | undefined>;
    /**
     * The validation token for the managed certificate.
     */
    readonly validationToken: pulumi.Output<string>;
    /**
     * Create a EnvironmentManagedCertificate 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: EnvironmentManagedCertificateArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering EnvironmentManagedCertificate resources.
 */
export interface EnvironmentManagedCertificateState {
    /**
     * The Container App Managed Environment ID to configure this Managed Certificate on. Changing this forces a new resource to be created.
     */
    containerAppEnvironmentId?: pulumi.Input<string | undefined>;
    /**
     * The domain control validation type for the managed certificate. Possible values are `CNAME` and `HTTP`. Defaults to `HTTP`. Changing this forces a new resource to be created.
     *
     * > **Note:** The supported validation methods depend on the domain. Azure will validate domain ownership based on the specified method. `HTTP` validation requires an HTTP endpoint at the domain, `CNAME` validation requires DNS CNAME record configuration.
     */
    domainControlValidation?: pulumi.Input<string | undefined>;
    /**
     * The name of the Container Apps Environment Managed Certificate. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The Subject Name of the Certificate. Must be a valid domain name. Changing this forces a new resource to be created.
     */
    subjectName?: pulumi.Input<string | undefined>;
    /**
     * A mapping of tags to assign to the resource.
     */
    tags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The validation token for the managed certificate.
     */
    validationToken?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a EnvironmentManagedCertificate resource.
 */
export interface EnvironmentManagedCertificateArgs {
    /**
     * The Container App Managed Environment ID to configure this Managed Certificate on. Changing this forces a new resource to be created.
     */
    containerAppEnvironmentId: pulumi.Input<string>;
    /**
     * The domain control validation type for the managed certificate. Possible values are `CNAME` and `HTTP`. Defaults to `HTTP`. Changing this forces a new resource to be created.
     *
     * > **Note:** The supported validation methods depend on the domain. Azure will validate domain ownership based on the specified method. `HTTP` validation requires an HTTP endpoint at the domain, `CNAME` validation requires DNS CNAME record configuration.
     */
    domainControlValidation?: pulumi.Input<string | undefined>;
    /**
     * The name of the Container Apps Environment Managed Certificate. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The Subject Name of the Certificate. Must be a valid domain name. Changing this forces a new resource to be created.
     */
    subjectName: pulumi.Input<string>;
    /**
     * A mapping of tags to assign to the resource.
     */
    tags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
}
//# sourceMappingURL=environmentManagedCertificate.d.ts.map