MountConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.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
AzureBlobFileSystemConfiguration azureBlobFileSystemConfiguration()

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

AzureFileShareConfiguration azureFileShareConfiguration()

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

CifsMountConfiguration cifsMountConfiguration()

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

static MountConfiguration fromJson(JsonReader jsonReader)

Reads an instance of MountConfiguration from the JsonReader.

NfsMountConfiguration nfsMountConfiguration()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MountConfiguration withAzureBlobFileSystemConfiguration(AzureBlobFileSystemConfiguration azureBlobFileSystemConfiguration)

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

MountConfiguration withAzureFileShareConfiguration(AzureFileShareConfiguration azureFileShareConfiguration)

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

MountConfiguration withCifsMountConfiguration(CifsMountConfiguration cifsMountConfiguration)

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

MountConfiguration withNfsMountConfiguration(NfsMountConfiguration nfsMountConfiguration)

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

Methods inherited from java.lang.Object

Constructor Details

MountConfiguration

public MountConfiguration()

Creates an instance of MountConfiguration class.

Method Details

azureBlobFileSystemConfiguration

public AzureBlobFileSystemConfiguration azureBlobFileSystemConfiguration()

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.

azureFileShareConfiguration

public AzureFileShareConfiguration azureFileShareConfiguration()

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.

cifsMountConfiguration

public CifsMountConfiguration cifsMountConfiguration()

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.

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.

nfsMountConfiguration

public NfsMountConfiguration nfsMountConfiguration()

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAzureBlobFileSystemConfiguration

public MountConfiguration withAzureBlobFileSystemConfiguration(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.

withAzureFileShareConfiguration

public MountConfiguration withAzureFileShareConfiguration(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.

withCifsMountConfiguration

public MountConfiguration withCifsMountConfiguration(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.

withNfsMountConfiguration

public MountConfiguration withNfsMountConfiguration(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.

Applies to