ServerUsagesOperationsExtensions.ListByServer(IServerUsagesOperations, String, String) Method

Definition

Returns server usages.

public static System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Sql.Models.ServerUsage> ListByServer (this Microsoft.Azure.Management.Sql.IServerUsagesOperations operations, string resourceGroupName, string serverName);
static member ListByServer : Microsoft.Azure.Management.Sql.IServerUsagesOperations * string * string -> seq<Microsoft.Azure.Management.Sql.Models.ServerUsage>
<Extension()>
Public Function ListByServer (operations As IServerUsagesOperations, resourceGroupName As String, serverName As String) As IEnumerable(Of ServerUsage)

Parameters

operations
IServerUsagesOperations

The operations group for this extension method.

resourceGroupName
System.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.

serverName
System.String

The name of the server.

Returns

System.Collections.Generic.IEnumerable<ServerUsage>

Applies to