共用方式為


UsagesOperationsExtensions.ListByInstancePoolAsync Method

Definition

Gets all instance pool usage metrics

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.Usage>> ListByInstancePoolAsync (this Microsoft.Azure.Management.Sql.IUsagesOperations operations, string resourceGroupName, string instancePoolName, bool? expandChildren = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByInstancePoolAsync : Microsoft.Azure.Management.Sql.IUsagesOperations * string * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.Usage>>
<Extension()>
Public Function ListByInstancePoolAsync (operations As IUsagesOperations, resourceGroupName As String, instancePoolName As String, Optional expandChildren As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Usage))

Parameters

operations
IUsagesOperations

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.

instancePoolName
String

The name of the instance pool to be retrieved.

expandChildren
Nullable<Boolean>

Optional request parameter to include managed instance usages within the instance pool.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to