Update dsc resource list
output schema to include methods
#332
Labels
Doc-Impact
Issue-Enhancement
The issue is a feature or idea
Need-Review
Resolution-Fixed
The issue is fixed
Summary of the new feature / enhancement
With the implementation of #309 in #314, users can now see which methods a resource supports when they run
dsc resource list
with the default view. However, if they capture the output or use an alternate format, this information is lost as it isn't part of the actual output object.As a user and integrating engineer, I want to be able to quickly check which methods a resource supports in a script or function, so that I can make decisions about how to process that resource further.
Proposed technical implementation details (optional)
methods
field to theDscResource
struct indsc_lib/src/dscresource.rs
as either a vector of strings or enumerations that map to the valid methods.methods
field surfaced in the table from theList
subcommand indsc/src/subcommand.rs
to theload_manifest
function indsc_lib/src/discovery/command_discovery.rs
.schemas/src/outputs/resource/list.yaml
to include themethods
property.The text was updated successfully, but these errors were encountered: