Class MountConfiguration

java.lang.Object
com.azure.compute.batch.models.MountConfiguration
All Implemented Interfaces:
com.azure.json.JsonSerializable<MountConfiguration>

public final class MountConfiguration extends Object implements com.azure.json.JsonSerializable<MountConfiguration>
The file system to mount on each node.
  • Constructor Details

    • MountConfiguration

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

    • getAzureBlobFileSystemConfiguration

      public AzureBlobFileSystemConfiguration getAzureBlobFileSystemConfiguration()
      Get the azureBlobFileSystemConfiguration property: The Azure Storage Container to mount using blob FUSE on each node. This property is mutually exclusive with all other properties.
      Returns:
      the azureBlobFileSystemConfiguration value.
    • setAzureBlobFileSystemConfiguration

      public MountConfiguration setAzureBlobFileSystemConfiguration(AzureBlobFileSystemConfiguration azureBlobFileSystemConfiguration)
      Set the azureBlobFileSystemConfiguration property: The Azure Storage Container to mount using blob FUSE on each node. This property is mutually exclusive with all other properties.
      Parameters:
      azureBlobFileSystemConfiguration - the azureBlobFileSystemConfiguration value to set.
      Returns:
      the MountConfiguration object itself.
    • getNfsMountConfiguration

      public NfsMountConfiguration getNfsMountConfiguration()
      Get the nfsMountConfiguration property: The NFS file system to mount on each node. This property is mutually exclusive with all other properties.
      Returns:
      the nfsMountConfiguration value.
    • setNfsMountConfiguration

      public MountConfiguration setNfsMountConfiguration(NfsMountConfiguration nfsMountConfiguration)
      Set the nfsMountConfiguration property: The NFS file system to mount on each node. This property is mutually exclusive with all other properties.
      Parameters:
      nfsMountConfiguration - the nfsMountConfiguration value to set.
      Returns:
      the MountConfiguration object itself.
    • getCifsMountConfiguration

      public CifsMountConfiguration getCifsMountConfiguration()
      Get the cifsMountConfiguration property: The CIFS/SMB file system to mount on each node. This property is mutually exclusive with all other properties.
      Returns:
      the cifsMountConfiguration value.
    • setCifsMountConfiguration

      public MountConfiguration setCifsMountConfiguration(CifsMountConfiguration cifsMountConfiguration)
      Set the cifsMountConfiguration property: The CIFS/SMB file system to mount on each node. This property is mutually exclusive with all other properties.
      Parameters:
      cifsMountConfiguration - the cifsMountConfiguration value to set.
      Returns:
      the MountConfiguration object itself.
    • getAzureFileShareConfiguration

      public AzureFileShareConfiguration getAzureFileShareConfiguration()
      Get the azureFileShareConfiguration property: The Azure File Share to mount on each node. This property is mutually exclusive with all other properties.
      Returns:
      the azureFileShareConfiguration value.
    • setAzureFileShareConfiguration

      public MountConfiguration setAzureFileShareConfiguration(AzureFileShareConfiguration azureFileShareConfiguration)
      Set the azureFileShareConfiguration property: The Azure File Share to mount on each node. This property is mutually exclusive with all other properties.
      Parameters:
      azureFileShareConfiguration - the azureFileShareConfiguration value to set.
      Returns:
      the MountConfiguration object itself.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<MountConfiguration>
      Throws:
      IOException
    • fromJson

      public static MountConfiguration fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of MountConfiguration from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of MountConfiguration if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the MountConfiguration.