Partager via


ClustersOperationsExtensions.ListByWorkspaceAsync Méthode

Définition

Obtient des informations sur les clusters associés à l’espace de travail donné.

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

Paramètres

operations
IClustersOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources auquel appartient la ressource.

workspaceName
String

Nom de l’espace de travail. Les noms d’espace de travail ne peuvent contenir qu’une combinaison de caractères alphanumériques avec tiret (-) et trait de soulignement (_). Le nom doit comporter entre 1 et 64 caractères.

clustersListByWorkspaceOptions
ClustersListByWorkspaceOptions

Paramètres supplémentaires pour l’opération

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à