-
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
Adding ReadOnlyDatabase object to Synapse model. #17213
Adding ReadOnlyDatabase object to Synapse model. #17213
Conversation
Hi, @amirdach Thanks for your PR. I am workflow bot for review process. Here are some small tips. Any feedback about review process or workflow bot, pls contact swagger and tools team. vsswagger@microsoft.com |
[Call for Action] To better understand Azure service dev/test scenario, and support Azure service developer better on Swagger and REST API related tests in early phase, please help to fill in with this survey https://aka.ms/SurveyForEarlyPhase. It will take 5 to 10 minutes. If you already complete survey, please neglect this comment. Thanks. |
Swagger Validation Report
|
Rule | Message |
---|---|
R2026 - AvoidAnonymousTypes |
Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models. Location: synapse/common/v1/privateEndpointConnection.json#L326 |
R4015 - NestedResourcesMustHaveListOperation |
The nested resource 'DataWarehouseUserActivities' does not have list operation, please add it. Location: Microsoft.Synapse/stable/2021-06-01/sqlPool.json#L5687 |
R4015 - NestedResourcesMustHaveListOperation |
The nested resource 'SqlPoolConnectionPolicy' does not have list operation, please add it. Location: Microsoft.Synapse/stable/2021-06-01/sqlPool.json#L6626 |
R4015 - NestedResourcesMustHaveListOperation |
The nested resource 'SqlPoolVulnerabilityAssessmentRuleBaseline' does not have list operation, please add it. Location: Microsoft.Synapse/stable/2021-06-01/sqlPool.json#L6990 |
R4015 - NestedResourcesMustHaveListOperation |
The nested resource 'DataMaskingPolicy' does not have list operation, please add it. Location: Microsoft.Synapse/stable/2021-06-01/sqlPool.json#L7236 |
R4032 - MissingXmsErrorResponse |
Response code 404 is defined without a x-ms-error-response. Location: Microsoft.Synapse/stable/2021-06-01/operations.json#L163 |
R4032 - MissingXmsErrorResponse |
Response code 404 is defined without a x-ms-error-response. Location: Microsoft.Synapse/stable/2021-06-01/sqlPool.json#L191 |
R4032 - MissingXmsErrorResponse |
Response code 404 is defined without a x-ms-error-response. Location: Microsoft.Synapse/stable/2021-06-01/sqlPool.json#L550 |
R4032 - MissingXmsErrorResponse |
Response code 404 is defined without a x-ms-error-response. Location: Microsoft.Synapse/stable/2021-06-01/sqlPool.json#L615 |
R4037 - MissingTypeObject |
The schema 'PrivateEndpointConnectionForPrivateLinkHub_ResourceCollectionResponse' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: synapse/common/v1/privateEndpointConnection.json#L339 |
R4037 - MissingTypeObject |
The schema 'properties' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Synapse/stable/2021-06-01/sqlPool.json#L5416 |
R4037 - MissingTypeObject |
The schema 'GeoBackupPolicyProperties' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Synapse/stable/2021-06-01/sqlPool.json#L5434 |
R4037 - MissingTypeObject |
The schema 'GeoBackupPolicy' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Synapse/stable/2021-06-01/sqlPool.json#L5459 |
R4037 - MissingTypeObject |
The schema 'GeoBackupPolicyListResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Synapse/stable/2021-06-01/sqlPool.json#L5487 |
R4037 - MissingTypeObject |
The schema 'TopQueries' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Synapse/stable/2021-06-01/sqlPool.json#L5499 |
R4037 - MissingTypeObject |
The schema 'QueryStatistic' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Synapse/stable/2021-06-01/sqlPool.json#L5582 |
R4037 - MissingTypeObject |
The schema 'QueryInterval' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Synapse/stable/2021-06-01/sqlPool.json#L5600 |
R4037 - MissingTypeObject |
The schema 'QueryMetric' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Synapse/stable/2021-06-01/sqlPool.json#L5625 |
R4037 - MissingTypeObject |
The schema 'TopQueriesListResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Synapse/stable/2021-06-01/sqlPool.json#L5660 |
R4037 - MissingTypeObject |
The schema 'ReplicationLinkProperties' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Synapse/stable/2021-06-01/sqlPool.json#L5779 |
R4037 - MissingTypeObject |
The schema 'ReplicationLink' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Synapse/stable/2021-06-01/sqlPool.json#L5866 |
R4037 - MissingTypeObject |
The schema 'ReplicationLinkListResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Synapse/stable/2021-06-01/sqlPool.json#L5891 |
R4037 - MissingTypeObject |
The schema 'TransparentDataEncryptionProperties' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Synapse/stable/2021-06-01/sqlPool.json#L6024 |
R4037 - MissingTypeObject |
The schema 'TransparentDataEncryption' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Synapse/stable/2021-06-01/sqlPool.json#L6040 |
R4037 - MissingTypeObject |
The schema 'SqlPoolUsage' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Synapse/stable/2021-06-01/sqlPool.json#L6287 |
R4037 - MissingTypeObject |
The schema 'SqlPoolUsageListResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Synapse/stable/2021-06-01/sqlPool.json#L6330 |
R4037 - MissingTypeObject |
The schema 'DataMaskingPolicyProperties' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Synapse/stable/2021-06-01/sqlPool.json#L7202 |
R4037 - MissingTypeObject |
The schema 'DataMaskingPolicy' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Synapse/stable/2021-06-01/sqlPool.json#L7236 |
R4037 - MissingTypeObject |
The schema 'DataMaskingRule' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Synapse/stable/2021-06-01/sqlPool.json#L7367 |
R4037 - MissingTypeObject |
The schema 'DataMaskingRuleProperties' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Synapse/stable/2021-06-01/sqlPool.json#L7392 |
️⚠️
Avocado: 1 Warnings warning [Detail]
Rule | Message |
---|---|
The default tag contains multiple API versions swaggers. readme: specification/synapse/resource-manager/readme.md tag: specification/synapse/resource-manager/readme.md#tag-package-composite-v2 |
️️✔️
~[Staging] ApiReadinessCheck succeeded [Detail] [Expand]
️️✔️
ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️
SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️
Cross-Version Breaking Changes succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️
CredScan succeeded [Detail] [Expand]
There is no credential detected.
️️✔️
SDK Track2 Validation succeeded [Detail] [Expand]
Validation passes for SDKTrack2Validation
- The following tags are being changed in this PR
️️✔️
PrettierCheck succeeded [Detail] [Expand]
Validation passes for PrettierCheck.
️️✔️
SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️
Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
Swagger Generation Artifacts
|
Hi @amirdach, Your PR has some issues. Please fix the CI sequentially by following the order of
|
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.
Could you change the readwrite database statistics to readOnly:true?
Should be done in 2947
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlPool.json
Show resolved
Hide resolved
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
* Adding ReadOnlyDatabase object to Synapse model. * Adding type:object to ReadOnlyDatabase and to its properties. * fix python pipeline failure * fix python pipeline failure Co-authored-by: Amir Dachabash <adachabash@microsoft.com> Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com> Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
Changelog
This PR updates an existing API version and adds a missing object.
It adds ReadOnlyDatabase (and its properties object) to the Synapse model which is similar to the ReadOnlyDatabase in Kusto model.