@lbrlabs/pulumi-dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
87 lines (86 loc) • 3.33 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
export declare class ProcessMonitoringRule extends pulumi.CustomResource {
/**
* Get an existing ProcessMonitoringRule 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?: ProcessMonitoringRuleState, opts?: pulumi.CustomResourceOptions): ProcessMonitoringRule;
/**
* Returns true if the given object is an instance of ProcessMonitoringRule. 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 ProcessMonitoringRule;
/**
* Condition
*/
readonly condition: pulumi.Output<outputs.ProcessMonitoringRuleCondition>;
/**
* This setting is enabled (`true`) or disabled (`false`)
*/
readonly enabled: pulumi.Output<boolean>;
/**
* The scope of this settings. If the settings should cover the whole environment, just don't specify any scope
*/
readonly hostGroupId: pulumi.Output<string | undefined>;
/**
* Possible Values: `MONITORING_ON`, `MONITORING_OFF`
*/
readonly mode: pulumi.Output<string>;
/**
* Create a ProcessMonitoringRule 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: ProcessMonitoringRuleArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering ProcessMonitoringRule resources.
*/
export interface ProcessMonitoringRuleState {
/**
* Condition
*/
condition?: pulumi.Input<inputs.ProcessMonitoringRuleCondition>;
/**
* This setting is enabled (`true`) or disabled (`false`)
*/
enabled?: pulumi.Input<boolean>;
/**
* The scope of this settings. If the settings should cover the whole environment, just don't specify any scope
*/
hostGroupId?: pulumi.Input<string>;
/**
* Possible Values: `MONITORING_ON`, `MONITORING_OFF`
*/
mode?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a ProcessMonitoringRule resource.
*/
export interface ProcessMonitoringRuleArgs {
/**
* Condition
*/
condition: pulumi.Input<inputs.ProcessMonitoringRuleCondition>;
/**
* This setting is enabled (`true`) or disabled (`false`)
*/
enabled: pulumi.Input<boolean>;
/**
* The scope of this settings. If the settings should cover the whole environment, just don't specify any scope
*/
hostGroupId?: pulumi.Input<string>;
/**
* Possible Values: `MONITORING_ON`, `MONITORING_OFF`
*/
mode: pulumi.Input<string>;
}