Skip to content

initial TSP conversion of Microsoft.AVS #26913

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

blow-hey
Copy link
Member

@blow-hey blow-hey commented Dec 1, 2023

ARM (Control Plane) API Specification Update Pull Request

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

  • For general PR approval workflow, see the diagram at the top of this comment.
  • 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 1, 2023

Next Steps to Merge

Next steps that must be taken to merge this PR:
  • ❌ Your PR has breaking changes (label: BreakingChangeReviewRequired). See the PR description for help.
  • ❌ The required check named TypeSpec Validation 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 1, 2023

Swagger Validation Report

️❌BreakingChange: 540 Errors, 47 Warnings failed [Detail]
compared swaggers (via Oad v0.10.4)] new version base version
vmware.json 2023-03-01(41f4bdb) 2023-03-01(main)

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

Rule Message
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments' removed or restructured?
Old: Microsoft.AVS/stable/2023-03-01/vmware.json#L2023:5
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}' removed or restructured?
Old: Microsoft.AVS/stable/2023-03-01/vmware.json#L2068:5
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations' removed or restructured?
Old: Microsoft.AVS/stable/2023-03-01/vmware.json#L2275:5
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}' removed or restructured?
Old: Microsoft.AVS/stable/2023-03-01/vmware.json#L2320:5
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/gateways' removed or restructured?
Old: Microsoft.AVS/stable/2023-03-01/vmware.json#L2527:5
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/gateways/{gatewayId}' removed or restructured?
Old: Microsoft.AVS/stable/2023-03-01/vmware.json#L2572:5
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles' removed or restructured?
Old: Microsoft.AVS/stable/2023-03-01/vmware.json#L2617:5
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}' removed or restructured?
Old: Microsoft.AVS/stable/2023-03-01/vmware.json#L2662:5
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups' removed or restructured?
Old: Microsoft.AVS/stable/2023-03-01/vmware.json#L2869:5
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}' removed or restructured?
Old: Microsoft.AVS/stable/2023-03-01/vmware.json#L2914:5
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/virtualMachines' removed or restructured?
Old: Microsoft.AVS/stable/2023-03-01/vmware.json#L3121:5
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/virtualMachines/{virtualMachineId}' removed or restructured?
Old: Microsoft.AVS/stable/2023-03-01/vmware.json#L3166:5
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices' removed or restructured?
Old: Microsoft.AVS/stable/2023-03-01/vmware.json#L3211:5
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}' removed or restructured?
Old: Microsoft.AVS/stable/2023-03-01/vmware.json#L3256:5
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones' removed or restructured?
Old: Microsoft.AVS/stable/2023-03-01/vmware.json#L3463:5
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}' removed or restructured?
Old: Microsoft.AVS/stable/2023-03-01/vmware.json#L3508:5
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs' removed or restructured?
Old: Microsoft.AVS/stable/2023-03-01/vmware.json#L3715:5
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}' removed or restructured?
Old: Microsoft.AVS/stable/2023-03-01/vmware.json#L3760:5
1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ResourceTags' removed or renamed?
New: Microsoft.AVS/stable/2023-03-01/vmware.json#L5910:3
Old: Microsoft.AVS/stable/2023-03-01/vmware.json#L5186:3
️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️❌LintDiff: 11 Errors, 608 Warnings failed [Detail]
compared tags (via openapi-validator v2.1.6) new version base version
package-2023-03-01 package-2023-03-01(41f4bdb) package-2023-03-01(main)

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

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

Rule Message Related RPC [For API reviewers]
SubscriptionIdParameterInOperations Parameter 'subscriptionId' is not allowed in the operations section, define it in the global parameters section instead/Parameter '#/paths/1subscriptions1%7BsubscriptionId%7D1providers1Microsoft.AVS1locations1%7Blocation%7D~1checkQuotaAvailability/post/parameters/1' is referenced but not defined in the global parameters section of Service Definition
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L155
SubscriptionIdParameterInOperations Parameter 'subscriptionId' is not allowed in the operations section, define it in the global parameters section instead/Parameter '#/paths/1subscriptions1%7BsubscriptionId%7D1providers1Microsoft.AVS1locations1%7Blocation%7D~1checkTrialAvailability/post/parameters/1' is referenced but not defined in the global parameters section of Service Definition
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L201
DeleteResponseCodes Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L2671
RPC-Delete-V1-01
DeleteResponseCodes Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L2977
RPC-Delete-V1-01
DeleteResponseCodes Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L3283
RPC-Delete-V1-01
DeleteResponseCodes Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L4175
RPC-Delete-V1-01
DeleteResponseCodes Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L4407
RPC-Delete-V1-01
DeleteResponseCodes Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L5342
RPC-Delete-V1-01
DeleteResponseCodes Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L5742
RPC-Delete-V1-01
ResourceNameRestriction The resource name parameter 'workloadNetworkName' should be defined with a 'pattern' restriction.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L5853
RPC-Uri-V1-05
AvoidAnonymousTypes Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L7896
⚠️ XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L117
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'api-version'.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L123
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L125
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L132
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L138
⚠️ XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L148
⚠️ ParameterNotDefinedInGlobalParameters Parameter 'subscriptionId' is referenced but not defined in the global parameters section of Service Definition
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L151
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'subscriptionId'.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L151


