Share via


IVirtualMachineScaleSetsBeta.RunCommandInVMInstance Method

Definition

Run commands in a virtual machine instance in a scale set.

public Microsoft.Azure.Management.Compute.Fluent.Models.RunCommandResultInner RunCommandInVMInstance (string groupName, string scaleSetName, string vmId, Microsoft.Azure.Management.Compute.Fluent.Models.RunCommandInput inputCommand);
abstract member RunCommandInVMInstance : string * string * string * Microsoft.Azure.Management.Compute.Fluent.Models.RunCommandInput -> Microsoft.Azure.Management.Compute.Fluent.Models.RunCommandResultInner
Public Function RunCommandInVMInstance (groupName As String, scaleSetName As String, vmId As String, inputCommand As RunCommandInput) As RunCommandResultInner

Parameters

groupName
String

The resource group name.

scaleSetName
String

The virtual machine scale set name.

vmId
String

The virtual machine instance id.

inputCommand
RunCommandInput

Command input.

Returns

Applies to