WebPubSubExtensions.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.WebPubSub.Models.SignalRServiceUsage> 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.WebPubSub.Models.SignalRServiceUsage>
<Extension()>
Public Function GetUsagesAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SignalRServiceUsage)

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 SignalRServiceUsage que pode levar várias solicitações de serviço para iterar.

Aplica-se a