Skip to content

Commit b990ee5

Browse files
authored
Merge pull request #191305 from IngridAtMicrosoft/jobs
Jobs
2 parents faa2da2 + f54ba49 commit b990ee5

20 files changed

+319
-56
lines changed

articles/media-services/latest/TOC.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -552,9 +552,18 @@
552552
href: transform-delete-transform-how-to.md
553553
- name: Create jobs
554554
items:
555-
- name: Create jobs
556-
href: job-create-cli-how-to.md
557-
displayName: CLI, create job, jobs, submit job, encode with CLI, encode
555+
- name: Create or start a job
556+
href: job-create-how-to.md
557+
- name: List jobs
558+
href: job-list-how-to.md
559+
- name: Show or get the details of a job
560+
href: job-show-how-to.md
561+
- name: Cancel a job
562+
href: job-cancel-how-to.md
563+
- name: Update a job
564+
href: job-update-how-to.md
565+
- name: Delete a job
566+
href: job-delete-how-to.md
558567
- name: Create job input with a local file
559568
displayName: upload, upload file, ingest file, local file, uploading, CLI
560569
href: job-input-from-local-file-how-to.md
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
author: IngridAtMicrosoft
3+
ms.service: media-services
4+
ms.topic: include
5+
ms.date: 03/10/2022
6+
ms.author: inhenkel
7+
---
8+
9+
## Cancel a job with the CLI
10+
11+
:::code language="azurecli" source="~/media-services-v3-python/cli/code-snippets.sh" id="AmsJobCancel" interactive="azurecli-interactive":::
12+
13+
For more information about this command, see the [CLI reference](/cli/azure/ams/job?view=azure-cli-latest#az-ams-job-cancel).
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
author: IngridAtMicrosoft
3+
ms.service: media-services
4+
ms.topic: include
5+
ms.date: 03/10/2022
6+
ms.author: inhenkel
7+
---
8+
9+
## Cancel a job with REST
10+
11+
See the Media Services [REST API](/rest/api/media/jobs/cancel-job)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
author: IngridAtMicrosoft
3+
ms.service: media-services
4+
ms.topic: include
5+
ms.date: 03/10/2022
6+
ms.author: inhenkel
7+
---
8+
9+
## Create a job with the CLI
10+
11+
:::code language="azurecli" source="~/media-services-v3-python/cli/code-snippets.sh" id="AmsJobStart" interactive="azurecli-interactive":::
12+
13+
For more information about this command, see the [CLI reference](/cli/azure/ams/job?view=azure-cli-latest#az-ams-job-start).
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
author: IngridAtMicrosoft
3+
ms.service: media-services
4+
ms.topic: include
5+
ms.date: 03/10/2022
6+
ms.author: inhenkel
7+
---
8+
9+
## Create a job with REST
10+
11+
See the Media Services [REST API](/rest/api/media/jobs/create)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
author: IngridAtMicrosoft
3+
ms.service: media-services
4+
ms.topic: include
5+
ms.date: 03/10/2022
6+
ms.author: inhenkel
7+
---
8+
9+
## Delete a job with the CLI
10+
11+
:::code language="azurecli" source="~/media-services-v3-python/cli/code-snippets.sh" id="AmsJobDelete" interactive="azurecli-interactive":::
12+
13+
For more information about this command, see the [CLI reference](/cli/azure/ams/job?view=azure-cli-latest#az-ams-job-delete).
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
author: IngridAtMicrosoft
3+
ms.service: media-services
4+
ms.topic: include
5+
ms.date: 03/10/2022
6+
ms.author: inhenkel
7+
---
8+
9+
## Delete a job with REST
10+
11+
See the Media Services [REST API](/rest/api/media/jobs/delete)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
author: IngridAtMicrosoft
3+
ms.service: media-services
4+
ms.topic: include
5+
ms.date: 03/10/2022
6+
ms.author: inhenkel
7+
---
8+
9+
## Get a job with REST
10+
11+
See the Media Services [REST API](/rest/api/media/jobs/get)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
author: IngridAtMicrosoft
3+
ms.service: media-services
4+
ms.topic: include
5+
ms.date: 03/10/2022
6+
ms.author: inhenkel
7+
---
8+
9+
## List jobs with the CLI
10+
11+
:::code language="azurecli" source="~/media-services-v3-python/cli/code-snippets.sh" id="AmsJobList" interactive="azurecli-interactive":::
12+
13+
For more information about this command, see the [CLI reference](/cli/azure/ams/job?view=azure-cli-latest#az-ams-job-list).
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
author: IngridAtMicrosoft
3+
ms.service: media-services
4+
ms.topic: include
5+
ms.date: 03/10/2022
6+
ms.author: inhenkel
7+
---
8+
9+
## List jobs with REST
10+
11+
See the Media Services [REST API](/rest/api/media/jobs/list)

0 commit comments

Comments
 (0)