/// <summary> /// Delete a file Server. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// Name of the resource group to which the resource belongs. /// </param> /// <param name='fileServerName'> /// The name of the file server within the specified resource group. File /// server names can only contain a combination of alphanumeric characters /// along with dash (-) and underscore (_). The name must be from 1 through 64 /// characters long. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task BeginDeleteAsync(this IFileServersOperations operations, string resourceGroupName, string fileServerName, CancellationToken cancellationToken = default(CancellationToken)) { (await operations.BeginDeleteWithHttpMessagesAsync(resourceGroupName, fileServerName, null, cancellationToken).ConfigureAwait(false)).Dispose(); }