次の方法で共有


IVirtualMachineScaleSetsBeta.RunShellScriptInVMInstance メソッド

定義

スケール セット内の仮想マシン インスタンスでシェル スクリプトを実行します。

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

パラメーター

groupName
String

リソース グループ名。

scaleSetName
String

仮想マシン スケール セット名。

vmId
String

仮想マシン インスタンス ID。

scriptLines
IList<String>

シェル スクリプト行。

scriptParameters
IList<RunCommandInputParameter>

スクリプトのパラメータ。

戻り値

適用対象