共用方式為


VirtualMachineScaleSetVMRunCommandsOperationsExtensions.Get Method

Definition

The operation to get the VMSS VM run command.

public static Microsoft.Azure.Management.Compute.Models.VirtualMachineRunCommand Get (this Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetVMRunCommandsOperations operations, string resourceGroupName, string vmScaleSetName, string instanceId, string runCommandName, string expand = default);
static member Get : Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetVMRunCommandsOperations * string * string * string * string * string -> Microsoft.Azure.Management.Compute.Models.VirtualMachineRunCommand
<Extension()>
Public Function Get (operations As IVirtualMachineScaleSetVMRunCommandsOperations, resourceGroupName As String, vmScaleSetName As String, instanceId As String, runCommandName As String, Optional expand As String = Nothing) As 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.

runCommandName
String

The name of the virtual machine run command.

expand
String

The expand expression to apply on the operation.

Returns

Applies to