Add DiskIOPSReadWrite and DiskMBpsReadWrite parameters to Add-AzVMDataDisk #223
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Adds
-DiskIOPSReadWriteand-DiskMBpsReadWriteparameters toAdd-AzVMDataDiskcmdlet, enabling customers to set IOPS and bandwidth during implicit disk creation for UltraSSD or Premium V2 data disks on VMs.Changes:
DataDisk.cs) to expose writableDiskIOPSReadWrite/DiskMBpsReadWritepropertiesDiskIOPSReadWrite(Int64) andDiskMBpsReadWrite(Int64) parameters toVmManagedDiskParameterSetPremiumV2_LRStoStorageAccountTypeargument completerTest-VirtualMachineDataDiskIOPSMBPSUsage:
Resolves: Azure#27377
Mandatory Checklist
Please choose the target release of Azure PowerShell. (⚠️ Target release is a different concept from API readiness. Please click below links for details.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.mdand reviewed the following information:ChangeLog.mdfile(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.## Upcoming Releaseheader in the past tense.ChangeLog.mdif no new release is required, such as fixing test case only.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
1n8vsblobprodwus2184.vsblob.vsassets.io/usr/bin/dotnet /usr/bin/dotnet build /home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Azure.PowerShell.sln -c Debug -fl /flp1:logFile=/home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Build.log;verbosity=quiet(dns block)/usr/bin/dotnet dotnet build Compute.sln --configuration Debug(dns block)6yfvsblobprodwus2121.vsblob.vsassets.io/usr/bin/dotnet /usr/bin/dotnet build /home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Azure.PowerShell.sln -c Debug -fl /flp1:logFile=/home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Build.log;verbosity=quiet(dns block)/usr/bin/dotnet dotnet build Compute.sln --configuration Debug(dns block)7t8vsblobprodwus2168.vsblob.vsassets.io/usr/bin/dotnet dotnet build Compute.sln --configuration Debug(dns block)84hvsblobprodwus2148.vsblob.vsassets.io/usr/bin/dotnet /usr/bin/dotnet build /home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Azure.PowerShell.sln -c Debug -fl /flp1:logFile=/home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Build.log;verbosity=quiet(dns block)/usr/bin/dotnet dotnet build Compute.sln --configuration Debug(dns block)8wdvsblobprodwus2137.vsblob.vsassets.io/usr/bin/dotnet /usr/bin/dotnet build /home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Azure.PowerShell.sln -c Debug -fl /flp1:logFile=/home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Build.log;verbosity=quiet(dns block)/usr/bin/dotnet dotnet build Compute.sln --configuration Debug(dns block)9yyvsblobprodwus2157.vsblob.vsassets.io/usr/bin/dotnet dotnet build Compute.sln --configuration Debug(dns block)b53vsblobprodwus2154.vsblob.vsassets.io/usr/bin/dotnet /usr/bin/dotnet build /home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Azure.PowerShell.sln -c Debug -fl /flp1:logFile=/home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Build.log;verbosity=quiet(dns block)/usr/bin/dotnet dotnet build Compute.sln --configuration Debug(dns block)ba0vsblobprodwus2130.vsblob.vsassets.io/usr/bin/dotnet /usr/bin/dotnet build /home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Azure.PowerShell.sln -c Debug -fl /flp1:logFile=/home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Build.log;verbosity=quiet(dns block)/usr/bin/dotnet dotnet build Compute.sln --configuration Debug(dns block)balvsblobprodwus2129.vsblob.vsassets.io/usr/bin/dotnet /usr/bin/dotnet build /home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Azure.PowerShell.sln -c Debug -fl /flp1:logFile=/home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Build.log;verbosity=quiet(dns block)/usr/bin/dotnet dotnet build Compute.sln --configuration Debug(dns block)cbvvsblobprodwus2131.vsblob.vsassets.io/usr/bin/dotnet /usr/bin/dotnet build /home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Azure.PowerShell.sln -c Debug -fl /flp1:logFile=/home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Build.log;verbosity=quiet(dns block)/usr/bin/dotnet dotnet build Compute.sln --configuration Debug(dns block)cffvsblobprodwus218.vsblob.vsassets.io/usr/bin/dotnet /usr/bin/dotnet build /home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Azure.PowerShell.sln -c Debug -fl /flp1:logFile=/home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Build.log;verbosity=quiet(dns block)/usr/bin/dotnet dotnet build Compute.sln --configuration Debug(dns block)d94vsblobprodwus2119.vsblob.vsassets.io/usr/bin/dotnet /usr/bin/dotnet build /home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Azure.PowerShell.sln -c Debug -fl /flp1:logFile=/home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Build.log;verbosity=quiet(dns block)/usr/bin/dotnet /usr/bin/dotnet build /home/REDACTED/work/azure-powershell/azure-powershell/tools/VersionController/VersionController.Netcore.csproj -c Debug(dns block)/usr/bin/dotnet dotnet build Compute.sln --configuration Debug(dns block)ezcvsblobprodwus2170.vsblob.vsassets.io/usr/bin/dotnet /usr/bin/dotnet build /home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Azure.PowerShell.sln -c Debug -fl /flp1:logFile=/home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Build.log;verbosity=quiet(dns block)/usr/bin/dotnet dotnet build Compute.sln --configuration Debug(dns block)faxvsblobprodwus2122.vsblob.vsassets.io/usr/bin/dotnet /usr/bin/dotnet build /home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Azure.PowerShell.sln -c Debug -fl /flp1:logFile=/home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Build.log;verbosity=quiet(dns block)/usr/bin/dotnet dotnet build Compute.sln --configuration Debug(dns block)g3xvsblobprodwus2151.vsblob.vsassets.io/usr/bin/dotnet /usr/bin/dotnet build /home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Azure.PowerShell.sln -c Debug -fl /flp1:logFile=/home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Build.log;verbosity=quiet(dns block)/usr/bin/dotnet dotnet build Compute.sln --configuration Debug(dns block)i01vsblobprodwus216.vsblob.vsassets.io/usr/bin/dotnet /usr/bin/dotnet build /home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Azure.PowerShell.sln -c Debug -fl /flp1:logFile=/home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Build.log;verbosity=quiet(dns block)/usr/bin/dotnet dotnet build Compute.sln --configuration Debug(dns block)isvvsblobprodwus2147.vsblob.vsassets.io/usr/bin/dotnet /usr/bin/dotnet build /home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Azure.PowerShell.sln -c Debug -fl /flp1:logFile=/home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Build.log;verbosity=quiet(dns block)/usr/bin/dotnet dotnet build Compute.sln --configuration Debug(dns block)jhgvsblobprodwus2167.vsblob.vsassets.io/usr/bin/dotnet /usr/bin/dotnet build /home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Azure.PowerShell.sln -c Debug -fl /flp1:logFile=/home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Build.log;verbosity=quiet(dns block)/usr/bin/dotnet dotnet build Compute.sln --configuration Debug(dns block)k4pvsblobprodwus2140.vsblob.vsassets.io/usr/bin/dotnet /usr/bin/dotnet build /home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Azure.PowerShell.sln -c Debug -fl /flp1:logFile=/home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Build.log;verbosity=quiet(dns block)/usr/bin/dotnet dotnet build Compute.sln --configuration Debug(dns block)kafvsblobprodwus2165.vsblob.vsassets.io/usr/bin/dotnet /usr/bin/dotnet build /home/REDACTED/work/azure-powershell/azure-powershell/tools/VersionController/VersionController.Netcore.csproj -c Debug(dns block)ldhvsblobprodwus2153.vsblob.vsassets.io/usr/bin/dotnet dotnet build Compute.sln --configuration Debug(dns block)mt2vsblobprodwus2110.vsblob.vsassets.io/usr/bin/dotnet /usr/bin/dotnet build /home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Azure.PowerShell.sln -c Debug -fl /flp1:logFile=/home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Build.log;verbosity=quiet(dns block)/usr/bin/dotnet dotnet build Compute.sln --configuration Debug(dns block)nudvsblobprodwus214.vsblob.vsassets.io/usr/bin/dotnet /usr/bin/dotnet build /home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Azure.PowerShell.sln -c Debug -fl /flp1:logFile=/home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Build.log;verbosity=quiet(dns block)/usr/bin/dotnet dotnet build Compute.sln --configuration Debug(dns block)p2tvsblobprodwus2189.vsblob.vsassets.io/usr/bin/dotnet /usr/bin/dotnet build /home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Azure.PowerShell.sln -c Debug -fl /flp1:logFile=/home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Build.log;verbosity=quiet(dns block)/usr/bin/dotnet dotnet build Compute.sln --configuration Debug(dns block)tn2vsblobprodwus2124.vsblob.vsassets.io/usr/bin/dotnet /usr/bin/dotnet build /home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Azure.PowerShell.sln -c Debug -fl /flp1:logFile=/home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Build.log;verbosity=quiet(dns block)/usr/bin/dotnet dotnet build Compute.sln --configuration Debug(dns block)wlnvsblobprodwus2188.vsblob.vsassets.io/usr/bin/dotnet /usr/bin/dotnet build /home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Azure.PowerShell.sln -c Debug -fl /flp1:logFile=/home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Build.log;verbosity=quiet(dns block)/usr/bin/dotnet /usr/bin/dotnet build /home/REDACTED/work/azure-powershell/azure-powershell/tools/VersionController/VersionController.Netcore.csproj -c Debug(dns block)/usr/bin/dotnet dotnet build Compute.sln --configuration Debug(dns block)x0dvsblobprodwus2111.vsblob.vsassets.io/usr/bin/dotnet dotnet build Compute.sln --configuration Debug(dns block)y5lvsblobprodwus2179.vsblob.vsassets.io/usr/bin/dotnet /usr/bin/dotnet build /home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Azure.PowerShell.sln -c Debug -fl /flp1:logFile=/home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Build.log;verbosity=quiet(dns block)/usr/bin/dotnet dotnet build Compute.sln --configuration Debug(dns block)yf8vsblobprodwus212.vsblob.vsassets.io/usr/bin/dotnet /usr/bin/dotnet build /home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Azure.PowerShell.sln -c Debug -fl /flp1:logFile=/home/REDACTED/work/azure-powershell/azure-powershell/artifacts/Build.log;verbosity=quiet(dns block)/usr/bin/dotnet dotnet build Compute.sln --configuration Debug(dns block)zd2vsblobprodwus2156.vsblob.vsassets.io/usr/bin/dotnet dotnet build Compute.sln --configuration Debug(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.