Azure / Azure/azure-powershell
[Doc]: Az.Compute VMConfig.platformFaultDomain setting only valid when attached to VMSS
Open
act-observability-squad
Compute
Doc - Reference
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 3d 14h
- Merged PRs (30d)
- 54
Description
### Description
https://learn.microsoft.com/en-us/powershell/module/az.compute/new-azvmconfig?view=azps-9.4.0
The vmconfig has a -platformFaultDomain parameter. We should update docs to indicate this is only valid when the VMSS parameter is also set, and explicitly state that it does not work with AvSet. This is explicitly called out in the REST API and powershell should have something similar. https://learn.microsoft.com/en-us/powershell/module/az.compute/new-azvmconfig?view=azps-9.4.0
We had a customer trying to set platformFaultDomain on an AvSet today, so would be good to fix that.
Contributor guide
Assessment
This issue has not been assessed yet.