Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateVMPlacementGroup(params *CreateVMPlacementGroupParams, opts ...ClientOption) (*CreateVMPlacementGroupOK, error)
- func (a *Client) DeleteVMPlacementGroup(params *DeleteVMPlacementGroupParams, opts ...ClientOption) (*DeleteVMPlacementGroupOK, error)
- func (a *Client) GetVMPlacementGroups(params *GetVMPlacementGroupsParams, opts ...ClientOption) (*GetVMPlacementGroupsOK, error)
- func (a *Client) GetVMPlacementGroupsConnection(params *GetVMPlacementGroupsConnectionParams, opts ...ClientOption) (*GetVMPlacementGroupsConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateVMPlacementGroup(params *UpdateVMPlacementGroupParams, opts ...ClientOption) (*UpdateVMPlacementGroupOK, error)
- type ClientOption
- type ClientService
- type CreateVMPlacementGroupBadRequest
- type CreateVMPlacementGroupInternalServerError
- type CreateVMPlacementGroupNotFound
- type CreateVMPlacementGroupOK
- type CreateVMPlacementGroupParams
- func NewCreateVMPlacementGroupParams() *CreateVMPlacementGroupParams
- func NewCreateVMPlacementGroupParamsWithContext(ctx context.Context) *CreateVMPlacementGroupParams
- func NewCreateVMPlacementGroupParamsWithHTTPClient(client *http.Client) *CreateVMPlacementGroupParams
- func NewCreateVMPlacementGroupParamsWithTimeout(timeout time.Duration) *CreateVMPlacementGroupParams
- func (o *CreateVMPlacementGroupParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateVMPlacementGroupParams) SetContext(ctx context.Context)
- func (o *CreateVMPlacementGroupParams) SetDefaults()
- func (o *CreateVMPlacementGroupParams) SetHTTPClient(client *http.Client)
- func (o *CreateVMPlacementGroupParams) SetRequestBody(requestBody []*models.VMPlacementGroupCreationParams)
- func (o *CreateVMPlacementGroupParams) SetTimeout(timeout time.Duration)
- func (o *CreateVMPlacementGroupParams) WithContentLanguage(contentLanguage *string) *CreateVMPlacementGroupParams
- func (o *CreateVMPlacementGroupParams) WithContext(ctx context.Context) *CreateVMPlacementGroupParams
- func (o *CreateVMPlacementGroupParams) WithDefaults() *CreateVMPlacementGroupParams
- func (o *CreateVMPlacementGroupParams) WithHTTPClient(client *http.Client) *CreateVMPlacementGroupParams
- func (o *CreateVMPlacementGroupParams) WithRequestBody(requestBody []*models.VMPlacementGroupCreationParams) *CreateVMPlacementGroupParams
- func (o *CreateVMPlacementGroupParams) WithTimeout(timeout time.Duration) *CreateVMPlacementGroupParams
- func (o *CreateVMPlacementGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateVMPlacementGroupReader
- type DeleteVMPlacementGroupBadRequest
- type DeleteVMPlacementGroupInternalServerError
- type DeleteVMPlacementGroupNotFound
- type DeleteVMPlacementGroupOK
- type DeleteVMPlacementGroupParams
- func NewDeleteVMPlacementGroupParams() *DeleteVMPlacementGroupParams
- func NewDeleteVMPlacementGroupParamsWithContext(ctx context.Context) *DeleteVMPlacementGroupParams
- func NewDeleteVMPlacementGroupParamsWithHTTPClient(client *http.Client) *DeleteVMPlacementGroupParams
- func NewDeleteVMPlacementGroupParamsWithTimeout(timeout time.Duration) *DeleteVMPlacementGroupParams
- func (o *DeleteVMPlacementGroupParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteVMPlacementGroupParams) SetContext(ctx context.Context)
- func (o *DeleteVMPlacementGroupParams) SetDefaults()
- func (o *DeleteVMPlacementGroupParams) SetHTTPClient(client *http.Client)
- func (o *DeleteVMPlacementGroupParams) SetRequestBody(requestBody *models.VMPlacementGroupDeletionParams)
- func (o *DeleteVMPlacementGroupParams) SetTimeout(timeout time.Duration)
- func (o *DeleteVMPlacementGroupParams) WithContentLanguage(contentLanguage *string) *DeleteVMPlacementGroupParams
- func (o *DeleteVMPlacementGroupParams) WithContext(ctx context.Context) *DeleteVMPlacementGroupParams
- func (o *DeleteVMPlacementGroupParams) WithDefaults() *DeleteVMPlacementGroupParams
- func (o *DeleteVMPlacementGroupParams) WithHTTPClient(client *http.Client) *DeleteVMPlacementGroupParams
- func (o *DeleteVMPlacementGroupParams) WithRequestBody(requestBody *models.VMPlacementGroupDeletionParams) *DeleteVMPlacementGroupParams
- func (o *DeleteVMPlacementGroupParams) WithTimeout(timeout time.Duration) *DeleteVMPlacementGroupParams
- func (o *DeleteVMPlacementGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteVMPlacementGroupReader
- type GetVMPlacementGroupsBadRequest
- type GetVMPlacementGroupsConnectionBadRequest
- type GetVMPlacementGroupsConnectionInternalServerError
- type GetVMPlacementGroupsConnectionNotFound
- type GetVMPlacementGroupsConnectionOK
- type GetVMPlacementGroupsConnectionParams
- func NewGetVMPlacementGroupsConnectionParams() *GetVMPlacementGroupsConnectionParams
- func NewGetVMPlacementGroupsConnectionParamsWithContext(ctx context.Context) *GetVMPlacementGroupsConnectionParams
- func NewGetVMPlacementGroupsConnectionParamsWithHTTPClient(client *http.Client) *GetVMPlacementGroupsConnectionParams
- func NewGetVMPlacementGroupsConnectionParamsWithTimeout(timeout time.Duration) *GetVMPlacementGroupsConnectionParams
- func (o *GetVMPlacementGroupsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVMPlacementGroupsConnectionParams) SetContext(ctx context.Context)
- func (o *GetVMPlacementGroupsConnectionParams) SetDefaults()
- func (o *GetVMPlacementGroupsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetVMPlacementGroupsConnectionParams) SetRequestBody(requestBody *models.GetVMPlacementGroupsConnectionRequestBody)
- func (o *GetVMPlacementGroupsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetVMPlacementGroupsConnectionParams) WithContentLanguage(contentLanguage *string) *GetVMPlacementGroupsConnectionParams
- func (o *GetVMPlacementGroupsConnectionParams) WithContext(ctx context.Context) *GetVMPlacementGroupsConnectionParams
- func (o *GetVMPlacementGroupsConnectionParams) WithDefaults() *GetVMPlacementGroupsConnectionParams
- func (o *GetVMPlacementGroupsConnectionParams) WithHTTPClient(client *http.Client) *GetVMPlacementGroupsConnectionParams
- func (o *GetVMPlacementGroupsConnectionParams) WithRequestBody(requestBody *models.GetVMPlacementGroupsConnectionRequestBody) *GetVMPlacementGroupsConnectionParams
- func (o *GetVMPlacementGroupsConnectionParams) WithTimeout(timeout time.Duration) *GetVMPlacementGroupsConnectionParams
- func (o *GetVMPlacementGroupsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVMPlacementGroupsConnectionReader
- type GetVMPlacementGroupsInternalServerError
- type GetVMPlacementGroupsNotFound
- type GetVMPlacementGroupsOK
- type GetVMPlacementGroupsParams
- func NewGetVMPlacementGroupsParams() *GetVMPlacementGroupsParams
- func NewGetVMPlacementGroupsParamsWithContext(ctx context.Context) *GetVMPlacementGroupsParams
- func NewGetVMPlacementGroupsParamsWithHTTPClient(client *http.Client) *GetVMPlacementGroupsParams
- func NewGetVMPlacementGroupsParamsWithTimeout(timeout time.Duration) *GetVMPlacementGroupsParams
- func (o *GetVMPlacementGroupsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVMPlacementGroupsParams) SetContext(ctx context.Context)
- func (o *GetVMPlacementGroupsParams) SetDefaults()
- func (o *GetVMPlacementGroupsParams) SetHTTPClient(client *http.Client)
- func (o *GetVMPlacementGroupsParams) SetRequestBody(requestBody *models.GetVMPlacementGroupsRequestBody)
- func (o *GetVMPlacementGroupsParams) SetTimeout(timeout time.Duration)
- func (o *GetVMPlacementGroupsParams) WithContentLanguage(contentLanguage *string) *GetVMPlacementGroupsParams
- func (o *GetVMPlacementGroupsParams) WithContext(ctx context.Context) *GetVMPlacementGroupsParams
- func (o *GetVMPlacementGroupsParams) WithDefaults() *GetVMPlacementGroupsParams
- func (o *GetVMPlacementGroupsParams) WithHTTPClient(client *http.Client) *GetVMPlacementGroupsParams
- func (o *GetVMPlacementGroupsParams) WithRequestBody(requestBody *models.GetVMPlacementGroupsRequestBody) *GetVMPlacementGroupsParams
- func (o *GetVMPlacementGroupsParams) WithTimeout(timeout time.Duration) *GetVMPlacementGroupsParams
- func (o *GetVMPlacementGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVMPlacementGroupsReader
- type UpdateVMPlacementGroupBadRequest
- type UpdateVMPlacementGroupInternalServerError
- type UpdateVMPlacementGroupNotFound
- type UpdateVMPlacementGroupOK
- type UpdateVMPlacementGroupParams
- func NewUpdateVMPlacementGroupParams() *UpdateVMPlacementGroupParams
- func NewUpdateVMPlacementGroupParamsWithContext(ctx context.Context) *UpdateVMPlacementGroupParams
- func NewUpdateVMPlacementGroupParamsWithHTTPClient(client *http.Client) *UpdateVMPlacementGroupParams
- func NewUpdateVMPlacementGroupParamsWithTimeout(timeout time.Duration) *UpdateVMPlacementGroupParams
- func (o *UpdateVMPlacementGroupParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateVMPlacementGroupParams) SetContext(ctx context.Context)
- func (o *UpdateVMPlacementGroupParams) SetDefaults()
- func (o *UpdateVMPlacementGroupParams) SetHTTPClient(client *http.Client)
- func (o *UpdateVMPlacementGroupParams) SetRequestBody(requestBody *models.VMPlacementGroupUpdationParams)
- func (o *UpdateVMPlacementGroupParams) SetTimeout(timeout time.Duration)
- func (o *UpdateVMPlacementGroupParams) WithContentLanguage(contentLanguage *string) *UpdateVMPlacementGroupParams
- func (o *UpdateVMPlacementGroupParams) WithContext(ctx context.Context) *UpdateVMPlacementGroupParams
- func (o *UpdateVMPlacementGroupParams) WithDefaults() *UpdateVMPlacementGroupParams
- func (o *UpdateVMPlacementGroupParams) WithHTTPClient(client *http.Client) *UpdateVMPlacementGroupParams
- func (o *UpdateVMPlacementGroupParams) WithRequestBody(requestBody *models.VMPlacementGroupUpdationParams) *UpdateVMPlacementGroupParams
- func (o *UpdateVMPlacementGroupParams) WithTimeout(timeout time.Duration) *UpdateVMPlacementGroupParams
- func (o *UpdateVMPlacementGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateVMPlacementGroupReader
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 ¶
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 (o *CreateVMPlacementGroupBadRequest) Error() string
func (*CreateVMPlacementGroupBadRequest) GetPayload ¶
func (o *CreateVMPlacementGroupBadRequest) GetPayload() *models.ErrorBody
type CreateVMPlacementGroupInternalServerError ¶ added in v1.10.0
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 (o *CreateVMPlacementGroupInternalServerError) Error() string
func (*CreateVMPlacementGroupInternalServerError) GetPayload ¶ added in v1.10.0
func (o *CreateVMPlacementGroupInternalServerError) GetPayload() *models.ErrorBody
type CreateVMPlacementGroupNotFound ¶ added in v1.10.0
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 (o *CreateVMPlacementGroupNotFound) Error() string
func (*CreateVMPlacementGroupNotFound) GetPayload ¶ added in v1.10.0
func (o *CreateVMPlacementGroupNotFound) GetPayload() *models.ErrorBody
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 ¶
func (o *CreateVMPlacementGroupOK) GetPayload() []*models.WithTaskVMPlacementGroup
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 ¶
func (o *CreateVMPlacementGroupParams) WithContext(ctx context.Context) *CreateVMPlacementGroupParams
WithContext adds the context to the create Vm placement group params
func (*CreateVMPlacementGroupParams) WithDefaults ¶
func (o *CreateVMPlacementGroupParams) WithDefaults() *CreateVMPlacementGroupParams
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 ¶
func (o *CreateVMPlacementGroupParams) WithHTTPClient(client *http.Client) *CreateVMPlacementGroupParams
WithHTTPClient adds the HTTPClient to the create Vm placement group params
func (*CreateVMPlacementGroupParams) WithRequestBody ¶
func (o *CreateVMPlacementGroupParams) WithRequestBody(requestBody []*models.VMPlacementGroupCreationParams) *CreateVMPlacementGroupParams
WithRequestBody adds the requestBody to the create Vm placement group params
func (*CreateVMPlacementGroupParams) WithTimeout ¶
func (o *CreateVMPlacementGroupParams) WithTimeout(timeout time.Duration) *CreateVMPlacementGroupParams
WithTimeout adds the timeout to the create Vm placement group params
func (*CreateVMPlacementGroupParams) WriteToRequest ¶
func (o *CreateVMPlacementGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *DeleteVMPlacementGroupBadRequest) Error() string
func (*DeleteVMPlacementGroupBadRequest) GetPayload ¶
func (o *DeleteVMPlacementGroupBadRequest) GetPayload() *models.ErrorBody
type DeleteVMPlacementGroupInternalServerError ¶ added in v1.10.0
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 (o *DeleteVMPlacementGroupInternalServerError) Error() string
func (*DeleteVMPlacementGroupInternalServerError) GetPayload ¶ added in v1.10.0
func (o *DeleteVMPlacementGroupInternalServerError) GetPayload() *models.ErrorBody
type DeleteVMPlacementGroupNotFound ¶ added in v1.10.0
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 (o *DeleteVMPlacementGroupNotFound) Error() string
func (*DeleteVMPlacementGroupNotFound) GetPayload ¶ added in v1.10.0
func (o *DeleteVMPlacementGroupNotFound) GetPayload() *models.ErrorBody
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 ¶
func (o *DeleteVMPlacementGroupOK) GetPayload() []*models.WithTaskDeleteVMPlacementGroup
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 ¶
func (o *DeleteVMPlacementGroupParams) WithContext(ctx context.Context) *DeleteVMPlacementGroupParams
WithContext adds the context to the delete Vm placement group params
func (*DeleteVMPlacementGroupParams) WithDefaults ¶
func (o *DeleteVMPlacementGroupParams) WithDefaults() *DeleteVMPlacementGroupParams
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 ¶
func (o *DeleteVMPlacementGroupParams) WithHTTPClient(client *http.Client) *DeleteVMPlacementGroupParams
WithHTTPClient adds the HTTPClient to the delete Vm placement group params
func (*DeleteVMPlacementGroupParams) WithRequestBody ¶
func (o *DeleteVMPlacementGroupParams) WithRequestBody(requestBody *models.VMPlacementGroupDeletionParams) *DeleteVMPlacementGroupParams
WithRequestBody adds the requestBody to the delete Vm placement group params
func (*DeleteVMPlacementGroupParams) WithTimeout ¶
func (o *DeleteVMPlacementGroupParams) WithTimeout(timeout time.Duration) *DeleteVMPlacementGroupParams
WithTimeout adds the timeout to the delete Vm placement group params
func (*DeleteVMPlacementGroupParams) WriteToRequest ¶
func (o *DeleteVMPlacementGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *GetVMPlacementGroupsBadRequest) Error() string
func (*GetVMPlacementGroupsBadRequest) GetPayload ¶
func (o *GetVMPlacementGroupsBadRequest) GetPayload() *models.ErrorBody
type GetVMPlacementGroupsConnectionBadRequest ¶
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 (o *GetVMPlacementGroupsConnectionBadRequest) Error() string
func (*GetVMPlacementGroupsConnectionBadRequest) GetPayload ¶
func (o *GetVMPlacementGroupsConnectionBadRequest) GetPayload() *models.ErrorBody
type GetVMPlacementGroupsConnectionInternalServerError ¶ added in v1.10.0
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 (o *GetVMPlacementGroupsConnectionInternalServerError) Error() string
func (*GetVMPlacementGroupsConnectionInternalServerError) GetPayload ¶ added in v1.10.0
func (o *GetVMPlacementGroupsConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetVMPlacementGroupsConnectionNotFound ¶ added in v1.10.0
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 (o *GetVMPlacementGroupsConnectionNotFound) Error() string
func (*GetVMPlacementGroupsConnectionNotFound) GetPayload ¶ added in v1.10.0
func (o *GetVMPlacementGroupsConnectionNotFound) GetPayload() *models.ErrorBody
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 (o *GetVMPlacementGroupsConnectionOK) Error() string
func (*GetVMPlacementGroupsConnectionOK) GetPayload ¶
func (o *GetVMPlacementGroupsConnectionOK) GetPayload() *models.VMPlacementGroupConnection
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 ¶
func (o *GetVMPlacementGroupsConnectionParams) SetContext(ctx context.Context)
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 ¶
func (o *GetVMPlacementGroupsConnectionParams) SetRequestBody(requestBody *models.GetVMPlacementGroupsConnectionRequestBody)
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 ¶
func (o *GetVMPlacementGroupsConnectionParams) WithContext(ctx context.Context) *GetVMPlacementGroupsConnectionParams
WithContext adds the context to the get Vm placement groups connection params
func (*GetVMPlacementGroupsConnectionParams) WithDefaults ¶
func (o *GetVMPlacementGroupsConnectionParams) WithDefaults() *GetVMPlacementGroupsConnectionParams
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 ¶
func (o *GetVMPlacementGroupsConnectionParams) WithHTTPClient(client *http.Client) *GetVMPlacementGroupsConnectionParams
WithHTTPClient adds the HTTPClient to the get Vm placement groups connection params
func (*GetVMPlacementGroupsConnectionParams) WithRequestBody ¶
func (o *GetVMPlacementGroupsConnectionParams) WithRequestBody(requestBody *models.GetVMPlacementGroupsConnectionRequestBody) *GetVMPlacementGroupsConnectionParams
WithRequestBody adds the requestBody to the get Vm placement groups connection params
func (*GetVMPlacementGroupsConnectionParams) WithTimeout ¶
func (o *GetVMPlacementGroupsConnectionParams) WithTimeout(timeout time.Duration) *GetVMPlacementGroupsConnectionParams
WithTimeout adds the timeout to the get Vm placement groups connection params
func (*GetVMPlacementGroupsConnectionParams) WriteToRequest ¶
func (o *GetVMPlacementGroupsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
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 (o *GetVMPlacementGroupsInternalServerError) Error() string
func (*GetVMPlacementGroupsInternalServerError) GetPayload ¶ added in v1.10.0
func (o *GetVMPlacementGroupsInternalServerError) GetPayload() *models.ErrorBody
type GetVMPlacementGroupsNotFound ¶ added in v1.10.0
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 (o *GetVMPlacementGroupsNotFound) Error() string
func (*GetVMPlacementGroupsNotFound) GetPayload ¶ added in v1.10.0
func (o *GetVMPlacementGroupsNotFound) GetPayload() *models.ErrorBody
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 ¶
func (o *GetVMPlacementGroupsParams) WithContext(ctx context.Context) *GetVMPlacementGroupsParams
WithContext adds the context to the get Vm placement groups params
func (*GetVMPlacementGroupsParams) WithDefaults ¶
func (o *GetVMPlacementGroupsParams) WithDefaults() *GetVMPlacementGroupsParams
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 ¶
func (o *GetVMPlacementGroupsParams) WithHTTPClient(client *http.Client) *GetVMPlacementGroupsParams
WithHTTPClient adds the HTTPClient to the get Vm placement groups params
func (*GetVMPlacementGroupsParams) WithRequestBody ¶
func (o *GetVMPlacementGroupsParams) WithRequestBody(requestBody *models.GetVMPlacementGroupsRequestBody) *GetVMPlacementGroupsParams
WithRequestBody adds the requestBody to the get Vm placement groups params
func (*GetVMPlacementGroupsParams) WithTimeout ¶
func (o *GetVMPlacementGroupsParams) WithTimeout(timeout time.Duration) *GetVMPlacementGroupsParams
WithTimeout adds the timeout to the get Vm placement groups params
func (*GetVMPlacementGroupsParams) WriteToRequest ¶
func (o *GetVMPlacementGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *UpdateVMPlacementGroupBadRequest) Error() string
func (*UpdateVMPlacementGroupBadRequest) GetPayload ¶
func (o *UpdateVMPlacementGroupBadRequest) GetPayload() *models.ErrorBody
type UpdateVMPlacementGroupInternalServerError ¶ added in v1.10.0
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 (o *UpdateVMPlacementGroupInternalServerError) Error() string
func (*UpdateVMPlacementGroupInternalServerError) GetPayload ¶ added in v1.10.0
func (o *UpdateVMPlacementGroupInternalServerError) GetPayload() *models.ErrorBody
type UpdateVMPlacementGroupNotFound ¶ added in v1.10.0
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 (o *UpdateVMPlacementGroupNotFound) Error() string
func (*UpdateVMPlacementGroupNotFound) GetPayload ¶ added in v1.10.0
func (o *UpdateVMPlacementGroupNotFound) GetPayload() *models.ErrorBody
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 ¶
func (o *UpdateVMPlacementGroupOK) GetPayload() []*models.WithTaskVMPlacementGroup
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 ¶
func (o *UpdateVMPlacementGroupParams) WithContext(ctx context.Context) *UpdateVMPlacementGroupParams
WithContext adds the context to the update Vm placement group params
func (*UpdateVMPlacementGroupParams) WithDefaults ¶
func (o *UpdateVMPlacementGroupParams) WithDefaults() *UpdateVMPlacementGroupParams
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 ¶
func (o *UpdateVMPlacementGroupParams) WithHTTPClient(client *http.Client) *UpdateVMPlacementGroupParams
WithHTTPClient adds the HTTPClient to the update Vm placement group params
func (*UpdateVMPlacementGroupParams) WithRequestBody ¶
func (o *UpdateVMPlacementGroupParams) WithRequestBody(requestBody *models.VMPlacementGroupUpdationParams) *UpdateVMPlacementGroupParams
WithRequestBody adds the requestBody to the update Vm placement group params
func (*UpdateVMPlacementGroupParams) WithTimeout ¶
func (o *UpdateVMPlacementGroupParams) WithTimeout(timeout time.Duration) *UpdateVMPlacementGroupParams
WithTimeout adds the timeout to the update Vm placement group params
func (*UpdateVMPlacementGroupParams) WriteToRequest ¶
func (o *UpdateVMPlacementGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- create_vm_placement_group_parameters.go
- create_vm_placement_group_responses.go
- delete_vm_placement_group_parameters.go
- delete_vm_placement_group_responses.go
- get_vm_placement_groups_connection_parameters.go
- get_vm_placement_groups_connection_responses.go
- get_vm_placement_groups_parameters.go
- get_vm_placement_groups_responses.go
- update_vm_placement_group_parameters.go
- update_vm_placement_group_responses.go
- vm_placement_group_client.go