Skip to content

Commit dd5fc73

Browse files
Merge pull request #288320 from Akhilesh-microsoft/ACA/jobs
[ACA: jobs]: Addressed the UUF310406 and resolved the issues, verified the procedure and added the missing information/provided link based on the research. updated ms.date.
2 parents 0a2c936 + 36275a9 commit dd5fc73

File tree

1 file changed

+20
-6
lines changed

1 file changed

+20
-6
lines changed

articles/container-apps/jobs.md

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: craigshoemaker
66
ms.service: azure-container-apps
77
ms.custom: build-2023, devx-track-azurecli
88
ms.topic: conceptual
9-
ms.date: 04/02/2024
9+
ms.date: 10/20/2024
1010
ms.author: cshoe
1111
---
1212

@@ -20,7 +20,7 @@ Container apps and jobs run in the same [environment](environment.md), allowing
2020

2121
There are two types of compute resources in Azure Container Apps: apps and jobs.
2222

23-
Apps are services that run continuously. If a container in an app fails, it's restarted automatically. Examples of apps include HTTP APIs, web apps, and background services that continuously process input.
23+
Apps are services that run continuously. If a container in an app fails, it restarts automatically. Examples of apps include HTTP APIs, web apps, and background services that continuously process input.
2424

2525
Jobs are tasks that start, run for a finite duration, and exit when finished. Each execution of a job typically performs a single unit of work. Job executions start manually, on a schedule, or in response to events. Examples of jobs include batch processes that run on demand and scheduled tasks.
2626

@@ -49,13 +49,27 @@ A Container Apps environment is a secure boundary around one or more container a
4949

5050
:::image type="content" source="media/jobs/azure-container-apps-jobs-overview.png" alt-text="Azure Container Apps jobs overview.":::
5151

52+
## Permissions
53+
54+
To start a container app job, the appropriate permissions are required. Ensure that your user account or service principal has the following roles assigned:
55+
56+
* **Azure Container Apps Contributor:** Allows permissions to create and manage container apps and jobs.
57+
* **Azure Monitor Reader (optional):** Enables viewing monitoring data for jobs.
58+
* **Custom Role:** For more granular permissions, you can create a custom role with the following actions:
59+
60+
- Microsoft.App/containerApps/jobs/start/action
61+
- Microsoft.App/containerApps/jobs/read
62+
- Microsoft.App/containerApps/jobs/executions/read
63+
64+
For more information about assigning roles and permissions, see [Azure Role-Based Access Control](/azure/role-based-access-control/overview).
65+
5266
## Job trigger types
5367

5468
A job's trigger type determines how the job is started. The following trigger types are available:
5569

5670
- **Manual**: Manual jobs are triggered on-demand.
57-
- **Schedule**: Scheduled jobs are triggered at specific times and can run repeatedly.
58-
- **Event**: Event-driven jobs are triggered by events such as a message arriving in a queue.
71+
- **Schedule**: Scheduled jobs are triggered at specific times and can run repeatedly.
72+
- **Event**: Events, such as a message arriving in a queue, trigger event-driven jobs.
5973

6074
### Manual jobs
6175

@@ -120,7 +134,7 @@ The following example Azure Resource Manager template creates a manual job named
120134

121135
To create a manual job using the Azure portal, search for *Container App Jobs* in the Azure portal and select *Create*. Specify *Manual* as the trigger type.
122136

123-
Enter the following values in the *Containers* tab to use a sample container image.
137+
To use a sample container image, enter the following values in the *Containers* tab:
124138

125139
| Setting | Value |
126140
|---|---|
@@ -207,7 +221,7 @@ The following example Azure Resource Manager template creates a manual job named
207221

208222
To create a scheduled job using the Azure portal, search for *Container App Jobs* in the Azure portal and select *Create*. Specify *Schedule* as the trigger type and define the schedule with a cron expression, such as `*/1 * * * *` to run every minute.
209223

210-
Enter the following values in the *Containers* tab to use a sample container image.
224+
To use a sample container image, enter the following values in the *Containers* tab:
211225

212226
| Setting | Value |
213227
|---|---|

0 commit comments

Comments
 (0)