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 #23722

Merged
merged 13 commits into from
Jun 16, 2023

Conversation

audunn
Copy link
Member

@audunn audunn commented Apr 25, 2023

ARM API Information (Control Plane)

MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.

Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo. If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.

Changelog

Add a changelog entry for this PR by answering the following questions:

  1. What's the purpose of the update?
    • new service onboarding
    • new API version
    • update existing version for new feature
    • update existing version to fix swagger quality issue in s360
    • Other, please clarify
  2. When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
  4. By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

If any further question about AME onboarding or validation tools, please view the FAQ.

ARM API Review Checklist

Applicability: ⚠️

If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

  • Change to data plane APIs
  • Adding new properties
  • All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

  • Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review. Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

    • Adding a new service
    • Adding new API(s)
    • Adding a new API version
      -[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.
  • Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

  • If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist

If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.

NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)

Please follow the link to find more details on PR review process.

@audunn audunn requested a review from ArcturusZhang as a code owner April 25, 2023 22:09
@openapi-workflow-bot
Copy link

Hi, @audunn Thanks for your PR. I am workflow bot for review process. Here are some small tips.

  • Please ensure to do self-check against checklists in first PR comment.
  • PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging.
  • For specs comparison cross API versions, Use API Specs Comparison Report Generator
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?

  • Any feedback about review process or workflow bot, pls contact swagger and tools team. [email protected]

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Apr 25, 2023

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️⚠️Breaking Change(Cross-Version): 209 Warnings warning [Detail]
    compared swaggers (via Oad v0.10.4)] new version base version
    netapp.json 2022-11-01(f87b427) 2022-09-01(main)
    netapp.json 2022-11-01(f87b427) 2021-04-01-preview(main)

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

    Only 30 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}/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/stable/2022-11-01/netapp.json#L8124: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/stable/2022-11-01/netapp.json#L8124: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/stable/2022-11-01/netapp.json#L8124: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/stable/2022-11-01/netapp.json#L296:7
    Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L211:7
    ⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
    New: Microsoft.NetApp/stable/2022-11-01/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/stable/2022-11-01/netapp.json#L5267: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/stable/2022-11-01/netapp.json#L5540: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/stable/2022-11-01/netapp.json#L6401: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/stable/2022-11-01/netapp.json#L6811: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
    ⚠️ 1025 - RequiredStatusChange The 'required' status changed from the old version('True') to the new version('False').
    New: Microsoft.NetApp/stable/2022-11-01/netapp.json#L6198: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/stable/2022-11-01/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/stable/2022-11-01/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/stable/2022-11-01/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/stable/2022-11-01/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/stable/2022-11-01/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/stable/2022-11-01/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/stable/2022-11-01/netapp.json#L5082: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/stable/2022-11-01/netapp.json#L417:9
    Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L295:9
    ⚠️ 1027 - DefaultValueChanged The new version has a different default value than the previous one.
    New: Microsoft.NetApp/stable/2022-11-01/netapp.json#L455:9
    Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L333:9
    ⚠️ 1027 - DefaultValueChanged The new version has a different default value than the previous one.
    New: Microsoft.NetApp/stable/2022-11-01/netapp.json#L514:9
    Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L389:9
    ⚠️ 1027 - DefaultValueChanged The new version has a different default value than the previous one.
    New: Microsoft.NetApp/stable/2022-11-01/netapp.json#L557:9
    Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L432:9
    ⚠️ 1027 - DefaultValueChanged The new version has a different default value than the previous one.
    New: Microsoft.NetApp/stable/2022-11-01/netapp.json#L663:9
    Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L494:9
    ⚠️ 1027 - DefaultValueChanged The new version has a different default value than the previous one.
    New: Microsoft.NetApp/stable/2022-11-01/netapp.json#L5260:9
    Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L3343:9
    ⚠️ 1027 - DefaultValueChanged The new version has a different default value than the previous one.
    New: Microsoft.NetApp/stable/2022-11-01/netapp.json#L706:9
    Old: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json#L537:9
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️⚠️LintDiff: 1 Warnings warning [Detail]
    compared tags (via openapi-validator v2.1.3) new version base version
    package-netapp-2022-11-01 package-netapp-2022-11-01(f87b427) default(main)

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

    Rule Message Related RPC [For API reviewers]
    ⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
    Location: Microsoft.NetApp/stable/2022-11-01/netapp.json#L6495


    The following errors/warnings exist before current PR submission:

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

    Rule Message
    OperationsApiResponseSchema The response schema of operations API '/providers/Microsoft.NetApp/operations' does not match the ARM specification. Please standardize the schema.
    Location: Microsoft.NetApp/stable/2022-11-01/netapp.json#L59
    OperationsApiSchemaUsesCommonTypes Operations API path must follow the schema provided in the common types.
    Location: Microsoft.NetApp/stable/2022-11-01/netapp.json#L60
    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/stable/2022-11-01/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/stable/2022-11-01/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/stable/2022-11-01/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/stable/2022-11-01/netapp.json#L204
    GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
    Location: Microsoft.NetApp/stable/2022-11-01/netapp.json#L240
    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/stable/2022-11-01/netapp.json#L244
    ResourceNameRestriction The resource name parameter 'quotaLimitName' should be defined with a 'pattern' restriction.
    Location: Microsoft.NetApp/stable/2022-11-01/netapp.json#L255
    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/stable/2022-11-01/netapp.json#L284
    GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
    Location: Microsoft.NetApp/stable/2022-11-01/netapp.json#L317
    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/stable/2022-11-01/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/stable/2022-11-01/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/stable/2022-11-01/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/stable/2022-11-01/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/stable/2022-11-01/netapp.json#L491
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.NetApp/stable/2022-11-01/netapp.json#L530
    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/stable/2022-11-01/netapp.json#L536
    UnSupportedPatchProperties Mark the top-level property 'location', specified in the patch operation body, as readOnly or immutable. You could also choose to remove it from the request payload of the Patch operation. These properties are not patchable.
    Location: Microsoft.NetApp/stable/2022-11-01/netapp.json#L558
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.NetApp/stable/2022-11-01/netapp.json#L587
    LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
    Location: Microsoft.NetApp/stable/2022-11-01/netapp.json#L596
    LroPostReturn 200 response for a LRO POST operation must have a response schema specified.
    Location: Microsoft.NetApp/stable/2022-11-01/netapp.json#L612
    PostOperationAsyncResponseValidation An async POST operation is tracked via Azure-AsyncOperation header. Set 'final-state-via' property to 'location' on 'x-ms-long-running-operation-options'
    Location: Microsoft.NetApp/stable/2022-11-01/netapp.json#L612
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.NetApp/stable/2022-11-01/netapp.json#L637
    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/stable/2022-11-01/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/stable/2022-11-01/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/stable/2022-11-01/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/stable/2022-11-01/netapp.json#L786
    UnSupportedPatchProperties Mark the top-level property 'location', specified in the patch operation body, as readOnly or immutable. You could also choose to remove it from the request payload of the Patch operation. These properties are not patchable.
    Location: Microsoft.NetApp/stable/2022-11-01/netapp.json#L808
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.NetApp/stable/2022-11-01/netapp.json#L840
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
    ️❌~[Staging] ServiceAPIReadinessTest: 41 Errors, 0 Warnings failed [Detail]

    Tag package-netapp-2022-11-01; Prod region: Deployed

    Test run on region: northcentralus; Operation coverage: total: 83, untested: 0, failed: 41, passed: 42

    Service API Readiness Test failed. Check pipeline artifact for detail report.

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

    Rule Message
    CLIENT_ERROR statusCode: 400,
    errorCode: MsiInvalidForRenewal,
    errorMessage: NetApp account does not have an MSI credentials, therefore it is ineligible for renewal of credentials.
    Source: runtime
    OperationId: Accounts_RenewCredentials
    CLIENT_ERROR statusCode: 412,
    errorCode: ParentEntityMissingOrNotCreatedSuccessfully,
    errorMessage: Unable to complete the operation. Please verify that the parent volume 'volumenakjdqrx' exists and that it is in a 'Succeeded' state and try again.
    Source: runtime
    OperationId: Volumes_ReplicationStatus
    CLIENT_ERROR statusCode: 412,
    errorCode: ParentEntityMissingOrNotCreatedSuccessfully,
    errorMessage: Unable to complete the operation. Please verify that the parent volume 'volumenakjdqrx' exists and that it is in a 'Succeeded' state and try again.
    Source: runtime
    OperationId: Volumes_BreakFileLocks
    CLIENT_ERROR statusCode: 412,
    errorCode: ParentEntityMissingOrNotCreatedSuccessfully,
    errorMessage: Unable to complete the operation. Please verify that the parent volume 'volumenakjdqrx' exists and that it is in a 'Succeeded' state and try again.
    Source: runtime
    OperationId: Volumes_FinalizeRelocation
    CLIENT_ERROR statusCode: 412,
    errorCode: ParentEntityMissingOrNotCreatedSuccessfully,
    errorMessage: Unable to complete the operation. Please verify that the parent volume 'volumenakjdqrx' exists and that it is in a 'Succeeded' state and try again.
    Source: runtime
    OperationId: Volumes_RevertRelocation
    CLIENT_ERROR statusCode: 412,
    errorCode: ParentEntityMissingOrNotCreatedSuccessfully,
    errorMessage: Unable to complete the operation. Please verify that the parent volume 'volumenakjdqrx' exists and that it is in a 'Succeeded' state and try again.
    Source: runtime
    OperationId: Volumes_Relocate
    CLIENT_ERROR statusCode: 412,
    errorCode: ParentEntityMissingOrNotCreatedSuccessfully,
    errorMessage: Unable to complete the operation. Please verify that the parent volume 'volumenakjdqrx' exists and that it is in a 'Succeeded' state and try again.
    Source: runtime
    OperationId: Volumes_ResyncReplication
    CLIENT_ERROR statusCode: 412,
    errorCode: ParentEntityMissingOrNotCreatedSuccessfully,
    errorMessage: Unable to complete the operation. Please verify that the parent volume 'volumenakjdqrx' exists and that it is in a 'Succeeded' state and try again.
    Source: runtime
    OperationId: Volumes_ReestablishReplication
    CLIENT_ERROR statusCode: 412,
    errorCode: ParentEntityMissingOrNotCreatedSuccessfully,
    errorMessage: Unable to complete the operation. Please verify that the parent volume 'volumenakjdqrx' exists and that it is in a 'Succeeded' state and try again.
    Source: runtime
    OperationId: Volumes_ResetCifsPassword
    CLIENT_ERROR statusCode: 412,
    errorCode: ParentEntityMissingOrNotCreatedSuccessfully,
    errorMessage: Unable to complete the operation. Please verify that the parent volume 'volumenakjdqrx' exists and that it is in a 'Succeeded' state and try again.
    Source: runtime
    OperationId: Volumes_AuthorizeReplication
    CLIENT_ERROR statusCode: 412,
    errorCode: ParentEntityMissingOrNotCreatedSuccessfully,
    errorMessage: Unable to complete the operation. Please verify that the parent volume 'volumenakjdqrx' exists and that it is in a 'Succeeded' state and try again.
    Source: runtime
    OperationId: Volumes_Revert
    CLIENT_ERROR statusCode: 412,
    errorCode: ParentEntityMissingOrNotCreatedSuccessfully,
    errorMessage: Unable to complete the operation. Please verify that the parent volume 'volumenakjdqrx' exists and that it is in a 'Succeeded' state and try again.
    Source: runtime
    OperationId: Volumes_ReInitializeReplication
    CLIENT_ERROR statusCode: 412,
    errorCode: ParentEntityMissingOrNotCreatedSuccessfully,
    errorMessage: Unable to complete the operation. Please verify that the parent volume 'volumenakjdqrx' exists and that it is in a 'Succeeded' state and try again.
    Source: runtime
    OperationId: Volumes_ListGetGroupIdListForLdapUser
    CLIENT_ERROR statusCode: 412,
    errorCode: ParentEntityMissingOrNotCreatedSuccessfully,
    errorMessage: Unable to complete the operation. Please verify that the parent volume 'volumenakjdqrx' exists and that it is in a 'Succeeded' state and try again.
    Source: runtime
    OperationId: Volumes_PoolChange
    CLIENT_ERROR statusCode: 412,
    errorCode: ParentEntityMissingOrNotCreatedSuccessfully,
    errorMessage: Unable to complete the operation. Please verify that the parent volume 'volumenakjdqrx' exists and that it is in a 'Succeeded' state and try again.
    Source: runtime
    OperationId: Volumes_ListReplications
    CLIENT_ERROR statusCode: 400,
    errorCode: BadRequest,
    errorMessage: Volume was not found or was not created successfully.
    Source: runtime
    OperationId: Subvolumes_Create
    CLIENT_ERROR statusCode: 404,
    errorCode: NotFound,
    errorMessage: The volume 'volumenakjdqrx' was not found. Please make sure you have the correct URI and that the volume exists.
    Source: runtime
    OperationId: Subvolumes_Get
    CLIENT_ERROR statusCode: 409,
    errorCode: Conflict,
    errorMessage: Operation: 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes' is not permitted.
    Source: runtime
    OperationId: Subvolumes_Update
    CLIENT_ERROR statusCode: 404,
    errorCode: NotFound,
    errorMessage: Volume was not found or was not created successfully.
    Source: runtime
    OperationId: Subvolumes_GetMetadata
    CLIENT_ERROR statusCode: 400,
    errorCode: BadRequest,
    errorMessage: Volume was not found or was not created successfully.
    Source: runtime
    OperationId: Snapshots_Create
    CLIENT_ERROR statusCode: 404,
    errorCode: NotFound,
    errorMessage: The volume 'volumenakjdqrx' was not found. Please make sure you have the correct URI and that the volume exists.
    Source: runtime
    OperationId: Snapshots_Get
    CLIENT_ERROR statusCode: 405,
    errorCode: PatchOperationNotSupported,
    errorMessage: Patch operation is not supported for this resource type.
    Source: runtime
    OperationId: Snapshots_Update
    CLIENT_ERROR statusCode: 400,
    errorCode: BadRequest,
    errorMessage: The volume 'backupna92z7jx' was not found. Please make sure you have the correct URI and that the volume exists.
    Source: runtime
    OperationId: Backups_Create
    CLIENT_ERROR statusCode: 412,
    errorCode: ParentEntityMissingOrNotCreatedSuccessfully,
    errorMessage: Unable to complete the operation. Please verify that the parent volume 'volumenakjdqrx' exists and that it is in a 'Succeeded' state and try again.
    Source: runtime
    OperationId: Backups_GetStatus
    CLIENT_ERROR statusCode: 404,
    errorCode: NotFound,
    errorMessage: The volume 'volumenakjdqrx' was not found. Please make sure you have the correct URI and that the volume exists.
    Source: runtime
    OperationId: Backups_Get
    CLIENT_ERROR statusCode: 412,
    errorCode: ParentEntityMissingOrNotCreatedSuccessfully,
    errorMessage: Unable to complete the operation. Please verify that the parent volume 'volumenakjdqrx' exists and that it is in a 'Succeeded' state and try again.
    Source: runtime
    OperationId: Backups_GetVolumeRestoreStatus
    CLIENT_ERROR statusCode: 400,
    errorCode: BadRequest,
    errorMessage: Missing value for 'properties'
    Source: runtime
    OperationId: Backups_Update
    CLIENT_ERROR statusCode: 412,
    errorCode: ParentEntityMissingOrNotCreatedSuccessfully,
    errorMessage: Unable to complete the operation. Please verify that the parent volumes 'volumenakjdqrx' exists and that it is in a 'Succeeded' state and try again.
    Source: runtime
    OperationId: VolumeQuotaRules_Create
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The resource with identifier '/subscriptions/db5eb68e-73e2-4fa8-b18a-46cd1be4cce5/resourceGroups/apiTest-lZWHLD-23722/providers/Microsoft.NetApp/netAppAccounts/accountn9xpvor/capacityPools/poolname52finx/volumes/volumenakjdqrx/volumeQuotaRules/volumequ2hrufa' is not found.
    Source: runtime
    OperationId: VolumeQuotaRules_Get
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The resource with identifier '/subscriptions/db5eb68e-73e2-4fa8-b18a-46cd1be4cce5/resourceGroups/apiTest-lZWHLD-23722/providers/Microsoft.NetApp/netAppAccounts/accountn9xpvor/capacityPools/poolname52finx/volumes/volumenakjdqrx/volumeQuotaRules/volumequ2hrufa' is not found.
    Source: runtime
    OperationId: VolumeQuotaRules_Update
    ️️✔️SwaggerAPIView succeeded [Detail] [Expand]
    ️️✔️CadlAPIView 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).
    ️️✔️CadlValidation succeeded [Detail] [Expand]
    Validation passes for CadlValidation.
    ️️✔️TypeSpec Validation succeeded [Detail] [Expand]
    Validation passes for TypeSpec Validation.
    ️️✔️PR Summary succeeded [Detail] [Expand]
    Validation passes for Summary.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Apr 25, 2023

    Swagger Generation Artifacts

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

    Breaking Changes Tracking




    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 930b1a7. 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]
      cmderr	[automation_generate.sh] npm notice New minor version of npm available! 9.5.1 -> 9.7.1
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.7.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] ### Features Added
      info	[Changelog]
      info	[Changelog]   - Added operation VolumesOperations.begin_list_get_group_id_list_for_ldap_user
      info	[Changelog]   - Model NetAppAccountPatch has a new parameter identity
      info	[Changelog]   - Model Volume has a new parameter actual_throughput_mibps
      info	[Changelog]   - Model Volume has a new parameter originating_resource_id
      info	[Changelog]   - Model VolumeGroupVolumeProperties has a new parameter actual_throughput_mibps
      info	[Changelog]   - Model VolumeGroupVolumeProperties has a new parameter originating_resource_id
      info	[Changelog]   - Model VolumePatch has a new parameter snapshot_directory_visible
    ️️✔️ azure-sdk-for-net-track2 succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 930b1a7. 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 930b1a7. 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-netapp [View full logs]  [Release SDK Changes]
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Added operation Volumes.beginListGetGroupIdListForLdapUser
      info	[Changelog]   - Added operation Volumes.beginListGetGroupIdListForLdapUserAndWait
      info	[Changelog]   - Added Interface ErrorAdditionalInfo
      info	[Changelog]   - Added Interface ErrorDetail
      info	[Changelog]   - Added Interface ErrorResponse
      info	[Changelog]   - Added Interface GetGroupIdListForLdapUserRequest
      info	[Changelog]   - Added Interface GetGroupIdListForLdapUserResponse
      info	[Changelog]   - Added Interface VolumesListGetGroupIdListForLdapUserHeaders
      info	[Changelog]   - Added Interface VolumesListGetGroupIdListForLdapUserOptionalParams
      info	[Changelog]   - Added Type Alias VolumesListGetGroupIdListForLdapUserResponse
      info	[Changelog]   - Interface NetAppAccountPatch has a new optional parameter identity
      info	[Changelog]   - Interface Volume has a new optional parameter actualThroughputMibps
      info	[Changelog]   - Interface Volume has a new optional parameter originatingResourceId
      info	[Changelog]   - Interface VolumeGroupVolumeProperties has a new optional parameter actualThroughputMibps
      info	[Changelog]   - Interface VolumeGroupVolumeProperties has a new optional parameter originatingResourceId
      info	[Changelog]   - Interface VolumePatch has a new optional parameter snapshotDirectoryVisible
      info	[Changelog]   - Enum KnownRegionStorageToNetworkProximity has a new value AcrossT2
      info	[Changelog]   - Enum KnownRegionStorageToNetworkProximity has a new value T1AndAcrossT2
      info	[Changelog]   - Enum KnownRegionStorageToNetworkProximity has a new value T1AndT2AndAcrossT2
      info	[Changelog]   - Enum KnownRegionStorageToNetworkProximity has a new value T2AndAcrossT2
      info	[Changelog]   - Enum KnownVolumeStorageToNetworkProximity has a new value AcrossT2
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 930b1a7. 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] ### Features Added
      info	[Changelog]
      info	[Changelog] - New value `RegionStorageToNetworkProximityAcrossT2`, `RegionStorageToNetworkProximityT1AndAcrossT2`, `RegionStorageToNetworkProximityT1AndT2AndAcrossT2`, `RegionStorageToNetworkProximityT2AndAcrossT2` added to enum type `RegionStorageToNetworkProximity`
      info	[Changelog] - New value `VolumeStorageToNetworkProximityAcrossT2` added to enum type `VolumeStorageToNetworkProximity`
      info	[Changelog] - New function `*VolumesClient.BeginListGetGroupIDListForLdapUser(context.Context, string, string, string, string, GetGroupIDListForLDAPUserRequest, *VolumesClientBeginListGetGroupIDListForLdapUserOptions) (*runtime.Poller[VolumesClientListGetGroupIDListForLdapUserResponse], error)`
      info	[Changelog] - New struct `GetGroupIDListForLDAPUserRequest`
      info	[Changelog] - New struct `GetGroupIDListForLDAPUserResponse`
      info	[Changelog] - New field `Identity` in struct `AccountPatch`
      info	[Changelog] - New field `SnapshotDirectoryVisible` in struct `VolumePatchProperties`
      info	[Changelog] - New field `ActualThroughputMibps`, `OriginatingResourceID` in struct `VolumeProperties`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 13 additive change(s).
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 930b1a7. 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.1.2
      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.1.2
      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 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 930b1a7. 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] old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile The package-lock.json file was created with an old version of npm,
      cmderr	[initScript.sh] npm WARN old lockfile so supplemental metadata must be fetched from the registry.
      cmderr	[initScript.sh] npm WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile This is a one-time fix-up, please be patient...
      cmderr	[initScript.sh] npm WARN old lockfile
      warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
      command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
    • ️✔️netapp [View full logs]  [Release Schema Changes]
    ️❌ azure-powershell failed [Detail]
    • Pipeline Framework Failed [Logs]Release - Generate from 930b1a7. 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 Apr 25, 2023

    Generated ApiView

    Language Package Name ApiView Link
    Go sdk/resourcemanager/netapp/armnetapp https://apiview.dev/Assemblies/Review/0e594ee8ec564b86bded3e8b7b35d426
    Java azure-resourcemanager-netapp https://apiview.dev/Assemblies/Review/bf35c01ef84f46b8b183c258b8f38e56
    .Net Azure.ResourceManager.NetApp https://apiview.dev/Assemblies/Review/aad91657d6254a50a35e654f84ab78be
    JavaScript @azure/arm-netapp https://apiview.dev/Assemblies/Review/81504a16b3274f3ebc3def8e41686ca7

    @openapi-workflow-bot openapi-workflow-bot bot added ARMReview WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Apr 25, 2023
    @openapi-workflow-bot
    Copy link

    Hi, @audunn your PR are labelled with WaitForARMFeedback. A notification email will be sent out shortly afterwards to notify ARM review board([email protected]).

    @openapi-workflow-bot
    Copy link

    Hi @audunn, Your PR has some issues. Please fix the CI sequentially by following the order of Avocado, semantic validation, model validation, breaking change, lintDiff. If you have any questions, please post your questions in this channel https://aka.ms/swaggersupport.

    TaskHow to fixPriority
    AvocadoFix-AvocadoHigh
    Semantic validationFix-SemanticValidation-ErrorHigh
    Model validationFix-ModelValidation-ErrorHigh
    LintDiffFix-LintDiffhigh
    If you need further help, please feedback via swagger feedback.

    @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. Or you could onboard API spec pipeline

    @ghost
    Copy link

    ghost commented May 28, 2023

    Hi, @audunn. Your PR has no update for 14 days and it is marked as stale PR. If no further update for over 14 days, the bot will close the PR. If you want to refresh the PR, please remove no-recent-activity label.

    @ghost ghost added the no-recent-activity label May 28, 2023
    @audunn
    Copy link
    Member Author

    audunn commented Jun 5, 2023

    /azp run

    @ghost ghost removed the no-recent-activity label Jun 5, 2023
    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @audunn
    Copy link
    Member Author

    audunn commented Jun 6, 2023

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @audunn
    Copy link
    Member Author

    audunn commented Jun 14, 2023

    @weidongxu-microsoft can you have another look to see if we are ready to move this along?

    @weidongxu-microsoft
    Copy link
    Member

    @audunn

    Yes, I think all is good. Do you want me merge it now?

    @zedy-wj zedy-wj added the Approved-OkToMerge <valid label in PR review process>add this label when assignee approve to merge the updates label Jun 15, 2023
    @audunn
    Copy link
    Member Author

    audunn commented Jun 15, 2023

    @audunn

    Yes, I think all is good. Do you want me merge it now?

    Yes, thank you

    @weidongxu-microsoft weidongxu-microsoft merged commit 930b1a7 into Azure:main Jun 16, 2023
    harryli0108 pushed a commit to harryli0108/azure-rest-api-specs that referenced this pull request Jul 28, 2023
    * Add new folder
    
    * Add 2022-11-01 changes
    
    * Update api-version in examples
    
    * Update readme
    
    * Validation
    
    * operation id and response header
    
    * netAppAccountPatch add identity
    
    * use commontypes param v3 not v2
    
    * Extend managedIdentity to add tennantId to userassigned to fix s360
    
    * remove format
    
    * manged identithy
    
    * error response model from common types
    
    * Revert override of managedServiceIdeneity
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Approved-OkToMerge <valid label in PR review process>add this label when assignee approve to merge the updates ARMReview ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review CI-BreakingChange-JavaScript CI-MissingBaseCommit commitAfterSignedOff new-api-version ReadyForApiTest <valid label in PR review process>add this label when swagger and service APIs are ready for test resource-manager
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    5 participants