Aracılığıyla paylaş


GroupQuotaLimitProperties Class

public final class GroupQuotaLimitProperties
extends GroupQuotaDetails

Group Quota properties for the specified resource.

Constructor Summary

Constructor Description
GroupQuotaLimitProperties()

Creates an instance of GroupQuotaLimitProperties class.

Method Summary

Modifier and Type Method and Description
AllocatedQuotaToSubscriptionList allocatedToSubscriptions()

Get the allocatedToSubscriptions property: Quota allocated to subscriptions.

Long availableLimit()

Get the availableLimit property: The available Group Quota Limit at the MG level.

static GroupQuotaLimitProperties fromJson(JsonReader jsonReader)

Reads an instance of GroupQuotaLimitProperties from the JsonReader.

String localizedValue()

Get the localizedValue property: Resource display name.

JsonWriter 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.

GroupQuotaLimitProperties withComment(String comment)

Set the comment property: Any comment related to quota request.

GroupQuotaLimitProperties withLimit(Long limit)

Set the limit property: The current Group Quota Limit at the parentId level.

GroupQuotaLimitProperties withResourceName(String resourceName)

Set the resourceName property: The resource name, such as SKU name.

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:

the allocatedToSubscriptions value.

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:

the availableLimit value.

fromJson

public static GroupQuotaLimitProperties fromJson(JsonReader jsonReader)

Reads an instance of GroupQuotaLimitProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of GroupQuotaLimitProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the GroupQuotaLimitProperties.

localizedValue

public String localizedValue()

Get the localizedValue property: Resource display name.

Overrides:

GroupQuotaLimitProperties.localizedValue()

Returns:

the localizedValue value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

GroupQuotaLimitProperties.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

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:

the unit value.

validate

public void validate()

Validates the instance.

Overrides:

GroupQuotaLimitProperties.validate()

value

public String value()

Get the value property: Resource name.

Overrides:

GroupQuotaLimitProperties.value()

Returns:

the value value.

withComment

public GroupQuotaLimitProperties withComment(String comment)

Set the comment property: Any comment related to quota request.

Overrides:

GroupQuotaLimitProperties.withComment(String comment)

Parameters:

comment

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:

limit

withResourceName

public GroupQuotaLimitProperties withResourceName(String resourceName)

Set the resourceName property: The resource name, such as SKU name.

Overrides:

GroupQuotaLimitProperties.withResourceName(String resourceName)

Parameters:

resourceName

Applies to