Freigeben über


VirtualMachineRunCommandsOperationsExtensions.ListAsync Methode

Definition

Listet alle verfügbaren Ausführungsbefehle für ein Abonnement an einem Speicherort auf.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Fluent.Models.RunCommandDocumentBase>> ListAsync (this Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineRunCommandsOperations operations, string location, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineRunCommandsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Fluent.Models.RunCommandDocumentBase>>
<Extension()>
Public Function ListAsync (operations As IVirtualMachineRunCommandsOperations, location As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of RunCommandDocumentBase))

Parameter

operations
IVirtualMachineRunCommandsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

location
String

Der Speicherort, an dem Befehle ausgeführt werden, wird abgefragt.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: