NetworkSecurityGroupsOperations.StartDelete(String, String, CancellationToken) Method

Definition

Deletes the specified network security group.

public virtual Azure.ResourceManager.Network.NetworkSecurityGroupsDeleteOperation StartDelete (string resourceGroupName, string networkSecurityGroupName, System.Threading.CancellationToken cancellationToken = default);
abstract member StartDelete : string * string * System.Threading.CancellationToken -> Azure.ResourceManager.Network.NetworkSecurityGroupsDeleteOperation
override this.StartDelete : string * string * System.Threading.CancellationToken -> Azure.ResourceManager.Network.NetworkSecurityGroupsDeleteOperation
Public Overridable Function StartDelete (resourceGroupName As String, networkSecurityGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As NetworkSecurityGroupsDeleteOperation

Parameters

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 to use.

Returns

NetworkSecurityGroupsDeleteOperation

Exceptions

System.ArgumentNullException

resourceGroupName or networkSecurityGroupName is null.

Applies to