Class DeployUtils
- java.lang.Object
-
- com.microsoft.azure.toolkit.lib.appservice.deploy.DeployUtils
-
class DeployUtils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private static StringINTERNAL_STORAGE_KEYprivate static StringINTERNAL_STORAGE_NOT_FOUNDstatic StringINVALID_STORAGE_CONNECTION_STRINGprivate static StringUNSUPPORTED_DEPLOYMENT_TARGET
-
Constructor Summary
Constructors Constructor Description DeployUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static com.microsoft.azure.storage.CloudStorageAccountgetCloudStorageAccount(com.azure.resourcemanager.appservice.models.WebAppBase functionApp)Get storage account specified within AzureWebJobsStorage for function app/slot(package private) static voidupdateFunctionAppSetting(com.azure.resourcemanager.appservice.models.WebAppBase deployTarget, String key, String value)
-
-
-
Field Detail
-
INTERNAL_STORAGE_NOT_FOUND
private static final String INTERNAL_STORAGE_NOT_FOUND
- See Also:
- Constant Field Values
-
INVALID_STORAGE_CONNECTION_STRING
public static final String INVALID_STORAGE_CONNECTION_STRING
- See Also:
- Constant Field Values
-
INTERNAL_STORAGE_KEY
private static final String INTERNAL_STORAGE_KEY
- See Also:
- Constant Field Values
-
UNSUPPORTED_DEPLOYMENT_TARGET
private static final String UNSUPPORTED_DEPLOYMENT_TARGET
- See Also:
- Constant Field Values
-
-
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
-
-