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

[SQL] Modify Database api swagger for delegated identities #18209

Merged
merged 1 commit into from
Mar 15, 2022
Merged

[SQL] Modify Database api swagger for delegated identities #18209

merged 1 commit into from
Mar 15, 2022

Conversation

viparek
Copy link
Contributor

@viparek viparek commented Mar 14, 2022

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

Changelog

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

  1. What's the purpose of the update?
    • new service onboarding
    • new API version
    • update existing version for new feature
    • update existing version to fix swagger quality issue in s360
    • Other, please clarify
  2. When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
  4. If updating an existing version, please select the specific language SDKs and CLIs that must be refreshed after the swagger is published.
    • SDK of .NET (need service team to ensure code readiness)
    • SDK of Python
    • SDK of Java
    • SDK of Js
    • SDK of Go
    • PowerShell
    • CLI
    • Terraform
    • No refresh required for updates in this PR

Contribution checklist:

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

ARM API Review Checklist

Applicability: ⚠️

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

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

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

  • Check this box if any of the following 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, @viparek 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 Mar 14, 2022
    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Mar 14, 2022

    Swagger Validation Report

    ️❌BreakingChange: 3 Errors, 0 Warnings failed [Detail]
    Rule Message
    1033 - RemovedProperty The new version is missing a property found in the old version. Was 'delegatedResources' renamed or removed?
    New: Microsoft.Sql/preview/2021-05-01-preview/Databases.json#L824:7
    Old: Microsoft.Sql/preview/2021-05-01-preview/Databases.json#L824:7
    1033 - RemovedProperty The new version is missing a property found in the old version. Was 'primaryDelegatedIdentityClientId' renamed or removed?
    New: Microsoft.Sql/preview/2021-05-01-preview/Databases.json#L874:7
    Old: Microsoft.Sql/preview/2021-05-01-preview/Databases.json#L881:7
    1033 - RemovedProperty The new version is missing a property found in the old version. Was 'primaryDelegatedIdentityClientId' renamed or removed?
    New: Microsoft.Sql/preview/2021-05-01-preview/Databases.json#L1238:7
    Old: Microsoft.Sql/preview/2021-05-01-preview/Databases.json#L1250:7
    ️⚠️LintDiff: 0 Warnings warning [Detail]
    The following errors/warnings exist before current PR submission:
    Rule Message
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.Sql/preview/2021-05-01-preview/Databases.json#L1790
    ⚠️ R2010 - LongRunningOperationsOptionsValidator A LRO Post operation with return schema must have 'x-ms-long-running-operation-options' extension enabled.
    Location: Microsoft.Sql/preview/2021-05-01-preview/Databases.json#L310
    ⚠️ R2010 - LongRunningOperationsOptionsValidator A LRO Post operation with return schema must have 'x-ms-long-running-operation-options' extension enabled.
    Location: Microsoft.Sql/preview/2021-05-01-preview/Databases.json#L430
    ⚠️ R2010 - LongRunningOperationsOptionsValidator A LRO Post operation with return schema must have 'x-ms-long-running-operation-options' extension enabled.
    Location: Microsoft.Sql/preview/2021-05-01-preview/Databases.json#L540
    ⚠️ R2010 - LongRunningOperationsOptionsValidator A LRO Post operation with return schema must have 'x-ms-long-running-operation-options' extension enabled.
    Location: Microsoft.Sql/preview/2021-05-01-preview/Databases.json#L590
    ⚠️ R2066 - PostOperationIdContainsUrlVerb OperationId should contain the verb: 'move' in:'Databases_Rename'. Consider updating the operationId
    Location: Microsoft.Sql/preview/2021-05-01-preview/Databases.json#L494
    ⚠️ R4000 - ParameterDescriptionRequired '$skipToken' parameter lacks 'description' property. Consider adding a 'description' element. Accurate description is essential for maintaining reference documentation.
    Location: Microsoft.Sql/preview/2021-05-01-preview/Databases.json#L33
    ️⚠️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
    ️️✔️~[Staging] ApiReadinessCheck succeeded [Detail] [Expand]
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️Cross-Version Breaking Changes succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️️✔️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).
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Mar 14, 2022

    Swagger Generation Artifacts

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

    Breaking Changes Tracking

    azure-sdk-for-go-track2 - armsql - 0.4.0
    +	Field `DelegatedResources` of struct `DatabaseIdentity` has been removed
    +	Field `PrimaryDelegatedIdentityClientID` of struct `DatabaseProperties` has been removed
    +	Struct `Delegation` has been removed
    azure-sdk-for-python-track2 - track2_azure-mgmt-sql - 4.0.0b2
    +	Model Database no longer has parameter primary_delegated_identity_client_id
    +	Model DatabaseIdentity no longer has parameter delegated_resources
    +	Model DatabaseUpdate no longer has parameter primary_delegated_identity_client_id
    azure-sdk-for-js - @azure/arm-sql - 10.0.0-beta.1
    +	Interface DatabaseIdentity no longer has parameter delegatedResources
    +	Interface DatabaseUpdate no longer has parameter primaryDelegatedIdentityClientId
    +	Type Alias Database no longer has parameter primaryDelegatedIdentityClientId
    ️✔️azure-sdk-for-go - sql/mgmt/2014-04-01/sql - v62.1.0
    azure-sdk-for-go - preview/sql/mgmt/v5.0/sql - v62.1.0
    azure-sdk-for-go - preview/sql/mgmt/v4.0/sql - v62.1.0
    azure-sdk-for-go - preview/sql/mgmt/v3.0/sql - v62.1.0
    azure-sdk-for-go - preview/sql/mgmt/2018-06-01-preview/sql - v62.1.0
    ️✔️azure-sdk-for-go - preview/sql/mgmt/2017-10-01-preview/sql - v62.1.0
    azure-sdk-for-go - preview/sql/mgmt/2017-03-01-preview/sql - v62.1.0
    azure-sdk-for-go - preview/sql/mgmt/2015-05-01-preview/sql - v62.1.0
    ️️✔️ azure-sdk-for-net succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 42686a9. 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=/home/vsts/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
    • ️✔️Microsoft.Azure.Management.Sql [View full logs]  [Release SDK Changes]
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 42686a9. 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]
      cmderr	[automation_generate.sh] npm notice New minor version of npm available! 8.3.1 -> 8.5.4
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.5.4>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g npm@8.5.4` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-sql [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      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
    ️️✔️ azure-sdk-for-net-track2 succeeded [Detail] [Expand]
    ️️✔️ azure-sdk-for-java succeeded [Detail] [Expand]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 42686a9. 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]  [Release 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 `Identity` in struct `Database`
      info	[Changelog] - New field `HighAvailabilityReplicaCount` in struct `ElasticPoolProperties`
      info	[Changelog] - New field `FederatedClientID` in struct `DatabaseProperties`
      info	[Changelog] - New field `SourceResourceID` in struct `DatabaseProperties`
      info	[Changelog] - New field `ServicePrincipal` in struct `ManagedInstanceProperties`
      info	[Changelog] - New field `RequestedBackupStorageRedundancy` in struct `ManagedInstanceProperties`
      info	[Changelog] - New field `CurrentBackupStorageRedundancy` in struct `ManagedInstanceProperties`
      info	[Changelog] - New field `HighAvailabilityReplicaCount` in struct `ElasticPoolUpdateProperties`
      info	[Changelog] - New field `State` in struct `TransparentDataEncryptionProperties`
      info	[Changelog] - New anonymous field `*DatabaseUpdateProperties` in struct `DatabaseUpdate`
      info	[Changelog] - New field `Identity` in struct `DatabaseUpdate`
      info	[Changelog]
      info	[Changelog] Total 112 breaking change(s), 274 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 `CurrentBackupStorageRedundancy` in struct `DatabaseProperties`
      info	[Changelog] - New field `RequestedBackupStorageRedundancy` 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
      Only show 15 items here, please refer to log for details.
      info	[Changelog] - New struct `ManagedInstancePrivateEndpointProperty`
      info	[Changelog] - New struct `QueryMetricInterval`
      info	[Changelog] - New struct `QueryMetricProperties`
      info	[Changelog] - New struct `QueryStatisticsProperties`
      info	[Changelog] - New struct `TopQueries`
      info	[Changelog] - New struct `TopQueriesListResult`
      info	[Changelog] - New struct `TopQueriesListResultIterator`
      info	[Changelog] - New struct `TopQueriesListResultPage`
      info	[Changelog] - New field `PrivateEndpointConnections` in struct `ManagedInstanceProperties`
      info	[Changelog] - New field `ZoneRedundant` in struct `ManagedInstanceProperties`
      info	[Changelog] - New field `SourceResourceID` in struct `DatabaseProperties`
      info	[Changelog] - New field `Identity` in struct `ManagedInstanceUpdate`
      info	[Changelog] - New anonymous field `*DatabaseUpdateProperties` in struct `DatabaseUpdate`
      info	[Changelog]
      info	[Changelog] Total 22 breaking change(s), 79 additive change(s).
    • ️✔️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 `Critical` has been removed
      info	[Changelog] - Const `Medium` has been removed
      info	[Changelog] - Const `High` has been removed
      info	[Changelog]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New const `SensitivityLabelRankCritical`
      info	[Changelog] - New const `SystemAssignedUserAssigned`
      info	[Changelog] - New const `SensitivityLabelRankLow`
      info	[Changelog] - New const `SensitivityLabelRankMedium`
      info	[Changelog] - New const `SensitivityLabelRankNone`
      info	[Changelog] - New const `UserAssigned`
      info	[Changelog] - New const `SensitivityLabelRankHigh`
      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] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️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 `PrimaryAggregationTypeCount`
      info	[Changelog] - New const `BytesPerSecond`
      info	[Changelog] - New const `UserAssigned`
      info	[Changelog] - New const `Seconds`
      info	[Changelog] - New const `Bytes`
      info	[Changelog] - New const `CountPerSecond`
      info	[Changelog] - New const `PrimaryAggregationTypeNone`
      info	[Changelog] - New const `SystemAssignedUserAssigned`
      info	[Changelog] - New const `PrimaryAggregationTypeTotal`
      info	[Changelog] - New const `PrimaryAggregationTypeAverage`
      info	[Changelog] - New const `PrimaryAggregationTypeMinimum`
      info	[Changelog] - New const `PrimaryAggregationTypeMaximum`
      info	[Changelog]
      info	[Changelog] Total 12 breaking change(s), 13 additive change(s).
    • ️✔️preview/sql/mgmt/2015-05-01-preview/sql [View full logs
      Only show 15 items here, please refer to log for details.
      info	[Changelog] - New const `UserAssigned`
      info	[Changelog] - New const `BytesPerSecond`
      info	[Changelog] - New const `PrimaryAggregationTypeMinimum`
      info	[Changelog] - New const `Percent`
      info	[Changelog] - New const `PrimaryAggregationTypeNone`
      info	[Changelog] - New const `PrimaryAggregationTypeMaximum`
      info	[Changelog] - New const `PrimaryAggregationTypeCount`
      info	[Changelog] - New const `SystemAssignedUserAssigned`
      info	[Changelog] - New const `Seconds`
      info	[Changelog] - New const `CountPerSecond`
      info	[Changelog] - New const `PrimaryAggregationTypeAverage`
      info	[Changelog] - New const `Bytes`
      info	[Changelog] - New const `PrimaryAggregationTypeTotal`
      info	[Changelog]
      info	[Changelog] Total 12 breaking change(s), 13 additive change(s).
    ️️✔️ azure-sdk-for-go-track2 succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 42686a9. 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]  [Release SDK Changes] Breaking Change Detected
      Only show 120 items here, please refer to log for details.
      info	[Changelog] - New function `*ServerTrustCertificatesClientCreateOrUpdatePoller.FinalResponse(context.Context) (ServerTrustCertificatesClientCreateOrUpdateResponse, error)`
      info	[Changelog] - New function `NewIPv6FirewallRulesClient(string, azcore.TokenCredential, *arm.ClientOptions) *IPv6FirewallRulesClient`
      info	[Changelog] - New function `*ServerTrustCertificatesClient.BeginCreateOrUpdate(context.Context, string, string, string, ServerTrustCertificate, *ServerTrustCertificatesClientBeginCreateOrUpdateOptions) (ServerTrustCertificatesClientCreateOrUpdatePollerResponse, error)`
      info	[Changelog] - New function `*DistributedAvailabilityGroupsClientListByInstancePager.NextPage(context.Context) bool`
      info	[Changelog] - New function `*DistributedAvailabilityGroupsClient.BeginUpdate(context.Context, string, string, string, DistributedAvailabilityGroup, *DistributedAvailabilityGroupsClientBeginUpdateOptions) (DistributedAvailabilityGroupsClientUpdatePollerResponse, error)`
      info	[Changelog] - New function `ReplicationMode.ToPtr() *ReplicationMode`
      info	[Changelog] - New function `*ServerTrustCertificatesClientCreateOrUpdatePoller.Poll(context.Context) (*http.Response, error)`
      info	[Changelog] - New function `*ServerTrustCertificatesClientDeletePoller.Poll(context.Context) (*http.Response, error)`
      info	[Changelog] - New function `*ServerTrustCertificatesClient.ListByInstance(string, string, *ServerTrustCertificatesClientListByInstanceOptions) *ServerTrustCertificatesClientListByInstancePager`
      info	[Changelog] - New function `*ServerTrustCertificatesClientListByInstancePager.Err() error`
      info	[Changelog] - New function `IPv6FirewallRuleListResult.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New function `DistributedAvailabilityGroupsClientCreateOrUpdatePollerResponse.PollUntilDone(context.Context, time.Duration) (DistributedAvailabilityGroupsClientCreateOrUpdateResponse, error)`
      info	[Changelog] - New function `*IPv6FirewallRulesClientListByServerPager.PageResponse() IPv6FirewallRulesClientListByServerResponse`
      info	[Changelog] - New function `*ServerTrustCertificatesClient.BeginDelete(context.Context, string, string, string, *ServerTrustCertificatesClientBeginDeleteOptions) (ServerTrustCertificatesClientDeletePollerResponse, error)`
      info	[Changelog] - New function `*DistributedAvailabilityGroupsClient.BeginCreateOrUpdate(context.Context, string, string, string, DistributedAvailabilityGroup, *DistributedAvailabilityGroupsClientBeginCreateOrUpdateOptions) (DistributedAvailabilityGroupsClientCreateOrUpdatePollerResponse, error)`
      info	[Changelog] - New function `PossibleReplicationModeValues() []ReplicationMode`
      info	[Changelog] - New function `DistributedAvailabilityGroupsListResult.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New function `*DistributedAvailabilityGroupsClientDeletePoller.Poll(context.Context) (*http.Response, error)`
      info	[Changelog] - New function `*IPv6FirewallRulesClientListByServerPager.NextPage(context.Context) bool`
      info	[Changelog] - New function `*DistributedAvailabilityGroupsClientUpdatePoller.Poll(context.Context) (*http.Response, error)`
      info	[Changelog] - New function `DistributedAvailabilityGroupsClientUpdatePollerResponse.PollUntilDone(context.Context, time.Duration) (DistributedAvailabilityGroupsClientUpdateResponse, error)`
      info	[Changelog] - New function `*DistributedAvailabilityGroupsClientUpdatePollerResponse.Resume(context.Context, *DistributedAvailabilityGroupsClient, string) error`
      info	[Changelog] - New function `*ServerTrustCertificatesClientDeletePoller.ResumeToken() (string, error)`
      info	[Changelog] - New function `*DistributedAvailabilityGroupsClientCreateOrUpdatePoller.Done() bool`
      info	[Changelog] - New function `*IPv6FirewallRulesClient.CreateOrUpdate(context.Context, string, string, string, IPv6FirewallRule, *IPv6FirewallRulesClientCreateOrUpdateOptions) (IPv6FirewallRulesClientCreateOrUpdateResponse, error)`
      info	[Changelog] - New function `DatabaseUpdateProperties.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New function `DistributedAvailabilityGroupsClientDeletePollerResponse.PollUntilDone(context.Context, time.Duration) (DistributedAvailabilityGroupsClientDeleteResponse, error)`
      info	[Changelog] - New function `*DatabaseUpdateProperties.UnmarshalJSON([]byte) error`
      info	[Changelog] - New function `*DistributedAvailabilityGroupsClientDeletePoller.ResumeToken() (string, error)`
      info	[Changelog] - New function `*IPv6FirewallRulesClient.Get(context.Context, string, string, string, *IPv6FirewallRulesClientGetOptions) (IPv6FirewallRulesClientGetResponse, error)`
      info	[Changelog] - New function `NewDistributedAvailabilityGroupsClient(string, azcore.TokenCredential, *arm.ClientOptions) *DistributedAvailabilityGroupsClient`
      info	[Changelog] - New function `*ServerTrustCertificatesClientDeletePoller.Done() bool`
      info	[Changelog] - New function `*DistributedAvailabilityGroupsClientDeletePoller.FinalResponse(context.Context) (DistributedAvailabilityGroupsClientDeleteResponse, error)`
      info	[Changelog] - New function `*DistributedAvailabilityGroupsClient.BeginDelete(context.Context, string, string, string, *DistributedAvailabilityGroupsClientBeginDeleteOptions) (DistributedAvailabilityGroupsClientDeletePollerResponse, error)`
      info	[Changelog] - New function `*ServerTrustCertificatesClientCreateOrUpdatePollerResponse.Resume(context.Context, *ServerTrustCertificatesClient, string) error`
      info	[Changelog] - New function `*DistributedAvailabilityGroupsClientDeletePoller.Done() bool`
      info	[Changelog] - New function `*DistributedAvailabilityGroupsClientCreateOrUpdatePollerResponse.Resume(context.Context, *DistributedAvailabilityGroupsClient, string) error`
      info	[Changelog] - New function `*DistributedAvailabilityGroupsClientListByInstancePager.PageResponse() DistributedAvailabilityGroupsClientListByInstanceResponse`
      info	[Changelog] - New function `*ServerTrustCertificatesClientCreateOrUpdatePoller.ResumeToken() (string, error)`
      info	[Changelog] - New function `*DistributedAvailabilityGroupsClient.Get(context.Context, string, string, string, *DistributedAvailabilityGroupsClientGetOptions) (DistributedAvailabilityGroupsClientGetResponse, error)`
      info	[Changelog] - New function `*ServerTrustCertificatesClientDeletePoller.FinalResponse(context.Context) (ServerTrustCertificatesClientDeleteResponse, error)`
      info	[Changelog] - New function `*DistributedAvailabilityGroupsClientCreateOrUpdatePoller.FinalResponse(context.Context) (DistributedAvailabilityGroupsClientCreateOrUpdateResponse, error)`
      info	[Changelog] - New function `NewServerTrustCertificatesClient(string, azcore.TokenCredential, *arm.ClientOptions) *ServerTrustCertificatesClient`
      info	[Changelog] - New function `ServerTrustCertificatesListResult.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New function `*DistributedAvailabilityGroupsClientUpdatePoller.FinalResponse(context.Context) (DistributedAvailabilityGroupsClientUpdateResponse, error)`
      info	[Changelog] - New function `DistributedAvailabilityGroup.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New function `*DistributedAvailabilityGroupsClient.ListByInstance(string, string, *DistributedAvailabilityGroupsClientListByInstanceOptions) *DistributedAvailabilityGroupsClientListByInstancePager`
      info	[Changelog] - New function `ServerTrustCertificatesClientCreateOrUpdatePollerResponse.PollUntilDone(context.Context, time.Duration) (ServerTrustCertificatesClientCreateOrUpdateResponse, error)`
      info	[Changelog] - New function `*IPv6FirewallRulesClient.ListByServer(string, string, *IPv6FirewallRulesClientListByServerOptions) *IPv6FirewallRulesClientListByServerPager`
      info	[Changelog] - New function `*DistributedAvailabilityGroupsClientDeletePollerResponse.Resume(context.Context, *DistributedAvailabilityGroupsClient, string) error`
      info	[Changelog] - New function `*ServerTrustCertificatesClientListByInstancePager.PageResponse() ServerTrustCertificatesClientListByInstanceResponse`
      info	[Changelog] - New function `*IPv6FirewallRulesClient.Delete(context.Context, string, string, string, *IPv6FirewallRulesClientDeleteOptions) (IPv6FirewallRulesClientDeleteResponse, error)`
      info	[Changelog] - New function `*ServerTrustCertificatesClientListByInstancePager.NextPage(context.Context) bool`
      info	[Changelog] - New struct `DatabaseUpdateProperties`
      info	[Changelog] - New struct `DistributedAvailabilityGroup`
      info	[Changelog] - New struct `DistributedAvailabilityGroupProperties`
      info	[Changelog] - New struct `DistributedAvailabilityGroupsClient`
      info	[Changelog] - New struct `DistributedAvailabilityGroupsClientBeginCreateOrUpdateOptions`
      info	[Changelog] - New struct `DistributedAvailabilityGroupsClientBeginDeleteOptions`
      info	[Changelog] - New struct `DistributedAvailabilityGroupsClientBeginUpdateOptions`
      info	[Changelog] - New struct `DistributedAvailabilityGroupsClientCreateOrUpdatePoller`
      info	[Changelog] - New struct `DistributedAvailabilityGroupsClientCreateOrUpdatePollerResponse`
      info	[Changelog] - New struct `DistributedAvailabilityGroupsClientCreateOrUpdateResponse`
      info	[Changelog] - New struct `DistributedAvailabilityGroupsClientCreateOrUpdateResult`
      info	[Changelog] - New struct `DistributedAvailabilityGroupsClientDeletePoller`
      info	[Changelog] - New struct `DistributedAvailabilityGroupsClientDeletePollerResponse`
      info	[Changelog] - New struct `DistributedAvailabilityGroupsClientDeleteResponse`
      info	[Changelog] - New struct `DistributedAvailabilityGroupsClientGetOptions`
      info	[Changelog] - New struct `DistributedAvailabilityGroupsClientGetResponse`
      info	[Changelog] - New struct `DistributedAvailabilityGroupsClientGetResult`
      info	[Changelog] - New struct `DistributedAvailabilityGroupsClientListByInstanceOptions`
      info	[Changelog] - New struct `DistributedAvailabilityGroupsClientListByInstancePager`
      info	[Changelog] - New struct `DistributedAvailabilityGroupsClientListByInstanceResponse`
      info	[Changelog] - New struct `DistributedAvailabilityGroupsClientListByInstanceResult`
      info	[Changelog] - New struct `DistributedAvailabilityGroupsClientUpdatePoller`
      info	[Changelog] - New struct `DistributedAvailabilityGroupsClientUpdatePollerResponse`
      info	[Changelog] - New struct `DistributedAvailabilityGroupsClientUpdateResponse`
      info	[Changelog] - New struct `DistributedAvailabilityGroupsClientUpdateResult`
      info	[Changelog] - New struct `DistributedAvailabilityGroupsListResult`
      info	[Changelog] - New struct `IPv6FirewallRule`
      info	[Changelog] - New struct `IPv6FirewallRuleListResult`
      info	[Changelog] - New struct `IPv6FirewallRulesClient`
      info	[Changelog] - New struct `IPv6FirewallRulesClientCreateOrUpdateOptions`
      info	[Changelog] - New struct `IPv6FirewallRulesClientCreateOrUpdateResponse`
      info	[Changelog] - New struct `IPv6FirewallRulesClientCreateOrUpdateResult`
      info	[Changelog] - New struct `IPv6FirewallRulesClientDeleteOptions`
      info	[Changelog] - New struct `IPv6FirewallRulesClientDeleteResponse`
      info	[Changelog] - New struct `IPv6FirewallRulesClientGetOptions`
      info	[Changelog] - New struct `IPv6FirewallRulesClientGetResponse`
      info	[Changelog] - New struct `IPv6FirewallRulesClientGetResult`
      info	[Changelog] - New struct `IPv6FirewallRulesClientListByServerOptions`
      info	[Changelog] - New struct `IPv6FirewallRulesClientListByServerPager`
      info	[Changelog] - New struct `IPv6FirewallRulesClientListByServerResponse`
      info	[Changelog] - New struct `IPv6FirewallRulesClientListByServerResult`
      info	[Changelog] - New struct `IPv6ServerFirewallRuleProperties`
      info	[Changelog] - New struct `ServerTrustCertificate`
      info	[Changelog] - New struct `ServerTrustCertificateProperties`
      info	[Changelog] - New struct `ServerTrustCertificatesClient`
      info	[Changelog] - New struct `ServerTrustCertificatesClientBeginCreateOrUpdateOptions`
      info	[Changelog] - New struct `ServerTrustCertificatesClientBeginDeleteOptions`
      info	[Changelog] - New struct `ServerTrustCertificatesClientCreateOrUpdatePoller`
      info	[Changelog] - New struct `ServerTrustCertificatesClientCreateOrUpdatePollerResponse`
      info	[Changelog] - New struct `ServerTrustCertificatesClientCreateOrUpdateResponse`
      info	[Changelog] - New struct `ServerTrustCertificatesClientCreateOrUpdateResult`
      info	[Changelog] - New struct `ServerTrustCertificatesClientDeletePoller`
      info	[Changelog] - New struct `ServerTrustCertificatesClientDeletePollerResponse`
      info	[Changelog] - New struct `ServerTrustCertificatesClientDeleteResponse`
      info	[Changelog] - New struct `ServerTrustCertificatesClientGetOptions`
      info	[Changelog] - New struct `ServerTrustCertificatesClientGetResponse`
      info	[Changelog] - New struct `ServerTrustCertificatesClientGetResult`
      info	[Changelog] - New struct `ServerTrustCertificatesClientListByInstanceOptions`
      info	[Changelog] - New struct `ServerTrustCertificatesClientListByInstancePager`
      info	[Changelog] - New struct `ServerTrustCertificatesClientListByInstanceResponse`
      info	[Changelog] - New struct `ServerTrustCertificatesClientListByInstanceResult`
      info	[Changelog] - New struct `ServerTrustCertificatesListResult`
      info	[Changelog] - New field `SourceResourceID` in struct `DatabaseProperties`
      info	[Changelog] - New field `HighAvailabilityReplicaCount` in struct `ElasticPoolProperties`
      info	[Changelog] - New field `HighAvailabilityReplicaCount` in struct `ElasticPoolUpdateProperties`
      info	[Changelog]
      info	[Changelog] Total 16 breaking change(s), 192 additive change(s).
    ️⚠️ azure-sdk-for-js warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 42686a9. 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]  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]  created a lockfile as package-lock.json. You should commit this file.
      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]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Added operation group DistributedAvailabilityGroups
      info	[Changelog]   - Added operation group IPv6FirewallRules
      info	[Changelog]   - Added operation group ServerTrustCertificates
      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 IPv6FirewallRuleList
      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 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 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 ReplicationMode
      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 iPv6FirewallRules
      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 KnownReplicationMode
      info	[Changelog]   - Added Enum KnownSyncGroupsType
      info	[Changelog]
      info	[Changelog] **Breaking Changes**
      info	[Changelog]
      info	[Changelog]   - Removed operation group OperationsHealthOperations
      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]Release - Generate from 42686a9. 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 @viparek, one or multiple breaking change(s) is detected in your PR. Please check out the breaking change(s), and provide business justification in the PR comment and @ PR assignee why you must have these change(s), and how external customer impact can be mitigated. Please ensure to follow breaking change policy to request breaking change review and approval before proceeding swagger PR review.
    Action: To initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
    If you want to know the production traffic statistic, please see ARM Traffic statistic.
    If you think it is false positive breaking change, please provide the reasons in the PR comment, report to Swagger Tooling Team via https://aka.ms/swaggerfeedback.

    Copy link
    Contributor

    @jamestao jamestao left a comment

    Choose a reason for hiding this comment

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

    LGTM

    @JeffreyRichter JeffreyRichter added the Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 label Mar 14, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 CI-BreakingChange-Go-V2 CI-BreakingChange-JavaScript FixS360 SQL
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    4 participants