Skip to content

Commit 200fbf6

Browse files
authored
Merge pull request #93339 from xyh1/patch-77
Update storage-blob-create-account-block-blob.md
2 parents 7195242 + 3adb26a commit 200fbf6

File tree

1 file changed

+65
-0
lines changed

1 file changed

+65
-0
lines changed

articles/storage/blobs/storage-blob-create-account-block-blob.md

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,69 @@ The BlockBlobStorage account kind lets you create block blobs with premium perfo
1717

1818
For more information about BlockBlobStorage accounts, see [Azure storage account overview](https://docs.microsoft.com/azure/storage/common/storage-account-overview).
1919

20+
## Prerequisites
21+
22+
If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/) before you begin.
23+
24+
# [Portal](#tab/azure-portal)
25+
26+
None.
27+
28+
# [PowerShell](#tab/azure-powershell)
29+
30+
This how-to article requires the Azure PowerShell module Az version 1.2.0 or later. Run `Get-Module -ListAvailable Az` to find your current version. If you need to install or upgrade, see [Install Azure PowerShell module](/powershell/azure/install-Az-ps).
31+
32+
# [Azure CLI](#tab/azure-cli)
33+
34+
You can sign in to Azure and run Azure CLI commands in one of two ways:
35+
36+
- You can run CLI commands from within the Azure portal, in Azure Cloud Shell.
37+
- You can install the CLI and run CLI commands locally.
38+
39+
### Use Azure Cloud Shell
40+
41+
Azure Cloud Shell is a free Bash shell that you can run directly within the Azure portal. The Azure CLI is pre-installed and configured to use with your account. Click the **Cloud Shell** button on the menu in the upper-right section of the Azure portal:
42+
43+
[![Cloud Shell](../common/media/storage-quickstart-create-account/cloud-shell-menu.png)](https://portal.azure.com)
44+
45+
The button launches an interactive shell that you can use to run the steps outlined in this how-to article:
46+
47+
[![Screenshot showing the Cloud Shell window in the portal](../common/media/storage-quickstart-create-account/cloud-shell.png)](https://portal.azure.com)
48+
49+
### Install the CLI locally
50+
51+
You can also install and use the Azure CLI locally. This how-to article requires that you are running the Azure CLI version 2.0.46 or later. Run `az --version` to find the version. If you need to install or upgrade, see [Install the Azure CLI](/cli/azure/install-azure-cli).
52+
53+
---
54+
55+
## Sign in to Azure
56+
57+
# [Portal](#tab/azure-portal)
58+
59+
Sign in to the [Azure portal](https://portal.azure.com).
60+
61+
# [PowerShell](#tab/azure-powershell)
62+
63+
Sign in to your Azure subscription with the `Connect-AzAccount` command and follow the on-screen directions to authenticate.
64+
65+
```powershell
66+
Connect-AzAccount
67+
```
68+
69+
# [Azure CLI](#tab/azure-cli)
70+
71+
To launch Azure Cloud Shell, sign in to the [Azure portal](https://portal.azure.com).
72+
73+
To log into your local installation of the CLI, run the [az login](/cli/azure/reference-index#az-login) command:
74+
75+
```cli
76+
az login
77+
```
78+
79+
---
80+
81+
## Create a BlockBlobStorage account
82+
2083
## [Portal](#tab/azure-portal)
2184
To create a BlockBlobStorage account in the Azure portal, follow these steps:
2285

@@ -115,6 +178,8 @@ To create a block blob account by using the Azure CLI, you must first install Az
115178
--sku "Premium_LRS"
116179
```
117180

181+
---
182+
118183
## Next steps
119184

120185
- For more information about storage accounts, see [Azure storage account overview](https://docs.microsoft.com/azure/storage/common/storage-account-overview).

0 commit comments

Comments
 (0)