Azure / Azure/azure-powershell

What is the difference between ShouldProcess and ConfirmAction?

Open
#18,621 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

### Description

I've been reading the [documentation regarding ShouldProcess and ConfirmAction](https://github.com/Azure/azure-powershell/blob/main/documentation/development-docs/design-guidelines/should-process-confirm-impact.md).
It is not clear to me what is the difference between the two and/or is there some strong guidance/preference for one or the other.

### Script or Debug output

_No response_

### Environment data

_No response_

### Module versions

_No response_

### Error output

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with documentation/development-docs/design-guidelines/should-process-confirm-impact.md and compare its explanations of ShouldProcess and ConfirmAction. Clarify the distinction and any guidance or preference in that document; done means the documentation directly answers the question.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.