> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# upsertFunctionConnectionString

> Insert/update ConnectionString properties It first connects to the intended Azure Tenant Subscription with provided credentials. Next, it updates the

Insert/update ConnectionString properties

It first connects to the intended Azure Tenant Subscription with provided credentials. Next, it updates the Connection String properties in Azure Function App. While doing so it performs environment and project-specific property replacement as well.  You need to create a Function App artifact as part of the build workflow containing the Connection String properties file.

This operation should return the status and response details of execution details from Azure.

# Target Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Function App Slot Name</td><td>`FDAZ_SLOT_NAME`</td><td>Yes</td><td>Slot for Function App deployment</td></tr><tr><td>Azure Cloud Account</td><td>`FDAZ_ACCOUNT_CODE`</td><td>Yes</td><td>Azure cloud account name</td></tr><tr><td>Absolute path of Azure CLI</td><td>`FDAZ_CLI_PATH`</td><td>No</td><td>e.g. /u01/azure/bin/az or c:\azure\cli\wbin\az</td></tr></tbody></table>

# Project Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Function App Name</td><td>`FDAZ_FUNCTION_APP_NAME`</td><td>Yes</td><td>Azure Function App name</td></tr><tr><td>Resource Group Name</td><td>`FDAZ_RESOURCE_GROUP`</td><td>Yes</td><td>Azure Resource Group name</td></tr><tr><td>Connection String File Name</td><td>`FDAZ_CONNECTION_STRING_FILE`</td><td>No</td><td>Name of Connection String file</td></tr></tbody></table>

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Input Name**</th><th>**Input Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Connection String Properties</td><td>`FDAZ_INP_CONNECTION_STRING_VALS`</td><td>No</td><td>Upsert any Connection String property(s)</td></tr></tbody></table>

# Outputs

<table><colgroup><col /><col /><col /></colgroup><tbody><tr><th>**Output Name**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>`FDAZ_OUT_CONN_STRING_STATUS`</td><td>Yes</td><td>Status of the deployment</td></tr><tr><td>`FDAZ_OUT_CONN_STRING_RESP`</td><td>Yes</td><td>Respone of the deployment</td></tr><tr><td>`FDAZ_OUT_CONN_STRING_ERR`</td><td>No</td><td>Error (in case any) from the deployment</td></tr></tbody></table>

# Artifacts

This operation consumes artifacts.  

# Endpoint Selection

This operation will select all available endpoints associated with the target.

# Endpoint Execution

This operation will execute on any of the selected endpoints and will randomly determine which one.
