Freigeben über


FileServersOperationsExtensions.ListByWorkspaceAsync Methode

Definition

Ruft eine Liste der Dateiserver ab, die dem angegebenen Arbeitsbereich zugeordnet sind.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.BatchAI.Models.FileServer>> ListByWorkspaceAsync (this Microsoft.Azure.Management.BatchAI.IFileServersOperations operations, string resourceGroupName, string workspaceName, Microsoft.Azure.Management.BatchAI.Models.FileServersListByWorkspaceOptions fileServersListByWorkspaceOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByWorkspaceAsync : Microsoft.Azure.Management.BatchAI.IFileServersOperations * string * string * Microsoft.Azure.Management.BatchAI.Models.FileServersListByWorkspaceOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.BatchAI.Models.FileServer>>
<Extension()>
Public Function ListByWorkspaceAsync (operations As IFileServersOperations, resourceGroupName As String, workspaceName As String, Optional fileServersListByWorkspaceOptions As FileServersListByWorkspaceOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of FileServer))

Parameter

operations
IFileServersOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name der Ressourcengruppe, zu der die Ressource gehört.

workspaceName
String

Den Namen des Arbeitsbereichs Arbeitsbereichsnamen dürfen nur eine Kombination aus alphanumerischen Zeichen zusammen mit Bindestrichen (-) und Unterstrichen (_) enthalten. Der Name muss zwischen 1 und 64 Zeichen lang sein.

fileServersListByWorkspaceOptions
FileServersListByWorkspaceOptions

Zusätzliche Parameter für den Vorgang

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: