Documentation ¶
Index ¶
- type IBMPPCClient
- type IBMPPCCloneVolumeClient
- func (f *IBMPPCCloneVolumeClient) Create(body *models.VolumesCloneAsyncRequest) (*models.CloneTaskReference, error)
- func (f *IBMPPCCloneVolumeClient) CreateV2Clone(body *models.VolumesCloneCreate) (*models.VolumesClone, error)
- func (f *IBMPPCCloneVolumeClient) DeleteClone(id string) error
- func (f *IBMPPCCloneVolumeClient) Get(cloneTaskID string) (*models.CloneTaskStatus, error)
- func (f *IBMPPCCloneVolumeClient) GetV2CloneStatus(cloneName string) (*models.VolumesCloneDetail, error)
- func (f *IBMPPCCloneVolumeClient) GetV2Clones(queryFilter string) (*models.VolumesClones, error)
- func (f *IBMPPCCloneVolumeClient) PrepareClone(volumesCloneID string) (*models.VolumesClone, error)
- func (f *IBMPPCCloneVolumeClient) StartClone(volumesCloneID string) (*models.VolumesClone, error)
- type IBMPPCCloudInstanceClient
- type IBMPPCDhcpClient
- type IBMPPCImageClient
- func (f *IBMPPCImageClient) Create(body *models.CreateImage) (*models.Image, error)
- func (f *IBMPPCImageClient) CreateCosImage(body *models.CreateCosImageImportJob) (imageJob *models.JobReference, err error)
- func (f *IBMPPCImageClient) Delete(id string) error
- func (f *IBMPPCImageClient) ExportImage(id string, body *models.ExportImage) (*models.JobReference, error)
- func (f *IBMPPCImageClient) Get(id string) (*models.Image, error)
- func (f *IBMPPCImageClient) GetAll() (*models.Images, error)
- func (f *IBMPPCImageClient) GetAllStockImages(includeSAP bool, includeVTl bool) (*models.Images, error)
- func (f *IBMPPCImageClient) GetAllStockSAPImages() (*models.Images, error)
- func (f *IBMPPCImageClient) GetAllStockVTLImages() (*models.Images, error)
- func (f *IBMPPCImageClient) GetStockImage(id string) (*models.Image, error)
- func (f *IBMPPCImageClient) IsVTLImage(imageId string) (bool, error)
- type IBMPPCInstanceClient
- func (f *IBMPPCInstanceClient) Action(id string, body *models.PVMInstanceAction) error
- func (f *IBMPPCInstanceClient) AddNetwork(id string, body *models.PVMInstanceAddNetwork) (*models.PVMInstanceNetwork, error)
- func (f *IBMPPCInstanceClient) CaptureInstanceToImageCatalog(id string, body *models.PVMInstanceCapture) error
- func (f *IBMPPCInstanceClient) CaptureInstanceToImageCatalogV2(id string, body *models.PVMInstanceCapture) (*models.JobReference, error)
- func (f *IBMPPCInstanceClient) Create(body *models.PVMInstanceCreate) (*models.PVMInstanceList, error)
- func (f *IBMPPCInstanceClient) CreateClone(id string, body *models.PVMInstanceClone) (*models.PVMInstance, error)
- func (f *IBMPPCInstanceClient) CreatePvmSnapShot(id string, body *models.SnapshotCreate) (*models.SnapshotCreateResponse, error)
- func (f *IBMPPCInstanceClient) Delete(id string) error
- func (f *IBMPPCInstanceClient) DeleteNetwork(id string, body *models.PVMInstanceRemoveNetwork) error
- func (f *IBMPPCInstanceClient) Get(id string) (*models.PVMInstance, error)
- func (f *IBMPPCInstanceClient) GetAll() (*models.PVMInstances, error)
- func (f *IBMPPCInstanceClient) GetConsoleLanguages(id string) (*models.ConsoleLanguages, error)
- func (f *IBMPPCInstanceClient) GetSnapShotVM(id string) (*models.Snapshots, error)
- func (f *IBMPPCInstanceClient) PostConsoleURL(id string) (*models.PVMInstanceConsole, error)
- func (f *IBMPPCInstanceClient) RestoreSnapShotVM(id, snapshotid, restoreAction string, body *models.SnapshotRestore) (*models.Snapshot, error)
- func (f *IBMPPCInstanceClient) Update(id string, body *models.PVMInstanceUpdate) (*models.PVMInstanceUpdateResponse, error)
- func (f *IBMPPCInstanceClient) UpdateConsoleLanguage(id string, body *models.ConsoleLanguage) (*models.ConsoleLanguage, error)
- type IBMPPCJobClient
- type IBMPPCKeyClient
- type IBMPPCNetworkClient
- func (f *IBMPPCNetworkClient) Create(body *models.NetworkCreate) (*models.Network, error)
- func (f *IBMPPCNetworkClient) CreatePort(id string, body *models.NetworkPortCreate) (*models.NetworkPort, error)
- func (f *IBMPPCNetworkClient) Delete(id string) error
- func (f *IBMPPCNetworkClient) DeletePort(id string, networkPortID string) error
- func (f *IBMPPCNetworkClient) Get(id string) (*models.Network, error)
- func (f *IBMPPCNetworkClient) GetAll() (*models.Networks, error)
- func (f *IBMPPCNetworkClient) GetAllPorts(id string) (*models.NetworkPorts, error)
- func (f *IBMPPCNetworkClient) GetAllPublic() (*models.Networks, error)
- func (f *IBMPPCNetworkClient) GetPort(id string, networkPortID string) (*models.NetworkPort, error)
- func (f *IBMPPCNetworkClient) Update(id string, body *models.NetworkUpdate) (*models.Network, error)
- func (f *IBMPPCNetworkClient) UpdatePort(id, networkPortID string, body *models.NetworkPortUpdate) (*models.NetworkPort, error)
- type IBMPPCPlacementGroupClient
- func (f *IBMPPCPlacementGroupClient) AddMember(id string, body *models.PlacementGroupServer) (*models.PlacementGroup, error)
- func (f *IBMPPCPlacementGroupClient) Create(body *models.PlacementGroupCreate) (*models.PlacementGroup, error)
- func (f *IBMPPCPlacementGroupClient) Delete(id string) error
- func (f *IBMPPCPlacementGroupClient) DeleteMember(id string, body *models.PlacementGroupServer) (*models.PlacementGroup, error)
- func (f *IBMPPCPlacementGroupClient) Get(id string) (*models.PlacementGroup, error)
- func (f *IBMPPCPlacementGroupClient) GetAll() (*models.PlacementGroups, error)
- type IBMPPCSAPInstanceClient
- type IBMPPCSnapshotClient
- func (f *IBMPPCSnapshotClient) Create(instanceID, snapshotID, restoreFailAction string) (*models.Snapshot, error)
- func (f *IBMPPCSnapshotClient) Delete(id string) error
- func (f *IBMPPCSnapshotClient) Get(id string) (*models.Snapshot, error)
- func (f *IBMPPCSnapshotClient) GetAll() (*models.Snapshots, error)
- func (f *IBMPPCSnapshotClient) Update(id string, body *models.SnapshotUpdate) (models.Object, error)
- type IBMPPCStorageCapacityClient
- func (f *IBMPPCStorageCapacityClient) GetAllStoragePoolsCapacity() (*models.StoragePoolsCapacity, error)
- func (f *IBMPPCStorageCapacityClient) GetAllStorageTypesCapacity() (*models.StorageTypesCapacity, error)
- func (f *IBMPPCStorageCapacityClient) GetStoragePoolCapacity(storagePool string) (*models.StoragePoolCapacity, error)
- func (f *IBMPPCStorageCapacityClient) GetStorageTypeCapacity(storageType string) (*models.StorageTypeCapacity, error)
- type IBMPPCSystemPoolClient
- type IBMPPCTaskClient
- type IBMPPCTenantClient
- type IBMPPCVolumeClient
- func (f *IBMPPCVolumeClient) Attach(id, volumename string) error
- func (f *IBMPPCVolumeClient) CheckVolumeAttach(id, volumeID string) (*models.Volume, error)
- func (f *IBMPPCVolumeClient) CreateVolume(body *models.CreateDataVolume) (*models.Volume, error)
- func (f *IBMPPCVolumeClient) CreateVolumeV2(body *models.MultiVolumesCreate) (*models.Volumes, error)
- func (f *IBMPPCVolumeClient) DeleteVolume(id string) error
- func (f *IBMPPCVolumeClient) Detach(id, volumename string) error
- func (f *IBMPPCVolumeClient) Get(id string) (*models.Volume, error)
- func (f *IBMPPCVolumeClient) GetAll() (*models.Volumes, error)
- func (f *IBMPPCVolumeClient) GetAllAffinityVolumes(affinity string) (*models.Volumes, error)
- func (f *IBMPPCVolumeClient) GetAllInstanceVolumes(id string) (*models.Volumes, error)
- func (f *IBMPPCVolumeClient) GetVolumeFlashCopyMappings(id string) (models.FlashCopyMappings, error)
- func (f *IBMPPCVolumeClient) GetVolumeRemoteCopyRelationships(id string) (*models.VolumeRemoteCopyRelationship, error)
- func (f *IBMPPCVolumeClient) SetBootVolume(id, volumename string) error
- func (f *IBMPPCVolumeClient) UpdateVolume(id string, body *models.UpdateVolume) (*models.Volume, error)
- func (f *IBMPPCVolumeClient) UpdateVolumeAttach(id, volumeID string, body *models.PVMInstanceVolumeUpdate) error
- func (f *IBMPPCVolumeClient) VolumeAction(id string, body *models.VolumeAction) error
- type IBMPPCVolumeGroupClient
- func (f *IBMPPCVolumeGroupClient) CreateVolumeGroup(body *models.VolumeGroupCreate) (*models.VolumeGroupCreateResponse, error)
- func (f *IBMPPCVolumeGroupClient) DeleteVolumeGroup(id string) error
- func (f *IBMPPCVolumeGroupClient) Get(id string) (*models.VolumeGroup, error)
- func (f *IBMPPCVolumeGroupClient) GetAll() (*models.VolumeGroups, error)
- func (f *IBMPPCVolumeGroupClient) GetAllDetails() (*models.VolumeGroupsDetails, error)
- func (f *IBMPPCVolumeGroupClient) GetDetails(id string) (*models.VolumeGroupDetails, error)
- func (f *IBMPPCVolumeGroupClient) GetVolumeGroupLiveDetails(id string) (*models.VolumeGroupStorageDetails, error)
- func (f *IBMPPCVolumeGroupClient) GetVolumeGroupRemoteCopyRelationships(id string) (*models.VolumeGroupRemoteCopyRelationships, error)
- func (f *IBMPPCVolumeGroupClient) UpdateVolumeGroup(id string, body *models.VolumeGroupUpdate) error
- func (f *IBMPPCVolumeGroupClient) VolumeGroupAction(id string, body *models.VolumeGroupAction) (models.Object, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IBMPPCClient ¶
type IBMPPCClient struct {
// contains filtered or unexported fields
}
IBMPPCHelperClient
func NewIBMPPCClient ¶
func NewIBMPPCClient(ctx context.Context, sess *ibmppcsession.IBMPPCSession, cloudInstanceID string) *IBMPPCClient
NewIBMPPCClient
type IBMPPCCloneVolumeClient ¶
type IBMPPCCloneVolumeClient struct {
IBMPPCClient
}
IBMPPCCloneVolumeClient
func NewIBMPPCCloneVolumeClient ¶
func NewIBMPPCCloneVolumeClient(ctx context.Context, sess *ibmppcsession.IBMPPCSession, cloudInstanceID string) *IBMPPCCloneVolumeClient
NewIBMPPCCloneVolumeClient
func (*IBMPPCCloneVolumeClient) Create ¶
func (f *IBMPPCCloneVolumeClient) Create(body *models.VolumesCloneAsyncRequest) (*models.CloneTaskReference, error)
Create a Clone Volume (V2) - This creates a clone
func (*IBMPPCCloneVolumeClient) CreateV2Clone ¶
func (f *IBMPPCCloneVolumeClient) CreateV2Clone(body *models.VolumesCloneCreate) (*models.VolumesClone, error)
Create a Clone Volume (V2) - This is the prepare operation
func (*IBMPPCCloneVolumeClient) DeleteClone ¶
func (f *IBMPPCCloneVolumeClient) DeleteClone(id string) error
Delete a Volume Clone
func (*IBMPPCCloneVolumeClient) Get ¶
func (f *IBMPPCCloneVolumeClient) Get(cloneTaskID string) (*models.CloneTaskStatus, error)
Get Status of a Clone Request
func (*IBMPPCCloneVolumeClient) GetV2CloneStatus ¶
func (f *IBMPPCCloneVolumeClient) GetV2CloneStatus(cloneName string) (*models.VolumesCloneDetail, error)
Get a V2Clone Task Status
func (*IBMPPCCloneVolumeClient) GetV2Clones ¶
func (f *IBMPPCCloneVolumeClient) GetV2Clones(queryFilter string) (*models.VolumesClones, error)
Get a list of Volume Clones
func (*IBMPPCCloneVolumeClient) PrepareClone ¶
func (f *IBMPPCCloneVolumeClient) PrepareClone(volumesCloneID string) (*models.VolumesClone, error)
Initiate an Execute Action for a Clone
func (*IBMPPCCloneVolumeClient) StartClone ¶
func (f *IBMPPCCloneVolumeClient) StartClone(volumesCloneID string) (*models.VolumesClone, error)
Initiate a Start Clone Request
type IBMPPCCloudInstanceClient ¶
type IBMPPCCloudInstanceClient struct {
IBMPPCClient
}
IBMPPCCloudInstanceClient
func NewIBMPPCCloudInstanceClient ¶
func NewIBMPPCCloudInstanceClient(ctx context.Context, sess *ibmppcsession.IBMPPCSession, cloudInstanceID string) *IBMPPCCloudInstanceClient
NewIBMPPCCloudInstanceClient
func (*IBMPPCCloudInstanceClient) Delete ¶
func (f *IBMPPCCloudInstanceClient) Delete(id string) error
Delete a Cloud Instance
func (*IBMPPCCloudInstanceClient) Get ¶
func (f *IBMPPCCloudInstanceClient) Get(id string) (*models.CloudInstance, error)
Get a Cloud Instance
func (*IBMPPCCloudInstanceClient) Update ¶
func (f *IBMPPCCloudInstanceClient) Update(id string, body *models.CloudInstanceUpdate) (*models.CloudInstance, error)
Update a Cloud Instance
type IBMPPCDhcpClient ¶
type IBMPPCDhcpClient struct {
IBMPPCClient
}
NewIBMPPCDhcpClient
func NewIBMPPCDhcpClient ¶
func NewIBMPPCDhcpClient(ctx context.Context, sess *ibmppcsession.IBMPPCSession, cloudInstanceID string) *IBMPPCDhcpClient
NewIBMPPCDhcpClient
func (*IBMPPCDhcpClient) Create ¶
func (f *IBMPPCDhcpClient) Create(body *models.DHCPServerCreate) (*models.DHCPServer, error)
Create a DHCP server
func (*IBMPPCDhcpClient) Delete ¶
func (f *IBMPPCDhcpClient) Delete(id string) error
Delete a DHCP server
func (*IBMPPCDhcpClient) Get ¶
func (f *IBMPPCDhcpClient) Get(id string) (*models.DHCPServerDetail, error)
Get a DHCP server
func (*IBMPPCDhcpClient) GetAll ¶
func (f *IBMPPCDhcpClient) GetAll() (models.DHCPServers, error)
Get All DHCP servers
type IBMPPCImageClient ¶
type IBMPPCImageClient struct {
IBMPPCClient
}
IBMPPCImageClient
func NewIBMPPCImageClient ¶
func NewIBMPPCImageClient(ctx context.Context, sess *ibmppcsession.IBMPPCSession, cloudInstanceID string) *IBMPPCImageClient
NewIBMPPCImageClient
func (*IBMPPCImageClient) Create ¶
func (f *IBMPPCImageClient) Create(body *models.CreateImage) (*models.Image, error)
Create a Stock Image
func (*IBMPPCImageClient) CreateCosImage ¶
func (f *IBMPPCImageClient) CreateCosImage(body *models.CreateCosImageImportJob) (imageJob *models.JobReference, err error)
Import an Image
func (*IBMPPCImageClient) Delete ¶
func (f *IBMPPCImageClient) Delete(id string) error
Delete an Image
func (*IBMPPCImageClient) ExportImage ¶
func (f *IBMPPCImageClient) ExportImage(id string, body *models.ExportImage) (*models.JobReference, error)
Export an Image
func (*IBMPPCImageClient) Get ¶
func (f *IBMPPCImageClient) Get(id string) (*models.Image, error)
Get an Image
func (*IBMPPCImageClient) GetAll ¶
func (f *IBMPPCImageClient) GetAll() (*models.Images, error)
Get All Images that are imported into Power Instance
func (*IBMPPCImageClient) GetAllStockImages ¶
func (f *IBMPPCImageClient) GetAllStockImages(includeSAP bool, includeVTl bool) (*models.Images, error)
Get All Stock Images
func (*IBMPPCImageClient) GetAllStockSAPImages ¶
func (f *IBMPPCImageClient) GetAllStockSAPImages() (*models.Images, error)
Get All Stock SAP Images
func (*IBMPPCImageClient) GetAllStockVTLImages ¶
func (f *IBMPPCImageClient) GetAllStockVTLImages() (*models.Images, error)
Get All Stock VTL Images
func (*IBMPPCImageClient) GetStockImage ¶
func (f *IBMPPCImageClient) GetStockImage(id string) (*models.Image, error)
Get a Stock Image
func (*IBMPPCImageClient) IsVTLImage ¶
func (f *IBMPPCImageClient) IsVTLImage(imageId string) (bool, error)
Return true if Image is a VTL Image
type IBMPPCInstanceClient ¶
type IBMPPCInstanceClient struct {
IBMPPCClient
}
IBMPPCInstanceClient
func NewIBMPPCInstanceClient ¶
func NewIBMPPCInstanceClient(ctx context.Context, sess *ibmppcsession.IBMPPCSession, cloudInstanceID string) *IBMPPCInstanceClient
NewIBMPPCInstanceClient
func (*IBMPPCInstanceClient) Action ¶
func (f *IBMPPCInstanceClient) Action(id string, body *models.PVMInstanceAction) error
Action Operation for an Instance
func (*IBMPPCInstanceClient) AddNetwork ¶
func (f *IBMPPCInstanceClient) AddNetwork(id string, body *models.PVMInstanceAddNetwork) (*models.PVMInstanceNetwork, error)
Add a Network to an Instance
func (*IBMPPCInstanceClient) CaptureInstanceToImageCatalog ¶
func (f *IBMPPCInstanceClient) CaptureInstanceToImageCatalog(id string, body *models.PVMInstanceCapture) error
Capture an Instance
func (*IBMPPCInstanceClient) CaptureInstanceToImageCatalogV2 ¶
func (f *IBMPPCInstanceClient) CaptureInstanceToImageCatalogV2(id string, body *models.PVMInstanceCapture) (*models.JobReference, error)
Capture an Instance (V2)
func (*IBMPPCInstanceClient) Create ¶
func (f *IBMPPCInstanceClient) Create(body *models.PVMInstanceCreate) (*models.PVMInstanceList, error)
Create an Instance
func (*IBMPPCInstanceClient) CreateClone ¶
func (f *IBMPPCInstanceClient) CreateClone(id string, body *models.PVMInstanceClone) (*models.PVMInstance, error)
Create a Clone of an Instance
func (*IBMPPCInstanceClient) CreatePvmSnapShot ¶
func (f *IBMPPCInstanceClient) CreatePvmSnapShot(id string, body *models.SnapshotCreate) (*models.SnapshotCreateResponse, error)
Create a snapshot of an Instance
func (*IBMPPCInstanceClient) Delete ¶
func (f *IBMPPCInstanceClient) Delete(id string) error
Delete an Instance
func (*IBMPPCInstanceClient) DeleteNetwork ¶
func (f *IBMPPCInstanceClient) DeleteNetwork(id string, body *models.PVMInstanceRemoveNetwork) error
Delete a Network from an Instance
func (*IBMPPCInstanceClient) Get ¶
func (f *IBMPPCInstanceClient) Get(id string) (*models.PVMInstance, error)
Get an Instance
func (*IBMPPCInstanceClient) GetAll ¶
func (f *IBMPPCInstanceClient) GetAll() (*models.PVMInstances, error)
Get All Instances
func (*IBMPPCInstanceClient) GetConsoleLanguages ¶
func (f *IBMPPCInstanceClient) GetConsoleLanguages(id string) (*models.ConsoleLanguages, error)
List the available Console Languages for an Instance
func (*IBMPPCInstanceClient) GetSnapShotVM ¶
func (f *IBMPPCInstanceClient) GetSnapShotVM(id string) (*models.Snapshots, error)
Get an Instance's Snapshots
func (*IBMPPCInstanceClient) PostConsoleURL ¶
func (f *IBMPPCInstanceClient) PostConsoleURL(id string) (*models.PVMInstanceConsole, error)
Generate the Console URL for an Instance
func (*IBMPPCInstanceClient) RestoreSnapShotVM ¶
func (f *IBMPPCInstanceClient) RestoreSnapShotVM(id, snapshotid, restoreAction string, body *models.SnapshotRestore) (*models.Snapshot, error)
Restore a Snapshot of an Instance
func (*IBMPPCInstanceClient) Update ¶
func (f *IBMPPCInstanceClient) Update(id string, body *models.PVMInstanceUpdate) (*models.PVMInstanceUpdateResponse, error)
Update an Instance
func (*IBMPPCInstanceClient) UpdateConsoleLanguage ¶
func (f *IBMPPCInstanceClient) UpdateConsoleLanguage(id string, body *models.ConsoleLanguage) (*models.ConsoleLanguage, error)
Update the available Console Languages for an Instance
type IBMPPCJobClient ¶
type IBMPPCJobClient struct {
IBMPPCClient
}
IBMPPCJobClient
func NewIBMPPCJobClient ¶
func NewIBMPPCJobClient(ctx context.Context, sess *ibmppcsession.IBMPPCSession, cloudInstanceID string) *IBMPPCJobClient
NewIBMPPCJobClient
type IBMPPCKeyClient ¶
type IBMPPCKeyClient struct {
IBMPPCClient
}
IBMPPCKeyClient
func NewIBMPPCKeyClient ¶
func NewIBMPPCKeyClient(ctx context.Context, sess *ibmppcsession.IBMPPCSession, cloudInstanceID string) *IBMPPCKeyClient
NewIBMPPCKeyClient
type IBMPPCNetworkClient ¶
type IBMPPCNetworkClient struct {
IBMPPCClient
}
IBMPPCNetworkClient
func NewIBMPPCNetworkClient ¶
func NewIBMPPCNetworkClient(ctx context.Context, sess *ibmppcsession.IBMPPCSession, cloudInstanceID string) *IBMPPCNetworkClient
NewIBMPPCNetworkClient
func (*IBMPPCNetworkClient) Create ¶
func (f *IBMPPCNetworkClient) Create(body *models.NetworkCreate) (*models.Network, error)
Create a Network
func (*IBMPPCNetworkClient) CreatePort ¶
func (f *IBMPPCNetworkClient) CreatePort(id string, body *models.NetworkPortCreate) (*models.NetworkPort, error)
Create a Port on a Network
func (*IBMPPCNetworkClient) Delete ¶
func (f *IBMPPCNetworkClient) Delete(id string) error
Delete a Network
func (*IBMPPCNetworkClient) DeletePort ¶
func (f *IBMPPCNetworkClient) DeletePort(id string, networkPortID string) error
Delete a Port on a Network
func (*IBMPPCNetworkClient) Get ¶
func (f *IBMPPCNetworkClient) Get(id string) (*models.Network, error)
Get a Network
func (*IBMPPCNetworkClient) GetAll ¶
func (f *IBMPPCNetworkClient) GetAll() (*models.Networks, error)
Get All Networks
func (*IBMPPCNetworkClient) GetAllPorts ¶
func (f *IBMPPCNetworkClient) GetAllPorts(id string) (*models.NetworkPorts, error)
Get All Ports on a Network
func (*IBMPPCNetworkClient) GetAllPublic ¶
func (f *IBMPPCNetworkClient) GetAllPublic() (*models.Networks, error)
Get All Public Networks
func (*IBMPPCNetworkClient) GetPort ¶
func (f *IBMPPCNetworkClient) GetPort(id string, networkPortID string) (*models.NetworkPort, error)
Get a Port on a Network
func (*IBMPPCNetworkClient) Update ¶
func (f *IBMPPCNetworkClient) Update(id string, body *models.NetworkUpdate) (*models.Network, error)
Update a Network
func (*IBMPPCNetworkClient) UpdatePort ¶
func (f *IBMPPCNetworkClient) UpdatePort(id, networkPortID string, body *models.NetworkPortUpdate) (*models.NetworkPort, error)
Update a Port on a Network
type IBMPPCPlacementGroupClient ¶
type IBMPPCPlacementGroupClient struct {
IBMPPCClient
}
IBMPPCPlacementGroupClient
func NewIBMPPCPlacementGroupClient ¶
func NewIBMPPCPlacementGroupClient(ctx context.Context, sess *ibmppcsession.IBMPPCSession, cloudInstanceID string) *IBMPPCPlacementGroupClient
NewIBMPPCPlacementGroupClient
func (*IBMPPCPlacementGroupClient) AddMember ¶
func (f *IBMPPCPlacementGroupClient) AddMember(id string, body *models.PlacementGroupServer) (*models.PlacementGroup, error)
Add an Instance to a Placement Group
func (*IBMPPCPlacementGroupClient) Create ¶
func (f *IBMPPCPlacementGroupClient) Create(body *models.PlacementGroupCreate) (*models.PlacementGroup, error)
Create a Placement Group
func (*IBMPPCPlacementGroupClient) Delete ¶
func (f *IBMPPCPlacementGroupClient) Delete(id string) error
Delete a Placement Group
func (*IBMPPCPlacementGroupClient) DeleteMember ¶
func (f *IBMPPCPlacementGroupClient) DeleteMember(id string, body *models.PlacementGroupServer) (*models.PlacementGroup, error)
Remove an Instance to a Placement Group
func (*IBMPPCPlacementGroupClient) Get ¶
func (f *IBMPPCPlacementGroupClient) Get(id string) (*models.PlacementGroup, error)
Get a PPC Placement Group
func (*IBMPPCPlacementGroupClient) GetAll ¶
func (f *IBMPPCPlacementGroupClient) GetAll() (*models.PlacementGroups, error)
Get All Placement Groups
type IBMPPCSAPInstanceClient ¶
type IBMPPCSAPInstanceClient struct {
IBMPPCClient
}
IBMPPCSAPInstanceClient
func NewIBMPPCSAPInstanceClient ¶
func NewIBMPPCSAPInstanceClient(ctx context.Context, sess *ibmppcsession.IBMPPCSession, cloudInstanceID string) *IBMPPCSAPInstanceClient
NewIBMPPCSAPInstanceClient
func (*IBMPPCSAPInstanceClient) Create ¶
func (f *IBMPPCSAPInstanceClient) Create(body *models.SAPCreate) (*models.PVMInstanceList, error)
Create a SAP Instance
func (*IBMPPCSAPInstanceClient) GetAllSAPProfiles ¶
func (f *IBMPPCSAPInstanceClient) GetAllSAPProfiles(cloudInstanceID string) (*models.SAPProfiles, error)
Get All SAP Profiles
func (*IBMPPCSAPInstanceClient) GetSAPProfile ¶
func (f *IBMPPCSAPInstanceClient) GetSAPProfile(id string) (*models.SAPProfile, error)
Get a SAP Profile
type IBMPPCSnapshotClient ¶
type IBMPPCSnapshotClient struct {
IBMPPCClient
}
IBMPPCSnapshotClient
func NewIBMPPCSnapshotClient ¶
func NewIBMPPCSnapshotClient(ctx context.Context, sess *ibmppcsession.IBMPPCSession, cloudInstanceID string) *IBMPPCSnapshotClient
NewIBMPPCSnapshotClient
func (*IBMPPCSnapshotClient) Create ¶
func (f *IBMPPCSnapshotClient) Create(instanceID, snapshotID, restoreFailAction string) (*models.Snapshot, error)
Create or Restore a Snapshot
func (*IBMPPCSnapshotClient) Delete ¶
func (f *IBMPPCSnapshotClient) Delete(id string) error
Delete a Snapshot
func (*IBMPPCSnapshotClient) Get ¶
func (f *IBMPPCSnapshotClient) Get(id string) (*models.Snapshot, error)
Get a Snapshot
func (*IBMPPCSnapshotClient) GetAll ¶
func (f *IBMPPCSnapshotClient) GetAll() (*models.Snapshots, error)
Get All Snapshots
func (*IBMPPCSnapshotClient) Update ¶
func (f *IBMPPCSnapshotClient) Update(id string, body *models.SnapshotUpdate) (models.Object, error)
Update a Snapshot
type IBMPPCStorageCapacityClient ¶
type IBMPPCStorageCapacityClient struct {
IBMPPCClient
}
IBMPPCStorageCapacityClient
func NewIBMPPCStorageCapacityClient ¶
func NewIBMPPCStorageCapacityClient(ctx context.Context, sess *ibmppcsession.IBMPPCSession, cloudInstanceID string) *IBMPPCStorageCapacityClient
NewIBMPPCStorageCapacityClient
func (*IBMPPCStorageCapacityClient) GetAllStoragePoolsCapacity ¶
func (f *IBMPPCStorageCapacityClient) GetAllStoragePoolsCapacity() (*models.StoragePoolsCapacity, error)
Get All Storage Capacities for all available Storage Pools in a Region
func (*IBMPPCStorageCapacityClient) GetAllStorageTypesCapacity ¶
func (f *IBMPPCStorageCapacityClient) GetAllStorageTypesCapacity() (*models.StorageTypesCapacity, error)
Get Storage Capacity for all available Storage Types in a Region
func (*IBMPPCStorageCapacityClient) GetStoragePoolCapacity ¶
func (f *IBMPPCStorageCapacityClient) GetStoragePoolCapacity(storagePool string) (*models.StoragePoolCapacity, error)
Get Storage Capacity for a Storage Pool in a Region
func (*IBMPPCStorageCapacityClient) GetStorageTypeCapacity ¶
func (f *IBMPPCStorageCapacityClient) GetStorageTypeCapacity(storageType string) (*models.StorageTypeCapacity, error)
Get Storage capacity for a Storage Type in a Region
type IBMPPCSystemPoolClient ¶
type IBMPPCSystemPoolClient struct {
IBMPPCClient
}
IBMPPCSystemPoolClient
func NewIBMPPCSystemPoolClient ¶
func NewIBMPPCSystemPoolClient(ctx context.Context, sess *ibmppcsession.IBMPPCSession, cloudInstanceID string) *IBMPPCSystemPoolClient
NewIBMPPCSystemPoolClient
func (*IBMPPCSystemPoolClient) Get ¶
func (f *IBMPPCSystemPoolClient) Get(id string) (models.SystemPools, error)
Get the System Pools Deprecated: Use GetSystemPools()
func (*IBMPPCSystemPoolClient) GetSystemPools ¶
func (f *IBMPPCSystemPoolClient) GetSystemPools() (models.SystemPools, error)
Get the System Pools
type IBMPPCTaskClient ¶
type IBMPPCTaskClient struct {
IBMPPCClient
}
IBMPPCTaskClient
func NewIBMPPCTaskClient ¶
func NewIBMPPCTaskClient(ctx context.Context, sess *ibmppcsession.IBMPPCSession, cloudInstanceID string) *IBMPPCTaskClient
NewIBMPPCTaskClient
type IBMPPCTenantClient ¶
type IBMPPCTenantClient struct {
IBMPPCClient
}
IBMPPCTenantClient
func NewIBMPPCTenantClient ¶
func NewIBMPPCTenantClient(ctx context.Context, sess *ibmppcsession.IBMPPCSession, cloudInstanceID string) *IBMPPCTenantClient
NewIBMPPCTenantClient
func (*IBMPPCTenantClient) Get ¶
func (f *IBMPPCTenantClient) Get(tenantid string) (*models.Tenant, error)
Get a Tenant
func (*IBMPPCTenantClient) GetSelfTenant ¶
func (f *IBMPPCTenantClient) GetSelfTenant() (*models.Tenant, error)
Get own Tenant
type IBMPPCVolumeClient ¶
type IBMPPCVolumeClient struct {
IBMPPCClient
}
IBMPPCVolumeClient
func NewIBMPPCVolumeClient ¶
func NewIBMPPCVolumeClient(ctx context.Context, sess *ibmppcsession.IBMPPCSession, cloudInstanceID string) *IBMPPCVolumeClient
NewIBMPPCVolumeClient
func (*IBMPPCVolumeClient) Attach ¶
func (f *IBMPPCVolumeClient) Attach(id, volumename string) error
Attach a Volume to an Instance
func (*IBMPPCVolumeClient) CheckVolumeAttach ¶
func (f *IBMPPCVolumeClient) CheckVolumeAttach(id, volumeID string) (*models.Volume, error)
Check if a Volume is attached to an Instance
func (*IBMPPCVolumeClient) CreateVolume ¶
func (f *IBMPPCVolumeClient) CreateVolume(body *models.CreateDataVolume) (*models.Volume, error)
Create a Volume
func (*IBMPPCVolumeClient) CreateVolumeV2 ¶
func (f *IBMPPCVolumeClient) CreateVolumeV2(body *models.MultiVolumesCreate) (*models.Volumes, error)
Create a VolumeV2
func (*IBMPPCVolumeClient) DeleteVolume ¶
func (f *IBMPPCVolumeClient) DeleteVolume(id string) error
Delete a Volume
func (*IBMPPCVolumeClient) Detach ¶
func (f *IBMPPCVolumeClient) Detach(id, volumename string) error
Detach a Volume from an Instance
func (*IBMPPCVolumeClient) Get ¶
func (f *IBMPPCVolumeClient) Get(id string) (*models.Volume, error)
Get a Volume
func (*IBMPPCVolumeClient) GetAll ¶
func (f *IBMPPCVolumeClient) GetAll() (*models.Volumes, error)
Get All Volumes
func (*IBMPPCVolumeClient) GetAllAffinityVolumes ¶
func (f *IBMPPCVolumeClient) GetAllAffinityVolumes(affinity string) (*models.Volumes, error)
Get All Affinity Volumes
func (*IBMPPCVolumeClient) GetAllInstanceVolumes ¶
func (f *IBMPPCVolumeClient) GetAllInstanceVolumes(id string) (*models.Volumes, error)
Get All Volumes attached to an Instance
func (*IBMPPCVolumeClient) GetVolumeFlashCopyMappings ¶
func (f *IBMPPCVolumeClient) GetVolumeFlashCopyMappings(id string) (models.FlashCopyMappings, error)
Get a list of flashcopy mappings of a given volume
func (*IBMPPCVolumeClient) GetVolumeRemoteCopyRelationships ¶
func (f *IBMPPCVolumeClient) GetVolumeRemoteCopyRelationships(id string) (*models.VolumeRemoteCopyRelationship, error)
Get remote copy relationship of a volume
func (*IBMPPCVolumeClient) SetBootVolume ¶
func (f *IBMPPCVolumeClient) SetBootVolume(id, volumename string) error
Set a Volume as the Boot Volume for an Instance
func (*IBMPPCVolumeClient) UpdateVolume ¶
func (f *IBMPPCVolumeClient) UpdateVolume(id string, body *models.UpdateVolume) (*models.Volume, error)
Update a Volume
func (*IBMPPCVolumeClient) UpdateVolumeAttach ¶
func (f *IBMPPCVolumeClient) UpdateVolumeAttach(id, volumeID string, body *models.PVMInstanceVolumeUpdate) error
Update a Volume attached to an Instance
func (*IBMPPCVolumeClient) VolumeAction ¶
func (f *IBMPPCVolumeClient) VolumeAction(id string, body *models.VolumeAction) error
Performs action on volume
type IBMPPCVolumeGroupClient ¶
type IBMPPCVolumeGroupClient struct {
IBMPPCClient
}
IBMPPCVolumeGroupClient
func NewIBMPPCVolumeGroupClient ¶
func NewIBMPPCVolumeGroupClient(ctx context.Context, sess *ibmppcsession.IBMPPCSession, cloudInstanceID string) *IBMPPCVolumeGroupClient
NewIBMPPCVolumeGroupClient
func (*IBMPPCVolumeGroupClient) CreateVolumeGroup ¶
func (f *IBMPPCVolumeGroupClient) CreateVolumeGroup(body *models.VolumeGroupCreate) (*models.VolumeGroupCreateResponse, error)
Create a Volume Group
func (*IBMPPCVolumeGroupClient) DeleteVolumeGroup ¶
func (f *IBMPPCVolumeGroupClient) DeleteVolumeGroup(id string) error
Delete a Volume Group
func (*IBMPPCVolumeGroupClient) Get ¶
func (f *IBMPPCVolumeGroupClient) Get(id string) (*models.VolumeGroup, error)
Get a Volume-Group
func (*IBMPPCVolumeGroupClient) GetAll ¶
func (f *IBMPPCVolumeGroupClient) GetAll() (*models.VolumeGroups, error)
GetAll Volume-Group
func (*IBMPPCVolumeGroupClient) GetAllDetails ¶
func (f *IBMPPCVolumeGroupClient) GetAllDetails() (*models.VolumeGroupsDetails, error)
GetAll Volume-Group with Details
func (*IBMPPCVolumeGroupClient) GetDetails ¶
func (f *IBMPPCVolumeGroupClient) GetDetails(id string) (*models.VolumeGroupDetails, error)
Get a Volume-Group with Details
func (*IBMPPCVolumeGroupClient) GetVolumeGroupLiveDetails ¶
func (f *IBMPPCVolumeGroupClient) GetVolumeGroupLiveDetails(id string) (*models.VolumeGroupStorageDetails, error)
Get live details of a Volume Group
func (*IBMPPCVolumeGroupClient) GetVolumeGroupRemoteCopyRelationships ¶
func (f *IBMPPCVolumeGroupClient) GetVolumeGroupRemoteCopyRelationships(id string) (*models.VolumeGroupRemoteCopyRelationships, error)
Get remote copy relationships of the volume belonging to volume group
func (*IBMPPCVolumeGroupClient) UpdateVolumeGroup ¶
func (f *IBMPPCVolumeGroupClient) UpdateVolumeGroup(id string, body *models.VolumeGroupUpdate) error
Update a Volume Group
func (*IBMPPCVolumeGroupClient) VolumeGroupAction ¶
func (f *IBMPPCVolumeGroupClient) VolumeGroupAction(id string, body *models.VolumeGroupAction) (models.Object, error)
Performs action on Volume Group
Source Files ¶
- ibm-ppc-clonevolumes.go
- ibm-ppc-cloud-instance.go
- ibm-ppc-dhcp.go
- ibm-ppc-helper.go
- ibm-ppc-image.go
- ibm-ppc-instance.go
- ibm-ppc-job.go
- ibm-ppc-key.go
- ibm-ppc-network.go
- ibm-ppc-placement-groups.go
- ibm-ppc-sap-instance.go
- ibm-ppc-snapshot.go
- ibm-ppc-storage-capacity.go
- ibm-ppc-system-pools.go
- ibm-ppc-tasks.go
- ibm-ppc-tenant.go
- ibm-ppc-volume-group.go
- ibm-ppc-volume.go