BatchAccount.UpdateStages.WithStorageAccount Interface

public interface WithStorageAccount

The stage of a Batch account update allowing to specify a storage account.

Method Summary

Modifier and Type Method and Description
BatchAccount.Update withExistingStorageAccount(StorageAccount storageAccount)

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

BatchAccount.Update withNewStorageAccount(Creatable<StorageAccount> storageAccountCreatable)

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

BatchAccount.Update withNewStorageAccount(String storageAccountName)

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

BatchAccount.Update withoutStorageAccount()

Removes the associated storage account.

Method Details

withExistingStorageAccount

public Update 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 update

withNewStorageAccount

public Update withNewStorageAccount(Creatable storageAccountCreatable)

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

Parameters:

storageAccountCreatable - the definition of the storage account

Returns:

the next stage of the update

withNewStorageAccount

public Update withNewStorageAccount(String storageAccountName)

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

Parameters:

storageAccountName - the name of a new storage account

Returns:

the next stage of the update

withoutStorageAccount

public Update withoutStorageAccount()

Removes the associated storage account.

Returns:

the next stage of the update

Applies to