@pulumiverse/dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
111 lines (110 loc) • 4.67 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
export declare class DatabaseAnomaliesV2 extends pulumi.CustomResource {
/**
* Get an existing DatabaseAnomaliesV2 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?: DatabaseAnomaliesV2State, opts?: pulumi.CustomResourceOptions): DatabaseAnomaliesV2;
/**
* Returns true if the given object is an instance of DatabaseAnomaliesV2. 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 DatabaseAnomaliesV2;
/**
* Alert if the number of failed database connects within the specified time exceeds the specified absolute threshold:
*/
readonly databaseConnections: pulumi.Output<outputs.DatabaseAnomaliesV2DatabaseConnections>;
/**
* Failure rate
*/
readonly failureRate: pulumi.Output<outputs.DatabaseAnomaliesV2FailureRate>;
/**
* Alert if the observed load is lower than the expected load by a specified margin for a specified amount of time.
*/
readonly loadDrops: pulumi.Output<outputs.DatabaseAnomaliesV2LoadDrops>;
/**
* Alert if the observed load exceeds the expected load by a specified margin for a specified amount of time.
*/
readonly loadSpikes: pulumi.Output<outputs.DatabaseAnomaliesV2LoadSpikes>;
/**
* Response time
*/
readonly responseTime: pulumi.Output<outputs.DatabaseAnomaliesV2ResponseTime>;
/**
* The scope for the database anomaly detection
*/
readonly scope: pulumi.Output<string>;
/**
* Create a DatabaseAnomaliesV2 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: DatabaseAnomaliesV2Args, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering DatabaseAnomaliesV2 resources.
*/
export interface DatabaseAnomaliesV2State {
/**
* Alert if the number of failed database connects within the specified time exceeds the specified absolute threshold:
*/
databaseConnections?: pulumi.Input<inputs.DatabaseAnomaliesV2DatabaseConnections>;
/**
* Failure rate
*/
failureRate?: pulumi.Input<inputs.DatabaseAnomaliesV2FailureRate>;
/**
* Alert if the observed load is lower than the expected load by a specified margin for a specified amount of time.
*/
loadDrops?: pulumi.Input<inputs.DatabaseAnomaliesV2LoadDrops>;
/**
* Alert if the observed load exceeds the expected load by a specified margin for a specified amount of time.
*/
loadSpikes?: pulumi.Input<inputs.DatabaseAnomaliesV2LoadSpikes>;
/**
* Response time
*/
responseTime?: pulumi.Input<inputs.DatabaseAnomaliesV2ResponseTime>;
/**
* The scope for the database anomaly detection
*/
scope?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a DatabaseAnomaliesV2 resource.
*/
export interface DatabaseAnomaliesV2Args {
/**
* Alert if the number of failed database connects within the specified time exceeds the specified absolute threshold:
*/
databaseConnections: pulumi.Input<inputs.DatabaseAnomaliesV2DatabaseConnections>;
/**
* Failure rate
*/
failureRate: pulumi.Input<inputs.DatabaseAnomaliesV2FailureRate>;
/**
* Alert if the observed load is lower than the expected load by a specified margin for a specified amount of time.
*/
loadDrops: pulumi.Input<inputs.DatabaseAnomaliesV2LoadDrops>;
/**
* Alert if the observed load exceeds the expected load by a specified margin for a specified amount of time.
*/
loadSpikes: pulumi.Input<inputs.DatabaseAnomaliesV2LoadSpikes>;
/**
* Response time
*/
responseTime: pulumi.Input<inputs.DatabaseAnomaliesV2ResponseTime>;
/**
* The scope for the database anomaly detection
*/
scope: pulumi.Input<string>;
}