import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class DiskAnomalies extends pulumi.CustomResource { /** * Get an existing DiskAnomalies 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, state?: DiskAnomaliesState, opts?: pulumi.CustomResourceOptions): DiskAnomalies; /** * Returns true if the given object is an instance of DiskAnomalies. 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 DiskAnomalies; /** * Narrows the rule usage down to disks, matching the specified criteria */ readonly diskName: pulumi.Output; /** * Disk event rule enabled/disabled */ readonly enabled: pulumi.Output; /** * Narrows the rule usage down to disks that run on hosts that themselves run on the specified host group */ readonly hostGroupId: pulumi.Output; /** * The metric to monitor. Possible values are: `LOW_DISK_SPACE`, `LOW_INODES`, `READ_TIME_EXCEEDING` and `WRITE_TIME_EXCEEDING` */ readonly metric: pulumi.Output; /** * The name of the disk event rule */ readonly name: pulumi.Output; /** * The number of samples to evaluate */ readonly samples: pulumi.Output; /** * Narrows the rule usage down to the hosts matching the specified tags */ readonly tags: pulumi.Output; /** * The threshold to trigger disk event. * A percentage for `LowDiskSpace` or `LowInodes` metrics. * In milliseconds for `ReadTimeExceeding` or `WriteTimeExceeding` metrics */ readonly threshold: pulumi.Output; /** * The number of samples that must violate the threshold to trigger an event. Must not exceed the number of evaluated samples */ readonly violatingSamples: pulumi.Output; /** * Create a DiskAnomalies 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: DiskAnomaliesArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DiskAnomalies resources. */ export interface DiskAnomaliesState { /** * Narrows the rule usage down to disks, matching the specified criteria */ diskName?: pulumi.Input; /** * Disk event rule enabled/disabled */ enabled?: pulumi.Input; /** * Narrows the rule usage down to disks that run on hosts that themselves run on the specified host group */ hostGroupId?: pulumi.Input; /** * The metric to monitor. Possible values are: `LOW_DISK_SPACE`, `LOW_INODES`, `READ_TIME_EXCEEDING` and `WRITE_TIME_EXCEEDING` */ metric?: pulumi.Input; /** * The name of the disk event rule */ name?: pulumi.Input; /** * The number of samples to evaluate */ samples?: pulumi.Input; /** * Narrows the rule usage down to the hosts matching the specified tags */ tags?: pulumi.Input; /** * The threshold to trigger disk event. * A percentage for `LowDiskSpace` or `LowInodes` metrics. * In milliseconds for `ReadTimeExceeding` or `WriteTimeExceeding` metrics */ threshold?: pulumi.Input; /** * The number of samples that must violate the threshold to trigger an event. Must not exceed the number of evaluated samples */ violatingSamples?: pulumi.Input; } /** * The set of arguments for constructing a DiskAnomalies resource. */ export interface DiskAnomaliesArgs { /** * Narrows the rule usage down to disks, matching the specified criteria */ diskName?: pulumi.Input; /** * Disk event rule enabled/disabled */ enabled: pulumi.Input; /** * Narrows the rule usage down to disks that run on hosts that themselves run on the specified host group */ hostGroupId?: pulumi.Input; /** * The metric to monitor. Possible values are: `LOW_DISK_SPACE`, `LOW_INODES`, `READ_TIME_EXCEEDING` and `WRITE_TIME_EXCEEDING` */ metric: pulumi.Input; /** * The name of the disk event rule */ name?: pulumi.Input; /** * The number of samples to evaluate */ samples: pulumi.Input; /** * Narrows the rule usage down to the hosts matching the specified tags */ tags?: pulumi.Input; /** * The threshold to trigger disk event. * A percentage for `LowDiskSpace` or `LowInodes` metrics. * In milliseconds for `ReadTimeExceeding` or `WriteTimeExceeding` metrics */ threshold: pulumi.Input; /** * The number of samples that must violate the threshold to trigger an event. Must not exceed the number of evaluated samples */ violatingSamples: pulumi.Input; }