Skip to content

Commit 4cf59f3

Browse files
committed
Merge branch 'Compute-SharedImageGallery' of github.com:Azure/azure-powershell into Compute-SharedImageGallery
2 parents 9edfcfa + ac58ffa commit 4cf59f3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ResourceManager/Compute/Commands.Compute/help/New-AzureRmGalleryImageVersion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ PS C:\> $region1 = @{Name='West US';ReplicaCount=1}
3131
PS C:\> $region2 = @{Name='East US';ReplicaCount=2}
3232
PS C:\> $region3 = @{Name='Central US'}
3333
PS C:\> $targetRegions = @($region1,$region2,$region3)
34-
PS C:\> New-AzureRmGalleryImageVersion -ResourceGroupName $rgname -GalleryName $galleryName -GalleryImageName $imageName -Name $versionName -Location $location -SourceImageId $sourceImageId -ReplicaCount 2 -PublishingProfileExcludeFromLatest -PublishingProfileEndOfLifeDate $endOfLifeDate -TargetRegion $targetRegions
34+
PS C:\> New-AzureRmGalleryImageVersion -ResourceGroupName $rgname -GalleryName $galleryName -GalleryImageName $imageName -Name $versionName -Location $location -SourceImageId $sourceImageId -ReplicaCount 2 -PublishingProfileEndOfLifeDate $endOfLifeDate -TargetRegion $targetRegions
3535
```
3636

3737
Create a gallery image version.

src/ResourceManager/Compute/Commands.Compute/help/Update-AzureRmGalleryImageVersion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ PS C:\> $region1 = @{Name='West US';ReplicaCount=1}
4848
PS C:\> $region2 = @{Name='East US';ReplicaCount=2}
4949
PS C:\> $region3 = @{Name='Central US'}
5050
PS C:\> $targetRegions = @($region1,$region2,$region3)
51-
PS C:\> Update-AzureRmGalleryImageVersion -ResourceGroupName $rgname -GalleryName $galleryName -GalleryImageName $imageName -Name $versionName -ReplicaCount 2 -PublishingProfileExcludeFromLatest -PublishingProfileEndOfLifeDate $endOfLifeDate -TargetRegion $targetRegions
51+
PS C:\> Update-AzureRmGalleryImageVersion -ResourceGroupName $rgname -GalleryName $galleryName -GalleryImageName $imageName -Name $versionName -ReplicaCount 2 -PublishingProfileEndOfLifeDate $endOfLifeDate -TargetRegion $targetRegions
5252
```
5353

5454
Update a gallery image version.

0 commit comments

Comments
 (0)