Compartir a través de


IVirtualMachineScaleSetBeta.RunShellScriptInVMInstance Método

Definición

Ejecute el script de shell en una instancia de máquina virtual en un conjunto de escalado.

public Microsoft.Azure.Management.Compute.Fluent.Models.RunCommandResultInner RunShellScriptInVMInstance (string vmId, System.Collections.Generic.IList<string> scriptLines, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.RunCommandInputParameter> scriptParameters);
abstract member RunShellScriptInVMInstance : string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.RunCommandInputParameter> -> Microsoft.Azure.Management.Compute.Fluent.Models.RunCommandResultInner
Public Function RunShellScriptInVMInstance (vmId As String, scriptLines As IList(Of String), scriptParameters As IList(Of RunCommandInputParameter)) As RunCommandResultInner

Parámetros

vmId
String

Identificador de la instancia de la máquina virtual.

scriptLines
IList<String>

Líneas de script de shell.

scriptParameters
IList<RunCommandInputParameter>

Parámetros de la secuencia de comandos.

Devoluciones

Se aplica a