vm_placement_group

package
v0.0.0-...-67cd95e Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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 string
}
CreateVMPlacementGroupBadRequest describes a response with status code 400, with default header values.

CreateVMPlacementGroupBadRequest create Vm placement group bad request

func NewCreateVMPlacementGroupBadRequest

func NewCreateVMPlacementGroupBadRequest() *CreateVMPlacementGroupBadRequest

NewCreateVMPlacementGroupBadRequest creates a CreateVMPlacementGroupBadRequest with default headers values

func (*CreateVMPlacementGroupBadRequest) Error

func (*CreateVMPlacementGroupBadRequest) GetPayload

func (o *CreateVMPlacementGroupBadRequest) GetPayload() string

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 string
}
DeleteVMPlacementGroupBadRequest describes a response with status code 400, with default header values.

DeleteVMPlacementGroupBadRequest delete Vm placement group bad request

func NewDeleteVMPlacementGroupBadRequest

func NewDeleteVMPlacementGroupBadRequest() *DeleteVMPlacementGroupBadRequest

NewDeleteVMPlacementGroupBadRequest creates a DeleteVMPlacementGroupBadRequest with default headers values

func (*DeleteVMPlacementGroupBadRequest) Error

func (*DeleteVMPlacementGroupBadRequest) GetPayload

func (o *DeleteVMPlacementGroupBadRequest) GetPayload() string

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 string
}
GetVMPlacementGroupsBadRequest describes a response with status code 400, with default header values.

GetVMPlacementGroupsBadRequest get Vm placement groups bad request

func NewGetVMPlacementGroupsBadRequest

func NewGetVMPlacementGroupsBadRequest() *GetVMPlacementGroupsBadRequest

NewGetVMPlacementGroupsBadRequest creates a GetVMPlacementGroupsBadRequest with default headers values

func (*GetVMPlacementGroupsBadRequest) Error

func (*GetVMPlacementGroupsBadRequest) GetPayload

func (o *GetVMPlacementGroupsBadRequest) GetPayload() string

type GetVMPlacementGroupsConnectionBadRequest

type GetVMPlacementGroupsConnectionBadRequest struct {
	Payload string
}
GetVMPlacementGroupsConnectionBadRequest describes a response with status code 400, with default header values.

GetVMPlacementGroupsConnectionBadRequest get Vm placement groups connection bad request

func NewGetVMPlacementGroupsConnectionBadRequest

func NewGetVMPlacementGroupsConnectionBadRequest() *GetVMPlacementGroupsConnectionBadRequest

NewGetVMPlacementGroupsConnectionBadRequest creates a GetVMPlacementGroupsConnectionBadRequest with default headers values

func (*GetVMPlacementGroupsConnectionBadRequest) Error

func (*GetVMPlacementGroupsConnectionBadRequest) GetPayload

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 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 string
}
UpdateVMPlacementGroupBadRequest describes a response with status code 400, with default header values.

UpdateVMPlacementGroupBadRequest update Vm placement group bad request

func NewUpdateVMPlacementGroupBadRequest

func NewUpdateVMPlacementGroupBadRequest() *UpdateVMPlacementGroupBadRequest

NewUpdateVMPlacementGroupBadRequest creates a UpdateVMPlacementGroupBadRequest with default headers values

func (*UpdateVMPlacementGroupBadRequest) Error

func (*UpdateVMPlacementGroupBadRequest) GetPayload

func (o *UpdateVMPlacementGroupBadRequest) GetPayload() string

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