Partilhar via


SqlExtensions.GetCapabilitiesByLocation 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
  • Operação IdCapabilities_ListByLocation
public static Azure.Response<Azure.ResourceManager.Sql.Models.SqlLocationCapabilities> GetCapabilitiesByLocation (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation locationName, Azure.ResourceManager.Sql.Models.SqlCapabilityGroup? include = default, System.Threading.CancellationToken cancellationToken = default);
static member GetCapabilitiesByLocation : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.Sql.Models.SqlCapabilityGroup> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.Models.SqlLocationCapabilities>
<Extension()>
Public Function GetCapabilitiesByLocation (subscriptionResource As SubscriptionResource, locationName As AzureLocation, Optional include As Nullable(Of SqlCapabilityGroup) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SqlLocationCapabilities)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que 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