IDatabaseOperations.ListUsagesAsync Method

Definition

Returns information about Azure SQL Database usages.

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

Parameters

resourceGroupName
String

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

serverName
String

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

databaseName
String

The name of the Azure SQL Database.

cancellationToken
CancellationToken

Cancellation token.

Returns

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

Applies to