Skip to content
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

Release sql microsoft.sql 2023 02 01 preview #24116

Closed
wants to merge 20 commits into from
Closed

Release sql microsoft.sql 2023 02 01 preview #24116

wants to merge 20 commits into from

Conversation

Aleksand4rZivanovic
Copy link
Member

@Aleksand4rZivanovic Aleksand4rZivanovic commented May 23, 2023

ARM API Information (Control Plane)

Changelog

Add a changelog entry for this PR by answering the following questions:

  1. What's the purpose of the update?
    • new service onboarding
    • new API version
    • update existing version for new feature
    • update existing version to fix swagger quality issue in s360
    • Other, please clarify
  2. When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
  4. By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

If any further question about AME onboarding or validation tools, please view the FAQ.

ARM API Review Checklist

Applicability: ⚠️

If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

  • Change to data plane APIs
  • Adding new properties
  • All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

  • Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review. Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

    • Adding a new service
    • Adding new API(s)
    • Adding a new API version
      -[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki. Note that this doesn't apply if you are trying to merge a PR that was previously in the private repository.
  • Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

  • If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist

If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.

NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)

Please follow the link to find more details on PR review process.

SrinikhilReddy and others added 20 commits May 20, 2023 21:24
…n preview/2023-03-15-preview (#23327)

* Adds base for updating Microsoft.DocumentDB from version preview/2023-03-01-preview to version 2023-03-15-preview

* Updates readme

* Updates API version in new specs and examples

* combined changes for managed cassandra preview swagger.

* materializedview swagger changes

* changing preview release version

* Reverting changes to 2023-03-01-preview

* preview changes for nova.

* Pretty check.

* Add files via upload

* Update cosmos-db.json

adds database partition merge api.

* saving work

* saving work

* saving work

* Add example for swagger apis.

* fix cluster name and rg values in example.

* Add cassandraProcessStatus property.

* format example.

* Fixing model validation errors.

* Resolving model validation errors.

* resolve Lint Diff issues.

* removing duplicate entry for package-preview-2023-03

* Fixing spelling.

* Fix pretty validation.

* try removing modelerfour:

* update readme to 2023-01-15-preview

* bring back both 2023-03-01 and 2023-03-15 preview in readme.md

* update tag to generate for  package-preview-2023-03-15

* ring back CassandraClusterRepairPublicProperties.

* merge conflict resolution

* port listconnectionstrings changes from 03-15-stable

* backport stable to preview swagger.

* port location api updates from 3-15-stable to preview version

* Fix model validation error :-).

* remove duplicate status property

* Undo Vivek's changes.

* saving work

* saving work

* local changes

* local changes

* local changes

* local changes

* temporally resolve duplicate schema issue

---------

Co-authored-by: Vivek Sundararajan <visunda@microsoft.com>
Co-authored-by: Chandrasekhar Gunturi <chguntur@microsoft.com>
Co-authored-by: Carolyn Jackson <carjackson@microsoft.com>
Co-authored-by: Chenjie Shi <tadelesh.shi@live.cn>
* Added new version that include data connector api.

* Update easm api version to include data connection

* Update readme

* Update version in readme, rename example DataConnections_Remove.json

* Address comments on easm api 2023-03-01-preview version

* Update List operations examples and add Assets_Observations example

* Update model of examples

* Update data connections examples

* Remove properties field from DataConnections_Get example

* add discriminator to data connection base classes

* Add properties to examples

* Fix typos

* Remove assets observations endpoint and its example

* the `value` property of a pageable responses is required

---------

