dynatrace.HttpMonitor
Create HttpMonitor Resource
new HttpMonitor(name: string, args: HttpMonitorArgs, opts?: CustomResourceOptions);
@overload
def HttpMonitor(resource_name: str,
opts: Optional[ResourceOptions] = None,
anomaly_detections: Optional[Sequence[HttpMonitorAnomalyDetectionArgs]] = None,
enabled: Optional[bool] = None,
frequency: Optional[int] = None,
locations: Optional[Sequence[str]] = None,
manually_assigned_apps: Optional[Sequence[str]] = None,
name: Optional[str] = None,
script: Optional[HttpMonitorScriptArgs] = None,
tags: Optional[Sequence[HttpMonitorTagArgs]] = None)
@overload
def HttpMonitor(resource_name: str,
args: HttpMonitorArgs,
opts: Optional[ResourceOptions] = None)
func NewHttpMonitor(ctx *Context, name string, args HttpMonitorArgs, opts ...ResourceOption) (*HttpMonitor, error)
public HttpMonitor(string name, HttpMonitorArgs args, CustomResourceOptions? opts = null)
public HttpMonitor(String name, HttpMonitorArgs args)
public HttpMonitor(String name, HttpMonitorArgs args, CustomResourceOptions options)
type: dynatrace:HttpMonitor
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HttpMonitorArgs
- 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 HttpMonitorArgs
- 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 HttpMonitorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HttpMonitorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args HttpMonitorArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
HttpMonitor 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 HttpMonitor resource accepts the following input properties:
- Frequency int
The frequency of the monitor, in minutes.
- Anomaly
Detections List<Lbrlabs.Pulumi Package. Dynatrace. Inputs. Http Monitor Anomaly Detection Args> The anomaly detection configuration.
- Enabled bool
The monitor is enabled (
true
) or disabled (false
).- Locations List<string>
A list of locations from which the monitor is executed. To specify a location, use its entity ID.
- Manually
Assigned List<string>Apps A set of manually assigned applications.
- Name string
The name of the monitor.
- Script
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Http Monitor Script Args The HTTP Script
- List<Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Http Monitor Tag Args> A set of tags assigned to the monitor. You can specify only the value of the tag here and the
CONTEXTLESS
context and source 'USER' will be added automatically.
- Frequency int
The frequency of the monitor, in minutes.
- Anomaly
Detections []HttpMonitor Anomaly Detection Args The anomaly detection configuration.
- Enabled bool
The monitor is enabled (
true
) or disabled (false
).- Locations []string
A list of locations from which the monitor is executed. To specify a location, use its entity ID.
- Manually
Assigned []stringApps A set of manually assigned applications.
- Name string
The name of the monitor.
- Script
Http
Monitor Script Args The HTTP Script
- []Http
Monitor Tag Args A set of tags assigned to the monitor. You can specify only the value of the tag here and the
CONTEXTLESS
context and source 'USER' will be added automatically.
- frequency Integer
The frequency of the monitor, in minutes.
- anomaly
Detections List<HttpMonitor Anomaly Detection Args> The anomaly detection configuration.
- enabled Boolean
The monitor is enabled (
true
) or disabled (false
).- locations List<String>
A list of locations from which the monitor is executed. To specify a location, use its entity ID.
- manually
Assigned List<String>Apps A set of manually assigned applications.
- name String
The name of the monitor.
- script
Http
Monitor Script Args The HTTP Script
- List<Http
Monitor Tag Args> A set of tags assigned to the monitor. You can specify only the value of the tag here and the
CONTEXTLESS
context and source 'USER' will be added automatically.
- frequency number
The frequency of the monitor, in minutes.
- anomaly
Detections HttpMonitor Anomaly Detection Args[] The anomaly detection configuration.
- enabled boolean
The monitor is enabled (
true
) or disabled (false
).- locations string[]
A list of locations from which the monitor is executed. To specify a location, use its entity ID.
- manually
Assigned string[]Apps A set of manually assigned applications.
- name string
The name of the monitor.
- script
Http
Monitor Script Args The HTTP Script
- Http
Monitor Tag Args[] A set of tags assigned to the monitor. You can specify only the value of the tag here and the
CONTEXTLESS
context and source 'USER' will be added automatically.
- frequency int
The frequency of the monitor, in minutes.
- anomaly_
detections Sequence[HttpMonitor Anomaly Detection Args] The anomaly detection configuration.
- enabled bool
The monitor is enabled (
true
) or disabled (false
).- locations Sequence[str]
A list of locations from which the monitor is executed. To specify a location, use its entity ID.
- manually_
assigned_ Sequence[str]apps A set of manually assigned applications.
- name str
The name of the monitor.
- script
Http
Monitor Script Args The HTTP Script
- Sequence[Http
Monitor Tag Args] A set of tags assigned to the monitor. You can specify only the value of the tag here and the
CONTEXTLESS
context and source 'USER' will be added automatically.
- frequency Number
The frequency of the monitor, in minutes.
- anomaly
Detections List<Property Map> The anomaly detection configuration.
- enabled Boolean
The monitor is enabled (
true
) or disabled (false
).- locations List<String>
A list of locations from which the monitor is executed. To specify a location, use its entity ID.
- manually
Assigned List<String>Apps A set of manually assigned applications.
- name String
The name of the monitor.
- script Property Map
The HTTP Script
- List<Property Map>
A set of tags assigned to the monitor. You can specify only the value of the tag here and the
CONTEXTLESS
context and source 'USER' will be added automatically.
Outputs
All input properties are implicitly available as output properties. Additionally, the HttpMonitor 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 HttpMonitor Resource
Get an existing HttpMonitor 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?: HttpMonitorState, opts?: CustomResourceOptions): HttpMonitor
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
anomaly_detections: Optional[Sequence[HttpMonitorAnomalyDetectionArgs]] = None,
enabled: Optional[bool] = None,
frequency: Optional[int] = None,
locations: Optional[Sequence[str]] = None,
manually_assigned_apps: Optional[Sequence[str]] = None,
name: Optional[str] = None,
script: Optional[HttpMonitorScriptArgs] = None,
tags: Optional[Sequence[HttpMonitorTagArgs]] = None) -> HttpMonitor
func GetHttpMonitor(ctx *Context, name string, id IDInput, state *HttpMonitorState, opts ...ResourceOption) (*HttpMonitor, error)
public static HttpMonitor Get(string name, Input<string> id, HttpMonitorState? state, CustomResourceOptions? opts = null)
public static HttpMonitor get(String name, Output<String> id, HttpMonitorState 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.
- Anomaly
Detections List<Lbrlabs.Pulumi Package. Dynatrace. Inputs. Http Monitor Anomaly Detection Args> The anomaly detection configuration.
- Enabled bool
The monitor is enabled (
true
) or disabled (false
).- Frequency int
The frequency of the monitor, in minutes.
- Locations List<string>
A list of locations from which the monitor is executed. To specify a location, use its entity ID.
- Manually
Assigned List<string>Apps A set of manually assigned applications.
- Name string
The name of the monitor.
- Script
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Http Monitor Script Args The HTTP Script
- List<Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Http Monitor Tag Args> A set of tags assigned to the monitor. You can specify only the value of the tag here and the
CONTEXTLESS
context and source 'USER' will be added automatically.
- Anomaly
Detections []HttpMonitor Anomaly Detection Args The anomaly detection configuration.
- Enabled bool
The monitor is enabled (
true
) or disabled (false
).- Frequency int
The frequency of the monitor, in minutes.
- Locations []string
A list of locations from which the monitor is executed. To specify a location, use its entity ID.
- Manually
Assigned []stringApps A set of manually assigned applications.
- Name string
The name of the monitor.
- Script
Http
Monitor Script Args The HTTP Script
- []Http
Monitor Tag Args A set of tags assigned to the monitor. You can specify only the value of the tag here and the
CONTEXTLESS
context and source 'USER' will be added automatically.
- anomaly
Detections List<HttpMonitor Anomaly Detection Args> The anomaly detection configuration.
- enabled Boolean
The monitor is enabled (
true
) or disabled (false
).- frequency Integer
The frequency of the monitor, in minutes.
- locations List<String>
A list of locations from which the monitor is executed. To specify a location, use its entity ID.
- manually
Assigned List<String>Apps A set of manually assigned applications.
- name String
The name of the monitor.
- script
Http
Monitor Script Args The HTTP Script
- List<Http
Monitor Tag Args> A set of tags assigned to the monitor. You can specify only the value of the tag here and the
CONTEXTLESS
context and source 'USER' will be added automatically.
- anomaly
Detections HttpMonitor Anomaly Detection Args[] The anomaly detection configuration.
- enabled boolean
The monitor is enabled (
true
) or disabled (false
).- frequency number
The frequency of the monitor, in minutes.
- locations string[]
A list of locations from which the monitor is executed. To specify a location, use its entity ID.
- manually
Assigned string[]Apps A set of manually assigned applications.
- name string
The name of the monitor.
- script
Http
Monitor Script Args The HTTP Script
- Http
Monitor Tag Args[] A set of tags assigned to the monitor. You can specify only the value of the tag here and the
CONTEXTLESS
context and source 'USER' will be added automatically.
- anomaly_
detections Sequence[HttpMonitor Anomaly Detection Args] The anomaly detection configuration.
- enabled bool
The monitor is enabled (
true
) or disabled (false
).- frequency int
The frequency of the monitor, in minutes.
- locations Sequence[str]
A list of locations from which the monitor is executed. To specify a location, use its entity ID.
- manually_
assigned_ Sequence[str]apps A set of manually assigned applications.
- name str
The name of the monitor.
- script
Http
Monitor Script Args The HTTP Script
- Sequence[Http
Monitor Tag Args] A set of tags assigned to the monitor. You can specify only the value of the tag here and the
CONTEXTLESS
context and source 'USER' will be added automatically.
- anomaly
Detections List<Property Map> The anomaly detection configuration.
- enabled Boolean
The monitor is enabled (
true
) or disabled (false
).- frequency Number
The frequency of the monitor, in minutes.
- locations List<String>
A list of locations from which the monitor is executed. To specify a location, use its entity ID.
- manually
Assigned List<String>Apps A set of manually assigned applications.
- name String
The name of the monitor.
- script Property Map
The HTTP Script
- List<Property Map>
A set of tags assigned to the monitor. You can specify only the value of the tag here and the
CONTEXTLESS
context and source 'USER' will be added automatically.
Supporting Types
HttpMonitorAnomalyDetection
- Loading
Time List<Lbrlabs.Thresholds Pulumi Package. Dynatrace. Inputs. Http Monitor Anomaly Detection Loading Time Threshold> Thresholds for loading times
- Outage
Handlings List<Lbrlabs.Pulumi Package. Dynatrace. Inputs. Http Monitor Anomaly Detection Outage Handling> Outage handling configuration
- Loading
Time []HttpThresholds Monitor Anomaly Detection Loading Time Threshold Thresholds for loading times
- Outage
Handlings []HttpMonitor Anomaly Detection Outage Handling Outage handling configuration
- loading
Time List<HttpThresholds Monitor Anomaly Detection Loading Time Threshold> Thresholds for loading times
- outage
Handlings List<HttpMonitor Anomaly Detection Outage Handling> Outage handling configuration
- loading
Time HttpThresholds Monitor Anomaly Detection Loading Time Threshold[] Thresholds for loading times
- outage
Handlings HttpMonitor Anomaly Detection Outage Handling[] Outage handling configuration
- loading_
time_ Sequence[Httpthresholds Monitor Anomaly Detection Loading Time Threshold] Thresholds for loading times
- outage_
handlings Sequence[HttpMonitor Anomaly Detection Outage Handling] Outage handling configuration
- loading
Time List<Property Map>Thresholds Thresholds for loading times
- outage
Handlings List<Property Map> Outage handling configuration
HttpMonitorAnomalyDetectionLoadingTimeThreshold
- enabled Boolean
- thresholds List<Property Map>
HttpMonitorAnomalyDetectionLoadingTimeThresholdThreshold
HttpMonitorAnomalyDetectionLoadingTimeThresholdThresholdThreshold
- Value
Ms int - Event
Index int - Request
Index int - Type string
- Value
Ms int - Event
Index int - Request
Index int - Type string
- value
Ms Integer - event
Index Integer - request
Index Integer - type String
- value
Ms number - event
Index number - request
Index number - type string
- value_
ms int - event_
index int - request_
index int - type str
- value
Ms Number - event
Index Number - request
Index Number - type String
HttpMonitorAnomalyDetectionOutageHandling
- global
Outage Boolean - local
Outage Boolean - local
Outage List<Property Map>Policies - retry
On BooleanError
HttpMonitorAnomalyDetectionOutageHandlingLocalOutagePolicy
- Affected
Locations int - Consecutive
Runs int
- Affected
Locations int - Consecutive
Runs int
- affected
Locations Integer - consecutive
Runs Integer
- affected
Locations number - consecutive
Runs number
- affected
Locations Number - consecutive
Runs Number
HttpMonitorScript
- Requests
List<Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Http Monitor Script Request> A HTTP request to be performed by the monitor.
- Requests
[]Http
Monitor Script Request A HTTP request to be performed by the monitor.
- requests
List<Http
Monitor Script Request> A HTTP request to be performed by the monitor.
- requests
Http
Monitor Script Request[] A HTTP request to be performed by the monitor.
- requests
Sequence[Http
Monitor Script Request] A HTTP request to be performed by the monitor.
- requests List<Property Map>
A HTTP request to be performed by the monitor.
HttpMonitorScriptRequest
- Method string
- Url string
- Authentication
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Http Monitor Script Request Authentication - Body string
- Configuration
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Http Monitor Script Request Configuration - Description string
- Post
Processing string - Pre
Processing string - Validation
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Http Monitor Script Request Validation
- method String
- url String
- authentication Property Map
- body String
- configuration Property Map
- description String
- post
Processing String - pre
Processing String - validation Property Map
HttpMonitorScriptRequestAuthentication
- Credentials string
- Type string
- Kdc
Ip string - Realm
Name string
- Credentials string
- Type string
- Kdc
Ip string - Realm
Name string
- credentials String
- type String
- kdc
Ip String - realm
Name String
- credentials string
- type string
- kdc
Ip string - realm
Name string
- credentials str
- type str
- kdc_
ip str - realm_
name str
- credentials String
- type String
- kdc
Ip String - realm
Name String
HttpMonitorScriptRequestConfiguration
- accept
Any BooleanCertificate - follow
Redirects Boolean - headers
Http
Monitor Script Request Configuration Headers - user
Agent String
- accept
Any booleanCertificate - follow
Redirects boolean - headers
Http
Monitor Script Request Configuration Headers - user
Agent string
- accept
Any BooleanCertificate - follow
Redirects Boolean - headers Property Map
- user
Agent String
HttpMonitorScriptRequestConfigurationHeaders
HttpMonitorScriptRequestConfigurationHeadersHeader
HttpMonitorScriptRequestValidation
HttpMonitorScriptRequestValidationRule
- Type string
- Value string
- Pass
If boolFound
- Type string
- Value string
- Pass
If boolFound
- type String
- value String
- pass
If BooleanFound
- type string
- value string
- pass
If booleanFound
- type str
- value str
- pass_
if_ boolfound
- type String
- value String
- pass
If BooleanFound
HttpMonitorTag
- List<Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Http Monitor Tag Tag> Tag with source of a Dynatrace entity.
- []Http
Monitor Tag Tag Tag with source of a Dynatrace entity.
- List<Http
Monitor Tag Tag> Tag with source of a Dynatrace entity.
- Http
Monitor Tag Tag[] Tag with source of a Dynatrace entity.
- Sequence[Http
Monitor Tag Tag] Tag with source of a Dynatrace entity.
- List<Property Map>
Tag with source of a Dynatrace entity.
HttpMonitorTagTag
Package Details
- Repository
- dynatrace lbrlabs/pulumi-dynatrace
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
dynatrace
Terraform Provider.