Skip to content

Commit 68218ca

Browse files
Sandidoisra-fel
andauthored
Update StorageAccountType LRS values to correct _LRS format (#20727)
* lrs fixed * changelog --------- Co-authored-by: Yeming Liu <[email protected]>
1 parent a54d400 commit 68218ca

8 files changed

+10
-9
lines changed

src/Compute/Compute/ChangeLog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
2121
-->
2222
## Upcoming Release
23-
* Added `ConsistencyMode` parameter to `New-AzRestorePoint`
23+
* Added `ConsistencyMode` parameter to `New-AzRestorePoint`.
24+
* Updated the storage account type value in several locations from the outdated `StandardLRS` to the current `Standard_LRS`.
2425
* Filled in missing parameter descriptions across multiple parameters and improved some existing parameter descriptions.
2526

2627
## Version 5.3.0

src/Compute/Compute/help/Add-AzVmssDataDisk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The **Add-AzVmssDataDisk** cmdlet adds a data disk to the Virtual Machine Scale
2828
### Example 1: Add a data disk
2929
```powershell
3030
$vmss = New-AzVmssConfig -Location $Loc -SkuCapacity 2 -SkuName "Standard_A0" -UpgradePolicyMode "Automatic"
31-
$vmss = Add-AzVmssDataDisk -VirtualMachineScaleSet $vmss -Name 'DataDisk1' -Lun 0 -Caching 'ReadOnly' -CreateOption Empty -DiskSizeGB 10 -StorageAccountType StandardLRS
31+
$vmss = Add-AzVmssDataDisk -VirtualMachineScaleSet $vmss -Name 'DataDisk1' -Lun 0 -Caching 'ReadOnly' -CreateOption Empty -DiskSizeGB 10 -StorageAccountType Standard_LRS
3232
```
3333

3434
This command adds an empty data disk to the VMSS object.

src/Compute/Compute/help/New-AzSnapshot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The **New-AzSnapshot** cmdlet creates a snapshot.
2424

2525
### Example 1
2626
```powershell
27-
$snapshotconfig = New-AzSnapshotConfig -Location 'Central US' -DiskSizeGB 5 -AccountType StandardLRS -OsType Windows -CreateOption Empty -EncryptionSettingsEnabled $true;
27+
$snapshotconfig = New-AzSnapshotConfig -Location 'Central US' -DiskSizeGB 5 -AccountType Standard_LRS -OsType Windows -CreateOption Empty -EncryptionSettingsEnabled $true;
2828
$secretUrl = 'https://myvault.vault-int.azure-int.net/secrets/123/';
2929
$secretId = '/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup01/providers/Microsoft.KeyVault/vaults/TestVault123';
3030
$keyUrl = 'https://myvault.vault-int.azure-int.net/keys/456';

src/Compute/Compute/help/Set-AzDiskDiskEncryptionKey.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The **Set-AzDiskDiskEncryptionKey** cmdlet sets the disk encryption key properti
2424

2525
### Example 1
2626
```powershell
27-
$diskconfig = New-AzDiskConfig -Location 'Central US' -DiskSizeGB 5 -SkuName StandardLRS -OsType Windows -CreateOption Empty -EncryptionSettingsEnabled $true;
27+
$diskconfig = New-AzDiskConfig -Location 'Central US' -DiskSizeGB 5 -SkuName Standard_LRS -OsType Windows -CreateOption Empty -EncryptionSettingsEnabled $true;
2828
$secretUrl = 'https://myvault.vault-int.azure-int.net/secrets/123/';
2929
$secretId = '/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup01/providers/Microsoft.KeyVault/vaults/TestVault123';
3030
$keyUrl = 'https://myvault.vault-int.azure-int.net/keys/456';

src/Compute/Compute/help/Set-AzDiskKeyEncryptionKey.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The **Set-AzDiskKeyEncryptionKey** cmdlet sets the key encryption key properties
2424

2525
### Example 1
2626
```powershell
27-
$diskconfig = New-AzDiskConfig -Location 'Central US' -DiskSizeGB 5 -SkuName StandardLRS -OsType Windows -CreateOption Empty -EncryptionSettingsEnabled $true;
27+
$diskconfig = New-AzDiskConfig -Location 'Central US' -DiskSizeGB 5 -SkuName Standard_LRS -OsType Windows -CreateOption Empty -EncryptionSettingsEnabled $true;
2828
$secretUrl = 'https://myvault.vault-int.azure-int.net/secrets/123/';
2929
$secretId = '/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup01/providers/Microsoft.KeyVault/vaults/TestVault123';
3030
$keyUrl = 'https://myvault.vault-int.azure-int.net/keys/456';

src/Compute/Compute/help/Set-AzSnapshotDiskEncryptionKey.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The **Set-AzSnapshotDiskEncryptionKey** cmdlet sets the disk encryption key prop
2424

2525
### Example 1
2626
```powershell
27-
$snapshotconfig = New-AzSnapshotConfig -Location 'Central US' -DiskSizeGB 5 -AccountType StandardLRS -OsType Windows -CreateOption Empty -EncryptionSettingsEnabled $true;
27+
$snapshotconfig = New-AzSnapshotConfig -Location 'Central US' -DiskSizeGB 5 -AccountType Standard_LRS -OsType Windows -CreateOption Empty -EncryptionSettingsEnabled $true;
2828
$secretUrl = 'https://myvault.vault-int.azure-int.net/secrets/123/';
2929
$secretId = '/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup01/providers/Microsoft.KeyVault/vaults/TestVault123';
3030
$keyUrl = 'https://myvault.vault-int.azure-int.net/keys/456';

src/Compute/Compute/help/Set-AzSnapshotKeyEncryptionKey.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The **Set-AzSnapshotKeyEncryptionKey** cmdlet sets the key encryption key proper
2424

2525
### Example 1
2626
```powershell
27-
$snapshotconfig = New-AzSnapshotConfig -Location 'Central US' -DiskSizeGB 5 -AccountType StandardLRS -OsType Windows -CreateOption Empty -EncryptionSettingsEnabled $true;
27+
$snapshotconfig = New-AzSnapshotConfig -Location 'Central US' -DiskSizeGB 5 -AccountType Standard_LRS -OsType Windows -CreateOption Empty -EncryptionSettingsEnabled $true;
2828
$secretUrl = 'https://myvault.vault-int.azure-int.net/secrets/123/';
2929
$secretId = '/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup01/providers/Microsoft.KeyVault/vaults/TestVault123';
3030
$keyUrl = 'https://myvault.vault-int.azure-int.net/keys/456';

src/Compute/Compute/help/Update-AzVmss.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,8 +468,8 @@ Accept wildcard characters: False
468468
### -ManagedDiskStorageAccountType
469469
Specifies the storage account type for managed disk.
470470
The acceptable values for this parameter are:
471-
- StandardLRS
472-
- PremiumLRS
471+
- Standard_LRS
472+
- Premium_LRS
473473
474474
```yaml
475475
Type: System.String

0 commit comments

Comments
 (0)