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
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 itMethods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
Method Details
-
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
-
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
-
getPublicImageDiskUsageRatePerGb
Returns the public image storage disk usage fee rate per gigabyte. -
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
The [[SoftLayer_Account|account]] that a storage repository belongs to. -
getBillingItem
The current billing item for a storage repository. -
getDatacenter
The datacenter that a virtual storage repository resides in. -
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
The computing instances that have disk images in a storage repository. -
getMetricTrackingObject
-
getPublicImageBillingItem
The current billing item for a public storage repository. -
getType
A storage repository's [[SoftLayer_Virtual_Storage_Repository_Type|type]].
-