共用方式為


DeletedWorkspacesOperationsExtensions.ListAsync Method

Definition

Gets recently deleted workspaces in a subscription, available for recovery.

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.OperationalInsights.Models.Workspace>> ListAsync (this Microsoft.Azure.Management.OperationalInsights.IDeletedWorkspacesOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.OperationalInsights.IDeletedWorkspacesOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.OperationalInsights.Models.Workspace>>
<Extension()>
Public Function ListAsync (operations As IDeletedWorkspacesOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of Workspace))

Parameters

operations
IDeletedWorkspacesOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to