anomaly_detection_database_services

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 database services API

func (*Client) GetAnomalyDetectionDatabaseServices

GetAnomalyDetectionDatabaseServices gets the configuration of anomaly detection for database services

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateAnomalyDetectionDatabaseServices

UpdateAnomalyDetectionDatabaseServices updates the configuration of anomaly detection for database services

func (*Client) ValidateUpdateAnomalyDetectionDatabaseServices

ValidateUpdateAnomalyDetectionDatabaseServices validates the payload for the p u t anomaly detection database services request

type ClientService

type ClientService interface {
	GetAnomalyDetectionDatabaseServices(params *GetAnomalyDetectionDatabaseServicesParams, authInfo runtime.ClientAuthInfoWriter) (*GetAnomalyDetectionDatabaseServicesOK, error)

	UpdateAnomalyDetectionDatabaseServices(params *UpdateAnomalyDetectionDatabaseServicesParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAnomalyDetectionDatabaseServicesNoContent, error)

	ValidateUpdateAnomalyDetectionDatabaseServices(params *ValidateUpdateAnomalyDetectionDatabaseServicesParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateUpdateAnomalyDetectionDatabaseServicesNoContent, 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 database services API client.

type GetAnomalyDetectionDatabaseServicesOK

type GetAnomalyDetectionDatabaseServicesOK struct {
	Payload *dynatrace.DatabaseAnomalyDetectionConfig
}

GetAnomalyDetectionDatabaseServicesOK handles this case with default header values.

successful operation

func NewGetAnomalyDetectionDatabaseServicesOK

func NewGetAnomalyDetectionDatabaseServicesOK() *GetAnomalyDetectionDatabaseServicesOK

NewGetAnomalyDetectionDatabaseServicesOK creates a GetAnomalyDetectionDatabaseServicesOK with default headers values

func (*GetAnomalyDetectionDatabaseServicesOK) Error

func (*GetAnomalyDetectionDatabaseServicesOK) GetPayload

type GetAnomalyDetectionDatabaseServicesParams

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

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

func NewGetAnomalyDetectionDatabaseServicesParams

func NewGetAnomalyDetectionDatabaseServicesParams() *GetAnomalyDetectionDatabaseServicesParams

NewGetAnomalyDetectionDatabaseServicesParams creates a new GetAnomalyDetectionDatabaseServicesParams object with the default values initialized.

func NewGetAnomalyDetectionDatabaseServicesParamsWithContext

func NewGetAnomalyDetectionDatabaseServicesParamsWithContext(ctx context.Context) *GetAnomalyDetectionDatabaseServicesParams

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

func NewGetAnomalyDetectionDatabaseServicesParamsWithHTTPClient

func NewGetAnomalyDetectionDatabaseServicesParamsWithHTTPClient(client *http.Client) *GetAnomalyDetectionDatabaseServicesParams

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

func NewGetAnomalyDetectionDatabaseServicesParamsWithTimeout

func NewGetAnomalyDetectionDatabaseServicesParamsWithTimeout(timeout time.Duration) *GetAnomalyDetectionDatabaseServicesParams

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

func (*GetAnomalyDetectionDatabaseServicesParams) SetContext

SetContext adds the context to the get anomaly detection database services params

func (*GetAnomalyDetectionDatabaseServicesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get anomaly detection database services params

func (*GetAnomalyDetectionDatabaseServicesParams) SetTimeout

SetTimeout adds the timeout to the get anomaly detection database services params

func (*GetAnomalyDetectionDatabaseServicesParams) WithContext

WithContext adds the context to the get anomaly detection database services params

func (*GetAnomalyDetectionDatabaseServicesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get anomaly detection database services params

func (*GetAnomalyDetectionDatabaseServicesParams) WithTimeout

WithTimeout adds the timeout to the get anomaly detection database services params

func (*GetAnomalyDetectionDatabaseServicesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAnomalyDetectionDatabaseServicesReader

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

GetAnomalyDetectionDatabaseServicesReader is a Reader for the GetAnomalyDetectionDatabaseServices structure.

func (*GetAnomalyDetectionDatabaseServicesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateAnomalyDetectionDatabaseServicesBadRequest

type UpdateAnomalyDetectionDatabaseServicesBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

UpdateAnomalyDetectionDatabaseServicesBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewUpdateAnomalyDetectionDatabaseServicesBadRequest

func NewUpdateAnomalyDetectionDatabaseServicesBadRequest() *UpdateAnomalyDetectionDatabaseServicesBadRequest

NewUpdateAnomalyDetectionDatabaseServicesBadRequest creates a UpdateAnomalyDetectionDatabaseServicesBadRequest with default headers values

func (*UpdateAnomalyDetectionDatabaseServicesBadRequest) Error

func (*UpdateAnomalyDetectionDatabaseServicesBadRequest) GetPayload

type UpdateAnomalyDetectionDatabaseServicesNoContent

type UpdateAnomalyDetectionDatabaseServicesNoContent struct {
}

UpdateAnomalyDetectionDatabaseServicesNoContent handles this case with default header values.

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

func NewUpdateAnomalyDetectionDatabaseServicesNoContent

func NewUpdateAnomalyDetectionDatabaseServicesNoContent() *UpdateAnomalyDetectionDatabaseServicesNoContent

NewUpdateAnomalyDetectionDatabaseServicesNoContent creates a UpdateAnomalyDetectionDatabaseServicesNoContent with default headers values

func (*UpdateAnomalyDetectionDatabaseServicesNoContent) Error

type UpdateAnomalyDetectionDatabaseServicesParams

type UpdateAnomalyDetectionDatabaseServicesParams struct {

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

	*/
	Body *dynatrace.DatabaseAnomalyDetectionConfig

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

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

func NewUpdateAnomalyDetectionDatabaseServicesParams

func NewUpdateAnomalyDetectionDatabaseServicesParams() *UpdateAnomalyDetectionDatabaseServicesParams

NewUpdateAnomalyDetectionDatabaseServicesParams creates a new UpdateAnomalyDetectionDatabaseServicesParams object with the default values initialized.

func NewUpdateAnomalyDetectionDatabaseServicesParamsWithContext

func NewUpdateAnomalyDetectionDatabaseServicesParamsWithContext(ctx context.Context) *UpdateAnomalyDetectionDatabaseServicesParams

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

func NewUpdateAnomalyDetectionDatabaseServicesParamsWithHTTPClient

func NewUpdateAnomalyDetectionDatabaseServicesParamsWithHTTPClient(client *http.Client) *UpdateAnomalyDetectionDatabaseServicesParams

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

func NewUpdateAnomalyDetectionDatabaseServicesParamsWithTimeout

func NewUpdateAnomalyDetectionDatabaseServicesParamsWithTimeout(timeout time.Duration) *UpdateAnomalyDetectionDatabaseServicesParams

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

func (*UpdateAnomalyDetectionDatabaseServicesParams) SetBody

SetBody adds the body to the update anomaly detection database services params

func (*UpdateAnomalyDetectionDatabaseServicesParams) SetContext

SetContext adds the context to the update anomaly detection database services params

func (*UpdateAnomalyDetectionDatabaseServicesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update anomaly detection database services params

func (*UpdateAnomalyDetectionDatabaseServicesParams) SetTimeout

SetTimeout adds the timeout to the update anomaly detection database services params

func (*UpdateAnomalyDetectionDatabaseServicesParams) WithBody

WithBody adds the body to the update anomaly detection database services params

func (*UpdateAnomalyDetectionDatabaseServicesParams) WithContext

WithContext adds the context to the update anomaly detection database services params

func (*UpdateAnomalyDetectionDatabaseServicesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update anomaly detection database services params

func (*UpdateAnomalyDetectionDatabaseServicesParams) WithTimeout

WithTimeout adds the timeout to the update anomaly detection database services params

func (*UpdateAnomalyDetectionDatabaseServicesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateAnomalyDetectionDatabaseServicesReader

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

UpdateAnomalyDetectionDatabaseServicesReader is a Reader for the UpdateAnomalyDetectionDatabaseServices structure.

func (*UpdateAnomalyDetectionDatabaseServicesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ValidateUpdateAnomalyDetectionDatabaseServicesBadRequest

type ValidateUpdateAnomalyDetectionDatabaseServicesBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

ValidateUpdateAnomalyDetectionDatabaseServicesBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewValidateUpdateAnomalyDetectionDatabaseServicesBadRequest

func NewValidateUpdateAnomalyDetectionDatabaseServicesBadRequest() *ValidateUpdateAnomalyDetectionDatabaseServicesBadRequest

NewValidateUpdateAnomalyDetectionDatabaseServicesBadRequest creates a ValidateUpdateAnomalyDetectionDatabaseServicesBadRequest with default headers values

func (*ValidateUpdateAnomalyDetectionDatabaseServicesBadRequest) Error

func (*ValidateUpdateAnomalyDetectionDatabaseServicesBadRequest) GetPayload

type ValidateUpdateAnomalyDetectionDatabaseServicesNoContent

type ValidateUpdateAnomalyDetectionDatabaseServicesNoContent struct {
}

ValidateUpdateAnomalyDetectionDatabaseServicesNoContent handles this case with default header values.

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

func NewValidateUpdateAnomalyDetectionDatabaseServicesNoContent

func NewValidateUpdateAnomalyDetectionDatabaseServicesNoContent() *ValidateUpdateAnomalyDetectionDatabaseServicesNoContent

NewValidateUpdateAnomalyDetectionDatabaseServicesNoContent creates a ValidateUpdateAnomalyDetectionDatabaseServicesNoContent with default headers values

func (*ValidateUpdateAnomalyDetectionDatabaseServicesNoContent) Error

type ValidateUpdateAnomalyDetectionDatabaseServicesParams

type ValidateUpdateAnomalyDetectionDatabaseServicesParams struct {

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

	*/
	Body *dynatrace.DatabaseAnomalyDetectionConfig

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

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

func NewValidateUpdateAnomalyDetectionDatabaseServicesParams

func NewValidateUpdateAnomalyDetectionDatabaseServicesParams() *ValidateUpdateAnomalyDetectionDatabaseServicesParams

NewValidateUpdateAnomalyDetectionDatabaseServicesParams creates a new ValidateUpdateAnomalyDetectionDatabaseServicesParams object with the default values initialized.

func NewValidateUpdateAnomalyDetectionDatabaseServicesParamsWithContext

func NewValidateUpdateAnomalyDetectionDatabaseServicesParamsWithContext(ctx context.Context) *ValidateUpdateAnomalyDetectionDatabaseServicesParams

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

func NewValidateUpdateAnomalyDetectionDatabaseServicesParamsWithHTTPClient

func NewValidateUpdateAnomalyDetectionDatabaseServicesParamsWithHTTPClient(client *http.Client) *ValidateUpdateAnomalyDetectionDatabaseServicesParams

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

func NewValidateUpdateAnomalyDetectionDatabaseServicesParamsWithTimeout

func NewValidateUpdateAnomalyDetectionDatabaseServicesParamsWithTimeout(timeout time.Duration) *ValidateUpdateAnomalyDetectionDatabaseServicesParams

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

func (*ValidateUpdateAnomalyDetectionDatabaseServicesParams) SetBody

SetBody adds the body to the validate update anomaly detection database services params

func (*ValidateUpdateAnomalyDetectionDatabaseServicesParams) SetContext

SetContext adds the context to the validate update anomaly detection database services params

func (*ValidateUpdateAnomalyDetectionDatabaseServicesParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the validate update anomaly detection database services params

func (*ValidateUpdateAnomalyDetectionDatabaseServicesParams) SetTimeout

SetTimeout adds the timeout to the validate update anomaly detection database services params

func (*ValidateUpdateAnomalyDetectionDatabaseServicesParams) WithBody

WithBody adds the body to the validate update anomaly detection database services params

func (*ValidateUpdateAnomalyDetectionDatabaseServicesParams) WithContext

WithContext adds the context to the validate update anomaly detection database services params

func (*ValidateUpdateAnomalyDetectionDatabaseServicesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate update anomaly detection database services params

func (*ValidateUpdateAnomalyDetectionDatabaseServicesParams) WithTimeout

WithTimeout adds the timeout to the validate update anomaly detection database services params

func (*ValidateUpdateAnomalyDetectionDatabaseServicesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateUpdateAnomalyDetectionDatabaseServicesReader

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

ValidateUpdateAnomalyDetectionDatabaseServicesReader is a Reader for the ValidateUpdateAnomalyDetectionDatabaseServices structure.

func (*ValidateUpdateAnomalyDetectionDatabaseServicesReader) ReadResponse

func (o *ValidateUpdateAnomalyDetectionDatabaseServicesReader) 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