-
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
swagger changes for adding new parameter in dc telemetry #24834
Changes from 4 commits
35c7bc1
be51f4f
b66833f
78f3496
2ecb4d4
490b53a
ced88c4
453c4d9
72daf44
0a89b90
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 |
---|---|---|
|
@@ -369,7 +369,7 @@ | |
"current" | ||
], | ||
"x-ms-enum": { | ||
"name": "WritableSensitivityLabelSource", | ||
"name": "CurrentSensitivityLabelSource", | ||
"modelAsString": false | ||
} | ||
}, | ||
|
@@ -463,7 +463,7 @@ | |
"current" | ||
], | ||
"x-ms-enum": { | ||
"name": "WritableSensitivityLabelSource", | ||
"name": "CurrentSensitivityLabelSource", | ||
"modelAsString": false | ||
} | ||
}, | ||
|
@@ -540,7 +540,7 @@ | |
"recommended" | ||
], | ||
"x-ms-enum": { | ||
"name": "SensitivityLabelSource", | ||
"name": "RecommendedSensitivityLabelSource", | ||
"modelAsString": false | ||
} | ||
}, | ||
|
@@ -556,7 +556,7 @@ | |
"description": "Successfully disabled the sensitivity recommendations on the given column." | ||
}, | ||
"default": { | ||
"description": "*** Error Responses: ***\n\n * 404 SensitivityLabelsColumnNotFound - The column {0} could not be found in table {2}.{1}\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 SubscriptionNotFound - The requested subscription was not found.\n\n * 404 CannotFindObject - Cannot find the object because it does not exist or you do not have permissions\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." | ||
"description": "*** Error Responses: ***\n\n * 404 CannotFindObject - Cannot find the object because it does not exist or you do not have permissions\n\n * 404 SensitivityLabelsColumnNotFound - The column {0} could not be found in table {2}.{1}\n\n * 404 SubscriptionNotFound - The requested subscription was not found.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." | ||
} | ||
}, | ||
"x-ms-examples": { | ||
|
@@ -617,7 +617,7 @@ | |
"recommended" | ||
], | ||
"x-ms-enum": { | ||
"name": "SensitivityLabelSource", | ||
"name": "RecommendedSensitivityLabelSource", | ||
"modelAsString": false | ||
} | ||
}, | ||
|
@@ -633,7 +633,7 @@ | |
"description": "Successfully enabled the sensitivity recommendations on the given column." | ||
}, | ||
"default": { | ||
"description": "*** Error Responses: ***\n\n * 404 SensitivityLabelsColumnNotFound - The column {0} could not be found in table {2}.{1}\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 SubscriptionNotFound - The requested subscription was not found.\n\n * 404 CannotFindObject - Cannot find the object because it does not exist or you do not have permissions\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." | ||
"description": "*** Error Responses: ***\n\n * 404 CannotFindObject - Cannot find the object because it does not exist or you do not have permissions\n\n * 404 SensitivityLabelsColumnNotFound - The column {0} could not be found in table {2}.{1}\n\n * 404 SubscriptionNotFound - The requested subscription was not found.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." | ||
} | ||
}, | ||
"x-ms-examples": { | ||
|
@@ -854,6 +854,19 @@ | |
"name": "SensitivityLabelRank", | ||
"modelAsString": false | ||
} | ||
}, | ||
"clientClassificationSource": { | ||
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. Do we have example files for this new enum property in DSMainDev? 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. yes I have added example file |
||
"enum": [ | ||
"None", | ||
"Native", | ||
"Recommended", | ||
"MIP" | ||
], | ||
"type": "string", | ||
"x-ms-enum": { | ||
"name": "ClientClassificationSource", | ||
"modelAsString": false | ||
} | ||
} | ||
} | ||
}, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -361,7 +361,7 @@ | |
"current" | ||
], | ||
"x-ms-enum": { | ||
"name": "WritableSensitivityLabelSource", | ||
"name": "CurrentSensitivityLabelSource", | ||
"modelAsString": false | ||
} | ||
}, | ||
|
@@ -451,7 +451,7 @@ | |
"current" | ||
], | ||
"x-ms-enum": { | ||
"name": "WritableSensitivityLabelSource", | ||
"name": "CurrentSensitivityLabelSource", | ||
"modelAsString": false | ||
} | ||
}, | ||
|
@@ -524,7 +524,7 @@ | |
"recommended" | ||
], | ||
"x-ms-enum": { | ||
"name": "SensitivityLabelSource", | ||
"name": "RecommendedSensitivityLabelSource", | ||
"modelAsString": false | ||
} | ||
}, | ||
|
@@ -540,7 +540,7 @@ | |
"description": "Successfully disabled the sensitivity recommendation on the given column." | ||
}, | ||
"default": { | ||
"description": "*** Error Responses: ***\n\n * 400 DatawarehouseDatabaseIsDeactivated - Could not execute Data Classification operation because the database is paused. Please resume it.\n\n * 404 SensitivityLabelsColumnNotFound - The column {0} could not be found in table {2}.{1}\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 SubscriptionNotFound - The requested subscription was not found.\n\n * 404 CannotFindObject - Cannot find the object because it does not exist or you do not have permissions\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." | ||
"description": "*** Error Responses: ***\n\n * 400 DatawarehouseDatabaseIsDeactivated - Could not execute Data Classification operation because the database is paused. Please resume it.\n\n * 404 CannotFindObject - Cannot find the object because it does not exist or you do not have permissions\n\n * 404 SensitivityLabelsColumnNotFound - The column {0} could not be found in table {2}.{1}\n\n * 404 SubscriptionNotFound - The requested subscription was not found.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." | ||
} | ||
}, | ||
"x-ms-examples": { | ||
|
@@ -597,7 +597,7 @@ | |
"recommended" | ||
], | ||
"x-ms-enum": { | ||
"name": "SensitivityLabelSource", | ||
"name": "RecommendedSensitivityLabelSource", | ||
"modelAsString": false | ||
} | ||
}, | ||
|
@@ -613,7 +613,7 @@ | |
"description": "Successfully enabled the sensitivity recommendations on the given column." | ||
}, | ||
"default": { | ||
"description": "*** Error Responses: ***\n\n * 400 DatawarehouseDatabaseIsDeactivated - Could not execute Data Classification operation because the database is paused. Please resume it.\n\n * 404 SensitivityLabelsColumnNotFound - The column {0} could not be found in table {2}.{1}\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 SubscriptionNotFound - The requested subscription was not found.\n\n * 404 CannotFindObject - Cannot find the object because it does not exist or you do not have permissions\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." | ||
"description": "*** Error Responses: ***\n\n * 400 DatawarehouseDatabaseIsDeactivated - Could not execute Data Classification operation because the database is paused. Please resume it.\n\n * 404 CannotFindObject - Cannot find the object because it does not exist or you do not have permissions\n\n * 404 SensitivityLabelsColumnNotFound - The column {0} could not be found in table {2}.{1}\n\n * 404 SubscriptionNotFound - The requested subscription was not found.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." | ||
} | ||
}, | ||
"x-ms-examples": { | ||
|
@@ -834,6 +834,19 @@ | |
"name": "SensitivityLabelRank", | ||
"modelAsString": false | ||
} | ||
}, | ||
"clientClassificationSource": { | ||
"enum": [ | ||
"None", | ||
"Native", | ||
"Recommended", | ||
"MIP" | ||
], | ||
"type": "string", | ||
"x-ms-enum": { | ||
"name": "ClientClassificationSource", | ||
"modelAsString": false | ||
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. please use "modelAsString": true in DSMaindev code |
||
} | ||
} | ||
} | ||
}, | ||
|
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.
can you please revert Venkat's change? when your PR is merged, it would auto rebase or sync.
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.
done