Udostępnij za pośrednictwem


FileServersOperationsExtensions.ListByWorkspaceAsync Metoda

Definicja

Pobiera listę serwerów plików skojarzonych z określonym obszarem roboczym.

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))

Parametry

operations
IFileServersOperations

Grupa operacji dla tej metody rozszerzenia.

resourceGroupName
String

Nazwa grupy zasobów, do której należy zasób.

workspaceName
String

Nazwa obszaru roboczego. Nazwy obszarów roboczych mogą zawierać tylko kombinację znaków alfanumerycznych wraz z kreską (-) i podkreślenia (_). Nazwa musi mieć długość od 1 do 64 znaków.

fileServersListByWorkspaceOptions
FileServersListByWorkspaceOptions

Dodatkowe parametry operacji

cancellationToken
CancellationToken

Token anulowania.

Zwraca

Dotyczy