httpparameters

package
v1.46.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrokenLinks struct {
	BrokenLinkDomains       []string `json:"brokenLinkDomains,omitempty"` // If your application relies on other hosts at other domains, add the associated domain names here. Once configured, Dynatrace will consider 404s thrown by hosts at these domains to be service failures related to your application.
	Http404NotFoundFailures bool     `json:"http404NotFoundFailures"`     // Consider 404 HTTP response codes as failures
}

func (*BrokenLinks) MarshalHCL

func (me *BrokenLinks) MarshalHCL(properties hcl.Properties) error

func (*BrokenLinks) Schema

func (me *BrokenLinks) Schema() map[string]*schema.Schema

func (*BrokenLinks) UnmarshalHCL

func (me *BrokenLinks) UnmarshalHCL(decoder hcl.Decoder) error

type HttpResponseCodes

type HttpResponseCodes struct {
	ClientSideErrors                    string `json:"clientSideErrors"`                    // HTTP response codes which indicate client side errors
	FailOnMissingResponseCodeClientSide bool   `json:"failOnMissingResponseCodeClientSide"` // Treat missing HTTP response code as client side error
	FailOnMissingResponseCodeServerSide bool   `json:"failOnMissingResponseCodeServerSide"` // Treat missing HTTP response code as server side errors
	ServerSideErrors                    string `json:"serverSideErrors"`                    // HTTP response codes which indicate an error on the server side
}

func (*HttpResponseCodes) MarshalHCL

func (me *HttpResponseCodes) MarshalHCL(properties hcl.Properties) error

func (*HttpResponseCodes) Schema

func (me *HttpResponseCodes) Schema() map[string]*schema.Schema

func (*HttpResponseCodes) UnmarshalHCL

func (me *HttpResponseCodes) UnmarshalHCL(decoder hcl.Decoder) error

type Settings

type Settings struct {
	BrokenLinks       *BrokenLinks       `json:"brokenLinks,omitempty"`       // HTTP 404 response codes are thrown when a web server can't find a certain page. 404s are classified as broken links on the client side and therefore aren't considered to be service failures. By enabling this setting, you can have 404s treated as server-side service failures.
	Enabled           bool               `json:"enabled"`                     // This setting is enabled (`true`) or disabled (`false`)
	HttpResponseCodes *HttpResponseCodes `json:"httpResponseCodes,omitempty"` // HTTP response codes
	ServiceID         string             `json:"-" scope:"serviceId"`         // The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
}

func (*Settings) MarshalHCL

func (me *Settings) MarshalHCL(properties hcl.Properties) error

func (*Settings) Name

func (me *Settings) Name() string

func (*Settings) Schema

func (me *Settings) Schema() map[string]*schema.Schema

func (*Settings) UnmarshalHCL

func (me *Settings) UnmarshalHCL(decoder hcl.Decoder) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL