Class QuotaResourceInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.loadtestservice.fluent.models.QuotaResourceInner
public final class QuotaResourceInner
extends com.azure.core.management.ProxyResource
Quota bucket details object.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlimit()
Get the limit property: Current quota limit of the quota bucket.Get the provisioningState property: Resource provisioning state.com.azure.core.management.SystemData
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.usage()
Get the usage property: Current quota usage of the quota bucket.void
validate()
Validates the instance.Set the limit property: Current quota limit of the quota bucket.Set the usage property: Current quota usage of the quota bucket.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
QuotaResourceInner
public QuotaResourceInner()Creates an instance of QuotaResourceInner class.
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
limit
Get the limit property: Current quota limit of the quota bucket.- Returns:
- the limit value.
-
withLimit
Set the limit property: Current quota limit of the quota bucket.- Parameters:
limit
- the limit value to set.- Returns:
- the QuotaResourceInner object itself.
-
usage
Get the usage property: Current quota usage of the quota bucket.- Returns:
- the usage value.
-
withUsage
Set the usage property: Current quota usage of the quota bucket.- Parameters:
usage
- the usage value to set.- Returns:
- the QuotaResourceInner object itself.
-
provisioningState
Get the provisioningState property: Resource provisioning state.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-