Partager via


IVirtualMachinesBeta.RunShellScript Méthode

Définition

Exécuter un script shell dans une machine virtuelle.

public Microsoft.Azure.Management.Compute.Fluent.Models.RunCommandResultInner RunShellScript (string groupName, string name, System.Collections.Generic.IList<string> scriptLines, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.RunCommandInputParameter> scriptParameters);
abstract member RunShellScript : string * 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 RunShellScript (groupName As String, name As String, scriptLines As IList(Of String), scriptParameters As IList(Of RunCommandInputParameter)) As RunCommandResultInner

Paramètres

groupName
String

Nom du groupe de ressources.

name
String

Nom de la machine virtuelle.

scriptLines
IList<String>

Lignes de script shell.

scriptParameters
IList<RunCommandInputParameter>

Paramètres de script

Retours

S’applique à