CapabilitiesOperationsExtensions.ListByLocationAsync Method

Definition

Gets the subscription capabilities available for the specified location.

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)

Parameters

operations
ICapabilitiesOperations

The operations group for this extension method.

locationName
String

The location name whose capabilities are retrieved.

include
String

If specified, restricts the response to only include the selected item. Possible values include: 'supportedEditions', 'supportedElasticPoolEditions', 'supportedManagedInstanceVersions', 'supportedInstancePoolEditions', 'supportedManagedInstanceEditions'

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to