We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ecfd4d commit 716b10fCopy full SHA for 716b10f
src/azure-cli/azure/cli/command_modules/vm/_template_builder.py
@@ -516,6 +516,10 @@ def _build_storage_profile():
516
'vTpmEnabled': enable_vtpm
517
}
518
519
+ # Compatibility of various API versions
520
+ if vm_properties['securityProfile'] == {}:
521
+ del vm_properties['securityProfile']
522
+
523
if platform_fault_domain is not None:
524
vm_properties['platformFaultDomain'] = platform_fault_domain
525
0 commit comments