FileServersOperationsExtensions.BeginCreateAsync 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.
Creates a File Server in the given workspace.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.BatchAI.Models.FileServer> BeginCreateAsync (this Microsoft.Azure.Management.BatchAI.IFileServersOperations operations, string resourceGroupName, string workspaceName, string fileServerName, Microsoft.Azure.Management.BatchAI.Models.FileServerCreateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateAsync : Microsoft.Azure.Management.BatchAI.IFileServersOperations * string * string * string * Microsoft.Azure.Management.BatchAI.Models.FileServerCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.BatchAI.Models.FileServer>
<Extension()>
Public Function BeginCreateAsync (operations As IFileServersOperations, resourceGroupName As String, workspaceName As String, fileServerName As String, parameters As FileServerCreateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of FileServer)
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.
- parameters
- FileServerCreateParameters
The parameters to provide for File Server creation.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET