Share via


ConnectedMachine.AgentVersionGet Method

Definition

public System.Threading.Tasks.Task AgentVersionGet (string osType, string version, 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.AgentVersionGet : string * 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 AgentVersionGet (osType As String, version 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

osType
String
version
String
eventListener
IEventListener
sender
ISendAsync

Returns

Applies to