-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Managed instance data classification REST API - examples files name fixes #3673
Conversation
Can one of the admins verify this patch? |
Automation for azure-sdk-for-pythonNothing to generate for azure-sdk-for-python |
Automation for azure-sdk-for-rubyThe initial PR has been merged into your service PR: |
Automation for azure-sdk-for-javaNothing to generate for azure-sdk-for-java |
Automation for azure-sdk-for-goNothing to generate for azure-sdk-for-go |
Automation for azure-sdk-for-nodeA PR has been created for you: |
Thanks @igsiroti!
|
Thanks @annatisch for the review! In the removed files there was a typo in their names '..Sensitivty...' instead of '..Sensitivity...' so I renamed them (it shows as if removed and added) and updated the refs. Does it makes sense? |
Thanks @igsiroti - yes I understand the changes in the PR. And the Were these path changes recently introduced to the spec? Just trying to figure out where these warnings are coming from :) |
sorry my bad. adding it now |
Thanks @igsiroti - though I'm a bit confused - are these new changes to the API? Were they existing changes that were somehow reverted? |
Looking at the changes it appears that:
Does this sound accurate? Finally - are you aware that currently no SDKs are being generated for these new APIs? If you wish for them to be added to the SDK, please add the new spec to the package tag in the readme :) Thanks! |
Thanks |
Thanks @igsiroti! |
Ping @ravbhatnagar |
Removed sensitivityLabelSource segment. Changed REST API to (in logical server and managed instance(: providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/sensitivityLabels /providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/currentSensitivityLabels providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/recommendedSensitivityLabels
Pinging @ravbhatnagar again - could you please take a look at the new managed instance sensitivity label APIs? |
"$ref": "#/definitions/SensitivityLabel" | ||
} | ||
}, | ||
"default": { |
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.
schema for the default response much be the ARM error contract as described in RPC. Check Batch RP swagger for a sample.
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.
checked with Igal. He will follow up with Jared since all SQL swaggers are generated by tool.
...ource-manager/Microsoft.Sql/preview/2018-06-01-preview/managedInstanceSensitivityLabels.json
Outdated
Show resolved
Hide resolved
...ource-manager/Microsoft.Sql/preview/2018-06-01-preview/managedInstanceSensitivityLabels.json
Outdated
Show resolved
Hide resolved
@igsiroti FYI |
Thanks @ravbhatnagar |
Correct. I want to make sure we are OK with the default response @ravbhatnagar mentioned above. Waiting for Jared's response |
Default response can be added later as it needs to be added to all SQL APIs. Signing off on this from ARM side. |
"name": "sensitivityLabelSource", | ||
"in": "path", | ||
"description": "Optional source of the sensitivity label. Valid values are current or recommeneded. In not specified both returned.", | ||
"required": true, |
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.
The description says this is optional, but it's marked as required.
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.
Not sure how but it's old file. Fixing it
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.
You're right - looks like I didn't have the latest changes :)
...ource-manager/Microsoft.Sql/preview/2018-06-01-preview/managedInstanceSensitivityLabels.json
Outdated
Show resolved
Hide resolved
Automation for azure-sdk-for-jsNothing to generate for azure-sdk-for-js |
Thanks @igsiroti - it's looking good. |
Thanks @annatisch. I renamed the spec |
No description provided.