Compartir a través de


SqlExtensions.GetCapabilitiesByLocation 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 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

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