observability

package
v2.19.1-beta.3 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2025 License: ISC Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClearSystemServiceAlertNotificationConfigBadRequest added in v2.19.0

type ClearSystemServiceAlertNotificationConfigBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ClearSystemServiceAlertNotificationConfigBadRequest describes a response with status code 400, with default header values.

Bad request

func NewClearSystemServiceAlertNotificationConfigBadRequest added in v2.19.0

func NewClearSystemServiceAlertNotificationConfigBadRequest() *ClearSystemServiceAlertNotificationConfigBadRequest

NewClearSystemServiceAlertNotificationConfigBadRequest creates a ClearSystemServiceAlertNotificationConfigBadRequest with default headers values

func (*ClearSystemServiceAlertNotificationConfigBadRequest) Error added in v2.19.0

func (*ClearSystemServiceAlertNotificationConfigBadRequest) GetPayload added in v2.19.0

type ClearSystemServiceAlertNotificationConfigInternalServerError added in v2.19.0

type ClearSystemServiceAlertNotificationConfigInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ClearSystemServiceAlertNotificationConfigInternalServerError describes a response with status code 500, with default header values.

Server error

func NewClearSystemServiceAlertNotificationConfigInternalServerError added in v2.19.0

func NewClearSystemServiceAlertNotificationConfigInternalServerError() *ClearSystemServiceAlertNotificationConfigInternalServerError

NewClearSystemServiceAlertNotificationConfigInternalServerError creates a ClearSystemServiceAlertNotificationConfigInternalServerError with default headers values

func (*ClearSystemServiceAlertNotificationConfigInternalServerError) Error added in v2.19.0

func (*ClearSystemServiceAlertNotificationConfigInternalServerError) GetPayload added in v2.19.0

type ClearSystemServiceAlertNotificationConfigNotFound added in v2.19.0

type ClearSystemServiceAlertNotificationConfigNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ClearSystemServiceAlertNotificationConfigNotFound describes a response with status code 404, with default header values.

Not found

func NewClearSystemServiceAlertNotificationConfigNotFound added in v2.19.0

func NewClearSystemServiceAlertNotificationConfigNotFound() *ClearSystemServiceAlertNotificationConfigNotFound

NewClearSystemServiceAlertNotificationConfigNotFound creates a ClearSystemServiceAlertNotificationConfigNotFound with default headers values

func (*ClearSystemServiceAlertNotificationConfigNotFound) Error added in v2.19.0

func (*ClearSystemServiceAlertNotificationConfigNotFound) GetPayload added in v2.19.0

type ClearSystemServiceAlertNotificationConfigOK added in v2.19.0

type ClearSystemServiceAlertNotificationConfigOK struct {
	XTowerRequestID string

	Payload *models.WithTaskDisassociateSystemServiceFromObsServiceResult
}
ClearSystemServiceAlertNotificationConfigOK describes a response with status code 200, with default header values.

ClearSystemServiceAlertNotificationConfigOK clear system service alert notification config o k

func NewClearSystemServiceAlertNotificationConfigOK added in v2.19.0

func NewClearSystemServiceAlertNotificationConfigOK() *ClearSystemServiceAlertNotificationConfigOK

NewClearSystemServiceAlertNotificationConfigOK creates a ClearSystemServiceAlertNotificationConfigOK with default headers values

func (*ClearSystemServiceAlertNotificationConfigOK) Error added in v2.19.0

func (*ClearSystemServiceAlertNotificationConfigOK) GetPayload added in v2.19.0

type ClearSystemServiceAlertNotificationConfigParams added in v2.19.0

type ClearSystemServiceAlertNotificationConfigParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.DisassociateSystemServiceFromObsServiceParams

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

ClearSystemServiceAlertNotificationConfigParams contains all the parameters to send to the API endpoint

for the clear system service alert notification config operation.

Typically these are written to a http.Request.

func NewClearSystemServiceAlertNotificationConfigParams added in v2.19.0

func NewClearSystemServiceAlertNotificationConfigParams() *ClearSystemServiceAlertNotificationConfigParams

NewClearSystemServiceAlertNotificationConfigParams creates a new ClearSystemServiceAlertNotificationConfigParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewClearSystemServiceAlertNotificationConfigParamsWithContext added in v2.19.0

func NewClearSystemServiceAlertNotificationConfigParamsWithContext(ctx context.Context) *ClearSystemServiceAlertNotificationConfigParams

NewClearSystemServiceAlertNotificationConfigParamsWithContext creates a new ClearSystemServiceAlertNotificationConfigParams object with the ability to set a context for a request.

func NewClearSystemServiceAlertNotificationConfigParamsWithHTTPClient added in v2.19.0

func NewClearSystemServiceAlertNotificationConfigParamsWithHTTPClient(client *http.Client) *ClearSystemServiceAlertNotificationConfigParams

NewClearSystemServiceAlertNotificationConfigParamsWithHTTPClient creates a new ClearSystemServiceAlertNotificationConfigParams object with the ability to set a custom HTTPClient for a request.

func NewClearSystemServiceAlertNotificationConfigParamsWithTimeout added in v2.19.0

func NewClearSystemServiceAlertNotificationConfigParamsWithTimeout(timeout time.Duration) *ClearSystemServiceAlertNotificationConfigParams

NewClearSystemServiceAlertNotificationConfigParamsWithTimeout creates a new ClearSystemServiceAlertNotificationConfigParams object with the ability to set a timeout on a request.

func (*ClearSystemServiceAlertNotificationConfigParams) SetContentLanguage added in v2.19.0

func (o *ClearSystemServiceAlertNotificationConfigParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the clear system service alert notification config params

func (*ClearSystemServiceAlertNotificationConfigParams) SetContext added in v2.19.0

SetContext adds the context to the clear system service alert notification config params

func (*ClearSystemServiceAlertNotificationConfigParams) SetDefaults added in v2.19.0

SetDefaults hydrates default values in the clear system service alert notification config params (not the query body).

All values with no default are reset to their zero value.

func (*ClearSystemServiceAlertNotificationConfigParams) SetHTTPClient added in v2.19.0

SetHTTPClient adds the HTTPClient to the clear system service alert notification config params

func (*ClearSystemServiceAlertNotificationConfigParams) SetRequestBody added in v2.19.0

SetRequestBody adds the requestBody to the clear system service alert notification config params

func (*ClearSystemServiceAlertNotificationConfigParams) SetTimeout added in v2.19.0

SetTimeout adds the timeout to the clear system service alert notification config params

func (*ClearSystemServiceAlertNotificationConfigParams) WithContentLanguage added in v2.19.0

WithContentLanguage adds the contentLanguage to the clear system service alert notification config params

func (*ClearSystemServiceAlertNotificationConfigParams) WithContext added in v2.19.0

WithContext adds the context to the clear system service alert notification config params

func (*ClearSystemServiceAlertNotificationConfigParams) WithDefaults added in v2.19.0

WithDefaults hydrates default values in the clear system service alert notification config params (not the query body).

All values with no default are reset to their zero value.

func (*ClearSystemServiceAlertNotificationConfigParams) WithHTTPClient added in v2.19.0

WithHTTPClient adds the HTTPClient to the clear system service alert notification config params

func (*ClearSystemServiceAlertNotificationConfigParams) WithRequestBody added in v2.19.0

WithRequestBody adds the requestBody to the clear system service alert notification config params

func (*ClearSystemServiceAlertNotificationConfigParams) WithTimeout added in v2.19.0

WithTimeout adds the timeout to the clear system service alert notification config params

func (*ClearSystemServiceAlertNotificationConfigParams) WriteToRequest added in v2.19.0

WriteToRequest writes these params to a swagger request

type ClearSystemServiceAlertNotificationConfigReader added in v2.19.0

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

ClearSystemServiceAlertNotificationConfigReader is a Reader for the ClearSystemServiceAlertNotificationConfig structure.

func (*ClearSystemServiceAlertNotificationConfigReader) ReadResponse added in v2.19.0

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

ReadResponse reads a server response into the received o.

type Client

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

Client for observability API

func (*Client) ClearSystemServiceAlertNotificationConfig added in v2.19.0

func (a *Client) ClearSystemServiceAlertNotificationConfig(params *ClearSystemServiceAlertNotificationConfigParams, opts ...ClientOption) (*ClearSystemServiceAlertNotificationConfigOK, error)

ClearSystemServiceAlertNotificationConfig clear system service alert notification config API

func (*Client) DisassociateSystemServiceFromObsService

func (a *Client) DisassociateSystemServiceFromObsService(params *DisassociateSystemServiceFromObsServiceParams, opts ...ClientOption) (*DisassociateSystemServiceFromObsServiceOK, error)

DisassociateSystemServiceFromObsService disassociate system service from obs service API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ClearSystemServiceAlertNotificationConfig(params *ClearSystemServiceAlertNotificationConfigParams, opts ...ClientOption) (*ClearSystemServiceAlertNotificationConfigOK, error)

	DisassociateSystemServiceFromObsService(params *DisassociateSystemServiceFromObsServiceParams, opts ...ClientOption) (*DisassociateSystemServiceFromObsServiceOK, 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 observability API client.

type DisassociateSystemServiceFromObsServiceBadRequest

type DisassociateSystemServiceFromObsServiceBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DisassociateSystemServiceFromObsServiceBadRequest describes a response with status code 400, with default header values.

Bad request

func NewDisassociateSystemServiceFromObsServiceBadRequest

func NewDisassociateSystemServiceFromObsServiceBadRequest() *DisassociateSystemServiceFromObsServiceBadRequest

NewDisassociateSystemServiceFromObsServiceBadRequest creates a DisassociateSystemServiceFromObsServiceBadRequest with default headers values

func (*DisassociateSystemServiceFromObsServiceBadRequest) Error

func (*DisassociateSystemServiceFromObsServiceBadRequest) GetPayload

type DisassociateSystemServiceFromObsServiceInternalServerError

type DisassociateSystemServiceFromObsServiceInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DisassociateSystemServiceFromObsServiceInternalServerError describes a response with status code 500, with default header values.

Server error

func NewDisassociateSystemServiceFromObsServiceInternalServerError

func NewDisassociateSystemServiceFromObsServiceInternalServerError() *DisassociateSystemServiceFromObsServiceInternalServerError

NewDisassociateSystemServiceFromObsServiceInternalServerError creates a DisassociateSystemServiceFromObsServiceInternalServerError with default headers values

func (*DisassociateSystemServiceFromObsServiceInternalServerError) Error

func (*DisassociateSystemServiceFromObsServiceInternalServerError) GetPayload

type DisassociateSystemServiceFromObsServiceNotFound

type DisassociateSystemServiceFromObsServiceNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DisassociateSystemServiceFromObsServiceNotFound describes a response with status code 404, with default header values.

Not found

func NewDisassociateSystemServiceFromObsServiceNotFound

func NewDisassociateSystemServiceFromObsServiceNotFound() *DisassociateSystemServiceFromObsServiceNotFound

NewDisassociateSystemServiceFromObsServiceNotFound creates a DisassociateSystemServiceFromObsServiceNotFound with default headers values

func (*DisassociateSystemServiceFromObsServiceNotFound) Error

func (*DisassociateSystemServiceFromObsServiceNotFound) GetPayload

type DisassociateSystemServiceFromObsServiceOK

type DisassociateSystemServiceFromObsServiceOK struct {
	XTowerRequestID string

	Payload *models.WithTaskDisassociateSystemServiceFromObsServiceResult
}
DisassociateSystemServiceFromObsServiceOK describes a response with status code 200, with default header values.

DisassociateSystemServiceFromObsServiceOK disassociate system service from obs service o k

func NewDisassociateSystemServiceFromObsServiceOK

func NewDisassociateSystemServiceFromObsServiceOK() *DisassociateSystemServiceFromObsServiceOK

NewDisassociateSystemServiceFromObsServiceOK creates a DisassociateSystemServiceFromObsServiceOK with default headers values

func (*DisassociateSystemServiceFromObsServiceOK) Error

func (*DisassociateSystemServiceFromObsServiceOK) GetPayload

type DisassociateSystemServiceFromObsServiceParams

type DisassociateSystemServiceFromObsServiceParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.DisassociateSystemServiceFromObsServiceParams

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

DisassociateSystemServiceFromObsServiceParams contains all the parameters to send to the API endpoint

for the disassociate system service from obs service operation.

Typically these are written to a http.Request.

func NewDisassociateSystemServiceFromObsServiceParams

func NewDisassociateSystemServiceFromObsServiceParams() *DisassociateSystemServiceFromObsServiceParams

NewDisassociateSystemServiceFromObsServiceParams creates a new DisassociateSystemServiceFromObsServiceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDisassociateSystemServiceFromObsServiceParamsWithContext

func NewDisassociateSystemServiceFromObsServiceParamsWithContext(ctx context.Context) *DisassociateSystemServiceFromObsServiceParams

NewDisassociateSystemServiceFromObsServiceParamsWithContext creates a new DisassociateSystemServiceFromObsServiceParams object with the ability to set a context for a request.

func NewDisassociateSystemServiceFromObsServiceParamsWithHTTPClient

func NewDisassociateSystemServiceFromObsServiceParamsWithHTTPClient(client *http.Client) *DisassociateSystemServiceFromObsServiceParams

NewDisassociateSystemServiceFromObsServiceParamsWithHTTPClient creates a new DisassociateSystemServiceFromObsServiceParams object with the ability to set a custom HTTPClient for a request.

func NewDisassociateSystemServiceFromObsServiceParamsWithTimeout

func NewDisassociateSystemServiceFromObsServiceParamsWithTimeout(timeout time.Duration) *DisassociateSystemServiceFromObsServiceParams

NewDisassociateSystemServiceFromObsServiceParamsWithTimeout creates a new DisassociateSystemServiceFromObsServiceParams object with the ability to set a timeout on a request.

func (*DisassociateSystemServiceFromObsServiceParams) SetContentLanguage

func (o *DisassociateSystemServiceFromObsServiceParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the disassociate system service from obs service params

func (*DisassociateSystemServiceFromObsServiceParams) SetContext

SetContext adds the context to the disassociate system service from obs service params

func (*DisassociateSystemServiceFromObsServiceParams) SetDefaults

SetDefaults hydrates default values in the disassociate system service from obs service params (not the query body).

All values with no default are reset to their zero value.

func (*DisassociateSystemServiceFromObsServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the disassociate system service from obs service params

func (*DisassociateSystemServiceFromObsServiceParams) SetRequestBody

SetRequestBody adds the requestBody to the disassociate system service from obs service params

func (*DisassociateSystemServiceFromObsServiceParams) SetTimeout

SetTimeout adds the timeout to the disassociate system service from obs service params

func (*DisassociateSystemServiceFromObsServiceParams) WithContentLanguage

WithContentLanguage adds the contentLanguage to the disassociate system service from obs service params

func (*DisassociateSystemServiceFromObsServiceParams) WithContext

WithContext adds the context to the disassociate system service from obs service params

func (*DisassociateSystemServiceFromObsServiceParams) WithDefaults

WithDefaults hydrates default values in the disassociate system service from obs service params (not the query body).

All values with no default are reset to their zero value.

func (*DisassociateSystemServiceFromObsServiceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the disassociate system service from obs service params

func (*DisassociateSystemServiceFromObsServiceParams) WithRequestBody

WithRequestBody adds the requestBody to the disassociate system service from obs service params

func (*DisassociateSystemServiceFromObsServiceParams) WithTimeout

WithTimeout adds the timeout to the disassociate system service from obs service params

func (*DisassociateSystemServiceFromObsServiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DisassociateSystemServiceFromObsServiceReader

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

DisassociateSystemServiceFromObsServiceReader is a Reader for the DisassociateSystemServiceFromObsService structure.

func (*DisassociateSystemServiceFromObsServiceReader) ReadResponse

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