Partilhar via


StorageExtensions.GetUsagesByLocation Método

Definição

Obtém a contagem de uso atual e o limite para os recursos do local na assinatura.

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

Parâmetros

subscriptionResource
SubscriptionResource

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

location
AzureLocation

O local do recurso de Armazenamento do Azure.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção de StorageUsage que pode levar várias solicitações de serviço para iterar.

Aplica-se a