GroupQuotaLimitProperties Class
- java.
lang. Object - com.
azure. resourcemanager. quota. models. GroupQuotaDetails - com.
azure. resourcemanager. quota. models. GroupQuotaLimitProperties
- com.
- com.
public final class GroupQuotaLimitProperties
extends GroupQuotaDetails
Group Quota properties for the specified resource.
Constructor Summary
| Constructor | Description |
|---|---|
| GroupQuotaLimitProperties() |
Creates an instance of Group |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Allocated |
allocatedToSubscriptions()
Get the allocated |
| Long |
availableLimit()
Get the available |
|
static
Group |
fromJson(JsonReader jsonReader)
Reads an instance of Group |
| String |
localizedValue()
Get the localized |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
unit()
Get the unit property: The usages units, such as Count and Bytes. |
| void |
validate()
Validates the instance. |
| String |
value()
Get the value property: Resource name. |
|
Group |
withComment(String comment)
Set the comment property: Any comment related to quota request. |
|
Group |
withLimit(Long limit)
Set the limit property: The current Group Quota Limit at the parent |
|
Group |
withResourceName(String resourceName)
Set the resource |
Methods inherited from GroupQuotaDetails
Methods inherited from java.lang.Object
Constructor Details
GroupQuotaLimitProperties
public GroupQuotaLimitProperties()
Creates an instance of GroupQuotaLimitProperties class.
Method Details
allocatedToSubscriptions
public AllocatedQuotaToSubscriptionList allocatedToSubscriptions()
Get the allocatedToSubscriptions property: Quota allocated to subscriptions.
Overrides:
GroupQuotaLimitProperties.allocatedToSubscriptions()Returns:
availableLimit
public Long availableLimit()
Get the availableLimit property: The available Group Quota Limit at the MG level. This Group quota can be allocated to subscription(s).
Overrides:
GroupQuotaLimitProperties.availableLimit()Returns:
fromJson
public static GroupQuotaLimitProperties fromJson(JsonReader jsonReader)
Reads an instance of GroupQuotaLimitProperties from the JsonReader.
Parameters:
Returns:
Throws:
localizedValue
public String localizedValue()
Get the localizedValue property: Resource display name.
Overrides:
GroupQuotaLimitProperties.localizedValue()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
GroupQuotaLimitProperties.toJson(JsonWriter jsonWriter)Parameters:
Throws:
unit
public String unit()
Get the unit property: The usages units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.
Overrides:
GroupQuotaLimitProperties.unit()Returns:
validate
public void validate()
Validates the instance.
Overrides:
GroupQuotaLimitProperties.validate()value
public String value()
Get the value property: Resource name.
Overrides:
GroupQuotaLimitProperties.value()Returns:
withComment
public GroupQuotaLimitProperties withComment(String comment)
Set the comment property: Any comment related to quota request.
Overrides:
GroupQuotaLimitProperties.withComment(String comment)Parameters:
withLimit
public GroupQuotaLimitProperties withLimit(Long limit)
Set the limit property: The current Group Quota Limit at the parentId level.
Overrides:
GroupQuotaLimitProperties.withLimit(Long limit)Parameters:
withResourceName
public GroupQuotaLimitProperties withResourceName(String resourceName)
Set the resourceName property: The resource name, such as SKU name.
Overrides:
GroupQuotaLimitProperties.withResourceName(String resourceName)Parameters: