requestnaming

package
v1.64.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Order

type Order struct {
	Values []Ref `json:"values"`
}

func (*Order) MarshalHCL

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

func (*Order) Schema

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

func (*Order) UnmarshalHCL

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

type Ref

type Ref struct {
	ID string `json:"id"`
}

type RequestNaming

type RequestNaming struct {
	// Order           *string                    `json:"order,omitempty"`           // The order string. Sorting request namings alphabetically by their order string determines their relative ordering.\n\nTypically this is managed by Dynatrace internally and will not be present in GET responses nor used if present in PUT/POST requests, except where noted otherwise
	Enabled         bool                       `json:"enabled"`                   // The rule is enabled (`true`) or disabled (`false`)
	NamingPattern   string                     `json:"namingPattern"`             // The name to be assigned to matching requests
	ManagementZones []string                   `json:"managementZones,omitempty"` // Specifies the management zones for which this rule should be applied
	Conditions      service.Conditions         `json:"conditions"`                // The set of conditions for the request naming rule usage. \n\n You can specify several conditions. The request has to match **all** the specified conditions for the rule to trigger
	Placeholders    service.Placeholders       `json:"placeholders"`              // The list of custom placeholders to be used in the naming pattern. \n\n It enables you to extract a request attribute value or other request attribute and use it in the request naming pattern.
	Unknowns        map[string]json.RawMessage `json:"-"`
}

func (*RequestNaming) MarshalHCL

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

func (*RequestNaming) MarshalJSON

func (me *RequestNaming) MarshalJSON() ([]byte, error)

func (*RequestNaming) Name

func (me *RequestNaming) Name() string

func (*RequestNaming) Schema

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

func (*RequestNaming) UnmarshalHCL

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

func (*RequestNaming) UnmarshalJSON

func (me *RequestNaming) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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