Freigeben über


AgentPoolsOperationsExtensions.GetUpgradeProfileAsync Methode

Definition

Ruft das Upgradeprofil für einen Agentpool ab.

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

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 Upgradeprofils für einen Agentpool mit einer angegebenen Ressourcengruppe und dem namen des verwalteten Clusters ab.

Gilt für: