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) SetDefaults()
- 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) WithDefaults() *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, opts ...ClientOption) (*AttachMachineDiskOK, error)
- func (a *Client) CreateBlockDevice(params *CreateBlockDeviceParams, opts ...ClientOption) (*CreateBlockDeviceAccepted, error)
- func (a *Client) CreateBlockDeviceSnapshot(params *CreateBlockDeviceSnapshotParams, opts ...ClientOption) (*CreateBlockDeviceSnapshotAccepted, *CreateBlockDeviceSnapshotNoContent, error)
- func (a *Client) DeleteBlockDevice(params *DeleteBlockDeviceParams, opts ...ClientOption) (*DeleteBlockDeviceAccepted, *DeleteBlockDeviceNoContent, error)
- func (a *Client) DeleteBlockDeviceSnapshot(params *DeleteBlockDeviceSnapshotParams, opts ...ClientOption) (*DeleteBlockDeviceSnapshotAccepted, *DeleteBlockDeviceSnapshotNoContent, error)
- func (a *Client) DeleteMachineDisk(params *DeleteMachineDiskParams, opts ...ClientOption) (*DeleteMachineDiskAccepted, *DeleteMachineDiskNoContent, error)
- func (a *Client) GetBlockDevice(params *GetBlockDeviceParams, opts ...ClientOption) (*GetBlockDeviceOK, error)
- func (a *Client) GetBlockDevices(params *GetBlockDevicesParams, opts ...ClientOption) (*GetBlockDevicesOK, error)
- func (a *Client) GetDiskSnapshot(params *GetDiskSnapshotParams, opts ...ClientOption) (*GetDiskSnapshotOK, error)
- func (a *Client) GetDiskSnapshots(params *GetDiskSnapshotsParams, opts ...ClientOption) (*GetDiskSnapshotsOK, error)
- func (a *Client) GetMachineDisk(params *GetMachineDiskParams, opts ...ClientOption) (*GetMachineDiskOK, error)
- func (a *Client) GetMachineDisks(params *GetMachineDisksParams, opts ...ClientOption) (*GetMachineDisksOK, error)
- func (a *Client) PromoteDisk(params *PromoteDiskParams, opts ...ClientOption) (*PromoteDiskAccepted, error)
- func (a *Client) ResizeBlockDevice(params *ResizeBlockDeviceParams, opts ...ClientOption) (*ResizeBlockDeviceAccepted, *ResizeBlockDeviceNoContent, error)
- func (a *Client) RevertDiskSnapshot(params *RevertDiskSnapshotParams, opts ...ClientOption) (*RevertDiskSnapshotAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- 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) SetDefaults()
- 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) WithDefaults() *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 CreateBlockDeviceSnapshotAccepted
- type CreateBlockDeviceSnapshotForbidden
- type CreateBlockDeviceSnapshotNoContent
- type CreateBlockDeviceSnapshotParams
- func NewCreateBlockDeviceSnapshotParams() *CreateBlockDeviceSnapshotParams
- func NewCreateBlockDeviceSnapshotParamsWithContext(ctx context.Context) *CreateBlockDeviceSnapshotParams
- func NewCreateBlockDeviceSnapshotParamsWithHTTPClient(client *http.Client) *CreateBlockDeviceSnapshotParams
- func NewCreateBlockDeviceSnapshotParamsWithTimeout(timeout time.Duration) *CreateBlockDeviceSnapshotParams
- func (o *CreateBlockDeviceSnapshotParams) SetAPIVersion(aPIVersion *string)
- func (o *CreateBlockDeviceSnapshotParams) SetBody(body *models.DiskSnapshotSpecification)
- func (o *CreateBlockDeviceSnapshotParams) SetContext(ctx context.Context)
- func (o *CreateBlockDeviceSnapshotParams) SetDefaults()
- func (o *CreateBlockDeviceSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *CreateBlockDeviceSnapshotParams) SetID(id string)
- func (o *CreateBlockDeviceSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *CreateBlockDeviceSnapshotParams) WithAPIVersion(aPIVersion *string) *CreateBlockDeviceSnapshotParams
- func (o *CreateBlockDeviceSnapshotParams) WithBody(body *models.DiskSnapshotSpecification) *CreateBlockDeviceSnapshotParams
- func (o *CreateBlockDeviceSnapshotParams) WithContext(ctx context.Context) *CreateBlockDeviceSnapshotParams
- func (o *CreateBlockDeviceSnapshotParams) WithDefaults() *CreateBlockDeviceSnapshotParams
- func (o *CreateBlockDeviceSnapshotParams) WithHTTPClient(client *http.Client) *CreateBlockDeviceSnapshotParams
- func (o *CreateBlockDeviceSnapshotParams) WithID(id string) *CreateBlockDeviceSnapshotParams
- func (o *CreateBlockDeviceSnapshotParams) WithTimeout(timeout time.Duration) *CreateBlockDeviceSnapshotParams
- func (o *CreateBlockDeviceSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateBlockDeviceSnapshotReader
- 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) SetDefaults()
- 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) WithDefaults() *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 DeleteBlockDeviceSnapshotAccepted
- type DeleteBlockDeviceSnapshotForbidden
- type DeleteBlockDeviceSnapshotNoContent
- type DeleteBlockDeviceSnapshotParams
- func NewDeleteBlockDeviceSnapshotParams() *DeleteBlockDeviceSnapshotParams
- func NewDeleteBlockDeviceSnapshotParamsWithContext(ctx context.Context) *DeleteBlockDeviceSnapshotParams
- func NewDeleteBlockDeviceSnapshotParamsWithHTTPClient(client *http.Client) *DeleteBlockDeviceSnapshotParams
- func NewDeleteBlockDeviceSnapshotParamsWithTimeout(timeout time.Duration) *DeleteBlockDeviceSnapshotParams
- func (o *DeleteBlockDeviceSnapshotParams) SetAPIVersion(aPIVersion *string)
- func (o *DeleteBlockDeviceSnapshotParams) SetContext(ctx context.Context)
- func (o *DeleteBlockDeviceSnapshotParams) SetDefaults()
- func (o *DeleteBlockDeviceSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *DeleteBlockDeviceSnapshotParams) SetID(id string)
- func (o *DeleteBlockDeviceSnapshotParams) SetId1(id1 string)
- func (o *DeleteBlockDeviceSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *DeleteBlockDeviceSnapshotParams) WithAPIVersion(aPIVersion *string) *DeleteBlockDeviceSnapshotParams
- func (o *DeleteBlockDeviceSnapshotParams) WithContext(ctx context.Context) *DeleteBlockDeviceSnapshotParams
- func (o *DeleteBlockDeviceSnapshotParams) WithDefaults() *DeleteBlockDeviceSnapshotParams
- func (o *DeleteBlockDeviceSnapshotParams) WithHTTPClient(client *http.Client) *DeleteBlockDeviceSnapshotParams
- func (o *DeleteBlockDeviceSnapshotParams) WithID(id string) *DeleteBlockDeviceSnapshotParams
- func (o *DeleteBlockDeviceSnapshotParams) WithId1(id1 string) *DeleteBlockDeviceSnapshotParams
- func (o *DeleteBlockDeviceSnapshotParams) WithTimeout(timeout time.Duration) *DeleteBlockDeviceSnapshotParams
- func (o *DeleteBlockDeviceSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteBlockDeviceSnapshotReader
- 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) SetDefaults()
- func (o *DeleteMachineDiskParams) SetDiskID(diskID string)
- func (o *DeleteMachineDiskParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMachineDiskParams) SetID(id 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) WithDefaults() *DeleteMachineDiskParams
- func (o *DeleteMachineDiskParams) WithDiskID(diskID string) *DeleteMachineDiskParams
- func (o *DeleteMachineDiskParams) WithHTTPClient(client *http.Client) *DeleteMachineDiskParams
- func (o *DeleteMachineDiskParams) WithID(id 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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- func (o *GetBlockDevicesParams) SetDollarCount(dollarCount *bool)
- func (o *GetBlockDevicesParams) SetDollarFilter(dollarFilter *string)
- func (o *GetBlockDevicesParams) SetDollarSelect(dollarSelect *string)
- func (o *GetBlockDevicesParams) SetDollarSkip(dollarSkip *int64)
- func (o *GetBlockDevicesParams) SetDollarTop(dollarTop *int64)
- 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) WithDefaults() *GetBlockDevicesParams
- func (o *GetBlockDevicesParams) WithDollarCount(dollarCount *bool) *GetBlockDevicesParams
- func (o *GetBlockDevicesParams) WithDollarFilter(dollarFilter *string) *GetBlockDevicesParams
- func (o *GetBlockDevicesParams) WithDollarSelect(dollarSelect *string) *GetBlockDevicesParams
- func (o *GetBlockDevicesParams) WithDollarSkip(dollarSkip *int64) *GetBlockDevicesParams
- func (o *GetBlockDevicesParams) WithDollarTop(dollarTop *int64) *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- func (o *GetMachineDiskParams) SetDiskID(diskID string)
- func (o *GetMachineDiskParams) SetHTTPClient(client *http.Client)
- func (o *GetMachineDiskParams) SetID(id 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) WithDefaults() *GetMachineDiskParams
- func (o *GetMachineDiskParams) WithDiskID(diskID string) *GetMachineDiskParams
- func (o *GetMachineDiskParams) WithHTTPClient(client *http.Client) *GetMachineDiskParams
- func (o *GetMachineDiskParams) WithID(id 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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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 describes a response with status code 400, 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 {
Payload *models.ServiceErrorResponse
}
AttachMachineDiskForbidden describes a response with status code 403, 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
func (*AttachMachineDiskForbidden) GetPayload ¶ added in v0.2.20
func (o *AttachMachineDiskForbidden) GetPayload() *models.ServiceErrorResponse
type AttachMachineDiskNotFound ¶
AttachMachineDiskNotFound describes a response with status code 404, 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 describes a response with status code 200, 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAttachMachineDiskParamsWithContext ¶
func NewAttachMachineDiskParamsWithContext(ctx context.Context) *AttachMachineDiskParams
NewAttachMachineDiskParamsWithContext creates a new AttachMachineDiskParams object with 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 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 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) SetDefaults ¶ added in v0.2.20
func (o *AttachMachineDiskParams) SetDefaults()
SetDefaults hydrates default values in the attach machine disk params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v0.2.20
func (o *AttachMachineDiskParams) WithDefaults() *AttachMachineDiskParams
WithDefaults hydrates default values in the attach machine disk params (not the query body).
All values with no default are reset to their zero value.
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, opts ...ClientOption) (*AttachMachineDiskOK, error)
AttachMachineDisk attaches machine disk
Attach a disk to a machine.
func (*Client) CreateBlockDevice ¶
func (a *Client) CreateBlockDevice(params *CreateBlockDeviceParams, opts ...ClientOption) (*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) CreateBlockDeviceSnapshot ¶ added in v0.2.20
func (a *Client) CreateBlockDeviceSnapshot(params *CreateBlockDeviceSnapshotParams, opts ...ClientOption) (*CreateBlockDeviceSnapshotAccepted, *CreateBlockDeviceSnapshotNoContent, error)
CreateBlockDeviceSnapshot creates snapshot operation for block device
Second day create snapshot operation for Block device
func (*Client) DeleteBlockDevice ¶
func (a *Client) DeleteBlockDevice(params *DeleteBlockDeviceParams, opts ...ClientOption) (*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) DeleteBlockDeviceSnapshot ¶ added in v0.2.20
func (a *Client) DeleteBlockDeviceSnapshot(params *DeleteBlockDeviceSnapshotParams, opts ...ClientOption) (*DeleteBlockDeviceSnapshotAccepted, *DeleteBlockDeviceSnapshotNoContent, error)
DeleteBlockDeviceSnapshot deletes snapshot operation for block device
Second day delete snapshot operation for Block device
func (*Client) DeleteMachineDisk ¶
func (a *Client) DeleteMachineDisk(params *DeleteMachineDiskParams, opts ...ClientOption) (*DeleteMachineDiskAccepted, *DeleteMachineDiskNoContent, error)
DeleteMachineDisk deletes machine disk
Remove a disk from a given machine.
func (*Client) GetBlockDevice ¶
func (a *Client) GetBlockDevice(params *GetBlockDeviceParams, opts ...ClientOption) (*GetBlockDeviceOK, error)
GetBlockDevice gets block device
Get a single BlockDevice
func (*Client) GetBlockDevices ¶
func (a *Client) GetBlockDevices(params *GetBlockDevicesParams, opts ...ClientOption) (*GetBlockDevicesOK, error)
GetBlockDevices gets block devices
Get all BlockDevices
func (*Client) GetDiskSnapshot ¶ added in v0.2.14
func (a *Client) GetDiskSnapshot(params *GetDiskSnapshotParams, opts ...ClientOption) (*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, opts ...ClientOption) (*GetDiskSnapshotsOK, error)
GetDiskSnapshots gets disk snapshots information
Get disk snapshots information
func (*Client) GetMachineDisk ¶
func (a *Client) GetMachineDisk(params *GetMachineDiskParams, opts ...ClientOption) (*GetMachineDiskOK, error)
GetMachineDisk gets machine disk
Get disk with a given id for specific machine
func (*Client) GetMachineDisks ¶
func (a *Client) GetMachineDisks(params *GetMachineDisksParams, opts ...ClientOption) (*GetMachineDisksOK, error)
GetMachineDisks gets machine disks
Get all machine disks
func (*Client) PromoteDisk ¶ added in v0.2.14
func (a *Client) PromoteDisk(params *PromoteDiskParams, opts ...ClientOption) (*PromoteDiskAccepted, error)
PromoteDisk promotes operation on disk
Second day promote operation on disk. Applicable for vSphere Block Devices only
func (*Client) ResizeBlockDevice ¶ added in v0.2.6
func (a *Client) ResizeBlockDevice(params *ResizeBlockDeviceParams, opts ...ClientOption) (*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, opts ...ClientOption) (*RevertDiskSnapshotAccepted, error)
RevertDiskSnapshot reverts snapshot operation for block device
Second day revert snapshot operation for Block device
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v0.2.20
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v0.2.18
type ClientService interface { PromoteDisk(params *PromoteDiskParams, opts ...ClientOption) (*PromoteDiskAccepted, error) AttachMachineDisk(params *AttachMachineDiskParams, opts ...ClientOption) (*AttachMachineDiskOK, error) CreateBlockDevice(params *CreateBlockDeviceParams, opts ...ClientOption) (*CreateBlockDeviceAccepted, error) CreateBlockDeviceSnapshot(params *CreateBlockDeviceSnapshotParams, opts ...ClientOption) (*CreateBlockDeviceSnapshotAccepted, *CreateBlockDeviceSnapshotNoContent, error) DeleteBlockDevice(params *DeleteBlockDeviceParams, opts ...ClientOption) (*DeleteBlockDeviceAccepted, *DeleteBlockDeviceNoContent, error) DeleteBlockDeviceSnapshot(params *DeleteBlockDeviceSnapshotParams, opts ...ClientOption) (*DeleteBlockDeviceSnapshotAccepted, *DeleteBlockDeviceSnapshotNoContent, error) DeleteMachineDisk(params *DeleteMachineDiskParams, opts ...ClientOption) (*DeleteMachineDiskAccepted, *DeleteMachineDiskNoContent, error) GetBlockDevice(params *GetBlockDeviceParams, opts ...ClientOption) (*GetBlockDeviceOK, error) GetBlockDevices(params *GetBlockDevicesParams, opts ...ClientOption) (*GetBlockDevicesOK, error) GetDiskSnapshot(params *GetDiskSnapshotParams, opts ...ClientOption) (*GetDiskSnapshotOK, error) GetDiskSnapshots(params *GetDiskSnapshotsParams, opts ...ClientOption) (*GetDiskSnapshotsOK, error) GetMachineDisk(params *GetMachineDiskParams, opts ...ClientOption) (*GetMachineDiskOK, error) GetMachineDisks(params *GetMachineDisksParams, opts ...ClientOption) (*GetMachineDisksOK, error) ResizeBlockDevice(params *ResizeBlockDeviceParams, opts ...ClientOption) (*ResizeBlockDeviceAccepted, *ResizeBlockDeviceNoContent, error) RevertDiskSnapshot(params *RevertDiskSnapshotParams, opts ...ClientOption) (*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 describes a response with status code 202, 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 describes a response with status code 400, 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 {
Payload *models.ServiceErrorResponse
}
CreateBlockDeviceForbidden describes a response with status code 403, 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
func (*CreateBlockDeviceForbidden) GetPayload ¶ added in v0.2.20
func (o *CreateBlockDeviceForbidden) GetPayload() *models.ServiceErrorResponse
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateBlockDeviceParamsWithContext ¶
func NewCreateBlockDeviceParamsWithContext(ctx context.Context) *CreateBlockDeviceParams
NewCreateBlockDeviceParamsWithContext creates a new CreateBlockDeviceParams object with 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 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 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) SetDefaults ¶ added in v0.2.20
func (o *CreateBlockDeviceParams) SetDefaults()
SetDefaults hydrates default values in the create block device params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v0.2.20
func (o *CreateBlockDeviceParams) WithDefaults() *CreateBlockDeviceParams
WithDefaults hydrates default values in the create block device params (not the query body).
All values with no default are reset to their zero value.
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 CreateBlockDeviceSnapshotAccepted ¶ added in v0.2.20
type CreateBlockDeviceSnapshotAccepted struct {
Payload *models.RequestTracker
}
CreateBlockDeviceSnapshotAccepted describes a response with status code 202, with default header values.
successful operation
func NewCreateBlockDeviceSnapshotAccepted ¶ added in v0.2.20
func NewCreateBlockDeviceSnapshotAccepted() *CreateBlockDeviceSnapshotAccepted
NewCreateBlockDeviceSnapshotAccepted creates a CreateBlockDeviceSnapshotAccepted with default headers values
func (*CreateBlockDeviceSnapshotAccepted) Error ¶ added in v0.2.20
func (o *CreateBlockDeviceSnapshotAccepted) Error() string
func (*CreateBlockDeviceSnapshotAccepted) GetPayload ¶ added in v0.2.20
func (o *CreateBlockDeviceSnapshotAccepted) GetPayload() *models.RequestTracker
type CreateBlockDeviceSnapshotForbidden ¶ added in v0.2.20
type CreateBlockDeviceSnapshotForbidden struct {
Payload *models.ServiceErrorResponse
}
CreateBlockDeviceSnapshotForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateBlockDeviceSnapshotForbidden ¶ added in v0.2.20
func NewCreateBlockDeviceSnapshotForbidden() *CreateBlockDeviceSnapshotForbidden
NewCreateBlockDeviceSnapshotForbidden creates a CreateBlockDeviceSnapshotForbidden with default headers values
func (*CreateBlockDeviceSnapshotForbidden) Error ¶ added in v0.2.20
func (o *CreateBlockDeviceSnapshotForbidden) Error() string
func (*CreateBlockDeviceSnapshotForbidden) GetPayload ¶ added in v0.2.20
func (o *CreateBlockDeviceSnapshotForbidden) GetPayload() *models.ServiceErrorResponse
type CreateBlockDeviceSnapshotNoContent ¶ added in v0.2.20
type CreateBlockDeviceSnapshotNoContent struct { }
CreateBlockDeviceSnapshotNoContent describes a response with status code 204, with default header values.
No Content
func NewCreateBlockDeviceSnapshotNoContent ¶ added in v0.2.20
func NewCreateBlockDeviceSnapshotNoContent() *CreateBlockDeviceSnapshotNoContent
NewCreateBlockDeviceSnapshotNoContent creates a CreateBlockDeviceSnapshotNoContent with default headers values
func (*CreateBlockDeviceSnapshotNoContent) Error ¶ added in v0.2.20
func (o *CreateBlockDeviceSnapshotNoContent) Error() string
type CreateBlockDeviceSnapshotParams ¶ added in v0.2.20
type CreateBlockDeviceSnapshotParams 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 }
CreateBlockDeviceSnapshotParams contains all the parameters to send to the API endpoint
for the create block device snapshot operation. Typically these are written to a http.Request.
func NewCreateBlockDeviceSnapshotParams ¶ added in v0.2.20
func NewCreateBlockDeviceSnapshotParams() *CreateBlockDeviceSnapshotParams
NewCreateBlockDeviceSnapshotParams creates a new CreateBlockDeviceSnapshotParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateBlockDeviceSnapshotParamsWithContext ¶ added in v0.2.20
func NewCreateBlockDeviceSnapshotParamsWithContext(ctx context.Context) *CreateBlockDeviceSnapshotParams
NewCreateBlockDeviceSnapshotParamsWithContext creates a new CreateBlockDeviceSnapshotParams object with the ability to set a context for a request.
func NewCreateBlockDeviceSnapshotParamsWithHTTPClient ¶ added in v0.2.20
func NewCreateBlockDeviceSnapshotParamsWithHTTPClient(client *http.Client) *CreateBlockDeviceSnapshotParams
NewCreateBlockDeviceSnapshotParamsWithHTTPClient creates a new CreateBlockDeviceSnapshotParams object with the ability to set a custom HTTPClient for a request.
func NewCreateBlockDeviceSnapshotParamsWithTimeout ¶ added in v0.2.20
func NewCreateBlockDeviceSnapshotParamsWithTimeout(timeout time.Duration) *CreateBlockDeviceSnapshotParams
NewCreateBlockDeviceSnapshotParamsWithTimeout creates a new CreateBlockDeviceSnapshotParams object with the ability to set a timeout on a request.
func (*CreateBlockDeviceSnapshotParams) SetAPIVersion ¶ added in v0.2.20
func (o *CreateBlockDeviceSnapshotParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the create block device snapshot params
func (*CreateBlockDeviceSnapshotParams) SetBody ¶ added in v0.2.20
func (o *CreateBlockDeviceSnapshotParams) SetBody(body *models.DiskSnapshotSpecification)
SetBody adds the body to the create block device snapshot params
func (*CreateBlockDeviceSnapshotParams) SetContext ¶ added in v0.2.20
func (o *CreateBlockDeviceSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the create block device snapshot params
func (*CreateBlockDeviceSnapshotParams) SetDefaults ¶ added in v0.2.20
func (o *CreateBlockDeviceSnapshotParams) SetDefaults()
SetDefaults hydrates default values in the create block device snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*CreateBlockDeviceSnapshotParams) SetHTTPClient ¶ added in v0.2.20
func (o *CreateBlockDeviceSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create block device snapshot params
func (*CreateBlockDeviceSnapshotParams) SetID ¶ added in v0.2.20
func (o *CreateBlockDeviceSnapshotParams) SetID(id string)
SetID adds the id to the create block device snapshot params
func (*CreateBlockDeviceSnapshotParams) SetTimeout ¶ added in v0.2.20
func (o *CreateBlockDeviceSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create block device snapshot params
func (*CreateBlockDeviceSnapshotParams) WithAPIVersion ¶ added in v0.2.20
func (o *CreateBlockDeviceSnapshotParams) WithAPIVersion(aPIVersion *string) *CreateBlockDeviceSnapshotParams
WithAPIVersion adds the aPIVersion to the create block device snapshot params
func (*CreateBlockDeviceSnapshotParams) WithBody ¶ added in v0.2.20
func (o *CreateBlockDeviceSnapshotParams) WithBody(body *models.DiskSnapshotSpecification) *CreateBlockDeviceSnapshotParams
WithBody adds the body to the create block device snapshot params
func (*CreateBlockDeviceSnapshotParams) WithContext ¶ added in v0.2.20
func (o *CreateBlockDeviceSnapshotParams) WithContext(ctx context.Context) *CreateBlockDeviceSnapshotParams
WithContext adds the context to the create block device snapshot params
func (*CreateBlockDeviceSnapshotParams) WithDefaults ¶ added in v0.2.20
func (o *CreateBlockDeviceSnapshotParams) WithDefaults() *CreateBlockDeviceSnapshotParams
WithDefaults hydrates default values in the create block device snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*CreateBlockDeviceSnapshotParams) WithHTTPClient ¶ added in v0.2.20
func (o *CreateBlockDeviceSnapshotParams) WithHTTPClient(client *http.Client) *CreateBlockDeviceSnapshotParams
WithHTTPClient adds the HTTPClient to the create block device snapshot params
func (*CreateBlockDeviceSnapshotParams) WithID ¶ added in v0.2.20
func (o *CreateBlockDeviceSnapshotParams) WithID(id string) *CreateBlockDeviceSnapshotParams
WithID adds the id to the create block device snapshot params
func (*CreateBlockDeviceSnapshotParams) WithTimeout ¶ added in v0.2.20
func (o *CreateBlockDeviceSnapshotParams) WithTimeout(timeout time.Duration) *CreateBlockDeviceSnapshotParams
WithTimeout adds the timeout to the create block device snapshot params
func (*CreateBlockDeviceSnapshotParams) WriteToRequest ¶ added in v0.2.20
func (o *CreateBlockDeviceSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateBlockDeviceSnapshotReader ¶ added in v0.2.20
type CreateBlockDeviceSnapshotReader struct {
// contains filtered or unexported fields
}
CreateBlockDeviceSnapshotReader is a Reader for the CreateBlockDeviceSnapshot structure.
func (*CreateBlockDeviceSnapshotReader) ReadResponse ¶ added in v0.2.20
func (o *CreateBlockDeviceSnapshotReader) 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 describes a response with status code 202, 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 {
Payload *models.ServiceErrorResponse
}
DeleteBlockDeviceForbidden describes a response with status code 403, 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
func (*DeleteBlockDeviceForbidden) GetPayload ¶ added in v0.2.20
func (o *DeleteBlockDeviceForbidden) GetPayload() *models.ServiceErrorResponse
type DeleteBlockDeviceNoContent ¶ added in v0.2.1
type DeleteBlockDeviceNoContent struct { }
DeleteBlockDeviceNoContent describes a response with status code 204, 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteBlockDeviceParamsWithContext ¶
func NewDeleteBlockDeviceParamsWithContext(ctx context.Context) *DeleteBlockDeviceParams
NewDeleteBlockDeviceParamsWithContext creates a new DeleteBlockDeviceParams object with 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 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 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) SetDefaults ¶ added in v0.2.20
func (o *DeleteBlockDeviceParams) SetDefaults()
SetDefaults hydrates default values in the delete block device params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v0.2.20
func (o *DeleteBlockDeviceParams) WithDefaults() *DeleteBlockDeviceParams
WithDefaults hydrates default values in the delete block device params (not the query body).
All values with no default are reset to their zero value.
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 DeleteBlockDeviceSnapshotAccepted ¶ added in v0.2.20
type DeleteBlockDeviceSnapshotAccepted struct {
Payload *models.RequestTracker
}
DeleteBlockDeviceSnapshotAccepted describes a response with status code 202, with default header values.
successful operation
func NewDeleteBlockDeviceSnapshotAccepted ¶ added in v0.2.20
func NewDeleteBlockDeviceSnapshotAccepted() *DeleteBlockDeviceSnapshotAccepted
NewDeleteBlockDeviceSnapshotAccepted creates a DeleteBlockDeviceSnapshotAccepted with default headers values
func (*DeleteBlockDeviceSnapshotAccepted) Error ¶ added in v0.2.20
func (o *DeleteBlockDeviceSnapshotAccepted) Error() string
func (*DeleteBlockDeviceSnapshotAccepted) GetPayload ¶ added in v0.2.20
func (o *DeleteBlockDeviceSnapshotAccepted) GetPayload() *models.RequestTracker
type DeleteBlockDeviceSnapshotForbidden ¶ added in v0.2.20
type DeleteBlockDeviceSnapshotForbidden struct {
Payload *models.ServiceErrorResponse
}
DeleteBlockDeviceSnapshotForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteBlockDeviceSnapshotForbidden ¶ added in v0.2.20
func NewDeleteBlockDeviceSnapshotForbidden() *DeleteBlockDeviceSnapshotForbidden
NewDeleteBlockDeviceSnapshotForbidden creates a DeleteBlockDeviceSnapshotForbidden with default headers values
func (*DeleteBlockDeviceSnapshotForbidden) Error ¶ added in v0.2.20
func (o *DeleteBlockDeviceSnapshotForbidden) Error() string
func (*DeleteBlockDeviceSnapshotForbidden) GetPayload ¶ added in v0.2.20
func (o *DeleteBlockDeviceSnapshotForbidden) GetPayload() *models.ServiceErrorResponse
type DeleteBlockDeviceSnapshotNoContent ¶ added in v0.2.20
type DeleteBlockDeviceSnapshotNoContent struct { }
DeleteBlockDeviceSnapshotNoContent describes a response with status code 204, with default header values.
No Content
func NewDeleteBlockDeviceSnapshotNoContent ¶ added in v0.2.20
func NewDeleteBlockDeviceSnapshotNoContent() *DeleteBlockDeviceSnapshotNoContent
NewDeleteBlockDeviceSnapshotNoContent creates a DeleteBlockDeviceSnapshotNoContent with default headers values
func (*DeleteBlockDeviceSnapshotNoContent) Error ¶ added in v0.2.20
func (o *DeleteBlockDeviceSnapshotNoContent) Error() string
type DeleteBlockDeviceSnapshotParams ¶ added in v0.2.20
type DeleteBlockDeviceSnapshotParams 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 }
DeleteBlockDeviceSnapshotParams contains all the parameters to send to the API endpoint
for the delete block device snapshot operation. Typically these are written to a http.Request.
func NewDeleteBlockDeviceSnapshotParams ¶ added in v0.2.20
func NewDeleteBlockDeviceSnapshotParams() *DeleteBlockDeviceSnapshotParams
NewDeleteBlockDeviceSnapshotParams creates a new DeleteBlockDeviceSnapshotParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteBlockDeviceSnapshotParamsWithContext ¶ added in v0.2.20
func NewDeleteBlockDeviceSnapshotParamsWithContext(ctx context.Context) *DeleteBlockDeviceSnapshotParams
NewDeleteBlockDeviceSnapshotParamsWithContext creates a new DeleteBlockDeviceSnapshotParams object with the ability to set a context for a request.
func NewDeleteBlockDeviceSnapshotParamsWithHTTPClient ¶ added in v0.2.20
func NewDeleteBlockDeviceSnapshotParamsWithHTTPClient(client *http.Client) *DeleteBlockDeviceSnapshotParams
NewDeleteBlockDeviceSnapshotParamsWithHTTPClient creates a new DeleteBlockDeviceSnapshotParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteBlockDeviceSnapshotParamsWithTimeout ¶ added in v0.2.20
func NewDeleteBlockDeviceSnapshotParamsWithTimeout(timeout time.Duration) *DeleteBlockDeviceSnapshotParams
NewDeleteBlockDeviceSnapshotParamsWithTimeout creates a new DeleteBlockDeviceSnapshotParams object with the ability to set a timeout on a request.
func (*DeleteBlockDeviceSnapshotParams) SetAPIVersion ¶ added in v0.2.20
func (o *DeleteBlockDeviceSnapshotParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the delete block device snapshot params
func (*DeleteBlockDeviceSnapshotParams) SetContext ¶ added in v0.2.20
func (o *DeleteBlockDeviceSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the delete block device snapshot params
func (*DeleteBlockDeviceSnapshotParams) SetDefaults ¶ added in v0.2.20
func (o *DeleteBlockDeviceSnapshotParams) SetDefaults()
SetDefaults hydrates default values in the delete block device snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteBlockDeviceSnapshotParams) SetHTTPClient ¶ added in v0.2.20
func (o *DeleteBlockDeviceSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete block device snapshot params
func (*DeleteBlockDeviceSnapshotParams) SetID ¶ added in v0.2.20
func (o *DeleteBlockDeviceSnapshotParams) SetID(id string)
SetID adds the id to the delete block device snapshot params
func (*DeleteBlockDeviceSnapshotParams) SetId1 ¶ added in v0.2.20
func (o *DeleteBlockDeviceSnapshotParams) SetId1(id1 string)
SetId1 adds the id1 to the delete block device snapshot params
func (*DeleteBlockDeviceSnapshotParams) SetTimeout ¶ added in v0.2.20
func (o *DeleteBlockDeviceSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete block device snapshot params
func (*DeleteBlockDeviceSnapshotParams) WithAPIVersion ¶ added in v0.2.20
func (o *DeleteBlockDeviceSnapshotParams) WithAPIVersion(aPIVersion *string) *DeleteBlockDeviceSnapshotParams
WithAPIVersion adds the aPIVersion to the delete block device snapshot params
func (*DeleteBlockDeviceSnapshotParams) WithContext ¶ added in v0.2.20
func (o *DeleteBlockDeviceSnapshotParams) WithContext(ctx context.Context) *DeleteBlockDeviceSnapshotParams
WithContext adds the context to the delete block device snapshot params
func (*DeleteBlockDeviceSnapshotParams) WithDefaults ¶ added in v0.2.20
func (o *DeleteBlockDeviceSnapshotParams) WithDefaults() *DeleteBlockDeviceSnapshotParams
WithDefaults hydrates default values in the delete block device snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteBlockDeviceSnapshotParams) WithHTTPClient ¶ added in v0.2.20
func (o *DeleteBlockDeviceSnapshotParams) WithHTTPClient(client *http.Client) *DeleteBlockDeviceSnapshotParams
WithHTTPClient adds the HTTPClient to the delete block device snapshot params
func (*DeleteBlockDeviceSnapshotParams) WithID ¶ added in v0.2.20
func (o *DeleteBlockDeviceSnapshotParams) WithID(id string) *DeleteBlockDeviceSnapshotParams
WithID adds the id to the delete block device snapshot params
func (*DeleteBlockDeviceSnapshotParams) WithId1 ¶ added in v0.2.20
func (o *DeleteBlockDeviceSnapshotParams) WithId1(id1 string) *DeleteBlockDeviceSnapshotParams
WithId1 adds the id1 to the delete block device snapshot params
func (*DeleteBlockDeviceSnapshotParams) WithTimeout ¶ added in v0.2.20
func (o *DeleteBlockDeviceSnapshotParams) WithTimeout(timeout time.Duration) *DeleteBlockDeviceSnapshotParams
WithTimeout adds the timeout to the delete block device snapshot params
func (*DeleteBlockDeviceSnapshotParams) WriteToRequest ¶ added in v0.2.20
func (o *DeleteBlockDeviceSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteBlockDeviceSnapshotReader ¶ added in v0.2.20
type DeleteBlockDeviceSnapshotReader struct {
// contains filtered or unexported fields
}
DeleteBlockDeviceSnapshotReader is a Reader for the DeleteBlockDeviceSnapshot structure.
func (*DeleteBlockDeviceSnapshotReader) ReadResponse ¶ added in v0.2.20
func (o *DeleteBlockDeviceSnapshotReader) 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 describes a response with status code 202, 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 {
Payload *models.ServiceErrorResponse
}
DeleteMachineDiskForbidden describes a response with status code 403, 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
func (*DeleteMachineDiskForbidden) GetPayload ¶ added in v0.2.20
func (o *DeleteMachineDiskForbidden) GetPayload() *models.ServiceErrorResponse
type DeleteMachineDiskNoContent ¶ added in v0.2.2
type DeleteMachineDiskNoContent struct { }
DeleteMachineDiskNoContent describes a response with status code 204, 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 /* DiskID. The ID of the disk. */ DiskID string /* ID. The ID of the machine. */ ID 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteMachineDiskParamsWithContext ¶
func NewDeleteMachineDiskParamsWithContext(ctx context.Context) *DeleteMachineDiskParams
NewDeleteMachineDiskParamsWithContext creates a new DeleteMachineDiskParams object with 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 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 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) SetDefaults ¶ added in v0.2.20
func (o *DeleteMachineDiskParams) SetDefaults()
SetDefaults hydrates default values in the delete machine disk params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteMachineDiskParams) SetDiskID ¶ added in v0.4.0
func (o *DeleteMachineDiskParams) SetDiskID(diskID string)
SetDiskID adds the diskId 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) 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) WithDefaults ¶ added in v0.2.20
func (o *DeleteMachineDiskParams) WithDefaults() *DeleteMachineDiskParams
WithDefaults hydrates default values in the delete machine disk params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteMachineDiskParams) WithDiskID ¶ added in v0.4.0
func (o *DeleteMachineDiskParams) WithDiskID(diskID string) *DeleteMachineDiskParams
WithDiskID adds the diskID 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) 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 {
Payload *models.ServiceErrorResponse
}
GetBlockDeviceForbidden describes a response with status code 403, 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
func (*GetBlockDeviceForbidden) GetPayload ¶ added in v0.2.20
func (o *GetBlockDeviceForbidden) GetPayload() *models.ServiceErrorResponse
type GetBlockDeviceNotFound ¶ added in v0.2.6
GetBlockDeviceNotFound describes a response with status code 404, 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 describes a response with status code 200, 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetBlockDeviceParamsWithContext ¶
func NewGetBlockDeviceParamsWithContext(ctx context.Context) *GetBlockDeviceParams
NewGetBlockDeviceParamsWithContext creates a new GetBlockDeviceParams object with 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 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 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) SetDefaults ¶ added in v0.2.20
func (o *GetBlockDeviceParams) SetDefaults()
SetDefaults hydrates default values in the get block device params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v0.2.20
func (o *GetBlockDeviceParams) WithDefaults() *GetBlockDeviceParams
WithDefaults hydrates default values in the get block device params (not the query body).
All values with no default are reset to their zero value.
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 {
Payload *models.ServiceErrorResponse
}
GetBlockDevicesForbidden describes a response with status code 403, 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
func (*GetBlockDevicesForbidden) GetPayload ¶ added in v0.2.20
func (o *GetBlockDevicesForbidden) GetPayload() *models.ServiceErrorResponse
type GetBlockDevicesOK ¶
type GetBlockDevicesOK struct {
Payload *models.BlockDeviceResult
}
GetBlockDevicesOK describes a response with status code 200, 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 { /* DollarCount. Flag which when specified shows the total number of records. If the collection has a filter it shows the number of records matching the filter. */ DollarCount *bool /* DollarFilter. Filter the results by a specified predicate expression. Operators: eq, ne, and, or. */ DollarFilter *string /* DollarSelect. Select a subset of properties to include in the response. */ DollarSelect *string /* DollarSkip. Number of records you want to skip. */ DollarSkip *int64 /* DollarTop. Number of records you want to get. */ DollarTop *int64 /* 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetBlockDevicesParamsWithContext ¶
func NewGetBlockDevicesParamsWithContext(ctx context.Context) *GetBlockDevicesParams
NewGetBlockDevicesParamsWithContext creates a new GetBlockDevicesParams object with 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 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 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) SetDefaults ¶ added in v0.2.20
func (o *GetBlockDevicesParams) SetDefaults()
SetDefaults hydrates default values in the get block devices params (not the query body).
All values with no default are reset to their zero value.
func (*GetBlockDevicesParams) SetDollarCount ¶ added in v0.2.20
func (o *GetBlockDevicesParams) SetDollarCount(dollarCount *bool)
SetDollarCount adds the dollarCount 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) SetDollarSelect ¶ added in v0.2.20
func (o *GetBlockDevicesParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the get block devices params
func (*GetBlockDevicesParams) SetDollarSkip ¶ added in v0.2.20
func (o *GetBlockDevicesParams) SetDollarSkip(dollarSkip *int64)
SetDollarSkip adds the dollarSkip to the get block devices params
func (*GetBlockDevicesParams) SetDollarTop ¶ added in v0.2.20
func (o *GetBlockDevicesParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop 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) WithDefaults ¶ added in v0.2.20
func (o *GetBlockDevicesParams) WithDefaults() *GetBlockDevicesParams
WithDefaults hydrates default values in the get block devices params (not the query body).
All values with no default are reset to their zero value.
func (*GetBlockDevicesParams) WithDollarCount ¶ added in v0.2.20
func (o *GetBlockDevicesParams) WithDollarCount(dollarCount *bool) *GetBlockDevicesParams
WithDollarCount adds the dollarCount 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) WithDollarSelect ¶ added in v0.2.20
func (o *GetBlockDevicesParams) WithDollarSelect(dollarSelect *string) *GetBlockDevicesParams
WithDollarSelect adds the dollarSelect to the get block devices params
func (*GetBlockDevicesParams) WithDollarSkip ¶ added in v0.2.20
func (o *GetBlockDevicesParams) WithDollarSkip(dollarSkip *int64) *GetBlockDevicesParams
WithDollarSkip adds the dollarSkip to the get block devices params
func (*GetBlockDevicesParams) WithDollarTop ¶ added in v0.2.20
func (o *GetBlockDevicesParams) WithDollarTop(dollarTop *int64) *GetBlockDevicesParams
WithDollarTop adds the dollarTop 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 {
Payload *models.ServiceErrorResponse
}
GetDiskSnapshotForbidden describes a response with status code 403, 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
func (*GetDiskSnapshotForbidden) GetPayload ¶ added in v0.2.20
func (o *GetDiskSnapshotForbidden) GetPayload() *models.ServiceErrorResponse
type GetDiskSnapshotNotFound ¶ added in v0.2.14
GetDiskSnapshotNotFound describes a response with status code 404, 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 describes a response with status code 200, 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 disk. */ 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetDiskSnapshotParamsWithContext ¶ added in v0.2.14
func NewGetDiskSnapshotParamsWithContext(ctx context.Context) *GetDiskSnapshotParams
NewGetDiskSnapshotParamsWithContext creates a new GetDiskSnapshotParams object with 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 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 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) SetDefaults ¶ added in v0.2.20
func (o *GetDiskSnapshotParams) SetDefaults()
SetDefaults hydrates default values in the get disk snapshot params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v0.2.20
func (o *GetDiskSnapshotParams) WithDefaults() *GetDiskSnapshotParams
WithDefaults hydrates default values in the get disk snapshot params (not the query body).
All values with no default are reset to their zero value.
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 {
Payload *models.ServiceErrorResponse
}
GetDiskSnapshotsForbidden describes a response with status code 403, 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
func (*GetDiskSnapshotsForbidden) GetPayload ¶ added in v0.2.20
func (o *GetDiskSnapshotsForbidden) GetPayload() *models.ServiceErrorResponse
type GetDiskSnapshotsNotFound ¶ added in v0.2.14
GetDiskSnapshotsNotFound describes a response with status code 404, 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 describes a response with status code 200, 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetDiskSnapshotsParamsWithContext ¶ added in v0.2.14
func NewGetDiskSnapshotsParamsWithContext(ctx context.Context) *GetDiskSnapshotsParams
NewGetDiskSnapshotsParamsWithContext creates a new GetDiskSnapshotsParams object with 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 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 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) SetDefaults ¶ added in v0.2.20
func (o *GetDiskSnapshotsParams) SetDefaults()
SetDefaults hydrates default values in the get disk snapshots params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v0.2.20
func (o *GetDiskSnapshotsParams) WithDefaults() *GetDiskSnapshotsParams
WithDefaults hydrates default values in the get disk snapshots params (not the query body).
All values with no default are reset to their zero value.
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 {
Payload *models.ServiceErrorResponse
}
GetMachineDiskForbidden describes a response with status code 403, 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
func (*GetMachineDiskForbidden) GetPayload ¶ added in v0.2.20
func (o *GetMachineDiskForbidden) GetPayload() *models.ServiceErrorResponse
type GetMachineDiskNotFound ¶
GetMachineDiskNotFound describes a response with status code 404, 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 describes a response with status code 200, 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 /* DiskID. The ID of the disk. */ DiskID string /* ID. The ID of the machine. */ ID 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetMachineDiskParamsWithContext ¶
func NewGetMachineDiskParamsWithContext(ctx context.Context) *GetMachineDiskParams
NewGetMachineDiskParamsWithContext creates a new GetMachineDiskParams object with 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 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 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) SetDefaults ¶ added in v0.2.20
func (o *GetMachineDiskParams) SetDefaults()
SetDefaults hydrates default values in the get machine disk params (not the query body).
All values with no default are reset to their zero value.
func (*GetMachineDiskParams) SetDiskID ¶ added in v0.4.0
func (o *GetMachineDiskParams) SetDiskID(diskID string)
SetDiskID adds the diskId 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) 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) WithDefaults ¶ added in v0.2.20
func (o *GetMachineDiskParams) WithDefaults() *GetMachineDiskParams
WithDefaults hydrates default values in the get machine disk params (not the query body).
All values with no default are reset to their zero value.
func (*GetMachineDiskParams) WithDiskID ¶ added in v0.4.0
func (o *GetMachineDiskParams) WithDiskID(diskID string) *GetMachineDiskParams
WithDiskID adds the diskID 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) 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 {
Payload *models.ServiceErrorResponse
}
GetMachineDisksForbidden describes a response with status code 403, 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
func (*GetMachineDisksForbidden) GetPayload ¶ added in v0.2.20
func (o *GetMachineDisksForbidden) GetPayload() *models.ServiceErrorResponse
type GetMachineDisksNotFound ¶
GetMachineDisksNotFound describes a response with status code 404, 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 describes a response with status code 200, 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetMachineDisksParamsWithContext ¶
func NewGetMachineDisksParamsWithContext(ctx context.Context) *GetMachineDisksParams
NewGetMachineDisksParamsWithContext creates a new GetMachineDisksParams object with 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 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 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) SetDefaults ¶ added in v0.2.20
func (o *GetMachineDisksParams) SetDefaults()
SetDefaults hydrates default values in the get machine disks params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v0.2.20
func (o *GetMachineDisksParams) WithDefaults() *GetMachineDisksParams
WithDefaults hydrates default values in the get machine disks params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 202, 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 {
Payload *models.ServiceErrorResponse
}
PromoteDiskForbidden describes a response with status code 403, 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
func (*PromoteDiskForbidden) GetPayload ¶ added in v0.2.20
func (o *PromoteDiskForbidden) GetPayload() *models.ServiceErrorResponse
type PromoteDiskNotFound ¶ added in v0.2.14
PromoteDiskNotFound describes a response with status code 404, 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPromoteDiskParamsWithContext ¶ added in v0.2.14
func NewPromoteDiskParamsWithContext(ctx context.Context) *PromoteDiskParams
NewPromoteDiskParamsWithContext creates a new PromoteDiskParams object with 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 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 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) SetDefaults ¶ added in v0.2.20
func (o *PromoteDiskParams) SetDefaults()
SetDefaults hydrates default values in the promote disk params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v0.2.20
func (o *PromoteDiskParams) WithDefaults() *PromoteDiskParams
WithDefaults hydrates default values in the promote disk params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 202, 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 {
Payload *models.ServiceErrorResponse
}
ResizeBlockDeviceForbidden describes a response with status code 403, 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
func (*ResizeBlockDeviceForbidden) GetPayload ¶ added in v0.2.20
func (o *ResizeBlockDeviceForbidden) GetPayload() *models.ServiceErrorResponse
type ResizeBlockDeviceNoContent ¶ added in v0.2.6
type ResizeBlockDeviceNoContent struct { }
ResizeBlockDeviceNoContent describes a response with status code 204, 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 Format: int32 */ 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewResizeBlockDeviceParamsWithContext ¶ added in v0.2.6
func NewResizeBlockDeviceParamsWithContext(ctx context.Context) *ResizeBlockDeviceParams
NewResizeBlockDeviceParamsWithContext creates a new ResizeBlockDeviceParams object with 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 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 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) SetDefaults ¶ added in v0.2.20
func (o *ResizeBlockDeviceParams) SetDefaults()
SetDefaults hydrates default values in the resize block device params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v0.2.20
func (o *ResizeBlockDeviceParams) WithDefaults() *ResizeBlockDeviceParams
WithDefaults hydrates default values in the resize block device params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 202, 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 {
Payload *models.ServiceErrorResponse
}
RevertDiskSnapshotForbidden describes a response with status code 403, 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
func (*RevertDiskSnapshotForbidden) GetPayload ¶ added in v0.2.20
func (o *RevertDiskSnapshotForbidden) GetPayload() *models.ServiceErrorResponse
type RevertDiskSnapshotNotFound ¶ added in v0.2.14
RevertDiskSnapshotNotFound describes a response with status code 404, 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRevertDiskSnapshotParamsWithContext ¶ added in v0.2.14
func NewRevertDiskSnapshotParamsWithContext(ctx context.Context) *RevertDiskSnapshotParams
NewRevertDiskSnapshotParamsWithContext creates a new RevertDiskSnapshotParams object with 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 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 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) SetDefaults ¶ added in v0.2.20
func (o *RevertDiskSnapshotParams) SetDefaults()
SetDefaults hydrates default values in the revert disk snapshot params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v0.2.20
func (o *RevertDiskSnapshotParams) WithDefaults() *RevertDiskSnapshotParams
WithDefaults hydrates default values in the revert disk snapshot params (not the query body).
All values with no default are reset to their zero value.
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_block_device_snapshot_parameters.go
- create_block_device_snapshot_responses.go
- delete_block_device_parameters.go
- delete_block_device_responses.go
- delete_block_device_snapshot_parameters.go
- delete_block_device_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