-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Preconditions
- No need to upgrade Python SDK or the Python SDK is ready.
Related command
az disk create
Resource Provider
Microsoft.Compute/disks
Description of Feature or Work Requested
The new property "SupportedSecurityOption" indicates the security capabilities supported by the disk which can be used to create a Trusted VM during attach of the disk to the VM. Accepted values are "TrustedLaunchSupported", "TrustedLaunchAndConfidentialVMSupported"
Customer can set the property "SupportedSecurityOption" while using the az disk create using the CreateOption of Import and Upload if the source is "TrustedLaunchCapable". When such a disk gets attached to a VM, a TrustedLaunch VM is created.
Minimum API Version Required
2025-01-02
Swagger PR link / SDK link
Azure/azure-rest-api-specs#34922
Request Example
Existing command:
az disk create -resource-group $rgname --name $diskName --source $sourceUri --source-storage-account-id $storageAccountId
New command:
az disk create -resource-group $rgname --name $diskName --source $sourceUri --source-storage-account-id $storageAccountId -SupportedSecurityOption $supportedSecurityOption
Target Date
2025-07-30
PM Contact
Ajay.Kundnani, Geetha.G
Engineer Contact
varshasankar
Additional context
- Supported swagger changes from API Version 2025-01-02.
- For Public Preview, this feature is behind an AFEC "Microsoft.Compute/TrustedLaunchByDefaultPreview".