Sdílet prostřednictvím


LinkedStorageAccountsOperationsExtensions.ListByWorkspaceAsync Method

Definition

Gets all linked storage accounts associated with the specified workspace, storage accounts will be sorted by their data source type.

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

Parameters

operations
ILinkedStorageAccountsOperations

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