FunctionApp.DefinitionStages.WithStorageAccount Interface
public interface WithStorageAccount
A function app definition allowing storage account to be specified. A storage account is required for storing function execution runtime, triggers, and logs.
Method Summary
Modifier and Type | Method and Description |
---|---|
Function |
withExistingStorageAccount(StorageAccount storageAccount)
Specifies the storage account to use for the function app. |
Function |
withNewStorageAccount(String name, com.microsoft.azure.management.storage.SkuName sku)
Creates a new storage account to use for the function app. |
Method Details
withExistingStorageAccount
public WithCreate withExistingStorageAccount(StorageAccount storageAccount)
Specifies the storage account to use for the function app.
Parameters:
Returns:
withNewStorageAccount
public WithCreate withNewStorageAccount(String name, com.microsoft.azure.management.storage.SkuName sku)
Creates a new storage account to use for the function app.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for