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 = null);
static member DeleteAsync : Microsoft.Azure.Management.Network.INetworkSecurityGroupsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

operations
INetworkSecurityGroupsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

networkSecurityGroupName
String

The name of the network security group.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task

Applies to