RegistryUsage Class
- java.
lang. Object - com.
microsoft. azure. management. containerregistry. RegistryUsage
- com.
public class RegistryUsage
The quota usage for a container registry.
Constructor Summary
Constructor | Description | |
---|---|---|
RegistryUsage() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
currentValue()
Get the current value of the usage. |
java.lang.Long |
limit()
Get the limit of the usage. |
java.lang.String |
name()
Get the name of the usage. |
Registry |
unit()
Get the unit of measurement. |
Registry |
withCurrentValue(Long currentValue)
Set the current value of the usage. |
Registry |
withLimit(Long limit)
Set the limit of the usage. |
Registry |
withName(String name)
Set the name of the usage. |
Registry |
withUnit(RegistryUsageUnit unit)
Set the unit of measurement. |
Methods inherited from java.lang.Object
Constructor Details
RegistryUsage
public RegistryUsage()
Method Details
currentValue
public Long currentValue()
Get the current value of the usage.
Returns:
limit
public Long limit()
Get the limit of the usage.
Returns:
name
public String name()
Get the name of the usage.
Returns:
unit
public RegistryUsageUnit unit()
Get the unit of measurement. Possible values include: 'Count', 'Bytes'.
Returns:
withCurrentValue
public RegistryUsage withCurrentValue(Long currentValue)
Set the current value of the usage.
Parameters:
Returns:
withLimit
public RegistryUsage withLimit(Long limit)
Set the limit of the usage.
Parameters:
Returns:
withName
public RegistryUsage withName(String name)
Set the name of the usage.
Parameters:
Returns:
withUnit
public RegistryUsage withUnit(RegistryUsageUnit unit)
Set the unit of measurement. Possible values include: 'Count', 'Bytes'.
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