Partilhar via


SignalRExtensions.GetUsagesAsync Método

Definição

Listar cotas de uso de recursos por local.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.SignalRService/locations/{location}/usages
  • IdUsages_List de operação
public static Azure.AsyncPageable<Azure.ResourceManager.SignalR.Models.SignalRUsage> GetUsagesAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
static member GetUsagesAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SignalR.Models.SignalRUsage>
<Extension()>
Public Function GetUsagesAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SignalRUsage)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

location
AzureLocation

o local como "eastus".

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de SignalRUsage que pode levar várias solicitações de serviço para iterar.

Aplica-se a