AgentPoolsOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates or updates an agent pool.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerService.Fluent.Models.AgentPoolInner> CreateOrUpdateAsync (this Microsoft.Azure.Management.ContainerService.Fluent.IAgentPoolsOperations operations, string resourceGroupName, string resourceName, string agentPoolName, Microsoft.Azure.Management.ContainerService.Fluent.Models.AgentPoolInner parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.ContainerService.Fluent.IAgentPoolsOperations * string * string * string * Microsoft.Azure.Management.ContainerService.Fluent.Models.AgentPoolInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerService.Fluent.Models.AgentPoolInner>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IAgentPoolsOperations, resourceGroupName As String, resourceName As String, agentPoolName As String, parameters As AgentPoolInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AgentPoolInner)
Parameters
- operations
- IAgentPoolsOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group.
- resourceName
- String
The name of the managed cluster resource.
- agentPoolName
- String
The name of the agent pool.
- parameters
- AgentPoolInner
Parameters supplied to the Create or Update an agent pool operation.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Creates or updates an agent pool in the specified managed cluster.
Applies to
Azure SDK for .NET
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk