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

Copy the legacy API contracts to 2022 02 01 preview #19799

Conversation

ericshape
Copy link
Contributor

@ericshape ericshape commented Jul 18, 2022

MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.

Copy the following legacy API contracts and example files
from
2014-04-01-stable

Microsoft.Sql/stable/2014-04-01-legacy/backups_legacy.json
Microsoft.Sql/stable/2014-04-01/dataMasking.json
Microsoft.Sql/stable/2014-04-01/geoBackupPolicies.json
Microsoft.Sql/stable/2014-04-01-legacy/sql.core_legacy.json
Microsoft.Sql/stable/2014-04-01-legacy/usages_legacy.json

to
latest 2022-02-01-preview:

Microsoft.Sql/preview/2022-02-01-preview/DataMaskingPolicies.json
Microsoft.Sql/preview/2022-02-01-preview/DataMaskingRules.json
Microsoft.Sql/preview/2022-02-01-preview/GeoBackupPolicies.json
Microsoft.Sql/preview/2022-02-01-preview/RecoverableDatabases.json
Microsoft.Sql/preview/2022-02-01-preview/ServerUsages.json

We did not modify any API contract. We just bumped up the version. So there is no breaking change.
The breaking Change(Cross-Version) pipeline has passed.

Request to ignore the Avacado validation because we will update V5 SDK tag after 2022-02-01-preview release.

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. If updating an existing version, please select the specific language SDKs and CLIs that must be refreshed after the swagger is published.
    • SDK of .NET (need service team to ensure code readiness)
    • SDK of Python
    • SDK of Java
    • SDK of Js
    • SDK of Go
    • PowerShell
    • CLI
    • Terraform
    • No refresh required for updates in this PR

Contribution checklist:

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 appy 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 are using OpenAPIHub to initialize the PR for adding a new version. More details, refer to the wiki.
  • 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 any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

  • Removing API(s) in a stable version
  • Removing properties in a stable version
  • Removing API version(s) in a stable version
  • Updating API in a stable or public preview version with Breaking Change Validation errors
  • Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

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.

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

kaushal087 and others added 30 commits April 19, 2022 09:15
* update access mode values

* update examples

* Add 202 in delete spec

* Add provisioning issues changes

* update schema

* review changs

* update

* typo in model fix

* make provisioning issues readonly

* Add one example in list association, provisioning state enum update

* Add logggin categories in profile

* examples update

* update

* update examples

* reformat code

* Add x-msidentifier for logger

* update

* provisioning state fix

* Fix provisioning state

* Add location header in delete nsp association

* update location header

* update location header

* location header update

Co-authored-by: Kaushal Kumar <kumarkaushal@microsoft.com>
…sion stable/2022-03-10 (Azure#18458)

* Adds base for updating Microsoft.HybridCompute from version preview/2021-12-10-preview to version 2022-03-10

* Updates readme

* Updates API version in new specs and examples

* updated the swagger

* fixed typo

* fixed examples

* fixed swagger issues

* removed columns

* fixed the x-ms-identifier format

* fixed the identifier again

* fixed the readme tag

* ran prettier * removed extra tag in the readme.md

* Update HybridCompute.json

updated serviceStatuses and agentConfiguration descriptions

* removed resources

* removed resources in the examples

* addressed issues

* ran prettier

* A small fix to the newly added field's name

* updated the az cli related files

Co-authored-by: Justin Chen <justin99chen@gmail.com>
… preview/2021-12-01-preview (Azure#18297)

* New Swagger Spec File

* New Swagger Example Spec File

* New Readme Config File

* New Azure AZ Readme Config File

* New Azure CLI Readme Config File

* New Go Language Readme Config File

* New Python Language Readme Config File

* New Typescript Language Readme Config File

* New C# Language Readme Config File

* merging educationrp spec to public branch

* Delete OperationGroupGet.json

fix avocado error
…Azure#17382)

* adds new version for credentials api

* adding new version to ReadMe

* tagging /credentials

* tagging /credential

* rearranging ReadMe so that default tag could be detected

* rearranging ReadMe so that default tag could be detected

* testing avacado

* adding 2022-02-01 back to ReadMe

* testing avacado readme checker

* testing avacado readme checker

* testing a new readme file

* Revert "testing a new readme file"

This reverts commit e5536c9.

* testing AzureStorage discriminator

* pr feedback

* pr feedback

* adds description for credential models

* fixes typo
…es PUT (v1.0 only). (Azure#18104)

Co-authored-by: Chang Liu <changliu3@microsoft.com>
…on.md files (Azure#18731)

* Corrected the Tag: name

* Update readme.python.md

Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
* Promote 2022-05-01-preview api from RPSaaSMaster to main

* Fixing lint errors
* Add action start/end time.

* Update examples with action start/end times.

* fix typo in description.

Co-authored-by: kipartha <kipartha@microsoft.com>
* Add new apis for test button feature

* Fix bug

* Revert to old package version

* Fix errors

* Fix errors

* Fix error

* Remove "

* Only include the actiongroups changes in this new tag as per Dapeng.

* Revert "Only include the actiongroups changes in this new tag as per Dapeng."

This reverts commit 529a149.

* Add "x-ms-identifiers": [],

* Update the default tag

* Add location headers

* No need to return response

* build

* build

* format json

* Prettier check

Co-authored-by: Thomas Pham <thompham@microsoft.com>
* Adds base for updating Microsoft.Network from version stable/2021-05-01 to version 2021-08-01

* Updates readme

* Updates API version in new specs and examples

* Add AppGw swagger changes for L4 proxy (Azure#17561)

* Add AppGw swagger changes for L4 proxy

* Fix Lint Errors

* fix prettier checks

* HubRoutingPreference in VirtualHub (Azure#17609)

* commit1

* commit2

Co-authored-by: Khushboo Baheti <khbaheti@microsoft.com>

* MultipleApipa feature VpnSiteLinkConnection and  VirtualNetworkGatewayConnection (Azure#17672)

* VngConnection

* VpnSiteLinkConnection

* fixes

* fixes

* fix2

* fixes

Co-authored-by: Khushboo Baheti <khbaheti@microsoft.com>

* Virtual Wan P2S MultiPool feature swagger changes (Azure#17620)

* Virtual Wan P2S MultiPool feature swagger changes

* Fix Swagger LintDiff errors

* Fix LintDiff errors

* Fix errors

* Fix spec

* Fix spec

* Fix spec

* Fix LintDiff errors

* Fix LintDiff errors

* Fix SDK azure-sdk-for-net generation error

* Remove suppression

* Fix errors

* Fix Lintdiff error

* Fix PrettierCheck

* changes (Azure#18002)

* Revert "changes (Azure#18002)" (Azure#18014)

This reverts commit 320ed6a.

* Add nic auxiliary mode (Azure#17577)

* Add nic auxiliary mode

* fix spacing

* Fixing prettier check

* Restoring package-lock file

* Restoring package json

Co-authored-by: Prachi Bhavsar <prbhavsar@microsoft.com>

* Connection Draining add new properties (Azure#18052)

* merge

* fix

* fix

* Adding express route port authorization apis (Azure#17582)

* adding apis and updating resource to support ports auth

* moving change to 2021-08-01

* minor: removing change from 2020-07-01

* lintdiff : adding type object

* minor: fixing prettier

* adding authorizations to ports property

* fixing circuitResourceUri property name

* fixing model validation

* changing circuit resource uri type to string

* removing authorizations child reosurce from parent property

* Fix Azure Firewall Policy regressions. Back fix validation issues (Azure#18233)

* Fix regressions in Firewall Policy Swagger / give firewallPolicy.json some love

* Additional lint violations

* remove breaking changes for next time. TO DO

* Revert "remove breaking changes for next time. TO DO"

This reverts commit 8f44a17.

* Reintroduce api-version for idps signature based routes. Create better names for enums to be generated in SDKs

* standardize enum names with FirewallPolicy prefix

* Azure Firewall Support of Private IP Ranges in IDPS (Azure#18320)

* Azure Firewall Support of Private IP Ranges in IDPS

* make sure all arrays have x-ms-identifiers

* FirewallPolicy not Firewall policy

fix spellcheck validation

* Ability to update tags on firewall policies (Azure#18322)

* Support updating of Azure Firewall Policy Tags. Includes HTTP Patch example

* Use common-types ErrorDetail

* Ability to update tags for Firewall Policies

* spell check fix for firewallpolicy

* Use future release api-version for example

* Added flush conn to nsg (Azure#18393)

* Added flush conn to nsg

* Updated flushConn to correct location

* Updated description

* Modified T/F to Enabled/Disabled

* Refactoring so that null value appears first

* Reverted FlushConnection to boolean value instead of string

* Revert "Added flush conn to nsg (Azure#18393)" (Azure#18576)

This reverts commit 6541d30.

* Fixing typo in response of idps private ip range feature (Azure#18574)

* Use common-type api version (Azure#18729)

Co-authored-by: Ben Eshed <bewaters@microsoft.com>

* fix (Azure#18417)

Co-authored-by: Tianen <347142915@qq.com>
Co-authored-by: gk-ms <97893166+gk-ms@users.noreply.github.com>
Co-authored-by: Khushboo Baheti <37917868+Khushboo-Baheti@users.noreply.github.com>
Co-authored-by: Khushboo Baheti <khbaheti@microsoft.com>
Co-authored-by: Nilambari <nilamd@microsoft.com>
Co-authored-by: nimaller <71352534+nimaller@users.noreply.github.com>
Co-authored-by: pracsb <78512712+pr-work@users.noreply.github.com>
Co-authored-by: Prachi Bhavsar <prbhavsar@microsoft.com>
Co-authored-by: Matthew Yang <79727592+matyang22@users.noreply.github.com>
Co-authored-by: utbarn-ms <66377251+utbarn-ms@users.noreply.github.com>
Co-authored-by: Ben Eshed <thebenwaters@users.noreply.github.com>
Co-authored-by: Satya-anshu <70507845+Satya-anshu@users.noreply.github.com>
Co-authored-by: bewaterspassover <103988461+bewaterspassover@users.noreply.github.com>
Co-authored-by: Ben Eshed <bewaters@microsoft.com>
* add openapi spec for scvmm

* lint fixes, spell fixes

* typo fix

* prettier

* force delete query param

* removing some deprecated properties

* remove additional props
* update doc

* Update configure-python-sdk.md

* Update configure-python-sdk.md

* Update configure-python-sdk.md
…zure#18713)

* add groupids in response

* fix prettier issues

* fix consistency problem with two swagger file

Co-authored-by: Chenjie Shi <tadelesh.shi@live.cn>
Co-authored-by: Alex Wilcox <alex.wilcox@cloudsecure.ltd>
* Create 2022-05-01

* Delete 2022-05-01

* Create changes.json

* Create GetChange.json

* Create ListChanges.json

* Update readme.md

* Update changes.json

* Update readme.md

* Update readme.md

* Update readme.md

* Update readme.md

* Update readme.md

* Update readme.md
* Copy existing FabricLocation

* AzureStack Admin API - Fabric RP - FabricLocation - 2022-03-01

* Revert to original Fabric.json for common type
* swagger review initial commit

* Swagger Changes for new API

* Swagger Changes for new API

* Swagger Changes for new API

* Swagger Changes for new API

* Swagger Changes for new API

* fix validation issue

* Swagger Changes for new API

* Update readme.md

changes to readme

* manifest changes for new API
… preview/2019-10-11-preview (Azure#18482)

* add x-ms-enum

* Fix validation issues

* Delete Notebooks spec

Co-authored-by: Geoffrey Troyer <geoffreymtroyer@gmail.com>
Co-authored-by: Kyle Cutler <kycutler@microsoft.com>
* Enable azure-powershell for all manage RPs

* Change integrationRepository to Azure/azure-powershell-pr

* Change azure-powershell in api-spec repo

* Change azure-powershell in api-spec repo

* Remove azure-powershell from some deprecated RPs

Co-authored-by: v-yuzhichen@microsoft.com <v-yuzhichen@microsoft.com>
…ion stable/2021-01-01 (Azure#18603)

* Update Microsoft.MixedReality swagger to fix quality issues in s360

* Fixing linter issue

* Revert "Fixing linter issue"

This reverts commit 9d3b03a.

Co-authored-by: Ramón Argüelles-García <rgarcia@ntdev.microsoft.com>
shimonar1171 and others added 9 commits May 31, 2022 23:37
* Add new Sql VA API

* Update server level API

* Update API attributes

* Update controlers

* Add missing examples

* Fix examples

* Format JSON file

* Update examples

* Updae scan record API

* Add ref to README file

* Update version

* Update enums

* Add SystemData

* add systemData

* sort readme files

* Update examples

* Update remove baseline API

* Add 204 respond to delete API

* Add 204 error

* Fixed error

* Update description

* Update swagger

* fix PR comments, seperated baseline operations to /baselines/default/rules/ruleid

* fix validations errors

Co-authored-by: Ahmad Abas <ahabas@microsoft.com>
…er requirements. (Azure#19240)

Co-authored-by: Ahmad Abas <ahabas@microsoft.com>
@openapi-workflow-bot
Copy link

Hi, @ericshape 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 Jul 18, 2022

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️⚠️Breaking Change(Cross-Version): 1 Warnings warning [Detail]
    Rule Message
    ⚠️ APIsBeingMovedToANewSpec "details":"Attention: There are some existing APIs currently documented in a new spec file. The validation may not be able to report breaking changes with these APIs. It is recommended not to rename swagger file or move public APIs to a new file when creating a new API version.The existing APIs being moved are:ServerUsages_ListByServer;",
    "location":"https://github.com/Azure/azure-rest-api-specs/blob/dev-sql-Microsoft.Sql-2022-02-01-preview/specification/sql/resource-manager/Microsoft.Sql/preview/2022-02-01-preview/ServerUsages.json"
    ️️✔️LintDiff succeeded [Detail] [Expand]
    Validation passes for LintDiff.
    compared tags (via openapi-validator v1.13.0) new version base version
    default default(234d7a3) default(dev-sql-Microsoft.Sql-2022-02-01-preview)
    ️❌Avocado: 5 Errors, 1 Warnings failed [Detail]
    Rule Message
    NOT_LATEST_API_VERSION_IN_DEFAULT_TAG The default tag does not contains the latest API version. Please make sure the latest api version swaggers are in the default tag.
    readme: specification/sql/resource-manager/readme.md
    json: Microsoft.Sql/preview/2022-02-01-preview/RecoverableDatabases.json
    NOT_LATEST_API_VERSION_IN_DEFAULT_TAG The default tag does not contains the latest API version. Please make sure the latest api version swaggers are in the default tag.
    readme: specification/sql/resource-manager/readme.md
    json: Microsoft.Sql/preview/2022-02-01-preview/ServerUsages.json
    NOT_LATEST_API_VERSION_IN_DEFAULT_TAG The default tag does not contains the latest API version. Please make sure the latest api version swaggers are in the default tag.
    readme: specification/sql/resource-manager/readme.md
    json: Microsoft.Sql/preview/2022-02-01-preview/DataMaskingPolicies.json
    NOT_LATEST_API_VERSION_IN_DEFAULT_TAG The default tag does not contains the latest API version. Please make sure the latest api version swaggers are in the default tag.
    readme: specification/sql/resource-manager/readme.md
    json: Microsoft.Sql/preview/2022-02-01-preview/DataMaskingRules.json
    NOT_LATEST_API_VERSION_IN_DEFAULT_TAG The default tag does not contains the latest API version. Please make sure the latest api version swaggers are in the default tag.
    readme: specification/sql/resource-manager/readme.md
    json: Microsoft.Sql/preview/2022-02-01-preview/GeoBackupPolicies.json
    ⚠️ MULTIPLE_API_VERSION The default tag contains multiple API versions swaggers.
    readme: specification/sql/resource-manager/readme.md
    tag: specification/sql/resource-manager/readme.md#tag-package-composite-v5
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️SDK Track2 Validation succeeded [Detail] [Expand]
    Validation passes for SDKTrack2Validation
    ️️✔️PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    ️️✔️CadlValidation succeeded [Detail] [Expand]
    Validation passes for CadlValidation.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jul 18, 2022

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]
     Please click here to preview with your @microsoft account. 
    ️️✔️SDK Breaking Change Tracking succeeded [Detail] [Expand]

    Breaking Changes Tracking

    ️✔️azure-sdk-for-go - armsql - 1.1.0-beta.1
    ️✔️azure-sdk-for-python-track2 - track2_azure-mgmt-sql - 4.0.0b3
    ️✔️azure-sdk-for-js - @azure/arm-sql - 10.0.0-beta.1
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs] Generate from b18ed3d6ecb0cb75e64d2cc246d27059ad5a6024. SDK Automation 14.0.0
      command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
      cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
      command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
      cmderr	[automation_generate.sh]  config global `--global`, `--local` are deprecated. Use `--location=global` instead.
      cmderr	[automation_generate.sh] npm notice
      cmderr	[automation_generate.sh] npm notice New minor version of npm available! 8.11.0 -> 8.14.0
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.14.0>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g npm@8.14.0` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-sql [View full logs]  [Preview SDK Changes] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Added operation group ManagedInstanceDtcsOperations
      info	[Changelog]
      info	[Changelog] **Breaking changes**
      info	[Changelog]
      info	[Changelog]   - Removed operation group ManagedServerDnsAliasesOperations
    ️️✔️ azure-sdk-for-net-track2 succeeded [Detail] [Expand]
    ️️✔️ azure-sdk-for-java succeeded [Detail] [Expand]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from b18ed3d6ecb0cb75e64d2cc246d27059ad5a6024. SDK Automation 14.0.0
      command	sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️armsql [View full logs]  [Preview SDK Changes]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New const `DtcNameCurrent`
      info	[Changelog] - New function `*ManagedInstanceDtcsClient.Get(context.Context, string, string, DtcName, *ManagedInstanceDtcsClientGetOptions) (ManagedInstanceDtcsClientGetResponse, error)`
      info	[Changelog] - New function `NewManagedInstanceDtcsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ManagedInstanceDtcsClient, error)`
      info	[Changelog] - New function `*ManagedInstanceDtcsClient.NewListByManagedInstancePager(string, string, *ManagedInstanceDtcsClientListByManagedInstanceOptions) *runtime.Pager[ManagedInstanceDtcsClientListByManagedInstanceResponse]`
      info	[Changelog] - New function `*ManagedInstanceDtcsClient.BeginCreateOrUpdate(context.Context, string, string, DtcName, ManagedInstanceDtc, *ManagedInstanceDtcsClientBeginCreateOrUpdateOptions) (*runtime.Poller[ManagedInstanceDtcsClientCreateOrUpdateResponse], error)`
      info	[Changelog] - New function `PossibleDtcNameValues() []DtcName`
      info	[Changelog] - New struct `ManagedInstanceDtc`
      info	[Changelog] - New struct `ManagedInstanceDtcListResult`
      info	[Changelog] - New struct `ManagedInstanceDtcProperties`
      info	[Changelog] - New struct `ManagedInstanceDtcSecuritySettings`
      info	[Changelog] - New struct `ManagedInstanceDtcTransactionManagerCommunicationSettings`
      info	[Changelog] - New struct `ManagedInstanceDtcsClient`
      info	[Changelog] - New struct `ManagedInstanceDtcsClientBeginCreateOrUpdateOptions`
      info	[Changelog] - New struct `ManagedInstanceDtcsClientCreateOrUpdateResponse`
      info	[Changelog] - New struct `ManagedInstanceDtcsClientGetOptions`
      info	[Changelog] - New struct `ManagedInstanceDtcsClientGetResponse`
      info	[Changelog] - New struct `ManagedInstanceDtcsClientListByManagedInstanceOptions`
      info	[Changelog] - New struct `ManagedInstanceDtcsClientListByManagedInstanceResponse`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 30 additive change(s).
    ️⚠️ azure-sdk-for-js warning [Detail]
    • ⚠️Warning [Logs] Generate from b18ed3d6ecb0cb75e64d2cc246d27059ad5a6024. SDK Automation 14.0.0
      command	sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json
      cmderr	[automation_init.sh]  deprecated read-package-tree@5.1.6: The functionality that this package provided is now in @npmcli/arborist
      cmderr	[automation_init.sh] npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
      cmderr	[automation_init.sh] npm WARN deprecated @opentelemetry/types@0.2.0: Package renamed to @opentelemetry/api, see https://github.com/open-telemetry/opentelemetry-js
      cmderr	[automation_init.sh]  deprecated @azure/storage-blob@10.5.0: This version has been deprecated, please upgrade to the version tagged as latest
      cmderr	[automation_init.sh] npm WARN @octokit/plugin-request-log@1.0.4 requires a peer of @octokit/core@>=3 but none is installed. You must install peer dependencies yourself.
      warn	File azure-sdk-for-js_tmp/initOutput.json not found to read
      command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
    • ️✔️@azure/arm-sql [View full logs]  [Preview SDK Changes] Breaking Change Detected
      Only show 120 items here, please refer to log for details.
      info	[Changelog]
      info	[Changelog]   - Added operation group DatabaseAdvancedThreatProtectionSettings
      info	[Changelog]   - Added operation group DistributedAvailabilityGroups
      info	[Changelog]   - Added operation group EndpointCertificates
      info	[Changelog]   - Added operation group IPv6FirewallRules
      info	[Changelog]   - Added operation group ManagedInstanceDtcs
      info	[Changelog]   - Added operation group ServerAdvancedThreatProtectionSettings
      info	[Changelog]   - Added operation group ServerTrustCertificates
      info	[Changelog]   - Added Interface DatabaseAdvancedThreatProtectionListResult
      info	[Changelog]   - Added Interface DatabaseAdvancedThreatProtectionSettingsCreateOrUpdateOptionalParams
      info	[Changelog]   - Added Interface DatabaseAdvancedThreatProtectionSettingsGetOptionalParams
      info	[Changelog]   - Added Interface DatabaseAdvancedThreatProtectionSettingsListByDatabaseNextOptionalParams
      info	[Changelog]   - Added Interface DatabaseAdvancedThreatProtectionSettingsListByDatabaseOptionalParams
      info	[Changelog]   - Added Interface DistributedAvailabilityGroupsCreateOrUpdateOptionalParams
      info	[Changelog]   - Added Interface DistributedAvailabilityGroupsDeleteOptionalParams
      info	[Changelog]   - Added Interface DistributedAvailabilityGroupsGetOptionalParams
      info	[Changelog]   - Added Interface DistributedAvailabilityGroupsListByInstanceNextOptionalParams
      info	[Changelog]   - Added Interface DistributedAvailabilityGroupsListByInstanceOptionalParams
      info	[Changelog]   - Added Interface DistributedAvailabilityGroupsListResult
      info	[Changelog]   - Added Interface DistributedAvailabilityGroupsUpdateOptionalParams
      info	[Changelog]   - Added Interface EndpointCertificateListResult
      info	[Changelog]   - Added Interface EndpointCertificatesGetOptionalParams
      info	[Changelog]   - Added Interface EndpointCertificatesListByInstanceNextOptionalParams
      info	[Changelog]   - Added Interface EndpointCertificatesListByInstanceOptionalParams
      info	[Changelog]   - Added Interface IPv6FirewallRuleListResult
      info	[Changelog]   - Added Interface IPv6FirewallRulesCreateOrUpdateOptionalParams
      info	[Changelog]   - Added Interface IPv6FirewallRulesDeleteOptionalParams
      info	[Changelog]   - Added Interface IPv6FirewallRulesGetOptionalParams
      info	[Changelog]   - Added Interface IPv6FirewallRulesListByServerNextOptionalParams
      info	[Changelog]   - Added Interface IPv6FirewallRulesListByServerOptionalParams
      info	[Changelog]   - Added Interface LogicalServerAdvancedThreatProtectionListResult
      info	[Changelog]   - Added Interface ManagedInstanceDtcListResult
      info	[Changelog]   - Added Interface ManagedInstanceDtcsCreateOrUpdateOptionalParams
      info	[Changelog]   - Added Interface ManagedInstanceDtcSecuritySettings
      info	[Changelog]   - Added Interface ManagedInstanceDtcsGetOptionalParams
      info	[Changelog]   - Added Interface ManagedInstanceDtcsListByManagedInstanceNextOptionalParams
      info	[Changelog]   - Added Interface ManagedInstanceDtcsListByManagedInstanceOptionalParams
      info	[Changelog]   - Added Interface ManagedInstanceDtcTransactionManagerCommunicationSettings
      info	[Changelog]   - Added Interface ServerAdvancedThreatProtectionSettingsCreateOrUpdateOptionalParams
      info	[Changelog]   - Added Interface ServerAdvancedThreatProtectionSettingsGetOptionalParams
      info	[Changelog]   - Added Interface ServerAdvancedThreatProtectionSettingsListByServerNextOptionalParams
      info	[Changelog]   - Added Interface ServerAdvancedThreatProtectionSettingsListByServerOptionalParams
      info	[Changelog]   - Added Interface ServerTrustCertificatesCreateOrUpdateOptionalParams
      info	[Changelog]   - Added Interface ServerTrustCertificatesDeleteOptionalParams
      info	[Changelog]   - Added Interface ServerTrustCertificatesGetOptionalParams
      info	[Changelog]   - Added Interface ServerTrustCertificatesListByInstanceNextOptionalParams
      info	[Changelog]   - Added Interface ServerTrustCertificatesListByInstanceOptionalParams
      info	[Changelog]   - Added Interface ServerTrustCertificatesListResult
      info	[Changelog]   - Added Type Alias AdvancedThreatProtectionName
      info	[Changelog]   - Added Type Alias AdvancedThreatProtectionState
      info	[Changelog]   - Added Type Alias DatabaseAdvancedThreatProtection
      info	[Changelog]   - Added Type Alias DatabaseAdvancedThreatProtectionSettingsCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias DatabaseAdvancedThreatProtectionSettingsGetResponse
      info	[Changelog]   - Added Type Alias DatabaseAdvancedThreatProtectionSettingsListByDatabaseNextResponse
      info	[Changelog]   - Added Type Alias DatabaseAdvancedThreatProtectionSettingsListByDatabaseResponse
      info	[Changelog]   - Added Type Alias DistributedAvailabilityGroup
      info	[Changelog]   - Added Type Alias DistributedAvailabilityGroupsCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias DistributedAvailabilityGroupsGetResponse
      info	[Changelog]   - Added Type Alias DistributedAvailabilityGroupsListByInstanceNextResponse
      info	[Changelog]   - Added Type Alias DistributedAvailabilityGroupsListByInstanceResponse
      info	[Changelog]   - Added Type Alias DistributedAvailabilityGroupsUpdateResponse
      info	[Changelog]   - Added Type Alias DtcName
      info	[Changelog]   - Added Type Alias EndpointCertificate
      info	[Changelog]   - Added Type Alias EndpointCertificatesGetResponse
      info	[Changelog]   - Added Type Alias EndpointCertificatesListByInstanceNextResponse
      info	[Changelog]   - Added Type Alias EndpointCertificatesListByInstanceResponse
      info	[Changelog]   - Added Type Alias IPv6FirewallRule
      info	[Changelog]   - Added Type Alias IPv6FirewallRulesCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias IPv6FirewallRulesGetResponse
      info	[Changelog]   - Added Type Alias IPv6FirewallRulesListByServerNextResponse
      info	[Changelog]   - Added Type Alias IPv6FirewallRulesListByServerResponse
      info	[Changelog]   - Added Type Alias ManagedInstanceDtc
      info	[Changelog]   - Added Type Alias ManagedInstanceDtcsCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias ManagedInstanceDtcsGetResponse
      info	[Changelog]   - Added Type Alias ManagedInstanceDtcsListByManagedInstanceNextResponse
      info	[Changelog]   - Added Type Alias ManagedInstanceDtcsListByManagedInstanceResponse
      info	[Changelog]   - Added Type Alias ReplicationLinksFailoverAllowDataLossResponse
      info	[Changelog]   - Added Type Alias ReplicationLinksFailoverResponse
      info	[Changelog]   - Added Type Alias ReplicationMode
      info	[Changelog]   - Added Type Alias ServerAdvancedThreatProtection
      info	[Changelog]   - Added Type Alias ServerAdvancedThreatProtectionSettingsCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias ServerAdvancedThreatProtectionSettingsGetResponse
      info	[Changelog]   - Added Type Alias ServerAdvancedThreatProtectionSettingsListByServerNextResponse
      info	[Changelog]   - Added Type Alias ServerAdvancedThreatProtectionSettingsListByServerResponse
      info	[Changelog]   - Added Type Alias ServerTrustCertificate
      info	[Changelog]   - Added Type Alias ServerTrustCertificatesCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias ServerTrustCertificatesGetResponse
      info	[Changelog]   - Added Type Alias ServerTrustCertificatesListByInstanceNextResponse
      info	[Changelog]   - Added Type Alias ServerTrustCertificatesListByInstanceResponse
      info	[Changelog]   - Added Type Alias SyncGroupsType
      info	[Changelog]   - Interface ElasticPoolUpdate has a new optional parameter highAvailabilityReplicaCount
      info	[Changelog]   - Class SqlManagementClient has a new parameter databaseAdvancedThreatProtectionSettings
      info	[Changelog]   - Class SqlManagementClient has a new parameter distributedAvailabilityGroups
      info	[Changelog]   - Class SqlManagementClient has a new parameter endpointCertificates
      info	[Changelog]   - Class SqlManagementClient has a new parameter iPv6FirewallRules
      info	[Changelog]   - Class SqlManagementClient has a new parameter managedInstanceDtcs
      info	[Changelog]   - Class SqlManagementClient has a new parameter serverAdvancedThreatProtectionSettings
      info	[Changelog]   - Class SqlManagementClient has a new parameter serverTrustCertificates
      info	[Changelog]   - Type Alias Database has a new parameter sourceResourceId
      info	[Changelog]   - Type Alias DatabaseBlobAuditingPolicy has a new parameter isManagedIdentityInUse
      info	[Changelog]   - Type Alias ElasticPool has a new parameter highAvailabilityReplicaCount
      info	[Changelog]   - Type Alias ExtendedDatabaseBlobAuditingPolicy has a new parameter isManagedIdentityInUse
      info	[Changelog]   - Type Alias ExtendedServerBlobAuditingPolicy has a new parameter isManagedIdentityInUse
      info	[Changelog]   - Type Alias ServerBlobAuditingPolicy has a new parameter isManagedIdentityInUse
      info	[Changelog]   - Added Enum KnownAdvancedThreatProtectionName
      info	[Changelog]   - Added Enum KnownDtcName
      info	[Changelog]   - Added Enum KnownReplicationMode
      info	[Changelog]   - Added Enum KnownSyncGroupsType
      info	[Changelog]
      info	[Changelog] **Breaking Changes**
      info	[Changelog]
      info	[Changelog]   - Removed operation group OperationsHealthOperations
      info	[Changelog]   - Removed operation ReplicationLinks.beginUnlink
      info	[Changelog]   - Removed operation ReplicationLinks.beginUnlinkAndWait
      info	[Changelog]   - Operation SyncGroups.listLogs has a new signature
      info	[Changelog]   - Interface DatabaseIdentity no longer has parameter delegatedResources
      info	[Changelog]   - Interface DatabaseUpdate no longer has parameter primaryDelegatedIdentityClientId
      info	[Changelog]   - Class SqlManagementClient no longer has parameter operationsHealthOperations
      info	[Changelog]   - Type Alias Database no longer has parameter primaryDelegatedIdentityClientId
      info	[Changelog]   - Removed Enum KnownEnum60
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs] Generate from b18ed3d6ecb0cb75e64d2cc246d27059ad5a6024. Schema Automation 14.0.0
      command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
      cmderr	[initScript.sh] WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile The package-lock.json file was created with an old version of npm,
      cmderr	[initScript.sh] npm WARN old lockfile so supplemental metadata must be fetched from the registry.
      cmderr	[initScript.sh] npm WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile This is a one-time fix-up, please be patient...
      cmderr	[initScript.sh] npm WARN old lockfile
      warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
      command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
    ️❌ azure-powershell failed [Detail]
    • Failed [Logs] Generate from b18ed3d6ecb0cb75e64d2cc246d27059ad5a6024. SDK Automation 14.0.0
      command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
      command	pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-workflow-bot
    Copy link

    Hi @ericshape, Your PR has some issues. Please fix the CI sequentially by following the order of Avocado, semantic validation, model validation, breaking change, lintDiff. If you have any questions, please post your questions in this channel https://aka.ms/swaggersupport.

    TaskHow to fixPriority
    AvocadoFix-AvocadoHigh
    Semantic validationFix-SemanticValidation-ErrorHigh
    Model validationFix-ModelValidation-ErrorHigh
    LintDiffFix-LintDiffhigh
    If you need further help, please feedback via swagger feedback.

    @raych1 raych1 merged commit 403e221 into Azure:dev-sql-Microsoft.Sql-2022-02-01-preview Jul 19, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment