Udostępnij za pośrednictwem


IServerOperations.ListUsagesAsync(String, String, CancellationToken) Method

Definition

Returns information about Azure SQL Database Server usage.

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

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.

cancellationToken
CancellationToken

Cancellation token.

Returns

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

Applies to