java.lang.Object
com.microsoft.azure.management.containerinstance.Volume

public class Volume extends Object
The properties of the volume.
  • Constructor Details

    • Volume

      public Volume()
  • Method Details

    • name

      public String name()
      Get the name of the volume.
      Returns:
      the name value
    • withName

      public Volume withName(String name)
      Set the name of the volume.
      Parameters:
      name - the name value to set
      Returns:
      the Volume object itself.
    • azureFile

      public AzureFileVolume azureFile()
      Get the Azure File volume.
      Returns:
      the azureFile value
    • withAzureFile

      public Volume withAzureFile(AzureFileVolume azureFile)
      Set the Azure File volume.
      Parameters:
      azureFile - the azureFile value to set
      Returns:
      the Volume object itself.
    • emptyDir

      public Object emptyDir()
      Get the empty directory volume.
      Returns:
      the emptyDir value
    • withEmptyDir

      public Volume withEmptyDir(Object emptyDir)
      Set the empty directory volume.
      Parameters:
      emptyDir - the emptyDir value to set
      Returns:
      the Volume object itself.
    • secret

      public Map<String,String> secret()
      Get the secret volume.
      Returns:
      the secret value
    • withSecret

      public Volume withSecret(Map<String,String> secret)
      Set the secret volume.
      Parameters:
      secret - the secret value to set
      Returns:
      the Volume object itself.
    • gitRepo

      public GitRepoVolume gitRepo()
      Get the git repo volume.
      Returns:
      the gitRepo value
    • withGitRepo

      public Volume withGitRepo(GitRepoVolume gitRepo)
      Set the git repo volume.
      Parameters:
      gitRepo - the gitRepo value to set
      Returns:
      the Volume object itself.