Partilhar via


ContainerInstanceExtensions.GetCapabilitiesWithLocationAsync Método

Definição

Obtenha a lista de recursos de CPU/memória/GPU de uma região.

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

Parâmetros

subscriptionResource
SubscriptionResource

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

location
AzureLocation

O identificador do local físico do Azure.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

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

Aplica-se a