vm_placement_group

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: ISC Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type 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 {
	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 added in v1.10.0

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

Server error

func NewCreateVMPlacementGroupInternalServerError added in v1.10.0

func NewCreateVMPlacementGroupInternalServerError() *CreateVMPlacementGroupInternalServerError

NewCreateVMPlacementGroupInternalServerError creates a CreateVMPlacementGroupInternalServerError with default headers values

func (*CreateVMPlacementGroupInternalServerError) Error added in v1.10.0

func (*CreateVMPlacementGroupInternalServerError) GetPayload added in v1.10.0

type CreateVMPlacementGroupNotFound added in v1.10.0

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

Not found

func NewCreateVMPlacementGroupNotFound added in v1.10.0

func NewCreateVMPlacementGroupNotFound() *CreateVMPlacementGroupNotFound

NewCreateVMPlacementGroupNotFound creates a CreateVMPlacementGroupNotFound with default headers values

func (*CreateVMPlacementGroupNotFound) Error added in v1.10.0

func (*CreateVMPlacementGroupNotFound) GetPayload added in v1.10.0

type CreateVMPlacementGroupOK

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

Ok

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 {
	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 added in v1.10.0

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

Server error

func NewDeleteVMPlacementGroupInternalServerError added in v1.10.0

func NewDeleteVMPlacementGroupInternalServerError() *DeleteVMPlacementGroupInternalServerError

NewDeleteVMPlacementGroupInternalServerError creates a DeleteVMPlacementGroupInternalServerError with default headers values

func (*DeleteVMPlacementGroupInternalServerError) Error added in v1.10.0

func (*DeleteVMPlacementGroupInternalServerError) GetPayload added in v1.10.0

type DeleteVMPlacementGroupNotFound added in v1.10.0

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

Not found

func NewDeleteVMPlacementGroupNotFound added in v1.10.0

func NewDeleteVMPlacementGroupNotFound() *DeleteVMPlacementGroupNotFound

NewDeleteVMPlacementGroupNotFound creates a DeleteVMPlacementGroupNotFound with default headers values

func (*DeleteVMPlacementGroupNotFound) Error added in v1.10.0

func (*DeleteVMPlacementGroupNotFound) GetPayload added in v1.10.0

type DeleteVMPlacementGroupOK

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

Ok

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 {
	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 {
	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 added in v1.10.0

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

Server error

func NewGetVMPlacementGroupsConnectionInternalServerError added in v1.10.0

func NewGetVMPlacementGroupsConnectionInternalServerError() *GetVMPlacementGroupsConnectionInternalServerError

NewGetVMPlacementGroupsConnectionInternalServerError creates a GetVMPlacementGroupsConnectionInternalServerError with default headers values

func (*GetVMPlacementGroupsConnectionInternalServerError) Error added in v1.10.0

func (*GetVMPlacementGroupsConnectionInternalServerError) GetPayload added in v1.10.0

type GetVMPlacementGroupsConnectionNotFound added in v1.10.0

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

Not found

func NewGetVMPlacementGroupsConnectionNotFound added in v1.10.0

func NewGetVMPlacementGroupsConnectionNotFound() *GetVMPlacementGroupsConnectionNotFound

NewGetVMPlacementGroupsConnectionNotFound creates a GetVMPlacementGroupsConnectionNotFound with default headers values

func (*GetVMPlacementGroupsConnectionNotFound) Error added in v1.10.0

func (*GetVMPlacementGroupsConnectionNotFound) GetPayload added in v1.10.0

type GetVMPlacementGroupsConnectionOK

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

Ok

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 added in v1.10.0

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

Server error

func NewGetVMPlacementGroupsInternalServerError added in v1.10.0

func NewGetVMPlacementGroupsInternalServerError() *GetVMPlacementGroupsInternalServerError

NewGetVMPlacementGroupsInternalServerError creates a GetVMPlacementGroupsInternalServerError with default headers values

func (*GetVMPlacementGroupsInternalServerError) Error added in v1.10.0

func (*GetVMPlacementGroupsInternalServerError) GetPayload added in v1.10.0

type GetVMPlacementGroupsNotFound added in v1.10.0

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

Not found

func NewGetVMPlacementGroupsNotFound added in v1.10.0

func NewGetVMPlacementGroupsNotFound() *GetVMPlacementGroupsNotFound

NewGetVMPlacementGroupsNotFound creates a GetVMPlacementGroupsNotFound with default headers values

func (*GetVMPlacementGroupsNotFound) Error added in v1.10.0

func (*GetVMPlacementGroupsNotFound) GetPayload added in v1.10.0

type GetVMPlacementGroupsOK

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

Ok

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 {
	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 added in v1.10.0

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

Server error

func NewUpdateVMPlacementGroupInternalServerError added in v1.10.0

func NewUpdateVMPlacementGroupInternalServerError() *UpdateVMPlacementGroupInternalServerError

NewUpdateVMPlacementGroupInternalServerError creates a UpdateVMPlacementGroupInternalServerError with default headers values

func (*UpdateVMPlacementGroupInternalServerError) Error added in v1.10.0

func (*UpdateVMPlacementGroupInternalServerError) GetPayload added in v1.10.0

type UpdateVMPlacementGroupNotFound added in v1.10.0

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

Not found

func NewUpdateVMPlacementGroupNotFound added in v1.10.0

func NewUpdateVMPlacementGroupNotFound() *UpdateVMPlacementGroupNotFound

NewUpdateVMPlacementGroupNotFound creates a UpdateVMPlacementGroupNotFound with default headers values

func (*UpdateVMPlacementGroupNotFound) Error added in v1.10.0

func (*UpdateVMPlacementGroupNotFound) GetPayload added in v1.10.0

type UpdateVMPlacementGroupOK

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

Ok

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