Share via


Quota.QuotaRequestStatusList Method

Definition

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.

public System.Threading.Tasks.Task QuotaRequestStatusList (string scope, string Filter, int? Top, string Skiptoken, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.IQuotaRequestDetailsList>,System.Threading.Tasks.Task> onOk, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.IExceptionResponse>,System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Quota.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Quota.Runtime.ISendAsync sender);
member this.QuotaRequestStatusList : string * string * Nullable<int> * string * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.IQuotaRequestDetailsList>, System.Threading.Tasks.Task> * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.IExceptionResponse>, System.Threading.Tasks.Task> * Microsoft.Azure.PowerShell.Cmdlets.Quota.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.Quota.Runtime.ISendAsync -> System.Threading.Tasks.Task
Public Function QuotaRequestStatusList (scope As String, Filter As String, Top As Nullable(Of Integer), Skiptoken As String, onOk As Func(Of HttpResponseMessage, Task(Of IQuotaRequestDetailsList), Task), onDefault As Func(Of HttpResponseMessage, Task(Of IExceptionResponse), Task), eventListener As IEventListener, sender As ISendAsync) As Task

Parameters

scope
String

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
String
Field Supported operators
         |requestSubmitTime | ge, le, eq, gt, lt
         |provisioningState eq {QuotaRequestState}
         |resourceName eq {resourceName}
Top
Nullable<Int32>

Number of records to return.

Skiptoken
String

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.

onOk
Func<HttpResponseMessage,Task<IQuotaRequestDetailsList>,Task>

a delegate that is called when the remote service returns 200 (OK).

onDefault
Func<HttpResponseMessage,Task<IExceptionResponse>,Task>

a delegate that is called when the remote service returns default (any response code not handled elsewhere).

eventListener
IEventListener

an IEventListener instance that will receive events.

sender
ISendAsync

an instance of an Microsoft.Azure.PowerShell.Cmdlets.Quota.Runtime.ISendAsync pipeline to use to make the request.

Returns

A Task that will be complete when handling of the response is completed.

Applies to