AgentPoolsOperationsExtensions.Create Method

Definition

Creates an agent pool for a container registry with the specified parameters.

public static Microsoft.Azure.Management.ContainerRegistry.Models.AgentPool Create (this Microsoft.Azure.Management.ContainerRegistry.IAgentPoolsOperations operations, string resourceGroupName, string registryName, string agentPoolName, Microsoft.Azure.Management.ContainerRegistry.Models.AgentPool agentPool);
static member Create : Microsoft.Azure.Management.ContainerRegistry.IAgentPoolsOperations * string * string * string * Microsoft.Azure.Management.ContainerRegistry.Models.AgentPool -> Microsoft.Azure.Management.ContainerRegistry.Models.AgentPool
<Extension()>
Public Function Create (operations As IAgentPoolsOperations, resourceGroupName As String, registryName As String, agentPoolName As String, agentPool As AgentPool) As AgentPool

Parameters

operations
IAgentPoolsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group to which the container registry belongs.

registryName
String

The name of the container registry.

agentPoolName
String

The name of the agent pool.

agentPool
AgentPool

The parameters of an agent pool that needs to scheduled.

Returns

Applies to