Class GenerateArmTemplateRequest

java.lang.Object
com.azure.resourcemanager.devtestlabs.models.GenerateArmTemplateRequest

public final class GenerateArmTemplateRequest extends Object
Parameters for generating an ARM template for deploying artifacts.
  • Constructor Details

    • GenerateArmTemplateRequest

      public GenerateArmTemplateRequest()
      Creates an instance of GenerateArmTemplateRequest class.
  • Method Details

    • virtualMachineName

      public String virtualMachineName()
      Get the virtualMachineName property: The resource name of the virtual machine.
      Returns:
      the virtualMachineName value.
    • withVirtualMachineName

      public GenerateArmTemplateRequest withVirtualMachineName(String virtualMachineName)
      Set the virtualMachineName property: The resource name of the virtual machine.
      Parameters:
      virtualMachineName - the virtualMachineName value to set.
      Returns:
      the GenerateArmTemplateRequest object itself.
    • parameters

      public List<ParameterInfo> parameters()
      Get the parameters property: The parameters of the ARM template.
      Returns:
      the parameters value.
    • withParameters

      public GenerateArmTemplateRequest withParameters(List<ParameterInfo> parameters)
      Set the parameters property: The parameters of the ARM template.
      Parameters:
      parameters - the parameters value to set.
      Returns:
      the GenerateArmTemplateRequest object itself.
    • location

      public String location()
      Get the location property: The location of the virtual machine.
      Returns:
      the location value.
    • withLocation

      public GenerateArmTemplateRequest withLocation(String location)
      Set the location property: The location of the virtual machine.
      Parameters:
      location - the location value to set.
      Returns:
      the GenerateArmTemplateRequest object itself.
    • fileUploadOptions

      public FileUploadOptions fileUploadOptions()
      Get the fileUploadOptions property: Options for uploading the files for the artifact. UploadFilesAndGenerateSasTokens is the default value.
      Returns:
      the fileUploadOptions value.
    • withFileUploadOptions

      public GenerateArmTemplateRequest withFileUploadOptions(FileUploadOptions fileUploadOptions)
      Set the fileUploadOptions property: Options for uploading the files for the artifact. UploadFilesAndGenerateSasTokens is the default value.
      Parameters:
      fileUploadOptions - the fileUploadOptions value to set.
      Returns:
      the GenerateArmTemplateRequest object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.