Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Execute Slot swap in Function App Service

It first connects to the intended Azure Tenant Subscription with provided credentials. Next, it swaps the slot in Azure Function App based on configured value.

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

Target Properties 

Property Name

Property Code

Required

Description

Function App Slot Name

FDAZ_SLOT_NAME

Yes

Slot for Function App deployment

Target Slot to Swap for Function App

FDAZ_TARGET_SLOT_NAME

Yes

Slot to be swapped with for Function App

Preserve Slot VNet for Function App

FDAZ_PRESERVE_VNET

No

To preserve the Slot VNet for Function App

Slot Swap Action for Function App

FDAZ_SLOT_SWAP_ACTION

No

Slot Swap action type for Function App

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

Outputs

Output Name

Required

Description

FDAZ_OUT_SLOT_SWAP_STATUS

Yes

Slot Swap action Status

FDAZ_OUT_SLOT_SWAP_RESP

Yes

Slot Swap action Response Message

FDAZ_OUT_SLOT_SWAP_ERR

No

Slot Swap action Error Message

Artifacts

This operation doesn’t consume any artifacts.  

Endpoint Selection

This operation will select all available endpoints associated with 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.

  • No labels