OperationalInsightsWorkspaceResource.DeleteGateway Method

Definition

Delete a Log Analytics gateway.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/gateways/{gatewayId}.
  • Operation Id. : Workspaces_GatewaysDelete.
  • Default Api Version. : 2025-07-01.
  • Resource. : OperationalInsightsWorkspaceResource.
public virtual Azure.Response DeleteGateway(Guid gatewayId, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteGateway : Guid * System.Threading.CancellationToken -> Azure.Response
override this.DeleteGateway : Guid * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function DeleteGateway (gatewayId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

gatewayId
Guid

The Log Analytics gateway Id.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to