@pulumiverse/dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
150 lines (149 loc) • 5.51 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
export declare class HttpMonitor extends pulumi.CustomResource {
/**
* Get an existing HttpMonitor 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?: HttpMonitorState, opts?: pulumi.CustomResourceOptions): HttpMonitor;
/**
* Returns true if the given object is an instance of HttpMonitor. 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 HttpMonitor;
/**
* The anomaly detection configuration.
*/
readonly anomalyDetections: pulumi.Output<outputs.HttpMonitorAnomalyDetection[] | undefined>;
/**
* The monitor is enabled (`true`) or disabled (`false`).
*/
readonly enabled: pulumi.Output<boolean | undefined>;
/**
* The frequency of the monitor, in minutes.
*/
readonly frequency: pulumi.Output<number>;
/**
* A list of locations from which the monitor is executed. To specify a location, use its entity ID.
*/
readonly locations: pulumi.Output<string[] | undefined>;
/**
* A set of manually assigned applications.
*/
readonly manuallyAssignedApps: pulumi.Output<string[] | undefined>;
/**
* The name of the monitor.
*/
readonly name: pulumi.Output<string>;
/**
* No script block - handle requests via `dynatrace.HttpMonitorScript` resource
*/
readonly noScript: pulumi.Output<boolean | undefined>;
/**
* The HTTP Script
*/
readonly script: pulumi.Output<outputs.HttpMonitorScript | undefined>;
/**
* A set of tags assigned to the monitor. You can specify only the value of the tag here and the `CONTEXTLESS` context and
* source 'USER' will be added automatically.
*/
readonly tags: pulumi.Output<outputs.HttpMonitorTag[] | undefined>;
/**
* Create a HttpMonitor 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: HttpMonitorArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering HttpMonitor resources.
*/
export interface HttpMonitorState {
/**
* The anomaly detection configuration.
*/
anomalyDetections?: pulumi.Input<pulumi.Input<inputs.HttpMonitorAnomalyDetection>[]>;
/**
* The monitor is enabled (`true`) or disabled (`false`).
*/
enabled?: pulumi.Input<boolean>;
/**
* The frequency of the monitor, in minutes.
*/
frequency?: pulumi.Input<number>;
/**
* A list of locations from which the monitor is executed. To specify a location, use its entity ID.
*/
locations?: pulumi.Input<pulumi.Input<string>[]>;
/**
* A set of manually assigned applications.
*/
manuallyAssignedApps?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The name of the monitor.
*/
name?: pulumi.Input<string>;
/**
* No script block - handle requests via `dynatrace.HttpMonitorScript` resource
*/
noScript?: pulumi.Input<boolean>;
/**
* The HTTP Script
*/
script?: pulumi.Input<inputs.HttpMonitorScript>;
/**
* A set of tags assigned to the monitor. You can specify only the value of the tag here and the `CONTEXTLESS` context and
* source 'USER' will be added automatically.
*/
tags?: pulumi.Input<pulumi.Input<inputs.HttpMonitorTag>[]>;
}
/**
* The set of arguments for constructing a HttpMonitor resource.
*/
export interface HttpMonitorArgs {
/**
* The anomaly detection configuration.
*/
anomalyDetections?: pulumi.Input<pulumi.Input<inputs.HttpMonitorAnomalyDetection>[]>;
/**
* The monitor is enabled (`true`) or disabled (`false`).
*/
enabled?: pulumi.Input<boolean>;
/**
* The frequency of the monitor, in minutes.
*/
frequency: pulumi.Input<number>;
/**
* A list of locations from which the monitor is executed. To specify a location, use its entity ID.
*/
locations?: pulumi.Input<pulumi.Input<string>[]>;
/**
* A set of manually assigned applications.
*/
manuallyAssignedApps?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The name of the monitor.
*/
name?: pulumi.Input<string>;
/**
* No script block - handle requests via `dynatrace.HttpMonitorScript` resource
*/
noScript?: pulumi.Input<boolean>;
/**
* The HTTP Script
*/
script?: pulumi.Input<inputs.HttpMonitorScript>;
/**
* A set of tags assigned to the monitor. You can specify only the value of the tag here and the `CONTEXTLESS` context and
* source 'USER' will be added automatically.
*/
tags?: pulumi.Input<pulumi.Input<inputs.HttpMonitorTag>[]>;
}