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

{OperationalInsight} Ingestion value was removed from the DataSourceT… #19365

Merged
merged 1 commit into from
Jun 14, 2022

Conversation

navba-MSFT
Copy link
Contributor

@navba-MSFT navba-MSFT commented Jun 8, 2022

…ype enum

The API version 2020-03-01-preview supported DataSourceType enum with 'Ingestion' as one of the valid values for log analytics linked storage account.
However, this value was removed in 2020-08-01 leading to 'Invalid value' error when storage accounts are linked to a workspace where the data source type is specified as Ingestion.

Choose a PR Template

Switch to "Preview" on this description then select one of the choices below.

Click here to open a PR for a Data Plane API.

Click here to open a PR for a Control Plane (ARM) API.

fixes Azure/azure-sdk-for-go#18322

…ype enum

The API version 2020-03-01-preview supported DataSourceType enum with 'Ingestion' as one of the valid values for log analytics linked storage account.
However, this value was removed in 2020-08-01 leading to 'Invalid value' error when storage accounts are linked to a workspace where the data source type is specified as Ingestion.
@openapi-workflow-bot
Copy link

Hi, @navba-MSFT 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

    1 similar comment
    @openapi-workflow-bot
    Copy link

    Hi, @navba-MSFT 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 Jun 8, 2022

    Swagger Validation Report

    ️❌BreakingChange: 5 Errors, 0 Warnings failed [Detail]
    Rule Message
    1020 - AddedEnumValue The new version is adding enum value(s) 'Ingestion' from the old version.
    New: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L49:9
    1020 - AddedEnumValue The new version is adding enum value(s) 'Ingestion' from the old version.
    New: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L201:9
    Old: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L201:9
    1020 - AddedEnumValue The new version is adding enum value(s) 'Ingestion' from the old version.
    New: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L95:9
    1020 - AddedEnumValue The new version is adding enum value(s) 'Ingestion' from the old version.
    New: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L129:9
    1020 - AddedEnumValue The new version is adding enum value(s) 'Ingestion' from the old version.
    New: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L258:5
    Old: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L257:5
    ️⚠️LintDiff: 0 Warnings warning [Detail]
    The following errors/warnings exist before current PR submission:
    Rule Message
    R4010 - RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L75
    R4010 - RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L75
    R4010 - RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L75
    R4010 - RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L75
    R4010 - RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L112
    R4010 - RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L112
    R4010 - RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L112
    R4010 - RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L112
    R4010 - RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L146
    R4010 - RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L146
    R4010 - RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L146
    R4010 - RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L146
    R4010 - RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L177
    R4010 - RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L177
    R4010 - RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L177
    R4010 - RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L177
    R4011 - DeleteOperationResponses The delete operation is defined without a 200 or 204 error response implementation,please add it.'
    Location: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L112
    R4011 - DeleteOperationResponses The delete operation is defined without a 200 or 204 error response implementation,please add it.'
    Location: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L112
    R4011 - DeleteOperationResponses The delete operation is defined without a 200 or 204 error response implementation,please add it.'
    Location: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L112
    R4011 - DeleteOperationResponses The delete operation is defined without a 200 or 204 error response implementation,please add it.'
    Location: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L112
    R4037 - MissingTypeObject The schema 'LinkedStorageAccountsResource' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L226
    R4037 - MissingTypeObject The schema 'LinkedStorageAccountsResource' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L226
    R4037 - MissingTypeObject The schema 'LinkedStorageAccountsResource' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L226
    R4037 - MissingTypeObject The schema 'LinkedStorageAccountsResource' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L226
    R4037 - MissingTypeObject The schema 'LinkedStorageAccountsListResult' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L244
    R4037 - MissingTypeObject The schema 'LinkedStorageAccountsListResult' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L244
    R4037 - MissingTypeObject The schema 'LinkedStorageAccountsListResult' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L244
    R4037 - MissingTypeObject The schema 'LinkedStorageAccountsListResult' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L244
    ⚠️ R4009 - RequiredReadOnlySystemData The response of operation:'LinkedStorageAccounts_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L38
    ⚠️ R4009 - RequiredReadOnlySystemData The response of operation:'LinkedStorageAccounts_Get' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json#L118
    ️⚠️Avocado: 1 Warnings warning [Detail]
    Rule Message
    ⚠️ MULTIPLE_API_VERSION The default tag contains multiple API versions swaggers.
    readme: specification/operationalinsights/resource-manager/readme.md
    tag: specification/operationalinsights/resource-manager/readme.md#tag-package-2022-02
    ️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️Cross-Version Breaking Changes succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️️✔️PoliCheck succeeded [Detail] [Expand]
    Validation passed for PoliCheck.
    ️️✔️SDK Track2 Validation succeeded [Detail] [Expand]
    Validation passes for SDKTrack2Validation

    ️️✔️PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    ️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
    Validation passes for Lint(RPaaS).
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jun 8, 2022

    Swagger Generation Artifacts

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

    Breaking Changes Tracking

    ️✔️azure-sdk-for-go-track2 - armoperationalinsights - 1.1.0
    ️✔️azure-sdk-for-python-track2 - track2_azure-mgmt-loganalytics - 13.0.0b4
    azure-sdk-for-go - operationalinsights/mgmt/2020-10-01/operationalinsights - v65.0.0
    +	Field `MaxCapacityReservationLevel` of struct `WorkspaceSku` has been removed
    +	Field `MaxCapacity` of struct `CapacityReservationProperties` has been removed
    azure-sdk-for-go - operationalinsights/mgmt/2020-08-01/operationalinsights - v65.0.0
    +	Field `AdditionalInfo` of struct `ErrorResponse` has been removed
    +	Field `Code` of struct `ErrorResponse` has been removed
    +	Field `Details` of struct `ErrorResponse` has been removed
    +	Field `Message` of struct `ErrorResponse` has been removed
    +	Field `Target` of struct `ErrorResponse` has been removed
    +	Function `ErrorResponse.MarshalJSON` has been removed
    +	Struct `ClusterErrorResponse` has been removed
    +	Struct `DataExportErrorResponse` has been removed
    +	Struct `ErrorContract` has been removed
    ️✔️azure-sdk-for-go - operationalinsights/mgmt/2015-03-20/operationalinsights - v65.0.0
    ️✔️azure-sdk-for-go - preview/operationalinsights/mgmt/2021-12-01-preview/operationalinsights - v65.0.0
    ️✔️azure-sdk-for-go - preview/operationalinsights/mgmt/2020-03-01-preview/operationalinsights - v65.0.0
    ️✔️azure-sdk-for-go - preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights - v65.0.0
    azure-sdk-for-js - @azure/arm-operationalinsights - 9.0.0-beta.1
    ️❌ azure-sdk-for-net failed [Detail]
    • Failed [Logs]Release - Generate from 03a43aa. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	sudo apt-get install -y dotnet-sdk-6.0
      command	autorest --version=2.0.4421 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.csharp@2.3.82 --csharp-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/operationalinsights/resource-manager/readme.md
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] FATAL: System.InvalidOperationException: Swagger document contains two or more x-ms-enum extensions with the same name 'IdentityType' and different values: user,application,managedIdentity,key vs. SystemAssigned,UserAssigned,None
      cmderr	[Autorest]    at AutoRest.Modeler.ObjectBuilder.BuildServiceType(String serviceTypeName, Boolean required) in /opt/vsts/work/1/s/src/ObjectBuilder.cs:line 150
      cmderr	[Autorest]    at AutoRest.Modeler.SchemaBuilder.ParentBuildServiceType(String serviceTypeName, Boolean required) in /opt/vsts/work/1/s/src/SchemaBuilder.cs:line 217
      cmderr	[Autorest]    at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in /opt/vsts/work/1/s/src/SchemaBuilder.cs:line 48
      cmderr	[Autorest]    at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in /opt/vsts/work/1/s/src/SchemaBuilder.cs:line 133
      cmderr	[Autorest]    at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in /opt/vsts/work/1/s/src/SchemaBuilder.cs:line 133
      cmderr	[Autorest]    at AutoRest.Modeler.SwaggerModeler.BuildCompositeTypes() in /opt/vsts/work/1/s/src/SwaggerModeler.cs:line 348
      cmderr	[Autorest]    at AutoRest.Modeler.SwaggerModeler.Build(ServiceDefinition serviceDefinition) in /opt/vsts/work/1/s/src/SwaggerModeler.cs:line 66
      cmderr	[Autorest]    at AutoRest.Modeler.Program.<ProcessInternal>d__2.MoveNext() in /opt/vsts/work/1/s/src/Program.cs:line 60
      cmderr	[Autorest] --- End of stack trace from previous location where exception was thrown ---
      cmderr	[Autorest]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      cmderr	[Autorest]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      cmderr	[Autorest]    at NewPlugin.<Process>d__15.MoveNext()
      cmderr	[Autorest] FATAL: csharp/imodeler1 - FAILED
      cmderr	[Autorest] FATAL: Error: Plugin imodeler1 reported failure.
      cmderr	[Autorest]   Error: Plugin imodeler1 reported failure.
      error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-net]: autorest
      warn	Skip package processing as generation is failed
    ️❌ azure-sdk-for-go failed [Detail]
    • Failed [Logs]Release - Generate from 03a43aa. 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
      Validation Failed: {"message":"Only the pull request author may change the maintainer_can_modify value","resource":"PullRequest","field":"maintainer_can_modify","code":"invalid"}
      HttpError: Validation Failed: {"message":"Only the pull request author may change the maintainer_can_modify value","resource":"PullRequest","field":"maintainer_can_modify","code":"invalid"}
          at /mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/@octokit+request@5.6.3_encoding@0.1.13/node_modules/@octokit/request/dist-node/index.js:86:21
          at runMicrotasks (<anonymous>)
          at processTicksAndRejections (internal/process/task_queues.js:95:5)
          at async workflowPkgUpdatePR (/mnt/vss/_work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/workflowPackage.js:326:9)
          at async Object.exports.workflowPkgMain (/mnt/vss/_work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/workflowPackage.js:41:5)
          at async workflowHandleReadmeMd (/mnt/vss/_work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/workflow.js:172:9)
          at async Object.exports.workflowMain (/mnt/vss/_work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/workflow.js:83:9)
          at async Object.exports.sdkAutoMain (/mnt/vss/_work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/entrypoint.js:152:13)
          at async /mnt/vss/_work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/cli/cli.js:20:18
    • ️✔️armoperationalinsights [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
      error	Fatal error: Validation Failed: {"message":"Only the pull request author may change the maintainer_can_modify value","resource":"PullRequest","field":"maintainer_can_modify","code":"invalid"}
      error	The following packages are still pending:
      error		armoperationalinsights
    ️️✔️ azure-sdk-for-go-track2 succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from 273922f4a58936615ad22e4c09938aeb92d4bfa0. 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
    • ️✔️armoperationalinsights [View full logs]  [Preview SDK Changes]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New const `DataSourceTypeIngestion`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 1 additive change(s).
    ️❌ azure-sdk-for-python-track2 failed [Detail]
    • Failed [Logs]Release - Generate from 03a43aa. 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.
      cmderr	[automation_generate.sh] npm notice
      cmderr	[automation_generate.sh] npm notice New minor version of npm available! 8.11.0 -> 8.12.1
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.12.1>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g npm@8.12.1` to update!
      cmderr	[automation_generate.sh] npm notice
      Validation Failed: {"message":"Only the pull request author may change the maintainer_can_modify value","resource":"PullRequest","field":"maintainer_can_modify","code":"invalid"}
      HttpError: Validation Failed: {"message":"Only the pull request author may change the maintainer_can_modify value","resource":"PullRequest","field":"maintainer_can_modify","code":"invalid"}
          at /mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/@octokit+request@5.6.3_encoding@0.1.13/node_modules/@octokit/request/dist-node/index.js:86:21
          at runMicrotasks (<anonymous>)
          at processTicksAndRejections (internal/process/task_queues.js:95:5)
          at async workflowPkgUpdatePR (/mnt/vss/_work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/workflowPackage.js:326:9)
          at async Object.exports.workflowPkgMain (/mnt/vss/_work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/workflowPackage.js:41:5)
          at async workflowHandleReadmeMd (/mnt/vss/_work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/workflow.js:172:9)
          at async Object.exports.workflowMain (/mnt/vss/_work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/workflow.js:83:9)
          at async Object.exports.sdkAutoMain (/mnt/vss/_work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/entrypoint.js:152:13)
          at async /mnt/vss/_work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/cli/cli.js:20:18
    • ️✔️track2_azure-mgmt-loganalytics [View full logs
      info	[Changelog]
      error	Fatal error: Validation Failed: {"message":"Only the pull request author may change the maintainer_can_modify value","resource":"PullRequest","field":"maintainer_can_modify","code":"invalid"}
      error	The following packages are still pending:
      error		track2_azure-mgmt-loganalytics
    ️❌ azure-sdk-for-js failed [Detail]
    • Failed [Logs]Release - Generate from 03a43aa. SDK Automation 14.0.0
      command	sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json
      cmderr	[automation_init.sh]  deprecated read-package-tree@5.1.6: The functionality that this package provided is now in @npmcli/arborist
      cmderr	[automation_init.sh] deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
      cmderr	[automation_init.sh] npm WARN deprecated @opentelemetry/types@0.2.0: Package renamed to @opentelemetry/api, see https://github.com/open-telemetry/opentelemetry-js
      cmderr	[automation_init.sh] WARN deprecated @azure/storage-blob@10.5.0: This version has been deprecated, please upgrade to the version tagged as latest
      cmderr	[automation_init.sh] npm WARN @octokit/plugin-request-log@1.0.4 requires a peer of @octokit/core@>=3 but none is installed. You must install peer dependencies yourself.
      warn	File azure-sdk-for-js_tmp/initOutput.json not found to read
      command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
      Validation Failed: {"message":"Only the pull request author may change the maintainer_can_modify value","resource":"PullRequest","field":"maintainer_can_modify","code":"invalid"}
      HttpError: Validation Failed: {"message":"Only the pull request author may change the maintainer_can_modify value","resource":"PullRequest","field":"maintainer_can_modify","code":"invalid"}
          at /mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/@octokit+request@5.6.3_encoding@0.1.13/node_modules/@octokit/request/dist-node/index.js:86:21
          at runMicrotasks (<anonymous>)
          at processTicksAndRejections (internal/process/task_queues.js:95:5)
          at async workflowPkgUpdatePR (/mnt/vss/_work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/workflowPackage.js:326:9)
          at async Object.exports.workflowPkgMain (/mnt/vss/_work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/workflowPackage.js:41:5)
          at async workflowHandleReadmeMd (/mnt/vss/_work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/workflow.js:172:9)
          at async Object.exports.workflowMain (/mnt/vss/_work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/workflow.js:87:13)
          at async Object.exports.sdkAutoMain (/mnt/vss/_work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/entrypoint.js:152:13)
          at async /mnt/vss/_work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/cli/cli.js:20:18
    • ️✔️@azure/arm-operationalinsights [View full logsBreaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Added operation group Queries
      info	[Changelog]   - Added operation group QueryPacks
      info	[Changelog]   - Added operation group SchemaOperations
      info	[Changelog]   - Added operation Tables.beginCreateOrUpdate
      info	[Changelog]   - Added operation Tables.beginCreateOrUpdateAndWait
      info	[Changelog]   - Added operation Tables.beginDelete
      info	[Changelog]   - Added operation Tables.beginDeleteAndWait
      info	[Changelog]   - Added operation Tables.beginUpdate
      info	[Changelog]   - Added operation Tables.beginUpdateAndWait
      info	[Changelog]   - Added operation Tables.migrate
      info	[Changelog]   - Added Interface AzureResourceProperties
      info	[Changelog]   - Added Interface Column
      info	[Changelog]   - Added Interface LogAnalyticsQueryPackListResult
      info	[Changelog]   - Added Interface LogAnalyticsQueryPackQueryListResult
      info	[Changelog]   - Added Interface LogAnalyticsQueryPackQueryPropertiesRelated
      info	[Changelog]   - Added Interface LogAnalyticsQueryPackQuerySearchProperties
      info	[Changelog]   - Added Interface LogAnalyticsQueryPackQuerySearchPropertiesRelated
      info	[Changelog]   - Added Interface QueriesDeleteOptionalParams
      info	[Changelog]   - Added Interface QueriesGetOptionalParams
      info	[Changelog]   - Added Interface QueriesListNextOptionalParams
      info	[Changelog]   - Added Interface QueriesListOptionalParams
      info	[Changelog]   - Added Interface QueriesPutOptionalParams
      info	[Changelog]   - Added Interface QueriesSearchNextOptionalParams
      info	[Changelog]   - Added Interface QueriesSearchOptionalParams
      info	[Changelog]   - Added Interface QueriesUpdateOptionalParams
      info	[Changelog]   - Added Interface QueryPacksCreateOrUpdateOptionalParams
      info	[Changelog]   - Added Interface QueryPacksDeleteOptionalParams
      info	[Changelog]   - Added Interface QueryPacksGetOptionalParams
      info	[Changelog]   - Added Interface QueryPacksListByResourceGroupNextOptionalParams
      info	[Changelog]   - Added Interface QueryPacksListByResourceGroupOptionalParams
      info	[Changelog]   - Added Interface QueryPacksListNextOptionalParams
      info	[Changelog]   - Added Interface QueryPacksListOptionalParams
      info	[Changelog]   - Added Interface QueryPacksResource
      info	[Changelog]   - Added Interface QueryPacksUpdateTagsOptionalParams
      info	[Changelog]   - Added Interface RestoredLogs
      info	[Changelog]   - Added Interface ResultStatistics
      info	[Changelog]   - Added Interface Schema
      info	[Changelog]   - Added Interface SearchResults
      info	[Changelog]   - Added Interface SystemData
      info	[Changelog]   - Added Interface SystemDataAutoGenerated
      info	[Changelog]   - Added Interface TablesCreateOrUpdateOptionalParams
      info	[Changelog]   - Added Interface TablesDeleteOptionalParams
      info	[Changelog]   - Added Interface TablesMigrateOptionalParams
      info	[Changelog]   - Added Interface TagsResource
      info	[Changelog]   - Added Type Alias ColumnDataTypeHintEnum
      info	[Changelog]   - Added Type Alias ColumnTypeEnum
      info	[Changelog]   - Added Type Alias CreatedByType
      info	[Changelog]   - Added Type Alias LogAnalyticsQueryPack
      info	[Changelog]   - Added Type Alias LogAnalyticsQueryPackQuery
      info	[Changelog]   - Added Type Alias ProvisioningStateEnum
      info	[Changelog]   - Added Type Alias QueriesGetResponse
      info	[Changelog]   - Added Type Alias QueriesListNextResponse
      info	[Changelog]   - Added Type Alias QueriesListResponse
      info	[Changelog]   - Added Type Alias QueriesPutResponse
      info	[Changelog]   - Added Type Alias QueriesSearchNextResponse
      info	[Changelog]   - Added Type Alias QueriesSearchResponse
      info	[Changelog]   - Added Type Alias QueriesUpdateResponse
      info	[Changelog]   - Added Type Alias QueryPacksCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias QueryPacksGetResponse
      info	[Changelog]   - Added Type Alias QueryPacksListByResourceGroupNextResponse
      info	[Changelog]   - Added Type Alias QueryPacksListByResourceGroupResponse
      info	[Changelog]   - Added Type Alias QueryPacksListNextResponse
      info	[Changelog]   - Added Type Alias QueryPacksListResponse
      info	[Changelog]   - Added Type Alias QueryPacksUpdateTagsResponse
      info	[Changelog]   - Added Type Alias SourceEnum
      info	[Changelog]   - Added Type Alias TablePlanEnum
      info	[Changelog]   - Added Type Alias TablesCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias TableSubTypeEnum
      info	[Changelog]   - Added Type Alias TableTypeEnum
      info	[Changelog]   - Interface TablesUpdateOptionalParams has a new optional parameter resumeFrom
      info	[Changelog]   - Interface TablesUpdateOptionalParams has a new optional parameter updateIntervalInMs
      info	[Changelog]   - Class OperationalInsightsManagementClient has a new parameter queries
      info	[Changelog]   - Class OperationalInsightsManagementClient has a new parameter queryPacks
      info	[Changelog]   - Class OperationalInsightsManagementClient has a new parameter schemaOperations
      info	[Changelog]   - Type Alias Table has a new parameter systemData
      info	[Changelog]   - Type Alias Table has a new parameter totalRetentionInDays
      info	[Changelog]   - Type Alias Table has a new parameter archiveRetentionInDays
      info	[Changelog]   - Type Alias Table has a new parameter searchResults
      info	[Changelog]   - Type Alias Table has a new parameter restoredLogs
      info	[Changelog]   - Type Alias Table has a new parameter resultStatistics
      info	[Changelog]   - Type Alias Table has a new parameter plan
      info	[Changelog]   - Type Alias Table has a new parameter lastPlanModifiedDate
      info	[Changelog]   - Type Alias Table has a new parameter schema
      info	[Changelog]   - Type Alias Table has a new parameter provisioningState
      info	[Changelog]   - Type Alias Workspace has a new parameter systemData
      info	[Changelog]   - Type Alias Workspace has a new parameter defaultDataCollectionRuleResourceId
      info	[Changelog]   - Type Alias WorkspacePatch has a new parameter defaultDataCollectionRuleResourceId
      info	[Changelog]   - Added Enum KnownColumnDataTypeHintEnum
      info	[Changelog]   - Added Enum KnownColumnTypeEnum
      info	[Changelog]   - Added Enum KnownCreatedByType
      info	[Changelog]   - Added Enum KnownIdentityType
      info	[Changelog]   - Added Enum KnownProvisioningStateEnum
      info	[Changelog]   - Added Enum KnownSourceEnum
      info	[Changelog]   - Added Enum KnownTablePlanEnum
      info	[Changelog]   - Added Enum KnownTableSubTypeEnum
      info	[Changelog]   - Added Enum KnownTableTypeEnum
      info	[Changelog]
      info	[Changelog] **Breaking Changes**
      info	[Changelog]
      info	[Changelog]   - Removed operation group Schema
      info	[Changelog]   - Removed operation Tables.create
      info	[Changelog]   - Removed operation Tables.update
      info	[Changelog]   - Class OperationalInsightsManagementClient no longer has parameter schema
      info	[Changelog]   - Type Alias Table no longer has parameter isTroubleshootingAllowed
      info	[Changelog]   - Type Alias Table no longer has parameter isTroubleshootEnabled
      info	[Changelog]   - Type Alias Table no longer has parameter lastTroubleshootDate
      error	Fatal error: Validation Failed: {"message":"Only the pull request author may change the maintainer_can_modify value","resource":"PullRequest","field":"maintainer_can_modify","code":"invalid"}
      error	The following packages are still pending:
      error		@azure/arm-operationalinsights
    ️❌ azure-sdk-for-java failed [Detail]
    • Failed [Logs]Release - Generate from 03a43aa. SDK Automation 14.0.0
      command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
      command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
      cmderr	[generate.py] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
      cmderr	[generate.py] SLF4J: Defaulting to no-operation (NOP) logger implementation
      cmderr	[generate.py] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
      Validation Failed: {"message":"Only the pull request author may change the maintainer_can_modify value","resource":"PullRequest","field":"maintainer_can_modify","code":"invalid"}
      HttpError: Validation Failed: {"message":"Only the pull request author may change the maintainer_can_modify value","resource":"PullRequest","field":"maintainer_can_modify","code":"invalid"}
          at /mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/@octokit+request@5.6.3_encoding@0.1.13/node_modules/@octokit/request/dist-node/index.js:86:21
          at runMicrotasks (<anonymous>)
          at processTicksAndRejections (internal/process/task_queues.js:95:5)
          at async workflowPkgUpdatePR (/mnt/vss/_work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/workflowPackage.js:326:9)
          at async Object.exports.workflowPkgMain (/mnt/vss/_work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/workflowPackage.js:41:5)
          at async workflowHandleReadmeMd (/mnt/vss/_work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/workflow.js:172:9)
          at async Object.exports.workflowMain (/mnt/vss/_work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/workflow.js:87:13)
          at async Object.exports.sdkAutoMain (/mnt/vss/_work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/entrypoint.js:152:13)
          at async /mnt/vss/_work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/cli/cli.js:20:18
    • ️✔️azure-resourcemanager-loganalytics [View full logs
      error	Fatal error: Validation Failed: {"message":"Only the pull request author may change the maintainer_can_modify value","resource":"PullRequest","field":"maintainer_can_modify","code":"invalid"}
      error	The following packages are still pending:
      error		azure-resourcemanager-loganalytics
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 03a43aa. Schema Automation 14.0.0
      command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
      cmderr	[initScript.sh] WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile The package-lock.json file was created with an old version of npm,
      cmderr	[initScript.sh] npm WARN old lockfile so supplemental metadata must be fetched from the registry.
      cmderr	[initScript.sh] npm WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile This is a one-time fix-up, please be patient...
      cmderr	[initScript.sh] npm WARN old lockfile
      warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
      command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
    • ️✔️operationalinsights [View full logs]  [Release Schema Changes]
    ️❌ azure-powershell failed [Detail]
    • Failed [Logs]Release - Generate from 03a43aa. 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
    • Az.operationalinsights [View full logs]  [Release SDK Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @navba-MSFT
    Copy link
    Contributor Author

    @yoramsinger Could you please review this PR once you get a chance ?

    @yoramsinger
    Copy link
    Contributor

    Looks fine.

    @navba-MSFT
    Copy link
    Contributor Author

    @yoramsinger @yossi-y @OlegAnaniev-MSFT Thanks for approving this. Could you please merge this once you get a chance ? Thanks in advance.

    @yoramsinger
    Copy link
    Contributor

    @akning-ms can you help us merge this fix, the actual API supports this additional enum, but for some reason it was not added in this version.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    bug This issue requires a change to an existing behavior in the product in order to be resolved. CI-BreakingChange-JavaScript
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    Error while specifying Ingestion as the data source type for linked storage accounts
    3 participants