Azure / Azure/azure-powershell

[Doc]: Update New-AzAvailabilitySet doc to reflect '-PlatformFaultDomainCount' is mandatory for managed disks

Open
#27,033 4 comments 0 reactions 1 assignee Claimed by @TravisCragg-MSFT View on GitHub
act-observability-squad Compute - VM customer-reported Doc - Reference Service Attention
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`.

![Image](https://github.com/user-attachments/assets/85cb3f03-f665-49ae-b673-c7c4538e0f0e)

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.