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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET