Sdílet prostřednictvím


WorkspaceManagedSqlServerUsagesOperationsExtensions.ListAsync Method

Definition

Get list of usages metric for the server.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Synapse.Models.ServerUsage>> ListAsync (this Microsoft.Azure.Management.Synapse.IWorkspaceManagedSqlServerUsagesOperations operations, string resourceGroupName, string workspaceName, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Synapse.IWorkspaceManagedSqlServerUsagesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Synapse.Models.ServerUsage>>
<Extension()>
Public Function ListAsync (operations As IWorkspaceManagedSqlServerUsagesOperations, resourceGroupName As String, workspaceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ServerUsage))

Parameters

operations
IWorkspaceManagedSqlServerUsagesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

workspaceName
String

The name of the workspace

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Get list of server usages metric for workspace managed sql server.

Applies to