Package com.azure.compute.batch.models
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MountConfiguration
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of MountConfiguration from the JsonReader.Get the azureBlobFileSystemConfiguration property: The Azure Storage Container to mount using blob FUSE on each node.Get the azureFileShareConfiguration property: The Azure File Share to mount on each node.Get the cifsMountConfiguration property: The CIFS/SMB file system to mount on each node.Get the nfsMountConfiguration property: The NFS file system to mount on each node.setAzureBlobFileSystemConfiguration
(AzureBlobFileSystemConfiguration azureBlobFileSystemConfiguration) Set the azureBlobFileSystemConfiguration property: The Azure Storage Container to mount using blob FUSE on each node.setAzureFileShareConfiguration
(AzureFileShareConfiguration azureFileShareConfiguration) Set the azureFileShareConfiguration property: The Azure File Share to mount on each node.setCifsMountConfiguration
(CifsMountConfiguration cifsMountConfiguration) Set the cifsMountConfiguration property: The CIFS/SMB file system to mount on each node.setNfsMountConfiguration
(NfsMountConfiguration nfsMountConfiguration) Set the nfsMountConfiguration property: The NFS file system to mount on each node.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
MountConfiguration
public MountConfiguration()Creates an instance of MountConfiguration class.
-
-
Method Details
-
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
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
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
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
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.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<MountConfiguration>
- Throws:
IOException
-
fromJson
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.
-