The following errors/warnings exist before current PR submission:

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

Rule Message
DeleteResponseCodes Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L493
DeleteResponseCodes Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L720
DeleteResponseCodes Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L955
ProvisioningStateSpecifiedForLROPut 200 response schema in long running PUT operation is missing ProvisioningState property. A LRO PUT operations response schema must have ProvisioningState specified for the 200 and 201 status codes.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L1116
ProvisioningStateSpecifiedForLROPut 201 response schema in long running PUT operation is missing ProvisioningState property. A LRO PUT operations response schema must have ProvisioningState specified for the 200 and 201 status codes.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L1116
DeleteResponseCodes Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L1190
DeleteResponseCodes Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L1500
DeleteResponseCodes Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L1759
DeleteResponseCodes Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L2168
DeleteResponseCodes Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L3611
DeleteResponseCodes Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L4767
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'location'.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L151
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'location'.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L197
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L257
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L291
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L328
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L368
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L434
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AVS/stable/2023-03-01/vmware.json#L501
️❌Avocado: 130 Errors, 0 Warnings failed [Detail]

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

Rule Message
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/vmware/resource-manager/readme.md
json: stable/2023-03-01/examples/Addons_CreateOrUpdate_ArcReg.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/vmware/resource-manager/readme.md
json: stable/2023-03-01/examples/Addons_CreateOrUpdate_HCX.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/vmware/resource-manager/readme.md
json: stable/2023-03-01/examples/Addons_CreateOrUpdate_SRM.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/vmware/resource-manager/readme.md
json: stable/2023-03-01/examples/Addons_CreateOrUpdate_VR.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/vmware/resource-manager/readme.md
json: stable/2023-03-01/examples/Addons_Delete.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/vmware/resource-manager/readme.md
json: stable/2023-03-01/examples/Addons_Get_ArcReg.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/vmware/resource-manager/readme.md
json: stable/2023-03-01/examples/Addons_Get_HCX.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/vmware/resource-manager/readme.md
json: stable/2023-03-01/examples/Addons_Get_SRM.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/vmware/resource-manager/readme.md
json: stable/2023-03-01/examples/Addons_Get_VR.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/vmware/resource-manager/readme.md
json: stable/2023-03-01/examples/Addons_List.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/vmware/resource-manager/readme.md
json: stable/2023-03-01/examples/Authorizations_CreateOrUpdate.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/vmware/resource-manager/readme.md
json: stable/2023-03-01/examples/Authorizations_Delete.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/vmware/resource-manager/readme.md
json: stable/2023-03-01/examples/Authorizations_Get.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/vmware/resource-manager/readme.md
json: stable/2023-03-01/examples/Authorizations_List.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/vmware/resource-manager/readme.md
json: stable/2023-03-01/examples/CloudLinks_CreateOrUpdate.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/vmware/resource-manager/readme.md
json: stable/2023-03-01/examples/CloudLinks_Delete.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/vmware/resource-manager/readme.md
json: stable/2023-03-01/examples/CloudLinks_Get.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/vmware/resource-manager/readme.md
json: stable/2023-03-01/examples/CloudLinks_List.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/vmware/resource-manager/readme.md
json: stable/2023-03-01/examples/Clusters_CreateOrUpdate.json
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
️❌ModelValidation: 100 Errors, 0 Warnings failed [Detail]

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

Rule Message
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in Operations_List.
Url: Microsoft.AVS/stable/2023-03-01/vmware.json#L117:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in LocationsOperations_CheckQuotaAvailability.
Url: Microsoft.AVS/stable/2023-03-01/vmware.json#L148:15
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in LocationsOperations_CheckTrialAvailability.
Url: Microsoft.AVS/stable/2023-03-01/vmware.json#L194:15
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in PrivateClouds_ListInSubscription.
Url: Microsoft.AVS/stable/2023-03-01/vmware.json#L249:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in PrivateClouds_ListByResourceGroup.
Url: Microsoft.AVS/stable/2023-03-01/vmware.json#L283:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in PrivateClouds_Get.
Url: Microsoft.AVS/stable/2023-03-01/vmware.json#L320:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in PrivateClouds_CreateOrUpdate.
Url: Microsoft.AVS/stable/2023-03-01/vmware.json#L360:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in PrivateClouds_Update.
Url: Microsoft.AVS/stable/2023-03-01/vmware.json#L426:16
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in PrivateClouds_Delete.
Url: Microsoft.AVS/stable/2023-03-01/vmware.json#L493:17
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in Addons_ListByPrivateCloud.
Url: Microsoft.AVS/stable/2023-03-01/vmware.json#L553:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in Addons_Get.
Url: Microsoft.AVS/stable/2023-03-01/vmware.json#L598:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in Addons_CreateOrUpdate.
Url: Microsoft.AVS/stable/2023-03-01/vmware.json#L646:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in Addons_Delete.
Url: Microsoft.AVS/stable/2023-03-01/vmware.json#L720:17
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in ExpressRouteAuthorizations_ListByPrivateCloud.
Url: Microsoft.AVS/stable/2023-03-01/vmware.json#L788:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in ExpressRouteAuthorizations_Get.
Url: Microsoft.AVS/stable/2023-03-01/vmware.json#L833:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in ExpressRouteAuthorizations_CreateOrUpdate.
Url: Microsoft.AVS/stable/2023-03-01/vmware.json#L881:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in ExpressRouteAuthorizations_Delete.
Url: Microsoft.AVS/stable/2023-03-01/vmware.json#L955:17
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in CloudLinks_ListByPrivateCloud.
Url: Microsoft.AVS/stable/2023-03-01/vmware.json#L1023:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in CloudLinks_Get.
Url: Microsoft.AVS/stable/2023-03-01/vmware.json#L1068:14
️❌SemanticValidation: 4 Errors, 0 Warnings failed [Detail]
Rule Message
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: swagger
JsonUrl: specification/vmware/AVS.Management/resources.json
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: info
JsonUrl: specification/vmware/AVS.Management/resources.json
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: paths
JsonUrl: specification/vmware/AVS.Management/resources.json
OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: Resources
JsonUrl: specification/vmware/AVS.Management/resources.json
️️✔️PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️❌SpellCheck: 8 Errors, 0 Warnings failed [Detail]
Rule Message
HowToFix Unknown word (Dhcps), please fix the error or add words to ./custom-words.txt
path: Microsoft.AVS/stable/2023-03-01/vmware.json#L70:31
HowToFix Unknown word (Mirrorings), please fix the error or add words to ./custom-words.txt
path: Microsoft.AVS/stable/2023-03-01/vmware.json#L76:35
HowToFix Unknown word (Dhcps), please fix the error or add words to ./custom-words.txt
path: Microsoft.AVS/stable/2023-03-01/vmware.json#L2433:40
HowToFix Unknown word (Dhcps), please fix the error or add words to ./custom-words.txt
path: Microsoft.AVS/stable/2023-03-01/vmware.json#L2435:27
HowToFix Unknown word (Dhcps), please fix the error or add words to ./custom-words.txt
path: Microsoft.AVS/stable/2023-03-01/vmware.json#L2478:40
HowToFix Unknown word (Mirrorings), please fix the error or add words to ./custom-words.txt
path: Microsoft.AVS/stable/2023-03-01/vmware.json#L3937:44
HowToFix Unknown word (Mirrorings), please fix the error or add words to ./custom-words.txt
path: Microsoft.AVS/stable/2023-03-01/vmware.json#L3939:31
HowToFix Unknown word (Mirrorings), please fix the error or add words to ./custom-words.txt
path: Microsoft.AVS/stable/2023-03-01/vmware.json#L3982:44
️️✔️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 1, 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=400830&view=logs&j=fd490c07-0b22-5182-fac9-6d67fe1e939b",
"detail":"Run.ps1 failed with exit code 1 "
️❌SDK Breaking Change Tracking failed [Detail]

Breaking Changes Tracking

azure-sdk-for-js - @azure/arm-avs - 5.0.0
+	Class AzureVMwareSolutionAPI has a new signature
+	Class AzureVMwareSolutionAPI no longer has parameter authorizations
+	Class AzureVMwareSolutionAPI no longer has parameter locations
+	Interface Addon no longer has parameter properties
+	Interface Operation no longer has parameter properties
+	Interface PlacementPolicy no longer has parameter properties
+	Interface PlacementPolicyUpdate no longer has parameter affinityStrength
+	Interface PlacementPolicyUpdate no longer has parameter azureHybridBenefitType
+	Interface PlacementPolicyUpdate no longer has parameter hostMembers
+	Interface PlacementPolicyUpdate no longer has parameter vmMembers
+	Interface PrivateCloud no longer has parameter availability
+	Interface PrivateCloud no longer has parameter encryption
+	Interface PrivateCloud no longer has parameter extendedNetworkBlocks
+	Interface PrivateCloud no longer has parameter identitySources
+	Interface PrivateCloud no longer has parameter internet
+	Interface PrivateCloud no longer has parameter managementCluster
+	Interface PrivateCloudUpdate no longer has parameter availability
+	Interface PrivateCloudUpdate no longer has parameter encryption
+	Interface PrivateCloudUpdate no longer has parameter extendedNetworkBlocks
+	Interface PrivateCloudUpdate no longer has parameter identitySources
+	Interface PrivateCloudUpdate no longer has parameter internet
+	Interface PrivateCloudUpdate no longer has parameter managementCluster
+	Interface ScriptExecutionsGetExecutionLogsOptionalParams no longer has parameter scriptOutputStreamType
+	Interface WorkloadNetworkDhcp no longer has parameter properties
+	Operation Clusters.listZones has a new signature
+	Operation PrivateClouds.beginRotateNsxtPassword has a new signature
+	Operation PrivateClouds.beginRotateNsxtPasswordAndWait has a new signature
+	Operation PrivateClouds.beginRotateVcenterPassword has a new signature
+	Operation PrivateClouds.beginRotateVcenterPasswordAndWait has a new signature
+	Operation PrivateClouds.listAdminCredentials has a new signature
+	Operation ScriptExecutions.getExecutionLogs has a new signature
+	Parameter location of interface TrackedResource is now required
+	Removed operation Addons.list
+	Removed operation CloudLinks.list
+	Removed operation Clusters.list
+	Removed operation Datastores.list
+	Removed operation GlobalReachConnections.list
+	Removed operation HcxEnterpriseSites.list
+	Removed operation PlacementPolicies.list
+	Removed operation PrivateClouds.list
+	Removed operation ScriptCmdlets.list
+	Removed operation ScriptExecutions.list
+	Removed operation ScriptPackages.list
+	Removed operation VirtualMachines.list
+	Removed operation WorkloadNetworks.beginCreateDhcp
+	Removed operation WorkloadNetworks.beginCreateDhcpAndWait
+	Removed operation WorkloadNetworks.beginCreateDnsService
+	Removed operation WorkloadNetworks.beginCreateDnsServiceAndWait
+	Removed operation WorkloadNetworks.beginCreateDnsZone
+	Removed operation WorkloadNetworks.beginCreateDnsZoneAndWait
+	Removed operation WorkloadNetworks.beginCreatePortMirroring
+	Removed operation WorkloadNetworks.beginCreatePortMirroringAndWait
+	Removed operation WorkloadNetworks.beginCreatePublicIP
+	Removed operation WorkloadNetworks.beginCreatePublicIPAndWait
+	Removed operation WorkloadNetworks.beginCreateSegments
+	Removed operation WorkloadNetworks.beginCreateSegmentsAndWait
+	Removed operation WorkloadNetworks.beginCreateVMGroup
+	Removed operation WorkloadNetworks.beginCreateVMGroupAndWait
+	Removed operation WorkloadNetworks.beginDeleteDhcp
+	Removed operation WorkloadNetworks.beginDeleteDhcpAndWait
+	Removed operation WorkloadNetworks.beginDeleteDnsService
+	Removed operation WorkloadNetworks.beginDeleteDnsServiceAndWait
+	Removed operation WorkloadNetworks.beginDeleteDnsZone
+	Removed operation WorkloadNetworks.beginDeleteDnsZoneAndWait
+	Removed operation WorkloadNetworks.beginDeletePortMirroring
+	Removed operation WorkloadNetworks.beginDeletePortMirroringAndWait
+	Removed operation WorkloadNetworks.beginDeletePublicIP
+	Removed operation WorkloadNetworks.beginDeletePublicIPAndWait
+	Removed operation WorkloadNetworks.beginDeleteSegment
+	Removed operation WorkloadNetworks.beginDeleteSegmentAndWait
+	Removed operation WorkloadNetworks.beginDeleteVMGroup
+	Removed operation WorkloadNetworks.beginDeleteVMGroupAndWait
+	Removed operation WorkloadNetworks.beginUpdateDhcp
+	Removed operation WorkloadNetworks.beginUpdateDhcpAndWait
+	Removed operation WorkloadNetworks.beginUpdateDnsService
+	Removed operation WorkloadNetworks.beginUpdateDnsServiceAndWait
+	Removed operation WorkloadNetworks.beginUpdateDnsZone
+	Removed operation WorkloadNetworks.beginUpdateDnsZoneAndWait
+	Removed operation WorkloadNetworks.beginUpdatePortMirroring
+	Removed operation WorkloadNetworks.beginUpdatePortMirroringAndWait
+	Removed operation WorkloadNetworks.beginUpdateSegments
+	Removed operation WorkloadNetworks.beginUpdateSegmentsAndWait
+	Removed operation WorkloadNetworks.beginUpdateVMGroup
+	Removed operation WorkloadNetworks.beginUpdateVMGroupAndWait
+	Removed operation WorkloadNetworks.getDhcp
+	Removed operation WorkloadNetworks.getDnsService
+	Removed operation WorkloadNetworks.getDnsZone
+	Removed operation WorkloadNetworks.getGateway
+	Removed operation WorkloadNetworks.getPortMirroring
+	Removed operation WorkloadNetworks.getPublicIP
+	Removed operation WorkloadNetworks.getSegment
+	Removed operation WorkloadNetworks.getVMGroup
+	Removed operation WorkloadNetworks.getVirtualMachine
+	Removed operation WorkloadNetworks.list
+	Removed operation WorkloadNetworks.listDhcp
+	Removed operation WorkloadNetworks.listDnsServices
+	Removed operation WorkloadNetworks.listDnsZones
+	Removed operation WorkloadNetworks.listGateways
+	Removed operation WorkloadNetworks.listPortMirroring
+	Removed operation WorkloadNetworks.listPublicIPs
+	Removed operation WorkloadNetworks.listSegments
+	Removed operation WorkloadNetworks.listVMGroups
+	Removed operation WorkloadNetworks.listVirtualMachines
+	Removed operation group Authorizations
+	Removed operation group Locations
+	Type of parameter identity of interface PrivateCloud is changed from PrivateCloudIdentity to ManagedServiceIdentity
+	Type of parameter identity of interface PrivateCloudUpdate is changed from PrivateCloudIdentity to ManagedServiceIdentity
+	Type of parameter namedOutputs of interface ScriptExecution is changed from {
        [propertyName: string]: Record;
    } to {
        [propertyName: string]: {
            [propertyName: string]: any;
        };
    }
