Class RunCommandInput
java.lang.Object
com.microsoft.azure.management.compute.RunCommandInput
Capture Virtual Machine parameters.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the run command id.Get the run command parameters.script()
Get optional.withCommandId
(String commandId) Set the run command id.withParameters
(List<RunCommandInputParameter> parameters) Set the run command parameters.withScript
(List<String> script) Set optional.
-
Constructor Details
-
RunCommandInput
public RunCommandInput()
-
-
Method Details
-
commandId
Get the run command id.- Returns:
- the commandId value
-
withCommandId
Set the run command id.- Parameters:
commandId
- the commandId value to set- Returns:
- the RunCommandInput object itself.
-
script
Get optional. The script to be executed. When this value is given, the given script will override the default script of the command.- Returns:
- the script value
-
withScript
Set optional. The script to be executed. When this value is given, the given script will override the default script of the command.- Parameters:
script
- the script value to set- Returns:
- the RunCommandInput object itself.
-
parameters
Get the run command parameters.- Returns:
- the parameters value
-
withParameters
Set the run command parameters.- Parameters:
parameters
- the parameters value to set- Returns:
- the RunCommandInput object itself.
-