你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AzureBlobFileSystemConfiguration 类

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

public class AzureBlobFileSystemConfiguration

用于使用 Blobfuse 连接到 Azure 存储容器的信息。

方法摘要

修饰符和类型 方法和描述
String accountKey()

获取此属性与 sasKey 和 identity 是互斥的;必须指定一个。

String accountName()

获取 accountName 值。

String blobfuseOptions()

获取这些选项是 Windows 中的“net use”选项和 Linux 中的“装载”选项。

String containerName()

获取 containerName 值。

ComputeNodeIdentityReference identityReference()

获取此属性与 accountKey 和 sasKey 互斥;必须指定一个。

String relativeMountPath()

获取相对于 Batch 装载目录装载的所有文件系统,可通过 AZ_BATCH_NODE_MOUNTS_DIR 环境变量进行访问。

String sasKey()

获取此属性与 accountKey 和 identity 是互斥的;必须指定一个。

AzureBlobFileSystemConfiguration withAccountKey(String accountKey)

将此属性设置为与 sasKey 和 identity 互斥;必须指定一个。

AzureBlobFileSystemConfiguration withAccountName(String accountName)

设置 accountName 值。

AzureBlobFileSystemConfiguration withBlobfuseOptions(String blobfuseOptions)

设置这些是 Windows 中的“net use”选项和 Linux 中的“装载”选项。

AzureBlobFileSystemConfiguration withContainerName(String containerName)

设置 containerName 值。

AzureBlobFileSystemConfiguration withIdentityReference(ComputeNodeIdentityReference identityReference)

设置此属性与 accountKey 和 sasKey 互斥;必须指定一个。

AzureBlobFileSystemConfiguration withRelativeMountPath(String relativeMountPath)

设置所有文件系统相对于 Batch 装载目录进行装载,可通过 AZ_BATCH_NODE_MOUNTS_DIR 环境变量访问。

AzureBlobFileSystemConfiguration withSasKey(String sasKey)

将此属性设置为与 accountKey 和 identity 互斥;必须指定一个。

方法详细信息

accountKey

public String accountKey()

获取此属性与 sasKey 和 identity 是互斥的;必须指定一个。

Returns:

accountKey 值

accountName

public String accountName()

获取 accountName 值。

Returns:

accountName 值

blobfuseOptions

public String blobfuseOptions()

获取这些选项是 Windows 中的“net use”选项和 Linux 中的“装载”选项。

Returns:

blobfuseOptions 值

containerName

public String containerName()

获取 containerName 值。

Returns:

containerName 值

identityReference

public ComputeNodeIdentityReference identityReference()

获取此属性与 accountKey 和 sasKey 互斥;必须指定一个。

Returns:

identityReference 值

relativeMountPath

public String relativeMountPath()

获取相对于 Batch 装载目录装载的所有文件系统,可通过 AZ_BATCH_NODE_MOUNTS_DIR 环境变量进行访问。

Returns:

relativeMountPath 值

sasKey

public String sasKey()

获取此属性与 accountKey 和 identity 是互斥的;必须指定一个。

Returns:

sasKey 值

withAccountKey

public AzureBlobFileSystemConfiguration withAccountKey(String accountKey)

将此属性设置为与 sasKey 和 identity 互斥;必须指定一个。

Parameters:

accountKey - 要设置的 accountKey 值

Returns:

AzureBlobFileSystemConfiguration 对象本身。

withAccountName

public AzureBlobFileSystemConfiguration withAccountName(String accountName)

设置 accountName 值。

Parameters:

accountName - 要设置的 accountName 值

Returns:

AzureBlobFileSystemConfiguration 对象本身。

withBlobfuseOptions

public AzureBlobFileSystemConfiguration withBlobfuseOptions(String blobfuseOptions)

设置这些是 Windows 中的“net use”选项和 Linux 中的“装载”选项。

Parameters:

blobfuseOptions - 要设置的 blobfuseOptions 值

Returns:

AzureBlobFileSystemConfiguration 对象本身。

withContainerName

public AzureBlobFileSystemConfiguration withContainerName(String containerName)

设置 containerName 值。

Parameters:

containerName - 要设置的 containerName 值

Returns:

AzureBlobFileSystemConfiguration 对象本身。

withIdentityReference

public AzureBlobFileSystemConfiguration withIdentityReference(ComputeNodeIdentityReference identityReference)

设置此属性与 accountKey 和 sasKey 互斥;必须指定一个。

Parameters:

identityReference - 要设置的 identityReference 值

Returns:

AzureBlobFileSystemConfiguration 对象本身。

withRelativeMountPath

public AzureBlobFileSystemConfiguration withRelativeMountPath(String relativeMountPath)

设置所有文件系统相对于 Batch 装载目录进行装载,可通过 AZ_BATCH_NODE_MOUNTS_DIR 环境变量访问。

Parameters:

relativeMountPath - 要设置的 relativeMountPath 值

Returns:

AzureBlobFileSystemConfiguration 对象本身。

withSasKey

public AzureBlobFileSystemConfiguration withSasKey(String sasKey)

将此属性设置为与 accountKey 和 identity 互斥;必须指定一个。

Parameters:

sasKey - 要设置的 sasKey 值

Returns:

AzureBlobFileSystemConfiguration 对象本身。

适用于