-
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
Microsoft.Search RP Supports New 2024-06-01-Preview API #29104
Conversation
Copied the files in a separate commit. This allows reviewers to easily diff subsequent changes against the previous spec.
Updated the API version from preview/2024-03-01-preview to preview/2024-06-01-preview.
…into efrainretana/2024-06-01-Preview
Next Steps to Merge✅ All automated merging requirements have been met! To get your PR merged, see aka.ms/azsdk/specreview/merge. |
Swagger Validation Report
|
Compared specs (v0.10.9) | new version | base version |
---|---|---|
search.json | 2024-06-01-preview(a2fe037) | 2023-11-01(main) |
search.json | 2024-06-01-preview(a2fe037) | 2024-03-01-preview(main) |
The following breaking changes are detected by comparison with the latest stable version:
The following breaking changes are detected by comparison with the latest preview version:
Rule | Message |
---|---|
The new version is removing enum value(s) 'succeeded, provisioning, failed' from the old version. New: Microsoft.Search/preview/2024-06-01-preview/search.json#L2491:9 Old: Microsoft.Search/preview/2024-03-01-preview/search.json#L2485:9 |
️️✔️
CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️
LintDiff: 0 Warnings warning [Detail]
Compared specs (v2.2.2) | new version | base version |
---|---|---|
package-preview-2024-06 | package-preview-2024-06(a2fe037) | default(main) |
The following errors/warnings exist before current PR submission:
Only 30 items are listed, please refer to log for more details.
Rule | Message |
---|---|
OperationsApiSchemaUsesCommonTypes |
Operations API path must follow the schema provided in the common types. Location: Microsoft.Search/preview/2024-06-01-preview/search.json#L58 |
PathForResourceAction |
Path for 'post' method on a resource type MUST follow valid resource naming. Location: Microsoft.Search/preview/2024-06-01-preview/search.json#L121 |
PathForResourceAction |
Path for 'post' method on a resource type MUST follow valid resource naming. Location: Microsoft.Search/preview/2024-06-01-preview/search.json#L196 |
DeleteResponseCodes |
Synchronous delete operations must have responses with 200, 204 and default return codes. They also must have no other response codes. Location: Microsoft.Search/preview/2024-06-01-preview/search.json#L303 |
MissingXmsErrorResponse |
Response code 404 is defined without a x-ms-error-response. Location: Microsoft.Search/preview/2024-06-01-preview/search.json#L348 |
NoErrorCodeResponses |
Invalid status code specified. Please refer to the documentation for the allowed set. Location: Microsoft.Search/preview/2024-06-01-preview/search.json#L348 |
ResourceNameRestriction |
The resource name parameter 'searchServiceName' should be defined with a 'pattern' restriction. Location: Microsoft.Search/preview/2024-06-01-preview/search.json#L360 |
PatchBodyParametersSchema |
Properties of a PATCH request body must not be required, property:type. Location: Microsoft.Search/preview/2024-06-01-preview/search.json#L510 |
PatchBodyParametersSchema |
Properties of a PATCH request body must not have default value, property:replicaCount. Location: Microsoft.Search/preview/2024-06-01-preview/search.json#L510 |
PatchBodyParametersSchema |
Properties of a PATCH request body must not have default value, property:partitionCount. Location: Microsoft.Search/preview/2024-06-01-preview/search.json#L510 |
PatchBodyParametersSchema |
Properties of a PATCH request body must not have default value, property:hostingMode. Location: Microsoft.Search/preview/2024-06-01-preview/search.json#L510 |
PatchBodyParametersSchema |
Properties of a PATCH request body must not have default value, property:publicNetworkAccess. Location: Microsoft.Search/preview/2024-06-01-preview/search.json#L510 |
DeleteResponseCodes |
Synchronous delete operations must have responses with 200, 204 and default return codes. They also must have no other response codes. Location: Microsoft.Search/preview/2024-06-01-preview/search.json#L586 |
MissingXmsErrorResponse |
Response code 404 is defined without a x-ms-error-response. Location: Microsoft.Search/preview/2024-06-01-preview/search.json#L624 |
NoErrorCodeResponses |
Invalid status code specified. Please refer to the documentation for the allowed set. Location: Microsoft.Search/preview/2024-06-01-preview/search.json#L624 |
GetCollectionOnlyHasValueAndNextLink |
Get endpoints for collections of resources must only have the value and nextLink properties in their model.Location: Microsoft.Search/preview/2024-06-01-preview/search.json#L722 |
PutResponseCodes |
Synchronous and long-running PUT operations must have responses with 200, 201 and default return codes. They also must not have other response codes. Location: Microsoft.Search/preview/2024-06-01-preview/search.json#L736 |
ProvisioningStateMustBeReadOnly |
provisioningState property must be set to readOnly. Location: Microsoft.Search/preview/2024-06-01-preview/search.json#L782 |
ProvisioningStateMustBeReadOnly |
provisioningState property must be set to readOnly. Location: Microsoft.Search/preview/2024-06-01-preview/search.json#L831 |
DeleteResponseCodes |
Synchronous delete operations must have responses with 200, 204 and default return codes. They also must have no other response codes. Location: Microsoft.Search/preview/2024-06-01-preview/search.json#L843 |
DeleteOperationResponses |
The delete operation is defined without a 200 or 204 error response implementation,please add it.' Location: Microsoft.Search/preview/2024-06-01-preview/search.json#L877 |
DeleteResponseBodyEmpty |
The delete response body must be empty. Location: Microsoft.Search/preview/2024-06-01-preview/search.json#L880 |
ProvisioningStateMustBeReadOnly |
provisioningState property must be set to readOnly. Location: Microsoft.Search/preview/2024-06-01-preview/search.json#L880 |
MissingXmsErrorResponse |
Response code 404 is defined without a x-ms-error-response. Location: Microsoft.Search/preview/2024-06-01-preview/search.json#L884 |
NoErrorCodeResponses |
Invalid status code specified. Please refer to the documentation for the allowed set. Location: Microsoft.Search/preview/2024-06-01-preview/search.json#L884 |
ResourceNameRestriction |
The resource name parameter 'sharedPrivateLinkResourceName' should be defined with a 'pattern' restriction. Location: Microsoft.Search/preview/2024-06-01-preview/search.json#L947 |
ProvisioningStateSpecifiedForLROPut |
201 response schema in long running PUT operation is missing ProvisioningState property. A LRO PUT operations response schema must have ProvisioningState specified for the 200 and 201 status codes. Location: Microsoft.Search/preview/2024-06-01-preview/search.json#L948 |
PutResponseCodes |
Synchronous and long-running PUT operations must have responses with 200, 201 and default return codes. They also must not have other response codes. Location: Microsoft.Search/preview/2024-06-01-preview/search.json#L948 |
ProvisioningStateMustBeReadOnly |
provisioningState property must be set to readOnly. Location: Microsoft.Search/preview/2024-06-01-preview/search.json#L998 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.Search/preview/2024-06-01-preview/search.json#L1002 |
️️✔️
Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️
SwaggerAPIView succeeded [Detail] [Expand]
️️✔️
TypeSpecAPIView 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.
️️✔️
SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️
Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️
PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
️️✔️
Automated merging requirements met succeeded [Detail] [Expand]
Swagger Generation Artifacts
|
Generated ApiView
|
…source access rules
specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/search.json
Outdated
Show resolved
Hide resolved
/azp run |
Azure Pipelines successfully started running 4 pipeline(s). |
Awaiting review for ARM reviewer. Current position # 46. ETA: 5 days |
Current position # 45. ETA: 5 days |
Current position # 37. ETA: 4 days |
Received guidance from Razvan around updating our common types: We asked if it was possible to return null SystemData or omit from response while the implementation is complete. His suggestion: Don't upgrade common types until implementation is ready, as this can provide inaccurate data and some confusion (or not great experience). His suggestion was to upgrade to common type that does not use new system data properly (Such as v3). Unfortunately, we are trying to use v5 to make use of -> NSP definition, UserAssignedIdentity definition, and Resource definition which is only accessible in v5>=. |
…into efrainretana/2024-06-01-Preview
Current position # 28. ETA: 3 days |
/pr RequestMerge |
* Copy files from preview/2024-03-01-preview Copied the files in a separate commit. This allows reviewers to easily diff subsequent changes against the previous spec. * Update version to preview/2024-06-01-preview Updated the API version from preview/2024-03-01-preview to preview/2024-06-01-preview. * Added tag for 2024-06-01-preview in readme file * Add new features for bypass and resourceAccessRules * Prettier fixes * Accumulated fixes * Fix common types, error definition * typo in version * Update examples for provisioning state, add new update example for resource access rules * Add missing example ref * Remove resource access rules, unneeded. Update Bypass description * Fix casing * revert to v2 common types per guidance * revert to v2 common types per guidance
ARM (Control Plane) API Specification Update Pull Request
Tip
Overwhelmed by all this guidance? See the
Getting help
section at the bottom of this PR description.PR review workflow diagram
Please understand this diagram before proceeding. It explains how to get your PR approved & merged.
Purpose of this PR
What's the purpose of this PR? Check the specific option that applies. This is mandatory!
Due diligence checklist
To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:
ARM resource provider contract and
REST guidelines (estimated time: 4 hours).
I understand this is required before I can proceed to the diagram Step 2, "ARM API changes review", for this PR.
Additional information
Viewing API changes
For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the
Generated ApiView
comment added to this PR. You can use ApiView to show API versions diff.Suppressing failures
If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
suppressions guide to get approval.
Getting help
Purpose of this PR
andDue diligence checklist
.Next Steps to Merge
comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.and https://aka.ms/ci-fix.
queued
state, please add a comment with contents/azp run
.This should result in a new comment denoting a
PR validation pipeline
has started and the checks should be updated after few minutes.