ConnectedMachine.AgentVersionGet Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- onOk
- Func<HttpResponseMessage,Task<IAgentVersion>,Task>
- onDefault
- Func<HttpResponseMessage,Task<IErrorResponseAutoGenerated>,Task>
- eventListener
- IEventListener
- sender
- ISendAsync