Skip to content

Commit 2aabda9

Browse files
authored
update LFS breaking change warning message (#23543)
1 parent 66e235c commit 2aabda9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ public bool EnableAzureActiveDirectoryDomainServicesForFile
288288
}
289289
private bool? enableAzureActiveDirectoryDomainServicesForFile = null;
290290

291+
[CmdletParameterBreakingChangeWithVersion("EnableLargeFileShare", "12.0.0", "7.0.0", ChangeDescription = "EnableLargeFileShare parameter will be deprecated in a future release.")]
291292
[Parameter(Mandatory = false, HelpMessage = "Indicates whether or not the storage account can support large file shares with more than 5 TiB capacity. Once the account is enabled, the feature cannot be disabled. Currently only supported for LRS and ZRS replication types, hence account conversions to geo-redundant accounts would not be possible. Learn more in https://go.microsoft.com/fwlink/?linkid=2086047")]
292293
public SwitchParameter EnableLargeFileShare { get; set; }
293294

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ public bool EnableAzureActiveDirectoryDomainServicesForFile
246246
}
247247
private bool? enableAzureActiveDirectoryDomainServicesForFile = null;
248248

249-
[CmdletParameterBreakingChangeWithVersion("EnableLargeFileShare", "11.0.0", "6.0.0", ChangeDescription = "EnableLargeFileShare parameter will be deprecated in a future release.")]
249+
[CmdletParameterBreakingChangeWithVersion("EnableLargeFileShare", "12.0.0", "7.0.0", ChangeDescription = "EnableLargeFileShare parameter will be deprecated in a future release.")]
250250
[Parameter(Mandatory = false, HelpMessage = "Indicates whether or not the storage account can support large file shares with more than 5 TiB capacity. Once the account is enabled, the feature cannot be disabled. Currently only supported for LRS and ZRS replication types, hence account conversions to geo-redundant accounts would not be possible. Learn more in https://go.microsoft.com/fwlink/?linkid=2086047")]
251251
public SwitchParameter EnableLargeFileShare { get; set; }
252252

0 commit comments

Comments
 (0)