Co-authored-by: Brian Zak <brianzak@microsoft.com>
…ter in "MarketplaceSaaSInfo" response (#24031)

* Base API Commit

* Changing API version to 2023-05-01-preview

* adding additional parameter "marketplaceStatus"

* updating readme.md
…#24085)

* [AutoSync] 4844c5088f Add OutputColumnsElement For Track2 Upgrade

* [AutoSync] 0fe3e1a701 update

* [AutoSync] 39056bdca3 update

---------

Co-authored-by: swagger-automation <swagger@microsoft.com>
* first pr

* prettier fix

* fix ref

* response code

* readme

* readme api version

* api version

* try fix avocado

* try again

* another one

* try to remove default tag

* semantic validation

* operations

* autorest

* a few more fixes to examples

* save progress

* fix all issues

* custom word

* comments

* ARM review comments

* remove unnecessary files

* remove local changes

* minor modification
…ersion preview/2023-03-01-preview (#23402)

* Adds base for updating Microsoft.DBforPostgreSQL from version stable/2022-12-01 to version 2023-03-01-preview

* Updates readme

* Updates API version in new specs and examples

* Update api and add examples to support CMK with geo-backup

* Fix object missing required property error for userassignedidentity

* Fix multiple default tags error in readme file

* Update Typescript and Python readme files to include new api version 2023-03-01-preview

* Add storage autoGrow support for api version 2023-12-01

* Add support for location capabilities and server capabilities api for api version 2023-03-01-preview

* FIx some swagger linter errors

* Fix linter issues and fix the response for Location capabilities

* Fix linter and prettier errors for capabilities api

* Fix linter error

* Fix linter error for missing identifier id

* Add support for IOPS scaling properties for PG flexible servers

* Remove unsupported type "SystemAssigned" for User AssignedIdentities after syncing code with main branch

* Fix review comment to have iopsTier as optional set, however both iopsTier and iops should be part of response.

* FIx the object for capabilities api to be in sync with the RP

* Update boolean properties to string instead for Enabled/Disabled

* Fix examples for capabilities api

* Add an entry for LogFiles controller to list server logs for PostgreSQL flexible server

* Added an entry for ServerLogs in readme.md file

* Add new supported property, onlineResizeSupported for capabilities api

* Fix path for common types.json

* Fix paths for common types.json to fix validation errors

* DIrectly refer the common type ErrorResponse definition for default response for logFiles api

* Add advancedThreatProtectionSettings api and corresponding samples to 2023-03-01-preview api version for PostgreSQL flexible servers

* Add threat protection to name tag for api version 2023-03-01-preview

* Add migrations api and migrationCheckNameAvailability api to 2023-03-01-preview version

* Fix linter errors for ThreatProtection

* Fix linter errors for Migrations

* Fix linter errors for capabiities

* Update boolean properties for Migrations to enum

* Add long term retention APIs to 2023-03-01 preview

* Fix the request and response based on controller actions for long term retention backup apis

* Fix lintdiff warnings

* Fix review comments

* Fix issue related to tools like credscan, spellcheck, api swagger view

* Fix linter errors

* Revert changes for Update for Migrations api

* Fix file path for Migrations

* Fix pyton track errors

* Fix typo for Migrations properties

* Updated description for review comments

* Fix typo

* Fix SDK automation errors

* Fixed review comment

* Updated api name for post operation and updated descriptions

* Add missing body parameters for threat protection api

* Fix linDiff error to add update in PUT description for Migrations api

* Remove unwanted parameters for long term retention apis

* Add support for ReviveDropped createMode for 2023-03-01-preview api version

* Fix file reference

* Fix S360 issue for sourceServerResourceId in response and fix descriptions for other issues

* Fix S360 for replicaCapacity returned only in response but not set in PUT

* Remove newly added Server Threat Protection api from swagger for api version 2023-03-01-preview

---------

Co-authored-by: Tanay Varma <tavarma@microsoft.com>
Co-authored-by: v-yuchenli <v-yuchenli@microsoft.com>
Co-authored-by: subhrob <subhrob@microsoft.com>
…#23670)

* remove dropExistingTargetTableOnStart properties

* add actionOnExistingTargetTable properties

Co-authored-by: jingjingzhong123 <131136533+jingjingzhong123@users.noreply.github.com>
* start typespec

* adding eventgrid typespec for api w/ TODOs

* update eventgrid typespec with latest eventgrid v2 operations

* don't require content-type if there is no body

* Update specification/eventgrid/typespec/main.tsp

Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>

* Update specification/eventgrid/typespec/main.tsp

Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>

* changing naming of cloudevent and added in data_base64

* openapi.json

* Update specification/eventgrid/typespec/main.tsp

Co-authored-by: Libba Lawrence <llawrence@microsoft.com>

* Update specification/eventgrid/typespec/main.tsp

Co-authored-by: Libba Lawrence <llawrence@microsoft.com>

* Update specification/eventgrid/typespec/main.tsp

Co-authored-by: Libba Lawrence <llawrence@microsoft.com>

* lockTokens format, updated json, optional? params

* address code review comments

* name_change

* add @internal for python

* Update specification/eventgrid/Azure.Messaging.EventGrid/main.tsp

Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>

* move @internal to client.tsp (#23538)

* rename (#23565)

* [EventGrid Typespec] breaking changes with april release of typespec (#23539)

* breaking changes with april release of typespec

* unknown type

* [EG Typespec] Update Release behavior (#23699)

* update behavior

* just behavior

* Add tspconfig and remove AAD auth (#23717)

* add tspconfig

* add namespace

* remove oauth

* [EG TypeSpec] Archboard Comments (#23696)

* refactoring off of apiview

* keep as int

* no duration

* aligning ack and release

* remove behavioral change

* ack to release

* initial naming changes

* Update ReleaseResult doc

Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>

* Update AckResult doc

Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>

* versioning twice-- remove one instance

---------

Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>

* Address couple of stewardship team feedback. These include: 1. Rename CloudEventEvent to simply CloudEvent, 2. Add more description to the operations including the possible erorr codes, 3. Add PublishResult with empty Json object as successful response for the Publish operation, 4. Others.

* Add support for missing Reject operation + adding deliveryAttemptCount to BrokerProperties + Adding query parameter for release operation for deliveryDelayInSeconds

* Update failedTokens/SuccessfulTokens Description to address code review comments

* Update to match service behavior (#23754)

* Update to match service behavior

* remove locktoken

* [EGv2] Editing unused variables (#23917)

* event delivery delay not in preview

* remove from url comment

* [EGv2] Version dependency on Azure.Core  (#23936)

* verioning fix

* spacing mishap?

* [EventGrid] Deliveryattempt change (#23960)

* deliveryCount 5/1

* small typo

* [EventGrid] Remove internal (#23995)

* remove internal

* remove client.tsp

* remove waitWaitTime (#24078)

* move location of json file (#24076)

* [Egv2] Encode param (#24080)

* encode

* remove num default on duration

---------

Co-authored-by: Laurent Mazuel <laurent.mazuel@gmail.com>

* [EGv2] Fix pipeline (#24098)

* regen off new commit for encode

* reference preview tag

* ignore word

* update readme to have both apis

* update with next autorest

* change format to int32

---------

Co-authored-by: Ashraf Hamad <ahamad@ntdev.microsoft.com>
Co-authored-by: Laurent Mazuel <laurent.mazuel@gmail.com>
Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>
Co-authored-by: Ashraf Hamad <ahamad-MS@users.noreply.github.com>
- Includes fix for Azure/typespec-azure#3024
…23948)

Co-authored-by: Umang Shah <umangshah@microsoft.com>
* Adds base for updating Microsoft.CognitiveServices from version stable/2022-12-01 to version 2023-05-01

* Updates readme

* Updates API version in new specs and examples

* Cognitive Services 2023-05-01 56f9414
author Tianxin Liu <tianxinliu@microsoft.com> 1681797091 -0700
committer Tianxin Liu <tianxinliu@microsoft.com> 1683320

Cognitive Services 2023-05-01

* fix follow comments

* fix CI issues

* remove Rai related from 0501 stable

* add format for datetime

* fix a typo

* undo "remove callratelimit" to fix breaking change

---------

Co-authored-by: Andrew Yang <yangyuan@users.noreply.github.com>
* Add EP healthStatus property

* Fix Private Endpoint swagger issue

* Remove 202 response from Private Endpoint Connection model

* Add warning status for ep health
…iew (#23993)

* changes

* changes

* changes

* changes

* changes

* changes

---------

Co-authored-by: faisalaltell12 <faisalaltell@gmail.com>
@openapi-workflow-bot
Copy link

Hi, @Aleksand4rZivanovic Thanks for your PR. I am workflow bot for review process. Here are some small tips.

  • Please ensure to do self-check against checklists in first PR comment.
  • PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging.
  • For specs comparison cross API versions, Use API Specs Comparison Report Generator
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?

  • Any feedback about review process or workflow bot, pls contact swagger and tools team. vscswagger@microsoft.com

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented May 23, 2023

    Swagger Validation Report

    ️❌BreakingChange: 300 Errors, 0 Warnings failed [Detail]
    compared swaggers (via Oad v0.10.4)] new version base version
    billingSubscription.json 2021-10-01(9962b9b) 2021-10-01(main)
    costmanagement.json 2023-04-01-preview(9962b9b) 2023-04-01-preview(main)
    costmanagement.json 2022-10-01(9962b9b) 2022-10-01(main)
    costmanagement.json 2023-03-01(9962b9b) 2023-03-01(main)
    Pipeline.json 2018-06-01(9962b9b) 2018-06-01(main)
    common-types.json 1.0(9962b9b) 1.0(main)
    enterprisePolicy.json 2020-10-30-preview(9962b9b) 2020-10-30-preview(main)
    subscriptions.json 2022-12-01(9962b9b) 2022-12-01(main)
    cognitiveservices.json 2023-05-01(9962b9b) 2023-05-01(main)
    cosmos-db.json 2023-03-15-preview(9962b9b) 2023-03-15-preview(main)
    dataTransferService.json 2023-03-15-preview(9962b9b) 2023-03-15-preview(main)
    managedCassandra.json 2023-03-15-preview(9962b9b) 2023-03-15-preview(main)
    mongoCluster.json 2023-03-15-preview(9962b9b) 2023-03-15-preview(main)
    mongorbac.json 2023-03-15-preview(9962b9b) 2023-03-15-preview(main)
    notebook.json 2023-03-15-preview(9962b9b) 2023-03-15-preview(main)
    privateEndpointConnection.json 2023-03-15-preview(9962b9b) 2023-03-15-preview(main)
    privateLinkResources.json 2023-03-15-preview(9962b9b) 2023-03-15-preview(main)
    rbac.json 2023-03-15-preview(9962b9b) 2023-03-15-preview(main)
    restorable.json 2023-03-15-preview(9962b9b) 2023-03-15-preview(main)
    services.json 2023-03-15-preview(9962b9b) 2023-03-15-preview(main)
    elastic.json 2023-05-01-preview(9962b9b) 2023-05-01-preview(main)
    EventGrid.json 2023-06-01-preview(9962b9b) 2023-06-01-preview(main)
    solutions.json 2023-03-01-preview(9962b9b) 2023-03-01-preview(main)
    Administrators.json 2023-03-01-preview(9962b9b) 2023-03-01-preview(main)
    Backups.json 2023-03-01-preview(9962b9b) 2023-03-01-preview(main)
    Capabilities.json 2023-03-01-preview(9962b9b) 2023-03-01-preview(main)
    CheckNameAvailability.json 2023-03-01-preview(9962b9b) 2023-03-01-preview(main)
    Configuration.json 2023-03-01-preview(9962b9b) 2023-03-01-preview(main)
    Databases.json 2023-03-01-preview(9962b9b) 2023-03-01-preview(main)
    FirewallRules.json 2023-03-01-preview(9962b9b) 2023-03-01-preview(main)
    FlexibleServers.json 2023-03-01-preview(9962b9b) 2023-03-01-preview(main)
    LongTermRetentionOperation.json 2023-03-01-preview(9962b9b) 2023-03-01-preview(main)
    Migrations.json 2023-03-01-preview(9962b9b) 2023-03-01-preview(main)
    Operations.json 2023-03-01-preview(9962b9b) 2023-03-01-preview(main)
    PrivateDnsZone.json 2023-03-01-preview(9962b9b) 2023-03-01-preview(main)
    Replicas.json 2023-03-01-preview(9962b9b) 2023-03-01-preview(main)
    ServerLogs.json 2023-03-01-preview(9962b9b) 2023-03-01-preview(main)
    ServerStartStopRestart.json 2023-03-01-preview(9962b9b) 2023-03-01-preview(main)
    VirtualNetwork.json 2023-03-01-preview(9962b9b) 2023-03-01-preview(main)
    share.json 2023-05-30-preview(9962b9b) 2023-05-30-preview(main)
    easm.json 2023-03-01-preview(9962b9b) 2023-03-01-preview(main)
    linkConnections.json 2023-04-18-preview(9962b9b) 2023-04-18-preview(main)

    Only 20 items are listed, please refer to log for more details.

    Rule Message
    1038 - AddedPath The new version is adding a path that was not found in the old version.
    New: Microsoft.CognitiveServices/stable/2023-05-01/cognitiveservices.json#L30:5
    1038 - AddedPath The new version is adding a path that was not found in the old version.
    New: Microsoft.CognitiveServices/stable/2023-05-01/cognitiveservices.json#L237:5
    1038 - AddedPath The new version is adding a path that was not found in the old version.
    New: Microsoft.CognitiveServices/stable/2023-05-01/cognitiveservices.json#L329:5
    1038 - AddedPath The new version is adding a path that was not found in the old version.
    New: Microsoft.CognitiveServices/stable/2023-05-01/cognitiveservices.json#L371:5
    1038 - AddedPath The new version is adding a path that was not found in the old version.
    New: Microsoft.CognitiveServices/stable/2023-05-01/cognitiveservices.json#L410:5
    1038 - AddedPath The new version is adding a path that was not found in the old version.
    New: Microsoft.CognitiveServices/stable/2023-05-01/cognitiveservices.json#L449:5
    1038 - AddedPath The new version is adding a path that was not found in the old version.
    New: Microsoft.CognitiveServices/stable/2023-05-01/cognitiveservices.json#L491:5
    1038 - AddedPath The new version is adding a path that was not found in the old version.
    New: Microsoft.CognitiveServices/stable/2023-05-01/cognitiveservices.json#L543:5
    1038 - AddedPath The new version is adding a path that was not found in the old version.
    New: Microsoft.CognitiveServices/stable/2023-05-01/cognitiveservices.json#L583:5
    1038 - AddedPath The new version is adding a path that was not found in the old version.
    New: Microsoft.CognitiveServices/stable/2023-05-01/cognitiveservices.json#L625:5
    1038 - AddedPath The new version is adding a path that was not found in the old version.
    New: Microsoft.CognitiveServices/stable/2023-05-01/cognitiveservices.json#L670:5
    1038 - AddedPath The new version is adding a path that was not found in the old version.
    New: Microsoft.CognitiveServices/stable/2023-05-01/cognitiveservices.json#L715:5
    1038 - AddedPath The new version is adding a path that was not found in the old version.
    New: Microsoft.CognitiveServices/stable/2023-05-01/cognitiveservices.json#L760:5
    1038 - AddedPath The new version is adding a path that was not found in the old version.
    New: Microsoft.CognitiveServices/stable/2023-05-01/cognitiveservices.json#L797:5
    1038 - AddedPath The new version is adding a path that was not found in the old version.
    New: Microsoft.CognitiveServices/stable/2023-05-01/cognitiveservices.json#L846:5
    1038 - AddedPath The new version is adding a path that was not found in the old version.
    New: Microsoft.CognitiveServices/stable/2023-05-01/cognitiveservices.json#L888:5
    1038 - AddedPath The new version is adding a path that was not found in the old version.
    New: Microsoft.CognitiveServices/stable/2023-05-01/cognitiveservices.json#L930:5
    1038 - AddedPath The new version is adding a path that was not found in the old version.
    New: Microsoft.CognitiveServices/stable/2023-05-01/cognitiveservices.json#L976:5
    1038 - AddedPath The new version is adding a path that was not found in the old version.
    New: Microsoft.CognitiveServices/stable/2023-05-01/cognitiveservices.json#L1018:5
    1038 - AddedPath The new version is adding a path that was not found in the old version.
    New: Microsoft.CognitiveServices/stable/2023-05-01/cognitiveservices.json#L1169:5
    ️❌Breaking Change(Cross-Version): 7 Errors, 5 Warnings failed [Detail]
    compared swaggers (via Oad v0.10.4)] new version base version
    LocationCapabilities.json 2023-02-01-preview(9962b9b) 2021-11-01(main)
    LocationCapabilities.json 2023-02-01-preview(9962b9b) 2022-11-01-preview(main)
    ManagedInstances.json 2023-02-01-preview(9962b9b) 2021-11-01(main)
    ManagedInstances.json 2023-02-01-preview(9962b9b) 2022-11-01-preview(main)

    The following breaking changes are detected by comparison with the latest stable version:

    Rule Message
    1019 - RemovedEnumValue The new version is removing enum value(s) 'Creating, Deleting, Updating, Unknown, Accepted, Deleted, Unrecognized, Running, NotSpecified, Registering, TimedOut' from the old version.
    New: Microsoft.Sql/preview/2023-02-01-preview/ManagedInstances.json#L943:9
    Old: Microsoft.Sql/stable/2021-11-01/ManagedInstances.json#L806:9
    1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.Sql/preview/2023-02-01-preview/ManagedInstances.json#L1000:9
    Old: Microsoft.Sql/stable/2021-11-01/ManagedInstances.json#L864:9
    1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.Sql/preview/2023-02-01-preview/ManagedInstances.json#L1079:9
    Old: Microsoft.Sql/stable/2021-11-01/ManagedInstances.json#L916:9
    1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.Sql/preview/2023-02-01-preview/ManagedInstances.json#L1090:9
    Old: Microsoft.Sql/stable/2021-11-01/ManagedInstances.json#L928:9
    1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.Sql/preview/2023-02-01-preview/ManagedInstances.json#L1183:9
    Old: Microsoft.Sql/stable/2021-11-01/ManagedInstances.json#L1022:9
    1033 - RemovedProperty The new version is missing a property found in the old version. Was 'zoneRedundant' renamed or removed?
    New: Microsoft.Sql/preview/2023-02-01-preview/LocationCapabilities.json#L724:7
    Old: Microsoft.Sql/stable/2021-11-01/LocationCapabilities.json#L680:7
    1048 - AddedXmsEnum The new version adds a x-ms-enum extension.
    New: Microsoft.Sql/preview/2023-02-01-preview/ManagedInstances.json#L943:9
    Old: Microsoft.Sql/stable/2021-11-01/ManagedInstances.json#L806:9


    The following breaking changes are detected by comparison with the latest preview version:

    Rule Message
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.Sql/preview/2023-02-01-preview/ManagedInstances.json#L1000:9
    Old: Microsoft.Sql/preview/2022-11-01-preview/ManagedInstances.json#L951:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.Sql/preview/2023-02-01-preview/ManagedInstances.json#L1079:9
    Old: Microsoft.Sql/preview/2022-11-01-preview/ManagedInstances.json#L1003:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.Sql/preview/2023-02-01-preview/ManagedInstances.json#L1090:9
    Old: Microsoft.Sql/preview/2022-11-01-preview/ManagedInstances.json#L1015:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.Sql/preview/2023-02-01-preview/ManagedInstances.json#L1183:9
    Old: Microsoft.Sql/preview/2022-11-01-preview/ManagedInstances.json#L1109:9
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'zoneRedundant' renamed or removed?
    New: Microsoft.Sql/preview/2023-02-01-preview/LocationCapabilities.json#L724:7
    Old: Microsoft.Sql/preview/2022-11-01-preview/LocationCapabilities.json#L690:7
    ️🔄LintDiff inProgress [Detail]
    ️❌Avocado: 2 Errors, 4 Warnings failed [Detail]
    Rule Message
    MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/cassandraClusters/{}/repair is not in the default tag. Please make sure the missing API swaggers are in the default tag.
    readme: specification/cosmos-db/resource-manager/readme.md
    json: Microsoft.DocumentDB/preview/2021-07-01-preview/managedCassandra.json
    MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/cassandraClusters/{}/fetchNodeStatus is not in the default tag. Please make sure the missing API swaggers are in the default tag.
    readme: specification/cosmos-db/resource-manager/readme.md
    json: Microsoft.DocumentDB/preview/2021-07-01-preview/managedCassandra.json
    ⚠️ MULTIPLE_API_VERSION The default tag contains multiple API versions swaggers.
    readme: specification/billing/resource-manager/readme.md
    tag: specification/billing/resource-manager/readme.md#tag-package-2020-05
    ⚠️ CIRCULAR_REFERENCE The JSON file has a circular reference.
    readme: specification/cosmos-db/resource-manager/readme.md
    json: Microsoft.DocumentDB/preview/2023-03-15-preview/privateEndpointConnection.json
    ⚠️ MULTIPLE_API_VERSION The default tag contains multiple API versions swaggers.
    readme: specification/postgresql/resource-manager/readme.md
    tag: specification/postgresql/resource-manager/readme.md#tag-package-2020-01-01
    ⚠️ MULTIPLE_DEFAULT_TAGS The readme file has more than one default tag.
    readme: specification/synapse/data-plane/readme.md
    ️❌SwaggerAPIView: 0 Errors, 0 Warnings failed [Detail]
    ️️✔️CadlAPIView succeeded [Detail] [Expand]
    ️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
    ️❌ModelValidation: 13 Errors, 0 Warnings failed [Detail]
    Rule Message
    XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in ReceiveCloudEvents.
    Url: Microsoft.EventGrid/preview/2023-06-01-preview/EventGrid.json#L52:15
    XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in AcknowledgeCloudEvents.
    Url: Microsoft.EventGrid/preview/2023-06-01-preview/EventGrid.json#L114:15
    XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in ReleaseCloudEvents.
    Url: Microsoft.EventGrid/preview/2023-06-01-preview/EventGrid.json#L171:15
    XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in RejectCloudEvents.
    Url: Microsoft.EventGrid/preview/2023-06-01-preview/EventGrid.json#L228:15
    XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in PublishCloudEvents.
    Url: Microsoft.EventGrid/preview/2023-06-01-preview/EventGrid.json#L287:15
    READONLY_PROPERTY_NOT_ALLOWED_IN_REQUEST ReadOnly property "externalGovernanceStatus" cannot be sent in the request
    Url: Microsoft.Sql/preview/2023-02-01-preview/ManagedInstances.json#L1212:37
    ExampleUrl: preview/2023-02-01-preview/examples/ManagedInstanceCreateMax.json#L7:19
    READONLY_PROPERTY_NOT_ALLOWED_IN_REQUEST ReadOnly property "externalGovernanceStatus" cannot be sent in the request
    Url: Microsoft.Sql/preview/2023-02-01-preview/ManagedInstances.json#L1212:37
    ExampleUrl: preview/2023-02-01-preview/examples/ManagedInstanceUpdateMax.json#L7:19
    OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: managedInstanceName
    Url: Microsoft.Sql/preview/2023-02-01-preview/ManagedInstances.json#L-1:-1
    ExampleUrl: preview/2023-02-01-preview/examples/RefreshExternalGovernanceStatus.json
    OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: serverName
    Url: Microsoft.Sql/preview/2023-02-01-preview/ManagedInstances.json#L1444:67
    ExampleUrl: preview/2023-02-01-preview/examples/RefreshExternalGovernanceStatus.json#L15:25
    READONLY_PROPERTY_NOT_ALLOWED_IN_REQUEST ReadOnly property "externalGovernanceStatus" cannot be sent in the request
    Url: Microsoft.Sql/preview/2023-02-01-preview/ManagedInstances.json#L1212:37
    ExampleUrl: preview/2023-02-01-preview/examples/ManagedInstanceCreateMax.json#L7:19
    READONLY_PROPERTY_NOT_ALLOWED_IN_REQUEST ReadOnly property "externalGovernanceStatus" cannot be sent in the request
    Url: Microsoft.Sql/preview/2023-02-01-preview/ManagedInstances.json#L1212:37
    ExampleUrl: preview/2023-02-01-preview/examples/ManagedInstanceUpdateMax.json#L7:19
    OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: managedInstanceName
    Url: Microsoft.Sql/preview/2023-02-01-preview/ManagedInstances.json#L-1:-1
    ExampleUrl: preview/2023-02-01-preview/examples/RefreshExternalGovernanceStatus.json
    OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: serverName
    Url: Microsoft.Sql/preview/2023-02-01-preview/ManagedInstances.json#L1444:67
    ExampleUrl: preview/2023-02-01-preview/examples/RefreshExternalGovernanceStatus.json#L15:25
    ️❌SemanticValidation: 1 Errors, 0 Warnings failed [Detail]
    Rule Message
    MISSING_PATH_PARAMETER_DEFINITION Path parameter is declared but is not defined: apiVersion
    JsonUrl: Microsoft.EventGrid/preview/2023-06-01-preview/EventGrid.json#L287:15
    ️️✔️PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️❌SpellCheck: 1 Errors, 0 Warnings failed [Detail]
    Rule Message
    HowToFix Unknown word (famiily), please fix the error or add words to ./custom-words.txt
    path: Microsoft.Sql/preview/2023-02-01-preview/LocationCapabilities.json#L787:79
    ️️✔️CadlValidation succeeded [Detail] [Expand]
    Validation passes for CadlValidation.
    ️❌TypeSpec Validation: 2 Errors, 20 Warnings failed [Detail]

    Only 20 items are listed, please refer to log for more details.

    Rule Message
    MissingExamplesDirectory "details":"The 'examples' directory is missing in the typespec folder specification/eventgrid/Azure.Messaging.EventGrid,
    please ensure the 'examples' is added in the PR."
    InConsistentSwagger "details":"The generated swagger file EventGrid.json from typespec specification/eventgrid/Azure.Messaging.EventGrid is not the same as the '/mnt/vss/_work/1/azure-rest-api-specs/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2017-06-15-preview/EventGrid.json' in PR,
    please make sure the swagger is consistent with the generated swagger. You can find the difference in the pipeline log."
    ⚠️ deprecated: Deprecated The shared option is deprecated, use the @sharedRoute decorator instead.
    Location: specification/eventgrid/Azure.Messaging.EventGrid/main.tsp#L167
    ⚠️ deprecated: Deprecated The shared option is deprecated, use the @sharedRoute decorator instead.
    Location: specification/eventgrid/Azure.Messaging.EventGrid/main.tsp#L184
    ⚠️ @azure-tools/typespec-azure-core/no-unknown Azure services must not have properties of type unknown.
    Location: specification/eventgrid/Azure.Messaging.EventGrid/main.tsp#L55
    ⚠️ @azure-tools/typespec-azure-core/casing-style The names of Property types must use camelCase
    Location: specification/eventgrid/Azure.Messaging.EventGrid/main.tsp#L58
    ⚠️ @azure-tools/typespec-azure-core/casing-style The names of Operation types must use camelCase
    Location: specification/eventgrid/Azure.Messaging.EventGrid/main.tsp#L167
    ⚠️ @azure-tools/typespec-azure-core/request-body-problem Request body should not be of raw array type. Consider creating a container model that can add properties over time to avoid introducing breaking changes.
    Location: specification/eventgrid/Azure.Messaging.EventGrid/main.tsp#L195
    ⚠️ @azure-tools/typespec-azure-core/casing-style The names of Operation types must use camelCase
    Location: specification/eventgrid/Azure.Messaging.EventGrid/main.tsp#L184
    ⚠️ @azure-tools/typespec-azure-core/request-body-problem Request body should not be of raw array type. Consider creating a container model that can add properties over time to avoid introducing breaking changes.
    Location: specification/eventgrid/Azure.Messaging.EventGrid/main.tsp#L195
    ⚠️ @azure-tools/typespec-azure-core/request-body-problem Request body should not be of raw array type. Consider creating a container model that can add properties over time to avoid introducing breaking changes.
    Location: specification/eventgrid/Azure.Messaging.EventGrid/main.tsp#L195
    ⚠️ @azure-tools/typespec-azure-core/casing-style The names of Operation types must use camelCase
    Location: specification/eventgrid/Azure.Messaging.EventGrid/main.tsp#L203
    ⚠️ @azure-tools/typespec-azure-core/casing-style The names of Operation types must use camelCase
    Location: specification/eventgrid/Azure.Messaging.EventGrid/main.tsp#L227
    ⚠️ @azure-tools/typespec-azure-core/casing-style The names of Operation types must use camelCase
    Location: specification/eventgrid/Azure.Messaging.EventGrid/main.tsp#L251
    ⚠️ @azure-tools/typespec-azure-core/casing-style The names of Operation types must use camelCase
    Location: specification/eventgrid/Azure.Messaging.EventGrid/main.tsp#L274
    ⚠️ deprecated: Deprecated The shared option is deprecated, use the @sharedRoute decorator instead.
    Location: specification/eventgrid/Azure.Messaging.EventGrid/main.tsp#L167
    ⚠️ deprecated: Deprecated The shared option is deprecated, use the @sharedRoute decorator instead.
    Location: specification/eventgrid/Azure.Messaging.EventGrid/main.tsp#L184
    ⚠️ deprecated: Deprecated The shared option is deprecated, use the @sharedRoute decorator instead.
    Location: specification/eventgrid/Azure.Messaging.EventGrid/main.tsp#L167
    ⚠️ deprecated: Deprecated The shared option is deprecated, use the @sharedRoute decorator instead.
    Location: specification/eventgrid/Azure.Messaging.EventGrid/main.tsp#L184
    ⚠️ deprecated: Deprecated The shared option is deprecated, use the @sharedRoute decorator instead.
    Location: specification/eventgrid/Azure.Messaging.EventGrid/main.tsp#L167
    ️️✔️PR Summary succeeded [Detail] [Expand]
    Validation passes for Summary.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented May 23, 2023

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]

    Only 0 items are rendered, please refer to log for more details.

    ️⚠️SDK Breaking Change Tracking warning [Detail]

    Only 0 items are rendered, please refer to log for more details.

    ️❌ azure-sdk-for-net-track2 failed [Detail]

    Only 0 items are rendered, please refer to log for more details.

    ️❌ azure-sdk-for-python-track2 failed [Detail]

    Only 0 items are rendered, please refer to log for more details.

    ️⚠️ azure-sdk-for-java warning [Detail]

    Only 0 items are rendered, please refer to log for more details.

    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]

    Only 0 items are rendered, please refer to log for more details.

    ️❌ azure-sdk-for-js failed [Detail]

    Only 0 items are rendered, please refer to log for more details.

    ️🔄 azure-resource-manager-schemas inProgress [Detail]
    ️❌ azure-powershell failed [Detail]

    Only 0 items are rendered, please refer to log for more details.

    ️️✔️ azure-sdk-for-net succeeded [Detail] [Expand]

    Only 0 items are rendered, please refer to log for more details.

    ️⚠️ azure-sdk-for-python warning [Detail]

    Only 0 items are rendered, please refer to log for more details.

    Posted by Swagger Pipeline | How to fix these errors?

    @ghost ghost added the Event Grid label May 23, 2023
    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented May 23, 2023

    Generated ApiView

    Language Package Name ApiView Link
    TypeSpec Azure.Messaging.EventGrid https://apiview.dev/Assemblies/Review/bc16eea4a13b421b90c1a1ecbbb10e63
    Python azure-eventgrid https://apiview.dev/Assemblies/Review/13f9851dd5ab4f66aefefa8b4e3ebcd0
    Go sdk/resourcemanager/billing/armbilling There is no API change compared with the previous version
    Go sdk/resourcemanager/cognitiveservices/armcognitiveservices https://apiview.dev/Assemblies/Review/2d89ed3708154b0ebb4803f6bbed7df4
    Go sdk/resourcemanager/cosmos/armcosmos https://apiview.dev/Assemblies/Review/4ae7565ad7b941ab92c38e24b5322b91
    Go sdk/resourcemanager/costmanagement/armcostmanagement https://apiview.dev/Assemblies/Review/87ad9ed747c94c7c869e5f330ef3ff9f
    .Net Azure.Messaging.EventGrid.Namespaces https://apiview.dev/Assemblies/Review/dcfb86331fe948e59d849632a5923bb6
    .Net Azure.ResourceManager.CognitiveServices There is no API change compared with the previous version
    .Net Azure.ResourceManager.CosmosDB There is no API change compared with the previous version
    Go sdk/resourcemanager/datafactory/armdatafactory https://apiview.dev/Assemblies/Review/cd55ba87912d4e41a1c9ded413f87435
    .Net Azure.ResourceManager.HDInsight https://apiview.dev/Assemblies/Review/f753fb6496d043559e8f22ebd3c31320
    Go sdk/resourcemanager/resources/armdeploymentscripts https://apiview.dev/Assemblies/Review/c7f24d1636cd48628e6f2b920cc6df11
    Go sdk/resourcemanager/elastic/armelastic https://apiview.dev/Assemblies/Review/e900034be1e94ff582cf9f9ad65edb0b
    .Net Azure.ResourceManager.PostgreSql https://apiview.dev/Assemblies/Review/0c08c596bf1b47e1afd8966156d7a19b
    Go sdk/resourcemanager/resources/armfeatures There is no API change compared with the previous version
    Go sdk/resourcemanager/hdinsight/armhdinsight https://apiview.dev/Assemblies/Review/d6ac07c7da8d46d6a3d712193152366f
    Go sdk/resourcemanager/resources/armlinks There is no API change compared with the previous version
    Go sdk/resourcemanager/resources/armlocks There is no API change compared with the previous version
    Go sdk/resourcemanager/resources/armmanagedapplications There is no API change compared with the previous version
    Go sdk/resourcemanager/network/armnetwork https://apiview.dev/Assemblies/Review/dd0154dc0728419fabc7125b9e217201
    Go sdk/resourcemanager/resources/armpolicy https://apiview.dev/Assemblies/Review/de9d39bede1d4f6097a9bbf4be40bd37
    Go sdk/resourcemanager/postgresql/armpostgresql There is no API change compared with the previous version
    Go sdk/resourcemanager/postgresql/armpostgresqlflexibleservers https://apiview.dev/Assemblies/Review/0917647ff7b04526adb106fe980addf6
    Go sdk/resourcemanager/powerplatform/armpowerplatform https://apiview.dev/Assemblies/Review/aff6e967de9842838b2ce0f40175d034
    Go sdk/resourcemanager/resources/armresources https://apiview.dev/Assemblies/Review/67c64c174a694ce5af12b01517e1c065
    Go sdk/resourcemanager/sql/armsql https://apiview.dev/Assemblies/Review/47f78b3619794ccbb263bb580d7349f4
    Go sdk/resourcemanager/resources/armsubscriptions https://apiview.dev/Assemblies/Review/78fc73aa4c4b4319901c50077ccd1495
    Go sdk/resourcemanager/resources/armtemplatespecs There is no API change compared with the previous version
    JavaScript @azure/arm-billing https://apiview.dev/Assemblies/Review/b67b683216784c4fbb5aa7d057495559
    JavaScript @azure/arm-cognitiveservices https://apiview.dev/Assemblies/Review/a0d7e33832184e0da9d40de243d6a17e
    JavaScript @azure/arm-cosmosdb https://apiview.dev/Assemblies/Review/a94a5b2e80ef4e4d8b67622fc414f5fd
    JavaScript @azure/arm-datafactory https://apiview.dev/Assemblies/Review/697aac862a964a8fbbf827395a8e7045
    JavaScript @azure/arm-hdinsight https://apiview.dev/Assemblies/Review/791b6e07d5fa464aa3456607ec591091
    Java azure-resourcemanager-billing There is no API change compared with the previous version
    Java azure-resourcemanager-cognitiveservices https://apiview.dev/Assemblies/Review/2b958cdc19d9416b9a1fee043e6a13c1
    Java azure-resourcemanager-cosmos-generated https://apiview.dev/Assemblies/Review/b70b9c619c414b9d8b134ecf381a3f74
    Java azure-resourcemanager-datafactory https://apiview.dev/Assemblies/Review/e72b7ba3c6d640a08e44c5c3b1d0b6ef
    Java azure-resourcemanager-elastic https://apiview.dev/Assemblies/Review/c8446998391b4a84b68d99dd57b2b9e5
    Java azure-resourcemanager-hdinsight https://apiview.dev/Assemblies/Review/8a5fc2665c8b421d9c88864b2e43b1cd
    Java azure-resourcemanager-network-generated https://apiview.dev/Assemblies/Review/f62ba25460a7447d9c38be77ae5a4c89
    Java azure-resourcemanager-postgresqlflexibleserver https://apiview.dev/Assemblies/Review/69cea8e6c6164b97932d7b9ec3af0e9a
    Java azure-resourcemanager-powerplatform https://apiview.dev/Assemblies/Review/44ee135b45754e74a734c61192ce941a
    Java azure-resourcemanager-resources-generated https://apiview.dev/Assemblies/Review/e58e9a3a7934457e953b188eb664a0a2

    @ghost ghost added the HDInsight label May 23, 2023
    @openapi-workflow-bot
    Copy link

    Hi @Aleksand4rZivanovic, one or multiple breaking change(s) is detected in your PR. Please check out the breaking change(s), and provide business justification in the PR comment and @ PR assignee why you must have these change(s), and how external customer impact can be mitigated. Please ensure to follow breaking change policy to request breaking change review and approval before proceeding swagger PR review.
    Action: To initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
    If you want to know the production traffic statistic, please see ARM Traffic statistic.
    If you think it is false positive breaking change, please provide the reasons in the PR comment, report to Swagger Tooling Team via https://aka.ms/swaggerfeedback.
    Note: To avoid breaking change, you can refer to Shift Left Solution for detecting breaking change in early phase at your service code repository.

    @openapi-workflow-bot
    Copy link

    Hi, @Aleksand4rZivanovic, For review efficiency consideration, when creating a new api version, it is required to place API specs of the base version in the first commit, and push new version updates into successive commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki. Or you could onboard API spec pipeline

    @openapi-workflow-bot
    Copy link

    Hi @Aleksand4rZivanovic, one or multiple validation error/warning suppression(s) is detected in your PR. Please follow the Swagger-Suppression-Process to get approval.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.