anomaly_detection_hosts

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for anomaly detection hosts API

func (*Client) GetAnomalyDetectionHosts

func (a *Client) GetAnomalyDetectionHosts(params *GetAnomalyDetectionHostsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAnomalyDetectionHostsOK, error)

GetAnomalyDetectionHosts gets the configuration of anomaly detection for hosts

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateAnomalyDetectionHosts

UpdateAnomalyDetectionHosts updates the configuration of anomaly detection for hosts

func (*Client) ValidateUpdateAnomalyDetectionHosts

ValidateUpdateAnomalyDetectionHosts validates the configuration of anomaly detection for hosts for the p u t anomaly detection hosts request

type ClientService

type ClientService interface {
	GetAnomalyDetectionHosts(params *GetAnomalyDetectionHostsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAnomalyDetectionHostsOK, error)

	UpdateAnomalyDetectionHosts(params *UpdateAnomalyDetectionHostsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAnomalyDetectionHostsNoContent, error)

	ValidateUpdateAnomalyDetectionHosts(params *ValidateUpdateAnomalyDetectionHostsParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateUpdateAnomalyDetectionHostsNoContent, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new anomaly detection hosts API client.

type GetAnomalyDetectionHostsOK

type GetAnomalyDetectionHostsOK struct {
	Payload *dynatrace.HostsAnomalyDetectionConfig
}

GetAnomalyDetectionHostsOK handles this case with default header values.

successful operation

func NewGetAnomalyDetectionHostsOK

func NewGetAnomalyDetectionHostsOK() *GetAnomalyDetectionHostsOK

NewGetAnomalyDetectionHostsOK creates a GetAnomalyDetectionHostsOK with default headers values

func (*GetAnomalyDetectionHostsOK) Error

func (*GetAnomalyDetectionHostsOK) GetPayload

type GetAnomalyDetectionHostsParams

type GetAnomalyDetectionHostsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAnomalyDetectionHostsParams contains all the parameters to send to the API endpoint for the get anomaly detection hosts operation typically these are written to a http.Request

func NewGetAnomalyDetectionHostsParams

func NewGetAnomalyDetectionHostsParams() *GetAnomalyDetectionHostsParams

NewGetAnomalyDetectionHostsParams creates a new GetAnomalyDetectionHostsParams object with the default values initialized.

func NewGetAnomalyDetectionHostsParamsWithContext

func NewGetAnomalyDetectionHostsParamsWithContext(ctx context.Context) *GetAnomalyDetectionHostsParams

NewGetAnomalyDetectionHostsParamsWithContext creates a new GetAnomalyDetectionHostsParams object with the default values initialized, and the ability to set a context for a request

func NewGetAnomalyDetectionHostsParamsWithHTTPClient

func NewGetAnomalyDetectionHostsParamsWithHTTPClient(client *http.Client) *GetAnomalyDetectionHostsParams

NewGetAnomalyDetectionHostsParamsWithHTTPClient creates a new GetAnomalyDetectionHostsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAnomalyDetectionHostsParamsWithTimeout

func NewGetAnomalyDetectionHostsParamsWithTimeout(timeout time.Duration) *GetAnomalyDetectionHostsParams

NewGetAnomalyDetectionHostsParamsWithTimeout creates a new GetAnomalyDetectionHostsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAnomalyDetectionHostsParams) SetContext

func (o *GetAnomalyDetectionHostsParams) SetContext(ctx context.Context)

SetContext adds the context to the get anomaly detection hosts params

func (*GetAnomalyDetectionHostsParams) SetHTTPClient

func (o *GetAnomalyDetectionHostsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get anomaly detection hosts params

func (*GetAnomalyDetectionHostsParams) SetTimeout

func (o *GetAnomalyDetectionHostsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get anomaly detection hosts params

func (*GetAnomalyDetectionHostsParams) WithContext

WithContext adds the context to the get anomaly detection hosts params

func (*GetAnomalyDetectionHostsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get anomaly detection hosts params

func (*GetAnomalyDetectionHostsParams) WithTimeout

WithTimeout adds the timeout to the get anomaly detection hosts params

func (*GetAnomalyDetectionHostsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAnomalyDetectionHostsReader

type GetAnomalyDetectionHostsReader struct {
	// contains filtered or unexported fields
}

GetAnomalyDetectionHostsReader is a Reader for the GetAnomalyDetectionHosts structure.

func (*GetAnomalyDetectionHostsReader) ReadResponse

func (o *GetAnomalyDetectionHostsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateAnomalyDetectionHostsBadRequest

type UpdateAnomalyDetectionHostsBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

UpdateAnomalyDetectionHostsBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewUpdateAnomalyDetectionHostsBadRequest

func NewUpdateAnomalyDetectionHostsBadRequest() *UpdateAnomalyDetectionHostsBadRequest

NewUpdateAnomalyDetectionHostsBadRequest creates a UpdateAnomalyDetectionHostsBadRequest with default headers values

func (*UpdateAnomalyDetectionHostsBadRequest) Error

func (*UpdateAnomalyDetectionHostsBadRequest) GetPayload

type UpdateAnomalyDetectionHostsNoContent

type UpdateAnomalyDetectionHostsNoContent struct {
}

UpdateAnomalyDetectionHostsNoContent handles this case with default header values.

Success. Configuration has been updated. Response doesn't have a body.

func NewUpdateAnomalyDetectionHostsNoContent

func NewUpdateAnomalyDetectionHostsNoContent() *UpdateAnomalyDetectionHostsNoContent

NewUpdateAnomalyDetectionHostsNoContent creates a UpdateAnomalyDetectionHostsNoContent with default headers values

func (*UpdateAnomalyDetectionHostsNoContent) Error

type UpdateAnomalyDetectionHostsParams

type UpdateAnomalyDetectionHostsParams struct {

	/*Body
	  The JSON body of the request. Contains parameters of the host anomaly detection configuration.

	*/
	Body *dynatrace.HostsAnomalyDetectionConfig

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateAnomalyDetectionHostsParams contains all the parameters to send to the API endpoint for the update anomaly detection hosts operation typically these are written to a http.Request

func NewUpdateAnomalyDetectionHostsParams

func NewUpdateAnomalyDetectionHostsParams() *UpdateAnomalyDetectionHostsParams

NewUpdateAnomalyDetectionHostsParams creates a new UpdateAnomalyDetectionHostsParams object with the default values initialized.

func NewUpdateAnomalyDetectionHostsParamsWithContext

func NewUpdateAnomalyDetectionHostsParamsWithContext(ctx context.Context) *UpdateAnomalyDetectionHostsParams

NewUpdateAnomalyDetectionHostsParamsWithContext creates a new UpdateAnomalyDetectionHostsParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateAnomalyDetectionHostsParamsWithHTTPClient

func NewUpdateAnomalyDetectionHostsParamsWithHTTPClient(client *http.Client) *UpdateAnomalyDetectionHostsParams

NewUpdateAnomalyDetectionHostsParamsWithHTTPClient creates a new UpdateAnomalyDetectionHostsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateAnomalyDetectionHostsParamsWithTimeout

func NewUpdateAnomalyDetectionHostsParamsWithTimeout(timeout time.Duration) *UpdateAnomalyDetectionHostsParams

NewUpdateAnomalyDetectionHostsParamsWithTimeout creates a new UpdateAnomalyDetectionHostsParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateAnomalyDetectionHostsParams) SetBody

SetBody adds the body to the update anomaly detection hosts params

func (*UpdateAnomalyDetectionHostsParams) SetContext

SetContext adds the context to the update anomaly detection hosts params

func (*UpdateAnomalyDetectionHostsParams) SetHTTPClient

func (o *UpdateAnomalyDetectionHostsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update anomaly detection hosts params

func (*UpdateAnomalyDetectionHostsParams) SetTimeout

func (o *UpdateAnomalyDetectionHostsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update anomaly detection hosts params

func (*UpdateAnomalyDetectionHostsParams) WithBody

WithBody adds the body to the update anomaly detection hosts params

func (*UpdateAnomalyDetectionHostsParams) WithContext

WithContext adds the context to the update anomaly detection hosts params

func (*UpdateAnomalyDetectionHostsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update anomaly detection hosts params

func (*UpdateAnomalyDetectionHostsParams) WithTimeout

WithTimeout adds the timeout to the update anomaly detection hosts params

func (*UpdateAnomalyDetectionHostsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateAnomalyDetectionHostsReader

type UpdateAnomalyDetectionHostsReader struct {
	// contains filtered or unexported fields
}

UpdateAnomalyDetectionHostsReader is a Reader for the UpdateAnomalyDetectionHosts structure.

func (*UpdateAnomalyDetectionHostsReader) ReadResponse

func (o *UpdateAnomalyDetectionHostsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ValidateUpdateAnomalyDetectionHostsBadRequest

type ValidateUpdateAnomalyDetectionHostsBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

ValidateUpdateAnomalyDetectionHostsBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewValidateUpdateAnomalyDetectionHostsBadRequest

func NewValidateUpdateAnomalyDetectionHostsBadRequest() *ValidateUpdateAnomalyDetectionHostsBadRequest

NewValidateUpdateAnomalyDetectionHostsBadRequest creates a ValidateUpdateAnomalyDetectionHostsBadRequest with default headers values

func (*ValidateUpdateAnomalyDetectionHostsBadRequest) Error

func (*ValidateUpdateAnomalyDetectionHostsBadRequest) GetPayload

type ValidateUpdateAnomalyDetectionHostsNoContent

type ValidateUpdateAnomalyDetectionHostsNoContent struct {
}

ValidateUpdateAnomalyDetectionHostsNoContent handles this case with default header values.

Validated. The submitted configuration is valid. Response doesn't have a body.

func NewValidateUpdateAnomalyDetectionHostsNoContent

func NewValidateUpdateAnomalyDetectionHostsNoContent() *ValidateUpdateAnomalyDetectionHostsNoContent

NewValidateUpdateAnomalyDetectionHostsNoContent creates a ValidateUpdateAnomalyDetectionHostsNoContent with default headers values

func (*ValidateUpdateAnomalyDetectionHostsNoContent) Error

type ValidateUpdateAnomalyDetectionHostsParams

type ValidateUpdateAnomalyDetectionHostsParams struct {

	/*Body
	  The JSON body of the request. Contains parameters of the host anomaly detection configuration.

	*/
	Body *dynatrace.HostsAnomalyDetectionConfig

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ValidateUpdateAnomalyDetectionHostsParams contains all the parameters to send to the API endpoint for the validate update anomaly detection hosts operation typically these are written to a http.Request

func NewValidateUpdateAnomalyDetectionHostsParams

func NewValidateUpdateAnomalyDetectionHostsParams() *ValidateUpdateAnomalyDetectionHostsParams

NewValidateUpdateAnomalyDetectionHostsParams creates a new ValidateUpdateAnomalyDetectionHostsParams object with the default values initialized.

func NewValidateUpdateAnomalyDetectionHostsParamsWithContext

func NewValidateUpdateAnomalyDetectionHostsParamsWithContext(ctx context.Context) *ValidateUpdateAnomalyDetectionHostsParams

NewValidateUpdateAnomalyDetectionHostsParamsWithContext creates a new ValidateUpdateAnomalyDetectionHostsParams object with the default values initialized, and the ability to set a context for a request

func NewValidateUpdateAnomalyDetectionHostsParamsWithHTTPClient

func NewValidateUpdateAnomalyDetectionHostsParamsWithHTTPClient(client *http.Client) *ValidateUpdateAnomalyDetectionHostsParams

NewValidateUpdateAnomalyDetectionHostsParamsWithHTTPClient creates a new ValidateUpdateAnomalyDetectionHostsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewValidateUpdateAnomalyDetectionHostsParamsWithTimeout

func NewValidateUpdateAnomalyDetectionHostsParamsWithTimeout(timeout time.Duration) *ValidateUpdateAnomalyDetectionHostsParams

NewValidateUpdateAnomalyDetectionHostsParamsWithTimeout creates a new ValidateUpdateAnomalyDetectionHostsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ValidateUpdateAnomalyDetectionHostsParams) SetBody

SetBody adds the body to the validate update anomaly detection hosts params

func (*ValidateUpdateAnomalyDetectionHostsParams) SetContext

SetContext adds the context to the validate update anomaly detection hosts params

func (*ValidateUpdateAnomalyDetectionHostsParams) SetHTTPClient

func (o *ValidateUpdateAnomalyDetectionHostsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the validate update anomaly detection hosts params

func (*ValidateUpdateAnomalyDetectionHostsParams) SetTimeout

SetTimeout adds the timeout to the validate update anomaly detection hosts params

func (*ValidateUpdateAnomalyDetectionHostsParams) WithBody

WithBody adds the body to the validate update anomaly detection hosts params

func (*ValidateUpdateAnomalyDetectionHostsParams) WithContext

WithContext adds the context to the validate update anomaly detection hosts params

func (*ValidateUpdateAnomalyDetectionHostsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate update anomaly detection hosts params

func (*ValidateUpdateAnomalyDetectionHostsParams) WithTimeout

WithTimeout adds the timeout to the validate update anomaly detection hosts params

func (*ValidateUpdateAnomalyDetectionHostsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateUpdateAnomalyDetectionHostsReader

type ValidateUpdateAnomalyDetectionHostsReader struct {
	// contains filtered or unexported fields
}

ValidateUpdateAnomalyDetectionHostsReader is a Reader for the ValidateUpdateAnomalyDetectionHosts structure.

func (*ValidateUpdateAnomalyDetectionHostsReader) ReadResponse

func (o *ValidateUpdateAnomalyDetectionHostsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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