Megosztás a következőn keresztül:


ContainerRegistryResource.GetUsagesAsync(CancellationToken) Method

Definition

Gets the quota usages for the specified container registry.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listUsages
  • Operation Id: Registries_ListUsages
  • Default Api Version: 2022-12-01
  • Resource: ContainerRegistryResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryUsage> GetUsagesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetUsagesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryUsage>
override this.GetUsagesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryUsage>
Public Overridable Function GetUsagesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ContainerRegistryUsage)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ContainerRegistryUsage that may take multiple service requests to iterate over.

Applies to