import * as pulumi from "@pulumi/pulumi";
/**
 * This resource provides the Http Monitor resource in Oracle Cloud Infrastructure Health Checks service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/healthchecks/latest/HttpMonitor
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/health_checks
 *
 * Creates an HTTP monitor. Vantage points will be automatically selected if not specified,
 * and probes will be initiated from each vantage point to each of the targets at the frequency
 * specified by `intervalInSeconds`.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testHttpMonitor = new oci.healthchecks.HttpMonitor("test_http_monitor", {
 *     compartmentId: compartmentId,
 *     displayName: httpMonitorDisplayName,
 *     intervalInSeconds: Number(httpMonitorIntervalInSeconds),
 *     protocol: httpMonitorProtocol,
 *     targets: httpMonitorTargets,
 *     definedTags: {
 *         "Operations.CostCenter": "42",
 *     },
 *     freeformTags: {
 *         Department: "Finance",
 *     },
 *     headers: httpMonitorHeaders,
 *     isEnabled: httpMonitorIsEnabled === "true",
 *     method: httpMonitorMethod,
 *     path: httpMonitorPath,
 *     port: Number(httpMonitorPort),
 *     timeoutInSeconds: Number(httpMonitorTimeoutInSeconds),
 *     vantagePointNames: httpMonitorVantagePointNames,
 * });
 * ```
 *
 * ## Import
 *
 * HttpMonitors can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:HealthChecks/httpMonitor:HttpMonitor test_http_monitor "id"
 * ```
 */
export declare class HttpMonitor extends pulumi.CustomResource {
    /**
     * Get an existing HttpMonitor 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?: HttpMonitorState, opts?: pulumi.CustomResourceOptions): HttpMonitor;
    /**
     * Returns true if the given object is an instance of HttpMonitor.  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 HttpMonitor;
    /**
     * (Updatable) The OCID of the compartment.
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
     */
    readonly definedTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) A user-friendly and mutable name suitable for display in a user interface.
     */
    readonly displayName: pulumi.Output<string>;
    /**
     * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.  For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
     */
    readonly freeformTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) A dictionary of HTTP request headers.
     *
     * *Note:* Monitors and probes do not support the use of the `Authorization` HTTP header.
     */
    readonly headers: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * The region where updates must be made and where results must be fetched from.
     */
    readonly homeRegion: pulumi.Output<string>;
    /**
     * (Updatable) The monitor interval in seconds. Valid values: 10, 30, and 60.
     */
    readonly intervalInSeconds: pulumi.Output<number>;
    /**
     * (Updatable) Enables or disables the monitor. Set to 'true' to launch monitoring.
     */
    readonly isEnabled: pulumi.Output<boolean>;
    /**
     * (Updatable) The supported HTTP methods available for probes.
     */
    readonly method: pulumi.Output<string>;
    /**
     * (Updatable) The optional URL path to probe, including query parameters.
     */
    readonly path: pulumi.Output<string>;
    /**
     * (Updatable) The port on which to probe endpoints. If unspecified, probes will use the default port of their protocol.
     */
    readonly port: pulumi.Output<number>;
    /**
     * (Updatable) The supported protocols available for HTTP probes.
     */
    readonly protocol: pulumi.Output<string>;
    /**
     * A URL for fetching the probe results.
     */
    readonly resultsUrl: pulumi.Output<string>;
    /**
     * (Updatable) A list of targets (hostnames or IP addresses) of the probe.
     */
    readonly targets: pulumi.Output<string[]>;
    /**
     * The RFC 3339-formatted creation date and time of the probe.
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * (Updatable) The probe timeout in seconds. Valid values: 10, 20, 30, and 60. The probe timeout must be less than or equal to `intervalInSeconds` for monitors.
     */
    readonly timeoutInSeconds: pulumi.Output<number>;
    /**
     * (Updatable) A list of names of vantage points from which to execute the probe.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    readonly vantagePointNames: pulumi.Output<string[]>;
    /**
     * Create a HttpMonitor 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: HttpMonitorArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering HttpMonitor resources.
 */
export interface HttpMonitorState {
    /**
     * (Updatable) The OCID of the compartment.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) A user-friendly and mutable name suitable for display in a user interface.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.  For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) A dictionary of HTTP request headers.
     *
     * *Note:* Monitors and probes do not support the use of the `Authorization` HTTP header.
     */
    headers?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The region where updates must be made and where results must be fetched from.
     */
    homeRegion?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The monitor interval in seconds. Valid values: 10, 30, and 60.
     */
    intervalInSeconds?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) Enables or disables the monitor. Set to 'true' to launch monitoring.
     */
    isEnabled?: pulumi.Input<boolean | undefined>;
    /**
     * (Updatable) The supported HTTP methods available for probes.
     */
    method?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The optional URL path to probe, including query parameters.
     */
    path?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The port on which to probe endpoints. If unspecified, probes will use the default port of their protocol.
     */
    port?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) The supported protocols available for HTTP probes.
     */
    protocol?: pulumi.Input<string | undefined>;
    /**
     * A URL for fetching the probe results.
     */
    resultsUrl?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) A list of targets (hostnames or IP addresses) of the probe.
     */
    targets?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The RFC 3339-formatted creation date and time of the probe.
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The probe timeout in seconds. Valid values: 10, 20, 30, and 60. The probe timeout must be less than or equal to `intervalInSeconds` for monitors.
     */
    timeoutInSeconds?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) A list of names of vantage points from which to execute the probe.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    vantagePointNames?: pulumi.Input<pulumi.Input<string>[] | undefined>;
}
/**
 * The set of arguments for constructing a HttpMonitor resource.
 */
export interface HttpMonitorArgs {
    /**
     * (Updatable) The OCID of the compartment.
     */
    compartmentId: pulumi.Input<string>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) A user-friendly and mutable name suitable for display in a user interface.
     */
    displayName: pulumi.Input<string>;
    /**
     * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.  For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) A dictionary of HTTP request headers.
     *
     * *Note:* Monitors and probes do not support the use of the `Authorization` HTTP header.
     */
    headers?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) The monitor interval in seconds. Valid values: 10, 30, and 60.
     */
    intervalInSeconds: pulumi.Input<number>;
    /**
     * (Updatable) Enables or disables the monitor. Set to 'true' to launch monitoring.
     */
    isEnabled?: pulumi.Input<boolean | undefined>;
    /**
     * (Updatable) The supported HTTP methods available for probes.
     */
    method?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The optional URL path to probe, including query parameters.
     */
    path?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The port on which to probe endpoints. If unspecified, probes will use the default port of their protocol.
     */
    port?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) The supported protocols available for HTTP probes.
     */
    protocol: pulumi.Input<string>;
    /**
     * (Updatable) A list of targets (hostnames or IP addresses) of the probe.
     */
    targets: pulumi.Input<pulumi.Input<string>[]>;
    /**
     * (Updatable) The probe timeout in seconds. Valid values: 10, 20, 30, and 60. The probe timeout must be less than or equal to `intervalInSeconds` for monitors.
     */
    timeoutInSeconds?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) A list of names of vantage points from which to execute the probe.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    vantagePointNames?: pulumi.Input<pulumi.Input<string>[] | undefined>;
}
//# sourceMappingURL=httpMonitor.d.ts.map