AzureFileShareConfiguration Class

  • java.lang.Object
    • com.microsoft.azure.management.batch.AzureFileShareConfiguration

public class AzureFileShareConfiguration

Information used to connect to an Azure Fileshare.

Constructor Summary

Constructor Description
AzureFileShareConfiguration()

Method Summary

Modifier and Type Method and Description
java.lang.String accountKey()

Get the accountKey value.

java.lang.String accountName()

Get the accountName value.

java.lang.String azureFileUrl()

Get this is of the form 'https://{account}.file.core.windows.net/'.

java.lang.String mountOptions()

Get these are 'net use' options in Windows and 'mount' options in Linux.

java.lang.String relativeMountPath()

Get all file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.

AzureFileShareConfiguration withAccountKey(String accountKey)

Set the accountKey value.

AzureFileShareConfiguration withAccountName(String accountName)

Set the accountName value.

AzureFileShareConfiguration withAzureFileUrl(String azureFileUrl)

Set this is of the form 'https://{account}.file.core.windows.net/'.

AzureFileShareConfiguration withMountOptions(String mountOptions)

Set these are 'net use' options in Windows and 'mount' options in Linux.

AzureFileShareConfiguration withRelativeMountPath(String relativeMountPath)

Set all file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

AzureFileShareConfiguration

public AzureFileShareConfiguration()

Method Details

accountKey

public String accountKey()

Get the accountKey value.

Returns:

the accountKey value

accountName

public String accountName()

Get the accountName value.

Returns:

the accountName value

azureFileUrl

public String azureFileUrl()

Get this is of the form 'https://{account}.file.core.windows.net/'.

Returns:

the azureFileUrl value

mountOptions

public String mountOptions()

Get these are 'net use' options in Windows and 'mount' options in Linux.

Returns:

the mountOptions value

relativeMountPath

public String relativeMountPath()

Get all file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.

Returns:

the relativeMountPath value

withAccountKey

public AzureFileShareConfiguration withAccountKey(String accountKey)

Set the accountKey value.

Parameters:

accountKey - the accountKey value to set

Returns:

the AzureFileShareConfiguration object itself.

withAccountName

public AzureFileShareConfiguration withAccountName(String accountName)

Set the accountName value.

Parameters:

accountName - the accountName value to set

Returns:

the AzureFileShareConfiguration object itself.

withAzureFileUrl

public AzureFileShareConfiguration withAzureFileUrl(String azureFileUrl)

Set this is of the form 'https://{account}.file.core.windows.net/'.

Parameters:

azureFileUrl - the azureFileUrl value to set

Returns:

the AzureFileShareConfiguration object itself.

withMountOptions

public AzureFileShareConfiguration withMountOptions(String mountOptions)

Set these are 'net use' options in Windows and 'mount' options in Linux.

Parameters:

mountOptions - the mountOptions value to set

Returns:

the AzureFileShareConfiguration object itself.

withRelativeMountPath

public AzureFileShareConfiguration withRelativeMountPath(String relativeMountPath)

Set all file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.

Parameters:

relativeMountPath - the relativeMountPath value to set

Returns:

the AzureFileShareConfiguration object itself.

Applies to