QuotaTicketDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.support.models.QuotaTicketDetails

Implements

public final class QuotaTicketDetails
implements JsonSerializable<QuotaTicketDetails>

Additional set of information required for quota increase support ticket for certain quota types, e.g.: Virtual machine cores. Get complete details about Quota payload support request along with examples at [Support quota request](https://aka.ms/supportrpquotarequestpayload).

Constructor Summary

Constructor Description
QuotaTicketDetails()

Creates an instance of QuotaTicketDetails class.

Method Summary

Modifier and Type Method and Description
static QuotaTicketDetails fromJson(JsonReader jsonReader)

Reads an instance of QuotaTicketDetails from the JsonReader.

List<QuotaChangeRequest> quotaChangeRequests()

Get the quotaChangeRequests property: This property is required for providing the region and new quota limits.

String quotaChangeRequestSubType()

Get the quotaChangeRequestSubType property: Required for certain quota types when there is a sub type, such as Batch, for which you are requesting a quota increase.

String quotaChangeRequestVersion()

Get the quotaChangeRequestVersion property: Quota change request version.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

QuotaTicketDetails withQuotaChangeRequests(List<QuotaChangeRequest> quotaChangeRequests)

Set the quotaChangeRequests property: This property is required for providing the region and new quota limits.

QuotaTicketDetails withQuotaChangeRequestSubType(String quotaChangeRequestSubType)

Set the quotaChangeRequestSubType property: Required for certain quota types when there is a sub type, such as Batch, for which you are requesting a quota increase.

QuotaTicketDetails withQuotaChangeRequestVersion(String quotaChangeRequestVersion)

Set the quotaChangeRequestVersion property: Quota change request version.

Methods inherited from java.lang.Object

Constructor Details

QuotaTicketDetails

public QuotaTicketDetails()

Creates an instance of QuotaTicketDetails class.

Method Details

fromJson

public static QuotaTicketDetails fromJson(JsonReader jsonReader)

Reads an instance of QuotaTicketDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of QuotaTicketDetails 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 QuotaTicketDetails.

quotaChangeRequests

public List<QuotaChangeRequest> quotaChangeRequests()

Get the quotaChangeRequests property: This property is required for providing the region and new quota limits.

Returns:

the quotaChangeRequests value.

quotaChangeRequestSubType

public String quotaChangeRequestSubType()

Get the quotaChangeRequestSubType property: Required for certain quota types when there is a sub type, such as Batch, for which you are requesting a quota increase.

Returns:

the quotaChangeRequestSubType value.

quotaChangeRequestVersion

public String quotaChangeRequestVersion()

Get the quotaChangeRequestVersion property: Quota change request version.

Returns:

the quotaChangeRequestVersion value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withQuotaChangeRequests

public QuotaTicketDetails withQuotaChangeRequests(List<QuotaChangeRequest> quotaChangeRequests)

Set the quotaChangeRequests property: This property is required for providing the region and new quota limits.

Parameters:

quotaChangeRequests - the quotaChangeRequests value to set.

Returns:

the QuotaTicketDetails object itself.

withQuotaChangeRequestSubType

public QuotaTicketDetails withQuotaChangeRequestSubType(String quotaChangeRequestSubType)

Set the quotaChangeRequestSubType property: Required for certain quota types when there is a sub type, such as Batch, for which you are requesting a quota increase.

Parameters:

quotaChangeRequestSubType - the quotaChangeRequestSubType value to set.

Returns:

the QuotaTicketDetails object itself.

withQuotaChangeRequestVersion

public QuotaTicketDetails withQuotaChangeRequestVersion(String quotaChangeRequestVersion)

Set the quotaChangeRequestVersion property: Quota change request version.

Parameters:

quotaChangeRequestVersion - the quotaChangeRequestVersion value to set.

Returns:

the QuotaTicketDetails object itself.

Applies to