Share via


LinkedServicesOperationsExtensions.DeleteAsync Method

Definition

Deletes a linked service instance.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.OperationalInsights.Models.LinkedService> DeleteAsync (this Microsoft.Azure.Management.OperationalInsights.ILinkedServicesOperations operations, string resourceGroupName, string workspaceName, string linkedServiceName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.OperationalInsights.ILinkedServicesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.OperationalInsights.Models.LinkedService>
<Extension()>
Public Function DeleteAsync (operations As ILinkedServicesOperations, resourceGroupName As String, workspaceName As String, linkedServiceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(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.

linkedServiceName
String

Name of the linked service.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to