-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reported
Description
Description
I want to create an OS disk for a confidential VM. Additionally, I want to attach VMGS to it.
Issue script & Debug output
New-AzDiskConfig -SecurityDataUri "https://lisav2cvmeastus.blob.core.windows.net/vhds/XXX-vmgs.vhd" -CreateOption ImportSecure -SourceUri "https://lisav2cvmeastus.blob.core.windows.net/vhds/XXX.vhd" -HyperVGeneration V2 -Architecture X64 -OsType LinuxEnvironment data
> $PSVersionTable
Name Value
---- -----
PSVersion 5.1.19041.6456
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.19041.6456
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1Module versions
> get-installedmodule -name Az
Version Name Repository Description
------- ---- ---------- -----------
14.5.0 Az PSGallery Microsoft Azure PowerShell - Cmdlet...Error output
New-AzDiskConfig : A parameter cannot be found that matches parameter name 'SecurityDataUri'.
At line:1 char:23
+ $a = New-AzDiskConfig -SecurityDataUri "https://lisav2cvmeastus.blob. ...
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [New-AzDiskConfig], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.Azure.Commands.Compute.Automation.NewAzure
RmDiskConfigCommandMetadata
Metadata
Assignees
Labels
bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reported