Compartilhar via


CapabilitiesOperationsExtensions.ListByLocationAsync Método

Definição

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.LocationCapabilities> ListByLocationAsync (this Microsoft.Azure.Management.Sql.ICapabilitiesOperations operations, string locationName, string include = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByLocationAsync : Microsoft.Azure.Management.Sql.ICapabilitiesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.LocationCapabilities>
<Extension()>
Public Function ListByLocationAsync (operations As ICapabilitiesOperations, locationName As String, Optional include As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of LocationCapabilities)

Parâmetros

operations
ICapabilitiesOperations

O grupo de operações para esse método de extensão.

locationName
String

O nome do local cujos recursos são recuperados.

include
String

Se especificado, restringe a resposta para incluir apenas o item selecionado. Os valores possíveis incluem: 'supportedEditions', 'supportedElasticPoolEditions', 'supportedManagedInstanceVersions', 'supportedInstancePoolEditions', 'supportedManagedInstanceEditions'

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a