-
Notifications
You must be signed in to change notification settings - Fork 5.5k
add managedEnvironment #22298
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
add managedEnvironment #22298
Conversation
Hi, @kaibocai 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. [email protected] |
Swagger Validation Report
|
compared swaggers (via Oad v0.10.4)] | new version | base version |
---|---|---|
CommonDefinitions.json | 2022-03-01(ddff6ab) | 2022-03-01(main) |
️️✔️
Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️
CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️
LintDiff: 0 Warnings warning [Detail]
compared tags (via openapi-validator v2.0.0) | new version | base version |
---|---|---|
package-2022-03 | package-2022-03(ddff6ab) | package-2022-03(main) |
The following errors/warnings exist before current PR submission:
Only 30 items are listed, please refer to log for more details.
Rule | Message |
---|---|
GetCollectionResponseSchema |
The response in the GET collection operation 'AppServiceCertificateOrders_List' does not match the response definition in the individual GET operation 'AppServiceCertificateOrders_Get' . Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L17 |
GetCollectionResponseSchema |
The response in the GET collection operation 'AppServiceCertificateOrders_ListCertificates' does not match the response definition in the individual GET operation 'AppServiceCertificateOrders_GetCertificate' . Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L17 |
GetCollectionResponseSchema |
The response in the GET collection operation 'Domains_List' does not match the response definition in the individual GET operation 'Domains_Get' . Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L17 |
GetCollectionResponseSchema |
The response in the GET collection operation 'Domains_ListOwnershipIdentifiers' does not match the response definition in the individual GET operation 'Domains_GetOwnershipIdentifier' . Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L17 |
GetCollectionResponseSchema |
The response in the GET collection operation 'TopLevelDomains_List' does not match the response definition in the individual GET operation 'TopLevelDomains_Get' . Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L17 |
GetCollectionResponseSchema |
The response in the GET collection operation 'AppServiceEnvironments_List' does not match the response definition in the individual GET operation 'AppServiceEnvironments_Get' . Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L17 |
GetCollectionResponseSchema |
The response in the GET collection operation 'AppServiceEnvironments_ListMultiRolePools' does not match the response definition in the individual GET operation 'AppServiceEnvironments_GetMultiRolePool' . Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L17 |
GetCollectionResponseSchema |
The response in the GET collection operation 'AppServiceEnvironments_ListWorkerPools' does not match the response definition in the individual GET operation 'AppServiceEnvironments_GetWorkerPool' . Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L17 |
GetCollectionResponseSchema |
The response in the GET collection operation 'Certificates_List' does not match the response definition in the individual GET operation 'Certificates_Get' . Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L17 |
GuidUsage |
Usage of Guid is not recommended. If GUIDs are absolutely required in your service, please get sign off from the Azure API review board. Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L671 |
ProvisioningStateValidation |
ProvisioningState must have terminal states: Succeeded, Failed and Canceled. Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L968 |
NestedResourcesMustHaveListOperation |
The nested resource 'HybridConnection' does not have list operation, please add it. Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L1806 |
GuidUsage |
Usage of Guid is not recommended. If GUIDs are absolutely required in your service, please get sign off from the Azure API review board. Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L2239 |
GuidUsage |
Usage of Guid is not recommended. If GUIDs are absolutely required in your service, please get sign off from the Azure API review board. Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L3060 |
NestedResourcesMustHaveListOperation |
The nested resource 'VnetGateway' does not have list operation, please add it. Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L3948 |
NestedResourcesMustHaveListOperation |
The nested resource 'VnetInfoResource' does not have list operation, please add it. Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L4025 |
NestedResourcesMustHaveListOperation |
The nested resource 'VnetRoute' does not have list operation, please add it. Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L4042 |
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L125 |
|
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L147 |
|
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L190 |
|
Consider using x-ms-client-flatten to provide a better end user experience Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L237 |
|
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L286 |
|
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L291 |
|
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L306 |
|
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L325 |
|
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L334 |
|
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L343 |
|
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L382 |
|
Consider using x-ms-client-flatten to provide a better end user experience Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L441 |
|
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L470 |
️️✔️
Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️
ApiReadinessCheck succeeded [Detail] [Expand]
️⚠️
~[Staging] ServiceAPIReadinessTest: 0 Warnings warning [Detail]
API Test is not triggered due to precheck failure. Check pipeline log for details.
️️✔️
~[Staging] SwaggerAPIView succeeded [Detail] [Expand]
️️✔️
~[Staging] CadlAPIView succeeded [Detail] [Expand]
️️✔️
ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️
SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️
PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️️✔️
PrettierCheck succeeded [Detail] [Expand]
Validation passes for PrettierCheck.
️❌
SpellCheck: 2 Errors, 0 Warnings failed [Detail]
Rule | Message |
---|---|
HowToFix |
Unknown word (containerapp), please fix the error or add words to ./custom-words.txt path: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L3083:31 |
HowToFix |
Unknown word (indentify), please fix the error or add words to ./custom-words.txt path: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L3083:74 |
️️✔️
Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️
CadlValidation succeeded [Detail] [Expand]
Validation passes for CadlValidation.
️️✔️
PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
Swagger Generation Artifacts
|
Generated ApiView
|
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.
I think we need to create another version (i.e. another folder with the same contents as the 2022-03-01 folder but with these changes) since other clients might depend on this 2022-03-01 schema version
Hi Team, can we review this PR and let me know if it's good to merge? Thanks. |
One won't merge a private preview into a stable api-version Also adding property needs a new api-version web is branch here #22084 |
Thank you @weidongxu-microsoft , I have open a new PR here #22341, closing this one. Thanks. |
Data Plane API - Pull Request
add managedEnvironment to Site schema to support project centauri
API Info: The Basics
Most of the information about your service should be captured in the issue that serves as your engagement record.
Is this review for (select one):
Change Scope
This section will help us focus on the specific parts of your API that are new or have been modified.
Please share a link to the design document for the new APIs, a link to the previous Open API document (swagger) if applicable, and the root paths that have been updated.
❔Got questions? Need additional info?? We are here to help!
Contact us!
The Azure API Review Board is dedicated to helping you create amazing APIs. You can read about our mission and learn more about our process on our wiki.
Click here for links to tools, specs, guidelines & other good stuff
Tooling
Guidelines & Specifications
Helpful Links