import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class OsServices extends pulumi.CustomResource { /** * Get an existing OsServices 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, state?: OsServicesState, opts?: pulumi.CustomResourceOptions): OsServices; /** * Returns true if the given object is an instance of OsServices. 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 OsServices; /** * The number of **10-second measurement cycles** before alerting is triggered */ readonly alertActivationDuration: pulumi.Output; /** * Toggle the switch in order to enable or disable alerting for this policy */ readonly alerting: pulumi.Output; /** * Detection rules */ readonly detectionConditionsLinux: pulumi.Output; /** * Detection rules */ readonly detectionConditionsWindows: pulumi.Output; /** * This setting is enabled (`true`) or disabled (`false`) */ readonly enabled: pulumi.Output; /** * 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; /** * Set of additional key-value properties to be attached to the triggered event. */ readonly metadata: pulumi.Output; /** * Toggle the switch in order to enable or disable availability metric monitoring for this policy. Availability metrics produce custom metrics. Refer to [documentation](https://dt-url.net/vl03xzk) for consumption examples. Each monitored service consumes one custom metric. */ readonly monitoring: pulumi.Output; /** * Rule name */ readonly name: pulumi.Output; /** * By default, Dynatrace does not alert if the service is not installed. Toggle the switch to enable or disable this feature */ readonly notInstalledAlerting: pulumi.Output; /** * The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment. */ readonly scope: pulumi.Output; /** * This string has to match a required format. See [OS services monitoring](https://dt-url.net/vl03xzk). */ readonly statusConditionLinux: pulumi.Output; /** * This string has to match a required format. See [OS services monitoring](https://dt-url.net/vl03xzk). * * - `$eq(paused)` – Matches services that are in paused state. * * Available logic operations: * - `$not($eq(paused))` – Matches services that are in state different from paused. * - `$or($eq(paused),$eq(running))` – Matches services that are either in paused or running state. * * Use one of the following values as a parameter for this condition: * * - `running` * - `stopped` * - `startPending` * - `stopPending` * - `continuePending` * - `pausePending` * - `paused` */ readonly statusConditionWindows: pulumi.Output; /** * Possible Values: `LINUX`, `WINDOWS` */ readonly system: pulumi.Output; /** * Create a OsServices 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: OsServicesArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OsServices resources. */ export interface OsServicesState { /** * The number of **10-second measurement cycles** before alerting is triggered */ alertActivationDuration?: pulumi.Input; /** * Toggle the switch in order to enable or disable alerting for this policy */ alerting?: pulumi.Input; /** * Detection rules */ detectionConditionsLinux?: pulumi.Input; /** * Detection rules */ detectionConditionsWindows?: pulumi.Input; /** * This setting is enabled (`true`) or disabled (`false`) */ enabled?: pulumi.Input; /** * 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; /** * Set of additional key-value properties to be attached to the triggered event. */ metadata?: pulumi.Input; /** * Toggle the switch in order to enable or disable availability metric monitoring for this policy. Availability metrics produce custom metrics. Refer to [documentation](https://dt-url.net/vl03xzk) for consumption examples. Each monitored service consumes one custom metric. */ monitoring?: pulumi.Input; /** * Rule name */ name?: pulumi.Input; /** * By default, Dynatrace does not alert if the service is not installed. Toggle the switch to enable or disable this feature */ notInstalledAlerting?: pulumi.Input; /** * The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment. */ scope?: pulumi.Input; /** * This string has to match a required format. See [OS services monitoring](https://dt-url.net/vl03xzk). */ statusConditionLinux?: pulumi.Input; /** * This string has to match a required format. See [OS services monitoring](https://dt-url.net/vl03xzk). * * - `$eq(paused)` – Matches services that are in paused state. * * Available logic operations: * - `$not($eq(paused))` – Matches services that are in state different from paused. * - `$or($eq(paused),$eq(running))` – Matches services that are either in paused or running state. * * Use one of the following values as a parameter for this condition: * * - `running` * - `stopped` * - `startPending` * - `stopPending` * - `continuePending` * - `pausePending` * - `paused` */ statusConditionWindows?: pulumi.Input; /** * Possible Values: `LINUX`, `WINDOWS` */ system?: pulumi.Input; } /** * The set of arguments for constructing a OsServices resource. */ export interface OsServicesArgs { /** * The number of **10-second measurement cycles** before alerting is triggered */ alertActivationDuration?: pulumi.Input; /** * Toggle the switch in order to enable or disable alerting for this policy */ alerting: pulumi.Input; /** * Detection rules */ detectionConditionsLinux?: pulumi.Input; /** * Detection rules */ detectionConditionsWindows?: pulumi.Input; /** * This setting is enabled (`true`) or disabled (`false`) */ enabled: pulumi.Input; /** * 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; /** * Set of additional key-value properties to be attached to the triggered event. */ metadata?: pulumi.Input; /** * Toggle the switch in order to enable or disable availability metric monitoring for this policy. Availability metrics produce custom metrics. Refer to [documentation](https://dt-url.net/vl03xzk) for consumption examples. Each monitored service consumes one custom metric. */ monitoring: pulumi.Input; /** * Rule name */ name?: pulumi.Input; /** * By default, Dynatrace does not alert if the service is not installed. Toggle the switch to enable or disable this feature */ notInstalledAlerting?: pulumi.Input; /** * The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment. */ scope?: pulumi.Input; /** * This string has to match a required format. See [OS services monitoring](https://dt-url.net/vl03xzk). */ statusConditionLinux?: pulumi.Input; /** * This string has to match a required format. See [OS services monitoring](https://dt-url.net/vl03xzk). * * - `$eq(paused)` – Matches services that are in paused state. * * Available logic operations: * - `$not($eq(paused))` – Matches services that are in state different from paused. * - `$or($eq(paused),$eq(running))` – Matches services that are either in paused or running state. * * Use one of the following values as a parameter for this condition: * * - `running` * - `stopped` * - `startPending` * - `stopPending` * - `continuePending` * - `pausePending` * - `paused` */ statusConditionWindows?: pulumi.Input; /** * Possible Values: `LINUX`, `WINDOWS` */ system: pulumi.Input; }