Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.

[Mirror] [Hub Generated] Review request for Microsoft.DataProtection to add version preview/2022-11-01-preview#2729

Closed
ruowan wants to merge 8 commits into
test-repo-billy:mainfrom
anjorsh:dev-dataprotection-Microsoft.DataProtection-2022-11-01-preview
Closed

[Mirror] [Hub Generated] Review request for Microsoft.DataProtection to add version preview/2022-11-01-preview#2729
ruowan wants to merge 8 commits into
test-repo-billy:mainfrom
anjorsh:dev-dataprotection-Microsoft.DataProtection-2022-11-01-preview

Conversation

@ruowan
Copy link
Copy Markdown

@ruowan ruowan commented Nov 8, 2022

Mirror from https://github.com/Azure/azure-rest-api-specs/pull/21441

@workflow-bot-test
Copy link
Copy Markdown

Hi, @ruowan 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-test
    Copy link
    Copy Markdown

    openapi-pipeline-app-test Bot commented Nov 8, 2022

    Swagger Validation Report

    ️❌BreakingChange: 3 Errors, 0 Warnings failed [Detail]
    compared swaggers (via Oad v0.10.2)] new version base version
    dataregistry.json 2022-12-01-preview(b9f356a) 2022-12-01-preview(main)
    types.json 2.0(b9f356a) 2.0(main)
    integrationRuntime.json 2021-06-01-preview(b9f356a) 2021-06-01-preview(main)
    Rule Message
    1004 - ResponseBodyFormatNowSupported The old version did not support 'application/zip' as a response body format.
    New: DataRegistry/preview/2022-12-01-preview/dataregistry.json#L316:9
    Old: DataRegistry/preview/2022-12-01-preview/dataregistry.json#L316:9
    1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
    New: resource-manager/common/2.0/types.json#L103:5
    Old: resource-manager/common/2.0/types.json#L103:5
    1038 - AddedPath The new version is adding a path that was not found in the old version.
    New: Microsoft.Synapse/preview/2021-06-01-preview/integrationRuntime.json#L1391:5
    ️❌Breaking Change(Cross-Version): 50 Errors, 89 Warnings failed [Detail]
    compared swaggers (via Oad v0.10.2)] new version base version
    dataprotection.json 2022-11-01-preview(b9f356a) 2022-05-01(main)
    dataprotection.json 2022-11-01-preview(b9f356a) 2022-10-01-preview(main)
    AlertRules.json 2022-12-01-preview(b9f356a) 2022-11-01(main)
    AlertRules.json 2022-12-01-preview(b9f356a) 2022-11-01-preview(main)
    AutomationRules.json 2022-12-01-preview(b9f356a) 2022-11-01(main)
    AutomationRules.json 2022-12-01-preview(b9f356a) 2022-11-01-preview(main)
    Enrichment.json 2022-12-01-preview(b9f356a) 2022-11-01-preview(main)
    EntityQueries.json 2022-12-01-preview(b9f356a) 2022-11-01-preview(main)
    EntityQueryTemplates.json 2022-12-01-preview(b9f356a) 2022-11-01-preview(main)
    FileImports.json 2022-12-01-preview(b9f356a) 2022-11-01-preview(main)
    Metadata.json 2022-12-01-preview(b9f356a) 2022-11-01-preview(main)
    OfficeConsents.json 2022-12-01-preview(b9f356a) 2022-11-01-preview(main)
    OnboardingStates.json 2022-12-01-preview(b9f356a) 2022-11-01(main)
    OnboardingStates.json 2022-12-01-preview(b9f356a) 2022-11-01-preview(main)
    Recommendations.json 2022-12-01-preview(b9f356a) 2022-11-01-preview(main)
    SecurityMLAnalyticsSettings.json 2022-12-01-preview(b9f356a) 2022-11-01(main)
    SecurityMLAnalyticsSettings.json 2022-12-01-preview(b9f356a) 2022-11-01-preview(main)
    Settings.json 2022-12-01-preview(b9f356a) 2022-11-01-preview(main)
    SourceControls.json 2022-12-01-preview(b9f356a) 2022-11-01-preview(main)
    Watchlists.json 2022-12-01-preview(b9f356a) 2022-11-01(main)
    Watchlists.json 2022-12-01-preview(b9f356a) 2022-11-01-preview(main)
    AlertTypes.json 2022-12-01-preview(b9f356a) 2022-11-01(main)
    AlertTypes.json 2022-12-01-preview(b9f356a) 2022-11-01-preview(main)
    IncidentTypes.json 2022-12-01-preview(b9f356a) 2022-11-01(main)
    IncidentTypes.json 2022-12-01-preview(b9f356a) 2022-11-01-preview(main)
    RelationTypes.json 2022-12-01-preview(b9f356a) 2022-11-01-preview(main)
    ThreatIntelligenceTypes.json 2022-12-01-preview(b9f356a) 2022-11-01-preview(main)
    dataConnectors.json 2022-12-01-preview(b9f356a) 2022-11-01-preview(main)
    operations.json 2022-12-01-preview(b9f356a) 2022-11-01(main)
    operations.json 2022-12-01-preview(b9f356a) 2022-11-01-preview(main)

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

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

    Rule Message
    1019 - RemovedEnumValue The new version is removing enum value(s) 'OperationalStore' from the old version.
    New: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L6945:9
    Old: Microsoft.DataProtection/stable/2022-05-01/dataprotection.json#L6112:9
    1025 - RequiredStatusChange The 'required' status changed from the old version('True') to the new version('False').
    New: Microsoft.SecurityInsights/preview/2022-12-01-preview/AlertRules.json#L1576:7
    Old: Microsoft.SecurityInsights/stable/2022-11-01/AlertRules.json#L1072:7
    1025 - RequiredStatusChange The 'required' status changed from the old version('True') to the new version('False').
    New: Microsoft.SecurityInsights/preview/2022-12-01-preview/AutomationRules.json#L1237:7
    Old: Microsoft.SecurityInsights/stable/2022-11-01/AutomationRules.json#L995:7
    1025 - RequiredStatusChange The 'required' status changed from the old version('True') to the new version('False').
    New: Microsoft.SecurityInsights/preview/2022-12-01-preview/Watchlists.json#L481:7
    Old: Microsoft.SecurityInsights/stable/2022-11-01/Watchlists.json#L469:7
    1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
    New: Microsoft.SecurityInsights/preview/2022-12-01-preview/AlertRules.json#L49:9
    Old: Microsoft.SecurityInsights/stable/2022-11-01/AlertRules.json#L49:9
    1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
    New: Microsoft.SecurityInsights/preview/2022-12-01-preview/AlertRules.json#L103:9
    Old: Microsoft.SecurityInsights/stable/2022-11-01/AlertRules.json#L100:9
    1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
    New: Microsoft.SecurityInsights/preview/2022-12-01-preview/AlertRules.json#L158:9
    Old: Microsoft.SecurityInsights/stable/2022-11-01/AlertRules.json#L149:9
    1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
    New: Microsoft.SecurityInsights/preview/2022-12-01-preview/AlertRules.json#L210:9
    Old: Microsoft.SecurityInsights/stable/2022-11-01/AlertRules.json#L201:9
    1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
    New: Microsoft.SecurityInsights/preview/2022-12-01-preview/AlertRules.json#L255:9
    Old: Microsoft.SecurityInsights/stable/2022-11-01/AlertRules.json#L246:9
    1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
    New: Microsoft.SecurityInsights/preview/2022-12-01-preview/AlertRules.json#L303:9
    Old: Microsoft.SecurityInsights/stable/2022-11-01/AlertRules.json#L294:9


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

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

    Rule Message
    Runtime Exception "new":"https://github.com/test-repo-billy/azure-rest-api-specs/blob/b9f356ab2ff3952571894dd712640b84a8cf7b52/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-12-01-preview/Bookmarks.json",
    "old":"https://github.com/test-repo-billy/azure-rest-api-specs/blob/main/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-11-01-preview/Bookmarks.json",
    "details":"Command failed: dotnet /mnt/vss/_work/_tasks/AzureApiValidationTest_1a18ed4f-f3bf-4f34-9fed-13cb57bd2410/0.0.288/common/temp/node_modules/.pnpm/@Azure+oad@0.10.2/node_modules/@azure/oad/dlls/OpenApiDiff.dll -o /tmp/old-resolved.json -n /tmp/new-resolved.json\nUnhandled exception. Newtonsoft.Json.JsonSerializationException: Error converting value True to type 'AutoRest.Swagger.Model.Schema'. Path 'definitions.UrlEntityProperties.properties.additionalData.additionalProperties',
    line 1,
    position 42145.\n ---> System.ArgumentException: Could not cast or convert from System.Boolean to AutoRest.Swagger.Model.Schema.\n at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable(Object value,
    Type initialType,
    Type targetType)\n at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast(Object initialValue,
    CultureInfo culture,
    Type targetType)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader,
    Object value,
    CultureInfo culture,
    JsonContract contract,
    Type targetType)\n --"
    Runtime Exception "new":"https://github.com/test-repo-billy/azure-rest-api-specs/blob/b9f356ab2ff3952571894dd712640b84a8cf7b52/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-12-01-preview/Entities.json",
    "old":"https://github.com/test-repo-billy/azure-rest-api-specs/blob/main/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-11-01-preview/Entities.json",
    "details":"Command failed: dotnet /mnt/vss/_work/_tasks/AzureApiValidationTest_1a18ed4f-f3bf-4f34-9fed-13cb57bd2410/0.0.288/common/temp/node_modules/.pnpm/@Azure+oad@0.10.2/node_modules/@azure/oad/dlls/OpenApiDiff.dll -o /tmp/old-resolved.json -n /tmp/new-resolved.json\nUnhandled exception. Newtonsoft.Json.JsonSerializationException: Error converting value True to type 'AutoRest.Swagger.Model.Schema'. Path 'definitions.EntityEdges.properties.additionalData.additionalProperties',
    line 1,
    position 66636.\n ---> System.ArgumentException: Could not cast or convert from System.Boolean to AutoRest.Swagger.Model.Schema.\n at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable(Object value,
    Type initialType,
    Type targetType)\n at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast(Object initialValue,
    CultureInfo culture,
    Type targetType)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader,
    Object value,
    CultureInfo culture,
    JsonContract contract,
    Type targetType)\n --- End of"
    Runtime Exception "new":"https://github.com/test-repo-billy/azure-rest-api-specs/blob/b9f356ab2ff3952571894dd712640b84a8cf7b52/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-12-01-preview/Incidents.json",
    "old":"https://github.com/test-repo-billy/azure-rest-api-specs/blob/main/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-11-01-preview/Incidents.json",
    "details":"Command failed: dotnet /mnt/vss/_work/_tasks/AzureApiValidationTest_1a18ed4f-f3bf-4f34-9fed-13cb57bd2410/0.0.288/common/temp/node_modules/.pnpm/@Azure+oad@0.10.2/node_modules/@azure/oad/dlls/OpenApiDiff.dll -o /tmp/old-resolved.json -n /tmp/new-resolved.json\nUnhandled exception. Newtonsoft.Json.JsonSerializationException: Error converting value True to type 'AutoRest.Swagger.Model.Schema'. Path 'definitions.UrlEntityProperties.properties.additionalData.additionalProperties',
    line 1,
    position 74112.\n ---> System.ArgumentException: Could not cast or convert from System.Boolean to AutoRest.Swagger.Model.Schema.\n at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable(Object value,
    Type initialType,
    Type targetType)\n at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast(Object initialValue,
    CultureInfo culture,
    Type targetType)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader,
    Object value,
    CultureInfo culture,
    JsonContract contract,
    Type targetType)\n --"
    Runtime Exception "new":"https://github.com/test-repo-billy/azure-rest-api-specs/blob/b9f356ab2ff3952571894dd712640b84a8cf7b52/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-12-01-preview/ThreatIntelligence.json",
    "old":"https://github.com/test-repo-billy/azure-rest-api-specs/blob/main/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-11-01-preview/ThreatIntelligence.json",
    "details":"Command failed: dotnet /mnt/vss/_work/_tasks/AzureApiValidationTest_1a18ed4f-f3bf-4f34-9fed-13cb57bd2410/0.0.288/common/temp/node_modules/.pnpm/@Azure+oad@0.10.2/node_modules/@azure/oad/dlls/OpenApiDiff.dll -o /tmp/old-resolved.json -n /tmp/new-resolved.json\nUnhandled exception. Newtonsoft.Json.JsonSerializationException: Error converting value True to type 'AutoRest.Swagger.Model.Schema'. Path 'definitions.ThreatIntelligenceIndicatorProperties.properties.additionalData.additionalProperties',
    line 1,
    position 33348.\n ---> System.ArgumentException: Could not cast or convert from System.Boolean to AutoRest.Swagger.Model.Schema.\n at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable(Object value,
    Type initialType,
    Type targetType)\n at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast(Object initialValue,
    CultureInfo culture,
    Type targetType)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader,
    Object value,
    CultureInfo culture,
    JsonContract contract,
    Type"
    Runtime Exception "new":"https://github.com/test-repo-billy/azure-rest-api-specs/blob/b9f356ab2ff3952571894dd712640b84a8cf7b52/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-12-01-preview/common/EntityTypes.json",
    "old":"https://github.com/test-repo-billy/azure-rest-api-specs/blob/main/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-11-01-preview/common/EntityTypes.json",
    "details":"Command failed: dotnet /mnt/vss/_work/_tasks/AzureApiValidationTest_1a18ed4f-f3bf-4f34-9fed-13cb57bd2410/0.0.288/common/temp/node_modules/.pnpm/@Azure+oad@0.10.2/node_modules/@azure/oad/dlls/OpenApiDiff.dll -o /tmp/old-resolved.json -n /tmp/new-resolved.json\nUnhandled exception. Newtonsoft.Json.JsonSerializationException: Error converting value True to type 'AutoRest.Swagger.Model.Schema'. Path 'definitions.AccountEntityProperties.properties.additionalData.additionalProperties',
    line 1,
    position 2979.\n ---> System.ArgumentException: Could not cast or convert from System.Boolean to AutoRest.Swagger.Model.Schema.\n at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable(Object value,
    Type initialType,
    Type targetType)\n at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast(Object initialValue,
    CultureInfo culture,
    Type targetType)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader,
    Object value,
    CultureInfo culture,
    JsonContract contract,
    Type targetType)\n "
    ⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
    New: Microsoft.SecurityInsights/preview/2022-12-01-preview/AlertRules.json#L49:9
    Old: Microsoft.SecurityInsights/preview/2022-11-01-preview/AlertRules.json#L49:9
    ⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
    New: Microsoft.SecurityInsights/preview/2022-12-01-preview/AlertRules.json#L103:9
    Old: Microsoft.SecurityInsights/preview/2022-11-01-preview/AlertRules.json#L103:9
    ⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
    New: Microsoft.SecurityInsights/preview/2022-12-01-preview/AlertRules.json#L158:9
    Old: Microsoft.SecurityInsights/preview/2022-11-01-preview/AlertRules.json#L158:9
    ⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
    New: Microsoft.SecurityInsights/preview/2022-12-01-preview/AlertRules.json#L210:9
    Old: Microsoft.SecurityInsights/preview/2022-11-01-preview/AlertRules.json#L210:9
    ⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
    New: Microsoft.SecurityInsights/preview/2022-12-01-preview/AlertRules.json#L255:9
    Old: Microsoft.SecurityInsights/preview/2022-11-01-preview/AlertRules.json#L255:9
    ️❌LintDiff: 4 Errors, 13 Warnings failed [Detail]
    compared tags (via openapi-validator v2.0.0) new version base version
    package-preview-2022-11 package-preview-2022-11(b9f356a) default(main)
    package-2022-08 package-2022-08(b9f356a) package-2022-08(main)
    package-2021-10 package-2021-10(b9f356a) package-2021-10(main)
    package-2022-11 package-2022-11(b9f356a) package-2022-11(main)
    package-preview-2022-04 package-preview-2022-04(b9f356a) package-preview-2022-04(main)
    package-preview-2022-01 package-preview-2022-01(b9f356a) package-preview-2022-01(main)
    package-preview-2021-10 package-preview-2021-10(b9f356a) package-preview-2021-10(main)
    package-preview-2021-09 package-preview-2021-09(b9f356a) package-preview-2021-09(main)
    package-preview-2022-07 package-preview-2022-07(b9f356a) package-preview-2022-07(main)
    package-preview-2022-06 package-preview-2022-06(b9f356a) package-preview-2022-06(main)
    package-preview-2022-05 package-preview-2022-05(b9f356a) package-preview-2022-05(main)
    package-preview-2022-10 package-preview-2022-10(b9f356a) package-preview-2022-10(main)
    package-preview-2022-09 package-preview-2022-09(b9f356a) package-preview-2022-09(main)
    package-preview-2022-08 package-preview-2022-08(b9f356a) package-preview-2022-08(main)
    package-preview-2022-11 package-preview-2022-11(b9f356a) package-preview-2022-11(main)
    package-preview-2022-12 package-preview-2022-12(b9f356a) default(main)
    2022-12-01-preview 2022-12-01-preview(b9f356a) 2022-12-01-preview(main)
    default default(b9f356a) default(main)
    package-preview-2021-06 package-preview-2021-06(b9f356a) package-preview-2021-06(main)
    package-composite-v2 package-composite-v2(b9f356a) package-composite-v2(main)

    [must fix]The following errors/warnings are introduced by current PR:

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

    Rule Message Related RPC [For API reviewers]
    ResourceNameRestriction The resource name parameter 'workspaceName' should be defined with a 'pattern' restriction.
    Location: Microsoft.Synapse/preview/2021-06-01-preview/integrationRuntime.json#L1391
    RPC-Uri-V1-05
    ResourceNameRestriction The resource name parameter 'integrationRuntimeName' should be defined with a 'pattern' restriction.
    Location: Microsoft.Synapse/preview/2021-06-01-preview/integrationRuntime.json#L1391
    RPC-Uri-V1-05
    ResourceNameRestriction The resource name parameter 'workspaceName' should be defined with a 'pattern' restriction.
    Location: Microsoft.Synapse/preview/2021-06-01-preview/integrationRuntime.json#L1391
    RPC-Uri-V1-05
    ResourceNameRestriction The resource name parameter 'integrationRuntimeName' should be defined with a 'pattern' restriction.
    Location: Microsoft.Synapse/preview/2021-06-01-preview/integrationRuntime.json#L1391
    RPC-Uri-V1-05
    ⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
    Location: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L6024
    ⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
    Location: Microsoft.SecurityInsights/preview/2022-12-01-preview/AutomationRules.json#L311
    ⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
    Location: Microsoft.SecurityInsights/preview/2022-12-01-preview/Incidents.json#L1067
    ⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
    Location: Microsoft.SecurityInsights/preview/2022-12-01-preview/Incidents.json#L1185
    ⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
    Location: Microsoft.SecurityInsights/preview/2022-12-01-preview/Incidents.json#L1293
    ⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
    Location: Microsoft.SecurityInsights/preview/2022-12-01-preview/Incidents.json#L1402


    The following errors/warnings exist before current PR submission:

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

    Rule Message
    ParametersOrder The parameters:operationId,location should be kept in the same order as they present in the path.
    Location: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L64
    GetOperation200 The get operation should only return 200.
    Location: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L94
    ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L184
    ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L328
    CreateOperationAsyncResponseValidation An async PUT operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L375
    DeleteOperationAsyncResponseValidation An async DELETE operation must set ''x-ms-long-running-operation' : true''.
    Location: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L440
    DeleteOperationAsyncResponseValidation An async DELETE operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L440
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L467
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L525
    ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L543
    ️️✔️~[Staging] Lint(RPaaS) succeeded [Detail] [Expand]
    Validation passes for Lint(RPaaS).
    ️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
    ️️✔️~[Staging] ServiceAPIReadinessTest succeeded [Detail] [Expand]
    Validation passes for ServiceAPIReadinessTest.
    ️❌~[Staging] SwaggerAPIView: 0 Errors, 0 Warnings failed [Detail]
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️❌PoliCheck: 1 Errors, 0 Warnings failed [Detail]
    Rule Message
    Click detail for error messages. Exception contact vsswagger@microsoft.com or https://aka.ms/swaggersupport.
    ️⚠️Avocado: 1 Warnings warning [Detail]
    Rule Message
    ⚠️ MULTIPLE_API_VERSION The default tag contains multiple API versions swaggers.
    readme: specification/synapse/resource-manager/readme.md
    tag: specification/synapse/resource-manager/readme.md#tag-package-composite-v2
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️~[Staging] PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️~[Staging] SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    ️️✔️PR Summary succeeded [Detail] [Expand]
    ️️✔️CadlValidation succeeded [Detail] [Expand]
    Validation passes for CadlValidation.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app-test
    Copy link
    Copy Markdown

    openapi-pipeline-app-test Bot commented Nov 8, 2022

    Swagger Generation Artifacts

    ️️✔️~[Staging] ApiDocPreview succeeded [Detail] [Expand]
     Please click here to preview with your @microsoft account. 
    ️❌ azure-sdk-for-net-track2 failed [Detail]
    • Failed [Logs] Generate from 37c4101d1ae39589de3d5be841a0e5a4ada0913e. 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		specification/maps/data-plane/DataRegistry/readme.md skipped due to azure-sdk-for-net-track2 not found in swagger-to-sdk
      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:615
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[96mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[96m 615 | �[0m         �[96mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s�[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[96m     | �[91m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[91m�[96m     | �[91mFailed to build sdk. exit code: False
      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:771
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[96mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[96m 771 | �[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
      cannot force update branch 'sdkAuto/2729/Azure.ResourceManager.Synapse' as it is the current HEAD of the repository.
      Error: cannot force update branch 'sdkAuto/2729/Azure.ResourceManager.Synapse' as it is the current HEAD of the repository.
    • Azure.ResourceManager.DataProtectionBackup [View full logs]  [Preview SDK Changes] Breaking Change Detected
      info	[Changelog] Breaking Changes: /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(96,5): error : ApiCompat failed for '/mnt/vss/_work/1/s/azure-sdk-for-net/artifacts/bin/Azure.ResourceManager.DataProtectionBackup/Debug/netstandard2.0/Azure.ResourceManager.DataProtectionBackup.dll' [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/dataprotection/Azure.ResourceManager.DataProtectionBackup/src/Azure.ResourceManager.DataProtectionBackup.csproj]
    • ️✔️Azure.ResourceManager.Network [View full logs]  [Preview SDK Changes]
      info	[Changelog]
    • ️✔️Azure.ResourceManager.SecurityInsights [View full logs]  [Preview SDK Changes]
      info	[Changelog]
    • ️✔️Azure.ResourceManager.Synapse [View full logs]  [Preview SDK Changes]
      info	[Changelog]
    • Azure.ResourceManager.Synapse [View full logs
      error	Fatal error: cannot force update branch 'sdkAuto/2729/Azure.ResourceManager.Synapse' as it is the current HEAD of the repository.
      error	The following packages are still pending:
      error		Azure.ResourceManager.DataProtectionBackup
      error		Azure.ResourceManager.Network
      error		Azure.ResourceManager.SecurityInsights
      error		Azure.ResourceManager.Synapse
      error		Azure.ResourceManager.Synapse
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs] Generate from 37c4101d1ae39589de3d5be841a0e5a4ada0913e. 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.
      warn		specification/maps/data-plane/DataRegistry/readme.md skipped due to azure-sdk-for-python-track2 not found in swagger-to-sdk
      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 major version of npm available! 8.19.2 -> 9.2.0
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.2.0>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g npm@9.2.0` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-dataprotection [View full logs]  [Preview SDK Changes]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog]   - Model PolicyParameters has a new parameter backup_datasource_parameters_list
    • ️✔️track2_azure-mgmt-network [View full logs]  [Preview SDK Changes]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog]   - Model BackendAddressPool has a new parameter virtual_network
      info	[Changelog]   - Model NetworkVirtualAppliance has a new parameter delegation
      info	[Changelog]   - Model NetworkVirtualAppliance has a new parameter deployment_type
      info	[Changelog]   - Model NetworkVirtualAppliance has a new parameter partner_managed_resource
      info	[Changelog]   - Model NspLink has a new parameter remote_perimeter_location
      info	[Changelog]   - Model NspLinkReference has a new parameter remote_perimeter_location
      info	[Changelog]   - Model PolicySettings has a new parameter custom_block_response_body
      info	[Changelog]   - Model PolicySettings has a new parameter custom_block_response_status_code
    • ️✔️track2_azure-mgmt-securityinsight [View full logs]  [Preview SDK Changes]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog]   - Added operation group GetOperations
      info	[Changelog]   - Added operation group GetRecommendationsOperations
      info	[Changelog]   - Added operation group IncidentTasksOperations
      info	[Changelog]   - Added operation group UpdateOperations
      info	[Changelog]   - Model AlertDetailsOverride has a new parameter alert_dynamic_properties
      info	[Changelog]   - Model NrtAlertRule has a new parameter sentinel_entities_mappings
      info	[Changelog]   - Model NrtAlertRuleTemplate has a new parameter sentinel_entities_mappings
      info	[Changelog]   - Model NrtAlertRuleTemplateProperties has a new parameter sentinel_entities_mappings
      info	[Changelog]   - Model QueryBasedAlertRuleTemplateProperties has a new parameter sentinel_entities_mappings
      info	[Changelog]   - Model ScheduledAlertRule has a new parameter sentinel_entities_mappings
      info	[Changelog]   - Model ScheduledAlertRuleCommonProperties has a new parameter sentinel_entities_mappings
      info	[Changelog]   - Model ScheduledAlertRuleProperties has a new parameter sentinel_entities_mappings
      info	[Changelog]   - Model ScheduledAlertRuleTemplate has a new parameter sentinel_entities_mappings
      info	[Changelog]   - Model SecurityAlertTimelineItem has a new parameter intent
      info	[Changelog]   - Model SecurityAlertTimelineItem has a new parameter techniques
    • ️✔️track2_azure-mgmt-synapse [View full logs]  [Preview SDK Changes]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog]   - Added operation group GetOperations
    ️⚠️ azure-sdk-for-java warning [Detail]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from 37c4101d1ae39589de3d5be841a0e5a4ada0913e. 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
      warn		specification/maps/data-plane/DataRegistry/readme.md skipped due to azure-sdk-for-go not found in swagger-to-sdk
      warn		specification/securityinsights/resource-manager/readme.md skipped due to azure-sdk-for-go not found in swagger-to-sdk
      command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️sdk/resourcemanager/dataprotection/armdataprotection [View full logs]  [Preview SDK Changes] Breaking Change Detected
      Only show 40 items here, please refer to log for details.
      info	[Changelog] - New function `*DppResourceGuardProxyClient.Delete(context.Context, string, string, string, *DppResourceGuardProxyClientDeleteOptions) (DppResourceGuardProxyClientDeleteResponse, error)`
      info	[Changelog] - New function `*DppResourceGuardProxyClient.Get(context.Context, string, string, string, *DppResourceGuardProxyClientGetOptions) (DppResourceGuardProxyClientGetResponse, error)`
      info	[Changelog] - New function `*DppResourceGuardProxyClient.NewListPager(string, string, *DppResourceGuardProxyClientListOptions) *runtime.Pager[DppResourceGuardProxyClientListResponse]`
      info	[Changelog] - New function `*DppResourceGuardProxyClient.Put(context.Context, string, string, string, ResourceGuardProxyBaseResource, *DppResourceGuardProxyClientPutOptions) (DppResourceGuardProxyClientPutResponse, error)`
      info	[Changelog] - New function `*DppResourceGuardProxyClient.UnlockDelete(context.Context, string, string, string, UnlockDeleteRequest, *DppResourceGuardProxyClientUnlockDeleteOptions) (DppResourceGuardProxyClientUnlockDeleteResponse, error)`
      info	[Changelog] - New function `*ItemPathBasedRestoreCriteria.GetItemLevelRestoreCriteria() *ItemLevelRestoreCriteria`
      info	[Changelog] - New function `*KubernetesClusterBackupDatasourceParameters.GetBackupDatasourceParameters() *BackupDatasourceParameters`
      info	[Changelog] - New function `*KubernetesClusterRestoreCriteria.GetItemLevelRestoreCriteria() *ItemLevelRestoreCriteria`
      info	[Changelog] - New struct `BackupInstancesExtensionRoutingClient`
      info	[Changelog] - New struct `BackupInstancesExtensionRoutingClientListResponse`
      info	[Changelog] - New struct `BlobBackupDatasourceParameters`
      info	[Changelog] - New struct `DeletedBackupInstance`
      info	[Changelog] - New struct `DeletedBackupInstanceResource`
      info	[Changelog] - New struct `DeletedBackupInstanceResourceList`
      info	[Changelog] - New struct `DeletedBackupInstancesClient`
      info	[Changelog] - New struct `DeletedBackupInstancesClientListResponse`
      info	[Changelog] - New struct `DeletedBackupInstancesClientUndeleteResponse`
      info	[Changelog] - New struct `DeletionInfo`
      info	[Changelog] - New struct `DppProxyResource`
      info	[Changelog] - New struct `DppResourceGuardProxyClient`
      info	[Changelog] - New struct `DppResourceGuardProxyClientListResponse`
      info	[Changelog] - New struct `ImmutabilitySettings`
      info	[Changelog] - New struct `ItemPathBasedRestoreCriteria`
      info	[Changelog] - New struct `KubernetesClusterBackupDatasourceParameters`
      info	[Changelog] - New struct `KubernetesClusterRestoreCriteria`
      info	[Changelog] - New struct `ResourceGuardOperationDetail`
      info	[Changelog] - New struct `ResourceGuardProxyBase`
      info	[Changelog] - New struct `ResourceGuardProxyBaseResource`
      info	[Changelog] - New struct `ResourceGuardProxyBaseResourceList`
      info	[Changelog] - New struct `SecuritySettings`
      info	[Changelog] - New struct `SoftDeleteSettings`
      info	[Changelog] - New struct `UnlockDeleteRequest`
      info	[Changelog] - New struct `UnlockDeleteResponse`
      info	[Changelog] - New field `Tags` in struct `BackupInstanceResource`
      info	[Changelog] - New field `IsVaultProtectedByResourceGuard` in struct `BackupVault`
      info	[Changelog] - New field `SecuritySettings` in struct `BackupVault`
      info	[Changelog] - New field `SecuritySettings` in struct `PatchBackupVaultInput`
      info	[Changelog] - New field `BackupDatasourceParametersList` in struct `PolicyParameters`
      info	[Changelog]
      info	[Changelog] Total 3 breaking change(s), 93 additive change(s).
    • ️✔️sdk/resourcemanager/network/armnetwork [View full logs]  [Preview SDK Changes]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New struct `DelegationProperties`
      info	[Changelog] - New struct `PartnerManagedResourceProperties`
      info	[Changelog] - New field `VirtualNetwork` in struct `BackendAddressPoolPropertiesFormat`
      info	[Changelog] - New field `CustomBlockResponseBody` in struct `PolicySettings`
      info	[Changelog] - New field `CustomBlockResponseStatusCode` in struct `PolicySettings`
      info	[Changelog] - New field `Delegation` in struct `VirtualAppliancePropertiesFormat`
      info	[Changelog] - New field `DeploymentType` in struct `VirtualAppliancePropertiesFormat`
      info	[Changelog] - New field `PartnerManagedResource` in struct `VirtualAppliancePropertiesFormat`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 7 additive change(s).
    • ️✔️sdk/resourcemanager/synapse/armsynapse [View full logs]  [Preview SDK Changes] Breaking Change Detected
      Only show 40 items here, please refer to log for details.
      info	[Changelog] - Operation `*SQLPoolsClient.Update` has been changed to LRO, use `*SQLPoolsClient.BeginUpdate` instead.
      info	[Changelog] - Field `Interface` of struct `BigDataPoolsClientDeleteResponse` has been removed
      info	[Changelog] - Field `Interface` of struct `IPFirewallRulesClientDeleteResponse` has been removed
      info	[Changelog] - Field `Interface` of struct `SQLPoolsClientDeleteResponse` has been removed
      info	[Changelog] - Field `Interface` of struct `SQLPoolsClientPauseResponse` has been removed
      info	[Changelog] - Field `Interface` of struct `SQLPoolsClientResumeResponse` has been removed
      info	[Changelog] - Field `Interface` of struct `WorkspacesClientDeleteResponse` has been removed
      info	[Changelog]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New type alias `ActualState` with values `ActualStateDisabled`, `ActualStateDisabling`, `ActualStateEnabled`, `ActualStateEnabling`, `ActualStateUnknown`
      info	[Changelog] - New type alias `DesiredState` with values `DesiredStateDisabled`, `DesiredStateEnabled`
      info	[Changelog] - New type alias `WorkspaceStatus` with values `WorkspaceStatusFailed`, `WorkspaceStatusInProgress`, `WorkspaceStatusSucceeded`
      info	[Changelog] - New function `NewGetClient(string, azcore.TokenCredential, *arm.ClientOptions) (*GetClient, error)`
      info	[Changelog] - New function `*GetClient.IntegrationRuntimeStart(context.Context, string, string, string, string, *GetClientIntegrationRuntimeStartOptions) (GetClientIntegrationRuntimeStartResponse, error)`
      info	[Changelog] - New function `*GetClient.IntegrationRuntimeStop(context.Context, string, string, string, string, *GetClientIntegrationRuntimeStopOptions) (GetClientIntegrationRuntimeStopResponse, error)`
      info	[Changelog] - New function `NewKustoPoolPrivateLinkResourcesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*KustoPoolPrivateLinkResourcesClient, error)`
      info	[Changelog] - New function `*KustoPoolPrivateLinkResourcesClient.NewListPager(string, string, string, *KustoPoolPrivateLinkResourcesClientListOptions) *runtime.Pager[KustoPoolPrivateLinkResourcesClientListResponse]`
      info	[Changelog] - New struct `ErrorResponseAutoGenerated`
      info	[Changelog] - New struct `GetClient`
      info	[Changelog] - New struct `IntegrationRuntimeOperationStatus`
      info	[Changelog] - New struct `IntegrationRuntimeStopOperationStatus`
      info	[Changelog] - New struct `KustoPoolPrivateLinkResources`
      info	[Changelog] - New struct `KustoPoolPrivateLinkResourcesClient`
      info	[Changelog] - New struct `KustoPoolPrivateLinkResourcesClientListResponse`
      info	[Changelog] - New struct `PrivateLinkResources`
      info	[Changelog] - New struct `PrivateLinkResourcesProperties`
      info	[Changelog] - New field `IsAutotuneEnabled` in struct `BigDataPoolResourceProperties`
      info	[Changelog] - New anonymous field `BigDataPoolResourceInfo` in struct `BigDataPoolsClientDeleteResponse`
      info	[Changelog] - New field `AADObjectID` in struct `ClusterPrincipalProperties`
      info	[Changelog] - New field `AADObjectID` in struct `DatabasePrincipalProperties`
      info	[Changelog] - New anonymous field `IPFirewallRuleInfo` in struct `IPFirewallRulesClientDeleteResponse`
      info	[Changelog] - New anonymous field `SQLPool` in struct `SQLPoolOperationResultsClientGetLocationHeaderResultResponse`
      info	[Changelog] - New anonymous field `SQLPool` in struct `SQLPoolsClientDeleteResponse`
      info	[Changelog] - New anonymous field `SQLPool` in struct `SQLPoolsClientPauseResponse`
      info	[Changelog] - New anonymous field `SQLPool` in struct `SQLPoolsClientResumeResponse`
      info	[Changelog] - New field `ConfigMergeRule` in struct `SparkConfigurationInfo`
      info	[Changelog] - New anonymous field `Workspace` in struct `WorkspacesClientDeleteResponse`
      info	[Changelog]
      info	[Changelog] Total 11 breaking change(s), 47 additive change(s).
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from 37c4101d1ae39589de3d5be841a0e5a4ada0913e. 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-dataprotectionplatform [View full logs]  [Preview SDK Changes]
      info	[Changelog]
      error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
    • ️✔️@azure/arm-network [View full logs]  [Preview SDK Changes] Breaking Change Detected
      Only show 30 items here, please refer to log for details.
      info	[Changelog]
      info	[Changelog] **Breaking Changes**
      info	[Changelog]
      info	[Changelog]   - Interface AdminRuleCollectionsListNextOptionalParams no longer has parameter skipToken
      info	[Changelog]   - Interface AdminRuleCollectionsListNextOptionalParams no longer has parameter top
      info	[Changelog]   - Interface AdminRulesListNextOptionalParams no longer has parameter skipToken
      info	[Changelog]   - Interface AdminRulesListNextOptionalParams no longer has parameter top
      info	[Changelog]   - Interface ConnectivityConfigurationsListNextOptionalParams no longer has parameter skipToken
      info	[Changelog]   - Interface ConnectivityConfigurationsListNextOptionalParams no longer has parameter top
      info	[Changelog]   - Interface ManagementGroupNetworkManagerConnectionsListNextOptionalParams no longer has parameter skipToken
      info	[Changelog]   - Interface ManagementGroupNetworkManagerConnectionsListNextOptionalParams no longer has parameter top
      info	[Changelog]   - Interface NetworkGroupsListNextOptionalParams no longer has parameter skipToken
      info	[Changelog]   - Interface NetworkGroupsListNextOptionalParams no longer has parameter top
      info	[Changelog]   - Interface NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsNextOptionalParams no longer has parameter expand
      info	[Changelog]   - Interface NetworkManagersListBySubscriptionNextOptionalParams no longer has parameter skipToken
      info	[Changelog]   - Interface NetworkManagersListBySubscriptionNextOptionalParams no longer has parameter top
      info	[Changelog]   - Interface NetworkManagersListNextOptionalParams no longer has parameter skipToken
      info	[Changelog]   - Interface NetworkManagersListNextOptionalParams no longer has parameter top
      info	[Changelog]   - Interface ScopeConnectionsListNextOptionalParams no longer has parameter skipToken
      info	[Changelog]   - Interface ScopeConnectionsListNextOptionalParams no longer has parameter top
      info	[Changelog]   - Interface SecurityAdminConfigurationsListNextOptionalParams no longer has parameter skipToken
      info	[Changelog]   - Interface SecurityAdminConfigurationsListNextOptionalParams no longer has parameter top
      info	[Changelog]   - Interface ServiceTagInformationListNextOptionalParams no longer has parameter noAddressPrefixes
      info	[Changelog]   - Interface ServiceTagInformationListNextOptionalParams no longer has parameter tagName
      info	[Changelog]   - Interface StaticMembersListNextOptionalParams no longer has parameter skipToken
      info	[Changelog]   - Interface StaticMembersListNextOptionalParams no longer has parameter top
      info	[Changelog]   - Interface SubscriptionNetworkManagerConnectionsListNextOptionalParams no longer has parameter skipToken
      info	[Changelog]   - Interface SubscriptionNetworkManagerConnectionsListNextOptionalParams no longer has parameter top
      info	[Changelog]   - Interface VirtualNetworksListDdosProtectionStatusNextOptionalParams no longer has parameter skipToken
      info	[Changelog]   - Interface VirtualNetworksListDdosProtectionStatusNextOptionalParams no longer has parameter top
    • ️✔️@azure/arm-securityinsight [View full logs]  [Preview SDK Changes] Breaking Change Detected
      Only show 30 items here, please refer to log for details.
      info	[Changelog]   - Type of parameter additionalData of interface RegistryValueEntity is changed from {
      info	[Changelog]         [propertyName: string]: Record<string, unknown>;
      info	[Changelog]     } to {
      info	[Changelog]         [propertyName: string]: any;
      info	[Changelog]     }
      info	[Changelog]   - Type of parameter additionalData of interface SecurityAlert is changed from {
      info	[Changelog]         [propertyName: string]: Record<string, unknown>;
      info	[Changelog]     } to {
      info	[Changelog]         [propertyName: string]: any;
      info	[Changelog]     }
      info	[Changelog]   - Type of parameter additionalData of interface SecurityGroupEntity is changed from {
      info	[Changelog]         [propertyName: string]: Record<string, unknown>;
      info	[Changelog]     } to {
      info	[Changelog]         [propertyName: string]: any;
      info	[Changelog]     }
      info	[Changelog]   - Type of parameter additionalData of interface SubmissionMailEntity is changed from {
      info	[Changelog]         [propertyName: string]: Record<string, unknown>;
      info	[Changelog]     } to {
      info	[Changelog]         [propertyName: string]: any;
      info	[Changelog]     }
      info	[Changelog]   - Type of parameter additionalData of interface ThreatIntelligenceIndicatorModel is changed from {
      info	[Changelog]         [propertyName: string]: Record<string, unknown>;
      info	[Changelog]     } to {
      info	[Changelog]         [propertyName: string]: any;
      info	[Changelog]     }
      info	[Changelog]   - Type of parameter additionalData of interface UrlEntity is changed from {
      info	[Changelog]         [propertyName: string]: Record<string, unknown>;
      info	[Changelog]     } to {
      info	[Changelog]         [propertyName: string]: any;
      info	[Changelog]     }
    • ️✔️@azure/arm-synapse [View full logs]  [Preview SDK Changes] Breaking Change Detected
      Only show 30 items here, please refer to log for details.
      info	[Changelog]   - Added Type Alias WorkspaceStatus
      info	[Changelog]   - Interface IntegrationRuntimeStatusResponse has a new optional parameter dataFactoryName
      info	[Changelog]   - Interface IntegrationRuntimeStatusResponse has a new optional parameter state
      info	[Changelog]   - Interface SqlPoolOperationResultsGetLocationHeaderResultOptionalParams has a new optional parameter resumeFrom
      info	[Changelog]   - Interface SqlPoolOperationResultsGetLocationHeaderResultOptionalParams has a new optional parameter updateIntervalInMs
      info	[Changelog]   - Interface SqlPoolsUpdateOptionalParams has a new optional parameter resumeFrom
      info	[Changelog]   - Interface SqlPoolsUpdateOptionalParams has a new optional parameter updateIntervalInMs
      info	[Changelog]   - Added Enum KnownDedicatedSQLMinimalTlsSettingsName
      info	[Changelog]   - Added Enum KnownWorkspaceStatus
      info	[Changelog]   - Added function getContinuationToken
      info	[Changelog]
      info	[Changelog] **Breaking Changes**
      info	[Changelog]
      info	[Changelog]   - Removed operation group PrivateLinkResources
      info	[Changelog]   - Removed operation SqlPoolOperationResults.getLocationHeaderResult
      info	[Changelog]   - Removed operation SqlPools.update
      info	[Changelog]   - Interface IntegrationRuntimeStatusResponse no longer has parameter properties
      info	[Changelog]   - Interface SqlPoolSchemasListNextOptionalParams no longer has parameter filter
      info	[Changelog]   - Interface SqlPoolSensitivityLabelsListCurrentNextOptionalParams no longer has parameter filter
      info	[Changelog]   - Interface SqlPoolSensitivityLabelsListRecommendedNextOptionalParams no longer has parameter filter
      info	[Changelog]   - Interface SqlPoolSensitivityLabelsListRecommendedNextOptionalParams no longer has parameter includeDisabledRecommendations
      info	[Changelog]   - Interface SqlPoolSensitivityLabelsListRecommendedNextOptionalParams no longer has parameter skipToken
      info	[Changelog]   - Interface SqlPoolTableColumnsListByTableNameNextOptionalParams no longer has parameter filter
      info	[Changelog]   - Interface SqlPoolTablesListBySchemaNextOptionalParams no longer has parameter filter
      info	[Changelog]   - Interface IntegrationRuntimeStatusResponse has a new required parameter type
      info	[Changelog]   - Type of parameter actualState of interface ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity is changed from ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState to ActualState
      info	[Changelog]   - Type of parameter desiredState of interface ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity is changed from ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState to DesiredState
      info	[Changelog]   - Class SynapseManagementClient no longer has parameter privateLinkResources
      info	[Changelog]   - Removed Enum KnownManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState
      info	[Changelog]   - Removed Enum KnownManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState
    ️❌ azure-powershell failed [Detail]
    • Failed [Logs] Generate from 37c4101d1ae39589de3d5be841a0e5a4ada0913e. SDK Automation 14.0.0
      command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
      warn		specification/maps/data-plane/DataRegistry/readme.md skipped due to azure-powershell not found in swagger-to-sdk
      command	pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
    • Az.dataprotection [View full logs]  [Preview SDK Changes]
    • Az.network [View full logs]  [Preview SDK Changes]
    • Az.securityinsights [View full logs]  [Preview SDK Changes]
    • Az.synapse [View full logs]  [Preview SDK Changes]
    ️️✔️ azure-sdk-for-net succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from 37c4101d1ae39589de3d5be841a0e5a4ada0913e. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	sudo apt-get install -y dotnet-sdk-6.0
      warn		specification/dataprotection/resource-manager/readme.md skipped due to azure-sdk-for-net not found in swagger-to-sdk
      warn		specification/maps/data-plane/DataRegistry/readme.md skipped due to azure-sdk-for-net not found in swagger-to-sdk
      warn		specification/securityinsights/resource-manager/readme.md skipped due to azure-sdk-for-net not found in swagger-to-sdk
      warn		specification/synapse/resource-manager/readme.md skipped due to azure-sdk-for-net not found in swagger-to-sdk
      command	autorest --version=2.0.4421 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.csharp@2.3.82 --csharp-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/network/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.Network [View full logs]  [Preview SDK Changes]
    ️🔄 azure-resource-manager-schemas inProgress [Detail]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app-test
    Copy link
    Copy Markdown

    openapi-pipeline-app-test Bot commented Nov 8, 2022

    Generated ApiView

    Language Package Name ApiView Link
    Go sdk/resourcemanager/dataprotection/armdataprotection Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    Go sdk/resourcemanager/network/armnetwork Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    Go sdk/resourcemanager/synapse/armsynapse Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    Java azure-resourcemanager-dataprotection Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    Java azure-resourcemanager-network-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.
    Java azure-resourcemanager-securityinsights Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    Java azure-resourcemanager-synapse Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    JavaScript @azure/arm-dataprotectionplatform Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    JavaScript @azure/arm-network Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    JavaScript @azure/arm-securityinsight Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    JavaScript @azure/arm-synapse Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    .Net Azure.ResourceManager.DataProtectionBackup Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    .Net Azure.ResourceManager.Network Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    .Net Azure.ResourceManager.SecurityInsights Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    .Net Azure.ResourceManager.Synapse Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.

    @workflow-bot-test
    Copy link
    Copy Markdown

    Hi @ruowan, 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.
    Note: To avoid breaking change, you can refer to Shift Left Solution for detecting breaking change in early phase at your service code repository.

    @anjorsh anjorsh force-pushed the dev-dataprotection-Microsoft.DataProtection-2022-11-01-preview branch from 986012a to 6de0216 Compare November 24, 2022 03:17
    This was referenced Dec 15, 2022
    Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    4 participants