你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AzureBlobFileSystemConfiguration 类
- java.
lang. Object - com.
microsoft. azure. management. batch. AzureBlobFileSystemConfiguration
- com.
public class AzureBlobFileSystemConfiguration
用于使用 Blobfuse 连接到 Azure 存储容器的信息。
方法摘要
方法详细信息
accountKey
public String accountKey()
获取此属性与 sasKey 和 identity 是互斥的;必须指定一个。
返回:
accountName
public String accountName()
获取 accountName 值。
返回:
blobfuseOptions
public String blobfuseOptions()
获取这些选项是 Windows 中的“net use”选项和 Linux 中的“装载”选项。
返回:
containerName
public String containerName()
获取 containerName 值。
返回:
identityReference
public ComputeNodeIdentityReference identityReference()
获取此属性与 accountKey 和 sasKey 互斥;必须指定一个。
返回:
relativeMountPath
public String relativeMountPath()
获取相对于 Batch 装载目录装载的所有文件系统,可通过 AZ_BATCH_NODE_MOUNTS_DIR 环境变量进行访问。
返回:
sasKey
public String sasKey()
获取此属性与 accountKey 和 identity 是互斥的;必须指定一个。
返回:
withAccountKey
public AzureBlobFileSystemConfiguration withAccountKey(String accountKey)
将此属性设置为与 sasKey 和 identity 互斥;必须指定一个。
参数:
返回:
withAccountName
public AzureBlobFileSystemConfiguration withAccountName(String accountName)
设置 accountName 值。
参数:
返回:
withBlobfuseOptions
public AzureBlobFileSystemConfiguration withBlobfuseOptions(String blobfuseOptions)
设置这些是 Windows 中的“net use”选项和 Linux 中的“装载”选项。
参数:
返回:
withContainerName
public AzureBlobFileSystemConfiguration withContainerName(String containerName)
设置 containerName 值。
参数:
返回:
withIdentityReference
public AzureBlobFileSystemConfiguration withIdentityReference(ComputeNodeIdentityReference identityReference)
设置此属性与 accountKey 和 sasKey 互斥;必须指定一个。
参数:
返回:
withRelativeMountPath
public AzureBlobFileSystemConfiguration withRelativeMountPath(String relativeMountPath)
设置所有文件系统相对于 Batch 装载目录进行装载,可通过 AZ_BATCH_NODE_MOUNTS_DIR 环境变量访问。
参数:
返回:
withSasKey
public AzureBlobFileSystemConfiguration withSasKey(String sasKey)
将此属性设置为与 accountKey 和 identity 互斥;必须指定一个。
参数:
返回: