InterconnectBlocksOperationsExtensions.DeleteAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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> DeleteAsync(this Microsoft.Azure.Management.Compute.IInterconnectBlocksOperations operations, string resourceGroupName, string interconnectBlockName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.Compute.IInterconnectBlocksOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.InterconnectBlocksDeleteHeaders>
<Extension()>
Public Function DeleteAsync (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.