vm_placement_group

package
v2.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: ISC Imports: 10 Imported by: 1

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 vm placement group API

func (*Client) CreateVMPlacementGroup

func (a *Client) CreateVMPlacementGroup(params *CreateVMPlacementGroupParams, opts ...ClientOption) (*CreateVMPlacementGroupOK, error)

CreateVMPlacementGroup create Vm placement group API

func (*Client) DeleteVMPlacementGroup

func (a *Client) DeleteVMPlacementGroup(params *DeleteVMPlacementGroupParams, opts ...ClientOption) (*DeleteVMPlacementGroupOK, error)

DeleteVMPlacementGroup delete Vm placement group API

func (*Client) GetVMPlacementGroups

func (a *Client) GetVMPlacementGroups(params *GetVMPlacementGroupsParams, opts ...ClientOption) (*GetVMPlacementGroupsOK, error)

GetVMPlacementGroups get Vm placement groups API

func (*Client) GetVMPlacementGroupsConnection

func (a *Client) GetVMPlacementGroupsConnection(params *GetVMPlacementGroupsConnectionParams, opts ...ClientOption) (*GetVMPlacementGroupsConnectionOK, error)

GetVMPlacementGroupsConnection get Vm placement groups connection API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateVMPlacementGroup

func (a *Client) UpdateVMPlacementGroup(params *UpdateVMPlacementGroupParams, opts ...ClientOption) (*UpdateVMPlacementGroupOK, error)

