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

[NetAppFiles] Anf 27235 update for 2022-11-01-preview #24741

Merged
merged 21 commits into from
Aug 24, 2023

Conversation

audunn
Copy link
Member

@audunn audunn commented Jul 10, 2023

ARM (Control Plane) API Specification Update Pull Request

Purpose of this PR

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

  • New API version. (Such PR should have been generated with OpenAPI Hub, per this wiki doc.)
  • 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:

ARM API changes review

  • If you want for the ARM team to review this PR, you must add the ARMReview label.
  • The automation may automatically add the ARMReview label, if appropriate.
    If this happens, proceed according to guidance given in GitHub comments also added by the automation.

Breaking change review

If you have any breaking changes as defined in the Breaking Change Policy,
follow the process outlined in the High-level Breaking Change Process doc.

Getting help

@audunn audunn requested a review from ArcturusZhang as a code owner July 10, 2023 11:23
@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Jul 10, 2023

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️❌Breaking Change(Cross-Version): 88 Errors, 211 Warnings failed [Detail]
compared swaggers (via Oad v0.10.4)] new version base version
netapp.json 2022-11-01-preview(2c9fe85) 2022-11-01(main)
netapp.json 2022-11-01-preview(2c9fe85) 2021-04-01-preview(main)

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

Only 29 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.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/backupStatus' removed or restructured?
Old: Microsoft.NetApp/stable/2022-11-01/netapp.json#L2676: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.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/backups' removed or restructured?
Old: Microsoft.NetApp/stable/2022-11-01/netapp.json#L2902: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.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/backups/{backupName}' removed or restructured?
Old: Microsoft.NetApp/stable/2022-11-01/netapp.json#L2951: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.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/backups/{backupName}/restoreFiles' removed or restructured?
Old: Microsoft.NetApp/stable/2022-11-01/netapp.json#L4248:5
1008 - ModifiedOperationId The operation id has been changed from 'AccountBackups_List' to 'AccountBackups_ListByNetAppAccount'. This will impact generated code.
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L2772:7
Old: Microsoft.NetApp/stable/2022-11-01/netapp.json#L2769:7
1033 - RemovedProperty The new version is missing a property found in the old version. Was 'location' renamed or removed?
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L7534:7
Old: Microsoft.NetApp/stable/2022-11-01/netapp.json#L7038:7
1033 - RemovedProperty The new version is missing a property found in the old version. Was 'volumeName' renamed or removed?
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L7559:7
Old: Microsoft.NetApp/stable/2022-11-01/netapp.json#L7072:7
1033 - RemovedProperty The new version is missing a property found in the old version. Was 'tags' renamed or removed?
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L7545:7
Old: Microsoft.NetApp/stable/2022-11-01/netapp.json#L7057:7
1033 - RemovedProperty The new version is missing a property found in the old version. Was 'backupId' renamed or removed?
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L7650:7
Old: Microsoft.NetApp/stable/2022-11-01/netapp.json#L7072:7
1033 - RemovedProperty The new version is missing a property found in the old version. Was 'creationDate' renamed or removed?
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L7650:7
Old: Microsoft.NetApp/stable/2022-11-01/netapp.json#L7072:7
1033 - RemovedProperty The new version is missing a property found in the old version. Was 'provisioningState' renamed or removed?
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L7650:7
Old: Microsoft.NetApp/stable/2022-11-01/netapp.json#L7072:7
1033 - RemovedProperty The new version is missing a property found in the old version. Was 'size' renamed or removed?
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L7650:7
Old: Microsoft.NetApp/stable/2022-11-01/netapp.json#L7072:7
1033 - RemovedProperty The new version is missing a property found in the old version. Was 'backupType' renamed or removed?
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L7650:7
Old: Microsoft.NetApp/stable/2022-11-01/netapp.json#L7072:7
1033 - RemovedProperty The new version is missing a property found in the old version. Was 'failureReason' renamed or removed?
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L7650:7
Old: Microsoft.NetApp/stable/2022-11-01/netapp.json#L7072:7
1033 - RemovedProperty The new version is missing a property found in the old version. Was 'volumeName' renamed or removed?
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L7650:7
Old: Microsoft.NetApp/stable/2022-11-01/netapp.json#L7072:7
1033 - RemovedProperty The new version is missing a property found in the old version. Was 'useExistingSnapshot' renamed or removed?
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L7650:7
Old: Microsoft.NetApp/stable/2022-11-01/netapp.json#L7072:7
1034 - AddedRequiredProperty The new version has new required property 'volumeResourceId' that was not found in the old version.
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L7559:7
Old: Microsoft.NetApp/stable/2022-11-01/netapp.json#L7072:7
1034 - AddedRequiredProperty The new version has new required property 'volumeResourceId' that was not found in the old version.
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L7535:9
Old: Microsoft.NetApp/stable/2022-11-01/netapp.json#L7047:9
1034 - AddedRequiredProperty The new version has new required property 'volumeResourceId' that was not found in the old version.
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L7553:5
Old: Microsoft.NetApp/stable/2022-11-01/netapp.json#L7069:5
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L417:9
Old: Microsoft.NetApp/stable/2022-11-01/netapp.json#L417:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L455:9
Old: Microsoft.NetApp/stable/2022-11-01/netapp.json#L455:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L514:9
Old: Microsoft.NetApp/stable/2022-11-01/netapp.json#L514:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L557:9
Old: Microsoft.NetApp/stable/2022-11-01/netapp.json#L557:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L619:9
Old: Microsoft.NetApp/stable/2022-11-01/netapp.json#L619:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L663:9
Old: Microsoft.NetApp/stable/2022-11-01/netapp.json#L663:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L706:9
Old: Microsoft.NetApp/stable/2022-11-01/netapp.json#L706:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L747:9
Old: Microsoft.NetApp/stable/2022-11-01/netapp.json#L747:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L807:9
Old: Microsoft.NetApp/stable/2022-11-01/netapp.json#L807:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L864:9
Old: Microsoft.NetApp/stable/2022-11-01/netapp.json#L864:9


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

Only 29 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.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/backupStatus' removed or restructured?
Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L1955: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.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/backups' removed or restructured?
Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L2135: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.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/backups/{backupName}' removed or restructured?
Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L2184: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.NetApp/netAppAccounts/{accountName}/vaults' removed or restructured?
Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L2678:5
⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'SubscriptionId' removed or renamed?
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L8712:3
Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L5192:3
⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'location' removed or renamed?
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L8712:3
Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L5192:3
⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'ResourceGroup' removed or renamed?
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L8712:3
Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L5192:3
⚠️ 1008 - ModifiedOperationId The operation id has been changed from 'NetAppResourceRegionInfo_Get' to 'NetAppResource_QueryRegionInfo'. This will impact generated code.
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L296:7
Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L211:7
⚠️ 1008 - ModifiedOperationId The operation id has been changed from 'AccountBackups_List' to 'AccountBackups_ListByNetAppAccount'. This will impact generated code.
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L2772:7
Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L2002:7
⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L135:13
Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L130:13
⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
New: common-types/resource-management/v3/types.json#L61:9
Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L3033:9
⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
New: common-types/resource-management/v3/types.json#L61:9
Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L3314:9
⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L5706:9
Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L3351:9
⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
New: common-types/resource-management/v3/types.json#L61:9
Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L3549:9
⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L5979:9
Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L3615:9
⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L6844:9
Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L4115:9
⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
New: common-types/resource-management/v3/types.json#L61:9
Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L4432:9
⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L7304:11
Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L4535:11
⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
New: common-types/resource-management/v3/types.json#L61:9
Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L4934:9
⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L7546:9
Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L4763:9
⚠️ 1025 - RequiredStatusChange The 'required' status changed from the old version('True') to the new version('False').
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L6641:7
Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L3983:7
⚠️ 1027 - DefaultValueChanged The new version has a different default value than the previous one.
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L48:9
Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L48:9
⚠️ 1027 - DefaultValueChanged The new version has a different default value than the previous one.
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L82:9
Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L77:9
⚠️ 1027 - DefaultValueChanged The new version has a different default value than the previous one.
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L129:9
Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L124:9
⚠️ 1027 - DefaultValueChanged The new version has a different default value than the previous one.
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L176:9
Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L171:9
⚠️ 1027 - DefaultValueChanged The new version has a different default value than the previous one.
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L303:9
Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L218:9
⚠️ 1027 - DefaultValueChanged The new version has a different default value than the previous one.
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L377:9
Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L255:9
⚠️ 1027 - DefaultValueChanged The new version has a different default value than the previous one.
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L5521:9
Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L3259:9
⚠️ 1027 - DefaultValueChanged The new version has a different default value than the previous one.
New: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L417:9
Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L295:9
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️LintDiff: 0 Warnings warning [Detail]
compared tags (via openapi-validator v2.1.4) new version base version
package-netapp-2022-11-01-preview package-netapp-2022-11-01-preview(2c9fe85) default(main)

The following errors/warnings exist before current PR submission:

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

Rule Message
DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
Location: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L63
DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
Location: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L110
DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
Location: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L157
DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
Location: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L204
DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
Location: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L244
DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
Location: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L284
DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
Location: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L321
DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
Location: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L358
DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
Location: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L398
DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
Location: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L438
DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
Location: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L491
DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
Location: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L536
DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
Location: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L640
DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
Location: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L687
DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
Location: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L730
DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
Location: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L786
DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
Location: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L843
DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
Location: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L888
DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
Location: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L938
DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
Location: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L984
DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
Location: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L1046
DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
Location: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L1164
DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
Location: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L1223
DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
Location: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L1273
DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
Location: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L1334
DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
Location: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L1463
DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
Location: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L1519
DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
Location: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L1569
DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
Location: Microsoft.NetApp/preview/2022-11-01-preview/netapp.json#L1618
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️️✔️PrettierCheck succeeded [Detail] [Expand]
Validation passes for PrettierCheck.
️️✔️SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️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?

@openapi-workflow-bot
Copy link

Hi, @audunn! Thank you for your pull request. To help get your PR merged:

  • Ensure you reviewed the checklists in the PR description.
  • Know that PR assignee is the person auto-assigned and responsible for your current PR review and approval.
  • 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.
  • @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jul 10, 2023

    Swagger Generation Artifacts

    ️🔄ApiDocPreview inProgress [Detail]
    ️️✔️SDK Breaking Change Tracking succeeded [Detail] [Expand]

    Breaking Changes Tracking




    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 1d2b8c0. SDK Automation 14.0.0
      command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
      cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
      command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
      cmderr	[automation_generate.sh]  notice
      cmderr	[automation_generate.sh] npm notice New minor version of npm available! 9.6.7 -> 9.8.1
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.8.1>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-netapp [View full logs]  [Release SDK Changes]
      info	[Changelog]
    ️️✔️ azure-sdk-for-net-track2 succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 1d2b8c0. 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
    • ️✔️Azure.ResourceManager.NetApp [View full logs]  [Release SDK Changes]
      info	[Changelog]
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 1d2b8c0. 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
      cmderr	[automation_generate.sh] [ERROR] Cannot generate changelog because the codes of local and npm may be the same.
    • ️✔️@azure/arm-netapp [View full logs]  [Release SDK Changes]
      info	[Changelog]
      error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 1d2b8c0. 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
    • ️✔️sdk/resourcemanager/netapp/armnetapp [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 1d2b8c0. 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.2.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.2.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-netapp [View full logs]  [Release SDK Changes]
    ️️✔️ azure-resource-manager-schemas succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 1d2b8c0. Schema Automation 14.0.0
      command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
      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
    • ️✔️netapp [View full logs]  [Release Schema Changes]
    ️❌ azure-powershell failed [Detail]
    • Pipeline Framework Failed [Logs]Release - Generate from 1d2b8c0. 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.netapp.DefaultTag [View full logs
      error	Fatal error: SSL error: syscall failure: Broken pipe
      error	The following packages are still pending:
      error		Az.netapp.DefaultTag
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jul 10, 2023

    Generated ApiView

    Language Package Name ApiView Link
    Go sdk/resourcemanager/netapp/armnetapp https://apiview.dev/Assemblies/Review/df31de60ecff4094a46320e217239840
    Java azure-resourcemanager-netapp https://apiview.dev/Assemblies/Review/b3740bbd4d8c487ba2345d399f582cc6
    .Net Azure.ResourceManager.NetApp https://apiview.dev/Assemblies/Review/531e8121e26c4aaba8b8d6ec1cfcd869
    JavaScript @azure/arm-netapp There is no API change compared with the previous version

    @audunn audunn changed the title [NetAppFiles] Anf 27235 update for 2022 11 01 preview [NetAppFiles] Anf 27235 update for 2022-11-01-preview Jul 10, 2023
    @AzureRestAPISpecReview AzureRestAPISpecReview added ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review ARMReview BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required CI-FixRequiredOnFailure CI-MissingBaseCommit new-api-version resource-manager labels Jul 10, 2023
    @openapi-workflow-bot
    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
    Copy link

    Hi @audunn! The automation detected breaking changes in this pull request. As a result, it added the BreakingChangeReviewRequired label.

    You cannot proceed with merging this PR until you complete one of the following action items:

    ACTION ITEM ALTERNATIVE A: Fix the breaking change.
    Please consult the documentation provided in the relevant validation failures.

    ACTION ITEM ALTERNATIVE B: Request approval.
    Alternatively, if you cannot fix the breaking changes, then you can request an approval for them. Please follow the process described in the High-level Breaking Change Process doc.

    ACTION ITEM ALTERNATIVE C: Report false positive.
    If you think there are no breaking changes, i.e. the validation should pass yet it fails, then please explain why in a PR comment and @ the PR assignee.

    @openapi-workflow-bot
    Copy link

    Hi @audunn! Your PR has some issues. Please fix the CI issues, if present, in following order: Avocado, SemanticValidation, ModelValidation, Breaking Change, LintDiff.

    TaskHow to fixPriority
    AvocadoFix-AvocadoHigh
    Semantic ValidationFix-SemanticValidation-ErrorHigh
    Model ValidationFix-ModelValidation-ErrorHigh
    LintDiffFix-LintDiffHigh

    If you need further help, please reach out on the Teams channel aka.ms/azsdk/support/specreview-channel.

    @openapi-workflow-bot
    Copy link

    Hi @audunn! 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.

    @audunn
    Copy link
    Member Author

    audunn commented Jul 10, 2023

    Breaking change was approved here https://msazure.visualstudio.com/One/_workitems/edit/15313053/

    @audunn audunn requested a review from tadelesh as a code owner July 18, 2023 10:29
    @TimLovellSmith
    Copy link
    Member

      ],
    

    Or did you just have to remove properties because of flattening meaning its not actually even a thing in the payload?


    In reply to: 1679507476


    Refers to: specification/netapp/resource-manager/Microsoft.NetApp/preview/2022-11-01-preview/netapp.json:7477 in 801f0ea. [](commit_id = 801f0ea, deletion_comment = True)

    Copy link
    Member

    @TimLovellSmith TimLovellSmith left a comment

    Choose a reason for hiding this comment

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

    :shipit:

    @TimLovellSmith TimLovellSmith added the ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review label Aug 15, 2023
    @TimLovellSmith
    Copy link
    Member

    /azp run

    @TimLovellSmith TimLovellSmith removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Aug 15, 2023
    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 2 pipeline(s).

    @audunn
    Copy link
    Member Author

    audunn commented Aug 16, 2023

    @rkmanda are we good to have this merged ?

    @rkmanda
    Copy link
    Member

    rkmanda commented Aug 23, 2023

    /pr RequestMerge

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Aug 23, 2023

    Next Steps to Merge

    ⚠️ This is an experimental comment. It may not always be up-to-date. ⚠️

    ✔️ All automated merging requirements have been met! Refer to step 4 in the PR workflow diagram (even if your PR is for data plane, not ARM).

    - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups/{backupName}/restoreFiles"].post
    - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/migrateBackups"].post
    - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/migrateBackups"].post
    - code: GetCollectionOnlyHasValueAndNextLink
    Copy link
    Member

    Choose a reason for hiding this comment

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

    GetCollectionOnlyHasValueAndNextLink

    The explanation for this suppression is unclear. pl elaborate

    Copy link
    Member Author

    Choose a reason for hiding this comment

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

    Hi,
    This API was approved in a PR in the private repository in https://github.com/Azure/azure-rest-api-specs-pr/pull/8331
    There where dealys in getting it out but we are now bringing it now in prevew.
    Fixing this response model according to the rule would requre changing the reponse which is something the team is trying to avoid this late in the game.

    Copy link
    Member Author

    @audunn audunn Aug 23, 2023

    Choose a reason for hiding this comment

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

    @rkmanda Would modeling this something like /latestBackupStatus/current suffice ?
    Will we need a collection GET as well ?

    Copy link
    Member Author

    @audunn audunn Aug 23, 2023

    Choose a reason for hiding this comment

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

    To test, removed suppression added default name, GetCollectionOnlyHasValueAndNextLink does not show.

    Copy link
    Member Author

    Choose a reason for hiding this comment

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

    @rkmanda Since the service has been deployed would it be possible to keep this as is for this preview api-version and fix in the next preview version? Is that a posibility?

    Copy link
    Member Author

    Choose a reason for hiding this comment

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

    Another option is to remove this from this version and introduce correctly modeled in the next. The preview clients have a workaround for this. This would give the team the time to patch the service side code needed.

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Aug 23, 2023

    Automatic PR validation restarted. This comment will be populated with next steps to merge this PR once validation is completed. Please wait ⌛.

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Aug 23, 2023

    Automatic PR validation restarted. This comment will be populated with next steps to merge this PR once validation is completed. Please wait ⌛.

    @audunn
    Copy link
    Member Author

    audunn commented Aug 23, 2023

    /azp run

    @openapi-pipeline-app
    Copy link

    Automatic PR validation started. This comment will be populated with next steps to merge this PR once validation is completed. Please wait ⌛.

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 2 pipeline(s).

    @ms-henglu ms-henglu merged commit 1d2b8c0 into Azure:main Aug 24, 2023
    @openapi-pipeline-app
    Copy link

    Swagger pipeline restarted successfully, please wait for status update in this comment.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 Approved-Suppression ARMReview ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required CI-MissingBaseCommit new-api-version ReadyForApiTest <valid label in PR review process>add this label when swagger and service APIs are ready for test resource-manager SuppressionReviewRequired
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    8 participants