Partilhar via


ContainerInstanceExtensions.GetCapabilitiesWithLocation 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
  • Operação IdLocation_ListCapabilities
public static Azure.Pageable<Azure.ResourceManager.ContainerInstance.Models.ContainerCapabilities> GetCapabilitiesWithLocation (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
static member GetCapabilitiesWithLocation : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ContainerInstance.Models.ContainerCapabilities>
<Extension()>
Public Function GetCapabilitiesWithLocation (subscriptionResource As SubscriptionResource, location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ContainerCapabilities)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que o método será executado.

location
AzureLocation

O identificador para o local físico do azure.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

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

Aplica-se a