QuotaRequestStatus Interface

public interface QuotaRequestStatus

Resource collection API of QuotaRequestStatus.

Method Summary

Modifier and Type Method and Description
abstract QuotaRequestDetails get(String id, String scope)

Get the quota request details and status by quota request ID for the resources of the resource provider at a specific location.

abstract Response<QuotaRequestDetails> getWithResponse(String id, String scope, Context context)

Get the quota request details and status by quota request ID for the resources of the resource provider at a specific location.

abstract PagedIterable<QuotaRequestDetails> list(String scope)

For the specified scope, get the current quota requests for a one year period ending at the time is made.

abstract PagedIterable<QuotaRequestDetails> list(String scope, String filter, Integer top, String skiptoken, Context context)

For the specified scope, get the current quota requests for a one year period ending at the time is made.

Method Details

get

public abstract QuotaRequestDetails get(String id, String scope)

Get the quota request details and status by quota request ID for the resources of the resource provider at a specific location. The quota request ID **id** is returned in the response of the PUT operation.

Parameters:

id - Quota request ID.
scope - The target Azure resource URI. For example, /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/. This is the target Azure resource URI for the List GET operation. If a {resourceName} is added after /quotas, then it's the target Azure resource URI in the GET operation for the specific resource.

Returns:

the quota request details and status by quota request ID for the resources of the resource provider at a specific location.

getWithResponse

public abstract Response<QuotaRequestDetails> getWithResponse(String id, String scope, Context context)

Get the quota request details and status by quota request ID for the resources of the resource provider at a specific location. The quota request ID **id** is returned in the response of the PUT operation.

Parameters:

id - Quota request ID.
scope - The target Azure resource URI. For example, /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/. This is the target Azure resource URI for the List GET operation. If a {resourceName} is added after /quotas, then it's the target Azure resource URI in the GET operation for the specific resource.
context - The context to associate with this operation.

Returns:

the quota request details and status by quota request ID for the resources of the resource provider at a specific location along with Response<T>.

list

public abstract PagedIterable<QuotaRequestDetails> list(String scope)

For the specified scope, get the current quota requests for a one year period ending at the time is made. Use the **oData** filter to select quota requests.

Parameters:

scope - The target Azure resource URI. For example, /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/. This is the target Azure resource URI for the List GET operation. If a {resourceName} is added after /quotas, then it's the target Azure resource URI in the GET operation for the specific resource.

Returns:

quota request information as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<QuotaRequestDetails> list(String scope, String filter, Integer top, String skiptoken, Context context)

For the specified scope, get the current quota requests for a one year period ending at the time is made. Use the **oData** filter to select quota requests.

Parameters:

scope - The target Azure resource URI. For example, /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/. This is the target Azure resource URI for the List GET operation. If a {resourceName} is added after /quotas, then it's the target Azure resource URI in the GET operation for the specific resource.
filter -
Field Supported operators
|requestSubmitTime | ge, le, eq, gt, lt |provisioningState eq {QuotaRequestState} |resourceName eq {resourceName}.
top - Number of records to return.
skiptoken - The Skiptoken parameter is used only if a previous operation returned a partial result. If a previous response contains a nextLink element, its value includes a skiptoken parameter that specifies a starting point to use for subsequent calls.
context - The context to associate with this operation.

Returns:

quota request information as paginated response with PagedIterable<T>.

Applies to