+	Type of parameter origin of interface Operation is changed from string to Origin
+	Type of parameter sku of interface Cluster is changed from Sku to SkuAutoGenerated
+	Type of parameter sku of interface PrivateCloud is changed from Sku to SkuAutoGenerated
️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs] Generate from 27bfcb58f130b64c0f3b3c8155513199f2487519. 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-avs [View full logs]  [Preview SDK Changes] Breaking Change Detected
    Only show 120 items here, please refer to log for details.
    info	[Changelog]
    info	[Changelog] **Breaking Changes**
    info	[Changelog]
    info	[Changelog]   - Removed operation group Authorizations
    info	[Changelog]   - Removed operation group Locations
    info	[Changelog]   - Removed operation Addons.list
    info	[Changelog]   - Removed operation CloudLinks.list
    info	[Changelog]   - Removed operation Clusters.list
    info	[Changelog]   - Removed operation Datastores.list
    info	[Changelog]   - Removed operation GlobalReachConnections.list
    info	[Changelog]   - Removed operation HcxEnterpriseSites.list
    info	[Changelog]   - Removed operation PlacementPolicies.list
    info	[Changelog]   - Removed operation PrivateClouds.list
    info	[Changelog]   - Removed operation ScriptCmdlets.list
    info	[Changelog]   - Removed operation ScriptExecutions.list
    info	[Changelog]   - Removed operation ScriptPackages.list
    info	[Changelog]   - Removed operation VirtualMachines.list
    info	[Changelog]   - Removed operation WorkloadNetworks.beginCreateDhcp
    info	[Changelog]   - Removed operation WorkloadNetworks.beginCreateDhcpAndWait
    info	[Changelog]   - Removed operation WorkloadNetworks.beginCreateDnsService
    info	[Changelog]   - Removed operation WorkloadNetworks.beginCreateDnsServiceAndWait
    info	[Changelog]   - Removed operation WorkloadNetworks.beginCreateDnsZone
    info	[Changelog]   - Removed operation WorkloadNetworks.beginCreateDnsZoneAndWait
    info	[Changelog]   - Removed operation WorkloadNetworks.beginCreatePortMirroring
    info	[Changelog]   - Removed operation WorkloadNetworks.beginCreatePortMirroringAndWait
    info	[Changelog]   - Removed operation WorkloadNetworks.beginCreatePublicIP
    info	[Changelog]   - Removed operation WorkloadNetworks.beginCreatePublicIPAndWait
    info	[Changelog]   - Removed operation WorkloadNetworks.beginCreateSegments
    info	[Changelog]   - Removed operation WorkloadNetworks.beginCreateSegmentsAndWait
    info	[Changelog]   - Removed operation WorkloadNetworks.beginCreateVMGroup
    info	[Changelog]   - Removed operation WorkloadNetworks.beginCreateVMGroupAndWait
    info	[Changelog]   - Removed operation WorkloadNetworks.beginDeleteDhcp
    info	[Changelog]   - Removed operation WorkloadNetworks.beginDeleteDhcpAndWait
    info	[Changelog]   - Removed operation WorkloadNetworks.beginDeleteDnsService
    info	[Changelog]   - Removed operation WorkloadNetworks.beginDeleteDnsServiceAndWait
    info	[Changelog]   - Removed operation WorkloadNetworks.beginDeleteDnsZone
    info	[Changelog]   - Removed operation WorkloadNetworks.beginDeleteDnsZoneAndWait
    info	[Changelog]   - Removed operation WorkloadNetworks.beginDeletePortMirroring
    info	[Changelog]   - Removed operation WorkloadNetworks.beginDeletePortMirroringAndWait
    info	[Changelog]   - Removed operation WorkloadNetworks.beginDeletePublicIP
    info	[Changelog]   - Removed operation WorkloadNetworks.beginDeletePublicIPAndWait
    info	[Changelog]   - Removed operation WorkloadNetworks.beginDeleteSegment
    info	[Changelog]   - Removed operation WorkloadNetworks.beginDeleteSegmentAndWait
    info	[Changelog]   - Removed operation WorkloadNetworks.beginDeleteVMGroup
    info	[Changelog]   - Removed operation WorkloadNetworks.beginDeleteVMGroupAndWait
    info	[Changelog]   - Removed operation WorkloadNetworks.beginUpdateDhcp
    info	[Changelog]   - Removed operation WorkloadNetworks.beginUpdateDhcpAndWait
    info	[Changelog]   - Removed operation WorkloadNetworks.beginUpdateDnsService
    info	[Changelog]   - Removed operation WorkloadNetworks.beginUpdateDnsServiceAndWait
    info	[Changelog]   - Removed operation WorkloadNetworks.beginUpdateDnsZone
    info	[Changelog]   - Removed operation WorkloadNetworks.beginUpdateDnsZoneAndWait
    info	[Changelog]   - Removed operation WorkloadNetworks.beginUpdatePortMirroring
    info	[Changelog]   - Removed operation WorkloadNetworks.beginUpdatePortMirroringAndWait
    info	[Changelog]   - Removed operation WorkloadNetworks.beginUpdateSegments
    info	[Changelog]   - Removed operation WorkloadNetworks.beginUpdateSegmentsAndWait
    info	[Changelog]   - Removed operation WorkloadNetworks.beginUpdateVMGroup
    info	[Changelog]   - Removed operation WorkloadNetworks.beginUpdateVMGroupAndWait
    info	[Changelog]   - Removed operation WorkloadNetworks.getDhcp
    info	[Changelog]   - Removed operation WorkloadNetworks.getDnsService
    info	[Changelog]   - Removed operation WorkloadNetworks.getDnsZone
    info	[Changelog]   - Removed operation WorkloadNetworks.getGateway
    info	[Changelog]   - Removed operation WorkloadNetworks.getPortMirroring
    info	[Changelog]   - Removed operation WorkloadNetworks.getPublicIP
    info	[Changelog]   - Removed operation WorkloadNetworks.getSegment
    info	[Changelog]   - Removed operation WorkloadNetworks.getVirtualMachine
    info	[Changelog]   - Removed operation WorkloadNetworks.getVMGroup
    info	[Changelog]   - Removed operation WorkloadNetworks.list
    info	[Changelog]   - Removed operation WorkloadNetworks.listDhcp
    info	[Changelog]   - Removed operation WorkloadNetworks.listDnsServices
    info	[Changelog]   - Removed operation WorkloadNetworks.listDnsZones
    info	[Changelog]   - Removed operation WorkloadNetworks.listGateways
    info	[Changelog]   - Removed operation WorkloadNetworks.listPortMirroring
    info	[Changelog]   - Removed operation WorkloadNetworks.listPublicIPs
    info	[Changelog]   - Removed operation WorkloadNetworks.listSegments
    info	[Changelog]   - Removed operation WorkloadNetworks.listVirtualMachines
    info	[Changelog]   - Removed operation WorkloadNetworks.listVMGroups
    info	[Changelog]   - Operation Clusters.listZones has a new signature
    info	[Changelog]   - Operation PrivateClouds.beginRotateNsxtPassword has a new signature
    info	[Changelog]   - Operation PrivateClouds.beginRotateNsxtPasswordAndWait has a new signature
    info	[Changelog]   - Operation PrivateClouds.beginRotateVcenterPassword has a new signature
    info	[Changelog]   - Operation PrivateClouds.beginRotateVcenterPasswordAndWait has a new signature
    info	[Changelog]   - Operation PrivateClouds.listAdminCredentials has a new signature
    info	[Changelog]   - Operation ScriptExecutions.getExecutionLogs has a new signature
    info	[Changelog]   - Class AzureVMwareSolutionAPI has a new signature
    info	[Changelog]   - Interface Addon no longer has parameter properties
    info	[Changelog]   - Interface Operation no longer has parameter properties
    info	[Changelog]   - Interface PlacementPolicy no longer has parameter properties
    info	[Changelog]   - Interface PlacementPolicyUpdate no longer has parameter affinityStrength
    info	[Changelog]   - Interface PlacementPolicyUpdate no longer has parameter azureHybridBenefitType
    info	[Changelog]   - Interface PlacementPolicyUpdate no longer has parameter hostMembers
    info	[Changelog]   - Interface PlacementPolicyUpdate no longer has parameter vmMembers
    info	[Changelog]   - Interface PrivateCloud no longer has parameter availability
    info	[Changelog]   - Interface PrivateCloud no longer has parameter encryption
    info	[Changelog]   - Interface PrivateCloud no longer has parameter extendedNetworkBlocks
    info	[Changelog]   - Interface PrivateCloud no longer has parameter identitySources
    info	[Changelog]   - Interface PrivateCloud no longer has parameter internet
    info	[Changelog]   - Interface PrivateCloud no longer has parameter managementCluster
    info	[Changelog]   - Interface PrivateCloudUpdate no longer has parameter availability
    info	[Changelog]   - Interface PrivateCloudUpdate no longer has parameter encryption
    info	[Changelog]   - Interface PrivateCloudUpdate no longer has parameter extendedNetworkBlocks
    info	[Changelog]   - Interface PrivateCloudUpdate no longer has parameter identitySources
    info	[Changelog]   - Interface PrivateCloudUpdate no longer has parameter internet
    info	[Changelog]   - Interface PrivateCloudUpdate no longer has parameter managementCluster
    info	[Changelog]   - Interface ScriptExecutionsGetExecutionLogsOptionalParams no longer has parameter scriptOutputStreamType
    info	[Changelog]   - Interface WorkloadNetworkDhcp no longer has parameter properties
    info	[Changelog]   - Parameter location of interface TrackedResource is now required
    info	[Changelog]   - Type of parameter sku of interface Cluster is changed from Sku to SkuAutoGenerated
    info	[Changelog]   - Type of parameter origin of interface Operation is changed from string to Origin
    info	[Changelog]   - Type of parameter identity of interface PrivateCloud is changed from PrivateCloudIdentity to ManagedServiceIdentity
    info	[Changelog]   - Type of parameter sku of interface PrivateCloud is changed from Sku to SkuAutoGenerated
    info	[Changelog]   - Type of parameter identity of interface PrivateCloudUpdate is changed from PrivateCloudIdentity to ManagedServiceIdentity
    info	[Changelog]   - Type of parameter namedOutputs of interface ScriptExecution is changed from {
    info	[Changelog]         [propertyName: string]: Record<string, unknown>;
    info	[Changelog]     } to {
    info	[Changelog]         [propertyName: string]: {
    info	[Changelog]             [propertyName: string]: any;
    info	[Changelog]         };
    info	[Changelog]     }
    info	[Changelog]   - Class AzureVMwareSolutionAPI no longer has parameter authorizations
    info	[Changelog]   - Class AzureVMwareSolutionAPI no longer has parameter locations
️❌ azure-sdk-for-python-track2 failed [Detail]
  • Code Generator Failed [Logs] Generate from 27bfcb58f130b64c0f3b3c8155513199f2487519. 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: azure-devtools 1.2.1 does not provide the extra 'ci-tools'
    cmderr	[automation_init.sh] WARNING: azure-devtools 1.2.1 does not provide the extra 'ci-tools'
    cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
    warn		specification/vmware/AVS.Management/tspconfig.yaml skipped due to azure-sdk-for-python-track2 not found in tspconfig.yaml
    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! 9.8.1 -> 10.2.4
    cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.4>
    cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[automation_generate.sh] npm notice
    cmdout	[automation_generate.sh] [Autorest]   - properties.size: <none> => {"$ref":"#/components/schemas/schemas:732","description":"The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. "}
    cmdout	[automation_generate.sh] [Autorest]   - properties.family: <none> => {"$ref":"#/components/schemas/schemas:733","description":"If the service has different generations of hardware, for the same SKU, then that can be captured here."}
    cmdout	[automation_generate.sh] [Autorest]   - properties.capacity: <none> => {"$ref":"#/components/schemas/schemas:734","description":"If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted."}; This error can be *temporarily* avoided by using the 'modelerfour.lenient-model-deduplication' setting.  NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that.
    cmdout	[automation_generate.sh] [Autorest] fatal   | Error: 1 errors occured -- cannot continue.
    cmdout	[automation_generate.sh] [Autorest] fatal   | Process() cancelled due to failure
    cmdout	[automation_generate.sh] [Autorest] error   |   Error: Plugin prechecker reported failure.
    cmdout	[automation_generate.sh] [Autorest] 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.
    cmdout	[automation_generate.sh] [Autorest]   - properties.size: <none> => {"$ref":"#/components/schemas/schemas:732","description":"The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. "}
    cmdout	[automation_generate.sh] [Autorest]   - properties.family: <none> => {"$ref":"#/components/schemas/schemas:733","description":"If the service has different generations of hardware, for the same SKU, then that can be captured here."}
    cmdout	[automation_generate.sh] [Autorest]   - properties.capacity: <none> => {"$ref":"#/components/schemas/schemas:734","description":"If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted."}; This error can be *temporarily* avoided by using the 'modelerfour.lenient-model-deduplication' setting.  NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that.
    cmdout	[automation_generate.sh] [Autorest] fatal   | Error: 1 errors occured -- cannot continue.
    cmdout	[automation_generate.sh] [Autorest] fatal   | Process() cancelled due to failure
    cmdout	[automation_generate.sh] [Autorest] error   |   Error: Plugin prechecker reported failure.
    cmdout	[automation_generate.sh] [Autorest] 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.
    cmdout	[automation_generate.sh] [Autorest]/mnt/vss/_work/1/s/azure-sdk-for-python_tmp/venv-sdk/auto_temp.json does not exist!!!Error happened during codegen
    error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-python]: sh scripts/automation_generate.sh
    warn	Skip package processing as generation is failed
️❌ azure-sdk-for-net failed [Detail]
  • Code Generator Failed [Logs] Generate from 27bfcb58f130b64c0f3b3c8155513199f2487519. 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/vmware/AVS.Management/tspconfig.yaml skipped due to azure-sdk-for-net not found in tspconfig.yaml
    command	autorest --version=2.0.4421 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION [email protected]/[email protected] --csharp-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/vmware/resource-manager/readme.md
    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 'ResourceIdentityType' and different values: SystemAssigned,None vs. SystemAssigned
    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.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>d2.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>d15.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]
  • Code Generator Failed [Logs] Generate from 27bfcb58f130b64c0f3b3c8155513199f2487519. 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/vmware/AVS.Management/tspconfig.yaml skipped due to azure-sdk-for-go not found in tspconfig.yaml
    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/avs/armavs�[0m
    cmderr	[generator automation-v2] [ERROR] Cannot find go module under resourcemanager/avs/armavs, try to build in /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/avs/armavs
    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/avs/armavs
    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/avs/armavs
    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/avs/armavs --clear-output-folder=false --go.clear-output-folder=false --honor-body-placement=true --remove-unreferenced-types=true ./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] warning | DeprecatedConfig | Using directive.2.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.3.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.4.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.5.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.6.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.7.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.8.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] warning | IgnoredPropertyNextToRef | Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > Resource > properties > systemData)
    cmderr	[generator automation-v2] [ERROR] keys: [ �[32m'type'�[39m ]
    cmderr	[generator automation-v2] [ERROR] warning | PreCheck/CheckDuplicateSchemas | Checking for duplicate schemas, this could take a (long) while.  Run with --verbose for more detail.
    cmderr	[generator automation-v2] [ERROR] error   | PreCheck/DuplicateSchema | Duplicate Schema named 'Sku' (5 differences):
    cmderr	[generator automation-v2] [ERROR] - properties.name.description: "The name of the SKU." => "The name of the SKU. Ex - P3. It is typically a letter+number code"
    cmderr	[generator automation-v2] [ERROR] - properties.tier: <none> => {"$ref":"#/components/schemas/SkuTier"}
    cmderr	[generator automation-v2] [ERROR] - properties.size: <none> => {"$ref":"#/components/schemas/schemas:732","description":"The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. "}
    cmderr	[generator automation-v2] [ERROR] - properties.family: <none> => {"$ref":"#/components/schemas/schemas:733","description":"If the service has different generations of hardware, for the same SKU, then that can be captured here."}
    cmderr	[generator automation-v2] [ERROR] - properties.capacity: <none> => {"$ref":"#/components/schemas/schemas:734","description":"If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted."}; This error can be *temporarily* avoided by using the 'modelerfour.lenient-model-deduplication' setting.  NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that.
    cmderr	[generator automation-v2] [ERROR] fatal   | Error: 1 errors occured -- cannot continue.
    cmderr	[generator automation-v2] [ERROR] fatal   | Process() cancelled due to failure
    cmderr	[generator automation-v2] [ERROR] error   |   Error: Plugin prechecker reported failure.
    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-java warning [Detail]
  • ⚠️Warning [Logs] Generate from 27bfcb58f130b64c0f3b3c8155513199f2487519. 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
    cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 23.3.1
    cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
    cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 23.3.1
    cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
    command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
  • ️✔️azure-resourcemanager-avs [View full logs]  [Preview SDK Changes]
️⚠️ azure-resource-manager-schemas warning [Detail]
  • ⚠️Warning [Logs] Generate from 27bfcb58f130b64c0f3b3c8155513199f2487519. 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] npm notice
    cmderr	[initScript.sh] npm notice New major version of npm available! 8.19.4 -> 10.2.4
    cmderr	[initScript.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.4>
    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
  • ️✔️vmware [View full logs]  [Preview Schema Changes]
️❌ azure-powershell failed [Detail]
  • Pipeline Framework Failed [Logs] Generate from 27bfcb58f130b64c0f3b3c8155513199f2487519. SDK Automation 14.0.0
    command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
    warn		specification/vmware/AVS.Management/tspconfig.yaml skipped due to azure-powershell not found in tspconfig.yaml
    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.vmware.DefaultTag [View full logs
    error	Fatal error: SSL error: syscall failure: Broken pipe
    error	The following packages are still pending:
    error		Az.vmware.DefaultTag
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app bot commented Dec 1, 2023

Generated ApiView

Language Package Name ApiView Link
Java azure-resourcemanager-avs https://apiview.dev/Assemblies/Review/378e263bbc6e48ca8ffcbfeda489e6e9
JavaScript @azure/arm-avs https://apiview.dev/Assemblies/Review/a09e26f0f719407fb4d1526f01d086ab
TypeSpec AVS.Management https://apiview.dev/Assemblies/Review/a185498b926c4d7d91dbbe6a244314ad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required CI-BreakingChange-JavaScript resource-manager
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants