Skip to content

Commit e7d5fdd

Browse files
authored
Merge pull request #78944 from sptramer/tool-includes/cli-install
Updated CLI install instructions in includes.
2 parents 1dae3ff + f42598e commit e7d5fdd

16 files changed

+35
-43
lines changed
Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
---
2-
author: genlin
3-
ms.service: virtual-network
2+
author: sptramer
43
ms.topic: include
5-
ms.date: 11/09/2018
6-
ms.author: genli
4+
ms.date: 05/31/2019
5+
ms.author: sttramer
76
---
87
## Prerequisite: Install the Azure CLI
9-
To perform the steps in this article, you need to [install the Azure Command-Line Interface for Mac, Linux, and Windows (Azure CLI)](../articles/cli-install-nodejs.md) and you need to [sign in to Azure](/cli/azure/authenticate-azure-cli).
8+
9+
To perform the steps in this article, [install the Azure CLI](/cli/azure/install-azure-cli) and [sign in to Azure](/cli/azure/authenticate-azure-cli).
1010

1111
> [!NOTE]
12-
> If you don't have an Azure account, you need one. Go sign up for a [free trial here](../articles/active-directory/fundamentals/sign-up-organization.md). In addition, to follow along completely you need to have either [jq](https://stedolan.github.io/jq/) or some other JSON parsing tool or library installed.
13-
>
14-
>
12+
> If you don't have an Azure account, you need one. Sign up for a [free trial here](../articles/active-directory/fundamentals/sign-up-organization.md).
13+
> In addition, to follow along you need to have either [jq](https://stedolan.github.io/jq/) or some other JSON parsing tool or library installed.
1514

includes/container-service-connect.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
author: dlepow
33
ms.service: container-service
44
ms.topic: include
5-
ms.date: 11/09/2018
5+
ms.date: 06/05/2019
66
ms.author: danlep
77
---
88
# Make a remote connection to a Kubernetes, DC/OS, or Docker Swarm cluster
@@ -33,7 +33,7 @@ Follow these steps to install and configure `kubectl` on your computer.
3333
3434
### Install kubectl
3535
One way to install this
36-
tool is to use the `az acs kubernetes install-cli` Azure CLI command. To run this command, make sure that you [installed](/cli/azure/install-az-cli2) the latest version of the Azure CLI and are signed in to an Azure account (`az login`).
36+
tool is to use the `az acs kubernetes install-cli` Azure CLI command. To run this command, [install the Azure CLI](/cli/azure/install-azure-cli) and sign in to an Azure account with `az login`.
3737

3838
```azurecli
3939
# Linux or macOS
@@ -80,7 +80,7 @@ kubectl proxy
8080

8181
The Kubernetes UI is now available at: `http://localhost:8001/ui`.
8282

83-
For more information, see the [Kubernetes quick start](http://kubernetes.io/docs/user-guide/quick-start/).
83+
For more information, see the [Kubernetes quickstart](http://kubernetes.io/docs/user-guide/quick-start/).
8484

8585
## Connect to a DC/OS or Swarm cluster
8686

includes/container-service-scale.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ You can change the number of agent nodes in a DC/OS, Docker Swarm, or Kubernetes
2424

2525
## Scale with the Azure CLI
2626

27-
Make sure that you [installed](/cli/azure/install-az-cli2) the latest Azure CLI and signed in to an Azure account (`az login`).
27+
[Install the Azure CLI](/cli/azure/install-azure-cli) and sign in to an Azure account with `az login`.
2828

2929
### See the current agent count
3030
To see the number of agents currently in the cluster, run the `az acs show` command. This shows the cluster configuration. For example, the following command shows the configuration of the container service named `containerservice-myACSName` in the resource group `myResourceGroup`:

includes/contains-classic-cli-content.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: include file
44
author: sptramer
55
ms.author: sttramer
66
manager: carmonm
7-
ms.date: 06/12/2018
7+
ms.date: 06/05/2019
88
ms.topic: include
99
ms.custom: include file
1010
---
@@ -13,7 +13,5 @@ ms.custom: include file
1313
> an older version of the Azure CLI that should be used only with the
1414
> Azure classic deployment model.
1515
>
16-
> The classic CLI can be installed side-by-side with the modern Azure CLI,
17-
> but we recommend using the Azure CLI for all new scripts and deployments.
1816
> To install the classic CLI, see [Install the Azure classic CLI](/cli/azure/install-classic-cli)
19-
> and to install the current CLI, see [Install Azure CLI](/cli/azure/install-azure-cli).
17+
> and to install the current Azure CLI for Azure Resource Manager deployments, see [Install Azure CLI](/cli/azure/install-azure-cli).

includes/event-grid-preview-feature-note.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,9 @@ In [CloudShell](/azure/cloud-shell/quickstart):
2323

2424
For a local installation:
2525

26-
1. Uninstall Azure CLI locally.
27-
1. Install the [latest version](/cli/azure/install-azure-cli) of Azure CLI.
28-
1. Launch command window.
26+
1. [Install the Azure CLI](/cli/azure/install-azure-cli). Make sure that you have the latest version, by checking with `az --version`.
2927
1. Uninstall previous versions of the extension `az extension remove -n eventgrid`
30-
1. Install the extension `az extension add -n eventgrid`
28+
1. Install the `eventgrid` extension with `az extension add -n eventgrid`
3129

3230
### Install module for PowerShell
3331

includes/hdinsight-use-latest-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ ms.author: jasonh
88
> [!IMPORTANT]
99
> Azure CLI support for managing HDInsight resources using Azure Service Manager (ASM) is **deprecated**, and was removed on January 1, 2017. The steps in this document use the new Azure CLI commands that work with Azure Resource Manager.
1010
>
11-
> Follow the steps in [Install and configure Azure CLI](../articles/cli-install-nodejs.md) to install the latest version of the Azure CLI. If you have scripts that need to be modified to use the new commands that work with Azure Resource Manager, see [Migrating to Azure Resource Manager-based development tools for HDInsight clusters](../articles/hdinsight/hdinsight-hadoop-development-using-azure-resource-manager.md) for more information.
11+
> Follow the steps in [Install the Azure CLI](/azure/cli/install-azure-cli) to install the latest version of the Azure CLI. If you have scripts that need to be modified to use the new commands that work with Azure Resource Manager, see [Migrating to Azure Resource Manager-based development tools for HDInsight clusters](../articles/hdinsight/hdinsight-hadoop-development-using-azure-resource-manager.md) for more information.
1212

includes/hdinsight-use-latest-powershell-cli-and-dotnet-sdk.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
author: jasonwhowell
33
ms.service: hdinsight
44
ms.topic: include
5-
ms.date: 10/25/2018
5+
ms.date: 06/05/2019
66
ms.author: jasonh
77
---
88
> [!IMPORTANT]
99
> Support for managing HDInsight resources using Azure Service Manager (ASM) through Azure PowerShell, the Azure CLI, and the HDInsight .NET SDK is **deprecated**, and was removed on January 1, 2017. The steps in this document use the new Azure PowerShell cmdlets, Azure CLI commands, and .NET SDK that work with Azure Resource Manager.
1010
>
11-
> Please follow the steps in the [Install and Configure Azure CLI](../articles/cli-install-nodejs.md) and [Install and Configure Azure PowerShell](/powershell/azureps-cmdlets-docs) to install the latest version of Azure PowerShell and the Azure CLI. To install the latest version of the HDInsight .NET SDK, use the information provided on the [Microsoft Azure HDInsight .NET SDK](https://www.nuget.org/packages/Microsoft.WindowsAzure.Management.HDInsight/) NuGet page. If you have existing scripts or applications that need to be modified to use the new cmdlets, new CLI commands, or .NET SDK, see [Migrating to Azure Resource Manager-based development tools for HDInsight clusters](../articles/hdinsight/hdinsight-hadoop-development-using-azure-resource-manager.md) for more information.
11+
> Please follow the steps in the [Install and Configure Azure CLI](/azure/cli/install-azure-cli) and [Install and Configure Azure PowerShell](/powershell/azureps-cmdlets-docs) to install the latest version of Azure PowerShell and the Azure CLI. To install the latest version of the HDInsight .NET SDK, use the information provided on the [Microsoft Azure HDInsight .NET SDK](https://www.nuget.org/packages/Microsoft.WindowsAzure.Management.HDInsight/) NuGet page. If you have existing scripts or applications that need to be modified to use the new cmdlets, new CLI commands, or .NET SDK, see [Migrating to Azure Resource Manager-based development tools for HDInsight clusters](../articles/hdinsight/hdinsight-hadoop-development-using-azure-resource-manager.md) for more information.
1212
>
1313
>
1414

includes/howto-detach-disk-linux.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ When you no longer need a data disk that's attached to a virtual machine (VM), y
1313
## Find the disk
1414
Before you can detach a disk from a VM you need to find out the LUN number, which is an identifier for the disk to be detached. To do that, follow these steps:
1515

16-
1. Open Azure CLI and [connect to your Azure subscription](/cli/azure/authenticate-azure-cli). Make sure you are in Azure Service Management mode (`azure config mode asm`).
16+
1. Open the Azure CLI and [connect to your Azure subscription](/cli/azure/authenticate-azure-cli). Make sure you are in Azure Service Management mode (`azure config mode asm`).
1717
2. Find out which disks are attached to your VM. The following example lists disks for the VM named `myVM`:
1818

1919
```azurecli

includes/iot-hub-get-started-create-device-identity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
## Create a device identity
1414

15-
In this section, you use the Azure CLI to create a device identity for this tutorial. The Azure CLI is preinstalled in the [Azure Cloud Shell](~/articles/cloud-shell/overview.md), or you can [install it locally](https://docs.microsoft.com/cli/azure/install-azure-cli?view=azure-cli-latest). Device IDs are case sensitive.
15+
In this section, you use the Azure CLI to create a device identity for this tutorial. The Azure CLI is preinstalled in the [Azure Cloud Shell](~/articles/cloud-shell/overview.md), or you can [install the Azure CLI locally](/cli/azure/install-azure-cli). Device IDs are case sensitive.
1616

1717
1. Run the following command in the command-line environment where you are using the Azure CLI to install the IoT extension:
1818

includes/iot-solution-accelerators-access-vm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
## Access the virtual machine
1414

15-
The following steps use the `az` command in the Azure Cloud Shell. If you prefer, you can [Install Azure CLI 2.0](https://docs.microsoft.com/cli/azure/install-azure-cli) on your development machine and run the commands locally.
15+
The following steps use the Azure CLI in Azure Cloud Shell. If you prefer, you can [Install the Azure CLI](/cli/azure/install-azure-cli) on your development machine and run the commands locally.
1616

1717
The following steps show you how to configure the Azure virtual machine to allow **SSH** access. The steps shown assume the name you chose for the solution accelerator is **contoso-simulation** -- replace this value with the name of your deployment:
1818

0 commit comments

Comments
 (0)