Hi Maulin,
Changing these values is not allowed, so the only option is to create a new gallery and place the images with the new setting here. It is the same thing when you have Hypervisor versions 1 and 2; they can't coexist.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am using Azure compute galleries for multiple purpose and for that I have multiple Image definition which I have created using the below command
az sig image-definition create --gallery-image-definition trusted-launch-test --gallery-name dev_image_gallery --offer cbl-mariner --os-type Linux --publisher MicrosoftCBLMariner --hyper-v-generation V2 --sku trusted-launch-test --subscription 00000000-0000-0000-0000-000000000000 -g dev-image
Now I want to add SecurityType with TrustedLaunch value in GalleryImageFeature and for that I am using below command but that throws an error
az sig image-definition update --gallery-image-definition trusted-launch-test- --gallery-name dev_image_gallery --subscription 00000000-0000-0000-0000-000000000000 -g dev-image --add features SecurityType="TrustedLaunchSupported"
Error:
(PropertyChangeNotAllowed) Changing property 'galleryImage.properties.features' is not allowed.
Code: PropertyChangeNotAllowed
Message: Changing property 'galleryImage.properties.features' is not allowed.
Target: galleryImage.properties.features
So can someone look into this and guide what's the exact process for this?
Hi Maulin,
Changing these values is not allowed, so the only option is to create a new gallery and place the images with the new setting here. It is the same thing when you have Hypervisor versions 1 and 2; they can't coexist.