UsagesOperationsExtensions.ListByInstancePoolAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Optional request parameter to include managed instance usages within the instance pool.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET