다음을 통해 공유


NetworkSecurityGroupsOperationsExtensions.DeleteAsync 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
String

The name of the resource group.

networkSecurityGroupName
String

The name of the network security group.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to