UNPKG

@pulumiverse/dynatrace

Version:

A Pulumi package for creating and managing Dynatrace cloud resources.

159 lines (158 loc) 5.17 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class NetworkMonitor extends pulumi.CustomResource { /** * Get an existing NetworkMonitor 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?: NetworkMonitorState, opts?: pulumi.CustomResourceOptions): NetworkMonitor; /** * Returns true if the given object is an instance of NetworkMonitor. 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 NetworkMonitor; /** * Description of the monitor */ readonly description: pulumi.Output<string | undefined>; /** * If true, the monitor is enabled */ readonly enabled: pulumi.Output<boolean | undefined>; /** * Frequency of the monitor, in minutes */ readonly frequencyMin: pulumi.Output<number | undefined>; /** * The locations to which the monitor is assigned */ readonly locations: pulumi.Output<string[]>; /** * Name of the monitor */ readonly name: pulumi.Output<string>; /** * Outage handling configuration */ readonly outageHandling: pulumi.Output<outputs.NetworkMonitorOutageHandling | undefined>; /** * Performance thresholds configuration */ readonly performanceThresholds: pulumi.Output<outputs.NetworkMonitorPerformanceThresholds | undefined>; /** * The steps of the monitor */ readonly steps: pulumi.Output<outputs.NetworkMonitorStep[]>; /** * A set of tags assigned to the monitor. */ readonly tags: pulumi.Output<outputs.NetworkMonitorTag[] | undefined>; /** * Type of the monitor, possible values: `MULTI_PROTOCOL` */ readonly type: pulumi.Output<string>; /** * Create a NetworkMonitor 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: NetworkMonitorArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NetworkMonitor resources. */ export interface NetworkMonitorState { /** * Description of the monitor */ description?: pulumi.Input<string>; /** * If true, the monitor is enabled */ enabled?: pulumi.Input<boolean>; /** * Frequency of the monitor, in minutes */ frequencyMin?: pulumi.Input<number>; /** * The locations to which the monitor is assigned */ locations?: pulumi.Input<pulumi.Input<string>[]>; /** * Name of the monitor */ name?: pulumi.Input<string>; /** * Outage handling configuration */ outageHandling?: pulumi.Input<inputs.NetworkMonitorOutageHandling>; /** * Performance thresholds configuration */ performanceThresholds?: pulumi.Input<inputs.NetworkMonitorPerformanceThresholds>; /** * The steps of the monitor */ steps?: pulumi.Input<pulumi.Input<inputs.NetworkMonitorStep>[]>; /** * A set of tags assigned to the monitor. */ tags?: pulumi.Input<pulumi.Input<inputs.NetworkMonitorTag>[]>; /** * Type of the monitor, possible values: `MULTI_PROTOCOL` */ type?: pulumi.Input<string>; } /** * The set of arguments for constructing a NetworkMonitor resource. */ export interface NetworkMonitorArgs { /** * Description of the monitor */ description?: pulumi.Input<string>; /** * If true, the monitor is enabled */ enabled?: pulumi.Input<boolean>; /** * Frequency of the monitor, in minutes */ frequencyMin?: pulumi.Input<number>; /** * The locations to which the monitor is assigned */ locations: pulumi.Input<pulumi.Input<string>[]>; /** * Name of the monitor */ name?: pulumi.Input<string>; /** * Outage handling configuration */ outageHandling?: pulumi.Input<inputs.NetworkMonitorOutageHandling>; /** * Performance thresholds configuration */ performanceThresholds?: pulumi.Input<inputs.NetworkMonitorPerformanceThresholds>; /** * The steps of the monitor */ steps: pulumi.Input<pulumi.Input<inputs.NetworkMonitorStep>[]>; /** * A set of tags assigned to the monitor. */ tags?: pulumi.Input<pulumi.Input<inputs.NetworkMonitorTag>[]>; /** * Type of the monitor, possible values: `MULTI_PROTOCOL` */ type: pulumi.Input<string>; }