VirtualMachineScaleSetVMRunCommandsOperationsExtensions.List Method

Definition

The operation to get all run commands of an instance in Virtual Machine Scaleset.

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

Parameters

operations
IVirtualMachineScaleSetVMRunCommandsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

vmScaleSetName
String

The name of the VM scale set.

instanceId
String

The instance ID of the virtual machine.

expand
String

The expand expression to apply on the operation.

Returns

Applies to