instance

package
v1.8.0-beta8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2024 License: Apache-2.0 Imports: 38 Imported by: 32

Documentation

Index

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

Create a Clone Volume (V2) - This creates a clone

func (*IBMPICloneVolumeClient) CreateV2Clone added in v1.0.56

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

Create a Cloud Connection

func (*IBMPICloudConnectionClient) Delete added in v1.0.49

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

Get a Cloud Connection

func (*IBMPICloudConnectionClient) GetAll added in v1.0.49

Get All Cloud Connections

func (*IBMPICloudConnectionClient) GetVPC added in v1.0.60

Get all VPCs for a Cloud Instance

func (*IBMPICloudConnectionClient) Update added in v1.0.49

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

Get a Cloud Instance

func (*IBMPICloudInstanceClient) Update added in v1.0.24

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

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

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

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

Get the disaster recovery site details for the current location

func (*IBMPIDisasterRecoveryLocationClient) GetAll added in v1.2.0

Get all disaster recovery locations supported by Power Virtual Server

type IBMPIHostGroupsClient added in v1.7.0

type IBMPIHostGroupsClient struct {
	IBMPIClient
}

IBMPIHostGroupsClient

func NewIBMPIHostGroupsClient added in v1.7.0

func NewIBMPIHostGroupsClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPIHostGroupsClient

NewIBMPIHostGroupsClient

func (*IBMPIHostGroupsClient) CreateHost added in v1.7.0

func (f *IBMPIHostGroupsClient) CreateHost(body *models.HostCreate) (models.HostList, error)

Create a host

func (*IBMPIHostGroupsClient) CreateHostGroup added in v1.7.0

func (f *IBMPIHostGroupsClient) CreateHostGroup(body *models.HostGroupCreate) (*models.HostGroup, error)

Create a host group

func (*IBMPIHostGroupsClient) DeleteHost added in v1.7.0

func (f *IBMPIHostGroupsClient) DeleteHost(id string) error

Delete a host

func (*IBMPIHostGroupsClient) GetAvailableHosts added in v1.7.0

func (f *IBMPIHostGroupsClient) GetAvailableHosts() (models.AvailableHostList, error)

Get All available hosts

func (*IBMPIHostGroupsClient) GetHost added in v1.7.0

func (f *IBMPIHostGroupsClient) GetHost(id string) (*models.Host, error)

Get a host

func (*IBMPIHostGroupsClient) GetHostGroup added in v1.7.0

func (f *IBMPIHostGroupsClient) GetHostGroup(id string) (*models.HostGroup, error)

Get a host group

func (*IBMPIHostGroupsClient) GetHostGroups added in v1.7.0

func (f *IBMPIHostGroupsClient) GetHostGroups() (models.HostGroupList, error)

Get all host groups

func (*IBMPIHostGroupsClient) GetHosts added in v1.7.0

func (f *IBMPIHostGroupsClient) GetHosts() (models.HostList, error)

Get all hosts

func (*IBMPIHostGroupsClient) UpdateHost added in v1.7.0

func (f *IBMPIHostGroupsClient) UpdateHost(body *models.HostPut, id string) (*models.Host, error)

Update a host

func (*IBMPIHostGroupsClient) UpdateHostGroup added in v1.7.0

func (f *IBMPIHostGroupsClient) UpdateHostGroup(body *models.HostGroupShareOp, id string) (*models.HostGroup, error)

Update a host group

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

Action Operation for an Instance

func (*IBMPIInstanceClient) AddNetwork added in v1.0.30

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

Create an Instance

func (*IBMPIInstanceClient) CreateClone added in v1.0.4

Create a Clone of an Instance

func (*IBMPIInstanceClient) CreatePvmSnapShot added in v1.0.1

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, networkID string, body *models.PVMInstanceRemoveNetwork) error

Delete a Network from an Instance

func (*IBMPIInstanceClient) Get

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

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

func (*IBMPIJobClient) Get added in v1.0.75

func (f *IBMPIJobClient) Get(id string) (*models.Job, error)

Get a Job

func (*IBMPIJobClient) GetAll added in v1.0.75

func (f *IBMPIJobClient) GetAll() (*models.Jobs, error)

Get All Jobs

type IBMPIKeyClient

type IBMPIKeyClient struct {
	IBMPIClient
}

IBMPIKeyClient

func NewIBMPIKeyClient

func NewIBMPIKeyClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPIKeyClient

NewIBMPIKeyClient

func (*IBMPIKeyClient) Create

func (f *IBMPIKeyClient) Create(body *models.SSHKey) (*models.SSHKey, error)

Create a SSH Key

func (*IBMPIKeyClient) Delete

func (f *IBMPIKeyClient) Delete(id string) error

Delete a SSH Key

func (*IBMPIKeyClient) Get

func (f *IBMPIKeyClient) Get(id string) (*models.SSHKey, error)

Get a SSH Key

func (*IBMPIKeyClient) GetAll added in v1.0.80

func (f *IBMPIKeyClient) GetAll() (*models.SSHKeys, error)

Get All SSH Keys

type IBMPINetworkAddressGroupClient added in v1.8.2

type IBMPINetworkAddressGroupClient struct {
	IBMPIClient
}

IBMPINetworkAddressGroupClient

func NewIBMPINetworkAddressGroupClient added in v1.8.2

func NewIBMPINetworkAddressGroupClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPINetworkAddressGroupClient

NewIBMPINetworkAddressGroupClient

func (*IBMPINetworkAddressGroupClient) AddMember added in v1.8.2

Add a member to a Network Address Group

func (*IBMPINetworkAddressGroupClient) Create added in v1.8.2

Create a new Network Address Group

func (*IBMPINetworkAddressGroupClient) Delete added in v1.8.2

Delete a Network Address Group from a workspace

func (*IBMPINetworkAddressGroupClient) DeleteMember added in v1.8.2

func (f *IBMPINetworkAddressGroupClient) DeleteMember(id, memberId string) (*models.NetworkAddressGroup, error)

Delete the member from a Network Address Group

func (*IBMPINetworkAddressGroupClient) Get added in v1.8.2

Get the detail of a Network Address Group

func (*IBMPINetworkAddressGroupClient) GetAll added in v1.8.2

Get the list of Network Address Groups for a workspace

func (*IBMPINetworkAddressGroupClient) Update added in v1.8.2

Update a Network Address Group

type IBMPINetworkClient

type IBMPINetworkClient struct {
	IBMPIClient
}

IBMPINetworkClient

func NewIBMPINetworkClient

func NewIBMPINetworkClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPINetworkClient

NewIBMPINetworkClient

func (*IBMPINetworkClient) Create

Create a Network

func (*IBMPINetworkClient) CreateNetworkInterface added in v1.8.1

func (f *IBMPINetworkClient) CreateNetworkInterface(id string, body *models.NetworkInterfaceCreate) (*models.NetworkInterface, error)

Create a network interface

func (*IBMPINetworkClient) CreatePort

Create a Port on a Network

func (*IBMPINetworkClient) Delete

func (f *IBMPINetworkClient) Delete(id string) error

Delete a Network

func (*IBMPINetworkClient) DeleteNetworkInterface added in v1.8.1

func (f *IBMPINetworkClient) DeleteNetworkInterface(id, netIntID string) error

Delete a network interface

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) GetAllNetworkInterfaces added in v1.8.1

func (f *IBMPINetworkClient) GetAllNetworkInterfaces(id string) (*models.NetworkInterfaces, error)

Get all Create a network interface

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) GetNetworkInterface added in v1.8.1

func (f *IBMPINetworkClient) GetNetworkInterface(id, netIntID string) (*models.NetworkInterface, error)

Get a network interface

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

Update a Network

func (*IBMPINetworkClient) UpdateNetworkInterface added in v1.8.1

func (f *IBMPINetworkClient) UpdateNetworkInterface(id, netIntID string, body *models.NetworkInterfaceUpdate) (*models.NetworkInterface, error)

Update a network interface

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 IBMPINetworkSecurityGroupClient added in v1.8.2

type IBMPINetworkSecurityGroupClient struct {
	IBMPIClient
}

IBMPINetworkSecurityGroupClient

func NewIBMIPINetworkSecurityGroupClient added in v1.8.2

func NewIBMIPINetworkSecurityGroupClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPINetworkSecurityGroupClient

NewIBMIPINetworkSecurityGroupClient

func (*IBMPINetworkSecurityGroupClient) Action added in v1.8.2

Action on a network security group

func (*IBMPINetworkSecurityGroupClient) AddMember added in v1.8.2

Add a member to a network security group

func (*IBMPINetworkSecurityGroupClient) AddRule added in v1.8.2

Add a rule to a network security group

func (*IBMPINetworkSecurityGroupClient) Create added in v1.8.2

Create a network security group

func (*IBMPINetworkSecurityGroupClient) Delete added in v1.8.2

Delete a network security group

func (*IBMPINetworkSecurityGroupClient) DeleteMember added in v1.8.2

func (f *IBMPINetworkSecurityGroupClient) DeleteMember(id, memberId string) (*models.NetworkSecurityGroup, error)

Deleta a member from a network securti group

func (*IBMPINetworkSecurityGroupClient) DeleteRule added in v1.8.2

Delete a rule from a network security group

func (*IBMPINetworkSecurityGroupClient) Get added in v1.8.2

Get a network security group

func (*IBMPINetworkSecurityGroupClient) GetAll added in v1.8.2

Get all network security groups

func (*IBMPINetworkSecurityGroupClient) Update added in v1.8.2

Update a network security group

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

Add an Instance to a Placement Group

func (*IBMPIPlacementGroupClient) Create added in v1.0.59

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

Remove an Instance to a Placement Group

func (*IBMPIPlacementGroupClient) Get added in v1.0.59

Get a PI Placement Group

func (*IBMPIPlacementGroupClient) GetAll added in v1.0.71

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

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

Add an Instance to a SPP Placement Group

func (*IBMPISPPPlacementGroupClient) Create added in v1.2.1

Create a SPP Placement Group

func (*IBMPISPPPlacementGroupClient) Delete added in v1.2.1

Delete a SPP Placement Group

func (*IBMPISPPPlacementGroupClient) DeleteMember added in v1.2.1

Remove an Instance to a SPP Placement Group

func (*IBMPISPPPlacementGroupClient) Get added in v1.2.1

Get a PI SPP Placement Group

func (*IBMPISPPPlacementGroupClient) GetAll added in v1.2.1

Get All SPP Placement Groups

type IBMPISharedProcessorPoolClient added in v1.2.1

type IBMPISharedProcessorPoolClient struct {
	IBMPIClient
}

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

Create a Shared Processor Pool

func (*IBMPISharedProcessorPoolClient) Delete added in v1.2.1

Delete a Shared Processor Pool

func (*IBMPISharedProcessorPoolClient) Get added in v1.2.1

Get a PI Shared Processor Pool

func (*IBMPISharedProcessorPoolClient) GetAll added in v1.2.1

Get All Shared Processor Pools

func (*IBMPISharedProcessorPoolClient) Update added in v1.2.1

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

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

Update a Snapshot

func (*IBMPISnapshotClient) V1SnapshotsGet added in v1.8.1

func (f *IBMPISnapshotClient) V1SnapshotsGet(id string) (*models.SnapshotV1, error)

Get a SnapshotV1

func (*IBMPISnapshotClient) V1SnapshotsGetall added in v1.8.1

func (f *IBMPISnapshotClient) V1SnapshotsGetall() (*models.SnapshotList, error)

Get All SnapshotsV1

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

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

func (*IBMPITaskClient) Get added in v1.0.46

func (f *IBMPITaskClient) Get(id string) (*models.Task, error)

Get 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

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

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

Get a Volume-Group

func (*IBMPIVolumeGroupClient) GetAll added in v1.2.0

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

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

Onboard auxiliary volumes to target site

func (*IBMPIVolumeOnboardingClient) Get added in v1.2.0

Get the information of volume onboarding operation

func (*IBMPIVolumeOnboardingClient) GetAll added in v1.2.0

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

Create a VPN Connection

func (*IBMPIVpnConnectionClient) Delete added in v1.0.77

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

Get a VPN Connection

func (*IBMPIVpnConnectionClient) GetAll added in v1.0.77

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

Get a VPN Connection's Subnet

func (*IBMPIVpnConnectionClient) Update added in v1.0.77

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

Get a resourceController

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL