Skip to content

Commit 76864c3

Browse files
rest
1 parent 409aaa2 commit 76864c3

14 files changed

+79
-4
lines changed

articles/media-services/latest/drm-create-content-key-policy-how-to.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,8 @@ Use the following methods to create a Media Services asset.
2222

2323
[!INCLUDE [Create an asset with CLI](includes/task-create-content-key-policy-cli.md)]
2424

25+
## [REST](#tab/rest/)
26+
27+
[!INCLUDE [Create an asset with CLI](includes/task-create-content-key-policy-rest.md)]
28+
2529
---

articles/media-services/latest/drm-delete-content-key-policy-how-to.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,8 @@ Use the following methods to create a Media Services asset.
2222

2323
[!INCLUDE [Create an asset with CLI](includes/task-delete-content-key-policy-cli.md)]
2424

25+
## [REST](#tab/rest/)
26+
27+
[!INCLUDE [Create an asset with CLI](includes/task-delete-content-key-policy-rest.md)]
28+
2529
---

articles/media-services/latest/drm-list-content-key-policy-how-to.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,8 @@ Use the following methods to create a Media Services asset.
2222

2323
[!INCLUDE [Create an asset with CLI](includes/task-list-content-key-policy-cli.md)]
2424

25+
## [REST](#tab/rest/)
26+
27+
[!INCLUDE [Create an asset with CLI](includes/task-list-content-key-policy-rest.md)]
28+
2529
---

articles/media-services/latest/drm-show-content-key-policy-how-to.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,8 @@ Use the following methods to create a Media Services asset.
2222

2323
[!INCLUDE [Create an asset with CLI](includes/task-show-content-key-policy-cli.md)]
2424

25+
## [REST](#tab/rest/)
26+
27+
[!INCLUDE [Create an asset with CLI](includes/task-get-content-key-policy-rest.md)]
28+
2529
---

articles/media-services/latest/drm-update-content-key-policy-how-to.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,8 @@ Use the following methods to create a Media Services asset.
2222

2323
[!INCLUDE [Create an asset with CLI](includes/task-update-content-key-policy-cli.md)]
2424

25+
## [REST](#tab/rest/)
26+
27+
[!INCLUDE [Create an asset with CLI](includes/task-update-content-key-policy-rest.md)]
28+
2529
---

articles/media-services/latest/includes/task-create-content-key-policy-cli.md

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

9-
## Create a content key policy
9+
## Create a content key policy with the CLI
1010

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

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: 08/18/2020
6+
ms.author: inhenkel
7+
---
8+
9+
## Create a content key policy with the REST
10+
11+
See the Media Services [REST API](/rest/api/media/content-key-policies/create-or-update).

articles/media-services/latest/includes/task-delete-content-key-policy-cli.md

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

9-
## Delete a content key policy
9+
## Delete a content key policy with the CLI
1010

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

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: 08/18/2020
6+
ms.author: inhenkel
7+
---
8+
9+
## Delete a content key policy with REST
10+
11+
See the Media Services [REST API](/rest/api/media/content-key-policies/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: 08/18/2020
6+
ms.author: inhenkel
7+
---
8+
9+
## Get a content key policy
10+
11+
See the Media Service [REST API](/rest/api/media/content-key-policies/get)

0 commit comments

Comments
 (0)