deployFunctions
This operation first connects to the intended Azure Tenant Subscription with provided credentials. Next, it updates Application Setting/Connection String properties in Azure Function App(optional). While doing so it performs environment and project-specific property replacement as well. This operation can either deploy a code archive or a docker container. In case a code archive is provided the same is deployed to Azure Function App. In case docker image details are provided the same is updated in the Azure Function App configuration. Â You need to create a Function App artifact as part of the build workflow containing the Application Setting/Connection String properties file and code archive (whichever is applicable).
Show deployment log is an optional feature (only for code archive deployment), that allows the developer to retrieve execution logs in case someone wants to verify the deployment steps.
Remote Build is an optional feature to upload the code to the Azure Function App backend and build it there itself (e.g: .NET/Node.js).
This operation should return the status and response details of execution details from Azure.
Target PropertiesÂ
Property Name | Property Code | Required | Description |
Registry Account | FDDKR_REGISTRY_ACCOUNT_CODE | Yes | The Docker Registry account to use. |
Function App Slot Name | FDAZ_SLOT_NAME | Yes | Slot for Function App deployment |
Azure Cloud Account | FDAZ_ACCOUNT_CODE | Yes | Azure cloud account name |
Absolute path of Azure CLI | FDAZ_CLI_PATH | No | e.g. /u01/azure/bin/az or c:\\azure\cli\wbin\az |
Project Properties
Property Name | Property Code | Required | Description |
Function App Name | FDAZ_FUNCTION_APP_NAME | Yes | Azure Function App name |
Resource Group Name | FDAZ_RESOURCE_GROUP | Yes | Azure Resource Group name |
Execute Remote Build | FDAZ_REMOTE_BUILD | No | Select in case Remote Build is required |
Application Setting File Name | FDAZ_APP_SETTING_FILE | No | Name of Application Settings file |
Connection String File Name | FDAZ_CONNECTION_STRING_FILE | No | Name of Connection String file |
Show Deployment Log | FDAZ_SHOW_DEPLOYMENT_LOG | No | To get detailed deployment log(if available). |
Docker Image Name | FDDKR_IMAGE_NAME | No | The name of the docker image, including the repository if desired. i.e. foo/bar or bar. |
Docker Image Tag | FDDKR_IMAGE_TAG | No | The tag of the docker image. For example: 1.2.3. |
 Inputs
Input Name | Input Code | Required | Description |
Application Setting Properties | FDAZ_INP_APP_SETTING_VALS | No | Upsert any Application Setting property(s) |
Connection String Properties | FDAZ_INP_CONNECTION_STRING_VALS | No | Upsert any Connection String property(s) |
Outputs
Output Name | Required | Description |
FDAZ_OUT_DEPLOY_STATUS | Yes | Status of the deployment |
FDAZ_OUT_DEPLOY_RESP | Yes | Response of the deployment |
FDAZ_OUT_DEPLOY_ERR | No | Error (in case any) from the deployment |
FDAZ_OUT_DEPLOY_LOG | No | Detailed log (in case requested) of the deployment |
Artifacts
This operation consumes artifacts. Â
Endpoint Selection
This operation will select all available endpoints associated to the target.
Endpoint Execution
This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
Â
- style