Class RunCommandInput

java.lang.Object
com.microsoft.azure.management.compute.RunCommandInput

public class RunCommandInput extends Object
Capture Virtual Machine parameters.
  • Constructor Details

    • RunCommandInput

      public RunCommandInput()
  • Method Details

    • commandId

      public String commandId()
      Get the run command id.
      Returns:
      the commandId value
    • withCommandId

      public RunCommandInput withCommandId(String commandId)
      Set the run command id.
      Parameters:
      commandId - the commandId value to set
      Returns:
      the RunCommandInput object itself.
    • script

      public List<String> 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

      public RunCommandInput withScript(List<String> script)
      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

      public List<RunCommandInputParameter> parameters()
      Get the run command parameters.
      Returns:
      the parameters value
    • withParameters

      public RunCommandInput withParameters(List<RunCommandInputParameter> parameters)
      Set the run command parameters.
      Parameters:
      parameters - the parameters value to set
      Returns:
      the RunCommandInput object itself.