Share via


DatabaseOperationsExtensions.ListUsagesAsync Method

Definition

Returns information about Azure SQL Database usages.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseMetricListResponse> ListUsagesAsync (this Microsoft.Azure.Management.Sql.LegacySdk.IDatabaseOperations operations, string resourceGroupName, string serverName, string databaseName);
static member ListUsagesAsync : Microsoft.Azure.Management.Sql.LegacySdk.IDatabaseOperations * string * string * string -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseMetricListResponse>
<Extension()>
Public Function ListUsagesAsync (operations As IDatabaseOperations, resourceGroupName As String, serverName As String, databaseName As String) As Task(Of DatabaseMetricListResponse)

Parameters

operations
IDatabaseOperations

Reference to the Microsoft.Azure.Management.Sql.LegacySdk.IDatabaseOperations.

resourceGroupName
String

Required. The name of the Resource Group to which the server belongs.

serverName
String

Required. The name of the Azure SQL Database Server in which the Azure SQL Databases are hosted.

databaseName
String

Required. The name of the Azure SQL Database.

Returns

Represents the response to a List Azure Sql Database metrics request.

Applies to