-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Update bms.json #10030
Update bms.json #10030
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1302,32 +1302,6 @@ | |
"modelAsString": true | ||
} | ||
}, | ||
"healthStatus": { | ||
"description": "Health status of protected item.", | ||
"enum": [ | ||
"Passed", | ||
"ActionRequired", | ||
"ActionSuggested", | ||
"Healthy", | ||
"TransientDegraded", | ||
"PersistentDegraded", | ||
"TransientUnhealthy", | ||
"PersistentUnhealthy", | ||
"Invalid" | ||
], | ||
"type": "string", | ||
"x-ms-enum": { | ||
"name": "HealthStatus", | ||
"modelAsString": true | ||
} | ||
}, | ||
"healthDetails": { | ||
"description": "Health details on this backup item.", | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/HealthDetails" | ||
} | ||
}, | ||
"lastBackupStatus": { | ||
"description": "Last backup operation status. Possible values: Healthy, Unhealthy.", | ||
"type": "string" | ||
|
@@ -1630,7 +1604,7 @@ | |
} | ||
} | ||
}, | ||
"HealthDetails": { | ||
"ResourceHealthDetails": { | ||
"description": "Health Details for backup items.", | ||
"type": "object", | ||
"properties": { | ||
|
@@ -1665,7 +1639,7 @@ | |
"type": "object", | ||
"allOf": [ | ||
{ | ||
"$ref": "#/definitions/HealthDetails" | ||
"$ref": "#/definitions/ResourceHealthDetails" | ||
} | ||
] | ||
}, | ||
|
@@ -1842,11 +1816,6 @@ | |
"Passed", | ||
"ActionRequired", | ||
"ActionSuggested", | ||
"Healthy", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove enum value is kind of breaking change. this change is really required ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hi @akning-ms these enum values were not populated in the service code. So it will not be a breaking change. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. agree with @akning-ms , removing an enum value is breaking change in SDK. |
||
"TransientDegraded", | ||
"PersistentDegraded", | ||
"TransientUnhealthy", | ||
"PersistentUnhealthy", | ||
"Invalid" | ||
], | ||
"type": "string", | ||
|
@@ -2208,32 +2177,6 @@ | |
"modelAsString": true | ||
} | ||
}, | ||
"healthStatus": { | ||
"description": "Health status of protected item.", | ||
"enum": [ | ||
"Passed", | ||
"ActionRequired", | ||
"ActionSuggested", | ||
"Healthy", | ||
"TransientDegraded", | ||
"PersistentDegraded", | ||
"TransientUnhealthy", | ||
"PersistentUnhealthy", | ||
"Invalid" | ||
], | ||
"type": "string", | ||
"x-ms-enum": { | ||
"name": "HealthStatus", | ||
"modelAsString": true | ||
} | ||
}, | ||
"healthDetails": { | ||
"description": "Health details on this backup item.", | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/HealthDetails" | ||
} | ||
}, | ||
"extendedInfo": { | ||
"$ref": "#/definitions/AzureVmWorkloadProtectedItemExtendedInfo", | ||
"description": "Additional information for this backup item." | ||
|
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.
removing property is a breaking change
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.
Hi @changlong-liu and @akning-ms ,
The properties which are being removed had never been enabled for the customer. We had done the Swagger and SDK changes for adding these properties and enums as part of a recent PR (#9711) and the service code to use these fields is not enabled. So no customer can possibly be using these properties. Based on internal feedback we have decided to follow a different approach so we wont be needing these properties anymore. So i would like to remove them. Even the enum "HealthStatus" needs to be removed/updated. If you can agree upon this then i can remove the enum also as part of this PR instead of a separate PR.
Thanks,
Labonya
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.
As discussed with @akning-ms I have removed the enums.
Will update the SDK for this change along with the changes for a few more Swagger PRs which are currently in our pipeline.