ExpressRoutePortsOperationsExtensions.DeleteAsync Method

Definition

Deletes the specified ExpressRoutePort resource.

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

Parameters

operations
IExpressRoutePortsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

expressRoutePortName
String

The name of the ExpressRoutePort resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to