Skip to content

Commit e578436

Browse files
authored
Update New-AzGalleryImageVersion.md example with correct value for -StorageAccountType (#26509)
Update the value passed to parameter -StorageAccountType from 'StandardSSD_LRS' to 'Standard_LRS'
1 parent 8e5469d commit e578436

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ $galleryImageDefinitionName = "myImage"
5353
$galleryImageVersionName = "1.0.0"
5454
$location = "eastus"
5555
$sourceImageId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myImageRG/providers/Microsoft.Compute/images/myImage"
56-
$storageAccountType = "StandardSSD_LRS"
56+
$storageAccountType = "Standard_LRS"
5757
5858
New-AzGalleryImageVersion -ResourceGroupName $rgName -GalleryName $galleryName -GalleryImageDefinitionName $galleryImageDefinitionName -Name $galleryImageVersionName -Location $location -StorageAccountType $storageAccountType -SourceImageId $sourceImageId
5959
```
@@ -276,7 +276,7 @@ $sourceImageId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGr
276276
277277
$replicaCount = 1
278278
$extendedLocation = @{Name = 'microsoftlosangeles1';Type='EdgeZone'}
279-
$edgezone_losangeles = @{Location = "westus";ExtendedLocation=$extendedLocation;ReplicaCount = 3;StorageAccountType = 'StandardSSD_LRS'}
279+
$edgezone_losangeles = @{Location = "westus";ExtendedLocation=$extendedLocation;ReplicaCount = 3;StorageAccountType = 'Standard_LRS'}
280280
$targetExtendedLocations = @($edgezone_losangeles)
281281
282282
New-AzGalleryImageVersion -ResourceGroupName $rgName -GalleryName $galleryName -GalleryImageDefinitionName $galleryImageDefinitionName -Name $galleryImageVersionName -Location $location -SourceImageId $sourceImageId -ReplicaCount 1 -StorageAccountType "Standard_LRS" -TargetExtendedLocation $targetExtendedLocations

0 commit comments

Comments
 (0)