docs: add examples for validating minimum operating system version with Microsoft/OSInfo#1623
Open
Gijsreyn wants to merge 3 commits into
Open
docs: add examples for validating minimum operating system version with Microsoft/OSInfo#1623Gijsreyn wants to merge 3 commits into
Microsoft/OSInfo#1623Gijsreyn wants to merge 3 commits into
Conversation
…th `Microsoft/OSInfo`
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Microsoft/OSInfo resource reference docs to reflect the newly implemented test operation and to document/version-example the version comparison constraint support added in #1603.
Changes:
- Update
Microsoft/OSInforesource reference to describe nativetestbehavior andversionconstraint syntax. - Add a new example demonstrating enforcing a minimum OS version via
Microsoft.DSC/Assertion. - Wire the new example into the resource docs “Examples” list.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| docs/reference/resources/Microsoft/OSInfo/index.md | Updates resource description/capabilities and documents version comparison constraints; links the new example. |
| docs/reference/resources/Microsoft/OSInfo/examples/validate-minimum-version.md | Adds a new walkthrough example and sample output for minimum-version validation. |
| docs/reference/resources/Microsoft/OSInfo/examples/validate-minimum-version.config.dsc.yaml | Adds the DSC configuration document used by the new example. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Summary
This pull request updates the
Microsoft/OSInfowith the version comparisons implemented in #1603, including an example added.PR Context
After addressing #1603.