Skip to content

Commit f83c722

Browse files
Add python to create jobs
1 parent 0510ace commit f83c722

File tree

6 files changed

+37
-9
lines changed

6 files changed

+37
-9
lines changed

articles/media-services/latest/includes/task-create-job-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.date: 03/10/2022
66
ms.author: inhenkel
77
---
88

9-
## Create a job with the CLI
9+
### Create a job with the CLI
1010

1111
:::code language="azurecli" source="~/media-services-v3-python/cli/code-snippets.sh" id="AmsJobStart" interactive="azurecli-interactive":::
1212

articles/media-services/latest/includes/task-create-job-portal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.custom: CLI
99

1010
<!--Create a media services job portal-->
1111

12-
## Create a job
12+
### Create a job
1313

1414
1. Select **Add job**. The Create a job screen will appear.
1515
1. For the **Input source**, the **Asset** radio button should be selected by default. If not, select it now.
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/11/2022
6+
ms.author: inhenkel
7+
---
8+
9+
### Create a job with Python
10+
11+
:::code language="python" source="~/media-services-v3-python/BasicEncoding.py" id="CreateJob":::

articles/media-services/latest/includes/task-create-job-rest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ ms.date: 03/10/2022
66
ms.author: inhenkel
77
---
88

9-
## Create a job with REST
9+
### Create a job with REST
1010

1111
See the Media Services [REST API](/rest/api/media/jobs/create)
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+
## Job
10+
11+
A **job** is a request to Media Services to apply a transform to a given input video or audio content. Once a rransform has been created, you can submit jobs using Media Services APIs, or any of the published SDKs. A job specifies information like the location of the input video and the location for the output. You can specify the location of your input video using: HTTPS URLs, SAS URLs, or Assets.
Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,41 @@
11
---
22
title: Create a job with Media Services
3-
description: The article shows how to create a Job using different methods.
3+
description: The article shows how to create a Media Services job using different methods.
44
services: media-services
55
author: IngridAtMicrosoft
66
manager: femila
77
ms.service: media-services
88
ms.topic: how-to
9-
ms.date: 03/01/2022
9+
ms.date: 03/11/2022
1010
ms.author: inhenkel
1111
---
1212

1313
# Create a job
1414

1515
[!INCLUDE [media services api v3 logo](./includes/v3-hr.md)]
1616

17-
In Media Services v3, when you submit Jobs to process your videos, you have to tell Media Services where to find the input video. One of the options is to specify an HTTPS URL as a job input (as shown in this article).
17+
The article shows how to create a Media Services job using different methods.
18+
19+
[!INCLUDE [term-job.md](./includes/term-job.md)]
1820

1921
## Prerequisites
2022

2123
[Create a Media Services account](./account-create-how-to.md).
2224

2325
## [Portal](#tab/portal/)
2426

25-
[!INCLUDE [rest](./includes/task-create-job-portal.md)]
27+
[!INCLUDE [task-create-job-portal.md](./includes/task-create-job-portal.md)]
2628

2729
## [CLI](#tab/cli/)
2830

29-
[!INCLUDE [cli](./includes/task-create-job-cli.md)]
31+
[!INCLUDE [task-create-job-cli.md](./includes/task-create-job-cli.md)]
3032

3133
## [REST](#tab/rest/)
3234

33-
[!INCLUDE [cli](./includes/task-create-job-rest.md)]
35+
[!INCLUDE [task-create-job-rest.md](./includes/task-create-job-rest.md)]
36+
37+
## [Python](#tab/python/)
38+
39+
[!INCLUDE [task-create-job-rest.md](./includes/task-create-job-python.md)]
3440

3541
---

0 commit comments

Comments
 (0)