resource_group

package
v0.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2021 License: Apache-2.0 Imports: 11 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 resource group API

func (*Client) CreateResourceGroup

func (a *Client) CreateResourceGroup(params *CreateResourceGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateResourceGroupOK, error)

CreateResourceGroup creates resource group

Create a resource group record.

func (*Client) DeleteResourceGroup

func (a *Client) DeleteResourceGroup(params *DeleteResourceGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteResourceGroupOK, error)

DeleteResourceGroup deletes resource group

Delete a resource group record.

func (*Client) GetResourceGroup

func (a *Client) GetResourceGroup(params *GetResourceGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceGroupOK, error)

GetResourceGroup gets resource group

Get the configuration (without security details) of a resource group record.

func (*Client) GetResourceGroupByName

func (a *Client) GetResourceGroupByName(params *GetResourceGroupByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceGroupByNameOK, error)

GetResourceGroupByName gets resource group

Get the configuration (without security details) of a resource group record.

func (*Client) GetResourceGroupEvents

func (a *Client) GetResourceGroupEvents(params *GetResourceGroupEventsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceGroupEventsOK, error)

GetResourceGroupEvents gets resource group events by id

Get configuration and status events of a resource group by id.

func (*Client) GetResourceGroupEventsByName

func (a *Client) GetResourceGroupEventsByName(params *GetResourceGroupEventsByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceGroupEventsByNameOK, error)

GetResourceGroupEventsByName gets resource group events by name

Get configuration and status events of a resource group by name.

func (*Client) GetResourceGroupResourceMetricsByID

func (a *Client) GetResourceGroupResourceMetricsByID(params *GetResourceGroupResourceMetricsByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceGroupResourceMetricsByIDOK, error)

GetResourceGroupResourceMetricsByID gets resource group resource usage timeline

Get the resource usage timeline of a resource group as reported by the edge nodes in the resource group

func (*Client) GetResourceGroupResourceMetricsByName

func (a *Client) GetResourceGroupResourceMetricsByName(params *GetResourceGroupResourceMetricsByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceGroupResourceMetricsByNameOK, error)

GetResourceGroupResourceMetricsByName gets resource group resource usage timeline

Get the resource usage timeline of a resource group as reported by the edge nodes in the resource group

func (*Client) QueryResourceGroups

func (a *Client) QueryResourceGroups(params *QueryResourceGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryResourceGroupsOK, error)

QueryResourceGroups queries resource groups

Query the resource group records.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateResourceGroup

func (a *Client) UpdateResourceGroup(params *UpdateResourceGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateResourceGroupOK, error)

UpdateResourceGroup updates resource group

