你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
QuotaRequestStatusOperationsExtensions.GetAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取特定位置的资源提供程序资源的配额请求详细信息和状态(按配额请求 ID)。 配额请求 ID ID 在 PUT 操作的响应中返回。
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Quota.Models.QuotaRequestDetails> GetAsync (this Microsoft.Azure.Management.Quota.IQuotaRequestStatusOperations operations, string id, string scope, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Quota.IQuotaRequestStatusOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Quota.Models.QuotaRequestDetails>
<Extension()>
Public Function GetAsync (operations As IQuotaRequestStatusOperations, id As String, scope As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of QuotaRequestDetails)
参数
- operations
- IQuotaRequestStatusOperations
此扩展方法的操作组。
- id
- String
配额请求 ID。
- 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。
- cancellationToken
- CancellationToken
取消标记。