Documentation ¶
Index ¶
- type IBMPICloneVolumeClient
- func (f *IBMPICloneVolumeClient) Create(cloneParams *p_cloud_volumes.PcloudV2VolumesClonePostParams, ...) (*models.CloneTaskReference, error)
- func (f *IBMPICloneVolumeClient) CreateV2Clone(powerinstanceid string, ...) (*models.VolumesClone, error)
- func (f *IBMPICloneVolumeClient) DeleteClone(cloneParams *p_cloud_volumes.PcloudV2VolumescloneDeleteParams, ...) (models.Object, error)
- func (f *IBMPICloneVolumeClient) Get(powerinstanceid, clonetaskid string, timeout time.Duration) (*models.CloneTaskStatus, error)
- func (f *IBMPICloneVolumeClient) GetV2CloneStatus(powerinstanceid, clone_name string) (*models.VolumesCloneDetail, error)
- func (f *IBMPICloneVolumeClient) GetV2Clones(powerinstanceid, query_filter string) (*models.VolumesClones, error)
- func (f *IBMPICloneVolumeClient) PrepareClone(powerinstanceid, volumeCloneID string, timeout time.Duration) (*models.VolumesClone, error)
- func (f *IBMPICloneVolumeClient) StartClone(powerinstanceid, volumeCloneID string, timeout time.Duration) (*models.VolumesClone, error)
- type IBMPICloudConnectionClient
- func (f *IBMPICloudConnectionClient) AddNetwork(networkID, cloudConnectionID, cloudInstanceID string) (*models.JobReference, error)
- func (f *IBMPICloudConnectionClient) AddNetworkWithContext(ctx context.Context, networkID, cloudConnectionID, cloudInstanceID string) (jobReferece *models.JobReference, err error)
- func (f *IBMPICloudConnectionClient) Create(body *models.CloudConnectionCreate, cloudInstanceID string) (*models.CloudConnection, *models.CloudConnectionCreateResponse, error)
- func (f *IBMPICloudConnectionClient) CreateWithContext(ctx context.Context, body *models.CloudConnectionCreate, ...) (cloudConnection *models.CloudConnection, ...)
- func (f *IBMPICloudConnectionClient) Delete(id, cloudInstanceID string) (models.Object, *models.JobReference, error)
- func (f *IBMPICloudConnectionClient) DeleteNetwork(networkID, cloudConnectionID, cloudInstanceID string) (*models.JobReference, error)
- func (f *IBMPICloudConnectionClient) DeleteNetworkWithContext(ctx context.Context, networkID, cloudConnectionID, cloudInstanceID string) (jobReferece *models.JobReference, err error)
- func (f *IBMPICloudConnectionClient) DeleteWithContext(ctx context.Context, id, cloudInstanceID string) (obj models.Object, deleteJob *models.JobReference, err error)
- func (f *IBMPICloudConnectionClient) Get(id, cloudInstanceID string) (*models.CloudConnection, error)
- func (f *IBMPICloudConnectionClient) GetAll(cloudInstanceID string) (*models.CloudConnections, error)
- func (f *IBMPICloudConnectionClient) GetAllWithContext(ctx context.Context, cloudInstanceID string) (cloudConnections *models.CloudConnections, err error)
- func (f *IBMPICloudConnectionClient) GetVPC(cloudInstanceID string) (*models.CloudConnectionVirtualPrivateClouds, error)
- func (f *IBMPICloudConnectionClient) GetWithContext(ctx context.Context, id, cloudInstanceID string) (cloudConnection *models.CloudConnection, err error)
- func (f *IBMPICloudConnectionClient) Update(id, cloudInstanceID string, body *models.CloudConnectionUpdate) (*models.CloudConnection, *models.JobReference, error)
- func (f *IBMPICloudConnectionClient) UpdateWithContext(ctx context.Context, id, cloudInstanceID string, ...) (cloudConnection *models.CloudConnection, ...)
- type IBMPICloudInstanceClient
- type IBMPIDhcpClient
- func (f *IBMPIDhcpClient) Create(cloudInstanceID string) (dhcpServer *models.DHCPServer, err error)
- func (f *IBMPIDhcpClient) CreateWithContext(ctx context.Context, cloudInstanceID string) (dhcpServer *models.DHCPServer, err error)
- func (f *IBMPIDhcpClient) Delete(id, cloudInstanceID string) (obj models.Object, err error)
- func (f *IBMPIDhcpClient) DeleteWithContext(ctx context.Context, id, cloudInstanceID string) (obj models.Object, err error)
- func (f *IBMPIDhcpClient) Get(id, cloudInstanceID string) (dhcpServer *models.DHCPServerDetail, err error)
- func (f *IBMPIDhcpClient) GetAll(cloudInstanceID string) (dhcpServers models.DHCPServers, err error)
- func (f *IBMPIDhcpClient) GetAllWithContext(ctx context.Context, cloudInstanceID string) (dhcpServers models.DHCPServers, err error)
- func (f *IBMPIDhcpClient) GetWithContext(ctx context.Context, id, cloudInstanceID string) (dhcpServer *models.DHCPServerDetail, err error)
- type IBMPIHelperClient
- type IBMPIImageClient
- func (f *IBMPIImageClient) Create(name, imageid string, powerinstanceid string) (*models.Image, error)
- func (f *IBMPIImageClient) CreateCosImage(body *models.CreateCosImageImportJob, cloudInstanceID string) (imageJob *models.JobReference, err error)
- func (f *IBMPIImageClient) CreateCosImageWithContext(ctx context.Context, body *models.CreateCosImageImportJob, ...) (imageJob *models.JobReference, err error)
- func (f *IBMPIImageClient) Delete(id string, powerinstanceid string) error
- func (f *IBMPIImageClient) DeleteWithContext(ctx context.Context, id string, cloudInstanceID string) (obj models.Object, err error)
- func (f *IBMPIImageClient) Get(id, powerinstanceid string) (*models.Image, error)
- func (f *IBMPIImageClient) GetAll(powerinstanceid string) (*models.Images, error)
- func (f *IBMPIImageClient) GetAllStockImages(cloudInstanceID string, includeSAP bool, includeVTl bool) (*models.Images, error)
- func (f *IBMPIImageClient) GetAllStockSAPImages(cloudInstanceID string) (*models.Images, error)
- func (f *IBMPIImageClient) GetAllStockVTLImages(cloudInstanceID string) (*models.Images, error)
- func (f *IBMPIImageClient) GetStockImage(id, powerinstanceid string) (*models.Image, error)
- func (f *IBMPIImageClient) GetWithContext(ctx context.Context, id, cloudInstanceID string) (image *models.Image, err error)
- func (f *IBMPIImageClient) IsVTLImage(imageId string, cloudInstanceID string) (bool, error)
- type IBMPIInstanceClient
- func (f *IBMPIInstanceClient) Action(poweractionparams *p_cloud_p_vm_instances.PcloudPvminstancesActionPostParams, ...) (models.Object, error)
- func (f *IBMPIInstanceClient) AddNetwork(powerinstanceid, pvminstanceid string, ...) (*models.PVMInstanceNetwork, error)
- func (f *IBMPIInstanceClient) CaptureInstanceToImageCatalog(id, powerinstanceid string, ...) (models.Object, error)
- func (f *IBMPIInstanceClient) Create(powerdef *p_cloud_p_vm_instances.PcloudPvminstancesPostParams, ...) (*models.PVMInstanceList, error)
- func (f *IBMPIInstanceClient) CreateClone(clonedef *p_cloud_p_vm_instances.PcloudPvminstancesClonePostParams, ...) (*models.PVMInstance, error)
- func (f *IBMPIInstanceClient) CreatePvmSnapShot(snapshotdef *p_cloud_p_vm_instances.PcloudPvminstancesSnapshotsPostParams, ...) (*models.SnapshotCreateResponse, error)
- func (f *IBMPIInstanceClient) CreateSAP(powerdef *p_cloud_s_a_p.PcloudSapPostParams, powerinstanceid string, ...) (*models.PVMInstanceList, error)
- func (f *IBMPIInstanceClient) Delete(id, powerinstanceid string, timeout time.Duration) error
- func (f *IBMPIInstanceClient) Get(id, powerinstanceid string, timeout time.Duration) (*models.PVMInstance, error)
- func (f *IBMPIInstanceClient) GetAll(powerinstanceid string, timeout time.Duration) (*models.PVMInstances, error)
- func (f *IBMPIInstanceClient) GetConsoleLanguages(id, cloudInstanceID string) (*models.ConsoleLanguages, error)
- func (f *IBMPIInstanceClient) GetConsoleLanguagesWithContext(ctx context.Context, id, cloudInstanceID string) (*models.ConsoleLanguages, error)
- func (f *IBMPIInstanceClient) GetSAPProfiles(powerinstanceid string) (*models.SAPProfiles, error)
- func (f *IBMPIInstanceClient) GetSap(powerinstanceid, sapprofileID string) (*models.SAPProfile, error)
- func (f *IBMPIInstanceClient) GetSnapShotVM(powerinstanceid, pvminstanceid string, timeout time.Duration) (*models.Snapshots, error)
- func (f *IBMPIInstanceClient) PostConsoleURL(id, powerinstanceid string, timeout time.Duration) (models.Object, error)
- func (f *IBMPIInstanceClient) RestoreSnapShotVM(powerinstanceid, pvminstanceid, snapshotid, restoreAction string, ...) (*models.Snapshot, error)
- func (f *IBMPIInstanceClient) Update(id, powerinstanceid string, ...) (*models.PVMInstanceUpdateResponse, error)
- func (f *IBMPIInstanceClient) UpdateConsoleLanguage(body *models.ConsoleLanguage, id, cloudInstanceID string) (*models.ConsoleLanguage, error)
- func (f *IBMPIInstanceClient) UpdateConsoleLanguageWithContext(ctx context.Context, body *models.ConsoleLanguage, id, cloudInstanceID string) (*models.ConsoleLanguage, error)
- type IBMPIJobClient
- func (f *IBMPIJobClient) Delete(id, cloudInstanceID string) error
- func (f *IBMPIJobClient) Get(id, cloudInstanceID string) (*models.Job, error)
- func (f *IBMPIJobClient) GetAll(cloudInstanceID string) (*models.Jobs, error)
- func (f *IBMPIJobClient) GetWithContext(ctx context.Context, id, cloudInstanceID string) (*models.Job, error)
- type IBMPIKeyClient
- type IBMPINetworkClient
- func (f *IBMPINetworkClient) AttachPort(powerinstanceid, networkID, portID, description, pvminstanceid string, ...) (*models.NetworkPort, error)
- func (f *IBMPINetworkClient) Create(name string, networktype string, cidr string, dnsservers []string, ...) (*models.Network, error)
- func (f *IBMPINetworkClient) CreatePort(id string, powerinstanceid string, ...) (*models.NetworkPort, error)
- func (f *IBMPINetworkClient) Delete(id string, powerinstanceid string, timeout time.Duration) error
- func (f *IBMPINetworkClient) DeletePort(networkid string, powerinstanceid string, portid string, timeout time.Duration) (*models.Object, error)
- func (f *IBMPINetworkClient) DetachPort(powerinstanceid, networkID, portID string, timeout time.Duration) (*models.NetworkPort, error)
- func (f *IBMPINetworkClient) Get(id, powerinstanceid string, timeout time.Duration) (*models.Network, error)
- func (f *IBMPINetworkClient) GetAllPort(id string, powerinstanceid string, timeout time.Duration) (*models.NetworkPorts, error)
- func (f *IBMPINetworkClient) GetPort(id string, powerinstanceid string, networkPortID string, timeout time.Duration) (*models.NetworkPort, error)
- func (f *IBMPINetworkClient) GetPublic(powerinstanceid string, timeout time.Duration) (*models.Networks, error)
- type IBMPIPlacementGroupClient
- func (f *IBMPIPlacementGroupClient) Create(powerdef *p_cloud_placement_groups.PcloudPlacementgroupsPostParams, ...) (*models.PlacementGroup, error)
- func (f *IBMPIPlacementGroupClient) Delete(id string, powerinstanceid string) error
- func (f *IBMPIPlacementGroupClient) DeleteMember(placementdef *p_cloud_placement_groups.PcloudPlacementgroupsMembersPostParams, ...) (*models.PlacementGroup, error)
- func (f *IBMPIPlacementGroupClient) Get(id, powerinstanceid string) (*models.PlacementGroup, error)
- func (f *IBMPIPlacementGroupClient) GetAll(powerinstanceid string) (*models.PlacementGroups, error)
- func (f *IBMPIPlacementGroupClient) Update(placementdef *p_cloud_placement_groups.PcloudPlacementgroupsMembersPostParams, ...) (*models.PlacementGroup, error)
- type IBMPISAPInstanceClient
- type IBMPISnapshotClient
- func (f *IBMPISnapshotClient) Create(pvminstanceid, powerinstanceid, snapshotid, restorefailAction string, ...) (*models.Snapshot, error)
- func (f *IBMPISnapshotClient) Delete(id string, powerinstanceid string, timeout time.Duration) error
- func (f *IBMPISnapshotClient) Get(id, powerinstanceid string, timeout time.Duration) (*models.Snapshot, error)
- func (f *IBMPISnapshotClient) GetAll(id, powerinstanceid string, timeout time.Duration) (*models.Snapshots, error)
- func (f *IBMPISnapshotClient) Update(id, powerinstanceid string, snapshotdef *models.SnapshotUpdate, ...) (models.Object, error)
- type IBMPIStorageCapacityClient
- func (f *IBMPIStorageCapacityClient) GetAllStoragePools(powerinstanceid string, timeout time.Duration) (*models.StoragePoolsCapacity, error)
- func (f *IBMPIStorageCapacityClient) GetAvailableStorageCapacity(powerinstanceid, storage_tier string, timeout time.Duration) (*models.StorageTypeCapacity, error)
- func (f *IBMPIStorageCapacityClient) GetAvailableStoragePool(powerinstanceid, storagepool string, timeout time.Duration) (*models.StoragePoolCapacity, error)
- func (f *IBMPIStorageCapacityClient) GetAvailableStorageType(powerinstanceid string, timeout time.Duration) (*models.StorageTypesCapacity, error)
- type IBMPISystemPoolClient
- type IBMPITaskClient
- type IBMPITenantClient
- type IBMPIVolumeClient
- func (f *IBMPIVolumeClient) Attach(id, volumename string, powerinstanceid string, timeout time.Duration) (models.Object, error)
- func (f *IBMPIVolumeClient) CheckVolumeAttach(cloudInstanceID, pvmInstanceID, volumeID string, timeout time.Duration) (*models.Volume, error)
- func (f *IBMPIVolumeClient) Create(volumename string, volumesize float64, volumetype string, volumeshareable bool, ...) (*models.Volume, error)
- func (f *IBMPIVolumeClient) CreateVolume(createVolDefs *p_cloud_volumes.PcloudCloudinstancesVolumesPostParams, ...) (*models.Volume, error)
- func (f *IBMPIVolumeClient) CreateVolumeV2(createVolDefs *p_cloud_volumes.PcloudV2VolumesPostParams, ...) (*models.Volumes, error)
- func (f *IBMPIVolumeClient) Delete(id string, powerinstanceid string, timeout time.Duration) error
- func (f *IBMPIVolumeClient) DeleteVolume(id string, powerinstanceid string, timeout time.Duration) error
- func (f *IBMPIVolumeClient) Detach(id, volumename string, powerinstanceid string, timeout time.Duration) (models.Object, error)
- func (f *IBMPIVolumeClient) Get(id, powerinstanceid string, timeout time.Duration) (*models.Volume, error)
- func (f *IBMPIVolumeClient) GetAll(id, cloudInstanceID string, timeout time.Duration) (*models.Volumes, error)
- func (f *IBMPIVolumeClient) SetBootVolume(id, volumename, cloudInstanceID string, timeout time.Duration) (models.Object, error)
- func (f *IBMPIVolumeClient) Update(id, volumename string, volumesize float64, volumeshare bool, ...) (*models.Volume, error)
- func (f *IBMPIVolumeClient) UpdateVolume(updateVolDefs *p_cloud_volumes.PcloudCloudinstancesVolumesPutParams, ...) (*models.Volume, error)
- type IBMPIVpnConnectionClient
- func (f *IBMPIVpnConnectionClient) AddNetworkWithContext(ctx context.Context, id, networkID, cloudInstanceID string) (job *models.JobReference, err error)
- func (f *IBMPIVpnConnectionClient) AddSubnetWithContext(ctx context.Context, id, subnet, cloudInstanceID string) (subnets *models.PeerSubnets, err error)
- func (f *IBMPIVpnConnectionClient) Create(body *models.VPNConnectionCreate, cloudInstanceID string) (vpnConnection *models.VPNConnectionCreateResponse, err error)
- func (f *IBMPIVpnConnectionClient) CreateWithContext(ctx context.Context, body *models.VPNConnectionCreate, cloudInstanceID string) (vpnConnection *models.VPNConnectionCreateResponse, err error)
- func (f *IBMPIVpnConnectionClient) Delete(id, cloudInstanceID string) (job *models.JobReference, err error)
- func (f *IBMPIVpnConnectionClient) DeleteNetworkWithContext(ctx context.Context, id, networkID, cloudInstanceID string) (job *models.JobReference, err error)
- func (f *IBMPIVpnConnectionClient) DeleteSubnetWithContext(ctx context.Context, id, subnet, cloudInstanceID string) (err error)
- func (f *IBMPIVpnConnectionClient) DeleteWithContext(ctx context.Context, id, cloudInstanceID string) (job *models.JobReference, err error)
- func (f *IBMPIVpnConnectionClient) Get(id, cloudInstanceID string) (*models.VPNConnection, error)
- func (f *IBMPIVpnConnectionClient) GetAll(cloudInstanceID string) (vpnConnections *models.VPNConnections, err error)
- func (f *IBMPIVpnConnectionClient) GetAllWithContext(ctx context.Context, cloudInstanceID string) (vpnConnections *models.VPNConnections, err error)
- func (f *IBMPIVpnConnectionClient) GetNetworkWithContext(ctx context.Context, id, cloudInstanceID string) (networkIDs *models.NetworkIds, err error)
- func (f *IBMPIVpnConnectionClient) GetSubnetWithContext(ctx context.Context, id, subnetID, cloudInstanceID string) (subnetIDs *models.PeerSubnets, err error)
- func (f *IBMPIVpnConnectionClient) GetWithContext(ctx context.Context, id, cloudInstanceID string) (vpnConnection *models.VPNConnection, err error)
- func (f *IBMPIVpnConnectionClient) Update(body *models.VPNConnectionUpdate, id, cloudInstanceID string) (vpnConnection *models.VPNConnection, err error)
- func (f *IBMPIVpnConnectionClient) UpdateWithContext(ctx context.Context, body *models.VPNConnectionUpdate, ...) (vpnConnection *models.VPNConnection, err error)
- type IBMPIVpnPolicyClient
- func (f *IBMPIVpnPolicyClient) CreateIKEPolicy(body *models.IKEPolicyCreate, cloudInstanceID string) (ikePolicy *models.IKEPolicy, err error)
- func (f *IBMPIVpnPolicyClient) CreateIKEPolicyWithContext(ctx context.Context, body *models.IKEPolicyCreate, cloudInstanceID string) (ikePolicy *models.IKEPolicy, err error)
- func (f *IBMPIVpnPolicyClient) CreateIPSecPolicy(body *models.IPSecPolicyCreate, cloudInstanceID string) (ipsecPolicy *models.IPSecPolicy, err error)
- func (f *IBMPIVpnPolicyClient) CreateIPSecPolicyWithContext(ctx context.Context, body *models.IPSecPolicyCreate, cloudInstanceID string) (ipsecPolicy *models.IPSecPolicy, err error)
- func (f *IBMPIVpnPolicyClient) DeleteIKEPolicy(id, cloudInstanceID string) (err error)
- func (f *IBMPIVpnPolicyClient) DeleteIKEPolicyWithContext(ctx context.Context, id, cloudInstanceID string) (err error)
- func (f *IBMPIVpnPolicyClient) DeleteIPSecPolicy(id, cloudInstanceID string) (err error)
- func (f *IBMPIVpnPolicyClient) DeleteIPSecPolicyWithContext(ctx context.Context, id, cloudInstanceID string) (err error)
- func (f *IBMPIVpnPolicyClient) GetAllIKEPolicies(cloudInstanceID string) (ikePolicies *models.IKEPolicies, err error)
- func (f *IBMPIVpnPolicyClient) GetAllIKEPoliciesWithContext(ctx context.Context, cloudInstanceID string) (ikePolicies *models.IKEPolicies, err error)
- func (f *IBMPIVpnPolicyClient) GetAllIPSecPolicies(cloudInstanceID string) (IPSecPolicies *models.IPSecPolicies, err error)
- func (f *IBMPIVpnPolicyClient) GetAllIPSecPoliciesWithContext(ctx context.Context, cloudInstanceID string) (ipsecPolicies *models.IPSecPolicies, err error)
- func (f *IBMPIVpnPolicyClient) GetIKEPolicy(id, cloudInstanceID string) (*models.IKEPolicy, error)
- func (f *IBMPIVpnPolicyClient) GetIKEPolicyWithContext(ctx context.Context, id, cloudInstanceID string) (ikePolicy *models.IKEPolicy, err error)
- func (f *IBMPIVpnPolicyClient) GetIPSecPolicy(id, cloudInstanceID string) (*models.IPSecPolicy, error)
- func (f *IBMPIVpnPolicyClient) GetIPSecPolicyWithContext(ctx context.Context, id, cloudInstanceID string) (ipsecPolicy *models.IPSecPolicy, err error)
- func (f *IBMPIVpnPolicyClient) UpdateIKEPolicy(body *models.IKEPolicyUpdate, id, cloudInstanceID string) (ikePolicy *models.IKEPolicy, err error)
- func (f *IBMPIVpnPolicyClient) UpdateIKEPolicyWithContext(ctx context.Context, body *models.IKEPolicyUpdate, id, cloudInstanceID string) (ikePolicy *models.IKEPolicy, err error)
- func (f *IBMPIVpnPolicyClient) UpdateIPSecPolicy(body *models.IPSecPolicyUpdate, id, cloudInstanceID string) (ipsecPolicy *models.IPSecPolicy, err error)
- func (f *IBMPIVpnPolicyClient) UpdateIPSecPolicyWithContext(ctx context.Context, body *models.IPSecPolicyUpdate, ...) (ipsecPolicy *models.IPSecPolicy, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IBMPICloneVolumeClient ¶ added in v1.0.1
type IBMPICloneVolumeClient struct {
// contains filtered or unexported fields
}
IBMPICloneVolumeClient ...
func NewIBMPICloneVolumeClient ¶ added in v1.0.1
func NewIBMPICloneVolumeClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPICloneVolumeClient
NewIBMPICloneVolumeClient ...
func (*IBMPICloneVolumeClient) Create ¶ added in v1.0.1
func (f *IBMPICloneVolumeClient) Create(cloneParams *p_cloud_volumes.PcloudV2VolumesClonePostParams, timeout time.Duration) (*models.CloneTaskReference, error)
Create a clone volume using V2 of the API - This creates a clone
func (*IBMPICloneVolumeClient) CreateV2Clone ¶ added in v1.0.56
func (f *IBMPICloneVolumeClient) CreateV2Clone(powerinstanceid string, cloneparams *p_cloud_volumes.PcloudV2VolumesclonePostParams) (*models.VolumesClone, error)
Create a volumes clone V2 Version = This is the prepare operation
func (*IBMPICloneVolumeClient) DeleteClone ¶ added in v1.0.48
func (f *IBMPICloneVolumeClient) DeleteClone(cloneParams *p_cloud_volumes.PcloudV2VolumescloneDeleteParams, id, cloudinstance string, timeout time.Duration) (models.Object, error)
Delete a volume- clone request
func (*IBMPICloneVolumeClient) Get ¶ added in v1.0.49
func (f *IBMPICloneVolumeClient) Get(powerinstanceid, clonetaskid string, timeout time.Duration) (*models.CloneTaskStatus, error)
Get status of a clone request
func (*IBMPICloneVolumeClient) GetV2CloneStatus ¶ added in v1.0.69
func (f *IBMPICloneVolumeClient) GetV2CloneStatus(powerinstanceid, clone_name string) (*models.VolumesCloneDetail, error)
func (*IBMPICloneVolumeClient) GetV2Clones ¶ added in v1.0.56
func (f *IBMPICloneVolumeClient) GetV2Clones(powerinstanceid, query_filter string) (*models.VolumesClones, error)
Get a list of volume-clones request for a cloud instance
func (*IBMPICloneVolumeClient) PrepareClone ¶ added in v1.0.56
func (f *IBMPICloneVolumeClient) PrepareClone(powerinstanceid, volumeCloneID string, timeout time.Duration) (*models.VolumesClone, error)
Initiate the execute action for a clone request
func (*IBMPICloneVolumeClient) StartClone ¶ added in v1.0.52
func (f *IBMPICloneVolumeClient) StartClone(powerinstanceid, volumeCloneID string, timeout time.Duration) (*models.VolumesClone, error)
type IBMPICloudConnectionClient ¶ added in v1.0.49
type IBMPICloudConnectionClient struct {
// contains filtered or unexported fields
}
IBMPICloudConnectionClient ...
func NewIBMPICloudConnectionClient ¶ added in v1.0.49
func NewIBMPICloudConnectionClient(sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPICloudConnectionClient
NewIBMPICloudConnectionClient ...
func (*IBMPICloudConnectionClient) AddNetwork ¶ added in v1.0.49
func (f *IBMPICloudConnectionClient) AddNetwork(networkID, cloudConnectionID, cloudInstanceID string) (*models.JobReference, error)
AddNetwork to a cloud connection
func (*IBMPICloudConnectionClient) AddNetworkWithContext ¶ added in v1.0.75
func (f *IBMPICloudConnectionClient) AddNetworkWithContext(ctx context.Context, networkID, cloudConnectionID, cloudInstanceID string) (jobReferece *models.JobReference, err error)
func (*IBMPICloudConnectionClient) Create ¶ added in v1.0.49
func (f *IBMPICloudConnectionClient) Create(body *models.CloudConnectionCreate, cloudInstanceID string) (*models.CloudConnection, *models.CloudConnectionCreateResponse, error)
Create a Cloud Connection
func (*IBMPICloudConnectionClient) CreateWithContext ¶ added in v1.0.75
func (f *IBMPICloudConnectionClient) CreateWithContext(ctx context.Context, body *models.CloudConnectionCreate, cloudInstanceID string) (cloudConnection *models.CloudConnection, cloudConnectionJob *models.CloudConnectionCreateResponse, err error)
Create a Cloud Connection with context
func (*IBMPICloudConnectionClient) Delete ¶ added in v1.0.49
func (f *IBMPICloudConnectionClient) Delete(id, cloudInstanceID string) (models.Object, *models.JobReference, error)
Delete a Cloud Connection
func (*IBMPICloudConnectionClient) DeleteNetwork ¶ added in v1.0.49
func (f *IBMPICloudConnectionClient) DeleteNetwork(networkID, cloudConnectionID, cloudInstanceID string) (*models.JobReference, error)
DeleteNetwork Deletes a network from a cloud connection
func (*IBMPICloudConnectionClient) DeleteNetworkWithContext ¶ added in v1.0.75
func (f *IBMPICloudConnectionClient) DeleteNetworkWithContext(ctx context.Context, networkID, cloudConnectionID, cloudInstanceID string) (jobReferece *models.JobReference, err error)
func (*IBMPICloudConnectionClient) DeleteWithContext ¶ added in v1.0.75
func (f *IBMPICloudConnectionClient) DeleteWithContext(ctx context.Context, id, cloudInstanceID string) (obj models.Object, deleteJob *models.JobReference, err error)
func (*IBMPICloudConnectionClient) Get ¶ added in v1.0.49
func (f *IBMPICloudConnectionClient) Get(id, cloudInstanceID string) (*models.CloudConnection, error)
Get ...
func (*IBMPICloudConnectionClient) GetAll ¶ added in v1.0.49
func (f *IBMPICloudConnectionClient) GetAll(cloudInstanceID string) (*models.CloudConnections, error)
GetAll ..
func (*IBMPICloudConnectionClient) GetAllWithContext ¶ added in v1.0.75
func (f *IBMPICloudConnectionClient) GetAllWithContext(ctx context.Context, cloudInstanceID string) (cloudConnections *models.CloudConnections, err error)
GetAll with Context...
func (*IBMPICloudConnectionClient) GetVPC ¶ added in v1.0.60
func (f *IBMPICloudConnectionClient) GetVPC(cloudInstanceID string) (*models.CloudConnectionVirtualPrivateClouds, error)
func (*IBMPICloudConnectionClient) GetWithContext ¶ added in v1.0.75
func (f *IBMPICloudConnectionClient) GetWithContext(ctx context.Context, id, cloudInstanceID string) (cloudConnection *models.CloudConnection, err error)
Get with Context...
func (*IBMPICloudConnectionClient) Update ¶ added in v1.0.49
func (f *IBMPICloudConnectionClient) Update(id, cloudInstanceID string, body *models.CloudConnectionUpdate) (*models.CloudConnection, *models.JobReference, error)
Update a cloud Connection
func (*IBMPICloudConnectionClient) UpdateWithContext ¶ added in v1.0.75
func (f *IBMPICloudConnectionClient) UpdateWithContext(ctx context.Context, id, cloudInstanceID string, body *models.CloudConnectionUpdate) (cloudConnection *models.CloudConnection, cloudConnectionJob *models.JobReference, err error)
type IBMPICloudInstanceClient ¶ added in v1.0.24
type IBMPICloudInstanceClient struct {
// contains filtered or unexported fields
}
IBMPICloudInstanceClient ...
func NewIBMPICloudInstanceClient ¶ added in v1.0.24
func NewIBMPICloudInstanceClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPICloudInstanceClient
NewIBMPICloudInstanceClient ...
func (*IBMPICloudInstanceClient) Delete ¶ added in v1.0.24
func (f *IBMPICloudInstanceClient) Delete(powerinstanceid string) (models.Object, error)
Delete a Cloud instance
func (*IBMPICloudInstanceClient) Get ¶ added in v1.0.24
func (f *IBMPICloudInstanceClient) Get(powerinstanceid string) (*models.CloudInstance, error)
Get information about a cloud instance
func (*IBMPICloudInstanceClient) Update ¶ added in v1.0.24
func (f *IBMPICloudInstanceClient) Update(powerinstanceid string, updateparams *p_cloud_instances.PcloudCloudinstancesPutParams) (*models.CloudInstance, error)
Update a cloud instance
type IBMPIDhcpClient ¶ added in v1.0.77
type IBMPIDhcpClient struct {
// contains filtered or unexported fields
}
NewIBMPIDhcpClient ...
func NewIBMPIDhcpClient ¶ added in v1.0.77
func NewIBMPIDhcpClient(sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPIDhcpClient
NewIBMPIDhcpClient ...
func (*IBMPIDhcpClient) Create ¶ added in v1.0.77
func (f *IBMPIDhcpClient) Create(cloudInstanceID string) (dhcpServer *models.DHCPServer, err error)
Create
func (*IBMPIDhcpClient) CreateWithContext ¶ added in v1.0.77
func (f *IBMPIDhcpClient) CreateWithContext(ctx context.Context, cloudInstanceID string) (dhcpServer *models.DHCPServer, err error)
Create a DHCP with context
func (*IBMPIDhcpClient) Delete ¶ added in v1.0.77
func (f *IBMPIDhcpClient) Delete(id, cloudInstanceID string) (obj models.Object, err error)
Delete
func (*IBMPIDhcpClient) DeleteWithContext ¶ added in v1.0.77
func (f *IBMPIDhcpClient) DeleteWithContext(ctx context.Context, id, cloudInstanceID string) (obj models.Object, err error)
Delete with Context...
func (*IBMPIDhcpClient) Get ¶ added in v1.0.77
func (f *IBMPIDhcpClient) Get(id, cloudInstanceID string) (dhcpServer *models.DHCPServerDetail, err error)
Get
func (*IBMPIDhcpClient) GetAll ¶ added in v1.0.77
func (f *IBMPIDhcpClient) GetAll(cloudInstanceID string) (dhcpServers models.DHCPServers, err error)
GetAll
func (*IBMPIDhcpClient) GetAllWithContext ¶ added in v1.0.77
func (f *IBMPIDhcpClient) GetAllWithContext(ctx context.Context, cloudInstanceID string) (dhcpServers models.DHCPServers, err error)
GetAll with Context...
func (*IBMPIDhcpClient) GetWithContext ¶ added in v1.0.77
func (f *IBMPIDhcpClient) GetWithContext(ctx context.Context, id, cloudInstanceID string) (dhcpServer *models.DHCPServerDetail, err error)
Get with Context...
type IBMPIHelperClient ¶
type IBMPIHelperClient struct {
// contains filtered or unexported fields
}
IBMPIHelperClient ...
func NewIBMPIHelperClient ¶
func NewIBMPIHelperClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPIHelperClient
NewIBMPIHelperClient ...
type IBMPIImageClient ¶
type IBMPIImageClient struct {
// contains filtered or unexported fields
}
IBMPIImageClient ...
func NewIBMPIImageClient ¶
func NewIBMPIImageClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPIImageClient
NewIBMPIImageClient ...
func (*IBMPIImageClient) Create ¶
func (f *IBMPIImageClient) Create(name, imageid string, powerinstanceid string) (*models.Image, error)
Create the stock image
func (*IBMPIImageClient) CreateCosImage ¶ added in v1.0.75
func (f *IBMPIImageClient) CreateCosImage(body *models.CreateCosImageImportJob, cloudInstanceID string) (imageJob *models.JobReference, err error)
Import the image
func (*IBMPIImageClient) CreateCosImageWithContext ¶ added in v1.0.76
func (f *IBMPIImageClient) CreateCosImageWithContext(ctx context.Context, body *models.CreateCosImageImportJob, cloudInstanceID string) (imageJob *models.JobReference, err error)
func (*IBMPIImageClient) Delete ¶
func (f *IBMPIImageClient) Delete(id string, powerinstanceid string) error
Delete ...
func (*IBMPIImageClient) DeleteWithContext ¶ added in v1.0.75
func (f *IBMPIImageClient) DeleteWithContext(ctx context.Context, id string, cloudInstanceID string) (obj models.Object, err error)
Delete with context...
func (*IBMPIImageClient) Get ¶
func (f *IBMPIImageClient) Get(id, powerinstanceid string) (*models.Image, error)
Get PI Image
func (*IBMPIImageClient) GetAll ¶
func (f *IBMPIImageClient) GetAll(powerinstanceid string) (*models.Images, error)
GetAll Images that are imported into Power Instance
func (*IBMPIImageClient) GetAllStockImages ¶ added in v1.0.77
func (f *IBMPIImageClient) GetAllStockImages(cloudInstanceID string, includeSAP bool, includeVTl bool) (*models.Images, error)
Get StockImage
func (*IBMPIImageClient) GetAllStockSAPImages ¶ added in v1.0.77
func (f *IBMPIImageClient) GetAllStockSAPImages(cloudInstanceID string) (*models.Images, error)
GetAllStockSAPImages returns all stock SAP images. No Other images are included
func (*IBMPIImageClient) GetAllStockVTLImages ¶ added in v1.0.77
func (f *IBMPIImageClient) GetAllStockVTLImages(cloudInstanceID string) (*models.Images, error)
GetAllStockVTLImages returns all VTL images. No Other images are included
func (*IBMPIImageClient) GetStockImage ¶ added in v1.0.55
func (f *IBMPIImageClient) GetStockImage(id, powerinstanceid string) (*models.Image, error)
GetStockImages ...
func (*IBMPIImageClient) GetWithContext ¶ added in v1.0.75
func (f *IBMPIImageClient) GetWithContext(ctx context.Context, id, cloudInstanceID string) (image *models.Image, err error)
Get with context
func (*IBMPIImageClient) IsVTLImage ¶ added in v1.0.77
func (f *IBMPIImageClient) IsVTLImage(imageId string, cloudInstanceID string) (bool, error)
IsVtlImage returns true if image is a VTL images
type IBMPIInstanceClient ¶
type IBMPIInstanceClient struct {
// contains filtered or unexported fields
}
IBMPIInstanceClient ...
func NewIBMPIInstanceClient ¶
func NewIBMPIInstanceClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPIInstanceClient
NewIBMPIInstanceClient ...
func (*IBMPIInstanceClient) Action ¶
func (f *IBMPIInstanceClient) Action(poweractionparams *p_cloud_p_vm_instances.PcloudPvminstancesActionPostParams, id, powerinstanceid string, timeout time.Duration) (models.Object, error)
Action PVM Instances Operations
func (*IBMPIInstanceClient) AddNetwork ¶ added in v1.0.30
func (f *IBMPIInstanceClient) AddNetwork(powerinstanceid, pvminstanceid string, networkdef *p_cloud_p_vm_instances.PcloudPvminstancesNetworksPostParams, timeout time.Duration) (*models.PVMInstanceNetwork, error)
AddNetwork Add a network to the instance
func (*IBMPIInstanceClient) CaptureInstanceToImageCatalog ¶
func (f *IBMPIInstanceClient) CaptureInstanceToImageCatalog(id, powerinstanceid string, picaptureparams *p_cloud_p_vm_instances.PcloudPvminstancesCapturePostParams, timeout time.Duration) (models.Object, error)
CaptureInstanceToImageCatalog Captures an instance
func (*IBMPIInstanceClient) Create ¶
func (f *IBMPIInstanceClient) Create(powerdef *p_cloud_p_vm_instances.PcloudPvminstancesPostParams, powerinstanceid string, timeout time.Duration) (*models.PVMInstanceList, error)
Create ...
func (*IBMPIInstanceClient) CreateClone ¶ added in v1.0.4
func (f *IBMPIInstanceClient) CreateClone(clonedef *p_cloud_p_vm_instances.PcloudPvminstancesClonePostParams, pvminstanceid, powerinstanceid string) (*models.PVMInstance, error)
CreateClone ...
func (*IBMPIInstanceClient) CreatePvmSnapShot ¶ added in v1.0.1
func (f *IBMPIInstanceClient) CreatePvmSnapShot(snapshotdef *p_cloud_p_vm_instances.PcloudPvminstancesSnapshotsPostParams, pvminstanceid, powerinstanceid string, timeout time.Duration) (*models.SnapshotCreateResponse, error)
CreatePvmSnapShot Create a snapshot of the instance
func (*IBMPIInstanceClient) CreateSAP ¶ added in v1.0.23
func (f *IBMPIInstanceClient) CreateSAP(powerdef *p_cloud_s_a_p.PcloudSapPostParams, powerinstanceid string, timeout time.Duration) (*models.PVMInstanceList, error)
CreateSAP Create SAP Systems
func (*IBMPIInstanceClient) Delete ¶
func (f *IBMPIInstanceClient) Delete(id, powerinstanceid string, timeout time.Duration) error
Delete PVM Instances
func (*IBMPIInstanceClient) Get ¶
func (f *IBMPIInstanceClient) Get(id, powerinstanceid string, timeout time.Duration) (*models.PVMInstance, error)
Get information about a single pvm only
func (*IBMPIInstanceClient) GetAll ¶ added in v1.0.23
func (f *IBMPIInstanceClient) GetAll(powerinstanceid string, timeout time.Duration) (*models.PVMInstances, error)
GetAll Information about all the PVM Instances for a Client
func (*IBMPIInstanceClient) GetConsoleLanguages ¶ added in v1.0.78
func (f *IBMPIInstanceClient) GetConsoleLanguages(id, cloudInstanceID string) (*models.ConsoleLanguages, error)
List the available console languages for an instance
func (*IBMPIInstanceClient) GetConsoleLanguagesWithContext ¶ added in v1.0.78
func (f *IBMPIInstanceClient) GetConsoleLanguagesWithContext(ctx context.Context, id, cloudInstanceID string) (*models.ConsoleLanguages, error)
func (*IBMPIInstanceClient) GetSAPProfiles ¶ added in v1.0.23
func (f *IBMPIInstanceClient) GetSAPProfiles(powerinstanceid string) (*models.SAPProfiles, error)
GetSAPProfiles Get All SAP Profiles
func (*IBMPIInstanceClient) GetSap ¶ added in v1.0.52
func (f *IBMPIInstanceClient) GetSap(powerinstanceid, sapprofileID string) (*models.SAPProfile, error)
GetSap Get an SAP profile
func (*IBMPIInstanceClient) GetSnapShotVM ¶ added in v1.0.22
func (f *IBMPIInstanceClient) GetSnapShotVM(powerinstanceid, pvminstanceid string, timeout time.Duration) (*models.Snapshots, error)
GetSnapShotVM Get information about the snapshots for a vm
func (*IBMPIInstanceClient) PostConsoleURL ¶
func (f *IBMPIInstanceClient) PostConsoleURL(id, powerinstanceid string, timeout time.Duration) (models.Object, error)
PostConsoleURL Generate the Console URL
func (*IBMPIInstanceClient) RestoreSnapShotVM ¶ added in v1.0.23
func (f *IBMPIInstanceClient) RestoreSnapShotVM(powerinstanceid, pvminstanceid, snapshotid, restoreAction string, restoreparams *p_cloud_p_vm_instances.PcloudPvminstancesSnapshotsRestorePostParams, timeout time.Duration) (*models.Snapshot, error)
RestoreSnapShotVM Restore a snapshot
func (*IBMPIInstanceClient) Update ¶
func (f *IBMPIInstanceClient) Update(id, powerinstanceid string, powerupdateparams *p_cloud_p_vm_instances.PcloudPvminstancesPutParams, timeout time.Duration) (*models.PVMInstanceUpdateResponse, error)
Update PVM Instances
func (*IBMPIInstanceClient) UpdateConsoleLanguage ¶ added in v1.0.78
func (f *IBMPIInstanceClient) UpdateConsoleLanguage(body *models.ConsoleLanguage, id, cloudInstanceID string) (*models.ConsoleLanguage, error)
List the available console languages for an instance
func (*IBMPIInstanceClient) UpdateConsoleLanguageWithContext ¶ added in v1.0.78
func (f *IBMPIInstanceClient) UpdateConsoleLanguageWithContext(ctx context.Context, body *models.ConsoleLanguage, id, cloudInstanceID string) (*models.ConsoleLanguage, error)
type IBMPIJobClient ¶ added in v1.0.75
type IBMPIJobClient struct {
// contains filtered or unexported fields
}
IBMPIJobClient ...
func NewIBMPIJobClient ¶ added in v1.0.75
func NewIBMPIJobClient(sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPIJobClient
NewIBMPIJobClient ...
func (*IBMPIJobClient) Delete ¶ added in v1.0.75
func (f *IBMPIJobClient) Delete(id, cloudInstanceID string) error
Delete a job
func (*IBMPIJobClient) Get ¶ added in v1.0.75
func (f *IBMPIJobClient) Get(id, cloudInstanceID string) (*models.Job, error)
Get information about a job
func (*IBMPIJobClient) GetAll ¶ added in v1.0.75
func (f *IBMPIJobClient) GetAll(cloudInstanceID string) (*models.Jobs, error)
Update a job
func (*IBMPIJobClient) GetWithContext ¶ added in v1.0.75
func (f *IBMPIJobClient) GetWithContext(ctx context.Context, id, cloudInstanceID string) (*models.Job, error)
Get information about a job with Context
type IBMPIKeyClient ¶
type IBMPIKeyClient struct {
// contains filtered or unexported fields
}
IBMPIKeyClient ...
func NewIBMPIKeyClient ¶
func NewIBMPIKeyClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPIKeyClient
NewIBMPIKeyClient ...
func (*IBMPIKeyClient) Create ¶
func (f *IBMPIKeyClient) Create(name string, sshkey, powerinstanceid string) (*models.SSHKey, *models.SSHKey, error)
Create PI Key ...
type IBMPINetworkClient ¶
type IBMPINetworkClient struct {
// contains filtered or unexported fields
}
IBMPINetworkClient ...
func NewIBMPINetworkClient ¶
func NewIBMPINetworkClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPINetworkClient
NewIBMPINetworkClient ...
func (*IBMPINetworkClient) AttachPort ¶ added in v1.0.30
func (f *IBMPINetworkClient) AttachPort(powerinstanceid, networkID, portID, description, pvminstanceid string, timeout time.Duration) (*models.NetworkPort, error)
AttachPort to the PVM Instance
func (*IBMPINetworkClient) Create ¶
func (f *IBMPINetworkClient) Create(name string, networktype string, cidr string, dnsservers []string, gateway string, startip string, endip string, jumbo bool, powerinstanceid string, timeout time.Duration) (*models.Network, error)
Create ...
func (*IBMPINetworkClient) CreatePort ¶
func (f *IBMPINetworkClient) CreatePort(id string, powerinstanceid string, networkportdef *p_cloud_networks.PcloudNetworksPortsPostParams, timeout time.Duration) (*models.NetworkPort, error)
CreatePort ...
func (*IBMPINetworkClient) DeletePort ¶
func (f *IBMPINetworkClient) DeletePort(networkid string, powerinstanceid string, portid string, timeout time.Duration) (*models.Object, error)
DeletePort ...
func (*IBMPINetworkClient) DetachPort ¶ added in v1.0.30
func (f *IBMPINetworkClient) DetachPort(powerinstanceid, networkID, portID string, timeout time.Duration) (*models.NetworkPort, error)
DetachPort from the PVM Instance
func (*IBMPINetworkClient) Get ¶
func (f *IBMPINetworkClient) Get(id, powerinstanceid string, timeout time.Duration) (*models.Network, error)
Get ...
func (*IBMPINetworkClient) GetAllPort ¶
func (f *IBMPINetworkClient) GetAllPort(id string, powerinstanceid string, timeout time.Duration) (*models.NetworkPorts, error)
GetAllPort ...
type IBMPIPlacementGroupClient ¶ added in v1.0.59
type IBMPIPlacementGroupClient struct {
// contains filtered or unexported fields
}
IBMPIPlacementGroupClient ...
func NewIBMPIPlacementGroupClient ¶ added in v1.0.59
func NewIBMPIPlacementGroupClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPIPlacementGroupClient
NewIBMPIImageClient ...
func (*IBMPIPlacementGroupClient) Create ¶ added in v1.0.59
func (f *IBMPIPlacementGroupClient) Create(powerdef *p_cloud_placement_groups.PcloudPlacementgroupsPostParams, powerinstanceid string) (*models.PlacementGroup, error)
Create the placement group
func (*IBMPIPlacementGroupClient) Delete ¶ added in v1.0.59
func (f *IBMPIPlacementGroupClient) Delete(id string, powerinstanceid string) error
Delete Placement Group
func (*IBMPIPlacementGroupClient) DeleteMember ¶ added in v1.0.59
func (f *IBMPIPlacementGroupClient) DeleteMember(placementdef *p_cloud_placement_groups.PcloudPlacementgroupsMembersPostParams, placementgroupid, powerinstanceid string) (*models.PlacementGroup, error)
Delete Member from Placement Group
func (*IBMPIPlacementGroupClient) Get ¶ added in v1.0.59
func (f *IBMPIPlacementGroupClient) Get(id, powerinstanceid string) (*models.PlacementGroup, error)
Get PI Placementgroup
func (*IBMPIPlacementGroupClient) GetAll ¶ added in v1.0.71
func (f *IBMPIPlacementGroupClient) GetAll(powerinstanceid string) (*models.PlacementGroups, error)
func (*IBMPIPlacementGroupClient) Update ¶ added in v1.0.59
func (f *IBMPIPlacementGroupClient) Update(placementdef *p_cloud_placement_groups.PcloudPlacementgroupsMembersPostParams, placementgroupid, powerinstanceid string) (*models.PlacementGroup, error)
Adding a member to a Placement Group
type IBMPISAPInstanceClient ¶ added in v1.0.25
type IBMPISAPInstanceClient struct {
// contains filtered or unexported fields
}
IBMPISAPInstanceClient ...
func NewIBMPISAPInstanceClient ¶ added in v1.0.25
func NewIBMPISAPInstanceClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPISAPInstanceClient
NewIBMPISAPInstanceClient ...
func (*IBMPISAPInstanceClient) Create ¶ added in v1.0.25
func (f *IBMPISAPInstanceClient) Create(sapdef *p_cloud_s_a_p.PcloudSapPostParams, id, powerinstanceid string) (*models.PVMInstanceList, error)
Create SAP System
type IBMPISnapshotClient ¶ added in v1.0.1
type IBMPISnapshotClient struct {
// contains filtered or unexported fields
}
IBMPISnapshotClient ...
func NewIBMPISnapshotClient ¶ added in v1.0.1
func NewIBMPISnapshotClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPISnapshotClient
NewIBMPISnapshotClient ...
func (*IBMPISnapshotClient) Create ¶ added in v1.0.15
func (f *IBMPISnapshotClient) Create(pvminstanceid, powerinstanceid, snapshotid, restorefailAction string, timeout time.Duration) (*models.Snapshot, error)
Create or Restore a Snapshot
func (*IBMPISnapshotClient) Delete ¶ added in v1.0.1
func (f *IBMPISnapshotClient) Delete(id string, powerinstanceid string, timeout time.Duration) error
Delete ...
func (*IBMPISnapshotClient) Get ¶ added in v1.0.1
func (f *IBMPISnapshotClient) Get(id, powerinstanceid string, timeout time.Duration) (*models.Snapshot, error)
Get information about a single snapshot only
type IBMPIStorageCapacityClient ¶ added in v1.0.54
type IBMPIStorageCapacityClient struct {
// contains filtered or unexported fields
}
IBMPIStorageCapacityClient ..
func NewIBMPIStorageCapacityClient ¶ added in v1.0.54
func NewIBMPIStorageCapacityClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPIStorageCapacityClient
NewIBMPIStorageCapacityClient ...
func (*IBMPIStorageCapacityClient) GetAllStoragePools ¶ added in v1.0.56
func (f *IBMPIStorageCapacityClient) GetAllStoragePools(powerinstanceid string, timeout time.Duration) (*models.StoragePoolsCapacity, error)
Storage capacity for all available storage pools in a region
func (*IBMPIStorageCapacityClient) GetAvailableStorageCapacity ¶ added in v1.0.56
func (f *IBMPIStorageCapacityClient) GetAvailableStorageCapacity(powerinstanceid, storage_tier string, timeout time.Duration) (*models.StorageTypeCapacity, error)
Storage capacity for a storage type in a region
func (*IBMPIStorageCapacityClient) GetAvailableStoragePool ¶ added in v1.0.56
func (f *IBMPIStorageCapacityClient) GetAvailableStoragePool(powerinstanceid, storagepool string, timeout time.Duration) (*models.StoragePoolCapacity, error)
Storage capacity for a storage pool in a region
func (*IBMPIStorageCapacityClient) GetAvailableStorageType ¶ added in v1.0.56
func (f *IBMPIStorageCapacityClient) GetAvailableStorageType(powerinstanceid string, timeout time.Duration) (*models.StorageTypesCapacity, error)
Storage capacity for all available storage types in a region
type IBMPISystemPoolClient ¶ added in v1.0.7
type IBMPISystemPoolClient struct {
// contains filtered or unexported fields
}
IBMPISystemPoolClient ...
func NewIBMPISystemPoolClient ¶ added in v1.0.7
func NewIBMPISystemPoolClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPISystemPoolClient
NewIBMPISystemPoolClient ...
func (*IBMPISystemPoolClient) Get ¶ added in v1.0.7
func (f *IBMPISystemPoolClient) Get(powerinstanceid string) (models.SystemPools, error)
Get the System Pools
type IBMPITaskClient ¶ added in v1.0.46
type IBMPITaskClient struct {
// contains filtered or unexported fields
}
IBMPITaskClient ...
func NewIBMPITaskClient ¶ added in v1.0.46
func NewIBMPITaskClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPITaskClient
NewIBMPITaskClient ...
type IBMPITenantClient ¶
type IBMPITenantClient struct {
// contains filtered or unexported fields
}
IBMPITenantClient ...
func NewIBMPITenantClient ¶
func NewIBMPITenantClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPITenantClient
NewIBMPITenantClient ...
type IBMPIVolumeClient ¶
type IBMPIVolumeClient struct {
// contains filtered or unexported fields
}
IBMPIVolumeClient ..
func NewIBMPIVolumeClient ¶
func NewIBMPIVolumeClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPIVolumeClient
NewIBMPIVolumeClient ...
func (*IBMPIVolumeClient) Attach ¶
func (f *IBMPIVolumeClient) Attach(id, volumename string, powerinstanceid string, timeout time.Duration) (models.Object, error)
Attach a volume
func (*IBMPIVolumeClient) CheckVolumeAttach ¶ added in v1.0.35
func (f *IBMPIVolumeClient) CheckVolumeAttach(cloudInstanceID, pvmInstanceID, volumeID string, timeout time.Duration) (*models.Volume, error)
CheckVolumeAttach if the volume is attached to the instance
func (*IBMPIVolumeClient) Create ¶
func (f *IBMPIVolumeClient) Create(volumename string, volumesize float64, volumetype string, volumeshareable bool, powerinstanceid string, timeout time.Duration) (*models.Volume, error)
Create .. TO be Deprecated
func (*IBMPIVolumeClient) CreateVolume ¶ added in v1.0.39
func (f *IBMPIVolumeClient) CreateVolume(createVolDefs *p_cloud_volumes.PcloudCloudinstancesVolumesPostParams, powerinstanceid string, timeout time.Duration) (*models.Volume, error)
CreateVolume ...
func (*IBMPIVolumeClient) CreateVolumeV2 ¶ added in v1.0.54
func (f *IBMPIVolumeClient) CreateVolumeV2(createVolDefs *p_cloud_volumes.PcloudV2VolumesPostParams, powerinstanceid string, timeout time.Duration) (*models.Volumes, error)
CreateVolumeV2 ...
func (*IBMPIVolumeClient) DeleteVolume ¶ added in v1.0.39
func (f *IBMPIVolumeClient) DeleteVolume(id string, powerinstanceid string, timeout time.Duration) error
DeleteVolume ...
func (*IBMPIVolumeClient) Detach ¶
func (f *IBMPIVolumeClient) Detach(id, volumename string, powerinstanceid string, timeout time.Duration) (models.Object, error)
Detach a volume
func (*IBMPIVolumeClient) Get ¶
func (f *IBMPIVolumeClient) Get(id, powerinstanceid string, timeout time.Duration) (*models.Volume, error)
Get information about a single volume only
func (*IBMPIVolumeClient) GetAll ¶
func (f *IBMPIVolumeClient) GetAll(id, cloudInstanceID string, timeout time.Duration) (*models.Volumes, error)
GetAll volumes part of an instance
func (*IBMPIVolumeClient) SetBootVolume ¶
func (f *IBMPIVolumeClient) SetBootVolume(id, volumename, cloudInstanceID string, timeout time.Duration) (models.Object, error)
SetBootVolume as the boot volume - PUT Operation
func (*IBMPIVolumeClient) Update ¶
func (f *IBMPIVolumeClient) Update(id, volumename string, volumesize float64, volumeshare bool, powerinstanceid string, timeout time.Duration) (*models.Volume, error)
Update ...
func (*IBMPIVolumeClient) UpdateVolume ¶ added in v1.0.39
func (f *IBMPIVolumeClient) UpdateVolume(updateVolDefs *p_cloud_volumes.PcloudCloudinstancesVolumesPutParams, volumeid, powerinstanceid string, timeout time.Duration) (*models.Volume, error)
UpdateVolume ...
type IBMPIVpnConnectionClient ¶ added in v1.0.77
type IBMPIVpnConnectionClient struct {
// contains filtered or unexported fields
}
IBMPIVpnConnectionClient ...
func NewIBMPIVpnConnectionClient ¶ added in v1.0.77
func NewIBMPIVpnConnectionClient(sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPIVpnConnectionClient
NewIBMPIVpnConnectionClient ...
func (*IBMPIVpnConnectionClient) AddNetworkWithContext ¶ added in v1.0.77
func (f *IBMPIVpnConnectionClient) AddNetworkWithContext(ctx context.Context, id, networkID, cloudInstanceID string) (job *models.JobReference, err error)
Network attach
func (*IBMPIVpnConnectionClient) AddSubnetWithContext ¶ added in v1.0.77
func (f *IBMPIVpnConnectionClient) AddSubnetWithContext(ctx context.Context, id, subnet, cloudInstanceID string) (subnets *models.PeerSubnets, err error)
Subnet attach
func (*IBMPIVpnConnectionClient) Create ¶ added in v1.0.77
func (f *IBMPIVpnConnectionClient) Create(body *models.VPNConnectionCreate, cloudInstanceID string) (vpnConnection *models.VPNConnectionCreateResponse, err error)
Create a VPN connection
func (*IBMPIVpnConnectionClient) CreateWithContext ¶ added in v1.0.77
func (f *IBMPIVpnConnectionClient) CreateWithContext(ctx context.Context, body *models.VPNConnectionCreate, cloudInstanceID string) (vpnConnection *models.VPNConnectionCreateResponse, err error)
Create a VPN connection with context
func (*IBMPIVpnConnectionClient) Delete ¶ added in v1.0.77
func (f *IBMPIVpnConnectionClient) Delete(id, cloudInstanceID string) (job *models.JobReference, err error)
Delete a VPN connection
func (*IBMPIVpnConnectionClient) DeleteNetworkWithContext ¶ added in v1.0.77
func (f *IBMPIVpnConnectionClient) DeleteNetworkWithContext(ctx context.Context, id, networkID, cloudInstanceID string) (job *models.JobReference, err error)
Network detach
func (*IBMPIVpnConnectionClient) DeleteSubnetWithContext ¶ added in v1.0.77
func (f *IBMPIVpnConnectionClient) DeleteSubnetWithContext(ctx context.Context, id, subnet, cloudInstanceID string) (err error)
Subnet detach
func (*IBMPIVpnConnectionClient) DeleteWithContext ¶ added in v1.0.77
func (f *IBMPIVpnConnectionClient) DeleteWithContext(ctx context.Context, id, cloudInstanceID string) (job *models.JobReference, err error)
Delete a VPN connection with context
func (*IBMPIVpnConnectionClient) Get ¶ added in v1.0.77
func (f *IBMPIVpnConnectionClient) Get(id, cloudInstanceID string) (*models.VPNConnection, error)
Get information about a VPN connection
func (*IBMPIVpnConnectionClient) GetAll ¶ added in v1.0.77
func (f *IBMPIVpnConnectionClient) GetAll(cloudInstanceID string) (vpnConnections *models.VPNConnections, err error)
Get all VPN connections
func (*IBMPIVpnConnectionClient) GetAllWithContext ¶ added in v1.0.77
func (f *IBMPIVpnConnectionClient) GetAllWithContext(ctx context.Context, cloudInstanceID string) (vpnConnections *models.VPNConnections, err error)
Get all VPN connections with context
func (*IBMPIVpnConnectionClient) GetNetworkWithContext ¶ added in v1.0.77
func (f *IBMPIVpnConnectionClient) GetNetworkWithContext(ctx context.Context, id, cloudInstanceID string) (networkIDs *models.NetworkIds, err error)
Network get
func (*IBMPIVpnConnectionClient) GetSubnetWithContext ¶ added in v1.0.77
func (f *IBMPIVpnConnectionClient) GetSubnetWithContext(ctx context.Context, id, subnetID, cloudInstanceID string) (subnetIDs *models.PeerSubnets, err error)
Subnet get
func (*IBMPIVpnConnectionClient) GetWithContext ¶ added in v1.0.77
func (f *IBMPIVpnConnectionClient) GetWithContext(ctx context.Context, id, cloudInstanceID string) (vpnConnection *models.VPNConnection, err error)
Get information about a VPN connection with Context
func (*IBMPIVpnConnectionClient) Update ¶ added in v1.0.77
func (f *IBMPIVpnConnectionClient) Update(body *models.VPNConnectionUpdate, id, cloudInstanceID string) (vpnConnection *models.VPNConnection, err error)
Update a VPN connection
func (*IBMPIVpnConnectionClient) UpdateWithContext ¶ added in v1.0.77
func (f *IBMPIVpnConnectionClient) UpdateWithContext(ctx context.Context, body *models.VPNConnectionUpdate, id, cloudInstanceID string) (vpnConnection *models.VPNConnection, err error)
Update a VPN connection with context
type IBMPIVpnPolicyClient ¶ added in v1.0.77
type IBMPIVpnPolicyClient struct {
// contains filtered or unexported fields
}
IBMPIVpnPolicyClient ...
func NewIBMPIVpnPolicyClient ¶ added in v1.0.77
func NewIBMPIVpnPolicyClient(sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPIVpnPolicyClient
IBMPIVpnPolicyClient ...
func (*IBMPIVpnPolicyClient) CreateIKEPolicy ¶ added in v1.0.77
func (f *IBMPIVpnPolicyClient) CreateIKEPolicy(body *models.IKEPolicyCreate, cloudInstanceID string) (ikePolicy *models.IKEPolicy, err error)
Create a IKE Policy
func (*IBMPIVpnPolicyClient) CreateIKEPolicyWithContext ¶ added in v1.0.77
func (f *IBMPIVpnPolicyClient) CreateIKEPolicyWithContext(ctx context.Context, body *models.IKEPolicyCreate, cloudInstanceID string) (ikePolicy *models.IKEPolicy, err error)
Create a IKE Policy with context
func (*IBMPIVpnPolicyClient) CreateIPSecPolicy ¶ added in v1.0.77
func (f *IBMPIVpnPolicyClient) CreateIPSecPolicy(body *models.IPSecPolicyCreate, cloudInstanceID string) (ipsecPolicy *models.IPSecPolicy, err error)
Create a IPSec Policy
func (*IBMPIVpnPolicyClient) CreateIPSecPolicyWithContext ¶ added in v1.0.77
func (f *IBMPIVpnPolicyClient) CreateIPSecPolicyWithContext(ctx context.Context, body *models.IPSecPolicyCreate, cloudInstanceID string) (ipsecPolicy *models.IPSecPolicy, err error)
Create a IPSec Policy with context
func (*IBMPIVpnPolicyClient) DeleteIKEPolicy ¶ added in v1.0.77
func (f *IBMPIVpnPolicyClient) DeleteIKEPolicy(id, cloudInstanceID string) (err error)
Delete a IKE Policy
func (*IBMPIVpnPolicyClient) DeleteIKEPolicyWithContext ¶ added in v1.0.77
func (f *IBMPIVpnPolicyClient) DeleteIKEPolicyWithContext(ctx context.Context, id, cloudInstanceID string) (err error)
Delete a IKE Policy with context
func (*IBMPIVpnPolicyClient) DeleteIPSecPolicy ¶ added in v1.0.77
func (f *IBMPIVpnPolicyClient) DeleteIPSecPolicy(id, cloudInstanceID string) (err error)
Delete a IPSec Policy
func (*IBMPIVpnPolicyClient) DeleteIPSecPolicyWithContext ¶ added in v1.0.77
func (f *IBMPIVpnPolicyClient) DeleteIPSecPolicyWithContext(ctx context.Context, id, cloudInstanceID string) (err error)
Delete a IPSec Policy with context
func (*IBMPIVpnPolicyClient) GetAllIKEPolicies ¶ added in v1.0.77
func (f *IBMPIVpnPolicyClient) GetAllIKEPolicies(cloudInstanceID string) (ikePolicies *models.IKEPolicies, err error)
Get all IKE Policies
func (*IBMPIVpnPolicyClient) GetAllIKEPoliciesWithContext ¶ added in v1.0.77
func (f *IBMPIVpnPolicyClient) GetAllIKEPoliciesWithContext(ctx context.Context, cloudInstanceID string) (ikePolicies *models.IKEPolicies, err error)
Get all IKE Policies with context
func (*IBMPIVpnPolicyClient) GetAllIPSecPolicies ¶ added in v1.0.77
func (f *IBMPIVpnPolicyClient) GetAllIPSecPolicies(cloudInstanceID string) (IPSecPolicies *models.IPSecPolicies, err error)
Get all IPSec Policies
func (*IBMPIVpnPolicyClient) GetAllIPSecPoliciesWithContext ¶ added in v1.0.77
func (f *IBMPIVpnPolicyClient) GetAllIPSecPoliciesWithContext(ctx context.Context, cloudInstanceID string) (ipsecPolicies *models.IPSecPolicies, err error)
Get all IPSec Policies with context
func (*IBMPIVpnPolicyClient) GetIKEPolicy ¶ added in v1.0.77
func (f *IBMPIVpnPolicyClient) GetIKEPolicy(id, cloudInstanceID string) (*models.IKEPolicy, error)
Get information about a IKE Policy
func (*IBMPIVpnPolicyClient) GetIKEPolicyWithContext ¶ added in v1.0.77
func (f *IBMPIVpnPolicyClient) GetIKEPolicyWithContext(ctx context.Context, id, cloudInstanceID string) (ikePolicy *models.IKEPolicy, err error)
Get information about a IKE Policy with Context
func (*IBMPIVpnPolicyClient) GetIPSecPolicy ¶ added in v1.0.77
func (f *IBMPIVpnPolicyClient) GetIPSecPolicy(id, cloudInstanceID string) (*models.IPSecPolicy, error)
Get information about a IPSec Policy
func (*IBMPIVpnPolicyClient) GetIPSecPolicyWithContext ¶ added in v1.0.77
func (f *IBMPIVpnPolicyClient) GetIPSecPolicyWithContext(ctx context.Context, id, cloudInstanceID string) (ipsecPolicy *models.IPSecPolicy, err error)
Get information about a IPSec Policy with Context
func (*IBMPIVpnPolicyClient) UpdateIKEPolicy ¶ added in v1.0.77
func (f *IBMPIVpnPolicyClient) UpdateIKEPolicy(body *models.IKEPolicyUpdate, id, cloudInstanceID string) (ikePolicy *models.IKEPolicy, err error)
Update a IKE Policy
func (*IBMPIVpnPolicyClient) UpdateIKEPolicyWithContext ¶ added in v1.0.77
func (f *IBMPIVpnPolicyClient) UpdateIKEPolicyWithContext(ctx context.Context, body *models.IKEPolicyUpdate, id, cloudInstanceID string) (ikePolicy *models.IKEPolicy, err error)
Update a IKE Policy with context
func (*IBMPIVpnPolicyClient) UpdateIPSecPolicy ¶ added in v1.0.77
func (f *IBMPIVpnPolicyClient) UpdateIPSecPolicy(body *models.IPSecPolicyUpdate, id, cloudInstanceID string) (ipsecPolicy *models.IPSecPolicy, err error)
Update a IPSec Policy
func (*IBMPIVpnPolicyClient) UpdateIPSecPolicyWithContext ¶ added in v1.0.77
func (f *IBMPIVpnPolicyClient) UpdateIPSecPolicyWithContext(ctx context.Context, body *models.IPSecPolicyUpdate, id, cloudInstanceID string) (ipsecPolicy *models.IPSecPolicy, err error)
Update a IPSec Policy with context
Source Files ¶
- ibm-pi-clonevolumes.go
- ibm-pi-cloud-connection.go
- ibm-pi-cloud-instance.go
- ibm-pi-dhcp.go
- ibm-pi-helper.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-snapshot.go
- ibm-pi-storage-capacity.go
- ibm-pi-system-pools.go
- ibm-pi-tasks.go
- ibm-pi-tenant.go
- ibm-pi-volume.go
- ibm-pi-vpn-policy.go
- ibm-pi-vpn.go