Skip to content
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

Closed
wants to merge 2 commits into from
Closed

Conversation

nturinski
Copy link
Member

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.

@nturinski nturinski requested a review from a team as a code owner August 2, 2022 22:27
@nturinski
Copy link
Member Author

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",
Copy link
Contributor

@bwateratmsft bwateratmsft Aug 3, 2022

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...

Copy link
Contributor

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

Copy link
Member Author

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.

Copy link
Contributor

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?

Copy link
Member Author

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.

Copy link
Contributor

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?

Copy link
Member Author

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.

@alexweininger
Copy link
Member

Closing as stale.

@nturinski nturinski deleted the nat/appservice/stacks branch March 8, 2024 19:01
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.

3 participants