Skip to content

Commit 79f3261

Browse files
Merge pull request #265788 from halkazwini/ps-cli
Peering Service: Freshness: Create, change, or delete a Peering Service connection using the Azure CLI
2 parents 58c364e + b406da8 commit 79f3261

File tree

1 file changed

+12
-16
lines changed
  • articles/peering-service

1 file changed

+12
-16
lines changed

articles/peering-service/cli.md

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,31 @@
11
---
22
title: Create, change, or delete a Peering Service connection - Azure CLI
33
description: Learn how to create, change, or delete a Peering Service connection using the Azure CLI.
4-
services: peering-service
54
author: halkazwini
5+
ms.author: halkazwini
66
ms.service: peering-service
77
ms.topic: how-to
8-
ms.date: 01/19/2023
9-
ms.author: halkazwini
10-
ms.custom: template-how-to, engagement-fy23, devx-track-azurecli
8+
ms.date: 02/08/2024
9+
ms.custom: devx-track-azurecli
10+
11+
#CustomerIntent: As an administrator, I want to learn how to create and manage a Peering Service connection using the Azure CLI so I can enhance the connectivity to Microsoft services over the public internet.
1112
---
1213

1314
# Create, change, or delete a Peering Service connection using the Azure CLI
1415

15-
> [!div class="op_single_selector"]
16-
> * [Portal](azure-portal.md)
17-
> * [PowerShell](powershell.md)
18-
> * [Azure CLI](cli.md)
19-
2016
Azure Peering Service is a networking service that enhances customer connectivity to Microsoft cloud services such as Microsoft 365, Dynamics 365, software as a service (SaaS) services, Azure, or any Microsoft services accessible via the public internet.
2117

22-
In this article, you'll learn how to create, change, and delete a Peering Service connection using the Azure CLI.
18+
In this article, you learn how to create, change, and delete a Peering Service connection using the Azure CLI. To learn how to manage a Peering Service connection using the Azure portal or Azure PowerShell, see [Create, change, or delete a Peering Service connection using the Azure portal](azure-portal.md) or [Create or change a Peering Service connection using PowerShell](powershell.md).
2319

24-
If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
20+
## Prerequisites
2521

26-
[!INCLUDE [azure-cli-prepare-your-environment-h3.md](~/articles/reusable-content/azure-cli/azure-cli-prepare-your-environment-no-header.md)]
22+
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
2723

28-
If you decide to install and use Azure CLI locally, this article requires you to use version 2.0.28 or later of the Azure CLI. Run [az version](/cli/azure/reference-index#az-version) to find the version and dependent libraries that are installed. To upgrade to the latest version, run [az upgrade](/cli/azure/reference-index#az-upgrade). If using Azure Cloud Shell, the latest version is already installed.
24+
- Azure Cloud Shell or Azure CLI installed locally.
2925

30-
## Prerequisites
26+
The steps in this article run the Azure CLI commands interactively in [Azure Cloud Shell](/azure/cloud-shell/overview). To run the commands in the Cloud Shell, select **Open Cloudshell** at the upper-right corner of a code block. Select **Copy** to copy the code, and paste it into Cloud Shell to run it. You can also run the Cloud Shell from within the Azure portal.
3127

32-
- An Azure subscription.
28+
You can also [install Azure CLI locally](/cli/azure/install-azure-cli) to run the commands. This article requires the Azure CLI version 2.0.28 or later. Run [az version](/cli/azure/reference-index#az-version) to find the version and dependent libraries that are installed. To upgrade to the latest version, run [az upgrade](/cli/azure/reference-index#az-upgrade). If you run Azure CLI locally, sign in to Azure using the [az login](/cli/azure/reference-index#az-login) command.
3329

3430
- A connectivity provider. For more information, see [Peering Service partners](./location-partners.md).
3531

@@ -107,7 +103,7 @@ To delete a Peering Service connection, use [az peering service delete](/cli/azu
107103
az peering service delete --peering-service-name "myPeeringService" --resource-group "myResourceGroup"
108104
```
109105

110-
## Next steps
106+
## Related content
111107

112108
- To learn more about Peering Service connections, see [Peering Service connection](connection.md).
113109
- To learn more about Peering Service connection telemetry, see [Access Peering Service connection telemetry](connection-telemetry.md).

0 commit comments

Comments
 (0)