Add Batch dataplane API version 2018-12-01.8.0#4795
Conversation
|
If you're a MSFT employee, click this link |
Automation for azure-sdk-for-jsThe 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-pythonA 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: |
Automation for azure-sdk-for-javaNothing to generate for azure-sdk-for-java |
Automation for azure-sdk-for-nodeA 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? |
1768ec8 to
939375c
Compare
Automation for azure-sdk-for-goThe initial PR has been merged into your service PR: |
|
@matthchr I will talk to owners of the devex tool on the issues you faced. Could you take a look at model (example) validation https://travis-ci.org/Azure/azure-rest-api-specs/jobs/463987019? |
|
@anuchandy - I will fix the example validation issues and update the PR |
|
The examples should be fixed now |
|
I fixed the original issue with the model validator, but am now getting a different one which seems very unclear to me. See: https://travis-ci.org/Azure/azure-rest-api-specs/jobs/464004216 It's not clear to me what the actual problem is... |
There was a problem hiding this comment.
@matthchr - Matt, sorry, can you please update this description to change the incorrect doc link? I suggest:
"description": "This property is mutually exclusive with other ImageReference properties. The virtual machine image must be in the same region and subscription as the Azure Batch account. For more details, see https://docs.microsoft.com/azure/batch/batch-custom-images."
There was a problem hiding this comment.
I think I found where it was meant to be though -- I've fixed the docs there
There was a problem hiding this comment.
@matthchr - Thanks. When I commented before the GitHub UI was a bit flaky with the large file, so I might have selected the wrong place.
e275707 to
9b00f1b
Compare
75930dc to
3f5b3a4
Compare
|
@anuchandy I have confirmed that the URLs should contain HTTPS (at least, in the code generated by AutoRest you must set the URL to Is there anything else that needs to be fixed, or is this good to merge? |
|
@sergey-shandar - do you think this is a bug in OAV? OR should "https" has to be removed from examples? we may want to set a guideline for service team here, what I understand from our hallway talk is - "the swagger scheme part says it's https and as per http convention, host name does not contain protocol." Can you please confirm? Tracked here: Azure/oav#368 |
- Add batchUrl parameter. - Rename "ocp-data" to "ocp-date" to correctly reflect what the API actually requires.
3f5b3a4 to
8460714
Compare
|
@anuchandy - I believe the examples should be fixed now, I removed HTTPS from them |
* Prepare for Azure Batch new API version * Add new data plane API version 2018-12-01.8.0 * Fix documentation issues * Fix examples - Add batchUrl parameter. - Rename "ocp-data" to "ocp-date" to correctly reflect what the API actually requires.
Contribution checklist:
This is a data plane API so ARM review is not required.
I tried to run the linter here: https://portal.azure-devex-tools.com/app/tools/linter but it just hung on "still working!" forever.
I also tried to run this: https://portal.azure-devex-tools.com/app/tools/static-validation/static/errors/default pointing at
https://github.com/matthchr/azure-rest-api-specs/tree/feature/batch-dataplane-2018-12/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0and I also got an error "Sorry something went wrong!"I did run the azure validator manually though and things looked okay (there's some warnings but they basically don't seem to apply to data-plane)