UpdateVMPlacementGroup update Vm placement group API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateVMPlacementGroup(params *CreateVMPlacementGroupParams, opts ...ClientOption) (*CreateVMPlacementGroupOK, error)

	DeleteVMPlacementGroup(params *DeleteVMPlacementGroupParams, opts ...ClientOption) (*DeleteVMPlacementGroupOK, error)

	GetVMPlacementGroups(params *GetVMPlacementGroupsParams, opts ...ClientOption) (*GetVMPlacementGroupsOK, error)

	GetVMPlacementGroupsConnection(params *GetVMPlacementGroupsConnectionParams, opts ...ClientOption) (*GetVMPlacementGroupsConnectionOK, error)

	UpdateVMPlacementGroup(params *UpdateVMPlacementGroupParams, opts ...ClientOption) (*UpdateVMPlacementGroupOK, 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 vm placement group API client.

type CreateVMPlacementGroupBadRequest

type CreateVMPlacementGroupBadRequest struct {
	XTowerRequestID string

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

Bad request

func NewCreateVMPlacementGroupBadRequest

func NewCreateVMPlacementGroupBadRequest() *CreateVMPlacementGroupBadRequest

NewCreateVMPlacementGroupBadRequest creates a CreateVMPlacementGroupBadRequest with default headers values

func (*CreateVMPlacementGroupBadRequest) Error

func (*CreateVMPlacementGroupBadRequest) GetPayload

type CreateVMPlacementGroupInternalServerError

type CreateVMPlacementGroupInternalServerError struct {
	XTowerRequestID string

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

Server error

func NewCreateVMPlacementGroupInternalServerError

func NewCreateVMPlacementGroupInternalServerError() *CreateVMPlacementGroupInternalServerError

NewCreateVMPlacementGroupInternalServerError creates a CreateVMPlacementGroupInternalServerError with default headers values

func (*CreateVMPlacementGroupInternalServerError) Error

func (*CreateVMPlacementGroupInternalServerError) GetPayload

type CreateVMPlacementGroupNotFound

type CreateVMPlacementGroupNotFound struct {
	XTowerRequestID string

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

Not found

func NewCreateVMPlacementGroupNotFound

func NewCreateVMPlacementGroupNotFound() *CreateVMPlacementGroupNotFound

NewCreateVMPlacementGroupNotFound creates a CreateVMPlacementGroupNotFound with default headers values

func (*CreateVMPlacementGroupNotFound) Error

func (*CreateVMPlacementGroupNotFound) GetPayload

type CreateVMPlacementGroupOK

type CreateVMPlacementGroupOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVMPlacementGroup
}
CreateVMPlacementGroupOK describes a response with status code 200, with default header values.

CreateVMPlacementGroupOK create Vm placement group o k

func NewCreateVMPlacementGroupOK

func NewCreateVMPlacementGroupOK() *CreateVMPlacementGroupOK

NewCreateVMPlacementGroupOK creates a CreateVMPlacementGroupOK with default headers values

func (*CreateVMPlacementGroupOK) Error

func (o *CreateVMPlacementGroupOK) Error() string

func (*CreateVMPlacementGroupOK) GetPayload

type CreateVMPlacementGroupParams

type CreateVMPlacementGroupParams struct {

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

	// RequestBody.
	RequestBody []*models.VMPlacementGroupCreationParams

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

CreateVMPlacementGroupParams contains all the parameters to send to the API endpoint

for the create Vm placement group operation.

Typically these are written to a http.Request.

func NewCreateVMPlacementGroupParams

func NewCreateVMPlacementGroupParams() *CreateVMPlacementGroupParams

NewCreateVMPlacementGroupParams creates a new CreateVMPlacementGroupParams 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 NewCreateVMPlacementGroupParamsWithContext

func NewCreateVMPlacementGroupParamsWithContext(ctx context.Context) *CreateVMPlacementGroupParams

NewCreateVMPlacementGroupParamsWithContext creates a new CreateVMPlacementGroupParams object with the ability to set a context for a request.

func NewCreateVMPlacementGroupParamsWithHTTPClient

func NewCreateVMPlacementGroupParamsWithHTTPClient(client *http.Client) *CreateVMPlacementGroupParams

NewCreateVMPlacementGroupParamsWithHTTPClient creates a new CreateVMPlacementGroupParams object with the ability to set a custom HTTPClient for a request.

func NewCreateVMPlacementGroupParamsWithTimeout

func NewCreateVMPlacementGroupParamsWithTimeout(timeout time.Duration) *CreateVMPlacementGroupParams

NewCreateVMPlacementGroupParamsWithTimeout creates a new CreateVMPlacementGroupParams object with the ability to set a timeout on a request.

func (*CreateVMPlacementGroupParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the create Vm placement group params

func (*CreateVMPlacementGroupParams) SetContext

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

SetContext adds the context to the create Vm placement group params

func (*CreateVMPlacementGroupParams) SetDefaults

func (o *CreateVMPlacementGroupParams) SetDefaults()

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

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

func (*CreateVMPlacementGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create Vm placement group params

func (*CreateVMPlacementGroupParams) SetRequestBody

func (o *CreateVMPlacementGroupParams) SetRequestBody(requestBody []*models.VMPlacementGroupCreationParams)

SetRequestBody adds the requestBody to the create Vm placement group params

func (*CreateVMPlacementGroupParams) SetTimeout

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

SetTimeout adds the timeout to the create Vm placement group params

func (*CreateVMPlacementGroupParams) WithContentLanguage

func (o *CreateVMPlacementGroupParams) WithContentLanguage(contentLanguage *string) *CreateVMPlacementGroupParams

WithContentLanguage adds the contentLanguage to the create Vm placement group params

func (*CreateVMPlacementGroupParams) WithContext

WithContext adds the context to the create Vm placement group params

func (*CreateVMPlacementGroupParams) WithDefaults

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

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

func (*CreateVMPlacementGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create Vm placement group params

func (*CreateVMPlacementGroupParams) WithRequestBody

WithRequestBody adds the requestBody to the create Vm placement group params

func (*CreateVMPlacementGroupParams) WithTimeout

WithTimeout adds the timeout to the create Vm placement group params

func (*CreateVMPlacementGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateVMPlacementGroupReader

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

CreateVMPlacementGroupReader is a Reader for the CreateVMPlacementGroup structure.

func (*CreateVMPlacementGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteVMPlacementGroupBadRequest

type DeleteVMPlacementGroupBadRequest struct {
	XTowerRequestID string

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

Bad request

func NewDeleteVMPlacementGroupBadRequest

func NewDeleteVMPlacementGroupBadRequest() *DeleteVMPlacementGroupBadRequest

NewDeleteVMPlacementGroupBadRequest creates a DeleteVMPlacementGroupBadRequest with default headers values

func (*DeleteVMPlacementGroupBadRequest) Error

func (*DeleteVMPlacementGroupBadRequest) GetPayload

type DeleteVMPlacementGroupInternalServerError

type DeleteVMPlacementGroupInternalServerError struct {
	XTowerRequestID string

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

Server error

func NewDeleteVMPlacementGroupInternalServerError

func NewDeleteVMPlacementGroupInternalServerError() *DeleteVMPlacementGroupInternalServerError

NewDeleteVMPlacementGroupInternalServerError creates a DeleteVMPlacementGroupInternalServerError with default headers values

func (*DeleteVMPlacementGroupInternalServerError) Error

func (*DeleteVMPlacementGroupInternalServerError) GetPayload

type DeleteVMPlacementGroupNotFound

type DeleteVMPlacementGroupNotFound struct {
	XTowerRequestID string

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

Not found

func NewDeleteVMPlacementGroupNotFound

func NewDeleteVMPlacementGroupNotFound() *DeleteVMPlacementGroupNotFound

NewDeleteVMPlacementGroupNotFound creates a DeleteVMPlacementGroupNotFound with default headers values

func (*DeleteVMPlacementGroupNotFound) Error

func (*DeleteVMPlacementGroupNotFound) GetPayload

type DeleteVMPlacementGroupOK

type DeleteVMPlacementGroupOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskDeleteVMPlacementGroup
}
DeleteVMPlacementGroupOK describes a response with status code 200, with default header values.

DeleteVMPlacementGroupOK delete Vm placement group o k

func NewDeleteVMPlacementGroupOK

func NewDeleteVMPlacementGroupOK() *DeleteVMPlacementGroupOK

NewDeleteVMPlacementGroupOK creates a DeleteVMPlacementGroupOK with default headers values

func (*DeleteVMPlacementGroupOK) Error

func (o *DeleteVMPlacementGroupOK) Error() string

func (*DeleteVMPlacementGroupOK) GetPayload

type DeleteVMPlacementGroupParams

type DeleteVMPlacementGroupParams struct {

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

	// RequestBody.
	RequestBody *models.VMPlacementGroupDeletionParams

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

DeleteVMPlacementGroupParams contains all the parameters to send to the API endpoint

for the delete Vm placement group operation.

Typically these are written to a http.Request.

func NewDeleteVMPlacementGroupParams

func NewDeleteVMPlacementGroupParams() *DeleteVMPlacementGroupParams

NewDeleteVMPlacementGroupParams creates a new DeleteVMPlacementGroupParams 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 NewDeleteVMPlacementGroupParamsWithContext

func NewDeleteVMPlacementGroupParamsWithContext(ctx context.Context) *DeleteVMPlacementGroupParams

NewDeleteVMPlacementGroupParamsWithContext creates a new DeleteVMPlacementGroupParams object with the ability to set a context for a request.

func NewDeleteVMPlacementGroupParamsWithHTTPClient

func NewDeleteVMPlacementGroupParamsWithHTTPClient(client *http.Client) *DeleteVMPlacementGroupParams

NewDeleteVMPlacementGroupParamsWithHTTPClient creates a new DeleteVMPlacementGroupParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteVMPlacementGroupParamsWithTimeout

func NewDeleteVMPlacementGroupParamsWithTimeout(timeout time.Duration) *DeleteVMPlacementGroupParams

NewDeleteVMPlacementGroupParamsWithTimeout creates a new DeleteVMPlacementGroupParams object with the ability to set a timeout on a request.

func (*DeleteVMPlacementGroupParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the delete Vm placement group params

func (*DeleteVMPlacementGroupParams) SetContext

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

SetContext adds the context to the delete Vm placement group params

func (*DeleteVMPlacementGroupParams) SetDefaults

func (o *DeleteVMPlacementGroupParams) SetDefaults()

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

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

func (*DeleteVMPlacementGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete Vm placement group params

func (*DeleteVMPlacementGroupParams) SetRequestBody

func (o *DeleteVMPlacementGroupParams) SetRequestBody(requestBody *models.VMPlacementGroupDeletionParams)

SetRequestBody adds the requestBody to the delete Vm placement group params

func (*DeleteVMPlacementGroupParams) SetTimeout

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

SetTimeout adds the timeout to the delete Vm placement group params

func (*DeleteVMPlacementGroupParams) WithContentLanguage

func (o *DeleteVMPlacementGroupParams) WithContentLanguage(contentLanguage *string) *DeleteVMPlacementGroupParams

WithContentLanguage adds the contentLanguage to the delete Vm placement group params

func (*DeleteVMPlacementGroupParams) WithContext

WithContext adds the context to the delete Vm placement group params

func (*DeleteVMPlacementGroupParams) WithDefaults

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

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

func (*DeleteVMPlacementGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete Vm placement group params

func (*DeleteVMPlacementGroupParams) WithRequestBody

WithRequestBody adds the requestBody to the delete Vm placement group params

func (*DeleteVMPlacementGroupParams) WithTimeout

WithTimeout adds the timeout to the delete Vm placement group params

func (*DeleteVMPlacementGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteVMPlacementGroupReader

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

DeleteVMPlacementGroupReader is a Reader for the DeleteVMPlacementGroup structure.

func (*DeleteVMPlacementGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetVMPlacementGroupsBadRequest

type GetVMPlacementGroupsBadRequest struct {
	XTowerRequestID string

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

Bad request

func NewGetVMPlacementGroupsBadRequest

func NewGetVMPlacementGroupsBadRequest() *GetVMPlacementGroupsBadRequest

NewGetVMPlacementGroupsBadRequest creates a GetVMPlacementGroupsBadRequest with default headers values

func (*GetVMPlacementGroupsBadRequest) Error

func (*GetVMPlacementGroupsBadRequest) GetPayload

type GetVMPlacementGroupsConnectionBadRequest

type GetVMPlacementGroupsConnectionBadRequest struct {
	XTowerRequestID string

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

Bad request

func NewGetVMPlacementGroupsConnectionBadRequest

func NewGetVMPlacementGroupsConnectionBadRequest() *GetVMPlacementGroupsConnectionBadRequest

NewGetVMPlacementGroupsConnectionBadRequest creates a GetVMPlacementGroupsConnectionBadRequest with default headers values

func (*GetVMPlacementGroupsConnectionBadRequest) Error

func (*GetVMPlacementGroupsConnectionBadRequest) GetPayload

type GetVMPlacementGroupsConnectionInternalServerError

type GetVMPlacementGroupsConnectionInternalServerError struct {
	XTowerRequestID string

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

Server error

func NewGetVMPlacementGroupsConnectionInternalServerError

func NewGetVMPlacementGroupsConnectionInternalServerError() *GetVMPlacementGroupsConnectionInternalServerError

NewGetVMPlacementGroupsConnectionInternalServerError creates a GetVMPlacementGroupsConnectionInternalServerError with default headers values

func (*GetVMPlacementGroupsConnectionInternalServerError) Error

func (*GetVMPlacementGroupsConnectionInternalServerError) GetPayload

type GetVMPlacementGroupsConnectionNotFound

type GetVMPlacementGroupsConnectionNotFound struct {
	XTowerRequestID string

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

Not found

func NewGetVMPlacementGroupsConnectionNotFound

func NewGetVMPlacementGroupsConnectionNotFound() *GetVMPlacementGroupsConnectionNotFound

NewGetVMPlacementGroupsConnectionNotFound creates a GetVMPlacementGroupsConnectionNotFound with default headers values

func (*GetVMPlacementGroupsConnectionNotFound) Error

func (*GetVMPlacementGroupsConnectionNotFound) GetPayload

type GetVMPlacementGroupsConnectionOK

type GetVMPlacementGroupsConnectionOK struct {
	XTowerRequestID string

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

GetVMPlacementGroupsConnectionOK get Vm placement groups connection o k

func NewGetVMPlacementGroupsConnectionOK

func NewGetVMPlacementGroupsConnectionOK() *GetVMPlacementGroupsConnectionOK

NewGetVMPlacementGroupsConnectionOK creates a GetVMPlacementGroupsConnectionOK with default headers values

func (*GetVMPlacementGroupsConnectionOK) Error

func (*GetVMPlacementGroupsConnectionOK) GetPayload

type GetVMPlacementGroupsConnectionParams

type GetVMPlacementGroupsConnectionParams struct {

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

	// RequestBody.
	RequestBody *models.GetVMPlacementGroupsConnectionRequestBody

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

GetVMPlacementGroupsConnectionParams contains all the parameters to send to the API endpoint

for the get Vm placement groups connection operation.

Typically these are written to a http.Request.

func NewGetVMPlacementGroupsConnectionParams

func NewGetVMPlacementGroupsConnectionParams() *GetVMPlacementGroupsConnectionParams

NewGetVMPlacementGroupsConnectionParams creates a new GetVMPlacementGroupsConnectionParams 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 NewGetVMPlacementGroupsConnectionParamsWithContext

func NewGetVMPlacementGroupsConnectionParamsWithContext(ctx context.Context) *GetVMPlacementGroupsConnectionParams

NewGetVMPlacementGroupsConnectionParamsWithContext creates a new GetVMPlacementGroupsConnectionParams object with the ability to set a context for a request.

func NewGetVMPlacementGroupsConnectionParamsWithHTTPClient

func NewGetVMPlacementGroupsConnectionParamsWithHTTPClient(client *http.Client) *GetVMPlacementGroupsConnectionParams

NewGetVMPlacementGroupsConnectionParamsWithHTTPClient creates a new GetVMPlacementGroupsConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetVMPlacementGroupsConnectionParamsWithTimeout

func NewGetVMPlacementGroupsConnectionParamsWithTimeout(timeout time.Duration) *GetVMPlacementGroupsConnectionParams

NewGetVMPlacementGroupsConnectionParamsWithTimeout creates a new GetVMPlacementGroupsConnectionParams object with the ability to set a timeout on a request.

func (*GetVMPlacementGroupsConnectionParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get Vm placement groups connection params

func (*GetVMPlacementGroupsConnectionParams) SetContext

SetContext adds the context to the get Vm placement groups connection params

func (*GetVMPlacementGroupsConnectionParams) SetDefaults

func (o *GetVMPlacementGroupsConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get Vm placement groups connection params (not the query body).

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

func (*GetVMPlacementGroupsConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get Vm placement groups connection params

func (*GetVMPlacementGroupsConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get Vm placement groups connection params

func (*GetVMPlacementGroupsConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get Vm placement groups connection params

func (*GetVMPlacementGroupsConnectionParams) WithContentLanguage

func (o *GetVMPlacementGroupsConnectionParams) WithContentLanguage(contentLanguage *string) *GetVMPlacementGroupsConnectionParams

WithContentLanguage adds the contentLanguage to the get Vm placement groups connection params

func (*GetVMPlacementGroupsConnectionParams) WithContext

WithContext adds the context to the get Vm placement groups connection params

func (*GetVMPlacementGroupsConnectionParams) WithDefaults

WithDefaults hydrates default values in the get Vm placement groups connection params (not the query body).

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

func (*GetVMPlacementGroupsConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get Vm placement groups connection params

func (*GetVMPlacementGroupsConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get Vm placement groups connection params

func (*GetVMPlacementGroupsConnectionParams) WithTimeout

WithTimeout adds the timeout to the get Vm placement groups connection params

func (*GetVMPlacementGroupsConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVMPlacementGroupsConnectionReader

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

GetVMPlacementGroupsConnectionReader is a Reader for the GetVMPlacementGroupsConnection structure.

func (*GetVMPlacementGroupsConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetVMPlacementGroupsInternalServerError

type GetVMPlacementGroupsInternalServerError struct {
	XTowerRequestID string

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

Server error

func NewGetVMPlacementGroupsInternalServerError

func NewGetVMPlacementGroupsInternalServerError() *GetVMPlacementGroupsInternalServerError

NewGetVMPlacementGroupsInternalServerError creates a GetVMPlacementGroupsInternalServerError with default headers values

func (*GetVMPlacementGroupsInternalServerError) Error

func (*GetVMPlacementGroupsInternalServerError) GetPayload

type GetVMPlacementGroupsNotFound

type GetVMPlacementGroupsNotFound struct {
	XTowerRequestID string

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

Not found

func NewGetVMPlacementGroupsNotFound

func NewGetVMPlacementGroupsNotFound() *GetVMPlacementGroupsNotFound

NewGetVMPlacementGroupsNotFound creates a GetVMPlacementGroupsNotFound with default headers values

func (*GetVMPlacementGroupsNotFound) Error

func (*GetVMPlacementGroupsNotFound) GetPayload

type GetVMPlacementGroupsOK

type GetVMPlacementGroupsOK struct {
	XTowerRequestID string

	Payload []*models.VMPlacementGroup
}
GetVMPlacementGroupsOK describes a response with status code 200, with default header values.

GetVMPlacementGroupsOK get Vm placement groups o k

func NewGetVMPlacementGroupsOK

func NewGetVMPlacementGroupsOK() *GetVMPlacementGroupsOK

NewGetVMPlacementGroupsOK creates a GetVMPlacementGroupsOK with default headers values

func (*GetVMPlacementGroupsOK) Error

func (o *GetVMPlacementGroupsOK) Error() string

func (*GetVMPlacementGroupsOK) GetPayload

func (o *GetVMPlacementGroupsOK) GetPayload() []*models.VMPlacementGroup

type GetVMPlacementGroupsParams

type GetVMPlacementGroupsParams struct {

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

	// RequestBody.
	RequestBody *models.GetVMPlacementGroupsRequestBody

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

GetVMPlacementGroupsParams contains all the parameters to send to the API endpoint

for the get Vm placement groups operation.

Typically these are written to a http.Request.

func NewGetVMPlacementGroupsParams

func NewGetVMPlacementGroupsParams() *GetVMPlacementGroupsParams

NewGetVMPlacementGroupsParams creates a new GetVMPlacementGroupsParams 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 NewGetVMPlacementGroupsParamsWithContext

func NewGetVMPlacementGroupsParamsWithContext(ctx context.Context) *GetVMPlacementGroupsParams

NewGetVMPlacementGroupsParamsWithContext creates a new GetVMPlacementGroupsParams object with the ability to set a context for a request.

func NewGetVMPlacementGroupsParamsWithHTTPClient

func NewGetVMPlacementGroupsParamsWithHTTPClient(client *http.Client) *GetVMPlacementGroupsParams

NewGetVMPlacementGroupsParamsWithHTTPClient creates a new GetVMPlacementGroupsParams object with the ability to set a custom HTTPClient for a request.

func NewGetVMPlacementGroupsParamsWithTimeout

func NewGetVMPlacementGroupsParamsWithTimeout(timeout time.Duration) *GetVMPlacementGroupsParams

NewGetVMPlacementGroupsParamsWithTimeout creates a new GetVMPlacementGroupsParams object with the ability to set a timeout on a request.

func (*GetVMPlacementGroupsParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get Vm placement groups params

func (*GetVMPlacementGroupsParams) SetContext

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

SetContext adds the context to the get Vm placement groups params

func (*GetVMPlacementGroupsParams) SetDefaults

func (o *GetVMPlacementGroupsParams) SetDefaults()

SetDefaults hydrates default values in the get Vm placement groups params (not the query body).

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

func (*GetVMPlacementGroupsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get Vm placement groups params

func (*GetVMPlacementGroupsParams) SetRequestBody

func (o *GetVMPlacementGroupsParams) SetRequestBody(requestBody *models.GetVMPlacementGroupsRequestBody)

SetRequestBody adds the requestBody to the get Vm placement groups params

func (*GetVMPlacementGroupsParams) SetTimeout

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

SetTimeout adds the timeout to the get Vm placement groups params

func (*GetVMPlacementGroupsParams) WithContentLanguage

func (o *GetVMPlacementGroupsParams) WithContentLanguage(contentLanguage *string) *GetVMPlacementGroupsParams

WithContentLanguage adds the contentLanguage to the get Vm placement groups params

func (*GetVMPlacementGroupsParams) WithContext

WithContext adds the context to the get Vm placement groups params

func (*GetVMPlacementGroupsParams) WithDefaults

WithDefaults hydrates default values in the get Vm placement groups params (not the query body).

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

func (*GetVMPlacementGroupsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get Vm placement groups params

func (*GetVMPlacementGroupsParams) WithRequestBody

WithRequestBody adds the requestBody to the get Vm placement groups params

func (*GetVMPlacementGroupsParams) WithTimeout

WithTimeout adds the timeout to the get Vm placement groups params

func (*GetVMPlacementGroupsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVMPlacementGroupsReader

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

GetVMPlacementGroupsReader is a Reader for the GetVMPlacementGroups structure.

func (*GetVMPlacementGroupsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateVMPlacementGroupBadRequest

type UpdateVMPlacementGroupBadRequest struct {
	XTowerRequestID string

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

Bad request

func NewUpdateVMPlacementGroupBadRequest

func NewUpdateVMPlacementGroupBadRequest() *UpdateVMPlacementGroupBadRequest

NewUpdateVMPlacementGroupBadRequest creates a UpdateVMPlacementGroupBadRequest with default headers values

func (*UpdateVMPlacementGroupBadRequest) Error

func (*UpdateVMPlacementGroupBadRequest) GetPayload

type UpdateVMPlacementGroupInternalServerError

type UpdateVMPlacementGroupInternalServerError struct {
	XTowerRequestID string

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

Server error

func NewUpdateVMPlacementGroupInternalServerError

func NewUpdateVMPlacementGroupInternalServerError() *UpdateVMPlacementGroupInternalServerError

NewUpdateVMPlacementGroupInternalServerError creates a UpdateVMPlacementGroupInternalServerError with default headers values

func (*UpdateVMPlacementGroupInternalServerError) Error

func (*UpdateVMPlacementGroupInternalServerError) GetPayload

type UpdateVMPlacementGroupNotFound

type UpdateVMPlacementGroupNotFound struct {
	XTowerRequestID string

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

Not found

func NewUpdateVMPlacementGroupNotFound

func NewUpdateVMPlacementGroupNotFound() *UpdateVMPlacementGroupNotFound

NewUpdateVMPlacementGroupNotFound creates a UpdateVMPlacementGroupNotFound with default headers values

func (*UpdateVMPlacementGroupNotFound) Error

func (*UpdateVMPlacementGroupNotFound) GetPayload

type UpdateVMPlacementGroupOK

type UpdateVMPlacementGroupOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVMPlacementGroup
}
UpdateVMPlacementGroupOK describes a response with status code 200, with default header values.

UpdateVMPlacementGroupOK update Vm placement group o k

func NewUpdateVMPlacementGroupOK

func NewUpdateVMPlacementGroupOK() *UpdateVMPlacementGroupOK

NewUpdateVMPlacementGroupOK creates a UpdateVMPlacementGroupOK with default headers values

func (*UpdateVMPlacementGroupOK) Error

func (o *UpdateVMPlacementGroupOK) Error() string

func (*UpdateVMPlacementGroupOK) GetPayload

type UpdateVMPlacementGroupParams

type UpdateVMPlacementGroupParams struct {

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

	// RequestBody.
	RequestBody *models.VMPlacementGroupUpdationParams

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

UpdateVMPlacementGroupParams contains all the parameters to send to the API endpoint

for the update Vm placement group operation.

Typically these are written to a http.Request.

func NewUpdateVMPlacementGroupParams

func NewUpdateVMPlacementGroupParams() *UpdateVMPlacementGroupParams

NewUpdateVMPlacementGroupParams creates a new UpdateVMPlacementGroupParams 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 NewUpdateVMPlacementGroupParamsWithContext

func NewUpdateVMPlacementGroupParamsWithContext(ctx context.Context) *UpdateVMPlacementGroupParams

NewUpdateVMPlacementGroupParamsWithContext creates a new UpdateVMPlacementGroupParams object with the ability to set a context for a request.

func NewUpdateVMPlacementGroupParamsWithHTTPClient

func NewUpdateVMPlacementGroupParamsWithHTTPClient(client *http.Client) *UpdateVMPlacementGroupParams

NewUpdateVMPlacementGroupParamsWithHTTPClient creates a new UpdateVMPlacementGroupParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateVMPlacementGroupParamsWithTimeout

func NewUpdateVMPlacementGroupParamsWithTimeout(timeout time.Duration) *UpdateVMPlacementGroupParams

NewUpdateVMPlacementGroupParamsWithTimeout creates a new UpdateVMPlacementGroupParams object with the ability to set a timeout on a request.

func (*UpdateVMPlacementGroupParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the update Vm placement group params

func (*UpdateVMPlacementGroupParams) SetContext

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

SetContext adds the context to the update Vm placement group params

func (*UpdateVMPlacementGroupParams) SetDefaults

func (o *UpdateVMPlacementGroupParams) SetDefaults()

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

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

func (*UpdateVMPlacementGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update Vm placement group params

func (*UpdateVMPlacementGroupParams) SetRequestBody

func (o *UpdateVMPlacementGroupParams) SetRequestBody(requestBody *models.VMPlacementGroupUpdationParams)

SetRequestBody adds the requestBody to the update Vm placement group params

func (*UpdateVMPlacementGroupParams) SetTimeout

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

SetTimeout adds the timeout to the update Vm placement group params

func (*UpdateVMPlacementGroupParams) WithContentLanguage

func (o *UpdateVMPlacementGroupParams) WithContentLanguage(contentLanguage *string) *UpdateVMPlacementGroupParams

WithContentLanguage adds the contentLanguage to the update Vm placement group params

func (*UpdateVMPlacementGroupParams) WithContext

WithContext adds the context to the update Vm placement group params

func (*UpdateVMPlacementGroupParams) WithDefaults

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

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

func (*UpdateVMPlacementGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update Vm placement group params

func (*UpdateVMPlacementGroupParams) WithRequestBody

WithRequestBody adds the requestBody to the update Vm placement group params

func (*UpdateVMPlacementGroupParams) WithTimeout

WithTimeout adds the timeout to the update Vm placement group params

func (*UpdateVMPlacementGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateVMPlacementGroupReader

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

UpdateVMPlacementGroupReader is a Reader for the UpdateVMPlacementGroup structure.

func (*UpdateVMPlacementGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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