-
Notifications
You must be signed in to change notification settings - Fork 16
Prepare extension for integration with Azure Resources API (v4) #992
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| ext.rgApiV2 = rgApiV2; | ||
| ext.rgApiV2.resources.registerAzureResourceBranchDataProvider(AzExtResourceType.ContainerAppsEnvironment, ext.branchDataProvider); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like these two parts should stay in the extension.ts since they are kinda "what do we do on activation". They can be passed in as a callback to this method.
Not stuck on this, but let me know what you think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that's a good idea so people don't have to hunt around to figure out the activation logic.
Sample code for v4 integration, relies on updates from Azure Resources, will post corresponding PR(s) within the next day or two.
Todo: Discuss how we want to measure activation / handshake times in telemetry