共用方式為


GatewaysOperationsExtensions.DeleteAsync Method

Definition

Delete a Log Analytics gateway.

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.OperationalInsights.IGatewaysOperations operations, string resourceGroupName, string workspaceName, string gatewayId, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.OperationalInsights.IGatewaysOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As IGatewaysOperations, resourceGroupName As String, workspaceName As String, gatewayId As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IGatewaysOperations

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.

gatewayId
String

The Log Analytics gateway Id.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to