Delen via


Migrate.HyperVMachinesListViaIdentity Method

Definition

Method to get machine.

public System.Threading.Tasks.Task HyperVMachinesListViaIdentity (string viaIdentity, string Filter, int? Top, string continuationToken, int? totalRecordCount, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.IHyperVMachineCollection>,System.Threading.Tasks.Task> onOk, Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.ISendAsync sender);
member this.HyperVMachinesListViaIdentity : string * string * Nullable<int> * string * Nullable<int> * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.IHyperVMachineCollection>, System.Threading.Tasks.Task> * Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.ISendAsync -> System.Threading.Tasks.Task
Public Function HyperVMachinesListViaIdentity (viaIdentity As String, Filter As String, Top As Nullable(Of Integer), continuationToken As String, totalRecordCount As Nullable(Of Integer), onOk As Func(Of HttpResponseMessage, Task(Of IHyperVMachineCollection), Task), eventListener As IEventListener, sender As ISendAsync) As Task

Parameters

viaIdentity
String
Filter
String
continuationToken
String

Optional parameter for continuation token.

totalRecordCount
Nullable<Int32>

Total count of machines in the given site.

onOk
Func<HttpResponseMessage,Task<IHyperVMachineCollection>,Task>

a delegate that is called when the remote service returns 200 (OK).

eventListener
IEventListener

an IEventListener instance that will receive events.

sender
ISendAsync

an instance of an Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.ISendAsync pipeline to use to make the request.

Returns

A Task that will be complete when handling of the response is completed.

Applies to