-
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
Above-Subscription Level Marketplace and Usage Detail, and Enrollment Level Balances #2857
Conversation
… Account) Marketplace, Usage Details, and Enrollment Level Balances.
Automation for azure-libraries-for-javaNothing to generate for azure-libraries-for-java |
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-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: |
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: |
Howdy @parisa-naeimi, Before we get started, it looks like there are numerous issues being flagged by our CI with this PR. Including some of these files not being valid JSON. Those issues will need to be fixed before the ARM team and I can get started with out reviews. You can see detailed information about the errors in the CI Logs, here: |
…laced priceHidden boolean type with enum for more clarity
@marstr Could you please take a look at my PR? |
@ms-premp Just for awareness. |
@marstr Hello Martin, I was wondering if you could review this PR? Thank you very much. |
Howdy @parisa-naeimi, sorry for the delay. I'll take another look at this PR and have comments in by EOD tomorrow. |
@marstr, Sure, thank you very much. |
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.
CI is still reporting a new model error: https://travis-ci.org/Azure/azure-rest-api-specs/jobs/365866211#L756 Specifically it looks like there is an unknown property "value" in the examples. I'm not sure if it's BalancesByBillingAccount.json#L31 or BalancesByBillingAccount.json#L41, but one of the defintions will need to be tweaked to accommodate that property.
Thanks for fixing up the syntax errors, I've white-listed this PR for ARM Feedback. |
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: 💡 Please review potentially introduced Error(s)/Warning(s): Analysis Report 💡 File: AutoRest Linter Guidelines | AutoRest Linter Issues | Send feedback Thanks for your co-operation. |
…er-location to some parameters missing that part.
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. |
@marstr Thank you very much for taking the time and looking at this PR. I already addressed your concern for BalancesByBillingAccount.Json, could you please take a look and let me know if I need to do more revision? |
@parisa-naeimi - please schedule a review with ARM and Azure API review board to go over these APIs. There are some new concepts like department etc which need little more clarity from a scenario pov. |
I'm going to wait to review further until the Azure API Review board has had a chance to look over these changes. |
Signing off! We did meet to go over these apis |
@marstr Thank You, |
# Conflicts: # specification/consumption/resource-manager/Microsoft.Consumption/stable/2018-03-31/consumption.json # specification/consumption/resource-manager/Microsoft.Consumption/stable/2018-03-31/examples/CostTags.json # specification/consumption/resource-manager/Microsoft.Consumption/stable/2018-03-31/examples/CreateOrUpdateCostTags.json
AutoRest linter results for SDK Related Validation Errors/WarningsThese errors are reported by the SDK team's validation tools, reachout to ADX Swagger Reviewers directly for any questions or concerns. File: specification/consumption/resource-manager/readme.md
|
AutoRest linter results for ARM Related Validation Errors/WarningsThese errors are reported by the ARM team's validation tools, reachout to ARM RP API Review directly for any questions or concerns. File: specification/consumption/resource-manager/readme.md
|
I see that there are a lot of operations, that look to actually be going through the Microsoft.Billing RP, but targeting a Resource that you control in Consumption. See here for an example of what I'm talking about: Could you explain quickly why these operations belong in your Swagger? is there a tight relationship between these two RPs? I'll have a chat with other Swagger reviewers to make sure this isn't just a knowledge gap of mine. |
@marstr .. unfortunately the diff tool suggest there are a lot of changes but its actually not. These already exist today. |
Thanks for that explanation, @ms-premp, that is much appreciated. |
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.
Whoops, sorry for the false approval. Looks like there are couple of examples that don't match the operation's declaration.
Mind fixing those up quick?
https://travis-ci.org/Azure/azure-rest-api-specs/jobs/371363427#L768
Other than that, this looks good to me.
AutoRest linter results for SDK Related Validation Errors/WarningsThese errors are reported by the SDK team's validation tools, reachout to ADX Swagger Reviewers directly for any questions or concerns. File: specification/consumption/resource-manager/readme.md
|
AutoRest linter results for ARM Related Validation Errors/WarningsThese errors are reported by the ARM team's validation tools, reachout to ARM RP API Review directly for any questions or concerns. File: specification/consumption/resource-manager/readme.md
|
Code | Id | Source | Message |
---|---|---|---|
EnumInsteadOfBoolean | R3018 | Link | Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: priceHidden |
❌0 new Errors.(0 total)
AutoRest Linter Guidelines | AutoRest Linter Issues | Send feedback
Thanks for your co-operation.
Hello Martin, Thank you very much for taking the time and looking at this PR. I fixed those minor issues in examples and checked in the changes. Please let me know if there is any concerns. I appreciate if you take a look at PR. Thank you again, |
@parisa-naeimi, are these changes deployed to at least one region and ready for me to merge them? |
@marstr Yes, those changes are in Prod. we deployed to Prod today. We should be good. Thank you. |
@marstr Thank you Martin |
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-version
in the path should match theapi-version
in the spec).Quality of Swagger