1. Packages
  2. Dynatrace
  3. API Docs
  4. HttpMonitor
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

dynatrace.HttpMonitor

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

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

    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",
        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"),
    	Script: &dynatrace.HttpMonitorScriptArgs{
    		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")
        .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",
        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",
        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
        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<Lbrlabs.PulumiPackage.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.
    Script Lbrlabs.PulumiPackage.Dynatrace.Inputs.HttpMonitorScript
    The HTTP Script
    Tags List<Lbrlabs.PulumiPackage.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.
    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<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.
    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.
    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.
    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.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.
    Script Lbrlabs.PulumiPackage.Dynatrace.Inputs.HttpMonitorScript
    The HTTP Script
    Tags List<Lbrlabs.PulumiPackage.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.
    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<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.
    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.
    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.
    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, HttpMonitorAnomalyDetectionArgs

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

    HttpMonitorAnomalyDetectionLoadingTimeThreshold, HttpMonitorAnomalyDetectionLoadingTimeThresholdArgs

    HttpMonitorAnomalyDetectionLoadingTimeThresholdThreshold, HttpMonitorAnomalyDetectionLoadingTimeThresholdThresholdArgs

    HttpMonitorAnomalyDetectionLoadingTimeThresholdThresholdThreshold, HttpMonitorAnomalyDetectionLoadingTimeThresholdThresholdThresholdArgs

    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, HttpMonitorAnomalyDetectionOutageHandlingArgs

    HttpMonitorAnomalyDetectionOutageHandlingGlobalOutagePolicy, HttpMonitorAnomalyDetectionOutageHandlingGlobalOutagePolicyArgs

    HttpMonitorAnomalyDetectionOutageHandlingLocalOutagePolicy, HttpMonitorAnomalyDetectionOutageHandlingLocalOutagePolicyArgs

    HttpMonitorScript, HttpMonitorScriptArgs

    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

    HttpMonitorScriptRequestAuthentication, HttpMonitorScriptRequestAuthenticationArgs

    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, HttpMonitorScriptRequestConfigurationArgs

    HttpMonitorScriptRequestConfigurationHeaders, HttpMonitorScriptRequestConfigurationHeadersArgs

    HttpMonitorScriptRequestConfigurationHeadersHeader, HttpMonitorScriptRequestConfigurationHeadersHeaderArgs

    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, HttpMonitorScriptRequestValidationArgs

    HttpMonitorScriptRequestValidationRule, HttpMonitorScriptRequestValidationRuleArgs

    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, HttpMonitorTagArgs

    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
    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.
    dynatrace logo
    Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs