Documentation ¶
Index ¶
- type IBMPICloneVolumeClient
- func (f *IBMPICloneVolumeClient) Create(cloneParams *p_cloud_volumes.PcloudV2VolumesClonePostParams, ...) (*models.CloneTaskReference, error)
- func (f *IBMPICloneVolumeClient) DeleteClone(cloneParams *p_cloud_volumes.PcloudV2VolumescloneDeleteParams, ...) (models.Object, error)
- func (f *IBMPICloneVolumeClient) Get(cloneGetParams *p_cloud_volumes.PcloudV2VolumesClonetasksGetParams, ...) (*models.CloneTaskStatus, error)
- type IBMPICloudConnectionClient
- func (f *IBMPICloudConnectionClient) AddNetwork(...) (*models.CloudConnection, error)
- func (f *IBMPICloudConnectionClient) Create(pclouddef *p_cloud_cloud_connections.PcloudCloudconnectionsPostParams, ...) (*models.CloudConnection, error)
- func (f *IBMPICloudConnectionClient) Delete(pclouddef *p_cloud_cloud_connections.PcloudCloudconnectionsDeleteParams) (models.Object, error)
- func (f *IBMPICloudConnectionClient) DeleteNetwork(...) (*models.CloudConnection, error)
- func (f *IBMPICloudConnectionClient) Get(pclouddef *p_cloud_cloud_connections.PcloudCloudconnectionsGetParams) (*models.CloudConnection, error)
- func (f *IBMPICloudConnectionClient) GetAll(pclouddef *p_cloud_cloud_connections.PcloudCloudconnectionsGetParams) (*models.CloudConnections, error)
- func (f *IBMPICloudConnectionClient) Update(updateparams *p_cloud_cloud_connections.PcloudCloudconnectionsPutParams) (*models.CloudConnection, error)
- func (f *IBMPICloudConnectionClient) UpdateNetwork(...) (*models.CloudConnection, error)
- type IBMPICloudInstanceClient
- type IBMPIHelperClient
- type IBMPIImageClient
- func (f *IBMPIImageClient) Create(name, imageid string, powerinstanceid string) (*models.Image, error)
- func (f *IBMPIImageClient) Delete(id string, powerinstanceid string) error
- func (f *IBMPIImageClient) Get(id, powerinstanceid string) (*models.Image, error)
- func (f *IBMPIImageClient) GetAll(powerinstanceid string) (*models.Images, error)
- func (f *IBMPIImageClient) GetStockImages(powerinstanceid string) (*models.Images, error)
- type IBMPIInstanceClient
- func (f *IBMPIInstanceClient) Action(poweractionparams *p_cloud_p_vm_instances.PcloudPvminstancesActionPostParams, ...) (models.Object, error)
- func (f *IBMPIInstanceClient) AddNetwork(powerinstanceid, pvminstanceid string, ...) (*models.PVMInstanceNetwork, error)
- func (f *IBMPIInstanceClient) CaptureInstanceToImageCatalog(id, powerinstanceid string, ...) (models.Object, error)
- func (f *IBMPIInstanceClient) Create(powerdef *p_cloud_p_vm_instances.PcloudPvminstancesPostParams, ...) (*models.PVMInstanceList, error)
- func (f *IBMPIInstanceClient) CreateClone(clonedef *p_cloud_p_vm_instances.PcloudPvminstancesClonePostParams, ...) (*models.PVMInstance, error)
- func (f *IBMPIInstanceClient) CreatePvmSnapShot(snapshotdef *p_cloud_p_vm_instances.PcloudPvminstancesSnapshotsPostParams, ...) (*models.SnapshotCreateResponse, error)
- func (f *IBMPIInstanceClient) CreateSAP(powerdef *p_cloud_s_a_p.PcloudSapPostParams, powerinstanceid string, ...) (*models.PVMInstanceList, error)
- func (f *IBMPIInstanceClient) Delete(id, powerinstanceid string, timeout time.Duration) error
- func (f *IBMPIInstanceClient) Get(id, powerinstanceid string, timeout time.Duration) (*models.PVMInstance, error)
- func (f *IBMPIInstanceClient) GetAll(powerinstanceid string, timeout time.Duration) (*models.PVMInstances, error)
- func (f *IBMPIInstanceClient) GetSAPProfiles(powerinstanceid string) (*models.SAPProfiles, error)
- func (f *IBMPIInstanceClient) GetSnapShotVM(powerinstanceid, pvminstanceid string, timeout time.Duration) (*models.Snapshots, error)
- func (f *IBMPIInstanceClient) PostConsoleURL(id, powerinstanceid string, timeout time.Duration) (models.Object, error)
- func (f *IBMPIInstanceClient) RestoreSnapShotVM(powerinstanceid, pvminstanceid, snapshotid, restoreAction string, ...) (*models.Snapshot, error)
- func (f *IBMPIInstanceClient) Update(id, powerinstanceid string, ...) (*models.PVMInstanceUpdateResponse, error)
- type IBMPIKeyClient
- type IBMPINetworkClient
- func (f *IBMPINetworkClient) AttachPort(powerinstanceid, network_id, port_id, description, pvminstanceid string, ...) (*models.NetworkPort, error)
- func (f *IBMPINetworkClient) Create(name string, networktype string, cidr string, dnsservers []string, ...) (*models.Network, *models.Network, error)
- func (f *IBMPINetworkClient) CreatePort(id string, powerinstanceid string, ...) (*models.NetworkPort, error)
- func (f *IBMPINetworkClient) Delete(id string, powerinstanceid string, timeout time.Duration) error
- func (f *IBMPINetworkClient) DeletePort(networkid string, powerinstanceid string, portid string, timeout time.Duration) (*models.Object, error)
- func (f *IBMPINetworkClient) DetachPort(powerinstanceid, network_id, port_id string, timeout time.Duration) (*models.NetworkPort, error)
- func (f *IBMPINetworkClient) Get(id, powerinstanceid string, timeout time.Duration) (*models.Network, error)
- func (f *IBMPINetworkClient) GetAllPort(id string, powerinstanceid string, timeout time.Duration) (*models.NetworkPorts, error)
- func (f *IBMPINetworkClient) GetPort(id string, powerinstanceid string, network_port_id string, ...) (*models.NetworkPort, error)
- func (f *IBMPINetworkClient) GetPublic(cloud_instance_id string, timeout time.Duration) (*models.Networks, error)
- type IBMPISAPInstanceClient
- type IBMPISnapshotClient
- func (f *IBMPISnapshotClient) Create(pvminstanceid, powerinstanceid, snapshotid, restorefailAction string, ...) (*models.Snapshot, error)
- func (f *IBMPISnapshotClient) Delete(id string, powerinstanceid string, timeout time.Duration) error
- func (f *IBMPISnapshotClient) Get(id, powerinstanceid string, timeout time.Duration) (*models.Snapshot, error)
- func (f *IBMPISnapshotClient) GetAll(id, powerinstanceid string, timeout time.Duration) (*models.Snapshots, error)
- func (f *IBMPISnapshotClient) Update(id, powerinstanceid string, snapshotdef *models.SnapshotUpdate, ...) (models.Object, error)
- type IBMPISystemPoolClient
- type IBMPITaskClient
- type IBMPITenantClient
- type IBMPIVolumeClient
- func (f *IBMPIVolumeClient) Attach(id, volumename string, powerinstanceid string, timeout time.Duration) (models.Object, error)
- func (f *IBMPIVolumeClient) CheckVolumeAttach(cloud_instance_id, pvm_instance_id, volume_id string, timeout time.Duration) (*models.Volume, error)
- func (f *IBMPIVolumeClient) Create(volumename string, volumesize float64, volumetype string, volumeshareable bool, ...) (*models.Volume, error)
- func (f *IBMPIVolumeClient) CreateVolume(create_vol_defs *p_cloud_volumes.PcloudCloudinstancesVolumesPostParams, ...) (*models.Volume, error)
- func (f *IBMPIVolumeClient) Delete(id string, powerinstanceid string, timeout time.Duration) error
- func (f *IBMPIVolumeClient) DeleteVolume(id string, powerinstanceid string, timeout time.Duration) error
- func (f *IBMPIVolumeClient) Detach(id, volumename string, powerinstanceid string, timeout time.Duration) (models.Object, error)
- func (f *IBMPIVolumeClient) Get(id, powerinstanceid string, timeout time.Duration) (*models.Volume, error)
- func (f *IBMPIVolumeClient) GetAll(id, cloud_instance_id string, timeout time.Duration) (*models.Volumes, error)
- func (f *IBMPIVolumeClient) SetBootVolume(id, volumename, cloud_instance_id string, timeout time.Duration) (models.Object, error)
- func (f *IBMPIVolumeClient) Update(id, volumename string, volumesize float64, volumeshare bool, ...) (*models.Volume, error)
- func (f *IBMPIVolumeClient) UpdateVolume(update_vol_defs *p_cloud_volumes.PcloudCloudinstancesVolumesPutParams, ...) (*models.Volume, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IBMPICloneVolumeClient ¶ added in v1.0.1
type IBMPICloneVolumeClient struct {
// contains filtered or unexported fields
}
func NewIBMPICloneVolumeClient ¶ added in v1.0.1
func NewIBMPICloneVolumeClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPICloneVolumeClient
NewSnapShotClient ...
func (*IBMPICloneVolumeClient) Create ¶ added in v1.0.1
func (f *IBMPICloneVolumeClient) Create(cloneParams *p_cloud_volumes.PcloudV2VolumesClonePostParams, timeout time.Duration) (*models.CloneTaskReference, error)
Create a clone volume using V2 of the API - This creates a clone
func (*IBMPICloneVolumeClient) DeleteClone ¶ added in v1.0.48
func (f *IBMPICloneVolumeClient) DeleteClone(cloneParams *p_cloud_volumes.PcloudV2VolumescloneDeleteParams, id, cloudinstance string, timeout time.Duration) (models.Object, error)
Delete a clone
func (*IBMPICloneVolumeClient) Get ¶ added in v1.0.49
func (f *IBMPICloneVolumeClient) Get(cloneGetParams *p_cloud_volumes.PcloudV2VolumesClonetasksGetParams, timeout time.Duration) (*models.CloneTaskStatus, error)
type IBMPICloudConnectionClient ¶ added in v1.0.49
type IBMPICloudConnectionClient struct {
// contains filtered or unexported fields
}
func NewIBMPICloudConnectionClient ¶ added in v1.0.49
func NewIBMPICloudConnectionClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPICloudConnectionClient
func (*IBMPICloudConnectionClient) AddNetwork ¶ added in v1.0.49
func (f *IBMPICloudConnectionClient) AddNetwork(pcloudnetworkdef *p_cloud_cloud_connections.PcloudCloudconnectionsNetworksPutParams) (*models.CloudConnection, error)
Add a network to a cloud connection
func (*IBMPICloudConnectionClient) Create ¶ added in v1.0.49
func (f *IBMPICloudConnectionClient) Create(pclouddef *p_cloud_cloud_connections.PcloudCloudconnectionsPostParams, powerinstanceid string) (*models.CloudConnection, error)
func (*IBMPICloudConnectionClient) Delete ¶ added in v1.0.49
func (f *IBMPICloudConnectionClient) Delete(pclouddef *p_cloud_cloud_connections.PcloudCloudconnectionsDeleteParams) (models.Object, error)
func (*IBMPICloudConnectionClient) DeleteNetwork ¶ added in v1.0.49
func (f *IBMPICloudConnectionClient) DeleteNetwork(pcloudnetworkdef *p_cloud_cloud_connections.PcloudCloudconnectionsNetworksDeleteParams) (*models.CloudConnection, error)
func (*IBMPICloudConnectionClient) Get ¶ added in v1.0.49
func (f *IBMPICloudConnectionClient) Get(pclouddef *p_cloud_cloud_connections.PcloudCloudconnectionsGetParams) (*models.CloudConnection, error)
gets a cloud connection s state information
func (*IBMPICloudConnectionClient) GetAll ¶ added in v1.0.49
func (f *IBMPICloudConnectionClient) GetAll(pclouddef *p_cloud_cloud_connections.PcloudCloudconnectionsGetParams) (*models.CloudConnections, error)
gets a cloud connection s state information
func (*IBMPICloudConnectionClient) Update ¶ added in v1.0.49
func (f *IBMPICloudConnectionClient) Update(updateparams *p_cloud_cloud_connections.PcloudCloudconnectionsPutParams) (*models.CloudConnection, error)
func (*IBMPICloudConnectionClient) UpdateNetwork ¶ added in v1.0.49
func (f *IBMPICloudConnectionClient) UpdateNetwork(pcloudnetworkdef *p_cloud_cloud_connections.PcloudCloudconnectionsNetworksPutParams) (*models.CloudConnection, error)
type IBMPICloudInstanceClient ¶ added in v1.0.24
type IBMPICloudInstanceClient struct {
// contains filtered or unexported fields
}
func NewIBMPICloudInstanceClient ¶ added in v1.0.24
func NewIBMPICloudInstanceClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPICloudInstanceClient
IBMPICloudInstanceClient ...
func (*IBMPICloudInstanceClient) Delete ¶ added in v1.0.24
func (f *IBMPICloudInstanceClient) Delete(powerinstanceid string) (models.Object, error)
func (*IBMPICloudInstanceClient) Get ¶ added in v1.0.24
func (f *IBMPICloudInstanceClient) Get(powerinstanceid string) (*models.CloudInstance, error)
Get information about a cloud instance
func (*IBMPICloudInstanceClient) Update ¶ added in v1.0.24
func (f *IBMPICloudInstanceClient) Update(powerinstanceid string, updateparams *p_cloud_instances.PcloudCloudinstancesPutParams) (*models.CloudInstance, error)
type IBMPIHelperClient ¶
type IBMPIHelperClient struct {
// contains filtered or unexported fields
}
func NewIBMPIHelperClient ¶
func NewIBMPIHelperClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPIHelperClient
NewPowerImageClient ...
type IBMPIImageClient ¶
type IBMPIImageClient struct {
// contains filtered or unexported fields
}
func NewIBMPIImageClient ¶
func NewIBMPIImageClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPIImageClient
NewPowerImageClient ...
func (*IBMPIImageClient) Delete ¶
func (f *IBMPIImageClient) Delete(id string, powerinstanceid string) error
Delete ...
func (*IBMPIImageClient) Get ¶
func (f *IBMPIImageClient) Get(id, powerinstanceid string) (*models.Image, error)
func (*IBMPIImageClient) GetAll ¶
func (f *IBMPIImageClient) GetAll(powerinstanceid string) (*models.Images, error)
func (*IBMPIImageClient) GetStockImages ¶ added in v1.0.45
func (f *IBMPIImageClient) GetStockImages(powerinstanceid string) (*models.Images, error)
type IBMPIInstanceClient ¶
type IBMPIInstanceClient struct {
// contains filtered or unexported fields
}
ChangeLog
2020-June-05 : Added the timeout variable to the clients since a lot of the SB / Powervc calls are timing out.
func NewIBMPIInstanceClient ¶
func NewIBMPIInstanceClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPIInstanceClient
NewIBMPIInstanceClient ...
func (*IBMPIInstanceClient) Action ¶
func (f *IBMPIInstanceClient) Action(poweractionparams *p_cloud_p_vm_instances.PcloudPvminstancesActionPostParams, id, powerinstanceid string, timeout time.Duration) (models.Object, error)
PVM Instances Operations
func (*IBMPIInstanceClient) AddNetwork ¶ added in v1.0.30
func (f *IBMPIInstanceClient) AddNetwork(powerinstanceid, pvminstanceid string, networkdef *p_cloud_p_vm_instances.PcloudPvminstancesNetworksPostParams, timeout time.Duration) (*models.PVMInstanceNetwork, error)
func (*IBMPIInstanceClient) CaptureInstanceToImageCatalog ¶
func (f *IBMPIInstanceClient) CaptureInstanceToImageCatalog(id, powerinstanceid string, picaptureparams *p_cloud_p_vm_instances.PcloudPvminstancesCapturePostParams, timeout time.Duration) (models.Object, error)
func (*IBMPIInstanceClient) Create ¶
func (f *IBMPIInstanceClient) Create(powerdef *p_cloud_p_vm_instances.PcloudPvminstancesPostParams, powerinstanceid string, timeout time.Duration) (*models.PVMInstanceList, error)
func (*IBMPIInstanceClient) CreateClone ¶ added in v1.0.4
func (f *IBMPIInstanceClient) CreateClone(clonedef *p_cloud_p_vm_instances.PcloudPvminstancesClonePostParams, pvminstanceid, powerinstanceid string) (*models.PVMInstance, error)
func (*IBMPIInstanceClient) CreatePvmSnapShot ¶ added in v1.0.1
func (f *IBMPIInstanceClient) CreatePvmSnapShot(snapshotdef *p_cloud_p_vm_instances.PcloudPvminstancesSnapshotsPostParams, pvminstanceid, powerinstanceid string, timeout time.Duration) (*models.SnapshotCreateResponse, error)
Create a snapshot of the instance
func (*IBMPIInstanceClient) CreateSAP ¶ added in v1.0.23
func (f *IBMPIInstanceClient) CreateSAP(powerdef *p_cloud_s_a_p.PcloudSapPostParams, powerinstanceid string, timeout time.Duration) (*models.PVMInstanceList, error)
func (*IBMPIInstanceClient) Delete ¶
func (f *IBMPIInstanceClient) Delete(id, powerinstanceid string, timeout time.Duration) error
PVM Instances Delete
func (*IBMPIInstanceClient) Get ¶
func (f *IBMPIInstanceClient) Get(id, powerinstanceid string, timeout time.Duration) (*models.PVMInstance, error)
Get information about a single pvm only
func (*IBMPIInstanceClient) GetAll ¶ added in v1.0.23
func (f *IBMPIInstanceClient) GetAll(powerinstanceid string, timeout time.Duration) (*models.PVMInstances, error)
func (*IBMPIInstanceClient) GetSAPProfiles ¶ added in v1.0.23
func (f *IBMPIInstanceClient) GetSAPProfiles(powerinstanceid string) (*models.SAPProfiles, error)
func (*IBMPIInstanceClient) GetSnapShotVM ¶ added in v1.0.22
func (*IBMPIInstanceClient) PostConsoleURL ¶
func (*IBMPIInstanceClient) RestoreSnapShotVM ¶ added in v1.0.23
func (f *IBMPIInstanceClient) RestoreSnapShotVM(powerinstanceid, pvminstanceid, snapshotid, restoreAction string, restoreparams *p_cloud_p_vm_instances.PcloudPvminstancesSnapshotsRestorePostParams, timeout time.Duration) (*models.Snapshot, error)
func (*IBMPIInstanceClient) Update ¶
func (f *IBMPIInstanceClient) Update(id, powerinstanceid string, powerupdateparams *p_cloud_p_vm_instances.PcloudPvminstancesPutParams, timeout time.Duration) (*models.PVMInstanceUpdateResponse, error)
PVM Instances Update
type IBMPIKeyClient ¶
type IBMPIKeyClient struct {
// contains filtered or unexported fields
}
func NewIBMPIKeyClient ¶
func NewIBMPIKeyClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPIKeyClient
type IBMPINetworkClient ¶
type IBMPINetworkClient struct {
// contains filtered or unexported fields
}
func NewIBMPINetworkClient ¶
func NewIBMPINetworkClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPINetworkClient
NewPowerImageClient ...
func (*IBMPINetworkClient) AttachPort ¶ added in v1.0.30
func (f *IBMPINetworkClient) AttachPort(powerinstanceid, network_id, port_id, description, pvminstanceid string, timeout time.Duration) (*models.NetworkPort, error)
func (*IBMPINetworkClient) CreatePort ¶
func (f *IBMPINetworkClient) CreatePort(id string, powerinstanceid string, networkportdef *p_cloud_networks.PcloudNetworksPortsPostParams, timeout time.Duration) (*models.NetworkPort, error)
func (*IBMPINetworkClient) DeletePort ¶
func (*IBMPINetworkClient) DetachPort ¶ added in v1.0.30
func (f *IBMPINetworkClient) DetachPort(powerinstanceid, network_id, port_id string, timeout time.Duration) (*models.NetworkPort, error)
func (*IBMPINetworkClient) GetAllPort ¶
func (f *IBMPINetworkClient) GetAllPort(id string, powerinstanceid string, timeout time.Duration) (*models.NetworkPorts, error)
Get all
type IBMPISAPInstanceClient ¶ added in v1.0.25
type IBMPISAPInstanceClient struct {
// contains filtered or unexported fields
}
func NewIBMPISAPInstanceClient ¶ added in v1.0.25
func NewIBMPISAPInstanceClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPISAPInstanceClient
NewIBMPIInstanceClient ...
func (*IBMPISAPInstanceClient) Create ¶ added in v1.0.25
func (f *IBMPISAPInstanceClient) Create(sapdef *p_cloud_s_a_p.PcloudSapPostParams, id, powerinstanceid string) (*models.PVMInstanceList, error)
Create SAP System
type IBMPISnapshotClient ¶ added in v1.0.1
type IBMPISnapshotClient struct {
// contains filtered or unexported fields
}
func NewIBMPISnapshotClient ¶ added in v1.0.1
func NewIBMPISnapshotClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPISnapshotClient
NewSnapShotClient ...
func (*IBMPISnapshotClient) Delete ¶ added in v1.0.1
func (f *IBMPISnapshotClient) Delete(id string, powerinstanceid string, timeout time.Duration) error
Delete ...
func (*IBMPISnapshotClient) Get ¶ added in v1.0.1
func (f *IBMPISnapshotClient) Get(id, powerinstanceid string, timeout time.Duration) (*models.Snapshot, error)
Get information about a single snapshot only
type IBMPISystemPoolClient ¶ added in v1.0.7
type IBMPISystemPoolClient struct {
// contains filtered or unexported fields
}
func NewIBMPISystemPoolClient ¶ added in v1.0.7
func NewIBMPISystemPoolClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPISystemPoolClient
NewSnapShotClient ...
func (*IBMPISystemPoolClient) Get ¶ added in v1.0.7
func (f *IBMPISystemPoolClient) Get(powerinstanceid string) (models.SystemPools, error)
Get the System Pools
type IBMPITaskClient ¶ added in v1.0.46
type IBMPITaskClient struct {
// contains filtered or unexported fields
}
func NewIBMPITaskClient ¶ added in v1.0.46
func NewIBMPITaskClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPITaskClient
NewPowerImageClient ...
type IBMPITenantClient ¶
type IBMPITenantClient struct {
// contains filtered or unexported fields
}
func NewIBMPITenantClient ¶
func NewIBMPITenantClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPITenantClient
NewPowerImageClient ...
type IBMPIVolumeClient ¶
type IBMPIVolumeClient struct {
// contains filtered or unexported fields
}
func NewIBMPIVolumeClient ¶
func NewIBMPIVolumeClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPIVolumeClient
NewPowerVolumeClient ...
func (*IBMPIVolumeClient) CheckVolumeAttach ¶ added in v1.0.35
func (f *IBMPIVolumeClient) CheckVolumeAttach(cloud_instance_id, pvm_instance_id, volume_id string, timeout time.Duration) (*models.Volume, error)
Check if the volume is attached to the instance
func (*IBMPIVolumeClient) CreateVolume ¶ added in v1.0.39
func (f *IBMPIVolumeClient) CreateVolume(create_vol_defs *p_cloud_volumes.PcloudCloudinstancesVolumesPostParams, powerinstanceid string, timeout time.Duration) (*models.Volume, error)
CreateVolume
func (*IBMPIVolumeClient) DeleteVolume ¶ added in v1.0.39
func (f *IBMPIVolumeClient) DeleteVolume(id string, powerinstanceid string, timeout time.Duration) error
DeleteVolume
func (*IBMPIVolumeClient) Get ¶
func (f *IBMPIVolumeClient) Get(id, powerinstanceid string, timeout time.Duration) (*models.Volume, error)
Get information about a single volume only
func (*IBMPIVolumeClient) SetBootVolume ¶
func (*IBMPIVolumeClient) Update ¶
func (f *IBMPIVolumeClient) Update(id, volumename string, volumesize float64, volumeshare bool, powerinstanceid string, timeout time.Duration) (*models.Volume, error)
Update..
func (*IBMPIVolumeClient) UpdateVolume ¶ added in v1.0.39
func (f *IBMPIVolumeClient) UpdateVolume(update_vol_defs *p_cloud_volumes.PcloudCloudinstancesVolumesPutParams, volumeid, powerinstanceid string, timeout time.Duration) (*models.Volume, error)