summaryrefslogtreecommitdiff
path: root/sysutils/py-azure-cli/pkg-message
blob: 94eb14fea6e13cc04d0bd8804a5002219bda5a33 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[
{
	message: <<EOM
Welcome to the Azure CLI! The CLI is a tool designed to get you working quickly
and efficiently with Azure services, with an emphasis on automation.

The following article introduces features of the CLI and links out to resources
that help you be productive.
https://docs.microsoft.com/en-us/cli/azure/get-started-with-azure-cli

Tutorial to create virtual machines with the Azure CLI
https://docs.microsoft.com/en-us/cli/azure/azure-cli-vm-tutorial
In this tutorial, you learn all of the steps involved in setting up a virtual
machine with the Azure CLI. The tutorial also covers output queries, Azure
resource reuse, and resource cleanup.

Through terminal there is a simple way to sign in using device code:

  $ az login --use-device-code

Then open a browser page at https://aka.ms/devicelogin and enter the
authorization code displayed in your terminal.
EOM
	type: install
}
{
  type: upgrade
  maximum_version: "2.31.0"
  message: <<EOM
When upgrading to Azure CLI v2.31.0, you will need to re-authenticate on Azure
services.

  $ az login --use-device-code

Starting in version 2.30.0, Azure CLI uses MSAL as the underlying
authentication library. MSAL uses AAD v2.0 authentication flow to provide more
functionality and increases security for token cache.
More info: https://docs.microsoft.com/en-us/cli/azure/msal-based-azure-cli
EOM
}
]