Skip to content

Commit 9ff5b67

Browse files
authored
support account cold tier (#25820)
1 parent e72e6c8 commit 9ff5b67

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

src/Storage/Storage.Management/ChangeLog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Supported account tier Cold
22+
- `New-AzStorageAccount`
23+
- `Set-AzStorageAccount`
2124
* Updated list share output display format
2225
- `Get-AzStorageShare`
2326

src/Storage/Storage.Management/StorageAccount/NewAzureStorageAccount.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ public string Kind
116116
HelpMessage = "Storage Account Access Tier.")]
117117
[ValidateSet(AccountAccessTier.Hot,
118118
AccountAccessTier.Cool,
119+
AccountAccessTier.Cold,
119120
IgnoreCase = true)]
120121
public string AccessTier { get; set; }
121122

src/Storage/Storage.Management/StorageAccount/SetAzureStorageAccount.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ public SwitchParameter Force
9999
HelpMessage = "Storage Account Access Tier.")]
100100
[ValidateSet(AccountAccessTier.Hot,
101101
AccountAccessTier.Cool,
102+
AccountAccessTier.Cold,
102103
IgnoreCase = true)]
103104
public string AccessTier { get; set; }
104105

src/Storage/Storage.Management/StorageAccount/StorageAccountBaseCmdlet.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ protected struct AccountAccessTier
5757
{
5858
internal const string Hot = "Hot";
5959
internal const string Cool = "Cool";
60+
internal const string Cold = "Cold";
6061
}
6162
protected struct AzureBlobType
6263
{

0 commit comments

Comments
 (0)