Sdílet prostřednictvím


LinkedServicesOperationsExtensions.ListByWorkspaceAsync Method

Definition

Gets the linked services instances in a workspace.

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

Parameters

operations
ILinkedServicesOperations

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