application_detection_rules

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 application detection rules API

func (*Client) CreateApplicationDetectionRule

CreateApplicationDetectionRule creates a new application detection rule

The body must not provide an ID. An ID is assigned automatically by the Dynatrace server.

You can only create detection rules for an existing application. If you need to create a rule for an application that doesn't exist yet, [create an application first](https://www.dynatrace.com/support/help/shortlink/api-config-web-app-post-web-app) and then configure detection rules for it.

func (*Client) DeleteApplicationDetectionRule

DeleteApplicationDetectionRule deletes the specified application detection rule

func (*Client) GetApplicationDetectionRule

func (a *Client) GetApplicationDetectionRule(params *GetApplicationDetectionRuleParams, authInfo runtime.ClientAuthInfoWriter) (*GetApplicationDetectionRuleOK, error)

GetApplicationDetectionRule gets the parameters of the specified application detection rule

func (*Client) GetApplicationDetectionRules

func (a *Client) GetApplicationDetectionRules(params *GetApplicationDetectionRulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetApplicationDetectionRulesOK, error)

GetApplicationDetectionRules lists all available application detection rules

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateApplicationDetectionRule

UpdateApplicationDetectionRule updates the specified application detection rule

If the application detection rule with the specified ID doesn't exist, a new application is created and appended to the end of the rule list.

If the **order** parameter is set for an existing rule, the request uses this value. Otherwise it keeps the existing order of rules.

func (*Client) UpdateApplicationDetectionRulesOrder

UpdateApplicationDetectionRulesOrder reorders the application detection rules

This request reorders the application detection rules according to the submitted list of IDs. Application detection rules not present in the body of the request will retain their relative ordering but are placed *after* all those present in the request.

func (*Client) ValidateCreateApplicationDetectionRule

ValidateCreateApplicationDetectionRule validates the payload for the p o s t application detection request

func (*Client) ValidateUpdateApplicationDetectionRule

ValidateUpdateApplicationDetectionRule validates the payload for the p u t application detection id request

type ClientService

ClientService is the interface for Client methods

func New

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

New creates a new application detection rules API client.

type CreateApplicationDetectionRuleBadRequest

type CreateApplicationDetectionRuleBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

CreateApplicationDetectionRuleBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewCreateApplicationDetectionRuleBadRequest

func NewCreateApplicationDetectionRuleBadRequest() *CreateApplicationDetectionRuleBadRequest

NewCreateApplicationDetectionRuleBadRequest creates a CreateApplicationDetectionRuleBadRequest with default headers values

func (*CreateApplicationDetectionRuleBadRequest) Error

func (*CreateApplicationDetectionRuleBadRequest) GetPayload

type CreateApplicationDetectionRuleCreated

type CreateApplicationDetectionRuleCreated struct {
	Payload *dynatrace.EntityShortRepresentation
}

CreateApplicationDetectionRuleCreated handles this case with default header values.

Success. The application detection rule has been created. Response contains the ID of the new rule.

func NewCreateApplicationDetectionRuleCreated

func NewCreateApplicationDetectionRuleCreated() *CreateApplicationDetectionRuleCreated

NewCreateApplicationDetectionRuleCreated creates a CreateApplicationDetectionRuleCreated with default headers values

func (*CreateApplicationDetectionRuleCreated) Error

func (*CreateApplicationDetectionRuleCreated) GetPayload

type CreateApplicationDetectionRuleParams

type CreateApplicationDetectionRuleParams struct {

	/*Body
	  The JSON body of the request. Contains configuration of the new application detection rule.

	 You must not specify the ID of the rule.

	The **order** field is ignored in this request. To enforce a particular order use the `PUT /applicationDetectionRules/order` request.

	*/
	Body *dynatrace.ApplicationDetectionRuleConfig
	/*Position
	 The position of the new rule:

	* `APPEND`: at the bottom of the rule list.
	* `PREPEND`: at the top of the rule list.

	If not set, the `APPEND` is used.

	*/
	Position *string

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

CreateApplicationDetectionRuleParams contains all the parameters to send to the API endpoint for the create application detection rule operation typically these are written to a http.Request

func NewCreateApplicationDetectionRuleParams

func NewCreateApplicationDetectionRuleParams() *CreateApplicationDetectionRuleParams

NewCreateApplicationDetectionRuleParams creates a new CreateApplicationDetectionRuleParams object with the default values initialized.

func NewCreateApplicationDetectionRuleParamsWithContext

func NewCreateApplicationDetectionRuleParamsWithContext(ctx context.Context) *CreateApplicationDetectionRuleParams

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

func NewCreateApplicationDetectionRuleParamsWithHTTPClient

func NewCreateApplicationDetectionRuleParamsWithHTTPClient(client *http.Client) *CreateApplicationDetectionRuleParams

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

func NewCreateApplicationDetectionRuleParamsWithTimeout

func NewCreateApplicationDetectionRuleParamsWithTimeout(timeout time.Duration) *CreateApplicationDetectionRuleParams

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

func (*CreateApplicationDetectionRuleParams) SetBody

SetBody adds the body to the create application detection rule params

func (*CreateApplicationDetectionRuleParams) SetContext

SetContext adds the context to the create application detection rule params

func (*CreateApplicationDetectionRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create application detection rule params

func (*CreateApplicationDetectionRuleParams) SetPosition

func (o *CreateApplicationDetectionRuleParams) SetPosition(position *string)

SetPosition adds the position to the create application detection rule params

func (*CreateApplicationDetectionRuleParams) SetTimeout

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

SetTimeout adds the timeout to the create application detection rule params

func (*CreateApplicationDetectionRuleParams) WithBody

WithBody adds the body to the create application detection rule params

func (*CreateApplicationDetectionRuleParams) WithContext

WithContext adds the context to the create application detection rule params

func (*CreateApplicationDetectionRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create application detection rule params

func (*CreateApplicationDetectionRuleParams) WithPosition

WithPosition adds the position to the create application detection rule params

func (*CreateApplicationDetectionRuleParams) WithTimeout

WithTimeout adds the timeout to the create application detection rule params

func (*CreateApplicationDetectionRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateApplicationDetectionRuleReader

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

CreateApplicationDetectionRuleReader is a Reader for the CreateApplicationDetectionRule structure.

func (*CreateApplicationDetectionRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteApplicationDetectionRuleNoContent

type DeleteApplicationDetectionRuleNoContent struct {
}

DeleteApplicationDetectionRuleNoContent handles this case with default header values.

Deleted. Response doesn't have a body.

func NewDeleteApplicationDetectionRuleNoContent

func NewDeleteApplicationDetectionRuleNoContent() *DeleteApplicationDetectionRuleNoContent

NewDeleteApplicationDetectionRuleNoContent creates a DeleteApplicationDetectionRuleNoContent with default headers values

func (*DeleteApplicationDetectionRuleNoContent) Error

type DeleteApplicationDetectionRuleParams

type DeleteApplicationDetectionRuleParams struct {

	/*ID
	  The ID of the application detection rule to be deleted.

	*/
	ID strfmt.UUID

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

DeleteApplicationDetectionRuleParams contains all the parameters to send to the API endpoint for the delete application detection rule operation typically these are written to a http.Request

func NewDeleteApplicationDetectionRuleParams

func NewDeleteApplicationDetectionRuleParams() *DeleteApplicationDetectionRuleParams

NewDeleteApplicationDetectionRuleParams creates a new DeleteApplicationDetectionRuleParams object with the default values initialized.

func NewDeleteApplicationDetectionRuleParamsWithContext

func NewDeleteApplicationDetectionRuleParamsWithContext(ctx context.Context) *DeleteApplicationDetectionRuleParams

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

func NewDeleteApplicationDetectionRuleParamsWithHTTPClient

func NewDeleteApplicationDetectionRuleParamsWithHTTPClient(client *http.Client) *DeleteApplicationDetectionRuleParams

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

func NewDeleteApplicationDetectionRuleParamsWithTimeout

func NewDeleteApplicationDetectionRuleParamsWithTimeout(timeout time.Duration) *DeleteApplicationDetectionRuleParams

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

func (*DeleteApplicationDetectionRuleParams) SetContext

SetContext adds the context to the delete application detection rule params

func (*DeleteApplicationDetectionRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete application detection rule params

func (*DeleteApplicationDetectionRuleParams) SetID

SetID adds the id to the delete application detection rule params

func (*DeleteApplicationDetectionRuleParams) SetTimeout

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

SetTimeout adds the timeout to the delete application detection rule params

func (*DeleteApplicationDetectionRuleParams) WithContext

WithContext adds the context to the delete application detection rule params

func (*DeleteApplicationDetectionRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete application detection rule params

func (*DeleteApplicationDetectionRuleParams) WithID

WithID adds the id to the delete application detection rule params

func (*DeleteApplicationDetectionRuleParams) WithTimeout

WithTimeout adds the timeout to the delete application detection rule params

func (*DeleteApplicationDetectionRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteApplicationDetectionRuleReader

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

DeleteApplicationDetectionRuleReader is a Reader for the DeleteApplicationDetectionRule structure.

func (*DeleteApplicationDetectionRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetApplicationDetectionRuleOK

type GetApplicationDetectionRuleOK struct {
	Payload *dynatrace.ApplicationDetectionRuleConfig
}

GetApplicationDetectionRuleOK handles this case with default header values.

successful operation

func NewGetApplicationDetectionRuleOK

func NewGetApplicationDetectionRuleOK() *GetApplicationDetectionRuleOK

NewGetApplicationDetectionRuleOK creates a GetApplicationDetectionRuleOK with default headers values

func (*GetApplicationDetectionRuleOK) Error

func (*GetApplicationDetectionRuleOK) GetPayload

type GetApplicationDetectionRuleParams

type GetApplicationDetectionRuleParams struct {

	/*ID
	  The ID of the required application detection rule.

	*/
	ID strfmt.UUID

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

GetApplicationDetectionRuleParams contains all the parameters to send to the API endpoint for the get application detection rule operation typically these are written to a http.Request

func NewGetApplicationDetectionRuleParams

func NewGetApplicationDetectionRuleParams() *GetApplicationDetectionRuleParams

NewGetApplicationDetectionRuleParams creates a new GetApplicationDetectionRuleParams object with the default values initialized.

func NewGetApplicationDetectionRuleParamsWithContext

func NewGetApplicationDetectionRuleParamsWithContext(ctx context.Context) *GetApplicationDetectionRuleParams

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

func NewGetApplicationDetectionRuleParamsWithHTTPClient

func NewGetApplicationDetectionRuleParamsWithHTTPClient(client *http.Client) *GetApplicationDetectionRuleParams

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

func NewGetApplicationDetectionRuleParamsWithTimeout

func NewGetApplicationDetectionRuleParamsWithTimeout(timeout time.Duration) *GetApplicationDetectionRuleParams

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

func (*GetApplicationDetectionRuleParams) SetContext

SetContext adds the context to the get application detection rule params

func (*GetApplicationDetectionRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get application detection rule params

func (*GetApplicationDetectionRuleParams) SetID

SetID adds the id to the get application detection rule params

func (*GetApplicationDetectionRuleParams) SetTimeout

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

SetTimeout adds the timeout to the get application detection rule params

func (*GetApplicationDetectionRuleParams) WithContext

WithContext adds the context to the get application detection rule params

func (*GetApplicationDetectionRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get application detection rule params

func (*GetApplicationDetectionRuleParams) WithID

WithID adds the id to the get application detection rule params

func (*GetApplicationDetectionRuleParams) WithTimeout

WithTimeout adds the timeout to the get application detection rule params

func (*GetApplicationDetectionRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetApplicationDetectionRuleReader

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

GetApplicationDetectionRuleReader is a Reader for the GetApplicationDetectionRule structure.

func (*GetApplicationDetectionRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetApplicationDetectionRulesOK

type GetApplicationDetectionRulesOK struct {
	Payload *dynatrace.StubList
}

GetApplicationDetectionRulesOK handles this case with default header values.

successful operation

func NewGetApplicationDetectionRulesOK

func NewGetApplicationDetectionRulesOK() *GetApplicationDetectionRulesOK

NewGetApplicationDetectionRulesOK creates a GetApplicationDetectionRulesOK with default headers values

func (*GetApplicationDetectionRulesOK) Error

func (*GetApplicationDetectionRulesOK) GetPayload

type GetApplicationDetectionRulesParams

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

GetApplicationDetectionRulesParams contains all the parameters to send to the API endpoint for the get application detection rules operation typically these are written to a http.Request

func NewGetApplicationDetectionRulesParams

func NewGetApplicationDetectionRulesParams() *GetApplicationDetectionRulesParams

NewGetApplicationDetectionRulesParams creates a new GetApplicationDetectionRulesParams object with the default values initialized.

func NewGetApplicationDetectionRulesParamsWithContext

func NewGetApplicationDetectionRulesParamsWithContext(ctx context.Context) *GetApplicationDetectionRulesParams

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

func NewGetApplicationDetectionRulesParamsWithHTTPClient

func NewGetApplicationDetectionRulesParamsWithHTTPClient(client *http.Client) *GetApplicationDetectionRulesParams

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

func NewGetApplicationDetectionRulesParamsWithTimeout

func NewGetApplicationDetectionRulesParamsWithTimeout(timeout time.Duration) *GetApplicationDetectionRulesParams

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

func (*GetApplicationDetectionRulesParams) SetContext

SetContext adds the context to the get application detection rules params

func (*GetApplicationDetectionRulesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get application detection rules params

func (*GetApplicationDetectionRulesParams) SetTimeout

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

SetTimeout adds the timeout to the get application detection rules params

func (*GetApplicationDetectionRulesParams) WithContext

WithContext adds the context to the get application detection rules params

func (*GetApplicationDetectionRulesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get application detection rules params

func (*GetApplicationDetectionRulesParams) WithTimeout

WithTimeout adds the timeout to the get application detection rules params

func (*GetApplicationDetectionRulesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetApplicationDetectionRulesReader

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

GetApplicationDetectionRulesReader is a Reader for the GetApplicationDetectionRules structure.

func (*GetApplicationDetectionRulesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateApplicationDetectionRuleBadRequest

type UpdateApplicationDetectionRuleBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

UpdateApplicationDetectionRuleBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewUpdateApplicationDetectionRuleBadRequest

func NewUpdateApplicationDetectionRuleBadRequest() *UpdateApplicationDetectionRuleBadRequest

NewUpdateApplicationDetectionRuleBadRequest creates a UpdateApplicationDetectionRuleBadRequest with default headers values

func (*UpdateApplicationDetectionRuleBadRequest) Error

func (*UpdateApplicationDetectionRuleBadRequest) GetPayload

type UpdateApplicationDetectionRuleCreated

type UpdateApplicationDetectionRuleCreated struct {
	Payload *dynatrace.EntityShortRepresentation
}

UpdateApplicationDetectionRuleCreated handles this case with default header values.

Success. Application detection rule has been created. Response contains the ID of the new rule.

func NewUpdateApplicationDetectionRuleCreated

func NewUpdateApplicationDetectionRuleCreated() *UpdateApplicationDetectionRuleCreated

NewUpdateApplicationDetectionRuleCreated creates a UpdateApplicationDetectionRuleCreated with default headers values

func (*UpdateApplicationDetectionRuleCreated) Error

func (*UpdateApplicationDetectionRuleCreated) GetPayload

type UpdateApplicationDetectionRuleNoContent

type UpdateApplicationDetectionRuleNoContent struct {
}

UpdateApplicationDetectionRuleNoContent handles this case with default header values.

Success. Application detection rule has been updated. Response doesn't have a body.

func NewUpdateApplicationDetectionRuleNoContent

func NewUpdateApplicationDetectionRuleNoContent() *UpdateApplicationDetectionRuleNoContent

NewUpdateApplicationDetectionRuleNoContent creates a UpdateApplicationDetectionRuleNoContent with default headers values

func (*UpdateApplicationDetectionRuleNoContent) Error

type UpdateApplicationDetectionRuleParams

type UpdateApplicationDetectionRuleParams struct {

	/*Body
	 The JSON body of the request. Contains updated parameters of the application detection rule.

	If the **order** parameter is set, the rule is placed to this position.

	*/
	Body *dynatrace.ApplicationDetectionRuleConfig
	/*ID
	 The ID of the application detection rule to be updated.

	If you set the ID in the body as well, it must match this ID.

	*/
	ID strfmt.UUID

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

UpdateApplicationDetectionRuleParams contains all the parameters to send to the API endpoint for the update application detection rule operation typically these are written to a http.Request

func NewUpdateApplicationDetectionRuleParams

func NewUpdateApplicationDetectionRuleParams() *UpdateApplicationDetectionRuleParams

NewUpdateApplicationDetectionRuleParams creates a new UpdateApplicationDetectionRuleParams object with the default values initialized.

func NewUpdateApplicationDetectionRuleParamsWithContext

func NewUpdateApplicationDetectionRuleParamsWithContext(ctx context.Context) *UpdateApplicationDetectionRuleParams

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

func NewUpdateApplicationDetectionRuleParamsWithHTTPClient

func NewUpdateApplicationDetectionRuleParamsWithHTTPClient(client *http.Client) *UpdateApplicationDetectionRuleParams

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

func NewUpdateApplicationDetectionRuleParamsWithTimeout

func NewUpdateApplicationDetectionRuleParamsWithTimeout(timeout time.Duration) *UpdateApplicationDetectionRuleParams

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

func (*UpdateApplicationDetectionRuleParams) SetBody

SetBody adds the body to the update application detection rule params

func (*UpdateApplicationDetectionRuleParams) SetContext

SetContext adds the context to the update application detection rule params

func (*UpdateApplicationDetectionRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update application detection rule params

func (*UpdateApplicationDetectionRuleParams) SetID

SetID adds the id to the update application detection rule params

func (*UpdateApplicationDetectionRuleParams) SetTimeout

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

SetTimeout adds the timeout to the update application detection rule params

func (*UpdateApplicationDetectionRuleParams) WithBody

WithBody adds the body to the update application detection rule params

func (*UpdateApplicationDetectionRuleParams) WithContext

WithContext adds the context to the update application detection rule params

func (*UpdateApplicationDetectionRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update application detection rule params

func (*UpdateApplicationDetectionRuleParams) WithID

WithID adds the id to the update application detection rule params

func (*UpdateApplicationDetectionRuleParams) WithTimeout

WithTimeout adds the timeout to the update application detection rule params

func (*UpdateApplicationDetectionRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateApplicationDetectionRuleReader

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

UpdateApplicationDetectionRuleReader is a Reader for the UpdateApplicationDetectionRule structure.

func (*UpdateApplicationDetectionRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateApplicationDetectionRulesOrderBadRequest

type UpdateApplicationDetectionRulesOrderBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

UpdateApplicationDetectionRulesOrderBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewUpdateApplicationDetectionRulesOrderBadRequest

func NewUpdateApplicationDetectionRulesOrderBadRequest() *UpdateApplicationDetectionRulesOrderBadRequest

NewUpdateApplicationDetectionRulesOrderBadRequest creates a UpdateApplicationDetectionRulesOrderBadRequest with default headers values

func (*UpdateApplicationDetectionRulesOrderBadRequest) Error

func (*UpdateApplicationDetectionRulesOrderBadRequest) GetPayload

type UpdateApplicationDetectionRulesOrderNoContent

type UpdateApplicationDetectionRulesOrderNoContent struct {
}

UpdateApplicationDetectionRulesOrderNoContent handles this case with default header values.

Success. Application detection rules have been reordered. Response doesn't have a body.

func NewUpdateApplicationDetectionRulesOrderNoContent

func NewUpdateApplicationDetectionRulesOrderNoContent() *UpdateApplicationDetectionRulesOrderNoContent

NewUpdateApplicationDetectionRulesOrderNoContent creates a UpdateApplicationDetectionRulesOrderNoContent with default headers values

func (*UpdateApplicationDetectionRulesOrderNoContent) Error

type UpdateApplicationDetectionRulesOrderParams

type UpdateApplicationDetectionRulesOrderParams struct {

	/*Body
	  The JSON body of the request. Contains the IDs of the application detection rules in the desired order. Any further properties (**name**, **description**) are ignored.

	*/
	Body *dynatrace.StubList

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

UpdateApplicationDetectionRulesOrderParams contains all the parameters to send to the API endpoint for the update application detection rules order operation typically these are written to a http.Request

func NewUpdateApplicationDetectionRulesOrderParams

func NewUpdateApplicationDetectionRulesOrderParams() *UpdateApplicationDetectionRulesOrderParams

NewUpdateApplicationDetectionRulesOrderParams creates a new UpdateApplicationDetectionRulesOrderParams object with the default values initialized.

func NewUpdateApplicationDetectionRulesOrderParamsWithContext

func NewUpdateApplicationDetectionRulesOrderParamsWithContext(ctx context.Context) *UpdateApplicationDetectionRulesOrderParams

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

func NewUpdateApplicationDetectionRulesOrderParamsWithHTTPClient

func NewUpdateApplicationDetectionRulesOrderParamsWithHTTPClient(client *http.Client) *UpdateApplicationDetectionRulesOrderParams

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

func NewUpdateApplicationDetectionRulesOrderParamsWithTimeout

func NewUpdateApplicationDetectionRulesOrderParamsWithTimeout(timeout time.Duration) *UpdateApplicationDetectionRulesOrderParams

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

func (*UpdateApplicationDetectionRulesOrderParams) SetBody

SetBody adds the body to the update application detection rules order params

func (*UpdateApplicationDetectionRulesOrderParams) SetContext

SetContext adds the context to the update application detection rules order params

func (*UpdateApplicationDetectionRulesOrderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update application detection rules order params

func (*UpdateApplicationDetectionRulesOrderParams) SetTimeout

SetTimeout adds the timeout to the update application detection rules order params

func (*UpdateApplicationDetectionRulesOrderParams) WithBody

WithBody adds the body to the update application detection rules order params

func (*UpdateApplicationDetectionRulesOrderParams) WithContext

WithContext adds the context to the update application detection rules order params

func (*UpdateApplicationDetectionRulesOrderParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update application detection rules order params

func (*UpdateApplicationDetectionRulesOrderParams) WithTimeout

WithTimeout adds the timeout to the update application detection rules order params

func (*UpdateApplicationDetectionRulesOrderParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateApplicationDetectionRulesOrderReader

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

UpdateApplicationDetectionRulesOrderReader is a Reader for the UpdateApplicationDetectionRulesOrder structure.

func (*UpdateApplicationDetectionRulesOrderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ValidateCreateApplicationDetectionRuleBadRequest

type ValidateCreateApplicationDetectionRuleBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

ValidateCreateApplicationDetectionRuleBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewValidateCreateApplicationDetectionRuleBadRequest

func NewValidateCreateApplicationDetectionRuleBadRequest() *ValidateCreateApplicationDetectionRuleBadRequest

NewValidateCreateApplicationDetectionRuleBadRequest creates a ValidateCreateApplicationDetectionRuleBadRequest with default headers values

func (*ValidateCreateApplicationDetectionRuleBadRequest) Error

func (*ValidateCreateApplicationDetectionRuleBadRequest) GetPayload

type ValidateCreateApplicationDetectionRuleNoContent

type ValidateCreateApplicationDetectionRuleNoContent struct {
}

ValidateCreateApplicationDetectionRuleNoContent handles this case with default header values.

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

func NewValidateCreateApplicationDetectionRuleNoContent

func NewValidateCreateApplicationDetectionRuleNoContent() *ValidateCreateApplicationDetectionRuleNoContent

NewValidateCreateApplicationDetectionRuleNoContent creates a ValidateCreateApplicationDetectionRuleNoContent with default headers values

func (*ValidateCreateApplicationDetectionRuleNoContent) Error

type ValidateCreateApplicationDetectionRuleParams

type ValidateCreateApplicationDetectionRuleParams struct {

	/*Body
	  The JSON body of the request. Contains the application detection rule to be validated.

	*/
	Body *dynatrace.ApplicationDetectionRuleConfig

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

ValidateCreateApplicationDetectionRuleParams contains all the parameters to send to the API endpoint for the validate create application detection rule operation typically these are written to a http.Request

func NewValidateCreateApplicationDetectionRuleParams

func NewValidateCreateApplicationDetectionRuleParams() *ValidateCreateApplicationDetectionRuleParams

NewValidateCreateApplicationDetectionRuleParams creates a new ValidateCreateApplicationDetectionRuleParams object with the default values initialized.

func NewValidateCreateApplicationDetectionRuleParamsWithContext

func NewValidateCreateApplicationDetectionRuleParamsWithContext(ctx context.Context) *ValidateCreateApplicationDetectionRuleParams

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

func NewValidateCreateApplicationDetectionRuleParamsWithHTTPClient

func NewValidateCreateApplicationDetectionRuleParamsWithHTTPClient(client *http.Client) *ValidateCreateApplicationDetectionRuleParams

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

func NewValidateCreateApplicationDetectionRuleParamsWithTimeout

func NewValidateCreateApplicationDetectionRuleParamsWithTimeout(timeout time.Duration) *ValidateCreateApplicationDetectionRuleParams

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

func (*ValidateCreateApplicationDetectionRuleParams) SetBody

SetBody adds the body to the validate create application detection rule params

func (*ValidateCreateApplicationDetectionRuleParams) SetContext

SetContext adds the context to the validate create application detection rule params

func (*ValidateCreateApplicationDetectionRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the validate create application detection rule params

func (*ValidateCreateApplicationDetectionRuleParams) SetTimeout

SetTimeout adds the timeout to the validate create application detection rule params

func (*ValidateCreateApplicationDetectionRuleParams) WithBody

WithBody adds the body to the validate create application detection rule params

func (*ValidateCreateApplicationDetectionRuleParams) WithContext

WithContext adds the context to the validate create application detection rule params

func (*ValidateCreateApplicationDetectionRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate create application detection rule params

func (*ValidateCreateApplicationDetectionRuleParams) WithTimeout

WithTimeout adds the timeout to the validate create application detection rule params

func (*ValidateCreateApplicationDetectionRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateCreateApplicationDetectionRuleReader

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

ValidateCreateApplicationDetectionRuleReader is a Reader for the ValidateCreateApplicationDetectionRule structure.

func (*ValidateCreateApplicationDetectionRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ValidateUpdateApplicationDetectionRuleBadRequest

type ValidateUpdateApplicationDetectionRuleBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

ValidateUpdateApplicationDetectionRuleBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewValidateUpdateApplicationDetectionRuleBadRequest

func NewValidateUpdateApplicationDetectionRuleBadRequest() *ValidateUpdateApplicationDetectionRuleBadRequest

NewValidateUpdateApplicationDetectionRuleBadRequest creates a ValidateUpdateApplicationDetectionRuleBadRequest with default headers values

func (*ValidateUpdateApplicationDetectionRuleBadRequest) Error

func (*ValidateUpdateApplicationDetectionRuleBadRequest) GetPayload

type ValidateUpdateApplicationDetectionRuleNoContent

type ValidateUpdateApplicationDetectionRuleNoContent struct {
}

ValidateUpdateApplicationDetectionRuleNoContent handles this case with default header values.

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

func NewValidateUpdateApplicationDetectionRuleNoContent

func NewValidateUpdateApplicationDetectionRuleNoContent() *ValidateUpdateApplicationDetectionRuleNoContent

NewValidateUpdateApplicationDetectionRuleNoContent creates a ValidateUpdateApplicationDetectionRuleNoContent with default headers values

func (*ValidateUpdateApplicationDetectionRuleNoContent) Error

type ValidateUpdateApplicationDetectionRuleParams

type ValidateUpdateApplicationDetectionRuleParams struct {

	/*Body
	  The JSON body of the request. Contains the application detection rule to be validated.

	*/
	Body *dynatrace.ApplicationDetectionRuleConfig
	/*ID
	 The ID of the application detection rule to be validated.

	If you set the ID in the body as well, it must match this ID.

	*/
	ID strfmt.UUID

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

ValidateUpdateApplicationDetectionRuleParams contains all the parameters to send to the API endpoint for the validate update application detection rule operation typically these are written to a http.Request

func NewValidateUpdateApplicationDetectionRuleParams

func NewValidateUpdateApplicationDetectionRuleParams() *ValidateUpdateApplicationDetectionRuleParams

NewValidateUpdateApplicationDetectionRuleParams creates a new ValidateUpdateApplicationDetectionRuleParams object with the default values initialized.

func NewValidateUpdateApplicationDetectionRuleParamsWithContext

func NewValidateUpdateApplicationDetectionRuleParamsWithContext(ctx context.Context) *ValidateUpdateApplicationDetectionRuleParams

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

func NewValidateUpdateApplicationDetectionRuleParamsWithHTTPClient

func NewValidateUpdateApplicationDetectionRuleParamsWithHTTPClient(client *http.Client) *ValidateUpdateApplicationDetectionRuleParams

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

func NewValidateUpdateApplicationDetectionRuleParamsWithTimeout

func NewValidateUpdateApplicationDetectionRuleParamsWithTimeout(timeout time.Duration) *ValidateUpdateApplicationDetectionRuleParams

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

func (*ValidateUpdateApplicationDetectionRuleParams) SetBody

SetBody adds the body to the validate update application detection rule params

func (*ValidateUpdateApplicationDetectionRuleParams) SetContext

SetContext adds the context to the validate update application detection rule params

func (*ValidateUpdateApplicationDetectionRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the validate update application detection rule params

func (*ValidateUpdateApplicationDetectionRuleParams) SetID

SetID adds the id to the validate update application detection rule params

func (*ValidateUpdateApplicationDetectionRuleParams) SetTimeout

SetTimeout adds the timeout to the validate update application detection rule params

func (*ValidateUpdateApplicationDetectionRuleParams) WithBody

WithBody adds the body to the validate update application detection rule params

func (*ValidateUpdateApplicationDetectionRuleParams) WithContext

WithContext adds the context to the validate update application detection rule params

func (*ValidateUpdateApplicationDetectionRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate update application detection rule params

func (*ValidateUpdateApplicationDetectionRuleParams) WithID

WithID adds the id to the validate update application detection rule params

func (*ValidateUpdateApplicationDetectionRuleParams) WithTimeout

WithTimeout adds the timeout to the validate update application detection rule params

func (*ValidateUpdateApplicationDetectionRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateUpdateApplicationDetectionRuleReader

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

ValidateUpdateApplicationDetectionRuleReader is a Reader for the ValidateUpdateApplicationDetectionRule structure.

func (*ValidateUpdateApplicationDetectionRuleReader) ReadResponse

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