AgentPoolsOperationsExtensions.GetUpgradeProfileAsync Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
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:
Azure SDK for .NET