Share via


VirtualMachineRunCommandsOperationsExtensions.ListByVirtualMachine Method

Definition

The operation to get all run commands of a Virtual Machine.

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.VirtualMachineRunCommand> ListByVirtualMachine (this Microsoft.Azure.Management.Compute.IVirtualMachineRunCommandsOperations operations, string resourceGroupName, string vmName, string expand = default);
static member ListByVirtualMachine : Microsoft.Azure.Management.Compute.IVirtualMachineRunCommandsOperations * string * string * string -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.VirtualMachineRunCommand>
<Extension()>
Public Function ListByVirtualMachine (operations As IVirtualMachineRunCommandsOperations, resourceGroupName As String, vmName As String, Optional expand As String = Nothing) As IPage(Of VirtualMachineRunCommand)

Parameters

operations
IVirtualMachineRunCommandsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

vmName
String

The name of the virtual machine containing the run command.

expand
String

The expand expression to apply on the operation.

Returns

Applies to