1. Packages
  2. Dynatrace
  3. API Docs
  4. ProcessAvailability
Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse

dynatrace.ProcessAvailability

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse

    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",
                    },
                    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"),
    				},
    				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")
                    .build())
                .property("string")
                .ruleType("string")
                .build())
            .build())
        .scope("string")
        .build());
    
    process_availability_resource = dynatrace.ProcessAvailability("processAvailabilityResource",
        enabled=False,
        insert_after="string",
        metadata=dynatrace.ProcessAvailabilityMetadataArgs(
            items=[dynatrace.ProcessAvailabilityMetadataItemArgs(
                key="string",
                value="string",
            )],
        ),
        minimum_processes=0,
        name="string",
        operating_systems=["string"],
        rules=dynatrace.ProcessAvailabilityRulesArgs(
            rules=[dynatrace.ProcessAvailabilityRulesRuleArgs(
                condition="string",
                host_metadata_condition=dynatrace.ProcessAvailabilityRulesRuleHostMetadataConditionArgs(
                    metadata_condition="string",
                    metadata_key="string",
                ),
                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",
                },
                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:
                    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

    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.
    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 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 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 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 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 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 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.
    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 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 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 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 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 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 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 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 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 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 string
    Key
    MetadataCondition 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 string
    Key
    metadataCondition 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 String
    Key
    metadataCondition 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 string
    Key
    metadata_condition 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 str
    Key
    metadataCondition 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 String
    Key

    Package Details

    Repository
    dynatrace pulumiverse/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse