你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AutoStorageBaseProperties 类
- java.
lang. Object - com.
microsoft. azure. management. batch. AutoStorageBaseProperties
- com.
public class AutoStorageBaseProperties
与自动存储帐户相关的属性。
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
Auto |
authenticationMode()
获取 Batch 服务将用于管理自动存储帐户的身份验证模式。 可能的值包括:“StorageKeys”、“BatchAccountManagedIdentity”。 |
Compute |
nodeIdentityReference()
获取此处引用的标识必须分配给具有需要访问自动存储的计算节点的池。 |
String |
storageAccountId()
获取要用于自动存储帐户的存储帐户的资源 ID。 |
Auto |
withAuthenticationMode(AutoStorageAuthenticationMode authenticationMode)
设置 Batch 服务将用于管理自动存储帐户的身份验证模式。 可能的值包括:“StorageKeys”、“BatchAccountManagedIdentity”。 |
Auto |
withNodeIdentityReference(ComputeNodeIdentityReference nodeIdentityReference)
设置此处引用的标识必须分配给具有需要访问自动存储的计算节点的池。 |
Auto |
withStorageAccountId(String storageAccountId)
设置要用于自动存储帐户的存储帐户的资源 ID。 |
方法详细信息
authenticationMode
public AutoStorageAuthenticationMode authenticationMode()
获取 Batch 服务将用于管理自动存储帐户的身份验证模式。 可能的值包括:“StorageKeys”、“BatchAccountManagedIdentity”。
Returns:
nodeIdentityReference
public ComputeNodeIdentityReference nodeIdentityReference()
获取此处引用的标识必须分配给具有需要访问自动存储的计算节点的池。
Returns:
storageAccountId
public String storageAccountId()
获取要用于自动存储帐户的存储帐户的资源 ID。
Returns:
withAuthenticationMode
public AutoStorageBaseProperties withAuthenticationMode(AutoStorageAuthenticationMode authenticationMode)
设置 Batch 服务将用于管理自动存储帐户的身份验证模式。 可能的值包括:“StorageKeys”、“BatchAccountManagedIdentity”。
Parameters:
Returns:
withNodeIdentityReference
public AutoStorageBaseProperties withNodeIdentityReference(ComputeNodeIdentityReference nodeIdentityReference)
设置此处引用的标识必须分配给具有需要访问自动存储的计算节点的池。
Parameters:
Returns:
withStorageAccountId
public AutoStorageBaseProperties withStorageAccountId(String storageAccountId)
设置要用于自动存储帐户的存储帐户的资源 ID。
Parameters:
Returns:
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