Documentation ¶
Index ¶
- type AttachMachineDiskBadRequest
- type AttachMachineDiskForbidden
- type AttachMachineDiskNotFound
- type AttachMachineDiskOK
- type AttachMachineDiskParams
- func NewAttachMachineDiskParams() *AttachMachineDiskParams
- func NewAttachMachineDiskParamsWithContext(ctx context.Context) *AttachMachineDiskParams
- func NewAttachMachineDiskParamsWithHTTPClient(client *http.Client) *AttachMachineDiskParams
- func NewAttachMachineDiskParamsWithTimeout(timeout time.Duration) *AttachMachineDiskParams
- func (o *AttachMachineDiskParams) SetAPIVersion(aPIVersion *string)
- func (o *AttachMachineDiskParams) SetBody(body *models.DiskAttachmentSpecification)
- func (o *AttachMachineDiskParams) SetContext(ctx context.Context)
- func (o *AttachMachineDiskParams) SetHTTPClient(client *http.Client)
- func (o *AttachMachineDiskParams) SetID(id string)
- func (o *AttachMachineDiskParams) SetTimeout(timeout time.Duration)
- func (o *AttachMachineDiskParams) WithAPIVersion(aPIVersion *string) *AttachMachineDiskParams
- func (o *AttachMachineDiskParams) WithBody(body *models.DiskAttachmentSpecification) *AttachMachineDiskParams
- func (o *AttachMachineDiskParams) WithContext(ctx context.Context) *AttachMachineDiskParams
- func (o *AttachMachineDiskParams) WithHTTPClient(client *http.Client) *AttachMachineDiskParams
- func (o *AttachMachineDiskParams) WithID(id string) *AttachMachineDiskParams
- func (o *AttachMachineDiskParams) WithTimeout(timeout time.Duration) *AttachMachineDiskParams
- func (o *AttachMachineDiskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AttachMachineDiskReader
- type Client
- func (a *Client) AttachMachineDisk(params *AttachMachineDiskParams) (*AttachMachineDiskOK, error)
- func (a *Client) CreateBlockDevice(params *CreateBlockDeviceParams) (*CreateBlockDeviceAccepted, error)
- func (a *Client) CreateFirstClassDiskSnapshot(params *CreateFirstClassDiskSnapshotParams) (*CreateFirstClassDiskSnapshotAccepted, *CreateFirstClassDiskSnapshotNoContent, ...)
- func (a *Client) DeleteBlockDevice(params *DeleteBlockDeviceParams) (*DeleteBlockDeviceAccepted, *DeleteBlockDeviceNoContent, error)
- func (a *Client) DeleteFirstClassDiskSnapshot(params *DeleteFirstClassDiskSnapshotParams) (*DeleteFirstClassDiskSnapshotAccepted, *DeleteFirstClassDiskSnapshotNoContent, ...)
- func (a *Client) DeleteMachineDisk(params *DeleteMachineDiskParams) (*DeleteMachineDiskAccepted, *DeleteMachineDiskNoContent, error)
- func (a *Client) GetBlockDevice(params *GetBlockDeviceParams) (*GetBlockDeviceOK, error)
- func (a *Client) GetBlockDevices(params *GetBlockDevicesParams) (*GetBlockDevicesOK, error)
- func (a *Client) GetDiskSnapshot(params *GetDiskSnapshotParams) (*GetDiskSnapshotOK, error)
- func (a *Client) GetDiskSnapshots(params *GetDiskSnapshotsParams) (*GetDiskSnapshotsOK, error)
- func (a *Client) GetMachineDisk(params *GetMachineDiskParams) (*GetMachineDiskOK, error)
- func (a *Client) GetMachineDisks(params *GetMachineDisksParams) (*GetMachineDisksOK, error)
- func (a *Client) PromoteDisk(params *PromoteDiskParams) (*PromoteDiskAccepted, error)
- func (a *Client) ResizeBlockDevice(params *ResizeBlockDeviceParams) (*ResizeBlockDeviceAccepted, *ResizeBlockDeviceNoContent, error)
- func (a *Client) RevertDiskSnapshot(params *RevertDiskSnapshotParams) (*RevertDiskSnapshotAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CreateBlockDeviceAccepted
- type CreateBlockDeviceBadRequest
- type CreateBlockDeviceForbidden
- type CreateBlockDeviceParams
- func NewCreateBlockDeviceParams() *CreateBlockDeviceParams
- func NewCreateBlockDeviceParamsWithContext(ctx context.Context) *CreateBlockDeviceParams
- func NewCreateBlockDeviceParamsWithHTTPClient(client *http.Client) *CreateBlockDeviceParams
- func NewCreateBlockDeviceParamsWithTimeout(timeout time.Duration) *CreateBlockDeviceParams
- func (o *CreateBlockDeviceParams) SetAPIVersion(aPIVersion *string)
- func (o *CreateBlockDeviceParams) SetBody(body *models.BlockDeviceSpecification)
- func (o *CreateBlockDeviceParams) SetContext(ctx context.Context)
- func (o *CreateBlockDeviceParams) SetHTTPClient(client *http.Client)
- func (o *CreateBlockDeviceParams) SetTimeout(timeout time.Duration)
- func (o *CreateBlockDeviceParams) WithAPIVersion(aPIVersion *string) *CreateBlockDeviceParams
- func (o *CreateBlockDeviceParams) WithBody(body *models.BlockDeviceSpecification) *CreateBlockDeviceParams
- func (o *CreateBlockDeviceParams) WithContext(ctx context.Context) *CreateBlockDeviceParams
- func (o *CreateBlockDeviceParams) WithHTTPClient(client *http.Client) *CreateBlockDeviceParams
- func (o *CreateBlockDeviceParams) WithTimeout(timeout time.Duration) *CreateBlockDeviceParams
- func (o *CreateBlockDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateBlockDeviceReader
- type CreateFirstClassDiskSnapshotAccepted
- type CreateFirstClassDiskSnapshotForbidden
- type CreateFirstClassDiskSnapshotNoContent
- type CreateFirstClassDiskSnapshotParams
- func NewCreateFirstClassDiskSnapshotParams() *CreateFirstClassDiskSnapshotParams
- func NewCreateFirstClassDiskSnapshotParamsWithContext(ctx context.Context) *CreateFirstClassDiskSnapshotParams
- func NewCreateFirstClassDiskSnapshotParamsWithHTTPClient(client *http.Client) *CreateFirstClassDiskSnapshotParams
- func NewCreateFirstClassDiskSnapshotParamsWithTimeout(timeout time.Duration) *CreateFirstClassDiskSnapshotParams
- func (o *CreateFirstClassDiskSnapshotParams) SetAPIVersion(aPIVersion *string)
- func (o *CreateFirstClassDiskSnapshotParams) SetBody(body *models.DiskSnapshotSpecification)
- func (o *CreateFirstClassDiskSnapshotParams) SetContext(ctx context.Context)
- func (o *CreateFirstClassDiskSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *CreateFirstClassDiskSnapshotParams) SetID(id string)
- func (o *CreateFirstClassDiskSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *CreateFirstClassDiskSnapshotParams) WithAPIVersion(aPIVersion *string) *CreateFirstClassDiskSnapshotParams
- func (o *CreateFirstClassDiskSnapshotParams) WithBody(body *models.DiskSnapshotSpecification) *CreateFirstClassDiskSnapshotParams
- func (o *CreateFirstClassDiskSnapshotParams) WithContext(ctx context.Context) *CreateFirstClassDiskSnapshotParams
- func (o *CreateFirstClassDiskSnapshotParams) WithHTTPClient(client *http.Client) *CreateFirstClassDiskSnapshotParams
- func (o *CreateFirstClassDiskSnapshotParams) WithID(id string) *CreateFirstClassDiskSnapshotParams
- func (o *CreateFirstClassDiskSnapshotParams) WithTimeout(timeout time.Duration) *CreateFirstClassDiskSnapshotParams
- func (o *CreateFirstClassDiskSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateFirstClassDiskSnapshotReader
- type DeleteBlockDeviceAccepted
- type DeleteBlockDeviceForbidden
- type DeleteBlockDeviceNoContent
- type DeleteBlockDeviceParams
- func NewDeleteBlockDeviceParams() *DeleteBlockDeviceParams
- func NewDeleteBlockDeviceParamsWithContext(ctx context.Context) *DeleteBlockDeviceParams
- func NewDeleteBlockDeviceParamsWithHTTPClient(client *http.Client) *DeleteBlockDeviceParams
- func NewDeleteBlockDeviceParamsWithTimeout(timeout time.Duration) *DeleteBlockDeviceParams
- func (o *DeleteBlockDeviceParams) SetAPIVersion(aPIVersion *string)
- func (o *DeleteBlockDeviceParams) SetContext(ctx context.Context)
- func (o *DeleteBlockDeviceParams) SetForceDelete(forceDelete *bool)
- func (o *DeleteBlockDeviceParams) SetHTTPClient(client *http.Client)
- func (o *DeleteBlockDeviceParams) SetID(id string)
- func (o *DeleteBlockDeviceParams) SetPurge(purge *bool)
- func (o *DeleteBlockDeviceParams) SetTimeout(timeout time.Duration)
- func (o *DeleteBlockDeviceParams) WithAPIVersion(aPIVersion *string) *DeleteBlockDeviceParams
- func (o *DeleteBlockDeviceParams) WithContext(ctx context.Context) *DeleteBlockDeviceParams
- func (o *DeleteBlockDeviceParams) WithForceDelete(forceDelete *bool) *DeleteBlockDeviceParams
- func (o *DeleteBlockDeviceParams) WithHTTPClient(client *http.Client) *DeleteBlockDeviceParams
- func (o *DeleteBlockDeviceParams) WithID(id string) *DeleteBlockDeviceParams
- func (o *DeleteBlockDeviceParams) WithPurge(purge *bool) *DeleteBlockDeviceParams
- func (o *DeleteBlockDeviceParams) WithTimeout(timeout time.Duration) *DeleteBlockDeviceParams
- func (o *DeleteBlockDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteBlockDeviceReader
- type DeleteFirstClassDiskSnapshotAccepted
- type DeleteFirstClassDiskSnapshotForbidden
- type DeleteFirstClassDiskSnapshotNoContent
- type DeleteFirstClassDiskSnapshotParams
- func NewDeleteFirstClassDiskSnapshotParams() *DeleteFirstClassDiskSnapshotParams
- func NewDeleteFirstClassDiskSnapshotParamsWithContext(ctx context.Context) *DeleteFirstClassDiskSnapshotParams
- func NewDeleteFirstClassDiskSnapshotParamsWithHTTPClient(client *http.Client) *DeleteFirstClassDiskSnapshotParams
- func NewDeleteFirstClassDiskSnapshotParamsWithTimeout(timeout time.Duration) *DeleteFirstClassDiskSnapshotParams
- func (o *DeleteFirstClassDiskSnapshotParams) SetAPIVersion(aPIVersion *string)
- func (o *DeleteFirstClassDiskSnapshotParams) SetContext(ctx context.Context)
- func (o *DeleteFirstClassDiskSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *DeleteFirstClassDiskSnapshotParams) SetID(id string)
- func (o *DeleteFirstClassDiskSnapshotParams) SetId1(id1 string)
- func (o *DeleteFirstClassDiskSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *DeleteFirstClassDiskSnapshotParams) WithAPIVersion(aPIVersion *string) *DeleteFirstClassDiskSnapshotParams
- func (o *DeleteFirstClassDiskSnapshotParams) WithContext(ctx context.Context) *DeleteFirstClassDiskSnapshotParams
- func (o *DeleteFirstClassDiskSnapshotParams) WithHTTPClient(client *http.Client) *DeleteFirstClassDiskSnapshotParams
- func (o *DeleteFirstClassDiskSnapshotParams) WithID(id string) *DeleteFirstClassDiskSnapshotParams
- func (o *DeleteFirstClassDiskSnapshotParams) WithId1(id1 string) *DeleteFirstClassDiskSnapshotParams
- func (o *DeleteFirstClassDiskSnapshotParams) WithTimeout(timeout time.Duration) *DeleteFirstClassDiskSnapshotParams
- func (o *DeleteFirstClassDiskSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteFirstClassDiskSnapshotReader
- type DeleteMachineDiskAccepted
- type DeleteMachineDiskForbidden
- type DeleteMachineDiskNoContent
- type DeleteMachineDiskParams
- func NewDeleteMachineDiskParams() *DeleteMachineDiskParams
- func NewDeleteMachineDiskParamsWithContext(ctx context.Context) *DeleteMachineDiskParams
- func NewDeleteMachineDiskParamsWithHTTPClient(client *http.Client) *DeleteMachineDiskParams
- func NewDeleteMachineDiskParamsWithTimeout(timeout time.Duration) *DeleteMachineDiskParams
- func (o *DeleteMachineDiskParams) SetAPIVersion(aPIVersion *string)
- func (o *DeleteMachineDiskParams) SetContext(ctx context.Context)
- func (o *DeleteMachineDiskParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMachineDiskParams) SetID(id string)
- func (o *DeleteMachineDiskParams) SetId1(id1 string)
- func (o *DeleteMachineDiskParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMachineDiskParams) WithAPIVersion(aPIVersion *string) *DeleteMachineDiskParams
- func (o *DeleteMachineDiskParams) WithContext(ctx context.Context) *DeleteMachineDiskParams
- func (o *DeleteMachineDiskParams) WithHTTPClient(client *http.Client) *DeleteMachineDiskParams
- func (o *DeleteMachineDiskParams) WithID(id string) *DeleteMachineDiskParams
- func (o *DeleteMachineDiskParams) WithId1(id1 string) *DeleteMachineDiskParams
- func (o *DeleteMachineDiskParams) WithTimeout(timeout time.Duration) *DeleteMachineDiskParams
- func (o *DeleteMachineDiskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMachineDiskReader
- type GetBlockDeviceForbidden
- type GetBlockDeviceNotFound
- type GetBlockDeviceOK
- type GetBlockDeviceParams
- func NewGetBlockDeviceParams() *GetBlockDeviceParams
- func NewGetBlockDeviceParamsWithContext(ctx context.Context) *GetBlockDeviceParams
- func NewGetBlockDeviceParamsWithHTTPClient(client *http.Client) *GetBlockDeviceParams
- func NewGetBlockDeviceParamsWithTimeout(timeout time.Duration) *GetBlockDeviceParams
- func (o *GetBlockDeviceParams) SetAPIVersion(aPIVersion *string)
- func (o *GetBlockDeviceParams) SetContext(ctx context.Context)
- func (o *GetBlockDeviceParams) SetHTTPClient(client *http.Client)
- func (o *GetBlockDeviceParams) SetID(id string)
- func (o *GetBlockDeviceParams) SetTimeout(timeout time.Duration)
- func (o *GetBlockDeviceParams) WithAPIVersion(aPIVersion *string) *GetBlockDeviceParams
- func (o *GetBlockDeviceParams) WithContext(ctx context.Context) *GetBlockDeviceParams
- func (o *GetBlockDeviceParams) WithHTTPClient(client *http.Client) *GetBlockDeviceParams
- func (o *GetBlockDeviceParams) WithID(id string) *GetBlockDeviceParams
- func (o *GetBlockDeviceParams) WithTimeout(timeout time.Duration) *GetBlockDeviceParams
- func (o *GetBlockDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBlockDeviceReader
- type GetBlockDevicesForbidden
- type GetBlockDevicesOK
- type GetBlockDevicesParams
- func NewGetBlockDevicesParams() *GetBlockDevicesParams
- func NewGetBlockDevicesParamsWithContext(ctx context.Context) *GetBlockDevicesParams
- func NewGetBlockDevicesParamsWithHTTPClient(client *http.Client) *GetBlockDevicesParams
- func NewGetBlockDevicesParamsWithTimeout(timeout time.Duration) *GetBlockDevicesParams
- func (o *GetBlockDevicesParams) SetAPIVersion(aPIVersion *string)
- func (o *GetBlockDevicesParams) SetContext(ctx context.Context)
- func (o *GetBlockDevicesParams) SetDollarFilter(dollarFilter *string)
- func (o *GetBlockDevicesParams) SetHTTPClient(client *http.Client)
- func (o *GetBlockDevicesParams) SetTimeout(timeout time.Duration)
- func (o *GetBlockDevicesParams) WithAPIVersion(aPIVersion *string) *GetBlockDevicesParams
- func (o *GetBlockDevicesParams) WithContext(ctx context.Context) *GetBlockDevicesParams
- func (o *GetBlockDevicesParams) WithDollarFilter(dollarFilter *string) *GetBlockDevicesParams
- func (o *GetBlockDevicesParams) WithHTTPClient(client *http.Client) *GetBlockDevicesParams
- func (o *GetBlockDevicesParams) WithTimeout(timeout time.Duration) *GetBlockDevicesParams
- func (o *GetBlockDevicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBlockDevicesReader
- type GetDiskSnapshotForbidden
- type GetDiskSnapshotNotFound
- type GetDiskSnapshotOK
- type GetDiskSnapshotParams
- func NewGetDiskSnapshotParams() *GetDiskSnapshotParams
- func NewGetDiskSnapshotParamsWithContext(ctx context.Context) *GetDiskSnapshotParams
- func NewGetDiskSnapshotParamsWithHTTPClient(client *http.Client) *GetDiskSnapshotParams
- func NewGetDiskSnapshotParamsWithTimeout(timeout time.Duration) *GetDiskSnapshotParams
- func (o *GetDiskSnapshotParams) SetAPIVersion(aPIVersion *string)
- func (o *GetDiskSnapshotParams) SetContext(ctx context.Context)
- func (o *GetDiskSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *GetDiskSnapshotParams) SetID(id string)
- func (o *GetDiskSnapshotParams) SetId1(id1 string)
- func (o *GetDiskSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *GetDiskSnapshotParams) WithAPIVersion(aPIVersion *string) *GetDiskSnapshotParams
- func (o *GetDiskSnapshotParams) WithContext(ctx context.Context) *GetDiskSnapshotParams
- func (o *GetDiskSnapshotParams) WithHTTPClient(client *http.Client) *GetDiskSnapshotParams
- func (o *GetDiskSnapshotParams) WithID(id string) *GetDiskSnapshotParams
- func (o *GetDiskSnapshotParams) WithId1(id1 string) *GetDiskSnapshotParams
- func (o *GetDiskSnapshotParams) WithTimeout(timeout time.Duration) *GetDiskSnapshotParams
- func (o *GetDiskSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDiskSnapshotReader
- type GetDiskSnapshotsForbidden
- type GetDiskSnapshotsNotFound
- type GetDiskSnapshotsOK
- type GetDiskSnapshotsParams
- func NewGetDiskSnapshotsParams() *GetDiskSnapshotsParams
- func NewGetDiskSnapshotsParamsWithContext(ctx context.Context) *GetDiskSnapshotsParams
- func NewGetDiskSnapshotsParamsWithHTTPClient(client *http.Client) *GetDiskSnapshotsParams
- func NewGetDiskSnapshotsParamsWithTimeout(timeout time.Duration) *GetDiskSnapshotsParams
- func (o *GetDiskSnapshotsParams) SetAPIVersion(aPIVersion *string)
- func (o *GetDiskSnapshotsParams) SetContext(ctx context.Context)
- func (o *GetDiskSnapshotsParams) SetHTTPClient(client *http.Client)
- func (o *GetDiskSnapshotsParams) SetID(id string)
- func (o *GetDiskSnapshotsParams) SetTimeout(timeout time.Duration)
- func (o *GetDiskSnapshotsParams) WithAPIVersion(aPIVersion *string) *GetDiskSnapshotsParams
- func (o *GetDiskSnapshotsParams) WithContext(ctx context.Context) *GetDiskSnapshotsParams
- func (o *GetDiskSnapshotsParams) WithHTTPClient(client *http.Client) *GetDiskSnapshotsParams
- func (o *GetDiskSnapshotsParams) WithID(id string) *GetDiskSnapshotsParams
- func (o *GetDiskSnapshotsParams) WithTimeout(timeout time.Duration) *GetDiskSnapshotsParams
- func (o *GetDiskSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDiskSnapshotsReader
- type GetMachineDiskForbidden
- type GetMachineDiskNotFound
- type GetMachineDiskOK
- type GetMachineDiskParams
- func NewGetMachineDiskParams() *GetMachineDiskParams
- func NewGetMachineDiskParamsWithContext(ctx context.Context) *GetMachineDiskParams
- func NewGetMachineDiskParamsWithHTTPClient(client *http.Client) *GetMachineDiskParams
- func NewGetMachineDiskParamsWithTimeout(timeout time.Duration) *GetMachineDiskParams
- func (o *GetMachineDiskParams) SetAPIVersion(aPIVersion *string)
- func (o *GetMachineDiskParams) SetContext(ctx context.Context)
- func (o *GetMachineDiskParams) SetHTTPClient(client *http.Client)
- func (o *GetMachineDiskParams) SetID(id string)
- func (o *GetMachineDiskParams) SetId1(id1 string)
- func (o *GetMachineDiskParams) SetTimeout(timeout time.Duration)
- func (o *GetMachineDiskParams) WithAPIVersion(aPIVersion *string) *GetMachineDiskParams
- func (o *GetMachineDiskParams) WithContext(ctx context.Context) *GetMachineDiskParams
- func (o *GetMachineDiskParams) WithHTTPClient(client *http.Client) *GetMachineDiskParams
- func (o *GetMachineDiskParams) WithID(id string) *GetMachineDiskParams
- func (o *GetMachineDiskParams) WithId1(id1 string) *GetMachineDiskParams
- func (o *GetMachineDiskParams) WithTimeout(timeout time.Duration) *GetMachineDiskParams
- func (o *GetMachineDiskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMachineDiskReader
- type GetMachineDisksForbidden
- type GetMachineDisksNotFound
- type GetMachineDisksOK
- type GetMachineDisksParams
- func NewGetMachineDisksParams() *GetMachineDisksParams
- func NewGetMachineDisksParamsWithContext(ctx context.Context) *GetMachineDisksParams
- func NewGetMachineDisksParamsWithHTTPClient(client *http.Client) *GetMachineDisksParams
- func NewGetMachineDisksParamsWithTimeout(timeout time.Duration) *GetMachineDisksParams
- func (o *GetMachineDisksParams) SetAPIVersion(aPIVersion *string)
- func (o *GetMachineDisksParams) SetContext(ctx context.Context)
- func (o *GetMachineDisksParams) SetHTTPClient(client *http.Client)
- func (o *GetMachineDisksParams) SetID(id string)
- func (o *GetMachineDisksParams) SetTimeout(timeout time.Duration)
- func (o *GetMachineDisksParams) WithAPIVersion(aPIVersion *string) *GetMachineDisksParams
- func (o *GetMachineDisksParams) WithContext(ctx context.Context) *GetMachineDisksParams
- func (o *GetMachineDisksParams) WithHTTPClient(client *http.Client) *GetMachineDisksParams
- func (o *GetMachineDisksParams) WithID(id string) *GetMachineDisksParams
- func (o *GetMachineDisksParams) WithTimeout(timeout time.Duration) *GetMachineDisksParams
- func (o *GetMachineDisksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMachineDisksReader
- type PromoteDiskAccepted
- type PromoteDiskForbidden
- type PromoteDiskNotFound
- type PromoteDiskParams
- func (o *PromoteDiskParams) SetAPIVersion(aPIVersion *string)
- func (o *PromoteDiskParams) SetContext(ctx context.Context)
- func (o *PromoteDiskParams) SetHTTPClient(client *http.Client)
- func (o *PromoteDiskParams) SetID(id string)
- func (o *PromoteDiskParams) SetTimeout(timeout time.Duration)
- func (o *PromoteDiskParams) WithAPIVersion(aPIVersion *string) *PromoteDiskParams
- func (o *PromoteDiskParams) WithContext(ctx context.Context) *PromoteDiskParams
- func (o *PromoteDiskParams) WithHTTPClient(client *http.Client) *PromoteDiskParams
- func (o *PromoteDiskParams) WithID(id string) *PromoteDiskParams
- func (o *PromoteDiskParams) WithTimeout(timeout time.Duration) *PromoteDiskParams
- func (o *PromoteDiskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PromoteDiskReader
- type ResizeBlockDeviceAccepted
- type ResizeBlockDeviceForbidden
- type ResizeBlockDeviceNoContent
- type ResizeBlockDeviceParams
- func NewResizeBlockDeviceParams() *ResizeBlockDeviceParams
- func NewResizeBlockDeviceParamsWithContext(ctx context.Context) *ResizeBlockDeviceParams
- func NewResizeBlockDeviceParamsWithHTTPClient(client *http.Client) *ResizeBlockDeviceParams
- func NewResizeBlockDeviceParamsWithTimeout(timeout time.Duration) *ResizeBlockDeviceParams
- func (o *ResizeBlockDeviceParams) SetAPIVersion(aPIVersion *string)
- func (o *ResizeBlockDeviceParams) SetCapacityInGB(capacityInGB int32)
- func (o *ResizeBlockDeviceParams) SetContext(ctx context.Context)
- func (o *ResizeBlockDeviceParams) SetHTTPClient(client *http.Client)
- func (o *ResizeBlockDeviceParams) SetID(id string)
- func (o *ResizeBlockDeviceParams) SetTimeout(timeout time.Duration)
- func (o *ResizeBlockDeviceParams) WithAPIVersion(aPIVersion *string) *ResizeBlockDeviceParams
- func (o *ResizeBlockDeviceParams) WithCapacityInGB(capacityInGB int32) *ResizeBlockDeviceParams
- func (o *ResizeBlockDeviceParams) WithContext(ctx context.Context) *ResizeBlockDeviceParams
- func (o *ResizeBlockDeviceParams) WithHTTPClient(client *http.Client) *ResizeBlockDeviceParams
- func (o *ResizeBlockDeviceParams) WithID(id string) *ResizeBlockDeviceParams
- func (o *ResizeBlockDeviceParams) WithTimeout(timeout time.Duration) *ResizeBlockDeviceParams
- func (o *ResizeBlockDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResizeBlockDeviceReader
- type RevertDiskSnapshotAccepted
- type RevertDiskSnapshotForbidden
- type RevertDiskSnapshotNotFound
- type RevertDiskSnapshotParams
- func NewRevertDiskSnapshotParams() *RevertDiskSnapshotParams
- func NewRevertDiskSnapshotParamsWithContext(ctx context.Context) *RevertDiskSnapshotParams
- func NewRevertDiskSnapshotParamsWithHTTPClient(client *http.Client) *RevertDiskSnapshotParams
- func NewRevertDiskSnapshotParamsWithTimeout(timeout time.Duration) *RevertDiskSnapshotParams
- func (o *RevertDiskSnapshotParams) SetAPIVersion(aPIVersion *string)
- func (o *RevertDiskSnapshotParams) SetContext(ctx context.Context)
- func (o *RevertDiskSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *RevertDiskSnapshotParams) SetPathID(id string)
- func (o *RevertDiskSnapshotParams) SetQueryID(id string)
- func (o *RevertDiskSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *RevertDiskSnapshotParams) WithAPIVersion(aPIVersion *string) *RevertDiskSnapshotParams
- func (o *RevertDiskSnapshotParams) WithContext(ctx context.Context) *RevertDiskSnapshotParams
- func (o *RevertDiskSnapshotParams) WithHTTPClient(client *http.Client) *RevertDiskSnapshotParams
- func (o *RevertDiskSnapshotParams) WithPathID(id string) *RevertDiskSnapshotParams
- func (o *RevertDiskSnapshotParams) WithQueryID(id string) *RevertDiskSnapshotParams
- func (o *RevertDiskSnapshotParams) WithTimeout(timeout time.Duration) *RevertDiskSnapshotParams
- func (o *RevertDiskSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RevertDiskSnapshotReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachMachineDiskBadRequest ¶
AttachMachineDiskBadRequest handles this case with default header values.
Invalid Request - bad data
func NewAttachMachineDiskBadRequest ¶
func NewAttachMachineDiskBadRequest() *AttachMachineDiskBadRequest
NewAttachMachineDiskBadRequest creates a AttachMachineDiskBadRequest with default headers values
func (*AttachMachineDiskBadRequest) Error ¶
func (o *AttachMachineDiskBadRequest) Error() string
func (*AttachMachineDiskBadRequest) GetPayload ¶ added in v0.2.9
func (o *AttachMachineDiskBadRequest) GetPayload() *models.Error
type AttachMachineDiskForbidden ¶
type AttachMachineDiskForbidden struct { }
AttachMachineDiskForbidden handles this case with default header values.
Forbidden
func NewAttachMachineDiskForbidden ¶
func NewAttachMachineDiskForbidden() *AttachMachineDiskForbidden
NewAttachMachineDiskForbidden creates a AttachMachineDiskForbidden with default headers values
func (*AttachMachineDiskForbidden) Error ¶
func (o *AttachMachineDiskForbidden) Error() string
type AttachMachineDiskNotFound ¶
AttachMachineDiskNotFound handles this case with default header values.
Not Found
func NewAttachMachineDiskNotFound ¶
func NewAttachMachineDiskNotFound() *AttachMachineDiskNotFound
NewAttachMachineDiskNotFound creates a AttachMachineDiskNotFound with default headers values
func (*AttachMachineDiskNotFound) Error ¶
func (o *AttachMachineDiskNotFound) Error() string
func (*AttachMachineDiskNotFound) GetPayload ¶ added in v0.2.9
func (o *AttachMachineDiskNotFound) GetPayload() *models.Error
type AttachMachineDiskOK ¶
type AttachMachineDiskOK struct {
Payload *models.RequestTracker
}
AttachMachineDiskOK handles this case with default header values.
successful operation
func NewAttachMachineDiskOK ¶
func NewAttachMachineDiskOK() *AttachMachineDiskOK
NewAttachMachineDiskOK creates a AttachMachineDiskOK with default headers values
func (*AttachMachineDiskOK) Error ¶
func (o *AttachMachineDiskOK) Error() string
func (*AttachMachineDiskOK) GetPayload ¶
func (o *AttachMachineDiskOK) GetPayload() *models.RequestTracker
type AttachMachineDiskParams ¶
type AttachMachineDiskParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /*Body Disk Specification instance */ Body *models.DiskAttachmentSpecification /*ID The ID of the machine. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AttachMachineDiskParams contains all the parameters to send to the API endpoint for the attach machine disk operation typically these are written to a http.Request
func NewAttachMachineDiskParams ¶
func NewAttachMachineDiskParams() *AttachMachineDiskParams
NewAttachMachineDiskParams creates a new AttachMachineDiskParams object with the default values initialized.
func NewAttachMachineDiskParamsWithContext ¶
func NewAttachMachineDiskParamsWithContext(ctx context.Context) *AttachMachineDiskParams
NewAttachMachineDiskParamsWithContext creates a new AttachMachineDiskParams object with the default values initialized, and the ability to set a context for a request
func NewAttachMachineDiskParamsWithHTTPClient ¶
func NewAttachMachineDiskParamsWithHTTPClient(client *http.Client) *AttachMachineDiskParams
NewAttachMachineDiskParamsWithHTTPClient creates a new AttachMachineDiskParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAttachMachineDiskParamsWithTimeout ¶
func NewAttachMachineDiskParamsWithTimeout(timeout time.Duration) *AttachMachineDiskParams
NewAttachMachineDiskParamsWithTimeout creates a new AttachMachineDiskParams object with the default values initialized, and the ability to set a timeout on a request
func (*AttachMachineDiskParams) SetAPIVersion ¶
func (o *AttachMachineDiskParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the attach machine disk params
func (*AttachMachineDiskParams) SetBody ¶
func (o *AttachMachineDiskParams) SetBody(body *models.DiskAttachmentSpecification)
SetBody adds the body to the attach machine disk params
func (*AttachMachineDiskParams) SetContext ¶
func (o *AttachMachineDiskParams) SetContext(ctx context.Context)
SetContext adds the context to the attach machine disk params
func (*AttachMachineDiskParams) SetHTTPClient ¶
func (o *AttachMachineDiskParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the attach machine disk params
func (*AttachMachineDiskParams) SetID ¶
func (o *AttachMachineDiskParams) SetID(id string)
SetID adds the id to the attach machine disk params
func (*AttachMachineDiskParams) SetTimeout ¶
func (o *AttachMachineDiskParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the attach machine disk params
func (*AttachMachineDiskParams) WithAPIVersion ¶
func (o *AttachMachineDiskParams) WithAPIVersion(aPIVersion *string) *AttachMachineDiskParams
WithAPIVersion adds the aPIVersion to the attach machine disk params
func (*AttachMachineDiskParams) WithBody ¶
func (o *AttachMachineDiskParams) WithBody(body *models.DiskAttachmentSpecification) *AttachMachineDiskParams
WithBody adds the body to the attach machine disk params
func (*AttachMachineDiskParams) WithContext ¶
func (o *AttachMachineDiskParams) WithContext(ctx context.Context) *AttachMachineDiskParams
WithContext adds the context to the attach machine disk params
func (*AttachMachineDiskParams) WithHTTPClient ¶
func (o *AttachMachineDiskParams) WithHTTPClient(client *http.Client) *AttachMachineDiskParams
WithHTTPClient adds the HTTPClient to the attach machine disk params
func (*AttachMachineDiskParams) WithID ¶
func (o *AttachMachineDiskParams) WithID(id string) *AttachMachineDiskParams
WithID adds the id to the attach machine disk params
func (*AttachMachineDiskParams) WithTimeout ¶
func (o *AttachMachineDiskParams) WithTimeout(timeout time.Duration) *AttachMachineDiskParams
WithTimeout adds the timeout to the attach machine disk params
func (*AttachMachineDiskParams) WriteToRequest ¶
func (o *AttachMachineDiskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AttachMachineDiskReader ¶
type AttachMachineDiskReader struct {
// contains filtered or unexported fields
}
AttachMachineDiskReader is a Reader for the AttachMachineDisk structure.
func (*AttachMachineDiskReader) ReadResponse ¶
func (o *AttachMachineDiskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for disk API
func (*Client) AttachMachineDisk ¶
func (a *Client) AttachMachineDisk(params *AttachMachineDiskParams) (*AttachMachineDiskOK, error)
AttachMachineDisk attaches machine disk
Attach a disk to a machine.
func (*Client) CreateBlockDevice ¶
func (a *Client) CreateBlockDevice(params *CreateBlockDeviceParams) (*CreateBlockDeviceAccepted, error)
CreateBlockDevice creates block device
Following disk custom properties can be passed while creating a block device:
- dataStore: Defines name of the datastore in which the disk has to be provisioned.
- storagePolicy: Defines name of the storage policy in which the disk has to be provisioned. If name of the datastore is specified in the custom properties then, datastore takes precedence.
- provisioningType: Defines the type of provisioning. For eg. thick/thin.
- resourceGroupName: Defines the Azure resource group name where the disk needs to be provisioned.
func (*Client) CreateFirstClassDiskSnapshot ¶ added in v0.2.14
func (a *Client) CreateFirstClassDiskSnapshot(params *CreateFirstClassDiskSnapshotParams) (*CreateFirstClassDiskSnapshotAccepted, *CreateFirstClassDiskSnapshotNoContent, error)
CreateFirstClassDiskSnapshot creates snapshot operation for first class disk
Second day create snapshot operation for first class disk
func (*Client) DeleteBlockDevice ¶
func (a *Client) DeleteBlockDevice(params *DeleteBlockDeviceParams) (*DeleteBlockDeviceAccepted, *DeleteBlockDeviceNoContent, error)
DeleteBlockDevice deletes a block device Delete a BlockDevice
1. A block device cannot be deleted when attached to a machine. 2. A block device with persistent property set to 'false' is deleted. 3. A block device with persistent property set to 'true' needs an additional parameter 'purge' to be set to true, for deletion.
func (*Client) DeleteFirstClassDiskSnapshot ¶ added in v0.2.14
func (a *Client) DeleteFirstClassDiskSnapshot(params *DeleteFirstClassDiskSnapshotParams) (*DeleteFirstClassDiskSnapshotAccepted, *DeleteFirstClassDiskSnapshotNoContent, error)
DeleteFirstClassDiskSnapshot deletes snapshot operation for first class disk
Second day delete snapshot operation for first class disk
func (*Client) DeleteMachineDisk ¶
func (a *Client) DeleteMachineDisk(params *DeleteMachineDiskParams) (*DeleteMachineDiskAccepted, *DeleteMachineDiskNoContent, error)
DeleteMachineDisk deletes machine disk
Remove a disk from a given machine.
func (*Client) GetBlockDevice ¶
func (a *Client) GetBlockDevice(params *GetBlockDeviceParams) (*GetBlockDeviceOK, error)
GetBlockDevice gets block device
Get a single BlockDevice
func (*Client) GetBlockDevices ¶
func (a *Client) GetBlockDevices(params *GetBlockDevicesParams) (*GetBlockDevicesOK, error)
GetBlockDevices gets block devices
Get all BlockDevices
func (*Client) GetDiskSnapshot ¶ added in v0.2.14
func (a *Client) GetDiskSnapshot(params *GetDiskSnapshotParams) (*GetDiskSnapshotOK, error)
GetDiskSnapshot gets disk snapshot
Get snapshot with a given id for specific disk
func (*Client) GetDiskSnapshots ¶ added in v0.2.14
func (a *Client) GetDiskSnapshots(params *GetDiskSnapshotsParams) (*GetDiskSnapshotsOK, error)
GetDiskSnapshots gets disk snapshots information
Get disk snapshots information
func (*Client) GetMachineDisk ¶
func (a *Client) GetMachineDisk(params *GetMachineDiskParams) (*GetMachineDiskOK, error)
GetMachineDisk gets machine disk
Get disk with a given id for specific machine
func (*Client) GetMachineDisks ¶
func (a *Client) GetMachineDisks(params *GetMachineDisksParams) (*GetMachineDisksOK, error)
GetMachineDisks gets machine disks
Get all machine disks
func (*Client) PromoteDisk ¶ added in v0.2.14
func (a *Client) PromoteDisk(params *PromoteDiskParams) (*PromoteDiskAccepted, error)
PromoteDisk promotes operation on disk
Second day promote operation on disk
func (*Client) ResizeBlockDevice ¶ added in v0.2.6
func (a *Client) ResizeBlockDevice(params *ResizeBlockDeviceParams) (*ResizeBlockDeviceAccepted, *ResizeBlockDeviceNoContent, error)
ResizeBlockDevice resizes block device
Resize operation on block device.
func (*Client) RevertDiskSnapshot ¶ added in v0.2.14
func (a *Client) RevertDiskSnapshot(params *RevertDiskSnapshotParams) (*RevertDiskSnapshotAccepted, error)
RevertDiskSnapshot reverts snapshot operation for disk
Second day revert snapshot operation for disk
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶ added in v0.2.18
type ClientService interface { PromoteDisk(params *PromoteDiskParams) (*PromoteDiskAccepted, error) AttachMachineDisk(params *AttachMachineDiskParams) (*AttachMachineDiskOK, error) CreateBlockDevice(params *CreateBlockDeviceParams) (*CreateBlockDeviceAccepted, error) CreateFirstClassDiskSnapshot(params *CreateFirstClassDiskSnapshotParams) (*CreateFirstClassDiskSnapshotAccepted, *CreateFirstClassDiskSnapshotNoContent, error) DeleteBlockDevice(params *DeleteBlockDeviceParams) (*DeleteBlockDeviceAccepted, *DeleteBlockDeviceNoContent, error) DeleteFirstClassDiskSnapshot(params *DeleteFirstClassDiskSnapshotParams) (*DeleteFirstClassDiskSnapshotAccepted, *DeleteFirstClassDiskSnapshotNoContent, error) DeleteMachineDisk(params *DeleteMachineDiskParams) (*DeleteMachineDiskAccepted, *DeleteMachineDiskNoContent, error) GetBlockDevice(params *GetBlockDeviceParams) (*GetBlockDeviceOK, error) GetBlockDevices(params *GetBlockDevicesParams) (*GetBlockDevicesOK, error) GetDiskSnapshot(params *GetDiskSnapshotParams) (*GetDiskSnapshotOK, error) GetDiskSnapshots(params *GetDiskSnapshotsParams) (*GetDiskSnapshotsOK, error) GetMachineDisk(params *GetMachineDiskParams) (*GetMachineDiskOK, error) GetMachineDisks(params *GetMachineDisksParams) (*GetMachineDisksOK, error) ResizeBlockDevice(params *ResizeBlockDeviceParams) (*ResizeBlockDeviceAccepted, *ResizeBlockDeviceNoContent, error) RevertDiskSnapshot(params *RevertDiskSnapshotParams) (*RevertDiskSnapshotAccepted, 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 disk API client.
type CreateBlockDeviceAccepted ¶
type CreateBlockDeviceAccepted struct {
Payload *models.RequestTracker
}
CreateBlockDeviceAccepted handles this case with default header values.
successful operation
func NewCreateBlockDeviceAccepted ¶
func NewCreateBlockDeviceAccepted() *CreateBlockDeviceAccepted
NewCreateBlockDeviceAccepted creates a CreateBlockDeviceAccepted with default headers values
func (*CreateBlockDeviceAccepted) Error ¶
func (o *CreateBlockDeviceAccepted) Error() string
func (*CreateBlockDeviceAccepted) GetPayload ¶
func (o *CreateBlockDeviceAccepted) GetPayload() *models.RequestTracker
type CreateBlockDeviceBadRequest ¶
CreateBlockDeviceBadRequest handles this case with default header values.
Invalid Request - bad data
func NewCreateBlockDeviceBadRequest ¶
func NewCreateBlockDeviceBadRequest() *CreateBlockDeviceBadRequest
NewCreateBlockDeviceBadRequest creates a CreateBlockDeviceBadRequest with default headers values
func (*CreateBlockDeviceBadRequest) Error ¶
func (o *CreateBlockDeviceBadRequest) Error() string
func (*CreateBlockDeviceBadRequest) GetPayload ¶ added in v0.2.9
func (o *CreateBlockDeviceBadRequest) GetPayload() *models.Error
type CreateBlockDeviceForbidden ¶
type CreateBlockDeviceForbidden struct { }
CreateBlockDeviceForbidden handles this case with default header values.
Forbidden
func NewCreateBlockDeviceForbidden ¶
func NewCreateBlockDeviceForbidden() *CreateBlockDeviceForbidden
NewCreateBlockDeviceForbidden creates a CreateBlockDeviceForbidden with default headers values
func (*CreateBlockDeviceForbidden) Error ¶
func (o *CreateBlockDeviceForbidden) Error() string
type CreateBlockDeviceParams ¶
type CreateBlockDeviceParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /*Body Disk Specification instance */ Body *models.BlockDeviceSpecification Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateBlockDeviceParams contains all the parameters to send to the API endpoint for the create block device operation typically these are written to a http.Request
func NewCreateBlockDeviceParams ¶
func NewCreateBlockDeviceParams() *CreateBlockDeviceParams
NewCreateBlockDeviceParams creates a new CreateBlockDeviceParams object with the default values initialized.
func NewCreateBlockDeviceParamsWithContext ¶
func NewCreateBlockDeviceParamsWithContext(ctx context.Context) *CreateBlockDeviceParams
NewCreateBlockDeviceParamsWithContext creates a new CreateBlockDeviceParams object with the default values initialized, and the ability to set a context for a request
func NewCreateBlockDeviceParamsWithHTTPClient ¶
func NewCreateBlockDeviceParamsWithHTTPClient(client *http.Client) *CreateBlockDeviceParams
NewCreateBlockDeviceParamsWithHTTPClient creates a new CreateBlockDeviceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateBlockDeviceParamsWithTimeout ¶
func NewCreateBlockDeviceParamsWithTimeout(timeout time.Duration) *CreateBlockDeviceParams
NewCreateBlockDeviceParamsWithTimeout creates a new CreateBlockDeviceParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateBlockDeviceParams) SetAPIVersion ¶
func (o *CreateBlockDeviceParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the create block device params
func (*CreateBlockDeviceParams) SetBody ¶
func (o *CreateBlockDeviceParams) SetBody(body *models.BlockDeviceSpecification)
SetBody adds the body to the create block device params
func (*CreateBlockDeviceParams) SetContext ¶
func (o *CreateBlockDeviceParams) SetContext(ctx context.Context)
SetContext adds the context to the create block device params
func (*CreateBlockDeviceParams) SetHTTPClient ¶
func (o *CreateBlockDeviceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create block device params
func (*CreateBlockDeviceParams) SetTimeout ¶
func (o *CreateBlockDeviceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create block device params
func (*CreateBlockDeviceParams) WithAPIVersion ¶
func (o *CreateBlockDeviceParams) WithAPIVersion(aPIVersion *string) *CreateBlockDeviceParams
WithAPIVersion adds the aPIVersion to the create block device params
func (*CreateBlockDeviceParams) WithBody ¶
func (o *CreateBlockDeviceParams) WithBody(body *models.BlockDeviceSpecification) *CreateBlockDeviceParams
WithBody adds the body to the create block device params
func (*CreateBlockDeviceParams) WithContext ¶
func (o *CreateBlockDeviceParams) WithContext(ctx context.Context) *CreateBlockDeviceParams
WithContext adds the context to the create block device params
func (*CreateBlockDeviceParams) WithHTTPClient ¶
func (o *CreateBlockDeviceParams) WithHTTPClient(client *http.Client) *CreateBlockDeviceParams
WithHTTPClient adds the HTTPClient to the create block device params
func (*CreateBlockDeviceParams) WithTimeout ¶
func (o *CreateBlockDeviceParams) WithTimeout(timeout time.Duration) *CreateBlockDeviceParams
WithTimeout adds the timeout to the create block device params
func (*CreateBlockDeviceParams) WriteToRequest ¶
func (o *CreateBlockDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateBlockDeviceReader ¶
type CreateBlockDeviceReader struct {
// contains filtered or unexported fields
}
CreateBlockDeviceReader is a Reader for the CreateBlockDevice structure.
func (*CreateBlockDeviceReader) ReadResponse ¶
func (o *CreateBlockDeviceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateFirstClassDiskSnapshotAccepted ¶ added in v0.2.16
type CreateFirstClassDiskSnapshotAccepted struct {
Payload *models.RequestTracker
}
CreateFirstClassDiskSnapshotAccepted handles this case with default header values.
successful operation
func NewCreateFirstClassDiskSnapshotAccepted ¶ added in v0.2.16
func NewCreateFirstClassDiskSnapshotAccepted() *CreateFirstClassDiskSnapshotAccepted
NewCreateFirstClassDiskSnapshotAccepted creates a CreateFirstClassDiskSnapshotAccepted with default headers values
func (*CreateFirstClassDiskSnapshotAccepted) Error ¶ added in v0.2.16
func (o *CreateFirstClassDiskSnapshotAccepted) Error() string
func (*CreateFirstClassDiskSnapshotAccepted) GetPayload ¶ added in v0.2.16
func (o *CreateFirstClassDiskSnapshotAccepted) GetPayload() *models.RequestTracker
type CreateFirstClassDiskSnapshotForbidden ¶ added in v0.2.14
type CreateFirstClassDiskSnapshotForbidden struct { }
CreateFirstClassDiskSnapshotForbidden handles this case with default header values.
Forbidden
func NewCreateFirstClassDiskSnapshotForbidden ¶ added in v0.2.14
func NewCreateFirstClassDiskSnapshotForbidden() *CreateFirstClassDiskSnapshotForbidden
NewCreateFirstClassDiskSnapshotForbidden creates a CreateFirstClassDiskSnapshotForbidden with default headers values
func (*CreateFirstClassDiskSnapshotForbidden) Error ¶ added in v0.2.14
func (o *CreateFirstClassDiskSnapshotForbidden) Error() string
type CreateFirstClassDiskSnapshotNoContent ¶ added in v0.2.14
type CreateFirstClassDiskSnapshotNoContent struct { }
CreateFirstClassDiskSnapshotNoContent handles this case with default header values.
No Content
func NewCreateFirstClassDiskSnapshotNoContent ¶ added in v0.2.14
func NewCreateFirstClassDiskSnapshotNoContent() *CreateFirstClassDiskSnapshotNoContent
NewCreateFirstClassDiskSnapshotNoContent creates a CreateFirstClassDiskSnapshotNoContent with default headers values
func (*CreateFirstClassDiskSnapshotNoContent) Error ¶ added in v0.2.14
func (o *CreateFirstClassDiskSnapshotNoContent) Error() string
type CreateFirstClassDiskSnapshotParams ¶ added in v0.2.14
type CreateFirstClassDiskSnapshotParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /*Body Disk Snapshot Specification details */ Body *models.DiskSnapshotSpecification /*ID The ID of the block device. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateFirstClassDiskSnapshotParams contains all the parameters to send to the API endpoint for the create first class disk snapshot operation typically these are written to a http.Request
func NewCreateFirstClassDiskSnapshotParams ¶ added in v0.2.14
func NewCreateFirstClassDiskSnapshotParams() *CreateFirstClassDiskSnapshotParams
NewCreateFirstClassDiskSnapshotParams creates a new CreateFirstClassDiskSnapshotParams object with the default values initialized.
func NewCreateFirstClassDiskSnapshotParamsWithContext ¶ added in v0.2.14
func NewCreateFirstClassDiskSnapshotParamsWithContext(ctx context.Context) *CreateFirstClassDiskSnapshotParams
NewCreateFirstClassDiskSnapshotParamsWithContext creates a new CreateFirstClassDiskSnapshotParams object with the default values initialized, and the ability to set a context for a request
func NewCreateFirstClassDiskSnapshotParamsWithHTTPClient ¶ added in v0.2.14
func NewCreateFirstClassDiskSnapshotParamsWithHTTPClient(client *http.Client) *CreateFirstClassDiskSnapshotParams
NewCreateFirstClassDiskSnapshotParamsWithHTTPClient creates a new CreateFirstClassDiskSnapshotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateFirstClassDiskSnapshotParamsWithTimeout ¶ added in v0.2.14
func NewCreateFirstClassDiskSnapshotParamsWithTimeout(timeout time.Duration) *CreateFirstClassDiskSnapshotParams
NewCreateFirstClassDiskSnapshotParamsWithTimeout creates a new CreateFirstClassDiskSnapshotParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateFirstClassDiskSnapshotParams) SetAPIVersion ¶ added in v0.2.14
func (o *CreateFirstClassDiskSnapshotParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the create first class disk snapshot params
func (*CreateFirstClassDiskSnapshotParams) SetBody ¶ added in v0.2.14
func (o *CreateFirstClassDiskSnapshotParams) SetBody(body *models.DiskSnapshotSpecification)
SetBody adds the body to the create first class disk snapshot params
func (*CreateFirstClassDiskSnapshotParams) SetContext ¶ added in v0.2.14
func (o *CreateFirstClassDiskSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the create first class disk snapshot params
func (*CreateFirstClassDiskSnapshotParams) SetHTTPClient ¶ added in v0.2.14
func (o *CreateFirstClassDiskSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create first class disk snapshot params
func (*CreateFirstClassDiskSnapshotParams) SetID ¶ added in v0.2.14
func (o *CreateFirstClassDiskSnapshotParams) SetID(id string)
SetID adds the id to the create first class disk snapshot params
func (*CreateFirstClassDiskSnapshotParams) SetTimeout ¶ added in v0.2.14
func (o *CreateFirstClassDiskSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create first class disk snapshot params
func (*CreateFirstClassDiskSnapshotParams) WithAPIVersion ¶ added in v0.2.14
func (o *CreateFirstClassDiskSnapshotParams) WithAPIVersion(aPIVersion *string) *CreateFirstClassDiskSnapshotParams
WithAPIVersion adds the aPIVersion to the create first class disk snapshot params
func (*CreateFirstClassDiskSnapshotParams) WithBody ¶ added in v0.2.14
func (o *CreateFirstClassDiskSnapshotParams) WithBody(body *models.DiskSnapshotSpecification) *CreateFirstClassDiskSnapshotParams
WithBody adds the body to the create first class disk snapshot params
func (*CreateFirstClassDiskSnapshotParams) WithContext ¶ added in v0.2.14
func (o *CreateFirstClassDiskSnapshotParams) WithContext(ctx context.Context) *CreateFirstClassDiskSnapshotParams
WithContext adds the context to the create first class disk snapshot params
func (*CreateFirstClassDiskSnapshotParams) WithHTTPClient ¶ added in v0.2.14
func (o *CreateFirstClassDiskSnapshotParams) WithHTTPClient(client *http.Client) *CreateFirstClassDiskSnapshotParams
WithHTTPClient adds the HTTPClient to the create first class disk snapshot params
func (*CreateFirstClassDiskSnapshotParams) WithID ¶ added in v0.2.14
func (o *CreateFirstClassDiskSnapshotParams) WithID(id string) *CreateFirstClassDiskSnapshotParams
WithID adds the id to the create first class disk snapshot params
func (*CreateFirstClassDiskSnapshotParams) WithTimeout ¶ added in v0.2.14
func (o *CreateFirstClassDiskSnapshotParams) WithTimeout(timeout time.Duration) *CreateFirstClassDiskSnapshotParams
WithTimeout adds the timeout to the create first class disk snapshot params
func (*CreateFirstClassDiskSnapshotParams) WriteToRequest ¶ added in v0.2.14
func (o *CreateFirstClassDiskSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateFirstClassDiskSnapshotReader ¶ added in v0.2.14
type CreateFirstClassDiskSnapshotReader struct {
// contains filtered or unexported fields
}
CreateFirstClassDiskSnapshotReader is a Reader for the CreateFirstClassDiskSnapshot structure.
func (*CreateFirstClassDiskSnapshotReader) ReadResponse ¶ added in v0.2.14
func (o *CreateFirstClassDiskSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteBlockDeviceAccepted ¶
type DeleteBlockDeviceAccepted struct {
Payload *models.RequestTracker
}
DeleteBlockDeviceAccepted handles this case with default header values.
successful operation
func NewDeleteBlockDeviceAccepted ¶
func NewDeleteBlockDeviceAccepted() *DeleteBlockDeviceAccepted
NewDeleteBlockDeviceAccepted creates a DeleteBlockDeviceAccepted with default headers values
func (*DeleteBlockDeviceAccepted) Error ¶
func (o *DeleteBlockDeviceAccepted) Error() string
func (*DeleteBlockDeviceAccepted) GetPayload ¶
func (o *DeleteBlockDeviceAccepted) GetPayload() *models.RequestTracker
type DeleteBlockDeviceForbidden ¶
type DeleteBlockDeviceForbidden struct { }
DeleteBlockDeviceForbidden handles this case with default header values.
Forbidden
func NewDeleteBlockDeviceForbidden ¶
func NewDeleteBlockDeviceForbidden() *DeleteBlockDeviceForbidden
NewDeleteBlockDeviceForbidden creates a DeleteBlockDeviceForbidden with default headers values
func (*DeleteBlockDeviceForbidden) Error ¶
func (o *DeleteBlockDeviceForbidden) Error() string
type DeleteBlockDeviceNoContent ¶ added in v0.2.1
type DeleteBlockDeviceNoContent struct { }
DeleteBlockDeviceNoContent handles this case with default header values.
No Content
func NewDeleteBlockDeviceNoContent ¶ added in v0.2.1
func NewDeleteBlockDeviceNoContent() *DeleteBlockDeviceNoContent
NewDeleteBlockDeviceNoContent creates a DeleteBlockDeviceNoContent with default headers values
func (*DeleteBlockDeviceNoContent) Error ¶ added in v0.2.1
func (o *DeleteBlockDeviceNoContent) Error() string
type DeleteBlockDeviceParams ¶
type DeleteBlockDeviceParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /*ForceDelete Controls whether this is a force delete operation. If true, best effort is made for deleting this block device. Use with caution as force deleting may cause inconsistencies between the cloud provider and vRA. */ ForceDelete *bool /*ID The ID of the block device. */ ID string /*Purge Indicates if the disk has to be completely destroyed or should be kept in the system. Valid only for block devices with 'persistent' set to true. */ Purge *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteBlockDeviceParams contains all the parameters to send to the API endpoint for the delete block device operation typically these are written to a http.Request
func NewDeleteBlockDeviceParams ¶
func NewDeleteBlockDeviceParams() *DeleteBlockDeviceParams
NewDeleteBlockDeviceParams creates a new DeleteBlockDeviceParams object with the default values initialized.
func NewDeleteBlockDeviceParamsWithContext ¶
func NewDeleteBlockDeviceParamsWithContext(ctx context.Context) *DeleteBlockDeviceParams
NewDeleteBlockDeviceParamsWithContext creates a new DeleteBlockDeviceParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteBlockDeviceParamsWithHTTPClient ¶
func NewDeleteBlockDeviceParamsWithHTTPClient(client *http.Client) *DeleteBlockDeviceParams
NewDeleteBlockDeviceParamsWithHTTPClient creates a new DeleteBlockDeviceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteBlockDeviceParamsWithTimeout ¶
func NewDeleteBlockDeviceParamsWithTimeout(timeout time.Duration) *DeleteBlockDeviceParams
NewDeleteBlockDeviceParamsWithTimeout creates a new DeleteBlockDeviceParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteBlockDeviceParams) SetAPIVersion ¶
func (o *DeleteBlockDeviceParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the delete block device params
func (*DeleteBlockDeviceParams) SetContext ¶
func (o *DeleteBlockDeviceParams) SetContext(ctx context.Context)
SetContext adds the context to the delete block device params
func (*DeleteBlockDeviceParams) SetForceDelete ¶ added in v0.2.8
func (o *DeleteBlockDeviceParams) SetForceDelete(forceDelete *bool)
SetForceDelete adds the forceDelete to the delete block device params
func (*DeleteBlockDeviceParams) SetHTTPClient ¶
func (o *DeleteBlockDeviceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete block device params
func (*DeleteBlockDeviceParams) SetID ¶
func (o *DeleteBlockDeviceParams) SetID(id string)
SetID adds the id to the delete block device params
func (*DeleteBlockDeviceParams) SetPurge ¶ added in v0.2.6
func (o *DeleteBlockDeviceParams) SetPurge(purge *bool)
SetPurge adds the purge to the delete block device params
func (*DeleteBlockDeviceParams) SetTimeout ¶
func (o *DeleteBlockDeviceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete block device params
func (*DeleteBlockDeviceParams) WithAPIVersion ¶
func (o *DeleteBlockDeviceParams) WithAPIVersion(aPIVersion *string) *DeleteBlockDeviceParams
WithAPIVersion adds the aPIVersion to the delete block device params
func (*DeleteBlockDeviceParams) WithContext ¶
func (o *DeleteBlockDeviceParams) WithContext(ctx context.Context) *DeleteBlockDeviceParams
WithContext adds the context to the delete block device params
func (*DeleteBlockDeviceParams) WithForceDelete ¶ added in v0.2.8
func (o *DeleteBlockDeviceParams) WithForceDelete(forceDelete *bool) *DeleteBlockDeviceParams
WithForceDelete adds the forceDelete to the delete block device params
func (*DeleteBlockDeviceParams) WithHTTPClient ¶
func (o *DeleteBlockDeviceParams) WithHTTPClient(client *http.Client) *DeleteBlockDeviceParams
WithHTTPClient adds the HTTPClient to the delete block device params
func (*DeleteBlockDeviceParams) WithID ¶
func (o *DeleteBlockDeviceParams) WithID(id string) *DeleteBlockDeviceParams
WithID adds the id to the delete block device params
func (*DeleteBlockDeviceParams) WithPurge ¶ added in v0.2.6
func (o *DeleteBlockDeviceParams) WithPurge(purge *bool) *DeleteBlockDeviceParams
WithPurge adds the purge to the delete block device params
func (*DeleteBlockDeviceParams) WithTimeout ¶
func (o *DeleteBlockDeviceParams) WithTimeout(timeout time.Duration) *DeleteBlockDeviceParams
WithTimeout adds the timeout to the delete block device params
func (*DeleteBlockDeviceParams) WriteToRequest ¶
func (o *DeleteBlockDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteBlockDeviceReader ¶
type DeleteBlockDeviceReader struct {
// contains filtered or unexported fields
}
DeleteBlockDeviceReader is a Reader for the DeleteBlockDevice structure.
func (*DeleteBlockDeviceReader) ReadResponse ¶
func (o *DeleteBlockDeviceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteFirstClassDiskSnapshotAccepted ¶ added in v0.2.16
type DeleteFirstClassDiskSnapshotAccepted struct {
Payload *models.RequestTracker
}
DeleteFirstClassDiskSnapshotAccepted handles this case with default header values.
successful operation
func NewDeleteFirstClassDiskSnapshotAccepted ¶ added in v0.2.16
func NewDeleteFirstClassDiskSnapshotAccepted() *DeleteFirstClassDiskSnapshotAccepted
NewDeleteFirstClassDiskSnapshotAccepted creates a DeleteFirstClassDiskSnapshotAccepted with default headers values
func (*DeleteFirstClassDiskSnapshotAccepted) Error ¶ added in v0.2.16
func (o *DeleteFirstClassDiskSnapshotAccepted) Error() string
func (*DeleteFirstClassDiskSnapshotAccepted) GetPayload ¶ added in v0.2.16
func (o *DeleteFirstClassDiskSnapshotAccepted) GetPayload() *models.RequestTracker
type DeleteFirstClassDiskSnapshotForbidden ¶ added in v0.2.14
type DeleteFirstClassDiskSnapshotForbidden struct { }
DeleteFirstClassDiskSnapshotForbidden handles this case with default header values.
Forbidden
func NewDeleteFirstClassDiskSnapshotForbidden ¶ added in v0.2.14
func NewDeleteFirstClassDiskSnapshotForbidden() *DeleteFirstClassDiskSnapshotForbidden
NewDeleteFirstClassDiskSnapshotForbidden creates a DeleteFirstClassDiskSnapshotForbidden with default headers values
func (*DeleteFirstClassDiskSnapshotForbidden) Error ¶ added in v0.2.14
func (o *DeleteFirstClassDiskSnapshotForbidden) Error() string
type DeleteFirstClassDiskSnapshotNoContent ¶ added in v0.2.14
type DeleteFirstClassDiskSnapshotNoContent struct { }
DeleteFirstClassDiskSnapshotNoContent handles this case with default header values.
No Content
func NewDeleteFirstClassDiskSnapshotNoContent ¶ added in v0.2.14
func NewDeleteFirstClassDiskSnapshotNoContent() *DeleteFirstClassDiskSnapshotNoContent
NewDeleteFirstClassDiskSnapshotNoContent creates a DeleteFirstClassDiskSnapshotNoContent with default headers values
func (*DeleteFirstClassDiskSnapshotNoContent) Error ¶ added in v0.2.14
func (o *DeleteFirstClassDiskSnapshotNoContent) Error() string
type DeleteFirstClassDiskSnapshotParams ¶ added in v0.2.14
type DeleteFirstClassDiskSnapshotParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /*ID The ID of the block device. */ ID string /*Id1 Snapshot id to delete. */ Id1 string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteFirstClassDiskSnapshotParams contains all the parameters to send to the API endpoint for the delete first class disk snapshot operation typically these are written to a http.Request
func NewDeleteFirstClassDiskSnapshotParams ¶ added in v0.2.14
func NewDeleteFirstClassDiskSnapshotParams() *DeleteFirstClassDiskSnapshotParams
NewDeleteFirstClassDiskSnapshotParams creates a new DeleteFirstClassDiskSnapshotParams object with the default values initialized.
func NewDeleteFirstClassDiskSnapshotParamsWithContext ¶ added in v0.2.14
func NewDeleteFirstClassDiskSnapshotParamsWithContext(ctx context.Context) *DeleteFirstClassDiskSnapshotParams
NewDeleteFirstClassDiskSnapshotParamsWithContext creates a new DeleteFirstClassDiskSnapshotParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteFirstClassDiskSnapshotParamsWithHTTPClient ¶ added in v0.2.14
func NewDeleteFirstClassDiskSnapshotParamsWithHTTPClient(client *http.Client) *DeleteFirstClassDiskSnapshotParams
NewDeleteFirstClassDiskSnapshotParamsWithHTTPClient creates a new DeleteFirstClassDiskSnapshotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteFirstClassDiskSnapshotParamsWithTimeout ¶ added in v0.2.14
func NewDeleteFirstClassDiskSnapshotParamsWithTimeout(timeout time.Duration) *DeleteFirstClassDiskSnapshotParams
NewDeleteFirstClassDiskSnapshotParamsWithTimeout creates a new DeleteFirstClassDiskSnapshotParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteFirstClassDiskSnapshotParams) SetAPIVersion ¶ added in v0.2.14
func (o *DeleteFirstClassDiskSnapshotParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the delete first class disk snapshot params
func (*DeleteFirstClassDiskSnapshotParams) SetContext ¶ added in v0.2.14
func (o *DeleteFirstClassDiskSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the delete first class disk snapshot params
func (*DeleteFirstClassDiskSnapshotParams) SetHTTPClient ¶ added in v0.2.14
func (o *DeleteFirstClassDiskSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete first class disk snapshot params
func (*DeleteFirstClassDiskSnapshotParams) SetID ¶ added in v0.2.14
func (o *DeleteFirstClassDiskSnapshotParams) SetID(id string)
SetID adds the id to the delete first class disk snapshot params
func (*DeleteFirstClassDiskSnapshotParams) SetId1 ¶ added in v0.2.14
func (o *DeleteFirstClassDiskSnapshotParams) SetId1(id1 string)
SetId1 adds the id1 to the delete first class disk snapshot params
func (*DeleteFirstClassDiskSnapshotParams) SetTimeout ¶ added in v0.2.14
func (o *DeleteFirstClassDiskSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete first class disk snapshot params
func (*DeleteFirstClassDiskSnapshotParams) WithAPIVersion ¶ added in v0.2.14
func (o *DeleteFirstClassDiskSnapshotParams) WithAPIVersion(aPIVersion *string) *DeleteFirstClassDiskSnapshotParams
WithAPIVersion adds the aPIVersion to the delete first class disk snapshot params
func (*DeleteFirstClassDiskSnapshotParams) WithContext ¶ added in v0.2.14
func (o *DeleteFirstClassDiskSnapshotParams) WithContext(ctx context.Context) *DeleteFirstClassDiskSnapshotParams
WithContext adds the context to the delete first class disk snapshot params
func (*DeleteFirstClassDiskSnapshotParams) WithHTTPClient ¶ added in v0.2.14
func (o *DeleteFirstClassDiskSnapshotParams) WithHTTPClient(client *http.Client) *DeleteFirstClassDiskSnapshotParams
WithHTTPClient adds the HTTPClient to the delete first class disk snapshot params
func (*DeleteFirstClassDiskSnapshotParams) WithID ¶ added in v0.2.14
func (o *DeleteFirstClassDiskSnapshotParams) WithID(id string) *DeleteFirstClassDiskSnapshotParams
WithID adds the id to the delete first class disk snapshot params
func (*DeleteFirstClassDiskSnapshotParams) WithId1 ¶ added in v0.2.14
func (o *DeleteFirstClassDiskSnapshotParams) WithId1(id1 string) *DeleteFirstClassDiskSnapshotParams
WithId1 adds the id1 to the delete first class disk snapshot params
func (*DeleteFirstClassDiskSnapshotParams) WithTimeout ¶ added in v0.2.14
func (o *DeleteFirstClassDiskSnapshotParams) WithTimeout(timeout time.Duration) *DeleteFirstClassDiskSnapshotParams
WithTimeout adds the timeout to the delete first class disk snapshot params
func (*DeleteFirstClassDiskSnapshotParams) WriteToRequest ¶ added in v0.2.14
func (o *DeleteFirstClassDiskSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteFirstClassDiskSnapshotReader ¶ added in v0.2.14
type DeleteFirstClassDiskSnapshotReader struct {
// contains filtered or unexported fields
}
DeleteFirstClassDiskSnapshotReader is a Reader for the DeleteFirstClassDiskSnapshot structure.
func (*DeleteFirstClassDiskSnapshotReader) ReadResponse ¶ added in v0.2.14
func (o *DeleteFirstClassDiskSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteMachineDiskAccepted ¶
type DeleteMachineDiskAccepted struct {
Payload *models.RequestTracker
}
DeleteMachineDiskAccepted handles this case with default header values.
successful operation
func NewDeleteMachineDiskAccepted ¶
func NewDeleteMachineDiskAccepted() *DeleteMachineDiskAccepted
NewDeleteMachineDiskAccepted creates a DeleteMachineDiskAccepted with default headers values
func (*DeleteMachineDiskAccepted) Error ¶
func (o *DeleteMachineDiskAccepted) Error() string
func (*DeleteMachineDiskAccepted) GetPayload ¶
func (o *DeleteMachineDiskAccepted) GetPayload() *models.RequestTracker
type DeleteMachineDiskForbidden ¶
type DeleteMachineDiskForbidden struct { }
DeleteMachineDiskForbidden handles this case with default header values.
Forbidden
func NewDeleteMachineDiskForbidden ¶
func NewDeleteMachineDiskForbidden() *DeleteMachineDiskForbidden
NewDeleteMachineDiskForbidden creates a DeleteMachineDiskForbidden with default headers values
func (*DeleteMachineDiskForbidden) Error ¶
func (o *DeleteMachineDiskForbidden) Error() string
type DeleteMachineDiskNoContent ¶ added in v0.2.2
type DeleteMachineDiskNoContent struct { }
DeleteMachineDiskNoContent handles this case with default header values.
No Content
func NewDeleteMachineDiskNoContent ¶ added in v0.2.2
func NewDeleteMachineDiskNoContent() *DeleteMachineDiskNoContent
NewDeleteMachineDiskNoContent creates a DeleteMachineDiskNoContent with default headers values
func (*DeleteMachineDiskNoContent) Error ¶ added in v0.2.2
func (o *DeleteMachineDiskNoContent) Error() string
type DeleteMachineDiskParams ¶
type DeleteMachineDiskParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /*ID The ID of the machine. */ ID string /*Id1 The ID of the disk. */ Id1 string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteMachineDiskParams contains all the parameters to send to the API endpoint for the delete machine disk operation typically these are written to a http.Request
func NewDeleteMachineDiskParams ¶
func NewDeleteMachineDiskParams() *DeleteMachineDiskParams
NewDeleteMachineDiskParams creates a new DeleteMachineDiskParams object with the default values initialized.
func NewDeleteMachineDiskParamsWithContext ¶
func NewDeleteMachineDiskParamsWithContext(ctx context.Context) *DeleteMachineDiskParams
NewDeleteMachineDiskParamsWithContext creates a new DeleteMachineDiskParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteMachineDiskParamsWithHTTPClient ¶
func NewDeleteMachineDiskParamsWithHTTPClient(client *http.Client) *DeleteMachineDiskParams
NewDeleteMachineDiskParamsWithHTTPClient creates a new DeleteMachineDiskParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteMachineDiskParamsWithTimeout ¶
func NewDeleteMachineDiskParamsWithTimeout(timeout time.Duration) *DeleteMachineDiskParams
NewDeleteMachineDiskParamsWithTimeout creates a new DeleteMachineDiskParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteMachineDiskParams) SetAPIVersion ¶
func (o *DeleteMachineDiskParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the delete machine disk params
func (*DeleteMachineDiskParams) SetContext ¶
func (o *DeleteMachineDiskParams) SetContext(ctx context.Context)
SetContext adds the context to the delete machine disk params
func (*DeleteMachineDiskParams) SetHTTPClient ¶
func (o *DeleteMachineDiskParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete machine disk params
func (*DeleteMachineDiskParams) SetID ¶
func (o *DeleteMachineDiskParams) SetID(id string)
SetID adds the id to the delete machine disk params
func (*DeleteMachineDiskParams) SetId1 ¶
func (o *DeleteMachineDiskParams) SetId1(id1 string)
SetId1 adds the id1 to the delete machine disk params
func (*DeleteMachineDiskParams) SetTimeout ¶
func (o *DeleteMachineDiskParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete machine disk params
func (*DeleteMachineDiskParams) WithAPIVersion ¶
func (o *DeleteMachineDiskParams) WithAPIVersion(aPIVersion *string) *DeleteMachineDiskParams
WithAPIVersion adds the aPIVersion to the delete machine disk params
func (*DeleteMachineDiskParams) WithContext ¶
func (o *DeleteMachineDiskParams) WithContext(ctx context.Context) *DeleteMachineDiskParams
WithContext adds the context to the delete machine disk params
func (*DeleteMachineDiskParams) WithHTTPClient ¶
func (o *DeleteMachineDiskParams) WithHTTPClient(client *http.Client) *DeleteMachineDiskParams
WithHTTPClient adds the HTTPClient to the delete machine disk params
func (*DeleteMachineDiskParams) WithID ¶
func (o *DeleteMachineDiskParams) WithID(id string) *DeleteMachineDiskParams
WithID adds the id to the delete machine disk params
func (*DeleteMachineDiskParams) WithId1 ¶
func (o *DeleteMachineDiskParams) WithId1(id1 string) *DeleteMachineDiskParams
WithId1 adds the id1 to the delete machine disk params
func (*DeleteMachineDiskParams) WithTimeout ¶
func (o *DeleteMachineDiskParams) WithTimeout(timeout time.Duration) *DeleteMachineDiskParams
WithTimeout adds the timeout to the delete machine disk params
func (*DeleteMachineDiskParams) WriteToRequest ¶
func (o *DeleteMachineDiskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteMachineDiskReader ¶
type DeleteMachineDiskReader struct {
// contains filtered or unexported fields
}
DeleteMachineDiskReader is a Reader for the DeleteMachineDisk structure.
func (*DeleteMachineDiskReader) ReadResponse ¶
func (o *DeleteMachineDiskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBlockDeviceForbidden ¶
type GetBlockDeviceForbidden struct { }
GetBlockDeviceForbidden handles this case with default header values.
Forbidden
func NewGetBlockDeviceForbidden ¶
func NewGetBlockDeviceForbidden() *GetBlockDeviceForbidden
NewGetBlockDeviceForbidden creates a GetBlockDeviceForbidden with default headers values
func (*GetBlockDeviceForbidden) Error ¶
func (o *GetBlockDeviceForbidden) Error() string
type GetBlockDeviceNotFound ¶ added in v0.2.6
GetBlockDeviceNotFound handles this case with default header values.
Not Found
func NewGetBlockDeviceNotFound ¶ added in v0.2.6
func NewGetBlockDeviceNotFound() *GetBlockDeviceNotFound
NewGetBlockDeviceNotFound creates a GetBlockDeviceNotFound with default headers values
func (*GetBlockDeviceNotFound) Error ¶ added in v0.2.6
func (o *GetBlockDeviceNotFound) Error() string
func (*GetBlockDeviceNotFound) GetPayload ¶ added in v0.2.9
func (o *GetBlockDeviceNotFound) GetPayload() *models.Error
type GetBlockDeviceOK ¶
type GetBlockDeviceOK struct {
Payload *models.BlockDevice
}
GetBlockDeviceOK handles this case with default header values.
successful operation
func NewGetBlockDeviceOK ¶
func NewGetBlockDeviceOK() *GetBlockDeviceOK
NewGetBlockDeviceOK creates a GetBlockDeviceOK with default headers values
func (*GetBlockDeviceOK) Error ¶
func (o *GetBlockDeviceOK) Error() string
func (*GetBlockDeviceOK) GetPayload ¶
func (o *GetBlockDeviceOK) GetPayload() *models.BlockDevice
type GetBlockDeviceParams ¶
type GetBlockDeviceParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /*ID The ID of the block device. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetBlockDeviceParams contains all the parameters to send to the API endpoint for the get block device operation typically these are written to a http.Request
func NewGetBlockDeviceParams ¶
func NewGetBlockDeviceParams() *GetBlockDeviceParams
NewGetBlockDeviceParams creates a new GetBlockDeviceParams object with the default values initialized.
func NewGetBlockDeviceParamsWithContext ¶
func NewGetBlockDeviceParamsWithContext(ctx context.Context) *GetBlockDeviceParams
NewGetBlockDeviceParamsWithContext creates a new GetBlockDeviceParams object with the default values initialized, and the ability to set a context for a request
func NewGetBlockDeviceParamsWithHTTPClient ¶
func NewGetBlockDeviceParamsWithHTTPClient(client *http.Client) *GetBlockDeviceParams
NewGetBlockDeviceParamsWithHTTPClient creates a new GetBlockDeviceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetBlockDeviceParamsWithTimeout ¶
func NewGetBlockDeviceParamsWithTimeout(timeout time.Duration) *GetBlockDeviceParams
NewGetBlockDeviceParamsWithTimeout creates a new GetBlockDeviceParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetBlockDeviceParams) SetAPIVersion ¶
func (o *GetBlockDeviceParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get block device params
func (*GetBlockDeviceParams) SetContext ¶
func (o *GetBlockDeviceParams) SetContext(ctx context.Context)
SetContext adds the context to the get block device params
func (*GetBlockDeviceParams) SetHTTPClient ¶
func (o *GetBlockDeviceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get block device params
func (*GetBlockDeviceParams) SetID ¶
func (o *GetBlockDeviceParams) SetID(id string)
SetID adds the id to the get block device params
func (*GetBlockDeviceParams) SetTimeout ¶
func (o *GetBlockDeviceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get block device params
func (*GetBlockDeviceParams) WithAPIVersion ¶
func (o *GetBlockDeviceParams) WithAPIVersion(aPIVersion *string) *GetBlockDeviceParams
WithAPIVersion adds the aPIVersion to the get block device params
func (*GetBlockDeviceParams) WithContext ¶
func (o *GetBlockDeviceParams) WithContext(ctx context.Context) *GetBlockDeviceParams
WithContext adds the context to the get block device params
func (*GetBlockDeviceParams) WithHTTPClient ¶
func (o *GetBlockDeviceParams) WithHTTPClient(client *http.Client) *GetBlockDeviceParams
WithHTTPClient adds the HTTPClient to the get block device params
func (*GetBlockDeviceParams) WithID ¶
func (o *GetBlockDeviceParams) WithID(id string) *GetBlockDeviceParams
WithID adds the id to the get block device params
func (*GetBlockDeviceParams) WithTimeout ¶
func (o *GetBlockDeviceParams) WithTimeout(timeout time.Duration) *GetBlockDeviceParams
WithTimeout adds the timeout to the get block device params
func (*GetBlockDeviceParams) WriteToRequest ¶
func (o *GetBlockDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBlockDeviceReader ¶
type GetBlockDeviceReader struct {
// contains filtered or unexported fields
}
GetBlockDeviceReader is a Reader for the GetBlockDevice structure.
func (*GetBlockDeviceReader) ReadResponse ¶
func (o *GetBlockDeviceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBlockDevicesForbidden ¶
type GetBlockDevicesForbidden struct { }
GetBlockDevicesForbidden handles this case with default header values.
Forbidden
func NewGetBlockDevicesForbidden ¶
func NewGetBlockDevicesForbidden() *GetBlockDevicesForbidden
NewGetBlockDevicesForbidden creates a GetBlockDevicesForbidden with default headers values
func (*GetBlockDevicesForbidden) Error ¶
func (o *GetBlockDevicesForbidden) Error() string
type GetBlockDevicesOK ¶
type GetBlockDevicesOK struct {
Payload *models.BlockDeviceResult
}
GetBlockDevicesOK handles this case with default header values.
successful operation
func NewGetBlockDevicesOK ¶
func NewGetBlockDevicesOK() *GetBlockDevicesOK
NewGetBlockDevicesOK creates a GetBlockDevicesOK with default headers values
func (*GetBlockDevicesOK) Error ¶
func (o *GetBlockDevicesOK) Error() string
func (*GetBlockDevicesOK) GetPayload ¶
func (o *GetBlockDevicesOK) GetPayload() *models.BlockDeviceResult
type GetBlockDevicesParams ¶
type GetBlockDevicesParams struct { /*DollarFilter Add a filter to return limited results */ DollarFilter *string /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetBlockDevicesParams contains all the parameters to send to the API endpoint for the get block devices operation typically these are written to a http.Request
func NewGetBlockDevicesParams ¶
func NewGetBlockDevicesParams() *GetBlockDevicesParams
NewGetBlockDevicesParams creates a new GetBlockDevicesParams object with the default values initialized.
func NewGetBlockDevicesParamsWithContext ¶
func NewGetBlockDevicesParamsWithContext(ctx context.Context) *GetBlockDevicesParams
NewGetBlockDevicesParamsWithContext creates a new GetBlockDevicesParams object with the default values initialized, and the ability to set a context for a request
func NewGetBlockDevicesParamsWithHTTPClient ¶
func NewGetBlockDevicesParamsWithHTTPClient(client *http.Client) *GetBlockDevicesParams
NewGetBlockDevicesParamsWithHTTPClient creates a new GetBlockDevicesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetBlockDevicesParamsWithTimeout ¶
func NewGetBlockDevicesParamsWithTimeout(timeout time.Duration) *GetBlockDevicesParams
NewGetBlockDevicesParamsWithTimeout creates a new GetBlockDevicesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetBlockDevicesParams) SetAPIVersion ¶
func (o *GetBlockDevicesParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get block devices params
func (*GetBlockDevicesParams) SetContext ¶
func (o *GetBlockDevicesParams) SetContext(ctx context.Context)
SetContext adds the context to the get block devices params
func (*GetBlockDevicesParams) SetDollarFilter ¶ added in v0.2.4
func (o *GetBlockDevicesParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the get block devices params
func (*GetBlockDevicesParams) SetHTTPClient ¶
func (o *GetBlockDevicesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get block devices params
func (*GetBlockDevicesParams) SetTimeout ¶
func (o *GetBlockDevicesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get block devices params
func (*GetBlockDevicesParams) WithAPIVersion ¶
func (o *GetBlockDevicesParams) WithAPIVersion(aPIVersion *string) *GetBlockDevicesParams
WithAPIVersion adds the aPIVersion to the get block devices params
func (*GetBlockDevicesParams) WithContext ¶
func (o *GetBlockDevicesParams) WithContext(ctx context.Context) *GetBlockDevicesParams
WithContext adds the context to the get block devices params
func (*GetBlockDevicesParams) WithDollarFilter ¶ added in v0.2.4
func (o *GetBlockDevicesParams) WithDollarFilter(dollarFilter *string) *GetBlockDevicesParams
WithDollarFilter adds the dollarFilter to the get block devices params
func (*GetBlockDevicesParams) WithHTTPClient ¶
func (o *GetBlockDevicesParams) WithHTTPClient(client *http.Client) *GetBlockDevicesParams
WithHTTPClient adds the HTTPClient to the get block devices params
func (*GetBlockDevicesParams) WithTimeout ¶
func (o *GetBlockDevicesParams) WithTimeout(timeout time.Duration) *GetBlockDevicesParams
WithTimeout adds the timeout to the get block devices params
func (*GetBlockDevicesParams) WriteToRequest ¶
func (o *GetBlockDevicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBlockDevicesReader ¶
type GetBlockDevicesReader struct {
// contains filtered or unexported fields
}
GetBlockDevicesReader is a Reader for the GetBlockDevices structure.
func (*GetBlockDevicesReader) ReadResponse ¶
func (o *GetBlockDevicesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDiskSnapshotForbidden ¶ added in v0.2.14
type GetDiskSnapshotForbidden struct { }
GetDiskSnapshotForbidden handles this case with default header values.
Forbidden
func NewGetDiskSnapshotForbidden ¶ added in v0.2.14
func NewGetDiskSnapshotForbidden() *GetDiskSnapshotForbidden
NewGetDiskSnapshotForbidden creates a GetDiskSnapshotForbidden with default headers values
func (*GetDiskSnapshotForbidden) Error ¶ added in v0.2.14
func (o *GetDiskSnapshotForbidden) Error() string
type GetDiskSnapshotNotFound ¶ added in v0.2.14
GetDiskSnapshotNotFound handles this case with default header values.
Not Found
func NewGetDiskSnapshotNotFound ¶ added in v0.2.14
func NewGetDiskSnapshotNotFound() *GetDiskSnapshotNotFound
NewGetDiskSnapshotNotFound creates a GetDiskSnapshotNotFound with default headers values
func (*GetDiskSnapshotNotFound) Error ¶ added in v0.2.14
func (o *GetDiskSnapshotNotFound) Error() string
func (*GetDiskSnapshotNotFound) GetPayload ¶ added in v0.2.14
func (o *GetDiskSnapshotNotFound) GetPayload() *models.Error
type GetDiskSnapshotOK ¶ added in v0.2.14
type GetDiskSnapshotOK struct {
Payload *models.DiskSnapshot
}
GetDiskSnapshotOK handles this case with default header values.
successful operation
func NewGetDiskSnapshotOK ¶ added in v0.2.14
func NewGetDiskSnapshotOK() *GetDiskSnapshotOK
NewGetDiskSnapshotOK creates a GetDiskSnapshotOK with default headers values
func (*GetDiskSnapshotOK) Error ¶ added in v0.2.14
func (o *GetDiskSnapshotOK) Error() string
func (*GetDiskSnapshotOK) GetPayload ¶ added in v0.2.14
func (o *GetDiskSnapshotOK) GetPayload() *models.DiskSnapshot
type GetDiskSnapshotParams ¶ added in v0.2.14
type GetDiskSnapshotParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /*ID The ID of the machine. */ ID string /*Id1 The ID of the snapshot. */ Id1 string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDiskSnapshotParams contains all the parameters to send to the API endpoint for the get disk snapshot operation typically these are written to a http.Request
func NewGetDiskSnapshotParams ¶ added in v0.2.14
func NewGetDiskSnapshotParams() *GetDiskSnapshotParams
NewGetDiskSnapshotParams creates a new GetDiskSnapshotParams object with the default values initialized.
func NewGetDiskSnapshotParamsWithContext ¶ added in v0.2.14
func NewGetDiskSnapshotParamsWithContext(ctx context.Context) *GetDiskSnapshotParams
NewGetDiskSnapshotParamsWithContext creates a new GetDiskSnapshotParams object with the default values initialized, and the ability to set a context for a request
func NewGetDiskSnapshotParamsWithHTTPClient ¶ added in v0.2.14
func NewGetDiskSnapshotParamsWithHTTPClient(client *http.Client) *GetDiskSnapshotParams
NewGetDiskSnapshotParamsWithHTTPClient creates a new GetDiskSnapshotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDiskSnapshotParamsWithTimeout ¶ added in v0.2.14
func NewGetDiskSnapshotParamsWithTimeout(timeout time.Duration) *GetDiskSnapshotParams
NewGetDiskSnapshotParamsWithTimeout creates a new GetDiskSnapshotParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDiskSnapshotParams) SetAPIVersion ¶ added in v0.2.14
func (o *GetDiskSnapshotParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get disk snapshot params
func (*GetDiskSnapshotParams) SetContext ¶ added in v0.2.14
func (o *GetDiskSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the get disk snapshot params
func (*GetDiskSnapshotParams) SetHTTPClient ¶ added in v0.2.14
func (o *GetDiskSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get disk snapshot params
func (*GetDiskSnapshotParams) SetID ¶ added in v0.2.14
func (o *GetDiskSnapshotParams) SetID(id string)
SetID adds the id to the get disk snapshot params
func (*GetDiskSnapshotParams) SetId1 ¶ added in v0.2.14
func (o *GetDiskSnapshotParams) SetId1(id1 string)
SetId1 adds the id1 to the get disk snapshot params
func (*GetDiskSnapshotParams) SetTimeout ¶ added in v0.2.14
func (o *GetDiskSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get disk snapshot params
func (*GetDiskSnapshotParams) WithAPIVersion ¶ added in v0.2.14
func (o *GetDiskSnapshotParams) WithAPIVersion(aPIVersion *string) *GetDiskSnapshotParams
WithAPIVersion adds the aPIVersion to the get disk snapshot params
func (*GetDiskSnapshotParams) WithContext ¶ added in v0.2.14
func (o *GetDiskSnapshotParams) WithContext(ctx context.Context) *GetDiskSnapshotParams
WithContext adds the context to the get disk snapshot params
func (*GetDiskSnapshotParams) WithHTTPClient ¶ added in v0.2.14
func (o *GetDiskSnapshotParams) WithHTTPClient(client *http.Client) *GetDiskSnapshotParams
WithHTTPClient adds the HTTPClient to the get disk snapshot params
func (*GetDiskSnapshotParams) WithID ¶ added in v0.2.14
func (o *GetDiskSnapshotParams) WithID(id string) *GetDiskSnapshotParams
WithID adds the id to the get disk snapshot params
func (*GetDiskSnapshotParams) WithId1 ¶ added in v0.2.14
func (o *GetDiskSnapshotParams) WithId1(id1 string) *GetDiskSnapshotParams
WithId1 adds the id1 to the get disk snapshot params
func (*GetDiskSnapshotParams) WithTimeout ¶ added in v0.2.14
func (o *GetDiskSnapshotParams) WithTimeout(timeout time.Duration) *GetDiskSnapshotParams
WithTimeout adds the timeout to the get disk snapshot params
func (*GetDiskSnapshotParams) WriteToRequest ¶ added in v0.2.14
func (o *GetDiskSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDiskSnapshotReader ¶ added in v0.2.14
type GetDiskSnapshotReader struct {
// contains filtered or unexported fields
}
GetDiskSnapshotReader is a Reader for the GetDiskSnapshot structure.
func (*GetDiskSnapshotReader) ReadResponse ¶ added in v0.2.14
func (o *GetDiskSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDiskSnapshotsForbidden ¶ added in v0.2.14
type GetDiskSnapshotsForbidden struct { }
GetDiskSnapshotsForbidden handles this case with default header values.
Forbidden
func NewGetDiskSnapshotsForbidden ¶ added in v0.2.14
func NewGetDiskSnapshotsForbidden() *GetDiskSnapshotsForbidden
NewGetDiskSnapshotsForbidden creates a GetDiskSnapshotsForbidden with default headers values
func (*GetDiskSnapshotsForbidden) Error ¶ added in v0.2.14
func (o *GetDiskSnapshotsForbidden) Error() string
type GetDiskSnapshotsNotFound ¶ added in v0.2.14
GetDiskSnapshotsNotFound handles this case with default header values.
Not Found
func NewGetDiskSnapshotsNotFound ¶ added in v0.2.14
func NewGetDiskSnapshotsNotFound() *GetDiskSnapshotsNotFound
NewGetDiskSnapshotsNotFound creates a GetDiskSnapshotsNotFound with default headers values
func (*GetDiskSnapshotsNotFound) Error ¶ added in v0.2.14
func (o *GetDiskSnapshotsNotFound) Error() string
func (*GetDiskSnapshotsNotFound) GetPayload ¶ added in v0.2.14
func (o *GetDiskSnapshotsNotFound) GetPayload() *models.Error
type GetDiskSnapshotsOK ¶ added in v0.2.14
type GetDiskSnapshotsOK struct {
Payload []*models.DiskSnapshot
}
GetDiskSnapshotsOK handles this case with default header values.
successful operation
func NewGetDiskSnapshotsOK ¶ added in v0.2.14
func NewGetDiskSnapshotsOK() *GetDiskSnapshotsOK
NewGetDiskSnapshotsOK creates a GetDiskSnapshotsOK with default headers values
func (*GetDiskSnapshotsOK) Error ¶ added in v0.2.14
func (o *GetDiskSnapshotsOK) Error() string
func (*GetDiskSnapshotsOK) GetPayload ¶ added in v0.2.14
func (o *GetDiskSnapshotsOK) GetPayload() []*models.DiskSnapshot
type GetDiskSnapshotsParams ¶ added in v0.2.14
type GetDiskSnapshotsParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /*ID The ID of the disk. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDiskSnapshotsParams contains all the parameters to send to the API endpoint for the get disk snapshots operation typically these are written to a http.Request
func NewGetDiskSnapshotsParams ¶ added in v0.2.14
func NewGetDiskSnapshotsParams() *GetDiskSnapshotsParams
NewGetDiskSnapshotsParams creates a new GetDiskSnapshotsParams object with the default values initialized.
func NewGetDiskSnapshotsParamsWithContext ¶ added in v0.2.14
func NewGetDiskSnapshotsParamsWithContext(ctx context.Context) *GetDiskSnapshotsParams
NewGetDiskSnapshotsParamsWithContext creates a new GetDiskSnapshotsParams object with the default values initialized, and the ability to set a context for a request
func NewGetDiskSnapshotsParamsWithHTTPClient ¶ added in v0.2.14
func NewGetDiskSnapshotsParamsWithHTTPClient(client *http.Client) *GetDiskSnapshotsParams
NewGetDiskSnapshotsParamsWithHTTPClient creates a new GetDiskSnapshotsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDiskSnapshotsParamsWithTimeout ¶ added in v0.2.14
func NewGetDiskSnapshotsParamsWithTimeout(timeout time.Duration) *GetDiskSnapshotsParams
NewGetDiskSnapshotsParamsWithTimeout creates a new GetDiskSnapshotsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDiskSnapshotsParams) SetAPIVersion ¶ added in v0.2.14
func (o *GetDiskSnapshotsParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get disk snapshots params
func (*GetDiskSnapshotsParams) SetContext ¶ added in v0.2.14
func (o *GetDiskSnapshotsParams) SetContext(ctx context.Context)
SetContext adds the context to the get disk snapshots params
func (*GetDiskSnapshotsParams) SetHTTPClient ¶ added in v0.2.14
func (o *GetDiskSnapshotsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get disk snapshots params
func (*GetDiskSnapshotsParams) SetID ¶ added in v0.2.14
func (o *GetDiskSnapshotsParams) SetID(id string)
SetID adds the id to the get disk snapshots params
func (*GetDiskSnapshotsParams) SetTimeout ¶ added in v0.2.14
func (o *GetDiskSnapshotsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get disk snapshots params
func (*GetDiskSnapshotsParams) WithAPIVersion ¶ added in v0.2.14
func (o *GetDiskSnapshotsParams) WithAPIVersion(aPIVersion *string) *GetDiskSnapshotsParams
WithAPIVersion adds the aPIVersion to the get disk snapshots params
func (*GetDiskSnapshotsParams) WithContext ¶ added in v0.2.14
func (o *GetDiskSnapshotsParams) WithContext(ctx context.Context) *GetDiskSnapshotsParams
WithContext adds the context to the get disk snapshots params
func (*GetDiskSnapshotsParams) WithHTTPClient ¶ added in v0.2.14
func (o *GetDiskSnapshotsParams) WithHTTPClient(client *http.Client) *GetDiskSnapshotsParams
WithHTTPClient adds the HTTPClient to the get disk snapshots params
func (*GetDiskSnapshotsParams) WithID ¶ added in v0.2.14
func (o *GetDiskSnapshotsParams) WithID(id string) *GetDiskSnapshotsParams
WithID adds the id to the get disk snapshots params
func (*GetDiskSnapshotsParams) WithTimeout ¶ added in v0.2.14
func (o *GetDiskSnapshotsParams) WithTimeout(timeout time.Duration) *GetDiskSnapshotsParams
WithTimeout adds the timeout to the get disk snapshots params
func (*GetDiskSnapshotsParams) WriteToRequest ¶ added in v0.2.14
func (o *GetDiskSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDiskSnapshotsReader ¶ added in v0.2.14
type GetDiskSnapshotsReader struct {
// contains filtered or unexported fields
}
GetDiskSnapshotsReader is a Reader for the GetDiskSnapshots structure.
func (*GetDiskSnapshotsReader) ReadResponse ¶ added in v0.2.14
func (o *GetDiskSnapshotsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMachineDiskForbidden ¶
type GetMachineDiskForbidden struct { }
GetMachineDiskForbidden handles this case with default header values.
Forbidden
func NewGetMachineDiskForbidden ¶
func NewGetMachineDiskForbidden() *GetMachineDiskForbidden
NewGetMachineDiskForbidden creates a GetMachineDiskForbidden with default headers values
func (*GetMachineDiskForbidden) Error ¶
func (o *GetMachineDiskForbidden) Error() string
type GetMachineDiskNotFound ¶
GetMachineDiskNotFound handles this case with default header values.
Not Found
func NewGetMachineDiskNotFound ¶
func NewGetMachineDiskNotFound() *GetMachineDiskNotFound
NewGetMachineDiskNotFound creates a GetMachineDiskNotFound with default headers values
func (*GetMachineDiskNotFound) Error ¶
func (o *GetMachineDiskNotFound) Error() string
func (*GetMachineDiskNotFound) GetPayload ¶ added in v0.2.9
func (o *GetMachineDiskNotFound) GetPayload() *models.Error
type GetMachineDiskOK ¶
type GetMachineDiskOK struct {
Payload *models.BlockDevice
}
GetMachineDiskOK handles this case with default header values.
successful operation
func NewGetMachineDiskOK ¶
func NewGetMachineDiskOK() *GetMachineDiskOK
NewGetMachineDiskOK creates a GetMachineDiskOK with default headers values
func (*GetMachineDiskOK) Error ¶
func (o *GetMachineDiskOK) Error() string
func (*GetMachineDiskOK) GetPayload ¶
func (o *GetMachineDiskOK) GetPayload() *models.BlockDevice
type GetMachineDiskParams ¶
type GetMachineDiskParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /*ID The ID of the machine. */ ID string /*Id1 The ID of the disk. */ Id1 string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMachineDiskParams contains all the parameters to send to the API endpoint for the get machine disk operation typically these are written to a http.Request
func NewGetMachineDiskParams ¶
func NewGetMachineDiskParams() *GetMachineDiskParams
NewGetMachineDiskParams creates a new GetMachineDiskParams object with the default values initialized.
func NewGetMachineDiskParamsWithContext ¶
func NewGetMachineDiskParamsWithContext(ctx context.Context) *GetMachineDiskParams
NewGetMachineDiskParamsWithContext creates a new GetMachineDiskParams object with the default values initialized, and the ability to set a context for a request
func NewGetMachineDiskParamsWithHTTPClient ¶
func NewGetMachineDiskParamsWithHTTPClient(client *http.Client) *GetMachineDiskParams
NewGetMachineDiskParamsWithHTTPClient creates a new GetMachineDiskParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetMachineDiskParamsWithTimeout ¶
func NewGetMachineDiskParamsWithTimeout(timeout time.Duration) *GetMachineDiskParams
NewGetMachineDiskParamsWithTimeout creates a new GetMachineDiskParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetMachineDiskParams) SetAPIVersion ¶
func (o *GetMachineDiskParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get machine disk params
func (*GetMachineDiskParams) SetContext ¶
func (o *GetMachineDiskParams) SetContext(ctx context.Context)
SetContext adds the context to the get machine disk params
func (*GetMachineDiskParams) SetHTTPClient ¶
func (o *GetMachineDiskParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get machine disk params
func (*GetMachineDiskParams) SetID ¶
func (o *GetMachineDiskParams) SetID(id string)
SetID adds the id to the get machine disk params
func (*GetMachineDiskParams) SetId1 ¶
func (o *GetMachineDiskParams) SetId1(id1 string)
SetId1 adds the id1 to the get machine disk params
func (*GetMachineDiskParams) SetTimeout ¶
func (o *GetMachineDiskParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get machine disk params
func (*GetMachineDiskParams) WithAPIVersion ¶
func (o *GetMachineDiskParams) WithAPIVersion(aPIVersion *string) *GetMachineDiskParams
WithAPIVersion adds the aPIVersion to the get machine disk params
func (*GetMachineDiskParams) WithContext ¶
func (o *GetMachineDiskParams) WithContext(ctx context.Context) *GetMachineDiskParams
WithContext adds the context to the get machine disk params
func (*GetMachineDiskParams) WithHTTPClient ¶
func (o *GetMachineDiskParams) WithHTTPClient(client *http.Client) *GetMachineDiskParams
WithHTTPClient adds the HTTPClient to the get machine disk params
func (*GetMachineDiskParams) WithID ¶
func (o *GetMachineDiskParams) WithID(id string) *GetMachineDiskParams
WithID adds the id to the get machine disk params
func (*GetMachineDiskParams) WithId1 ¶
func (o *GetMachineDiskParams) WithId1(id1 string) *GetMachineDiskParams
WithId1 adds the id1 to the get machine disk params
func (*GetMachineDiskParams) WithTimeout ¶
func (o *GetMachineDiskParams) WithTimeout(timeout time.Duration) *GetMachineDiskParams
WithTimeout adds the timeout to the get machine disk params
func (*GetMachineDiskParams) WriteToRequest ¶
func (o *GetMachineDiskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMachineDiskReader ¶
type GetMachineDiskReader struct {
// contains filtered or unexported fields
}
GetMachineDiskReader is a Reader for the GetMachineDisk structure.
func (*GetMachineDiskReader) ReadResponse ¶
func (o *GetMachineDiskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMachineDisksForbidden ¶
type GetMachineDisksForbidden struct { }
GetMachineDisksForbidden handles this case with default header values.
Forbidden
func NewGetMachineDisksForbidden ¶
func NewGetMachineDisksForbidden() *GetMachineDisksForbidden
NewGetMachineDisksForbidden creates a GetMachineDisksForbidden with default headers values
func (*GetMachineDisksForbidden) Error ¶
func (o *GetMachineDisksForbidden) Error() string
type GetMachineDisksNotFound ¶
GetMachineDisksNotFound handles this case with default header values.
Not Found
func NewGetMachineDisksNotFound ¶
func NewGetMachineDisksNotFound() *GetMachineDisksNotFound
NewGetMachineDisksNotFound creates a GetMachineDisksNotFound with default headers values
func (*GetMachineDisksNotFound) Error ¶
func (o *GetMachineDisksNotFound) Error() string
func (*GetMachineDisksNotFound) GetPayload ¶ added in v0.2.9
func (o *GetMachineDisksNotFound) GetPayload() *models.Error
type GetMachineDisksOK ¶
type GetMachineDisksOK struct {
Payload *models.BlockDeviceResult
}
GetMachineDisksOK handles this case with default header values.
successful operation
func NewGetMachineDisksOK ¶
func NewGetMachineDisksOK() *GetMachineDisksOK
NewGetMachineDisksOK creates a GetMachineDisksOK with default headers values
func (*GetMachineDisksOK) Error ¶
func (o *GetMachineDisksOK) Error() string
func (*GetMachineDisksOK) GetPayload ¶
func (o *GetMachineDisksOK) GetPayload() *models.BlockDeviceResult
type GetMachineDisksParams ¶
type GetMachineDisksParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /*ID The ID of the machine. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMachineDisksParams contains all the parameters to send to the API endpoint for the get machine disks operation typically these are written to a http.Request
func NewGetMachineDisksParams ¶
func NewGetMachineDisksParams() *GetMachineDisksParams
NewGetMachineDisksParams creates a new GetMachineDisksParams object with the default values initialized.
func NewGetMachineDisksParamsWithContext ¶
func NewGetMachineDisksParamsWithContext(ctx context.Context) *GetMachineDisksParams
NewGetMachineDisksParamsWithContext creates a new GetMachineDisksParams object with the default values initialized, and the ability to set a context for a request
func NewGetMachineDisksParamsWithHTTPClient ¶
func NewGetMachineDisksParamsWithHTTPClient(client *http.Client) *GetMachineDisksParams
NewGetMachineDisksParamsWithHTTPClient creates a new GetMachineDisksParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetMachineDisksParamsWithTimeout ¶
func NewGetMachineDisksParamsWithTimeout(timeout time.Duration) *GetMachineDisksParams
NewGetMachineDisksParamsWithTimeout creates a new GetMachineDisksParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetMachineDisksParams) SetAPIVersion ¶
func (o *GetMachineDisksParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get machine disks params
func (*GetMachineDisksParams) SetContext ¶
func (o *GetMachineDisksParams) SetContext(ctx context.Context)
SetContext adds the context to the get machine disks params
func (*GetMachineDisksParams) SetHTTPClient ¶
func (o *GetMachineDisksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get machine disks params
func (*GetMachineDisksParams) SetID ¶
func (o *GetMachineDisksParams) SetID(id string)
SetID adds the id to the get machine disks params
func (*GetMachineDisksParams) SetTimeout ¶
func (o *GetMachineDisksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get machine disks params
func (*GetMachineDisksParams) WithAPIVersion ¶
func (o *GetMachineDisksParams) WithAPIVersion(aPIVersion *string) *GetMachineDisksParams
WithAPIVersion adds the aPIVersion to the get machine disks params
func (*GetMachineDisksParams) WithContext ¶
func (o *GetMachineDisksParams) WithContext(ctx context.Context) *GetMachineDisksParams
WithContext adds the context to the get machine disks params
func (*GetMachineDisksParams) WithHTTPClient ¶
func (o *GetMachineDisksParams) WithHTTPClient(client *http.Client) *GetMachineDisksParams
WithHTTPClient adds the HTTPClient to the get machine disks params
func (*GetMachineDisksParams) WithID ¶
func (o *GetMachineDisksParams) WithID(id string) *GetMachineDisksParams
WithID adds the id to the get machine disks params
func (*GetMachineDisksParams) WithTimeout ¶
func (o *GetMachineDisksParams) WithTimeout(timeout time.Duration) *GetMachineDisksParams
WithTimeout adds the timeout to the get machine disks params
func (*GetMachineDisksParams) WriteToRequest ¶
func (o *GetMachineDisksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMachineDisksReader ¶
type GetMachineDisksReader struct {
// contains filtered or unexported fields
}
GetMachineDisksReader is a Reader for the GetMachineDisks structure.
func (*GetMachineDisksReader) ReadResponse ¶
func (o *GetMachineDisksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PromoteDiskAccepted ¶ added in v0.2.18
type PromoteDiskAccepted struct {
Payload *models.RequestTracker
}
PromoteDiskAccepted handles this case with default header values.
successful operation
func NewPromoteDiskAccepted ¶ added in v0.2.18
func NewPromoteDiskAccepted() *PromoteDiskAccepted
NewPromoteDiskAccepted creates a PromoteDiskAccepted with default headers values
func (*PromoteDiskAccepted) Error ¶ added in v0.2.18
func (o *PromoteDiskAccepted) Error() string
func (*PromoteDiskAccepted) GetPayload ¶ added in v0.2.18
func (o *PromoteDiskAccepted) GetPayload() *models.RequestTracker
type PromoteDiskForbidden ¶ added in v0.2.14
type PromoteDiskForbidden struct { }
PromoteDiskForbidden handles this case with default header values.
Forbidden
func NewPromoteDiskForbidden ¶ added in v0.2.14
func NewPromoteDiskForbidden() *PromoteDiskForbidden
NewPromoteDiskForbidden creates a PromoteDiskForbidden with default headers values
func (*PromoteDiskForbidden) Error ¶ added in v0.2.14
func (o *PromoteDiskForbidden) Error() string
type PromoteDiskNotFound ¶ added in v0.2.14
PromoteDiskNotFound handles this case with default header values.
Not Found
func NewPromoteDiskNotFound ¶ added in v0.2.14
func NewPromoteDiskNotFound() *PromoteDiskNotFound
NewPromoteDiskNotFound creates a PromoteDiskNotFound with default headers values
func (*PromoteDiskNotFound) Error ¶ added in v0.2.14
func (o *PromoteDiskNotFound) Error() string
func (*PromoteDiskNotFound) GetPayload ¶ added in v0.2.14
func (o *PromoteDiskNotFound) GetPayload() *models.Error
type PromoteDiskParams ¶ added in v0.2.14
type PromoteDiskParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /*ID The id of the Disk. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PromoteDiskParams contains all the parameters to send to the API endpoint for the promote disk operation typically these are written to a http.Request
func NewPromoteDiskParams ¶ added in v0.2.14
func NewPromoteDiskParams() *PromoteDiskParams
NewPromoteDiskParams creates a new PromoteDiskParams object with the default values initialized.
func NewPromoteDiskParamsWithContext ¶ added in v0.2.14
func NewPromoteDiskParamsWithContext(ctx context.Context) *PromoteDiskParams
NewPromoteDiskParamsWithContext creates a new PromoteDiskParams object with the default values initialized, and the ability to set a context for a request
func NewPromoteDiskParamsWithHTTPClient ¶ added in v0.2.14
func NewPromoteDiskParamsWithHTTPClient(client *http.Client) *PromoteDiskParams
NewPromoteDiskParamsWithHTTPClient creates a new PromoteDiskParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPromoteDiskParamsWithTimeout ¶ added in v0.2.14
func NewPromoteDiskParamsWithTimeout(timeout time.Duration) *PromoteDiskParams
NewPromoteDiskParamsWithTimeout creates a new PromoteDiskParams object with the default values initialized, and the ability to set a timeout on a request
func (*PromoteDiskParams) SetAPIVersion ¶ added in v0.2.14
func (o *PromoteDiskParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the promote disk params
func (*PromoteDiskParams) SetContext ¶ added in v0.2.14
func (o *PromoteDiskParams) SetContext(ctx context.Context)
SetContext adds the context to the promote disk params
func (*PromoteDiskParams) SetHTTPClient ¶ added in v0.2.14
func (o *PromoteDiskParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the promote disk params
func (*PromoteDiskParams) SetID ¶ added in v0.2.14
func (o *PromoteDiskParams) SetID(id string)
SetID adds the id to the promote disk params
func (*PromoteDiskParams) SetTimeout ¶ added in v0.2.14
func (o *PromoteDiskParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the promote disk params
func (*PromoteDiskParams) WithAPIVersion ¶ added in v0.2.14
func (o *PromoteDiskParams) WithAPIVersion(aPIVersion *string) *PromoteDiskParams
WithAPIVersion adds the aPIVersion to the promote disk params
func (*PromoteDiskParams) WithContext ¶ added in v0.2.14
func (o *PromoteDiskParams) WithContext(ctx context.Context) *PromoteDiskParams
WithContext adds the context to the promote disk params
func (*PromoteDiskParams) WithHTTPClient ¶ added in v0.2.14
func (o *PromoteDiskParams) WithHTTPClient(client *http.Client) *PromoteDiskParams
WithHTTPClient adds the HTTPClient to the promote disk params
func (*PromoteDiskParams) WithID ¶ added in v0.2.14
func (o *PromoteDiskParams) WithID(id string) *PromoteDiskParams
WithID adds the id to the promote disk params
func (*PromoteDiskParams) WithTimeout ¶ added in v0.2.14
func (o *PromoteDiskParams) WithTimeout(timeout time.Duration) *PromoteDiskParams
WithTimeout adds the timeout to the promote disk params
func (*PromoteDiskParams) WriteToRequest ¶ added in v0.2.14
func (o *PromoteDiskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PromoteDiskReader ¶ added in v0.2.14
type PromoteDiskReader struct {
// contains filtered or unexported fields
}
PromoteDiskReader is a Reader for the PromoteDisk structure.
func (*PromoteDiskReader) ReadResponse ¶ added in v0.2.14
func (o *PromoteDiskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ResizeBlockDeviceAccepted ¶ added in v0.2.6
type ResizeBlockDeviceAccepted struct {
Payload *models.RequestTracker
}
ResizeBlockDeviceAccepted handles this case with default header values.
successful operation
func NewResizeBlockDeviceAccepted ¶ added in v0.2.6
func NewResizeBlockDeviceAccepted() *ResizeBlockDeviceAccepted
NewResizeBlockDeviceAccepted creates a ResizeBlockDeviceAccepted with default headers values
func (*ResizeBlockDeviceAccepted) Error ¶ added in v0.2.6
func (o *ResizeBlockDeviceAccepted) Error() string
func (*ResizeBlockDeviceAccepted) GetPayload ¶ added in v0.2.6
func (o *ResizeBlockDeviceAccepted) GetPayload() *models.RequestTracker
type ResizeBlockDeviceForbidden ¶ added in v0.2.6
type ResizeBlockDeviceForbidden struct { }
ResizeBlockDeviceForbidden handles this case with default header values.
Forbidden
func NewResizeBlockDeviceForbidden ¶ added in v0.2.6
func NewResizeBlockDeviceForbidden() *ResizeBlockDeviceForbidden
NewResizeBlockDeviceForbidden creates a ResizeBlockDeviceForbidden with default headers values
func (*ResizeBlockDeviceForbidden) Error ¶ added in v0.2.6
func (o *ResizeBlockDeviceForbidden) Error() string
type ResizeBlockDeviceNoContent ¶ added in v0.2.6
type ResizeBlockDeviceNoContent struct { }
ResizeBlockDeviceNoContent handles this case with default header values.
No Content
func NewResizeBlockDeviceNoContent ¶ added in v0.2.6
func NewResizeBlockDeviceNoContent() *ResizeBlockDeviceNoContent
NewResizeBlockDeviceNoContent creates a ResizeBlockDeviceNoContent with default headers values
func (*ResizeBlockDeviceNoContent) Error ¶ added in v0.2.6
func (o *ResizeBlockDeviceNoContent) Error() string
type ResizeBlockDeviceParams ¶ added in v0.2.6
type ResizeBlockDeviceParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /*CapacityInGB Resize Capacity in GB */ CapacityInGB int32 /*ID The ID of the block device. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ResizeBlockDeviceParams contains all the parameters to send to the API endpoint for the resize block device operation typically these are written to a http.Request
func NewResizeBlockDeviceParams ¶ added in v0.2.6
func NewResizeBlockDeviceParams() *ResizeBlockDeviceParams
NewResizeBlockDeviceParams creates a new ResizeBlockDeviceParams object with the default values initialized.
func NewResizeBlockDeviceParamsWithContext ¶ added in v0.2.6
func NewResizeBlockDeviceParamsWithContext(ctx context.Context) *ResizeBlockDeviceParams
NewResizeBlockDeviceParamsWithContext creates a new ResizeBlockDeviceParams object with the default values initialized, and the ability to set a context for a request
func NewResizeBlockDeviceParamsWithHTTPClient ¶ added in v0.2.6
func NewResizeBlockDeviceParamsWithHTTPClient(client *http.Client) *ResizeBlockDeviceParams
NewResizeBlockDeviceParamsWithHTTPClient creates a new ResizeBlockDeviceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewResizeBlockDeviceParamsWithTimeout ¶ added in v0.2.6
func NewResizeBlockDeviceParamsWithTimeout(timeout time.Duration) *ResizeBlockDeviceParams
NewResizeBlockDeviceParamsWithTimeout creates a new ResizeBlockDeviceParams object with the default values initialized, and the ability to set a timeout on a request
func (*ResizeBlockDeviceParams) SetAPIVersion ¶ added in v0.2.6
func (o *ResizeBlockDeviceParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the resize block device params
func (*ResizeBlockDeviceParams) SetCapacityInGB ¶ added in v0.2.6
func (o *ResizeBlockDeviceParams) SetCapacityInGB(capacityInGB int32)
SetCapacityInGB adds the capacityInGB to the resize block device params
func (*ResizeBlockDeviceParams) SetContext ¶ added in v0.2.6
func (o *ResizeBlockDeviceParams) SetContext(ctx context.Context)
SetContext adds the context to the resize block device params
func (*ResizeBlockDeviceParams) SetHTTPClient ¶ added in v0.2.6
func (o *ResizeBlockDeviceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the resize block device params
func (*ResizeBlockDeviceParams) SetID ¶ added in v0.2.6
func (o *ResizeBlockDeviceParams) SetID(id string)
SetID adds the id to the resize block device params
func (*ResizeBlockDeviceParams) SetTimeout ¶ added in v0.2.6
func (o *ResizeBlockDeviceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the resize block device params
func (*ResizeBlockDeviceParams) WithAPIVersion ¶ added in v0.2.6
func (o *ResizeBlockDeviceParams) WithAPIVersion(aPIVersion *string) *ResizeBlockDeviceParams
WithAPIVersion adds the aPIVersion to the resize block device params
func (*ResizeBlockDeviceParams) WithCapacityInGB ¶ added in v0.2.6
func (o *ResizeBlockDeviceParams) WithCapacityInGB(capacityInGB int32) *ResizeBlockDeviceParams
WithCapacityInGB adds the capacityInGB to the resize block device params
func (*ResizeBlockDeviceParams) WithContext ¶ added in v0.2.6
func (o *ResizeBlockDeviceParams) WithContext(ctx context.Context) *ResizeBlockDeviceParams
WithContext adds the context to the resize block device params
func (*ResizeBlockDeviceParams) WithHTTPClient ¶ added in v0.2.6
func (o *ResizeBlockDeviceParams) WithHTTPClient(client *http.Client) *ResizeBlockDeviceParams
WithHTTPClient adds the HTTPClient to the resize block device params
func (*ResizeBlockDeviceParams) WithID ¶ added in v0.2.6
func (o *ResizeBlockDeviceParams) WithID(id string) *ResizeBlockDeviceParams
WithID adds the id to the resize block device params
func (*ResizeBlockDeviceParams) WithTimeout ¶ added in v0.2.6
func (o *ResizeBlockDeviceParams) WithTimeout(timeout time.Duration) *ResizeBlockDeviceParams
WithTimeout adds the timeout to the resize block device params
func (*ResizeBlockDeviceParams) WriteToRequest ¶ added in v0.2.6
func (o *ResizeBlockDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ResizeBlockDeviceReader ¶ added in v0.2.6
type ResizeBlockDeviceReader struct {
// contains filtered or unexported fields
}
ResizeBlockDeviceReader is a Reader for the ResizeBlockDevice structure.
func (*ResizeBlockDeviceReader) ReadResponse ¶ added in v0.2.6
func (o *ResizeBlockDeviceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RevertDiskSnapshotAccepted ¶ added in v0.2.18
type RevertDiskSnapshotAccepted struct {
Payload *models.RequestTracker
}
RevertDiskSnapshotAccepted handles this case with default header values.
successful operation
func NewRevertDiskSnapshotAccepted ¶ added in v0.2.18
func NewRevertDiskSnapshotAccepted() *RevertDiskSnapshotAccepted
NewRevertDiskSnapshotAccepted creates a RevertDiskSnapshotAccepted with default headers values
func (*RevertDiskSnapshotAccepted) Error ¶ added in v0.2.18
func (o *RevertDiskSnapshotAccepted) Error() string
func (*RevertDiskSnapshotAccepted) GetPayload ¶ added in v0.2.18
func (o *RevertDiskSnapshotAccepted) GetPayload() *models.RequestTracker
type RevertDiskSnapshotForbidden ¶ added in v0.2.14
type RevertDiskSnapshotForbidden struct { }
RevertDiskSnapshotForbidden handles this case with default header values.
Forbidden
func NewRevertDiskSnapshotForbidden ¶ added in v0.2.14
func NewRevertDiskSnapshotForbidden() *RevertDiskSnapshotForbidden
NewRevertDiskSnapshotForbidden creates a RevertDiskSnapshotForbidden with default headers values
func (*RevertDiskSnapshotForbidden) Error ¶ added in v0.2.14
func (o *RevertDiskSnapshotForbidden) Error() string
type RevertDiskSnapshotNotFound ¶ added in v0.2.14
RevertDiskSnapshotNotFound handles this case with default header values.
Not Found
func NewRevertDiskSnapshotNotFound ¶ added in v0.2.14
func NewRevertDiskSnapshotNotFound() *RevertDiskSnapshotNotFound
NewRevertDiskSnapshotNotFound creates a RevertDiskSnapshotNotFound with default headers values
func (*RevertDiskSnapshotNotFound) Error ¶ added in v0.2.14
func (o *RevertDiskSnapshotNotFound) Error() string
func (*RevertDiskSnapshotNotFound) GetPayload ¶ added in v0.2.14
func (o *RevertDiskSnapshotNotFound) GetPayload() *models.Error
type RevertDiskSnapshotParams ¶ added in v0.2.14
type RevertDiskSnapshotParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /*ID The id of the Disk. */ PathID string /*ID Snapshot id to revert. */ QueryID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RevertDiskSnapshotParams contains all the parameters to send to the API endpoint for the revert disk snapshot operation typically these are written to a http.Request
func NewRevertDiskSnapshotParams ¶ added in v0.2.14
func NewRevertDiskSnapshotParams() *RevertDiskSnapshotParams
NewRevertDiskSnapshotParams creates a new RevertDiskSnapshotParams object with the default values initialized.
func NewRevertDiskSnapshotParamsWithContext ¶ added in v0.2.14
func NewRevertDiskSnapshotParamsWithContext(ctx context.Context) *RevertDiskSnapshotParams
NewRevertDiskSnapshotParamsWithContext creates a new RevertDiskSnapshotParams object with the default values initialized, and the ability to set a context for a request
func NewRevertDiskSnapshotParamsWithHTTPClient ¶ added in v0.2.14
func NewRevertDiskSnapshotParamsWithHTTPClient(client *http.Client) *RevertDiskSnapshotParams
NewRevertDiskSnapshotParamsWithHTTPClient creates a new RevertDiskSnapshotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRevertDiskSnapshotParamsWithTimeout ¶ added in v0.2.14
func NewRevertDiskSnapshotParamsWithTimeout(timeout time.Duration) *RevertDiskSnapshotParams
NewRevertDiskSnapshotParamsWithTimeout creates a new RevertDiskSnapshotParams object with the default values initialized, and the ability to set a timeout on a request
func (*RevertDiskSnapshotParams) SetAPIVersion ¶ added in v0.2.14
func (o *RevertDiskSnapshotParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the revert disk snapshot params
func (*RevertDiskSnapshotParams) SetContext ¶ added in v0.2.14
func (o *RevertDiskSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the revert disk snapshot params
func (*RevertDiskSnapshotParams) SetHTTPClient ¶ added in v0.2.14
func (o *RevertDiskSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the revert disk snapshot params
func (*RevertDiskSnapshotParams) SetPathID ¶ added in v0.2.18
func (o *RevertDiskSnapshotParams) SetPathID(id string)
SetPathID adds the id to the revert disk snapshot params
func (*RevertDiskSnapshotParams) SetQueryID ¶ added in v0.2.14
func (o *RevertDiskSnapshotParams) SetQueryID(id string)
SetQueryID adds the id to the revert disk snapshot params
func (*RevertDiskSnapshotParams) SetTimeout ¶ added in v0.2.14
func (o *RevertDiskSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the revert disk snapshot params
func (*RevertDiskSnapshotParams) WithAPIVersion ¶ added in v0.2.14
func (o *RevertDiskSnapshotParams) WithAPIVersion(aPIVersion *string) *RevertDiskSnapshotParams
WithAPIVersion adds the aPIVersion to the revert disk snapshot params
func (*RevertDiskSnapshotParams) WithContext ¶ added in v0.2.14
func (o *RevertDiskSnapshotParams) WithContext(ctx context.Context) *RevertDiskSnapshotParams
WithContext adds the context to the revert disk snapshot params
func (*RevertDiskSnapshotParams) WithHTTPClient ¶ added in v0.2.14
func (o *RevertDiskSnapshotParams) WithHTTPClient(client *http.Client) *RevertDiskSnapshotParams
WithHTTPClient adds the HTTPClient to the revert disk snapshot params
func (*RevertDiskSnapshotParams) WithPathID ¶ added in v0.2.18
func (o *RevertDiskSnapshotParams) WithPathID(id string) *RevertDiskSnapshotParams
WithPathID adds the id to the revert disk snapshot params
func (*RevertDiskSnapshotParams) WithQueryID ¶ added in v0.2.14
func (o *RevertDiskSnapshotParams) WithQueryID(id string) *RevertDiskSnapshotParams
WithQueryID adds the id to the revert disk snapshot params
func (*RevertDiskSnapshotParams) WithTimeout ¶ added in v0.2.14
func (o *RevertDiskSnapshotParams) WithTimeout(timeout time.Duration) *RevertDiskSnapshotParams
WithTimeout adds the timeout to the revert disk snapshot params
func (*RevertDiskSnapshotParams) WriteToRequest ¶ added in v0.2.14
func (o *RevertDiskSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RevertDiskSnapshotReader ¶ added in v0.2.14
type RevertDiskSnapshotReader struct {
// contains filtered or unexported fields
}
RevertDiskSnapshotReader is a Reader for the RevertDiskSnapshot structure.
func (*RevertDiskSnapshotReader) ReadResponse ¶ added in v0.2.14
func (o *RevertDiskSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- attach_machine_disk_parameters.go
- attach_machine_disk_responses.go
- create_block_device_parameters.go
- create_block_device_responses.go
- create_first_class_disk_snapshot_parameters.go
- create_first_class_disk_snapshot_responses.go
- delete_block_device_parameters.go
- delete_block_device_responses.go
- delete_first_class_disk_snapshot_parameters.go
- delete_first_class_disk_snapshot_responses.go
- delete_machine_disk_parameters.go
- delete_machine_disk_responses.go
- disk_client.go
- get_block_device_parameters.go
- get_block_device_responses.go
- get_block_devices_parameters.go
- get_block_devices_responses.go
- get_disk_snapshot_parameters.go
- get_disk_snapshot_responses.go
- get_disk_snapshots_parameters.go
- get_disk_snapshots_responses.go
- get_machine_disk_parameters.go
- get_machine_disk_responses.go
- get_machine_disks_parameters.go
- get_machine_disks_responses.go
- promote_disk_parameters.go
- promote_disk_responses.go
- resize_block_device_parameters.go
- resize_block_device_responses.go
- revert_disk_snapshot_parameters.go
- revert_disk_snapshot_responses.go