Skip to content

Support Resource Providers to list resources#62

Merged
SteveL-MSFT merged 4 commits intoPowerShell:mainfrom
SteveL-MSFT:resource-provider
Apr 18, 2023
Merged

Support Resource Providers to list resources#62
SteveL-MSFT merged 4 commits intoPowerShell:mainfrom
SteveL-MSFT:resource-provider

Conversation

@SteveL-MSFT
Copy link
Member

Initial code to support the concept of a "resource provider" to enable PowerShell support. Currently, only list is supported, although a PowerShellGroup resource can take config and execute the individual resources itself. We can extend to support get/set/test in the future to enable individual resource invocation without wrapping a config around it.

Since we're moving in direction that PowerShell support is itself a resource, this PR also removes the internal placeholder code for PowerShell, although some of the extensibility is leftover for now to add it back (or other types) if needed.

An example test resource is included.

@SteveL-MSFT SteveL-MSFT requested a review from anmenaga April 16, 2023 23:15
@SteveL-MSFT SteveL-MSFT merged commit 49164b2 into PowerShell:main Apr 18, 2023
@SteveL-MSFT SteveL-MSFT deleted the resource-provider branch April 18, 2023 01:15
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.

1 participant