Update a resource group record. The usual pattern to update a resource group record is to retrieve the record and update with the modified values in a new body to update the resource group record.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateResourceGroup(params *CreateResourceGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateResourceGroupOK, error)

	DeleteResourceGroup(params *DeleteResourceGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteResourceGroupOK, error)

	GetResourceGroup(params *GetResourceGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceGroupOK, error)

	GetResourceGroupByName(params *GetResourceGroupByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceGroupByNameOK, error)

	GetResourceGroupEvents(params *GetResourceGroupEventsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceGroupEventsOK, error)

	GetResourceGroupEventsByName(params *GetResourceGroupEventsByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceGroupEventsByNameOK, error)

	GetResourceGroupResourceMetricsByID(params *GetResourceGroupResourceMetricsByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceGroupResourceMetricsByIDOK, error)

	GetResourceGroupResourceMetricsByName(params *GetResourceGroupResourceMetricsByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceGroupResourceMetricsByNameOK, error)

	QueryResourceGroups(params *QueryResourceGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryResourceGroupsOK, error)

	UpdateResourceGroup(params *UpdateResourceGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateResourceGroupOK, 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 resource group API client.

type CreateResourceGroupBadRequest

type CreateResourceGroupBadRequest struct {
	Payload *swagger_models.ZsrvResponse
}
CreateResourceGroupBadRequest describes a response with status code 400, with default header values.

Bad Request. The API gateway did not process the request because of missing parameter or invalid value of parameters.

func NewCreateResourceGroupBadRequest

func NewCreateResourceGroupBadRequest() *CreateResourceGroupBadRequest

NewCreateResourceGroupBadRequest creates a CreateResourceGroupBadRequest with default headers values

func (*CreateResourceGroupBadRequest) Error

func (*CreateResourceGroupBadRequest) GetPayload

type CreateResourceGroupConflict

type CreateResourceGroupConflict struct {
	Payload *swagger_models.ZsrvResponse
}
CreateResourceGroupConflict describes a response with status code 409, with default header values.

Conflict. The API gateway did not process the request because this resource group record will conflict with an already existing resource group record.

func NewCreateResourceGroupConflict

func NewCreateResourceGroupConflict() *CreateResourceGroupConflict

NewCreateResourceGroupConflict creates a CreateResourceGroupConflict with default headers values

func (*CreateResourceGroupConflict) Error

func (*CreateResourceGroupConflict) GetPayload

type CreateResourceGroupForbidden

type CreateResourceGroupForbidden struct {
	Payload *swagger_models.ZsrvResponse
}
CreateResourceGroupForbidden describes a response with status code 403, with default header values.

Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.

func NewCreateResourceGroupForbidden

func NewCreateResourceGroupForbidden() *CreateResourceGroupForbidden

NewCreateResourceGroupForbidden creates a CreateResourceGroupForbidden with default headers values

func (*CreateResourceGroupForbidden) Error

func (*CreateResourceGroupForbidden) GetPayload

type CreateResourceGroupGatewayTimeout

type CreateResourceGroupGatewayTimeout struct {
	Payload *swagger_models.ZsrvResponse
}
CreateResourceGroupGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.

func NewCreateResourceGroupGatewayTimeout

func NewCreateResourceGroupGatewayTimeout() *CreateResourceGroupGatewayTimeout

NewCreateResourceGroupGatewayTimeout creates a CreateResourceGroupGatewayTimeout with default headers values

func (*CreateResourceGroupGatewayTimeout) Error

func (*CreateResourceGroupGatewayTimeout) GetPayload

type CreateResourceGroupInternalServerError

type CreateResourceGroupInternalServerError struct {
	Payload *swagger_models.ZsrvResponse
}
CreateResourceGroupInternalServerError describes a response with status code 500, with default header values.

Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.

func NewCreateResourceGroupInternalServerError

func NewCreateResourceGroupInternalServerError() *CreateResourceGroupInternalServerError

NewCreateResourceGroupInternalServerError creates a CreateResourceGroupInternalServerError with default headers values

func (*CreateResourceGroupInternalServerError) Error

func (*CreateResourceGroupInternalServerError) GetPayload

type CreateResourceGroupOK

type CreateResourceGroupOK struct {
	Payload *swagger_models.ZsrvResponse
}
CreateResourceGroupOK describes a response with status code 200, with default header values.

A successful response.

func NewCreateResourceGroupOK

func NewCreateResourceGroupOK() *CreateResourceGroupOK

NewCreateResourceGroupOK creates a CreateResourceGroupOK with default headers values

func (*CreateResourceGroupOK) Error

func (o *CreateResourceGroupOK) Error() string

func (*CreateResourceGroupOK) GetPayload

type CreateResourceGroupParams

type CreateResourceGroupParams struct {

	/* XRequestID.

	   User-Agent specified id to track a request
	*/
	XRequestID *string

	// Body.
	Body *swagger_models.Tag

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

CreateResourceGroupParams contains all the parameters to send to the API endpoint

for the create resource group operation.

Typically these are written to a http.Request.

func NewCreateResourceGroupParams

func NewCreateResourceGroupParams() *CreateResourceGroupParams

NewCreateResourceGroupParams creates a new CreateResourceGroupParams 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 NewCreateResourceGroupParamsWithContext

func NewCreateResourceGroupParamsWithContext(ctx context.Context) *CreateResourceGroupParams

NewCreateResourceGroupParamsWithContext creates a new CreateResourceGroupParams object with the ability to set a context for a request.

func NewCreateResourceGroupParamsWithHTTPClient

func NewCreateResourceGroupParamsWithHTTPClient(client *http.Client) *CreateResourceGroupParams

NewCreateResourceGroupParamsWithHTTPClient creates a new CreateResourceGroupParams object with the ability to set a custom HTTPClient for a request.

func NewCreateResourceGroupParamsWithTimeout

func NewCreateResourceGroupParamsWithTimeout(timeout time.Duration) *CreateResourceGroupParams

NewCreateResourceGroupParamsWithTimeout creates a new CreateResourceGroupParams object with the ability to set a timeout on a request.

func (*CreateResourceGroupParams) SetBody

func (o *CreateResourceGroupParams) SetBody(body *swagger_models.Tag)

SetBody adds the body to the create resource group params

func (*CreateResourceGroupParams) SetContext

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

SetContext adds the context to the create resource group params

func (*CreateResourceGroupParams) SetDefaults

func (o *CreateResourceGroupParams) SetDefaults()

SetDefaults hydrates default values in the create resource group params (not the query body).

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

func (*CreateResourceGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create resource group params

func (*CreateResourceGroupParams) SetTimeout

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

SetTimeout adds the timeout to the create resource group params

func (*CreateResourceGroupParams) SetXRequestID

func (o *CreateResourceGroupParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the create resource group params

func (*CreateResourceGroupParams) WithBody

WithBody adds the body to the create resource group params

func (*CreateResourceGroupParams) WithContext

WithContext adds the context to the create resource group params

func (*CreateResourceGroupParams) WithDefaults

WithDefaults hydrates default values in the create resource group params (not the query body).

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

func (*CreateResourceGroupParams) WithHTTPClient

func (o *CreateResourceGroupParams) WithHTTPClient(client *http.Client) *CreateResourceGroupParams

WithHTTPClient adds the HTTPClient to the create resource group params

func (*CreateResourceGroupParams) WithTimeout

WithTimeout adds the timeout to the create resource group params

func (*CreateResourceGroupParams) WithXRequestID

func (o *CreateResourceGroupParams) WithXRequestID(xRequestID *string) *CreateResourceGroupParams

WithXRequestID adds the xRequestID to the create resource group params

func (*CreateResourceGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateResourceGroupReader

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

CreateResourceGroupReader is a Reader for the CreateResourceGroup structure.

func (*CreateResourceGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateResourceGroupUnauthorized

type CreateResourceGroupUnauthorized struct {
	Payload *swagger_models.ZsrvResponse
}
CreateResourceGroupUnauthorized describes a response with status code 401, with default header values.

Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.

func NewCreateResourceGroupUnauthorized

func NewCreateResourceGroupUnauthorized() *CreateResourceGroupUnauthorized

NewCreateResourceGroupUnauthorized creates a CreateResourceGroupUnauthorized with default headers values

func (*CreateResourceGroupUnauthorized) Error

func (*CreateResourceGroupUnauthorized) GetPayload

type DeleteResourceGroupForbidden

type DeleteResourceGroupForbidden struct {
	Payload *swagger_models.ZsrvResponse
}
DeleteResourceGroupForbidden describes a response with status code 403, with default header values.

Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.

func NewDeleteResourceGroupForbidden

func NewDeleteResourceGroupForbidden() *DeleteResourceGroupForbidden

NewDeleteResourceGroupForbidden creates a DeleteResourceGroupForbidden with default headers values

func (*DeleteResourceGroupForbidden) Error

func (*DeleteResourceGroupForbidden) GetPayload

type DeleteResourceGroupGatewayTimeout

type DeleteResourceGroupGatewayTimeout struct {
	Payload *swagger_models.ZsrvResponse
}
DeleteResourceGroupGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.

func NewDeleteResourceGroupGatewayTimeout

func NewDeleteResourceGroupGatewayTimeout() *DeleteResourceGroupGatewayTimeout

NewDeleteResourceGroupGatewayTimeout creates a DeleteResourceGroupGatewayTimeout with default headers values

func (*DeleteResourceGroupGatewayTimeout) Error

func (*DeleteResourceGroupGatewayTimeout) GetPayload

type DeleteResourceGroupInternalServerError

type DeleteResourceGroupInternalServerError struct {
	Payload *swagger_models.ZsrvResponse
}
DeleteResourceGroupInternalServerError describes a response with status code 500, with default header values.

Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.

func NewDeleteResourceGroupInternalServerError

func NewDeleteResourceGroupInternalServerError() *DeleteResourceGroupInternalServerError

NewDeleteResourceGroupInternalServerError creates a DeleteResourceGroupInternalServerError with default headers values

func (*DeleteResourceGroupInternalServerError) Error

func (*DeleteResourceGroupInternalServerError) GetPayload

type DeleteResourceGroupNotFound

type DeleteResourceGroupNotFound struct {
	Payload *swagger_models.ZsrvResponse
}
DeleteResourceGroupNotFound describes a response with status code 404, with default header values.

Not Found. The API gateway did not process the request because the requested resource could not be found.

func NewDeleteResourceGroupNotFound

func NewDeleteResourceGroupNotFound() *DeleteResourceGroupNotFound

NewDeleteResourceGroupNotFound creates a DeleteResourceGroupNotFound with default headers values

func (*DeleteResourceGroupNotFound) Error

func (*DeleteResourceGroupNotFound) GetPayload

type DeleteResourceGroupOK

type DeleteResourceGroupOK struct {
	Payload *swagger_models.ZsrvResponse
}
DeleteResourceGroupOK describes a response with status code 200, with default header values.

A successful response.

func NewDeleteResourceGroupOK

func NewDeleteResourceGroupOK() *DeleteResourceGroupOK

NewDeleteResourceGroupOK creates a DeleteResourceGroupOK with default headers values

func (*DeleteResourceGroupOK) Error

func (o *DeleteResourceGroupOK) Error() string

func (*DeleteResourceGroupOK) GetPayload

type DeleteResourceGroupParams

type DeleteResourceGroupParams struct {

	/* XRequestID.

	   User-Agent specified id to track a request
	*/
	XRequestID *string

	/* ID.

	   System defined universally unique Id of the resource group
	*/
	ID string

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

DeleteResourceGroupParams contains all the parameters to send to the API endpoint

for the delete resource group operation.

Typically these are written to a http.Request.

func NewDeleteResourceGroupParams

func NewDeleteResourceGroupParams() *DeleteResourceGroupParams

NewDeleteResourceGroupParams creates a new DeleteResourceGroupParams 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 NewDeleteResourceGroupParamsWithContext

func NewDeleteResourceGroupParamsWithContext(ctx context.Context) *DeleteResourceGroupParams

NewDeleteResourceGroupParamsWithContext creates a new DeleteResourceGroupParams object with the ability to set a context for a request.

func NewDeleteResourceGroupParamsWithHTTPClient

func NewDeleteResourceGroupParamsWithHTTPClient(client *http.Client) *DeleteResourceGroupParams

NewDeleteResourceGroupParamsWithHTTPClient creates a new DeleteResourceGroupParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteResourceGroupParamsWithTimeout

func NewDeleteResourceGroupParamsWithTimeout(timeout time.Duration) *DeleteResourceGroupParams

NewDeleteResourceGroupParamsWithTimeout creates a new DeleteResourceGroupParams object with the ability to set a timeout on a request.

func (*DeleteResourceGroupParams) SetContext

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

SetContext adds the context to the delete resource group params

func (*DeleteResourceGroupParams) SetDefaults

func (o *DeleteResourceGroupParams) SetDefaults()

SetDefaults hydrates default values in the delete resource group params (not the query body).

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

func (*DeleteResourceGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete resource group params

func (*DeleteResourceGroupParams) SetID

func (o *DeleteResourceGroupParams) SetID(id string)

SetID adds the id to the delete resource group params

func (*DeleteResourceGroupParams) SetTimeout

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

SetTimeout adds the timeout to the delete resource group params

func (*DeleteResourceGroupParams) SetXRequestID

func (o *DeleteResourceGroupParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the delete resource group params

func (*DeleteResourceGroupParams) WithContext

WithContext adds the context to the delete resource group params

func (*DeleteResourceGroupParams) WithDefaults

WithDefaults hydrates default values in the delete resource group params (not the query body).

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

func (*DeleteResourceGroupParams) WithHTTPClient

func (o *DeleteResourceGroupParams) WithHTTPClient(client *http.Client) *DeleteResourceGroupParams

WithHTTPClient adds the HTTPClient to the delete resource group params

func (*DeleteResourceGroupParams) WithID

WithID adds the id to the delete resource group params

func (*DeleteResourceGroupParams) WithTimeout

WithTimeout adds the timeout to the delete resource group params

func (*DeleteResourceGroupParams) WithXRequestID

func (o *DeleteResourceGroupParams) WithXRequestID(xRequestID *string) *DeleteResourceGroupParams

WithXRequestID adds the xRequestID to the delete resource group params

func (*DeleteResourceGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteResourceGroupReader

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

DeleteResourceGroupReader is a Reader for the DeleteResourceGroup structure.

func (*DeleteResourceGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteResourceGroupUnauthorized

type DeleteResourceGroupUnauthorized struct {
	Payload *swagger_models.ZsrvResponse
}
DeleteResourceGroupUnauthorized describes a response with status code 401, with default header values.

Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.

func NewDeleteResourceGroupUnauthorized

func NewDeleteResourceGroupUnauthorized() *DeleteResourceGroupUnauthorized

NewDeleteResourceGroupUnauthorized creates a DeleteResourceGroupUnauthorized with default headers values

func (*DeleteResourceGroupUnauthorized) Error

func (*DeleteResourceGroupUnauthorized) GetPayload

type GetResourceGroupByNameForbidden

type GetResourceGroupByNameForbidden struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceGroupByNameForbidden describes a response with status code 403, with default header values.

Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.

func NewGetResourceGroupByNameForbidden

func NewGetResourceGroupByNameForbidden() *GetResourceGroupByNameForbidden

NewGetResourceGroupByNameForbidden creates a GetResourceGroupByNameForbidden with default headers values

func (*GetResourceGroupByNameForbidden) Error

func (*GetResourceGroupByNameForbidden) GetPayload

type GetResourceGroupByNameGatewayTimeout

type GetResourceGroupByNameGatewayTimeout struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceGroupByNameGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.

func NewGetResourceGroupByNameGatewayTimeout

func NewGetResourceGroupByNameGatewayTimeout() *GetResourceGroupByNameGatewayTimeout

NewGetResourceGroupByNameGatewayTimeout creates a GetResourceGroupByNameGatewayTimeout with default headers values

func (*GetResourceGroupByNameGatewayTimeout) Error

func (*GetResourceGroupByNameGatewayTimeout) GetPayload

type GetResourceGroupByNameInternalServerError

type GetResourceGroupByNameInternalServerError struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceGroupByNameInternalServerError describes a response with status code 500, with default header values.

Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.

func NewGetResourceGroupByNameInternalServerError

func NewGetResourceGroupByNameInternalServerError() *GetResourceGroupByNameInternalServerError

NewGetResourceGroupByNameInternalServerError creates a GetResourceGroupByNameInternalServerError with default headers values

func (*GetResourceGroupByNameInternalServerError) Error

func (*GetResourceGroupByNameInternalServerError) GetPayload

type GetResourceGroupByNameNotFound

type GetResourceGroupByNameNotFound struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceGroupByNameNotFound describes a response with status code 404, with default header values.

Not Found. The API gateway did not process the request because the requested resource could not be found.

func NewGetResourceGroupByNameNotFound

func NewGetResourceGroupByNameNotFound() *GetResourceGroupByNameNotFound

NewGetResourceGroupByNameNotFound creates a GetResourceGroupByNameNotFound with default headers values

func (*GetResourceGroupByNameNotFound) Error

func (*GetResourceGroupByNameNotFound) GetPayload

type GetResourceGroupByNameOK

type GetResourceGroupByNameOK struct {
	Payload *swagger_models.Tag
}
GetResourceGroupByNameOK describes a response with status code 200, with default header values.

A successful response.

func NewGetResourceGroupByNameOK

func NewGetResourceGroupByNameOK() *GetResourceGroupByNameOK

NewGetResourceGroupByNameOK creates a GetResourceGroupByNameOK with default headers values

func (*GetResourceGroupByNameOK) Error

func (o *GetResourceGroupByNameOK) Error() string

func (*GetResourceGroupByNameOK) GetPayload

func (o *GetResourceGroupByNameOK) GetPayload() *swagger_models.Tag

type GetResourceGroupByNameParams

type GetResourceGroupByNameParams struct {

	/* XRequestID.

	   User-Agent specified id to track a request
	*/
	XRequestID *string

	/* Name.

	   User defined name of the resource group, unique across the enterprise. Once resource group is created, name can’t be changed.
	*/
	Name string

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

GetResourceGroupByNameParams contains all the parameters to send to the API endpoint

for the get resource group by name operation.

Typically these are written to a http.Request.

func NewGetResourceGroupByNameParams

func NewGetResourceGroupByNameParams() *GetResourceGroupByNameParams

NewGetResourceGroupByNameParams creates a new GetResourceGroupByNameParams 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 NewGetResourceGroupByNameParamsWithContext

func NewGetResourceGroupByNameParamsWithContext(ctx context.Context) *GetResourceGroupByNameParams

NewGetResourceGroupByNameParamsWithContext creates a new GetResourceGroupByNameParams object with the ability to set a context for a request.

func NewGetResourceGroupByNameParamsWithHTTPClient

func NewGetResourceGroupByNameParamsWithHTTPClient(client *http.Client) *GetResourceGroupByNameParams

NewGetResourceGroupByNameParamsWithHTTPClient creates a new GetResourceGroupByNameParams object with the ability to set a custom HTTPClient for a request.

func NewGetResourceGroupByNameParamsWithTimeout

func NewGetResourceGroupByNameParamsWithTimeout(timeout time.Duration) *GetResourceGroupByNameParams

NewGetResourceGroupByNameParamsWithTimeout creates a new GetResourceGroupByNameParams object with the ability to set a timeout on a request.

func (*GetResourceGroupByNameParams) SetContext

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

SetContext adds the context to the get resource group by name params

func (*GetResourceGroupByNameParams) SetDefaults

func (o *GetResourceGroupByNameParams) SetDefaults()

SetDefaults hydrates default values in the get resource group by name params (not the query body).

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

func (*GetResourceGroupByNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get resource group by name params

func (*GetResourceGroupByNameParams) SetName

func (o *GetResourceGroupByNameParams) SetName(name string)

SetName adds the name to the get resource group by name params

func (*GetResourceGroupByNameParams) SetTimeout

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

SetTimeout adds the timeout to the get resource group by name params

func (*GetResourceGroupByNameParams) SetXRequestID

func (o *GetResourceGroupByNameParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get resource group by name params

func (*GetResourceGroupByNameParams) WithContext

WithContext adds the context to the get resource group by name params

func (*GetResourceGroupByNameParams) WithDefaults

WithDefaults hydrates default values in the get resource group by name params (not the query body).

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

func (*GetResourceGroupByNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get resource group by name params

func (*GetResourceGroupByNameParams) WithName

WithName adds the name to the get resource group by name params

func (*GetResourceGroupByNameParams) WithTimeout

WithTimeout adds the timeout to the get resource group by name params

func (*GetResourceGroupByNameParams) WithXRequestID

func (o *GetResourceGroupByNameParams) WithXRequestID(xRequestID *string) *GetResourceGroupByNameParams

WithXRequestID adds the xRequestID to the get resource group by name params

func (*GetResourceGroupByNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetResourceGroupByNameReader

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

GetResourceGroupByNameReader is a Reader for the GetResourceGroupByName structure.

func (*GetResourceGroupByNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetResourceGroupByNameUnauthorized

type GetResourceGroupByNameUnauthorized struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceGroupByNameUnauthorized describes a response with status code 401, with default header values.

Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.

func NewGetResourceGroupByNameUnauthorized

func NewGetResourceGroupByNameUnauthorized() *GetResourceGroupByNameUnauthorized

NewGetResourceGroupByNameUnauthorized creates a GetResourceGroupByNameUnauthorized with default headers values

func (*GetResourceGroupByNameUnauthorized) Error

func (*GetResourceGroupByNameUnauthorized) GetPayload

type GetResourceGroupEventsByNameForbidden

type GetResourceGroupEventsByNameForbidden struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceGroupEventsByNameForbidden describes a response with status code 403, with default header values.

Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.

func NewGetResourceGroupEventsByNameForbidden

func NewGetResourceGroupEventsByNameForbidden() *GetResourceGroupEventsByNameForbidden

NewGetResourceGroupEventsByNameForbidden creates a GetResourceGroupEventsByNameForbidden with default headers values

func (*GetResourceGroupEventsByNameForbidden) Error

func (*GetResourceGroupEventsByNameForbidden) GetPayload

type GetResourceGroupEventsByNameGatewayTimeout

type GetResourceGroupEventsByNameGatewayTimeout struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceGroupEventsByNameGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.

func NewGetResourceGroupEventsByNameGatewayTimeout

func NewGetResourceGroupEventsByNameGatewayTimeout() *GetResourceGroupEventsByNameGatewayTimeout

NewGetResourceGroupEventsByNameGatewayTimeout creates a GetResourceGroupEventsByNameGatewayTimeout with default headers values

func (*GetResourceGroupEventsByNameGatewayTimeout) Error

func (*GetResourceGroupEventsByNameGatewayTimeout) GetPayload

type GetResourceGroupEventsByNameInternalServerError

type GetResourceGroupEventsByNameInternalServerError struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceGroupEventsByNameInternalServerError describes a response with status code 500, with default header values.

Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.

func NewGetResourceGroupEventsByNameInternalServerError

func NewGetResourceGroupEventsByNameInternalServerError() *GetResourceGroupEventsByNameInternalServerError

NewGetResourceGroupEventsByNameInternalServerError creates a GetResourceGroupEventsByNameInternalServerError with default headers values

func (*GetResourceGroupEventsByNameInternalServerError) Error

func (*GetResourceGroupEventsByNameInternalServerError) GetPayload

type GetResourceGroupEventsByNameNotFound

type GetResourceGroupEventsByNameNotFound struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceGroupEventsByNameNotFound describes a response with status code 404, with default header values.

Not Found. The API gateway did not process the request because the requested resource could not be found.

func NewGetResourceGroupEventsByNameNotFound

func NewGetResourceGroupEventsByNameNotFound() *GetResourceGroupEventsByNameNotFound

NewGetResourceGroupEventsByNameNotFound creates a GetResourceGroupEventsByNameNotFound with default headers values

func (*GetResourceGroupEventsByNameNotFound) Error

func (*GetResourceGroupEventsByNameNotFound) GetPayload

type GetResourceGroupEventsByNameOK

type GetResourceGroupEventsByNameOK struct {
	Payload *swagger_models.EventQueryResponse
}
GetResourceGroupEventsByNameOK describes a response with status code 200, with default header values.

A successful response.

func NewGetResourceGroupEventsByNameOK

func NewGetResourceGroupEventsByNameOK() *GetResourceGroupEventsByNameOK

NewGetResourceGroupEventsByNameOK creates a GetResourceGroupEventsByNameOK with default headers values

func (*GetResourceGroupEventsByNameOK) Error

func (*GetResourceGroupEventsByNameOK) GetPayload

type GetResourceGroupEventsByNameParams

type GetResourceGroupEventsByNameParams struct {

	/* XRequestID.

	   User-Agent specified id to track a request
	*/
	XRequestID *string

	/* EnterpriseID.

	   system generated unique id for an enterprise (deprecated)
	*/
	EnterpriseID *string

	/* Objid.

	   Object id
	*/
	Objid *string

	/* Objname.

	   Object name
	*/
	Objname string

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

GetResourceGroupEventsByNameParams contains all the parameters to send to the API endpoint

for the get resource group events by name operation.

Typically these are written to a http.Request.

func NewGetResourceGroupEventsByNameParams

func NewGetResourceGroupEventsByNameParams() *GetResourceGroupEventsByNameParams

NewGetResourceGroupEventsByNameParams creates a new GetResourceGroupEventsByNameParams 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 NewGetResourceGroupEventsByNameParamsWithContext

func NewGetResourceGroupEventsByNameParamsWithContext(ctx context.Context) *GetResourceGroupEventsByNameParams

NewGetResourceGroupEventsByNameParamsWithContext creates a new GetResourceGroupEventsByNameParams object with the ability to set a context for a request.

func NewGetResourceGroupEventsByNameParamsWithHTTPClient

func NewGetResourceGroupEventsByNameParamsWithHTTPClient(client *http.Client) *GetResourceGroupEventsByNameParams

NewGetResourceGroupEventsByNameParamsWithHTTPClient creates a new GetResourceGroupEventsByNameParams object with the ability to set a custom HTTPClient for a request.

func NewGetResourceGroupEventsByNameParamsWithTimeout

func NewGetResourceGroupEventsByNameParamsWithTimeout(timeout time.Duration) *GetResourceGroupEventsByNameParams

NewGetResourceGroupEventsByNameParamsWithTimeout creates a new GetResourceGroupEventsByNameParams object with the ability to set a timeout on a request.

func (*GetResourceGroupEventsByNameParams) SetContext

SetContext adds the context to the get resource group events by name params

func (*GetResourceGroupEventsByNameParams) SetDefaults

func (o *GetResourceGroupEventsByNameParams) SetDefaults()

SetDefaults hydrates default values in the get resource group events by name params (not the query body).

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

func (*GetResourceGroupEventsByNameParams) SetEnterpriseID

func (o *GetResourceGroupEventsByNameParams) SetEnterpriseID(enterpriseID *string)

SetEnterpriseID adds the enterpriseId to the get resource group events by name params

func (*GetResourceGroupEventsByNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get resource group events by name params

func (*GetResourceGroupEventsByNameParams) SetObjid

func (o *GetResourceGroupEventsByNameParams) SetObjid(objid *string)

SetObjid adds the objid to the get resource group events by name params

func (*GetResourceGroupEventsByNameParams) SetObjname

func (o *GetResourceGroupEventsByNameParams) SetObjname(objname string)

SetObjname adds the objname to the get resource group events by name params

func (*GetResourceGroupEventsByNameParams) SetTimeout

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

SetTimeout adds the timeout to the get resource group events by name params

func (*GetResourceGroupEventsByNameParams) SetXRequestID

func (o *GetResourceGroupEventsByNameParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get resource group events by name params

func (*GetResourceGroupEventsByNameParams) WithContext

WithContext adds the context to the get resource group events by name params

func (*GetResourceGroupEventsByNameParams) WithDefaults

WithDefaults hydrates default values in the get resource group events by name params (not the query body).

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

func (*GetResourceGroupEventsByNameParams) WithEnterpriseID

WithEnterpriseID adds the enterpriseID to the get resource group events by name params

func (*GetResourceGroupEventsByNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get resource group events by name params

func (*GetResourceGroupEventsByNameParams) WithObjid

WithObjid adds the objid to the get resource group events by name params

func (*GetResourceGroupEventsByNameParams) WithObjname

WithObjname adds the objname to the get resource group events by name params

func (*GetResourceGroupEventsByNameParams) WithTimeout

WithTimeout adds the timeout to the get resource group events by name params

func (*GetResourceGroupEventsByNameParams) WithXRequestID

WithXRequestID adds the xRequestID to the get resource group events by name params

func (*GetResourceGroupEventsByNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetResourceGroupEventsByNameReader

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

GetResourceGroupEventsByNameReader is a Reader for the GetResourceGroupEventsByName structure.

func (*GetResourceGroupEventsByNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetResourceGroupEventsByNameUnauthorized

type GetResourceGroupEventsByNameUnauthorized struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceGroupEventsByNameUnauthorized describes a response with status code 401, with default header values.

Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.

func NewGetResourceGroupEventsByNameUnauthorized

func NewGetResourceGroupEventsByNameUnauthorized() *GetResourceGroupEventsByNameUnauthorized

NewGetResourceGroupEventsByNameUnauthorized creates a GetResourceGroupEventsByNameUnauthorized with default headers values

func (*GetResourceGroupEventsByNameUnauthorized) Error

func (*GetResourceGroupEventsByNameUnauthorized) GetPayload

type GetResourceGroupEventsForbidden

type GetResourceGroupEventsForbidden struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceGroupEventsForbidden describes a response with status code 403, with default header values.

Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.

func NewGetResourceGroupEventsForbidden

func NewGetResourceGroupEventsForbidden() *GetResourceGroupEventsForbidden

NewGetResourceGroupEventsForbidden creates a GetResourceGroupEventsForbidden with default headers values

func (*GetResourceGroupEventsForbidden) Error

func (*GetResourceGroupEventsForbidden) GetPayload

type GetResourceGroupEventsGatewayTimeout

type GetResourceGroupEventsGatewayTimeout struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceGroupEventsGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.

func NewGetResourceGroupEventsGatewayTimeout

func NewGetResourceGroupEventsGatewayTimeout() *GetResourceGroupEventsGatewayTimeout

NewGetResourceGroupEventsGatewayTimeout creates a GetResourceGroupEventsGatewayTimeout with default headers values

func (*GetResourceGroupEventsGatewayTimeout) Error

func (*GetResourceGroupEventsGatewayTimeout) GetPayload

type GetResourceGroupEventsInternalServerError

type GetResourceGroupEventsInternalServerError struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceGroupEventsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.

func NewGetResourceGroupEventsInternalServerError

func NewGetResourceGroupEventsInternalServerError() *GetResourceGroupEventsInternalServerError

NewGetResourceGroupEventsInternalServerError creates a GetResourceGroupEventsInternalServerError with default headers values

func (*GetResourceGroupEventsInternalServerError) Error

func (*GetResourceGroupEventsInternalServerError) GetPayload

type GetResourceGroupEventsNotFound

type GetResourceGroupEventsNotFound struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceGroupEventsNotFound describes a response with status code 404, with default header values.

Not Found. The API gateway did not process the request because the requested resource could not be found.

func NewGetResourceGroupEventsNotFound

func NewGetResourceGroupEventsNotFound() *GetResourceGroupEventsNotFound

NewGetResourceGroupEventsNotFound creates a GetResourceGroupEventsNotFound with default headers values

func (*GetResourceGroupEventsNotFound) Error

func (*GetResourceGroupEventsNotFound) GetPayload

type GetResourceGroupEventsOK

type GetResourceGroupEventsOK struct {
	Payload *swagger_models.EventQueryResponse
}
GetResourceGroupEventsOK describes a response with status code 200, with default header values.

A successful response.

func NewGetResourceGroupEventsOK

func NewGetResourceGroupEventsOK() *GetResourceGroupEventsOK

NewGetResourceGroupEventsOK creates a GetResourceGroupEventsOK with default headers values

func (*GetResourceGroupEventsOK) Error

func (o *GetResourceGroupEventsOK) Error() string

func (*GetResourceGroupEventsOK) GetPayload

type GetResourceGroupEventsParams

type GetResourceGroupEventsParams struct {

	/* XRequestID.

	   User-Agent specified id to track a request
	*/
	XRequestID *string

	/* EnterpriseID.

	   system generated unique id for an enterprise (deprecated)
	*/
	EnterpriseID *string

	/* Objid.

	   Object id
	*/
	Objid string

	/* Objname.

	   Object name
	*/
	Objname *string

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

GetResourceGroupEventsParams contains all the parameters to send to the API endpoint

for the get resource group events operation.

Typically these are written to a http.Request.

func NewGetResourceGroupEventsParams

func NewGetResourceGroupEventsParams() *GetResourceGroupEventsParams

NewGetResourceGroupEventsParams creates a new GetResourceGroupEventsParams 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 NewGetResourceGroupEventsParamsWithContext

func NewGetResourceGroupEventsParamsWithContext(ctx context.Context) *GetResourceGroupEventsParams

NewGetResourceGroupEventsParamsWithContext creates a new GetResourceGroupEventsParams object with the ability to set a context for a request.

func NewGetResourceGroupEventsParamsWithHTTPClient

func NewGetResourceGroupEventsParamsWithHTTPClient(client *http.Client) *GetResourceGroupEventsParams

NewGetResourceGroupEventsParamsWithHTTPClient creates a new GetResourceGroupEventsParams object with the ability to set a custom HTTPClient for a request.

func NewGetResourceGroupEventsParamsWithTimeout

func NewGetResourceGroupEventsParamsWithTimeout(timeout time.Duration) *GetResourceGroupEventsParams

NewGetResourceGroupEventsParamsWithTimeout creates a new GetResourceGroupEventsParams object with the ability to set a timeout on a request.

func (*GetResourceGroupEventsParams) SetContext

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

SetContext adds the context to the get resource group events params

func (*GetResourceGroupEventsParams) SetDefaults

func (o *GetResourceGroupEventsParams) SetDefaults()

SetDefaults hydrates default values in the get resource group events params (not the query body).

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

func (*GetResourceGroupEventsParams) SetEnterpriseID

func (o *GetResourceGroupEventsParams) SetEnterpriseID(enterpriseID *string)

SetEnterpriseID adds the enterpriseId to the get resource group events params

func (*GetResourceGroupEventsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get resource group events params

func (*GetResourceGroupEventsParams) SetObjid

func (o *GetResourceGroupEventsParams) SetObjid(objid string)

SetObjid adds the objid to the get resource group events params

func (*GetResourceGroupEventsParams) SetObjname

func (o *GetResourceGroupEventsParams) SetObjname(objname *string)

SetObjname adds the objname to the get resource group events params

func (*GetResourceGroupEventsParams) SetTimeout

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

SetTimeout adds the timeout to the get resource group events params

func (*GetResourceGroupEventsParams) SetXRequestID

func (o *GetResourceGroupEventsParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get resource group events params

func (*GetResourceGroupEventsParams) WithContext

WithContext adds the context to the get resource group events params

func (*GetResourceGroupEventsParams) WithDefaults

WithDefaults hydrates default values in the get resource group events params (not the query body).

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

func (*GetResourceGroupEventsParams) WithEnterpriseID

func (o *GetResourceGroupEventsParams) WithEnterpriseID(enterpriseID *string) *GetResourceGroupEventsParams

WithEnterpriseID adds the enterpriseID to the get resource group events params

func (*GetResourceGroupEventsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get resource group events params

func (*GetResourceGroupEventsParams) WithObjid

WithObjid adds the objid to the get resource group events params

func (*GetResourceGroupEventsParams) WithObjname

WithObjname adds the objname to the get resource group events params

func (*GetResourceGroupEventsParams) WithTimeout

WithTimeout adds the timeout to the get resource group events params

func (*GetResourceGroupEventsParams) WithXRequestID

func (o *GetResourceGroupEventsParams) WithXRequestID(xRequestID *string) *GetResourceGroupEventsParams

WithXRequestID adds the xRequestID to the get resource group events params

func (*GetResourceGroupEventsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetResourceGroupEventsReader

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

GetResourceGroupEventsReader is a Reader for the GetResourceGroupEvents structure.

func (*GetResourceGroupEventsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetResourceGroupEventsUnauthorized

type GetResourceGroupEventsUnauthorized struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceGroupEventsUnauthorized describes a response with status code 401, with default header values.

Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.

func NewGetResourceGroupEventsUnauthorized

func NewGetResourceGroupEventsUnauthorized() *GetResourceGroupEventsUnauthorized

NewGetResourceGroupEventsUnauthorized creates a GetResourceGroupEventsUnauthorized with default headers values

func (*GetResourceGroupEventsUnauthorized) Error

func (*GetResourceGroupEventsUnauthorized) GetPayload

type GetResourceGroupForbidden

type GetResourceGroupForbidden struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceGroupForbidden describes a response with status code 403, with default header values.

Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.

func NewGetResourceGroupForbidden

func NewGetResourceGroupForbidden() *GetResourceGroupForbidden

NewGetResourceGroupForbidden creates a GetResourceGroupForbidden with default headers values

func (*GetResourceGroupForbidden) Error

func (o *GetResourceGroupForbidden) Error() string

func (*GetResourceGroupForbidden) GetPayload

type GetResourceGroupGatewayTimeout

type GetResourceGroupGatewayTimeout struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceGroupGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.

func NewGetResourceGroupGatewayTimeout

func NewGetResourceGroupGatewayTimeout() *GetResourceGroupGatewayTimeout

NewGetResourceGroupGatewayTimeout creates a GetResourceGroupGatewayTimeout with default headers values

func (*GetResourceGroupGatewayTimeout) Error

func (*GetResourceGroupGatewayTimeout) GetPayload

type GetResourceGroupInternalServerError

type GetResourceGroupInternalServerError struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceGroupInternalServerError describes a response with status code 500, with default header values.

Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.

func NewGetResourceGroupInternalServerError

func NewGetResourceGroupInternalServerError() *GetResourceGroupInternalServerError

NewGetResourceGroupInternalServerError creates a GetResourceGroupInternalServerError with default headers values

func (*GetResourceGroupInternalServerError) Error

func (*GetResourceGroupInternalServerError) GetPayload

type GetResourceGroupNotFound

type GetResourceGroupNotFound struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceGroupNotFound describes a response with status code 404, with default header values.

Not Found. The API gateway did not process the request because the requested resource could not be found.

func NewGetResourceGroupNotFound

func NewGetResourceGroupNotFound() *GetResourceGroupNotFound

NewGetResourceGroupNotFound creates a GetResourceGroupNotFound with default headers values

func (*GetResourceGroupNotFound) Error

func (o *GetResourceGroupNotFound) Error() string

func (*GetResourceGroupNotFound) GetPayload

type GetResourceGroupOK

type GetResourceGroupOK struct {
	Payload *swagger_models.Tag
}
GetResourceGroupOK describes a response with status code 200, with default header values.

A successful response.

func NewGetResourceGroupOK

func NewGetResourceGroupOK() *GetResourceGroupOK

NewGetResourceGroupOK creates a GetResourceGroupOK with default headers values

func (*GetResourceGroupOK) Error

func (o *GetResourceGroupOK) Error() string

func (*GetResourceGroupOK) GetPayload

func (o *GetResourceGroupOK) GetPayload() *swagger_models.Tag

type GetResourceGroupParams

type GetResourceGroupParams struct {

	/* XRequestID.

	   User-Agent specified id to track a request
	*/
	XRequestID *string

	/* ID.

	   System defined universally unique Id of the resource group
	*/
	ID string

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

GetResourceGroupParams contains all the parameters to send to the API endpoint

for the get resource group operation.

Typically these are written to a http.Request.

func NewGetResourceGroupParams

func NewGetResourceGroupParams() *GetResourceGroupParams

NewGetResourceGroupParams creates a new GetResourceGroupParams 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 NewGetResourceGroupParamsWithContext

func NewGetResourceGroupParamsWithContext(ctx context.Context) *GetResourceGroupParams

NewGetResourceGroupParamsWithContext creates a new GetResourceGroupParams object with the ability to set a context for a request.

func NewGetResourceGroupParamsWithHTTPClient

func NewGetResourceGroupParamsWithHTTPClient(client *http.Client) *GetResourceGroupParams

NewGetResourceGroupParamsWithHTTPClient creates a new GetResourceGroupParams object with the ability to set a custom HTTPClient for a request.

func NewGetResourceGroupParamsWithTimeout

func NewGetResourceGroupParamsWithTimeout(timeout time.Duration) *GetResourceGroupParams

NewGetResourceGroupParamsWithTimeout creates a new GetResourceGroupParams object with the ability to set a timeout on a request.

func (*GetResourceGroupParams) SetContext

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

SetContext adds the context to the get resource group params

func (*GetResourceGroupParams) SetDefaults

func (o *GetResourceGroupParams) SetDefaults()

SetDefaults hydrates default values in the get resource group params (not the query body).

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

func (*GetResourceGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get resource group params

func (*GetResourceGroupParams) SetID

func (o *GetResourceGroupParams) SetID(id string)

SetID adds the id to the get resource group params

func (*GetResourceGroupParams) SetTimeout

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

SetTimeout adds the timeout to the get resource group params

func (*GetResourceGroupParams) SetXRequestID

func (o *GetResourceGroupParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get resource group params

func (*GetResourceGroupParams) WithContext

WithContext adds the context to the get resource group params

func (*GetResourceGroupParams) WithDefaults

WithDefaults hydrates default values in the get resource group params (not the query body).

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

func (*GetResourceGroupParams) WithHTTPClient

func (o *GetResourceGroupParams) WithHTTPClient(client *http.Client) *GetResourceGroupParams

WithHTTPClient adds the HTTPClient to the get resource group params

func (*GetResourceGroupParams) WithID

WithID adds the id to the get resource group params

func (*GetResourceGroupParams) WithTimeout

WithTimeout adds the timeout to the get resource group params

func (*GetResourceGroupParams) WithXRequestID

func (o *GetResourceGroupParams) WithXRequestID(xRequestID *string) *GetResourceGroupParams

WithXRequestID adds the xRequestID to the get resource group params

func (*GetResourceGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetResourceGroupReader

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

GetResourceGroupReader is a Reader for the GetResourceGroup structure.

func (*GetResourceGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetResourceGroupResourceMetricsByIDForbidden

type GetResourceGroupResourceMetricsByIDForbidden struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceGroupResourceMetricsByIDForbidden describes a response with status code 403, with default header values.

Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.

func NewGetResourceGroupResourceMetricsByIDForbidden

func NewGetResourceGroupResourceMetricsByIDForbidden() *GetResourceGroupResourceMetricsByIDForbidden

NewGetResourceGroupResourceMetricsByIDForbidden creates a GetResourceGroupResourceMetricsByIDForbidden with default headers values

func (*GetResourceGroupResourceMetricsByIDForbidden) Error

func (*GetResourceGroupResourceMetricsByIDForbidden) GetPayload

type GetResourceGroupResourceMetricsByIDGatewayTimeout

type GetResourceGroupResourceMetricsByIDGatewayTimeout struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceGroupResourceMetricsByIDGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.

func NewGetResourceGroupResourceMetricsByIDGatewayTimeout

func NewGetResourceGroupResourceMetricsByIDGatewayTimeout() *GetResourceGroupResourceMetricsByIDGatewayTimeout

NewGetResourceGroupResourceMetricsByIDGatewayTimeout creates a GetResourceGroupResourceMetricsByIDGatewayTimeout with default headers values

func (*GetResourceGroupResourceMetricsByIDGatewayTimeout) Error

func (*GetResourceGroupResourceMetricsByIDGatewayTimeout) GetPayload

type GetResourceGroupResourceMetricsByIDInternalServerError

type GetResourceGroupResourceMetricsByIDInternalServerError struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceGroupResourceMetricsByIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.

func NewGetResourceGroupResourceMetricsByIDInternalServerError

func NewGetResourceGroupResourceMetricsByIDInternalServerError() *GetResourceGroupResourceMetricsByIDInternalServerError

NewGetResourceGroupResourceMetricsByIDInternalServerError creates a GetResourceGroupResourceMetricsByIDInternalServerError with default headers values

func (*GetResourceGroupResourceMetricsByIDInternalServerError) Error

func (*GetResourceGroupResourceMetricsByIDInternalServerError) GetPayload

type GetResourceGroupResourceMetricsByIDNotFound

type GetResourceGroupResourceMetricsByIDNotFound struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceGroupResourceMetricsByIDNotFound describes a response with status code 404, with default header values.

Not Found. The API gateway did not process the request because the requested resource could not be found.

func NewGetResourceGroupResourceMetricsByIDNotFound

func NewGetResourceGroupResourceMetricsByIDNotFound() *GetResourceGroupResourceMetricsByIDNotFound

NewGetResourceGroupResourceMetricsByIDNotFound creates a GetResourceGroupResourceMetricsByIDNotFound with default headers values

func (*GetResourceGroupResourceMetricsByIDNotFound) Error

func (*GetResourceGroupResourceMetricsByIDNotFound) GetPayload

type GetResourceGroupResourceMetricsByIDOK

type GetResourceGroupResourceMetricsByIDOK struct {
	Payload *swagger_models.MetricQueryResponse
}
GetResourceGroupResourceMetricsByIDOK describes a response with status code 200, with default header values.

A successful response.

func NewGetResourceGroupResourceMetricsByIDOK

func NewGetResourceGroupResourceMetricsByIDOK() *GetResourceGroupResourceMetricsByIDOK

NewGetResourceGroupResourceMetricsByIDOK creates a GetResourceGroupResourceMetricsByIDOK with default headers values

func (*GetResourceGroupResourceMetricsByIDOK) Error

func (*GetResourceGroupResourceMetricsByIDOK) GetPayload

type GetResourceGroupResourceMetricsByIDParams

type GetResourceGroupResourceMetricsByIDParams struct {

	/* XRequestID.

	   User-Agent specified id to track a request
	*/
	XRequestID *string

	// EndTime.
	//
	// Format: date-time
	EndTime *strfmt.DateTime

	// EnterpriseID.
	EnterpriseID *string

	// Interval.
	//
	// Format: date-time
	Interval *strfmt.DateTime

	// MType.
	MType string

	// Objid.
	Objid string

	// Objname.
	Objname *string

	// Objtype.
	//
	// Default: "OBJECT_TYPE_UNSPECIFIED"
	Objtype *string

	// StartTime.
	//
	// Format: date-time
	StartTime *strfmt.DateTime

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

GetResourceGroupResourceMetricsByIDParams contains all the parameters to send to the API endpoint

for the get resource group resource metrics by Id operation.

Typically these are written to a http.Request.

func NewGetResourceGroupResourceMetricsByIDParams

func NewGetResourceGroupResourceMetricsByIDParams() *GetResourceGroupResourceMetricsByIDParams

NewGetResourceGroupResourceMetricsByIDParams creates a new GetResourceGroupResourceMetricsByIDParams 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 NewGetResourceGroupResourceMetricsByIDParamsWithContext

func NewGetResourceGroupResourceMetricsByIDParamsWithContext(ctx context.Context) *GetResourceGroupResourceMetricsByIDParams

NewGetResourceGroupResourceMetricsByIDParamsWithContext creates a new GetResourceGroupResourceMetricsByIDParams object with the ability to set a context for a request.

func NewGetResourceGroupResourceMetricsByIDParamsWithHTTPClient

func NewGetResourceGroupResourceMetricsByIDParamsWithHTTPClient(client *http.Client) *GetResourceGroupResourceMetricsByIDParams

NewGetResourceGroupResourceMetricsByIDParamsWithHTTPClient creates a new GetResourceGroupResourceMetricsByIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetResourceGroupResourceMetricsByIDParamsWithTimeout

func NewGetResourceGroupResourceMetricsByIDParamsWithTimeout(timeout time.Duration) *GetResourceGroupResourceMetricsByIDParams

NewGetResourceGroupResourceMetricsByIDParamsWithTimeout creates a new GetResourceGroupResourceMetricsByIDParams object with the ability to set a timeout on a request.

func (*GetResourceGroupResourceMetricsByIDParams) SetContext

SetContext adds the context to the get resource group resource metrics by Id params

func (*GetResourceGroupResourceMetricsByIDParams) SetDefaults

SetDefaults hydrates default values in the get resource group resource metrics by Id params (not the query body).

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

func (*GetResourceGroupResourceMetricsByIDParams) SetEndTime

SetEndTime adds the endTime to the get resource group resource metrics by Id params

func (*GetResourceGroupResourceMetricsByIDParams) SetEnterpriseID

func (o *GetResourceGroupResourceMetricsByIDParams) SetEnterpriseID(enterpriseID *string)

SetEnterpriseID adds the enterpriseId to the get resource group resource metrics by Id params

func (*GetResourceGroupResourceMetricsByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get resource group resource metrics by Id params

func (*GetResourceGroupResourceMetricsByIDParams) SetInterval

func (o *GetResourceGroupResourceMetricsByIDParams) SetInterval(interval *strfmt.DateTime)

SetInterval adds the interval to the get resource group resource metrics by Id params

func (*GetResourceGroupResourceMetricsByIDParams) SetMType

SetMType adds the mType to the get resource group resource metrics by Id params

func (*GetResourceGroupResourceMetricsByIDParams) SetObjid

SetObjid adds the objid to the get resource group resource metrics by Id params

func (*GetResourceGroupResourceMetricsByIDParams) SetObjname

func (o *GetResourceGroupResourceMetricsByIDParams) SetObjname(objname *string)

SetObjname adds the objname to the get resource group resource metrics by Id params

func (*GetResourceGroupResourceMetricsByIDParams) SetObjtype

func (o *GetResourceGroupResourceMetricsByIDParams) SetObjtype(objtype *string)

SetObjtype adds the objtype to the get resource group resource metrics by Id params

func (*GetResourceGroupResourceMetricsByIDParams) SetStartTime

func (o *GetResourceGroupResourceMetricsByIDParams) SetStartTime(startTime *strfmt.DateTime)

SetStartTime adds the startTime to the get resource group resource metrics by Id params

func (*GetResourceGroupResourceMetricsByIDParams) SetTimeout

SetTimeout adds the timeout to the get resource group resource metrics by Id params

func (*GetResourceGroupResourceMetricsByIDParams) SetXRequestID

func (o *GetResourceGroupResourceMetricsByIDParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get resource group resource metrics by Id params

func (*GetResourceGroupResourceMetricsByIDParams) WithContext

WithContext adds the context to the get resource group resource metrics by Id params

func (*GetResourceGroupResourceMetricsByIDParams) WithDefaults

WithDefaults hydrates default values in the get resource group resource metrics by Id params (not the query body).

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

func (*GetResourceGroupResourceMetricsByIDParams) WithEndTime

WithEndTime adds the endTime to the get resource group resource metrics by Id params

func (*GetResourceGroupResourceMetricsByIDParams) WithEnterpriseID

WithEnterpriseID adds the enterpriseID to the get resource group resource metrics by Id params

func (*GetResourceGroupResourceMetricsByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get resource group resource metrics by Id params

func (*GetResourceGroupResourceMetricsByIDParams) WithInterval

WithInterval adds the interval to the get resource group resource metrics by Id params

func (*GetResourceGroupResourceMetricsByIDParams) WithMType

WithMType adds the mType to the get resource group resource metrics by Id params

func (*GetResourceGroupResourceMetricsByIDParams) WithObjid

WithObjid adds the objid to the get resource group resource metrics by Id params

func (*GetResourceGroupResourceMetricsByIDParams) WithObjname

WithObjname adds the objname to the get resource group resource metrics by Id params

func (*GetResourceGroupResourceMetricsByIDParams) WithObjtype

WithObjtype adds the objtype to the get resource group resource metrics by Id params

func (*GetResourceGroupResourceMetricsByIDParams) WithStartTime

WithStartTime adds the startTime to the get resource group resource metrics by Id params

func (*GetResourceGroupResourceMetricsByIDParams) WithTimeout

WithTimeout adds the timeout to the get resource group resource metrics by Id params

func (*GetResourceGroupResourceMetricsByIDParams) WithXRequestID

WithXRequestID adds the xRequestID to the get resource group resource metrics by Id params

func (*GetResourceGroupResourceMetricsByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetResourceGroupResourceMetricsByIDReader

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

GetResourceGroupResourceMetricsByIDReader is a Reader for the GetResourceGroupResourceMetricsByID structure.

func (*GetResourceGroupResourceMetricsByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetResourceGroupResourceMetricsByIDUnauthorized

type GetResourceGroupResourceMetricsByIDUnauthorized struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceGroupResourceMetricsByIDUnauthorized describes a response with status code 401, with default header values.

Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.

func NewGetResourceGroupResourceMetricsByIDUnauthorized

func NewGetResourceGroupResourceMetricsByIDUnauthorized() *GetResourceGroupResourceMetricsByIDUnauthorized

NewGetResourceGroupResourceMetricsByIDUnauthorized creates a GetResourceGroupResourceMetricsByIDUnauthorized with default headers values

func (*GetResourceGroupResourceMetricsByIDUnauthorized) Error

func (*GetResourceGroupResourceMetricsByIDUnauthorized) GetPayload

type GetResourceGroupResourceMetricsByNameForbidden

type GetResourceGroupResourceMetricsByNameForbidden struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceGroupResourceMetricsByNameForbidden describes a response with status code 403, with default header values.

Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.

func NewGetResourceGroupResourceMetricsByNameForbidden

func NewGetResourceGroupResourceMetricsByNameForbidden() *GetResourceGroupResourceMetricsByNameForbidden

NewGetResourceGroupResourceMetricsByNameForbidden creates a GetResourceGroupResourceMetricsByNameForbidden with default headers values

func (*GetResourceGroupResourceMetricsByNameForbidden) Error

func (*GetResourceGroupResourceMetricsByNameForbidden) GetPayload

type GetResourceGroupResourceMetricsByNameGatewayTimeout

type GetResourceGroupResourceMetricsByNameGatewayTimeout struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceGroupResourceMetricsByNameGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.

func NewGetResourceGroupResourceMetricsByNameGatewayTimeout

func NewGetResourceGroupResourceMetricsByNameGatewayTimeout() *GetResourceGroupResourceMetricsByNameGatewayTimeout

NewGetResourceGroupResourceMetricsByNameGatewayTimeout creates a GetResourceGroupResourceMetricsByNameGatewayTimeout with default headers values

func (*GetResourceGroupResourceMetricsByNameGatewayTimeout) Error

func (*GetResourceGroupResourceMetricsByNameGatewayTimeout) GetPayload

type GetResourceGroupResourceMetricsByNameInternalServerError

type GetResourceGroupResourceMetricsByNameInternalServerError struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceGroupResourceMetricsByNameInternalServerError describes a response with status code 500, with default header values.

Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.

func NewGetResourceGroupResourceMetricsByNameInternalServerError

func NewGetResourceGroupResourceMetricsByNameInternalServerError() *GetResourceGroupResourceMetricsByNameInternalServerError

NewGetResourceGroupResourceMetricsByNameInternalServerError creates a GetResourceGroupResourceMetricsByNameInternalServerError with default headers values

func (*GetResourceGroupResourceMetricsByNameInternalServerError) Error

func (*GetResourceGroupResourceMetricsByNameInternalServerError) GetPayload

type GetResourceGroupResourceMetricsByNameNotFound

type GetResourceGroupResourceMetricsByNameNotFound struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceGroupResourceMetricsByNameNotFound describes a response with status code 404, with default header values.

Not Found. The API gateway did not process the request because the requested resource could not be found.

func NewGetResourceGroupResourceMetricsByNameNotFound

func NewGetResourceGroupResourceMetricsByNameNotFound() *GetResourceGroupResourceMetricsByNameNotFound

NewGetResourceGroupResourceMetricsByNameNotFound creates a GetResourceGroupResourceMetricsByNameNotFound with default headers values

func (*GetResourceGroupResourceMetricsByNameNotFound) Error

func (*GetResourceGroupResourceMetricsByNameNotFound) GetPayload

type GetResourceGroupResourceMetricsByNameOK

type GetResourceGroupResourceMetricsByNameOK struct {
	Payload *swagger_models.MetricQueryResponse
}
GetResourceGroupResourceMetricsByNameOK describes a response with status code 200, with default header values.

A successful response.

func NewGetResourceGroupResourceMetricsByNameOK

func NewGetResourceGroupResourceMetricsByNameOK() *GetResourceGroupResourceMetricsByNameOK

NewGetResourceGroupResourceMetricsByNameOK creates a GetResourceGroupResourceMetricsByNameOK with default headers values

func (*GetResourceGroupResourceMetricsByNameOK) Error

func (*GetResourceGroupResourceMetricsByNameOK) GetPayload

type GetResourceGroupResourceMetricsByNameParams

type GetResourceGroupResourceMetricsByNameParams struct {

	/* XRequestID.

	   User-Agent specified id to track a request
	*/
	XRequestID *string

	// EndTime.
	//
	// Format: date-time
	EndTime *strfmt.DateTime

	// EnterpriseID.
	EnterpriseID *string

	// Interval.
	//
	// Format: date-time
	Interval *strfmt.DateTime

	// MType.
	MType string

	// Objid.
	Objid *string

	// Objname.
	Objname string

	// Objtype.
	//
	// Default: "OBJECT_TYPE_UNSPECIFIED"
	Objtype *string

	// StartTime.
	//
	// Format: date-time
	StartTime *strfmt.DateTime

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

GetResourceGroupResourceMetricsByNameParams contains all the parameters to send to the API endpoint

for the get resource group resource metrics by name operation.

Typically these are written to a http.Request.

func NewGetResourceGroupResourceMetricsByNameParams

func NewGetResourceGroupResourceMetricsByNameParams() *GetResourceGroupResourceMetricsByNameParams

NewGetResourceGroupResourceMetricsByNameParams creates a new GetResourceGroupResourceMetricsByNameParams 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 NewGetResourceGroupResourceMetricsByNameParamsWithContext

func NewGetResourceGroupResourceMetricsByNameParamsWithContext(ctx context.Context) *GetResourceGroupResourceMetricsByNameParams

NewGetResourceGroupResourceMetricsByNameParamsWithContext creates a new GetResourceGroupResourceMetricsByNameParams object with the ability to set a context for a request.

func NewGetResourceGroupResourceMetricsByNameParamsWithHTTPClient

func NewGetResourceGroupResourceMetricsByNameParamsWithHTTPClient(client *http.Client) *GetResourceGroupResourceMetricsByNameParams

NewGetResourceGroupResourceMetricsByNameParamsWithHTTPClient creates a new GetResourceGroupResourceMetricsByNameParams object with the ability to set a custom HTTPClient for a request.

func NewGetResourceGroupResourceMetricsByNameParamsWithTimeout

func NewGetResourceGroupResourceMetricsByNameParamsWithTimeout(timeout time.Duration) *GetResourceGroupResourceMetricsByNameParams

NewGetResourceGroupResourceMetricsByNameParamsWithTimeout creates a new GetResourceGroupResourceMetricsByNameParams object with the ability to set a timeout on a request.

func (*GetResourceGroupResourceMetricsByNameParams) SetContext

SetContext adds the context to the get resource group resource metrics by name params

func (*GetResourceGroupResourceMetricsByNameParams) SetDefaults

SetDefaults hydrates default values in the get resource group resource metrics by name params (not the query body).

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

func (*GetResourceGroupResourceMetricsByNameParams) SetEndTime

SetEndTime adds the endTime to the get resource group resource metrics by name params

func (*GetResourceGroupResourceMetricsByNameParams) SetEnterpriseID

func (o *GetResourceGroupResourceMetricsByNameParams) SetEnterpriseID(enterpriseID *string)

SetEnterpriseID adds the enterpriseId to the get resource group resource metrics by name params

func (*GetResourceGroupResourceMetricsByNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get resource group resource metrics by name params

func (*GetResourceGroupResourceMetricsByNameParams) SetInterval

SetInterval adds the interval to the get resource group resource metrics by name params

func (*GetResourceGroupResourceMetricsByNameParams) SetMType

SetMType adds the mType to the get resource group resource metrics by name params

func (*GetResourceGroupResourceMetricsByNameParams) SetObjid

SetObjid adds the objid to the get resource group resource metrics by name params

func (*GetResourceGroupResourceMetricsByNameParams) SetObjname

func (o *GetResourceGroupResourceMetricsByNameParams) SetObjname(objname string)

SetObjname adds the objname to the get resource group resource metrics by name params

func (*GetResourceGroupResourceMetricsByNameParams) SetObjtype

func (o *GetResourceGroupResourceMetricsByNameParams) SetObjtype(objtype *string)

SetObjtype adds the objtype to the get resource group resource metrics by name params

func (*GetResourceGroupResourceMetricsByNameParams) SetStartTime

func (o *GetResourceGroupResourceMetricsByNameParams) SetStartTime(startTime *strfmt.DateTime)

SetStartTime adds the startTime to the get resource group resource metrics by name params

func (*GetResourceGroupResourceMetricsByNameParams) SetTimeout

SetTimeout adds the timeout to the get resource group resource metrics by name params

func (*GetResourceGroupResourceMetricsByNameParams) SetXRequestID

func (o *GetResourceGroupResourceMetricsByNameParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get resource group resource metrics by name params

func (*GetResourceGroupResourceMetricsByNameParams) WithContext

WithContext adds the context to the get resource group resource metrics by name params

func (*GetResourceGroupResourceMetricsByNameParams) WithDefaults

WithDefaults hydrates default values in the get resource group resource metrics by name params (not the query body).

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

func (*GetResourceGroupResourceMetricsByNameParams) WithEndTime

WithEndTime adds the endTime to the get resource group resource metrics by name params

func (*GetResourceGroupResourceMetricsByNameParams) WithEnterpriseID

WithEnterpriseID adds the enterpriseID to the get resource group resource metrics by name params

func (*GetResourceGroupResourceMetricsByNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get resource group resource metrics by name params

func (*GetResourceGroupResourceMetricsByNameParams) WithInterval

WithInterval adds the interval to the get resource group resource metrics by name params

func (*GetResourceGroupResourceMetricsByNameParams) WithMType

WithMType adds the mType to the get resource group resource metrics by name params

func (*GetResourceGroupResourceMetricsByNameParams) WithObjid

WithObjid adds the objid to the get resource group resource metrics by name params

func (*GetResourceGroupResourceMetricsByNameParams) WithObjname

WithObjname adds the objname to the get resource group resource metrics by name params

func (*GetResourceGroupResourceMetricsByNameParams) WithObjtype

WithObjtype adds the objtype to the get resource group resource metrics by name params

func (*GetResourceGroupResourceMetricsByNameParams) WithStartTime

WithStartTime adds the startTime to the get resource group resource metrics by name params

func (*GetResourceGroupResourceMetricsByNameParams) WithTimeout

WithTimeout adds the timeout to the get resource group resource metrics by name params

func (*GetResourceGroupResourceMetricsByNameParams) WithXRequestID

WithXRequestID adds the xRequestID to the get resource group resource metrics by name params

func (*GetResourceGroupResourceMetricsByNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetResourceGroupResourceMetricsByNameReader

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

GetResourceGroupResourceMetricsByNameReader is a Reader for the GetResourceGroupResourceMetricsByName structure.

func (*GetResourceGroupResourceMetricsByNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetResourceGroupResourceMetricsByNameUnauthorized

type GetResourceGroupResourceMetricsByNameUnauthorized struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceGroupResourceMetricsByNameUnauthorized describes a response with status code 401, with default header values.

Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.

func NewGetResourceGroupResourceMetricsByNameUnauthorized

func NewGetResourceGroupResourceMetricsByNameUnauthorized() *GetResourceGroupResourceMetricsByNameUnauthorized

NewGetResourceGroupResourceMetricsByNameUnauthorized creates a GetResourceGroupResourceMetricsByNameUnauthorized with default headers values

func (*GetResourceGroupResourceMetricsByNameUnauthorized) Error

func (*GetResourceGroupResourceMetricsByNameUnauthorized) GetPayload

type GetResourceGroupUnauthorized

type GetResourceGroupUnauthorized struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceGroupUnauthorized describes a response with status code 401, with default header values.

Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.

func NewGetResourceGroupUnauthorized

func NewGetResourceGroupUnauthorized() *GetResourceGroupUnauthorized

NewGetResourceGroupUnauthorized creates a GetResourceGroupUnauthorized with default headers values

func (*GetResourceGroupUnauthorized) Error

func (*GetResourceGroupUnauthorized) GetPayload

type QueryResourceGroupsBadRequest

type QueryResourceGroupsBadRequest struct {
	Payload *swagger_models.ZsrvResponse
}
QueryResourceGroupsBadRequest describes a response with status code 400, with default header values.

Bad Request. The API gateway did not process the request because of invalid value of filter parameters.

func NewQueryResourceGroupsBadRequest

func NewQueryResourceGroupsBadRequest() *QueryResourceGroupsBadRequest

NewQueryResourceGroupsBadRequest creates a QueryResourceGroupsBadRequest with default headers values

func (*QueryResourceGroupsBadRequest) Error

func (*QueryResourceGroupsBadRequest) GetPayload

type QueryResourceGroupsForbidden

type QueryResourceGroupsForbidden struct {
	Payload *swagger_models.ZsrvResponse
}
QueryResourceGroupsForbidden describes a response with status code 403, with default header values.

Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.

func NewQueryResourceGroupsForbidden

func NewQueryResourceGroupsForbidden() *QueryResourceGroupsForbidden

NewQueryResourceGroupsForbidden creates a QueryResourceGroupsForbidden with default headers values

func (*QueryResourceGroupsForbidden) Error

func (*QueryResourceGroupsForbidden) GetPayload

type QueryResourceGroupsGatewayTimeout

type QueryResourceGroupsGatewayTimeout struct {
	Payload *swagger_models.ZsrvResponse
}
QueryResourceGroupsGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.

func NewQueryResourceGroupsGatewayTimeout

func NewQueryResourceGroupsGatewayTimeout() *QueryResourceGroupsGatewayTimeout

NewQueryResourceGroupsGatewayTimeout creates a QueryResourceGroupsGatewayTimeout with default headers values

func (*QueryResourceGroupsGatewayTimeout) Error

func (*QueryResourceGroupsGatewayTimeout) GetPayload

type QueryResourceGroupsInternalServerError

type QueryResourceGroupsInternalServerError struct {
	Payload *swagger_models.ZsrvResponse
}
QueryResourceGroupsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.

func NewQueryResourceGroupsInternalServerError

func NewQueryResourceGroupsInternalServerError() *QueryResourceGroupsInternalServerError

NewQueryResourceGroupsInternalServerError creates a QueryResourceGroupsInternalServerError with default headers values

func (*QueryResourceGroupsInternalServerError) Error

func (*QueryResourceGroupsInternalServerError) GetPayload

type QueryResourceGroupsOK

type QueryResourceGroupsOK struct {
	Payload *swagger_models.Tags
}
QueryResourceGroupsOK describes a response with status code 200, with default header values.

A successful response.

func NewQueryResourceGroupsOK

func NewQueryResourceGroupsOK() *QueryResourceGroupsOK

NewQueryResourceGroupsOK creates a QueryResourceGroupsOK with default headers values

func (*QueryResourceGroupsOK) Error

func (o *QueryResourceGroupsOK) Error() string

func (*QueryResourceGroupsOK) GetPayload

func (o *QueryResourceGroupsOK) GetPayload() *swagger_models.Tags

type QueryResourceGroupsParams

type QueryResourceGroupsParams struct {

	/* XRequestID.

	   User-Agent specified id to track a request
	*/
	XRequestID *string

	/* FilterNamePattern.

	   Resource group name pattern to be matched.
	*/
	FilterNamePattern *string

	/* FilterType.

	    Resource group type to ne matched.

	- TAG_TYPE_UNSPECIFIED: Unspecified
	- TAG_TYPE_GENERIC: Generic resource group
	- TAG_TYPE_PROJECT: Project resource group

	    Default: "TAG_TYPE_UNSPECIFIED"
	*/
	FilterType *string

	/* NextOrderBy.

	   OrderBy helps in sorting the list response
	*/
	NextOrderBy *string

	/* NextPageNum.

	   Page Number

	   Format: int64
	*/
	NextPageNum *int64

	/* NextPageSize.

	   Defines the page size

	   Format: int64
	*/
	NextPageSize *int64

	/* NextPageToken.

	   Page Token
	*/
	NextPageToken *string

	/* NextTotalPages.

	   Total number of pages to be fetched.

	   Format: int64
	*/
	NextTotalPages *int64

	/* Summary.

	   Only summary of the records required

	   Format: boolean
	*/
	Summary *bool

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

QueryResourceGroupsParams contains all the parameters to send to the API endpoint

for the query resource groups operation.

Typically these are written to a http.Request.

func NewQueryResourceGroupsParams

func NewQueryResourceGroupsParams() *QueryResourceGroupsParams

NewQueryResourceGroupsParams creates a new QueryResourceGroupsParams 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 NewQueryResourceGroupsParamsWithContext

func NewQueryResourceGroupsParamsWithContext(ctx context.Context) *QueryResourceGroupsParams

NewQueryResourceGroupsParamsWithContext creates a new QueryResourceGroupsParams object with the ability to set a context for a request.

func NewQueryResourceGroupsParamsWithHTTPClient

func NewQueryResourceGroupsParamsWithHTTPClient(client *http.Client) *QueryResourceGroupsParams

NewQueryResourceGroupsParamsWithHTTPClient creates a new QueryResourceGroupsParams object with the ability to set a custom HTTPClient for a request.

func NewQueryResourceGroupsParamsWithTimeout

func NewQueryResourceGroupsParamsWithTimeout(timeout time.Duration) *QueryResourceGroupsParams

NewQueryResourceGroupsParamsWithTimeout creates a new QueryResourceGroupsParams object with the ability to set a timeout on a request.

func (*QueryResourceGroupsParams) SetContext

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

SetContext adds the context to the query resource groups params

func (*QueryResourceGroupsParams) SetDefaults

func (o *QueryResourceGroupsParams) SetDefaults()

SetDefaults hydrates default values in the query resource groups params (not the query body).

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

func (*QueryResourceGroupsParams) SetFilterNamePattern

func (o *QueryResourceGroupsParams) SetFilterNamePattern(filterNamePattern *string)

SetFilterNamePattern adds the filterNamePattern to the query resource groups params

func (*QueryResourceGroupsParams) SetFilterType

func (o *QueryResourceGroupsParams) SetFilterType(filterType *string)

SetFilterType adds the filterType to the query resource groups params

func (*QueryResourceGroupsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query resource groups params

func (*QueryResourceGroupsParams) SetNextOrderBy

func (o *QueryResourceGroupsParams) SetNextOrderBy(nextOrderBy *string)

SetNextOrderBy adds the nextOrderBy to the query resource groups params

func (*QueryResourceGroupsParams) SetNextPageNum

func (o *QueryResourceGroupsParams) SetNextPageNum(nextPageNum *int64)

SetNextPageNum adds the nextPageNum to the query resource groups params

func (*QueryResourceGroupsParams) SetNextPageSize

func (o *QueryResourceGroupsParams) SetNextPageSize(nextPageSize *int64)

SetNextPageSize adds the nextPageSize to the query resource groups params

func (*QueryResourceGroupsParams) SetNextPageToken

func (o *QueryResourceGroupsParams) SetNextPageToken(nextPageToken *string)

SetNextPageToken adds the nextPageToken to the query resource groups params

func (*QueryResourceGroupsParams) SetNextTotalPages

func (o *QueryResourceGroupsParams) SetNextTotalPages(nextTotalPages *int64)

SetNextTotalPages adds the nextTotalPages to the query resource groups params

func (*QueryResourceGroupsParams) SetSummary

func (o *QueryResourceGroupsParams) SetSummary(summary *bool)

SetSummary adds the summary to the query resource groups params

func (*QueryResourceGroupsParams) SetTimeout

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

SetTimeout adds the timeout to the query resource groups params

func (*QueryResourceGroupsParams) SetXRequestID

func (o *QueryResourceGroupsParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the query resource groups params

func (*QueryResourceGroupsParams) WithContext

WithContext adds the context to the query resource groups params

func (*QueryResourceGroupsParams) WithDefaults

WithDefaults hydrates default values in the query resource groups params (not the query body).

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

func (*QueryResourceGroupsParams) WithFilterNamePattern

func (o *QueryResourceGroupsParams) WithFilterNamePattern(filterNamePattern *string) *QueryResourceGroupsParams

WithFilterNamePattern adds the filterNamePattern to the query resource groups params

func (*QueryResourceGroupsParams) WithFilterType

func (o *QueryResourceGroupsParams) WithFilterType(filterType *string) *QueryResourceGroupsParams

WithFilterType adds the filterType to the query resource groups params

func (*QueryResourceGroupsParams) WithHTTPClient

func (o *QueryResourceGroupsParams) WithHTTPClient(client *http.Client) *QueryResourceGroupsParams

WithHTTPClient adds the HTTPClient to the query resource groups params

func (*QueryResourceGroupsParams) WithNextOrderBy

func (o *QueryResourceGroupsParams) WithNextOrderBy(nextOrderBy *string) *QueryResourceGroupsParams

WithNextOrderBy adds the nextOrderBy to the query resource groups params

func (*QueryResourceGroupsParams) WithNextPageNum

func (o *QueryResourceGroupsParams) WithNextPageNum(nextPageNum *int64) *QueryResourceGroupsParams

WithNextPageNum adds the nextPageNum to the query resource groups params

func (*QueryResourceGroupsParams) WithNextPageSize

func (o *QueryResourceGroupsParams) WithNextPageSize(nextPageSize *int64) *QueryResourceGroupsParams

WithNextPageSize adds the nextPageSize to the query resource groups params

func (*QueryResourceGroupsParams) WithNextPageToken

func (o *QueryResourceGroupsParams) WithNextPageToken(nextPageToken *string) *QueryResourceGroupsParams

WithNextPageToken adds the nextPageToken to the query resource groups params

func (*QueryResourceGroupsParams) WithNextTotalPages

func (o *QueryResourceGroupsParams) WithNextTotalPages(nextTotalPages *int64) *QueryResourceGroupsParams

WithNextTotalPages adds the nextTotalPages to the query resource groups params

func (*QueryResourceGroupsParams) WithSummary

func (o *QueryResourceGroupsParams) WithSummary(summary *bool) *QueryResourceGroupsParams

WithSummary adds the summary to the query resource groups params

func (*QueryResourceGroupsParams) WithTimeout

WithTimeout adds the timeout to the query resource groups params

func (*QueryResourceGroupsParams) WithXRequestID

func (o *QueryResourceGroupsParams) WithXRequestID(xRequestID *string) *QueryResourceGroupsParams

WithXRequestID adds the xRequestID to the query resource groups params

func (*QueryResourceGroupsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryResourceGroupsReader

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

QueryResourceGroupsReader is a Reader for the QueryResourceGroups structure.

func (*QueryResourceGroupsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryResourceGroupsUnauthorized

type QueryResourceGroupsUnauthorized struct {
	Payload *swagger_models.ZsrvResponse
}
QueryResourceGroupsUnauthorized describes a response with status code 401, with default header values.

Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.

func NewQueryResourceGroupsUnauthorized

func NewQueryResourceGroupsUnauthorized() *QueryResourceGroupsUnauthorized

NewQueryResourceGroupsUnauthorized creates a QueryResourceGroupsUnauthorized with default headers values

func (*QueryResourceGroupsUnauthorized) Error

func (*QueryResourceGroupsUnauthorized) GetPayload

type UpdateResourceGroupConflict

type UpdateResourceGroupConflict struct {
	Payload *swagger_models.ZsrvResponse
}
UpdateResourceGroupConflict describes a response with status code 409, with default header values.

Conflict. The API gateway did not process the request because this operation will conflict with an already existing resource group record.

func NewUpdateResourceGroupConflict

func NewUpdateResourceGroupConflict() *UpdateResourceGroupConflict

NewUpdateResourceGroupConflict creates a UpdateResourceGroupConflict with default headers values

func (*UpdateResourceGroupConflict) Error

func (*UpdateResourceGroupConflict) GetPayload

type UpdateResourceGroupForbidden

type UpdateResourceGroupForbidden struct {
	Payload *swagger_models.ZsrvResponse
}
UpdateResourceGroupForbidden describes a response with status code 403, with default header values.

Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.

func NewUpdateResourceGroupForbidden

func NewUpdateResourceGroupForbidden() *UpdateResourceGroupForbidden

NewUpdateResourceGroupForbidden creates a UpdateResourceGroupForbidden with default headers values

func (*UpdateResourceGroupForbidden) Error

func (*UpdateResourceGroupForbidden) GetPayload

type UpdateResourceGroupGatewayTimeout

type UpdateResourceGroupGatewayTimeout struct {
	Payload *swagger_models.ZsrvResponse
}
UpdateResourceGroupGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.

func NewUpdateResourceGroupGatewayTimeout

func NewUpdateResourceGroupGatewayTimeout() *UpdateResourceGroupGatewayTimeout

NewUpdateResourceGroupGatewayTimeout creates a UpdateResourceGroupGatewayTimeout with default headers values

func (*UpdateResourceGroupGatewayTimeout) Error

func (*UpdateResourceGroupGatewayTimeout) GetPayload

type UpdateResourceGroupInternalServerError

type UpdateResourceGroupInternalServerError struct {
	Payload *swagger_models.ZsrvResponse
}
UpdateResourceGroupInternalServerError describes a response with status code 500, with default header values.

Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.

func NewUpdateResourceGroupInternalServerError

func NewUpdateResourceGroupInternalServerError() *UpdateResourceGroupInternalServerError

NewUpdateResourceGroupInternalServerError creates a UpdateResourceGroupInternalServerError with default headers values

func (*UpdateResourceGroupInternalServerError) Error

func (*UpdateResourceGroupInternalServerError) GetPayload

type UpdateResourceGroupNotFound

type UpdateResourceGroupNotFound struct {
	Payload *swagger_models.ZsrvResponse
}
UpdateResourceGroupNotFound describes a response with status code 404, with default header values.

Not Found. The API gateway did not process the request because the requested resource could not be found.

func NewUpdateResourceGroupNotFound

func NewUpdateResourceGroupNotFound() *UpdateResourceGroupNotFound

NewUpdateResourceGroupNotFound creates a UpdateResourceGroupNotFound with default headers values

func (*UpdateResourceGroupNotFound) Error

func (*UpdateResourceGroupNotFound) GetPayload

type UpdateResourceGroupOK

type UpdateResourceGroupOK struct {
	Payload *swagger_models.ZsrvResponse
}
UpdateResourceGroupOK describes a response with status code 200, with default header values.

A successful response.

func NewUpdateResourceGroupOK

func NewUpdateResourceGroupOK() *UpdateResourceGroupOK

NewUpdateResourceGroupOK creates a UpdateResourceGroupOK with default headers values

func (*UpdateResourceGroupOK) Error

func (o *UpdateResourceGroupOK) Error() string

func (*UpdateResourceGroupOK) GetPayload

type UpdateResourceGroupParams

type UpdateResourceGroupParams struct {

	/* XRequestID.

	   User-Agent specified id to track a request
	*/
	XRequestID *string

	// Body.
	Body *swagger_models.Tag

	/* ID.

	   System defined universally unique Id of the resource group.
	*/
	ID string

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

UpdateResourceGroupParams contains all the parameters to send to the API endpoint

for the update resource group operation.

Typically these are written to a http.Request.

func NewUpdateResourceGroupParams

func NewUpdateResourceGroupParams() *UpdateResourceGroupParams

NewUpdateResourceGroupParams creates a new UpdateResourceGroupParams 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 NewUpdateResourceGroupParamsWithContext

func NewUpdateResourceGroupParamsWithContext(ctx context.Context) *UpdateResourceGroupParams

NewUpdateResourceGroupParamsWithContext creates a new UpdateResourceGroupParams object with the ability to set a context for a request.

func NewUpdateResourceGroupParamsWithHTTPClient

func NewUpdateResourceGroupParamsWithHTTPClient(client *http.Client) *UpdateResourceGroupParams

NewUpdateResourceGroupParamsWithHTTPClient creates a new UpdateResourceGroupParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateResourceGroupParamsWithTimeout

func NewUpdateResourceGroupParamsWithTimeout(timeout time.Duration) *UpdateResourceGroupParams

NewUpdateResourceGroupParamsWithTimeout creates a new UpdateResourceGroupParams object with the ability to set a timeout on a request.

func (*UpdateResourceGroupParams) SetBody

func (o *UpdateResourceGroupParams) SetBody(body *swagger_models.Tag)

SetBody adds the body to the update resource group params

func (*UpdateResourceGroupParams) SetContext

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

SetContext adds the context to the update resource group params

func (*UpdateResourceGroupParams) SetDefaults

func (o *UpdateResourceGroupParams) SetDefaults()

SetDefaults hydrates default values in the update resource group params (not the query body).

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

func (*UpdateResourceGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update resource group params

func (*UpdateResourceGroupParams) SetID

func (o *UpdateResourceGroupParams) SetID(id string)

SetID adds the id to the update resource group params

func (*UpdateResourceGroupParams) SetTimeout

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

SetTimeout adds the timeout to the update resource group params

func (*UpdateResourceGroupParams) SetXRequestID

func (o *UpdateResourceGroupParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the update resource group params

func (*UpdateResourceGroupParams) WithBody

WithBody adds the body to the update resource group params

func (*UpdateResourceGroupParams) WithContext

WithContext adds the context to the update resource group params

func (*UpdateResourceGroupParams) WithDefaults

WithDefaults hydrates default values in the update resource group params (not the query body).

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

func (*UpdateResourceGroupParams) WithHTTPClient

func (o *UpdateResourceGroupParams) WithHTTPClient(client *http.Client) *UpdateResourceGroupParams

WithHTTPClient adds the HTTPClient to the update resource group params

func (*UpdateResourceGroupParams) WithID

WithID adds the id to the update resource group params

func (*UpdateResourceGroupParams) WithTimeout

WithTimeout adds the timeout to the update resource group params

func (*UpdateResourceGroupParams) WithXRequestID

func (o *UpdateResourceGroupParams) WithXRequestID(xRequestID *string) *UpdateResourceGroupParams

WithXRequestID adds the xRequestID to the update resource group params

func (*UpdateResourceGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateResourceGroupReader

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

UpdateResourceGroupReader is a Reader for the UpdateResourceGroup structure.

func (*UpdateResourceGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateResourceGroupUnauthorized

type UpdateResourceGroupUnauthorized struct {
	Payload *swagger_models.ZsrvResponse
}
UpdateResourceGroupUnauthorized describes a response with status code 401, with default header values.

Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.

func NewUpdateResourceGroupUnauthorized

func NewUpdateResourceGroupUnauthorized() *UpdateResourceGroupUnauthorized

NewUpdateResourceGroupUnauthorized creates a UpdateResourceGroupUnauthorized with default headers values

func (*UpdateResourceGroupUnauthorized) Error

func (*UpdateResourceGroupUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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