You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage/blobs/access-tiers-online-manage.md
+19-19Lines changed: 19 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ You can set a blob's access tier in any of the following ways:
20
20
21
21
- By setting the account default access tier setting for the storage account. Blobs in the account inherit this access tier unless you explicitly override the setting for an individual blob.
22
22
23
-
- By explicitly setting a blob's tier on upload. You can create a blob in the hot, cool, cold, or archive tier.
23
+
- By explicitly setting a blob's tier on upload. You can create a blob in the hot, cool, cold, smart, or archive tier.
24
24
- By changing an existing blob's tier with a Set Blob Tier operation. Typically, you would use this operation to move from a hotter tier to a cooler one.
25
25
- By copying a blob with a Copy Blob operation. Typically, you would use this operation to move from a cooler tier to a hotter one.
26
26
@@ -64,7 +64,7 @@ To update the default access tier for an existing storage account in the Azure p
64
64
65
65
To change the default access tier setting for a storage account with PowerShell, call the [Set-AzStorageAccount](/powershell/module/az.storage/set-azstorageaccount) command, specifying the new default access tier.
To change the default access tier setting for a storage account with PowerShell, call the [Set-AzStorageAccount](/powershell/module/az.storage/set-azstorageaccount) command, specifying the new default access tier.
77
+
To change the default access tier setting for a storage account with Azure CLI, call the [az storage account update](/cli/azure/storage/account#az-storage-account-update) command, specifying the new default access tier.
78
78
79
-
```azurecli
79
+
```azurecli-interactive
80
80
# Change the storage account tier to cool
81
81
az storage account update \
82
82
--resource-group <resource-group> \
@@ -94,7 +94,7 @@ N/A
94
94
95
95
When you upload a blob to Azure Storage, you have two options for setting the blob's tier on upload:
96
96
97
-
- You can explicitly specify the tier in which the blob will be created. This setting overrides the default access tier for the storage account. You can set the tier for a blob or set of blobs on upload to hot, cool, cold or archive.
97
+
- You can explicitly specify the tier in which the blob will be created. This setting overrides the default access tier for the storage account. You can set the tier for a blob or set of blobs on upload to hot, cool, cold, smart or archive.
98
98
- You can upload a blob without specifying a tier. In this case, the blob will be created in the default access tier specified for the storage account (either hot or cool).
99
99
100
100
If you are uploading a new blob that uses an encryption scope, you cannot change the access tier for that blob.
@@ -125,11 +125,11 @@ To upload a blob or set of blobs to a specific tier from the Azure portal, follo
125
125
126
126
To upload a blob or set of blobs to a specific tier with PowerShell, call the [Set-AzStorageBlobContent](/powershell/module/az.storage/set-azstorageblobcontent) command, as shown in the following example. Remember to replace the placeholder values in brackets with your own values:
To upload a blob to a specific tier with Azure CLI, call the [az storage blob upload](/cli/azure/storage/blob#az-storage-blob-upload) command, as shown in the following example. Remember to replace the placeholder values in brackets with your own values. Replace the `<tier>` placeholder with `hot`, `cool`, `cold`, or `archive`.
157
+
To upload a blob to a specific tier with Azure CLI, call the [az storage blob upload](/cli/azure/storage/blob#az-storage-blob-upload) command, as shown in the following example. Remember to replace the placeholder values in brackets with your own values. Replace the `<tier>` placeholder with `hot`, `cool`, `cold`, `smart`, or `archive`.
158
158
159
-
```azurecli
159
+
```azurecli-interactive
160
160
az storage blob upload \
161
161
--account-name <storage-account> \
162
162
--container-name <container> \
@@ -166,9 +166,9 @@ az storage blob upload \
166
166
--auth-mode login
167
167
```
168
168
169
-
To upload a set of blobs to a specific tier with Azure CLI, call the [az storage blob upload-batch](/cli/azure/storage/blob#az-storage-blob-upload-batch) command, as shown in the following example. Remember to replace the placeholder values in brackets with your own values. Replace the `<tier>` placeholder with `hot`, `cool`, `cold`, or `archive`.
169
+
To upload a set of blobs to a specific tier with Azure CLI, call the [az storage blob upload-batch](/cli/azure/storage/blob#az-storage-blob-upload-batch) command, as shown in the following example. Remember to replace the placeholder values in brackets with your own values. Replace the `<tier>` placeholder with `hot`, `cool`, `cold`, `smart`, or `archive`.
170
170
171
-
```azurecli
171
+
```azurecli-interactive
172
172
az storage blob upload-batch \
173
173
--destination <container> \
174
174
--source <source-directory> \
@@ -229,7 +229,7 @@ If a blob's access tier is inferred from the default account access tier setting
229
229
230
230
To determine a blob's access tier and whether it's inferred from Azure PowerShell, retrieve the blob, then check its **AccessTier** and **AccessTierInferred** properties.
To determine a blob's access tier and whether it's inferred from Azure CLI, retrieve the blob, then check its **blobTier** and **blobTierInferred** properties.
253
253
254
-
```azurecli
254
+
```azurecli-interactive
255
255
az storage blob show \
256
256
--container-name <container> \
257
257
--name <blob> \
@@ -300,7 +300,7 @@ To change a blob's tier to a cooler tier in the Azure portal, follow these steps
300
300
301
301
To change a blob's tier to a cooler tier with PowerShell, use the blob's **BlobClient** property to return a .NET reference to the blob, then call the **SetAccessTier** method on that reference. Remember to replace placeholders in angle brackets with your own values:
To change a blob's tier to a cooler tier with Azure CLI, call the [az storage blob set-tier](/cli/azure/storage/blob#az-storage-blob-set-tier) command. Remember to replace placeholders in angle brackets with your own values:
324
324
325
-
```azurecli
325
+
```azurecli-interactive
326
326
az storage blob set-tier \
327
327
--account-name <storage-account> \
328
328
--container-name <container> \
@@ -368,7 +368,7 @@ N/A
368
368
369
369
To copy a blob to from cool to hot with PowerShell, call the [Start-AzStorageBlobCopy](/powershell/module/az.storage/start-azstorageblobcopy) command and specify the target tier. Remember to replace placeholders in angle brackets with your own values:
To copy a blob to a warmer tier with Azure CLI, call the [az storage blob copy start](/cli/azure/storage/blob/copy#az-storage-blob-copy-start) command and specify the target tier. Remember to replace placeholders in angle brackets with your own values:
397
397
398
-
```azurecli
398
+
```azurecli-interactive
399
399
az storage blob copy start \
400
400
--source-container <source-container> \
401
401
--source-blob <source-blob> \
@@ -436,7 +436,7 @@ N/A
436
436
437
437
#### [PowerShell](#tab/azure-powershell)
438
438
439
-
```azurepowershell
439
+
```azurepowershell-interactive
440
440
# Initialize these variables with your values.
441
441
$rgName = "<resource-group>"
442
442
$accountName = "<storage-account>"
@@ -475,7 +475,7 @@ N/A
475
475
476
476
#### [Azure CLI](#tab/azure-cli)
477
477
478
-
```azurecli
478
+
```azurecli-interactive
479
479
az storage blob list --account-name $accountName --account-key $key \
Copy file name to clipboardExpand all lines: articles/storage/blobs/access-tiers-overview.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -124,7 +124,7 @@ Changing a blob's tier from a warmer tier to a cooler one is instantaneous, as i
124
124
125
125
Keep in mind the following points when changing a blob's tier:
126
126
127
-
- You can't use **Set Blob Tier** to archive a a blob that uses an encryption scope. You can only use **Set Blob Tier** to move between online access tiers. For more information about encryption scopes, see [Encryption scopes for Blob storage](encryption-scope-overview.md).
127
+
- You can't use **Set Blob Tier** to archive a blob that uses an encryption scope. You can only use **Set Blob Tier** to move between online access tiers. For more information about encryption scopes, see [Encryption scopes for Blob storage](encryption-scope-overview.md).
128
128
129
129
- If a blob is explicitly moved to the cool or cold tier and then moved to the archive tier, the early deletion charge applies.
130
130
@@ -211,12 +211,12 @@ The cold tier requires the following minimum versions of REST, SDKs, and tools
Copy file name to clipboardExpand all lines: articles/storage/blobs/access-tiers-smart.md
+50Lines changed: 50 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,56 @@ Smart tier is configured on the [default account access tier](access-tiers-overv
37
37
You can move objects out of smart tier by setting a different online tier or changing the default account access tier to another tier. Once moved to an explicit tier, objects can't be tiered back to smart tier.
38
38
To set the default access tier setting for a storage account, see [Set a blob's access tier](access-tiers-online-manage.md)
39
39
40
+
#### [Portal](#tab/azure-portal)
41
+
42
+
To set the default access tier to *Smart* for a storage account at create time in the Azure portal, follow these steps:
43
+
44
+
1. Navigate to the **Storage accounts** page, and select the **Create** button.
45
+
46
+
2. Fill out the **Basics** tab.
47
+
48
+
3. On the **Advanced** tab, under **Blob storage**, set the **Access tier** to *Smart*.
49
+
50
+
4. Select **Review + Create** to validate your settings and create your storage account.
51
+
52
+
:::image type="content" source="media/access-tiers-online-manage/set-default-access-tier-create-portal-smart.png" alt-text="Screenshot showing how to set the default access tier to Smart when creating a storage account.":::
53
+
54
+
To update the default access tier to *Smart* for an existing storage account in the Azure portal, follow these steps:
55
+
56
+
1. Navigate to the storage account in the Azure portal.
57
+
58
+
2. Under **Settings**, select **Configuration**.
59
+
60
+
3. Locate the **Blob access tier (default)** setting, and select *Smart*. The default setting is *Hot*, if you have not previously set this property.
61
+
62
+
4. Save your changes.
63
+
64
+
#### [PowerShell](#tab/azure-powershell)
65
+
66
+
To configure `Smart` as the default access tier setting for a storage account with PowerShell, call the Azure REST API directly.
To configure `Smart` as the default access tier setting for a storage account with Azure CLI, call the Azure REST API directly.
84
+
85
+
```azurecli-interactive
86
+
az rest --method patch --url "https://management.azure.com/subscriptions/<subscription-id>/resourceGroups/<resource-group>/providers/Microsoft.Storage/storageAccounts/<storage-account-name>?api-version=2025-08-01" --body '{"properties":{"accessTier":"Smart"}}'
87
+
```
88
+
89
+
---
40
90
41
91
## Working with smart tier
42
92
All smart tiered objects are automatically managed across the underlying capacity tiers - hot, cool, and cold. Smart tier leverages the regular hot, cool, and cold access tiers in the background. These tiers are called the capacity tier. Smart tier doesn't support the archive tier or premium storage accounts. It works only on block blobs, page blobs aren't supported.
0 commit comments