VolumesOperationsExtensions.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.
Delete the specified volume
public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.NetApp.IVolumesOperations operations, string resourceGroupName, string accountName, string poolName, string volumeName, bool? forceDelete = default, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.NetApp.IVolumesOperations * string * string * string * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As IVolumesOperations, resourceGroupName As String, accountName As String, poolName As String, volumeName As String, Optional forceDelete As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- operations
- IVolumesOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group. The name is case insensitive.
- accountName
- String
The name of the NetApp account
- poolName
- String
The name of the capacity pool
- volumeName
- String
The name of the volume
An option to force delete the volume. Will cleanup resources connected to the particular volume
- cancellationToken
- CancellationToken
The cancellation token.