Share via


ElasticPoolsOperationsExtensions.ListByServerAsync Method

Definition

Gets all elastic pools in a server.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.ElasticPool>> ListByServerAsync (this Microsoft.Azure.Management.Sql.IElasticPoolsOperations operations, string resourceGroupName, string serverName, long? skip = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByServerAsync : Microsoft.Azure.Management.Sql.IElasticPoolsOperations * string * string * Nullable<int64> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.ElasticPool>>
<Extension()>
Public Function ListByServerAsync (operations As IElasticPoolsOperations, resourceGroupName As String, serverName As String, Optional skip As Nullable(Of Long) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ElasticPool))

Parameters

operations
IElasticPoolsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName
String

The name of the server.

skip
Nullable<Int64>

The number of elements in the collection to skip.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to