Share via


AvailableServiceTiersOperationsExtensions.ListByWorkspaceAsync Method

Definition

Gets the available service tiers for the workspace.

public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.OperationalInsights.Models.AvailableServiceTier>> ListByWorkspaceAsync (this Microsoft.Azure.Management.OperationalInsights.IAvailableServiceTiersOperations operations, string resourceGroupName, string workspaceName, System.Threading.CancellationToken cancellationToken = default);
static member ListByWorkspaceAsync : Microsoft.Azure.Management.OperationalInsights.IAvailableServiceTiersOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.OperationalInsights.Models.AvailableServiceTier>>
<Extension()>
Public Function ListByWorkspaceAsync (operations As IAvailableServiceTiersOperations, resourceGroupName As String, workspaceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of AvailableServiceTier))

Parameters

operations
IAvailableServiceTiersOperations

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

Applies to