InboundNatRulesOperations.StartDeleteAsync(String, String, String, CancellationToken) Method

Definition

Deletes the specified load balancer inbound nat rule.

public virtual System.Threading.Tasks.Task<Azure.ResourceManager.Network.InboundNatRulesDeleteOperation> StartDeleteAsync (string resourceGroupName, string loadBalancerName, string inboundNatRuleName, System.Threading.CancellationToken cancellationToken = default);
abstract member StartDeleteAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.Network.InboundNatRulesDeleteOperation>
override this.StartDeleteAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.Network.InboundNatRulesDeleteOperation>
Public Overridable Function StartDeleteAsync (resourceGroupName As String, loadBalancerName As String, inboundNatRuleName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of InboundNatRulesDeleteOperation)

Parameters

resourceGroupName
System.String

The name of the resource group.

loadBalancerName
System.String

The name of the load balancer.

inboundNatRuleName
System.String

The name of the inbound nat rule.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

System.Threading.Tasks.Task<InboundNatRulesDeleteOperation>

Exceptions

System.ArgumentNullException

resourceGroupName, loadBalancerName, or inboundNatRuleName is null.

Applies to