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.ServiceAsync
asAsync()
Get an async version of this serviceAccount
getAccount()
The [[SoftLayer_Account|account]] that a storage repository belongs to.BigDecimal
getArchiveDiskUsageRatePerGb()
Returns the archive storage disk usage fee rate per gigabyte.BigDecimal
getAverageDiskUsageMetricDataFromInfluxByDate(GregorianCalendar startDateTime, GregorianCalendar endDateTime)
Returns the average disk space usage for a storage repository.BigDecimal
getAverageUsageMetricDataByDate(GregorianCalendar startDateTime, GregorianCalendar endDateTime)
Returns the average disk space usage for a storage repository.Item
getBillingItem()
The current billing item for a storage repository.Location
getDatacenter()
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.Repository
getMetricTrackingObject()
Repository
getObject()
Item
getPublicImageBillingItem()
The current billing item for a public storage repository.BigDecimal
getPublicImageDiskUsageRatePerGb()
Returns the public image storage disk usage fee rate per gigabyte.List<Location>
getStorageLocations()
Returns the public image storage locations.Type
getType()
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.GraphOutputs
getUsageMetricImageByDate(GregorianCalendar startDateTime, GregorianCalendar endDateTime)
Returns a disk usage image based on disk usage specified by the input parameters.void
setMask(Repository.Mask mask)
Repository.Mask
withMask()
Use the existing mask on this service or create it if not presentRepository.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
Repository.ServiceAsync asAsync()Description copied from interface:Service
Get an async version of this service -
withNewMask
Repository.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
Repository.Mask withMask()Description copied from interface:Maskable
Use 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]].
-