Skip to content

Commit 459b676

Browse files
authored
pull base content,head:MicrosoftDocs:main,into:wwlpublishsync
2 parents 09412c2 + 498e911 commit 459b676

File tree

105 files changed

+798
-1566
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+798
-1566
lines changed

.openpublishing.redirection.json

Lines changed: 228 additions & 123 deletions
Large diffs are not rendered by default.
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.execute-azure-function-with-triggers.1-introduction
3-
title: Introduction
4-
metadata:
5-
title: Introduction
6-
description: Introduction
7-
ms.date: 09/25/2023
8-
author: ggailey777
9-
ms.author: glenga
10-
ms.topic: unit
11-
durationInMinutes: 2
12-
content: |
13-
[!include[](includes/1-introduction.md)]
14-
1+
### YamlMime:ModuleUnit
2+
uid: learn.execute-azure-function-with-triggers.1-introduction
3+
title: Introduction
4+
metadata:
5+
title: Introduction
6+
description: Introduction
7+
ms.date: 05/19/2025
8+
author: ggailey777
9+
ms.author: glenga
10+
ms.topic: unit
11+
durationInMinutes: 2
12+
content: |
13+
[!include[](includes/1-introduction.md)]
14+
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.execute-azure-function-with-triggers.2-determine-best-trigger
3-
title: Determine the best trigger for your Azure function
4-
metadata:
5-
title: Determine the best trigger for your Azure function
6-
description: Determine the best trigger for your Azure function
7-
ms.date: 09/25/2023
8-
author: ggailey777
9-
ms.author: glenga
10-
ms.topic: unit
11-
durationInMinutes: 4
12-
content: |
13-
[!include[](includes/2-determine-best-trigger.md)]
14-
1+
### YamlMime:ModuleUnit
2+
uid: learn.execute-azure-function-with-triggers.2-determine-best-trigger
3+
title: Determine the best trigger for your Azure function
4+
metadata:
5+
title: Determine the best trigger for your Azure function
6+
description: Determine the best trigger for your Azure function
7+
ms.date: 05/19/2025
8+
author: ggailey777
9+
ms.author: glenga
10+
ms.topic: unit
11+
durationInMinutes: 4
12+
content: |
13+
[!include[](includes/2-determine-best-trigger.md)]
14+
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.execute-azure-function-with-triggers.3-timer-trigger
3-
title: Run an Azure Function on a schedule
4-
metadata:
5-
title: Run an Azure Function on a schedule
6-
description: Run function on a schedule
7-
ms.date: 09/25/2023
8-
author: ggailey777
9-
ms.author: glenga
10-
ms.topic: unit
11-
durationInMinutes: 10
12-
content: |
13-
[!include[](includes/3-timer-trigger.md)]
14-
1+
### YamlMime:ModuleUnit
2+
uid: learn.execute-azure-function-with-triggers.3-timer-trigger
3+
title: Run an Azure Function on a schedule
4+
metadata:
5+
title: Run an Azure Function on a schedule
6+
description: Run function on a schedule
7+
ms.date: 05/19/2025
8+
author: ggailey777
9+
ms.author: glenga
10+
ms.topic: unit
11+
durationInMinutes: 10
12+
content: |
13+
[!include[](includes/3-timer-trigger.md)]
14+
Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.execute-azure-function-with-triggers.4-create-timer-trigger
3-
title: Exercise - Create a timer trigger
4-
metadata:
5-
title: Exercise - Create a timer trigger
6-
description: Create a timer trigger
7-
ms.date: 04/09/2024
8-
author: ggailey777
9-
ms.author: glenga
10-
ms.topic: unit
11-
azureSandbox: true
12-
durationInMinutes: 15
13-
content: |
14-
[!include[](includes/4-create-timer-trigger.md)]
15-
# NOTE: Task validation is failing for learners, so that is disabled for now.
16-
# tasks:
17-
# - action: exists
18-
# environment: azure
19-
# azure:
20-
# resource:
21-
# type: "Microsoft.Web/sites"
22-
# kind: functionapp
23-
# hint: "Use the portal to create your function app and timer-triggered function using the instructions above."
24-
1+
### YamlMime:ModuleUnit
2+
uid: learn.execute-azure-function-with-triggers.4-create-timer-trigger
3+
title: Exercise - Create a timer trigger
4+
metadata:
5+
title: Exercise - Create a timer trigger
6+
description: Create a timer trigger
7+
ms.date: 05/19/2025
8+
author: ggailey777
9+
ms.author: glenga
10+
ms.topic: unit
11+
azureSandbox: true
12+
durationInMinutes: 15
13+
content: |
14+
[!include[](includes/4-create-timer-trigger.md)]
15+
# NOTE: Task validation is failing for learners, so that is disabled for now.
16+
# tasks:
17+
# - action: exists
18+
# environment: azure
19+
# azure:
20+
# resource:
21+
# type: "Microsoft.Web/sites"
22+
# kind: functionapp
23+
# hint: "Use the portal to create your function app and timer-triggered function using the instructions above."
24+
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.execute-azure-function-with-triggers.5-http-trigger
3-
title: Execute an Azure function with an HTTP request
4-
metadata:
5-
title: Execute an Azure function with an HTTP request
6-
description: Execute an Azure function with an HTTP request
7-
ms.date: 09/25/2023
8-
author: ggailey777
9-
ms.author: glenga
10-
ms.topic: unit
11-
durationInMinutes: 10
12-
content: |
13-
[!include[](includes/5-http-trigger.md)]
14-
1+
### YamlMime:ModuleUnit
2+
uid: learn.execute-azure-function-with-triggers.5-http-trigger
3+
title: Execute an Azure function with an HTTP request
4+
metadata:
5+
title: Execute an Azure function with an HTTP request
6+
description: Execute an Azure function with an HTTP request
7+
ms.date: 05/19/2025
8+
author: ggailey777
9+
ms.author: glenga
10+
ms.topic: unit
11+
durationInMinutes: 10
12+
content: |
13+
[!include[](includes/5-http-trigger.md)]
14+
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.execute-azure-function-with-triggers.6-create-http-trigger
3-
title: Exercise - Create an HTTP trigger
4-
metadata:
5-
title: Exercise - Create an HTTP trigger and run an Azure Function with an HTTP request
6-
description: Create an HTTP trigger
7-
ms.date: 09/25/2023
8-
author: ggailey777
9-
ms.author: glenga
10-
ms.topic: unit
11-
azureSandbox: true
12-
durationInMinutes: 15
13-
content: |
14-
[!include[](includes/6-create-http-trigger.md)]
15-
1+
### YamlMime:ModuleUnit
2+
uid: learn.execute-azure-function-with-triggers.6-create-http-trigger
3+
title: Exercise - Create an HTTP trigger
4+
metadata:
5+
title: Exercise - Create an HTTP trigger and run an Azure Function with an HTTP request
6+
description: Create an HTTP trigger
7+
ms.date: 05/19/2025
8+
author: ggailey777
9+
ms.author: glenga
10+
ms.topic: unit
11+
azureSandbox: true
12+
durationInMinutes: 15
13+
content: |
14+
[!include[](includes/6-create-http-trigger.md)]
15+
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.execute-azure-function-with-triggers.7-blob-trigger
3-
title: Execute an Azure function when a blob is created
4-
metadata:
5-
title: Execute an Azure function when a blob is created
6-
description: Execute an Azure function when a blob is created
7-
ms.date: 09/25/2023
8-
author: ggailey777
9-
ms.author: glenga
10-
ms.topic: unit
11-
durationInMinutes: 10
12-
content: |
13-
[!include[](includes/7-blob-trigger.md)]
14-
1+
### YamlMime:ModuleUnit
2+
uid: learn.execute-azure-function-with-triggers.7-blob-trigger
3+
title: Execute an Azure function when a blob is created
4+
metadata:
5+
title: Execute an Azure function when a blob is created
6+
description: Execute an Azure function when a blob is created
7+
ms.date: 05/19/2025
8+
author: ggailey777
9+
ms.author: glenga
10+
ms.topic: unit
11+
durationInMinutes: 10
12+
content: |
13+
[!include[](includes/7-blob-trigger.md)]
14+
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.execute-azure-function-with-triggers.8-create-blob-trigger
3-
title: Exercise - Create a Blob trigger
4-
metadata:
5-
title: Exercise - Create a Blob trigger
6-
description: Create a Blob trigger and run an Azure Function when a blob is created
7-
ms.date: 09/25/2023
8-
author: ggailey777
9-
ms.author: glenga
10-
ms.topic: unit
11-
azureSandbox: true
12-
durationInMinutes: 15
13-
content: |
14-
[!include[](includes/8-create-blob-trigger.md)]
15-
1+
### YamlMime:ModuleUnit
2+
uid: learn.execute-azure-function-with-triggers.8-create-blob-trigger
3+
title: Exercise - Create a Blob trigger
4+
metadata:
5+
title: Exercise - Create a Blob trigger
6+
description: Create a Blob trigger and run an Azure Function when a blob is created
7+
ms.date: 05/19/2025
8+
author: ggailey777
9+
ms.author: glenga
10+
ms.topic: unit
11+
azureSandbox: true
12+
durationInMinutes: 15
13+
content: |
14+
[!include[](includes/8-create-blob-trigger.md)]
15+
Lines changed: 55 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,55 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.execute-azure-function-with-triggers.9-summary
3-
title: Summary
4-
metadata:
5-
title: Summary
6-
description: Summary
7-
ms.date: 09/25/2023
8-
author: ggailey777
9-
ms.author: glenga
10-
ms.topic: unit
11-
durationInMinutes: 2
12-
content: |
13-
[!include[](includes/9-summary.md)]
14-
quiz:
15-
title: Check your knowledge
16-
questions:
17-
- content: 'A CRON expression is a string that consists of six fields that represent a set of times. The order of the six fields in Azure is: {second} {minute} {hour} {day} {month} {day of the week}. Suppose you needed a CRON expression that meant "every day", what special character would you put in the {day of the week} position?'
18-
choices:
19-
- content: "/"
20-
isCorrect: false
21-
explanation: "A slash specifies an increment. For example, a */5 in the {seconds} field means every five seconds."
22-
- content: "*"
23-
isCorrect: true
24-
explanation: "An asterisk specifies that every possible value should be selected. Having an asterisk in the {day of the week} field means that every day should be selected."
25-
- content: ","
26-
isCorrect: false
27-
explanation: "A comma separates items in a list. For example, a 1,2,3 in the {month} field means select January, February, and March."
28-
- content: "‐"
29-
isCorrect: false
30-
explanation: "A hyphen specifies a range. For example, a 1-3 in the {month} field means select January, February, and March."
31-
32-
- content: 'Suppose your Azure Function has a blob trigger associated with it and you want it to execute only when *png* images are uploaded. Which of the following blob trigger *Path* values should you use?'
33-
choices:
34-
- content: "samples-workitems/{name}"
35-
isCorrect: false
36-
explanation: "The Path tells the blob trigger where it should monitor for changes, and if there are any filters applied. Adding a file extension to the Path specifies that uploaded files must have that file extension in order for the trigger to invoke the function."
37-
- content: "samples-workitems/{name}/png"
38-
isCorrect: false
39-
explanation: "The Path tells the blob trigger where it should monitor for changes, and if there are any filters applied. Adding a file extension to the Path specifies that uploaded files must have that file extension in order for the trigger to invoke the function."
40-
- content: "samples-workitems/{name}?png"
41-
isCorrect: false
42-
explanation: "The Path tells the blob trigger where it should monitor for changes, and if there are any filters applied. Adding a file extension to the Path specifies that uploaded files must have that file extension in order for the trigger to invoke the function."
43-
- content: "samples-workitems/{name}.png"
44-
isCorrect: true
45-
explanation: "The Path tells the blob trigger where it should monitor for changes, and if there are any filters applied. Adding a file extension to the Path specifies that uploaded files must have that file extension in order for the trigger to invoke the function."
46-
47-
- content: 'True or false: an Azure Function can have multiple triggers associated with it?'
48-
choices:
49-
- content: "True"
50-
isCorrect: false
51-
explanation: "Every Azure Function must have exactly one trigger associated with it. If you want to use multiple triggers, you must create multiple functions."
52-
- content: "False"
53-
isCorrect: true
54-
explanation: "Every Azure Function must have exactly one trigger associated with it. If you want to use multiple triggers, you must create multiple functions."
55-
1+
### YamlMime:ModuleUnit
2+
uid: learn.execute-azure-function-with-triggers.9-summary
3+
title: Summary
4+
metadata:
5+
title: Summary
6+
description: Summary
7+
ms.date: 05/19/2025
8+
author: ggailey777
9+
ms.author: glenga
10+
ms.topic: unit
11+
durationInMinutes: 2
12+
content: |
13+
[!include[](includes/9-summary.md)]
14+
quiz:
15+
title: Check your knowledge
16+
questions:
17+
- content: 'A CRON expression is a string that consists of six fields that represent a set of times. The order of the six fields in Azure is: {second} {minute} {hour} {day} {month} {day of the week}. Suppose you needed a CRON expression that meant "every day", what special character would you put in the {day of the week} position?'
18+
choices:
19+
- content: "/"
20+
isCorrect: false
21+
explanation: "A slash specifies an increment. For example, a */5 in the {seconds} field means every five seconds."
22+
- content: "*"
23+
isCorrect: true
24+
explanation: "An asterisk specifies that every possible value should be selected. Having an asterisk in the {day of the week} field means that every day should be selected."
25+
- content: ","
26+
isCorrect: false
27+
explanation: "A comma separates items in a list. For example, a 1,2,3 in the {month} field means select January, February, and March."
28+
- content: "‐"
29+
isCorrect: false
30+
explanation: "A hyphen specifies a range. For example, a 1-3 in the {month} field means select January, February, and March."
31+
32+
- content: 'Suppose your Azure Function has a blob trigger associated with it and you want it to execute only when PNG images are uploaded. Which of the following blob trigger *Path* values should you use?'
33+
choices:
34+
- content: "`samples-workitems/{name}`"
35+
isCorrect: false
36+
explanation: "The Path tells the blob trigger where it should monitor for changes, and if there are any filters applied. Adding a file extension to the Path specifies that uploaded files must have that file extension in order for the trigger to invoke the function."
37+
- content: "`samples-workitems/{name}/png`"
38+
isCorrect: false
39+
explanation: "The Path tells the blob trigger where it should monitor for changes, and if there are any filters applied. Adding a file extension to the Path specifies that uploaded files must have that file extension in order for the trigger to invoke the function."
40+
- content: "`samples-workitems/{name}?png`"
41+
isCorrect: false
42+
explanation: "The Path tells the blob trigger where it should monitor for changes, and if there are any filters applied. Adding a file extension to the Path specifies that uploaded files must have that file extension in order for the trigger to invoke the function."
43+
- content: "`samples-workitems/{name}.png`"
44+
isCorrect: true
45+
explanation: "The Path tells the blob trigger where it should monitor for changes, and if there are any filters applied. Adding a file extension to the Path specifies that uploaded files must have that file extension in order for the trigger to invoke the function."
46+
47+
- content: 'True or false: an Azure Function can have multiple triggers associated with it?'
48+
choices:
49+
- content: "True"
50+
isCorrect: false
51+
explanation: "Every Azure Function must have exactly one trigger associated with it. If you want to use multiple triggers, you must create multiple functions."
52+
- content: "False"
53+
isCorrect: true
54+
explanation: "Every Azure Function must have exactly one trigger associated with it. If you want to use multiple triggers, you must create multiple functions."
55+

0 commit comments

Comments
 (0)