NetworkSecurityGroupsOperationsExtensions.DeleteAsync(INetworkSecurityGroupsOperations, String, String, CancellationToken) Method

Definition

Deletes the specified network security group.

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

Parameters

operations
INetworkSecurityGroupsOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group.

networkSecurityGroupName
System.String

The name of the network security group.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task

Applies to