UNPKG

@pulumiverse/dynatrace

Version:

A Pulumi package for creating and managing Dynatrace cloud resources.

144 lines (143 loc) 6.29 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class ProcessAvailability extends pulumi.CustomResource { /** * Get an existing ProcessAvailability 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?: ProcessAvailabilityState, opts?: pulumi.CustomResourceOptions): ProcessAvailability; /** * Returns true if the given object is an instance of ProcessAvailability. 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 ProcessAvailability; /** * This setting is enabled (`true`) or disabled (`false`) */ readonly enabled: pulumi.Output<boolean>; /** * Because this resource allows for ordering you may specify the ID of the resource instance that comes before this * instance regarding order. If not specified when creating the setting will be added to the end of the list. If not * specified during update the order will remain untouched */ readonly insertAfter: pulumi.Output<string>; /** * Set of additional key-value properties to be attached to the triggered event. */ readonly metadata: pulumi.Output<outputs.ProcessAvailabilityMetadata | undefined>; /** * Specify a minimum number of processes matching the monitoring rule. If it's not satisfied, an alert will open. */ readonly minimumProcesses: pulumi.Output<number | undefined>; /** * Monitoring rule name */ readonly name: pulumi.Output<string>; /** * Select the operating systems on which the monitoring rule should be applied. */ readonly operatingSystems: pulumi.Output<string[] | undefined>; /** * Define process detection rules by selecting a process property and a condition. Each monitoring rule can have multiple * detection rules associated with it. */ readonly rules: pulumi.Output<outputs.ProcessAvailabilityRules | undefined>; /** * The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment. */ readonly scope: pulumi.Output<string | undefined>; /** * Create a ProcessAvailability 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: ProcessAvailabilityArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ProcessAvailability resources. */ export interface ProcessAvailabilityState { /** * This setting is enabled (`true`) or disabled (`false`) */ enabled?: pulumi.Input<boolean>; /** * Because this resource allows for ordering you may specify the ID of the resource instance that comes before this * instance regarding order. If not specified when creating the setting will be added to the end of the list. If not * specified during update the order will remain untouched */ insertAfter?: pulumi.Input<string>; /** * Set of additional key-value properties to be attached to the triggered event. */ metadata?: pulumi.Input<inputs.ProcessAvailabilityMetadata>; /** * Specify a minimum number of processes matching the monitoring rule. If it's not satisfied, an alert will open. */ minimumProcesses?: pulumi.Input<number>; /** * Monitoring rule name */ name?: pulumi.Input<string>; /** * Select the operating systems on which the monitoring rule should be applied. */ operatingSystems?: pulumi.Input<pulumi.Input<string>[]>; /** * Define process detection rules by selecting a process property and a condition. Each monitoring rule can have multiple * detection rules associated with it. */ rules?: pulumi.Input<inputs.ProcessAvailabilityRules>; /** * The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment. */ scope?: pulumi.Input<string>; } /** * The set of arguments for constructing a ProcessAvailability resource. */ export interface ProcessAvailabilityArgs { /** * This setting is enabled (`true`) or disabled (`false`) */ enabled: pulumi.Input<boolean>; /** * Because this resource allows for ordering you may specify the ID of the resource instance that comes before this * instance regarding order. If not specified when creating the setting will be added to the end of the list. If not * specified during update the order will remain untouched */ insertAfter?: pulumi.Input<string>; /** * Set of additional key-value properties to be attached to the triggered event. */ metadata?: pulumi.Input<inputs.ProcessAvailabilityMetadata>; /** * Specify a minimum number of processes matching the monitoring rule. If it's not satisfied, an alert will open. */ minimumProcesses?: pulumi.Input<number>; /** * Monitoring rule name */ name?: pulumi.Input<string>; /** * Select the operating systems on which the monitoring rule should be applied. */ operatingSystems?: pulumi.Input<pulumi.Input<string>[]>; /** * Define process detection rules by selecting a process property and a condition. Each monitoring rule can have multiple * detection rules associated with it. */ rules?: pulumi.Input<inputs.ProcessAvailabilityRules>; /** * The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment. */ scope?: pulumi.Input<string>; }