Interface VirtualLicense.Service
- All Superinterfaces:
Maskable,ResultLimitable,Service
- Enclosing class:
- VirtualLicense
@ApiService("SoftLayer_Software_VirtualLicense") public static interface VirtualLicense.Service extends Service
SoftLayer_Software_VirtualLicense is the application class that handles a special type of Software License. Most software licenses are licensed to a specific hardware ID; virtual licenses are designed for virtual machines and therefore are assigned to an IP Address. Not all software packages can be "virtual licensed".
SoftLayer_Software_VirtualLicense's service allows you to retrieve the hard-copy license file for a virtual license, if one exists for your license instance.
You can also retrieve the subnet that the IP to which a software virtual license is licensed upon exists in, as well as the software description that this virtual license is for.
SoftLayer_Software_VirtualLicense's service allows you to retrieve the hard-copy license file for a virtual license, if one exists for your license instance.
You can also retrieve the subnet that the IP to which a software virtual license is licensed upon exists in, as well as the software description that this virtual license is for.
- See Also:
- SoftLayer_Software_VirtualLicense
-
Method Summary
Modifier and Type Method Description VirtualLicense.ServiceAsyncasAsync()Get an async version of this serviceAccountgetAccount()The customer account this Virtual License belongs to.ItemgetBillingItem()The billing item for a software virtual license.ServergetHostHardware()The hardware record to which the software virtual license is assigned.IpAddressgetIpAddressRecord()The IP Address record associated with a virtual license.byte[]getLicenseFile()Attempt to retrieve the file associated with a virtual license, if such a file exists.VirtualLicensegetObject()getObject retrieves the SoftLayer_Software_VirtualLicense object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Software_VirtualLicense service.DescriptiongetSoftwareDescription()The SoftLayer_Software_Description that this virtual license is for.SubnetgetSubnet()The subnet this Virtual License's IP address belongs to.voidsetMask(VirtualLicense.Mask mask)VirtualLicense.MaskwithMask()Use the existing mask on this service or create it if not presentVirtualLicense.MaskwithNewMask()Overwrite the existing mask on this service with a new one and return itMethods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
Method Details
-
asAsync
VirtualLicense.ServiceAsync asAsync()Description copied from interface:ServiceGet an async version of this service -
withNewMask
VirtualLicense.Mask withNewMask()Description copied from interface:MaskableOverwrite the existing mask on this service with a new one and return it- Specified by:
withNewMaskin interfaceMaskable
-
withMask
VirtualLicense.Mask withMask()Description copied from interface:MaskableUse the existing mask on this service or create it if not present -
setMask
-
getLicenseFile
Attempt to retrieve the file associated with a virtual license, if such a file exists. If there is no file for this virtual license, calling this method will either throw an exception or return false. -
getObject
getObject retrieves the SoftLayer_Software_VirtualLicense object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Software_VirtualLicense service. You can only retrieve Virtual Licenses assigned to your account number. -
getAccount
The customer account this Virtual License belongs to. -
getBillingItem
The billing item for a software virtual license. -
getHostHardware
The hardware record to which the software virtual license is assigned. -
getIpAddressRecord
The IP Address record associated with a virtual license. -
getSoftwareDescription
The SoftLayer_Software_Description that this virtual license is for. -
getSubnet
The subnet this Virtual License's IP address belongs to.
-