Share via


SecurityInsightsDataConnectorResource.DisconnectAsync Method

Definition

Disconnect a data connector.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors/{dataConnectorId}/disconnect
  • Operation Id: DataConnectors_Disconnect
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsDataConnectorResource
public virtual System.Threading.Tasks.Task<Azure.Response> DisconnectAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member DisconnectAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.DisconnectAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DisconnectAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to