Interface Repository.Service
-
- All Superinterfaces:
Maskable,ResultLimitable,Service
- Enclosing class:
- Repository
@ApiService("SoftLayer_Virtual_Storage_Repository") public static interface Repository.Service extends Service
Storage Repositories are storage systems that are accessible through the internet and can be accessed through many types of devices, interfaces, and other resources such as NFS (Network File System). They can contain 1 or more [[SoftLayer_Virtual_Disk_Image]] and can be attached to more than one [[SoftLayer_Virtual_Host|host]].- See Also:
- SoftLayer_Virtual_Storage_Repository
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Repository.ServiceAsyncasAsync()Get an async version of this serviceAccountgetAccount()The [[SoftLayer_Account|account]] that a storage repository belongs to.BigDecimalgetArchiveDiskUsageRatePerGb()Returns the archive storage disk usage fee rate per gigabyte.BigDecimalgetAverageDiskUsageMetricDataFromInfluxByDate(GregorianCalendar startDateTime, GregorianCalendar endDateTime)Returns the average disk space usage for a storage repository.BigDecimalgetAverageUsageMetricDataByDate(GregorianCalendar startDateTime, GregorianCalendar endDateTime)Returns the average disk space usage for a storage repository.ItemgetBillingItem()The current billing item for a storage repository.LocationgetDatacenter()The datacenter that a virtual storage repository resides in.List<Image>getDiskImages()The [[SoftLayer_Virtual_Disk_Image|disk images]] that are in a storage repository.List<Guest>getGuests()The computing instances that have disk images in a storage repository.RepositorygetMetricTrackingObject()RepositorygetObject()ItemgetPublicImageBillingItem()The current billing item for a public storage repository.BigDecimalgetPublicImageDiskUsageRatePerGb()Returns the public image storage disk usage fee rate per gigabyte.List<Location>getStorageLocations()Returns the public image storage locations.TypegetType()A storage repository's [[SoftLayer_Virtual_Storage_Repository_Type|type]].List<Data>getUsageMetricDataByDate(GregorianCalendar startDateTime, GregorianCalendar endDateTime)Retrieve disk usage data on a [[SoftLayer_Virtual_Guest|Cloud Computing Instance]] image for the time range you provide.GraphOutputsgetUsageMetricImageByDate(GregorianCalendar startDateTime, GregorianCalendar endDateTime)Returns a disk usage image based on disk usage specified by the input parameters.voidsetMask(Repository.Mask mask)Repository.MaskwithMask()Use the existing mask on this service or create it if not presentRepository.MaskwithNewMask()Overwrite the existing mask on this service with a new one and return it-
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
-
-
-
Method Detail
-
asAsync
Repository.ServiceAsync asAsync()
Description copied from interface:ServiceGet an async version of this service
-
withNewMask
Repository.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
Repository.Mask withMask()
Description copied from interface:MaskableUse the existing mask on this service or create it if not present
-
setMask
void setMask(Repository.Mask mask)
-
getArchiveDiskUsageRatePerGb
@ApiMethod(instanceRequired=true) BigDecimal getArchiveDiskUsageRatePerGb()
Returns the archive storage disk usage fee rate per gigabyte.
-
getAverageDiskUsageMetricDataFromInfluxByDate
@ApiMethod(instanceRequired=true) BigDecimal getAverageDiskUsageMetricDataFromInfluxByDate(GregorianCalendar startDateTime, GregorianCalendar endDateTime)
Returns the average disk space usage for a storage repository.
-
getAverageUsageMetricDataByDate
@ApiMethod(instanceRequired=true) BigDecimal getAverageUsageMetricDataByDate(GregorianCalendar startDateTime, GregorianCalendar endDateTime)
Returns the average disk space usage for a storage repository.
-
getObject
@ApiMethod(instanceRequired=true) Repository getObject()
-
getPublicImageDiskUsageRatePerGb
@ApiMethod(instanceRequired=true) BigDecimal getPublicImageDiskUsageRatePerGb()
Returns the public image storage disk usage fee rate per gigabyte.
-
getStorageLocations
@ApiMethod(instanceRequired=true) List<Location> getStorageLocations()
Returns the public image storage locations.
-
getUsageMetricDataByDate
@ApiMethod(instanceRequired=true) List<Data> getUsageMetricDataByDate(GregorianCalendar startDateTime, GregorianCalendar endDateTime)
Retrieve disk usage data on a [[SoftLayer_Virtual_Guest|Cloud Computing Instance]] image for the time range you provide. Each data entry objects contain ''dateTime'' and ''counter'' properties. ''dateTime'' property indicates the time that the disk usage data was measured and ''counter'' property holds the disk usage in bytes.
-
getUsageMetricImageByDate
@ApiMethod(instanceRequired=true) GraphOutputs getUsageMetricImageByDate(GregorianCalendar startDateTime, GregorianCalendar endDateTime)
Returns a disk usage image based on disk usage specified by the input parameters.
-
getAccount
@ApiMethod(instanceRequired=true) Account getAccount()
The [[SoftLayer_Account|account]] that a storage repository belongs to.
-
getBillingItem
@ApiMethod(instanceRequired=true) Item getBillingItem()
The current billing item for a storage repository.
-
getDatacenter
@ApiMethod(instanceRequired=true) Location getDatacenter()
The datacenter that a virtual storage repository resides in.
-
getDiskImages
@ApiMethod(instanceRequired=true) List<Image> getDiskImages()
The [[SoftLayer_Virtual_Disk_Image|disk images]] that are in a storage repository. Disk images are the virtual hard drives for a virtual guest.
-
getGuests
@ApiMethod(instanceRequired=true) List<Guest> getGuests()
The computing instances that have disk images in a storage repository.
-
getMetricTrackingObject
@ApiMethod(instanceRequired=true) Repository getMetricTrackingObject()
-
getPublicImageBillingItem
@ApiMethod(instanceRequired=true) Item getPublicImageBillingItem()
The current billing item for a public storage repository.
-
getType
@ApiMethod(instanceRequired=true) Type getType()
A storage repository's [[SoftLayer_Virtual_Storage_Repository_Type|type]].
-
-