Class UserArtifactManage

java.lang.Object
com.azure.resourcemanager.compute.models.UserArtifactManage

public final class UserArtifactManage extends Object
The UserArtifactManage model.
  • Constructor Details

    • UserArtifactManage

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

    • install

      public String install()
      Get the install property: Required. The path and arguments to install the gallery application. This is limited to 4096 characters.
      Returns:
      the install value.
    • withInstall

      public UserArtifactManage withInstall(String install)
      Set the install property: Required. The path and arguments to install the gallery application. This is limited to 4096 characters.
      Parameters:
      install - the install value to set.
      Returns:
      the UserArtifactManage object itself.
    • remove

      public String remove()
      Get the remove property: Required. The path and arguments to remove the gallery application. This is limited to 4096 characters.
      Returns:
      the remove value.
    • withRemove

      public UserArtifactManage withRemove(String remove)
      Set the remove property: Required. The path and arguments to remove the gallery application. This is limited to 4096 characters.
      Parameters:
      remove - the remove value to set.
      Returns:
      the UserArtifactManage object itself.
    • update

      public String update()
      Get the update property: Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters.
      Returns:
      the update value.
    • withUpdate

      public UserArtifactManage withUpdate(String update)
      Set the update property: Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters.
      Parameters:
      update - the update value to set.
      Returns:
      the UserArtifactManage object itself.
    • validate

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