1. Packages
  2. Dynatrace
  3. API Docs
  4. HttpMonitorScript
Dynatrace v0.16.0 published on Tuesday, Sep 10, 2024 by Pulumiverse

dynatrace.HttpMonitorScript

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.16.0 published on Tuesday, Sep 10, 2024 by Pulumiverse

    Create HttpMonitorScript Resource

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

    Constructor syntax

    new HttpMonitorScript(name: string, args: HttpMonitorScriptArgs, opts?: CustomResourceOptions);
    @overload
    def HttpMonitorScript(resource_name: str,
                          args: HttpMonitorScriptInitArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def HttpMonitorScript(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          http_id: Optional[str] = None,
                          script: Optional[HttpMonitorScriptScriptArgs] = None)
    func NewHttpMonitorScript(ctx *Context, name string, args HttpMonitorScriptArgs, opts ...ResourceOption) (*HttpMonitorScript, error)
    public HttpMonitorScript(string name, HttpMonitorScriptArgs args, CustomResourceOptions? opts = null)
    public HttpMonitorScript(String name, HttpMonitorScriptArgs args)
    public HttpMonitorScript(String name, HttpMonitorScriptArgs args, CustomResourceOptions options)
    
    type: dynatrace:HttpMonitorScript
    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 HttpMonitorScriptArgs
    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 HttpMonitorScriptInitArgs
    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 HttpMonitorScriptArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args HttpMonitorScriptArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args HttpMonitorScriptArgs
    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 httpMonitorScriptResource = new Dynatrace.HttpMonitorScript("httpMonitorScriptResource", new()
    {
        HttpId = "string",
        Script = new Dynatrace.Inputs.HttpMonitorScriptScriptArgs
        {
            Requests = new[]
            {
                new Dynatrace.Inputs.HttpMonitorScriptScriptRequestArgs
                {
                    Method = "string",
                    Url = "string",
                    Authentication = new Dynatrace.Inputs.HttpMonitorScriptScriptRequestAuthenticationArgs
                    {
                        Credentials = "string",
                        Type = "string",
                        KdcIp = "string",
                        RealmName = "string",
                    },
                    Body = "string",
                    Configuration = new Dynatrace.Inputs.HttpMonitorScriptScriptRequestConfigurationArgs
                    {
                        AcceptAnyCertificate = false,
                        ClientCertificate = "string",
                        FollowRedirects = false,
                        Headers = new Dynatrace.Inputs.HttpMonitorScriptScriptRequestConfigurationHeadersArgs
                        {
                            Headers = new[]
                            {
                                new Dynatrace.Inputs.HttpMonitorScriptScriptRequestConfigurationHeadersHeaderArgs
                                {
                                    Name = "string",
                                    Value = "string",
                                },
                            },
                        },
                        SensitiveData = false,
                        UserAgent = "string",
                    },
                    Description = "string",
                    PostProcessing = "string",
                    PreProcessing = "string",
                    RequestTimeout = 0,
                    Validation = new Dynatrace.Inputs.HttpMonitorScriptScriptRequestValidationArgs
                    {
                        Rules = new[]
                        {
                            new Dynatrace.Inputs.HttpMonitorScriptScriptRequestValidationRuleArgs
                            {
                                Type = "string",
                                Value = "string",
                                PassIfFound = false,
                            },
                        },
                    },
                },
            },
        },
    });
    
    example, err := dynatrace.NewHttpMonitorScript(ctx, "httpMonitorScriptResource", &dynatrace.HttpMonitorScriptArgs{
    	HttpId: pulumi.String("string"),
    	Script: &dynatrace.HttpMonitorScriptScriptArgs{
    		Requests: dynatrace.HttpMonitorScriptScriptRequestArray{
    			&dynatrace.HttpMonitorScriptScriptRequestArgs{
    				Method: pulumi.String("string"),
    				Url:    pulumi.String("string"),
    				Authentication: &dynatrace.HttpMonitorScriptScriptRequestAuthenticationArgs{
    					Credentials: pulumi.String("string"),
    					Type:        pulumi.String("string"),
    					KdcIp:       pulumi.String("string"),
    					RealmName:   pulumi.String("string"),
    				},
    				Body: pulumi.String("string"),
    				Configuration: &dynatrace.HttpMonitorScriptScriptRequestConfigurationArgs{
    					AcceptAnyCertificate: pulumi.Bool(false),
    					ClientCertificate:    pulumi.String("string"),
    					FollowRedirects:      pulumi.Bool(false),
    					Headers: &dynatrace.HttpMonitorScriptScriptRequestConfigurationHeadersArgs{
    						Headers: dynatrace.HttpMonitorScriptScriptRequestConfigurationHeadersHeaderArray{
    							&dynatrace.HttpMonitorScriptScriptRequestConfigurationHeadersHeaderArgs{
    								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.HttpMonitorScriptScriptRequestValidationArgs{
    					Rules: dynatrace.HttpMonitorScriptScriptRequestValidationRuleArray{
    						&dynatrace.HttpMonitorScriptScriptRequestValidationRuleArgs{
    							Type:        pulumi.String("string"),
    							Value:       pulumi.String("string"),
    							PassIfFound: pulumi.Bool(false),
    						},
    					},
    				},
    			},
    		},
    	},
    })
    
    var httpMonitorScriptResource = new HttpMonitorScript("httpMonitorScriptResource", HttpMonitorScriptArgs.builder()
        .httpId("string")
        .script(HttpMonitorScriptScriptArgs.builder()
            .requests(HttpMonitorScriptScriptRequestArgs.builder()
                .method("string")
                .url("string")
                .authentication(HttpMonitorScriptScriptRequestAuthenticationArgs.builder()
                    .credentials("string")
                    .type("string")
                    .kdcIp("string")
                    .realmName("string")
                    .build())
                .body("string")
                .configuration(HttpMonitorScriptScriptRequestConfigurationArgs.builder()
                    .acceptAnyCertificate(false)
                    .clientCertificate("string")
                    .followRedirects(false)
                    .headers(HttpMonitorScriptScriptRequestConfigurationHeadersArgs.builder()
                        .headers(HttpMonitorScriptScriptRequestConfigurationHeadersHeaderArgs.builder()
                            .name("string")
                            .value("string")
                            .build())
                        .build())
                    .sensitiveData(false)
                    .userAgent("string")
                    .build())
                .description("string")
                .postProcessing("string")
                .preProcessing("string")
                .requestTimeout(0)
                .validation(HttpMonitorScriptScriptRequestValidationArgs.builder()
                    .rules(HttpMonitorScriptScriptRequestValidationRuleArgs.builder()
                        .type("string")
                        .value("string")
                        .passIfFound(false)
                        .build())
                    .build())
                .build())
            .build())
        .build());
    
    http_monitor_script_resource = dynatrace.HttpMonitorScript("httpMonitorScriptResource",
        http_id="string",
        script=dynatrace.HttpMonitorScriptScriptArgs(
            requests=[dynatrace.HttpMonitorScriptScriptRequestArgs(
                method="string",
                url="string",
                authentication=dynatrace.HttpMonitorScriptScriptRequestAuthenticationArgs(
                    credentials="string",
                    type="string",
                    kdc_ip="string",
                    realm_name="string",
                ),
                body="string",
                configuration=dynatrace.HttpMonitorScriptScriptRequestConfigurationArgs(
                    accept_any_certificate=False,
                    client_certificate="string",
                    follow_redirects=False,
                    headers=dynatrace.HttpMonitorScriptScriptRequestConfigurationHeadersArgs(
                        headers=[dynatrace.HttpMonitorScriptScriptRequestConfigurationHeadersHeaderArgs(
                            name="string",
                            value="string",
                        )],
                    ),
                    sensitive_data=False,
                    user_agent="string",
                ),
                description="string",
                post_processing="string",
                pre_processing="string",
                request_timeout=0,
                validation=dynatrace.HttpMonitorScriptScriptRequestValidationArgs(
                    rules=[dynatrace.HttpMonitorScriptScriptRequestValidationRuleArgs(
                        type="string",
                        value="string",
                        pass_if_found=False,
                    )],
                ),
            )],
        ))
    
    const httpMonitorScriptResource = new dynatrace.HttpMonitorScript("httpMonitorScriptResource", {
        httpId: "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,
                    }],
                },
            }],
        },
    });
    
    type: dynatrace:HttpMonitorScript
    properties:
        httpId: 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
    

    HttpMonitorScript 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 HttpMonitorScript resource accepts the following input properties:

    HttpId string
    The ID of the HTTP monitor
    Script Pulumiverse.Dynatrace.Inputs.HttpMonitorScriptScript
    The HTTP Script
    HttpId string
    The ID of the HTTP monitor
    Script HttpMonitorScriptScriptArgs
    The HTTP Script
    httpId String
    The ID of the HTTP monitor
    script HttpMonitorScriptScript
    The HTTP Script
    httpId string
    The ID of the HTTP monitor
    script HttpMonitorScriptScript
    The HTTP Script
    http_id str
    The ID of the HTTP monitor
    script HttpMonitorScriptScriptArgs
    The HTTP Script
    httpId String
    The ID of the HTTP monitor
    script Property Map
    The HTTP Script

    Outputs

    All input properties are implicitly available as output properties. Additionally, the HttpMonitorScript 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 HttpMonitorScript Resource

    Get an existing HttpMonitorScript 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?: HttpMonitorScriptState, opts?: CustomResourceOptions): HttpMonitorScript
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            http_id: Optional[str] = None,
            script: Optional[HttpMonitorScriptScriptArgs] = None) -> HttpMonitorScript
    func GetHttpMonitorScript(ctx *Context, name string, id IDInput, state *HttpMonitorScriptState, opts ...ResourceOption) (*HttpMonitorScript, error)
    public static HttpMonitorScript Get(string name, Input<string> id, HttpMonitorScriptState? state, CustomResourceOptions? opts = null)
    public static HttpMonitorScript get(String name, Output<String> id, HttpMonitorScriptState 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:
    HttpId string
    The ID of the HTTP monitor
    Script Pulumiverse.Dynatrace.Inputs.HttpMonitorScriptScript
    The HTTP Script
    HttpId string
    The ID of the HTTP monitor
    Script HttpMonitorScriptScriptArgs
    The HTTP Script
    httpId String
    The ID of the HTTP monitor
    script HttpMonitorScriptScript
    The HTTP Script
    httpId string
    The ID of the HTTP monitor
    script HttpMonitorScriptScript
    The HTTP Script
    http_id str
    The ID of the HTTP monitor
    script HttpMonitorScriptScriptArgs
    The HTTP Script
    httpId String
    The ID of the HTTP monitor
    script Property Map
    The HTTP Script

    Supporting Types

    HttpMonitorScriptScript, HttpMonitorScriptScriptArgs

    Requests []HttpMonitorScriptScriptRequest
    A HTTP request to be performed by the monitor.
    requests List<HttpMonitorScriptScriptRequest>
    A HTTP request to be performed by the monitor.
    requests HttpMonitorScriptScriptRequest[]
    A HTTP request to be performed by the monitor.
    requests Sequence[HttpMonitorScriptScriptRequest]
    A HTTP request to be performed by the monitor.
    requests List<Property Map>
    A HTTP request to be performed by the monitor.

    HttpMonitorScriptScriptRequest, HttpMonitorScriptScriptRequestArgs

    Method string
    The HTTP method of the request.
    Url string
    The URL to check.
    Authentication Pulumiverse.Dynatrace.Inputs.HttpMonitorScriptScriptRequestAuthentication
    Authentication options for this request
    Body string
    The body of the HTTP request.
    Configuration Pulumiverse.Dynatrace.Inputs.HttpMonitorScriptScriptRequestConfiguration
    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.HttpMonitorScriptScriptRequestValidation
    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 HttpMonitorScriptScriptRequestAuthentication
    Authentication options for this request
    Body string
    The body of the HTTP request.
    Configuration HttpMonitorScriptScriptRequestConfiguration
    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 HttpMonitorScriptScriptRequestValidation
    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 HttpMonitorScriptScriptRequestAuthentication
    Authentication options for this request
    body String
    The body of the HTTP request.
    configuration HttpMonitorScriptScriptRequestConfiguration
    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 HttpMonitorScriptScriptRequestValidation
    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 HttpMonitorScriptScriptRequestAuthentication
    Authentication options for this request
    body string
    The body of the HTTP request.
    configuration HttpMonitorScriptScriptRequestConfiguration
    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 HttpMonitorScriptScriptRequestValidation
    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 HttpMonitorScriptScriptRequestAuthentication
    Authentication options for this request
    body str
    The body of the HTTP request.
    configuration HttpMonitorScriptScriptRequestConfiguration
    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 HttpMonitorScriptScriptRequestValidation
    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

    HttpMonitorScriptScriptRequestAuthentication, HttpMonitorScriptScriptRequestAuthenticationArgs

    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.

    HttpMonitorScriptScriptRequestConfiguration, HttpMonitorScriptScriptRequestConfigurationArgs

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

    HttpMonitorScriptScriptRequestConfigurationHeaders, HttpMonitorScriptScriptRequestConfigurationHeadersArgs

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

    HttpMonitorScriptScriptRequestConfigurationHeadersHeader, HttpMonitorScriptScriptRequestConfigurationHeadersHeaderArgs

    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

    HttpMonitorScriptScriptRequestValidation, HttpMonitorScriptScriptRequestValidationArgs

    rules List<Property Map>
    A list of validation rules

    HttpMonitorScriptScriptRequestValidationRule, HttpMonitorScriptScriptRequestValidationRuleArgs

    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

    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.16.0 published on Tuesday, Sep 10, 2024 by Pulumiverse