-
Notifications
You must be signed in to change notification settings - Fork 38
Upgrading Extensions for V2 Compatibility
Alex Weininger edited this page Sep 26, 2022
·
20 revisions
Guide for updating a client extension to be compatible with the Azure Resources API V2.
Extension must be using the latest version of the utils package.
- Update utils package
- Replace
registerCommand
uses withregisterCommandWithTreeNodeUnwrapping
- Resolvers must be registered with an
AzExtResourceType
ID Theid
argument when callingregisterApplicationResourceResolver
must be anAzExtResourceType
. - Add V2 contributions to package.json
- Commands should show on
azureResourceGroupsV2
view instead ofazureResourceGroups
view - Change commands attached to
azureResourceTypeGroup
tree items to useAzExtResourceType
contexts Example