共用方式為


VirtualMachineRunCommandsOperationsExtensions.GetByVirtualMachine Method

Definition

The operation to get the run command.

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

runCommandName
String

The name of the virtual machine run command.

expand
String

The expand expression to apply on the operation.

Returns

Applies to