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

dynatrace.HttpMonitor

Explore with Pulumi AI

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

    Create HttpMonitor Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new HttpMonitor(name: string, args: HttpMonitorArgs, opts?: CustomResourceOptions);
    @overload
    def HttpMonitor(resource_name: str,
                    args: HttpMonitorArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def HttpMonitor(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    frequency: Optional[int] = None,
                    anomaly_detections: Optional[Sequence[HttpMonitorAnomalyDetectionArgs]] = None,
                    enabled: Optional[bool] = None,
                    locations: Optional[Sequence[str]] = None,
                    manually_assigned_apps: Optional[Sequence[str]] = None,
                    name: Optional[str] = None,
                    no_script: Optional[bool] = None,
                    script: Optional[HttpMonitorScriptArgs] = None,
                    tags: Optional[Sequence[HttpMonitorTagArgs]] = 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.
    
    

    Parameters

    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.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var httpMonitorResource = new Dynatrace.HttpMonitor("httpMonitorResource", new()
    {
        Frequency = 0,
        AnomalyDetections = new[]
        {
            new Dynatrace.Inputs.HttpMonitorAnomalyDetectionArgs
            {
                LoadingTimeThresholds = new[]
                {
                    new Dynatrace.Inputs.HttpMonitorAnomalyDetectionLoadingTimeThresholdArgs
                    {
                        Enabled = false,
                        Thresholds = new[]
                        {
                            new Dynatrace.Inputs.HttpMonitorAnomalyDetectionLoadingTimeThresholdThresholdArgs
                            {
                                Thresholds = new[]
                                {
                                    new Dynatrace.Inputs.HttpMonitorAnomalyDetectionLoadingTimeThresholdThresholdThresholdArgs
                                    {
                                        ValueMs = 0,
                                        EventIndex = 0,
                                        RequestIndex = 0,
                                        Type = "string",
                                    },
                                },
                            },
                        },
                    },
                },
                OutageHandlings = new[]
                {
                    new Dynatrace.Inputs.HttpMonitorAnomalyDetectionOutageHandlingArgs
                    {
                        GlobalOutage = false,
                        GlobalOutagePolicies = new[]
                        {
                            new Dynatrace.Inputs.HttpMonitorAnomalyDetectionOutageHandlingGlobalOutagePolicyArgs
                            {
                                ConsecutiveRuns = 0,
                            },
                        },
                        LocalOutage = false,
                        LocalOutagePolicies = new[]
                        {
                            new Dynatrace.Inputs.HttpMonitorAnomalyDetectionOutageHandlingLocalOutagePolicyArgs
                            {
                                AffectedLocations = 0,
                                ConsecutiveRuns = 0,
                            },
                        },
                        RetryOnError = false,
                    },
                },
            },
        },
        Enabled = false,
        Locations = new[]
        {
            "string",
        },
        ManuallyAssignedApps = new[]
        {
            "string",
        },
        Name = "string",
        NoScript = false,
        Script = new Dynatrace.Inputs.HttpMonitorScriptArgs
        {
            Requests = new[]
            {
                new Dynatrace.Inputs.HttpMonitorScriptRequestArgs
                {
                    Method = "string",
                    Url = "string",
                    Authentication = new Dynatrace.Inputs.HttpMonitorScriptRequestAuthenticationArgs
                    {
                        Credentials = "string",
                        Type = "string",
                        KdcIp = "string",
                        RealmName = "string",
                    },
                    Body = "string",
                    Configuration = new Dynatrace.Inputs.HttpMonitorScriptRequestConfigurationArgs
                    {
                        AcceptAnyCertificate = false,
                        ClientCertificate = "string",
                        FollowRedirects = false,
                        Headers = new Dynatrace.Inputs.HttpMonitorScriptRequestConfigurationHeadersArgs
                        {
                            Headers = new[]
                            {
                                new Dynatrace.Inputs.HttpMonitorScriptRequestConfigurationHeadersHeaderArgs
                                {
                                    Name = "string",
                                    Value = "string",
                                },
                            },
                        },
                        SensitiveData = false,
                        UserAgent = "string",
                    },
                    Description = "string",
                    PostProcessing = "string",
                    PreProcessing = "string",
                    RequestTimeout = 0,
                    Validation = new Dynatrace.Inputs.HttpMonitorScriptRequestValidationArgs
                    {
                        Rules = new[]
                        {
                            new Dynatrace.Inputs.HttpMonitorScriptRequestValidationRuleArgs
                            {
                                Type = "string",
                                Value = "string",
                                PassIfFound = false,
                            },
                        },
                    },
                },
            },
        },
        Tags = new[]
        {
            new Dynatrace.Inputs.HttpMonitorTagArgs
            {
                Tags = new[]
                {
                    new Dynatrace.Inputs.HttpMonitorTagTagArgs
                    {
                        Context = "string",
                        Key = "string",
                        Source = "string",
                        Value = "string",
                    },
                },
            },
        },
    });
    
    example, err := dynatrace.NewHttpMonitor(ctx, "httpMonitorResource", &dynatrace.HttpMonitorArgs{
    	Frequency: pulumi.Int(0),
    	AnomalyDetections: dynatrace.HttpMonitorAnomalyDetectionArray{
    		&dynatrace.HttpMonitorAnomalyDetectionArgs{
    			LoadingTimeThresholds: dynatrace.HttpMonitorAnomalyDetectionLoadingTimeThresholdArray{
    				&dynatrace.HttpMonitorAnomalyDetectionLoadingTimeThresholdArgs{
    					Enabled: pulumi.Bool(false),
    					Thresholds: dynatrace.HttpMonitorAnomalyDetectionLoadingTimeThresholdThresholdArray{
    						&dynatrace.HttpMonitorAnomalyDetectionLoadingTimeThresholdThresholdArgs{
    							Thresholds: dynatrace.HttpMonitorAnomalyDetectionLoadingTimeThresholdThresholdThresholdArray{
    								&dynatrace.HttpMonitorAnomalyDetectionLoadingTimeThresholdThresholdThresholdArgs{
    									ValueMs:      pulumi.Int(0),
    									EventIndex:   pulumi.Int(0),
    									RequestIndex: pulumi.Int(0),
    									Type:         pulumi.String("string"),
    								},
    							},
    						},
    					},
    				},
    			},
    			OutageHandlings: dynatrace.HttpMonitorAnomalyDetectionOutageHandlingArray{
    				&dynatrace.HttpMonitorAnomalyDetectionOutageHandlingArgs{
    					GlobalOutage: pulumi.Bool(false),
    					GlobalOutagePolicies: dynatrace.HttpMonitorAnomalyDetectionOutageHandlingGlobalOutagePolicyArray{
    						&dynatrace.HttpMonitorAnomalyDetectionOutageHandlingGlobalOutagePolicyArgs{
    							ConsecutiveRuns: pulumi.Int(0),
    						},
    					},
    					LocalOutage: pulumi.Bool(false),
    					LocalOutagePolicies: dynatrace.HttpMonitorAnomalyDetectionOutageHandlingLocalOutagePolicyArray{
    						&dynatrace.HttpMonitorAnomalyDetectionOutageHandlingLocalOutagePolicyArgs{
    							AffectedLocations: pulumi.Int(0),
    							ConsecutiveRuns:   pulumi.Int(0),
    						},
    					},
    					RetryOnError: pulumi.Bool(false),
    				},
    			},
    		},
    	},
    	Enabled: pulumi.Bool(false),
    	Locations: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ManuallyAssignedApps: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Name:     pulumi.String("string"),
    	NoScript: pulumi.Bool(false),
    	Script: &dynatrace.HttpMonitorScriptTypeArgs{
    		Requests: dynatrace.HttpMonitorScriptRequestArray{
    			&dynatrace.HttpMonitorScriptRequestArgs{
    				Method: pulumi.String("string"),
    				Url:    pulumi.String("string"),
    				Authentication: &dynatrace.HttpMonitorScriptRequestAuthenticationArgs{
    					Credentials: pulumi.String("string"),
    					Type:        pulumi.String("string"),
    					KdcIp:       pulumi.String("string"),
    					RealmName:   pulumi.String("string"),
    				},
    				Body: pulumi.String("string"),
    				Configuration: &dynatrace.HttpMonitorScriptRequestConfigurationArgs{
    					AcceptAnyCertificate: pulumi.Bool(false),
    					ClientCertificate:    pulumi.String("string"),
    					FollowRedirects:      pulumi.Bool(false),
    					Headers: &dynatrace.HttpMonitorScriptRequestConfigurationHeadersArgs{
    						Headers: dynatrace.HttpMonitorScriptRequestConfigurationHeadersHeaderArray{
    							&dynatrace.HttpMonitorScriptRequestConfigurationHeadersHeaderArgs{
    								Name:  pulumi.String("string"),
    								Value: pulumi.String("string"),
    							},
    						},
    					},
    					SensitiveData: pulumi.Bool(false),
    					UserAgent:     pulumi.String("string"),
    				},
    				Description:    pulumi.String("string"),
    				PostProcessing: pulumi.String("string"),
    				PreProcessing:  pulumi.String("string"),
    				RequestTimeout: pulumi.Int(0),
    				Validation: &dynatrace.HttpMonitorScriptRequestValidationArgs{
    					Rules: dynatrace.HttpMonitorScriptRequestValidationRuleArray{
    						&dynatrace.HttpMonitorScriptRequestValidationRuleArgs{
    							Type:        pulumi.String("string"),
    							Value:       pulumi.String("string"),
    							PassIfFound: pulumi.Bool(false),
    						},
    					},
    				},
    			},
    		},
    	},
    	Tags: dynatrace.HttpMonitorTagArray{
    		&dynatrace.HttpMonitorTagArgs{
    			Tags: dynatrace.HttpMonitorTagTagArray{
    				&dynatrace.HttpMonitorTagTagArgs{
    					Context: pulumi.String("string"),
    					Key:     pulumi.String("string"),
    					Source:  pulumi.String("string"),
    					Value:   pulumi.String("string"),
    				},
    			},
    		},
    	},
    })
    
    var httpMonitorResource = new HttpMonitor("httpMonitorResource", HttpMonitorArgs.builder()
        .frequency(0)
        .anomalyDetections(HttpMonitorAnomalyDetectionArgs.builder()
            .loadingTimeThresholds(HttpMonitorAnomalyDetectionLoadingTimeThresholdArgs.builder()
                .enabled(false)
                .thresholds(HttpMonitorAnomalyDetectionLoadingTimeThresholdThresholdArgs.builder()
                    .thresholds(HttpMonitorAnomalyDetectionLoadingTimeThresholdThresholdThresholdArgs.builder()
                        .valueMs(0)
                        .eventIndex(0)
                        .requestIndex(0)
                        .type("string")
                        .build())
                    .build())
                .build())
            .outageHandlings(HttpMonitorAnomalyDetectionOutageHandlingArgs.builder()
                .globalOutage(false)
                .globalOutagePolicies(HttpMonitorAnomalyDetectionOutageHandlingGlobalOutagePolicyArgs.builder()
                    .consecutiveRuns(0)
                    .build())
                .localOutage(false)
                .localOutagePolicies(HttpMonitorAnomalyDetectionOutageHandlingLocalOutagePolicyArgs.builder()
                    .affectedLocations(0)
                    .consecutiveRuns(0)
                    .build())
                .retryOnError(false)
                .build())
            .build())
        .enabled(false)
        .locations("string")
        .manuallyAssignedApps("string")
        .name("string")
        .noScript(false)
        .script(HttpMonitorScriptArgs.builder()
            .requests(HttpMonitorScriptRequestArgs.builder()
                .method("string")
                .url("string")
                .authentication(HttpMonitorScriptRequestAuthenticationArgs.builder()
                    .credentials("string")
                    .type("string")
                    .kdcIp("string")
                    .realmName("string")
                    .build())
                .body("string")
                .configuration(HttpMonitorScriptRequestConfigurationArgs.builder()
                    .acceptAnyCertificate(false)
                    .clientCertificate("string")
                    .followRedirects(false)
                    .headers(HttpMonitorScriptRequestConfigurationHeadersArgs.builder()
                        .headers(HttpMonitorScriptRequestConfigurationHeadersHeaderArgs.builder()
                            .name("string")
                            .value("string")
                            .build())
                        .build())
                    .sensitiveData(false)
                    .userAgent("string")
                    .build())
                .description("string")
                .postProcessing("string")
                .preProcessing("string")
                .requestTimeout(0)
                .validation(HttpMonitorScriptRequestValidationArgs.builder()
                    .rules(HttpMonitorScriptRequestValidationRuleArgs.builder()
                        .type("string")
                        .value("string")
                        .passIfFound(false)
                        .build())
                    .build())
                .build())
            .build())
        .tags(HttpMonitorTagArgs.builder()
            .tags(HttpMonitorTagTagArgs.builder()
                .context("string")
                .key("string")
                .source("string")
                .value("string")
                .build())
            .build())
        .build());
    
    http_monitor_resource = dynatrace.HttpMonitor("httpMonitorResource",
        frequency=0,
        anomaly_detections=[dynatrace.HttpMonitorAnomalyDetectionArgs(
            loading_time_thresholds=[dynatrace.HttpMonitorAnomalyDetectionLoadingTimeThresholdArgs(
                enabled=False,
                thresholds=[dynatrace.HttpMonitorAnomalyDetectionLoadingTimeThresholdThresholdArgs(
                    thresholds=[dynatrace.HttpMonitorAnomalyDetectionLoadingTimeThresholdThresholdThresholdArgs(
                        value_ms=0,
                        event_index=0,
                        request_index=0,
                        type="string",
                    )],
                )],
            )],
            outage_handlings=[dynatrace.HttpMonitorAnomalyDetectionOutageHandlingArgs(
                global_outage=False,
                global_outage_policies=[dynatrace.HttpMonitorAnomalyDetectionOutageHandlingGlobalOutagePolicyArgs(
                    consecutive_runs=0,
                )],
                local_outage=False,
                local_outage_policies=[dynatrace.HttpMonitorAnomalyDetectionOutageHandlingLocalOutagePolicyArgs(
                    affected_locations=0,
                    consecutive_runs=0,
                )],
                retry_on_error=False,
            )],
        )],
        enabled=False,
        locations=["string"],
        manually_assigned_apps=["string"],
        name="string",
        no_script=False,
        script=dynatrace.HttpMonitorScriptArgs(
            requests=[dynatrace.HttpMonitorScriptRequestArgs(
                method="string",
                url="string",
                authentication=dynatrace.HttpMonitorScriptRequestAuthenticationArgs(
                    credentials="string",
                    type="string",
                    kdc_ip="string",
                    realm_name="string",
                ),
                body="string",
                configuration=dynatrace.HttpMonitorScriptRequestConfigurationArgs(
                    accept_any_certificate=False,
                    client_certificate="string",
                    follow_redirects=False,
                    headers=dynatrace.HttpMonitorScriptRequestConfigurationHeadersArgs(
                        headers=[dynatrace.HttpMonitorScriptRequestConfigurationHeadersHeaderArgs(
                            name="string",
                            value="string",
                        )],
                    ),
                    sensitive_data=False,
                    user_agent="string",
                ),
                description="string",
                post_processing="string",
                pre_processing="string",
                request_timeout=0,
                validation=dynatrace.HttpMonitorScriptRequestValidationArgs(
                    rules=[dynatrace.HttpMonitorScriptRequestValidationRuleArgs(
                        type="string",
                        value="string",
                        pass_if_found=False,
                    )],
                ),
            )],
        ),
        tags=[dynatrace.HttpMonitorTagArgs(
            tags=[dynatrace.HttpMonitorTagTagArgs(
                context="string",
                key="string",
                source="string",
                value="string",
            )],
        )])
    
    const httpMonitorResource = new dynatrace.HttpMonitor("httpMonitorResource", {
        frequency: 0,
        anomalyDetections: [{
            loadingTimeThresholds: [{
                enabled: false,
                thresholds: [{
                    thresholds: [{
                        valueMs: 0,
                        eventIndex: 0,
                        requestIndex: 0,
                        type: "string",
                    }],
                }],
            }],
            outageHandlings: [{
                globalOutage: false,
                globalOutagePolicies: [{
                    consecutiveRuns: 0,
                }],
                localOutage: false,
                localOutagePolicies: [{
                    affectedLocations: 0,
                    consecutiveRuns: 0,
                }],
                retryOnError: false,
            }],
        }],
        enabled: false,
        locations: ["string"],
        manuallyAssignedApps: ["string"],
        name: "string",
        noScript: false,
        script: {
            requests: [{
                method: "string",
                url: "string",
                authentication: {
                    credentials: "string",
                    type: "string",
                    kdcIp: "string",
                    realmName: "string",
                },
                body: "string",
                configuration: {
                    acceptAnyCertificate: false,
                    clientCertificate: "string",
                    followRedirects: false,
                    headers: {
                        headers: [{
                            name: "string",
                            value: "string",
                        }],
                    },
                    sensitiveData: false,
                    userAgent: "string",
                },
                description: "string",
                postProcessing: "string",
                preProcessing: "string",
                requestTimeout: 0,
                validation: {
                    rules: [{
                        type: "string",
                        value: "string",
                        passIfFound: false,
                    }],
                },
            }],
        },
        tags: [{
            tags: [{
                context: "string",
                key: "string",
                source: "string",
                value: "string",
            }],
        }],
    });
    
    type: dynatrace:HttpMonitor
    properties:
        anomalyDetections:
            - loadingTimeThresholds:
                - enabled: false
                  thresholds:
                    - thresholds:
                        - eventIndex: 0
                          requestIndex: 0
                          type: string
                          valueMs: 0
              outageHandlings:
                - globalOutage: false
                  globalOutagePolicies:
                    - consecutiveRuns: 0
                  localOutage: false
                  localOutagePolicies:
                    - affectedLocations: 0
                      consecutiveRuns: 0
                  retryOnError: false
        enabled: false
        frequency: 0
        locations:
            - string
        manuallyAssignedApps:
            - string
        name: string
        noScript: false
        script:
            requests:
                - authentication:
                    credentials: string
                    kdcIp: string
                    realmName: string
                    type: string
                  body: string
                  configuration:
                    acceptAnyCertificate: false
                    clientCertificate: string
                    followRedirects: false
                    headers:
                        headers:
                            - name: string
                              value: string
                    sensitiveData: false
                    userAgent: string
                  description: string
                  method: string
                  postProcessing: string
                  preProcessing: string
                  requestTimeout: 0
                  url: string
                  validation:
                    rules:
                        - passIfFound: false
                          type: string
                          value: string
        tags:
            - tags:
                - context: string
                  key: string
                  source: string
                  value: string
    

    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<Pulumiverse.Dynatrace.Inputs.HttpMonitorAnomalyDetection>
    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.
    NoScript bool
    No script block - handle requests via dynatrace.HttpMonitorScript resource
    Script Pulumiverse.Dynatrace.Inputs.HttpMonitorScript
    The HTTP Script
    Tags List<Pulumiverse.Dynatrace.Inputs.HttpMonitorTag>
    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.
    NoScript bool
    No script block - handle requests via dynatrace.HttpMonitorScript resource
    Script HttpMonitorScriptTypeArgs
    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<HttpMonitorAnomalyDetection>
    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.
    noScript Boolean
    No script block - handle requests via dynatrace.HttpMonitorScript resource
    script HttpMonitorScript
    The HTTP Script
    tags List<HttpMonitorTag>
    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 HttpMonitorAnomalyDetection[]
    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.
    noScript boolean
    No script block - handle requests via dynatrace.HttpMonitorScript resource
    script HttpMonitorScript
    The HTTP Script
    tags HttpMonitorTag[]
    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.
    no_script bool
    No script block - handle requests via dynatrace.HttpMonitorScript resource
    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.
    noScript Boolean
    No script block - handle requests via dynatrace.HttpMonitorScript resource
    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,
            no_script: Optional[bool] = 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<Pulumiverse.Dynatrace.Inputs.HttpMonitorAnomalyDetection>
    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.
    NoScript bool
    No script block - handle requests via dynatrace.HttpMonitorScript resource
    Script Pulumiverse.Dynatrace.Inputs.HttpMonitorScript
    The HTTP Script
    Tags List<Pulumiverse.Dynatrace.Inputs.HttpMonitorTag>
    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.
    NoScript bool
    No script block - handle requests via dynatrace.HttpMonitorScript resource
    Script HttpMonitorScriptTypeArgs
    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<HttpMonitorAnomalyDetection>
    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.
    noScript Boolean
    No script block - handle requests via dynatrace.HttpMonitorScript resource
    script HttpMonitorScript
    The HTTP Script
    tags List<HttpMonitorTag>
    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 HttpMonitorAnomalyDetection[]
    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.
    noScript boolean
    No script block - handle requests via dynatrace.HttpMonitorScript resource
    script HttpMonitorScript
    The HTTP Script
    tags HttpMonitorTag[]
    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.
    no_script bool
    No script block - handle requests via dynatrace.HttpMonitorScript resource
    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.
    noScript Boolean
    No script block - handle requests via dynatrace.HttpMonitorScript resource
    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, HttpMonitorAnomalyDetectionArgs

    loadingTimeThresholds List<Property Map>
    Thresholds for loading times
    outageHandlings List<Property Map>
    Outage handling configuration

    HttpMonitorAnomalyDetectionLoadingTimeThreshold, HttpMonitorAnomalyDetectionLoadingTimeThresholdArgs

    Enabled bool
    Performance threshold is enabled (true) or disabled (false)
    Thresholds List<Pulumiverse.Dynatrace.Inputs.HttpMonitorAnomalyDetectionLoadingTimeThresholdThreshold>
    The list of performance threshold rules
    Enabled bool
    Performance threshold is enabled (true) or disabled (false)
    Thresholds []HttpMonitorAnomalyDetectionLoadingTimeThresholdThreshold
    The list of performance threshold rules
    enabled Boolean
    Performance threshold is enabled (true) or disabled (false)
    thresholds List<HttpMonitorAnomalyDetectionLoadingTimeThresholdThreshold>
    The list of performance threshold rules
    enabled boolean
    Performance threshold is enabled (true) or disabled (false)
    thresholds HttpMonitorAnomalyDetectionLoadingTimeThresholdThreshold[]
    The list of performance threshold rules
    enabled bool
    Performance threshold is enabled (true) or disabled (false)
    thresholds Sequence[HttpMonitorAnomalyDetectionLoadingTimeThresholdThreshold]
    The list of performance threshold rules
    enabled Boolean
    Performance threshold is enabled (true) or disabled (false)
    thresholds List<Property Map>
    The list of performance threshold rules

    HttpMonitorAnomalyDetectionLoadingTimeThresholdThreshold, HttpMonitorAnomalyDetectionLoadingTimeThresholdThresholdArgs

    thresholds List<Property Map>
    The list of performance threshold rules

    HttpMonitorAnomalyDetectionLoadingTimeThresholdThresholdThreshold, HttpMonitorAnomalyDetectionLoadingTimeThresholdThresholdThresholdArgs

    ValueMs int
    Notify if monitor takes longer than X milliseconds to load
    EventIndex int
    Specify the event to which an ACTION threshold applies
    RequestIndex int
    Specify the request to which an ACTION threshold applies
    Type string
    The type of the threshold: TOTAL (total loading time) or ACTION (action loading time)
    ValueMs int
    Notify if monitor takes longer than X milliseconds to load
    EventIndex int
    Specify the event to which an ACTION threshold applies
    RequestIndex int
    Specify the request to which an ACTION threshold applies
    Type string
    The type of the threshold: TOTAL (total loading time) or ACTION (action loading time)
    valueMs Integer
    Notify if monitor takes longer than X milliseconds to load
    eventIndex Integer
    Specify the event to which an ACTION threshold applies
    requestIndex Integer
    Specify the request to which an ACTION threshold applies
    type String
    The type of the threshold: TOTAL (total loading time) or ACTION (action loading time)
    valueMs number
    Notify if monitor takes longer than X milliseconds to load
    eventIndex number
    Specify the event to which an ACTION threshold applies
    requestIndex number
    Specify the request to which an ACTION threshold applies
    type string
    The type of the threshold: TOTAL (total loading time) or ACTION (action loading time)
    value_ms int
    Notify if monitor takes longer than X milliseconds to load
    event_index int
    Specify the event to which an ACTION threshold applies
    request_index int
    Specify the request to which an ACTION threshold applies
    type str
    The type of the threshold: TOTAL (total loading time) or ACTION (action loading time)
    valueMs Number
    Notify if monitor takes longer than X milliseconds to load
    eventIndex Number
    Specify the event to which an ACTION threshold applies
    requestIndex Number
    Specify the request to which an ACTION threshold applies
    type String
    The type of the threshold: TOTAL (total loading time) or ACTION (action loading time)

    HttpMonitorAnomalyDetectionOutageHandling, HttpMonitorAnomalyDetectionOutageHandlingArgs

    GlobalOutage bool
    (Field has overlap with dynatrace.BrowserMonitorOutage and dynatrace.HttpMonitorOutage) When enabled (true), generate a problem and send an alert when the monitor is unavailable at all configured locations
    GlobalOutagePolicies List<Pulumiverse.Dynatrace.Inputs.HttpMonitorAnomalyDetectionOutageHandlingGlobalOutagePolicy>
    (Field has overlap with dynatrace.BrowserMonitorOutage and dynatrace.HttpMonitorOutage) Global outage handling configuration.
    LocalOutage bool
    (Field has overlap with dynatrace.BrowserMonitorOutage and dynatrace.HttpMonitorOutage) When enabled (true), generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location
    LocalOutagePolicies List<Pulumiverse.Dynatrace.Inputs.HttpMonitorAnomalyDetectionOutageHandlingLocalOutagePolicy>

    (Field has overlap with dynatrace.BrowserMonitorOutage and dynatrace.HttpMonitorOutage) Local outage handling configuration.

    Alert if affectedLocations of locations are unable to access the web application consecutiveRuns times consecutively

    RetryOnError bool
    (Field has overlap with dynatrace.BrowserMonitorOutage and dynatrace.HttpMonitorOutage) Schedule retry if browser monitor execution results in a fail. For HTTP monitors this property is ignored
    GlobalOutage bool
    (Field has overlap with dynatrace.BrowserMonitorOutage and dynatrace.HttpMonitorOutage) When enabled (true), generate a problem and send an alert when the monitor is unavailable at all configured locations
    GlobalOutagePolicies []HttpMonitorAnomalyDetectionOutageHandlingGlobalOutagePolicy
    (Field has overlap with dynatrace.BrowserMonitorOutage and dynatrace.HttpMonitorOutage) Global outage handling configuration.
    LocalOutage bool
    (Field has overlap with dynatrace.BrowserMonitorOutage and dynatrace.HttpMonitorOutage) When enabled (true), generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location
    LocalOutagePolicies []HttpMonitorAnomalyDetectionOutageHandlingLocalOutagePolicy

    (Field has overlap with dynatrace.BrowserMonitorOutage and dynatrace.HttpMonitorOutage) Local outage handling configuration.

    Alert if affectedLocations of locations are unable to access the web application consecutiveRuns times consecutively

    RetryOnError bool
    (Field has overlap with dynatrace.BrowserMonitorOutage and dynatrace.HttpMonitorOutage) Schedule retry if browser monitor execution results in a fail. For HTTP monitors this property is ignored
    globalOutage Boolean
    (Field has overlap with dynatrace.BrowserMonitorOutage and dynatrace.HttpMonitorOutage) When enabled (true), generate a problem and send an alert when the monitor is unavailable at all configured locations
    globalOutagePolicies List<HttpMonitorAnomalyDetectionOutageHandlingGlobalOutagePolicy>
    (Field has overlap with dynatrace.BrowserMonitorOutage and dynatrace.HttpMonitorOutage) Global outage handling configuration.
    localOutage Boolean
    (Field has overlap with dynatrace.BrowserMonitorOutage and dynatrace.HttpMonitorOutage) When enabled (true), generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location
    localOutagePolicies List<HttpMonitorAnomalyDetectionOutageHandlingLocalOutagePolicy>

    (Field has overlap with dynatrace.BrowserMonitorOutage and dynatrace.HttpMonitorOutage) Local outage handling configuration.

    Alert if affectedLocations of locations are unable to access the web application consecutiveRuns times consecutively

    retryOnError Boolean
    (Field has overlap with dynatrace.BrowserMonitorOutage and dynatrace.HttpMonitorOutage) Schedule retry if browser monitor execution results in a fail. For HTTP monitors this property is ignored
    globalOutage boolean
    (Field has overlap with dynatrace.BrowserMonitorOutage and dynatrace.HttpMonitorOutage) When enabled (true), generate a problem and send an alert when the monitor is unavailable at all configured locations
    globalOutagePolicies HttpMonitorAnomalyDetectionOutageHandlingGlobalOutagePolicy[]
    (Field has overlap with dynatrace.BrowserMonitorOutage and dynatrace.HttpMonitorOutage) Global outage handling configuration.
    localOutage boolean
    (Field has overlap with dynatrace.BrowserMonitorOutage and dynatrace.HttpMonitorOutage) When enabled (true), generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location
    localOutagePolicies HttpMonitorAnomalyDetectionOutageHandlingLocalOutagePolicy[]

    (Field has overlap with dynatrace.BrowserMonitorOutage and dynatrace.HttpMonitorOutage) Local outage handling configuration.

    Alert if affectedLocations of locations are unable to access the web application consecutiveRuns times consecutively

    retryOnError boolean
    (Field has overlap with dynatrace.BrowserMonitorOutage and dynatrace.HttpMonitorOutage) Schedule retry if browser monitor execution results in a fail. For HTTP monitors this property is ignored
    global_outage bool
    (Field has overlap with dynatrace.BrowserMonitorOutage and dynatrace.HttpMonitorOutage) When enabled (true), generate a problem and send an alert when the monitor is unavailable at all configured locations
    global_outage_policies Sequence[HttpMonitorAnomalyDetectionOutageHandlingGlobalOutagePolicy]
    (Field has overlap with dynatrace.BrowserMonitorOutage and dynatrace.HttpMonitorOutage) Global outage handling configuration.
    local_outage bool
    (Field has overlap with dynatrace.BrowserMonitorOutage and dynatrace.HttpMonitorOutage) When enabled (true), generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location
    local_outage_policies Sequence[HttpMonitorAnomalyDetectionOutageHandlingLocalOutagePolicy]

    (Field has overlap with dynatrace.BrowserMonitorOutage and dynatrace.HttpMonitorOutage) Local outage handling configuration.

    Alert if affectedLocations of locations are unable to access the web application consecutiveRuns times consecutively

    retry_on_error bool
    (Field has overlap with dynatrace.BrowserMonitorOutage and dynatrace.HttpMonitorOutage) Schedule retry if browser monitor execution results in a fail. For HTTP monitors this property is ignored
    globalOutage Boolean
    (Field has overlap with dynatrace.BrowserMonitorOutage and dynatrace.HttpMonitorOutage) When enabled (true), generate a problem and send an alert when the monitor is unavailable at all configured locations
    globalOutagePolicies List<Property Map>
    (Field has overlap with dynatrace.BrowserMonitorOutage and dynatrace.HttpMonitorOutage) Global outage handling configuration.
    localOutage Boolean
    (Field has overlap with dynatrace.BrowserMonitorOutage and dynatrace.HttpMonitorOutage) When enabled (true), generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location
    localOutagePolicies List<Property Map>

    (Field has overlap with dynatrace.BrowserMonitorOutage and dynatrace.HttpMonitorOutage) Local outage handling configuration.

    Alert if affectedLocations of locations are unable to access the web application consecutiveRuns times consecutively

    retryOnError Boolean
    (Field has overlap with dynatrace.BrowserMonitorOutage and dynatrace.HttpMonitorOutage) Schedule retry if browser monitor execution results in a fail. For HTTP monitors this property is ignored

    HttpMonitorAnomalyDetectionOutageHandlingGlobalOutagePolicy, HttpMonitorAnomalyDetectionOutageHandlingGlobalOutagePolicyArgs

    ConsecutiveRuns int
    The number of consecutive fails to trigger an alert
    ConsecutiveRuns int
    The number of consecutive fails to trigger an alert
    consecutiveRuns Integer
    The number of consecutive fails to trigger an alert
    consecutiveRuns number
    The number of consecutive fails to trigger an alert
    consecutive_runs int
    The number of consecutive fails to trigger an alert
    consecutiveRuns Number
    The number of consecutive fails to trigger an alert

    HttpMonitorAnomalyDetectionOutageHandlingLocalOutagePolicy, HttpMonitorAnomalyDetectionOutageHandlingLocalOutagePolicyArgs

    AffectedLocations int
    The number of affected locations to trigger an alert
    ConsecutiveRuns int
    The number of consecutive fails to trigger an alert
    AffectedLocations int
    The number of affected locations to trigger an alert
    ConsecutiveRuns int
    The number of consecutive fails to trigger an alert
    affectedLocations Integer
    The number of affected locations to trigger an alert
    consecutiveRuns Integer
    The number of consecutive fails to trigger an alert
    affectedLocations number
    The number of affected locations to trigger an alert
    consecutiveRuns number
    The number of consecutive fails to trigger an alert
    affected_locations int
    The number of affected locations to trigger an alert
    consecutive_runs int
    The number of consecutive fails to trigger an alert
    affectedLocations Number
    The number of affected locations to trigger an alert
    consecutiveRuns Number
    The number of consecutive fails to trigger an alert

    HttpMonitorScript, HttpMonitorScriptArgs

    Requests List<Pulumiverse.Dynatrace.Inputs.HttpMonitorScriptRequest>
    A HTTP request to be performed by the monitor.
    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, HttpMonitorScriptRequestArgs

    Method string
    The HTTP method of the request.
    Url string
    The URL to check.
    Authentication Pulumiverse.Dynatrace.Inputs.HttpMonitorScriptRequestAuthentication
    Authentication options for this request
    Body string
    The body of the HTTP request.
    Configuration Pulumiverse.Dynatrace.Inputs.HttpMonitorScriptRequestConfiguration
    The setup of the monitor
    Description string
    A short description of the event to appear in the web UI.
    PostProcessing string
    Javascript code to execute after sending the request.
    PreProcessing string
    Javascript code to execute before sending the request.
    RequestTimeout int
    Adapt request timeout option - the maximum time this request is allowed to consume. Keep in mind the maximum timeout of the complete monitor is 60 seconds
    Validation Pulumiverse.Dynatrace.Inputs.HttpMonitorScriptRequestValidation
    Validation helps you verify that your HTTP monitor loads the expected content
    Method string
    The HTTP method of the request.
    Url string
    The URL to check.
    Authentication HttpMonitorScriptRequestAuthentication
    Authentication options for this request
    Body string
    The body of the HTTP request.
    Configuration HttpMonitorScriptRequestConfiguration
    The setup of the monitor
    Description string
    A short description of the event to appear in the web UI.
    PostProcessing string
    Javascript code to execute after sending the request.
    PreProcessing string
    Javascript code to execute before sending the request.
    RequestTimeout int
    Adapt request timeout option - the maximum time this request is allowed to consume. Keep in mind the maximum timeout of the complete monitor is 60 seconds
    Validation HttpMonitorScriptRequestValidation
    Validation helps you verify that your HTTP monitor loads the expected content
    method String
    The HTTP method of the request.
    url String
    The URL to check.
    authentication HttpMonitorScriptRequestAuthentication
    Authentication options for this request
    body String
    The body of the HTTP request.
    configuration HttpMonitorScriptRequestConfiguration
    The setup of the monitor
    description String
    A short description of the event to appear in the web UI.
    postProcessing String
    Javascript code to execute after sending the request.
    preProcessing String
    Javascript code to execute before sending the request.
    requestTimeout Integer
    Adapt request timeout option - the maximum time this request is allowed to consume. Keep in mind the maximum timeout of the complete monitor is 60 seconds
    validation HttpMonitorScriptRequestValidation
    Validation helps you verify that your HTTP monitor loads the expected content
    method string
    The HTTP method of the request.
    url string
    The URL to check.
    authentication HttpMonitorScriptRequestAuthentication
    Authentication options for this request
    body string
    The body of the HTTP request.
    configuration HttpMonitorScriptRequestConfiguration
    The setup of the monitor
    description string
    A short description of the event to appear in the web UI.
    postProcessing string
    Javascript code to execute after sending the request.
    preProcessing string
    Javascript code to execute before sending the request.
    requestTimeout number
    Adapt request timeout option - the maximum time this request is allowed to consume. Keep in mind the maximum timeout of the complete monitor is 60 seconds
    validation HttpMonitorScriptRequestValidation
    Validation helps you verify that your HTTP monitor loads the expected content
    method str
    The HTTP method of the request.
    url str
    The URL to check.
    authentication HttpMonitorScriptRequestAuthentication
    Authentication options for this request
    body str
    The body of the HTTP request.
    configuration HttpMonitorScriptRequestConfiguration
    The setup of the monitor
    description str
    A short description of the event to appear in the web UI.
    post_processing str
    Javascript code to execute after sending the request.
    pre_processing str
    Javascript code to execute before sending the request.
    request_timeout int
    Adapt request timeout option - the maximum time this request is allowed to consume. Keep in mind the maximum timeout of the complete monitor is 60 seconds
    validation HttpMonitorScriptRequestValidation
    Validation helps you verify that your HTTP monitor loads the expected content
    method String
    The HTTP method of the request.
    url String
    The URL to check.
    authentication Property Map
    Authentication options for this request
    body String
    The body of the HTTP request.
    configuration Property Map
    The setup of the monitor
    description String
    A short description of the event to appear in the web UI.
    postProcessing String
    Javascript code to execute after sending the request.
    preProcessing String
    Javascript code to execute before sending the request.
    requestTimeout Number
    Adapt request timeout option - the maximum time this request is allowed to consume. Keep in mind the maximum timeout of the complete monitor is 60 seconds
    validation Property Map
    Validation helps you verify that your HTTP monitor loads the expected content

    HttpMonitorScriptRequestAuthentication, HttpMonitorScriptRequestAuthenticationArgs

    Credentials string
    The ID of the credentials within the Dynatrace Credentials Vault.
    Type string
    The type of authentication. Possible values are BASIC_AUTHENTICATION, NTLM and KERBEROS.
    KdcIp string
    The KDC IP. Valid and required only if the type of authentication is KERBEROS.
    RealmName string
    The Realm Name. Valid and required only if the type of authentication is KERBEROS.
    Credentials string
    The ID of the credentials within the Dynatrace Credentials Vault.
    Type string
    The type of authentication. Possible values are BASIC_AUTHENTICATION, NTLM and KERBEROS.
    KdcIp string
    The KDC IP. Valid and required only if the type of authentication is KERBEROS.
    RealmName string
    The Realm Name. Valid and required only if the type of authentication is KERBEROS.
    credentials String
    The ID of the credentials within the Dynatrace Credentials Vault.
    type String
    The type of authentication. Possible values are BASIC_AUTHENTICATION, NTLM and KERBEROS.
    kdcIp String
    The KDC IP. Valid and required only if the type of authentication is KERBEROS.
    realmName String
    The Realm Name. Valid and required only if the type of authentication is KERBEROS.
    credentials string
    The ID of the credentials within the Dynatrace Credentials Vault.
    type string
    The type of authentication. Possible values are BASIC_AUTHENTICATION, NTLM and KERBEROS.
    kdcIp string
    The KDC IP. Valid and required only if the type of authentication is KERBEROS.
    realmName string
    The Realm Name. Valid and required only if the type of authentication is KERBEROS.
    credentials str
    The ID of the credentials within the Dynatrace Credentials Vault.
    type str
    The type of authentication. Possible values are BASIC_AUTHENTICATION, NTLM and KERBEROS.
    kdc_ip str
    The KDC IP. Valid and required only if the type of authentication is KERBEROS.
    realm_name str
    The Realm Name. Valid and required only if the type of authentication is KERBEROS.
    credentials String
    The ID of the credentials within the Dynatrace Credentials Vault.
    type String
    The type of authentication. Possible values are BASIC_AUTHENTICATION, NTLM and KERBEROS.
    kdcIp String
    The KDC IP. Valid and required only if the type of authentication is KERBEROS.
    realmName String
    The Realm Name. Valid and required only if the type of authentication is KERBEROS.

    HttpMonitorScriptRequestConfiguration, HttpMonitorScriptRequestConfigurationArgs

    AcceptAnyCertificate bool
    If set to false, then the monitor fails with invalid SSL certificates.
    ClientCertificate string
    The client certificate, if applicable - eg. CREDENTIALS_VAULT-XXXXXXXXXXXXXXXX
    FollowRedirects bool

    If set to false, redirects are reported as successful requests with response code 3xx.

    If not set, the false option is used.

    Headers Pulumiverse.Dynatrace.Inputs.HttpMonitorScriptRequestConfigurationHeaders
    The setup of the monitor
    SensitiveData bool
    Option not to store and display request and response bodies and header values in execution details, true or false. If not set, false.
    UserAgent string
    The User agent of the request
    AcceptAnyCertificate bool
    If set to false, then the monitor fails with invalid SSL certificates.
    ClientCertificate string
    The client certificate, if applicable - eg. CREDENTIALS_VAULT-XXXXXXXXXXXXXXXX
    FollowRedirects bool

    If set to false, redirects are reported as successful requests with response code 3xx.

    If not set, the false option is used.

    Headers HttpMonitorScriptRequestConfigurationHeaders
    The setup of the monitor
    SensitiveData bool
    Option not to store and display request and response bodies and header values in execution details, true or false. If not set, false.
    UserAgent string
    The User agent of the request
    acceptAnyCertificate Boolean
    If set to false, then the monitor fails with invalid SSL certificates.
    clientCertificate String
    The client certificate, if applicable - eg. CREDENTIALS_VAULT-XXXXXXXXXXXXXXXX
    followRedirects Boolean

    If set to false, redirects are reported as successful requests with response code 3xx.

    If not set, the false option is used.

    headers HttpMonitorScriptRequestConfigurationHeaders
    The setup of the monitor
    sensitiveData Boolean
    Option not to store and display request and response bodies and header values in execution details, true or false. If not set, false.
    userAgent String
    The User agent of the request
    acceptAnyCertificate boolean
    If set to false, then the monitor fails with invalid SSL certificates.
    clientCertificate string
    The client certificate, if applicable - eg. CREDENTIALS_VAULT-XXXXXXXXXXXXXXXX
    followRedirects boolean

    If set to false, redirects are reported as successful requests with response code 3xx.

    If not set, the false option is used.

    headers HttpMonitorScriptRequestConfigurationHeaders
    The setup of the monitor
    sensitiveData boolean
    Option not to store and display request and response bodies and header values in execution details, true or false. If not set, false.
    userAgent string
    The User agent of the request
    accept_any_certificate bool
    If set to false, then the monitor fails with invalid SSL certificates.
    client_certificate str
    The client certificate, if applicable - eg. CREDENTIALS_VAULT-XXXXXXXXXXXXXXXX
    follow_redirects bool

    If set to false, redirects are reported as successful requests with response code 3xx.

    If not set, the false option is used.

    headers HttpMonitorScriptRequestConfigurationHeaders
    The setup of the monitor
    sensitive_data bool
    Option not to store and display request and response bodies and header values in execution details, true or false. If not set, false.
    user_agent str
    The User agent of the request
    acceptAnyCertificate Boolean
    If set to false, then the monitor fails with invalid SSL certificates.
    clientCertificate String
    The client certificate, if applicable - eg. CREDENTIALS_VAULT-XXXXXXXXXXXXXXXX
    followRedirects Boolean

    If set to false, redirects are reported as successful requests with response code 3xx.

    If not set, the false option is used.

    headers Property Map
    The setup of the monitor
    sensitiveData Boolean
    Option not to store and display request and response bodies and header values in execution details, true or false. If not set, false.
    userAgent String
    The User agent of the request

    HttpMonitorScriptRequestConfigurationHeaders, HttpMonitorScriptRequestConfigurationHeadersArgs

    headers List<Property Map>
    contains an HTTP header of the request

    HttpMonitorScriptRequestConfigurationHeadersHeader, HttpMonitorScriptRequestConfigurationHeadersHeaderArgs

    Name string
    The key of the header
    Value string
    The value of the header
    Name string
    The key of the header
    Value string
    The value of the header
    name String
    The key of the header
    value String
    The value of the header
    name string
    The key of the header
    value string
    The value of the header
    name str
    The key of the header
    value str
    The value of the header
    name String
    The key of the header
    value String
    The value of the header

    HttpMonitorScriptRequestValidation, HttpMonitorScriptRequestValidationArgs

    rules List<Property Map>
    A list of validation rules

    HttpMonitorScriptRequestValidationRule, HttpMonitorScriptRequestValidationRuleArgs

    Type string
    The type of the rule. Possible values are patternConstraint, regexConstraint, httpStatusesList and certificateExpiryDateConstraint
    Value string
    The content to look for
    PassIfFound bool
    The validation condition. true means validation succeeds if the specified content/element is found. false means validation fails if the specified content/element is found. Always specify false for certificateExpiryDateConstraint to fail the monitor if SSL certificate expiry is within the specified number of days
    Type string
    The type of the rule. Possible values are patternConstraint, regexConstraint, httpStatusesList and certificateExpiryDateConstraint
    Value string
    The content to look for
    PassIfFound bool
    The validation condition. true means validation succeeds if the specified content/element is found. false means validation fails if the specified content/element is found. Always specify false for certificateExpiryDateConstraint to fail the monitor if SSL certificate expiry is within the specified number of days
    type String
    The type of the rule. Possible values are patternConstraint, regexConstraint, httpStatusesList and certificateExpiryDateConstraint
    value String
    The content to look for
    passIfFound Boolean
    The validation condition. true means validation succeeds if the specified content/element is found. false means validation fails if the specified content/element is found. Always specify false for certificateExpiryDateConstraint to fail the monitor if SSL certificate expiry is within the specified number of days
    type string
    The type of the rule. Possible values are patternConstraint, regexConstraint, httpStatusesList and certificateExpiryDateConstraint
    value string
    The content to look for
    passIfFound boolean
    The validation condition. true means validation succeeds if the specified content/element is found. false means validation fails if the specified content/element is found. Always specify false for certificateExpiryDateConstraint to fail the monitor if SSL certificate expiry is within the specified number of days
    type str
    The type of the rule. Possible values are patternConstraint, regexConstraint, httpStatusesList and certificateExpiryDateConstraint
    value str
    The content to look for
    pass_if_found bool
    The validation condition. true means validation succeeds if the specified content/element is found. false means validation fails if the specified content/element is found. Always specify false for certificateExpiryDateConstraint to fail the monitor if SSL certificate expiry is within the specified number of days
    type String
    The type of the rule. Possible values are patternConstraint, regexConstraint, httpStatusesList and certificateExpiryDateConstraint
    value String
    The content to look for
    passIfFound Boolean
    The validation condition. true means validation succeeds if the specified content/element is found. false means validation fails if the specified content/element is found. Always specify false for certificateExpiryDateConstraint to fail the monitor if SSL certificate expiry is within the specified number of days

    HttpMonitorTag, HttpMonitorTagArgs

    Tags List<Pulumiverse.Dynatrace.Inputs.HttpMonitorTagTag>
    Tag with source of a Dynatrace entity.
    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, HttpMonitorTagTagArgs

    Context string
    The origin of the tag. Supported values are AWS, AWS_GENERIC, AZURE, CLOUD_FOUNDRY, CONTEXTLESS, ENVIRONMENT, GOOGLE_CLOUD and KUBERNETES.
    Key string

    The key of the tag.

    Custom tags have the tag value here.

    Source string
    The source of the tag. Supported values are USER, RULE_BASED and AUTO.
    Value string

    The value of the tag.

    Not applicable to custom tags.

    Context string
    The origin of the tag. Supported values are AWS, AWS_GENERIC, AZURE, CLOUD_FOUNDRY, CONTEXTLESS, ENVIRONMENT, GOOGLE_CLOUD and KUBERNETES.
    Key string

    The key of the tag.

    Custom tags have the tag value here.

    Source string
    The source of the tag. Supported values are USER, RULE_BASED and AUTO.
    Value string

    The value of the tag.

    Not applicable to custom tags.

    context String
    The origin of the tag. Supported values are AWS, AWS_GENERIC, AZURE, CLOUD_FOUNDRY, CONTEXTLESS, ENVIRONMENT, GOOGLE_CLOUD and KUBERNETES.
    key String

    The key of the tag.

    Custom tags have the tag value here.

    source String
    The source of the tag. Supported values are USER, RULE_BASED and AUTO.
    value String

    The value of the tag.

    Not applicable to custom tags.

    context string
    The origin of the tag. Supported values are AWS, AWS_GENERIC, AZURE, CLOUD_FOUNDRY, CONTEXTLESS, ENVIRONMENT, GOOGLE_CLOUD and KUBERNETES.
    key string

    The key of the tag.

    Custom tags have the tag value here.

    source string
    The source of the tag. Supported values are USER, RULE_BASED and AUTO.
    value string

    The value of the tag.

    Not applicable to custom tags.

    context str
    The origin of the tag. Supported values are AWS, AWS_GENERIC, AZURE, CLOUD_FOUNDRY, CONTEXTLESS, ENVIRONMENT, GOOGLE_CLOUD and KUBERNETES.
    key str

    The key of the tag.

    Custom tags have the tag value here.

    source str
    The source of the tag. Supported values are USER, RULE_BASED and AUTO.
    value str

    The value of the tag.

    Not applicable to custom tags.

    context String
    The origin of the tag. Supported values are AWS, AWS_GENERIC, AZURE, CLOUD_FOUNDRY, CONTEXTLESS, ENVIRONMENT, GOOGLE_CLOUD and KUBERNETES.
    key String

    The key of the tag.

    Custom tags have the tag value here.

    source String
    The source of the tag. Supported values are USER, RULE_BASED and AUTO.
    value String

    The value of the tag.

    Not applicable to custom tags.

    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