This document details how to get started using Azure Cloud Shell.
PrerequisitesBefore you can use Azure Cloud Shell, you must register the Microsoft.CloudShell resource provider. Access to resources is enabled through provider namespaces that must be registered in your subscription. You only need to register the namespace once per subscription.
To see all resource providers, and the registration status for your subscription:
Sign in to the Azure portal.
On the Azure portal menu, search for Subscriptions. Select it from the available options.
On the Subscriptions page, select your subscription.
On your subscription page, expand Settings in left menu and select Resource providers.
In the Filter by name... box, enter cloudshell
to search for the resource provider.
Select the Microsoft.CloudShell resource provider from the provider list.
Select Register to change the status from unregistered to Registered.
Launch Cloud Shell from the top navigation of the Azure portal.
The first time you start Cloud Shell you're prompted to create an Azure Storage account for the Azure file share.
Select the Subscription used to create the storage account and file share.
Select Create storage.
Note
By following these steps, Cloud Shell creates a standard storage account and allocates 5 GB of storage for the file share. You can also create a storage account manually and specify the storage account and file share to use. If you use a Premium storage account, Cloud Shell allocates 100 GB of storage for the file share.
Cloud Shell allows you to select either Bash or PowerShell for your command-line experience.
Set your subscriptionList subscriptions you have access to.
Set your preferred subscription:
Tip
Your subscription is remembered for future sessions using /home/<user>/.azure/azureProfile.json
.
Run the following command to see a list of all Azure CLI commands.
az
Run the following command to get a list of Azure CLI commands that apply to WebApps:
az webapp --help
Run the following command to see a list of all Azure PowerShell cmdlets.
Get-Command -Module Az.*
Under Azure
drive, the Get-AzCommand
lists context-specific Azure commands.
Run the following commands to get a list the Azure PowerShell commands that apply to WebApps.
cd 'Azure:/My Subscription/WebApps'
Get-AzCommand
Next steps
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4