Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse
dynatrace.ProcessMonitoringRule
Explore with Pulumi AI
Create ProcessMonitoringRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ProcessMonitoringRule(name: string, args: ProcessMonitoringRuleArgs, opts?: CustomResourceOptions);
@overload
def ProcessMonitoringRule(resource_name: str,
args: ProcessMonitoringRuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ProcessMonitoringRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
condition: Optional[ProcessMonitoringRuleConditionArgs] = None,
enabled: Optional[bool] = None,
mode: Optional[str] = None,
host_group_id: Optional[str] = None,
insert_after: Optional[str] = None)
func NewProcessMonitoringRule(ctx *Context, name string, args ProcessMonitoringRuleArgs, opts ...ResourceOption) (*ProcessMonitoringRule, error)
public ProcessMonitoringRule(string name, ProcessMonitoringRuleArgs args, CustomResourceOptions? opts = null)
public ProcessMonitoringRule(String name, ProcessMonitoringRuleArgs args)
public ProcessMonitoringRule(String name, ProcessMonitoringRuleArgs args, CustomResourceOptions options)
type: dynatrace:ProcessMonitoringRule
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 ProcessMonitoringRuleArgs
- 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 ProcessMonitoringRuleArgs
- 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 ProcessMonitoringRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProcessMonitoringRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProcessMonitoringRuleArgs
- 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 processMonitoringRuleResource = new Dynatrace.ProcessMonitoringRule("processMonitoringRuleResource", new()
{
Condition = new Dynatrace.Inputs.ProcessMonitoringRuleConditionArgs
{
Item = "string",
Operator = "string",
EnvVar = "string",
Value = "string",
},
Enabled = false,
Mode = "string",
HostGroupId = "string",
InsertAfter = "string",
});
example, err := dynatrace.NewProcessMonitoringRule(ctx, "processMonitoringRuleResource", &dynatrace.ProcessMonitoringRuleArgs{
Condition: &dynatrace.ProcessMonitoringRuleConditionArgs{
Item: pulumi.String("string"),
Operator: pulumi.String("string"),
EnvVar: pulumi.String("string"),
Value: pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
Mode: pulumi.String("string"),
HostGroupId: pulumi.String("string"),
InsertAfter: pulumi.String("string"),
})
var processMonitoringRuleResource = new ProcessMonitoringRule("processMonitoringRuleResource", ProcessMonitoringRuleArgs.builder()
.condition(ProcessMonitoringRuleConditionArgs.builder()
.item("string")
.operator("string")
.envVar("string")
.value("string")
.build())
.enabled(false)
.mode("string")
.hostGroupId("string")
.insertAfter("string")
.build());
process_monitoring_rule_resource = dynatrace.ProcessMonitoringRule("processMonitoringRuleResource",
condition=dynatrace.ProcessMonitoringRuleConditionArgs(
item="string",
operator="string",
env_var="string",
value="string",
),
enabled=False,
mode="string",
host_group_id="string",
insert_after="string")
const processMonitoringRuleResource = new dynatrace.ProcessMonitoringRule("processMonitoringRuleResource", {
condition: {
item: "string",
operator: "string",
envVar: "string",
value: "string",
},
enabled: false,
mode: "string",
hostGroupId: "string",
insertAfter: "string",
});
type: dynatrace:ProcessMonitoringRule
properties:
condition:
envVar: string
item: string
operator: string
value: string
enabled: false
hostGroupId: string
insertAfter: string
mode: string
ProcessMonitoringRule 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 ProcessMonitoringRule resource accepts the following input properties:
- Condition
Pulumiverse.
Dynatrace. Inputs. Process Monitoring Rule Condition - Condition
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Mode string
- Possible Values:
MONITORING_ON
,MONITORING_OFF
- Host
Group stringId - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope
- 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
- Condition
Process
Monitoring Rule Condition Args - Condition
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Mode string
- Possible Values:
MONITORING_ON
,MONITORING_OFF
- Host
Group stringId - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope
- 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
- condition
Process
Monitoring Rule Condition - Condition
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - mode String
- Possible Values:
MONITORING_ON
,MONITORING_OFF
- host
Group StringId - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope
- 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
- condition
Process
Monitoring Rule Condition - Condition
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - mode string
- Possible Values:
MONITORING_ON
,MONITORING_OFF
- host
Group stringId - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope
- 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
- condition
Process
Monitoring Rule Condition Args - Condition
- enabled bool
- This setting is enabled (
true
) or disabled (false
) - mode str
- Possible Values:
MONITORING_ON
,MONITORING_OFF
- host_
group_ strid - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope
- 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
- condition Property Map
- Condition
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - mode String
- Possible Values:
MONITORING_ON
,MONITORING_OFF
- host
Group StringId - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope
- 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
Outputs
All input properties are implicitly available as output properties. Additionally, the ProcessMonitoringRule 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 ProcessMonitoringRule Resource
Get an existing ProcessMonitoringRule 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?: ProcessMonitoringRuleState, opts?: CustomResourceOptions): ProcessMonitoringRule
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
condition: Optional[ProcessMonitoringRuleConditionArgs] = None,
enabled: Optional[bool] = None,
host_group_id: Optional[str] = None,
insert_after: Optional[str] = None,
mode: Optional[str] = None) -> ProcessMonitoringRule
func GetProcessMonitoringRule(ctx *Context, name string, id IDInput, state *ProcessMonitoringRuleState, opts ...ResourceOption) (*ProcessMonitoringRule, error)
public static ProcessMonitoringRule Get(string name, Input<string> id, ProcessMonitoringRuleState? state, CustomResourceOptions? opts = null)
public static ProcessMonitoringRule get(String name, Output<String> id, ProcessMonitoringRuleState 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.
- Condition
Pulumiverse.
Dynatrace. Inputs. Process Monitoring Rule Condition - Condition
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Host
Group stringId - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope
- 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
- Mode string
- Possible Values:
MONITORING_ON
,MONITORING_OFF
- Condition
Process
Monitoring Rule Condition Args - Condition
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Host
Group stringId - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope
- 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
- Mode string
- Possible Values:
MONITORING_ON
,MONITORING_OFF
- condition
Process
Monitoring Rule Condition - Condition
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - host
Group StringId - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope
- 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
- mode String
- Possible Values:
MONITORING_ON
,MONITORING_OFF
- condition
Process
Monitoring Rule Condition - Condition
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - host
Group stringId - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope
- 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
- mode string
- Possible Values:
MONITORING_ON
,MONITORING_OFF
- condition
Process
Monitoring Rule Condition Args - Condition
- enabled bool
- This setting is enabled (
true
) or disabled (false
) - host_
group_ strid - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope
- 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
- mode str
- Possible Values:
MONITORING_ON
,MONITORING_OFF
- condition Property Map
- Condition
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - host
Group StringId - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope
- 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
- mode String
- Possible Values:
MONITORING_ON
,MONITORING_OFF
Supporting Types
ProcessMonitoringRuleCondition, ProcessMonitoringRuleConditionArgs
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.