Skip to content

Commit 7a5a3a1

Browse files
Merge pull request #266317 from halkazwini/storage
Azure CLI command link corrections
2 parents 91f21ae + 99f378a commit 7a5a3a1

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

articles/storage/blobs/storage-quickstart-blobs-cli.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ az login
3939

4040
## Create a resource group
4141

42-
Create an Azure resource group with the [az group create](/cli/azure/group#az-group-create()) command. A resource group is a logical container into which Azure resources are deployed and managed.
42+
Create an Azure resource group with the [az group create](/cli/azure/group#az-group-create) command. A resource group is a logical container into which Azure resources are deployed and managed.
4343

4444
Remember to replace placeholder values in angle brackets with your own values:
4545

@@ -51,7 +51,7 @@ az group create \
5151

5252
## Create a storage account
5353

54-
Create a general-purpose storage account with the [az storage account create](/cli/azure/storage/account#az-storage-account-create()) command. The general-purpose storage account can be used for all four services: blobs, files, tables, and queues.
54+
Create a general-purpose storage account with the [az storage account create](/cli/azure/storage/account#az-storage-account-create) command. The general-purpose storage account can be used for all four services: blobs, files, tables, and queues.
5555

5656
Remember to replace placeholder values in angle brackets with your own values:
5757

@@ -66,7 +66,7 @@ az storage account create \
6666

6767
## Create a container
6868

69-
Blobs are always uploaded into a container. You can organize groups of blobs in containers similar to the way you organize your files on your computer in folders. Create a container for storing blobs with the [az storage container create](/cli/azure/storage/container#az-storage-container-create()) command.
69+
Blobs are always uploaded into a container. You can organize groups of blobs in containers similar to the way you organize your files on your computer in folders. Create a container for storing blobs with the [az storage container create](/cli/azure/storage/container#az-storage-container-create) command.
7070

7171
The following example uses your Microsoft Entra account to authorize the operation to create the container. Before you create the container, assign the [Storage Blob Data Contributor](../../role-based-access-control/built-in-roles.md#storage-blob-data-contributor) role to yourself. Even if you are the account owner, you need explicit permissions to perform data operations against the storage account. For more information about assigning Azure roles, see [Assign an Azure role for access to blob data](assign-azure-role-data-access.md).
7272

@@ -101,7 +101,7 @@ vi helloworld
101101

102102
When the file opens, press **insert**. Type *Hello world*, then press **Esc**. Next, type *:x*, then press **Enter**.
103103

104-
In this example, you upload a blob to the container you created in the last step using the [az storage blob upload](/cli/azure/storage/blob#az-storage-blob-upload()) command. It's not necessary to specify a file path since the file was created at the root directory. Remember to replace placeholder values in angle brackets with your own values:
104+
In this example, you upload a blob to the container you created in the last step using the [az storage blob upload](/cli/azure/storage/blob#az-storage-blob-upload) command. It's not necessary to specify a file path since the file was created at the root directory. Remember to replace placeholder values in angle brackets with your own values:
105105

106106
```azurecli
107107
az storage blob upload \
@@ -116,11 +116,11 @@ This operation creates the blob if it doesn't already exist, and overwrites it i
116116

117117
When you upload a blob using the Azure CLI, it issues respective [REST API calls](/rest/api/storageservices/blob-service-rest-api) via http and https protocols.
118118

119-
To upload multiple files at the same time, you can use the [az storage blob upload-batch](/cli/azure/storage/blob#az-storage-blob-upload-batch()) command.
119+
To upload multiple files at the same time, you can use the [az storage blob upload-batch](/cli/azure/storage/blob#az-storage-blob-upload-batch) command.
120120

121121
## List the blobs in a container
122122

123-
List the blobs in the container with the [az storage blob list](/cli/azure/storage/blob#az-storage-blob-list()) command. Remember to replace placeholder values in angle brackets with your own values:
123+
List the blobs in the container with the [az storage blob list](/cli/azure/storage/blob#az-storage-blob-list) command. Remember to replace placeholder values in angle brackets with your own values:
124124

125125
```azurecli
126126
az storage blob list \
@@ -132,7 +132,7 @@ az storage blob list \
132132

133133
## Download a blob
134134

135-
Use the [az storage blob download](/cli/azure/storage/blob#az-storage-blob-download()) command to download the blob you uploaded earlier. Remember to replace placeholder values in angle brackets with your own values:
135+
Use the [az storage blob download](/cli/azure/storage/blob#az-storage-blob-download) command to download the blob you uploaded earlier. Remember to replace placeholder values in angle brackets with your own values:
136136

137137
```azurecli
138138
az storage blob download \
@@ -156,7 +156,7 @@ azcopy copy 'C:\myDirectory\myFile.txt' 'https://mystorageaccount.blob.core.wind
156156

157157
## Clean up resources
158158

159-
If you want to delete the resources you created as part of this quickstart, including the storage account, delete the resource group by using the [az group delete](/cli/azure/group#az-group-delete()) command. Remember to replace placeholder values in angle brackets with your own values:
159+
If you want to delete the resources you created as part of this quickstart, including the storage account, delete the resource group by using the [az group delete](/cli/azure/group#az-group-delete) command. Remember to replace placeholder values in angle brackets with your own values:
160160

161161
```azurecli
162162
az group delete \

0 commit comments

Comments
 (0)