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 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"),
})
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
) - Insert
After string - Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
- Metadata
Pulumiverse.
Dynatrace. Inputs. Process Availability Metadata - 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 string
- Monitoring rule name
- Operating
Systems List<string> - Select the operating systems on which the monitoring rule should be applied.
- Rules
Pulumiverse.
Dynatrace. Inputs. Process Availability Rules - 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
Process
Availability Metadata Args - 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 string
- Monitoring rule name
- Operating
Systems []string - Select the operating systems on which the monitoring rule should be applied.
- Rules
Process
Availability Rules Args - 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
) - 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
Process
Availability Metadata - Set of additional key-value properties to be attached to the triggered event.
- minimum
Processes 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
- operating
Systems List<String> - Select the operating systems on which the monitoring rule should be applied.
- rules
Process
Availability Rules - 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
) - 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
Process
Availability Metadata - Set of additional key-value properties to be attached to the triggered event.
- minimum
Processes 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
- operating
Systems string[] - Select the operating systems on which the monitoring rule should be applied.
- rules
Process
Availability Rules - 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
Process
Availability Metadata Args - 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
Process
Availability Rules Args - 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
) - insert
After String - Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
- metadata Property Map
- Set of additional key-value properties to be attached to the triggered event.
- minimum
Processes 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
- operating
Systems 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 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)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Insert
After string - Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
- Metadata
Pulumiverse.
Dynatrace. Inputs. Process Availability Metadata - 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 string
- Monitoring rule name
- Operating
Systems List<string> - Select the operating systems on which the monitoring rule should be applied.
- Rules
Pulumiverse.
Dynatrace. Inputs. Process Availability Rules - 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
Process
Availability Metadata Args - 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 string
- Monitoring rule name
- Operating
Systems []string - Select the operating systems on which the monitoring rule should be applied.
- Rules
Process
Availability Rules Args - 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
) - 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
Process
Availability Metadata - Set of additional key-value properties to be attached to the triggered event.
- minimum
Processes 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
- operating
Systems List<String> - Select the operating systems on which the monitoring rule should be applied.
- rules
Process
Availability Rules - 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
) - 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
Process
Availability Metadata - Set of additional key-value properties to be attached to the triggered event.
- minimum
Processes 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
- operating
Systems string[] - Select the operating systems on which the monitoring rule should be applied.
- rules
Process
Availability Rules - 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
Process
Availability Metadata Args - 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
Process
Availability Rules Args - 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
) - insert
After String - Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
- metadata Property Map
- Set of additional key-value properties to be attached to the triggered event.
- minimum
Processes 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
- operating
Systems 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 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
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.
- Host
Metadata Pulumiverse.Condition Dynatrace. Inputs. Process Availability Rules Rule Host Metadata Condition 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.
- Property string
- Possible Values:
CommandLine
,Executable
,ExecutablePath
,User
- Rule
Type 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.
- Host
Metadata ProcessCondition Availability Rules Rule Host Metadata Condition 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.
- Property string
- Possible Values:
CommandLine
,Executable
,ExecutablePath
,User
- Rule
Type 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.
- host
Metadata ProcessCondition Availability Rules Rule Host Metadata Condition 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.
- property String
- Possible Values:
CommandLine
,Executable
,ExecutablePath
,User
- rule
Type 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.
- host
Metadata ProcessCondition Availability Rules Rule Host Metadata Condition 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.
- property string
- Possible Values:
CommandLine
,Executable
,ExecutablePath
,User
- rule
Type 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_ Processcondition Availability Rules Rule Host Metadata Condition 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.
- 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.
- host
Metadata Property MapCondition 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.
- property String
- Possible Values:
CommandLine
,Executable
,ExecutablePath
,User
- rule
Type String - Possible Values:
RuleTypeHost
,RuleTypeProcess
ProcessAvailabilityRulesRuleHostMetadataCondition, ProcessAvailabilityRulesRuleHostMetadataConditionArgs
- Metadata
Condition string This string has to match a required format.
$contains(production)
– Matches ifproduction
appears anywhere in the host metadata value.$eq(production)
– Matches ifproduction
matches the host metadata value exactly.$prefix(production)
– Matches ifproduction
matches the prefix of the host metadata value.$suffix(production)
– Matches ifproduction
matches the suffix of the host metadata value.
Available logic operations:
$not($eq(production))
– Matches if the host metadata value is different fromproduction
.$and($prefix(production),$suffix(main))
– Matches if host metadata value starts withproduction
and ends withmain
.$or($prefix(production),$suffix(main))
– Matches if host metadata value starts withproduction
or ends withmain
.
Brackets ( and ) that are part of the matched property must be escaped with a tilde (~)
- Metadata
Key string - Key
- Key
Must boolExist - When enabled, the condition requires a metadata key to exist and match the constraints; when disabled, the key is optional but must still match the constrains if it is present.
- Metadata
Condition string This string has to match a required format.
$contains(production)
– Matches ifproduction
appears anywhere in the host metadata value.$eq(production)
– Matches ifproduction
matches the host metadata value exactly.$prefix(production)
– Matches ifproduction
matches the prefix of the host metadata value.$suffix(production)
– Matches ifproduction
matches the suffix of the host metadata value.
Available logic operations:
$not($eq(production))
– Matches if the host metadata value is different fromproduction
.$and($prefix(production),$suffix(main))
– Matches if host metadata value starts withproduction
and ends withmain
.$or($prefix(production),$suffix(main))
– Matches if host metadata value starts withproduction
or ends withmain
.
Brackets ( and ) that are part of the matched property must be escaped with a tilde (~)
- Metadata
Key string - Key
- Key
Must boolExist - When enabled, the condition requires a metadata key to exist and match the constraints; when disabled, the key is optional but must still match the constrains if it is present.
- metadata
Condition String This string has to match a required format.
$contains(production)
– Matches ifproduction
appears anywhere in the host metadata value.$eq(production)
– Matches ifproduction
matches the host metadata value exactly.$prefix(production)
– Matches ifproduction
matches the prefix of the host metadata value.$suffix(production)
– Matches ifproduction
matches the suffix of the host metadata value.
Available logic operations:
$not($eq(production))
– Matches if the host metadata value is different fromproduction
.$and($prefix(production),$suffix(main))
– Matches if host metadata value starts withproduction
and ends withmain
.$or($prefix(production),$suffix(main))
– Matches if host metadata value starts withproduction
or ends withmain
.
Brackets ( and ) that are part of the matched property must be escaped with a tilde (~)
- metadata
Key String - Key
- key
Must BooleanExist - When enabled, the condition requires a metadata key to exist and match the constraints; when disabled, the key is optional but must still match the constrains if it is present.
- metadata
Condition string This string has to match a required format.
$contains(production)
– Matches ifproduction
appears anywhere in the host metadata value.$eq(production)
– Matches ifproduction
matches the host metadata value exactly.$prefix(production)
– Matches ifproduction
matches the prefix of the host metadata value.$suffix(production)
– Matches ifproduction
matches the suffix of the host metadata value.
Available logic operations:
$not($eq(production))
– Matches if the host metadata value is different fromproduction
.$and($prefix(production),$suffix(main))
– Matches if host metadata value starts withproduction
and ends withmain
.$or($prefix(production),$suffix(main))
– Matches if host metadata value starts withproduction
or ends withmain
.
Brackets ( and ) that are part of the matched property must be escaped with a tilde (~)
- metadata
Key string - Key
- key
Must booleanExist - When enabled, the condition requires a metadata key to exist and match the constraints; when disabled, the key is optional but must still match the constrains if it is present.
- metadata_
condition str This string has to match a required format.
$contains(production)
– Matches ifproduction
appears anywhere in the host metadata value.$eq(production)
– Matches ifproduction
matches the host metadata value exactly.$prefix(production)
– Matches ifproduction
matches the prefix of the host metadata value.$suffix(production)
– Matches ifproduction
matches the suffix of the host metadata value.
Available logic operations:
$not($eq(production))
– Matches if the host metadata value is different fromproduction
.$and($prefix(production),$suffix(main))
– Matches if host metadata value starts withproduction
and ends withmain
.$or($prefix(production),$suffix(main))
– Matches if host metadata value starts withproduction
or ends withmain
.
Brackets ( and ) that are part of the matched property must be escaped with a tilde (~)
- metadata_
key str - Key
- key_
must_ boolexist - When enabled, the condition requires a metadata key to exist and match the constraints; when disabled, the key is optional but must still match the constrains if it is present.
- metadata
Condition String This string has to match a required format.
$contains(production)
– Matches ifproduction
appears anywhere in the host metadata value.$eq(production)
– Matches ifproduction
matches the host metadata value exactly.$prefix(production)
– Matches ifproduction
matches the prefix of the host metadata value.$suffix(production)
– Matches ifproduction
matches the suffix of the host metadata value.
Available logic operations:
$not($eq(production))
– Matches if the host metadata value is different fromproduction
.$and($prefix(production),$suffix(main))
– Matches if host metadata value starts withproduction
and ends withmain
.$or($prefix(production),$suffix(main))
– Matches if host metadata value starts withproduction
or ends withmain
.
Brackets ( and ) that are part of the matched property must be escaped with a tilde (~)
- metadata
Key String - Key
- key
Must BooleanExist - When enabled, the condition requires a metadata key to exist and match the constraints; when disabled, the key is optional but must still match the constrains if it is present.
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.