-
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
Add version 2018-06-01 with pricing configuration (second time) #4978
Conversation
If you're a MSFT employee, click this link |
Automation for azure-sdk-for-rubyNothing to generate for azure-sdk-for-ruby |
Can one of the admins verify this patch? |
Automation for azure-sdk-for-jsNothing to generate for azure-sdk-for-js |
Automation for azure-sdk-for-pythonNothing to generate for azure-sdk-for-python |
Automation for azure-sdk-for-javaNothing to generate for azure-sdk-for-java |
2nd iteration of this PR which was closed - #4072 |
Automation for azure-sdk-for-goNothing to generate for azure-sdk-for-go |
Automation for azure-sdk-for-nodeNothing to generate for azure-sdk-for-node |
@chlahav is added to the review. #Closed |
@kpajdzik Can you please review the PR ? |
@praries880 see also this PR #4072 |
@amireluk have you addressed ARM issues (see #4072)? @simongdavies let me know if you are ok with the changes. |
ARM issues in #4072 was about long running operation header. In this iteration the operation is not a long running operation. It returns 200 OK. |
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.
@amireluk - some comments
"description": "List of pricing configurations", | ||
"items": { | ||
"$ref": "#/definitions/Pricing" | ||
} |
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.
do you support pagination?
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.
no, the number of returned items is limited.
"type": "object", | ||
"description": "Pricing properties for the relevant scope", | ||
"properties": { | ||
"pricingTier": { |
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.
Isnt this similar notion as a SKU? If yes, it should be modeled using the sku property which is a top level property. More details can be found in ARM Resource provider contract.
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's a new API version to an existing type, customers are using it and used to use it. I don't think we want to deprecate it and use the SKU propery instead as it will be very confusing to existing customers.
I'm also not sure we can use the SKU property even if we wanted to since this pricing type implies the tier of the subscritpion in Microsoft.Secruity, and not the sku of a specific resource.
} | ||
} | ||
}, | ||
"paths": { |
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.
Did you had a meeting earlier with Simon about this new resource type? I wanted to get some more context on the usecase for the pricing resource type. what scenario is it enabling.
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.
Please note it's an existing type, I'm adding a new API version. The previous version is already documented.
@amireluk - Got it, it was hard to review using the diff tool and know what changed. For next time, please remember that when adding new api-version, the first commit should be the copy of the previous api-version. and then changes to the new api-version should come in subsequent commits. it will make it easier to review. |
The non-preview pricing API is slightly different than the preview one, that's the reason for the version change. |
@amireluk Can you please bring forward the unchanged APIs into this version? It creates a degraded user experience if different resources in the same namespace require different API versions. |
@KrisBash |
@KrisBash we want to split our swagger files to types (similar to Compute) to mitigate the degraded user experience. |
Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.
Contribution checklist:
ARM API Review Checklist
Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.
Please follow the link to find more details on API review process.