Thanks for posting your question in the Microsoft Q&A forum.
To enable the use of osDisk.managedDisk.storageAccountType
with ephemeral disks in Azure, you need to register your subscription for the feature. Here’s how you can do it:
- Use the Azure CLI to register your subscription for the preview feature. Run the following command:
az feature register --namespace Microsoft.Compute --name AdditionalStorageTypesForEphemeralOSDiskPreview
- After registering, you can check the registration status using:
az feature show --namespace Microsoft.Compute --name AdditionalStorageTypesForEphemeralOSDiskPreview
- If needed, you might have to refresh the registration provider:
az provider register --namespace Microsoft.Compute
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful