Esempio n. 1
0
 /// <summary>
 /// Deletes the volume resource.
 /// </summary>
 /// <remarks>
 /// Deletes the volume resource identified by the name.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Azure resource group name
 /// </param>
 /// <param name='volumeResourceName'>
 /// The identity of the volume.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task DeleteAsync(this IVolumeOperations operations, string resourceGroupName, string volumeResourceName, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, volumeResourceName, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }