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

Dev/iliaskhan/update blob api version #20827

Merged
merged 1 commit into from
Oct 13, 2022

Conversation

IliasKhan
Copy link
Contributor

@IliasKhan IliasKhan commented Sep 22, 2022

ARM API Information (Control Plane)

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

Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo. If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.

Changelog

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

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

Contribution checklist (MS Employees Only):

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

ARM API Review Checklist

Applicability: ⚠️

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

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

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

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

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

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

Breaking Change Review Checklist

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

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

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

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

@openapi-workflow-bot
Copy link

Hi, @IliasKhan 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. [email protected]

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Sep 22, 2022

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️️✔️LintDiff succeeded [Detail] [Expand]
    Validation passes for LintDiff.
    compared tags (via openapi-validator v1.13.0) new version base version
    default default(474c395) default(main)
    ️⚠️Avocado: 1 Warnings warning [Detail]
    Rule Message
    ⚠️ 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
    ️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
    ️️✔️~[Staging] ServiceAPIReadinessTest succeeded [Detail] [Expand]
    Validation passes for ServiceAPIReadinessTest.
    ️️✔️~[Staging] TrafficValidation succeeded [Detail] [Expand]
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️PoliCheck succeeded [Detail] [Expand]
    Validation passed for PoliCheck.
    ️️✔️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.
    ️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
    Validation passes for Lint(RPaaS).
    ️️✔️CadlValidation succeeded [Detail] [Expand]
    Validation passes for CadlValidation.
    ️️✔️PR Summary succeeded [Detail] [Expand]
    Validation passes for Summary.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Sep 22, 2022

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]
    ️❌SDK Breaking Change Tracking failed [Detail]

    Breaking Changes Tracking

    azure-sdk-for-go - sdk/resourcemanager/sql/armsql - Approved - 2.0.0-beta.1
    +	Const `DNSRefreshConfigurationPropertiesStatusFailed` has been removed
    +	Const `DNSRefreshConfigurationPropertiesStatusSucceeded` has been removed
    +	Field `Family` of struct `VirtualClusterProperties` has been removed
    +	Field `MaintenanceConfigurationID` of struct `VirtualClusterProperties` has been removed
    +	Field `UpdateManagedInstanceDNSServersOperation` of struct `VirtualClustersClientUpdateDNSServersResponse` has been removed
    +	Function `*ReplicationLinksClient.Delete` has been removed
    +	Function `*ServerDevOpsAuditSettingsClient.BeginCreateOrUpdate` parameter(s) have been changed from `(context.Context, string, string, string, ServerDevOpsAuditingSettings, *ServerDevOpsAuditSettingsClientBeginCreateOrUpdateOptions)` to `(context.Context, string, string, DevOpsAuditingSettingsName, ServerDevOpsAuditingSettings, *ServerDevOpsAuditSettingsClientBeginCreateOrUpdateOptions)`
    +	Function `*ServerDevOpsAuditSettingsClient.Get` parameter(s) have been changed from `(context.Context, string, string, string, *ServerDevOpsAuditSettingsClientGetOptions)` to `(context.Context, string, string, DevOpsAuditingSettingsName, *ServerDevOpsAuditSettingsClientGetOptions)`
    +	Function `*VirtualClustersClient.UpdateDNSServers` has been removed
    +	Function `PossibleDNSRefreshConfigurationPropertiesStatusValues` has been removed
    +	Struct `DNSRefreshConfigurationProperties` has been removed
    +	Struct `ReplicationLinksClientDeleteOptions` has been removed
    +	Struct `UpdateManagedInstanceDNSServersOperation` has been removed
    +	Struct `VirtualClustersClientUpdateDNSServersOptions` has been removed
    +	Type alias `DNSRefreshConfigurationPropertiesStatus` has been removed
    +	Type of `ManagedDatabaseRestoreDetailsProperties.NumberOfFilesDetected` has been changed from `*int64` to `*int32`
    +	Type of `ManagedDatabaseRestoreDetailsProperties.PercentCompleted` has been changed from `*float64` to `*int32`
    +	Type of `ManagedDatabaseRestoreDetailsProperties.UnrestorableFiles` has been changed from `[]*string` to `[]*ManagedDatabaseRestoreDetailsUnrestorableFileProperties`
    azure-sdk-for-python-track2 - track2_azure-mgmt-sql - Approved - 4.0.0b3
    +	Model VirtualCluster no longer has parameter family
    +	Model VirtualCluster no longer has parameter maintenance_configuration_id
    +	Model VirtualClusterUpdate no longer has parameter family
    +	Model VirtualClusterUpdate no longer has parameter maintenance_configuration_id
    +	Renamed operation ReplicationLinksOperations.delete to ReplicationLinksOperations.begin_delete
    +	Renamed operation VirtualClustersOperations.update_dns_servers to VirtualClustersOperations.begin_update_dns_servers
    azure-sdk-for-js - @azure/arm-sql - Approved - 10.0.0-beta.1
    +	Class SqlManagementClient no longer has parameter operationsHealthOperations
    +	Interface DatabaseIdentity no longer has parameter delegatedResources
    +	Interface DatabaseUpdate no longer has parameter primaryDelegatedIdentityClientId
    +	Interface VirtualClusterUpdate no longer has parameter family
    +	Interface VirtualClusterUpdate no longer has parameter maintenanceConfigurationId
    +	Operation ServerDevOpsAuditSettings.beginCreateOrUpdate has a new signature
    +	Operation ServerDevOpsAuditSettings.beginCreateOrUpdateAndWait has a new signature
    +	Operation ServerDevOpsAuditSettings.get has a new signature
    +	Operation SyncGroups.listLogs has a new signature
    +	Removed Enum KnownDnsRefreshConfigurationPropertiesStatus
    +	Removed Enum KnownEnum60
    +	Removed operation ReplicationLinks.beginUnlink
    +	Removed operation ReplicationLinks.beginUnlinkAndWait
    +	Removed operation ReplicationLinks.delete
    +	Removed operation VirtualClusters.updateDnsServers
    +	Removed operation group OperationsHealthOperations
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 0ae1fb5. 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]  notice
      cmderr	[automation_generate.sh] npm notice New minor version of npm available! 8.15.0 -> 8.19.2
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.19.2>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-sql [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog]   - Model ServerDevOpsAuditingSettings has a new parameter is_managed_identity_in_use
    ️❌ azure-sdk-for-net-track2 failed [Detail]
    • Failed [Logs]Release - Generate from 0ae1fb5. SDK Automation 14.0.0
      command	pwsh ./eng/scripts/Automation-Sdk-Init.ps1 ../azure-sdk-for-net_tmp/initInput.json ../azure-sdk-for-net_tmp/initOutput.json
      warn	File azure-sdk-for-net_tmp/initOutput.json not found to read
      command	pwsh ./eng/scripts/Invoke-GenerateAndBuildV2.ps1 ../azure-sdk-for-net_tmp/generateInput.json ../azure-sdk-for-net_tmp/generateOutput.json
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[91mGeneratePackage: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:515
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[96mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[96m 515 | �[0m         �[96mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s�[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[96m     | �[91m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[91m�[96m     | �[91mFailed to generate sdk. exit code: False
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[91mGet-ChildItem: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:599
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[96mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[96m 599 | �[0m … rtifacts += �[96mGet-ChildItem $artifactsPath -Filter *.nupkg -exclude *.s�[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[96m     | �[91m               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[91m�[96m     | �[91mCannot find path
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[96m     | �[91m'/mnt/vss/_work/1/s/azure-sdk-for-net/artifacts/packages/Debug/' because it does not exist.
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[91mGeneratePackage: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:515
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[96mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[96m 515 | �[0m         �[96mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s�[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[96m     | �[91m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[91m�[96m     | �[91mFailed to generate sdk artifact
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[91mGeneratePackage: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:668
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[96mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[96m 668 | �[0m         �[96mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s�[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[96m     | �[91m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[91m�[96m     | �[91mFailed to generate sdk. exit code: False
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[91mGet-ChildItem: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:599
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[96mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[96m 599 | �[0m … rtifacts += �[96mGet-ChildItem $artifactsPath -Filter *.nupkg -exclude *.s�[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[96m     | �[91m               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[91m�[96m     | �[91mCannot find path
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[96m     | �[91m'/mnt/vss/_work/1/s/azure-sdk-for-net/artifacts/packages/Debug/' because it does not exist.
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[91mGeneratePackage: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:668
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[96mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[96m 668 | �[0m         �[96mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s�[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[96m     | �[91m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[91m�[96m     | �[91mFailed to generate sdk artifact
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
      cannot force update branch 'sdkAuto/Azure.ResourceManager.Sql' as it is the current HEAD of the repository.
      Error: cannot force update branch 'sdkAuto/Azure.ResourceManager.Sql' as it is the current HEAD of the repository.
    • Azure.ResourceManager.Sql [View full logs]  [Release SDK Changes]
      info	[Changelog]
    • Azure.ResourceManager.Sql [View full logs
      error	Fatal error: cannot force update branch 'sdkAuto/Azure.ResourceManager.Sql' as it is the current HEAD of the repository.
      error	The following packages are still pending:
      error		Azure.ResourceManager.Sql
      error		Azure.ResourceManager.Sql
    ️️✔️ azure-sdk-for-java succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 0ae1fb5. 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
    • ️✔️azure-resourcemanager-sql-generated [View full logs]  [Release SDK Changes]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 0ae1fb5. 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
    • ️✔️sdk/resourcemanager/sql/armsql [View full logs]  [Release SDK Changes] Breaking Change Detected
      Only show 120 items here, please refer to log for details.
      info	[Changelog] - New struct `ManagedInstanceAdvancedThreatProtection`
      info	[Changelog] - New struct `ManagedInstanceAdvancedThreatProtectionListResult`
      info	[Changelog] - New struct `ManagedInstanceAdvancedThreatProtectionSettingsClient`
      info	[Changelog] - New struct `ManagedInstanceAdvancedThreatProtectionSettingsClientBeginCreateOrUpdateOptions`
      info	[Changelog] - New struct `ManagedInstanceAdvancedThreatProtectionSettingsClientCreateOrUpdateResponse`
      info	[Changelog] - New struct `ManagedInstanceAdvancedThreatProtectionSettingsClientGetOptions`
      info	[Changelog] - New struct `ManagedInstanceAdvancedThreatProtectionSettingsClientGetResponse`
      info	[Changelog] - New struct `ManagedInstanceAdvancedThreatProtectionSettingsClientListByInstanceOptions`
      info	[Changelog] - New struct `ManagedInstanceAdvancedThreatProtectionSettingsClientListByInstanceResponse`
      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] - 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 `ManagedServerDNSAliasesClient`
      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 `QueryCheck`
      info	[Changelog] - New struct `Remediation`
      info	[Changelog] - New struct `ReplicationLinksClientBeginDeleteOptions`
      info	[Changelog] - New struct `SynapseLinkWorkspace`
      info	[Changelog] - New struct `SynapseLinkWorkspaceInfoProperties`
      info	[Changelog] - New struct `SynapseLinkWorkspaceListResult`
      info	[Changelog] - New struct `SynapseLinkWorkspaceProperties`
      info	[Changelog] - New struct `SynapseLinkWorkspacesClient`
      info	[Changelog] - New struct `SynapseLinkWorkspacesClientListByDatabaseOptions`
      info	[Changelog] - New struct `SynapseLinkWorkspacesClientListByDatabaseResponse`
      info	[Changelog] - New struct `UpdateVirtualClusterDNSServersOperation`
      info	[Changelog] - New struct `VaRule`
      info	[Changelog] - New struct `VirtualClusterDNSServersProperties`
      info	[Changelog] - New struct `VirtualClustersClientBeginUpdateDNSServersOptions`
      info	[Changelog] - New struct `VulnerabilityAssessment`
      info	[Changelog] - New struct `VulnerabilityAssessmentBaselineClient`
      info	[Changelog] - New struct `VulnerabilityAssessmentBaselineClientGetOptions`
      info	[Changelog] - New struct `VulnerabilityAssessmentBaselineClientGetResponse`
      info	[Changelog] - New struct `VulnerabilityAssessmentBaselineClientListBySQLVulnerabilityAssessmentOptions`
      info	[Changelog] - New struct `VulnerabilityAssessmentBaselineClientListBySQLVulnerabilityAssessmentResponse`
      info	[Changelog] - New struct `VulnerabilityAssessmentBaselinesClient`
      info	[Changelog] - New struct `VulnerabilityAssessmentBaselinesClientCreateOrUpdateOptions`
      info	[Changelog] - New struct `VulnerabilityAssessmentBaselinesClientCreateOrUpdateResponse`
      info	[Changelog] - New struct `VulnerabilityAssessmentExecuteScanClient`
      info	[Changelog] - New struct `VulnerabilityAssessmentExecuteScanClientBeginExecuteOptions`
      info	[Changelog] - New struct `VulnerabilityAssessmentExecuteScanClientExecuteResponse`
      info	[Changelog] - New struct `VulnerabilityAssessmentListResult`
      info	[Changelog] - New struct `VulnerabilityAssessmentPolicyProperties`
      info	[Changelog] - New struct `VulnerabilityAssessmentRuleBaselineClient`
      info	[Changelog] - New struct `VulnerabilityAssessmentRuleBaselineClientCreateOrUpdateOptions`
      info	[Changelog] - New struct `VulnerabilityAssessmentRuleBaselineClientCreateOrUpdateResponse`
      info	[Changelog] - New struct `VulnerabilityAssessmentRuleBaselineClientGetOptions`
      info	[Changelog] - New struct `VulnerabilityAssessmentRuleBaselineClientGetResponse`
      info	[Changelog] - New struct `VulnerabilityAssessmentRuleBaselineClientListByBaselineOptions`
      info	[Changelog] - New struct `VulnerabilityAssessmentRuleBaselineClientListByBaselineResponse`
      info	[Changelog] - New struct `VulnerabilityAssessmentRuleBaselinesClient`
      info	[Changelog] - New struct `VulnerabilityAssessmentRuleBaselinesClientDeleteOptions`
      info	[Changelog] - New struct `VulnerabilityAssessmentRuleBaselinesClientDeleteResponse`
      info	[Changelog] - New struct `VulnerabilityAssessmentScanForSQLError`
      info	[Changelog] - New struct `VulnerabilityAssessmentScanListResult`
      info	[Changelog] - New struct `VulnerabilityAssessmentScanRecordForSQL`
      info	[Changelog] - New struct `VulnerabilityAssessmentScanRecordForSQLListResult`
      info	[Changelog] - New struct `VulnerabilityAssessmentScanRecordForSQLProperties`
      info	[Changelog] - New struct `VulnerabilityAssessmentScanResultClient`
      info	[Changelog] - New struct `VulnerabilityAssessmentScanResultClientGetOptions`
      info	[Changelog] - New struct `VulnerabilityAssessmentScanResultClientGetResponse`
      info	[Changelog] - New struct `VulnerabilityAssessmentScanResultClientListByScanOptions`
      info	[Changelog] - New struct `VulnerabilityAssessmentScanResultClientListByScanResponse`
      info	[Changelog] - New struct `VulnerabilityAssessmentScanResultProperties`
      info	[Changelog] - New struct `VulnerabilityAssessmentScanResults`
      info	[Changelog] - New struct `VulnerabilityAssessmentScansClient`
      info	[Changelog] - New struct `VulnerabilityAssessmentScansClientGetOptions`
      info	[Changelog] - New struct `VulnerabilityAssessmentScansClientGetResponse`
      info	[Changelog] - New struct `VulnerabilityAssessmentScansClientListBySQLVulnerabilityAssessmentsOptions`
      info	[Changelog] - New struct `VulnerabilityAssessmentScansClientListBySQLVulnerabilityAssessmentsResponse`
      info	[Changelog] - New struct `VulnerabilityAssessmentsClient`
      info	[Changelog] - New struct `VulnerabilityAssessmentsClientDeleteOptions`
      info	[Changelog] - New struct `VulnerabilityAssessmentsClientDeleteResponse`
      info	[Changelog] - New struct `VulnerabilityAssessmentsSettingsClient`
      info	[Changelog] - New struct `VulnerabilityAssessmentsSettingsClientCreateOrUpdateOptions`
      info	[Changelog] - New struct `VulnerabilityAssessmentsSettingsClientCreateOrUpdateResponse`
      info	[Changelog] - New struct `VulnerabilityAssessmentsSettingsClientGetOptions`
      info	[Changelog] - New struct `VulnerabilityAssessmentsSettingsClientGetResponse`
      info	[Changelog] - New struct `VulnerabilityAssessmentsSettingsClientListByServerOptions`
      info	[Changelog] - New struct `VulnerabilityAssessmentsSettingsClientListByServerResponse`
      info	[Changelog] - New field `IsManagedIdentityInUse` in struct `ServerDevOpsAuditSettingsProperties`
      info	[Changelog] - New field `NumberOfFilesQueued` in struct `ManagedDatabaseRestoreDetailsProperties`
      info	[Changelog] - New field `FullBackupSets` in struct `ManagedDatabaseRestoreDetailsProperties`
      info	[Changelog] - New field `LogBackupSets` in struct `ManagedDatabaseRestoreDetailsProperties`
      info	[Changelog] - New field `NumberOfFilesRestoring` in struct `ManagedDatabaseRestoreDetailsProperties`
      info	[Changelog] - New field `CurrentRestorePlanSizeMB` in struct `ManagedDatabaseRestoreDetailsProperties`
      info	[Changelog] - New field `NumberOfFilesRestored` in struct `ManagedDatabaseRestoreDetailsProperties`
      info	[Changelog] - New field `NumberOfFilesSkipped` in struct `ManagedDatabaseRestoreDetailsProperties`
      info	[Changelog] - New field `DiffBackupSets` in struct `ManagedDatabaseRestoreDetailsProperties`
      info	[Changelog] - New field `NumberOfFilesUnrestorable` in struct `ManagedDatabaseRestoreDetailsProperties`
      info	[Changelog] - New field `CurrentBackupType` in struct `ManagedDatabaseRestoreDetailsProperties`
      info	[Changelog] - New field `Type` in struct `ManagedDatabaseRestoreDetailsProperties`
      info	[Changelog] - New field `CurrentRestoredSizeMB` in struct `ManagedDatabaseRestoreDetailsProperties`
      info	[Changelog] - New field `Version` in struct `VirtualClusterProperties`
      info	[Changelog] - New anonymous field `UpdateVirtualClusterDNSServersOperation` in struct `VirtualClustersClientUpdateDNSServersResponse`
      info	[Changelog] - New field `StorageContainerIdentity` in struct `ManagedDatabaseProperties`
      info	[Changelog]
      info	[Changelog] Total 19 breaking change(s), 475 additive change(s).
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 0ae1fb5. 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
      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]  [Release SDK Changes] Breaking Change Detected
      Only show 120 items here, please refer to log for details.
      info	[Changelog]   - Added Type Alias ManagedInstanceAdvancedThreatProtectionSettingsCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias ManagedInstanceAdvancedThreatProtectionSettingsGetResponse
      info	[Changelog]   - Added Type Alias ManagedInstanceAdvancedThreatProtectionSettingsListByInstanceNextResponse
      info	[Changelog]   - Added Type Alias ManagedInstanceAdvancedThreatProtectionSettingsListByInstanceResponse
      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 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 MoveOperationMode
      info	[Changelog]   - Added Type Alias ReplicationLinksFailoverAllowDataLossResponse
      info	[Changelog]   - Added Type Alias ReplicationLinksFailoverResponse
      info	[Changelog]   - Added Type Alias ReplicationMode
      info	[Changelog]   - Added Type Alias RuleSeverity
      info	[Changelog]   - Added Type Alias RuleStatus
      info	[Changelog]   - Added Type Alias RuleType
      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 ServerTrustCertificatesCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias ServerTrustCertificatesGetResponse
      info	[Changelog]   - Added Type Alias ServerTrustCertificatesListByInstanceNextResponse
      info	[Changelog]   - Added Type Alias ServerTrustCertificatesListByInstanceResponse
      info	[Changelog]   - Added Type Alias SqlVulnerabilityAssessmentBaselineGetResponse
      info	[Changelog]   - Added Type Alias SqlVulnerabilityAssessmentBaselineListBySqlVulnerabilityAssessmentNextResponse
      info	[Changelog]   - Added Type Alias SqlVulnerabilityAssessmentBaselineListBySqlVulnerabilityAssessmentResponse
      info	[Changelog]   - Added Type Alias SqlVulnerabilityAssessmentBaselinesCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias SQLVulnerabilityAssessmentName
      info	[Changelog]   - Added Type Alias SqlVulnerabilityAssessmentName
      info	[Changelog]   - Added Type Alias SqlVulnerabilityAssessmentRuleBaselineCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias SqlVulnerabilityAssessmentRuleBaselineGetResponse
      info	[Changelog]   - Added Type Alias SqlVulnerabilityAssessmentRuleBaselineListByBaselineNextResponse
      info	[Changelog]   - Added Type Alias SqlVulnerabilityAssessmentRuleBaselineListByBaselineResponse
      info	[Changelog]   - Added Type Alias SqlVulnerabilityAssessmentScanResultGetResponse
      info	[Changelog]   - Added Type Alias SqlVulnerabilityAssessmentScanResultListByScanNextResponse
      info	[Changelog]   - Added Type Alias SqlVulnerabilityAssessmentScanResultListByScanResponse
      info	[Changelog]   - Added Type Alias SqlVulnerabilityAssessmentScansGetResponse
      info	[Changelog]   - Added Type Alias SqlVulnerabilityAssessmentScansListBySqlVulnerabilityAssessmentsNextResponse
      info	[Changelog]   - Added Type Alias SqlVulnerabilityAssessmentScansListBySqlVulnerabilityAssessmentsResponse
      info	[Changelog]   - Added Type Alias SqlVulnerabilityAssessmentsSettingsCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias SqlVulnerabilityAssessmentsSettingsGetResponse
      info	[Changelog]   - Added Type Alias SqlVulnerabilityAssessmentsSettingsListByServerNextResponse
      info	[Changelog]   - Added Type Alias SqlVulnerabilityAssessmentsSettingsListByServerResponse
      info	[Changelog]   - Added Type Alias SqlVulnerabilityAssessmentState
      info	[Changelog]   - Added Type Alias SynapseLinkWorkspacesListByDatabaseNextResponse
      info	[Changelog]   - Added Type Alias SynapseLinkWorkspacesListByDatabaseResponse
      info	[Changelog]   - Added Type Alias SyncGroupsType
      info	[Changelog]   - Interface ElasticPoolUpdate has a new optional parameter highAvailabilityReplicaCount
      info	[Changelog]   - Interface ManagedDatabaseUpdate has a new optional parameter storageContainerIdentity
      info	[Changelog]   - Interface ReplicationLinksDeleteOptionalParams has a new optional parameter resumeFrom
      info	[Changelog]   - Interface ReplicationLinksDeleteOptionalParams has a new optional parameter updateIntervalInMs
      info	[Changelog]   - Interface VirtualClustersUpdateDnsServersOptionalParams has a new optional parameter resumeFrom
      info	[Changelog]   - Interface VirtualClustersUpdateDnsServersOptionalParams has a new optional parameter updateIntervalInMs
      info	[Changelog]   - Interface VirtualClusterUpdate has a new optional parameter version
      info	[Changelog]   - Class SqlManagementClient has a new parameter databaseAdvancedThreatProtectionSettings
      info	[Changelog]   - Class SqlManagementClient has a new parameter databaseSqlVulnerabilityAssessmentBaselines
      info	[Changelog]   - Class SqlManagementClient has a new parameter databaseSqlVulnerabilityAssessmentExecuteScan
      info	[Changelog]   - Class SqlManagementClient has a new parameter databaseSqlVulnerabilityAssessmentRuleBaselines
      info	[Changelog]   - Class SqlManagementClient has a new parameter databaseSqlVulnerabilityAssessmentScanResult
      info	[Changelog]   - Class SqlManagementClient has a new parameter databaseSqlVulnerabilityAssessmentScans
      info	[Changelog]   - Class SqlManagementClient has a new parameter databaseSqlVulnerabilityAssessmentsSettings
      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 managedDatabaseAdvancedThreatProtectionSettings
      info	[Changelog]   - Class SqlManagementClient has a new parameter managedDatabaseMoveOperations
      info	[Changelog]   - Class SqlManagementClient has a new parameter managedInstanceAdvancedThreatProtectionSettings
      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 serverAdvancedThreatProtectionSettings
      info	[Changelog]   - Class SqlManagementClient has a new parameter serverTrustCertificates
      info	[Changelog]   - Class SqlManagementClient has a new parameter sqlVulnerabilityAssessmentBaseline
      info	[Changelog]   - Class SqlManagementClient has a new parameter sqlVulnerabilityAssessmentBaselines
      info	[Changelog]   - Class SqlManagementClient has a new parameter sqlVulnerabilityAssessmentExecuteScan
      info	[Changelog]   - Class SqlManagementClient has a new parameter sqlVulnerabilityAssessmentRuleBaseline
      info	[Changelog]   - Class SqlManagementClient has a new parameter sqlVulnerabilityAssessmentRuleBaselines
      info	[Changelog]   - Class SqlManagementClient has a new parameter sqlVulnerabilityAssessments
      info	[Changelog]   - Class SqlManagementClient has a new parameter sqlVulnerabilityAssessmentScanResult
      info	[Changelog]   - Class SqlManagementClient has a new parameter sqlVulnerabilityAssessmentScans
      info	[Changelog]   - Class SqlManagementClient has a new parameter sqlVulnerabilityAssessmentsSettings
      info	[Changelog]   - Class SqlManagementClient has a new parameter synapseLinkWorkspaces
      info	[Changelog]   - Added Enum KnownAdvancedThreatProtectionName
      info	[Changelog]   - Added Enum KnownBaselineName
      info	[Changelog]   - Added Enum KnownDevOpsAuditingSettingsName
      info	[Changelog]   - Added Enum KnownDNSRefreshOperationStatus
      info	[Changelog]   - Added Enum KnownDtcName
      info	[Changelog]   - Added Enum KnownMoveOperationMode
      info	[Changelog]   - Added Enum KnownReplicationMode
      info	[Changelog]   - Added Enum KnownRuleSeverity
      info	[Changelog]   - Added Enum KnownRuleStatus
      info	[Changelog]   - Added Enum KnownRuleType
      info	[Changelog]   - Added Enum KnownSQLVulnerabilityAssessmentName
      info	[Changelog]   - Added Enum KnownSqlVulnerabilityAssessmentName
      info	[Changelog]   - Added Enum KnownSyncGroupsType
      info	[Changelog]   - Enum KnownReplicationLinkType has a new value Standby
      info	[Changelog]   - Enum KnownSecondaryType has a new value Standby
      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]   - Removed operation ReplicationLinks.delete
      info	[Changelog]   - Removed operation VirtualClusters.updateDnsServers
      info	[Changelog]   - Operation ServerDevOpsAuditSettings.beginCreateOrUpdate has a new signature
      info	[Changelog]   - Operation ServerDevOpsAuditSettings.beginCreateOrUpdateAndWait has a new signature
      info	[Changelog]   - Operation ServerDevOpsAuditSettings.get has a new signature
      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]   - Interface VirtualClusterUpdate no longer has parameter family
      info	[Changelog]   - Interface VirtualClusterUpdate no longer has parameter maintenanceConfigurationId
      info	[Changelog]   - Class SqlManagementClient no longer has parameter operationsHealthOperations
      info	[Changelog]   - Removed Enum KnownDnsRefreshConfigurationPropertiesStatus
      info	[Changelog]   - Removed Enum KnownEnum60
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 0ae1fb5. 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]Release - Generate from 0ae1fb5. 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-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Sep 22, 2022

    Generated ApiView

    Language Package Name ApiView Link
    Go sdk/resourcemanager/sql/armsql Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    Python track2_azure-mgmt-sql Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    JavaScript @azure/arm-sql Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.

    @tadelesh
    Copy link
    Member

    tadelesh commented Sep 26, 2022

    @IliasKhan I noticed that ./Microsoft.Sql/preview/2020-11-01-preview/ServerDevOpsAudit.json has been removed. Could you help to explain the reason?

    @@ -563,14 +563,7 @@ APIs must only be added to this section when the API is publicly available in at

    ``` yaml $(tag) == 'package-composite-v5'
    input-file:
    - Microsoft.Sql/stable/2014-04-01-legacy/backups_legacy.json
    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    why do we move these files to the bottom?

    @IliasKhan
    Copy link
    Contributor Author

    @IliasKhan I noticed that ./Microsoft.Sql/preview/2020-11-01-preview/ServerDevOpsAudit.json has been removed. Could you help to explain the reason?

    I just updated the api version to 2022-02-01

    @IliasKhan IliasKhan force-pushed the dev/iliaskhan/UpdateBlobApiVersion branch from a9b6f7c to 474c395 Compare September 28, 2022 03:59
    Copy link
    Contributor

    @ericshape ericshape left a comment

    Choose a reason for hiding this comment

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

    LGTM

    @tadelesh tadelesh added the Approved-SdkBreakingChange-Go Approve the breaking change tracking for azure-sdk-for-go label Oct 2, 2022
    @tadelesh
    Copy link
    Member

    tadelesh commented Oct 2, 2022

    Wait for more careful breaking changes discussion.

    @tadelesh tadelesh removed the Approved-SdkBreakingChange-Go Approve the breaking change tracking for azure-sdk-for-go label Oct 2, 2022
    @xiaoxuqi-ms
    Copy link
    Member

    This PR's required for User Managed Identity release, Management Service changes already deployed, Portal changes are going to deploy.

    there will be incosistency if we don't deploy Powershell and CLI changes.

    @tadelesh
    Copy link
    Member

    tadelesh commented Oct 6, 2022

    Regarding Go breaking changes, I listed all related swagger change and breaking reasons as follows. @xiaoxuqi-ms, for this PR, I think the adding of x-ms-enum should be reviewed.
    All swagger file changes:

    Old
    - ./Microsoft.Sql/preview/2020-11-01-preview/ManagedDatabaseRestoreDetails.json
    - ./Microsoft.Sql/preview/2020-11-01-preview/ManagedDatabases.json
    - ./Microsoft.Sql/preview/2020-11-01-preview/ServerDevOpsAudit.json
    - ./Microsoft.Sql/preview/2020-11-01-preview/VirtualClusters.json
    - ./Microsoft.Sql/preview/2021-05-01-preview/Databases.json
    - ./Microsoft.Sql/preview/2021-11-01-preview/ReplicationLinks.json
    
    New
    - ./Microsoft.Sql/preview/2022-02-01-preview/ManagedDatabaseRestoreDetails.json
    - ./Microsoft.Sql/preview/2022-02-01-preview/ManagedDatabases.json
    - ./Microsoft.Sql/preview/2022-02-01-preview/ServerDevOpsAudit.json
    - ./Microsoft.Sql/preview/2022-05-01-preview/VirtualClusters.json
    - ./Microsoft.Sql/preview/2022-02-01-preview/Databases.json
    - ./Microsoft.Sql/preview/2022-02-01-preview/ReplicationLinks.json
    

    Go breaking reasons:

    Non-LRO -> LRO
    ReplicationLinks.json
    - Function `*ReplicationLinksClient.Delete` has been removed
    - Struct `ReplicationLinksClientDeleteOptions` has been removed
    VirtualClusters.json
    - Function `*VirtualClustersClient.UpdateDNSServers` has been removed
    - Struct `VirtualClustersClientUpdateDNSServersOptions` has been removed
    
    Property removal
    VirtualClusters.json
    - Field `Family` of struct `VirtualClusterProperties` has been removed
    - Field `MaintenanceConfigurationID` of struct `VirtualClusterProperties` has been removed
    
    Add x-ms-enum
    ServerDevOpsAudit.json
    - Function `*ServerDevOpsAuditSettingsClient.Get` parameter(s) have been changed from `(context.Context, string, string, string, *ServerDevOpsAuditSettingsClientGetOptions)` to `(context.Context, string, string, DevOpsAuditingSettingsName, *ServerDevOpsAuditSettingsClientGetOptions)`
    - Function `*ServerDevOpsAuditSettingsClient.BeginCreateOrUpdate` parameter(s) have been changed from `(context.Context, string, string, string, ServerDevOpsAuditingSettings, *ServerDevOpsAuditSettingsClientBeginCreateOrUpdateOptions)` to `(context.Context, string, string, DevOpsAuditingSettingsName, ServerDevOpsAuditingSettings, *ServerDevOpsAuditSettingsClientBeginCreateOrUpdateOptions)`
    
    Property type change
    ManagedDatabaseRestoreDetails.json
    - Type of `ManagedDatabaseRestoreDetailsProperties.UnrestorableFiles` has been changed from `[]*string` to `[]*ManagedDatabaseRestoreDetailsUnrestorableFileProperties`
    - Type of `ManagedDatabaseRestoreDetailsProperties.NumberOfFilesDetected` has been changed from `*int64` to `*int32`
    - Type of `ManagedDatabaseRestoreDetailsProperties.PercentCompleted` has been changed from `*float64` to `*int32`
    
    Response model change
    VirtualClusters.json
    - Field `UpdateManagedInstanceDNSServersOperation` of struct `VirtualClustersClientUpdateDNSServersResponse` has been removed
    - Struct `UpdateManagedInstanceDNSServersOperation` has been removed
    - Struct `DNSRefreshConfigurationProperties` has been removed
    - Const `DNSRefreshConfigurationPropertiesStatusSucceeded` has been removed
    - Const `DNSRefreshConfigurationPropertiesStatusFailed` has been removed
    - Type alias `DNSRefreshConfigurationPropertiesStatus` has been removed
    - Function `PossibleDNSRefreshConfigurationPropertiesStatusValues` has been removed
    

    @ericshape
    Copy link
    Contributor

    Regarding Go breaking changes, I listed all related swagger change and breaking reasons as follows. @xiaoxuqi-ms, for this PR, I think the adding of x-ms-enum should be reviewed. All swagger file changes:

    Old
    - ./Microsoft.Sql/preview/2020-11-01-preview/ManagedDatabaseRestoreDetails.json
    - ./Microsoft.Sql/preview/2020-11-01-preview/ManagedDatabases.json
    - ./Microsoft.Sql/preview/2020-11-01-preview/ServerDevOpsAudit.json
    - ./Microsoft.Sql/preview/2020-11-01-preview/VirtualClusters.json
    - ./Microsoft.Sql/preview/2021-05-01-preview/Databases.json
    - ./Microsoft.Sql/preview/2021-11-01-preview/ReplicationLinks.json
    
    New
    - ./Microsoft.Sql/preview/2022-02-01-preview/ManagedDatabaseRestoreDetails.json
    - ./Microsoft.Sql/preview/2022-02-01-preview/ManagedDatabases.json
    - ./Microsoft.Sql/preview/2022-02-01-preview/ServerDevOpsAudit.json
    - ./Microsoft.Sql/preview/2022-05-01-preview/VirtualClusters.json
    - ./Microsoft.Sql/preview/2022-02-01-preview/Databases.json
    - ./Microsoft.Sql/preview/2022-02-01-preview/ReplicationLinks.json
    

    Go breaking reasons:

    Non-LRO -> LRO
    ReplicationLinks.json
    - Function `*ReplicationLinksClient.Delete` has been removed
    - Struct `ReplicationLinksClientDeleteOptions` has been removed
    VirtualClusters.json
    - Function `*VirtualClustersClient.UpdateDNSServers` has been removed
    - Struct `VirtualClustersClientUpdateDNSServersOptions` has been removed
    
    Property removal
    VirtualClusters.json
    - Field `Family` of struct `VirtualClusterProperties` has been removed
    - Field `MaintenanceConfigurationID` of struct `VirtualClusterProperties` has been removed
    
    Add x-ms-enum
    ServerDevOpsAudit.json
    - Function `*ServerDevOpsAuditSettingsClient.Get` parameter(s) have been changed from `(context.Context, string, string, string, *ServerDevOpsAuditSettingsClientGetOptions)` to `(context.Context, string, string, DevOpsAuditingSettingsName, *ServerDevOpsAuditSettingsClientGetOptions)`
    - Function `*ServerDevOpsAuditSettingsClient.BeginCreateOrUpdate` parameter(s) have been changed from `(context.Context, string, string, string, ServerDevOpsAuditingSettings, *ServerDevOpsAuditSettingsClientBeginCreateOrUpdateOptions)` to `(context.Context, string, string, DevOpsAuditingSettingsName, ServerDevOpsAuditingSettings, *ServerDevOpsAuditSettingsClientBeginCreateOrUpdateOptions)`
    
    Property type change
    ManagedDatabaseRestoreDetails.json
    - Type of `ManagedDatabaseRestoreDetailsProperties.UnrestorableFiles` has been changed from `[]*string` to `[]*ManagedDatabaseRestoreDetailsUnrestorableFileProperties`
    - Type of `ManagedDatabaseRestoreDetailsProperties.NumberOfFilesDetected` has been changed from `*int64` to `*int32`
    - Type of `ManagedDatabaseRestoreDetailsProperties.PercentCompleted` has been changed from `*float64` to `*int32`
    
    Response model change
    VirtualClusters.json
    - Field `UpdateManagedInstanceDNSServersOperation` of struct `VirtualClustersClientUpdateDNSServersResponse` has been removed
    - Struct `UpdateManagedInstanceDNSServersOperation` has been removed
    - Struct `DNSRefreshConfigurationProperties` has been removed
    - Const `DNSRefreshConfigurationPropertiesStatusSucceeded` has been removed
    - Const `DNSRefreshConfigurationPropertiesStatusFailed` has been removed
    - Type alias `DNSRefreshConfigurationPropertiesStatus` has been removed
    - Function `PossibleDNSRefreshConfigurationPropertiesStatusValues` has been removed
    

    via git blame in the README.md file, I retrieved the PR for these breaking changes:

    New

    • ./Microsoft.Sql/preview/2022-02-01-preview/ManagedDatabaseRestoreDetails.json
      fa8aaba
    • ./Microsoft.Sql/preview/2022-02-01-preview/ManagedDatabases.json
      fa8aaba
    • ./Microsoft.Sql/preview/2022-02-01-preview/ServerDevOpsAudit.json
      @IliasKhan is the author to remove this API
    • ./Microsoft.Sql/preview/2022-02-01-preview/Databases.json
      b55607c
    • ./Microsoft.Sql/preview/2022-02-01-preview/ReplicationLinks.json
      b55607c

    @tadelesh
    Copy link
    Member

    tadelesh commented Oct 10, 2022

    @ericshape I've reviewed the PR you listed. Actually, all breaking changes are from two main swagger change PRs: #19820 and #20469. The later one has been approved. But the former one seems not. The following breakings from the former PR need to be reviewed and approved:

    Non-LRO -> LRO
    ReplicationLinks.json
    - Function `*ReplicationLinksClient.Delete` has been removed
    - Struct `ReplicationLinksClientDeleteOptions` has been removed
    
    Add x-ms-enum
    ServerDevOpsAudit.json
    - Function `*ServerDevOpsAuditSettingsClient.Get` parameter(s) have been changed from `(context.Context, string, string, string, *ServerDevOpsAuditSettingsClientGetOptions)` to `(context.Context, string, string, DevOpsAuditingSettingsName, *ServerDevOpsAuditSettingsClientGetOptions)`
    - Function `*ServerDevOpsAuditSettingsClient.BeginCreateOrUpdate` parameter(s) have been changed from `(context.Context, string, string, string, ServerDevOpsAuditingSettings, *ServerDevOpsAuditSettingsClientBeginCreateOrUpdateOptions)` to `(context.Context, string, string, DevOpsAuditingSettingsName, ServerDevOpsAuditingSettings, *ServerDevOpsAuditSettingsClientBeginCreateOrUpdateOptions)`
    
    Property type change
    ManagedDatabaseRestoreDetails.json
    - Type of `ManagedDatabaseRestoreDetailsProperties.UnrestorableFiles` has been changed from `[]*string` to `[]*ManagedDatabaseRestoreDetailsUnrestorableFileProperties`
    - Type of `ManagedDatabaseRestoreDetailsProperties.NumberOfFilesDetected` has been changed from `*int64` to `*int32`
    - Type of `ManagedDatabaseRestoreDetailsProperties.PercentCompleted` has been changed from `*float64` to `*int32`
    
    

    @ericshape
    Copy link
    Contributor

    #19820

    It is the PR I released the new API version 'cause the dev branch (https://github.com/Azure/azure-rest-api-specs/commits/dev-sql-Microsoft.Sql-2022-02-01-preview/specification) has so many conflicts we could not address.
    This PR has swiped some old commits. Thus, you have to track one more commit back.

    @ericshape
    Copy link
    Contributor

    Property type change
    ManagedDatabaseRestoreDetails.json

    • Type of ManagedDatabaseRestoreDetailsProperties.UnrestorableFiles has been changed from []*string to []*ManagedDatabaseRestoreDetailsUnrestorableFileProperties
    • Type of ManagedDatabaseRestoreDetailsProperties.NumberOfFilesDetected has been changed from *int64 to *int32
    • Type of ManagedDatabaseRestoreDetailsProperties.PercentCompleted has been changed from *float64 to *int32

    @tadelesh it seems you have approved the SDK breaking change in #19955 (comment)

    @ericshape
    Copy link
    Contributor

    Non-LRO -> LRO
    ReplicationLinks.json

    • Function *ReplicationLinksClient.Delete has been removed
    • Struct ReplicationLinksClientDeleteOptions has been removed

    it seems the only PR for the SDK breaking change is https://github.com/Azure/azure-rest-api-specs/pull/18894/files

    @mikekistler
    Copy link
    Member

    The tools are not flagging any breaking changes in the REST API interface. I'm simply trusting the tools here as it would be difficult to determine the effect of the change in the readme.md.

    @tadelesh
    Copy link
    Member

    tadelesh commented Oct 13, 2022

    The tools are not flagging any breaking changes in the REST API interface. I'm simply trusting the tools here as it would be difficult to determine the effect of the change in the readme.md.

    @mikekistler For SDK breaking changes, our tool will report the breaking changes only when author changing the swagger version in default tag. Sometimes such change is separated with the actual swagger file change, just like this PR. So, I need to find the previous swagger file change PR and see whether the breaking changes have been approved.

    @ericshape Thanks for the relay. I confirm with swagger team that the breaking changes of preview version in one year are not required to have been reviewed and approved. This PR detected the breakings but report them only with warning. So, I will approve the Go SDK breakings and for the new SDK release request with tag package-composite-v5, we will release a beta version.

    @tadelesh tadelesh added the Approved-SdkBreakingChange-Go Approve the breaking change tracking for azure-sdk-for-go label Oct 13, 2022
    @akning-ms akning-ms merged commit 0ae1fb5 into Azure:main Oct 13, 2022
    anandanthony pushed a commit to anandMicro/azure-rest-api-specs that referenced this pull request Dec 16, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Approved-SdkBreakingChange-Go Approve the breaking change tracking for azure-sdk-for-go Approved-SdkBreakingChange-JavaScript Approved-SdkBreakingChange-Python CI-BreakingChange-Go CI-BreakingChange-JavaScript ReadyForApiTest <valid label in PR review process>add this label when swagger and service APIs are ready for test resource-manager
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    10 participants