1. Packages
  2. Dynatrace
  3. API Docs
  4. ProcessAvailability
Dynatrace v0.27.0 published on Friday, Mar 21, 2025 by Pulumiverse

dynatrace.ProcessAvailability

Explore with Pulumi AI

Create ProcessAvailability Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ProcessAvailability(name: string, args: ProcessAvailabilityArgs, opts?: CustomResourceOptions);
@overload
def ProcessAvailability(resource_name: str,
                        args: ProcessAvailabilityArgs,
                        opts: Optional[ResourceOptions] = None)

@overload
def ProcessAvailability(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        enabled: Optional[bool] = None,
                        insert_after: Optional[str] = None,
                        metadata: Optional[ProcessAvailabilityMetadataArgs] = None,
                        minimum_processes: Optional[int] = None,
                        name: Optional[str] = None,
                        operating_systems: Optional[Sequence[str]] = None,
                        rules: Optional[ProcessAvailabilityRulesArgs] = None,
                        scope: Optional[str] = None)
func NewProcessAvailability(ctx *Context, name string, args ProcessAvailabilityArgs, opts ...ResourceOption) (*ProcessAvailability, error)
public ProcessAvailability(string name, ProcessAvailabilityArgs args, CustomResourceOptions? opts = null)
public ProcessAvailability(String name, ProcessAvailabilityArgs args)
public ProcessAvailability(String name, ProcessAvailabilityArgs args, CustomResourceOptions options)
type: dynatrace:ProcessAvailability
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ProcessAvailabilityArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ProcessAvailabilityArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ProcessAvailabilityArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ProcessAvailabilityArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ProcessAvailabilityArgs
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 processAvailabilityResource = new Dynatrace.ProcessAvailability("processAvailabilityResource", new()
{
    Enabled = false,
    InsertAfter = "string",
    Metadata = new Dynatrace.Inputs.ProcessAvailabilityMetadataArgs
    {
        Items = new[]
        {
            new Dynatrace.Inputs.ProcessAvailabilityMetadataItemArgs
            {
                Key = "string",
                Value = "string",
            },
        },
    },
    MinimumProcesses = 0,
    Name = "string",
    OperatingSystems = new[]
    {
        "string",
    },
    Rules = new Dynatrace.Inputs.ProcessAvailabilityRulesArgs
    {
        Rules = new[]
        {
            new Dynatrace.Inputs.ProcessAvailabilityRulesRuleArgs
            {
                Condition = "string",
                HostMetadataCondition = new Dynatrace.Inputs.ProcessAvailabilityRulesRuleHostMetadataConditionArgs
                {
                    MetadataCondition = "string",
                    MetadataKey = "string",
                    KeyMustExist = false,
                },
                Property = "string",
                RuleType = "string",
            },
        },
    },
    Scope = "string",
});
Copy
example, err := dynatrace.NewProcessAvailability(ctx, "processAvailabilityResource", &dynatrace.ProcessAvailabilityArgs{
	Enabled:     pulumi.Bool(false),
	InsertAfter: pulumi.String("string"),
	Metadata: &dynatrace.ProcessAvailabilityMetadataArgs{
		Items: dynatrace.ProcessAvailabilityMetadataItemArray{
			&dynatrace.ProcessAvailabilityMetadataItemArgs{
				Key:   pulumi.String("string"),
				Value: pulumi.String("string"),
			},
		},
	},
	MinimumProcesses: pulumi.Int(0),
	Name:             pulumi.String("string"),
	OperatingSystems: pulumi.StringArray{
		pulumi.String("string"),
	},
	Rules: &dynatrace.ProcessAvailabilityRulesArgs{
		Rules: dynatrace.ProcessAvailabilityRulesRuleArray{
			&dynatrace.ProcessAvailabilityRulesRuleArgs{
				Condition: pulumi.String("string"),
				HostMetadataCondition: &dynatrace.ProcessAvailabilityRulesRuleHostMetadataConditionArgs{
					MetadataCondition: pulumi.String("string"),
					MetadataKey:       pulumi.String("string"),
					KeyMustExist:      pulumi.Bool(false),
				},
				Property: pulumi.String("string"),
				RuleType: pulumi.String("string"),
			},
		},
	},
	Scope: pulumi.String("string"),
})
Copy
var processAvailabilityResource = new ProcessAvailability("processAvailabilityResource", ProcessAvailabilityArgs.builder()
    .enabled(false)
    .insertAfter("string")
    .metadata(ProcessAvailabilityMetadataArgs.builder()
        .items(ProcessAvailabilityMetadataItemArgs.builder()
            .key("string")
            .value("string")
            .build())
        .build())
    .minimumProcesses(0)
    .name("string")
    .operatingSystems("string")
    .rules(ProcessAvailabilityRulesArgs.builder()
        .rules(ProcessAvailabilityRulesRuleArgs.builder()
            .condition("string")
            .hostMetadataCondition(ProcessAvailabilityRulesRuleHostMetadataConditionArgs.builder()
                .metadataCondition("string")
                .metadataKey("string")
                .keyMustExist(false)
                .build())
            .property("string")
            .ruleType("string")
            .build())
        .build())
    .scope("string")
    .build());
Copy
process_availability_resource = dynatrace.ProcessAvailability("processAvailabilityResource",
    enabled=False,
    insert_after="string",
    metadata={
        "items": [{
            "key": "string",
            "value": "string",
        }],
    },
    minimum_processes=0,
    name="string",
    operating_systems=["string"],
    rules={
        "rules": [{
            "condition": "string",
            "host_metadata_condition": {
                "metadata_condition": "string",
                "metadata_key": "string",
                "key_must_exist": False,
            },
            "property": "string",
            "rule_type": "string",
        }],
    },
    scope="string")
Copy
const processAvailabilityResource = new dynatrace.ProcessAvailability("processAvailabilityResource", {
    enabled: false,
    insertAfter: "string",
    metadata: {
        items: [{
            key: "string",
            value: "string",
        }],
    },
    minimumProcesses: 0,
    name: "string",
    operatingSystems: ["string"],
    rules: {
        rules: [{
            condition: "string",
            hostMetadataCondition: {
                metadataCondition: "string",
                metadataKey: "string",
                keyMustExist: false,
            },
            property: "string",
            ruleType: "string",
        }],
    },
    scope: "string",
});
Copy
type: dynatrace:ProcessAvailability
properties:
    enabled: false
    insertAfter: string
    metadata:
        items:
            - key: string
              value: string
    minimumProcesses: 0
    name: string
    operatingSystems:
        - string
    rules:
        rules:
            - condition: string
              hostMetadataCondition:
                keyMustExist: false
                metadataCondition: string
                metadataKey: string
              property: string
              ruleType: string
    scope: string
Copy

ProcessAvailability Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ProcessAvailability resource accepts the following input properties:

Enabled This property is required. bool
This setting is enabled (true) or disabled (false)
InsertAfter 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.ProcessAvailabilityMetadata
Set of additional key-value properties to be attached to the triggered event.
MinimumProcesses int
Specify a minimum number of processes matching the monitoring rule. If it's not satisfied, an alert will open.
Name string
Monitoring rule name
OperatingSystems List<string>
Select the operating systems on which the monitoring rule should be applied.
Rules Pulumiverse.Dynatrace.Inputs.ProcessAvailabilityRules
Define process detection rules by selecting a process property and a condition. Each monitoring rule can have multiple detection rules associated with it.
Scope Changes to this property will trigger replacement. string
The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
Enabled This property is required. bool
This setting is enabled (true) or disabled (false)
InsertAfter 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 ProcessAvailabilityMetadataArgs
Set of additional key-value properties to be attached to the triggered event.
MinimumProcesses int
Specify a minimum number of processes matching the monitoring rule. If it's not satisfied, an alert will open.
Name string
Monitoring rule name
OperatingSystems []string
Select the operating systems on which the monitoring rule should be applied.
Rules ProcessAvailabilityRulesArgs
Define process detection rules by selecting a process property and a condition. Each monitoring rule can have multiple detection rules associated with it.
Scope Changes to this property will trigger replacement. string
The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
enabled This property is required. Boolean
This setting is enabled (true) or disabled (false)
insertAfter 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 ProcessAvailabilityMetadata
Set of additional key-value properties to be attached to the triggered event.
minimumProcesses Integer
Specify a minimum number of processes matching the monitoring rule. If it's not satisfied, an alert will open.
name String
Monitoring rule name
operatingSystems List<String>
Select the operating systems on which the monitoring rule should be applied.
rules ProcessAvailabilityRules
Define process detection rules by selecting a process property and a condition. Each monitoring rule can have multiple detection rules associated with it.
scope Changes to this property will trigger replacement. String
The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
enabled This property is required. boolean
This setting is enabled (true) or disabled (false)
insertAfter 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 ProcessAvailabilityMetadata
Set of additional key-value properties to be attached to the triggered event.
minimumProcesses number
Specify a minimum number of processes matching the monitoring rule. If it's not satisfied, an alert will open.
name string
Monitoring rule name
operatingSystems string[]
Select the operating systems on which the monitoring rule should be applied.
rules ProcessAvailabilityRules
Define process detection rules by selecting a process property and a condition. Each monitoring rule can have multiple detection rules associated with it.
scope Changes to this property will trigger replacement. string
The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
enabled This property is required. 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 ProcessAvailabilityMetadataArgs
Set of additional key-value properties to be attached to the triggered event.
minimum_processes int
Specify a minimum number of processes matching the monitoring rule. If it's not satisfied, an alert will open.
name str
Monitoring rule name
operating_systems Sequence[str]
Select the operating systems on which the monitoring rule should be applied.
rules ProcessAvailabilityRulesArgs
Define process detection rules by selecting a process property and a condition. Each monitoring rule can have multiple detection rules associated with it.
scope Changes to this property will trigger replacement. str
The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
enabled This property is required. Boolean
This setting is enabled (true) or disabled (false)
insertAfter 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.
minimumProcesses Number
Specify a minimum number of processes matching the monitoring rule. If it's not satisfied, an alert will open.
name String
Monitoring rule name
operatingSystems List<String>
Select the operating systems on which the monitoring rule should be applied.
rules Property Map
Define process detection rules by selecting a process property and a condition. Each monitoring rule can have multiple detection rules associated with it.
scope Changes to this property will trigger replacement. String
The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.

Outputs

All input properties are implicitly available as output properties. Additionally, the ProcessAvailability 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 ProcessAvailability Resource

Get an existing ProcessAvailability 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?: ProcessAvailabilityState, opts?: CustomResourceOptions): ProcessAvailability
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        enabled: Optional[bool] = None,
        insert_after: Optional[str] = None,
        metadata: Optional[ProcessAvailabilityMetadataArgs] = None,
        minimum_processes: Optional[int] = None,
        name: Optional[str] = None,
        operating_systems: Optional[Sequence[str]] = None,
        rules: Optional[ProcessAvailabilityRulesArgs] = None,
        scope: Optional[str] = None) -> ProcessAvailability
func GetProcessAvailability(ctx *Context, name string, id IDInput, state *ProcessAvailabilityState, opts ...ResourceOption) (*ProcessAvailability, error)
public static ProcessAvailability Get(string name, Input<string> id, ProcessAvailabilityState? state, CustomResourceOptions? opts = null)
public static ProcessAvailability get(String name, Output<String> id, ProcessAvailabilityState state, CustomResourceOptions options)
resources:  _:    type: dynatrace:ProcessAvailability    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
Enabled bool
This setting is enabled (true) or disabled (false)
InsertAfter 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.ProcessAvailabilityMetadata
Set of additional key-value properties to be attached to the triggered event.
MinimumProcesses int
Specify a minimum number of processes matching the monitoring rule. If it's not satisfied, an alert will open.
Name string
Monitoring rule name
OperatingSystems List<string>
Select the operating systems on which the monitoring rule should be applied.
Rules Pulumiverse.Dynatrace.Inputs.ProcessAvailabilityRules
Define process detection rules by selecting a process property and a condition. Each monitoring rule can have multiple detection rules associated with it.
Scope Changes to this property will trigger replacement. string
The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
Enabled bool
This setting is enabled (true) or disabled (false)
InsertAfter 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 ProcessAvailabilityMetadataArgs
Set of additional key-value properties to be attached to the triggered event.
MinimumProcesses int
Specify a minimum number of processes matching the monitoring rule. If it's not satisfied, an alert will open.
Name string
Monitoring rule name
OperatingSystems []string
Select the operating systems on which the monitoring rule should be applied.
Rules ProcessAvailabilityRulesArgs
Define process detection rules by selecting a process property and a condition. Each monitoring rule can have multiple detection rules associated with it.
Scope Changes to this property will trigger replacement. string
The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
enabled Boolean
This setting is enabled (true) or disabled (false)
insertAfter 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 ProcessAvailabilityMetadata
Set of additional key-value properties to be attached to the triggered event.
minimumProcesses Integer
Specify a minimum number of processes matching the monitoring rule. If it's not satisfied, an alert will open.
name String
Monitoring rule name
operatingSystems List<String>
Select the operating systems on which the monitoring rule should be applied.
rules ProcessAvailabilityRules
Define process detection rules by selecting a process property and a condition. Each monitoring rule can have multiple detection rules associated with it.
scope Changes to this property will trigger replacement. String
The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
enabled boolean
This setting is enabled (true) or disabled (false)
insertAfter 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 ProcessAvailabilityMetadata
Set of additional key-value properties to be attached to the triggered event.
minimumProcesses number
Specify a minimum number of processes matching the monitoring rule. If it's not satisfied, an alert will open.
name string
Monitoring rule name
operatingSystems string[]
Select the operating systems on which the monitoring rule should be applied.
rules ProcessAvailabilityRules
Define process detection rules by selecting a process property and a condition. Each monitoring rule can have multiple detection rules associated with it.
scope Changes to this property will trigger replacement. string
The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
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 ProcessAvailabilityMetadataArgs
Set of additional key-value properties to be attached to the triggered event.
minimum_processes int
Specify a minimum number of processes matching the monitoring rule. If it's not satisfied, an alert will open.
name str
Monitoring rule name
operating_systems Sequence[str]
Select the operating systems on which the monitoring rule should be applied.
rules ProcessAvailabilityRulesArgs
Define process detection rules by selecting a process property and a condition. Each monitoring rule can have multiple detection rules associated with it.
scope Changes to this property will trigger replacement. str
The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
enabled Boolean
This setting is enabled (true) or disabled (false)
insertAfter 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.
minimumProcesses Number
Specify a minimum number of processes matching the monitoring rule. If it's not satisfied, an alert will open.
name String
Monitoring rule name
operatingSystems List<String>
Select the operating systems on which the monitoring rule should be applied.
rules Property Map
Define process detection rules by selecting a process property and a condition. Each monitoring rule can have multiple detection rules associated with it.
scope Changes to this property will trigger replacement. String
The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.

Supporting Types

ProcessAvailabilityMetadata
, ProcessAvailabilityMetadataArgs

Items This property is required. []ProcessAvailabilityMetadataItem
items This property is required. List<ProcessAvailabilityMetadataItem>
items This property is required. ProcessAvailabilityMetadataItem[]
items This property is required. List<Property Map>

ProcessAvailabilityMetadataItem
, ProcessAvailabilityMetadataItemArgs

Key This property is required. string
Type 'dt.' for key hints.
Value This property is required. string
no documentation available
Key This property is required. string
Type 'dt.' for key hints.
Value This property is required. string
no documentation available
key This property is required. String
Type 'dt.' for key hints.
value This property is required. String
no documentation available
key This property is required. string
Type 'dt.' for key hints.
value This property is required. string
no documentation available
key This property is required. str
Type 'dt.' for key hints.
value This property is required. str
no documentation available
key This property is required. String
Type 'dt.' for key hints.
value This property is required. String
no documentation available

ProcessAvailabilityRules
, ProcessAvailabilityRulesArgs

Rules This property is required. []ProcessAvailabilityRulesRule
rules This property is required. List<ProcessAvailabilityRulesRule>
rules This property is required. ProcessAvailabilityRulesRule[]
rules This property is required. List<Property Map>

ProcessAvailabilityRulesRule
, ProcessAvailabilityRulesRuleArgs

Condition string
  • $contains(svc) – Matches if svc appears anywhere in the process property value.
  • $eq(svc.exe) – Matches if svc.exe matches the process property value exactly.
  • $prefix(svc) – Matches if app matches the prefix of the process property value.
  • $suffix(svc.py) – Matches if svc.py matches the suffix of the process property value.

For example, $suffix(svc.py) would detect processes named loyaltysvc.py and paymentssvc.py.

For more details, see Process availability.

HostMetadataCondition Pulumiverse.Dynatrace.Inputs.ProcessAvailabilityRulesRuleHostMetadataCondition

Host custom metadata refers to user-defined key-value pairs that you can assign to hosts monitored by Dynatrace.

By defining custom metadata, you can enrich the monitoring data with context specific to your organization's needs, such as environment names, team ownership, application versions, or any other relevant details.

See Define tags and metadata for hosts.

Property string
Possible Values: CommandLine, Executable, ExecutablePath, User
RuleType string
Possible Values: RuleTypeHost, RuleTypeProcess
Condition string
  • $contains(svc) – Matches if svc appears anywhere in the process property value.
  • $eq(svc.exe) – Matches if svc.exe matches the process property value exactly.
  • $prefix(svc) – Matches if app matches the prefix of the process property value.
  • $suffix(svc.py) – Matches if svc.py matches the suffix of the process property value.

For example, $suffix(svc.py) would detect processes named loyaltysvc.py and paymentssvc.py.

For more details, see Process availability.

HostMetadataCondition ProcessAvailabilityRulesRuleHostMetadataCondition

Host custom metadata refers to user-defined key-value pairs that you can assign to hosts monitored by Dynatrace.

By defining custom metadata, you can enrich the monitoring data with context specific to your organization's needs, such as environment names, team ownership, application versions, or any other relevant details.

See Define tags and metadata for hosts.

Property string
Possible Values: CommandLine, Executable, ExecutablePath, User
RuleType string
Possible Values: RuleTypeHost, RuleTypeProcess
condition String
  • $contains(svc) – Matches if svc appears anywhere in the process property value.
  • $eq(svc.exe) – Matches if svc.exe matches the process property value exactly.
  • $prefix(svc) – Matches if app matches the prefix of the process property value.
  • $suffix(svc.py) – Matches if svc.py matches the suffix of the process property value.

For example, $suffix(svc.py) would detect processes named loyaltysvc.py and paymentssvc.py.

For more details, see Process availability.

hostMetadataCondition ProcessAvailabilityRulesRuleHostMetadataCondition

Host custom metadata refers to user-defined key-value pairs that you can assign to hosts monitored by Dynatrace.

By defining custom metadata, you can enrich the monitoring data with context specific to your organization's needs, such as environment names, team ownership, application versions, or any other relevant details.

See Define tags and metadata for hosts.

property String
Possible Values: CommandLine, Executable, ExecutablePath, User
ruleType String
Possible Values: RuleTypeHost, RuleTypeProcess
condition string
  • $contains(svc) – Matches if svc appears anywhere in the process property value.
  • $eq(svc.exe) – Matches if svc.exe matches the process property value exactly.
  • $prefix(svc) – Matches if app matches the prefix of the process property value.
  • $suffix(svc.py) – Matches if svc.py matches the suffix of the process property value.

For example, $suffix(svc.py) would detect processes named loyaltysvc.py and paymentssvc.py.

For more details, see Process availability.

hostMetadataCondition ProcessAvailabilityRulesRuleHostMetadataCondition

Host custom metadata refers to user-defined key-value pairs that you can assign to hosts monitored by Dynatrace.

By defining custom metadata, you can enrich the monitoring data with context specific to your organization's needs, such as environment names, team ownership, application versions, or any other relevant details.

See Define tags and metadata for hosts.

property string
Possible Values: CommandLine, Executable, ExecutablePath, User
ruleType string
Possible Values: RuleTypeHost, RuleTypeProcess
condition str
  • $contains(svc) – Matches if svc appears anywhere in the process property value.
  • $eq(svc.exe) – Matches if svc.exe matches the process property value exactly.
  • $prefix(svc) – Matches if app matches the prefix of the process property value.
  • $suffix(svc.py) – Matches if svc.py matches the suffix of the process property value.

For example, $suffix(svc.py) would detect processes named loyaltysvc.py and paymentssvc.py.

For more details, see Process availability.

host_metadata_condition ProcessAvailabilityRulesRuleHostMetadataCondition

Host custom metadata refers to user-defined key-value pairs that you can assign to hosts monitored by Dynatrace.

By defining custom metadata, you can enrich the monitoring data with context specific to your organization's needs, such as environment names, team ownership, application versions, or any other relevant details.

See Define tags and metadata for hosts.

property str
Possible Values: CommandLine, Executable, ExecutablePath, User
rule_type str
Possible Values: RuleTypeHost, RuleTypeProcess
condition String
  • $contains(svc) – Matches if svc appears anywhere in the process property value.
  • $eq(svc.exe) – Matches if svc.exe matches the process property value exactly.
  • $prefix(svc) – Matches if app matches the prefix of the process property value.
  • $suffix(svc.py) – Matches if svc.py matches the suffix of the process property value.

For example, $suffix(svc.py) would detect processes named loyaltysvc.py and paymentssvc.py.

For more details, see Process availability.

hostMetadataCondition Property Map

Host custom metadata refers to user-defined key-value pairs that you can assign to hosts monitored by Dynatrace.

By defining custom metadata, you can enrich the monitoring data with context specific to your organization's needs, such as environment names, team ownership, application versions, or any other relevant details.

See Define tags and metadata for hosts.

property String
Possible Values: CommandLine, Executable, ExecutablePath, User
ruleType String
Possible Values: RuleTypeHost, RuleTypeProcess

ProcessAvailabilityRulesRuleHostMetadataCondition
, ProcessAvailabilityRulesRuleHostMetadataConditionArgs

MetadataCondition This property is required. string

This string has to match a required format.

  • $contains(production) – Matches if production appears anywhere in the host metadata value.
  • $eq(production) – Matches if production matches the host metadata value exactly.
  • $prefix(production) – Matches if production matches the prefix of the host metadata value.
  • $suffix(production) – Matches if production matches the suffix of the host metadata value.

Available logic operations:

  • $not($eq(production)) – Matches if the host metadata value is different from production.
  • $and($prefix(production),$suffix(main)) – Matches if host metadata value starts with production and ends with main.
  • $or($prefix(production),$suffix(main)) – Matches if host metadata value starts with production or ends with main.

Brackets ( and ) that are part of the matched property must be escaped with a tilde (~)

MetadataKey This property is required. string
Key
KeyMustExist bool
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.
MetadataCondition This property is required. string

This string has to match a required format.

  • $contains(production) – Matches if production appears anywhere in the host metadata value.
  • $eq(production) – Matches if production matches the host metadata value exactly.
  • $prefix(production) – Matches if production matches the prefix of the host metadata value.
  • $suffix(production) – Matches if production matches the suffix of the host metadata value.

Available logic operations:

  • $not($eq(production)) – Matches if the host metadata value is different from production.
  • $and($prefix(production),$suffix(main)) – Matches if host metadata value starts with production and ends with main.
  • $or($prefix(production),$suffix(main)) – Matches if host metadata value starts with production or ends with main.

Brackets ( and ) that are part of the matched property must be escaped with a tilde (~)

MetadataKey This property is required. string
Key
KeyMustExist bool
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.
metadataCondition This property is required. String

This string has to match a required format.

  • $contains(production) – Matches if production appears anywhere in the host metadata value.
  • $eq(production) – Matches if production matches the host metadata value exactly.
  • $prefix(production) – Matches if production matches the prefix of the host metadata value.
  • $suffix(production) – Matches if production matches the suffix of the host metadata value.

Available logic operations:

  • $not($eq(production)) – Matches if the host metadata value is different from production.
  • $and($prefix(production),$suffix(main)) – Matches if host metadata value starts with production and ends with main.
  • $or($prefix(production),$suffix(main)) – Matches if host metadata value starts with production or ends with main.

Brackets ( and ) that are part of the matched property must be escaped with a tilde (~)

metadataKey This property is required. String
Key
keyMustExist Boolean
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.
metadataCondition This property is required. string

This string has to match a required format.

  • $contains(production) – Matches if production appears anywhere in the host metadata value.
  • $eq(production) – Matches if production matches the host metadata value exactly.
  • $prefix(production) – Matches if production matches the prefix of the host metadata value.
  • $suffix(production) – Matches if production matches the suffix of the host metadata value.

Available logic operations:

  • $not($eq(production)) – Matches if the host metadata value is different from production.
  • $and($prefix(production),$suffix(main)) – Matches if host metadata value starts with production and ends with main.
  • $or($prefix(production),$suffix(main)) – Matches if host metadata value starts with production or ends with main.

Brackets ( and ) that are part of the matched property must be escaped with a tilde (~)

metadataKey This property is required. string
Key
keyMustExist boolean
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 This property is required. str

This string has to match a required format.

  • $contains(production) – Matches if production appears anywhere in the host metadata value.
  • $eq(production) – Matches if production matches the host metadata value exactly.
  • $prefix(production) – Matches if production matches the prefix of the host metadata value.
  • $suffix(production) – Matches if production matches the suffix of the host metadata value.

Available logic operations:

  • $not($eq(production)) – Matches if the host metadata value is different from production.
  • $and($prefix(production),$suffix(main)) – Matches if host metadata value starts with production and ends with main.
  • $or($prefix(production),$suffix(main)) – Matches if host metadata value starts with production or ends with main.

Brackets ( and ) that are part of the matched property must be escaped with a tilde (~)

metadata_key This property is required. str
Key
key_must_exist bool
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.
metadataCondition This property is required. String

This string has to match a required format.

  • $contains(production) – Matches if production appears anywhere in the host metadata value.
  • $eq(production) – Matches if production matches the host metadata value exactly.
  • $prefix(production) – Matches if production matches the prefix of the host metadata value.
  • $suffix(production) – Matches if production matches the suffix of the host metadata value.

Available logic operations:

  • $not($eq(production)) – Matches if the host metadata value is different from production.
  • $and($prefix(production),$suffix(main)) – Matches if host metadata value starts with production and ends with main.
  • $or($prefix(production),$suffix(main)) – Matches if host metadata value starts with production or ends with main.

Brackets ( and ) that are part of the matched property must be escaped with a tilde (~)

metadataKey This property is required. String
Key
keyMustExist Boolean
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.

Package Details

Repository
dynatrace pulumiverse/pulumi-dynatrace
License
Apache-2.0
Notes
This Pulumi package is based on the dynatrace Terraform Provider.