import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * Manages a Front Door (standard/premium) Origin Group.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "example-cdn-frontdoor",
 *     location: "West Europe",
 * });
 * const exampleFrontdoorProfile = new azure.cdn.FrontdoorProfile("example", {
 *     name: "example-profile",
 *     resourceGroupName: example.name,
 *     skuName: "Standard_AzureFrontDoor",
 * });
 * const exampleFrontdoorOriginGroup = new azure.cdn.FrontdoorOriginGroup("example", {
 *     name: "example-origin-group",
 *     cdnFrontdoorProfileId: exampleFrontdoorProfile.id,
 *     sessionAffinityEnabled: true,
 *     restoreTrafficTimeToHealedOrNewEndpointInMinutes: 10,
 *     healthProbe: {
 *         intervalInSeconds: 240,
 *         path: "/healthProbe",
 *         protocol: "Https",
 *         requestType: "HEAD",
 *     },
 *     loadBalancing: {
 *         additionalLatencyInMilliseconds: 0,
 *         sampleSize: 16,
 *         successfulSamplesRequired: 3,
 *     },
 * });
 * ```
 *
 * ## Import
 *
 * Front Door Origin Groups can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:cdn/frontdoorOriginGroup:FrontdoorOriginGroup example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Cdn/profiles/profile1/originGroups/originGroup1
 * ```
 */
export declare class FrontdoorOriginGroup extends pulumi.CustomResource {
    /**
     * Get an existing FrontdoorOriginGroup 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?: FrontdoorOriginGroupState, opts?: pulumi.CustomResourceOptions): FrontdoorOriginGroup;
    /**
     * Returns true if the given object is an instance of FrontdoorOriginGroup.  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 FrontdoorOriginGroup;
    /**
     * The ID of the Front Door Profile within which this Front Door Origin Group should exist. Changing this forces a new Front Door Origin Group to be created.
     */
    readonly cdnFrontdoorProfileId: pulumi.Output<string>;
    /**
     * A `healthProbe` block as defined below.
     */
    readonly healthProbe: pulumi.Output<outputs.cdn.FrontdoorOriginGroupHealthProbe | undefined>;
    /**
     * A `loadBalancing` block as defined below.
     */
    readonly loadBalancing: pulumi.Output<outputs.cdn.FrontdoorOriginGroupLoadBalancing>;
    /**
     * The name which should be used for this Front Door Origin Group. Changing this forces a new Front Door Origin Group to be created.
     */
    readonly name: pulumi.Output<string>;
    /**
     * Specifies the amount of time which should elapse before shifting traffic to another endpoint when a healthy endpoint becomes unhealthy or a new endpoint is added. Possible values are between `0` and `50` minutes (inclusive). Default is `10` minutes.
     *
     * > **Note:** This property is currently not used, but will be in the near future.
     */
    readonly restoreTrafficTimeToHealedOrNewEndpointInMinutes: pulumi.Output<number | undefined>;
    /**
     * Specifies whether session affinity should be enabled on this host. Defaults to `true`.
     */
    readonly sessionAffinityEnabled: pulumi.Output<boolean | undefined>;
    /**
     * Create a FrontdoorOriginGroup 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: FrontdoorOriginGroupArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering FrontdoorOriginGroup resources.
 */
export interface FrontdoorOriginGroupState {
    /**
     * The ID of the Front Door Profile within which this Front Door Origin Group should exist. Changing this forces a new Front Door Origin Group to be created.
     */
    cdnFrontdoorProfileId?: pulumi.Input<string | undefined>;
    /**
     * A `healthProbe` block as defined below.
     */
    healthProbe?: pulumi.Input<inputs.cdn.FrontdoorOriginGroupHealthProbe | undefined>;
    /**
     * A `loadBalancing` block as defined below.
     */
    loadBalancing?: pulumi.Input<inputs.cdn.FrontdoorOriginGroupLoadBalancing | undefined>;
    /**
     * The name which should be used for this Front Door Origin Group. Changing this forces a new Front Door Origin Group to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * Specifies the amount of time which should elapse before shifting traffic to another endpoint when a healthy endpoint becomes unhealthy or a new endpoint is added. Possible values are between `0` and `50` minutes (inclusive). Default is `10` minutes.
     *
     * > **Note:** This property is currently not used, but will be in the near future.
     */
    restoreTrafficTimeToHealedOrNewEndpointInMinutes?: pulumi.Input<number | undefined>;
    /**
     * Specifies whether session affinity should be enabled on this host. Defaults to `true`.
     */
    sessionAffinityEnabled?: pulumi.Input<boolean | undefined>;
}
/**
 * The set of arguments for constructing a FrontdoorOriginGroup resource.
 */
export interface FrontdoorOriginGroupArgs {
    /**
     * The ID of the Front Door Profile within which this Front Door Origin Group should exist. Changing this forces a new Front Door Origin Group to be created.
     */
    cdnFrontdoorProfileId: pulumi.Input<string>;
    /**
     * A `healthProbe` block as defined below.
     */
    healthProbe?: pulumi.Input<inputs.cdn.FrontdoorOriginGroupHealthProbe | undefined>;
    /**
     * A `loadBalancing` block as defined below.
     */
    loadBalancing: pulumi.Input<inputs.cdn.FrontdoorOriginGroupLoadBalancing>;
    /**
     * The name which should be used for this Front Door Origin Group. Changing this forces a new Front Door Origin Group to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * Specifies the amount of time which should elapse before shifting traffic to another endpoint when a healthy endpoint becomes unhealthy or a new endpoint is added. Possible values are between `0` and `50` minutes (inclusive). Default is `10` minutes.
     *
     * > **Note:** This property is currently not used, but will be in the near future.
     */
    restoreTrafficTimeToHealedOrNewEndpointInMinutes?: pulumi.Input<number | undefined>;
    /**
     * Specifies whether session affinity should be enabled on this host. Defaults to `true`.
     */
    sessionAffinityEnabled?: pulumi.Input<boolean | undefined>;
}
//# sourceMappingURL=frontdoorOriginGroup.d.ts.map