-
Notifications
You must be signed in to change notification settings - Fork 46
Upgrading Extensions for V2 Compatibility
Alex Weininger edited this page Sep 26, 2022
·
20 revisions
🚧 WIP 🚧
Client extensions will undergo two updates related to the V2 API.
- Updates needed to make client extension compatible with V2 API, without actually consuming the V2 API.
- Full upgrade and migration to the V2 API.
This is a guide for part 1 of the upgrade.
Extension must be using the latest version of the utils package.
- Update utils package
- Replace
registerCommanduses withregisterCommandWithTreeNodeUnwrapping - Resolvers must be registered with an
AzExtResourceTypeID Theidargument when callingregisterApplicationResourceResolvermust be anAzExtResourceType. - Add V2 contributions to package.json
- Commands should show on
azureResourceGroupsV2view instead ofazureResourceGroupsview - Change commands attached to
azureResourceTypeGrouptree items to useAzExtResourceTypecontexts Example