Policy Updates for new version#7699
Policy Updates for new version#7699erich-wang merged 17 commits intoAzure:masterfrom pratimaupadhyay02:master
Conversation
Automation for azure-sdk-for-pythonA PR has been created for you: |
Automation for azure-sdk-for-goA PR has been created for you: |
|
Can one of the admins verify this patch? |
|
@pratimaupadhyay02 removing APIs from stable api-version is a breaking change. The Azure API deprecation process must be followed before APIs can be deprecated. |
We are not removing this api version completely. We are just upgrading the api version with this SDK release. This is not deprecation. |
|
not sure what the issue is. Is the GitHub diff messed up? It is showing bunch of APIs in red. |
Hey @ravbhatnagar . We are a little lost here. Are you saying we cannot move APIs across version from one SDK version to another? Just to reiterate, we are not removing these APIs. We are just bumping up their version. We had done this just a month back for more than 20 APIs. So, what's the issue you're talking about? Are we missing something here? |
|
@ravbhatnagar, could you please respond? |
|
@pratimaupadhyay02 @TAdityaAnirudh - you can add apis to a newer api-version. But that does not mean you can remove apis from an existing api-version. If you want these apis to be supported in a newer api-version, create a new api-version and add them there. They must not be removed from existing GA api-version, which I am assuming these are. |
@ravbhatnagar We tried retaining the APIs in the existing GA-api version. Compilation of specs fails in that case. So it's not an option. |
|
please work with @sanjaiganesh as he is the current API review oncall. |
|
@pratimaupadhyay02 please do not remove active APIs from prior versions. Users must be able to use all supported API versions in latest SDK builds |
|
Pull request contains merge conflicts. |
This reverts commit 9321d73.
|
Pull request contains merge conflicts. |
|
Pull request contains merge conflicts. |
|
Comment was made before the most recent commit for PR 7699 in repo Azure/azure-rest-api-specs |
This reverts commit c3b1463.
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Azure Pipelines successfully started running 1 pipeline(s). |
This reverts commit 77c7bd5.
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@KrisBash , please help to review again, thanks. |
anthony-c-martin
left a comment
There was a problem hiding this comment.
Please could you describe the changes you're making with this PR? When I diff bms.json against the previous version (2019-05-13), I see virtually no changes - is that intentional?
diff --git "a/2019-05-13\\bms.json" "b/2019-06-15\\bms.json"
index 24274a9..a77e080 100644
--- "a/2019-05-13\\bms.json"
+++ "b/2019-06-15\\bms.json"
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2019-05-13",
+ "version": "2019-06-15",
"title": "RecoveryServicesBackupClient",
"x-ms-code-generation-settings": {
"internalConstructors": false
@@ -3141,6 +3141,17 @@
},
"x-ms-discriminator-value": "GenericProtectionPolicy"
},
+ "InstantRPAdditionalDetails": {
+ "type": "object",
+ "properties": {
+ "azureBackupRGNamePrefix": {
+ "type": "string"
+ },
+ "azureBackupRGNameSuffix": {
+ "type": "string"
+ }
+ }
+ },
"GenericProtectedItem": {
"description": "Base class for backup items.",
"type": "object",
@@ -4080,6 +4091,9 @@
},
"ProtectedItem": {
"description": "Base class for backup items.",
+ "required": [
+ "protectedItemType"
+ ],
"type": "object",
"properties": {
"protectedItemType": {| ``` yaml $(tag) == 'package-2019-05' | ||
| input-file: | ||
| - Microsoft.RecoveryServices/stable/2019-05-13/bms.json | ||
| - Microsoft.RecoveryServices/stable/2019-06-15/bms.json |
There was a problem hiding this comment.
Please keep the old entry (2019-05-13) in-place
There was a problem hiding this comment.
Retained the old entry and created a new package (2019-06) which contains all the APIs.
|
Azure Pipelines successfully started running 1 pipeline(s). |
Yeah it is intentional. We are just adding the property RGNamePrefix and RGNameSuffix in AzureIaasVmProtectionPolicy and this contains the changes related to it only. Other than that we are bumping up the version of all the APIs to 2019-06-15. |
Thanks for the explanation! I see that |
|
Azure Pipelines successfully started running 1 pipeline(s). |
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.