BatchAccount.DefinitionStages.WithStorage Interface

public static interface BatchAccount.DefinitionStages.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
abstract WithCreate withExistingStorageAccount(StorageAccount storageAccount)

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

abstract WithCreate withNewStorageAccount(Creatable<StorageAccount> storageAccountCreatable)

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

abstract 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 abstract BatchAccount.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 abstract BatchAccount.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 abstract BatchAccount.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