Skip to content

Commit

Permalink
Update StorageAccountType LRS values to correct _LRS format (#20727)
Browse files Browse the repository at this point in the history
* lrs fixed

* changelog

---------

Co-authored-by: Yeming Liu <11371776+isra-fel@users.noreply.github.com>
  • Loading branch information
Sandido and isra-fel authored Jan 27, 2023
1 parent a54d400 commit 68218ca
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 9 deletions.
3 changes: 2 additions & 1 deletion src/Compute/Compute/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
-->
## Upcoming Release
* Added `ConsistencyMode` parameter to `New-AzRestorePoint`
* Added `ConsistencyMode` parameter to `New-AzRestorePoint`.
* Updated the storage account type value in several locations from the outdated `StandardLRS` to the current `Standard_LRS`.
* Filled in missing parameter descriptions across multiple parameters and improved some existing parameter descriptions.

## Version 5.3.0
Expand Down
2 changes: 1 addition & 1 deletion src/Compute/Compute/help/Add-AzVmssDataDisk.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ The **Add-AzVmssDataDisk** cmdlet adds a data disk to the Virtual Machine Scale
### Example 1: Add a data disk
```powershell
$vmss = New-AzVmssConfig -Location $Loc -SkuCapacity 2 -SkuName "Standard_A0" -UpgradePolicyMode "Automatic"
$vmss = Add-AzVmssDataDisk -VirtualMachineScaleSet $vmss -Name 'DataDisk1' -Lun 0 -Caching 'ReadOnly' -CreateOption Empty -DiskSizeGB 10 -StorageAccountType StandardLRS
$vmss = Add-AzVmssDataDisk -VirtualMachineScaleSet $vmss -Name 'DataDisk1' -Lun 0 -Caching 'ReadOnly' -CreateOption Empty -DiskSizeGB 10 -StorageAccountType Standard_LRS
```

This command adds an empty data disk to the VMSS object.
Expand Down
2 changes: 1 addition & 1 deletion src/Compute/Compute/help/New-AzSnapshot.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The **New-AzSnapshot** cmdlet creates a snapshot.

### Example 1
```powershell
$snapshotconfig = New-AzSnapshotConfig -Location 'Central US' -DiskSizeGB 5 -AccountType StandardLRS -OsType Windows -CreateOption Empty -EncryptionSettingsEnabled $true;
$snapshotconfig = New-AzSnapshotConfig -Location 'Central US' -DiskSizeGB 5 -AccountType Standard_LRS -OsType Windows -CreateOption Empty -EncryptionSettingsEnabled $true;
$secretUrl = 'https://myvault.vault-int.azure-int.net/secrets/123/';
$secretId = '/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup01/providers/Microsoft.KeyVault/vaults/TestVault123';
$keyUrl = 'https://myvault.vault-int.azure-int.net/keys/456';
Expand Down
2 changes: 1 addition & 1 deletion src/Compute/Compute/help/Set-AzDiskDiskEncryptionKey.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The **Set-AzDiskDiskEncryptionKey** cmdlet sets the disk encryption key properti

### Example 1
```powershell
$diskconfig = New-AzDiskConfig -Location 'Central US' -DiskSizeGB 5 -SkuName StandardLRS -OsType Windows -CreateOption Empty -EncryptionSettingsEnabled $true;
$diskconfig = New-AzDiskConfig -Location 'Central US' -DiskSizeGB 5 -SkuName Standard_LRS -OsType Windows -CreateOption Empty -EncryptionSettingsEnabled $true;
$secretUrl = 'https://myvault.vault-int.azure-int.net/secrets/123/';
$secretId = '/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup01/providers/Microsoft.KeyVault/vaults/TestVault123';
$keyUrl = 'https://myvault.vault-int.azure-int.net/keys/456';
Expand Down
2 changes: 1 addition & 1 deletion src/Compute/Compute/help/Set-AzDiskKeyEncryptionKey.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The **Set-AzDiskKeyEncryptionKey** cmdlet sets the key encryption key properties

### Example 1
```powershell
$diskconfig = New-AzDiskConfig -Location 'Central US' -DiskSizeGB 5 -SkuName StandardLRS -OsType Windows -CreateOption Empty -EncryptionSettingsEnabled $true;
$diskconfig = New-AzDiskConfig -Location 'Central US' -DiskSizeGB 5 -SkuName Standard_LRS -OsType Windows -CreateOption Empty -EncryptionSettingsEnabled $true;
$secretUrl = 'https://myvault.vault-int.azure-int.net/secrets/123/';
$secretId = '/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup01/providers/Microsoft.KeyVault/vaults/TestVault123';
$keyUrl = 'https://myvault.vault-int.azure-int.net/keys/456';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The **Set-AzSnapshotDiskEncryptionKey** cmdlet sets the disk encryption key prop

### Example 1
```powershell
$snapshotconfig = New-AzSnapshotConfig -Location 'Central US' -DiskSizeGB 5 -AccountType StandardLRS -OsType Windows -CreateOption Empty -EncryptionSettingsEnabled $true;
$snapshotconfig = New-AzSnapshotConfig -Location 'Central US' -DiskSizeGB 5 -AccountType Standard_LRS -OsType Windows -CreateOption Empty -EncryptionSettingsEnabled $true;
$secretUrl = 'https://myvault.vault-int.azure-int.net/secrets/123/';
$secretId = '/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup01/providers/Microsoft.KeyVault/vaults/TestVault123';
$keyUrl = 'https://myvault.vault-int.azure-int.net/keys/456';
Expand Down
2 changes: 1 addition & 1 deletion src/Compute/Compute/help/Set-AzSnapshotKeyEncryptionKey.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The **Set-AzSnapshotKeyEncryptionKey** cmdlet sets the key encryption key proper

### Example 1
```powershell
$snapshotconfig = New-AzSnapshotConfig -Location 'Central US' -DiskSizeGB 5 -AccountType StandardLRS -OsType Windows -CreateOption Empty -EncryptionSettingsEnabled $true;
$snapshotconfig = New-AzSnapshotConfig -Location 'Central US' -DiskSizeGB 5 -AccountType Standard_LRS -OsType Windows -CreateOption Empty -EncryptionSettingsEnabled $true;
$secretUrl = 'https://myvault.vault-int.azure-int.net/secrets/123/';
$secretId = '/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup01/providers/Microsoft.KeyVault/vaults/TestVault123';
$keyUrl = 'https://myvault.vault-int.azure-int.net/keys/456';
Expand Down
4 changes: 2 additions & 2 deletions src/Compute/Compute/help/Update-AzVmss.md
Original file line number Diff line number Diff line change
Expand Up @@ -468,8 +468,8 @@ Accept wildcard characters: False
### -ManagedDiskStorageAccountType
Specifies the storage account type for managed disk.
The acceptable values for this parameter are:
- StandardLRS
- PremiumLRS
- Standard_LRS
- Premium_LRS
```yaml
Type: System.String
Expand Down

0 comments on commit 68218ca

Please sign in to comment.