import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * Manages a Custom Domain for a CDN (classic) Endpoint.
 *
 * !> **Note:** Support for the CDN (classic) `sku` `Standard_Akamai` was deprecated from Azure on `October 31, 2023` and is no longer available.
 *
 * !> **Note:** Support for the CDN (classic) `sku` values `Standard_Verizon` and `Premium_Verizon` were deprecated from Azure on `January 15, 2025` and are no longer available.
 *
 * !> **Note:** Support for the CDN (classic) `sku` values `Standard_Microsoft` and `Standard_ChinaCdn` will be deprecated from Azure on `October 1, 2025` and will no longer be available, however, modifications to existing CDN (classic) resources will continue to be supported until the API reaches full retirement on `September 30, 2027`.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const exampleResourceGroup = new azure.core.ResourceGroup("example", {
 *     name: "example-rg",
 *     location: "west europe",
 * });
 * const exampleAccount = new azure.storage.Account("example", {
 *     name: "example",
 *     resourceGroupName: exampleResourceGroup.name,
 *     location: exampleResourceGroup.location,
 *     accountTier: "Standard",
 *     accountReplicationType: "GRS",
 * });
 * const exampleProfile = new azure.cdn.Profile("example", {
 *     name: "example-profile",
 *     location: exampleResourceGroup.location,
 *     resourceGroupName: exampleResourceGroup.name,
 *     sku: "Standard_Microsoft",
 * });
 * const exampleEndpoint = new azure.cdn.Endpoint("example", {
 *     name: "example-endpoint",
 *     profileName: exampleProfile.name,
 *     location: exampleResourceGroup.location,
 *     resourceGroupName: exampleResourceGroup.name,
 *     origins: [{
 *         name: "example",
 *         hostName: exampleAccount.primaryBlobHost,
 *     }],
 * });
 * const example = azure.dns.getZone({
 *     name: "example-domain.com",
 *     resourceGroupName: "domain-rg",
 * });
 * const exampleCNameRecord = new azure.dns.CNameRecord("example", {
 *     name: "example",
 *     zoneName: example.then(example => example.name),
 *     resourceGroupName: example.then(example => example.resourceGroupName),
 *     ttl: 3600,
 *     targetResourceId: exampleEndpoint.id,
 * });
 * const exampleEndpointCustomDomain = new azure.cdn.EndpointCustomDomain("example", {
 *     name: "example-domain",
 *     cdnEndpointId: exampleEndpoint.id,
 *     hostName: Promise.all([exampleCNameRecord.name, example]).then(([name, example]) => `${name}.${example.name}`),
 * });
 * ```
 *
 * ## Import
 *
 * CDN Endpoint Custom Domains can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:cdn/endpointCustomDomain:EndpointCustomDomain example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customDomains/domain1
 * ```
 */
export declare class EndpointCustomDomain extends pulumi.CustomResource {
    /**
     * Get an existing EndpointCustomDomain 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?: EndpointCustomDomainState, opts?: pulumi.CustomResourceOptions): EndpointCustomDomain;
    /**
     * Returns true if the given object is an instance of EndpointCustomDomain.  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 EndpointCustomDomain;
    /**
     * The ID of the CDN Endpoint. Changing this forces a new CDN Endpoint Custom Domain to be created.
     */
    readonly cdnEndpointId: pulumi.Output<string>;
    /**
     * A `cdnManagedHttps` block as defined below.
     */
    readonly cdnManagedHttps: pulumi.Output<outputs.cdn.EndpointCustomDomainCdnManagedHttps | undefined>;
    /**
     * The host name of the custom domain. Changing this forces a new CDN Endpoint Custom Domain to be created.
     */
    readonly hostName: pulumi.Output<string>;
    /**
     * The name which should be used for this CDN Endpoint Custom Domain. Changing this forces a new CDN Endpoint Custom Domain to be created.
     */
    readonly name: pulumi.Output<string>;
    /**
     * A `userManagedHttps` block as defined below.
     *
     * > **Note:** Only one of `cdnManagedHttps` and `userManagedHttps` can be specified.
     */
    readonly userManagedHttps: pulumi.Output<outputs.cdn.EndpointCustomDomainUserManagedHttps | undefined>;
    /**
     * Create a EndpointCustomDomain 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: EndpointCustomDomainArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering EndpointCustomDomain resources.
 */
export interface EndpointCustomDomainState {
    /**
     * The ID of the CDN Endpoint. Changing this forces a new CDN Endpoint Custom Domain to be created.
     */
    cdnEndpointId?: pulumi.Input<string | undefined>;
    /**
     * A `cdnManagedHttps` block as defined below.
     */
    cdnManagedHttps?: pulumi.Input<inputs.cdn.EndpointCustomDomainCdnManagedHttps | undefined>;
    /**
     * The host name of the custom domain. Changing this forces a new CDN Endpoint Custom Domain to be created.
     */
    hostName?: pulumi.Input<string | undefined>;
    /**
     * The name which should be used for this CDN Endpoint Custom Domain. Changing this forces a new CDN Endpoint Custom Domain to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * A `userManagedHttps` block as defined below.
     *
     * > **Note:** Only one of `cdnManagedHttps` and `userManagedHttps` can be specified.
     */
    userManagedHttps?: pulumi.Input<inputs.cdn.EndpointCustomDomainUserManagedHttps | undefined>;
}
/**
 * The set of arguments for constructing a EndpointCustomDomain resource.
 */
export interface EndpointCustomDomainArgs {
    /**
     * The ID of the CDN Endpoint. Changing this forces a new CDN Endpoint Custom Domain to be created.
     */
    cdnEndpointId: pulumi.Input<string>;
    /**
     * A `cdnManagedHttps` block as defined below.
     */
    cdnManagedHttps?: pulumi.Input<inputs.cdn.EndpointCustomDomainCdnManagedHttps | undefined>;
    /**
     * The host name of the custom domain. Changing this forces a new CDN Endpoint Custom Domain to be created.
     */
    hostName: pulumi.Input<string>;
    /**
     * The name which should be used for this CDN Endpoint Custom Domain. Changing this forces a new CDN Endpoint Custom Domain to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * A `userManagedHttps` block as defined below.
     *
     * > **Note:** Only one of `cdnManagedHttps` and `userManagedHttps` can be specified.
     */
    userManagedHttps?: pulumi.Input<inputs.cdn.EndpointCustomDomainUserManagedHttps | undefined>;
}
//# sourceMappingURL=endpointCustomDomain.d.ts.map