instance

package
v1.0.85 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2021 License: Apache-2.0 Imports: 25 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 using V2 of the API - This creates a clone

func (*IBMPICloneVolumeClient) CreateV2Clone added in v1.0.56

Create a volume clone V2 Version = This is the prepare operation

func (*IBMPICloneVolumeClient) DeleteClone added in v1.0.48

func (f *IBMPICloneVolumeClient) DeleteClone(id string) error

Delete a volume- clone request

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 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 request for a cloud instance

func (*IBMPICloneVolumeClient) PrepareClone added in v1.0.56

func (f *IBMPICloneVolumeClient) PrepareClone(volumesCloneID string) (*models.VolumesClone, error)

Initiate the execute action for a clone

func (*IBMPICloneVolumeClient) StartClone added in v1.0.52

func (f *IBMPICloneVolumeClient) StartClone(volumesCloneID string) (*models.VolumesClone, error)

Initiate the 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

AddNetwork 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.CloudConnection, *models.JobReference, error)

DeleteNetwork Deletes a network from a cloud connection

func (*IBMPICloudConnectionClient) Get added in v1.0.49

Get ...

func (*IBMPICloudConnectionClient) GetAll added in v1.0.49

GetAll ..

func (*IBMPICloudConnectionClient) GetVPC added in v1.0.60

get 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 information about a cloud instance

func (*IBMPICloudInstanceClient) Update added in v1.0.24

Update a cloud instance

type IBMPIDhcpClient added in v1.0.77

type IBMPIDhcpClient struct {
	IBMPIClient
}

NewIBMPIDhcpClient ...

func NewIBMPIDhcpClient added in v1.0.77

func NewIBMPIDhcpClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPIDhcpClient

NewIBMPIDhcpClient ...

func (*IBMPIDhcpClient) Create added in v1.0.77

func (f *IBMPIDhcpClient) Create() (*models.DHCPServer, error)

Create

func (*IBMPIDhcpClient) Delete added in v1.0.77

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

Delete

func (*IBMPIDhcpClient) Get added in v1.0.77

Get

func (*IBMPIDhcpClient) GetAll added in v1.0.77

func (f *IBMPIDhcpClient) GetAll() (models.DHCPServers, error)

GetAll

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 the stock image

func (*IBMPIImageClient) CreateCosImage added in v1.0.75

func (f *IBMPIImageClient) CreateCosImage(body *models.CreateCosImageImportJob) (imageJob *models.JobReference, err error)

Import the image

func (*IBMPIImageClient) Delete

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

Delete ...

func (*IBMPIImageClient) Get

func (f *IBMPIImageClient) Get(id string) (*models.Image, error)

Get PI Image

func (*IBMPIImageClient) GetAll

func (f *IBMPIImageClient) GetAll() (*models.Images, error)

GetAll 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 StockImage

func (*IBMPIImageClient) GetAllStockSAPImages added in v1.0.77

func (f *IBMPIImageClient) GetAllStockSAPImages() (*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() (*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 string) (*models.Image, error)

GetStockImages ...

func (*IBMPIImageClient) IsVTLImage added in v1.0.77

func (f *IBMPIImageClient) IsVTLImage(imageId string) (bool, error)

IsVtlImage returns true if image is a VTL images

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 PVM Instances Operations

func (*IBMPIInstanceClient) AddNetwork added in v1.0.30

AddNetwork Add a network to the instance

func (*IBMPIInstanceClient) CaptureInstanceToImageCatalog

func (f *IBMPIInstanceClient) CaptureInstanceToImageCatalog(id string, body *models.PVMInstanceCapture) error

CaptureInstanceToImageCatalog Captures an instance

func (*IBMPIInstanceClient) Create

Create ...

func (*IBMPIInstanceClient) CreateClone added in v1.0.4

CreateClone ...

func (*IBMPIInstanceClient) CreatePvmSnapShot added in v1.0.1

CreatePvmSnapShot Create a snapshot of the instance

func (*IBMPIInstanceClient) Delete

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

Delete PVM Instances

func (*IBMPIInstanceClient) DeleteNetwork added in v1.0.79

func (f *IBMPIInstanceClient) DeleteNetwork(id string, body *models.PVMInstanceRemoveNetwork) error

Delete a network from an instance

func (*IBMPIInstanceClient) Get

Get information about a single pvm only

func (*IBMPIInstanceClient) GetAll added in v1.0.23

func (f *IBMPIInstanceClient) GetAll() (*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 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)

GetSnapShotVM Get information about the snapshots for a vm

func (*IBMPIInstanceClient) PostConsoleURL

func (f *IBMPIInstanceClient) PostConsoleURL(id string) (*models.PVMInstanceConsole, error)

PostConsoleURL Generate the Console URL

func (*IBMPIInstanceClient) RestoreSnapShotVM added in v1.0.23

func (f *IBMPIInstanceClient) RestoreSnapShotVM(id, snapshotid, restoreAction string, body *models.SnapshotRestore) (*models.Snapshot, error)

RestoreSnapShotVM Restore a snapshot

func (*IBMPIInstanceClient) Update

Update PVM Instances

func (*IBMPIInstanceClient) UpdateConsoleLanguage added in v1.0.78

func (f *IBMPIInstanceClient) UpdateConsoleLanguage(id string, body *models.ConsoleLanguage) (*models.ConsoleLanguage, error)

List 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 information about a job

func (*IBMPIJobClient) GetAll added in v1.0.75

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

Gell 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 PI Key ...

func (*IBMPIKeyClient) Delete

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

Delete ...

func (*IBMPIKeyClient) Get

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

Get Key...

func (*IBMPIKeyClient) GetAll added in v1.0.80

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

GetAll Information about all the PVM Instances for a Client

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 ...

func (*IBMPINetworkClient) CreatePort

CreatePort ...

func (*IBMPINetworkClient) Delete

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

Delete ...

func (*IBMPINetworkClient) DeletePort

func (f *IBMPINetworkClient) DeletePort(id string, networkPortID string) error

DeletePort ...

func (*IBMPINetworkClient) Get

func (f *IBMPINetworkClient) Get(id string) (*models.Network, error)

Get ...

func (*IBMPINetworkClient) GetAll added in v1.0.84

func (f *IBMPINetworkClient) GetAll() (*models.Networks, error)

Get All

func (*IBMPINetworkClient) GetAllPorts added in v1.0.84

func (f *IBMPINetworkClient) GetAllPorts(id string) (*models.NetworkPorts, error)

GetAllPorts ...

func (*IBMPINetworkClient) GetAllPublic added in v1.0.84

func (f *IBMPINetworkClient) GetAllPublic() (*models.Networks, error)

GetPublic ...

func (*IBMPINetworkClient) GetPort added in v1.0.3

func (f *IBMPINetworkClient) GetPort(id string, networkPortID string) (*models.NetworkPort, error)

GetPort ...

func (*IBMPINetworkClient) UpdatePort added in v1.0.84

func (f *IBMPINetworkClient) UpdatePort(id, networkPortID string, body *models.NetworkPortUpdate) (*models.NetworkPort, error)

UpdatePort with the PVM Instance

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

Adding a member to a Placement Group

func (*IBMPIPlacementGroupClient) Create added in v1.0.59

Create the placement group

func (*IBMPIPlacementGroupClient) Delete added in v1.0.59

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

Delete Placement Group

func (*IBMPIPlacementGroupClient) DeleteMember added in v1.0.59

Delete Member from Placement Group

func (*IBMPIPlacementGroupClient) Get added in v1.0.59

Get PI Placementgroup

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)

GetAll SAP Profiles

func (*IBMPISAPInstanceClient) GetSAPProfile added in v1.0.79

func (f *IBMPISAPInstanceClient) GetSAPProfile(id string) (*models.SAPProfile, error)

Get SAP Profile

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 ...

func (*IBMPISnapshotClient) Get added in v1.0.1

Get information about a single snapshot only

func (*IBMPISnapshotClient) GetAll added in v1.0.1

func (f *IBMPISnapshotClient) GetAll() (*models.Snapshots, error)

GetAll snapshots

func (*IBMPISnapshotClient) Update added in v1.0.1

Update ...

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)

Storage capacity for all available storage pools in a region

func (*IBMPIStorageCapacityClient) GetAllStorageTypesCapacity added in v1.0.84

func (f *IBMPIStorageCapacityClient) GetAllStorageTypesCapacity() (*models.StorageTypesCapacity, error)

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)

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)

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

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 ...

func (*IBMPITaskClient) Get added in v1.0.46

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

Get ...

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 ..

func (*IBMPITenantClient) GetSelfTenant added in v1.0.84

func (f *IBMPITenantClient) GetSelfTenant() (*models.Tenant, error)

Get ..

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

func (*IBMPIVolumeClient) CheckVolumeAttach added in v1.0.35

func (f *IBMPIVolumeClient) CheckVolumeAttach(id, volumeID string) (*models.Volume, error)

CheckVolumeAttach if the volume is attached to the instance

func (*IBMPIVolumeClient) CreateVolume added in v1.0.39

func (f *IBMPIVolumeClient) CreateVolume(body *models.CreateDataVolume) (*models.Volume, error)

CreateVolume ...

func (*IBMPIVolumeClient) CreateVolumeV2 added in v1.0.54

func (f *IBMPIVolumeClient) CreateVolumeV2(body *models.MultiVolumesCreate) (*models.Volumes, error)

CreateVolumeV2 ...

func (*IBMPIVolumeClient) DeleteVolume added in v1.0.39

func (f *IBMPIVolumeClient) DeleteVolume(id string) error

DeleteVolume ...

func (*IBMPIVolumeClient) Detach

func (f *IBMPIVolumeClient) Detach(id, volumename string) error

Detach a volume

func (*IBMPIVolumeClient) Get

func (f *IBMPIVolumeClient) Get(id string) (*models.Volume, error)

Get information about a single volume only

func (*IBMPIVolumeClient) GetAll

func (f *IBMPIVolumeClient) GetAll() (*models.Volumes, error)

GetAll volumes

func (*IBMPIVolumeClient) GetAllAffinityVolumes added in v1.0.84

func (f *IBMPIVolumeClient) GetAllAffinityVolumes(affinity string) (*models.Volumes, error)

GetAll volumes

func (*IBMPIVolumeClient) GetAllInstanceVolumes added in v1.0.84

func (f *IBMPIVolumeClient) GetAllInstanceVolumes(id string) (*models.Volumes, error)

GetAll volumes part of an instance

func (*IBMPIVolumeClient) SetBootVolume

func (f *IBMPIVolumeClient) SetBootVolume(id, volumename string) error

SetBootVolume as the boot volume - PUT Operation

func (*IBMPIVolumeClient) UpdateVolume added in v1.0.39

func (f *IBMPIVolumeClient) UpdateVolume(id string, body *models.UpdateVolume) (*models.Volume, error)

UpdateVolume ...

func (*IBMPIVolumeClient) UpdateVolumeAttach added in v1.0.85

func (f *IBMPIVolumeClient) UpdateVolumeAttach(id, volumeID string, body *models.PVMInstanceVolumeUpdate) error

UpdateVolumeAttach if the volume is attached to the 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)

Network attach

func (*IBMPIVpnConnectionClient) AddSubnet added in v1.0.81

func (f *IBMPIVpnConnectionClient) AddSubnet(id, subnet string) (*models.PeerSubnets, error)

Subnet attach

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)

Network detach

func (*IBMPIVpnConnectionClient) DeleteSubnet added in v1.0.81

func (f *IBMPIVpnConnectionClient) DeleteSubnet(id, subnet string) (*models.PeerSubnets, error)

Subnet detach

func (*IBMPIVpnConnectionClient) Get added in v1.0.77

Get information about 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)

Network get

func (*IBMPIVpnConnectionClient) GetSubnet added in v1.0.81

Subnet get

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 a IKE Policy

func (*IBMPIVpnPolicyClient) CreateIPSecPolicy added in v1.0.77

func (f *IBMPIVpnPolicyClient) CreateIPSecPolicy(body *models.IPSecPolicyCreate) (*models.IPSecPolicy, error)

Create a IPSec Policy

func (*IBMPIVpnPolicyClient) DeleteIKEPolicy added in v1.0.77

func (f *IBMPIVpnPolicyClient) DeleteIKEPolicy(id string) error

Delete a IKE Policy

func (*IBMPIVpnPolicyClient) DeleteIPSecPolicy added in v1.0.77

func (f *IBMPIVpnPolicyClient) DeleteIPSecPolicy(id string) error

Delete a 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)

Get information about a IKE Policy

func (*IBMPIVpnPolicyClient) GetIPSecPolicy added in v1.0.77

func (f *IBMPIVpnPolicyClient) GetIPSecPolicy(id string) (*models.IPSecPolicy, error)

Get information about a IPSec Policy

func (*IBMPIVpnPolicyClient) UpdateIKEPolicy added in v1.0.77

func (f *IBMPIVpnPolicyClient) UpdateIKEPolicy(id string, body *models.IKEPolicyUpdate) (*models.IKEPolicy, error)

Update a IKE Policy

func (*IBMPIVpnPolicyClient) UpdateIPSecPolicy added in v1.0.77

func (f *IBMPIVpnPolicyClient) UpdateIPSecPolicy(id string, body *models.IPSecPolicyUpdate) (*models.IPSecPolicy, error)

Update a IPSec Policy

Jump to

Keyboard shortcuts

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