Freigeben über


AgentPoolsOperationsExtensions.GetAsync Methode

Definition

Ruft den Agentpool ab.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerService.Fluent.Models.AgentPoolInner> GetAsync (this Microsoft.Azure.Management.ContainerService.Fluent.IAgentPoolsOperations operations, string resourceGroupName, string resourceName, string agentPoolName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.ContainerService.Fluent.IAgentPoolsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerService.Fluent.Models.AgentPoolInner>
<Extension()>
Public Function GetAsync (operations As IAgentPoolsOperations, resourceGroupName As String, resourceName As String, agentPoolName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AgentPoolInner)

Parameter

operations
IAgentPoolsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

resourceName
String

Der Name der verwalteten Clusterressource.

agentPoolName
String

Der Name des Agentpools.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Ruft die Details des Agentpools nach verwaltetem Cluster und einer Ressourcengruppe ab.

Gilt für: