Azure / Azure/azure-powershell
[Doc]: Update New-AzAvailabilitySet doc to reflect '-PlatformFaultDomainCount' is mandatory for managed disks
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 51
Description
### Type of issue
Other (describe below)
### Feedback
The `-PlatformFaultDomainCount` parameter is mandatory for VMs using managed disks, ie. when `-sku` is `aligned`.

However, the document still points `-PlatformFaultDomainCount` to be an optional parameter.
https://learn.microsoft.com/en-us/powershell/module/az.compute/new-azavailabilityset?view=azps-13.0.0#-platformupdatedomaincount
Maybe create a separate parameter set for managed disks.
### Page URL
https://learn.microsoft.com/en-us/powershell/module/az.compute/new-azavailabilityset?view=azps-13.0.0
### Content source URL
_No response_
### Author
_No response_
### Document Id
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.