Interface Group.Service
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- Enclosing class:
- Group
@ApiService("SoftLayer_Virtual_Guest_Block_Device_Template_Group") public static interface Group.Service extends Service
The virtual guest block device template group service provides a common interface to an accounts archived image templates The interaction with various third party APIs is not needed when implementing this service to administer your guests.
-
Method Summary
Modifier and Type Method Description Boolean
addByolAttribute()
This method allows you to mark this image template as customer managed software license (BYOL)Boolean
addCloudInitAttribute()
This method allows you to mark this image template as cloud initBoolean
addLocations(List<Location> locations)
This method will create transaction(s) to add available locations to an archive image template.Boolean
addSupportedBootMode(String bootMode)
This method allows you to mark this image's supported boot modes as 'HVM' or 'PV'.Group.ServiceAsync
asAsync()
Get an async version of this serviceBoolean
copyToExternalSource(Configuration configuration)
Create a transaction to export/copy a template to an external source.Boolean
copyToIcos(Configuration configuration)
Create a transaction to export/copy a template to an ICOS.Group
createFromExternalSource(Configuration configuration)
Create a transaction to import a disk image from an external source and create a standard image template.Group
createFromIcos(Configuration configuration)
Create a process to import a disk image from ICOS and create a standardLong
createPublicArchiveTransaction(String groupName, String summary, String note, List<Location> locations)
Create a transaction to copy archived block devices into public repositoryBoolean
deleteByolAttribute()
This method allows you to remove BYOL attribute for a given image template.Boolean
deleteCloudInitAttribute()
This method allows you to remove cloud init attribute for a given image template.Transaction
deleteObject()
Deleting a block device template group is different from the deletion of other objects.Boolean
denySharingAccess(Long accountId)
This method will deny another SoftLayer customer account's previously given access to provision CloudLayer Computing Instances from an image template group.Boolean
editObject(Group templateObject)
Edit an image template group's associated name and note.List<Group>
findGcImagesByCurrentUser(List<String> dataCenters, List<String> regions)
Find block device template groups containing a GC enabled cloudinit image for the current active user.Account
getAccount()
A block device template group's [[SoftLayer_Account|account]].List<Contact>
getAccountContacts()
List<Accounts>
getAccountReferences()
The accounts which may have read-only access to an image template group.List<String>
getAllAvailableCompatiblePlatformNames()
Get all available compatible platform names that can be added to a template group.List<Template>
getBlockDevices()
The block devices that are part of an image template groupBigDecimal
getBlockDevicesDiskSpaceTotal()
The total disk space of all images in a image template group.String
getBootMode()
This method returns the boot mode, if any, set on a given image template.Boolean
getByolFlag()
A flag indicating that customer is providing the software licenses.List<Group>
getChildren()
The image template groups that are clones of an image template group.List<String>
getCurrentCompatiblePlatformNames()
Get compatible platform names currently set on the template group.Location
getDatacenter()
The location containing this image template group.List<Location>
getDatacenters()
A collection of locations containing a copy of this image template group.String
getDefaultBootMode()
This method returns the default boot mode set by the software descriptionList<String>
getEncryptionAttributes()
This method returns an array of encryption values, or empty array if none are foundGroup
getFirstChild()
The first clone of the image template groupBoolean
getFlexImageFlag()
A flag indicating if this is a flex image.String
getGlobalIdentifier()
An image template's universally unique identifier.Type
getImageType()
The virtual disk image type of this template.String
getImageTypeKeyName()
The virtual disk image type keyname (e.g.Boolean
getNextGenFlag()
A flag indicating if this is a next generation image.Group
getObject()
Group
getParent()
The image template group that another image template group was cloned from.List<Group>
getPublicCustomerOwnedImages()
This method gets all public customer owned image templates that the user is allowed to see.List<Group>
getPublicImages()
This method gets all public image templates that the user is allowed to see.Resource
getRegion()
List<Resource>
getRegions()
RiasAccount
getRiasAccount(String secret)
List<Key>
getSshKeys()
The ssh keys to be implemented on the server when provisioned or reloaded from an image template group.Status
getStatus()
A template group's status.List<Location>
getStorageLocations()
Returns the image storage locations.Repository
getStorageRepository()
The storage repository that an image template group resides on.List<String>
getSupportedBootModes()
This method indicates which boot modes are supported by the image.List<Reference>
getTagReferences()
The tags associated with this image template group.String
getTemplateDataCenterName()
This method allows you to grab the first data center that the image(s) reside on so we can pull it from there.Transaction
getTransaction()
A transaction that is being performed on a image template group.List<Description>
getVhdImportSoftwareDescriptions()
Returns an array of SoftLayer_Software_Description that are supported for VHD imports.Boolean
isByol()
This method indicates whether or not this image is a customer supplied license image.Boolean
isByolCapableOperatingSystem()
This method indicates whether or not this image uses an operating system capable of using a customer supplied license image.Boolean
isByolOnlyOperatingSystem()
This method indicates whether or not this image uses an operating system that requires using a customer supplied license imageBoolean
isCloudInit()
This method indicates whether or not this image is a cloud-init image.Boolean
isCloudInitOnlyOperatingSystem()
This method indicates whether or not this image uses an operating system that requires cloud initBoolean
isEncrypted()
This method indicates whether this image template contains an encrypted disk image.Boolean
permitSharingAccess(Long accountId)
This method will permit another SoftLayer customer account access to provision CloudLayer Computing Instances from an image template group.Boolean
removeCompatiblePlatforms(List<String> platformNames)
Removes compatible platforms on the template group.Boolean
removeLocations(List<Location> locations)
This method will create transaction(s) to remove available locations from an archive image template.Boolean
removeSupportedBootMode(String bootMode)
This method allows you to remove a supported boot mode attribute for a given image template.Boolean
setAvailableLocations(List<Location> locations)
Create transaction(s) to set the archived block device available locationsBoolean
setBootMode(String newBootMode)
This method allows you to specify the boot mode for a given image template.Boolean
setCompatiblePlatforms(List<String> platformNames)
Sets compatible platforms on the template group.void
setMask(Group.Mask mask)
Boolean
setTags(String tags)
Set the tags for this template group.Group.Mask
withMask()
Use the existing mask on this service or create it if not presentGroup.Mask
withNewMask()
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
Group.ServiceAsync asAsync()Description copied from interface:Service
Get an async version of this service -
withNewMask
Group.Mask withNewMask()Description copied from interface:Maskable
Overwrite the existing mask on this service with a new one and return it- Specified by:
withNewMask
in interfaceMaskable
-
withMask
Group.Mask withMask()Description copied from interface:Maskable
Use the existing mask on this service or create it if not present -
setMask
-
addByolAttribute
This method allows you to mark this image template as customer managed software license (BYOL) -
addCloudInitAttribute
This method allows you to mark this image template as cloud init -
addLocations
This method will create transaction(s) to add available locations to an archive image template. -
addSupportedBootMode
This method allows you to mark this image's supported boot modes as 'HVM' or 'PV'. -
copyToExternalSource
Create a transaction to export/copy a template to an external source. -
copyToIcos
Create a transaction to export/copy a template to an ICOS. -
createFromExternalSource
Create a transaction to import a disk image from an external source and create a standard image template. -
createFromIcos
Create a process to import a disk image from ICOS and create a standard -
createPublicArchiveTransaction
@ApiMethod(instanceRequired=true) Long createPublicArchiveTransaction(String groupName, String summary, String note, List<Location> locations)Create a transaction to copy archived block devices into public repository -
deleteByolAttribute
This method allows you to remove BYOL attribute for a given image template. -
deleteCloudInitAttribute
This method allows you to remove cloud init attribute for a given image template. -
deleteObject
Deleting a block device template group is different from the deletion of other objects. A block device template group can contain several gigabytes of data in its disk images. This may take some time to delete and requires a transaction to be created. This method creates a transaction that will delete all resources associated with the block device template group. -
denySharingAccess
This method will deny another SoftLayer customer account's previously given access to provision CloudLayer Computing Instances from an image template group. Template access should only be removed from the parent template group object, not the child. -
editObject
Edit an image template group's associated name and note. All other properties in the SoftLayer_Virtual_Guest_Block_Device_Template_Group data type are read-only. -
findGcImagesByCurrentUser
Find block device template groups containing a GC enabled cloudinit image for the current active user. A sorted collection of groups is returned. The Caller can optionally specify data center or region names to retrieve GC images from only those locations. -
getAllAvailableCompatiblePlatformNames
Get all available compatible platform names that can be added to a template group. -
getBootMode
This method returns the boot mode, if any, set on a given image template. -
getCurrentCompatiblePlatformNames
Get compatible platform names currently set on the template group. -
getDefaultBootMode
This method returns the default boot mode set by the software description -
getEncryptionAttributes
This method returns an array of encryption values, or empty array if none are found -
getObject
-
getPublicCustomerOwnedImages
This method gets all public customer owned image templates that the user is allowed to see. -
getPublicImages
This method gets all public image templates that the user is allowed to see. -
getRiasAccount
-
getStorageLocations
Returns the image storage locations. -
getSupportedBootModes
This method indicates which boot modes are supported by the image. -
getTemplateDataCenterName
This method allows you to grab the first data center that the image(s) reside on so we can pull it from there. -
getVhdImportSoftwareDescriptions
Returns an array of SoftLayer_Software_Description that are supported for VHD imports. -
isByol
This method indicates whether or not this image is a customer supplied license image. -
isByolCapableOperatingSystem
This method indicates whether or not this image uses an operating system capable of using a customer supplied license image. -
isByolOnlyOperatingSystem
This method indicates whether or not this image uses an operating system that requires using a customer supplied license image -
isCloudInit
This method indicates whether or not this image is a cloud-init image. -
isCloudInitOnlyOperatingSystem
This method indicates whether or not this image uses an operating system that requires cloud init -
isEncrypted
This method indicates whether this image template contains an encrypted disk image. -
permitSharingAccess
This method will permit another SoftLayer customer account access to provision CloudLayer Computing Instances from an image template group. Template access should only be given to the parent template group object, not the child. -
removeCompatiblePlatforms
Removes compatible platforms on the template group. -
removeLocations
This method will create transaction(s) to remove available locations from an archive image template. -
removeSupportedBootMode
This method allows you to remove a supported boot mode attribute for a given image template. -
setAvailableLocations
Create transaction(s) to set the archived block device available locations -
setBootMode
This method allows you to specify the boot mode for a given image template. -
setCompatiblePlatforms
Sets compatible platforms on the template group. -
setTags
Set the tags for this template group. -
getAccount
A block device template group's [[SoftLayer_Account|account]]. -
getAccountContacts
-
getAccountReferences
The accounts which may have read-only access to an image template group. Will only be populated for parent template group objects. -
getBlockDevices
The block devices that are part of an image template group -
getBlockDevicesDiskSpaceTotal
The total disk space of all images in a image template group. -
getByolFlag
A flag indicating that customer is providing the software licenses. -
getChildren
The image template groups that are clones of an image template group. -
getDatacenter
The location containing this image template group. Will only be populated for child template group objects. -
getDatacenters
A collection of locations containing a copy of this image template group. Will only be populated for parent template group objects. -
getFirstChild
The first clone of the image template group -
getFlexImageFlag
A flag indicating if this is a flex image. -
getGlobalIdentifier
An image template's universally unique identifier. -
getImageType
The virtual disk image type of this template. Value will be populated on parent and child, but only supports object filtering on the parent. -
getImageTypeKeyName
The virtual disk image type keyname (e.g. SYSTEM, DISK_CAPTURE, ISO, etc) of this template. Value will be populated on parent and child, but only supports object filtering on the parent. -
getNextGenFlag
A flag indicating if this is a next generation image. -
getParent
The image template group that another image template group was cloned from. -
getRegion
-
getRegions
-
getSshKeys
The ssh keys to be implemented on the server when provisioned or reloaded from an image template group. -
getStatus
A template group's status. -
getStorageRepository
The storage repository that an image template group resides on. -
getTagReferences
The tags associated with this image template group. -
getTransaction
A transaction that is being performed on a image template group.
-