QuotaCapability Class
- java.
lang. Object - com.
microsoft. azure. management. hdinsight. v2018_06_01_preview. QuotaCapability
- com.
public class QuotaCapability
The regional quota capability.
Constructor Summary
Constructor | Description | |
---|---|---|
QuotaCapability() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
coresUsed()
Get the number of cores used in the subscription. |
java.lang.Long |
maxCoresAllowed()
Get the number of cores that the subscription allowed. |
java.util.List<Regional |
regionalQuotas()
Get the list of region quota capabilities. |
Quota |
withCoresUsed(Long coresUsed)
Set the number of cores used in the subscription. |
Quota |
withMaxCoresAllowed(Long maxCoresAllowed)
Set the number of cores that the subscription allowed. |
Quota |
withRegionalQuotas(List<RegionalQuotaCapability> regionalQuotas)
Set the list of region quota capabilities. |
Methods inherited from java.lang.Object
Constructor Details
QuotaCapability
public QuotaCapability()
Method Details
coresUsed
public Long coresUsed()
Get the number of cores used in the subscription.
Returns:
maxCoresAllowed
public Long maxCoresAllowed()
Get the number of cores that the subscription allowed.
Returns:
regionalQuotas
public List
Get the list of region quota capabilities.
Returns:
withCoresUsed
public QuotaCapability withCoresUsed(Long coresUsed)
Set the number of cores used in the subscription.
Parameters:
Returns:
withMaxCoresAllowed
public QuotaCapability withMaxCoresAllowed(Long maxCoresAllowed)
Set the number of cores that the subscription allowed.
Parameters:
Returns:
withRegionalQuotas
public QuotaCapability withRegionalQuotas(List
Set the list of region quota capabilities.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for