Partilhar via


SqlExtensions.GetCapabilitiesByLocationAsync Método

Definição

Obtém os recursos de assinatura disponíveis para o local especificado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/capabilities
  • IdCapabilities_ListByLocation de operação
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.Models.SqlLocationCapabilities>> GetCapabilitiesByLocationAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation locationName, Azure.ResourceManager.Sql.Models.SqlCapabilityGroup? include = default, System.Threading.CancellationToken cancellationToken = default);
static member GetCapabilitiesByLocationAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.Sql.Models.SqlCapabilityGroup> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.Models.SqlLocationCapabilities>>
<Extension()>
Public Function GetCapabilitiesByLocationAsync (subscriptionResource As SubscriptionResource, locationName As AzureLocation, Optional include As Nullable(Of SqlCapabilityGroup) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SqlLocationCapabilities))

Parâmetros

subscriptionResource
SubscriptionResource

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

locationName
AzureLocation

O nome do local cujos recursos são recuperados.

include
Nullable<SqlCapabilityGroup>

Se especificado, restringe a resposta para incluir apenas o item selecionado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a