Compartir a través de


SqlExtensions.GetCapabilitiesByLocationAsync Método

Definición

Obtiene las funcionalidades de suscripción disponibles para la ubicación especificada.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/capabilities
  • IdCapabilities_ListByLocation de operación
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

Instancia SubscriptionResource en la que se ejecutará el método.

locationName
AzureLocation

Nombre de ubicación cuyas funcionalidades se recuperan.

include
Nullable<SqlCapabilityGroup>

Si se especifica, restringe la respuesta para incluir solo el elemento seleccionado.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Se aplica a