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

Storage RP 2022-09-01 Swagger Api version #21500

Merged
merged 10 commits into from
Nov 14, 2022

Conversation

HimanshuChhabra
Copy link
Member

@HimanshuChhabra HimanshuChhabra commented Nov 10, 2022

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.

@openapi-workflow-bot
Copy link

Hi, @HimanshuChhabra 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

    @ghost ghost added the Storage Storage Service (Queues, Blobs, Files) label Nov 10, 2022
    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Nov 10, 2022

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

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Nov 10, 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/storage/armstorage - Approved - 2.0.0
    +	Struct `CloudErrorBody` has been removed
    +	Struct `CloudError` has been removed

    azure-sdk-for-python-track2 - track2_azure-mgmt-storage - 20.1.0
    +	Operation EncryptionScopesOperations.list has a new parameter filter
    +	Operation EncryptionScopesOperations.list has a new parameter include
    +	Operation EncryptionScopesOperations.list has a new parameter maxpagesize
    +	Operation StorageAccountsOperations.begin_failover has a new parameter failover_type
    ️❌ azure-sdk-for-net-track2 failed [Detail]
    • Failed [Logs]Release - Generate from da0cfef. SDK Automation 14.0.0
      command	pwsh ./eng/scripts/Automation-Sdk-Init.ps1 ../azure-sdk-for-net_tmp/initInput.json ../azure-sdk-for-net_tmp/initOutput.json
      warn	File azure-sdk-for-net_tmp/initOutput.json not found to read
      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] �[91mGeneratePackage: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:611
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[96mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[96m 611 | �[0m         �[96mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s�[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[96m     | �[91m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[91m�[96m     | �[91mFailed to build sdk. exit code: False
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
    • Azure.ResourceManager.Storage [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(82,5): error : MembersMustExist : Member 'public Azure.ResourceManager.ArmOperation Azure.ResourceManager.Storage.StorageAccountResource.Failover(Azure.WaitUntil, System.Threading.CancellationToken)' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/storage/Azure.ResourceManager.Storage/src/Azure.ResourceManager.Storage.csproj],
      info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : MembersMustExist : Member 'public System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> Azure.ResourceManager.Storage.StorageAccountResource.FailoverAsync(Azure.WaitUntil, System.Threading.CancellationToken)' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/storage/Azure.ResourceManager.Storage/src/Azure.ResourceManager.Storage.csproj],
      info	[Changelog] /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.Storage/Debug/netstandard2.0/Azure.ResourceManager.Storage.dll' [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/storage/Azure.ResourceManager.Storage/src/Azure.ResourceManager.Storage.csproj]
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from da0cfef. 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.2 -> 9.1.1
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.1.1>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g npm@9.1.1` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-storage [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog]   - Model ManagementPolicyBaseBlob has a new parameter tier_to_cold
      info	[Changelog]   - Model ManagementPolicyBaseBlob has a new parameter tier_to_hot
      info	[Changelog]   - Model ManagementPolicySnapShot has a new parameter tier_to_cold
      info	[Changelog]   - Model ManagementPolicySnapShot has a new parameter tier_to_hot
      info	[Changelog]   - Model ManagementPolicyVersion has a new parameter tier_to_cold
      info	[Changelog]   - Model ManagementPolicyVersion has a new parameter tier_to_hot
      info	[Changelog]
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog]   - Operation EncryptionScopesOperations.list has a new parameter filter
      info	[Changelog]   - Operation EncryptionScopesOperations.list has a new parameter include
      info	[Changelog]   - Operation EncryptionScopesOperations.list has a new parameter maxpagesize
      info	[Changelog]   - Operation StorageAccountsOperations.begin_failover has a new parameter failover_type
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from da0cfef. 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 -> 22.3.1
      cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
      cmderr	[init.sh] [notice] A new release of pip available: 22.3 -> 22.3.1
      cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
      command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
      warn	No file changes detected after generation
      warn	No package detected after generation
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from da0cfef. 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/storage/armstorage [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] - Struct `CloudError` has been removed
      info	[Changelog] - Struct `CloudErrorBody` has been removed
      info	[Changelog]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New const `ListEncryptionScopesIncludeEnabled`
      info	[Changelog] - New const `ListEncryptionScopesIncludeAll`
      info	[Changelog] - New const `ListEncryptionScopesIncludeDisabled`
      info	[Changelog] - New type alias `ListEncryptionScopesInclude`
      info	[Changelog] - New function `PossibleListEncryptionScopesIncludeValues() []ListEncryptionScopesInclude`
      info	[Changelog] - New field `TierToCold` in struct `ManagementPolicyBaseBlob`
      info	[Changelog] - New field `TierToHot` in struct `ManagementPolicyBaseBlob`
      info	[Changelog] - New field `FailoverType` in struct `AccountsClientBeginFailoverOptions`
      info	[Changelog] - New field `TierToCold` in struct `ManagementPolicyVersion`
      info	[Changelog] - New field `TierToHot` in struct `ManagementPolicyVersion`
      info	[Changelog] - New field `Filter` in struct `EncryptionScopesClientListOptions`
      info	[Changelog] - New field `Include` in struct `EncryptionScopesClientListOptions`
      info	[Changelog] - New field `Maxpagesize` in struct `EncryptionScopesClientListOptions`
      info	[Changelog] - New field `TierToCold` in struct `ManagementPolicySnapShot`
      info	[Changelog] - New field `TierToHot` in struct `ManagementPolicySnapShot`
      info	[Changelog]
      info	[Changelog] Total 4 breaking change(s), 10 additive change(s).
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from da0cfef. 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-storage [View full logs]  [Release SDK Changes]
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Added Type Alias ListEncryptionScopesInclude
      info	[Changelog]   - Interface EncryptionScopesListNextOptionalParams has a new optional parameter filter
      info	[Changelog]   - Interface EncryptionScopesListNextOptionalParams has a new optional parameter include
      info	[Changelog]   - Interface EncryptionScopesListNextOptionalParams has a new optional parameter maxpagesize
      info	[Changelog]   - Interface EncryptionScopesListOptionalParams has a new optional parameter filter
      info	[Changelog]   - Interface EncryptionScopesListOptionalParams has a new optional parameter include
      info	[Changelog]   - Interface EncryptionScopesListOptionalParams has a new optional parameter maxpagesize
      info	[Changelog]   - Interface ManagementPolicyBaseBlob has a new optional parameter tierToCold
      info	[Changelog]   - Interface ManagementPolicyBaseBlob has a new optional parameter tierToHot
      info	[Changelog]   - Interface ManagementPolicySnapShot has a new optional parameter tierToCold
      info	[Changelog]   - Interface ManagementPolicySnapShot has a new optional parameter tierToHot
      info	[Changelog]   - Interface ManagementPolicyVersion has a new optional parameter tierToCold
      info	[Changelog]   - Interface ManagementPolicyVersion has a new optional parameter tierToHot
      info	[Changelog]   - Added Enum KnownListEncryptionScopesInclude
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from da0cfef. 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]  WARN 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
    • ️✔️storage [View full logs]  [Release Schema Changes]
    ️️✔️ azure-powershell succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from da0cfef. 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.Storage [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 Nov 10, 2022

    Generated ApiView

    Language Package Name ApiView Link
    Go sdk/resourcemanager/storage/armstorage Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    JavaScript @azure/arm-storage Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    .Net Azure.ResourceManager.Storage Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    Python track2_azure-mgmt-storage Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.

    @openapi-workflow-bot
    Copy link

    Hi @HimanshuChhabra, 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, @HimanshuChhabra, 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

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @openapi-workflow-bot
    Copy link

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

    @blueww blueww requested review from yifanz0 and blueww November 11, 2022 05:01
    Copy link
    Member

    @blueww blueww left a comment

    Choose a reason for hiding this comment

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

    The changes generally look good to me.
    Only one comment for maxpagesize of list encryption scope.

    @yifanz0 Do you see any issue when run the .net SDK generated from the swagger?

    @yifanz0
    Copy link

    yifanz0 commented Nov 11, 2022

    @blueww I've tried the SDK with the LCM changes and no issues are found so far

    Copy link
    Member

    @rkmanda rkmanda left a comment

    Choose a reason for hiding this comment

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

    :shipit:

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Nov 11, 2022

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️⚠️Breaking Change(Cross-Version): 47 Warnings warning [Detail]
    compared swaggers (via Oad v0.10.2)] new version base version
    blob.json 2022-09-01(fb7cb60) 2022-05-01(main)
    blob.json 2022-09-01(fb7cb60) 2020-08-01-preview(main)
    common.json 2022-09-01(fb7cb60) 2022-05-01(main)
    common.json 2022-09-01(fb7cb60) 2020-08-01-preview(main)
    file.json 2022-09-01(fb7cb60) 2022-05-01(main)
    file.json 2022-09-01(fb7cb60) 2020-08-01-preview(main)
    privatelinks.json 2022-09-01(fb7cb60) 2022-05-01(main)
    privatelinks.json 2022-09-01(fb7cb60) 2020-08-01-preview(main)
    queue.json 2022-09-01(fb7cb60) 2022-05-01(main)
    queue.json 2022-09-01(fb7cb60) 2020-08-01-preview(main)
    storage.json 2022-09-01(fb7cb60) 2022-05-01(main)
    storage.json 2022-09-01(fb7cb60) 2020-08-01-preview(main)
    table.json 2022-09-01(fb7cb60) 2022-05-01(main)
    table.json 2022-09-01(fb7cb60) 2020-08-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
    ⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
    New: Microsoft.Storage/stable/2022-09-01/storage.json#L1132:13
    Old: Microsoft.Storage/preview/2020-08-01-preview/storage.json#L950:13
    ⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
    New: Microsoft.Storage/stable/2022-09-01/common.json#L148:9
    Old: Microsoft.Storage/preview/2020-08-01-preview/storage.json#L4198:9
    ⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
    New: Microsoft.Storage/stable/2022-09-01/storage.json#L1190:13
    Old: Microsoft.Storage/preview/2020-08-01-preview/storage.json#L1002:13
    ⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
    New: Microsoft.Storage/stable/2022-09-01/storage.json#L1233:13
    Old: Microsoft.Storage/preview/2020-08-01-preview/storage.json#L1045:13
    ⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'provisioning, deprovisioning, succeeded, failed, networkSourceDeleted' from the old version.
    New: Microsoft.Storage/stable/2022-09-01/storage.json#L2801:9
    Old: Microsoft.Storage/preview/2020-08-01-preview/storage.json#L2208:9
    ⚠️ 1025 - RequiredStatusChange The 'required' status changed from the old version('True') to the new version('False').
    New: Microsoft.Storage/stable/2022-09-01/storage.json#L2703:7
    Old: Microsoft.Storage/preview/2020-08-01-preview/storage.json#L2142:7
    ⚠️ 1025 - RequiredStatusChange The 'required' status changed from the old version('True') to the new version('False').
    New: Microsoft.Storage/stable/2022-09-01/storage.json#L2949:7
    Old: Microsoft.Storage/preview/2020-08-01-preview/storage.json#L2340:7
    ⚠️ 1025 - RequiredStatusChange The 'required' status changed from the old version('True') to the new version('False').
    New: Microsoft.Storage/stable/2022-09-01/storage.json#L5224:7
    Old: Microsoft.Storage/preview/2020-08-01-preview/storage.json#L4083:7
    ⚠️ 1025 - RequiredStatusChange The 'required' status changed from the old version('True') to the new version('False').
    New: Microsoft.Storage/stable/2022-09-01/storage.json#L5288:7
    Old: Microsoft.Storage/preview/2020-08-01-preview/storage.json#L4142:7
    ⚠️ 1025 - RequiredStatusChange The 'required' status changed from the old version('True') to the new version('False').
    New: Microsoft.Storage/stable/2022-09-01/storage.json#L5346:7
    Old: Microsoft.Storage/preview/2020-08-01-preview/storage.json#L4154:7
    ⚠️ 1029 - ReadonlyPropertyChanged The read only property has changed from 'false' to 'true'.
    New: Microsoft.Storage/stable/2022-09-01/storage.json#L5229:9
    Old: Microsoft.Storage/preview/2020-08-01-preview/storage.json#L4088:9
    ⚠️ 1034 - AddedRequiredProperty The new version has new required property 'format' that was not found in the old version.
    New: Microsoft.Storage/stable/2022-09-01/storage.json#L5288:7
    Old: Microsoft.Storage/preview/2020-08-01-preview/storage.json#L4142:7
    ⚠️ 1034 - AddedRequiredProperty The new version has new required property 'schedule' that was not found in the old version.
    New: Microsoft.Storage/stable/2022-09-01/storage.json#L5288:7
    Old: Microsoft.Storage/preview/2020-08-01-preview/storage.json#L4142:7
    ⚠️ 1034 - AddedRequiredProperty The new version has new required property 'objectType' that was not found in the old version.
    New: Microsoft.Storage/stable/2022-09-01/storage.json#L5288:7
    Old: Microsoft.Storage/preview/2020-08-01-preview/storage.json#L4142:7
    ⚠️ 1034 - AddedRequiredProperty The new version has new required property 'schemaFields' that was not found in the old version.
    New: Microsoft.Storage/stable/2022-09-01/storage.json#L5288:7
    Old: Microsoft.Storage/preview/2020-08-01-preview/storage.json#L4142:7
    ⚠️ 1034 - AddedRequiredProperty The new version has new required property 'format, schedule, objectType, schemaFields' that was not found in the old version.
    New: Microsoft.Storage/stable/2022-09-01/storage.json#L5274:9
    Old: Microsoft.Storage/preview/2020-08-01-preview/storage.json#L4129:9
    ⚠️ 1034 - AddedRequiredProperty The new version has new required property 'destination' that was not found in the old version.
    New: Microsoft.Storage/stable/2022-09-01/storage.json#L5261:7
    Old: Microsoft.Storage/preview/2020-08-01-preview/storage.json#L4120:7
    ⚠️ 1034 - AddedRequiredProperty The new version has new required property 'destination' that was not found in the old version.
    New: Microsoft.Storage/stable/2022-09-01/storage.json#L5247:11
    Old: Microsoft.Storage/preview/2020-08-01-preview/storage.json#L4105:11
    ⚠️ 1034 - AddedRequiredProperty The new version has new required property 'destination' that was not found in the old version.
    New: Microsoft.Storage/stable/2022-09-01/storage.json#L5260:5
    Old: Microsoft.Storage/preview/2020-08-01-preview/storage.json#L4119:5
    ⚠️ 1034 - AddedRequiredProperty The new version has new required property 'format, schedule, objectType, schemaFields' that was not found in the old version.
    New: Microsoft.Storage/stable/2022-09-01/storage.json#L5287:5
    Old: Microsoft.Storage/preview/2020-08-01-preview/storage.json#L4141:5
    ⚠️ 1047 - XmsEnumChanged The new version has a different x-ms-enum 'modelAsString' than the previous one.
    New: Microsoft.Storage/stable/2022-09-01/storage.json#L3165:9
    Old: Microsoft.Storage/preview/2020-08-01-preview/storage.json#L2471:9
    ⚠️ 1047 - XmsEnumChanged The new version has a different x-ms-enum 'modelAsString' than the previous one.
    New: Microsoft.Storage/stable/2022-09-01/storage.json#L2801:9
    Old: Microsoft.Storage/preview/2020-08-01-preview/storage.json#L2208:9
    ⚠️ 1048 - AddedXmsEnum The new version adds a x-ms-enum extension.
    New: Microsoft.Storage/stable/2022-09-01/common.json#L34:11
    Old: Microsoft.Storage/preview/2020-08-01-preview/common.json#L34:11
    ⚠️ 1048 - AddedXmsEnum The new version adds a x-ms-enum extension.
    New: Microsoft.Storage/stable/2022-09-01/blob.json#L76:9
    ⚠️ 1048 - AddedXmsEnum The new version adds a x-ms-enum extension.
    New: Microsoft.Storage/stable/2022-09-01/blob.json#L122:9
    ⚠️ 1048 - AddedXmsEnum The new version adds a x-ms-enum extension.
    New: Microsoft.Storage/stable/2022-09-01/blob.json#L515:9
    ⚠️ 1048 - AddedXmsEnum The new version adds a x-ms-enum extension.
    New: Microsoft.Storage/stable/2022-09-01/blob.json#L576:9
    ⚠️ 1048 - AddedXmsEnum The new version adds a x-ms-enum extension.
    New: Microsoft.Storage/stable/2022-09-01/blob.json#L629:9
    ⚠️ 1048 - AddedXmsEnum The new version adds a x-ms-enum extension.
    New: Microsoft.Storage/stable/2022-09-01/blob.json#L1469:9
    Old: Microsoft.Storage/preview/2020-08-01-preview/blob.json#L1328:9
    ⚠️ 1048 - AddedXmsEnum The new version adds a x-ms-enum extension.
    New: Microsoft.Storage/stable/2022-09-01/blob.json#L1531:5
    Old: Microsoft.Storage/preview/2020-08-01-preview/blob.json#L1386:5
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️⚠️LintDiff: 0 Warnings warning [Detail]
    compared tags (via openapi-validator v2.0.0) new version base version
    package-2022-09 package-2022-09(fb7cb60) default(main)

    The following errors/warnings exist before current PR submission:

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

    Rule Message
    ResourceNameRestriction The resource name parameter 'accountName' should be defined with a 'pattern' restriction.
    Location: Microsoft.Storage/stable/2022-09-01/blob.json#L19
    RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.Storage/stable/2022-09-01/blob.json#L45
    PathResourceTypeNameCamelCase Resource type naming must follow camel case. Path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/{BlobServicesName}'
    Location: Microsoft.Storage/stable/2022-09-01/blob.json#L58
    ResourceNameRestriction The resource name parameter 'accountName' should be defined with a 'pattern' restriction.
    Location: Microsoft.Storage/stable/2022-09-01/blob.json#L58
    ResourceNameRestriction The resource name parameter 'BlobServicesName' should be defined with a 'pattern' restriction.
    Location: Microsoft.Storage/stable/2022-09-01/blob.json#L58
    RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.Storage/stable/2022-09-01/blob.json#L102
    RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.Storage/stable/2022-09-01/blob.json#L139
    GetCollectionResponseSchema The response in the GET collection operation 'BlobContainers_List' does not match the response definition in the individual GET operation 'BlobContainers_Get' .
    Location: Microsoft.Storage/stable/2022-09-01/blob.json#L149
    ResourceNameRestriction The resource name parameter 'accountName' should be defined with a 'pattern' restriction.
    Location: Microsoft.Storage/stable/2022-09-01/blob.json#L149
    RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.Storage/stable/2022-09-01/blob.json#L204
    ResourceNameRestriction The resource name parameter 'accountName' should be defined with a 'pattern' restriction.
    Location: Microsoft.Storage/stable/2022-09-01/blob.json#L217
    ResourceNameRestriction The resource name parameter 'containerName' should be defined with a 'pattern' restriction.
    Location: Microsoft.Storage/stable/2022-09-01/blob.json#L217
    RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.Storage/stable/2022-09-01/blob.json#L261
    UnSupportedPatchProperties The patch operation body parameter schema should not contains property name.
    Location: Microsoft.Storage/stable/2022-09-01/blob.json#L297
    UnSupportedPatchProperties The patch operation body parameter schema should not contains property type.
    Location: Microsoft.Storage/stable/2022-09-01/blob.json#L297
    RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.Storage/stable/2022-09-01/blob.json#L313
    RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.Storage/stable/2022-09-01/blob.json#L354
    RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.Storage/stable/2022-09-01/blob.json#L391
    ResourceNameRestriction The resource name parameter 'accountName' should be defined with a 'pattern' restriction.
    Location: Microsoft.Storage/stable/2022-09-01/blob.json#L401
    ResourceNameRestriction The resource name parameter 'containerName' should be defined with a 'pattern' restriction.
    Location: Microsoft.Storage/stable/2022-09-01/blob.json#L401
    RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.Storage/stable/2022-09-01/blob.json#L442
    ResourceNameRestriction The resource name parameter 'accountName' should be defined with a 'pattern' restriction.
    Location: Microsoft.Storage/stable/2022-09-01/blob.json#L452
    ResourceNameRestriction The resource name parameter 'containerName' should be defined with a 'pattern' restriction.
    Location: Microsoft.Storage/stable/2022-09-01/blob.json#L452
    RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.Storage/stable/2022-09-01/blob.json#L490
    ResourceNameRestriction The resource name parameter 'accountName' should be defined with a 'pattern' restriction.
    Location: Microsoft.Storage/stable/2022-09-01/blob.json#L500
    ResourceNameRestriction The resource name parameter 'containerName' should be defined with a 'pattern' restriction.
    Location: Microsoft.Storage/stable/2022-09-01/blob.json#L500
    ResourceNameRestriction The resource name parameter 'immutabilityPolicyName' should be defined with a 'pattern' restriction.
    Location: Microsoft.Storage/stable/2022-09-01/blob.json#L500
    RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.Storage/stable/2022-09-01/blob.json#L550
    RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.Storage/stable/2022-09-01/blob.json#L603
    DeleteOperationResponses The delete operation is defined without a 200 or 204 error response implementation,please add it.'
    Location: Microsoft.Storage/stable/2022-09-01/blob.json#L656
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
    ️❌~[Staging] ServiceAPIReadinessTest: 137 Errors, 0 Warnings failed [Detail]

    Tag package-2022-09; Prod region: Deployed

    Test run on region: westcentralus; Operation coverage: total: 90, untested: 0, failed: 84, passed: 6

    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: UnsupportedEdgeZone,
    errorMessage: Edge zone 'losangeles001' not found. The available edge zones in location 'westcentralus' are ''."
    INVALID_RESPONSE_CODE "The swagger file does not define '400' response code"
    CLIENT_ERROR "statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Storage/storageAccounts/accountnam6u178f' under resource group 'apiTest-YVXcVq-21500' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"
    INVALID_RESPONSE_CODE "The swagger file does not define '404' response code"
    CLIENT_ERROR "statusCode: 404,
    errorCode: PatchResourceNotFound,
    errorMessage: The resource '/subscriptions/db5eb68e-73e2-4fa8-b18a-46cd1be4cce5/resourceGroups/apiTest-YVXcVq-21500/providers/Microsoft.Storage/storageAccounts/accountnam6u178f' was not found when evaluating policies for a PATCH operation."
    INVALID_RESPONSE_CODE "The swagger file does not define '404' response code"
    CLIENT_ERROR "statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Storage/storageAccounts/accountnam6u178f' under resource group 'apiTest-YVXcVq-21500' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"
    INVALID_RESPONSE_CODE "The swagger file does not define '404' response code"
    CLIENT_ERROR "statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Storage/storageAccounts/accountnam6u178f' under resource group 'apiTest-YVXcVq-21500' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"
    INVALID_RESPONSE_CODE "The swagger file does not define '404' response code"
    CLIENT_ERROR "statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Storage/storageAccounts/accountnam6u178f' under resource group 'apiTest-YVXcVq-21500' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"
    CLIENT_ERROR "statusCode: 404,
    errorCode: ParentResourceNotFound,
    errorMessage: Can not perform requested operation on nested resource. Parent resource 'accountnam6u178f' not found."
    INVALID_RESPONSE_CODE "The swagger file does not define '404' response code"
    CLIENT_ERROR "statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Storage/storageAccounts/accountnam6u178f' under resource group 'apiTest-YVXcVq-21500' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"
    INVALID_RESPONSE_CODE "The swagger file does not define '404' response code"
    CLIENT_ERROR "statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Storage/storageAccounts/accountnam6u178f' under resource group 'apiTest-YVXcVq-21500' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"
    INVALID_RESPONSE_CODE "The swagger file does not define '404' response code"
    CLIENT_ERROR "statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Storage/storageAccounts/accountnam6u178f' under resource group 'apiTest-YVXcVq-21500' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"
    INVALID_RESPONSE_CODE "The swagger file does not define '404' response code"
    CLIENT_ERROR "statusCode: 404,
    errorCode: ParentResourceNotFound,
    errorMessage: Can not perform requested operation on nested resource. Parent resource 'accountnam6u178f' not found."
    INVALID_RESPONSE_CODE "The swagger file does not define '404' response code"
    CLIENT_ERROR "statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Storage/storageAccounts/accountnam6u178f' under resource group 'apiTest-YVXcVq-21500' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"
    CLIENT_ERROR "statusCode: 404,
    errorCode: ParentResourceNotFound,
    errorMessage: Can not perform requested operation on nested resource. Parent resource 'accountnam6u178f' not found."
    INVALID_RESPONSE_CODE "The swagger file does not define '404' response code"
    CLIENT_ERROR "statusCode: 404,
    errorCode: ParentResourceNotFound,
    errorMessage: Can not perform requested operation on nested resource. Parent resource 'accountnam6u178f' not found."
    INVALID_RESPONSE_CODE "The swagger file does not define '404' response code"
    CLIENT_ERROR "statusCode: 404,
    errorCode: ParentResourceNotFound,
    errorMessage: Can not perform requested operation on nested resource. Parent resource 'accountnam6u178f' not found."
    INVALID_RESPONSE_CODE "The swagger file does not define '404' response code"
    CLIENT_ERROR "statusCode: 404,
    errorCode: ParentResourceNotFound,
    errorMessage: Can not perform requested operation on nested resource. Parent resource 'accountnam6u178f' not found."
    INVALID_RESPONSE_CODE "The swagger file does not define '404' response code"
    ️❌~[Staging] SwaggerAPIView: 0 Errors, 0 Warnings failed [Detail]
    ️️✔️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?

    @rkmanda rkmanda added the ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review label Nov 12, 2022
    @openapi-workflow-bot openapi-workflow-bot bot removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Nov 12, 2022
    @ArcturusZhang ArcturusZhang added the Approved-SdkBreakingChange-Go Approve the breaking change tracking for azure-sdk-for-go label Nov 14, 2022
    @jianyexi jianyexi merged commit da0cfef into Azure:main Nov 14, 2022
    anandanthony pushed a commit to anandMicro/azure-rest-api-specs that referenced this pull request Dec 16, 2022
    * Full copy from 2022-05-01 to 2022-09-01 without any changes
    
    * Update Swagger API version for each swagger and readme files
    
    * Update the API version for existing Test cases
    
    * Feature: Storage Account Soft Failover
    
    * Feature: List Encryption scopes, add OData Filter Conditions
    
    * Feature : Add TierToCold and TierToHot Support
    
    * Run Prettier check
    
    * Adding Location header to EXISTING Async API Examples.
    
    * Run Prettier check
    
    * Change $maxpagesize to integer type for ListEncryptionScope API
    kayousef-zz pushed a commit to kayousef-zz/azure-rest-api-specs that referenced this pull request Dec 21, 2022
    * Full copy from 2022-05-01 to 2022-09-01 without any changes
    
    * Update Swagger API version for each swagger and readme files
    
    * Update the API version for existing Test cases
    
    * Feature: Storage Account Soft Failover
    
    * Feature: List Encryption scopes, add OData Filter Conditions
    
    * Feature : Add TierToCold and TierToHot Support
    
    * Run Prettier check
    
    * Adding Location header to EXISTING Async API Examples.
    
    * Run Prettier check
    
    * Change $maxpagesize to integer type for ListEncryptionScope API
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Approved-SdkBreakingChange-Go Approve the breaking change tracking for azure-sdk-for-go ARMReview ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review CI-BreakingChange-Go CI-MissingBaseCommit new-api-version ReadyForApiTest <valid label in PR review process>add this label when swagger and service APIs are ready for test resource-manager Storage Storage Service (Queues, Blobs, Files)
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    9 participants