Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release microsoft.sql 2021-11-01 Stable API version #19863

Merged
merged 11 commits into from
Aug 9, 2022

Conversation

ericshape
Copy link
Contributor

@ericshape ericshape commented Jul 21, 2022

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

Release Microsoft.SQL 2021-11-01 stable API version.

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

We directly copy the 2021-11-01-preview to this stable version. Thus, these exceptions are carried on. We still ask for exceptions for these failed checks:

The List methods are Delete method are not needed based on SQL business justification.

❌ DeleteOperationResponses The delete operation is defined without a 200 or 204 error response implementation,please add it.'Location: Microsoft.Sql/stable/2021-11-01/DatabaseVulnerabilityAssessmentRuleBaselines.json#L252
❌ NestedResourcesMustHaveListOperation The nested resource 'DatabaseVulnerabilityAssessmentRuleBaseline' does not have list operation, please add it.Location: Microsoft.Sql/stable/2021-11-01/DatabaseVulnerabilityAssessmentRuleBaselines.json#L269
❌ NestedResourcesMustHaveListOperation The nested resource 'DataMaskingPolicy' does not have list operation, please add it.Location: Microsoft.Sql/stable/2021-11-01/DataMaskingPolicies.json#L149
❌ NestedResourcesMustHaveListOperation The nested resource 'DataMaskingRule' does not have list operation, please add it.Location: Microsoft.Sql/stable/2021-11-01/DataMaskingRules.json#L167

Changelog

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

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

Contribution checklist:

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

ARM API Review Checklist

Applicability: ⚠️

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

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

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

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

    • Adding a new service
    • Adding new API(s)
    • Adding a new API version
      -[ ] To review changes efficiently, ensure you are using OpenAPIHub to initialize the PR for adding a new version. More details, refer to the wiki.
  • Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

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

Breaking Change Review Checklist

If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

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

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

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

