你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
QuotaRequestStatusOperationsExtensions.ListAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
对于指定的范围,获取在发出时结束的一年内的当前配额请求。 使用 oData 筛选器选择配额请求。
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))
参数
- operations
- IQuotaRequestStatusOperations
此扩展方法的操作组。
- scope
- String
目标 Azure 资源 URI。 例如,/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/
。
这是列出 GET 操作的目标 Azure 资源 URI。 {resourceName}
如果在 后面/quotas
添加 ,则它是特定资源的 GET 操作中的目标 Azure 资源 URI。
- filter
- String
字段 | 支持的运算符 |
---|
|requestSubmitTime |ge、le、eq、gt、lt |provisioningState eq {QuotaRequestState} |resourceName eq {resourceName}
- skiptoken
- String
仅当上一个操作返回部分结果时, 才使用 Skiptoken 参数。 如果以前的响应包含 nextLink 元素,则其值包括 一个 skiptoken 参数,该参数指定用于后续调用的起点。
- cancellationToken
- CancellationToken
取消标记。