@pulumiverse/dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
147 lines (146 loc) • 5.84 kB
TypeScript
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<pulumi.ID>, 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<outputs.DiskAnomaliesDiskName | undefined>;
/**
* Disk event rule enabled/disabled
*/
readonly enabled: pulumi.Output<boolean>;
/**
* Narrows the rule usage down to disks that run on hosts that themselves run on the specified host group
*/
readonly hostGroupId: pulumi.Output<string | undefined>;
/**
* The metric to monitor. Possible values are: `LOW_DISK_SPACE`, `LOW_INODES`, `READ_TIME_EXCEEDING` and `WRITE_TIME_EXCEEDING`
*/
readonly metric: pulumi.Output<string>;
/**
* The name of the disk event rule
*/
readonly name: pulumi.Output<string>;
/**
* The number of samples to evaluate
*/
readonly samples: pulumi.Output<number>;
/**
* Narrows the rule usage down to the hosts matching the specified tags
*/
readonly tags: pulumi.Output<outputs.DiskAnomaliesTags | undefined>;
/**
* The threshold to trigger disk event. * A percentage for `LowDiskSpace` or `LowInodes` metrics. * In milliseconds for `ReadTimeExceeding` or `WriteTimeExceeding` metrics
*/
readonly threshold: pulumi.Output<number>;
/**
* 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<number>;
/**
* 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<inputs.DiskAnomaliesDiskName>;
/**
* Disk event rule enabled/disabled
*/
enabled?: pulumi.Input<boolean>;
/**
* Narrows the rule usage down to disks that run on hosts that themselves run on the specified host group
*/
hostGroupId?: pulumi.Input<string>;
/**
* The metric to monitor. Possible values are: `LOW_DISK_SPACE`, `LOW_INODES`, `READ_TIME_EXCEEDING` and `WRITE_TIME_EXCEEDING`
*/
metric?: pulumi.Input<string>;
/**
* The name of the disk event rule
*/
name?: pulumi.Input<string>;
/**
* The number of samples to evaluate
*/
samples?: pulumi.Input<number>;
/**
* Narrows the rule usage down to the hosts matching the specified tags
*/
tags?: pulumi.Input<inputs.DiskAnomaliesTags>;
/**
* The threshold to trigger disk event. * A percentage for `LowDiskSpace` or `LowInodes` metrics. * In milliseconds for `ReadTimeExceeding` or `WriteTimeExceeding` metrics
*/
threshold?: pulumi.Input<number>;
/**
* The number of samples that must violate the threshold to trigger an event. Must not exceed the number of evaluated samples
*/
violatingSamples?: pulumi.Input<number>;
}
/**
* 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<inputs.DiskAnomaliesDiskName>;
/**
* Disk event rule enabled/disabled
*/
enabled: pulumi.Input<boolean>;
/**
* Narrows the rule usage down to disks that run on hosts that themselves run on the specified host group
*/
hostGroupId?: pulumi.Input<string>;
/**
* The metric to monitor. Possible values are: `LOW_DISK_SPACE`, `LOW_INODES`, `READ_TIME_EXCEEDING` and `WRITE_TIME_EXCEEDING`
*/
metric: pulumi.Input<string>;
/**
* The name of the disk event rule
*/
name?: pulumi.Input<string>;
/**
* The number of samples to evaluate
*/
samples: pulumi.Input<number>;
/**
* Narrows the rule usage down to the hosts matching the specified tags
*/
tags?: pulumi.Input<inputs.DiskAnomaliesTags>;
/**
* The threshold to trigger disk event. * A percentage for `LowDiskSpace` or `LowInodes` metrics. * In milliseconds for `ReadTimeExceeding` or `WriteTimeExceeding` metrics
*/
threshold: pulumi.Input<number>;
/**
* The number of samples that must violate the threshold to trigger an event. Must not exceed the number of evaluated samples
*/
violatingSamples: pulumi.Input<number>;
}