import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * Provides a resource to manage vmp silence policy
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const example = new volcengine.vmp.SilencePolicy("example", {
 *     description: "terraform silence policy",
 *     metricLabelMatchers: [{
 *         matchers: [
 *             {
 *                 label: "app",
 *                 operator: "NotEqual",
 *                 value: "test",
 *             },
 *             {
 *                 label: "env",
 *                 operator: "Equal",
 *                 value: "prod",
 *             },
 *         ],
 *     }],
 *     timeRangeMatchers: [{
 *         location: "Asia/Shanghai",
 *         periodicDate: {
 *             time: "20:00~21:12",
 *             weekday: "1,5",
 *         },
 *     }],
 * });
 * ```
 *
 * ## Import
 *
 * VmpSilencePolicy can be imported using the id, e.g.
 *
 * ```sh
 * $ pulumi import volcengine:vmp/silencePolicy:SilencePolicy default resource_id
 * ```
 */
export declare class SilencePolicy extends pulumi.CustomResource {
    /**
     * Get an existing SilencePolicy 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?: SilencePolicyState, opts?: pulumi.CustomResourceOptions): SilencePolicy;
    /**
     * Returns true if the given object is an instance of SilencePolicy.  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 SilencePolicy;
    /**
     * The auto delete time of the silence policy.
     */
    readonly autoDeleteTime: pulumi.Output<string>;
    /**
     * The create time of the silence policy.
     */
    readonly createTime: pulumi.Output<string>;
    /**
     * The description of the silence policy.
     */
    readonly description: pulumi.Output<string | undefined>;
    /**
     * Alarm event Label matcher, allowing a maximum of 32 entries, with an "OR" relationship between different entries. Different labelMatchers in the Matcher follow an "AND" relationship.
     */
    readonly metricLabelMatchers: pulumi.Output<outputs.vmp.SilencePolicyMetricLabelMatcher[]>;
    /**
     * The name of the silence policy.
     */
    readonly name: pulumi.Output<string>;
    /**
     * The source of the silence policy.
     */
    readonly source: pulumi.Output<string>;
    /**
     * The status of the silence policy.
     */
    readonly status: pulumi.Output<string>;
    /**
     * Alarm silence time. Case 1: Always effective. When the switch is turned on, the matched alarm events are always silenced, and only the location needs to be set. Case 2: Periodic effective. When the switch is turned on, the matched alarm events are silenced periodically, and the location and periodicDate need to be set. Case 3: Custom effective. When the switch is turned on, the matched alarm events are silenced in the specified time range, and the location and date need to be set.
     */
    readonly timeRangeMatchers: pulumi.Output<outputs.vmp.SilencePolicyTimeRangeMatcher[]>;
    /**
     * The update time of the silence policy.
     */
    readonly updateTime: pulumi.Output<string>;
    /**
     * Create a SilencePolicy 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: SilencePolicyArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering SilencePolicy resources.
 */
export interface SilencePolicyState {
    /**
     * The auto delete time of the silence policy.
     */
    autoDeleteTime?: pulumi.Input<string>;
    /**
     * The create time of the silence policy.
     */
    createTime?: pulumi.Input<string>;
    /**
     * The description of the silence policy.
     */
    description?: pulumi.Input<string>;
    /**
     * Alarm event Label matcher, allowing a maximum of 32 entries, with an "OR" relationship between different entries. Different labelMatchers in the Matcher follow an "AND" relationship.
     */
    metricLabelMatchers?: pulumi.Input<pulumi.Input<inputs.vmp.SilencePolicyMetricLabelMatcher>[]>;
    /**
     * The name of the silence policy.
     */
    name?: pulumi.Input<string>;
    /**
     * The source of the silence policy.
     */
    source?: pulumi.Input<string>;
    /**
     * The status of the silence policy.
     */
    status?: pulumi.Input<string>;
    /**
     * Alarm silence time. Case 1: Always effective. When the switch is turned on, the matched alarm events are always silenced, and only the location needs to be set. Case 2: Periodic effective. When the switch is turned on, the matched alarm events are silenced periodically, and the location and periodicDate need to be set. Case 3: Custom effective. When the switch is turned on, the matched alarm events are silenced in the specified time range, and the location and date need to be set.
     */
    timeRangeMatchers?: pulumi.Input<pulumi.Input<inputs.vmp.SilencePolicyTimeRangeMatcher>[]>;
    /**
     * The update time of the silence policy.
     */
    updateTime?: pulumi.Input<string>;
}
/**
 * The set of arguments for constructing a SilencePolicy resource.
 */
export interface SilencePolicyArgs {
    /**
     * The description of the silence policy.
     */
    description?: pulumi.Input<string>;
    /**
     * Alarm event Label matcher, allowing a maximum of 32 entries, with an "OR" relationship between different entries. Different labelMatchers in the Matcher follow an "AND" relationship.
     */
    metricLabelMatchers: pulumi.Input<pulumi.Input<inputs.vmp.SilencePolicyMetricLabelMatcher>[]>;
    /**
     * The name of the silence policy.
     */
    name?: pulumi.Input<string>;
    /**
     * Alarm silence time. Case 1: Always effective. When the switch is turned on, the matched alarm events are always silenced, and only the location needs to be set. Case 2: Periodic effective. When the switch is turned on, the matched alarm events are silenced periodically, and the location and periodicDate need to be set. Case 3: Custom effective. When the switch is turned on, the matched alarm events are silenced in the specified time range, and the location and date need to be set.
     */
    timeRangeMatchers: pulumi.Input<pulumi.Input<inputs.vmp.SilencePolicyTimeRangeMatcher>[]>;
}
