Documentation ¶
Index ¶
- type IBMPIClient
- type IBMPICloneVolumeClient
- func (f *IBMPICloneVolumeClient) Create(body *models.VolumesCloneAsyncRequest) (*models.CloneTaskReference, error)
- func (f *IBMPICloneVolumeClient) CreateV2Clone(body *models.VolumesCloneCreate) (*models.VolumesClone, error)
- func (f *IBMPICloneVolumeClient) DeleteClone(id string) error
- func (f *IBMPICloneVolumeClient) Get(cloneTaskID string) (*models.CloneTaskStatus, error)
- func (f *IBMPICloneVolumeClient) GetV2CloneStatus(cloneName string) (*models.VolumesCloneDetail, error)
- func (f *IBMPICloneVolumeClient) GetV2Clones(queryFilter string) (*models.VolumesClones, error)
- func (f *IBMPICloneVolumeClient) PrepareClone(volumesCloneID string) (*models.VolumesClone, error)
- func (f *IBMPICloneVolumeClient) StartClone(volumesCloneID string) (*models.VolumesClone, error)
- type IBMPICloudConnectionClient
- func (f *IBMPICloudConnectionClient) AddNetwork(id, networkID string) (models.Object, *models.JobReference, error)
- func (f *IBMPICloudConnectionClient) Create(body *models.CloudConnectionCreate) (*models.CloudConnection, *models.CloudConnectionCreateResponse, error)
- func (f *IBMPICloudConnectionClient) Delete(id string) (*models.JobReference, error)
- func (f *IBMPICloudConnectionClient) DeleteNetwork(id, networkID string) (models.Object, *models.JobReference, error)
- func (f *IBMPICloudConnectionClient) Get(id string) (*models.CloudConnection, error)
- func (f *IBMPICloudConnectionClient) GetAll() (*models.CloudConnections, error)
- func (f *IBMPICloudConnectionClient) GetVPC() (*models.CloudConnectionVirtualPrivateClouds, error)
- func (f *IBMPICloudConnectionClient) Update(id string, body *models.CloudConnectionUpdate) (*models.CloudConnection, *models.JobReference, error)
- type IBMPICloudInstanceClient
- type IBMPIDatacentersClient
- type IBMPIDhcpClient
- type IBMPIDisasterRecoveryLocationClient
- type IBMPIHostgroupsClient
- func (f *IBMPIHostgroupsClient) CreateHost(body *models.HostCreate) (*models.Host, error)
- func (f *IBMPIHostgroupsClient) CreateHostgroup(body *models.HostgroupCreate) (*models.Hostgroup, error)
- func (f *IBMPIHostgroupsClient) DeleteHost(id string) error
- func (f *IBMPIHostgroupsClient) GetAvailableHosts() (models.AvailableHostList, error)
- func (f *IBMPIHostgroupsClient) GetHost(id string) (*models.Host, error)
- func (f *IBMPIHostgroupsClient) GetHostgroup(id string) (*models.Hostgroup, error)
- func (f *IBMPIHostgroupsClient) GetHostgroups() (models.HostgroupList, error)
- func (f *IBMPIHostgroupsClient) GetHosts() (models.HostList, error)
- func (f *IBMPIHostgroupsClient) UpdateHost(body *models.HostPut, id string) (*models.Host, error)
- func (f *IBMPIHostgroupsClient) UpdateHostgroup(body *models.HostgroupShareOp, id string) (*models.Hostgroup, error)
- type IBMPIImageClient
- func (f *IBMPIImageClient) Create(body *models.CreateImage) (*models.Image, error)
- func (f *IBMPIImageClient) CreateCosImage(body *models.CreateCosImageImportJob) (imageJob *models.JobReference, err error)
- func (f *IBMPIImageClient) Delete(id string) error
- func (f *IBMPIImageClient) ExportImage(id string, body *models.ExportImage) (*models.JobReference, error)
- func (f *IBMPIImageClient) Get(id string) (*models.Image, error)
- func (f *IBMPIImageClient) GetAll() (*models.Images, error)
- func (f *IBMPIImageClient) GetAllStockImages(includeSAP bool, includeVTl bool) (*models.Images, error)
- func (f *IBMPIImageClient) GetAllStockSAPImages() (*models.Images, error)
- func (f *IBMPIImageClient) GetAllStockVTLImages() (*models.Images, error)
- func (f *IBMPIImageClient) GetStockImage(id string) (*models.Image, error)
- func (f *IBMPIImageClient) IsVTLImage(imageId string) (bool, error)
- type IBMPIInstanceClient
- func (f *IBMPIInstanceClient) Action(id string, body *models.PVMInstanceAction) error
- func (f *IBMPIInstanceClient) AddNetwork(id string, body *models.PVMInstanceAddNetwork) (*models.PVMInstanceNetwork, error)
- func (f *IBMPIInstanceClient) CaptureInstanceToImageCatalog(id string, body *models.PVMInstanceCapture) error
- func (f *IBMPIInstanceClient) CaptureInstanceToImageCatalogV2(id string, body *models.PVMInstanceCapture) (*models.JobReference, error)
- func (f *IBMPIInstanceClient) Create(body *models.PVMInstanceCreate) (*models.PVMInstanceList, error)
- func (f *IBMPIInstanceClient) CreateClone(id string, body *models.PVMInstanceClone) (*models.PVMInstance, error)
- func (f *IBMPIInstanceClient) CreatePvmSnapShot(id string, body *models.SnapshotCreate) (*models.SnapshotCreateResponse, error)
- func (f *IBMPIInstanceClient) Delete(id string) error
- func (f *IBMPIInstanceClient) DeleteNetwork(id string, body *models.PVMInstanceRemoveNetwork) error
- func (f *IBMPIInstanceClient) Get(id string) (*models.PVMInstance, error)
- func (f *IBMPIInstanceClient) GetAll() (*models.PVMInstances, error)
- func (f *IBMPIInstanceClient) GetConsoleLanguages(id string) (*models.ConsoleLanguages, error)
- func (f *IBMPIInstanceClient) GetSnapShotVM(id string) (*models.Snapshots, error)
- func (f *IBMPIInstanceClient) PostConsoleURL(id string) (*models.PVMInstanceConsole, error)
- func (f *IBMPIInstanceClient) RestoreSnapShotVM(id, snapshotid, restoreAction string, body *models.SnapshotRestore) (*models.Snapshot, error)
- func (f *IBMPIInstanceClient) Update(id string, body *models.PVMInstanceUpdate) (*models.PVMInstanceUpdateResponse, error)
- func (f *IBMPIInstanceClient) UpdateConsoleLanguage(id string, body *models.ConsoleLanguage) (*models.ConsoleLanguage, error)
- type IBMPIJobClient
- type IBMPIKeyClient
- type IBMPINetworkClient
- func (f *IBMPINetworkClient) Create(body *models.NetworkCreate) (*models.Network, error)
- func (f *IBMPINetworkClient) CreatePort(id string, body *models.NetworkPortCreate) (*models.NetworkPort, error)
- func (f *IBMPINetworkClient) Delete(id string) error
- func (f *IBMPINetworkClient) DeletePort(id string, networkPortID string) error
- func (f *IBMPINetworkClient) Get(id string) (*models.Network, error)
- func (f *IBMPINetworkClient) GetAll() (*models.Networks, error)
- func (f *IBMPINetworkClient) GetAllPorts(id string) (*models.NetworkPorts, error)
- func (f *IBMPINetworkClient) GetAllPublic() (*models.Networks, error)
- func (f *IBMPINetworkClient) GetPort(id string, networkPortID string) (*models.NetworkPort, error)
- func (f *IBMPINetworkClient) Update(id string, body *models.NetworkUpdate) (*models.Network, error)
- func (f *IBMPINetworkClient) UpdatePort(id, networkPortID string, body *models.NetworkPortUpdate) (*models.NetworkPort, error)
- type IBMPIPlacementGroupClient
- func (f *IBMPIPlacementGroupClient) AddMember(id string, body *models.PlacementGroupServer) (*models.PlacementGroup, error)
- func (f *IBMPIPlacementGroupClient) Create(body *models.PlacementGroupCreate) (*models.PlacementGroup, error)
- func (f *IBMPIPlacementGroupClient) Delete(id string) error
- func (f *IBMPIPlacementGroupClient) DeleteMember(id string, body *models.PlacementGroupServer) (*models.PlacementGroup, error)
- func (f *IBMPIPlacementGroupClient) Get(id string) (*models.PlacementGroup, error)
- func (f *IBMPIPlacementGroupClient) GetAll() (*models.PlacementGroups, error)
- type IBMPISAPInstanceClient
- type IBMPISPPPlacementGroupClient
- func (f *IBMPISPPPlacementGroupClient) AddMember(id string, sppID string) (*models.SPPPlacementGroup, error)
- func (f *IBMPISPPPlacementGroupClient) Create(body *models.SPPPlacementGroupCreate) (*models.SPPPlacementGroup, error)
- func (f *IBMPISPPPlacementGroupClient) Delete(id string) error
- func (f *IBMPISPPPlacementGroupClient) DeleteMember(id string, sppID string) (*models.SPPPlacementGroup, error)
- func (f *IBMPISPPPlacementGroupClient) Get(id string) (*models.SPPPlacementGroup, error)
- func (f *IBMPISPPPlacementGroupClient) GetAll() (*models.SPPPlacementGroups, error)
- type IBMPISharedProcessorPoolClient
- func (f *IBMPISharedProcessorPoolClient) Create(body *models.SharedProcessorPoolCreate) (*models.SharedProcessorPool, error)
- func (f *IBMPISharedProcessorPoolClient) Delete(id string) error
- func (f *IBMPISharedProcessorPoolClient) Get(id string) (*models.SharedProcessorPoolDetail, error)
- func (f *IBMPISharedProcessorPoolClient) GetAll() (*models.SharedProcessorPools, error)
- func (f *IBMPISharedProcessorPoolClient) Update(id string, body *models.SharedProcessorPoolUpdate) (*models.SharedProcessorPool, error)
- type IBMPISnapshotClient
- func (f *IBMPISnapshotClient) Create(instanceID, snapshotID, restoreFailAction string) (*models.Snapshot, error)
- func (f *IBMPISnapshotClient) Delete(id string) error
- func (f *IBMPISnapshotClient) Get(id string) (*models.Snapshot, error)
- func (f *IBMPISnapshotClient) GetAll() (*models.Snapshots, error)
- func (f *IBMPISnapshotClient) Update(id string, body *models.SnapshotUpdate) (models.Object, error)
- type IBMPIStorageCapacityClient
- func (f *IBMPIStorageCapacityClient) GetAllStoragePoolsCapacity() (*models.StoragePoolsCapacity, error)
- func (f *IBMPIStorageCapacityClient) GetAllStorageTypesCapacity() (*models.StorageTypesCapacity, error)
- func (f *IBMPIStorageCapacityClient) GetStoragePoolCapacity(storagePool string) (*models.StoragePoolCapacity, error)
- func (f *IBMPIStorageCapacityClient) GetStorageTypeCapacity(storageType string) (*models.StorageTypeCapacity, error)
- type IBMPISystemPoolClient
- type IBMPITaskClient
- type IBMPITenantClient
- type IBMPIVolumeClient
- func (f *IBMPIVolumeClient) Attach(id, volumename string) error
- func (f *IBMPIVolumeClient) BulkVolumeAttach(pvmID string, body *models.VolumesAttach) (*models.VolumesAttachmentResponse, error)
- func (f *IBMPIVolumeClient) BulkVolumeDelete(body *models.VolumesDelete) (*models.VolumesDeleteResponse, error)
- func (f *IBMPIVolumeClient) BulkVolumeDetach(pvmID string, body *models.VolumesDetach) (*models.VolumesDetachmentResponse, error)
- func (f *IBMPIVolumeClient) CheckVolumeAttach(id, volumeID string) (*models.Volume, error)
- func (f *IBMPIVolumeClient) CreateVolume(body *models.CreateDataVolume) (*models.Volume, error)
- func (f *IBMPIVolumeClient) CreateVolumeV2(body *models.MultiVolumesCreate) (*models.Volumes, error)
- func (f *IBMPIVolumeClient) DeleteVolume(id string) error
- func (f *IBMPIVolumeClient) Detach(id, volumename string) error
- func (f *IBMPIVolumeClient) Get(id string) (*models.Volume, error)
- func (f *IBMPIVolumeClient) GetAll() (*models.Volumes, error)
- func (f *IBMPIVolumeClient) GetAllAffinityVolumes(affinity string) (*models.Volumes, error)
- func (f *IBMPIVolumeClient) GetAllInstanceVolumes(id string) (*models.Volumes, error)
- func (f *IBMPIVolumeClient) GetVolumeFlashCopyMappings(id string) (models.FlashCopyMappings, error)
- func (f *IBMPIVolumeClient) GetVolumeRemoteCopyRelationships(id string) (*models.VolumeRemoteCopyRelationship, error)
- func (f *IBMPIVolumeClient) SetBootVolume(id, volumename string) error
- func (f *IBMPIVolumeClient) UpdateVolume(id string, body *models.UpdateVolume) (*models.Volume, error)
- func (f *IBMPIVolumeClient) UpdateVolumeAttach(id, volumeID string, body *models.PVMInstanceVolumeUpdate) error
- func (f *IBMPIVolumeClient) VolumeAction(id string, body *models.VolumeAction) error
- type IBMPIVolumeGroupClient
- func (f *IBMPIVolumeGroupClient) CreateVolumeGroup(body *models.VolumeGroupCreate) (*models.VolumeGroupCreateResponse, error)
- func (f *IBMPIVolumeGroupClient) DeleteVolumeGroup(id string) error
- func (f *IBMPIVolumeGroupClient) Get(id string) (*models.VolumeGroup, error)
- func (f *IBMPIVolumeGroupClient) GetAll() (*models.VolumeGroups, error)
- func (f *IBMPIVolumeGroupClient) GetAllDetails() (*models.VolumeGroupsDetails, error)
- func (f *IBMPIVolumeGroupClient) GetDetails(id string) (*models.VolumeGroupDetails, error)
- func (f *IBMPIVolumeGroupClient) GetVolumeGroupLiveDetails(id string) (*models.VolumeGroupStorageDetails, error)
- func (f *IBMPIVolumeGroupClient) GetVolumeGroupRemoteCopyRelationships(id string) (*models.VolumeGroupRemoteCopyRelationships, error)
- func (f *IBMPIVolumeGroupClient) UpdateVolumeGroup(id string, body *models.VolumeGroupUpdate) error
- func (f *IBMPIVolumeGroupClient) VolumeGroupAction(id string, body *models.VolumeGroupAction) (models.Object, error)
- type IBMPIVolumeOnboardingClient
- func (f *IBMPIVolumeOnboardingClient) CreateVolumeOnboarding(body *models.VolumeOnboardingCreate) (*models.VolumeOnboardingCreateResponse, error)
- func (f *IBMPIVolumeOnboardingClient) Get(id string) (*models.VolumeOnboarding, error)
- func (f *IBMPIVolumeOnboardingClient) GetAll() (*models.VolumeOnboardings, error)
- type IBMPIVpnConnectionClient
- func (f *IBMPIVpnConnectionClient) AddNetwork(id, networkID string) (*models.JobReference, error)
- func (f *IBMPIVpnConnectionClient) AddSubnet(id, subnet string) (*models.PeerSubnets, error)
- func (f *IBMPIVpnConnectionClient) Create(body *models.VPNConnectionCreate) (*models.VPNConnectionCreateResponse, error)
- func (f *IBMPIVpnConnectionClient) Delete(id string) (*models.JobReference, error)
- func (f *IBMPIVpnConnectionClient) DeleteNetwork(id, networkID string) (*models.JobReference, error)
- func (f *IBMPIVpnConnectionClient) DeleteSubnet(id, subnet string) (*models.PeerSubnets, error)
- func (f *IBMPIVpnConnectionClient) Get(id string) (*models.VPNConnection, error)
- func (f *IBMPIVpnConnectionClient) GetAll() (*models.VPNConnections, error)
- func (f *IBMPIVpnConnectionClient) GetNetwork(id string) (*models.NetworkIDs, error)
- func (f *IBMPIVpnConnectionClient) GetSubnet(id string) (*models.PeerSubnets, error)
- func (f *IBMPIVpnConnectionClient) Update(id string, body *models.VPNConnectionUpdate) (*models.VPNConnection, error)
- type IBMPIVpnPolicyClient
- func (f *IBMPIVpnPolicyClient) CreateIKEPolicy(body *models.IKEPolicyCreate) (*models.IKEPolicy, error)
- func (f *IBMPIVpnPolicyClient) CreateIPSecPolicy(body *models.IPSecPolicyCreate) (*models.IPSecPolicy, error)
- func (f *IBMPIVpnPolicyClient) DeleteIKEPolicy(id string) error
- func (f *IBMPIVpnPolicyClient) DeleteIPSecPolicy(id string) error
- func (f *IBMPIVpnPolicyClient) GetAllIKEPolicies() (*models.IKEPolicies, error)
- func (f *IBMPIVpnPolicyClient) GetAllIPSecPolicies() (*models.IPSecPolicies, error)
- func (f *IBMPIVpnPolicyClient) GetIKEPolicy(id string) (*models.IKEPolicy, error)
- func (f *IBMPIVpnPolicyClient) GetIPSecPolicy(id string) (*models.IPSecPolicy, error)
- func (f *IBMPIVpnPolicyClient) UpdateIKEPolicy(id string, body *models.IKEPolicyUpdate) (*models.IKEPolicy, error)
- func (f *IBMPIVpnPolicyClient) UpdateIPSecPolicy(id string, body *models.IPSecPolicyUpdate) (*models.IPSecPolicy, error)
- type IBMPIWorkspacesClient
- func (f *IBMPIWorkspacesClient) Create(name, location, groupID, plan string) (*resourcecontrollerv2.ResourceInstance, *core.DetailedResponse, error)
- func (f *IBMPIWorkspacesClient) Delete(workspaceID string) (*core.DetailedResponse, error)
- func (f *IBMPIWorkspacesClient) Get(cloudInstanceID string) (*models.Workspace, error)
- func (f *IBMPIWorkspacesClient) GetAll() (*models.Workspaces, error)
- func (f *IBMPIWorkspacesClient) GetRC(rcWorkspaceID string) (*resourcecontrollerv2.ResourceInstance, *core.DetailedResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IBMPIClient ¶ added in v1.0.84
type IBMPIClient struct {
// contains filtered or unexported fields
}
IBMPIHelperClient
func NewIBMPIClient ¶ added in v1.0.84
func NewIBMPIClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPIClient
NewIBMPIClient
type IBMPICloneVolumeClient ¶ added in v1.0.1
type IBMPICloneVolumeClient struct {
IBMPIClient
}
IBMPICloneVolumeClient
func NewIBMPICloneVolumeClient ¶ added in v1.0.1
func NewIBMPICloneVolumeClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPICloneVolumeClient
NewIBMPICloneVolumeClient
func (*IBMPICloneVolumeClient) Create ¶ added in v1.0.1
func (f *IBMPICloneVolumeClient) Create(body *models.VolumesCloneAsyncRequest) (*models.CloneTaskReference, error)
Create a Clone Volume (V2) - This creates a clone
func (*IBMPICloneVolumeClient) CreateV2Clone ¶ added in v1.0.56
func (f *IBMPICloneVolumeClient) CreateV2Clone(body *models.VolumesCloneCreate) (*models.VolumesClone, error)
Create a Clone Volume (V2) - This is the prepare operation
func (*IBMPICloneVolumeClient) DeleteClone ¶ added in v1.0.48
func (f *IBMPICloneVolumeClient) DeleteClone(id string) error
Delete a Volume Clone
func (*IBMPICloneVolumeClient) Get ¶ added in v1.0.49
func (f *IBMPICloneVolumeClient) Get(cloneTaskID string) (*models.CloneTaskStatus, error)
Get Status of a Clone Request
func (*IBMPICloneVolumeClient) GetV2CloneStatus ¶ added in v1.0.69
func (f *IBMPICloneVolumeClient) GetV2CloneStatus(cloneName string) (*models.VolumesCloneDetail, error)
Get a V2Clone Task Status
func (*IBMPICloneVolumeClient) GetV2Clones ¶ added in v1.0.56
func (f *IBMPICloneVolumeClient) GetV2Clones(queryFilter string) (*models.VolumesClones, error)
Get a list of Volume Clones
func (*IBMPICloneVolumeClient) PrepareClone ¶ added in v1.0.56
func (f *IBMPICloneVolumeClient) PrepareClone(volumesCloneID string) (*models.VolumesClone, error)
Initiate an Execute Action for a Clone
func (*IBMPICloneVolumeClient) StartClone ¶ added in v1.0.52
func (f *IBMPICloneVolumeClient) StartClone(volumesCloneID string) (*models.VolumesClone, error)
Initiate a Start Clone Request
type IBMPICloudConnectionClient ¶ added in v1.0.49
type IBMPICloudConnectionClient struct {
IBMPIClient
}
IBMPICloudConnectionClient
func NewIBMPICloudConnectionClient ¶ added in v1.0.49
func NewIBMPICloudConnectionClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPICloudConnectionClient
NewIBMPICloudConnectionClient
func (*IBMPICloudConnectionClient) AddNetwork ¶ added in v1.0.49
func (f *IBMPICloudConnectionClient) AddNetwork(id, networkID string) (models.Object, *models.JobReference, error)
Add a Network to a Cloud Connection
func (*IBMPICloudConnectionClient) Create ¶ added in v1.0.49
func (f *IBMPICloudConnectionClient) Create(body *models.CloudConnectionCreate) (*models.CloudConnection, *models.CloudConnectionCreateResponse, error)
Create a Cloud Connection
func (*IBMPICloudConnectionClient) Delete ¶ added in v1.0.49
func (f *IBMPICloudConnectionClient) Delete(id string) (*models.JobReference, error)
Delete a Cloud Connection
func (*IBMPICloudConnectionClient) DeleteNetwork ¶ added in v1.0.49
func (f *IBMPICloudConnectionClient) DeleteNetwork(id, networkID string) (models.Object, *models.JobReference, error)
Delete a Network from a Cloud Connection
func (*IBMPICloudConnectionClient) Get ¶ added in v1.0.49
func (f *IBMPICloudConnectionClient) Get(id string) (*models.CloudConnection, error)
Get a Cloud Connection
func (*IBMPICloudConnectionClient) GetAll ¶ added in v1.0.49
func (f *IBMPICloudConnectionClient) GetAll() (*models.CloudConnections, error)
Get All Cloud Connections
func (*IBMPICloudConnectionClient) GetVPC ¶ added in v1.0.60
func (f *IBMPICloudConnectionClient) GetVPC() (*models.CloudConnectionVirtualPrivateClouds, error)
Get all VPCs for a Cloud Instance
func (*IBMPICloudConnectionClient) Update ¶ added in v1.0.49
func (f *IBMPICloudConnectionClient) Update(id string, body *models.CloudConnectionUpdate) (*models.CloudConnection, *models.JobReference, error)
Update a Cloud Connection
type IBMPICloudInstanceClient ¶ added in v1.0.24
type IBMPICloudInstanceClient struct {
IBMPIClient
}
IBMPICloudInstanceClient
func NewIBMPICloudInstanceClient ¶ added in v1.0.24
func NewIBMPICloudInstanceClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPICloudInstanceClient
NewIBMPICloudInstanceClient
func (*IBMPICloudInstanceClient) Delete ¶ added in v1.0.24
func (f *IBMPICloudInstanceClient) Delete(id string) error
Delete a Cloud Instance
func (*IBMPICloudInstanceClient) Get ¶ added in v1.0.24
func (f *IBMPICloudInstanceClient) Get(id string) (*models.CloudInstance, error)
Get a Cloud Instance
func (*IBMPICloudInstanceClient) Update ¶ added in v1.0.24
func (f *IBMPICloudInstanceClient) Update(id string, body *models.CloudInstanceUpdate) (*models.CloudInstance, error)
Update a Cloud Instance
type IBMPIDatacentersClient ¶ added in v1.5.0
type IBMPIDatacentersClient struct {
IBMPIClient
}
IBMPIDatacentersClient
func NewIBMPIDatacenterClient ¶ added in v1.5.0
func NewIBMPIDatacenterClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPIDatacentersClient
NewIBMPIDatacenterClient
func (*IBMPIDatacentersClient) Get ¶ added in v1.5.0
func (f *IBMPIDatacentersClient) Get(datacenterRegion string) (*models.Datacenter, error)
func (*IBMPIDatacentersClient) GetAll ¶ added in v1.5.0
func (f *IBMPIDatacentersClient) GetAll() (*models.Datacenters, error)
type IBMPIDhcpClient ¶ added in v1.0.77
type IBMPIDhcpClient struct {
IBMPIClient
}
NewIBMPIDhcpClient
func NewIBMPIDhcpClient ¶ added in v1.0.77
func NewIBMPIDhcpClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPIDhcpClient
NewIBMPIDhcpClient
func (*IBMPIDhcpClient) Create ¶ added in v1.0.77
func (f *IBMPIDhcpClient) Create(body *models.DHCPServerCreate) (*models.DHCPServer, error)
Create a DHCP server
func (*IBMPIDhcpClient) Delete ¶ added in v1.0.77
func (f *IBMPIDhcpClient) Delete(id string) error
Delete a DHCP server
func (*IBMPIDhcpClient) Get ¶ added in v1.0.77
func (f *IBMPIDhcpClient) Get(id string) (*models.DHCPServerDetail, error)
Get a DHCP server
func (*IBMPIDhcpClient) GetAll ¶ added in v1.0.77
func (f *IBMPIDhcpClient) GetAll() (models.DHCPServers, error)
Get All DHCP servers
type IBMPIDisasterRecoveryLocationClient ¶ added in v1.2.0
type IBMPIDisasterRecoveryLocationClient struct {
IBMPIClient
}
IBMPIDisasterRecoveryLocationClient
func NewIBMPIDisasterRecoveryLocationClient ¶ added in v1.2.0
func NewIBMPIDisasterRecoveryLocationClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPIDisasterRecoveryLocationClient
NewIBMPIDisasterRecoveryLocationClient
func (*IBMPIDisasterRecoveryLocationClient) Get ¶ added in v1.2.0
func (f *IBMPIDisasterRecoveryLocationClient) Get() (*models.DisasterRecoveryLocation, error)
Get the disaster recovery site details for the current location
func (*IBMPIDisasterRecoveryLocationClient) GetAll ¶ added in v1.2.0
func (f *IBMPIDisasterRecoveryLocationClient) GetAll() (*models.DisasterRecoveryLocations, error)
Get all disaster recovery locations supported by Power Virtual Server
type IBMPIHostgroupsClient ¶
type IBMPIHostgroupsClient struct {
IBMPIClient
}
IBMPIHostgroupsClient
func NewIBMPHostgroupsClient ¶
func NewIBMPHostgroupsClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPIHostgroupsClient
NewIBMPIHostgroupsClient
func (*IBMPIHostgroupsClient) CreateHost ¶
func (f *IBMPIHostgroupsClient) CreateHost(body *models.HostCreate) (*models.Host, error)
Create a Host
func (*IBMPIHostgroupsClient) CreateHostgroup ¶
func (f *IBMPIHostgroupsClient) CreateHostgroup(body *models.HostgroupCreate) (*models.Hostgroup, error)
Create a Hostgroup
func (*IBMPIHostgroupsClient) DeleteHost ¶
func (f *IBMPIHostgroupsClient) DeleteHost(id string) error
Delete a Host
func (*IBMPIHostgroupsClient) GetAvailableHosts ¶
func (f *IBMPIHostgroupsClient) GetAvailableHosts() (models.AvailableHostList, error)
Get All available hosts
func (*IBMPIHostgroupsClient) GetHost ¶
func (f *IBMPIHostgroupsClient) GetHost(id string) (*models.Host, error)
Get a Host
func (*IBMPIHostgroupsClient) GetHostgroup ¶
func (f *IBMPIHostgroupsClient) GetHostgroup(id string) (*models.Hostgroup, error)
Get a Hostgroup
func (*IBMPIHostgroupsClient) GetHostgroups ¶
func (f *IBMPIHostgroupsClient) GetHostgroups() (models.HostgroupList, error)
Get all Hostgroups
func (*IBMPIHostgroupsClient) GetHosts ¶
func (f *IBMPIHostgroupsClient) GetHosts() (models.HostList, error)
Get All Hosts
func (*IBMPIHostgroupsClient) UpdateHost ¶
Update a Host
func (*IBMPIHostgroupsClient) UpdateHostgroup ¶
func (f *IBMPIHostgroupsClient) UpdateHostgroup(body *models.HostgroupShareOp, id string) (*models.Hostgroup, error)
Update a Hostgroup
type IBMPIImageClient ¶
type IBMPIImageClient struct {
IBMPIClient
}
IBMPIImageClient
func NewIBMPIImageClient ¶
func NewIBMPIImageClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPIImageClient
NewIBMPIImageClient
func (*IBMPIImageClient) Create ¶
func (f *IBMPIImageClient) Create(body *models.CreateImage) (*models.Image, error)
Create a Stock Image
func (*IBMPIImageClient) CreateCosImage ¶ added in v1.0.75
func (f *IBMPIImageClient) CreateCosImage(body *models.CreateCosImageImportJob) (imageJob *models.JobReference, err error)
Import an Image
func (*IBMPIImageClient) Delete ¶
func (f *IBMPIImageClient) Delete(id string) error
Delete an Image
func (*IBMPIImageClient) ExportImage ¶ added in v1.0.87
func (f *IBMPIImageClient) ExportImage(id string, body *models.ExportImage) (*models.JobReference, error)
Export an Image
func (*IBMPIImageClient) Get ¶
func (f *IBMPIImageClient) Get(id string) (*models.Image, error)
Get an Image
func (*IBMPIImageClient) GetAll ¶
func (f *IBMPIImageClient) GetAll() (*models.Images, error)
Get All Images that are imported into Power Instance
func (*IBMPIImageClient) GetAllStockImages ¶ added in v1.0.77
func (f *IBMPIImageClient) GetAllStockImages(includeSAP bool, includeVTl bool) (*models.Images, error)
Get All Stock Images
func (*IBMPIImageClient) GetAllStockSAPImages ¶ added in v1.0.77
func (f *IBMPIImageClient) GetAllStockSAPImages() (*models.Images, error)
Get All Stock SAP Images
func (*IBMPIImageClient) GetAllStockVTLImages ¶ added in v1.0.77
func (f *IBMPIImageClient) GetAllStockVTLImages() (*models.Images, error)
Get All Stock VTL Images
func (*IBMPIImageClient) GetStockImage ¶ added in v1.0.55
func (f *IBMPIImageClient) GetStockImage(id string) (*models.Image, error)
Get a Stock Image
func (*IBMPIImageClient) IsVTLImage ¶ added in v1.0.77
func (f *IBMPIImageClient) IsVTLImage(imageId string) (bool, error)
Return true if Image is a VTL Image
type IBMPIInstanceClient ¶
type IBMPIInstanceClient struct {
IBMPIClient
}
IBMPIInstanceClient
func NewIBMPIInstanceClient ¶
func NewIBMPIInstanceClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPIInstanceClient
NewIBMPIInstanceClient
func (*IBMPIInstanceClient) Action ¶
func (f *IBMPIInstanceClient) Action(id string, body *models.PVMInstanceAction) error
Action Operation for an Instance
func (*IBMPIInstanceClient) AddNetwork ¶ added in v1.0.30
func (f *IBMPIInstanceClient) AddNetwork(id string, body *models.PVMInstanceAddNetwork) (*models.PVMInstanceNetwork, error)
Add a Network to an Instance
func (*IBMPIInstanceClient) CaptureInstanceToImageCatalog ¶
func (f *IBMPIInstanceClient) CaptureInstanceToImageCatalog(id string, body *models.PVMInstanceCapture) error
Capture an Instance
func (*IBMPIInstanceClient) CaptureInstanceToImageCatalogV2 ¶ added in v1.0.86
func (f *IBMPIInstanceClient) CaptureInstanceToImageCatalogV2(id string, body *models.PVMInstanceCapture) (*models.JobReference, error)
Capture an Instance (V2)
func (*IBMPIInstanceClient) Create ¶
func (f *IBMPIInstanceClient) Create(body *models.PVMInstanceCreate) (*models.PVMInstanceList, error)
Create an Instance
func (*IBMPIInstanceClient) CreateClone ¶ added in v1.0.4
func (f *IBMPIInstanceClient) CreateClone(id string, body *models.PVMInstanceClone) (*models.PVMInstance, error)
Create a Clone of an Instance
func (*IBMPIInstanceClient) CreatePvmSnapShot ¶ added in v1.0.1
func (f *IBMPIInstanceClient) CreatePvmSnapShot(id string, body *models.SnapshotCreate) (*models.SnapshotCreateResponse, error)
Create a snapshot of an Instance
func (*IBMPIInstanceClient) Delete ¶
func (f *IBMPIInstanceClient) Delete(id string) error
Delete an Instance
func (*IBMPIInstanceClient) DeleteNetwork ¶ added in v1.0.79
func (f *IBMPIInstanceClient) DeleteNetwork(id string, body *models.PVMInstanceRemoveNetwork) error
Delete a Network from an Instance
func (*IBMPIInstanceClient) Get ¶
func (f *IBMPIInstanceClient) Get(id string) (*models.PVMInstance, error)
Get an Instance
func (*IBMPIInstanceClient) GetAll ¶ added in v1.0.23
func (f *IBMPIInstanceClient) GetAll() (*models.PVMInstances, error)
Get All Instances
func (*IBMPIInstanceClient) GetConsoleLanguages ¶ added in v1.0.78
func (f *IBMPIInstanceClient) GetConsoleLanguages(id string) (*models.ConsoleLanguages, error)
List the available Console Languages for an Instance
func (*IBMPIInstanceClient) GetSnapShotVM ¶ added in v1.0.22
func (f *IBMPIInstanceClient) GetSnapShotVM(id string) (*models.Snapshots, error)
Get an Instance's Snapshots
func (*IBMPIInstanceClient) PostConsoleURL ¶
func (f *IBMPIInstanceClient) PostConsoleURL(id string) (*models.PVMInstanceConsole, error)
Generate the Console URL for an Instance
func (*IBMPIInstanceClient) RestoreSnapShotVM ¶ added in v1.0.23
func (f *IBMPIInstanceClient) RestoreSnapShotVM(id, snapshotid, restoreAction string, body *models.SnapshotRestore) (*models.Snapshot, error)
Restore a Snapshot of an Instance
func (*IBMPIInstanceClient) Update ¶
func (f *IBMPIInstanceClient) Update(id string, body *models.PVMInstanceUpdate) (*models.PVMInstanceUpdateResponse, error)
Update an Instance
func (*IBMPIInstanceClient) UpdateConsoleLanguage ¶ added in v1.0.78
func (f *IBMPIInstanceClient) UpdateConsoleLanguage(id string, body *models.ConsoleLanguage) (*models.ConsoleLanguage, error)
Update the available Console Languages for an Instance
type IBMPIJobClient ¶ added in v1.0.75
type IBMPIJobClient struct {
IBMPIClient
}
IBMPIJobClient
func NewIBMPIJobClient ¶ added in v1.0.75
func NewIBMPIJobClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPIJobClient
NewIBMPIJobClient
func (*IBMPIJobClient) Delete ¶ added in v1.0.75
func (f *IBMPIJobClient) Delete(id string) error
Delete a Job
type IBMPIKeyClient ¶
type IBMPIKeyClient struct {
IBMPIClient
}
IBMPIKeyClient
func NewIBMPIKeyClient ¶
func NewIBMPIKeyClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPIKeyClient
NewIBMPIKeyClient
type IBMPINetworkClient ¶
type IBMPINetworkClient struct {
IBMPIClient
}
IBMPINetworkClient
func NewIBMPINetworkClient ¶
func NewIBMPINetworkClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPINetworkClient
NewIBMPINetworkClient
func (*IBMPINetworkClient) Create ¶
func (f *IBMPINetworkClient) Create(body *models.NetworkCreate) (*models.Network, error)
Create a Network
func (*IBMPINetworkClient) CreatePort ¶
func (f *IBMPINetworkClient) CreatePort(id string, body *models.NetworkPortCreate) (*models.NetworkPort, error)
Create a Port on a Network
func (*IBMPINetworkClient) Delete ¶
func (f *IBMPINetworkClient) Delete(id string) error
Delete a Network
func (*IBMPINetworkClient) DeletePort ¶
func (f *IBMPINetworkClient) DeletePort(id string, networkPortID string) error
Delete a Port on a Network
func (*IBMPINetworkClient) Get ¶
func (f *IBMPINetworkClient) Get(id string) (*models.Network, error)
Get a Network
func (*IBMPINetworkClient) GetAll ¶ added in v1.0.84
func (f *IBMPINetworkClient) GetAll() (*models.Networks, error)
Get All Networks
func (*IBMPINetworkClient) GetAllPorts ¶ added in v1.0.84
func (f *IBMPINetworkClient) GetAllPorts(id string) (*models.NetworkPorts, error)
Get All Ports on a Network
func (*IBMPINetworkClient) GetAllPublic ¶ added in v1.0.84
func (f *IBMPINetworkClient) GetAllPublic() (*models.Networks, error)
Get All Public Networks
func (*IBMPINetworkClient) GetPort ¶ added in v1.0.3
func (f *IBMPINetworkClient) GetPort(id string, networkPortID string) (*models.NetworkPort, error)
Get a Port on a Network
func (*IBMPINetworkClient) Update ¶ added in v1.1.1
func (f *IBMPINetworkClient) Update(id string, body *models.NetworkUpdate) (*models.Network, error)
Update a Network
func (*IBMPINetworkClient) UpdatePort ¶ added in v1.0.84
func (f *IBMPINetworkClient) UpdatePort(id, networkPortID string, body *models.NetworkPortUpdate) (*models.NetworkPort, error)
Update a Port on a Network
type IBMPIPlacementGroupClient ¶ added in v1.0.59
type IBMPIPlacementGroupClient struct {
IBMPIClient
}
IBMPIPlacementGroupClient
func NewIBMPIPlacementGroupClient ¶ added in v1.0.59
func NewIBMPIPlacementGroupClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPIPlacementGroupClient
NewIBMPIPlacementGroupClient
func (*IBMPIPlacementGroupClient) AddMember ¶ added in v1.0.83
func (f *IBMPIPlacementGroupClient) AddMember(id string, body *models.PlacementGroupServer) (*models.PlacementGroup, error)
Add an Instance to a Placement Group
func (*IBMPIPlacementGroupClient) Create ¶ added in v1.0.59
func (f *IBMPIPlacementGroupClient) Create(body *models.PlacementGroupCreate) (*models.PlacementGroup, error)
Create a Placement Group
func (*IBMPIPlacementGroupClient) Delete ¶ added in v1.0.59
func (f *IBMPIPlacementGroupClient) Delete(id string) error
Delete a Placement Group
func (*IBMPIPlacementGroupClient) DeleteMember ¶ added in v1.0.59
func (f *IBMPIPlacementGroupClient) DeleteMember(id string, body *models.PlacementGroupServer) (*models.PlacementGroup, error)
Remove an Instance to a Placement Group
func (*IBMPIPlacementGroupClient) Get ¶ added in v1.0.59
func (f *IBMPIPlacementGroupClient) Get(id string) (*models.PlacementGroup, error)
Get a PI Placement Group
func (*IBMPIPlacementGroupClient) GetAll ¶ added in v1.0.71
func (f *IBMPIPlacementGroupClient) GetAll() (*models.PlacementGroups, error)
Get All Placement Groups
type IBMPISAPInstanceClient ¶ added in v1.0.25
type IBMPISAPInstanceClient struct {
IBMPIClient
}
IBMPISAPInstanceClient
func NewIBMPISAPInstanceClient ¶ added in v1.0.25
func NewIBMPISAPInstanceClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPISAPInstanceClient
NewIBMPISAPInstanceClient
func (*IBMPISAPInstanceClient) Create ¶ added in v1.0.25
func (f *IBMPISAPInstanceClient) Create(body *models.SAPCreate) (*models.PVMInstanceList, error)
Create a SAP Instance
func (*IBMPISAPInstanceClient) GetAllSAPProfiles ¶ added in v1.0.79
func (f *IBMPISAPInstanceClient) GetAllSAPProfiles(cloudInstanceID string) (*models.SAPProfiles, error)
Get All SAP Profiles
func (*IBMPISAPInstanceClient) GetSAPProfile ¶ added in v1.0.79
func (f *IBMPISAPInstanceClient) GetSAPProfile(id string) (*models.SAPProfile, error)
Get a SAP Profile
type IBMPISPPPlacementGroupClient ¶ added in v1.2.1
type IBMPISPPPlacementGroupClient struct {
IBMPIClient
}
IBMPISPPPlacementGroupClient
func NewIBMPISPPPlacementGroupClient ¶ added in v1.2.1
func NewIBMPISPPPlacementGroupClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPISPPPlacementGroupClient
NewIBMPISPPPlacementGroupClient
func (*IBMPISPPPlacementGroupClient) AddMember ¶ added in v1.2.1
func (f *IBMPISPPPlacementGroupClient) AddMember(id string, sppID string) (*models.SPPPlacementGroup, error)
Add an Instance to a SPP Placement Group
func (*IBMPISPPPlacementGroupClient) Create ¶ added in v1.2.1
func (f *IBMPISPPPlacementGroupClient) Create(body *models.SPPPlacementGroupCreate) (*models.SPPPlacementGroup, error)
Create a SPP Placement Group
func (*IBMPISPPPlacementGroupClient) Delete ¶ added in v1.2.1
func (f *IBMPISPPPlacementGroupClient) Delete(id string) error
Delete a SPP Placement Group
func (*IBMPISPPPlacementGroupClient) DeleteMember ¶ added in v1.2.1
func (f *IBMPISPPPlacementGroupClient) DeleteMember(id string, sppID string) (*models.SPPPlacementGroup, error)
Remove an Instance to a SPP Placement Group
func (*IBMPISPPPlacementGroupClient) Get ¶ added in v1.2.1
func (f *IBMPISPPPlacementGroupClient) Get(id string) (*models.SPPPlacementGroup, error)
Get a PI SPP Placement Group
func (*IBMPISPPPlacementGroupClient) GetAll ¶ added in v1.2.1
func (f *IBMPISPPPlacementGroupClient) GetAll() (*models.SPPPlacementGroups, error)
Get All SPP Placement Groups
type IBMPISharedProcessorPoolClient ¶ added in v1.2.1
type IBMPISharedProcessorPoolClient struct {
}IBMPISharedProcessorPoolClient
func NewIBMPISharedProcessorPoolClient ¶ added in v1.2.1
func NewIBMPISharedProcessorPoolClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPISharedProcessorPoolClient
NewIBMPISharedProcessorPoolClient
func (*IBMPISharedProcessorPoolClient) Create ¶ added in v1.2.1
func (f *IBMPISharedProcessorPoolClient) Create(body *models.SharedProcessorPoolCreate) (*models.SharedProcessorPool, error)
Create a Shared Processor Pool
func (*IBMPISharedProcessorPoolClient) Delete ¶ added in v1.2.1
func (f *IBMPISharedProcessorPoolClient) Delete(id string) error
Delete a Shared Processor Pool
func (*IBMPISharedProcessorPoolClient) Get ¶ added in v1.2.1
func (f *IBMPISharedProcessorPoolClient) Get(id string) (*models.SharedProcessorPoolDetail, error)
Get a PI Shared Processor Pool
func (*IBMPISharedProcessorPoolClient) GetAll ¶ added in v1.2.1
func (f *IBMPISharedProcessorPoolClient) GetAll() (*models.SharedProcessorPools, error)
Get All Shared Processor Pools
func (*IBMPISharedProcessorPoolClient) Update ¶ added in v1.2.1
func (f *IBMPISharedProcessorPoolClient) Update(id string, body *models.SharedProcessorPoolUpdate) (*models.SharedProcessorPool, error)
Update a PI Shared Processor Pool
type IBMPISnapshotClient ¶ added in v1.0.1
type IBMPISnapshotClient struct {
IBMPIClient
}
IBMPISnapshotClient
func NewIBMPISnapshotClient ¶ added in v1.0.1
func NewIBMPISnapshotClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPISnapshotClient
NewIBMPISnapshotClient
func (*IBMPISnapshotClient) Create ¶ added in v1.0.15
func (f *IBMPISnapshotClient) Create(instanceID, snapshotID, restoreFailAction string) (*models.Snapshot, error)
Create or Restore a Snapshot
func (*IBMPISnapshotClient) Delete ¶ added in v1.0.1
func (f *IBMPISnapshotClient) Delete(id string) error
Delete a Snapshot
func (*IBMPISnapshotClient) Get ¶ added in v1.0.1
func (f *IBMPISnapshotClient) Get(id string) (*models.Snapshot, error)
Get a Snapshot
func (*IBMPISnapshotClient) GetAll ¶ added in v1.0.1
func (f *IBMPISnapshotClient) GetAll() (*models.Snapshots, error)
Get All Snapshots
func (*IBMPISnapshotClient) Update ¶ added in v1.0.1
func (f *IBMPISnapshotClient) Update(id string, body *models.SnapshotUpdate) (models.Object, error)
Update a Snapshot
type IBMPIStorageCapacityClient ¶ added in v1.0.54
type IBMPIStorageCapacityClient struct {
IBMPIClient
}
IBMPIStorageCapacityClient
func NewIBMPIStorageCapacityClient ¶ added in v1.0.54
func NewIBMPIStorageCapacityClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPIStorageCapacityClient
NewIBMPIStorageCapacityClient
func (*IBMPIStorageCapacityClient) GetAllStoragePoolsCapacity ¶ added in v1.0.84
func (f *IBMPIStorageCapacityClient) GetAllStoragePoolsCapacity() (*models.StoragePoolsCapacity, error)
Get All Storage Capacities for all available Storage Pools in a Region
func (*IBMPIStorageCapacityClient) GetAllStorageTypesCapacity ¶ added in v1.0.84
func (f *IBMPIStorageCapacityClient) GetAllStorageTypesCapacity() (*models.StorageTypesCapacity, error)
Get Storage Capacity for all available Storage Types in a Region
func (*IBMPIStorageCapacityClient) GetStoragePoolCapacity ¶ added in v1.0.84
func (f *IBMPIStorageCapacityClient) GetStoragePoolCapacity(storagePool string) (*models.StoragePoolCapacity, error)
Get Storage Capacity for a Storage Pool in a Region
func (*IBMPIStorageCapacityClient) GetStorageTypeCapacity ¶ added in v1.0.84
func (f *IBMPIStorageCapacityClient) GetStorageTypeCapacity(storageType string) (*models.StorageTypeCapacity, error)
Get Storage capacity for a Storage Type in a Region
type IBMPISystemPoolClient ¶ added in v1.0.7
type IBMPISystemPoolClient struct {
IBMPIClient
}
IBMPISystemPoolClient
func NewIBMPISystemPoolClient ¶ added in v1.0.7
func NewIBMPISystemPoolClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPISystemPoolClient
NewIBMPISystemPoolClient
func (*IBMPISystemPoolClient) Get ¶ added in v1.0.7
func (f *IBMPISystemPoolClient) Get(id string) (models.SystemPools, error)
Get the System Pools Deprecated: Use GetSystemPools()
func (*IBMPISystemPoolClient) GetSystemPools ¶ added in v1.1.8
func (f *IBMPISystemPoolClient) GetSystemPools() (models.SystemPools, error)
Get the System Pools
type IBMPITaskClient ¶ added in v1.0.46
type IBMPITaskClient struct {
IBMPIClient
}
IBMPITaskClient
func NewIBMPITaskClient ¶ added in v1.0.46
func NewIBMPITaskClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPITaskClient
NewIBMPITaskClient
func (*IBMPITaskClient) Delete ¶ added in v1.0.46
func (f *IBMPITaskClient) Delete(id string) error
Delete a Task
type IBMPITenantClient ¶
type IBMPITenantClient struct {
IBMPIClient
}
IBMPITenantClient
func NewIBMPITenantClient ¶
func NewIBMPITenantClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPITenantClient
NewIBMPITenantClient
func (*IBMPITenantClient) Get ¶
func (f *IBMPITenantClient) Get(tenantid string) (*models.Tenant, error)
Get a Tenant
func (*IBMPITenantClient) GetSelfTenant ¶ added in v1.0.84
func (f *IBMPITenantClient) GetSelfTenant() (*models.Tenant, error)
Get own Tenant
type IBMPIVolumeClient ¶
type IBMPIVolumeClient struct {
IBMPIClient
}
IBMPIVolumeClient
func NewIBMPIVolumeClient ¶
func NewIBMPIVolumeClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPIVolumeClient
NewIBMPIVolumeClient
func (*IBMPIVolumeClient) Attach ¶
func (f *IBMPIVolumeClient) Attach(id, volumename string) error
Attach a Volume to an Instance
func (*IBMPIVolumeClient) BulkVolumeAttach ¶ added in v1.5.9
func (f *IBMPIVolumeClient) BulkVolumeAttach(pvmID string, body *models.VolumesAttach) (*models.VolumesAttachmentResponse, error)
Bulk volutme attach
func (*IBMPIVolumeClient) BulkVolumeDelete ¶ added in v1.5.9
func (f *IBMPIVolumeClient) BulkVolumeDelete(body *models.VolumesDelete) (*models.VolumesDeleteResponse, error)
Bulk volume delete
func (*IBMPIVolumeClient) BulkVolumeDetach ¶ added in v1.5.9
func (f *IBMPIVolumeClient) BulkVolumeDetach(pvmID string, body *models.VolumesDetach) (*models.VolumesDetachmentResponse, error)
Bulk volume detach
func (*IBMPIVolumeClient) CheckVolumeAttach ¶ added in v1.0.35
func (f *IBMPIVolumeClient) CheckVolumeAttach(id, volumeID string) (*models.Volume, error)
Check if a Volume is attached to an Instance
func (*IBMPIVolumeClient) CreateVolume ¶ added in v1.0.39
func (f *IBMPIVolumeClient) CreateVolume(body *models.CreateDataVolume) (*models.Volume, error)
Create a Volume
func (*IBMPIVolumeClient) CreateVolumeV2 ¶ added in v1.0.54
func (f *IBMPIVolumeClient) CreateVolumeV2(body *models.MultiVolumesCreate) (*models.Volumes, error)
Create a VolumeV2
func (*IBMPIVolumeClient) DeleteVolume ¶ added in v1.0.39
func (f *IBMPIVolumeClient) DeleteVolume(id string) error
Delete a Volume
func (*IBMPIVolumeClient) Detach ¶
func (f *IBMPIVolumeClient) Detach(id, volumename string) error
Detach a Volume from an Instance
func (*IBMPIVolumeClient) Get ¶
func (f *IBMPIVolumeClient) Get(id string) (*models.Volume, error)
Get a Volume
func (*IBMPIVolumeClient) GetAll ¶
func (f *IBMPIVolumeClient) GetAll() (*models.Volumes, error)
Get All Volumes
func (*IBMPIVolumeClient) GetAllAffinityVolumes ¶ added in v1.0.84
func (f *IBMPIVolumeClient) GetAllAffinityVolumes(affinity string) (*models.Volumes, error)
Get All Affinity Volumes
func (*IBMPIVolumeClient) GetAllInstanceVolumes ¶ added in v1.0.84
func (f *IBMPIVolumeClient) GetAllInstanceVolumes(id string) (*models.Volumes, error)
Get All Volumes attached to an Instance
func (*IBMPIVolumeClient) GetVolumeFlashCopyMappings ¶ added in v1.2.0
func (f *IBMPIVolumeClient) GetVolumeFlashCopyMappings(id string) (models.FlashCopyMappings, error)
Get a list of flashcopy mappings of a given volume
func (*IBMPIVolumeClient) GetVolumeRemoteCopyRelationships ¶ added in v1.2.0
func (f *IBMPIVolumeClient) GetVolumeRemoteCopyRelationships(id string) (*models.VolumeRemoteCopyRelationship, error)
Get remote copy relationship of a volume
func (*IBMPIVolumeClient) SetBootVolume ¶
func (f *IBMPIVolumeClient) SetBootVolume(id, volumename string) error
Set a Volume as the Boot Volume for an Instance
func (*IBMPIVolumeClient) UpdateVolume ¶ added in v1.0.39
func (f *IBMPIVolumeClient) UpdateVolume(id string, body *models.UpdateVolume) (*models.Volume, error)
Update a Volume
func (*IBMPIVolumeClient) UpdateVolumeAttach ¶ added in v1.0.85
func (f *IBMPIVolumeClient) UpdateVolumeAttach(id, volumeID string, body *models.PVMInstanceVolumeUpdate) error
Update a Volume attached to an Instance
func (*IBMPIVolumeClient) VolumeAction ¶ added in v1.2.0
func (f *IBMPIVolumeClient) VolumeAction(id string, body *models.VolumeAction) error
Performs action on volume
type IBMPIVolumeGroupClient ¶ added in v1.2.0
type IBMPIVolumeGroupClient struct {
IBMPIClient
}
IBMPIVolumeGroupClient
func NewIBMPIVolumeGroupClient ¶ added in v1.2.0
func NewIBMPIVolumeGroupClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPIVolumeGroupClient
NewIBMPIVolumeGroupClient
func (*IBMPIVolumeGroupClient) CreateVolumeGroup ¶ added in v1.2.0
func (f *IBMPIVolumeGroupClient) CreateVolumeGroup(body *models.VolumeGroupCreate) (*models.VolumeGroupCreateResponse, error)
Create a Volume Group
func (*IBMPIVolumeGroupClient) DeleteVolumeGroup ¶ added in v1.2.0
func (f *IBMPIVolumeGroupClient) DeleteVolumeGroup(id string) error
Delete a Volume Group
func (*IBMPIVolumeGroupClient) Get ¶ added in v1.2.0
func (f *IBMPIVolumeGroupClient) Get(id string) (*models.VolumeGroup, error)
Get a Volume-Group
func (*IBMPIVolumeGroupClient) GetAll ¶ added in v1.2.0
func (f *IBMPIVolumeGroupClient) GetAll() (*models.VolumeGroups, error)
GetAll Volume-Group
func (*IBMPIVolumeGroupClient) GetAllDetails ¶ added in v1.2.0
func (f *IBMPIVolumeGroupClient) GetAllDetails() (*models.VolumeGroupsDetails, error)
GetAll Volume-Group with Details
func (*IBMPIVolumeGroupClient) GetDetails ¶ added in v1.2.0
func (f *IBMPIVolumeGroupClient) GetDetails(id string) (*models.VolumeGroupDetails, error)
Get a Volume-Group with Details
func (*IBMPIVolumeGroupClient) GetVolumeGroupLiveDetails ¶ added in v1.2.0
func (f *IBMPIVolumeGroupClient) GetVolumeGroupLiveDetails(id string) (*models.VolumeGroupStorageDetails, error)
Get live details of a Volume Group
func (*IBMPIVolumeGroupClient) GetVolumeGroupRemoteCopyRelationships ¶ added in v1.2.0
func (f *IBMPIVolumeGroupClient) GetVolumeGroupRemoteCopyRelationships(id string) (*models.VolumeGroupRemoteCopyRelationships, error)
Get remote copy relationships of the volume belonging to volume group
func (*IBMPIVolumeGroupClient) UpdateVolumeGroup ¶ added in v1.2.0
func (f *IBMPIVolumeGroupClient) UpdateVolumeGroup(id string, body *models.VolumeGroupUpdate) error
Update a Volume Group
func (*IBMPIVolumeGroupClient) VolumeGroupAction ¶ added in v1.2.0
func (f *IBMPIVolumeGroupClient) VolumeGroupAction(id string, body *models.VolumeGroupAction) (models.Object, error)
Performs action on Volume Group
type IBMPIVolumeOnboardingClient ¶ added in v1.2.0
type IBMPIVolumeOnboardingClient struct {
IBMPIClient
}
IBMPIVolumeOnboardingClient
func NewIBMPIVolumeOnboardingClient ¶ added in v1.2.0
func NewIBMPIVolumeOnboardingClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPIVolumeOnboardingClient
NewIBMPIVolumeOnboardingClient
func (*IBMPIVolumeOnboardingClient) CreateVolumeOnboarding ¶ added in v1.2.0
func (f *IBMPIVolumeOnboardingClient) CreateVolumeOnboarding(body *models.VolumeOnboardingCreate) (*models.VolumeOnboardingCreateResponse, error)
Onboard auxiliary volumes to target site
func (*IBMPIVolumeOnboardingClient) Get ¶ added in v1.2.0
func (f *IBMPIVolumeOnboardingClient) Get(id string) (*models.VolumeOnboarding, error)
Get the information of volume onboarding operation
func (*IBMPIVolumeOnboardingClient) GetAll ¶ added in v1.2.0
func (f *IBMPIVolumeOnboardingClient) GetAll() (*models.VolumeOnboardings, error)
Get All volume onboardings for this cloud instance
type IBMPIVpnConnectionClient ¶ added in v1.0.77
type IBMPIVpnConnectionClient struct {
IBMPIClient
}
IBMPIVpnConnectionClient
func NewIBMPIVpnConnectionClient ¶ added in v1.0.77
func NewIBMPIVpnConnectionClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPIVpnConnectionClient
NewIBMPIVpnConnectionClient
func (*IBMPIVpnConnectionClient) AddNetwork ¶ added in v1.0.81
func (f *IBMPIVpnConnectionClient) AddNetwork(id, networkID string) (*models.JobReference, error)
Attach a Network to a VPN Connection
func (*IBMPIVpnConnectionClient) AddSubnet ¶ added in v1.0.81
func (f *IBMPIVpnConnectionClient) AddSubnet(id, subnet string) (*models.PeerSubnets, error)
Attach a Subnet to a VPN Connection
func (*IBMPIVpnConnectionClient) Create ¶ added in v1.0.77
func (f *IBMPIVpnConnectionClient) Create(body *models.VPNConnectionCreate) (*models.VPNConnectionCreateResponse, error)
Create a VPN Connection
func (*IBMPIVpnConnectionClient) Delete ¶ added in v1.0.77
func (f *IBMPIVpnConnectionClient) Delete(id string) (*models.JobReference, error)
Delete a VPN Connection
func (*IBMPIVpnConnectionClient) DeleteNetwork ¶ added in v1.0.81
func (f *IBMPIVpnConnectionClient) DeleteNetwork(id, networkID string) (*models.JobReference, error)
Detach a Network from a VPN Connection
func (*IBMPIVpnConnectionClient) DeleteSubnet ¶ added in v1.0.81
func (f *IBMPIVpnConnectionClient) DeleteSubnet(id, subnet string) (*models.PeerSubnets, error)
Detach a Subnet from a VPN Connection
func (*IBMPIVpnConnectionClient) Get ¶ added in v1.0.77
func (f *IBMPIVpnConnectionClient) Get(id string) (*models.VPNConnection, error)
Get a VPN Connection
func (*IBMPIVpnConnectionClient) GetAll ¶ added in v1.0.77
func (f *IBMPIVpnConnectionClient) GetAll() (*models.VPNConnections, error)
Get All VPN Connections
func (*IBMPIVpnConnectionClient) GetNetwork ¶ added in v1.0.80
func (f *IBMPIVpnConnectionClient) GetNetwork(id string) (*models.NetworkIDs, error)
Get a VPN Connection's Network
func (*IBMPIVpnConnectionClient) GetSubnet ¶ added in v1.0.81
func (f *IBMPIVpnConnectionClient) GetSubnet(id string) (*models.PeerSubnets, error)
Get a VPN Connection's Subnet
func (*IBMPIVpnConnectionClient) Update ¶ added in v1.0.77
func (f *IBMPIVpnConnectionClient) Update(id string, body *models.VPNConnectionUpdate) (*models.VPNConnection, error)
Update a VPN Connection
type IBMPIVpnPolicyClient ¶ added in v1.0.77
type IBMPIVpnPolicyClient struct {
IBMPIClient
}
IBMPIVpnPolicyClient
func NewIBMPIVpnPolicyClient ¶ added in v1.0.77
func NewIBMPIVpnPolicyClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPIVpnPolicyClient
IBMPIVpnPolicyClient
func (*IBMPIVpnPolicyClient) CreateIKEPolicy ¶ added in v1.0.77
func (f *IBMPIVpnPolicyClient) CreateIKEPolicy(body *models.IKEPolicyCreate) (*models.IKEPolicy, error)
Create an IKE Policy
func (*IBMPIVpnPolicyClient) CreateIPSecPolicy ¶ added in v1.0.77
func (f *IBMPIVpnPolicyClient) CreateIPSecPolicy(body *models.IPSecPolicyCreate) (*models.IPSecPolicy, error)
Create an IPSec Policy
func (*IBMPIVpnPolicyClient) DeleteIKEPolicy ¶ added in v1.0.77
func (f *IBMPIVpnPolicyClient) DeleteIKEPolicy(id string) error
Delete an IKE Policy
func (*IBMPIVpnPolicyClient) DeleteIPSecPolicy ¶ added in v1.0.77
func (f *IBMPIVpnPolicyClient) DeleteIPSecPolicy(id string) error
Delete an IPSec Policy
func (*IBMPIVpnPolicyClient) GetAllIKEPolicies ¶ added in v1.0.77
func (f *IBMPIVpnPolicyClient) GetAllIKEPolicies() (*models.IKEPolicies, error)
Get All IKE Policies
func (*IBMPIVpnPolicyClient) GetAllIPSecPolicies ¶ added in v1.0.77
func (f *IBMPIVpnPolicyClient) GetAllIPSecPolicies() (*models.IPSecPolicies, error)
Get All IPSec Policies
func (*IBMPIVpnPolicyClient) GetIKEPolicy ¶ added in v1.0.77
func (f *IBMPIVpnPolicyClient) GetIKEPolicy(id string) (*models.IKEPolicy, error)
IKE Policies Get an IKE Policy
func (*IBMPIVpnPolicyClient) GetIPSecPolicy ¶ added in v1.0.77
func (f *IBMPIVpnPolicyClient) GetIPSecPolicy(id string) (*models.IPSecPolicy, error)
IPSec Policies Get an IPSec Policy
func (*IBMPIVpnPolicyClient) UpdateIKEPolicy ¶ added in v1.0.77
func (f *IBMPIVpnPolicyClient) UpdateIKEPolicy(id string, body *models.IKEPolicyUpdate) (*models.IKEPolicy, error)
Update an IKE Policy
func (*IBMPIVpnPolicyClient) UpdateIPSecPolicy ¶ added in v1.0.77
func (f *IBMPIVpnPolicyClient) UpdateIPSecPolicy(id string, body *models.IPSecPolicyUpdate) (*models.IPSecPolicy, error)
Update an IPSec Policy
type IBMPIWorkspacesClient ¶ added in v1.4.4
type IBMPIWorkspacesClient struct {
IBMPIClient
}
IBMPIWorkspacesClient
func NewIBMPIWorkspacesClient ¶ added in v1.4.4
func NewIBMPIWorkspacesClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPIWorkspacesClient
NewIBMPIWorkspacesClient
func (*IBMPIWorkspacesClient) Create ¶ added in v1.5.4
func (f *IBMPIWorkspacesClient) Create(name, location, groupID, plan string) (*resourcecontrollerv2.ResourceInstance, *core.DetailedResponse, error)
Create a workspace
func (*IBMPIWorkspacesClient) Delete ¶ added in v1.5.4
func (f *IBMPIWorkspacesClient) Delete(workspaceID string) (*core.DetailedResponse, error)
Delete a workspace
func (*IBMPIWorkspacesClient) Get ¶ added in v1.4.4
func (f *IBMPIWorkspacesClient) Get(cloudInstanceID string) (*models.Workspace, error)
Get a workspace
func (*IBMPIWorkspacesClient) GetAll ¶ added in v1.5.1
func (f *IBMPIWorkspacesClient) GetAll() (*models.Workspaces, error)
Get all workspaces
func (*IBMPIWorkspacesClient) GetRC ¶ added in v1.5.4
func (f *IBMPIWorkspacesClient) GetRC(rcWorkspaceID string) (*resourcecontrollerv2.ResourceInstance, *core.DetailedResponse, error)
Get a resourceController
Source Files ¶
- ibm-pi-clonevolumes.go
- ibm-pi-cloud-connection.go
- ibm-pi-cloud-instance.go
- ibm-pi-datacenters.go
- ibm-pi-dhcp.go
- ibm-pi-dr-location.go
- ibm-pi-helper.go
- ibm-pi-hostgroups.go
- ibm-pi-image.go
- ibm-pi-instance.go
- ibm-pi-job.go
- ibm-pi-key.go
- ibm-pi-network.go
- ibm-pi-placement-groups.go
- ibm-pi-sap-instance.go
- ibm-pi-shared-processor-pool.go
- ibm-pi-snapshot.go
- ibm-pi-spp-placement-groups.go
- ibm-pi-storage-capacity.go
- ibm-pi-system-pools.go
- ibm-pi-tasks.go
- ibm-pi-tenant.go
- ibm-pi-volume-group.go
- ibm-pi-volume-onboarding.go
- ibm-pi-volume.go
- ibm-pi-vpn-policy.go
- ibm-pi-vpn.go
- ibm-pi-workspaces.go