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

BatchAccount.DefinitionStages.WithStorage 接口

public interface WithStorage

允许将存储帐户与 Batch 帐户关联的 Batch 帐户定义的阶段。

方法摘要

修饰符和类型 方法和描述
DefinitionStages.WithCreate withExistingStorageAccount(StorageAccount storageAccount)

指定要与 Batch 帐户关联的现有存储帐户。

DefinitionStages.WithCreate withNewStorageAccount(Creatable<StorageAccount> storageAccountCreatable)

指定要与 Batch 帐户关联的新存储帐户。

DefinitionStages.WithCreate withNewStorageAccount(String storageAccountName)

指定要创建并与此 Batch 帐户关联的新存储帐户的名称。

方法详细信息

withExistingStorageAccount

public DefinitionStages.WithCreate withExistingStorageAccount(StorageAccount storageAccount)

指定要与 Batch 帐户关联的现有存储帐户。

Parameters:

storageAccount - 现有存储帐户

Returns:

定义的下一阶段

withNewStorageAccount

public DefinitionStages.WithCreate withNewStorageAccount(Creatable storageAccountCreatable)

指定要与 Batch 帐户关联的新存储帐户。

Parameters:

storageAccountCreatable - 要与 Batch 帐户一起创建和使用的存储帐户

Returns:

定义的下一阶段

withNewStorageAccount

public DefinitionStages.WithCreate withNewStorageAccount(String storageAccountName)

指定要创建并与此 Batch 帐户关联的新存储帐户的名称。

Parameters:

storageAccountName - 新存储帐户的名称

Returns:

定义的下一阶段

适用于