BatchAccount.DefinitionStages.WithStorage Interface

public interface WithStorage

The stage of a Batch account definition allowing to associate storage accounts with the Batch account.

Method Summary

Modifier and Type Method and Description
DefinitionStages.WithCreate withExistingStorageAccount(StorageAccount storageAccount)

Specifies an existing storage account to associate with the Batch account.

DefinitionStages.WithCreate withNewStorageAccount(Creatable<StorageAccount> storageAccountCreatable)

Specifies a new storage account to associate with the Batch account.

DefinitionStages.WithCreate withNewStorageAccount(String storageAccountName)

Specifies the name of a new storage account to be created and associated with this Batch account.

Method Details

withExistingStorageAccount

public DefinitionStages.WithCreate withExistingStorageAccount(StorageAccount storageAccount)

Specifies an existing storage account to associate with the Batch account.

Parameters:

storageAccount - an existing storage account

Returns:

the next stage of the definition

withNewStorageAccount

public DefinitionStages.WithCreate withNewStorageAccount(Creatable storageAccountCreatable)

Specifies a new storage account to associate with the Batch account.

Parameters:

storageAccountCreatable - a storage account to be created along with and used in the Batch account

Returns:

the next stage of the definition

withNewStorageAccount

public DefinitionStages.WithCreate withNewStorageAccount(String storageAccountName)

Specifies the name of a new storage account to be created and associated with this Batch account.

Parameters:

storageAccountName - the name of a new storage account

Returns:

the next stage of the definition

Applies to