Adding LogAnalytics to Compute spec#2383
Conversation
# Conflicts: # arm-compute/2016-04-30-preview/swagger/compute.json
|
Did a commit to Azure/azure-sdk-for-python: |
|
Did a commit to Azure/azure-sdk-for-go: |
|
@AutorestCI |
|
Did a commit to Azure/azure-sdk-for-python: |
|
This commit was treated and no generation was made for Azure/azure-sdk-for-go |
|
Did a commit to Azure/azure-sdk-for-python: |
|
This commit was treated and no generation was made for Azure/azure-sdk-for-go |
jianghaolu
left a comment
There was a problem hiding this comment.
You need to reference the examples from the Swagger spec using x-ms-examples.
|
This commit was treated and no generation was made for Azure/azure-sdk-for-go |
|
Added references to example files. |
|
This commit was treated and no generation was made for Azure/azure-sdk-for-go |
|
This commit was treated and no generation was made for Azure/azure-sdk-for-python |
1 similar comment
|
This commit was treated and no generation was made for Azure/azure-sdk-for-python |
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { |
There was a problem hiding this comment.
In the Swagger, 200 doesn't return a response body.
There was a problem hiding this comment.
Updated the Swagger file now. 200 should return a response body. Missed the copy from our internal repo.
| } | ||
| }, | ||
| "responses": { | ||
| "200": { |
There was a problem hiding this comment.
In the Swagger, 200 doesn't return a response body.
| "subscriptionId": "{subscription-id}", | ||
| "api-version": "2017-12-01", | ||
| "parameters": { | ||
| "location": "westus", |
There was a problem hiding this comment.
"location" is a top-level parameter.
| "subscriptionId": "{subscription-id}", | ||
| "api-version": "2017-12-01", | ||
| "parameters": { | ||
| "location": "westus", |
There was a problem hiding this comment.
"location" is a top-level parameter.
|
This commit was treated and no generation was made for Azure/azure-sdk-for-python |
|
Did a commit to Azure/azure-sdk-for-go: |
| "location": "westus", | ||
| "api-version": "2017-12-01", | ||
| "parameters": { | ||
| "properties": { |
There was a problem hiding this comment.
Please extract everything out of both "RequestRateByIntervalInput" and "properties". The "parameters" section should contain the parameters in this format:
"<parameter-name>": <actual payload>In this case, the actual payload is
{
"intervalLength": "FiveMins",
"blobContainerSasUri": "https://somesasuri",
"fromTime": "2018-01-21T01:54:06.862601Z",
"toTime": "2018-01-23T01:54:06.862601Z",
"groupByResourceName": true
}You can see another example in compute here: https://github.com/Azure/azure-rest-api-specs/blob/master/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/CreateAScaleSetFromACustomImage.json#L8
There was a problem hiding this comment.
Same for the other example.
| "body": "" | ||
| }, | ||
| "202": { | ||
| "body": { |
There was a problem hiding this comment.
202 doesn't have a body either :) Same for the other example.
There was a problem hiding this comment.
I reacted too quickly to your comment. Actually 202 doesn't have a response, but the long running async will give a response on 200. I just somehow missed that update from our internal repo.
|
Hi There, I am the AutoRest Linter Azure bot. I am here to help. My task is to analyze the situation from the AutoRest linter perspective. Please review the below analysis result: File: AutoRest Linter Guidelines | AutoRest Linter Issues | Send feedback Thanks for your co-operation. |
1 similar comment
|
Hi There, I am the AutoRest Linter Azure bot. I am here to help. My task is to analyze the situation from the AutoRest linter perspective. Please review the below analysis result: File: AutoRest Linter Guidelines | AutoRest Linter Issues | Send feedback Thanks for your co-operation. |
|
This commit was treated and no generation was made for Azure/azure-sdk-for-go |
1 similar comment
|
This commit was treated and no generation was made for Azure/azure-sdk-for-go |
|
Did a commit to Azure/azure-sdk-for-python: |
|
This commit was treated and no generation was made for Azure/azure-sdk-for-python |
This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information
api-versionin the path should match theapi-versionin the spec).Quality of Swagger