AgentPoolsOperationsExtensions.CreateOrUpdate Method

Definition

Overloads

Name Description
CreateOrUpdate(IAgentPoolsOperations, String, String, String, AgentPool, String, String)

Creates or updates an agent pool in the specified managed cluster.

CreateOrUpdate(IAgentPoolsOperations, String, String, String, AgentPool)

Creates or updates an agent pool in the specified managed cluster.

CreateOrUpdate(IAgentPoolsOperations, String, String, String, AgentPool, String, String)

Creates or updates an agent pool in the specified managed cluster.

public static Microsoft.Azure.Management.ContainerService.Models.AgentPool CreateOrUpdate(this Microsoft.Azure.Management.ContainerService.IAgentPoolsOperations operations, string resourceGroupName, string resourceName, string agentPoolName, Microsoft.Azure.Management.ContainerService.Models.AgentPool parameters, string ifMatch = default, string ifNoneMatch = default);
static member CreateOrUpdate : Microsoft.Azure.Management.ContainerService.IAgentPoolsOperations * string * string * string * Microsoft.Azure.Management.ContainerService.Models.AgentPool * string * string -> Microsoft.Azure.Management.ContainerService.Models.AgentPool
<Extension()>
Public Function CreateOrUpdate (operations As IAgentPoolsOperations, resourceGroupName As String, resourceName As String, agentPoolName As String, parameters As AgentPool, Optional ifMatch As String = Nothing, Optional ifNoneMatch As String = Nothing) As AgentPool

Parameters

operations
IAgentPoolsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

resourceName
String

The name of the managed cluster resource.

agentPoolName
String

The name of the agent pool.

parameters
AgentPool
ifMatch
String

The request should only proceed if an entity matches this string.

ifNoneMatch
String

The request should only proceed if no entity matches this string.

Returns

Applies to

CreateOrUpdate(IAgentPoolsOperations, String, String, String, AgentPool)

Creates or updates an agent pool in the specified managed cluster.

public static Microsoft.Azure.Management.ContainerService.Models.AgentPool CreateOrUpdate(this Microsoft.Azure.Management.ContainerService.IAgentPoolsOperations operations, string resourceGroupName, string resourceName, string agentPoolName, Microsoft.Azure.Management.ContainerService.Models.AgentPool parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.ContainerService.IAgentPoolsOperations * string * string * string * Microsoft.Azure.Management.ContainerService.Models.AgentPool -> Microsoft.Azure.Management.ContainerService.Models.AgentPool
<Extension()>
Public Function CreateOrUpdate (operations As IAgentPoolsOperations, resourceGroupName As String, resourceName As String, agentPoolName As String, parameters As AgentPool) As AgentPool

Parameters

operations
IAgentPoolsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

resourceName
String

The name of the managed cluster resource.

agentPoolName
String

The name of the agent pool.

parameters
AgentPool

Returns

Applies to