1. Packages
  2. Packages
  3. Dynatrace
  4. API Docs
  5. ProcessAvailability
Viewing docs for Dynatrace v0.36.0
published on Tuesday, Jun 9, 2026 by Pulumiverse
dynatrace logo
Viewing docs for Dynatrace v0.36.0
published on Tuesday, Jun 9, 2026 by Pulumiverse

    This resource requires the API token scopes Read settings (settings.read) and Write settings (settings.write)

    Dynatrace Documentation

    • Process Availability - https://www.dynatrace.com/support/help/how-to-use-dynatrace/infrastructure-monitoring/hosts/monitoring/process-availability

    • Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId: builtin:processavailability)

    Export Example Usage

    • terraform-provider-dynatrace -export dynatrace.ProcessAvailability downloads all existing process availability configuration

    The full documentation of the export feature is available here.

    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.
    
    
    resource "dynatrace_processavailability" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ProcessAvailabilityArgs
    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 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 string
    The unique name of the resource.
    args ProcessAvailabilityArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ProcessAvailabilityArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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",
    });
    
    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"),
    })
    
    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"
          "hostMetadataCondition" = {
            "metadataCondition" = "string"
            "metadataKey"       = "string"
            "keyMustExist"      = false
          }
          "property" = "string"
          "ruleType" = "string"
        }]
      }
      scope = "string"
    }
    
    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());
    
    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")
    
    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",
    });
    
    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
    

    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 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. You can retrieve the available property keys using the Events API v2. Additionally any Host resource attribute can be dynamically substituted (agent 1.325+).
    MinimumProcesses int
    Specify a minimum number of processes matching the monitoring rule. An alert is triggered if any host falls below this threshold.
    Name string
    Monitoring rule name
    OperatingSystems List<string>
    Select the operating systems on which the monitoring rule should be applied. Possible values: AIX, LINUX, WINDOWS
    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 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. You can retrieve the available property keys using the Events API v2. Additionally any Host resource attribute can be dynamically substituted (agent 1.325+).
    MinimumProcesses int
    Specify a minimum number of processes matching the monitoring rule. An alert is triggered if any host falls below this threshold.
    Name string
    Monitoring rule name
    OperatingSystems []string
    Select the operating systems on which the monitoring rule should be applied. Possible values: AIX, LINUX, WINDOWS
    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 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 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 object
    Set of additional key-value properties to be attached to the triggered event. You can retrieve the available property keys using the Events API v2. Additionally any Host resource attribute can be dynamically substituted (agent 1.325+).
    minimum_processes number
    Specify a minimum number of processes matching the monitoring rule. An alert is triggered if any host falls below this threshold.
    name string
    Monitoring rule name
    operating_systems list(string)
    Select the operating systems on which the monitoring rule should be applied. Possible values: AIX, LINUX, WINDOWS
    rules object
    Define process detection rules by selecting a process property and a condition. Each monitoring rule can have multiple detection rules associated with it.
    scope 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. You can retrieve the available property keys using the Events API v2. Additionally any Host resource attribute can be dynamically substituted (agent 1.325+).
    minimumProcesses Integer
    Specify a minimum number of processes matching the monitoring rule. An alert is triggered if any host falls below this threshold.
    name String
    Monitoring rule name
    operatingSystems List<String>
    Select the operating systems on which the monitoring rule should be applied. Possible values: AIX, LINUX, WINDOWS
    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 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. You can retrieve the available property keys using the Events API v2. Additionally any Host resource attribute can be dynamically substituted (agent 1.325+).
    minimumProcesses number
    Specify a minimum number of processes matching the monitoring rule. An alert is triggered if any host falls below this threshold.
    name string
    Monitoring rule name
    operatingSystems string[]
    Select the operating systems on which the monitoring rule should be applied. Possible values: AIX, LINUX, WINDOWS
    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 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. You can retrieve the available property keys using the Events API v2. Additionally any Host resource attribute can be dynamically substituted (agent 1.325+).
    minimum_processes int
    Specify a minimum number of processes matching the monitoring rule. An alert is triggered if any host falls below this threshold.
    name str
    Monitoring rule name
    operating_systems Sequence[str]
    Select the operating systems on which the monitoring rule should be applied. Possible values: AIX, LINUX, WINDOWS
    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 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. You can retrieve the available property keys using the Events API v2. Additionally any Host resource attribute can be dynamically substituted (agent 1.325+).
    minimumProcesses Number
    Specify a minimum number of processes matching the monitoring rule. An alert is triggered if any host falls below this threshold.
    name String
    Monitoring rule name
    operatingSystems List<String>
    Select the operating systems on which the monitoring rule should be applied. Possible values: AIX, LINUX, WINDOWS
    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 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 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}
    import {
      to = dynatrace_processavailability.example
      id = "${id}"
    }
    
    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.
    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. You can retrieve the available property keys using the Events API v2. Additionally any Host resource attribute can be dynamically substituted (agent 1.325+).
    MinimumProcesses int
    Specify a minimum number of processes matching the monitoring rule. An alert is triggered if any host falls below this threshold.
    Name string
    Monitoring rule name
    OperatingSystems List<string>
    Select the operating systems on which the monitoring rule should be applied. Possible values: AIX, LINUX, WINDOWS
    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 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. You can retrieve the available property keys using the Events API v2. Additionally any Host resource attribute can be dynamically substituted (agent 1.325+).
    MinimumProcesses int
    Specify a minimum number of processes matching the monitoring rule. An alert is triggered if any host falls below this threshold.
    Name string
    Monitoring rule name
    OperatingSystems []string
    Select the operating systems on which the monitoring rule should be applied. Possible values: AIX, LINUX, WINDOWS
    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 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 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 object
    Set of additional key-value properties to be attached to the triggered event. You can retrieve the available property keys using the Events API v2. Additionally any Host resource attribute can be dynamically substituted (agent 1.325+).
    minimum_processes number
    Specify a minimum number of processes matching the monitoring rule. An alert is triggered if any host falls below this threshold.
    name string
    Monitoring rule name
    operating_systems list(string)
    Select the operating systems on which the monitoring rule should be applied. Possible values: AIX, LINUX, WINDOWS
    rules object
    Define process detection rules by selecting a process property and a condition. Each monitoring rule can have multiple detection rules associated with it.
    scope 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. You can retrieve the available property keys using the Events API v2. Additionally any Host resource attribute can be dynamically substituted (agent 1.325+).
    minimumProcesses Integer
    Specify a minimum number of processes matching the monitoring rule. An alert is triggered if any host falls below this threshold.
    name String
    Monitoring rule name
    operatingSystems List<String>
    Select the operating systems on which the monitoring rule should be applied. Possible values: AIX, LINUX, WINDOWS
    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 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. You can retrieve the available property keys using the Events API v2. Additionally any Host resource attribute can be dynamically substituted (agent 1.325+).
    minimumProcesses number
    Specify a minimum number of processes matching the monitoring rule. An alert is triggered if any host falls below this threshold.
    name string
    Monitoring rule name
    operatingSystems string[]
    Select the operating systems on which the monitoring rule should be applied. Possible values: AIX, LINUX, WINDOWS
    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 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. You can retrieve the available property keys using the Events API v2. Additionally any Host resource attribute can be dynamically substituted (agent 1.325+).
    minimum_processes int
    Specify a minimum number of processes matching the monitoring rule. An alert is triggered if any host falls below this threshold.
    name str
    Monitoring rule name
    operating_systems Sequence[str]
    Select the operating systems on which the monitoring rule should be applied. Possible values: AIX, LINUX, WINDOWS
    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 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. You can retrieve the available property keys using the Events API v2. Additionally any Host resource attribute can be dynamically substituted (agent 1.325+).
    minimumProcesses Number
    Specify a minimum number of processes matching the monitoring rule. An alert is triggered if any host falls below this threshold.
    name String
    Monitoring rule name
    operatingSystems List<String>
    Select the operating systems on which the monitoring rule should be applied. Possible values: AIX, LINUX, WINDOWS
    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 String
    The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.

    Supporting Types

    ProcessAvailabilityMetadata, ProcessAvailabilityMetadataArgs

    ProcessAvailabilityMetadataItem, ProcessAvailabilityMetadataItemArgs

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

    ProcessAvailabilityRules, ProcessAvailabilityRulesArgs

    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 resource attributes are dimensions enriching the host including custom metadata which are 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.

    Note: Starting from version 1.325 host resource attributes are supported in addition to host custom metadata.

    Property string
    Select process property. Possible values: commandLine, executable, executablePath, fullCommandLine, user
    RuleType string
    Rule scope. 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 resource attributes are dimensions enriching the host including custom metadata which are 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.

    Note: Starting from version 1.325 host resource attributes are supported in addition to host custom metadata.

    Property string
    Select process property. Possible values: commandLine, executable, executablePath, fullCommandLine, user
    RuleType string
    Rule scope. 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.

    host_metadata_condition object

    Host resource attributes are dimensions enriching the host including custom metadata which are 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.

    Note: Starting from version 1.325 host resource attributes are supported in addition to host custom metadata.

    property string
    Select process property. Possible values: commandLine, executable, executablePath, fullCommandLine, user
    rule_type string
    Rule scope. 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 resource attributes are dimensions enriching the host including custom metadata which are 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.

    Note: Starting from version 1.325 host resource attributes are supported in addition to host custom metadata.

    property String
    Select process property. Possible values: commandLine, executable, executablePath, fullCommandLine, user
    ruleType String
    Rule scope. 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 resource attributes are dimensions enriching the host including custom metadata which are 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.

    Note: Starting from version 1.325 host resource attributes are supported in addition to host custom metadata.

    property string
    Select process property. Possible values: commandLine, executable, executablePath, fullCommandLine, user
    ruleType string
    Rule scope. 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 resource attributes are dimensions enriching the host including custom metadata which are 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.

    Note: Starting from version 1.325 host resource attributes are supported in addition to host custom metadata.

    property str
    Select process property. Possible values: commandLine, executable, executablePath, fullCommandLine, user
    rule_type str
    Rule scope. 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 resource attributes are dimensions enriching the host including custom metadata which are 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.

    Note: Starting from version 1.325 host resource attributes are supported in addition to host custom metadata.

    property String
    Select process property. Possible values: commandLine, executable, executablePath, fullCommandLine, user
    ruleType String
    Rule scope. Possible Values: RuleTypeHost, RuleTypeProcess

    ProcessAvailabilityRulesRuleHostMetadataCondition, ProcessAvailabilityRulesRuleHostMetadataConditionArgs

    MetadataCondition string

    This string has to match a required format.

    • $match(ver*_1.2.?) – Matches string with wildcards: * any number (including zero) of characters and ? exactly one character.
    • $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 string
    Key
    KeyMustExist bool
    When enabled, the condition requires a resource attribute to exist and match the constraints; when disabled, the key is optional but must still match the constrains if it is present.
    MetadataCondition string

    This string has to match a required format.

    • $match(ver*_1.2.?) – Matches string with wildcards: * any number (including zero) of characters and ? exactly one character.
    • $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 string
    Key
    KeyMustExist bool
    When enabled, the condition requires a resource attribute 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.

    • $match(ver*_1.2.?) – Matches string with wildcards: * any number (including zero) of characters and ? exactly one character.
    • $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 string
    Key
    key_must_exist bool
    When enabled, the condition requires a resource attribute to exist and match the constraints; when disabled, the key is optional but must still match the constrains if it is present.
    metadataCondition String

    This string has to match a required format.

    • $match(ver*_1.2.?) – Matches string with wildcards: * any number (including zero) of characters and ? exactly one character.
    • $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 String
    Key
    keyMustExist Boolean
    When enabled, the condition requires a resource attribute to exist and match the constraints; when disabled, the key is optional but must still match the constrains if it is present.
    metadataCondition string

    This string has to match a required format.

    • $match(ver*_1.2.?) – Matches string with wildcards: * any number (including zero) of characters and ? exactly one character.
    • $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 string
    Key
    keyMustExist boolean
    When enabled, the condition requires a resource attribute 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.

    • $match(ver*_1.2.?) – Matches string with wildcards: * any number (including zero) of characters and ? exactly one character.
    • $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 str
    Key
    key_must_exist bool
    When enabled, the condition requires a resource attribute to exist and match the constraints; when disabled, the key is optional but must still match the constrains if it is present.
    metadataCondition String

    This string has to match a required format.

    • $match(ver*_1.2.?) – Matches string with wildcards: * any number (including zero) of characters and ? exactly one character.
    • $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 String
    Key
    keyMustExist Boolean
    When enabled, the condition requires a resource attribute 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.
    dynatrace logo
    Viewing docs for Dynatrace v0.36.0
    published on Tuesday, Jun 9, 2026 by Pulumiverse

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial