Class BaBackupResourceResponse
java.lang.Object
com.iland.core.web.rest.response.vac.BaBackupResourceResponse
- All Implemented Interfaces:
Serializable
VAC Backup Resource Response.
- Author:
- Nick Kasprzak<
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBaBackupResourceResponse(String id, String cloudRepositoryName, long storageQuota, int vmsQuota, int workstationsQuota, int trafficQuota, boolean wanAccelerationEnabled, long usedStorageQuota, double usedTrafficQuota, Instant intervalStartTime, Instant intervalEndTime, BaWanAcceleratorResponse wanAccelerator, int serversQuota, boolean quotasAreUnlimited) -
Method Summary
Modifier and TypeMethodDescriptionGets name of a cloud repository configured for a company or department.getId()Gets System ID assigned to a backup resource in Veeam Availability Console RESTful API.Gets End date of data collection.Gets start date of data collection.intGets Number of servers that a company can store on a cloud repository.longGets amount of storage allocated to a company or department.intGets amount of data that a company or department can download from the cloud repository during a billing period.longGets amount of allocated storage space already used by a company or department.doubleGets amount of data that a company or department has already downloaded from a cloud repository during a billing period.intGets Number of VMs that a company or department can store on a cloud repository.Get the wan accelerator.intGets Number of workstations that a company can store on a cloud repository.booleanIndicates whether a company has unlimited quota for number of VMs, workstations and server.booleanIndicates whether WAN Accelerator is enabled for data transfer to a cloud repository.
-
Constructor Details
-
BaBackupResourceResponse
public BaBackupResourceResponse(String id, String cloudRepositoryName, long storageQuota, int vmsQuota, int workstationsQuota, int trafficQuota, boolean wanAccelerationEnabled, long usedStorageQuota, double usedTrafficQuota, Instant intervalStartTime, Instant intervalEndTime, BaWanAcceleratorResponse wanAccelerator, int serversQuota, boolean quotasAreUnlimited)
-
-
Method Details
-
getId
Gets System ID assigned to a backup resource in Veeam Availability Console RESTful API.- Returns:
- the id
-
getCloudRepositoryName
Gets name of a cloud repository configured for a company or department.- Returns:
- the cloud repsitory name
-
getStorageQuota
public long getStorageQuota()Gets amount of storage allocated to a company or department.- Returns:
- the storage quota
-
getVmsQuota
public int getVmsQuota()Gets Number of VMs that a company or department can store on a cloud repository. If quota is unlimited, the property value is 0..- Returns:
- the ms quota
-
getWorkstationsQuota
public int getWorkstationsQuota()Gets Number of workstations that a company can store on a cloud repository. If quota is unlimited, the property value is 0.- Returns:
- the workstations quota
-
getTrafficQuota
public int getTrafficQuota()Gets amount of data that a company or department can download from the cloud repository during a billing period. If quota is unlimited, the property value is 0.- Returns:
- the traffic quota
-
isWanAccelerationEnabled
public boolean isWanAccelerationEnabled()Indicates whether WAN Accelerator is enabled for data transfer to a cloud repository.- Returns:
- the boolean
-
getUsedStorageQuota
public long getUsedStorageQuota()Gets amount of allocated storage space already used by a company or department.- Returns:
- the used storage quota
-
getUsedTrafficQuota
public double getUsedTrafficQuota()Gets amount of data that a company or department has already downloaded from a cloud repository during a billing period. If quota is unlimited, the property value is -1.- Returns:
- the used traffic quota
-
getIntervalStartTime
Gets start date of data collection. Date and time string is formatted in accordance with ISO 8601.- Returns:
- the interval start time
-
getIntervalEndTime
Gets End date of data collection. Date and time string is formatted in accordance with ISO 8601.- Returns:
- the interval end time
-
getWanAccelerator
Get the wan accelerator.- Returns:
BaWanAcceleratorResponsewan accelerator
-
getServersQuota
public int getServersQuota()Gets Number of servers that a company can store on a cloud repository.- Returns:
- the servers quota
-
isQuotasAreUnlimited
public boolean isQuotasAreUnlimited()Indicates whether a company has unlimited quota for number of VMs, workstations and server.- Returns:
- are quotas unlimited
-