import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Alert Rules in Oracle Cloud Infrastructure Budget service. * * Returns a list of Alert Rules for a specified budget. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAlertRules = oci.budget.getAlertRules({ * budgetId: testBudget.id, * displayName: alertRuleDisplayName, * state: alertRuleState, * }); * ``` */ export declare function getAlertRules(args: GetAlertRulesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAlertRules. */ export interface GetAlertRulesArgs { /** * The unique budget OCID. */ budgetId: string; /** * A user-friendly name. This does not have to be unique, and it's changeable. Example: `My new resource` */ displayName?: string; filters?: inputs.Budget.GetAlertRulesFilter[]; /** * The current state of the resource to filter by. */ state?: string; } /** * A collection of values returned by getAlertRules. */ export interface GetAlertRulesResult { /** * The list of alert_rules. */ readonly alertRules: outputs.Budget.GetAlertRulesAlertRule[]; /** * The OCID of the budget. */ readonly budgetId: string; /** * The name of the alert rule. Avoid entering confidential information. */ readonly displayName?: string; readonly filters?: outputs.Budget.GetAlertRulesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The current state of the alert rule. */ readonly state?: string; } /** * This data source provides the list of Alert Rules in Oracle Cloud Infrastructure Budget service. * * Returns a list of Alert Rules for a specified budget. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAlertRules = oci.budget.getAlertRules({ * budgetId: testBudget.id, * displayName: alertRuleDisplayName, * state: alertRuleState, * }); * ``` */ export declare function getAlertRulesOutput(args: GetAlertRulesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAlertRules. */ export interface GetAlertRulesOutputArgs { /** * The unique budget OCID. */ budgetId: pulumi.Input; /** * A user-friendly name. This does not have to be unique, and it's changeable. Example: `My new resource` */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The current state of the resource to filter by. */ state?: pulumi.Input; } //# sourceMappingURL=getAlertRules.d.ts.map