-
Notifications
You must be signed in to change notification settings - Fork 2k
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
mgmt, support function app on ACA #37890
mgmt, support function app on ACA #37890
Conversation
imports
API change check APIView has identified API level changes in this PR and created following API reviews. |
...ice/src/main/java/com/azure/resourcemanager/appservice/implementation/WebAppsClientImpl.java
Show resolved
Hide resolved
...rvice/src/main/java/com/azure/resourcemanager/appservice/implementation/FunctionAppImpl.java
Outdated
Show resolved
Hide resolved
|
||
private <T> Mono<T> pollResult(Mono<Response<T>> responseMono, Class<T> responseBodyType) { | ||
return responseMono.flatMap((Function<Response<T>, Mono<T>>) response -> { | ||
if (response.getStatusCode() == 200) { |
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.
Are there constants for the status codes somewhere and if not wouldn't it make sense to introduce them?
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.
Switched to use directive and this method is no longer needed.
Yeah, it's a valid point. Will consider introducing if encountered next time, thanks!
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.
LGTM
...anager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/FunctionApp.java
Outdated
Show resolved
Hide resolved
...rvice/src/main/java/com/azure/resourcemanager/appservice/implementation/FunctionAppImpl.java
Outdated
Show resolved
Hide resolved
...rvice/src/main/java/com/azure/resourcemanager/appservice/implementation/FunctionAppImpl.java
Outdated
Show resolved
Hide resolved
...rvice/src/main/java/com/azure/resourcemanager/appservice/implementation/FunctionAppImpl.java
Outdated
Show resolved
Hide resolved
...rvice/src/main/java/com/azure/resourcemanager/appservice/implementation/FunctionAppImpl.java
Show resolved
Hide resolved
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.
Approved to unblock.
Please check comment.
Also prefer to have tooling team take a look as well.
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.
LGTM
Description
address #37156
This PR adds support for Function App hosted on ACA(Azure Container App) environment.
Above code corresponds to the
http-trigger
scenario.managedEnvironmentName
can't be modified once Function App's created.docs:
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines