Skip to content

Need to pass resource version to adapter single mode #1414

@SteveL-MSFT

Description

@SteveL-MSFT

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

Summary

If the adapted resource version is specified, there is currently no way to pass that to the adapter. Need to add a new argKind for adapters to receive the resourceVersion for adapted manifest based resources

Steps to reproduce

dsc resource get -r Test/AdaptedTest -v 0.1.0

Expected behavior

Resource is found and used

Actual behavior

Adapter does not find the version and gets stuck in a discovery loop

Error details

Environment data

N/A

Version

3.2-preview.12

Visuals

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions