dynatrace.OsServices
Explore with Pulumi AI
Create OsServices Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OsServices(name: string, args: OsServicesArgs, opts?: CustomResourceOptions);
@overload
def OsServices(resource_name: str,
args: OsServicesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OsServices(resource_name: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
alerting: Optional[bool] = None,
system: Optional[str] = None,
monitoring: Optional[bool] = None,
metadata: Optional[OsServicesMetadataArgs] = None,
insert_after: Optional[str] = None,
alert_activation_duration: Optional[int] = None,
detection_conditions_windows: Optional[OsServicesDetectionConditionsWindowsArgs] = None,
name: Optional[str] = None,
not_installed_alerting: Optional[bool] = None,
scope: Optional[str] = None,
status_condition_linux: Optional[str] = None,
status_condition_windows: Optional[str] = None,
detection_conditions_linux: Optional[OsServicesDetectionConditionsLinuxArgs] = None)
func NewOsServices(ctx *Context, name string, args OsServicesArgs, opts ...ResourceOption) (*OsServices, error)
public OsServices(string name, OsServicesArgs args, CustomResourceOptions? opts = null)
public OsServices(String name, OsServicesArgs args)
public OsServices(String name, OsServicesArgs args, CustomResourceOptions options)
type: dynatrace:OsServices
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args OsServicesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args OsServicesArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args OsServicesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OsServicesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OsServicesArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var osServicesResource = new Dynatrace.OsServices("osServicesResource", new()
{
Enabled = false,
Alerting = false,
System = "string",
Monitoring = false,
Metadata = new Dynatrace.Inputs.OsServicesMetadataArgs
{
Items = new[]
{
new Dynatrace.Inputs.OsServicesMetadataItemArgs
{
MetadataKey = "string",
MetadataValue = "string",
},
},
},
InsertAfter = "string",
AlertActivationDuration = 0,
DetectionConditionsWindows = new Dynatrace.Inputs.OsServicesDetectionConditionsWindowsArgs
{
DetectionConditionsWindows = new[]
{
new Dynatrace.Inputs.OsServicesDetectionConditionsWindowsDetectionConditionsWindowArgs
{
Condition = "string",
HostMetadataCondition = new Dynatrace.Inputs.OsServicesDetectionConditionsWindowsDetectionConditionsWindowHostMetadataConditionArgs
{
MetadataCondition = "string",
MetadataKey = "string",
KeyMustExist = false,
},
Property = "string",
RuleType = "string",
StartupCondition = "string",
},
},
},
Name = "string",
NotInstalledAlerting = false,
Scope = "string",
StatusConditionLinux = "string",
StatusConditionWindows = "string",
DetectionConditionsLinux = new Dynatrace.Inputs.OsServicesDetectionConditionsLinuxArgs
{
LinuxDetectionConditions = new[]
{
new Dynatrace.Inputs.OsServicesDetectionConditionsLinuxLinuxDetectionConditionArgs
{
Condition = "string",
HostMetadataCondition = new Dynatrace.Inputs.OsServicesDetectionConditionsLinuxLinuxDetectionConditionHostMetadataConditionArgs
{
MetadataCondition = "string",
MetadataKey = "string",
KeyMustExist = false,
},
Property = "string",
RuleType = "string",
StartupCondition = "string",
},
},
},
});
example, err := dynatrace.NewOsServices(ctx, "osServicesResource", &dynatrace.OsServicesArgs{
Enabled: pulumi.Bool(false),
Alerting: pulumi.Bool(false),
System: pulumi.String("string"),
Monitoring: pulumi.Bool(false),
Metadata: &dynatrace.OsServicesMetadataArgs{
Items: dynatrace.OsServicesMetadataItemArray{
&dynatrace.OsServicesMetadataItemArgs{
MetadataKey: pulumi.String("string"),
MetadataValue: pulumi.String("string"),
},
},
},
InsertAfter: pulumi.String("string"),
AlertActivationDuration: pulumi.Int(0),
DetectionConditionsWindows: &dynatrace.OsServicesDetectionConditionsWindowsArgs{
DetectionConditionsWindows: dynatrace.OsServicesDetectionConditionsWindowsDetectionConditionsWindowArray{
&dynatrace.OsServicesDetectionConditionsWindowsDetectionConditionsWindowArgs{
Condition: pulumi.String("string"),
HostMetadataCondition: &dynatrace.OsServicesDetectionConditionsWindowsDetectionConditionsWindowHostMetadataConditionArgs{
MetadataCondition: pulumi.String("string"),
MetadataKey: pulumi.String("string"),
KeyMustExist: pulumi.Bool(false),
},
Property: pulumi.String("string"),
RuleType: pulumi.String("string"),
StartupCondition: pulumi.String("string"),
},
},
},
Name: pulumi.String("string"),
NotInstalledAlerting: pulumi.Bool(false),
Scope: pulumi.String("string"),
StatusConditionLinux: pulumi.String("string"),
StatusConditionWindows: pulumi.String("string"),
DetectionConditionsLinux: &dynatrace.OsServicesDetectionConditionsLinuxArgs{
LinuxDetectionConditions: dynatrace.OsServicesDetectionConditionsLinuxLinuxDetectionConditionArray{
&dynatrace.OsServicesDetectionConditionsLinuxLinuxDetectionConditionArgs{
Condition: pulumi.String("string"),
HostMetadataCondition: &dynatrace.OsServicesDetectionConditionsLinuxLinuxDetectionConditionHostMetadataConditionArgs{
MetadataCondition: pulumi.String("string"),
MetadataKey: pulumi.String("string"),
KeyMustExist: pulumi.Bool(false),
},
Property: pulumi.String("string"),
RuleType: pulumi.String("string"),
StartupCondition: pulumi.String("string"),
},
},
},
})
var osServicesResource = new OsServices("osServicesResource", OsServicesArgs.builder()
.enabled(false)
.alerting(false)
.system("string")
.monitoring(false)
.metadata(OsServicesMetadataArgs.builder()
.items(OsServicesMetadataItemArgs.builder()
.metadataKey("string")
.metadataValue("string")
.build())
.build())
.insertAfter("string")
.alertActivationDuration(0)
.detectionConditionsWindows(OsServicesDetectionConditionsWindowsArgs.builder()
.detectionConditionsWindows(OsServicesDetectionConditionsWindowsDetectionConditionsWindowArgs.builder()
.condition("string")
.hostMetadataCondition(OsServicesDetectionConditionsWindowsDetectionConditionsWindowHostMetadataConditionArgs.builder()
.metadataCondition("string")
.metadataKey("string")
.keyMustExist(false)
.build())
.property("string")
.ruleType("string")
.startupCondition("string")
.build())
.build())
.name("string")
.notInstalledAlerting(false)
.scope("string")
.statusConditionLinux("string")
.statusConditionWindows("string")
.detectionConditionsLinux(OsServicesDetectionConditionsLinuxArgs.builder()
.linuxDetectionConditions(OsServicesDetectionConditionsLinuxLinuxDetectionConditionArgs.builder()
.condition("string")
.hostMetadataCondition(OsServicesDetectionConditionsLinuxLinuxDetectionConditionHostMetadataConditionArgs.builder()
.metadataCondition("string")
.metadataKey("string")
.keyMustExist(false)
.build())
.property("string")
.ruleType("string")
.startupCondition("string")
.build())
.build())
.build());
os_services_resource = dynatrace.OsServices("osServicesResource",
enabled=False,
alerting=False,
system="string",
monitoring=False,
metadata=dynatrace.OsServicesMetadataArgs(
items=[dynatrace.OsServicesMetadataItemArgs(
metadata_key="string",
metadata_value="string",
)],
),
insert_after="string",
alert_activation_duration=0,
detection_conditions_windows=dynatrace.OsServicesDetectionConditionsWindowsArgs(
detection_conditions_windows=[dynatrace.OsServicesDetectionConditionsWindowsDetectionConditionsWindowArgs(
condition="string",
host_metadata_condition=dynatrace.OsServicesDetectionConditionsWindowsDetectionConditionsWindowHostMetadataConditionArgs(
metadata_condition="string",
metadata_key="string",
key_must_exist=False,
),
property="string",
rule_type="string",
startup_condition="string",
)],
),
name="string",
not_installed_alerting=False,
scope="string",
status_condition_linux="string",
status_condition_windows="string",
detection_conditions_linux=dynatrace.OsServicesDetectionConditionsLinuxArgs(
linux_detection_conditions=[dynatrace.OsServicesDetectionConditionsLinuxLinuxDetectionConditionArgs(
condition="string",
host_metadata_condition=dynatrace.OsServicesDetectionConditionsLinuxLinuxDetectionConditionHostMetadataConditionArgs(
metadata_condition="string",
metadata_key="string",
key_must_exist=False,
),
property="string",
rule_type="string",
startup_condition="string",
)],
))
const osServicesResource = new dynatrace.OsServices("osServicesResource", {
enabled: false,
alerting: false,
system: "string",
monitoring: false,
metadata: {
items: [{
metadataKey: "string",
metadataValue: "string",
}],
},
insertAfter: "string",
alertActivationDuration: 0,
detectionConditionsWindows: {
detectionConditionsWindows: [{
condition: "string",
hostMetadataCondition: {
metadataCondition: "string",
metadataKey: "string",
keyMustExist: false,
},
property: "string",
ruleType: "string",
startupCondition: "string",
}],
},
name: "string",
notInstalledAlerting: false,
scope: "string",
statusConditionLinux: "string",
statusConditionWindows: "string",
detectionConditionsLinux: {
linuxDetectionConditions: [{
condition: "string",
hostMetadataCondition: {
metadataCondition: "string",
metadataKey: "string",
keyMustExist: false,
},
property: "string",
ruleType: "string",
startupCondition: "string",
}],
},
});
type: dynatrace:OsServices
properties:
alertActivationDuration: 0
alerting: false
detectionConditionsLinux:
linuxDetectionConditions:
- condition: string
hostMetadataCondition:
keyMustExist: false
metadataCondition: string
metadataKey: string
property: string
ruleType: string
startupCondition: string
detectionConditionsWindows:
detectionConditionsWindows:
- condition: string
hostMetadataCondition:
keyMustExist: false
metadataCondition: string
metadataKey: string
property: string
ruleType: string
startupCondition: string
enabled: false
insertAfter: string
metadata:
items:
- metadataKey: string
metadataValue: string
monitoring: false
name: string
notInstalledAlerting: false
scope: string
statusConditionLinux: string
statusConditionWindows: string
system: string
OsServices Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The OsServices resource accepts the following input properties:
- Alerting bool
- Toggle the switch in order to enable or disable alerting for this policy
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Monitoring bool
- Toggle the switch in order to enable or disable availability metric monitoring for this policy. Availability metrics produce custom metrics. Refer to documentation for consumption examples. Each monitored service consumes one custom metric.
- System string
- Possible Values:
LINUX
,WINDOWS
- Alert
Activation intDuration - The number of 10-second measurement cycles before alerting is triggered
- Detection
Conditions Pulumiverse.Linux Dynatrace. Inputs. Os Services Detection Conditions Linux - Detection rules
- Detection
Conditions Pulumiverse.Windows Dynatrace. Inputs. Os Services Detection Conditions Windows - Detection rules
- Insert
After string - 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
- Metadata
Pulumiverse.
Dynatrace. Inputs. Os Services Metadata - Set of additional key-value properties to be attached to the triggered event.
- Name string
- Rule name
- Not
Installed boolAlerting - By default, Dynatrace does not alert if the service is not installed. Toggle the switch to enable or disable this feature
- Scope string
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- Status
Condition stringLinux - This string has to match a required format. See OS services monitoring.
- Status
Condition stringWindows - This string has to match a required format. See OS services monitoring. -
$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
-start_pending
-stop_pending
-continue_pending
-pause_pending
-paused
- Alerting bool
- Toggle the switch in order to enable or disable alerting for this policy
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Monitoring bool
- Toggle the switch in order to enable or disable availability metric monitoring for this policy. Availability metrics produce custom metrics. Refer to documentation for consumption examples. Each monitored service consumes one custom metric.
- System string
- Possible Values:
LINUX
,WINDOWS
- Alert
Activation intDuration - The number of 10-second measurement cycles before alerting is triggered
- Detection
Conditions OsLinux Services Detection Conditions Linux Args - Detection rules
- Detection
Conditions OsWindows Services Detection Conditions Windows Args - Detection rules
- Insert
After string - 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
- Metadata
Os
Services Metadata Args - Set of additional key-value properties to be attached to the triggered event.
- Name string
- Rule name
- Not
Installed boolAlerting - By default, Dynatrace does not alert if the service is not installed. Toggle the switch to enable or disable this feature
- Scope string
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- Status
Condition stringLinux - This string has to match a required format. See OS services monitoring.
- Status
Condition stringWindows - This string has to match a required format. See OS services monitoring. -
$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
-start_pending
-stop_pending
-continue_pending
-pause_pending
-paused
- alerting Boolean
- Toggle the switch in order to enable or disable alerting for this policy
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - monitoring Boolean
- Toggle the switch in order to enable or disable availability metric monitoring for this policy. Availability metrics produce custom metrics. Refer to documentation for consumption examples. Each monitored service consumes one custom metric.
- system String
- Possible Values:
LINUX
,WINDOWS
- alert
Activation IntegerDuration - The number of 10-second measurement cycles before alerting is triggered
- detection
Conditions OsLinux Services Detection Conditions Linux - Detection rules
- detection
Conditions OsWindows Services Detection Conditions Windows - Detection rules
- insert
After String - 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
- metadata
Os
Services Metadata - Set of additional key-value properties to be attached to the triggered event.
- name String
- Rule name
- not
Installed BooleanAlerting - By default, Dynatrace does not alert if the service is not installed. Toggle the switch to enable or disable this feature
- scope String
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- status
Condition StringLinux - This string has to match a required format. See OS services monitoring.
- status
Condition StringWindows - This string has to match a required format. See OS services monitoring. -
$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
-start_pending
-stop_pending
-continue_pending
-pause_pending
-paused
- alerting boolean
- Toggle the switch in order to enable or disable alerting for this policy
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - monitoring boolean
- Toggle the switch in order to enable or disable availability metric monitoring for this policy. Availability metrics produce custom metrics. Refer to documentation for consumption examples. Each monitored service consumes one custom metric.
- system string
- Possible Values:
LINUX
,WINDOWS
- alert
Activation numberDuration - The number of 10-second measurement cycles before alerting is triggered
- detection
Conditions OsLinux Services Detection Conditions Linux - Detection rules
- detection
Conditions OsWindows Services Detection Conditions Windows - Detection rules
- insert
After string - 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
- metadata
Os
Services Metadata - Set of additional key-value properties to be attached to the triggered event.
- name string
- Rule name
- not
Installed booleanAlerting - By default, Dynatrace does not alert if the service is not installed. Toggle the switch to enable or disable this feature
- scope string
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- status
Condition stringLinux - This string has to match a required format. See OS services monitoring.
- status
Condition stringWindows - This string has to match a required format. See OS services monitoring. -
$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
-start_pending
-stop_pending
-continue_pending
-pause_pending
-paused
- alerting bool
- Toggle the switch in order to enable or disable alerting for this policy
- enabled bool
- This setting is enabled (
true
) or disabled (false
) - monitoring bool
- Toggle the switch in order to enable or disable availability metric monitoring for this policy. Availability metrics produce custom metrics. Refer to documentation for consumption examples. Each monitored service consumes one custom metric.
- system str
- Possible Values:
LINUX
,WINDOWS
- alert_
activation_ intduration - The number of 10-second measurement cycles before alerting is triggered
- detection_
conditions_ Oslinux Services Detection Conditions Linux Args - Detection rules
- detection_
conditions_ Oswindows Services Detection Conditions Windows Args - Detection rules
- insert_
after str - 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
- metadata
Os
Services Metadata Args - Set of additional key-value properties to be attached to the triggered event.
- name str
- Rule name
- not_
installed_ boolalerting - By default, Dynatrace does not alert if the service is not installed. Toggle the switch to enable or disable this feature
- scope str
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- status_
condition_ strlinux - This string has to match a required format. See OS services monitoring.
- status_
condition_ strwindows - This string has to match a required format. See OS services monitoring. -
$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
-start_pending
-stop_pending
-continue_pending
-pause_pending
-paused
- alerting Boolean
- Toggle the switch in order to enable or disable alerting for this policy
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - monitoring Boolean
- Toggle the switch in order to enable or disable availability metric monitoring for this policy. Availability metrics produce custom metrics. Refer to documentation for consumption examples. Each monitored service consumes one custom metric.
- system String
- Possible Values:
LINUX
,WINDOWS
- alert
Activation NumberDuration - The number of 10-second measurement cycles before alerting is triggered
- detection
Conditions Property MapLinux - Detection rules
- detection
Conditions Property MapWindows - Detection rules
- insert
After String - 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
- metadata Property Map
- Set of additional key-value properties to be attached to the triggered event.
- name String
- Rule name
- not
Installed BooleanAlerting - By default, Dynatrace does not alert if the service is not installed. Toggle the switch to enable or disable this feature
- scope String
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- status
Condition StringLinux - This string has to match a required format. See OS services monitoring.
- status
Condition StringWindows - This string has to match a required format. See OS services monitoring. -
$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
-start_pending
-stop_pending
-continue_pending
-pause_pending
-paused
Outputs
All input properties are implicitly available as output properties. Additionally, the OsServices resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing OsServices Resource
Get an existing OsServices resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: OsServicesState, opts?: CustomResourceOptions): OsServices
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
alert_activation_duration: Optional[int] = None,
alerting: Optional[bool] = None,
detection_conditions_linux: Optional[OsServicesDetectionConditionsLinuxArgs] = None,
detection_conditions_windows: Optional[OsServicesDetectionConditionsWindowsArgs] = None,
enabled: Optional[bool] = None,
insert_after: Optional[str] = None,
metadata: Optional[OsServicesMetadataArgs] = None,
monitoring: Optional[bool] = None,
name: Optional[str] = None,
not_installed_alerting: Optional[bool] = None,
scope: Optional[str] = None,
status_condition_linux: Optional[str] = None,
status_condition_windows: Optional[str] = None,
system: Optional[str] = None) -> OsServices
func GetOsServices(ctx *Context, name string, id IDInput, state *OsServicesState, opts ...ResourceOption) (*OsServices, error)
public static OsServices Get(string name, Input<string> id, OsServicesState? state, CustomResourceOptions? opts = null)
public static OsServices get(String name, Output<String> id, OsServicesState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Alert
Activation intDuration - The number of 10-second measurement cycles before alerting is triggered
- Alerting bool
- Toggle the switch in order to enable or disable alerting for this policy
- Detection
Conditions Pulumiverse.Linux Dynatrace. Inputs. Os Services Detection Conditions Linux - Detection rules
- Detection
Conditions Pulumiverse.Windows Dynatrace. Inputs. Os Services Detection Conditions Windows - Detection rules
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Insert
After string - 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
- Metadata
Pulumiverse.
Dynatrace. Inputs. Os Services Metadata - Set of additional key-value properties to be attached to the triggered event.
- Monitoring bool
- Toggle the switch in order to enable or disable availability metric monitoring for this policy. Availability metrics produce custom metrics. Refer to documentation for consumption examples. Each monitored service consumes one custom metric.
- Name string
- Rule name
- Not
Installed boolAlerting - By default, Dynatrace does not alert if the service is not installed. Toggle the switch to enable or disable this feature
- Scope string
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- Status
Condition stringLinux - This string has to match a required format. See OS services monitoring.
- Status
Condition stringWindows - This string has to match a required format. See OS services monitoring. -
$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
-start_pending
-stop_pending
-continue_pending
-pause_pending
-paused
- System string
- Possible Values:
LINUX
,WINDOWS
- Alert
Activation intDuration - The number of 10-second measurement cycles before alerting is triggered
- Alerting bool
- Toggle the switch in order to enable or disable alerting for this policy
- Detection
Conditions OsLinux Services Detection Conditions Linux Args - Detection rules
- Detection
Conditions OsWindows Services Detection Conditions Windows Args - Detection rules
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Insert
After string - 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
- Metadata
Os
Services Metadata Args - Set of additional key-value properties to be attached to the triggered event.
- Monitoring bool
- Toggle the switch in order to enable or disable availability metric monitoring for this policy. Availability metrics produce custom metrics. Refer to documentation for consumption examples. Each monitored service consumes one custom metric.
- Name string
- Rule name
- Not
Installed boolAlerting - By default, Dynatrace does not alert if the service is not installed. Toggle the switch to enable or disable this feature
- Scope string
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- Status
Condition stringLinux - This string has to match a required format. See OS services monitoring.
- Status
Condition stringWindows - This string has to match a required format. See OS services monitoring. -
$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
-start_pending
-stop_pending
-continue_pending
-pause_pending
-paused
- System string
- Possible Values:
LINUX
,WINDOWS
- alert
Activation IntegerDuration - The number of 10-second measurement cycles before alerting is triggered
- alerting Boolean
- Toggle the switch in order to enable or disable alerting for this policy
- detection
Conditions OsLinux Services Detection Conditions Linux - Detection rules
- detection
Conditions OsWindows Services Detection Conditions Windows - Detection rules
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - insert
After String - 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
- metadata
Os
Services Metadata - Set of additional key-value properties to be attached to the triggered event.
- monitoring Boolean
- Toggle the switch in order to enable or disable availability metric monitoring for this policy. Availability metrics produce custom metrics. Refer to documentation for consumption examples. Each monitored service consumes one custom metric.
- name String
- Rule name
- not
Installed BooleanAlerting - By default, Dynatrace does not alert if the service is not installed. Toggle the switch to enable or disable this feature
- scope String
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- status
Condition StringLinux - This string has to match a required format. See OS services monitoring.
- status
Condition StringWindows - This string has to match a required format. See OS services monitoring. -
$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
-start_pending
-stop_pending
-continue_pending
-pause_pending
-paused
- system String
- Possible Values:
LINUX
,WINDOWS
- alert
Activation numberDuration - The number of 10-second measurement cycles before alerting is triggered
- alerting boolean
- Toggle the switch in order to enable or disable alerting for this policy
- detection
Conditions OsLinux Services Detection Conditions Linux - Detection rules
- detection
Conditions OsWindows Services Detection Conditions Windows - Detection rules
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - insert
After string - 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
- metadata
Os
Services Metadata - Set of additional key-value properties to be attached to the triggered event.
- monitoring boolean
- Toggle the switch in order to enable or disable availability metric monitoring for this policy. Availability metrics produce custom metrics. Refer to documentation for consumption examples. Each monitored service consumes one custom metric.
- name string
- Rule name
- not
Installed booleanAlerting - By default, Dynatrace does not alert if the service is not installed. Toggle the switch to enable or disable this feature
- scope string
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- status
Condition stringLinux - This string has to match a required format. See OS services monitoring.
- status
Condition stringWindows - This string has to match a required format. See OS services monitoring. -
$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
-start_pending
-stop_pending
-continue_pending
-pause_pending
-paused
- system string
- Possible Values:
LINUX
,WINDOWS
- alert_
activation_ intduration - The number of 10-second measurement cycles before alerting is triggered
- alerting bool
- Toggle the switch in order to enable or disable alerting for this policy
- detection_
conditions_ Oslinux Services Detection Conditions Linux Args - Detection rules
- detection_
conditions_ Oswindows Services Detection Conditions Windows Args - Detection rules
- enabled bool
- This setting is enabled (
true
) or disabled (false
) - insert_
after str - 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
- metadata
Os
Services Metadata Args - Set of additional key-value properties to be attached to the triggered event.
- monitoring bool
- Toggle the switch in order to enable or disable availability metric monitoring for this policy. Availability metrics produce custom metrics. Refer to documentation for consumption examples. Each monitored service consumes one custom metric.
- name str
- Rule name
- not_
installed_ boolalerting - By default, Dynatrace does not alert if the service is not installed. Toggle the switch to enable or disable this feature
- scope str
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- status_
condition_ strlinux - This string has to match a required format. See OS services monitoring.
- status_
condition_ strwindows - This string has to match a required format. See OS services monitoring. -
$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
-start_pending
-stop_pending
-continue_pending
-pause_pending
-paused
- system str
- Possible Values:
LINUX
,WINDOWS
- alert
Activation NumberDuration - The number of 10-second measurement cycles before alerting is triggered
- alerting Boolean
- Toggle the switch in order to enable or disable alerting for this policy
- detection
Conditions Property MapLinux - Detection rules
- detection
Conditions Property MapWindows - Detection rules
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - insert
After String - 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
- metadata Property Map
- Set of additional key-value properties to be attached to the triggered event.
- monitoring Boolean
- Toggle the switch in order to enable or disable availability metric monitoring for this policy. Availability metrics produce custom metrics. Refer to documentation for consumption examples. Each monitored service consumes one custom metric.
- name String
- Rule name
- not
Installed BooleanAlerting - By default, Dynatrace does not alert if the service is not installed. Toggle the switch to enable or disable this feature
- scope String
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- status
Condition StringLinux - This string has to match a required format. See OS services monitoring.
- status
Condition StringWindows - This string has to match a required format. See OS services monitoring. -
$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
-start_pending
-stop_pending
-continue_pending
-pause_pending
-paused
- system String
- Possible Values:
LINUX
,WINDOWS
Supporting Types
OsServicesDetectionConditionsLinux, OsServicesDetectionConditionsLinuxArgs
OsServicesDetectionConditionsLinuxLinuxDetectionCondition, OsServicesDetectionConditionsLinuxLinuxDetectionConditionArgs
- Condition string
- This string has to match a required format. See OS services monitoring.
- Host
Metadata Pulumiverse.Condition Dynatrace. Inputs. Os Services Detection Conditions Linux Linux Detection Condition Host Metadata Condition - Custom metadata
- Property string
- Possible Values:
ServiceName
,StartupType
- Rule
Type string - Possible Values:
RuleTypeHost
,RuleTypeOsService
- Startup
Condition string This string has to match a required format. See OS services monitoring.
$eq(enabled)
– Matches services with startup type equal to enabled.
Available logic operations:
$not($eq(enabled))
– Matches services with startup type different from enabled.$or($eq(enabled),$eq(disabled))
- Matches services that are either enabled or disabled.
Use one of the following values as a parameter for this condition:
enabled
enabled-runtime
static
disabled
- Condition string
- This string has to match a required format. See OS services monitoring.
- Host
Metadata OsCondition Services Detection Conditions Linux Linux Detection Condition Host Metadata Condition - Custom metadata
- Property string
- Possible Values:
ServiceName
,StartupType
- Rule
Type string - Possible Values:
RuleTypeHost
,RuleTypeOsService
- Startup
Condition string This string has to match a required format. See OS services monitoring.
$eq(enabled)
– Matches services with startup type equal to enabled.
Available logic operations:
$not($eq(enabled))
– Matches services with startup type different from enabled.$or($eq(enabled),$eq(disabled))
- Matches services that are either enabled or disabled.
Use one of the following values as a parameter for this condition:
enabled
enabled-runtime
static
disabled
- condition String
- This string has to match a required format. See OS services monitoring.
- host
Metadata OsCondition Services Detection Conditions Linux Linux Detection Condition Host Metadata Condition - Custom metadata
- property String
- Possible Values:
ServiceName
,StartupType
- rule
Type String - Possible Values:
RuleTypeHost
,RuleTypeOsService
- startup
Condition String This string has to match a required format. See OS services monitoring.
$eq(enabled)
– Matches services with startup type equal to enabled.
Available logic operations:
$not($eq(enabled))
– Matches services with startup type different from enabled.$or($eq(enabled),$eq(disabled))
- Matches services that are either enabled or disabled.
Use one of the following values as a parameter for this condition:
enabled
enabled-runtime
static
disabled
- condition string
- This string has to match a required format. See OS services monitoring.
- host
Metadata OsCondition Services Detection Conditions Linux Linux Detection Condition Host Metadata Condition - Custom metadata
- property string
- Possible Values:
ServiceName
,StartupType
- rule
Type string - Possible Values:
RuleTypeHost
,RuleTypeOsService
- startup
Condition string This string has to match a required format. See OS services monitoring.
$eq(enabled)
– Matches services with startup type equal to enabled.
Available logic operations:
$not($eq(enabled))
– Matches services with startup type different from enabled.$or($eq(enabled),$eq(disabled))
- Matches services that are either enabled or disabled.
Use one of the following values as a parameter for this condition:
enabled
enabled-runtime
static
disabled
- condition str
- This string has to match a required format. See OS services monitoring.
- host_
metadata_ Oscondition Services Detection Conditions Linux Linux Detection Condition Host Metadata Condition - Custom metadata
- property str
- Possible Values:
ServiceName
,StartupType
- rule_
type str - Possible Values:
RuleTypeHost
,RuleTypeOsService
- startup_
condition str This string has to match a required format. See OS services monitoring.
$eq(enabled)
– Matches services with startup type equal to enabled.
Available logic operations:
$not($eq(enabled))
– Matches services with startup type different from enabled.$or($eq(enabled),$eq(disabled))
- Matches services that are either enabled or disabled.
Use one of the following values as a parameter for this condition:
enabled
enabled-runtime
static
disabled
- condition String
- This string has to match a required format. See OS services monitoring.
- host
Metadata Property MapCondition - Custom metadata
- property String
- Possible Values:
ServiceName
,StartupType
- rule
Type String - Possible Values:
RuleTypeHost
,RuleTypeOsService
- startup
Condition String This string has to match a required format. See OS services monitoring.
$eq(enabled)
– Matches services with startup type equal to enabled.
Available logic operations:
$not($eq(enabled))
– Matches services with startup type different from enabled.$or($eq(enabled),$eq(disabled))
- Matches services that are either enabled or disabled.
Use one of the following values as a parameter for this condition:
enabled
enabled-runtime
static
disabled
OsServicesDetectionConditionsLinuxLinuxDetectionConditionHostMetadataCondition, OsServicesDetectionConditionsLinuxLinuxDetectionConditionHostMetadataConditionArgs
- Metadata
Condition string - This string has to match a required format.
- Metadata
Key string - Key
- Key
Must boolExist - When enabled, the condition requires a metadata key to exist and match the constraints; when disabled, the key is optional but must still match the constrains if it is present.
- Metadata
Condition string - This string has to match a required format.
- Metadata
Key string - Key
- Key
Must boolExist - When enabled, the condition requires a metadata key to exist and match the constraints; when disabled, the key is optional but must still match the constrains if it is present.
- metadata
Condition String - This string has to match a required format.
- metadata
Key String - Key
- key
Must BooleanExist - When enabled, the condition requires a metadata key to exist and match the constraints; when disabled, the key is optional but must still match the constrains if it is present.
- metadata
Condition string - This string has to match a required format.
- metadata
Key string - Key
- key
Must booleanExist - When enabled, the condition requires a metadata key to exist and match the constraints; when disabled, the key is optional but must still match the constrains if it is present.
- metadata_
condition str - This string has to match a required format.
- metadata_
key str - Key
- key_
must_ boolexist - When enabled, the condition requires a metadata key to exist and match the constraints; when disabled, the key is optional but must still match the constrains if it is present.
- metadata
Condition String - This string has to match a required format.
- metadata
Key String - Key
- key
Must BooleanExist - When enabled, the condition requires a metadata key to exist and match the constraints; when disabled, the key is optional but must still match the constrains if it is present.
OsServicesDetectionConditionsWindows, OsServicesDetectionConditionsWindowsArgs
OsServicesDetectionConditionsWindowsDetectionConditionsWindow, OsServicesDetectionConditionsWindowsDetectionConditionsWindowArgs
- Condition string
- This string has to match a required format. See OS services monitoring.
- Host
Metadata Pulumiverse.Condition Dynatrace. Inputs. Os Services Detection Conditions Windows Detection Conditions Window Host Metadata Condition - Custom metadata
- Property string
- Possible Values:
DisplayName
,Manufacturer
,Path
,ServiceName
,StartupType
- Rule
Type string - Possible Values:
RuleTypeHost
,RuleTypeOsService
- Startup
Condition string This string has to match a required format. See OS services monitoring.
$eq(manual)
– Matches services that are started manually.
Available logic operations:
$not($eq(auto))
– Matches services with startup type different from Automatic.$or($eq(auto),$eq(manual))
– Matches if service's startup type is either Automatic or Manual.
Use one of the following values as a parameter for this condition:
manual
for Manualmanual_trigger
for Manual (Trigger Start)auto
for Automaticauto_delay
for Automatic (Delayed Start)auto_trigger
for Automatic (Trigger Start)auto_delay_trigger
for Automatic (Delayed Start, Trigger Start)disabled
for Disabled
- Condition string
- This string has to match a required format. See OS services monitoring.
- Host
Metadata OsCondition Services Detection Conditions Windows Detection Conditions Window Host Metadata Condition - Custom metadata
- Property string
- Possible Values:
DisplayName
,Manufacturer
,Path
,ServiceName
,StartupType
- Rule
Type string - Possible Values:
RuleTypeHost
,RuleTypeOsService
- Startup
Condition string This string has to match a required format. See OS services monitoring.
$eq(manual)
– Matches services that are started manually.
Available logic operations:
$not($eq(auto))
– Matches services with startup type different from Automatic.$or($eq(auto),$eq(manual))
– Matches if service's startup type is either Automatic or Manual.
Use one of the following values as a parameter for this condition:
manual
for Manualmanual_trigger
for Manual (Trigger Start)auto
for Automaticauto_delay
for Automatic (Delayed Start)auto_trigger
for Automatic (Trigger Start)auto_delay_trigger
for Automatic (Delayed Start, Trigger Start)disabled
for Disabled
- condition String
- This string has to match a required format. See OS services monitoring.
- host
Metadata OsCondition Services Detection Conditions Windows Detection Conditions Window Host Metadata Condition - Custom metadata
- property String
- Possible Values:
DisplayName
,Manufacturer
,Path
,ServiceName
,StartupType
- rule
Type String - Possible Values:
RuleTypeHost
,RuleTypeOsService
- startup
Condition String This string has to match a required format. See OS services monitoring.
$eq(manual)
– Matches services that are started manually.
Available logic operations:
$not($eq(auto))
– Matches services with startup type different from Automatic.$or($eq(auto),$eq(manual))
– Matches if service's startup type is either Automatic or Manual.
Use one of the following values as a parameter for this condition:
manual
for Manualmanual_trigger
for Manual (Trigger Start)auto
for Automaticauto_delay
for Automatic (Delayed Start)auto_trigger
for Automatic (Trigger Start)auto_delay_trigger
for Automatic (Delayed Start, Trigger Start)disabled
for Disabled
- condition string
- This string has to match a required format. See OS services monitoring.
- host
Metadata OsCondition Services Detection Conditions Windows Detection Conditions Window Host Metadata Condition - Custom metadata
- property string
- Possible Values:
DisplayName
,Manufacturer
,Path
,ServiceName
,StartupType
- rule
Type string - Possible Values:
RuleTypeHost
,RuleTypeOsService
- startup
Condition string This string has to match a required format. See OS services monitoring.
$eq(manual)
– Matches services that are started manually.
Available logic operations:
$not($eq(auto))
– Matches services with startup type different from Automatic.$or($eq(auto),$eq(manual))
– Matches if service's startup type is either Automatic or Manual.
Use one of the following values as a parameter for this condition:
manual
for Manualmanual_trigger
for Manual (Trigger Start)auto
for Automaticauto_delay
for Automatic (Delayed Start)auto_trigger
for Automatic (Trigger Start)auto_delay_trigger
for Automatic (Delayed Start, Trigger Start)disabled
for Disabled
- condition str
- This string has to match a required format. See OS services monitoring.
- host_
metadata_ Oscondition Services Detection Conditions Windows Detection Conditions Window Host Metadata Condition - Custom metadata
- property str
- Possible Values:
DisplayName
,Manufacturer
,Path
,ServiceName
,StartupType
- rule_
type str - Possible Values:
RuleTypeHost
,RuleTypeOsService
- startup_
condition str This string has to match a required format. See OS services monitoring.
$eq(manual)
– Matches services that are started manually.
Available logic operations:
$not($eq(auto))
– Matches services with startup type different from Automatic.$or($eq(auto),$eq(manual))
– Matches if service's startup type is either Automatic or Manual.
Use one of the following values as a parameter for this condition:
manual
for Manualmanual_trigger
for Manual (Trigger Start)auto
for Automaticauto_delay
for Automatic (Delayed Start)auto_trigger
for Automatic (Trigger Start)auto_delay_trigger
for Automatic (Delayed Start, Trigger Start)disabled
for Disabled
- condition String
- This string has to match a required format. See OS services monitoring.
- host
Metadata Property MapCondition - Custom metadata
- property String
- Possible Values:
DisplayName
,Manufacturer
,Path
,ServiceName
,StartupType
- rule
Type String - Possible Values:
RuleTypeHost
,RuleTypeOsService
- startup
Condition String This string has to match a required format. See OS services monitoring.
$eq(manual)
– Matches services that are started manually.
Available logic operations:
$not($eq(auto))
– Matches services with startup type different from Automatic.$or($eq(auto),$eq(manual))
– Matches if service's startup type is either Automatic or Manual.
Use one of the following values as a parameter for this condition:
manual
for Manualmanual_trigger
for Manual (Trigger Start)auto
for Automaticauto_delay
for Automatic (Delayed Start)auto_trigger
for Automatic (Trigger Start)auto_delay_trigger
for Automatic (Delayed Start, Trigger Start)disabled
for Disabled
OsServicesDetectionConditionsWindowsDetectionConditionsWindowHostMetadataCondition, OsServicesDetectionConditionsWindowsDetectionConditionsWindowHostMetadataConditionArgs
- Metadata
Condition string - This string has to match a required format.
- Metadata
Key string - Key
- Key
Must boolExist - When enabled, the condition requires a metadata key to exist and match the constraints; when disabled, the key is optional but must still match the constrains if it is present.
- Metadata
Condition string - This string has to match a required format.
- Metadata
Key string - Key
- Key
Must boolExist - When enabled, the condition requires a metadata key to exist and match the constraints; when disabled, the key is optional but must still match the constrains if it is present.
- metadata
Condition String - This string has to match a required format.
- metadata
Key String - Key
- key
Must BooleanExist - When enabled, the condition requires a metadata key to exist and match the constraints; when disabled, the key is optional but must still match the constrains if it is present.
- metadata
Condition string - This string has to match a required format.
- metadata
Key string - Key
- key
Must booleanExist - When enabled, the condition requires a metadata key to exist and match the constraints; when disabled, the key is optional but must still match the constrains if it is present.
- metadata_
condition str - This string has to match a required format.
- metadata_
key str - Key
- key_
must_ boolexist - When enabled, the condition requires a metadata key to exist and match the constraints; when disabled, the key is optional but must still match the constrains if it is present.
- metadata
Condition String - This string has to match a required format.
- metadata
Key String - Key
- key
Must BooleanExist - When enabled, the condition requires a metadata key to exist and match the constraints; when disabled, the key is optional but must still match the constrains if it is present.
OsServicesMetadata, OsServicesMetadataArgs
OsServicesMetadataItem, OsServicesMetadataItemArgs
- Metadata
Key string - Type 'dt.' for key hints.
- Metadata
Value string - no documentation available
- Metadata
Key string - Type 'dt.' for key hints.
- Metadata
Value string - no documentation available
- metadata
Key String - Type 'dt.' for key hints.
- metadata
Value String - no documentation available
- metadata
Key string - Type 'dt.' for key hints.
- metadata
Value string - no documentation available
- metadata_
key str - Type 'dt.' for key hints.
- metadata_
value str - no documentation available
- metadata
Key String - Type 'dt.' for key hints.
- metadata
Value String - no documentation available
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.