Share via


MountConfiguration Class

  • java.lang.Object
    • com.azure.compute.batch.models.MountConfiguration

Implements

public final class MountConfiguration
implements JsonSerializable<MountConfiguration>

The file system to mount on each node.

Constructor Summary

Constructor Description
MountConfiguration()

Creates an instance of MountConfiguration class.

Method Summary

Modifier and Type Method and Description
static MountConfiguration fromJson(JsonReader jsonReader)

Reads an instance of MountConfiguration from the JsonReader.

AzureBlobFileSystemConfiguration getAzureBlobFileSystemConfiguration()

Get the azureBlobFileSystemConfiguration property: The Azure Storage Container to mount using blob FUSE on each node.

AzureFileShareConfiguration getAzureFileShareConfiguration()

Get the azureFileShareConfiguration property: The Azure File Share to mount on each node.

CifsMountConfiguration getCifsMountConfiguration()

Get the cifsMountConfiguration property: The CIFS/SMB file system to mount on each node.

NfsMountConfiguration getNfsMountConfiguration()

Get the nfsMountConfiguration property: The NFS file system to mount on each node.

MountConfiguration setAzureBlobFileSystemConfiguration(AzureBlobFileSystemConfiguration azureBlobFileSystemConfiguration)

Set the azureBlobFileSystemConfiguration property: The Azure Storage Container to mount using blob FUSE on each node.

MountConfiguration setAzureFileShareConfiguration(AzureFileShareConfiguration azureFileShareConfiguration)

Set the azureFileShareConfiguration property: The Azure File Share to mount on each node.

MountConfiguration setCifsMountConfiguration(CifsMountConfiguration cifsMountConfiguration)

Set the cifsMountConfiguration property: The CIFS/SMB file system to mount on each node.

MountConfiguration setNfsMountConfiguration(NfsMountConfiguration nfsMountConfiguration)

Set the nfsMountConfiguration property: The NFS file system to mount on each node.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

MountConfiguration

public MountConfiguration()

Creates an instance of MountConfiguration class.

Method Details

fromJson

public static MountConfiguration fromJson(JsonReader jsonReader)

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.

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.

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.

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.

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.

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.

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.

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.

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to