/// <summary> /// Deletes the file server. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='deviceName'> /// The device name. /// </param> /// <param name='fileServerName'> /// The file server name. /// </param> /// <param name='resourceGroupName'> /// The resource group name /// </param> /// <param name='managerName'> /// The manager name /// </param> public static void BeginDelete(this IFileServersOperations operations, string deviceName, string fileServerName, string resourceGroupName, string managerName) { operations.BeginDeleteAsync(deviceName, fileServerName, resourceGroupName, managerName).GetAwaiter().GetResult(); }
/// <summary> /// Deletes 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='workspaceName'> /// The name of the workspace. Workspace 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='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> public static void BeginDelete(this IFileServersOperations operations, string resourceGroupName, string workspaceName, string fileServerName) { operations.BeginDeleteAsync(resourceGroupName, workspaceName, fileServerName).GetAwaiter().GetResult(); }