VirtualMachineScaleSet.runShellScriptInVMInstanceAsync(String vmId, List<String> scriptLines, List<RunCommandInputParameter> scriptParameters) Method

Definition

Run shell script in a virtual machine instance in a scale set asynchronously.

public abstract Mono<RunCommandResult> runShellScriptInVMInstanceAsync(String vmId, List<String> scriptLines, List<RunCommandInputParameter> scriptParameters)

Parameters

vmId
java.lang.String

the virtual machine instance id

scriptLines
java.util.List<java.lang.String>

shell script lines

scriptParameters
java.util.List<RunCommandInputParameter>

script parameters

Returns

reactor.core.publisher.Mono<RunCommandResult>

handle to the asynchronous execution

Applies to