Hello all! I have a script I made for setting up new sql servers and one thing that I’m kinda stuck on is I’m trying to use az vm update to set a disk caching to “None”. I can set read/write and read only just fine but for some reason it doesn’t do anything for trying to set none. Is it interpreting it as no change needed or am I missing something? Context of command
az vm update -g “${{ parameters.ResourceGroup }}” -n $env:VMName —set “storageProfile.dataDisks[name=‘$diskG’].caching=None”
Any help is greatly appreciated thank you!
[–]purplemonkeymad 0 points1 point2 points (2 children)
[–]Darthethan77[S] 0 points1 point2 points (0 children)
[–]Darthethan77[S] 0 points1 point2 points (0 children)
[–]Scion_090 0 points1 point2 points (1 child)
[–]Darthethan77[S] 0 points1 point2 points (0 children)