Package com.azure.quantum.jobs.models
Class Quota
java.lang.Object
com.azure.quantum.jobs.models.Quota
Quota information.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the dimension property: The name of the dimension associated with the quota.getHolds()
Get the holds property: The amount of the usage that has been reserved but not applied for the current period.getLimit()
Get the limit property: The maximum amount of usage allowed for the current period.Get the period property: The time period in which the quota's underlying meter is accumulated.Get the providerId property: The unique identifier for the provider.getScope()
Get the scope property: The scope at which the quota is applied.Get the utilization property: The amount of the usage that has been applied for the current period.setDimension
(String dimension) Set the dimension property: The name of the dimension associated with the quota.Set the holds property: The amount of the usage that has been reserved but not applied for the current period.Set the limit property: The maximum amount of usage allowed for the current period.setPeriod
(MeterPeriod period) Set the period property: The time period in which the quota's underlying meter is accumulated.setProviderId
(String providerId) Set the providerId property: The unique identifier for the provider.setScope
(DimensionScope scope) Set the scope property: The scope at which the quota is applied.setUtilization
(Float utilization) Set the utilization property: The amount of the usage that has been applied for the current period.
-
Constructor Details
-
Quota
public Quota()
-
-
Method Details
-
getDimension
Get the dimension property: The name of the dimension associated with the quota.- Returns:
- the dimension value.
-
setDimension
Set the dimension property: The name of the dimension associated with the quota.- Parameters:
dimension
- the dimension value to set.- Returns:
- the Quota object itself.
-
getScope
Get the scope property: The scope at which the quota is applied.- Returns:
- the scope value.
-
setScope
Set the scope property: The scope at which the quota is applied.- Parameters:
scope
- the scope value to set.- Returns:
- the Quota object itself.
-
getProviderId
Get the providerId property: The unique identifier for the provider.- Returns:
- the providerId value.
-
setProviderId
Set the providerId property: The unique identifier for the provider.- Parameters:
providerId
- the providerId value to set.- Returns:
- the Quota object itself.
-
getUtilization
Get the utilization property: The amount of the usage that has been applied for the current period.- Returns:
- the utilization value.
-
setUtilization
Set the utilization property: The amount of the usage that has been applied for the current period.- Parameters:
utilization
- the utilization value to set.- Returns:
- the Quota object itself.
-
getHolds
Get the holds property: The amount of the usage that has been reserved but not applied for the current period.- Returns:
- the holds value.
-
setHolds
Set the holds property: The amount of the usage that has been reserved but not applied for the current period.- Parameters:
holds
- the holds value to set.- Returns:
- the Quota object itself.
-
getLimit
Get the limit property: The maximum amount of usage allowed for the current period.- Returns:
- the limit value.
-
setLimit
Set the limit property: The maximum amount of usage allowed for the current period.- Parameters:
limit
- the limit value to set.- Returns:
- the Quota object itself.
-
getPeriod
Get the period property: The time period in which the quota's underlying meter is accumulated. Based on calendar year. 'None' is used for concurrent quotas.- Returns:
- the period value.
-
setPeriod
Set the period property: The time period in which the quota's underlying meter is accumulated. Based on calendar year. 'None' is used for concurrent quotas.- Parameters:
period
- the period value to set.- Returns:
- the Quota object itself.
-