你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

OperationalInsightsWorkspaceResource.DeleteGatewayAsync 方法

定义

删除 Log Analytics 网关。

  • 请求路径/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/gateways/{gatewayId}
  • 操作IdGateways_Delete
public virtual System.Threading.Tasks.Task<Azure.Response> DeleteGatewayAsync (Guid gatewayId, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteGatewayAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.DeleteGatewayAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DeleteGatewayAsync (gatewayId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

参数

gatewayId
Guid

Log Analytics 网关 ID。

cancellationToken
CancellationToken

要使用的取消标记。

返回

适用于