Freigeben über


ContainerRegistry.AgentPoolsCreateWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.IAgentPool> AgentPoolsCreateWithResult(string subscriptionId, string resourceGroupName, string registryName, string agentPoolName, Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.IAgentPool body, Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Runtime.SerializationMode.IncludeCreateOrUpdate);
member this.AgentPoolsCreateWithResult : string * string * string * string * Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.IAgentPool * Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Runtime.ISendAsync * Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Runtime.SerializationMode -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.IAgentPool>
Public Function AgentPoolsCreateWithResult (subscriptionId As String, resourceGroupName As String, registryName As String, agentPoolName As String, body As IAgentPool, eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task(Of IAgentPool)

Parameters

subscriptionId
String
resourceGroupName
String
registryName
String
agentPoolName
String
body
IAgentPool
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to