@openapi-workflow-bot
Copy link

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

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

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

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jul 21, 2022

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️⚠️Breaking Change(Cross-Version): 3 Warnings warning [Detail]
    compared swaggers (via Oad v0.9.6)] new version base version
    BackupShortTermRetentionPolicies.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    BlobAuditing.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    DataWarehouseUserActivities.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    DatabaseAdvancedThreatProtectionSettings.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    DatabaseAdvisors.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    DatabaseAutomaticTuning.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    DatabaseColumns.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    DatabaseExtensions.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    DatabaseOperations.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    DatabaseRecommendedActions.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    DatabaseSchemas.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    DatabaseSecurityAlertPolicies.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    DatabaseTables.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    DatabaseUsages.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    DatabaseVulnerabilityAssessmentRuleBaselines.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    DatabaseVulnerabilityAssessmentScans.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    DatabaseVulnerabilityAssessments.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    Databases.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    DeletedServers.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    DistributedAvailabilityGroups.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ElasticPoolOperations.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ElasticPools.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    EncryptionProtectors.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    EndpointCertificates.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    FailoverGroups.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    FirewallRules.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    IPv6FirewallRules.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    InstanceFailoverGroups.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    InstancePools.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    JobAgents.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    JobCredentials.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    JobExecutions.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    JobStepExecutions.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    JobSteps.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    JobTargetExecutions.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    JobTargetGroups.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    JobVersions.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    Jobs.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    LedgerDigestUploads.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    LocationCapabilities.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    LongTermRetentionBackups.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    LongTermRetentionManagedInstanceBackups.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    LongTermRetentionPolicies.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    MaintenanceWindowOptions.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    MaintenanceWindows.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ManagedBackupShortTermRetentionPolicies.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ManagedDatabaseColumns.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ManagedDatabaseQueries.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ManagedDatabaseRestoreDetails.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ManagedDatabaseSchemas.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ManagedDatabaseSecurityAlertPolicies.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ManagedDatabaseSecurityEvents.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ManagedDatabaseSensitivityLabels.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ManagedDatabaseTables.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ManagedDatabaseTransparentDataEncryption.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ManagedDatabaseVulnerabilityAssessmentRuleBaselines.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ManagedDatabaseVulnerabilityAssessmentScans.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ManagedDatabaseVulnerabilityAssessments.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ManagedDatabases.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ManagedInstanceAdministrators.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ManagedInstanceAzureADOnlyAuthentications.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ManagedInstanceEncryptionProtectors.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ManagedInstanceKeys.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ManagedInstanceLongTermRetentionPolicies.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ManagedInstanceOperations.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ManagedInstancePrivateEndpointConnections.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ManagedInstancePrivateLinkResources.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ManagedInstanceTdeCertificates.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ManagedInstanceVulnerabilityAssessments.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ManagedInstances.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ManagedServerDnsAliases.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ManagedServerSecurityAlertPolicies.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    Operations.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    OutboundFirewallRules.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    PrivateEndpointConnections.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    PrivateLinkResources.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    RecoverableManagedDatabases.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ReplicationLinks.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    RestorableDroppedDatabases.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    RestorableDroppedManagedDatabases.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    RestorePoints.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    SensitivityLabels.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ServerAdvancedThreatProtectionSettings.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ServerAdvisors.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ServerAutomaticTuning.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ServerAzureADAdministrators.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ServerAzureADOnlyAuthentications.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ServerConnectionPolicies.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ServerDevOpsAudit.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ServerDnsAliases.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ServerKeys.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ServerOperations.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ServerSecurityAlertPolicies.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ServerTrustCertificates.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ServerTrustGroups.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    ServerVulnerabilityAssessments.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    Servers.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    SqlAgent.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    SubscriptionUsages.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    SyncAgents.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    SyncGroups.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    SyncMembers.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    TdeCertificates.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    TimeZones.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    TransparentDataEncryptions.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    Usages.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    VirtualClusters.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    VirtualNetworkRules.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    WorkloadClassifiers.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)
    WorkloadGroups.json 2021-11-01(2a4ff59) 2021-11-01-preview(main)

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

    Rule Message
    ⚠️ 1011 - AddingResponseCode The new version adds a response code '202'.
    New: Microsoft.Sql/stable/2021-11-01/ReplicationLinks.json#L148:11
    ⚠️ 1044 - XmsLongRunningOperationChanged The new version has a different 'x-ms-longrunning-operation' value than the previous one.
    New: Microsoft.Sql/stable/2021-11-01/ReplicationLinks.json#L112:7
    Old: Microsoft.Sql/preview/2021-11-01-preview/ReplicationLinks.json#L112:7

    Rule Message
    ⚠️ APIsBeingMovedToANewSpec "details":"Attention: There are some existing APIs currently documented in a new spec file. The validation may not be able to report breaking changes with these APIs. It is recommended not to rename swagger file or move public APIs to a new file when creating a new API version.The existing APIs being moved are:ServerUsages_ListByServer;",
    "location":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/ServerUsages.json"
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️⚠️LintDiff: 203 Warnings warning [Detail]
    compared tags (via openapi-validator v1.13.0) new version base version
    package-2021-11 package-2021-11(2a4ff59) default(main)

    The following errors/warnings are introduced by current PR:

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

    Rule Message
    ⚠️ R1001 - OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'ManagedInstances' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.Sql/stable/2021-11-01/ManagedInstances.json#L440
    ⚠️ R4009 - RequiredReadOnlySystemData The response of operation:'BackupShortTermRetentionPolicies_Get' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Sql/stable/2021-11-01/BackupShortTermRetentionPolicies.json#L65
    ⚠️ R4009 - RequiredReadOnlySystemData The response of operation:'BackupShortTermRetentionPolicies_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Sql/stable/2021-11-01/BackupShortTermRetentionPolicies.json#L119
    ⚠️ R4009 - RequiredReadOnlySystemData The response of operation:'BackupShortTermRetentionPolicies_Update' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Sql/stable/2021-11-01/BackupShortTermRetentionPolicies.json#L186
    ⚠️ R4009 - RequiredReadOnlySystemData The response of operation:'ServerBlobAuditingPolicies_Get' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Sql/stable/2021-11-01/BlobAuditing.json#L62
    ⚠️ R4009 - RequiredReadOnlySystemData The response of operation:'ServerBlobAuditingPolicies_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Sql/stable/2021-11-01/BlobAuditing.json#L102
    ⚠️ R4009 - RequiredReadOnlySystemData The response of operation:'DatabaseBlobAuditingPolicies_Get' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Sql/stable/2021-11-01/BlobAuditing.json#L205


    The following errors/warnings exist before current PR submission:

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

    Rule Message
    R2018 - XmsEnumValidation The enum types should have x-ms-enum type extension set with appropriate options.
    Location: Microsoft.Sql/stable/2021-11-01/LocationCapabilities.json#L1229
    R2018 - XmsEnumValidation The enum types should have x-ms-enum type extension set with appropriate options.
    Location: Microsoft.Sql/stable/2021-11-01/ManagedInstances.json#L806
    R2018 - XmsEnumValidation The enum types should have x-ms-enum type extension set with appropriate options.
    Location: Microsoft.Sql/stable/2021-11-01/ServerTrustGroups.json#L344
    R2018 - XmsEnumValidation The enum types should have x-ms-enum type extension set with appropriate options.
    Location: Microsoft.Sql/stable/2021-11-01/SqlAgent.json#L125
    R2018 - XmsEnumValidation The enum types should have x-ms-enum type extension set with appropriate options.
    Location: Microsoft.Sql/stable/2021-11-01/VirtualClusters.json#L269
    R2020 - RequiredPropertiesMissingInResourceModel Model definition 'FirewallRule' must have the properties 'name', 'id' and 'type' in its hierarchy and these properties must be marked as readonly.
    Location: Microsoft.Sql/stable/2021-11-01/FirewallRules.json#L263
    R2020 - RequiredPropertiesMissingInResourceModel Model definition 'IPv6 FirewallRule' must have the properties 'name', 'id' and 'type' in its hierarchy and these properties must be marked as readonly.
    Location: Microsoft.Sql/stable/2021-11-01/IPv6FirewallRules.json#L215
    ️⚠️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: 1 Errors, 0 Warnings failed [Detail]
    Rule Message
    API Readiness check failed. Please make sure your service is deployed. "code: InvalidResourceType,
    message: The resource type 'operations' could not be found in the namespace 'Microsoft.Sql' for api version '2021-11-01'. The supported api-versions are '2014-01-01,
    2014-04-01,
    2014-04-01-preview,
    2015-05-01-preview,
    2015-05-01,
    2017-03-01-preview,
    2017-10-01-preview,
    2018-06-01-preview,
    2019-06-01-preview,
    2020-02-02-preview,
    2020-08-01-preview,
    2020-11-01-preview,
    2021-02-01-preview,
    2021-05-01-preview,
    2021-08-01-preview,
    2021-11-01-preview,
    2022-02-01-preview'."
    ️️✔️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: 2 Errors, 0 Warnings failed [Detail]
    • The following tags are being changed in this PR
      • "https://github.com/Azure/azure-rest-api-specs/blob/2a4ff59100eea32bfdd8ec143ec77c48635a7091/specification/sql/resource-manager/readme.md#tag-package-2021-11">sql/resource-manager/readme.md#package-2021-11
    The following errors/warnings are introduced by current PR:
    Rule Message
    "readme":"sql/resource-manager/readme.md",
    "tag":"package-2021-11",
    "details":"Duplicate object schemas with 'SecurityAlertPolicyName' name detected."
    "readme":"sql/resource-manager/readme.md",
    "tag":"package-2021-11",
    "details":"Error: 1 errors occured -- cannot continue."
    ️️✔️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.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jul 21, 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 - armsql - 2.0.0-beta.1
    azure-sdk-for-python-track2 - track2_azure-mgmt-sql - 4.0.0b3
    azure-sdk-for-js - @azure/arm-sql - 10.0.0-beta.1
    -	Type Alias Database no longer has parameter primaryDelegatedIdentityClientId
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 2548fe4. SDK Automation 14.0.0
      command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
      cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
      command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
      cmderr	[automation_generate.sh]  config global `--global`, `--local` are deprecated. Use `--location=global` instead.
    • ️✔️track2_azure-mgmt-sql [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Added operation ReplicationLinksOperations.begin_delete
      info	[Changelog]   - Added operation group ManagedDatabaseAdvancedThreatProtectionSettingsOperations
      info	[Changelog]   - Added operation group ManagedInstanceAdvancedThreatProtectionSettingsOperations
      info	[Changelog]   - Added operation group ManagedInstanceDtcsOperations
      info	[Changelog]
      info	[Changelog] **Breaking changes**
      info	[Changelog]
      info	[Changelog]   - Removed operation ReplicationLinksOperations.delete
    ️❌ azure-sdk-for-net-track2 failed [Detail]
    • Failed [Logs]Release - Generate from 2548fe4. 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
      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]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 2548fe4. 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
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] - Function `*ReplicationLinksClient.Delete` has been removed
      info	[Changelog] - Struct `ReplicationLinksClientDeleteOptions` has been removed
      info	[Changelog]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New const `DtcNameCurrent`
      info	[Changelog] - New const `SecondaryTypeStandby`
      info	[Changelog] - New const `ReplicationLinkTypeSTANDBY`
      info	[Changelog] - New function `NewManagedDatabaseAdvancedThreatProtectionSettingsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ManagedDatabaseAdvancedThreatProtectionSettingsClient, error)`
      info	[Changelog] - New function `*ManagedDatabaseAdvancedThreatProtectionSettingsClient.NewListByDatabasePager(string, string, string, *ManagedDatabaseAdvancedThreatProtectionSettingsClientListByDatabaseOptions) *runtime.Pager[ManagedDatabaseAdvancedThreatProtectionSettingsClientListByDatabaseResponse]`
      info	[Changelog] - New function `*ManagedInstanceAdvancedThreatProtectionSettingsClient.NewListByInstancePager(string, string, *ManagedInstanceAdvancedThreatProtectionSettingsClientListByInstanceOptions) *runtime.Pager[ManagedInstanceAdvancedThreatProtectionSettingsClientListByInstanceResponse]`
      info	[Changelog] - New function `*ManagedInstanceDtcsClient.Get(context.Context, string, string, DtcName, *ManagedInstanceDtcsClientGetOptions) (ManagedInstanceDtcsClientGetResponse, error)`
      info	[Changelog] - New function `*ManagedInstanceAdvancedThreatProtectionSettingsClient.BeginCreateOrUpdate(context.Context, string, string, AdvancedThreatProtectionName, ManagedInstanceAdvancedThreatProtection, *ManagedInstanceAdvancedThreatProtectionSettingsClientBeginCreateOrUpdateOptions) (*runtime.Poller[ManagedInstanceAdvancedThreatProtectionSettingsClientCreateOrUpdateResponse], error)`
      info	[Changelog] - New function `*ReplicationLinksClient.BeginDelete(context.Context, string, string, string, string, *ReplicationLinksClientBeginDeleteOptions) (*runtime.Poller[ReplicationLinksClientDeleteResponse], error)`
      info	[Changelog] - New function `*ManagedDatabaseAdvancedThreatProtectionSettingsClient.Get(context.Context, string, string, string, AdvancedThreatProtectionName, *ManagedDatabaseAdvancedThreatProtectionSettingsClientGetOptions) (ManagedDatabaseAdvancedThreatProtectionSettingsClientGetResponse, error)`
      info	[Changelog] - New function `*ManagedDatabaseAdvancedThreatProtectionSettingsClient.CreateOrUpdate(context.Context, string, string, string, AdvancedThreatProtectionName, ManagedDatabaseAdvancedThreatProtection, *ManagedDatabaseAdvancedThreatProtectionSettingsClientCreateOrUpdateOptions) (ManagedDatabaseAdvancedThreatProtectionSettingsClientCreateOrUpdateResponse, error)`
      info	[Changelog] - New function `NewManagedInstanceAdvancedThreatProtectionSettingsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ManagedInstanceAdvancedThreatProtectionSettingsClient, error)`
      info	[Changelog] - New function `PossibleDtcNameValues() []DtcName`
      info	[Changelog] - New function `*ManagedServerDNSAliasesClient.BeginAcquire(context.Context, string, string, string, ManagedServerDNSAliasAcquisition, *ManagedServerDNSAliasesClientBeginAcquireOptions) (*runtime.Poller[ManagedServerDNSAliasesClientAcquireResponse], error)`
      info	[Changelog] - New function `*ManagedServerDNSAliasesClient.BeginCreateOrUpdate(context.Context, string, string, string, ManagedServerDNSAliasCreation, *ManagedServerDNSAliasesClientBeginCreateOrUpdateOptions) (*runtime.Poller[ManagedServerDNSAliasesClientCreateOrUpdateResponse], error)`
      info	[Changelog] - New function `*ManagedInstanceDtcsClient.BeginCreateOrUpdate(context.Context, string, string, DtcName, ManagedInstanceDtc, *ManagedInstanceDtcsClientBeginCreateOrUpdateOptions) (*runtime.Poller[ManagedInstanceDtcsClientCreateOrUpdateResponse], error)`
      info	[Changelog] - New function `*ManagedServerDNSAliasesClient.BeginDelete(context.Context, string, string, string, *ManagedServerDNSAliasesClientBeginDeleteOptions) (*runtime.Poller[ManagedServerDNSAliasesClientDeleteResponse], error)`
      info	[Changelog] - New function `NewManagedServerDNSAliasesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ManagedServerDNSAliasesClient, error)`
      info	[Changelog] - New function `*ManagedInstanceDtcsClient.NewListByManagedInstancePager(string, string, *ManagedInstanceDtcsClientListByManagedInstanceOptions) *runtime.Pager[ManagedInstanceDtcsClientListByManagedInstanceResponse]`
      info	[Changelog] - New function `*ManagedServerDNSAliasesClient.Get(context.Context, string, string, string, *ManagedServerDNSAliasesClientGetOptions) (ManagedServerDNSAliasesClientGetResponse, error)`
      info	[Changelog] - New function `*ManagedServerDNSAliasesClient.NewListByManagedInstancePager(string, string, *ManagedServerDNSAliasesClientListByManagedInstanceOptions) *runtime.Pager[ManagedServerDNSAliasesClientListByManagedInstanceResponse]`
      info	[Changelog] - New function `NewManagedInstanceDtcsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ManagedInstanceDtcsClient, error)`
      info	[Changelog] - New function `*ManagedInstanceAdvancedThreatProtectionSettingsClient.Get(context.Context, string, string, AdvancedThreatProtectionName, *ManagedInstanceAdvancedThreatProtectionSettingsClientGetOptions) (ManagedInstanceAdvancedThreatProtectionSettingsClientGetResponse, error)`
      info	[Changelog] - New struct `ManagedDatabaseAdvancedThreatProtection`
      info	[Changelog] - New struct `ManagedDatabaseAdvancedThreatProtectionListResult`
      info	[Changelog] - New struct `ManagedDatabaseAdvancedThreatProtectionSettingsClient`
      info	[Changelog] - New struct `ManagedDatabaseAdvancedThreatProtectionSettingsClientCreateOrUpdateOptions`
      info	[Changelog] - New struct `ManagedDatabaseAdvancedThreatProtectionSettingsClientCreateOrUpdateResponse`
      info	[Changelog] - New struct `ManagedDatabaseAdvancedThreatProtectionSettingsClientGetOptions`
      info	[Changelog] - New struct `ManagedDatabaseAdvancedThreatProtectionSettingsClientGetResponse`
      info	[Changelog] - New struct `ManagedDatabaseAdvancedThreatProtectionSettingsClientListByDatabaseOptions`
      info	[Changelog] - New struct `ManagedDatabaseAdvancedThreatProtectionSettingsClientListByDatabaseResponse`
      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 `ReplicationLinksClientBeginDeleteOptions`
      info	[Changelog]
      info	[Changelog] Total 3 breaking change(s), 117 additive change(s).
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 2548fe4. 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 Interface ServerAdvancedThreatProtection
      info	[Changelog]   - Added Interface ServerAdvancedThreatProtectionSettingsCreateOrUpdateOptionalParams
      info	[Changelog]   - Added Interface ServerAdvancedThreatProtectionSettingsGetOptionalParams
      info	[Changelog]   - Added Interface ServerAdvancedThreatProtectionSettingsListByServerNextOptionalParams
      info	[Changelog]   - Added Interface ServerAdvancedThreatProtectionSettingsListByServerOptionalParams
      info	[Changelog]   - Added Interface ServerAutomaticTuning
      info	[Changelog]   - Added Interface ServerAzureADAdministrator
      info	[Changelog]   - Added Interface ServerAzureADOnlyAuthentication
      info	[Changelog]   - Added Interface ServerBlobAuditingPolicy
      info	[Changelog]   - Added Interface ServerCommunicationLink
      info	[Changelog]   - Added Interface ServerConnectionPolicy
      info	[Changelog]   - Added Interface ServerDevOpsAuditingSettings
      info	[Changelog]   - Added Interface ServerDnsAlias
      info	[Changelog]   - Added Interface ServerKey
      info	[Changelog]   - Added Interface ServerOperation
      info	[Changelog]   - Added Interface ServerSecurityAlertPolicy
      info	[Changelog]   - Added Interface ServerTrustCertificate
      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 Interface ServerTrustGroup
      info	[Changelog]   - Added Interface ServerVulnerabilityAssessment
      info	[Changelog]   - Added Interface ServiceObjective
      info	[Changelog]   - Added Interface SqlAgentConfiguration
      info	[Changelog]   - Added Interface SubscriptionUsage
      info	[Changelog]   - Added Interface SyncAgent
      info	[Changelog]   - Added Interface SyncAgentLinkedDatabase
      info	[Changelog]   - Added Interface SyncGroup
      info	[Changelog]   - Added Interface SyncMember
      info	[Changelog]   - Added Interface TdeCertificate
      info	[Changelog]   - Added Interface TimeZone
      info	[Changelog]   - Added Interface TrackedResource
      info	[Changelog]   - Added Interface UpdateManagedInstanceDnsServersOperation
      info	[Changelog]   - Added Interface VirtualCluster
      info	[Changelog]   - Added Interface VirtualNetworkRule
      info	[Changelog]   - Added Interface VulnerabilityAssessmentScanRecord
      info	[Changelog]   - Added Interface WorkloadClassifier
      info	[Changelog]   - Added Interface WorkloadGroup
      info	[Changelog]   - Added Type Alias AdvancedThreatProtectionName
      info	[Changelog]   - Added Type Alias AdvancedThreatProtectionState
      info	[Changelog]   - Added Type Alias DatabaseAdvancedThreatProtectionSettingsCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias DatabaseAdvancedThreatProtectionSettingsGetResponse
      info	[Changelog]   - Added Type Alias DatabaseAdvancedThreatProtectionSettingsListByDatabaseNextResponse
      info	[Changelog]   - Added Type Alias DatabaseAdvancedThreatProtectionSettingsListByDatabaseResponse
      info	[Changelog]   - Added Type Alias DistributedAvailabilityGroupsCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias DistributedAvailabilityGroupsGetResponse
      info	[Changelog]   - Added Type Alias DistributedAvailabilityGroupsListByInstanceNextResponse
      info	[Changelog]   - Added Type Alias DistributedAvailabilityGroupsListByInstanceResponse
      info	[Changelog]   - Added Type Alias DistributedAvailabilityGroupsUpdateResponse
      info	[Changelog]   - Added Type Alias DtcName
      info	[Changelog]   - Added Type Alias EndpointCertificatesGetResponse
      info	[Changelog]   - Added Type Alias EndpointCertificatesListByInstanceNextResponse
      info	[Changelog]   - Added Type Alias EndpointCertificatesListByInstanceResponse
      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 ManagedDatabaseAdvancedThreatProtectionSettingsCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias ManagedDatabaseAdvancedThreatProtectionSettingsGetResponse
      info	[Changelog]   - Added Type Alias ManagedDatabaseAdvancedThreatProtectionSettingsListByDatabaseNextResponse
      info	[Changelog]   - Added Type Alias ManagedDatabaseAdvancedThreatProtectionSettingsListByDatabaseResponse
      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 ReplicationLinksFailoverAllowDataLossResponse
      info	[Changelog]   - Added Type Alias ReplicationLinksFailoverResponse
      info	[Changelog]   - Added Type Alias ReplicationMode
      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 SyncGroupsType
      info	[Changelog]   - Interface ElasticPoolUpdate has a new optional parameter highAvailabilityReplicaCount
      info	[Changelog]   - Interface ReplicationLinksDeleteOptionalParams has a new optional parameter resumeFrom
      info	[Changelog]   - Interface ReplicationLinksDeleteOptionalParams has a new optional parameter updateIntervalInMs
      info	[Changelog]   - Class SqlManagementClient has a new parameter databaseAdvancedThreatProtectionSettings
      info	[Changelog]   - Class SqlManagementClient has a new parameter distributedAvailabilityGroups
      info	[Changelog]   - Class SqlManagementClient has a new parameter endpointCertificates
      info	[Changelog]   - Class SqlManagementClient has a new parameter iPv6FirewallRules
      info	[Changelog]   - Class SqlManagementClient has a new parameter managedDatabaseAdvancedThreatProtectionSettings
      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]   - Added Enum KnownAdvancedThreatProtectionName
      info	[Changelog]   - Added Enum KnownDtcName
      info	[Changelog]   - Added Enum KnownReplicationMode
      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]   - 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]   - Removed Enum KnownEnum60
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 2548fe4. 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]  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 2548fe4. SDK Automation 14.0.0
      command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
      command	pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-workflow-bot
    Copy link

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

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

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Aug 1, 2022

    Generated ApiView

    Language Package Name ApiView Link
    Go 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. If issue still exists, please ask PR assignee for help
    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. If issue still exists, please ask PR assignee for help
    Java azure-resourcemanager-sql-generated Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI. If issue still exists, please ask PR assignee for help
    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. If issue still exists, please ask PR assignee for help

    @openapi-workflow-bot openapi-workflow-bot bot added ARMReview WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Aug 1, 2022
    @openapi-workflow-bot
    Copy link

    Hi, @ericshape your PR are labelled with WaitForARMFeedback. A notification email will be sent out shortly afterwards to notify ARM review board(armapireview@microsoft.com).

    @ericshape ericshape changed the title Release microsoft.sql 2021-11-01 Stable Release microsoft.sql 2021-11-01 Stable API version Aug 1, 2022
    @raosuhas raosuhas added the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Aug 1, 2022
    @openapi-workflow-bot
    Copy link

    Please ensure to respond feedbacks from the ARM API reviewer. When you are ready to continue the ARM API review, please remove ARMChangesRequested

    @openapi-workflow-bot openapi-workflow-bot bot removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Aug 1, 2022
    @raosuhas
    Copy link

    raosuhas commented Aug 1, 2022

    Please respond to the comments and remove the "ARMChangesRequested" label when this PR is ready for review again .

    @ericshape
    Copy link
    Contributor Author

    ericshape commented Aug 1, 2022

    @ericsharpe Looks like the following files : DataMaskingPolicies.json , DataMaskingRules.json, GeoBackupPolicies.json , RecoverableDatabases.json and ServerUsages.json do not have the previous version checked in the first iteration. Are these new files that need to be reviewed or are they also already reviewed in a previous version ?

    @raosuhas thanks for the review.
    These four APIs groups are carried from the last stable APIs version: 2014-04-01 to this new stable API version. (they are also in the v5-SDK tag)

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

    We did not change any of their API contracts. They are safe to add.
    I have updated the PR description.

    @ericshape
    Copy link
    Contributor Author

    Please respond to the comments and remove the "ARMChangesRequested" label when this PR is ready for review again .

    @raosuhas I have addressed your comments. can we have your review again?

    @ericshape ericshape removed the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Aug 3, 2022
    @openapi-workflow-bot openapi-workflow-bot bot added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Aug 3, 2022
    @raosuhas raosuhas added the ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review label Aug 3, 2022
    @openapi-workflow-bot openapi-workflow-bot bot removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Aug 3, 2022
    @ericshape
    Copy link
    Contributor Author

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @raych1
    Copy link
    Member

    raych1 commented Aug 5, 2022

    @jianyexi , can you assist what are duplicated model name?

    @jianyexi
    Copy link
    Contributor

    jianyexi commented Aug 8, 2022

    The lintDiff error was caused by the duplicated model 'DatabaseVulnerabilityAssessmentRuleBaselineProperties' in
    stable/2021-11-01/ManagedDatabaseVulnerabilityAssessmentRuleBaselines.json
    and stable/2021-11-01/DatabaseVulnerabilityAssessmentRuleBaselines.json , please unify it

    @ericshape
    Copy link
    Contributor Author

    The lintDiff error was caused by the duplicated model 'DatabaseVulnerabilityAssessmentRuleBaselineProperties' in stable/2021-11-01/ManagedDatabaseVulnerabilityAssessmentRuleBaselines.json and stable/2021-11-01/DatabaseVulnerabilityAssessmentRuleBaselines.json , please unify it

    I have addressed this comment.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    ARMReview ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review CI-BreakingChange-Go CI-BreakingChange-JavaScript CI-FixRequiredOnFailure resource-manager
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    4 participants