-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
update machine learning compute portion of the machine learning services swagger #3889
Conversation
Automation for azure-sdk-for-pythonThe initial PR has been merged into your service PR: |
Automation for azure-sdk-for-rubyNothing to generate for azure-sdk-for-ruby |
Automation for azure-sdk-for-nodeNothing to generate for azure-sdk-for-node |
Automation for azure-sdk-for-javaNothing to generate for azure-sdk-for-java |
Automation for azure-sdk-for-goA PR has been created for you based on this PR content. Once this PR will be merged, content will be added to your service PR: |
Can one of the admins verify this patch? |
...osoft.MachineLearningServices/preview/2018-03-01-preview/examples/createBasicAKSCompute.json
Outdated
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.
Left some comments
...er/Microsoft.MachineLearningServices/preview/2018-03-01-preview/machineLearningServices.json
Show resolved
Hide resolved
], | ||
"responses": { | ||
"202": { | ||
"description": "Compute System Update initiated.", |
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.
Is this and update for the MachineLearningCompute
resource?
Update
is usually a PATCH
operation. Did this service undergo an API review?
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.
Also, 202 corresponds to Accepted
which ideally should be a long running operation
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.
That is an update on an internal system that is deployed on top of the compute. Not the compute itself.
The swagger that was uploaded before was incorrect. And the service has gone to a lot of changes
...er/Microsoft.MachineLearningServices/preview/2018-03-01-preview/machineLearningServices.json
Show resolved
Hide resolved
update accordingly
In case changes were made to the service itself we might need an ARM review here |
@@ -608,15 +608,68 @@ | |||
} | |||
} | |||
} | |||
}, |
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's the rationale for adding a POST here? In any case, POST requires an action. This is invalid at /workspaces/{workspaceName}/computes/{computeName}
without an action.
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.
It seems that the REST methods here are not consistent with REST API design protocols. How are these methods decided in the first place?
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.
Currently, this swagger is just representing the current state of the service api
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.
See comments regarding that POST on /computes/{computeName}
...osoft.MachineLearningServices/preview/2018-03-01-preview/examples/createBasicAKSCompute.json
Outdated
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.
Approving from ARM on the understanding that this swagger update is aligning to actual service implementation. Comments can be addressed in a future API version.
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
Automation for azure-sdk-for-jsNothing to generate for azure-sdk-for-js |
Update Machine Learning Compute portion of the swagger.
Examples updated
Run OAV and RestAPI validation.