ServerOperationsExtensions.ListUsagesAsync Method

Definition

Returns information about Azure SQL Database Server usage.

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

Parameters

operations
IServerOperations

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

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.

Returns

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

Applies to