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

AutoStorageBaseProperties 类

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

public class AutoStorageBaseProperties

与自动存储帐户相关的属性。

方法摘要

修饰符和类型 方法和描述
AutoStorageAuthenticationMode authenticationMode()

获取 Batch 服务将用于管理自动存储帐户的身份验证模式。 可能的值包括:“StorageKeys”、“BatchAccountManagedIdentity”。

ComputeNodeIdentityReference nodeIdentityReference()

获取此处引用的标识必须分配给具有需要访问自动存储的计算节点的池。

String storageAccountId()

获取要用于自动存储帐户的存储帐户的资源 ID。

AutoStorageBaseProperties withAuthenticationMode(AutoStorageAuthenticationMode authenticationMode)

设置 Batch 服务将用于管理自动存储帐户的身份验证模式。 可能的值包括:“StorageKeys”、“BatchAccountManagedIdentity”。

AutoStorageBaseProperties withNodeIdentityReference(ComputeNodeIdentityReference nodeIdentityReference)

设置此处引用的标识必须分配给具有需要访问自动存储的计算节点的池。

AutoStorageBaseProperties withStorageAccountId(String storageAccountId)

设置要用于自动存储帐户的存储帐户的资源 ID。

方法详细信息

authenticationMode

public AutoStorageAuthenticationMode authenticationMode()

获取 Batch 服务将用于管理自动存储帐户的身份验证模式。 可能的值包括:“StorageKeys”、“BatchAccountManagedIdentity”。

Returns:

authenticationMode 值

nodeIdentityReference

public ComputeNodeIdentityReference nodeIdentityReference()

获取此处引用的标识必须分配给具有需要访问自动存储的计算节点的池。

Returns:

nodeIdentityReference 值

storageAccountId

public String storageAccountId()

获取要用于自动存储帐户的存储帐户的资源 ID。

Returns:

storageAccountId 值

withAuthenticationMode

public AutoStorageBaseProperties withAuthenticationMode(AutoStorageAuthenticationMode authenticationMode)

设置 Batch 服务将用于管理自动存储帐户的身份验证模式。 可能的值包括:“StorageKeys”、“BatchAccountManagedIdentity”。

Parameters:

authenticationMode - 要设置的 authenticationMode 值

Returns:

AutoStorageBaseProperties 对象本身。

withNodeIdentityReference

public AutoStorageBaseProperties withNodeIdentityReference(ComputeNodeIdentityReference nodeIdentityReference)

设置此处引用的标识必须分配给具有需要访问自动存储的计算节点的池。

Parameters:

nodeIdentityReference - 要设置的 nodeIdentityReference 值

Returns:

AutoStorageBaseProperties 对象本身。

withStorageAccountId

public AutoStorageBaseProperties withStorageAccountId(String storageAccountId)

设置要用于自动存储帐户的存储帐户的资源 ID。

Parameters:

storageAccountId - 要设置的 storageAccountId 值

Returns:

AutoStorageBaseProperties 对象本身。

适用于