Share via


ConnectedMachine.AgentVersionGetViaIdentity Method

Definition

public System.Threading.Tasks.Task AgentVersionGetViaIdentity (string viaIdentity, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersion>,System.Threading.Tasks.Task> onOk, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGenerated>,System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender);
member this.AgentVersionGetViaIdentity : string * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersion>, System.Threading.Tasks.Task> * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGenerated>, System.Threading.Tasks.Task> * Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync -> System.Threading.Tasks.Task
Public Function AgentVersionGetViaIdentity (viaIdentity As String, onOk As Func(Of HttpResponseMessage, Task(Of IAgentVersion), Task), onDefault As Func(Of HttpResponseMessage, Task(Of IErrorResponseAutoGenerated), Task), eventListener As IEventListener, sender As ISendAsync) As Task

Parameters

viaIdentity
String
eventListener
IEventListener
sender
ISendAsync

Returns

Applies to