-
Notifications
You must be signed in to change notification settings - Fork 68
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
Add Azure Stacks WebSiteManagementClient #1218
Conversation
Actually, I can just pack and install this to Functions and make a custom VSIX to test Azure Stacks, so I'll hold off on merging until then. |
@@ -34,6 +34,7 @@ | |||
"dependencies": { | |||
"@azure/abort-controller": "^1.0.4", | |||
"@azure/arm-appinsights": "^5.0.0-beta.4", | |||
"@azure/arm-appservice-profile-2020-09-01-hybrid": "^2.0.0", |
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.
Can this replace @azure/arm-appservice
entirely? I'm apprehensive to add more dependencies to this already gargantuan package...
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.
Especially until I can get to microsoft/vscode-docker#3594
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.
We definitely can't replace the @azure/arm-appservice
package with this one as the api-versions are different. I'm pretty sure that this only works with custom cloud. That being said, I understand the apprehension to adding more dependencies.
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.
What is it about the primary @azure/arm-appservice
package that makes it incompatible with Azure Stack?
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.
microsoft/vscode-azurefunctions#3242 The api-version itself which we can't dynamically change unfortunately.
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.
This seems like an easy thing for the SDK to handle...should we file an issue for it?
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 or ideally they adopt the hybrid SDKs with the new REST sdks that are much smaller.
Closing as stale. |
I tried replacing the
WebSiteManagementClient
type with the new hybrid version, and besides some mismatch typing in Site response, it seems like it has all of the same namespaces and operations.I bumped a minor version though because I think that this could sort of be considered a breaking change though realistically, shouldn't impact 99% of people since they won't have
isCustomCloud
set.