network

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNadcLbVipByName

func GetNadcLbVipByName(sess *session.Session, nadcId int, vipName string, mask ...string) (*datatypes.Network_LoadBalancer_VirtualIpAddress, error)

GetNadcLbVipByName Get a virtual ip address by name attached to a load balancer appliance like the Netscaler VPX. In the case of some load balancer appliances looking up the virtual ip address by name is necessary since they don't get assigned an id.

func GetNadcLbVipServiceByName

func GetNadcLbVipServiceByName(
	sess *session.Session, nadcId int, vipName string, serviceName string, mask ...string,
) (*datatypes.Network_LoadBalancer_Service, error)

GetNadcLbVipServiceByName Get a load balancer service by name attached to a load balancer appliance like the Netscaler VPX. In the case of some load balancer appliances looking up the virtual ip address by name is necessary since they don't get assigned an id.

func GetOsTypeByName

func GetOsTypeByName(sess *session.Session, name string, args ...interface{}) (datatypes.Network_Storage_Iscsi_OS_Type, error)

GetOsTypeByName retrieves an object of type SoftLayer_Network_Storage_Iscsi_OS_Type. To order block storage, OS type is required as a mandatory input. GetOsTypeByName helps in getting the OS id and keyName Examples: id:6 name: Hyper-V keyName: HYPER_V id:12 name: Linux keyName: LINUX id:22 name: VMWare keyName: VMWARE id:30 name: Xen keyName: XEN

Types

This section is empty.

Jump to

Keyboard shortcuts

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