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

Add new Sql VA API #18804

Conversation

shimonar1171
Copy link
Contributor

@shimonar1171 shimonar1171 commented Apr 25, 2022

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 - fix lint diff
  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. 05/2022
  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 apply to the PR so that label "WaitForARMFeedback" will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

  • 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.

@openapi-workflow-bot
Copy link

Hi, @shimonar1171 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-workflow-bot
    Copy link

    [Call for Action] To better understand Azure service dev/test scenario, and support Azure service developer better on Swagger and REST API related tests in early phase, please help to fill in with this survey https://aka.ms/SurveyForEarlyPhase. It will take 5 to 10 minutes. If you already complete survey, please neglect this comment. Thanks.

    @ghost ghost added the SQL label Apr 25, 2022
    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Apr 25, 2022

    Swagger Validation Report

    ️⌛BreakingChange pending [Detail]
    ️🔄LintDiff inProgress [Detail]
    ️🔄Avocado inProgress [Detail]
    ️🔄ModelValidation inProgress [Detail]
    ️🔄SemanticValidation inProgress [Detail]
    ️⌛Cross-Version Breaking Changes pending [Detail]
    ️🔄SDK Track2 Validation inProgress [Detail]
    ️⌛PrettierCheck pending [Detail]
    ️🔄SpellCheck inProgress [Detail]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Apr 25, 2022

    Swagger Generation Artifacts

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

    Breaking Changes Tracking

    ️✔️azure-sdk-for-go-track2 - armsql - 0.7.0
    ️✔️azure-sdk-for-python-track2 - track2_azure-mgmt-sql - 4.0.0b2
    ️✔️azure-sdk-for-js - @azure/arm-sql - 10.0.0-beta.1
    ️✔️azure-sdk-for-go - sql/mgmt/2014-04-01/sql - v65.0.0
    ⚠️azure-sdk-for-go - preview/sql/mgmt/v5.0/sql - v65.0.0
    +	Const `BackupStorageRedundancy1Geo` has been removed
    +	Const `BackupStorageRedundancy1Local` has been removed
    +	Const `BackupStorageRedundancy1Zone` has been removed
    +	Const `CurrentBackupStorageRedundancyGeo` has been removed
    +	Const `CurrentBackupStorageRedundancyLocal` has been removed
    +	Const `CurrentBackupStorageRedundancyZone` has been removed
    +	Const `RequestedBackupStorageRedundancyGeo` has been removed
    +	Const `RequestedBackupStorageRedundancyLocal` has been removed
    +	Const `RequestedBackupStorageRedundancyZone` has been removed
    +	Const `StorageAccountType1GRS` has been removed
    +	Const `StorageAccountType1LRS` has been removed
    +	Const `StorageAccountType1ZRS` has been removed
    +	Const `TargetBackupStorageRedundancyGeo` has been removed
    +	Const `TargetBackupStorageRedundancyLocal` has been removed
    +	Const `TargetBackupStorageRedundancyZone` has been removed
    +	Const `TransparentDataEncryptionActivityStatusDecrypting` has been removed
    +	Const `TransparentDataEncryptionActivityStatusEncrypting` has been removed
    +	Const `TransparentDataEncryptionStatusDisabled` has been removed
    +	Const `TransparentDataEncryptionStatusEnabled` has been removed
    +	Field `*DatabaseProperties` of struct `DatabaseUpdate` has been removed
    +	Field `ElasticPoolID` of struct `RestorableDroppedDatabaseProperties` has been removed
    +	Field `Status` of struct `TransparentDataEncryptionProperties` has been removed
    +	Field `StorageAccountType` of struct `ManagedInstanceProperties` has been removed
    +	Function `*OperationsHealth.UnmarshalJSON` has been removed
    +	Function `*OperationsHealthListResultIterator.NextWithContext` has been removed
    +	Function `*OperationsHealthListResultIterator.Next` has been removed
    +	Function `*OperationsHealthListResultPage.NextWithContext` has been removed
    +	Function `*OperationsHealthListResultPage.Next` has been removed
    +	Function `*ReplicationLinksUnlinkFuture.UnmarshalJSON` has been removed
    +	Function `*TransparentDataEncryption.UnmarshalJSON` has been removed
    +	Function `*TransparentDataEncryptionActivity.UnmarshalJSON` has been removed
    +	Function `ElasticPoolsClient.ListByServerComplete` parameter(s) have been changed from `(context.Context, string, string, *int32)` to `(context.Context, string, string, *int64)`
    +	Function `ElasticPoolsClient.ListByServerPreparer` parameter(s) have been changed from `(context.Context, string, string, *int32)` to `(context.Context, string, string, *int64)`
    +	Function `ElasticPoolsClient.ListByServer` parameter(s) have been changed from `(context.Context, string, string, *int32)` to `(context.Context, string, string, *int64)`
    +	Function `LedgerDigestUploadsClient.CreateOrUpdateSender` return value(s) have been changed from `(*http.Response, error)` to `(LedgerDigestUploadsCreateOrUpdateFuture, error)`
    +	Function `LedgerDigestUploadsClient.CreateOrUpdate` return value(s) have been changed from `(LedgerDigestUploads, error)` to `(LedgerDigestUploadsCreateOrUpdateFuture, error)`
    +	Function `LedgerDigestUploadsClient.DisableSender` return value(s) have been changed from `(*http.Response, error)` to `(LedgerDigestUploadsDisableFuture, error)`
    +	Function `LedgerDigestUploadsClient.Disable` return value(s) have been changed from `(LedgerDigestUploads, error)` to `(LedgerDigestUploadsDisableFuture, error)`
    +	Function `NewOperationsHealthClientWithBaseURI` has been removed
    +	Function `NewOperationsHealthClient` has been removed
    +	Function `NewOperationsHealthListResultIterator` has been removed
    +	Function `NewOperationsHealthListResultPage` has been removed
    +	Function `NewTransparentDataEncryptionActivitiesClientWithBaseURI` has been removed
    +	Function `NewTransparentDataEncryptionActivitiesClient` has been removed
    +	Function `OperationsHealth.MarshalJSON` has been removed
    +	Function `OperationsHealthClient.ListByLocationComplete` has been removed
    +	Function `OperationsHealthClient.ListByLocationPreparer` has been removed
    +	Function `OperationsHealthClient.ListByLocationResponder` has been removed
    +	Function `OperationsHealthClient.ListByLocationSender` has been removed
    +	Function `OperationsHealthClient.ListByLocation` has been removed
    +	Function `OperationsHealthListResult.IsEmpty` has been removed
    +	Function `OperationsHealthListResult.MarshalJSON` has been removed
    +	Function `OperationsHealthListResultIterator.NotDone` has been removed
    +	Function `OperationsHealthListResultIterator.Response` has been removed
    +	Function `OperationsHealthListResultIterator.Value` has been removed
    +	Function `OperationsHealthListResultPage.NotDone` has been removed
    +	Function `OperationsHealthListResultPage.Response` has been removed
    +	Function `OperationsHealthListResultPage.Values` has been removed
    +	Function `OperationsHealthProperties.MarshalJSON` has been removed
    +	Function `PossibleBackupStorageRedundancy1Values` has been removed
    +	Function `PossibleCurrentBackupStorageRedundancyValues` has been removed
    +	Function `PossibleRequestedBackupStorageRedundancyValues` has been removed
    +	Function `PossibleStorageAccountType1Values` has been removed
    +	Function `PossibleTargetBackupStorageRedundancyValues` has been removed
    +	Function `PossibleTransparentDataEncryptionActivityStatusValues` has been removed
    +	Function `PossibleTransparentDataEncryptionStatusValues` has been removed
    +	Function `ReplicationLinksClient.FailoverAllowDataLossResponder` return value(s) have been changed from `(autorest.Response, error)` to `(ReplicationLink, error)`
    +	Function `ReplicationLinksClient.FailoverResponder` return value(s) have been changed from `(autorest.Response, error)` to `(ReplicationLink, error)`
    +	Function `ReplicationLinksClient.UnlinkPreparer` has been removed
    +	Function `ReplicationLinksClient.UnlinkResponder` has been removed
    +	Function `ReplicationLinksClient.UnlinkSender` has been removed
    +	Function `ReplicationLinksClient.Unlink` has been removed
    +	Function `ResourceIdentityWithUserAssignedIdentities.MarshalJSON` has been removed
    +	Function `ServerConnectionPoliciesClient.CreateOrUpdateSender` return value(s) have been changed from `(*http.Response, error)` to `(ServerConnectionPoliciesCreateOrUpdateFuture, error)`
    +	Function `ServerConnectionPoliciesClient.CreateOrUpdate` return value(s) have been changed from `(ServerConnectionPolicy, error)` to `(ServerConnectionPoliciesCreateOrUpdateFuture, error)`
    +	Function `SyncGroupsClient.ListLogsComplete` parameter(s) have been changed from `(context.Context, string, string, string, string, string, string, string, string)` to `(context.Context, string, string, string, string, string, string, SyncGroupsType, string)`
    +	Function `SyncGroupsClient.ListLogsPreparer` parameter(s) have been changed from `(context.Context, string, string, string, string, string, string, string, string)` to `(context.Context, string, string, string, string, string, string, SyncGroupsType, string)`
    +	Function `SyncGroupsClient.ListLogs` parameter(s) have been changed from `(context.Context, string, string, string, string, string, string, string, string)` to `(context.Context, string, string, string, string, string, string, SyncGroupsType, string)`
    +	Function `TransparentDataEncryption.MarshalJSON` has been removed
    +	Function `TransparentDataEncryptionActivitiesClient.ListByConfigurationPreparer` has been removed
    +	Function `TransparentDataEncryptionActivitiesClient.ListByConfigurationResponder` has been removed
    +	Function `TransparentDataEncryptionActivitiesClient.ListByConfigurationSender` has been removed
    +	Function `TransparentDataEncryptionActivitiesClient.ListByConfiguration` has been removed
    +	Function `TransparentDataEncryptionActivity.MarshalJSON` has been removed
    +	Function `TransparentDataEncryptionActivityProperties.MarshalJSON` has been removed
    +	Function `TransparentDataEncryptionsClient.CreateOrUpdatePreparer` parameter(s) have been changed from `(context.Context, string, string, string, TransparentDataEncryption)` to `(context.Context, string, string, string, LogicalDatabaseTransparentDataEncryption)`
    +	Function `TransparentDataEncryptionsClient.CreateOrUpdateResponder` return value(s) have been changed from `(TransparentDataEncryption, error)` to `(LogicalDatabaseTransparentDataEncryption, error)`
    +	Function `TransparentDataEncryptionsClient.CreateOrUpdate` parameter(s) have been changed from `(context.Context, string, string, string, TransparentDataEncryption)` to `(context.Context, string, string, string, LogicalDatabaseTransparentDataEncryption)`
    +	Function `TransparentDataEncryptionsClient.CreateOrUpdate` return value(s) have been changed from `(TransparentDataEncryption, error)` to `(LogicalDatabaseTransparentDataEncryption, error)`
    +	Function `TransparentDataEncryptionsClient.GetResponder` return value(s) have been changed from `(TransparentDataEncryption, error)` to `(LogicalDatabaseTransparentDataEncryption, error)`
    +	Function `TransparentDataEncryptionsClient.Get` return value(s) have been changed from `(TransparentDataEncryption, error)` to `(LogicalDatabaseTransparentDataEncryption, error)`
    +	Struct `OperationsHealthClient` has been removed
    +	Struct `OperationsHealthListResultIterator` has been removed
    +	Struct `OperationsHealthListResultPage` has been removed
    +	Struct `OperationsHealthListResult` has been removed
    +	Struct `OperationsHealthProperties` has been removed
    +	Struct `OperationsHealth` has been removed
    +	Struct `ReplicationLinksUnlinkFuture` has been removed
    +	Struct `ResourceIdentityWithUserAssignedIdentities` has been removed
    +	Struct `TransparentDataEncryptionActivitiesClient` has been removed
    +	Struct `TransparentDataEncryptionActivityListResult` has been removed
    +	Struct `TransparentDataEncryptionActivityProperties` has been removed
    +	Struct `TransparentDataEncryptionActivity` has been removed
    +	Struct `TransparentDataEncryption` has been removed
    +	Struct `UnlinkParameters` has been removed
    +	Type of `CopyLongTermRetentionBackupParametersProperties.TargetBackupStorageRedundancy` has been changed from `TargetBackupStorageRedundancy` to `BackupStorageRedundancy`
    +	Type of `DatabaseProperties.CurrentBackupStorageRedundancy` has been changed from `CurrentBackupStorageRedundancy` to `BackupStorageRedundancy`
    +	Type of `DatabaseProperties.RequestedBackupStorageRedundancy` has been changed from `RequestedBackupStorageRedundancy` to `BackupStorageRedundancy`
    +	Type of `ReplicationLinksFailoverAllowDataLossFuture.Result` has been changed from `func(ReplicationLinksClient) (autorest.Response, error)` to `func(ReplicationLinksClient) (ReplicationLink, error)`
    +	Type of `ReplicationLinksFailoverFuture.Result` has been changed from `func(ReplicationLinksClient) (autorest.Response, error)` to `func(ReplicationLinksClient) (ReplicationLink, error)`
    +	Type of `RestorableDroppedDatabaseProperties.BackupStorageRedundancy` has been changed from `BackupStorageRedundancy1` to `BackupStorageRedundancy`
    +	Type of `StorageCapability.StorageAccountType` has been changed from `StorageAccountType1` to `StorageAccountType`
    +	Type of `UpdateLongTermRetentionBackupParametersProperties.RequestedBackupStorageRedundancy` has been changed from `RequestedBackupStorageRedundancy` to `BackupStorageRedundancy`
    ⚠️azure-sdk-for-go - preview/sql/mgmt/v4.0/sql - v65.0.0
    +	Const `All` type has been changed from `DatabaseState1` to `DatabaseState`
    +	Const `DatabaseState2All` has been removed
    +	Const `DatabaseState2Deleted` has been removed
    +	Const `DatabaseState2Live` has been removed
    +	Const `DatabaseState3All` has been removed
    +	Const `DatabaseState3Deleted` has been removed
    +	Const `DatabaseState3Live` has been removed
    +	Const `DatabaseState4All` has been removed
    +	Const `DatabaseState4Deleted` has been removed
    +	Const `DatabaseState4Live` has been removed
    +	Const `DatabaseState5All` has been removed
    +	Const `DatabaseState5Deleted` has been removed
    +	Const `DatabaseState5Live` has been removed
    +	Const `DatabaseState6All` has been removed
    +	Const `DatabaseState6Deleted` has been removed
    +	Const `DatabaseState6Live` has been removed
    +	Const `Deleted` type has been changed from `DatabaseState1` to `DatabaseState`
    +	Const `Geo` type has been changed from `SecondaryType` to `BackupStorageRedundancy`
    +	Const `Live` type has been changed from `DatabaseState1` to `DatabaseState`
    +	Const `LongTermRetentionDatabaseStateAll` has been removed
    +	Const `LongTermRetentionDatabaseStateDeleted` has been removed
    +	Const `LongTermRetentionDatabaseStateLive` has been removed
    +	Const `Named` has been removed
    +	Field `StorageAccountType` of struct `DatabaseProperties` has been removed
    +	Function `*BackupLongTermRetentionPoliciesCreateOrUpdateFuture.UnmarshalJSON` has been removed
    +	Function `*BackupLongTermRetentionPolicy.UnmarshalJSON` has been removed
    +	Function `BackupLongTermRetentionPoliciesClient.CreateOrUpdatePreparer` has been removed
    +	Function `BackupLongTermRetentionPoliciesClient.CreateOrUpdateResponder` has been removed
    +	Function `BackupLongTermRetentionPoliciesClient.CreateOrUpdateSender` has been removed
    +	Function `BackupLongTermRetentionPoliciesClient.CreateOrUpdate` has been removed
    +	Function `BackupLongTermRetentionPoliciesClient.GetPreparer` has been removed
    +	Function `BackupLongTermRetentionPoliciesClient.GetResponder` has been removed
    +	Function `BackupLongTermRetentionPoliciesClient.GetSender` has been removed
    +	Function `BackupLongTermRetentionPoliciesClient.Get` has been removed
    +	Function `BackupLongTermRetentionPoliciesClient.ListByDatabasePreparer` has been removed
    +	Function `BackupLongTermRetentionPoliciesClient.ListByDatabaseResponder` has been removed
    +	Function `BackupLongTermRetentionPoliciesClient.ListByDatabaseSender` has been removed
    +	Function `BackupLongTermRetentionPoliciesClient.ListByDatabase` has been removed
    +	Function `BackupLongTermRetentionPolicy.MarshalJSON` has been removed
    +	Function `LongTermRetentionBackupsClient.ListByDatabaseComplete` parameter(s) have been changed from `(context.Context, string, string, string, *bool, LongTermRetentionDatabaseState)` to `(context.Context, string, string, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionBackupsClient.ListByDatabasePreparer` parameter(s) have been changed from `(context.Context, string, string, string, *bool, LongTermRetentionDatabaseState)` to `(context.Context, string, string, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionBackupsClient.ListByDatabase` parameter(s) have been changed from `(context.Context, string, string, string, *bool, LongTermRetentionDatabaseState)` to `(context.Context, string, string, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionBackupsClient.ListByLocationComplete` parameter(s) have been changed from `(context.Context, string, *bool, LongTermRetentionDatabaseState)` to `(context.Context, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionBackupsClient.ListByLocationPreparer` parameter(s) have been changed from `(context.Context, string, *bool, LongTermRetentionDatabaseState)` to `(context.Context, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionBackupsClient.ListByLocation` parameter(s) have been changed from `(context.Context, string, *bool, LongTermRetentionDatabaseState)` to `(context.Context, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionBackupsClient.ListByResourceGroupDatabaseComplete` parameter(s) have been changed from `(context.Context, string, string, string, string, *bool, LongTermRetentionDatabaseState)` to `(context.Context, string, string, string, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionBackupsClient.ListByResourceGroupDatabasePreparer` parameter(s) have been changed from `(context.Context, string, string, string, string, *bool, LongTermRetentionDatabaseState)` to `(context.Context, string, string, string, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionBackupsClient.ListByResourceGroupDatabase` parameter(s) have been changed from `(context.Context, string, string, string, string, *bool, LongTermRetentionDatabaseState)` to `(context.Context, string, string, string, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionBackupsClient.ListByResourceGroupLocationComplete` parameter(s) have been changed from `(context.Context, string, string, *bool, LongTermRetentionDatabaseState)` to `(context.Context, string, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionBackupsClient.ListByResourceGroupLocationPreparer` parameter(s) have been changed from `(context.Context, string, string, *bool, LongTermRetentionDatabaseState)` to `(context.Context, string, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionBackupsClient.ListByResourceGroupLocation` parameter(s) have been changed from `(context.Context, string, string, *bool, LongTermRetentionDatabaseState)` to `(context.Context, string, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionBackupsClient.ListByResourceGroupServerComplete` parameter(s) have been changed from `(context.Context, string, string, string, *bool, LongTermRetentionDatabaseState)` to `(context.Context, string, string, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionBackupsClient.ListByResourceGroupServerPreparer` parameter(s) have been changed from `(context.Context, string, string, string, *bool, LongTermRetentionDatabaseState)` to `(context.Context, string, string, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionBackupsClient.ListByResourceGroupServer` parameter(s) have been changed from `(context.Context, string, string, string, *bool, LongTermRetentionDatabaseState)` to `(context.Context, string, string, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionBackupsClient.ListByServerComplete` parameter(s) have been changed from `(context.Context, string, string, *bool, LongTermRetentionDatabaseState)` to `(context.Context, string, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionBackupsClient.ListByServerPreparer` parameter(s) have been changed from `(context.Context, string, string, *bool, LongTermRetentionDatabaseState)` to `(context.Context, string, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionBackupsClient.ListByServer` parameter(s) have been changed from `(context.Context, string, string, *bool, LongTermRetentionDatabaseState)` to `(context.Context, string, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionManagedInstanceBackupsClient.ListByDatabaseComplete` parameter(s) have been changed from `(context.Context, string, string, string, *bool, DatabaseState1)` to `(context.Context, string, string, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionManagedInstanceBackupsClient.ListByDatabasePreparer` parameter(s) have been changed from `(context.Context, string, string, string, *bool, DatabaseState1)` to `(context.Context, string, string, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionManagedInstanceBackupsClient.ListByDatabase` parameter(s) have been changed from `(context.Context, string, string, string, *bool, DatabaseState1)` to `(context.Context, string, string, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionManagedInstanceBackupsClient.ListByInstanceComplete` parameter(s) have been changed from `(context.Context, string, string, *bool, DatabaseState2)` to `(context.Context, string, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionManagedInstanceBackupsClient.ListByInstancePreparer` parameter(s) have been changed from `(context.Context, string, string, *bool, DatabaseState2)` to `(context.Context, string, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionManagedInstanceBackupsClient.ListByInstance` parameter(s) have been changed from `(context.Context, string, string, *bool, DatabaseState2)` to `(context.Context, string, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionManagedInstanceBackupsClient.ListByLocationComplete` parameter(s) have been changed from `(context.Context, string, *bool, DatabaseState3)` to `(context.Context, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionManagedInstanceBackupsClient.ListByLocationPreparer` parameter(s) have been changed from `(context.Context, string, *bool, DatabaseState3)` to `(context.Context, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionManagedInstanceBackupsClient.ListByLocation` parameter(s) have been changed from `(context.Context, string, *bool, DatabaseState3)` to `(context.Context, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionManagedInstanceBackupsClient.ListByResourceGroupDatabaseComplete` parameter(s) have been changed from `(context.Context, string, string, string, string, *bool, DatabaseState4)` to `(context.Context, string, string, string, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionManagedInstanceBackupsClient.ListByResourceGroupDatabasePreparer` parameter(s) have been changed from `(context.Context, string, string, string, string, *bool, DatabaseState4)` to `(context.Context, string, string, string, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionManagedInstanceBackupsClient.ListByResourceGroupDatabase` parameter(s) have been changed from `(context.Context, string, string, string, string, *bool, DatabaseState4)` to `(context.Context, string, string, string, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionManagedInstanceBackupsClient.ListByResourceGroupInstanceComplete` parameter(s) have been changed from `(context.Context, string, string, string, *bool, DatabaseState5)` to `(context.Context, string, string, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionManagedInstanceBackupsClient.ListByResourceGroupInstancePreparer` parameter(s) have been changed from `(context.Context, string, string, string, *bool, DatabaseState5)` to `(context.Context, string, string, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionManagedInstanceBackupsClient.ListByResourceGroupInstance` parameter(s) have been changed from `(context.Context, string, string, string, *bool, DatabaseState5)` to `(context.Context, string, string, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionManagedInstanceBackupsClient.ListByResourceGroupLocationComplete` parameter(s) have been changed from `(context.Context, string, string, *bool, DatabaseState6)` to `(context.Context, string, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionManagedInstanceBackupsClient.ListByResourceGroupLocationPreparer` parameter(s) have been changed from `(context.Context, string, string, *bool, DatabaseState6)` to `(context.Context, string, string, *bool, DatabaseState)`
    +	Function `LongTermRetentionManagedInstanceBackupsClient.ListByResourceGroupLocation` parameter(s) have been changed from `(context.Context, string, string, *bool, DatabaseState6)` to `(context.Context, string, string, *bool, DatabaseState)`
    +	Function `NewBackupLongTermRetentionPoliciesClientWithBaseURI` has been removed
    +	Function `NewBackupLongTermRetentionPoliciesClient` has been removed
    +	Function `PossibleDatabaseState1Values` has been removed
    +	Function `PossibleDatabaseState2Values` has been removed
    +	Function `PossibleDatabaseState3Values` has been removed
    +	Function `PossibleDatabaseState4Values` has been removed
    +	Function `PossibleDatabaseState5Values` has been removed
    +	Function `PossibleDatabaseState6Values` has been removed
    +	Function `PossibleLongTermRetentionDatabaseStateValues` has been removed
    +	Function `SystemData.MarshalJSON` has been removed
    +	Struct `BackupLongTermRetentionPoliciesClient` has been removed
    +	Struct `BackupLongTermRetentionPoliciesCreateOrUpdateFuture` has been removed
    +	Struct `BackupLongTermRetentionPolicy` has been removed
    +	Struct `LongTermRetentionPolicyProperties` has been removed
    ️✔️azure-sdk-for-go - preview/sql/mgmt/v3.0/sql - v65.0.0
    ⚠️azure-sdk-for-go - preview/sql/mgmt/2018-06-01-preview/sql - v65.0.0
    +	Const `Critical` has been removed
    +	Const `High` has been removed
    +	Const `Low` has been removed
    +	Const `Medium` has been removed
    +	Const `None` type has been changed from `SensitivityLabelRank` to `IdentityType`
    ️✔️azure-sdk-for-go - preview/sql/mgmt/2017-10-01-preview/sql - v65.0.0
    ⚠️azure-sdk-for-go - preview/sql/mgmt/2017-03-01-preview/sql - v65.0.0
    +	Const `Average` has been removed
    +	Const `Count` type has been changed from `PrimaryAggregationType` to `UnitDefinitionType`
    +	Const `Maximum` has been removed
    +	Const `Minimum` has been removed
    +	Const `None` type has been changed from `PrimaryAggregationType` to `IdentityType`
    +	Const `Total` has been removed
    +	Const `UnitDefinitionTypeBytesPerSecond` has been removed
    +	Const `UnitDefinitionTypeBytes` has been removed
    +	Const `UnitDefinitionTypeCountPerSecond` has been removed
    +	Const `UnitDefinitionTypeCount` has been removed
    +	Const `UnitDefinitionTypePercent` has been removed
    +	Const `UnitDefinitionTypeSeconds` has been removed
    ️✔️azure-sdk-for-go - preview/sql/mgmt/2015-05-01-preview/sql - v65.0.0
    ️❌ azure-sdk-for-net failed [Detail]
    • Failed [Logs] Generate from 3be392a0bc0a3002c01b6c2d57b6fadd3929fff7. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	sudo apt-get install -y dotnet-sdk-6.0
      command	autorest --version=2.0.4421 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.csharp@2.3.82 --csharp-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/sql/resource-manager/readme.md
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] No usable version of the libssl was found
      cmderr	[Autorest] FATAL: csharp/simplifier - FAILED
      cmderr	[Autorest] FATAL: Error: [Exception] AutoRest extension '@microsoft.azure/autorest.csharp' terminated.
      cmderr	[Autorest] Process() cancelled due to exception : [Exception] AutoRest extension '@microsoft.azure/autorest.csharp' terminated.
      error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-net]: autorest
      warn	Skip package processing as generation is failed
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs] Generate from 3be392a0bc0a3002c01b6c2d57b6fadd3929fff7. 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] npm notice
      cmderr	[automation_generate.sh] npm notice New minor version of npm available! 8.5.5 -> 8.11.0
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.11.0>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g npm@8.11.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 ManagedDatabaseSensitivityLabelsOperations.list_by_database
      info	[Changelog]   - Added operation SensitivityLabelsOperations.list_by_database
      info	[Changelog]   - Added operation group EndpointCertificatesOperations
      info	[Changelog]   - Added operation group ManagedInstanceDtcsOperations
      info	[Changelog]   - Added operation group ManagedServerDnsAliasesOperations
      info	[Changelog]   - Model Database has a new parameter source_resource_id
      info	[Changelog]
      info	[Changelog] **Breaking changes**
      info	[Changelog]
      info	[Changelog]   - Model Database no longer has parameter primary_delegated_identity_client_id
      info	[Changelog]   - Model DatabaseIdentity no longer has parameter delegated_resources
      info	[Changelog]   - Model DatabaseUpdate no longer has parameter primary_delegated_identity_client_id
      info	[Changelog]   - Removed operation ReplicationLinksOperations.begin_unlink
    ️️✔️ azure-sdk-for-net-track2 succeeded [Detail] [Expand]
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs] Generate from 3be392a0bc0a3002c01b6c2d57b6fadd3929fff7. SDK Automation 14.0.0
      command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
      command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
      cmderr	[generate.py] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
      cmderr	[generate.py] SLF4J: Defaulting to no-operation (NOP) logger implementation
      cmderr	[generate.py] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
      cmderr	[generate.py] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
      cmderr	[generate.py] SLF4J: Defaulting to no-operation (NOP) logger implementation
      cmderr	[generate.py] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
    • ️✔️azure-resourcemanager-sql-generated [View full logs]  [Preview SDK Changes]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from 3be392a0bc0a3002c01b6c2d57b6fadd3929fff7. SDK Automation 14.0.0
      command	sh ./eng/initScript.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	generator automation ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️sql/mgmt/2014-04-01/sql [View full logs]  [Preview SDK Changes]
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️preview/sql/mgmt/v5.0/sql [View full logs
      Only show 15 items here, please refer to log for details.
      info	[Changelog] - New struct `ServerTrustCertificatesListResultPage`
      info	[Changelog] - New struct `ServicePrincipal`
      info	[Changelog] - New field `CurrentBackupStorageRedundancy` in struct `ManagedInstanceProperties`
      info	[Changelog] - New field `RequestedBackupStorageRedundancy` in struct `ManagedInstanceProperties`
      info	[Changelog] - New field `ServicePrincipal` in struct `ManagedInstanceProperties`
      info	[Changelog] - New field `SourceResourceID` in struct `DatabaseProperties`
      info	[Changelog] - New field `FederatedClientID` in struct `DatabaseProperties`
      info	[Changelog] - New field `HighAvailabilityReplicaCount` in struct `ElasticPoolUpdateProperties`
      info	[Changelog] - New field `State` in struct `TransparentDataEncryptionProperties`
      info	[Changelog] - New field `Identity` in struct `Database`
      info	[Changelog] - New anonymous field `*DatabaseUpdateProperties` in struct `DatabaseUpdate`
      info	[Changelog] - New field `Identity` in struct `DatabaseUpdate`
      info	[Changelog] - New field `HighAvailabilityReplicaCount` in struct `ElasticPoolProperties`
      info	[Changelog]
      info	[Changelog] Total 125 breaking change(s), 437 additive change(s).
    • ️✔️preview/sql/mgmt/v4.0/sql [View full logs
      Only show 15 items here, please refer to log for details.
      info	[Changelog] - New struct `LongTermRetentionOperationResultProperties`
      info	[Changelog] - New struct `LongTermRetentionPoliciesClient`
      info	[Changelog] - New struct `LongTermRetentionPoliciesCreateOrUpdateFuture`
      info	[Changelog] - New struct `LongTermRetentionPolicy`
      info	[Changelog] - New struct `LongTermRetentionPolicyListResult`
      info	[Changelog] - New struct `LongTermRetentionPolicyListResultIterator`
      info	[Changelog] - New struct `LongTermRetentionPolicyListResultPage`
      info	[Changelog] - New struct `UpdateLongTermRetentionBackupParameters`
      info	[Changelog] - New struct `UpdateLongTermRetentionBackupParametersProperties`
      info	[Changelog] - New field `BackupStorageRedundancy` in struct `LongTermRetentionBackupProperties`
      info	[Changelog] - New field `RequestedBackupStorageRedundancy` in struct `LongTermRetentionBackupProperties`
      info	[Changelog] - New field `RequestedBackupStorageRedundancy` in struct `DatabaseProperties`
      info	[Changelog] - New field `CurrentBackupStorageRedundancy` in struct `DatabaseProperties`
      info	[Changelog]
      info	[Changelog] Total 93 breaking change(s), 112 additive change(s).
    • ️✔️preview/sql/mgmt/v3.0/sql [View full logs
      info	[Changelog] This is a new package
      info	[Changelog]
    • ️✔️preview/sql/mgmt/2018-06-01-preview/sql [View full logs
      Only show 15 items here, please refer to log for details.
      info	[Changelog] - Const `Low` has been removed
      info	[Changelog] - Const `High` has been removed
      info	[Changelog] - Const `Medium` has been removed
      info	[Changelog]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New const `SensitivityLabelRankCritical`
      info	[Changelog] - New const `SensitivityLabelRankHigh`
      info	[Changelog] - New const `SensitivityLabelRankLow`
      info	[Changelog] - New const `SystemAssignedUserAssigned`
      info	[Changelog] - New const `SensitivityLabelRankNone`
      info	[Changelog] - New const `SensitivityLabelRankMedium`
      info	[Changelog] - New const `UserAssigned`
      info	[Changelog]
      info	[Changelog] Total 5 breaking change(s), 7 additive change(s).
    • ️✔️preview/sql/mgmt/2017-10-01-preview/sql [View full logs
      info	[Changelog] This is a new package
      info	[Changelog]
    • ️✔️preview/sql/mgmt/2017-03-01-preview/sql [View full logs
      Only show 15 items here, please refer to log for details.
      info	[Changelog] - New const `Percent`
      info	[Changelog] - New const `BytesPerSecond`
      info	[Changelog] - New const `PrimaryAggregationTypeAverage`
      info	[Changelog] - New const `UserAssigned`
      info	[Changelog] - New const `CountPerSecond`
      info	[Changelog] - New const `PrimaryAggregationTypeMaximum`
      info	[Changelog] - New const `PrimaryAggregationTypeCount`
      info	[Changelog] - New const `PrimaryAggregationTypeNone`
      info	[Changelog] - New const `PrimaryAggregationTypeTotal`
      info	[Changelog] - New const `SystemAssignedUserAssigned`
      info	[Changelog] - New const `Bytes`
      info	[Changelog] - New const `PrimaryAggregationTypeMinimum`
      info	[Changelog] - New const `Seconds`
      info	[Changelog]
      info	[Changelog] Total 12 breaking change(s), 13 additive change(s).
    • ️✔️preview/sql/mgmt/2015-05-01-preview/sql [View full logs
      info	[Changelog] This is a new package
      info	[Changelog]
    ️️✔️ azure-sdk-for-go-track2 succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from 3be392a0bc0a3002c01b6c2d57b6fadd3929fff7. 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] Breaking Change Detected
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] - Field `IsManagedIdentityInUse` of struct `ExtendedServerBlobAuditingPolicyProperties` has been removed
      info	[Changelog] - Field `IsManagedIdentityInUse` of struct `ServerBlobAuditingPolicyProperties` has been removed
      info	[Changelog] - Field `IsManagedIdentityInUse` of struct `DatabaseBlobAuditingPolicyProperties` has been removed
      info	[Changelog] - Field `IsManagedIdentityInUse` of struct `ExtendedDatabaseBlobAuditingPolicyProperties` has been removed
      info	[Changelog]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New const `DtcNameCurrent`
      info	[Changelog] - New function `ManagedInstanceDtcProperties.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New function `*SensitivityLabelsClient.NewListByDatabasePager(string, string, string, *SensitivityLabelsClientListByDatabaseOptions) *runtime.Pager[SensitivityLabelsClientListByDatabaseResponse]`
      info	[Changelog] - New function `PossibleDtcNameValues() []DtcName`
      info	[Changelog] - New function `*ManagedDatabaseSensitivityLabelsClient.NewListByDatabasePager(string, string, string, *ManagedDatabaseSensitivityLabelsClientListByDatabaseOptions) *runtime.Pager[ManagedDatabaseSensitivityLabelsClientListByDatabaseResponse]`
      info	[Changelog] - New struct `ManagedDatabaseSensitivityLabelsClientListByDatabaseOptions`
      info	[Changelog] - New struct `ManagedDatabaseSensitivityLabelsClientListByDatabaseResponse`
      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 `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] - New struct `ManagedServerDNSAlias`
      info	[Changelog] - New struct `ManagedServerDNSAliasAcquisition`
      info	[Changelog] - New struct `ManagedServerDNSAliasCreation`
      info	[Changelog] - New struct `ManagedServerDNSAliasListResult`
      info	[Changelog] - New struct `ManagedServerDNSAliasProperties`
      info	[Changelog] - New struct `ManagedServerDNSAliasesClientAcquireResponse`
      info	[Changelog] - New struct `ManagedServerDNSAliasesClientBeginAcquireOptions`
      info	[Changelog] - New struct `ManagedServerDNSAliasesClientBeginCreateOrUpdateOptions`
      info	[Changelog] - New struct `ManagedServerDNSAliasesClientBeginDeleteOptions`
      info	[Changelog] - New struct `ManagedServerDNSAliasesClientCreateOrUpdateResponse`
      info	[Changelog] - New struct `ManagedServerDNSAliasesClientDeleteResponse`
      info	[Changelog] - New struct `ManagedServerDNSAliasesClientGetOptions`
      info	[Changelog] - New struct `ManagedServerDNSAliasesClientGetResponse`
      info	[Changelog] - New struct `ManagedServerDNSAliasesClientListByManagedInstanceOptions`
      info	[Changelog] - New struct `ManagedServerDNSAliasesClientListByManagedInstanceResponse`
      info	[Changelog] - New struct `SensitivityLabelsClientListByDatabaseOptions`
      info	[Changelog] - New struct `SensitivityLabelsClientListByDatabaseResponse`
      info	[Changelog]
      info	[Changelog] Total 4 breaking change(s), 65 additive change(s).
    ️⚠️ azure-sdk-for-js warning [Detail]
    • ⚠️Warning [Logs] Generate from 3be392a0bc0a3002c01b6c2d57b6fadd3929fff7. 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]  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] deprecated @opentelemetry/types@0.2.0: Package renamed to @opentelemetry/api, see https://github.com/open-telemetry/opentelemetry-js
      cmderr	[automation_init.sh] WARN 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
      info	[Changelog] **Features**
      info	[Changelog]
      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 ManagedServerDnsAliases
      info	[Changelog]   - Added operation group ServerTrustCertificates
      info	[Changelog]   - Added operation ManagedDatabaseSensitivityLabels.listByDatabase
      info	[Changelog]   - Added operation SensitivityLabels.listByDatabase
      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 ManagedDatabaseSensitivityLabelsListByDatabaseNextOptionalParams
      info	[Changelog]   - Added Interface ManagedDatabaseSensitivityLabelsListByDatabaseOptionalParams
      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 ManagedServerDnsAliasAcquisition
      info	[Changelog]   - Added Interface ManagedServerDnsAliasCreation
      info	[Changelog]   - Added Interface ManagedServerDnsAliasesAcquireOptionalParams
      info	[Changelog]   - Added Interface ManagedServerDnsAliasesCreateOrUpdateOptionalParams
      info	[Changelog]   - Added Interface ManagedServerDnsAliasesDeleteOptionalParams
      info	[Changelog]   - Added Interface ManagedServerDnsAliasesGetOptionalParams
      info	[Changelog]   - Added Interface ManagedServerDnsAliasesListByManagedInstanceNextOptionalParams
      info	[Changelog]   - Added Interface ManagedServerDnsAliasesListByManagedInstanceOptionalParams
      info	[Changelog]   - Added Interface ManagedServerDnsAliasListResult
      info	[Changelog]   - Added Interface SensitivityLabelsListByDatabaseNextOptionalParams
      info	[Changelog]   - Added Interface SensitivityLabelsListByDatabaseOptionalParams
      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 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 ManagedDatabaseSensitivityLabelsListByDatabaseNextResponse
      info	[Changelog]   - Added Type Alias ManagedDatabaseSensitivityLabelsListByDatabaseResponse
      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 ManagedServerDnsAlias
      info	[Changelog]   - Added Type Alias ManagedServerDnsAliasesAcquireResponse
      info	[Changelog]   - Added Type Alias ManagedServerDnsAliasesCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias ManagedServerDnsAliasesGetResponse
      info	[Changelog]   - Added Type Alias ManagedServerDnsAliasesListByManagedInstanceNextResponse
      info	[Changelog]   - Added Type Alias ManagedServerDnsAliasesListByManagedInstanceResponse
      info	[Changelog]   - Added Type Alias ReplicationLinksFailoverAllowDataLossResponse
      info	[Changelog]   - Added Type Alias ReplicationLinksFailoverResponse
      info	[Changelog]   - Added Type Alias ReplicationMode
      info	[Changelog]   - Added Type Alias SensitivityLabelsListByDatabaseNextResponse
      info	[Changelog]   - Added Type Alias SensitivityLabelsListByDatabaseResponse
      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 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 managedServerDnsAliases
      info	[Changelog]   - Class SqlManagementClient has a new parameter serverTrustCertificates
      info	[Changelog]   - Type Alias Database has a new parameter sourceResourceId
      info	[Changelog]   - Type Alias ElasticPool has a new parameter highAvailabilityReplicaCount
      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 3be392a0bc0a3002c01b6c2d57b6fadd3929fff7. 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
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-workflow-bot
    Copy link

    Hi @shimonar1171, 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.

    @ericshape ericshape changed the base branch from main to dev-sql-Microsoft.Sql-2022-02-01-preview April 25, 2022 21:00
    @ericshape
    Copy link
    Contributor

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @shimonar1171
    Copy link
    Contributor Author

    raosuhas,
    The PR is ready to review. can you please approve it?

    @shimonar1171 shimonar1171 requested a review from raosuhas May 12, 2022 13:10
    @ericshape ericshape added WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required and removed WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels May 14, 2022
    @openapi-workflow-bot openapi-workflow-bot bot removed the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label May 14, 2022
    }
    }
    },
    "post": {
    Copy link
    Contributor

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    "post"

    GET and POST? Not sure what the intention is here, doesn't seem correct, POST are reserved for actions only.

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    post in this case is needed because it will discard any old existing baseline on that database and sets the baselines as specified exactly in this request. please let me know if that makes sense

    Copy link
    Contributor

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    I am still unsure about your POST action, it seems like it is creating some sort of resource(s) internally.

    POSTs are not meant to create resources, POSTs are reserved for actions, see our documentation (first bullet point):

    https://armwiki.azurewebsites.net/rp_onboarding/process/api_review_best_practices.html#common-issues-found-in-review

    You are modeling your API incorrectly then.

    It seems to me that you are invoking an action to create a set of baselineRules? which is invalid since you are using POST. For example, what happens when a user calls your POST API multiple times, what happens with the previous rules?

    To me it seems like the modeling needs to be the following (assuming you only want to support 1 baseline):

    Collection GET -> /baselines

    CRUD on /baselines/default -> default is used as a singleton, it means you are only supporting one baseline at a time - otherwise the API can model the API as /baselines/{baselineName} if you want to support multiple baselines.

    Then the PUT body for the above API will be your Baseline input.

    Now, to retrieve baseline rules:

    Collection GET -> /baselines/default/rules to return all baseline rules
    CRUD on /baselines/default/rules/{ruleId}

    I strongly recommend reviewing our documentation: https://armwiki.azurewebsites.net/rp_onboarding/process/onboarding.html and RPC: https://github.com/Azure/azure-resource-manager-rpc

    }
    }
    },
    "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}/scans/{scanId}": {
    Copy link
    Contributor

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    scanId

    How does a user know which scanId to use? My assumption is that scans are created when you call a POST on initiateScan but what happens if the user calls your POST API multiple times, how does he/she knows which scanId to pick? This applies to your SQLVulnerabilityAssesment resource type as well.

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    this is exactly why we have the other get command in line 19 in this file, to list all the scans available for that database. the use case is as follows: customer initiates a new scan, then he uses the api in line 19 to query what scan ids are available under that database. it also includes some statistics as for how many rules have failed, so this api in line 78 was made in order to retrieve the statistics of that scan id in case the customer has it, and we have a special scan id which is 'latest' that will load the scan record for the latest scan

    @jorgecotillo jorgecotillo added ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review and removed WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels May 20, 2022
    @jorgecotillo jorgecotillo added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review CI-BreakingChange-Go-V2 labels May 25, 2022
    @openapi-workflow-bot openapi-workflow-bot bot added ARMReview WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels May 25, 2022
    @ericshape
    Copy link
    Contributor

    it seems ARM has signed off

    @raych1 raych1 added Approved-Avocado and removed WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels May 26, 2022
    @raych1 raych1 dismissed raosuhas’s stale review May 26, 2022 06:39

    already sign off by ARM review board

    @raych1 raych1 merged commit ca2e197 into Azure:dev-sql-Microsoft.Sql-2022-02-01-preview May 26, 2022
    ericshape pushed a commit to ericshape/azure-rest-api-specs that referenced this pull request May 31, 2022
    * 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>
    ericshape pushed a commit to ericshape/azure-rest-api-specs that referenced this pull request May 31, 2022
    * 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>
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    6 participants