Class DeployUtils


  • class DeployUtils
    extends Object
    • Constructor Detail

      • DeployUtils

        DeployUtils()
    • Method Detail

      • getCloudStorageAccount

        static com.microsoft.azure.storage.CloudStorageAccount getCloudStorageAccount​(com.azure.resourcemanager.appservice.models.WebAppBase functionApp)
        Get storage account specified within AzureWebJobsStorage for function app/slot
        Parameters:
        functionApp - target function/slot, using WebAppBase here which is the base class for function app/slot in sdk
        Returns:
        StorageAccount specified in AzureWebJobsStorage
      • updateFunctionAppSetting

        static void updateFunctionAppSetting​(com.azure.resourcemanager.appservice.models.WebAppBase deployTarget,
                                             String key,
                                             String value)