Interface BatchAccount.DefinitionStages.WithStorage
-
- All Known Subinterfaces:
BatchAccount.Definition,BatchAccount.DefinitionStages.WithApplicationAndStorage,BatchAccount.DefinitionStages.WithCreateAndApplication
- Enclosing interface:
- BatchAccount.DefinitionStages
public static interface BatchAccount.DefinitionStages.WithStorageThe stage of a Batch account definition allowing to associate storage accounts with the Batch account.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchAccount.DefinitionStages.WithCreatewithExistingStorageAccount(com.microsoft.azure.management.storage.StorageAccount storageAccount)Specifies an existing storage account to associate with the Batch account.BatchAccount.DefinitionStages.WithCreatewithNewStorageAccount(com.microsoft.azure.management.resources.fluentcore.model.Creatable<com.microsoft.azure.management.storage.StorageAccount> storageAccountCreatable)Specifies a new storage account to associate with the Batch account.BatchAccount.DefinitionStages.WithCreatewithNewStorageAccount(String storageAccountName)Specifies the name of a new storage account to be created and associated with this Batch account.
-
-
-
Method Detail
-
withExistingStorageAccount
BatchAccount.DefinitionStages.WithCreate withExistingStorageAccount(com.microsoft.azure.management.storage.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
BatchAccount.DefinitionStages.WithCreate withNewStorageAccount(com.microsoft.azure.management.resources.fluentcore.model.Creatable<com.microsoft.azure.management.storage.StorageAccount> 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
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
-
-