dynatrace logo
Dynatrace v0.0.2, Nov 1 22

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.

AnomalyDetections List<Lbrlabs.PulumiPackage.Dynatrace.Inputs.HttpMonitorAnomalyDetectionArgs>

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.

ManuallyAssignedApps List<string>

A set of manually assigned applications.

Name string

The name of the monitor.

Script Lbrlabs.PulumiPackage.Dynatrace.Inputs.HttpMonitorScriptArgs

The HTTP Script

Tags List<Lbrlabs.PulumiPackage.Dynatrace.Inputs.HttpMonitorTagArgs>

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.

AnomalyDetections []HttpMonitorAnomalyDetectionArgs

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.

ManuallyAssignedApps []string

A set of manually assigned applications.

Name string

The name of the monitor.

Script HttpMonitorScriptArgs

The HTTP Script

Tags []HttpMonitorTagArgs

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.

anomalyDetections List<HttpMonitorAnomalyDetectionArgs>

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.

manuallyAssignedApps List<String>

A set of manually assigned applications.

name String

The name of the monitor.

script HttpMonitorScriptArgs

The HTTP Script

tags List<HttpMonitorTagArgs>

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.

anomalyDetections HttpMonitorAnomalyDetectionArgs[]

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.

manuallyAssignedApps string[]

A set of manually assigned applications.

name string

The name of the monitor.

script HttpMonitorScriptArgs

The HTTP Script

tags HttpMonitorTagArgs[]

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[HttpMonitorAnomalyDetectionArgs]

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_apps Sequence[str]

A set of manually assigned applications.

name str

The name of the monitor.

script HttpMonitorScriptArgs

The HTTP Script

tags Sequence[HttpMonitorTagArgs]

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.

anomalyDetections 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.

manuallyAssignedApps List<String>

A set of manually assigned applications.

name String

The name of the monitor.

script Property Map

The HTTP Script

tags 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.
The following state arguments are supported:
AnomalyDetections List<Lbrlabs.PulumiPackage.Dynatrace.Inputs.HttpMonitorAnomalyDetectionArgs>

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.

ManuallyAssignedApps List<string>

A set of manually assigned applications.

Name string

The name of the monitor.

Script Lbrlabs.PulumiPackage.Dynatrace.Inputs.HttpMonitorScriptArgs

The HTTP Script

Tags List<Lbrlabs.PulumiPackage.Dynatrace.Inputs.HttpMonitorTagArgs>

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.

AnomalyDetections []HttpMonitorAnomalyDetectionArgs

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.

ManuallyAssignedApps []string

A set of manually assigned applications.

Name string

The name of the monitor.

Script HttpMonitorScriptArgs

The HTTP Script

Tags []HttpMonitorTagArgs

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.

anomalyDetections List<HttpMonitorAnomalyDetectionArgs>

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.

manuallyAssignedApps List<String>

A set of manually assigned applications.

name String

The name of the monitor.

script HttpMonitorScriptArgs

The HTTP Script

tags List<HttpMonitorTagArgs>

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.

anomalyDetections HttpMonitorAnomalyDetectionArgs[]

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.

manuallyAssignedApps string[]

A set of manually assigned applications.

name string

The name of the monitor.

script HttpMonitorScriptArgs

The HTTP Script

tags HttpMonitorTagArgs[]

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[HttpMonitorAnomalyDetectionArgs]

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_apps Sequence[str]

A set of manually assigned applications.

name str

The name of the monitor.

script HttpMonitorScriptArgs

The HTTP Script

tags Sequence[HttpMonitorTagArgs]

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.

anomalyDetections 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.

manuallyAssignedApps List<String>

A set of manually assigned applications.

name String

The name of the monitor.

script Property Map

The HTTP Script

tags 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

loadingTimeThresholds List<Property Map>

Thresholds for loading times

outageHandlings List<Property Map>

Outage handling configuration

HttpMonitorAnomalyDetectionLoadingTimeThreshold

HttpMonitorAnomalyDetectionLoadingTimeThresholdThreshold

HttpMonitorAnomalyDetectionLoadingTimeThresholdThresholdThreshold

valueMs Integer
eventIndex Integer
requestIndex Integer
type String
valueMs number
eventIndex number
requestIndex number
type string
valueMs Number
eventIndex Number
requestIndex Number
type String

HttpMonitorAnomalyDetectionOutageHandling

HttpMonitorAnomalyDetectionOutageHandlingLocalOutagePolicy

HttpMonitorScript

Requests []HttpMonitorScriptRequest

A HTTP request to be performed by the monitor.

requests List<HttpMonitorScriptRequest>

A HTTP request to be performed by the monitor.

requests HttpMonitorScriptRequest[]

A HTTP request to be performed by the monitor.

requests Sequence[HttpMonitorScriptRequest]

A HTTP request to be performed by the monitor.

requests List<Property Map>

A HTTP request to be performed by the monitor.

HttpMonitorScriptRequest

HttpMonitorScriptRequestAuthentication

Credentials string
Type string
KdcIp string
RealmName string
Credentials string
Type string
KdcIp string
RealmName string
credentials String
type String
kdcIp String
realmName String
credentials string
type string
kdcIp string
realmName string
credentials String
type String
kdcIp String
realmName String

HttpMonitorScriptRequestConfiguration

HttpMonitorScriptRequestConfigurationHeaders

HttpMonitorScriptRequestConfigurationHeadersHeader

Name string
Value string
Name string
Value string
name String
value String
name string
value string
name str
value str
name String
value String

HttpMonitorScriptRequestValidation

HttpMonitorScriptRequestValidationRule

Type string
Value string
PassIfFound bool
Type string
Value string
PassIfFound bool
type String
value String
passIfFound Boolean
type string
value string
passIfFound boolean
type String
value String
passIfFound Boolean

HttpMonitorTag

Tags []HttpMonitorTagTag

Tag with source of a Dynatrace entity.

tags List<HttpMonitorTagTag>

Tag with source of a Dynatrace entity.

tags HttpMonitorTagTag[]

Tag with source of a Dynatrace entity.

tags Sequence[HttpMonitorTagTag]

Tag with source of a Dynatrace entity.

tags List<Property Map>

Tag with source of a Dynatrace entity.

HttpMonitorTagTag

Context string
Key string
Source string
Value string
Context string
Key string
Source string
Value string
context String
key String
source String
value String
context string
key string
source string
value string
context str
key str
source str
value str
context String
key String
source String
value String

Package Details

Repository
dynatrace lbrlabs/pulumi-dynatrace
License
Apache-2.0
Notes

This Pulumi package is based on the dynatrace Terraform Provider.