FileServersOperationsExtensions.DeleteAsync Method

Definition

Deletes a File Server.

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.BatchAI.IFileServersOperations operations, string resourceGroupName, string workspaceName, string fileServerName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.BatchAI.IFileServersOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As IFileServersOperations, resourceGroupName As String, workspaceName As String, fileServerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IFileServersOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

workspaceName
String

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.

fileServerName
String

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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to