Udostępnij za pośrednictwem


QuotaRequestStatusOperationsExtensions.ListAsync 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 static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Quota.Models.QuotaRequestDetails>> ListAsync (this Microsoft.Azure.Management.Quota.IQuotaRequestStatusOperations operations, string scope, string filter = default, int? top = default, string skiptoken = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Quota.IQuotaRequestStatusOperations * string * string * Nullable<int> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Quota.Models.QuotaRequestDetails>>
<Extension()>
Public Function ListAsync (operations As IQuotaRequestStatusOperations, scope As String, Optional filter As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional skiptoken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of QuotaRequestDetails))

Parameters

operations
IQuotaRequestStatusOperations

The operations group for this extension method.

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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to