Udostępnij przez


ContainerRegistry.AgentPoolsUpdateWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.IAgentPool> AgentPoolsUpdateWithResult(string subscriptionId, string resourceGroupName, string registryName, string agentPoolName, Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.IAgentPoolUpdateParameters 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.AgentPoolsUpdateWithResult : string * string * string * string * Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.IAgentPoolUpdateParameters * 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 AgentPoolsUpdateWithResult (subscriptionId As String, resourceGroupName As String, registryName As String, agentPoolName As String, body As IAgentPoolUpdateParameters, 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
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to