Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong parameter SourceImageId documented #122370

Closed
AlyaKoni opened this issue May 9, 2024 · 3 comments
Closed

Wrong parameter SourceImageId documented #122370

AlyaKoni opened this issue May 9, 2024 · 3 comments

Comments

@AlyaKoni
Copy link

AlyaKoni commented May 9, 2024

In the PowerShell example:

$rgName = "MyResourceGroup"
$galleryName = "MyGallery"
$galleryImageDefinitionName = "MyImageDef"
$location = "eastus"
$galleryImageVersionName = "1.0.0"
$sourceImageId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myVMRG/providers/Microsoft.Compute/galleries/MyGallery/images/Gen2VMImageDef/versions/0.0.1"
New-AzGalleryImageVersion -ResourceGroupName $rgName -GalleryName $galleryName -GalleryImageDefinitionName $galleryImageDefinitionName -Name $galleryImageVersionName -Location $location -SourceImageId $sourceImageId

The parameter SourceImageId is wrong. It has to be SourceImageVmId.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

@TPavanBalaji
Copy link

@AlyaKoni
Thanks for your feedback! We will investigate and update as appropriate.

@TPavanBalaji
Copy link

@AlyaKoni
Thanks for reporting this! We have created a PR for this issue and the changes should go live soon.

@TPavanBalaji
Copy link

@AlyaKoni
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants