Skip to content

Comments

Dev storagecache microsoft.storage cache 2023 03 01 preview#19724

Merged
dw511214992 merged 17 commits intoAzure:mainfrom
brpanask:dev-storagecache-Microsoft.StorageCache-2022-11-01-preview
Feb 14, 2023
Merged

Dev storagecache microsoft.storage cache 2023 03 01 preview#19724
dw511214992 merged 17 commits intoAzure:mainfrom
brpanask:dev-storagecache-Microsoft.StorageCache-2022-11-01-preview

Conversation

@brpanask
Copy link
Contributor

@brpanask brpanask commented Jul 8, 2022

This takes the amlfilesystem content from the 2021-11-01-preview api for storagecache Microsoft.StorageCache and adds the new public preview api 2023-03-01-preview version.

This 2023-03-01-preview version is based on storagecache 2022-05-01 version and the previously approved 2021-11-01-preview version's amlfilesystem content.

The amlfilesystem is a new resource that is currently in private preview and this api version will move it to public preview.

The only changes from the preview version of amlfilesystem content was the move to use a separate amlfilesystem.json file instead of adding it to the existing storagecache.json and to remove the management subnet that was in the private preview.

Adding this comment from below to make it more visible.
One question is on the comments to storagecache.json. That file has been that way for a few years and I think just about any change to that will be a breaking change against the existing service.

I squashed the fixes and made sure that the baseline was applied first which as from the 2022-05-01 GA version.
Then I added the approved GA 2023-01-01 version that is not merged yet as the next base.
After that the only real changes I applied to storagecache.json are from an approved 2022-09-01-preview spec in the private preview repo. That just included a new scalingFactor field.

The main content is the amlfilesystem.json. This was a new resource from the 2021-11-01-preview spec in the private repo.
It wasn't directly ported over from there because I made it its own file for public preview to help simplify reviews between existing content and new content.

stroagecache.json = GA Merged 2022-05-01 + GA Approved 2023-03-01 + Private Preview 2022-09-01-preview
amlfilesystem.json = Private Preview 2021-11-01-preview

This change for 2023-03-01-preview is the public preview of the 2 private previews for both storagecache and amlfilesystem.

Private Preview 2022-09-01-preview Pull Request
https://github.com/Azure/azure-rest-api-specs-pr/pull/7982

Private Preview 2021-11-01-preview Pull Request
https://github.com/Azure/azure-rest-api-specs-pr/pull/2097

Approved, not merged until RP rollout 2023-01-01
#22135

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

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. 2022-10.
  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month. 2022-11
  4. If updating an existing version, please select the specific language SDKs and CLIs that must be refreshed after the swagger is published.
    • SDK of .NET (need service team to ensure code readiness)
    • SDK of Python
    • SDK of Java
    • SDK of Js
    • SDK of Go
    • PowerShell
    • CLI
    • Terraform
    • No refresh required for updates in this PR

Contribution checklist:

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 are using OpenAPIHub to initialize the PR for adding a new version. 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 any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

  • Removing API(s) in a stable version
  • Removing properties in a stable version
  • Removing API version(s) in a stable version
  • Updating API in a stable or public preview version with Breaking Change Validation errors
  • Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

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

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

@openapi-workflow-bot
Copy link

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

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

  • Any feedback about review process or workflow bot, pls contact swagger and tools team. vscswagger@microsoft.com

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

    Hi, @brpanask your PR are labelled with WaitForARMFeedback. A notification email will be sent out shortly afterwards to notify ARM review board(armapireview@microsoft.com).

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jul 8, 2022

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️❌Breaking Change(Cross-Version): 11 Errors, 54 Warnings failed [Detail]
    compared swaggers (via Oad v0.10.4)] new version base version
    storagecache.json 2023-03-01-preview(0c61c31) 2022-05-01(main)
    storagecache.json 2023-03-01-preview(0c61c31) 2019-08-01-preview(main)

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

    Rule Message
    1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'ResourceGroupParameter' removed or renamed?
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L3481:3
    Old: Microsoft.StorageCache/stable/2022-05-01/storagecache.json#L3250:3
    1011 - AddingResponseCode The new version adds a response code '202'.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L547:11
    1019 - RemovedEnumValue The new version is removing enum value(s) 'Cancelled' from the old version.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L2119:13
    Old: Microsoft.StorageCache/stable/2022-05-01/storagecache.json#L1920:13
    1019 - RemovedEnumValue The new version is removing enum value(s) 'Cancelled' from the old version.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L2835:9
    Old: Microsoft.StorageCache/stable/2022-05-01/storagecache.json#L2624:9
    1025 - RequiredStatusChange The 'required' status changed from the old version('True') to the new version('False').
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L2387:11
    Old: Microsoft.StorageCache/stable/2022-05-01/storagecache.json#L2188:11
    1025 - RequiredStatusChange The 'required' status changed from the old version('False') to the new version('True').
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L463:11
    Old: Microsoft.StorageCache/stable/2022-05-01/storagecache.json#L461:11
    1025 - RequiredStatusChange The 'required' status changed from the old version('False') to the new version('True').
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L1081:11
    Old: Microsoft.StorageCache/stable/2022-05-01/storagecache.json#L1001:11
    1027 - DefaultValueChanged The new version has a different default value than the previous one.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L2455:9
    Old: Microsoft.StorageCache/stable/2022-05-01/storagecache.json#L2252:9
    1027 - DefaultValueChanged The new version has a different default value than the previous one.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L2460:9
    Old: Microsoft.StorageCache/stable/2022-05-01/storagecache.json#L2256:9
    1027 - DefaultValueChanged The new version has a different default value than the previous one.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L2465:9
    Old: Microsoft.StorageCache/stable/2022-05-01/storagecache.json#L2260:9
    1044 - XmsLongRunningOperationChanged The new version has a different 'x-ms-longrunning-operation' value than the previous one.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L511:7
    Old: Microsoft.StorageCache/stable/2022-05-01/storagecache.json#L508:7
    ⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L3363:9
    Old: Microsoft.StorageCache/stable/2022-05-01/storagecache.json#L3132:9


    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
    ⚠️ 1008 - ModifiedOperationId The operation id has been changed from 'Caches_Create' to 'Caches_CreateOrUpdate'. This will impact generated code.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L443:7
    Old: Microsoft.StorageCache/preview/2019-08-01-preview/storagecache.json#L364:7
    ⚠️ 1008 - ModifiedOperationId The operation id has been changed from 'StorageTargets_Create' to 'StorageTargets_CreateOrUpdate'. This will impact generated code.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L1058:7
    Old: Microsoft.StorageCache/preview/2019-08-01-preview/storagecache.json#L854:7
    ⚠️ 1011 - AddingResponseCode The new version adds a response code '202'.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L486:11
    ⚠️ 1011 - AddingResponseCode The new version adds a response code '202'.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L547:11
    ⚠️ 1011 - AddingResponseCode The new version adds a response code '204'.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L746:11
    ⚠️ 1011 - AddingResponseCode The new version adds a response code '204'.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L808:11
    ⚠️ 1011 - AddingResponseCode The new version adds a response code '204'.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L870:11
    ⚠️ 1011 - AddingResponseCode The new version adds a response code '202'.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L1104:11
    ⚠️ 1011 - AddingResponseCode The new version adds a response code '204'.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L1697:11
    ⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L2763:9
    Old: Microsoft.StorageCache/preview/2019-08-01-preview/storagecache.json#L1509:9
    ⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'Cancelled' from the old version.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L2119:13
    Old: Microsoft.StorageCache/preview/2019-08-01-preview/storagecache.json#L1190:13
    ⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'Cancelled' from the old version.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L2835:9
    Old: Microsoft.StorageCache/preview/2019-08-01-preview/storagecache.json#L1534:13
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L2091:13
    Old: Microsoft.StorageCache/preview/2019-08-01-preview/storagecache.json#L1173:13
    ⚠️ 1025 - RequiredStatusChange The 'required' status changed from the old version('False') to the new version('True').
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L463:11
    Old: Microsoft.StorageCache/preview/2019-08-01-preview/storagecache.json#L393:11
    ⚠️ 1025 - RequiredStatusChange The 'required' status changed from the old version('False') to the new version('True').
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L2808:7
    Old: Microsoft.StorageCache/preview/2019-08-01-preview/storagecache.json#L1513:11
    ⚠️ 1025 - RequiredStatusChange The 'required' status changed from the old version('False') to the new version('True').
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L1081:11
    Old: Microsoft.StorageCache/preview/2019-08-01-preview/storagecache.json#L891:11
    ⚠️ 1029 - ReadonlyPropertyChanged The read only property has changed from 'false' to 'true'.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L2119:13
    Old: Microsoft.StorageCache/preview/2019-08-01-preview/storagecache.json#L1190:13
    ⚠️ 1029 - ReadonlyPropertyChanged The read only property has changed from 'false' to 'true'.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L2835:9
    Old: Microsoft.StorageCache/preview/2019-08-01-preview/storagecache.json#L1534:13
    ⚠️ 1030 - DifferentDiscriminator The new version has a different discriminator than the previous one.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L3140:11
    Old: Microsoft.StorageCache/preview/2019-08-01-preview/storagecache.json#L1594:11
    ⚠️ 1030 - DifferentDiscriminator The new version has a different discriminator than the previous one.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L1036:13
    Old: Microsoft.StorageCache/preview/2019-08-01-preview/storagecache.json#L832:13
    ⚠️ 1030 - DifferentDiscriminator The new version has a different discriminator than the previous one.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L1086:13
    Old: Microsoft.StorageCache/preview/2019-08-01-preview/storagecache.json#L895:13
    ⚠️ 1030 - DifferentDiscriminator The new version has a different discriminator than the previous one.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L1094:13
    Old: Microsoft.StorageCache/preview/2019-08-01-preview/storagecache.json#L903:13
    ⚠️ 1030 - DifferentDiscriminator The new version has a different discriminator than the previous one.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L1100:13
    Old: Microsoft.StorageCache/preview/2019-08-01-preview/storagecache.json#L909:13
    ⚠️ 1030 - DifferentDiscriminator The new version has a different discriminator than the previous one.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L2754:5
    Old: Microsoft.StorageCache/preview/2019-08-01-preview/storagecache.json#L1489:5
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L3140:11
    Old: Microsoft.StorageCache/preview/2019-08-01-preview/storagecache.json#L1594:11
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L1036:13
    Old: Microsoft.StorageCache/preview/2019-08-01-preview/storagecache.json#L832:13
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L1086:13
    Old: Microsoft.StorageCache/preview/2019-08-01-preview/storagecache.json#L895:13
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L1094:13
    Old: Microsoft.StorageCache/preview/2019-08-01-preview/storagecache.json#L903:13
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L1100:13
    Old: Microsoft.StorageCache/preview/2019-08-01-preview/storagecache.json#L909:13
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L2754:5
    Old: Microsoft.StorageCache/preview/2019-08-01-preview/storagecache.json#L1489:5
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️❌LintDiff: 3 Errors, 2 Warnings failed [Detail]
    compared tags (via openapi-validator v2.0.0) new version base version
    package-preview-2023-03 package-preview-2023-03(0c61c31) default(main)

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

    Rule Message Related RPC [For API reviewers]
    LongRunningResponseStatusCode A 'delete' operation 'amlFilesystems_Delete' with x-ms-long-running-operation extension must have a valid terminal success status code 200 or 204.
    Location: Microsoft.StorageCache/preview/2023-03-01-preview/amlfilesystem.json#L126
    RPC-Async-V1-01
    PatchIdentityProperty The patch operation body parameter schema should contains property 'identity'.
    Location: Microsoft.StorageCache/preview/2023-03-01-preview/amlfilesystem.json#L320
    RPC-Patch-V1-11
    PatchSkuProperty The patch operation body parameter schema should contains property 'sku'.
    Location: Microsoft.StorageCache/preview/2023-03-01-preview/amlfilesystem.json#L320
    RPC-Patch-V1-09
    ⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.StorageCache/preview/2023-03-01-preview/amlfilesystem.json#L633
    ⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.StorageCache/preview/2023-03-01-preview/amlfilesystem.json#L772


    The following errors/warnings exist before current PR submission:

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

    Rule Message
    SubscriptionsAndResourceGroupCasing The path segment resourcegroups should be resourceGroups.
    Location: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L297
    SubscriptionsAndResourceGroupCasing The path segment resourcegroups should be resourceGroups.
    Location: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L342
    DeleteOperationAsyncResponseValidation An async DELETE operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L343
    LongRunningResponseStatusCode A 'delete' operation 'Caches_Delete' with x-ms-long-running-operation extension must have a valid terminal success status code 200 or 204.
    Location: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L343
    CreateOperationAsyncResponseValidation An async PUT operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L443
    CreateOperationAsyncResponseValidation Only 201 is the supported response code for PUT async response.
    Location: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L486
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L486
    UnSupportedPatchProperties The patch operation body parameter schema should not contains property name.
    Location: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L531
    UnSupportedPatchProperties The patch operation body parameter schema should not contains property type.
    Location: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L531
    UnSupportedPatchProperties The patch operation body parameter schema should not contains property location.
    Location: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L531
    SubscriptionsAndResourceGroupCasing The path segment resourcegroups should be resourceGroups.
    Location: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L586
    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.StorageCache/preview/2023-03-01-preview/storagecache.json#L587
    SubscriptionsAndResourceGroupCasing The path segment resourcegroups should be resourceGroups.
    Location: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L648
    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.StorageCache/preview/2023-03-01-preview/storagecache.json#L649
    SubscriptionsAndResourceGroupCasing The path segment resourcegroups should be resourceGroups.
    Location: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L710
    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.StorageCache/preview/2023-03-01-preview/storagecache.json#L711
    SubscriptionsAndResourceGroupCasing The path segment resourcegroups should be resourceGroups.
    Location: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L772
    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.StorageCache/preview/2023-03-01-preview/storagecache.json#L773
    SubscriptionsAndResourceGroupCasing The path segment resourcegroups should be resourceGroups.
    Location: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L834
    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.StorageCache/preview/2023-03-01-preview/storagecache.json#L835
    SubscriptionsAndResourceGroupCasing The path segment resourcegroups should be resourceGroups.
    Location: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L896
    SubscriptionsAndResourceGroupCasing The path segment resourcegroups should be resourceGroups.
    Location: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L944
    TrackedResourcePatchOperation Tracked resource 'StorageTarget' must have patch operation that at least supports the update of tags.
    Location: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L944
    DeleteOperationAsyncResponseValidation An async DELETE operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L945
    LongRunningResponseStatusCode A 'delete' operation 'StorageTargets_Delete' with x-ms-long-running-operation extension must have a valid terminal success status code 200 or 204.
    Location: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L945
    CreateOperationAsyncResponseValidation An async PUT operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L1058
    CreateOperationAsyncResponseValidation Only 201 is the supported response code for PUT async response.
    Location: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L1104
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L1104
    SubscriptionsAndResourceGroupCasing The path segment resourcegroups should be resourceGroups.
    Location: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L1133
    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.StorageCache/preview/2023-03-01-preview/storagecache.json#L1134
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️❌ApiReadinessCheck: 1 Errors, 0 Warnings failed [Detail]
    Rule Message
    API Readiness check failed. Please make sure your service is deployed. "code: InvalidResourceType,
    message: The resource type 'operations' could not be found in the namespace 'Microsoft.StorageCache' for api version '2023-03-01-preview'. The supported api-versions are '2019-08-01-preview,
    2019-11-01,
    2020-03-01,
    2020-10-01,
    2021-03-01,
    2021-05-01,
    2021-09-01,
    2021-10-01-preview,
    2021-11-01-preview,
    2022-01-01,
    2022-05-01,
    2022-09-01-preview'."
    ️⚠️~[Staging] ServiceAPIReadinessTest: 0 Warnings warning [Detail]

    API Test is not triggered due to precheck failure. Check pipeline log for details.

    ️️✔️~[Staging] SwaggerAPIView succeeded [Detail] [Expand]
    ️️✔️~[Staging] CadlAPIView 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.
    ️️✔️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 Jul 8, 2022

    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 failed [Detail]
    • Failed [Logs] Generate from 39ecef97a9bc711ac44077858a83eb96cda0b52a. 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] WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
      cmderr	[automation_generate.sh] npm notice
      cmderr	[automation_generate.sh] npm notice New minor version of npm available! 8.11.0 -> 8.13.2
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.13.2>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g npm@8.13.2` to update!
      cmderr	[automation_generate.sh] npm notice
      cmdout	[automation_generate.sh] [Autorest] AutoRest code generation utility [cli version: 3.6.1; node: v14.15.0]
      cmdout	[automation_generate.sh] [Autorest] (C) 2018 Microsoft Corporation.
      cmdout	[automation_generate.sh] [Autorest] https://aka.ms/autorest
      cmdout	[automation_generate.sh] [Autorest] info    | AutoRest core version selected from configuration: 3.7.2.
      cmdout	[automation_generate.sh] [Autorest] SourceMapConsumer.initialize is a no-op when running in node.js
      cmdout	[automation_generate.sh] [Autorest] info    |    Loading AutoRest core      '/home/cloudtest/.autorest/@autorestcore@3.7.2/nodemodules/@autorest/core/dist' (3.7.2)
      cmdout	[automation_generate.sh] [Autorest] warning | PreCheck/CheckDuplicateSchemas | Checking for duplicate schemas, this could take a (long) while.  Run with --verbose for more detail.
      cmdout	[automation_generate.sh] [Autorest] error   | PreCheck/DuplicateSchema | Duplicate Schema named 'userAssignedIdentitiesValue' (2 differences):
      cmdout	[automation_generate.sh] [Autorest]   - properties.principalId.$ref: "#/components/schemas/schemas:53" => "#/components/schemas/schemas:245"
      cmdout	[automation_generate.sh] [Autorest]   - properties.clientId.$ref: "#/components/schemas/schemas:54" => "#/components/schemas/schemas:246"; 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]/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]
    • Failed [Logs] Generate from 39ecef97a9bc711ac44077858a83eb96cda0b52a. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	sudo apt-get install -y dotnet-sdk-6.0
      command	autorest --version=2.0.4421 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.csharp@2.3.82 --csharp-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/storagecache/resource-manager/readme.md
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] FATAL: swagger-document/compose - FAILED
      cmderr	[Autorest] FATAL: Error: '$.parameters.SubscriptionIdParameter.description' has incompatible values (---
      cmderr	[Autorest]   -
      cmderr	[Autorest]   Subscription credentials which uniquely identify Microsoft Azure subscription.
      cmderr	[Autorest]   The subscription ID forms part of the URI for every service call.
      cmderr	[Autorest] , ---
      cmderr	[Autorest] The ID of the target subscription.
      cmderr	[Autorest] ).
      cmderr	[Autorest]   Error: '$.parameters.SubscriptionIdParameter.description' has incompatible values (---
      cmderr	[Autorest]   -
      cmderr	[Autorest]   Subscription credentials which uniquely identify Microsoft Azure subscription.
      cmderr	[Autorest]   The subscription ID forms part of the URI for every service call.
      cmderr	[Autorest] , ---
      cmderr	[Autorest] The ID of the target subscription.
      cmderr	[Autorest] ).
      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-java succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from 39ecef97a9bc711ac44077858a83eb96cda0b52a. SDK Automation 14.0.0
      command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
      command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
    • ️✔️azure-resourcemanager-storagecache [View full logs]  [Preview SDK Changes]
    ️❌ azure-sdk-for-go failed [Detail]
    • Failed [Logs] Generate from 39ecef97a9bc711ac44077858a83eb96cda0b52a. SDK Automation 14.0.0
      command	sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
      cmderr	[generator automation-v2] [ERROR] total 1 error(s):
      cmderr	[generator automation-v2] [ERROR] failed to execute `go generate` '�[33;1mWARNING: Unable to find version for /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storagecache/armstoragecache�[0m
      cmderr	[generator automation-v2] [ERROR] Cannot find go module under resourcemanager/storagecache/armstoragecache, try to build in /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storagecache/armstoragecache
      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/storagecache/armstoragecache
      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/storagecache/armstoragecache
      cmderr	[generator automation-v2] [ERROR] AutoRest code generation utility [cli version: 3.6.1; node: v14.19.3]
      cmderr	[generator automation-v2] [ERROR] (C) 2018 Microsoft Corporation.
      cmderr	[generator automation-v2] [ERROR] https://aka.ms/autorest
      cmderr	[generator automation-v2] [ERROR] info    | AutoRest core version selected from configuration: 3.8.2.
      cmderr	[generator automation-v2] [ERROR] info    |    Loading AutoRest core      '/home/cloudtest/.autorest/@autorestcore@3.8.2/nodemodules/@autorest/core/dist' (3.8.2)
      cmderr	[generator automation-v2] [ERROR] info    |    Installing AutoRest extension '@autorest/go' (4.0.0-preview.43 -> 4.0.0-preview.43)
      cmderr	[generator automation-v2] [ERROR] info    |    Installed AutoRest extension '@autorest/go' (4.0.0-preview.43->4.0.0-preview.43)
      cmderr	[generator automation-v2] [ERROR] info    |    Installing AutoRest extension '@autorest/modelerfour' (4.23.1 -> 4.23.1)
      cmderr	[generator automation-v2] [ERROR] info    |    Installed AutoRest extension '@autorest/modelerfour' (4.23.1->4.23.1)
      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 > AscOperation > properties > error)
      cmderr	[generator automation-v2] [ERROR] keys: [ �[32m'type'�[39m ]
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2022-11-01-preview/storagecache.json:1813:9
      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 'userAssignedIdentitiesValue' (2 differences):
      cmderr	[generator automation-v2] [ERROR] - properties.principalId.$ref: "#/components/schemas/schemas:53" => "#/components/schemas/schemas:245"
      cmderr	[generator automation-v2] [ERROR] - properties.clientId.$ref: "#/components/schemas/schemas:54" => "#/components/schemas/schemas:246"; 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.exe": exit status 1
      cmderr	[generator automation-v2] [ERROR] ': exit status 1
      error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go]: generator automation-v2
      warn	Skip package processing as generation is failed
    ️🔄 azure-sdk-for-js inProgress [Detail]
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs] Generate from 39ecef97a9bc711ac44077858a83eb96cda0b52a. 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
    • ️✔️storagecache [View full logs]  [Preview Schema Changes]
    ️❌ azure-powershell failed [Detail]
    • Failed [Logs] Generate from 39ecef97a9bc711ac44077858a83eb96cda0b52a. SDK Automation 14.0.0
      command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
      command	pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
    • Az.storagecache [View full logs]  [Preview SDK Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-workflow-bot
    Copy link

    Hi @brpanask, 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-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jul 8, 2022

    Swagger Generation Artifacts

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

    Breaking Changes Tracking


    azure-sdk-for-go - sdk/resourcemanager/storagecache/armstoragecache - 3.0.0
    +	Function `*CachesClient.BeginCreateOrUpdate` parameter(s) have been changed from `(context.Context, string, string, Cache, *CachesClientBeginCreateOrUpdateOptions)` to `(context.Context, string, string, *CachesClientBeginCreateOrUpdateOptions)`
    +	Function `*CachesClient.Update` parameter(s) have been changed from `(context.Context, string, string, Cache, *CachesClientUpdateOptions)` to `(context.Context, string, string, *CachesClientUpdateOptions)`
    +	Function `*StorageTargetsClient.BeginCreateOrUpdate` parameter(s) have been changed from `(context.Context, string, string, string, StorageTarget, *StorageTargetsClientBeginCreateOrUpdateOptions)` to `(context.Context, string, string, string, *StorageTargetsClientBeginCreateOrUpdateOptions)`
    +	Struct `CloudError` has been removed
    +	Type of `AscOperationProperties.Output` has been changed from `map[string]interface{}` to `map[string]any`

    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from de600b9. 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 major version of npm available! 8.19.3 -> 9.4.2
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.4.2>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g npm@9.4.2` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-storagecache [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog]   - Added operation StorageTargetsOperations.begin_restore_defaults
      info	[Changelog]   - Model BlobNfsTarget has a new parameter verification_timer
      info	[Changelog]   - Model BlobNfsTarget has a new parameter write_back_timer
      info	[Changelog]   - Model Nfs3Target has a new parameter verification_timer
      info	[Changelog]   - Model Nfs3Target has a new parameter write_back_timer
      info	[Changelog]
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog]   - Renamed operation CachesOperations.update to CachesOperations.begin_update
    ️❌ azure-sdk-for-net-track2 failed [Detail]
    • Failed [Logs]Release - Generate from de600b9. SDK Automation 14.0.0
      command	pwsh ./eng/scripts/Automation-Sdk-Init.ps1 ../azure-sdk-for-net_tmp/initInput.json ../azure-sdk-for-net_tmp/initOutput.json
      command	pwsh ./eng/scripts/Invoke-GenerateAndBuildV2.ps1 ../azure-sdk-for-net_tmp/generateInput.json ../azure-sdk-for-net_tmp/generateOutput.json
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1mGeneratePackage: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:672
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 672 | �[0m         �[36;1mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s�[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[36;1m     | �[31;1mFailed to build sdk. exit code: False
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
    • Azure.ResourceManager.StorageCache [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] Breaking Changes: /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(96,5): error : ApiCompat failed for '/mnt/vss/_work/1/s/azure-sdk-for-net/artifacts/bin/Azure.ResourceManager.StorageCache/Debug/netstandard2.0/Azure.ResourceManager.StorageCache.dll' [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/storagecache/Azure.ResourceManager.StorageCache/src/Azure.ResourceManager.StorageCache.csproj::TargetFramework=netstandard2.0]
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from de600b9. 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 available: 22.3.1 -> 23.0
      cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
      cmderr	[init.sh] [notice] A new release of pip available: 22.3.1 -> 23.0
      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-storagecache [View full logs]  [Release SDK Changes]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from de600b9. 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/storagecache/armstoragecache [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] - Operation `*CachesClient.Update` has been changed to LRO, use `*CachesClient.BeginUpdate` instead.
      info	[Changelog] - Struct `CloudError` has been removed
      info	[Changelog]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New function `*StorageTargetsClient.BeginRestoreDefaults(context.Context, string, string, string, *StorageTargetsClientBeginRestoreDefaultsOptions) (*runtime.Poller[StorageTargetsClientRestoreDefaultsResponse], error)`
      info	[Changelog] - New struct `StorageTargetsClientRestoreDefaultsResponse`
      info	[Changelog] - New field `VerificationTimer` in struct `BlobNfsTarget`
      info	[Changelog] - New field `WriteBackTimer` in struct `BlobNfsTarget`
      info	[Changelog] - New field `VerificationTimer` in struct `Nfs3Target`
      info	[Changelog] - New field `WriteBackTimer` in struct `Nfs3Target`
      info	[Changelog]
      info	[Changelog] Total 3 breaking change(s), 5 additive change(s).
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from de600b9. 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-storagecache [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Added operation Caches.beginUpdate
      info	[Changelog]   - Added operation Caches.beginUpdateAndWait
      info	[Changelog]   - Added operation StorageTargets.beginRestoreDefaults
      info	[Changelog]   - Added operation StorageTargets.beginRestoreDefaultsAndWait
      info	[Changelog]   - Added Interface CachesDebugInfoHeaders
      info	[Changelog]   - Added Interface CachesDeleteHeaders
      info	[Changelog]   - Added Interface CachesFlushHeaders
      info	[Changelog]   - Added Interface CachesStartHeaders
      info	[Changelog]   - Added Interface CachesStopHeaders
      info	[Changelog]   - Added Interface CachesUpdateHeaders
      info	[Changelog]   - Added Interface CachesUpgradeFirmwareHeaders
      info	[Changelog]   - Added Interface StorageTargetFlushHeaders
      info	[Changelog]   - Added Interface StorageTargetInvalidateHeaders
      info	[Changelog]   - Added Interface StorageTargetResumeHeaders
      info	[Changelog]   - Added Interface StorageTargetsDeleteHeaders
      info	[Changelog]   - Added Interface StorageTargetsDnsRefreshHeaders
      info	[Changelog]   - Added Interface StorageTargetsRestoreDefaultsHeaders
      info	[Changelog]   - Added Interface StorageTargetsRestoreDefaultsOptionalParams
      info	[Changelog]   - Added Interface StorageTargetSuspendHeaders
      info	[Changelog]   - Interface BlobNfsTarget has a new optional parameter verificationTimer
      info	[Changelog]   - Interface BlobNfsTarget has a new optional parameter writeBackTimer
      info	[Changelog]   - Interface CachesUpdateOptionalParams has a new optional parameter resumeFrom
      info	[Changelog]   - Interface CachesUpdateOptionalParams has a new optional parameter updateIntervalInMs
      info	[Changelog]   - Interface Nfs3Target has a new optional parameter verificationTimer
      info	[Changelog]   - Interface Nfs3Target has a new optional parameter writeBackTimer
      info	[Changelog]
      info	[Changelog] **Breaking Changes**
      info	[Changelog]
      info	[Changelog]   - Removed operation Caches.update
      info	[Changelog]   - Operation Caches.beginCreateOrUpdate has a new signature
      info	[Changelog]   - Operation Caches.beginCreateOrUpdateAndWait has a new signature
      info	[Changelog]   - Operation StorageTargets.beginCreateOrUpdate has a new signature
      info	[Changelog]   - Operation StorageTargets.beginCreateOrUpdateAndWait has a new signature
      info	[Changelog]   - Interface CachesCreateOrUpdateOptionalParams no longer has parameter cache
      info	[Changelog]   - Interface StorageTargetsCreateOrUpdateOptionalParams no longer has parameter storagetarget
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from de600b9. 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
    • ️✔️storagecache [View full logs]  [Release Schema Changes]
    ️❌ azure-powershell failed [Detail]
    • Failed [Logs]Release - Generate from de600b9. SDK Automation 14.0.0
      command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
      command	pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
    • Az.storagecache [View full logs]  [Release SDK Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Oct 12, 2022

    Generated ApiView

    Language Package Name ApiView Link
    Go sdk/resourcemanager/storagecache/armstoragecache https://apiview.dev/Assemblies/Review/4fb2fed7a62645828cfc948ffde57a32
    Java azure-resourcemanager-storagecache https://apiview.dev/Assemblies/Review/f8bbc774ff034caabf111cfd70a7979d
    .Net Azure.ResourceManager.StorageCache https://apiview.dev/Assemblies/Review/8f9c277878c64e7a878795d1774f070d
    JavaScript @azure/arm-storagecache https://apiview.dev/Assemblies/Review/fcb0e9778df34dbda3ed8bd0958b01f2

    @brpanask
    Copy link
    Contributor Author

    /azp run unifiedPipeline

    @azure-pipelines
    Copy link

    No pipelines are associated with this pull request.

    @brpanask
    Copy link
    Contributor Author

    /azp run unifiedPipeline

    @azure-pipelines
    Copy link

    No pipelines are associated with this pull request.

    @brpanask
    Copy link
    Contributor Author

    /azp run unifiedPipeline

    @azure-pipelines
    Copy link

    No pipelines are associated with this pull request.

    @brpanask brpanask force-pushed the dev-storagecache-Microsoft.StorageCache-2022-11-01-preview branch from 2548b0f to fcf4ba3 Compare October 19, 2022 20:04
    @TimLovellSmith TimLovellSmith added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed ARMChangesRequested labels Jan 28, 2023
    @openapi-workflow-bot openapi-workflow-bot bot added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Jan 28, 2023
    @TimLovellSmith
    Copy link
    Member

    LGTM now

    @visingla-ms
    Copy link
    Contributor

    visingla-ms commented Jan 28, 2023

    This ARMSignedOff PR still needs needs Breaking Changes Approved Label. I guess, that's why, automation added WaitForARMFeedback label again. Just FYI, @TimLovellSmith, @JeffreyRichter, @brpanask.
    Alos, removing ARMWaitForFeedback label as the PR is already SignedOff.

    @visingla-ms visingla-ms removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Jan 28, 2023
    @brpanask
    Copy link
    Contributor Author

    @dw511214992
    I have some questions about these checks in the lint diff that are failing. 

    For the additional properties warnings, I don't know what it needed.  It has x-ms-flatten there.  Similar to our private preview version of this and our storagecache.json file. 

    The Patch Identity and Sku properties aren't modifiable.  So I can't add them to the patch body since its not taking in readonly or createonly values.  I just made the Patch body separate from the PUT body to fix other errors saying Location can't be in the Patch body.

    The Long Running Response Statue code must have 200 and 204 for delete.    I have that so I'm not sure why this is an issue.
    The 202 was in there during private preview and its deleting a whole cluster behind the scenes for this resource.

    @JeffreyRichter
    Copy link
    Member

    @brpanask
    Copy link
    Contributor Author

    There are many breaking changes shown here: https://github.com/Azure/azure-rest-api-specs/pull/19724/checks?check_run_id=10940083018

    @JeffreyRichter
    Yes, These are from the unmerged GA version 2023-01-01 and the private preview 2022-09-01.
    Only a few are from some existing issues found during ARM review.

    Here is an early comment I left with the details and the PRs with the breaking changes approvals.

    For breaking changes, the list in the checks for this api are inherited from the changes that are merged into this api version.
    https://github.com/Azure/azure-rest-api-specs/pull/22135/checks?check_run_id=10704482577 - 2023-01-01 GA
    https://github.com/Azure/azure-rest-api-specs-pr/pull/7982/checks?check_run_id=9480440998 - 2022-09-01 private preview

    I'm going through the new comments now and doing what I can to work through the comments without additional breaking changes. The only one that should show up is the change from Cancelled to Canceled to match the ARM spec for provisioningState in stroagecache.json. It wasn't part of the codes enum so it can never be returned.
    For the new amlfilesystem.json I remove the value from the enum.

    I'll go through and point out the new ones which I know are Cancelled to Canceled and just a few others that just showed up.
    I'll gather them now and update this thread.

    I'll still fill out a breaking change form and attend the meeting on Monday.

    @brpanask
    Copy link
    Contributor Author

    There are many breaking changes shown here: https://github.com/Azure/azure-rest-api-specs/pull/19724/checks?check_run_id=10940083018

    @JeffreyRichter Yes, These are from the unmerged GA version 2023-01-01 and the private preview 2022-09-01. Only a few are from some existing issues found during ARM review.

    Here is an early comment I left with the details and the PRs with the breaking changes approvals.

    For breaking changes, the list in the checks for this api are inherited from the changes that are merged into this api version. https://github.com/Azure/azure-rest-api-specs/pull/22135/checks?check_run_id=10704482577 - 2023-01-01 GA https://github.com/Azure/azure-rest-api-specs-pr/pull/7982/checks?check_run_id=9480440998 - 2022-09-01 private preview

    I'm going through the new comments now and doing what I can to work through the comments without additional breaking changes. The only one that should show up is the change from Cancelled to Canceled to match the ARM spec for provisioningState in stroagecache.json. It wasn't part of the codes enum so it can never be returned. For the new amlfilesystem.json I remove the value from the enum.

    I'll go through and point out the new ones which I know are Cancelled to Canceled and just a few others that just showed up. I'll gather them now and update this thread.

    I'll still fill out a breaking change form and attend the meeting on Monday.

    2022-09-01-preview didn't need breaking change approval. The check passed and in it, it just noted the new field in the new api version and that a ref to a string was replaced with a string which fixed an s360 where x-ms-secret wasn't understood when applied to the ref, but did work directly on the string type.

    ⚠️ 1017 - ReferenceRedirection | The '$ref' property points to different models in the old and new versions.New: Microsoft.StorageCache/preview/2022-09-01-preview/storagecache.json#L3138:9Old: Microsoft.StorageCache/stable/2022-05-01/storagecache.json#L3132:9
    💬 1041 - AddedPropertyInResponse | The new version has a new property 'scalingFactor' in response that was not found in the old version.New: Microsoft.StorageCache/preview/2022-09-01-preview/storagecache.json#L1897:11Old: Microsoft.StorageCache/stable/2022-05-01/storagecache.json#L1897:11

    @brpanask
    Copy link
    Contributor Author

    There are many breaking changes shown here: https://github.com/Azure/azure-rest-api-specs/pull/19724/checks?check_run_id=10940083018

    @JeffreyRichter Yes, These are from the unmerged GA version 2023-01-01 and the private preview 2022-09-01. Only a few are from some existing issues found during ARM review.
    Here is an early comment I left with the details and the PRs with the breaking changes approvals.
    For breaking changes, the list in the checks for this api are inherited from the changes that are merged into this api version. https://github.com/Azure/azure-rest-api-specs/pull/22135/checks?check_run_id=10704482577 - 2023-01-01 GA https://github.com/Azure/azure-rest-api-specs-pr/pull/7982/checks?check_run_id=9480440998 - 2022-09-01 private preview
    I'm going through the new comments now and doing what I can to work through the comments without additional breaking changes. The only one that should show up is the change from Cancelled to Canceled to match the ARM spec for provisioningState in stroagecache.json. It wasn't part of the codes enum so it can never be returned. For the new amlfilesystem.json I remove the value from the enum.
    I'll go through and point out the new ones which I know are Cancelled to Canceled and just a few others that just showed up. I'll gather them now and update this thread.
    I'll still fill out a breaking change form and attend the meeting on Monday.

    2022-09-01-preview didn't need breaking change approval. The check passed and in it, it just noted the new field in the new api version and that a ref to a string was replaced with a string which fixed an s360 where x-ms-secret wasn't understood when applied to the ref, but did work directly on the string type.

    ⚠️ 1017 - ReferenceRedirection | The '$ref' property points to different models in the old and new versions.New: Microsoft.StorageCache/preview/2022-09-01-preview/storagecache.json#L3138:9Old: Microsoft.StorageCache/stable/2022-05-01/storagecache.json#L3132:9 💬 1041 - AddedPropertyInResponse | The new version has a new property 'scalingFactor' in response that was not found in the old version.New: Microsoft.StorageCache/preview/2022-09-01-preview/storagecache.json#L1897:11Old: Microsoft.StorageCache/stable/2022-05-01/storagecache.json#L1897:11

    The 2023-01-01 GA version just received breaking change approval 2 weeks ago.
    It added

    ❌ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'ResourceGroupParameter' removed or renamed?New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L3481:3Old: Microsoft.StorageCache/stable/2022-05-01/storagecache.json#L3250:3
    ❌ 1011 - AddingResponseCode The new version adds a response code '202'.New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L547:11
    ❌ 1019 - RemovedEnumValue The new version is removing enum value(s) 'Cancelled' from the old version.New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L2119:13Old: Microsoft.StorageCache/stable/2022-05-01/storagecache.json#L1920:13
    ❌ 1019 - RemovedEnumValue The new version is removing enum value(s) 'Cancelled' from the old version.New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L2835:9Old: Microsoft.StorageCache/stable/2022-05-01/storagecache.json#L2624:9
    ❌ 1025 - RequiredStatusChange The 'required' status changed from the old version('True') to the new version('False').New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L2387:11Old: Microsoft.StorageCache/stable/2022-05-01/storagecache.json#L2188:11
    ❌ 1025 - RequiredStatusChange The 'required' status changed from the old version('False') to the new version('True').New: Microsoft.StorageCache/preview/2023-03-01-preview/storagecache.json#L463:11Old: Microsoft.StorageCache/stable/2022-05-01/storagecache.json#L461:11

    There are many breaking changes shown here: https://github.com/Azure/azure-rest-api-specs/pull/19724/checks?check_run_id=10940083018

    @JeffreyRichter Yes, These are from the unmerged GA version 2023-01-01 and the private preview 2022-09-01. Only a few are from some existing issues found during ARM review.
    Here is an early comment I left with the details and the PRs with the breaking changes approvals.
    For breaking changes, the list in the checks for this api are inherited from the changes that are merged into this api version. https://github.com/Azure/azure-rest-api-specs/pull/22135/checks?check_run_id=10704482577 - 2023-01-01 GA https://github.com/Azure/azure-rest-api-specs-pr/pull/7982/checks?check_run_id=9480440998 - 2022-09-01 private preview
    I'm going through the new comments now and doing what I can to work through the comments without additional breaking changes. The only one that should show up is the change from Cancelled to Canceled to match the ARM spec for provisioningState in stroagecache.json. It wasn't part of the codes enum so it can never be returned. For the new amlfilesystem.json I remove the value from the enum.
    I'll go through and point out the new ones which I know are Cancelled to Canceled and just a few others that just showed up. I'll gather them now and update this thread.
    I'll still fill out a breaking change form and attend the meeting on Monday.

    2022-09-01-preview didn't need breaking change approval. The check passed and in it, it just noted the new field in the new api version and that a ref to a string was replaced with a string which fixed an s360 where x-ms-secret wasn't understood when applied to the ref, but did work directly on the string type.

    ⚠️ 1017 - ReferenceRedirection | The '$ref' property points to different models in the old and new versions.New: Microsoft.StorageCache/preview/2022-09-01-preview/storagecache.json#L3138:9Old: Microsoft.StorageCache/stable/2022-05-01/storagecache.json#L3132:9 💬 1041 - AddedPropertyInResponse | The new version has a new property 'scalingFactor' in response that was not found in the old version.New: Microsoft.StorageCache/preview/2022-09-01-preview/storagecache.json#L1897:11Old: Microsoft.StorageCache/stable/2022-05-01/storagecache.json#L1897:11

    There are many breaking changes shown here: https://github.com/Azure/azure-rest-api-specs/pull/19724/checks?check_run_id=10940083018

    @JeffreyRichter Yes, These are from the unmerged GA version 2023-01-01 and the private preview 2022-09-01. Only a few are from some existing issues found during ARM review.
    Here is an early comment I left with the details and the PRs with the breaking changes approvals.
    For breaking changes, the list in the checks for this api are inherited from the changes that are merged into this api version. https://github.com/Azure/azure-rest-api-specs/pull/22135/checks?check_run_id=10704482577 - 2023-01-01 GA https://github.com/Azure/azure-rest-api-specs-pr/pull/7982/checks?check_run_id=9480440998 - 2022-09-01 private preview
    I'm going through the new comments now and doing what I can to work through the comments without additional breaking changes. The only one that should show up is the change from Cancelled to Canceled to match the ARM spec for provisioningState in stroagecache.json. It wasn't part of the codes enum so it can never be returned. For the new amlfilesystem.json I remove the value from the enum.
    I'll go through and point out the new ones which I know are Cancelled to Canceled and just a few others that just showed up. I'll gather them now and update this thread.
    I'll still fill out a breaking change form and attend the meeting on Monday.

    2022-09-01-preview didn't need breaking change approval. The check passed and in it, it just noted the new field in the new api version and that a ref to a string was replaced with a string which fixed an s360 where x-ms-secret wasn't understood when applied to the ref, but did work directly on the string type.

    ⚠️ 1017 - ReferenceRedirection | The '$ref' property points to different models in the old and new versions.New: Microsoft.StorageCache/preview/2022-09-01-preview/storagecache.json#L3138:9Old: Microsoft.StorageCache/stable/2022-05-01/storagecache.json#L3132:9 💬 1041 - AddedPropertyInResponse | The new version has a new property 'scalingFactor' in response that was not found in the old version.New: Microsoft.StorageCache/preview/2022-09-01-preview/storagecache.json#L1897:11Old: Microsoft.StorageCache/stable/2022-05-01/storagecache.json#L1897:11

    The 2023-01-01 GA version had breaking changes approval 2 weeks ago and added

    ❌ 1011 - AddingResponseCode The new version adds a response code '202'.New: Microsoft.StorageCache/stable/2023-01-01/storagecache.json#L555:11
    ❌ 1025 - RequiredStatusChange The 'required' status changed from the old version('False') to the new version('True').New: Microsoft.StorageCache/stable/2023-01-01/storagecache.json#L471:11Old: Microsoft.StorageCache/stable/2022-05-01/storagecache.json#L461:11
    ❌ 1025 - RequiredStatusChange The 'required' status changed from the old version('False') to the new version('True').New: Microsoft.StorageCache/stable/2023-01-01/storagecache.json#L1089:11Old: Microsoft.StorageCache/stable/2022-05-01/storagecache.json#L1001:11
    ❌ 1044 - XmsLongRunningOperationChanged The new version has a different 'x-ms-longrunning-operation' value than the previous one.New: Microsoft.StorageCache/stable/2023-01-01/storagecache.json#L519:7Old: Microsoft.StorageCache/stable/2022-05-01/storagecache.json#L508:7

    @brpanask
    Copy link
    Contributor Author

    @JeffreyRichter
    The new breaking changes are

    1007 - RemovedClientParameter | The new version is missing a client parameter that was found in the old version. Was 'ResourceGroupParameter' removed or renamed?
    The new version is missing a client parameter that was found in the old version. Was 'ResourceGroupParameter' removed or renamed?

    This was due to a comment during review to use common-types instead of older types we originally had with the same content for the parameter.

    1019 - RemovedEnumValue | The new version is removing enum value(s) 'Cancelled' from the old version.
    There are 2 cases of this. The comment was that we used Cancelled instead of Canceled which didn't meet the ARM contract.
    I looked at our code and found that value doens't exist in the enum we use and can never come out. I updated the swagger to match the ARM contract but did not remove the value.

    1025 - RequiredStatusChange The 'required' status changed from the old version('True') to the new version('False').
    One instance of this was added after the reviewer pointed out that this field was modifiable and that it wouldn't necessarily need to be supplied on every update. That matches what the code has been doing so it was updated to point out that the field is not required.

    1027 - DefaultValueChanged The new version has a different default value than the previous one.
    There are 3 instances of this. The reviewer pointed out an issue with the examples for these 3 fields.
    They were bools that seemed to imply a default value but one wasn't listed.
    The code does default these to false, so I updated the default for these 3.

    @mikekistler mikekistler added the Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 label Jan 30, 2023
    @dw511214992 dw511214992 added the Approved-OkToMerge <valid label in PR review process>add this label when assignee approve to merge the updates label Feb 1, 2023
    @dw511214992 dw511214992 merged commit de600b9 into Azure:main Feb 14, 2023
    Comment on lines +490 to +502
    "400": {
    "description": "The subnets provided do not meet the requirements for AML file system create.",
    "schema": {
    "$ref": "#/definitions/AmlFilesystemCheckSubnetError"
    },
    "x-ms-error-response": true
    },
    "default": {
    "description": "Error response describing why the operation failed.",
    "schema": {
    "$ref": "storagecache.json#/definitions/CloudError"
    }
    }

    Choose a reason for hiding this comment

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

    @brpanask

    Please note that even when this does not trigger a Linter error, this definition is not approparate for ARM.

    1. Use "default" if possible.
    2. If this error response is different from the "default", you can extend CloudError, but you should still follow Error Response
    3. Other cases is only allowed for backward compatibility concern. (but yours is new and in preview)

    aviyerMSFT pushed a commit to aviyerMSFT/azure-rest-api-specs that referenced this pull request Mar 22, 2023
    )
    
    * Adds base for updating Microsoft.StorageCache from version stable/2022-05-01 to version 2022-11-01-preview
    
    * Updates readme
    
    * Updates API version in new specs and examples
    
    * Baseline Approved 2023-01-01 GA version
    
    * Renaming old unused 2022-11-01-preview to 2023-03-01-preview
    
    * Merge Approved changes from Private Preview 2022-09-01-preview
    
    * Merge Approved Private Preview 2021-11-01-preview into new amlfilesystem.json file
    
    * undo customwords
    
    * Add separate PATCH for amlfs
    
    * Updates for spellcheck
    
    * Update API Version Parameter to common types.
    
    * Fix api version ref double quote error.
    
    * Use common parameters, move zones in aml, fix user/group example
    
    * Address comments for TrackedResource, descriptions, defaults
    
    * Fix validation error requiring Canceled state and location header for aml.
    
    * Updating to remove 202 from aml put
    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-LintDiff 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 BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required CI-BreakingChange-Go CI-BreakingChange-JavaScript CI-FixRequiredOnFailure CI-MissingBaseCommit new-api-version resource-manager

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.