Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteCalculatedMetricsLog(params *DeleteCalculatedMetricsLogParams, ...) (*DeleteCalculatedMetricsLogNoContent, error)
- func (a *Client) GetCalculatedMetricsLog(params *GetCalculatedMetricsLogParams, authInfo runtime.ClientAuthInfoWriter) (*GetCalculatedMetricsLogOK, error)
- func (a *Client) GetCalculatedMetricsLogs(params *GetCalculatedMetricsLogsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCalculatedMetricsLogsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateCalculatedMetricsLog(params *UpdateCalculatedMetricsLogParams, ...) (*UpdateCalculatedMetricsLogCreated, *UpdateCalculatedMetricsLogNoContent, ...)
- func (a *Client) ValidateCalculatedMetricsLog(params *ValidateCalculatedMetricsLogParams, ...) (*ValidateCalculatedMetricsLogNoContent, error)
- type ClientService
- type DeleteCalculatedMetricsLogNoContent
- type DeleteCalculatedMetricsLogParams
- func NewDeleteCalculatedMetricsLogParams() *DeleteCalculatedMetricsLogParams
- func NewDeleteCalculatedMetricsLogParamsWithContext(ctx context.Context) *DeleteCalculatedMetricsLogParams
- func NewDeleteCalculatedMetricsLogParamsWithHTTPClient(client *http.Client) *DeleteCalculatedMetricsLogParams
- func NewDeleteCalculatedMetricsLogParamsWithTimeout(timeout time.Duration) *DeleteCalculatedMetricsLogParams
- func (o *DeleteCalculatedMetricsLogParams) SetContext(ctx context.Context)
- func (o *DeleteCalculatedMetricsLogParams) SetHTTPClient(client *http.Client)
- func (o *DeleteCalculatedMetricsLogParams) SetMetricKey(metricKey string)
- func (o *DeleteCalculatedMetricsLogParams) SetTimeout(timeout time.Duration)
- func (o *DeleteCalculatedMetricsLogParams) WithContext(ctx context.Context) *DeleteCalculatedMetricsLogParams
- func (o *DeleteCalculatedMetricsLogParams) WithHTTPClient(client *http.Client) *DeleteCalculatedMetricsLogParams
- func (o *DeleteCalculatedMetricsLogParams) WithMetricKey(metricKey string) *DeleteCalculatedMetricsLogParams
- func (o *DeleteCalculatedMetricsLogParams) WithTimeout(timeout time.Duration) *DeleteCalculatedMetricsLogParams
- func (o *DeleteCalculatedMetricsLogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteCalculatedMetricsLogReader
- type GetCalculatedMetricsLogOK
- type GetCalculatedMetricsLogParams
- func NewGetCalculatedMetricsLogParams() *GetCalculatedMetricsLogParams
- func NewGetCalculatedMetricsLogParamsWithContext(ctx context.Context) *GetCalculatedMetricsLogParams
- func NewGetCalculatedMetricsLogParamsWithHTTPClient(client *http.Client) *GetCalculatedMetricsLogParams
- func NewGetCalculatedMetricsLogParamsWithTimeout(timeout time.Duration) *GetCalculatedMetricsLogParams
- func (o *GetCalculatedMetricsLogParams) SetContext(ctx context.Context)
- func (o *GetCalculatedMetricsLogParams) SetHTTPClient(client *http.Client)
- func (o *GetCalculatedMetricsLogParams) SetMetricKey(metricKey string)
- func (o *GetCalculatedMetricsLogParams) SetTimeout(timeout time.Duration)
- func (o *GetCalculatedMetricsLogParams) WithContext(ctx context.Context) *GetCalculatedMetricsLogParams
- func (o *GetCalculatedMetricsLogParams) WithHTTPClient(client *http.Client) *GetCalculatedMetricsLogParams
- func (o *GetCalculatedMetricsLogParams) WithMetricKey(metricKey string) *GetCalculatedMetricsLogParams
- func (o *GetCalculatedMetricsLogParams) WithTimeout(timeout time.Duration) *GetCalculatedMetricsLogParams
- func (o *GetCalculatedMetricsLogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCalculatedMetricsLogReader
- type GetCalculatedMetricsLogsOK
- type GetCalculatedMetricsLogsParams
- func NewGetCalculatedMetricsLogsParams() *GetCalculatedMetricsLogsParams
- func NewGetCalculatedMetricsLogsParamsWithContext(ctx context.Context) *GetCalculatedMetricsLogsParams
- func NewGetCalculatedMetricsLogsParamsWithHTTPClient(client *http.Client) *GetCalculatedMetricsLogsParams
- func NewGetCalculatedMetricsLogsParamsWithTimeout(timeout time.Duration) *GetCalculatedMetricsLogsParams
- func (o *GetCalculatedMetricsLogsParams) SetContext(ctx context.Context)
- func (o *GetCalculatedMetricsLogsParams) SetHTTPClient(client *http.Client)
- func (o *GetCalculatedMetricsLogsParams) SetTimeout(timeout time.Duration)
- func (o *GetCalculatedMetricsLogsParams) WithContext(ctx context.Context) *GetCalculatedMetricsLogsParams
- func (o *GetCalculatedMetricsLogsParams) WithHTTPClient(client *http.Client) *GetCalculatedMetricsLogsParams
- func (o *GetCalculatedMetricsLogsParams) WithTimeout(timeout time.Duration) *GetCalculatedMetricsLogsParams
- func (o *GetCalculatedMetricsLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCalculatedMetricsLogsReader
- type UpdateCalculatedMetricsLogBadRequest
- type UpdateCalculatedMetricsLogCreated
- type UpdateCalculatedMetricsLogNoContent
- type UpdateCalculatedMetricsLogParams
- func NewUpdateCalculatedMetricsLogParams() *UpdateCalculatedMetricsLogParams
- func NewUpdateCalculatedMetricsLogParamsWithContext(ctx context.Context) *UpdateCalculatedMetricsLogParams
- func NewUpdateCalculatedMetricsLogParamsWithHTTPClient(client *http.Client) *UpdateCalculatedMetricsLogParams
- func NewUpdateCalculatedMetricsLogParamsWithTimeout(timeout time.Duration) *UpdateCalculatedMetricsLogParams
- func (o *UpdateCalculatedMetricsLogParams) SetBody(body *dynatrace.LogMetricConfig)
- func (o *UpdateCalculatedMetricsLogParams) SetContext(ctx context.Context)
- func (o *UpdateCalculatedMetricsLogParams) SetHTTPClient(client *http.Client)
- func (o *UpdateCalculatedMetricsLogParams) SetMetricKey(metricKey string)
- func (o *UpdateCalculatedMetricsLogParams) SetTimeout(timeout time.Duration)
- func (o *UpdateCalculatedMetricsLogParams) WithBody(body *dynatrace.LogMetricConfig) *UpdateCalculatedMetricsLogParams
- func (o *UpdateCalculatedMetricsLogParams) WithContext(ctx context.Context) *UpdateCalculatedMetricsLogParams
- func (o *UpdateCalculatedMetricsLogParams) WithHTTPClient(client *http.Client) *UpdateCalculatedMetricsLogParams
- func (o *UpdateCalculatedMetricsLogParams) WithMetricKey(metricKey string) *UpdateCalculatedMetricsLogParams
- func (o *UpdateCalculatedMetricsLogParams) WithTimeout(timeout time.Duration) *UpdateCalculatedMetricsLogParams
- func (o *UpdateCalculatedMetricsLogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateCalculatedMetricsLogReader
- type ValidateCalculatedMetricsLogBadRequest
- type ValidateCalculatedMetricsLogNoContent
- type ValidateCalculatedMetricsLogParams
- func NewValidateCalculatedMetricsLogParams() *ValidateCalculatedMetricsLogParams
- func NewValidateCalculatedMetricsLogParamsWithContext(ctx context.Context) *ValidateCalculatedMetricsLogParams
- func NewValidateCalculatedMetricsLogParamsWithHTTPClient(client *http.Client) *ValidateCalculatedMetricsLogParams
- func NewValidateCalculatedMetricsLogParamsWithTimeout(timeout time.Duration) *ValidateCalculatedMetricsLogParams
- func (o *ValidateCalculatedMetricsLogParams) SetBody(body *dynatrace.LogMetricConfig)
- func (o *ValidateCalculatedMetricsLogParams) SetContext(ctx context.Context)
- func (o *ValidateCalculatedMetricsLogParams) SetHTTPClient(client *http.Client)
- func (o *ValidateCalculatedMetricsLogParams) SetMetricKey(metricKey string)
- func (o *ValidateCalculatedMetricsLogParams) SetTimeout(timeout time.Duration)
- func (o *ValidateCalculatedMetricsLogParams) WithBody(body *dynatrace.LogMetricConfig) *ValidateCalculatedMetricsLogParams
- func (o *ValidateCalculatedMetricsLogParams) WithContext(ctx context.Context) *ValidateCalculatedMetricsLogParams
- func (o *ValidateCalculatedMetricsLogParams) WithHTTPClient(client *http.Client) *ValidateCalculatedMetricsLogParams
- func (o *ValidateCalculatedMetricsLogParams) WithMetricKey(metricKey string) *ValidateCalculatedMetricsLogParams
- func (o *ValidateCalculatedMetricsLogParams) WithTimeout(timeout time.Duration) *ValidateCalculatedMetricsLogParams
- func (o *ValidateCalculatedMetricsLogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ValidateCalculatedMetricsLogReader
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 log monitoring metrics API
func (*Client) DeleteCalculatedMetricsLog ¶
func (a *Client) DeleteCalculatedMetricsLog(params *DeleteCalculatedMetricsLogParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCalculatedMetricsLogNoContent, error)
DeleteCalculatedMetricsLog deletes the specified custom log metric definition pipe maturity e a r l y a d o p t e r
func (*Client) GetCalculatedMetricsLog ¶
func (a *Client) GetCalculatedMetricsLog(params *GetCalculatedMetricsLogParams, authInfo runtime.ClientAuthInfoWriter) (*GetCalculatedMetricsLogOK, error)
GetCalculatedMetricsLog gets the definition of the specified custom log metric pipe maturity e a r l y a d o p t e r
func (*Client) GetCalculatedMetricsLogs ¶
func (a *Client) GetCalculatedMetricsLogs(params *GetCalculatedMetricsLogsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCalculatedMetricsLogsOK, error)
GetCalculatedMetricsLogs lists all custom log metrics configured in your environment pipe maturity e a r l y a d o p t e r
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateCalculatedMetricsLog ¶
func (a *Client) UpdateCalculatedMetricsLog(params *UpdateCalculatedMetricsLogParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCalculatedMetricsLogCreated, *UpdateCalculatedMetricsLogNoContent, error)
UpdateCalculatedMetricsLog creates a new custom log metric pipe maturity e a r l y a d o p t e r
If the metric definition with the specified key already exists, it is updated.
func (*Client) ValidateCalculatedMetricsLog ¶
func (a *Client) ValidateCalculatedMetricsLog(params *ValidateCalculatedMetricsLogParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateCalculatedMetricsLogNoContent, error)
ValidateCalculatedMetricsLog validates the payload for the p u t calculated metrics log metric key request pipe maturity e a r l y a d o p t e r
type ClientService ¶
type ClientService interface { DeleteCalculatedMetricsLog(params *DeleteCalculatedMetricsLogParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCalculatedMetricsLogNoContent, error) GetCalculatedMetricsLog(params *GetCalculatedMetricsLogParams, authInfo runtime.ClientAuthInfoWriter) (*GetCalculatedMetricsLogOK, error) GetCalculatedMetricsLogs(params *GetCalculatedMetricsLogsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCalculatedMetricsLogsOK, error) UpdateCalculatedMetricsLog(params *UpdateCalculatedMetricsLogParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCalculatedMetricsLogCreated, *UpdateCalculatedMetricsLogNoContent, error) ValidateCalculatedMetricsLog(params *ValidateCalculatedMetricsLogParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateCalculatedMetricsLogNoContent, 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 log monitoring metrics API client.
type DeleteCalculatedMetricsLogNoContent ¶
type DeleteCalculatedMetricsLogNoContent struct { }
DeleteCalculatedMetricsLogNoContent handles this case with default header values.
Deleted. Response doesn't have a body.
func NewDeleteCalculatedMetricsLogNoContent ¶
func NewDeleteCalculatedMetricsLogNoContent() *DeleteCalculatedMetricsLogNoContent
NewDeleteCalculatedMetricsLogNoContent creates a DeleteCalculatedMetricsLogNoContent with default headers values
func (*DeleteCalculatedMetricsLogNoContent) Error ¶
func (o *DeleteCalculatedMetricsLogNoContent) Error() string
type DeleteCalculatedMetricsLogParams ¶
type DeleteCalculatedMetricsLogParams struct { /*MetricKey The key of the custom log metric to be deleted. */ MetricKey string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteCalculatedMetricsLogParams contains all the parameters to send to the API endpoint for the delete calculated metrics log operation typically these are written to a http.Request
func NewDeleteCalculatedMetricsLogParams ¶
func NewDeleteCalculatedMetricsLogParams() *DeleteCalculatedMetricsLogParams
NewDeleteCalculatedMetricsLogParams creates a new DeleteCalculatedMetricsLogParams object with the default values initialized.
func NewDeleteCalculatedMetricsLogParamsWithContext ¶
func NewDeleteCalculatedMetricsLogParamsWithContext(ctx context.Context) *DeleteCalculatedMetricsLogParams
NewDeleteCalculatedMetricsLogParamsWithContext creates a new DeleteCalculatedMetricsLogParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteCalculatedMetricsLogParamsWithHTTPClient ¶
func NewDeleteCalculatedMetricsLogParamsWithHTTPClient(client *http.Client) *DeleteCalculatedMetricsLogParams
NewDeleteCalculatedMetricsLogParamsWithHTTPClient creates a new DeleteCalculatedMetricsLogParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteCalculatedMetricsLogParamsWithTimeout ¶
func NewDeleteCalculatedMetricsLogParamsWithTimeout(timeout time.Duration) *DeleteCalculatedMetricsLogParams
NewDeleteCalculatedMetricsLogParamsWithTimeout creates a new DeleteCalculatedMetricsLogParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteCalculatedMetricsLogParams) SetContext ¶
func (o *DeleteCalculatedMetricsLogParams) SetContext(ctx context.Context)
SetContext adds the context to the delete calculated metrics log params
func (*DeleteCalculatedMetricsLogParams) SetHTTPClient ¶
func (o *DeleteCalculatedMetricsLogParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete calculated metrics log params
func (*DeleteCalculatedMetricsLogParams) SetMetricKey ¶
func (o *DeleteCalculatedMetricsLogParams) SetMetricKey(metricKey string)
SetMetricKey adds the metricKey to the delete calculated metrics log params
func (*DeleteCalculatedMetricsLogParams) SetTimeout ¶
func (o *DeleteCalculatedMetricsLogParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete calculated metrics log params
func (*DeleteCalculatedMetricsLogParams) WithContext ¶
func (o *DeleteCalculatedMetricsLogParams) WithContext(ctx context.Context) *DeleteCalculatedMetricsLogParams
WithContext adds the context to the delete calculated metrics log params
func (*DeleteCalculatedMetricsLogParams) WithHTTPClient ¶
func (o *DeleteCalculatedMetricsLogParams) WithHTTPClient(client *http.Client) *DeleteCalculatedMetricsLogParams
WithHTTPClient adds the HTTPClient to the delete calculated metrics log params
func (*DeleteCalculatedMetricsLogParams) WithMetricKey ¶
func (o *DeleteCalculatedMetricsLogParams) WithMetricKey(metricKey string) *DeleteCalculatedMetricsLogParams
WithMetricKey adds the metricKey to the delete calculated metrics log params
func (*DeleteCalculatedMetricsLogParams) WithTimeout ¶
func (o *DeleteCalculatedMetricsLogParams) WithTimeout(timeout time.Duration) *DeleteCalculatedMetricsLogParams
WithTimeout adds the timeout to the delete calculated metrics log params
func (*DeleteCalculatedMetricsLogParams) WriteToRequest ¶
func (o *DeleteCalculatedMetricsLogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteCalculatedMetricsLogReader ¶
type DeleteCalculatedMetricsLogReader struct {
// contains filtered or unexported fields
}
DeleteCalculatedMetricsLogReader is a Reader for the DeleteCalculatedMetricsLog structure.
func (*DeleteCalculatedMetricsLogReader) ReadResponse ¶
func (o *DeleteCalculatedMetricsLogReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCalculatedMetricsLogOK ¶
type GetCalculatedMetricsLogOK struct {
Payload *dynatrace.LogMetricConfig
}
GetCalculatedMetricsLogOK handles this case with default header values.
successful operation
func NewGetCalculatedMetricsLogOK ¶
func NewGetCalculatedMetricsLogOK() *GetCalculatedMetricsLogOK
NewGetCalculatedMetricsLogOK creates a GetCalculatedMetricsLogOK with default headers values
func (*GetCalculatedMetricsLogOK) Error ¶
func (o *GetCalculatedMetricsLogOK) Error() string
func (*GetCalculatedMetricsLogOK) GetPayload ¶
func (o *GetCalculatedMetricsLogOK) GetPayload() *dynatrace.LogMetricConfig
type GetCalculatedMetricsLogParams ¶
type GetCalculatedMetricsLogParams struct { /*MetricKey The key of the required custom log metric. */ MetricKey string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCalculatedMetricsLogParams contains all the parameters to send to the API endpoint for the get calculated metrics log operation typically these are written to a http.Request
func NewGetCalculatedMetricsLogParams ¶
func NewGetCalculatedMetricsLogParams() *GetCalculatedMetricsLogParams
NewGetCalculatedMetricsLogParams creates a new GetCalculatedMetricsLogParams object with the default values initialized.
func NewGetCalculatedMetricsLogParamsWithContext ¶
func NewGetCalculatedMetricsLogParamsWithContext(ctx context.Context) *GetCalculatedMetricsLogParams
NewGetCalculatedMetricsLogParamsWithContext creates a new GetCalculatedMetricsLogParams object with the default values initialized, and the ability to set a context for a request
func NewGetCalculatedMetricsLogParamsWithHTTPClient ¶
func NewGetCalculatedMetricsLogParamsWithHTTPClient(client *http.Client) *GetCalculatedMetricsLogParams
NewGetCalculatedMetricsLogParamsWithHTTPClient creates a new GetCalculatedMetricsLogParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetCalculatedMetricsLogParamsWithTimeout ¶
func NewGetCalculatedMetricsLogParamsWithTimeout(timeout time.Duration) *GetCalculatedMetricsLogParams
NewGetCalculatedMetricsLogParamsWithTimeout creates a new GetCalculatedMetricsLogParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetCalculatedMetricsLogParams) SetContext ¶
func (o *GetCalculatedMetricsLogParams) SetContext(ctx context.Context)
SetContext adds the context to the get calculated metrics log params
func (*GetCalculatedMetricsLogParams) SetHTTPClient ¶
func (o *GetCalculatedMetricsLogParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get calculated metrics log params
func (*GetCalculatedMetricsLogParams) SetMetricKey ¶
func (o *GetCalculatedMetricsLogParams) SetMetricKey(metricKey string)
SetMetricKey adds the metricKey to the get calculated metrics log params
func (*GetCalculatedMetricsLogParams) SetTimeout ¶
func (o *GetCalculatedMetricsLogParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get calculated metrics log params
func (*GetCalculatedMetricsLogParams) WithContext ¶
func (o *GetCalculatedMetricsLogParams) WithContext(ctx context.Context) *GetCalculatedMetricsLogParams
WithContext adds the context to the get calculated metrics log params
func (*GetCalculatedMetricsLogParams) WithHTTPClient ¶
func (o *GetCalculatedMetricsLogParams) WithHTTPClient(client *http.Client) *GetCalculatedMetricsLogParams
WithHTTPClient adds the HTTPClient to the get calculated metrics log params
func (*GetCalculatedMetricsLogParams) WithMetricKey ¶
func (o *GetCalculatedMetricsLogParams) WithMetricKey(metricKey string) *GetCalculatedMetricsLogParams
WithMetricKey adds the metricKey to the get calculated metrics log params
func (*GetCalculatedMetricsLogParams) WithTimeout ¶
func (o *GetCalculatedMetricsLogParams) WithTimeout(timeout time.Duration) *GetCalculatedMetricsLogParams
WithTimeout adds the timeout to the get calculated metrics log params
func (*GetCalculatedMetricsLogParams) WriteToRequest ¶
func (o *GetCalculatedMetricsLogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCalculatedMetricsLogReader ¶
type GetCalculatedMetricsLogReader struct {
// contains filtered or unexported fields
}
GetCalculatedMetricsLogReader is a Reader for the GetCalculatedMetricsLog structure.
func (*GetCalculatedMetricsLogReader) ReadResponse ¶
func (o *GetCalculatedMetricsLogReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCalculatedMetricsLogsOK ¶
GetCalculatedMetricsLogsOK handles this case with default header values.
successful operation
func NewGetCalculatedMetricsLogsOK ¶
func NewGetCalculatedMetricsLogsOK() *GetCalculatedMetricsLogsOK
NewGetCalculatedMetricsLogsOK creates a GetCalculatedMetricsLogsOK with default headers values
func (*GetCalculatedMetricsLogsOK) Error ¶
func (o *GetCalculatedMetricsLogsOK) Error() string
func (*GetCalculatedMetricsLogsOK) GetPayload ¶
func (o *GetCalculatedMetricsLogsOK) GetPayload() *dynatrace.StubList
type GetCalculatedMetricsLogsParams ¶
type GetCalculatedMetricsLogsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCalculatedMetricsLogsParams contains all the parameters to send to the API endpoint for the get calculated metrics logs operation typically these are written to a http.Request
func NewGetCalculatedMetricsLogsParams ¶
func NewGetCalculatedMetricsLogsParams() *GetCalculatedMetricsLogsParams
NewGetCalculatedMetricsLogsParams creates a new GetCalculatedMetricsLogsParams object with the default values initialized.
func NewGetCalculatedMetricsLogsParamsWithContext ¶
func NewGetCalculatedMetricsLogsParamsWithContext(ctx context.Context) *GetCalculatedMetricsLogsParams
NewGetCalculatedMetricsLogsParamsWithContext creates a new GetCalculatedMetricsLogsParams object with the default values initialized, and the ability to set a context for a request
func NewGetCalculatedMetricsLogsParamsWithHTTPClient ¶
func NewGetCalculatedMetricsLogsParamsWithHTTPClient(client *http.Client) *GetCalculatedMetricsLogsParams
NewGetCalculatedMetricsLogsParamsWithHTTPClient creates a new GetCalculatedMetricsLogsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetCalculatedMetricsLogsParamsWithTimeout ¶
func NewGetCalculatedMetricsLogsParamsWithTimeout(timeout time.Duration) *GetCalculatedMetricsLogsParams
NewGetCalculatedMetricsLogsParamsWithTimeout creates a new GetCalculatedMetricsLogsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetCalculatedMetricsLogsParams) SetContext ¶
func (o *GetCalculatedMetricsLogsParams) SetContext(ctx context.Context)
SetContext adds the context to the get calculated metrics logs params
func (*GetCalculatedMetricsLogsParams) SetHTTPClient ¶
func (o *GetCalculatedMetricsLogsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get calculated metrics logs params
func (*GetCalculatedMetricsLogsParams) SetTimeout ¶
func (o *GetCalculatedMetricsLogsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get calculated metrics logs params
func (*GetCalculatedMetricsLogsParams) WithContext ¶
func (o *GetCalculatedMetricsLogsParams) WithContext(ctx context.Context) *GetCalculatedMetricsLogsParams
WithContext adds the context to the get calculated metrics logs params
func (*GetCalculatedMetricsLogsParams) WithHTTPClient ¶
func (o *GetCalculatedMetricsLogsParams) WithHTTPClient(client *http.Client) *GetCalculatedMetricsLogsParams
WithHTTPClient adds the HTTPClient to the get calculated metrics logs params
func (*GetCalculatedMetricsLogsParams) WithTimeout ¶
func (o *GetCalculatedMetricsLogsParams) WithTimeout(timeout time.Duration) *GetCalculatedMetricsLogsParams
WithTimeout adds the timeout to the get calculated metrics logs params
func (*GetCalculatedMetricsLogsParams) WriteToRequest ¶
func (o *GetCalculatedMetricsLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCalculatedMetricsLogsReader ¶
type GetCalculatedMetricsLogsReader struct {
// contains filtered or unexported fields
}
GetCalculatedMetricsLogsReader is a Reader for the GetCalculatedMetricsLogs structure.
func (*GetCalculatedMetricsLogsReader) ReadResponse ¶
func (o *GetCalculatedMetricsLogsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateCalculatedMetricsLogBadRequest ¶
type UpdateCalculatedMetricsLogBadRequest struct {
Payload *dynatrace.ErrorEnvelope
}
UpdateCalculatedMetricsLogBadRequest handles this case with default header values.
Failed. The input is invalid.
func NewUpdateCalculatedMetricsLogBadRequest ¶
func NewUpdateCalculatedMetricsLogBadRequest() *UpdateCalculatedMetricsLogBadRequest
NewUpdateCalculatedMetricsLogBadRequest creates a UpdateCalculatedMetricsLogBadRequest with default headers values
func (*UpdateCalculatedMetricsLogBadRequest) Error ¶
func (o *UpdateCalculatedMetricsLogBadRequest) Error() string
func (*UpdateCalculatedMetricsLogBadRequest) GetPayload ¶
func (o *UpdateCalculatedMetricsLogBadRequest) GetPayload() *dynatrace.ErrorEnvelope
type UpdateCalculatedMetricsLogCreated ¶
type UpdateCalculatedMetricsLogCreated struct {
Payload *dynatrace.EntityShortRepresentation
}
UpdateCalculatedMetricsLogCreated handles this case with default header values.
Success. The new metric definition has been created. The response body contains the key and the name of the new metric.
func NewUpdateCalculatedMetricsLogCreated ¶
func NewUpdateCalculatedMetricsLogCreated() *UpdateCalculatedMetricsLogCreated
NewUpdateCalculatedMetricsLogCreated creates a UpdateCalculatedMetricsLogCreated with default headers values
func (*UpdateCalculatedMetricsLogCreated) Error ¶
func (o *UpdateCalculatedMetricsLogCreated) Error() string
func (*UpdateCalculatedMetricsLogCreated) GetPayload ¶
func (o *UpdateCalculatedMetricsLogCreated) GetPayload() *dynatrace.EntityShortRepresentation
type UpdateCalculatedMetricsLogNoContent ¶
type UpdateCalculatedMetricsLogNoContent struct { }
UpdateCalculatedMetricsLogNoContent handles this case with default header values.
Success. The metric definition has been updated. Response doesn't have a body.
func NewUpdateCalculatedMetricsLogNoContent ¶
func NewUpdateCalculatedMetricsLogNoContent() *UpdateCalculatedMetricsLogNoContent
NewUpdateCalculatedMetricsLogNoContent creates a UpdateCalculatedMetricsLogNoContent with default headers values
func (*UpdateCalculatedMetricsLogNoContent) Error ¶
func (o *UpdateCalculatedMetricsLogNoContent) Error() string
type UpdateCalculatedMetricsLogParams ¶
type UpdateCalculatedMetricsLogParams struct { /*Body The JSON body of the request. Contains the definition of the custom log metric. */ Body *dynatrace.LogMetricConfig /*MetricKey The required key of the custom log metric. The key must have the `calc:log.` prefix. The key in the body of the request must match this key. */ MetricKey string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateCalculatedMetricsLogParams contains all the parameters to send to the API endpoint for the update calculated metrics log operation typically these are written to a http.Request
func NewUpdateCalculatedMetricsLogParams ¶
func NewUpdateCalculatedMetricsLogParams() *UpdateCalculatedMetricsLogParams
NewUpdateCalculatedMetricsLogParams creates a new UpdateCalculatedMetricsLogParams object with the default values initialized.
func NewUpdateCalculatedMetricsLogParamsWithContext ¶
func NewUpdateCalculatedMetricsLogParamsWithContext(ctx context.Context) *UpdateCalculatedMetricsLogParams
NewUpdateCalculatedMetricsLogParamsWithContext creates a new UpdateCalculatedMetricsLogParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateCalculatedMetricsLogParamsWithHTTPClient ¶
func NewUpdateCalculatedMetricsLogParamsWithHTTPClient(client *http.Client) *UpdateCalculatedMetricsLogParams
NewUpdateCalculatedMetricsLogParamsWithHTTPClient creates a new UpdateCalculatedMetricsLogParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateCalculatedMetricsLogParamsWithTimeout ¶
func NewUpdateCalculatedMetricsLogParamsWithTimeout(timeout time.Duration) *UpdateCalculatedMetricsLogParams
NewUpdateCalculatedMetricsLogParamsWithTimeout creates a new UpdateCalculatedMetricsLogParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateCalculatedMetricsLogParams) SetBody ¶
func (o *UpdateCalculatedMetricsLogParams) SetBody(body *dynatrace.LogMetricConfig)
SetBody adds the body to the update calculated metrics log params
func (*UpdateCalculatedMetricsLogParams) SetContext ¶
func (o *UpdateCalculatedMetricsLogParams) SetContext(ctx context.Context)
SetContext adds the context to the update calculated metrics log params
func (*UpdateCalculatedMetricsLogParams) SetHTTPClient ¶
func (o *UpdateCalculatedMetricsLogParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update calculated metrics log params
func (*UpdateCalculatedMetricsLogParams) SetMetricKey ¶
func (o *UpdateCalculatedMetricsLogParams) SetMetricKey(metricKey string)
SetMetricKey adds the metricKey to the update calculated metrics log params
func (*UpdateCalculatedMetricsLogParams) SetTimeout ¶
func (o *UpdateCalculatedMetricsLogParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update calculated metrics log params
func (*UpdateCalculatedMetricsLogParams) WithBody ¶
func (o *UpdateCalculatedMetricsLogParams) WithBody(body *dynatrace.LogMetricConfig) *UpdateCalculatedMetricsLogParams
WithBody adds the body to the update calculated metrics log params
func (*UpdateCalculatedMetricsLogParams) WithContext ¶
func (o *UpdateCalculatedMetricsLogParams) WithContext(ctx context.Context) *UpdateCalculatedMetricsLogParams
WithContext adds the context to the update calculated metrics log params
func (*UpdateCalculatedMetricsLogParams) WithHTTPClient ¶
func (o *UpdateCalculatedMetricsLogParams) WithHTTPClient(client *http.Client) *UpdateCalculatedMetricsLogParams
WithHTTPClient adds the HTTPClient to the update calculated metrics log params
func (*UpdateCalculatedMetricsLogParams) WithMetricKey ¶
func (o *UpdateCalculatedMetricsLogParams) WithMetricKey(metricKey string) *UpdateCalculatedMetricsLogParams
WithMetricKey adds the metricKey to the update calculated metrics log params
func (*UpdateCalculatedMetricsLogParams) WithTimeout ¶
func (o *UpdateCalculatedMetricsLogParams) WithTimeout(timeout time.Duration) *UpdateCalculatedMetricsLogParams
WithTimeout adds the timeout to the update calculated metrics log params
func (*UpdateCalculatedMetricsLogParams) WriteToRequest ¶
func (o *UpdateCalculatedMetricsLogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateCalculatedMetricsLogReader ¶
type UpdateCalculatedMetricsLogReader struct {
// contains filtered or unexported fields
}
UpdateCalculatedMetricsLogReader is a Reader for the UpdateCalculatedMetricsLog structure.
func (*UpdateCalculatedMetricsLogReader) ReadResponse ¶
func (o *UpdateCalculatedMetricsLogReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ValidateCalculatedMetricsLogBadRequest ¶
type ValidateCalculatedMetricsLogBadRequest struct {
Payload *dynatrace.ErrorEnvelope
}
ValidateCalculatedMetricsLogBadRequest handles this case with default header values.
Failed. The input is invalid.
func NewValidateCalculatedMetricsLogBadRequest ¶
func NewValidateCalculatedMetricsLogBadRequest() *ValidateCalculatedMetricsLogBadRequest
NewValidateCalculatedMetricsLogBadRequest creates a ValidateCalculatedMetricsLogBadRequest with default headers values
func (*ValidateCalculatedMetricsLogBadRequest) Error ¶
func (o *ValidateCalculatedMetricsLogBadRequest) Error() string
func (*ValidateCalculatedMetricsLogBadRequest) GetPayload ¶
func (o *ValidateCalculatedMetricsLogBadRequest) GetPayload() *dynatrace.ErrorEnvelope
type ValidateCalculatedMetricsLogNoContent ¶
type ValidateCalculatedMetricsLogNoContent struct { }
ValidateCalculatedMetricsLogNoContent handles this case with default header values.
Validated. The submitted configuration is valid. Response doesn't have a body.
func NewValidateCalculatedMetricsLogNoContent ¶
func NewValidateCalculatedMetricsLogNoContent() *ValidateCalculatedMetricsLogNoContent
NewValidateCalculatedMetricsLogNoContent creates a ValidateCalculatedMetricsLogNoContent with default headers values
func (*ValidateCalculatedMetricsLogNoContent) Error ¶
func (o *ValidateCalculatedMetricsLogNoContent) Error() string
type ValidateCalculatedMetricsLogParams ¶
type ValidateCalculatedMetricsLogParams struct { /*Body The JSON body of the request. Contains definition of the custom log metric to be validated. */ Body *dynatrace.LogMetricConfig /*MetricKey The key of the custom log metric to be validated. */ MetricKey string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ValidateCalculatedMetricsLogParams contains all the parameters to send to the API endpoint for the validate calculated metrics log operation typically these are written to a http.Request
func NewValidateCalculatedMetricsLogParams ¶
func NewValidateCalculatedMetricsLogParams() *ValidateCalculatedMetricsLogParams
NewValidateCalculatedMetricsLogParams creates a new ValidateCalculatedMetricsLogParams object with the default values initialized.
func NewValidateCalculatedMetricsLogParamsWithContext ¶
func NewValidateCalculatedMetricsLogParamsWithContext(ctx context.Context) *ValidateCalculatedMetricsLogParams
NewValidateCalculatedMetricsLogParamsWithContext creates a new ValidateCalculatedMetricsLogParams object with the default values initialized, and the ability to set a context for a request
func NewValidateCalculatedMetricsLogParamsWithHTTPClient ¶
func NewValidateCalculatedMetricsLogParamsWithHTTPClient(client *http.Client) *ValidateCalculatedMetricsLogParams
NewValidateCalculatedMetricsLogParamsWithHTTPClient creates a new ValidateCalculatedMetricsLogParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewValidateCalculatedMetricsLogParamsWithTimeout ¶
func NewValidateCalculatedMetricsLogParamsWithTimeout(timeout time.Duration) *ValidateCalculatedMetricsLogParams
NewValidateCalculatedMetricsLogParamsWithTimeout creates a new ValidateCalculatedMetricsLogParams object with the default values initialized, and the ability to set a timeout on a request
func (*ValidateCalculatedMetricsLogParams) SetBody ¶
func (o *ValidateCalculatedMetricsLogParams) SetBody(body *dynatrace.LogMetricConfig)
SetBody adds the body to the validate calculated metrics log params
func (*ValidateCalculatedMetricsLogParams) SetContext ¶
func (o *ValidateCalculatedMetricsLogParams) SetContext(ctx context.Context)
SetContext adds the context to the validate calculated metrics log params
func (*ValidateCalculatedMetricsLogParams) SetHTTPClient ¶
func (o *ValidateCalculatedMetricsLogParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the validate calculated metrics log params
func (*ValidateCalculatedMetricsLogParams) SetMetricKey ¶
func (o *ValidateCalculatedMetricsLogParams) SetMetricKey(metricKey string)
SetMetricKey adds the metricKey to the validate calculated metrics log params
func (*ValidateCalculatedMetricsLogParams) SetTimeout ¶
func (o *ValidateCalculatedMetricsLogParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the validate calculated metrics log params
func (*ValidateCalculatedMetricsLogParams) WithBody ¶
func (o *ValidateCalculatedMetricsLogParams) WithBody(body *dynatrace.LogMetricConfig) *ValidateCalculatedMetricsLogParams
WithBody adds the body to the validate calculated metrics log params
func (*ValidateCalculatedMetricsLogParams) WithContext ¶
func (o *ValidateCalculatedMetricsLogParams) WithContext(ctx context.Context) *ValidateCalculatedMetricsLogParams
WithContext adds the context to the validate calculated metrics log params
func (*ValidateCalculatedMetricsLogParams) WithHTTPClient ¶
func (o *ValidateCalculatedMetricsLogParams) WithHTTPClient(client *http.Client) *ValidateCalculatedMetricsLogParams
WithHTTPClient adds the HTTPClient to the validate calculated metrics log params
func (*ValidateCalculatedMetricsLogParams) WithMetricKey ¶
func (o *ValidateCalculatedMetricsLogParams) WithMetricKey(metricKey string) *ValidateCalculatedMetricsLogParams
WithMetricKey adds the metricKey to the validate calculated metrics log params
func (*ValidateCalculatedMetricsLogParams) WithTimeout ¶
func (o *ValidateCalculatedMetricsLogParams) WithTimeout(timeout time.Duration) *ValidateCalculatedMetricsLogParams
WithTimeout adds the timeout to the validate calculated metrics log params
func (*ValidateCalculatedMetricsLogParams) WriteToRequest ¶
func (o *ValidateCalculatedMetricsLogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ValidateCalculatedMetricsLogReader ¶
type ValidateCalculatedMetricsLogReader struct {
// contains filtered or unexported fields
}
ValidateCalculatedMetricsLogReader is a Reader for the ValidateCalculatedMetricsLog structure.
func (*ValidateCalculatedMetricsLogReader) ReadResponse ¶
func (o *ValidateCalculatedMetricsLogReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- delete_calculated_metrics_log_parameters.go
- delete_calculated_metrics_log_responses.go
- get_calculated_metrics_log_parameters.go
- get_calculated_metrics_log_responses.go
- get_calculated_metrics_logs_parameters.go
- get_calculated_metrics_logs_responses.go
- log_monitoring_metrics_client.go
- update_calculated_metrics_log_parameters.go
- update_calculated_metrics_log_responses.go
- validate_calculated_metrics_log_parameters.go
- validate_calculated_metrics_log_responses.go