VirtualMachineRunCommandsOperationsExtensions.ListByVirtualMachine 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.
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.