Skip to content

Commit 9a2f943

Browse files
Merge pull request #190857 from IngridAtMicrosoft/cli1
Cli1
2 parents 1838e25 + df87d6e commit 9a2f943

22 files changed

+295
-194
lines changed

.openpublishing.publish.config.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,12 @@
381381
"branch": "main",
382382
"branch_mapping": {}
383383
},
384+
{
385+
"path_to_root": "media-services-v3-python",
386+
"url": "https://github.com/Azure-Samples/media-services-v3-python",
387+
"branch": "main",
388+
"branch_mapping": {}
389+
},
384390
{
385391
"path_to_root": "samples-javascript",
386392
"url": "https://github.com/Microsoft/tsiclient",
@@ -411,12 +417,6 @@
411417
"branch": "main",
412418
"branch_mapping": {}
413419
},
414-
{
415-
"path_to_root": "media-services-v3-python",
416-
"url": "https://github.com/Azure-Samples/media-services-v3-python",
417-
"branch": "main",
418-
"branch_mapping": {}
419-
},
420420
{
421421
"path_to_root": "remote-monitoring-webui",
422422
"url": "https://github.com/Azure/pcs-remote-monitoring-webui.git",

articles/media-services/latest/TOC.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,19 @@
454454
- name: Reset account credentials
455455
href: account-reset-account-credentials.md
456456
displayName: reset, account credentials, remove credentials, security, restore, remove, credentials
457+
- name: Media Services accounts
458+
items:
459+
- name: Create a Media Services account
460+
href: account-create-how-to.md
461+
displayName: media services account create
462+
- name: Update a Media Services account
463+
href: account-update-how-to.md
464+
- name: List Media Services accounts
465+
href: account-list-how-to.md
466+
- name: Show Media Services account details
467+
href: account-show-how-to.md
468+
- name: Delete a Media Services account
469+
href: account-delete-how-to.md
457470
- name: Create assets and upload media
458471
items:
459472
- name: Create an asset
@@ -675,7 +688,7 @@
675688
displayName: MES schema, MES, Standard encoder, schema, metadata, input metadata, source metadata
676689
- name: Output metadata
677690
href: output-metadata-schema.md
678-
displayName: MES schema, MES, Standard encoder, schema, metadata, output metadata, output description
691+
displayName: MES schema, MES, Standard encoder, schema, metadata, output metadata, output description
679692
- name: Resources
680693
items:
681694
- name: Azure Media Services community

articles/media-services/latest/account-create-how-to.md

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,10 @@ description: This tutorial walks you through the steps of creating an Azure Medi
44
services: media-services
55
author: IngridAtMicrosoft
66
manager: femila
7-
87
ms.service: media-services
9-
ms.workload: media
10-
ms.tgt_pltfrm: na
118
ms.topic: how-to
12-
ms.date: 11/29/2021
9+
ms.date: 03/04/2022
1310
ms.author: inhenkel
14-
ms.custom: devx-track-azurecli
15-
1611
---
1712
# Create a Media Services account
1813

@@ -38,10 +33,10 @@ You can use either the Azure portal or the CLI to create a Media Services accoun
3833

3934
<!-- NOTE: The following are in the includes folder and are reused in other How To articles. All task based content should be in the includes folder with the task- prefix prepended to the file name. -->
4035

41-
## [Portal](#tab/portal/)
42-
4336
[!INCLUDE [the media services account and storage account must be in the same subscription](./includes/note-account-storage-same-subscription.md)]
4437

38+
## [Portal](#tab/portal/)
39+
4540
[!INCLUDE [create a media services account in the portal](./includes/task-create-media-services-account-portal.md)]
4641

4742
[!INCLUDE [enable a system-assigned managed identity](./includes/task-create-media-services-system-managed-identity.md)]
@@ -52,23 +47,11 @@ You can use either the Azure portal or the CLI to create a Media Services accoun
5247

5348
## [CLI](#tab/cli/)
5449

55-
[!INCLUDE [the media services account and storage account must be in the same subscription](./includes/note-account-storage-same-subscription.md)]
56-
57-
## Set the Azure subscription
50+
<!-- Set the subscription -->
5851

5952
[!INCLUDE [Set the Azure subscription with CLI](./includes/task-set-azure-subscription-cli.md)]
6053

61-
## Create a resource group
62-
63-
[!INCLUDE [Create a resource group with CLI](./includes/task-create-resource-group-cli.md)]
64-
65-
## Create a storage account
66-
67-
When creating a Media Services account, you need to supply the name of an Azure Storage account resource. The specified storage account is attached to your Media Services account. For more information about how storage accounts are used in Media Services, see [Storage accounts](storage-account-concept.md).
68-
69-
You must have one **Primary** storage account and you can have any number of **Secondary** storage accounts associated with your Media Services account. Media Services supports **General-purpose v2** (GPv2) or **General-purpose v1** (GPv1) accounts. Blob only accounts are not allowed as **Primary**. If you want to learn more about storage accounts, see [Azure Storage account options](../../storage/common/storage-account-overview.md).
70-
71-
In this example, we create a General Purpose v2, Standard LRS account. If you want to experiment with storage accounts, use `--sku Standard_LRS`. However, when picking a SKU for production you should consider, `--sku Standard_RAGRS`, which provides geographic replication for business continuity. For more information, see [storage accounts](/cli/azure/storage/account).
54+
<!-- Create a storage account -->
7255

7356
[!INCLUDE [Create a storage account with CLI](./includes/task-create-storage-account-cli.md)]
7457

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: Delete a Media Services account
3+
description: This article shows you how to delete a Media Services account.
4+
services: media-services
5+
author: IngridAtMicrosoft
6+
manager: femila
7+
ms.service: media-services
8+
ms.topic: how-to
9+
ms.date: 03/04/2022
10+
ms.author: inhenkel
11+
---
12+
# Delete a Media Services account
13+
14+
[!INCLUDE [media services api v3 logo](./includes/v3-hr.md)]
15+
16+
This article shows you how to delete a Media Services account.
17+
18+
## [Portal](#tab/portal/)
19+
20+
You can find the Media Services accounts in the portal by navigating to your subscription and finding the resource groups within the subscription.
21+
22+
## [CLI](#tab/cli/)
23+
24+
[!INCLUDE [update a media services account CLI](./includes/task-delete-media-services-account-cli.md)]
25+
26+
---
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: List the Media Services accounts in a subscription
3+
description: This article shows you how to list the Media Service accounts in an Azure subscription.
4+
services: media-services
5+
author: IngridAtMicrosoft
6+
manager: femila
7+
ms.service: media-services
8+
ms.topic: how-to
9+
ms.date: 03/04/2022
10+
ms.author: inhenkel
11+
---
12+
# List the Media Services accounts in a subscription
13+
14+
[!INCLUDE [media services api v3 logo](./includes/v3-hr.md)]
15+
16+
This article shows you how to list the Media Service accounts in an Azure subscription.
17+
18+
## [Portal](#tab/portal/)
19+
20+
You can find the Media Services accounts in the portal by navigating to your subscription and finding the resource groups within the subscription.
21+
22+
## [CLI](#tab/cli/)
23+
24+
[!INCLUDE [update a media services account CLI](./includes/task-list-media-services-account-cli.md)]
25+
26+
---
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: Show the details of a Media Services account
3+
description: This article shows you how to show the details of a Media Services account.
4+
services: media-services
5+
author: IngridAtMicrosoft
6+
manager: femila
7+
ms.service: media-services
8+
ms.topic: how-to
9+
ms.date: 03/04/2022
10+
ms.author: inhenkel
11+
---
12+
# Show the details of a Media Services account
13+
14+
[!INCLUDE [media services api v3 logo](./includes/v3-hr.md)]
15+
16+
This article shows you how to show the details of a Media Services account.
17+
18+
## [Portal](#tab/portal/)
19+
20+
You can find the Media Services accounts in the portal by navigating to your subscription and finding the resource groups within the subscription.
21+
22+
## [CLI](#tab/cli/)
23+
24+
[!INCLUDE [update a media services account CLI](./includes/task-show-media-services-account-cli.md)]
25+
26+
---
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: Update the details of a Media Services account
3+
description: This article shows you how to update a Media Services account.
4+
services: media-services
5+
author: IngridAtMicrosoft
6+
manager: femila
7+
ms.service: media-services
8+
ms.topic: how-to
9+
ms.date: 03/04/2022
10+
ms.author: inhenkel
11+
---
12+
# Update the details of a Media Services account
13+
14+
[!INCLUDE [media services api v3 logo](./includes/v3-hr.md)]
15+
16+
This article shows you how to update a Media Services account.
17+
18+
## [Portal](#tab/portal/)
19+
20+
The Media Services account can be updated in the portal using the Media Services account navigation.
21+
22+
## [CLI](#tab/cli/)
23+
24+
[!INCLUDE [update a media services account CLI](./includes/task-update-media-services-account-cli.md)]
25+
26+
---
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/03/2022
6+
ms.author: inhenkel
7+
---
8+
9+
<!--Create a media services account -->
10+
11+
Change `amsAccountName` to name of the account used in the command.
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/03/2022
6+
ms.author: inhenkel
7+
---
8+
9+
<!--Create a media services account -->
10+
11+
Change `resourceGroupName` to the name of the resource group you want to use with the command.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
author: IngridAtMicrosoft
3+
ms.service: media-services
4+
ms.topic: include
5+
ms.date: 03/03/2022
6+
ms.author: inhenkel
7+
---
8+
9+
<!-- ### SKU list -->
10+
Choose a SKU from the following list: Standard_LRS, Standard_GRS, Standard_RAGRS, Standard_ZRS, Premium_LRS, Premium_ZRS, Standard_GZRS, Standard_RAGZRS.

0 commit comments

Comments
 (0)