@@ -444,23 +444,23 @@ trigger:
444444
445445variables:
446446 # Azure service connection established during pipeline creation
447- azureSubscription: <Name of your Azure subscription >
448- appName: <Name of the function app >
447+ azureSubscription: <SUBSCRIPTION_NAME >
448+ appName: <APP_NAME >
449449 # Agent VM image name
450450 vmImageName: 'windows-latest'
451451
452452- task: AzureFunctionApp@2 # Add this at the end of your file
453453 inputs:
454- azureSubscription: <Azure service connection >
454+ azureSubscription: <AZURE_SERVICE_CONNECTION >
455455 appType: functionApp # this specifies a Windows-based function app
456456 appName: $(appName)
457457 package: $(System.ArtifactsDirectory)/**/*.zip
458458 deploymentMethod: 'auto' # 'auto' | 'zipDeploy' | 'runFromPackage'. Required. Deployment method. Default: auto.
459459 #Uncomment the next lines to deploy to a deployment slot
460460 #Note that deployment slots is not supported for Linux Dynamic SKU
461461 #deployToSlotOrASE: true
462- #resourceGroupName: '<Resource Group Name >'
463- #slotName: '<Slot name >'
462+ #resourceGroupName: '<RESOURCE_GROUP >'
463+ #slotName: '<SLOT_NAME >'
464464` ` `
465465
466466# ## [Linux App](#tab/linux)
@@ -470,14 +470,14 @@ trigger:
470470
471471variables:
472472 # Azure service connection established during pipeline creation
473- azureSubscription: <Name of your Azure subscription >
474- appName: <Name of the function app >
473+ azureSubscription: <SUBSCRIPTION_NAME >
474+ appName: <APP_NAME >
475475 # Agent VM image name
476476 vmImageName: 'ubuntu-latest'
477477
478478- task: AzureFunctionApp@2 # Add this at the end of your file
479479 inputs:
480- azureSubscription: <Azure service connection >
480+ azureSubscription: <AZURE_SERVICE_CONNECTION >
481481 appType: functionAppLinux # This specifies a Linux-based function app
482482 #isFlexConsumption: true # Uncomment this line if you are deploying to a Flex Consumption app
483483 appName: $(appName)
@@ -486,8 +486,8 @@ variables:
486486 #Uncomment the next lines to deploy to a deployment slot
487487 #Note that deployment slots is not supported for Linux Dynamic SKU
488488 #deployToSlotOrASE: true
489- #resourceGroupName: '<Resource Group Name >'
490- #slotName: '<Slot name >'
489+ #resourceGroupName: '<RESOURCE_GROUP >'
490+ #slotName: '<SLOT_NAME >'
491491` ` `
492492
493493The snippet assumes that the build steps in your YAML file produce the zip archive in the `$(System.ArtifactsDirectory)` folder on your agent.
@@ -496,10 +496,10 @@ If you opted to deploy to a [deployment slot](functions-deployment-slots.md), yo
496496` ` ` yaml
497497- task: AzureAppServiceManage@0
498498 inputs:
499- azureSubscription: <Azure service connection >
500- WebAppName: <name of the Function app >
501- ResourceGroupName: <name of resource group >
502- SourceSlot: <slot name >
499+ azureSubscription: <AZURE_SERVICE_CONNECTION >
500+ WebAppName: <APP_NAME >
501+ ResourceGroupName: <RESOURCE_GROUP >
502+ SourceSlot: <SLOT_NAME >
503503 SwapWithProduction: true
504504` ` `
505505
@@ -519,9 +519,9 @@ trigger:
519519
520520variables:
521521 # Container registry service connection established during pipeline creation
522- dockerRegistryServiceConnection: <Docker registry service connection >
523- imageRepository: <Name of your image repository >
524- containerRegistry: <Name of the Azure container registry >
522+ dockerRegistryServiceConnection: <DOCKER_REGISTRY_SERVICE_CONNECTION >
523+ imageRepository: <IMAGE_REPOSITORY_NAME >
524+ containerRegistry: <AZURE_CONTAINER_REGISTRY_NAME >
525525 dockerfilePath: '$(Build.SourcesDirectory)/Dockerfile'
526526 tag: '$(Build.BuildId)'
527527
@@ -530,8 +530,8 @@ variables:
530530
531531- task: AzureFunctionAppContainer@1 # Add this at the end of your file
532532 inputs:
533- azureSubscription: '<Azure service connection >'
534- appName: '<Name of the function app >'
533+ azureSubscription: '<AZURE_SERVICE_CONNECTION >'
534+ appName: '<APP_NAME >'
535535 imageName: $(containerRegistry)/$(imageRepository):$(tag)
536536` ` `
537537
0 commit comments