import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * Use this data source to query detailed information of cloud monitor rules
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.cloud_monitor.getRules({
 *     ids: ["174402785374661****"],
 * });
 * ```
 */
/** @deprecated volcengine.cloud_monitor.Rules has been deprecated in favor of volcengine.cloud_monitor.getRules */
export declare function rules(args?: RulesArgs, opts?: pulumi.InvokeOptions): Promise<RulesResult>;
/**
 * A collection of arguments for invoking Rules.
 */
export interface RulesArgs {
    /**
     * The alert state of the cloud monitor rule. Valid values: `altering`, `normal`.
     */
    alertStates?: string[];
    /**
     * The enable state of the cloud monitor rule. Valid values: `enable`, `disable`.
     */
    enableStates?: string[];
    /**
     * A list of cloud monitor ids.
     */
    ids?: string[];
    /**
     * The level of the cloud monitor rule. Valid values: `critical`, `warning`, `notice`.
     */
    levels?: string[];
    /**
     * A Name Regex of Resource.
     */
    nameRegex?: string;
    /**
     * The namespace of the cloud monitor rule.
     */
    namespaces?: string[];
    /**
     * File name where to save data source results.
     */
    outputFile?: string;
    /**
     * The name of the cloud monitor rule. This field support fuzzy query.
     */
    ruleName?: string;
    /**
     * The tags of the cloud monitor rule.
     */
    tags?: inputs.cloud_monitor.RulesTag[];
}
/**
 * A collection of values returned by Rules.
 */
export interface RulesResult {
    /**
     * The alert state of the cloud monitor rule.
     */
    readonly alertStates?: string[];
    /**
     * The enable state of the cloud monitor rule.
     */
    readonly enableStates?: string[];
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    readonly ids?: string[];
    /**
     * The level of the cloud monitor rule.
     */
    readonly levels?: string[];
    readonly nameRegex?: string;
    /**
     * The namespace of the cloud monitor rule.
     */
    readonly namespaces?: string[];
    readonly outputFile?: string;
    /**
     * The name of the cloud monitor rule.
     */
    readonly ruleName?: string;
    /**
     * The collection of query.
     */
    readonly rules: outputs.cloud_monitor.RulesRule[];
    /**
     * Tags.
     */
    readonly tags?: outputs.cloud_monitor.RulesTag[];
    /**
     * The total count of query.
     */
    readonly totalCount: number;
}
/**
 * Use this data source to query detailed information of cloud monitor rules
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.cloud_monitor.getRules({
 *     ids: ["174402785374661****"],
 * });
 * ```
 */
/** @deprecated volcengine.cloud_monitor.Rules has been deprecated in favor of volcengine.cloud_monitor.getRules */
export declare function rulesOutput(args?: RulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<RulesResult>;
/**
 * A collection of arguments for invoking Rules.
 */
export interface RulesOutputArgs {
    /**
     * The alert state of the cloud monitor rule. Valid values: `altering`, `normal`.
     */
    alertStates?: pulumi.Input<pulumi.Input<string>[]>;
    /**
     * The enable state of the cloud monitor rule. Valid values: `enable`, `disable`.
     */
    enableStates?: pulumi.Input<pulumi.Input<string>[]>;
    /**
     * A list of cloud monitor ids.
     */
    ids?: pulumi.Input<pulumi.Input<string>[]>;
    /**
     * The level of the cloud monitor rule. Valid values: `critical`, `warning`, `notice`.
     */
    levels?: pulumi.Input<pulumi.Input<string>[]>;
    /**
     * A Name Regex of Resource.
     */
    nameRegex?: pulumi.Input<string>;
    /**
     * The namespace of the cloud monitor rule.
     */
    namespaces?: pulumi.Input<pulumi.Input<string>[]>;
    /**
     * File name where to save data source results.
     */
    outputFile?: pulumi.Input<string>;
    /**
     * The name of the cloud monitor rule. This field support fuzzy query.
     */
    ruleName?: pulumi.Input<string>;
    /**
     * The tags of the cloud monitor rule.
     */
    tags?: pulumi.Input<pulumi.Input<inputs.cloud_monitor.RulesTagArgs>[]>;
}
