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

Kushalmehrotra713 migrate microsoft.migrate 2023 04 01 preview diff pr #27009

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

kushalmehrotra713
Copy link
Contributor

@kushalmehrotra713 kushalmehrotra713 commented Dec 8, 2023

ARM (Control Plane) API Specification Update Pull Request

Tip: overwhelmed by all this guidance? See the Getting help section at the bottom of this PR description.

PR review workflow diagram

Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

diagram

Click here to see the details of Step 1

Breaking changes review (Diagram Step 1)

If the automation determines you have breaking changes, i.e. Step 1 from the diagram applies to you,
you must follow the breaking changes process.
IMPORTANT This applies even if:

  • The tool fails while it shouldn't, e.g. due to runtime exception, or incorrect detection of breaking changes.
  • You believe there is no need for you to request breaking change approval, for any reason.
    Such claims must be reviewed, and the process is the same.
Click here to see the details of Step 2

ARM API changes review (Diagram Step 2)

  • If this PR is in purview of ARM review then automation will add the ARMReview label.
  • If you want to force ARM review, add the label yourself.
  • Proceed according to the diagram at the top of this comment.
Click here to see the diagram footnotes

Diagram footnotes

[1] ARM review queue (for merge queues, see [2])
The PRs are processed by time opened, ascending. Your PR may show up on 2nd or later page.
If you addressed Step 1 from the diagram and your PR is not showing up in the queue, ensure the label ARMChangesRequested
is removed from your PR. This should cause the label WaitForARMFeedback to be added.
[2] public repo merge queue, private repo merge queue (for ARM review queue, [1])

If you need further help with anything, see Getting help section below.

Purpose of this PR

What's the purpose of this PR? Check all that apply. This is mandatory!

  • New API version. (If API spec is not defined in TypeSpec, the PR should have been generated using OpenAPI Hub).
  • Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
  • Update existing version to fix swagger quality issues in S360.
  • Other, please clarify:
    • edit this with your clarification

Due diligence checklist

To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:

  • I confirm this PR is modifying Azure Resource Manager (ARM) related specifications, and not data plane related specifications.
  • I have reviewed following Resource Provider guidelines, including
    ARM resource provider contract and
    REST guidelines (estimated time: 4 hours).
    I understand this is required before I can proceed to the Diagram Step 2, "ARM API changes Review", for this PR.

Additional information

Viewing API changes

For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.

Suppressing failures

If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
Swagger-Suppression-Process
to get approval.

Getting help

  • First, please carefully read through this PR description, from top to bottom. Please fill out the Purpose of this PR and Due diligence checklist.
  • To understand what you must do next to merge this PR, see the Next Steps to Merge comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.
  • For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
    and https://aka.ms/ci-fix.
  • If the PR CI checks appear to be stuck in queued state, please add a comment with contents /azp run.
    This should result in a new comment denoting a PR validation pipeline has started and the checks should be updated after few minutes.
  • If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.

Copy link

openapi-pipeline-app bot commented Dec 8, 2023

Next Steps to Merge

Next steps that must be taken to merge this PR:
  • ❌ Your PR is in purview of ARM review (label: ARMReview). Please ensure your PR is on the ARM PR review queue - see instructions in steps 1 and 2 in the PR description diagram.
  • ❌ The required check named Swagger PrettierCheck has failed. Refer to the check in the PR's 'Checks' tab for details on how to fix it.
  • ❌ The required check named Swagger SpellCheck has failed. Refer to the check in the PR's 'Checks' tab for details on how to fix it.

Copy link

openapi-pipeline-app bot commented Dec 8, 2023

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️❌Breaking Change(Cross-Version): 2 Errors, 0 Warnings failed [Detail] The following breaking changes are detected by comparison with the latest stable version:
Rule Message
Runtime Exception "new":"https://github.com/Azure/azure-rest-api-specs/blob/67fef25dec4a1cfc008811014e6ce0919664a657/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/migrate.json",
"old":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2023-03-15/migrate.json",
"details":"Breaking change detector (OAD) invoked AutoRest. AutoRest threw a runtime error. First 6 lines of stack trace follow,
indexed. First line should contain AutoRest command line invocation details. Second line should contain the main message reported by AutoRest.
====================
1: Command failed: node "/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.66/common/temp/node_modules/.pnpm/@Azure[email protected]/node_modules/autorest/dist/app.js" --v2 --input-file=specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/migrate.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=new --output-folder=/tmp
--------------------
2: ERROR: Referenced file 'file:///mnt/vss/work/1/azure-rest-api-specs/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/examples/WebAppCollectorOperations_Delete_MaximumSetGen.json' not found
--------------------
3: - file:///mnt/vss/work/1/azure-rest-api-specs/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/migrate.json:3724:12 ($.paths["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Migrate/assessmentProjects/projectName/webappcollectors/collectorName"].delete["x-ms-examples"].WebAppCollectorOperations_Delete_MaximumSetGen["$ref"])
--------------------
4: FATAL: swagger-document/loader - FAILED
--------------------
5: FATAL: Error: [OperationAbortedException] Error occurred. Exiting.
--------------------
6: Process() cancelled due to exception : [OperationAbortedException] Error occurred. Exiting.
--------------------"


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

Rule Message
Runtime Exception "new":"https://github.com/Azure/azure-rest-api-specs/blob/67fef25dec4a1cfc008811014e6ce0919664a657/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/migrate.json",
"old":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/migrate.json",
"details":"Breaking change detector (OAD) invoked AutoRest. AutoRest threw a runtime error. First 6 lines of stack trace follow,
indexed. First line should contain AutoRest command line invocation details. Second line should contain the main message reported by AutoRest.
====================
1: Command failed: node "/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.66/common/temp/node_modules/.pnpm/@Azure[email protected]/node_modules/autorest/dist/app.js" --v2 --input-file=specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/migrate.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=new --output-folder=/tmp
--------------------
2: ERROR: Referenced file 'file:///mnt/vss/work/1/azure-rest-api-specs/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/examples/WebAppCollectorOperations_Delete_MaximumSetGen.json' not found
--------------------
3: - file:///mnt/vss/work/1/azure-rest-api-specs/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/migrate.json:3724:12 ($.paths["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Migrate/assessmentProjects/projectName/webappcollectors/collectorName"].delete["x-ms-examples"].WebAppCollectorOperations_Delete_MaximumSetGen["$ref"])
--------------------
4: FATAL: swagger-document/loader - FAILED
--------------------
5: FATAL: Error: [OperationAbortedException] Error occurred. Exiting.
--------------------
6: Process() cancelled due to exception : [OperationAbortedException] Error occurred. Exiting.
--------------------"
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️❌LintDiff: 276 Errors, 11 Warnings failed [Detail]
compared tags (via openapi-validator v2.1.6) new version base version
package-preview-2023-04 package-preview-2023-04(67fef25) default(main)

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

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

Rule Message Related RPC [For API reviewers]
invalid-ref Could not read file: file:///mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/examples/AksOptionsOperations_ListByAssessmentProject_MaximumSet_Gen.json .
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L190
invalid-ref Could not read file: file:///mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/examples/AksOptionsOperations_Get_MaximumSet_Gen.json .
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L245
invalid-ref Could not read file: file:///mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/examples/AksAssessmentOperations_ListByAssessmentProject_MaximumSet_Gen.json .
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L325
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L368
invalid-ref Could not read file: file:///mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/examples/AksAssessmentOperations_Get_MaximumSet_Gen.json .
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L380
RequestBodyMustExistForPutPatch The put or patch operation does not have a request body defined. This is not allowed. Please specify a request body for this operation.
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L391
RPC-Put-V1-28, RPC-Patch-V1-12
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L430
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L436
invalid-ref Could not read file: file:///mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/examples/AksAssessmentOperations_Create_MaximumSet_Gen.json .
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L459
invalid-ref Could not read file: file:///mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/examples/AksAssessmentOperations_Delete_MaximumSet_Gen.json .
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L512
invalid-ref Could not read file: file:///mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/examples/AssessedWebApplicationOperations_ListByAksAssessment_MaximumSet_Gen.json .
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L600
invalid-ref Could not read file: file:///mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/examples/AssessedWebApplicationOperations_Get_MaximumSet_Gen.json .
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L663
invalid-ref Could not read file: file:///mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/examples/AksClusterOperations_ListByAksAssessment_MaximumSet_Gen.json .
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L728
invalid-ref Could not read file: file:///mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/examples/AksClusterOperations_Get_MaximumSet_Gen.json .
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L791
invalid-ref Could not read file: file:///mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/examples/AksCostDetailOperations_ListByAksAssessment_MaximumSet_Gen.json .
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L856
invalid-ref Could not read file: file:///mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/examples/AksAssessmentOperations_DownloadUrl_MaximumSet_Gen.json .
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L938
invalid-ref Could not read file: file:///mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/examples/AksSummaryOperations_ListByAksAssessment_MaximumSet_Gen.json .
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L996
invalid-ref Could not read file: file:///mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/examples/AksSummaryOperations_Get_MaximumSet_Gen.json .
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L1059
invalid-ref Could not read file: file:///mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/examples/BusinessCaseOperations_ListByAssessmentProject_MaximumSet_Gen.json .
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L1109
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L1152
invalid-ref Could not read file: file:///mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/examples/BusinessCaseOperations_Get_MaximumSet_Gen.json .
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L1164
RequestBodyMustExistForPutPatch The put or patch operation does not have a request body defined. This is not allowed. Please specify a request body for this operation.
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L1175
RPC-Put-V1-28, RPC-Patch-V1-12


The following errors/warnings exist before current PR submission:

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

Rule Message
PropertiesTypeObjectNoDefinition Properties with type:object that don't reference a model definition are not allowed. ARM doesn't allow generic type definitions as this leads to bad customer experience.
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L4658
PropertiesTypeObjectNoDefinition Properties with type:object that don't reference a model definition are not allowed. ARM doesn't allow generic type definitions as this leads to bad customer experience.
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L10770
PropertiesTypeObjectNoDefinition Properties with type:object that don't reference a model definition are not allowed. ARM doesn't allow generic type definitions as this leads to bad customer experience.
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L12665
PropertiesTypeObjectNoDefinition Properties with type:object that don't reference a model definition are not allowed. ARM doesn't allow generic type definitions as this leads to bad customer experience.
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L12741
⚠️ 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: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L4407
⚠️ 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: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L4411
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L4804
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L4876
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L5135
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L5696
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L5708
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L5724
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L6045
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L6057
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L6079
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L6211
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L6258
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L6321
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L6333
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L6483
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L6754
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L9957
️❌Avocado: 117 Errors, 0 Warnings failed [Detail]

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

Rule Message
NO_JSON_FILE_FOUND The JSON file is not found but it is referenced from the readme file.
readme: specification/migrate/resource-manager/readme.md
json: preview/2023-04-01-preview/examples/WebAppCollectorOperations_Delete_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/migrate/resource-manager/readme.md
json: preview/2023-04-01-preview/examples/AssessedMachinesOperations_Get_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/migrate/resource-manager/readme.md
json: preview/2023-04-01-preview/examples/AssessedMachinesOperations_ListByAssessment_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/migrate/resource-manager/readme.md
json: preview/2023-04-01-preview/examples/AssessedSqlDatabaseV2Operations_Get_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/migrate/resource-manager/readme.md
json: preview/2023-04-01-preview/examples/AssessedSqlDatabaseV2Operations_ListBySqlAssessmentV2_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/migrate/resource-manager/readme.md
json: preview/2023-04-01-preview/examples/AssessedSqlInstanceV2Operations_Get_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/migrate/resource-manager/readme.md
json: preview/2023-04-01-preview/examples/AssessedSqlInstanceV2Operations_ListBySqlAssessmentV2_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/migrate/resource-manager/readme.md
json: preview/2023-04-01-preview/examples/AssessedSqlMachinesOperations_Get_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/migrate/resource-manager/readme.md
json: preview/2023-04-01-preview/examples/AssessedSqlMachinesOperations_ListBySqlAssessmentV2_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/migrate/resource-manager/readme.md
json: preview/2023-04-01-preview/examples/AssessedSqlRecommendedEntityOperations_Get_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/migrate/resource-manager/readme.md
json: preview/2023-04-01-preview/examples/AssessedSqlRecommendedEntityOperations_ListBySqlAssessmentV2_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/migrate/resource-manager/readme.md
json: preview/2023-04-01-preview/examples/AssessmentOptionsOperations_Get_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/migrate/resource-manager/readme.md
json: preview/2023-04-01-preview/examples/AssessmentOptionsOperations_ListByAssessmentProject_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/migrate/resource-manager/readme.md
json: preview/2023-04-01-preview/examples/AssessmentProjectSummaryOperations_Get_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/migrate/resource-manager/readme.md
json: preview/2023-04-01-preview/examples/AssessmentProjectSummaryOperations_ListByAssessmentProject_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/migrate/resource-manager/readme.md
json: preview/2023-04-01-preview/examples/AssessmentProjectsOperations_Create_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/migrate/resource-manager/readme.md
json: preview/2023-04-01-preview/examples/AssessmentProjectsOperations_Delete_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/migrate/resource-manager/readme.md
json: preview/2023-04-01-preview/examples/AssessmentProjectsOperations_Get_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/migrate/resource-manager/readme.md
json: preview/2023-04-01-preview/examples/AssessmentProjectsOperations_ListByResourceGroup_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/migrate/resource-manager/readme.md
json: preview/2023-04-01-preview/examples/AssessmentProjectsOperations_ListBySubscription_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/migrate/resource-manager/readme.md
json: preview/2023-04-01-preview/examples/AssessmentProjectsOperations_Update_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/migrate/resource-manager/readme.md
json: preview/2023-04-01-preview/examples/AssessmentsOperations_Create_MaximumSet_Gen.json
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
️❌ModelValidation: 2 Errors, 0 Warnings failed [Detail]
Rule Message
unacceptable kind of an object to dump [object Error] "role":"Model Validation",
"url":"https://github.com/Azure/azure-rest-api-specs/blob/67fef25dec4a1cfc008811014e6ce0919664a657/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/migrate.json"
unacceptable kind of an object to dump [object Error] "role":"Model Validation",
"url":"https://github.com/Azure/azure-rest-api-specs/blob/67fef25dec4a1cfc008811014e6ce0919664a657/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/migrate.json"
️❌SemanticValidation: 1 Errors, 0 Warnings failed [Detail]
Rule Message
INTERNAL_ERROR Unexpected internal error: ENOENT: no such file or directory, open '/mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/examples/AksOptionsOperations_ListByAssessmentProject_MaximumSet_Gen.json' Error: ENOENT: no such file or directory, open '/mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/examples/AksOptionsOperations_ListByAssessmentProject_MaximumSet_Gen.json'
JsonUrl: AssessmentProjects/preview/2023-04-01-preview/migrate.json
️️✔️PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️❌SpellCheck: 32 Errors, 0 Warnings failed [Detail]

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

Rule Message
HowToFix Unknown word (businesscases), please fix the error or add words to ./custom-words.txt
path: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L1065:134
HowToFix Unknown word (businesscases), please fix the error or add words to ./custom-words.txt
path: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L1115:134
HowToFix Unknown word (businesscases), please fix the error or add words to ./custom-words.txt
path: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L1302:134
HowToFix Unknown word (avssummaries), please fix the error or add words to ./custom-words.txt
path: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L1302:167
HowToFix Unknown word (businesscases), please fix the error or add words to ./custom-words.txt
path: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L1360:134
HowToFix Unknown word (avssummaries), please fix the error or add words to ./custom-words.txt
path: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L1360:167
HowToFix Unknown word (iaassummaries), please fix the error or add words to ./custom-words.txt
path: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L2193:167
HowToFix Unknown word (iaassummaries), please fix the error or add words to ./custom-words.txt
path: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L2251:167
HowToFix Unknown word (overviewsummaries), please fix the error or add words to ./custom-words.txt
path: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L2314:167
HowToFix Unknown word (overviewsummaries), please fix the error or add words to ./custom-words.txt
path: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L2372:167
HowToFix Unknown word (paassummaries), please fix the error or add words to ./custom-words.txt
path: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L2435:167
HowToFix Unknown word (paassummaries), please fix the error or add words to ./custom-words.txt
path: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L2493:167
HowToFix Unknown word (webappcollectors), please fix the error or add words to ./custom-words.txt
path: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L3492:134
HowToFix Unknown word (webappcollectors), please fix the error or add words to ./custom-words.txt
path: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L3542:134
HowToFix Unknown word (wacc), please fix the error or add words to ./custom-words.txt
path: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L6161:10
HowToFix Unknown word (Datacentre), please fix the error or add words to ./custom-words.txt
path: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L10936:10
HowToFix Unknown word (Datacentre), please fix the error or add words to ./custom-words.txt
path: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L10949:22
HowToFix Unknown word (Datacentre), please fix the error or add words to ./custom-words.txt
path: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L10950:23
HowToFix Unknown word (Datacentre), please fix the error or add words to ./custom-words.txt
path: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L10951:29
HowToFix Unknown word (decomission), please fix the error or add words to ./custom-words.txt
path: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L11049:10
HowToFix Unknown word (decomission), please fix the error or add words to ./custom-words.txt
path: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L12040:10
HowToFix Unknown word (Decommisioned), please fix the error or add words to ./custom-words.txt
path: AssessmentProjects/preview/2023-04-01-preview/migrate.json#L12075:31
️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
️️✔️Automated merging requirements met succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app bot commented Dec 8, 2023

Swagger Generation Artifacts

️❌ApiDocPreview: 1 Errors, 0 Warnings failed [Detail]
Rule Message
RestBuild error "logUrl":"https://apidrop.visualstudio.com/Content%20CI/_build/results?buildId=401933&view=logs&j=fd490c07-0b22-5182-fac9-6d67fe1e939b",
"detail":"Run.ps1 failed with exit code 1 "
️️✔️SDK Breaking Change Tracking succeeded [Detail] [Expand]

Breaking Changes Tracking

️❌ azure-sdk-for-net-track2 failed [Detail]
  • Failed [Logs] Generate from c9b6c084353ea91b1f20b0af2b418c7ab54554ed. 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
    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] �[31;1mGeneratePackage: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:714
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 714 | �[0m         �[36;1mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s�[0m …
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[36;1m     | �[31;1mFailed to generate sdk. exit code: False
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1mGet-ChildItem: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:807
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 807 | �[0m … rtifacts += �[36;1mGet-ChildItem $artifactsPath -Filter *.nupkg -exclude *.s�[0m …
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[36;1m     | �[31;1mCannot find path
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m'/mnt/vss/_work/1/s/azure-sdk-for-net/artifacts/packages/Debug/' because
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1mit does not exist.
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1mGeneratePackage: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:714
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 714 | �[0m         �[36;1mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s�[0m …
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[36;1m     | �[31;1mFailed to generate sdk artifact
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
  • Azure.ResourceManager.Migrate [View full logs]  [Preview SDK Changes]
    info	[Changelog]
️❌ azure-sdk-for-go failed [Detail]
  • Code Generator Failed [Logs] Generate from c9b6c084353ea91b1f20b0af2b418c7ab54554ed. 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
    cmderr	[generator automation-v2] [ERROR] total 1 error(s):
    cmderr	[generator automation-v2] [ERROR] failed to execute `go generate` '�[33;1mWARNING: Unable to find version for /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrate/armmigrate�[0m
    cmderr	[generator automation-v2] [ERROR] Cannot find go module under resourcemanager/migrate/armmigrate, try to build in /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrate/armmigrate
    cmderr	[generator automation-v2] [ERROR] ##[command]Cleaning auto-generated files in /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrate/armmigrate
    cmderr	[generator automation-v2] [ERROR] ##[command]Executing autorest.go in  /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrate/armmigrate
    cmderr	[generator automation-v2] [ERROR] autorest --use=@autorest/[email protected] --go --track2 --output-folder=/mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrate/armmigrate --clear-output-folder=false --go.clear-output-folder=false --honor-body-placement=true --remove-unreferenced-types=false ./autorest.md
    cmderr	[generator automation-v2] [ERROR] AutoRest code generation utility [cli version: 3.6.1; node: v16.20.2]
    cmderr	[generator automation-v2] [ERROR] (C) 2018 Microsoft Corporation.
    cmderr	[generator automation-v2] [ERROR] https://aka.ms/autorest
    cmderr	[generator automation-v2] [ERROR] There is a new version of AutoRest available (3.7.1).
    cmderr	[generator automation-v2] [ERROR] > You can install the newer version with with npm install -g autorest@latest
    cmderr	[generator automation-v2] [ERROR] info    |    Loading AutoRest core      '/home/cloudtest/.autorest/@[email protected]/nodemodules/@autorest/core/dist' (3.10.1)
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.0.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.1.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] info    |    Installing AutoRest extension '@autorest/go' (4.0.0-preview.60 -> 4.0.0-preview.60)
    cmderr	[generator automation-v2] [ERROR] info    |    Installed AutoRest extension '@autorest/go' (4.0.0-preview.60->4.0.0-preview.60)
    cmderr	[generator automation-v2] [ERROR] info    |    Installing AutoRest extension '@autorest/modelerfour' (4.26.2 -> 4.26.2)
    cmderr	[generator automation-v2] [ERROR] info    |    Installed AutoRest extension '@autorest/modelerfour' (4.26.2->4.26.2)
    cmderr	[generator automation-v2] [ERROR] error   | [Exception] No input files provided.
    cmderr	[generator automation-v2] [ERROR] Use --help to get help information or see https://aka.ms/autorest/cli for additional documentation
    cmderr	[generator automation-v2] [ERROR] error   |   Error: [Exception] No input files provided.
    cmderr	[generator automation-v2] [ERROR] Use --help to get help information or see https://aka.ms/autorest/cli for additional documentation
    cmderr	[generator automation-v2] [ERROR] error   | Autorest completed with an error. If you think the error message is unclear, or is a bug, please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing.
    cmderr	[generator automation-v2] [ERROR] ##[error]Error running autorest.go
    cmderr	[generator automation-v2] [ERROR] build.go:5: running "pwsh": exit status 1
    cmderr	[generator automation-v2] [ERROR] ': exit status 1
    error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go]: generator automation-v2
    warn	Skip package processing as generation is failed
️🔄 azure-sdk-for-js inProgress [Detail]
️❌ azure-resource-manager-schemas failed [Detail]
  • Pipeline Framework Failed [Logs] Generate from c9b6c084353ea91b1f20b0af2b418c7ab54554ed. 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]  notice
    cmderr	[initScript.sh] npm notice New major version of npm available! 8.19.4 -> 10.2.5
    cmderr	[initScript.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.5>
    cmderr	[initScript.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[initScript.sh] npm notice
    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
    cannot force update branch 'sdkAuto/27009/migrate' as it is the current HEAD of the repository.
    Error: cannot force update branch 'sdkAuto/27009/migrate' as it is the current HEAD of the repository.
  • ️✔️migrate [View full logs]  [Preview Schema Changes]
  • ️✔️migrate [View full logs
    error	Fatal error: cannot force update branch 'sdkAuto/27009/migrate' as it is the current HEAD of the repository.
    error	The following packages are still pending:
    error		migrate
    error		migrate
️❌ azure-powershell failed [Detail]
  • Pipeline Framework Failed [Logs] Generate from c9b6c084353ea91b1f20b0af2b418c7ab54554ed. 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
    SSL error: syscall failure: Broken pipe
    Error: SSL error: syscall failure: Broken pipe
  • ⚠️Az.migrate.DefaultTag [View full logs
    error	Fatal error: SSL error: syscall failure: Broken pipe
    error	The following packages are still pending:
    error		Az.migrate.DefaultTag
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app bot commented Dec 8, 2023

Generated ApiView

Language Package Name ApiView Link
Swagger Microsoft.Migrate https://apiview.dev/Assemblies/Review/66824f4079e14474995bd304e63d1d15

@AzureRestAPISpecReview AzureRestAPISpecReview added ARMReview CI-MissingBaseCommit new-api-version resource-manager TypeSpec Authored with TypeSpec WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Dec 8, 2023
Copy link

Hi @kushalmehrotra713! For review efficiency consideration, when creating a new API version, it is required to place API specs of the base version in the first commit, and push new version updates into successive commits. You can use OpenAPIHub to initialize the PR for adding a new version.
For more details refer to the wiki.

},
{
"name": "StandardE48DsV4",
"value": "Standard_E4
Copy link
Member

Choose a reason for hiding this comment

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

Have better naming differentiation for WebAppType and WebAppTypes

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@tanvidhope-microsoft
Can we rename WebAppType to WebAppV2Type?

},
{
"name": "StandardE48DsV4",
"value": "Standard_E4
Copy link
Member

Choose a reason for hiding this comment

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

Fix description for webAppSkuSize and webAppSkuName

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@tanvidhope-microsoft to take the change

},
{
"name": "StandardE48DsV4",
"value": "Standard_E4
Copy link
Member

Choose a reason for hiding this comment

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

Check all field descriptions in this object

Copy link
Contributor

Choose a reason for hiding this comment

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

I think description is missing because of a lot of possible values for this enum.
can you please confirm if its required (must add) or recommended (can be skipped) by ARM to add descriptions for all values of enums or models in the generated swagger?
 
@tanvidhope-microsoft for taking the change.

@ajaygit158 ajaygit158 added the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Dec 10, 2023
Copy link

Please address or respond to feedback from the ARM API reviewer.
When you are ready to continue the ARM API review, please remove the ARMChangesRequested label.
This will notify the reviewer to have another look.
If the feedback provided needs further discussion, please use this Teams channel to post your questions - aka.ms/azsdk/support/specreview-channel.
Please include [ARM Query] in the title of your question to indicate that it is ARM-related.

@openapi-workflow-bot openapi-workflow-bot bot removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Dec 10, 2023
@sorabhtandon
Copy link

"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/businesscases/{businessCaseName}": {

Casing seems to be off in multiple places not sure if its intentional ?


Refers to: specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/migrate.json:1115 in 67fef25. [](commit_id = 67fef25, deletion_comment = False)

@sorabhtandon
Copy link

sorabhtandon commented Dec 14, 2023

          "type": "object"

Should we have Properties of this object ?


Refers to: specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/migrate.json:901 in 67fef25. [](commit_id = 67fef25, deletion_comment = False)

@sorabhtandon
Copy link

    "operationId": "AksSummaryOperations_ListByAksAssessment",

Should it be AksSummaryOperations_List instead ?


Refers to: specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/migrate.json:946 in 67fef25. [](commit_id = 67fef25, deletion_comment = False)

@sorabhtandon
Copy link

    "operationId": "BusinessCaseAvsSummaryOperations_ListByBusinessCase",

Should it be AksSummaryOperations_List instead of AksSummaryOperations_ListByAksAssessment ?


Refers to: specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/migrate.json:1304 in 67fef25. [](commit_id = 67fef25, deletion_comment = False)

@umeshyadav-msft
Copy link
Contributor

          "type": "object"

Should we have Properties of this object ?

Refers to: specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/migrate.json:901 in 67fef25. [](commit_id = 67fef25, deletion_comment = False)

I think we don't require user to supply any kind of request body in this POST call for downloading report. But when we used tsp to define the endpoint, it added an empty request body object.

@umeshyadav-msft
Copy link
Contributor

    "operationId": "AksSummaryOperations_ListByAksAssessment",

Should it be AksSummaryOperations_List instead ?

Refers to: specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/migrate.json:946 in 67fef25. [](commit_id = 67fef25, deletion_comment = False)

This operationId is autogenerated by tsp (typespec), we are listing down or GET ALL Summary by the parent resource, which is AKS Assessment, that's why its appending ListByAKSAssessment as suffix.

@umeshyadav-msft
Copy link
Contributor

    "operationId": "BusinessCaseAvsSummaryOperations_ListByBusinessCase",

Should it be AksSummaryOperations_List instead of AksSummaryOperations_ListByAksAssessment ?

Refers to: specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2023-04-01-preview/migrate.json:1304 in 67fef25. [](commit_id = 67fef25, deletion_comment = False)

although this refers to BusinessCaseAvsSummary but similar argument is applicable for this comment as well.

@tjprescott
Copy link
Member

@AzureRestAPISpecReview here also, this PR doesn't contain a single TypeSpec file. Why is this labeled TypeSpec?

@tjprescott tjprescott removed the TypeSpec Authored with TypeSpec label Feb 28, 2024
@tjprescott
Copy link
Member

@AzureRestAPISpecReview I removed the TypeSpec label as this PR does not contain any TypeSpec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review ARMReview CI-MissingBaseCommit DoNotMerge <valid label in PR review process> use to hold merge after approval new-api-version resource-manager
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants