FileServersOperationsExtensions.GetAsync Method

Definition

Gets information about a File Server.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.BatchAI.Models.FileServer> GetAsync (this Microsoft.Azure.Management.BatchAI.IFileServersOperations operations, string resourceGroupName, string workspaceName, string fileServerName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.BatchAI.IFileServersOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.BatchAI.Models.FileServer>
<Extension()>
Public Function GetAsync (operations As IFileServersOperations, resourceGroupName As String, workspaceName As String, fileServerName As String, 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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to