BatchAccount.UpdateStages.WithStorageAccount Interface

public static interface BatchAccount.UpdateStages.WithStorageAccount

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

Method Summary

Modifier and Type Method and Description
abstract Update withExistingStorageAccount(StorageAccount storageAccount)

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

abstract Update withNewStorageAccount(Creatable<StorageAccount> storageAccountCreatable)

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

abstract Update withNewStorageAccount(String storageAccountName)

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

abstract Update withoutStorageAccount()

Removes the associated storage account.

Method Details

withExistingStorageAccount

public abstract BatchAccount.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 abstract BatchAccount.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 abstract BatchAccount.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 abstract BatchAccount.Update withoutStorageAccount()

Removes the associated storage account.

Returns:

the next stage of the update

Applies to