SubRequest Class
- java.
lang. Object - com.
azure. resourcemanager. quota. models. SubRequest
- com.
Implements
public final class SubRequest
implements JsonSerializable<SubRequest>
Request property.
Constructor Summary
| Constructor | Description |
|---|---|
| SubRequest() |
Creates an instance of Sub |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Sub |
fromJson(JsonReader jsonReader)
Reads an instance of Sub |
|
Limit |
limit()
Get the limit property: Resource quota limit properties. |
| String |
message()
Get the message property: User-friendly status message. |
|
Resource |
name()
Get the name property: Resource name. |
|
Quota |
provisioningState()
Get the provisioning |
| String |
resourceType()
Get the resource |
| String |
subRequestId()
Get the sub |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
unit()
Get the unit property: Quota limit units, such as Count and Bytes. |
| void |
validate()
Validates the instance. |
|
Sub |
withLimit(LimitJsonObject limit)
Set the limit property: Resource quota limit properties. |
|
Sub |
withName(ResourceName name)
Set the name property: Resource name. |
|
Sub |
withUnit(String unit)
Set the unit property: Quota limit units, such as Count and Bytes. |
Methods inherited from java.lang.Object
Constructor Details
SubRequest
public SubRequest()
Creates an instance of SubRequest class.
Method Details
fromJson
public static SubRequest fromJson(JsonReader jsonReader)
Reads an instance of SubRequest from the JsonReader.
Parameters:
Returns:
Throws:
limit
public LimitJsonObject limit()
Get the limit property: Resource quota limit properties.
Returns:
message
public String message()
Get the message property: User-friendly status message.
Returns:
name
public ResourceName name()
Get the name property: Resource name.
Returns:
provisioningState
public QuotaRequestState provisioningState()
Get the provisioningState property: The quota request status.
Returns:
resourceType
public String resourceType()
Get the resourceType property: Resource type for which the quota properties were requested.
Returns:
subRequestId
public String subRequestId()
Get the subRequestId property: Quota request ID.
Returns:
toJson
unit
public String unit()
Get the unit property: Quota limit 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.
Returns:
validate
public void validate()
Validates the instance.
withLimit
public SubRequest withLimit(LimitJsonObject limit)
Set the limit property: Resource quota limit properties.
Parameters:
Returns:
withName
public SubRequest withName(ResourceName name)
Set the name property: Resource name.
Parameters:
Returns:
withUnit
public SubRequest withUnit(String unit)
Set the unit property: Quota limit 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.
Parameters:
Returns: