Language

InterconnectBlocksOperationsExtensions.BeginDeleteAsync Method

Definition

Deletes an Interconnect Block. The operation is only allowed when there are no virtual machines or VMSS VM instances associated with the Interconnect Block.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.InterconnectBlocksDeleteHeaders> BeginDeleteAsync(this Microsoft.Azure.Management.Compute.IInterconnectBlocksOperations operations, string resourceGroupName, string interconnectBlockName, System.Threading.CancellationToken cancellationToken = default);
static member BeginDeleteAsync : Microsoft.Azure.Management.Compute.IInterconnectBlocksOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.InterconnectBlocksDeleteHeaders>
<Extension()>
Public Function BeginDeleteAsync (operations As IInterconnectBlocksOperations, resourceGroupName As String, interconnectBlockName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of InterconnectBlocksDeleteHeaders)

Parameters

operations
IInterconnectBlocksOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

interconnectBlockName
String

The name of the Interconnect Block.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to