Skip to content

Add ValidationLevel parameter to WhatIf/Test #27352

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Mar 24, 2025
Merged

Conversation

tsmallig33
Copy link
Contributor

@tsmallig33 tsmallig33 commented Mar 17, 2025

Description

Add ValidationLevel to WhatIf and Test commands so that they can be run with read only permissions using ProviderNoRbac validation level.

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • For SDK-based development mode, update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • For autorest-based development mode, include the changelog in the PR description.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

Copy link

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

@tsmallig33 tsmallig33 requested review from jeskew and removed request for jeskew March 17, 2025 16:16
@notyashhh
Copy link
Member

/azp run azure-powershell - security-tools

Copy link
Contributor

Azure Pipelines successfully started running 1 pipeline(s).

@tsmallig33 tsmallig33 changed the title Add ValidationLevel parameter to WhatIf/Test and potential changes to WhatIf Add ValidationLevel parameter to WhatIf/Test Mar 20, 2025
@tsmallig33 tsmallig33 removed the request for review from jeskew March 20, 2025 17:20
notyashhh
notyashhh previously approved these changes Mar 24, 2025
@notyashhh
Copy link
Member

/azp run

Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@notyashhh notyashhh self-assigned this Mar 24, 2025
@notyashhh notyashhh added this to the Az 13.4.0 (04/01/2025) milestone Mar 24, 2025
@notyashhh notyashhh merged commit ccdd553 into Azure:main Mar 24, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants