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

[Hub Generated] Review request for Microsoft.StorageCache to add version stable/2021-03-01 #12875

Conversation

brpanask
Copy link
Contributor

@brpanask brpanask commented Feb 5, 2021

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.

Changelog

Please ensure to add changelog with 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 you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
  3. When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
  4. If it's an update to existing version, please select SDKs of specific language and CLIs that require refresh after 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, no need to refresh 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

  • Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

    • Adding new API(s)
    • Adding a new API version
    • Adding a new service
  • Please 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 there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

  • Removing API(s) in stable version
  • Removing properties in stable version
  • Removing API version(s) in stable version
  • Updating API in stable version with Breaking Change Validation errors
  • Updating API(s) in preview over 1 year

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. vsswagger@microsoft.com

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Feb 5, 2021

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️LintDiff succeeded [Detail] [Expand]
    Validation passes for LintDiff.

    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️⚠️[Staging] Cross Version BreakingChange (Base on preview version): 49 Warnings warning [Detail] Only 10 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/stable/2021-03-01/storagecache.json#L392: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/stable/2021-03-01/storagecache.json#L922: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/stable/2021-03-01/storagecache.json#L434:11
    ⚠️ 1011 - AddingResponseCode The new version adds a response code '204'.
    New: Microsoft.StorageCache/stable/2021-03-01/storagecache.json#L647:11
    ⚠️ 1011 - AddingResponseCode The new version adds a response code '204'.
    New: Microsoft.StorageCache/stable/2021-03-01/storagecache.json#L699:11
    ⚠️ 1011 - AddingResponseCode The new version adds a response code '204'.
    New: Microsoft.StorageCache/stable/2021-03-01/storagecache.json#L751:11
    ⚠️ 1011 - AddingResponseCode The new version adds a response code '202'.
    New: Microsoft.StorageCache/stable/2021-03-01/storagecache.json#L967:11
    ⚠️ 1011 - AddingResponseCode The new version adds a response code '204'.
    New: Microsoft.StorageCache/stable/2021-03-01/storagecache.json#L1022:11
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.StorageCache/stable/2021-03-01/storagecache.json#L1268:13
    Old: Microsoft.StorageCache/preview/2019-08-01-preview/storagecache.json#L1173:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.StorageCache/stable/2021-03-01/storagecache.json#L1053:9
    Old: Microsoft.StorageCache/preview/2019-08-01-preview/storagecache.json#L1066:9
    ️⚠️[Staging] Cross Version BreakingChange (Base on stable version): 37 Warnings warning [Detail] Only 10 items are listed, please refer to log for more details.

    Rule Message
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.StorageCache/stable/2021-03-01/storagecache.json#L1053:9
    Old: Microsoft.StorageCache/stable/2020-10-01/storagecache.json#L1134:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.StorageCache/stable/2021-03-01/storagecache.json#L93:13
    Old: Microsoft.StorageCache/stable/2020-10-01/storagecache.json#L93:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.StorageCache/stable/2021-03-01/storagecache.json#L2022:11
    Old: Microsoft.StorageCache/stable/2020-10-01/storagecache.json#L2057:11
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.StorageCache/stable/2021-03-01/storagecache.json#L1203:9
    Old: Microsoft.StorageCache/stable/2020-10-01/storagecache.json#L1283:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.StorageCache/stable/2021-03-01/storagecache.json#L1255:9
    Old: Microsoft.StorageCache/stable/2020-10-01/storagecache.json#L1331:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.StorageCache/stable/2021-03-01/storagecache.json#L1273:13
    Old: Microsoft.StorageCache/stable/2020-10-01/storagecache.json#L1349:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.StorageCache/stable/2021-03-01/storagecache.json#L1310:13
    Old: Microsoft.StorageCache/stable/2020-10-01/storagecache.json#L1386:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.StorageCache/stable/2021-03-01/storagecache.json#L1314:13
    Old: Microsoft.StorageCache/stable/2020-10-01/storagecache.json#L1390:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.StorageCache/stable/2021-03-01/storagecache.json#L1412:9
    Old: Microsoft.StorageCache/stable/2020-10-01/storagecache.json#L1470:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.StorageCache/stable/2021-03-01/storagecache.json#L1687:9
    Old: Microsoft.StorageCache/stable/2020-10-01/storagecache.json#L1741:9
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️⚠️[Staging] SDK Track2 Validation: 1 Warnings warning [Detail]

    Rule Message
    ⚠️ PreCheck/CheckDuplicateSchemas "readme":"storagecache/resource-manager/readme.md",
    "tag":"package-2021-03",
    "details":"Checking for duplicate schemas,
    this could take a (long) while. Run with --verbose for more detail."
    ️️✔️[Staging] PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️[Staging] SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Feb 5, 2021

    Swagger Generation Artifacts

    ️⚠️ azure-sdk-for-python warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from c18406c. 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
    • ️✔️azure-mgmt-storagecache [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Model StorageTarget has a new parameter blob_nfs
      info	[Changelog]   - Model CacheNetworkSettings has a new parameter dns_search_domain
      info	[Changelog]   - Model CacheNetworkSettings has a new parameter dns_servers
      info	[Changelog]   - Model CacheNetworkSettings has a new parameter ntp_server
      info	[Changelog]   - Model CacheHealth has a new parameter conditions
      info	[Changelog]   - Added operation StorageTargetsOperations.dns_refresh
      info	[Changelog]
      info	[Changelog] **Breaking changes**
      info	[Changelog]
      info	[Changelog]   - Model StorageTarget has a new required parameter target_type
      info	[Changelog]   - Model UnknownTarget has a new signature
    ️⚠️ azure-sdk-for-net warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from c18406c. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	sudo apt-get install -y dotnet-sdk-5.0
      command	autorest --version=V2 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.csharp@2.3.82 --csharp-sdks-folder=/home/vsts/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
      warn	No file changes detected after generation
      warn	No package detected after generation
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from c18406c. 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
      cmderr	[generate.py] 2021-03-05 19:04:19 INFO [VERSION][Found] current version "com.azure.resourcemanager:azure-resourcemanager-storagecache;1.0.0-beta.1;1.0.0-beta.2"
      cmderr	[generate.py] 2021-03-05 19:04:19 INFO [VERSION][Not Found] cannot find stable version, current version "1.0.0-beta.2"
      cmderr	[generate.py] 2021-03-05 19:04:19 INFO autorest --version=3.0.6369 --use=@autorest/java@4.0.17 --java.azure-libraries-for-java-folder=/home/vsts/work/1/s/azure-sdk-for-java --java.output-folder=/home/vsts/work/1/s/azure-sdk-for-java/sdk/storagecache/azure-resourcemanager-storagecache --java.namespace=com.azure.resourcemanager.storagecache   --java --pipeline.modelerfour.additional-checks=false --pipeline.modelerfour.lenient-model-deduplication=true --azure-arm --verbose --sdk-integration --fluent=lite --java.fluent=lite --java.license-header=MICROSOFT_MIT_SMALL ../azure-rest-api-specs/specification/storagecache/resource-manager/readme.md
      cmderr	[generate.py] 2021-03-05 19:04:58 INFO [CI][Skip] ci.yml already has module azure-resourcemanager-storagecache
      cmderr	[generate.py] 2021-03-05 19:04:58 INFO [POM][Process] dealing with pom.xml
      cmderr	[generate.py] 2021-03-05 19:04:58 INFO [POM][Skip] pom already has module azure-resourcemanager-storagecache
      cmderr	[generate.py] 2021-03-05 19:04:58 INFO [POM][Success] Write to pom.xml
      cmderr	[generate.py] 2021-03-05 19:04:58 INFO [POM][Process] dealing with root pom
      cmderr	[generate.py] 2021-03-05 19:04:58 INFO [POM][Skip] pom already has module sdk/storagecache
      cmderr	[generate.py] 2021-03-05 19:04:58 INFO [POM][Success] Write to root pom
    • ️✔️azure-resourcemanager-storagecache [View full logs]  [Release SDK Changes]
      cmderr	[Inst] 2021-03-05 19:07:47 DEBUG Got artifact_id: azure-resourcemanager-storagecache
      cmderr	[Inst] 2021-03-05 19:07:47 DEBUG Got artifact: pom.xml
      cmderr	[Inst] 2021-03-05 19:07:47 DEBUG Got artifact: azure-resourcemanager-storagecache-1.0.0-beta.2-sources.jar
      cmderr	[Inst] 2021-03-05 19:07:47 DEBUG Got artifact: azure-resourcemanager-storagecache-1.0.0-beta.2-javadoc.jar
      cmderr	[Inst] 2021-03-05 19:07:47 DEBUG Got artifact: azure-resourcemanager-storagecache-1.0.0-beta.2.jar
      cmderr	[Inst] 2021-03-05 19:07:47 DEBUG Match jar package: azure-resourcemanager-storagecache-1.0.0-beta.2.jar
      cmderr	[Inst] 2021-03-05 19:07:47 DEBUG output: {"full": "```sh\ncurl -L \"https://portal.azure-devex-tools.com/api/sdk-dl-pub?p=Azure/12875/azure-sdk-for-java/azure-resourcemanager-storagecache/azure-resourcemanager-storagecache-1.0.0-beta.2.jar\" -o azure-resourcemanager-storagecache-1.0.0-beta.2.jar\nmvn install:install-file -DgroupId=com.azure.resourcemanager -DartifactId=azure-resourcemanager-storagecache -Dversion=1.0.0-beta.0 -Dfile=azure-resourcemanager-storagecache-1.0.0-beta.2.jar -Dpackaging=jar -DgeneratePom=true
      ```"}
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from c18406c. SDK Automation 14.0.0
      command	sh ./initScript.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	go run ./tools/generator/main.go ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️storagecache/mgmt/2020-10-01/storagecache [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    • ️✔️storagecache/mgmt/2020-03-01/storagecache [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] - Function `CachesClient.StopResponder` return value(s) have been changed from `(SetObject, error)` to `(autorest.Response, error)`
      info	[Changelog] - Function `CachesClient.StartResponder` return value(s) have been changed from `(SetObject, error)` to `(autorest.Response, error)`
      info	[Changelog] - Function `CachesClient.DeleteResponder` return value(s) have been changed from `(SetObject, error)` to `(autorest.Response, error)`
      info	[Changelog] - Function `CachesClient.UpgradeFirmwareResponder` return value(s) have been changed from `(SetObject, error)` to `(autorest.Response, error)`
      info	[Changelog] - Function `CachesClient.FlushResponder` return value(s) have been changed from `(SetObject, error)` to `(autorest.Response, error)`
      info	[Changelog] - Function `StorageTargetsClient.DeleteResponder` return value(s) have been changed from `(SetObject, error)` to `(autorest.Response, error)`
      info	[Changelog] - Type of `CachesFlushFuture.Result` has been changed from `func(CachesClient) (SetObject, error)` to `func(CachesClient) (autorest.Response, error)`
      info	[Changelog] - Type of `CachesStartFuture.Result` has been changed from `func(CachesClient) (SetObject, error)` to `func(CachesClient) (autorest.Response, error)`
      info	[Changelog] - Type of `StorageTargetsDeleteFuture.Result` has been changed from `func(StorageTargetsClient) (SetObject, error)` to `func(StorageTargetsClient) (autorest.Response, error)`
      info	[Changelog] - Type of `CachesStopFuture.Result` has been changed from `func(CachesClient) (SetObject, error)` to `func(CachesClient) (autorest.Response, error)`
      info	[Changelog] - Type of `CachesDeleteFuture.Result` has been changed from `func(CachesClient) (SetObject, error)` to `func(CachesClient) (autorest.Response, error)`
      info	[Changelog] - Type of `CachesUpgradeFirmwareFuture.Result` has been changed from `func(CachesClient) (SetObject, error)` to `func(CachesClient) (autorest.Response, error)`
      info	[Changelog] - Struct `SetObject` has been removed
      info	[Changelog]
      info	[Changelog] ### New Content
      info	[Changelog]
      info	[Changelog] - New function `AscOperationProperties.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New function `AscOperation.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New function `*AscOperation.UnmarshalJSON([]byte) error`
      info	[Changelog] - New struct `AscOperationProperties`
      info	[Changelog] - New anonymous field `*AscOperationProperties` in struct `AscOperation`
      info	[Changelog]
      info	[Changelog] Total 14 breaking change(s), 6 additive change(s).
      info	[Changelog]
    • ️✔️storagecache/mgmt/2019-11-01/storagecache [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    • ️✔️preview/storagecache/mgmt/2019-08-01-preview/storagecache [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    ️️✔️ azure-cli-extensions succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from c18406c. Azure CLI Automation 14.0.0
      warn	Skip initScript due to not configured
      command	npx n 12
      command	python3 -m venv venv
      command	pip install --upgrade setuptools wheel pip
      command	pip install pathlib jinja2 msrestazure
      command	autorest --az --use=@autorest/az@latest --version=3.0.6271 --clear-output-folder=true --azure-cli-extension-folder=/home/vsts/work/1/s/azure-cli-extensions ../azure-rest-api-specs/specification/storagecache/resource-manager/readme.md
      cmdout	[Autorest] WARNING (PreCheck/CheckDuplicateSchemas): Checking for duplicate schemas, this could take a (long) while.  Run with --verbose for more detail.
      cmdout	[Autorest] WARNING (): Operation Update has already existed in group! Skip split!
      cmdout	[Autorest] WARNING (): cli.auto-parameter-hidden is not true, skip visibility cleaner
      cmderr	[Autorest] BELOW TEST SCENARIO SECTION CAN BE USED IN readme.cli.md
      cmderr	[Autorest] --------------------------------------------------------
      cmderr	[Autorest]   test-scenario:
      cmderr	[Autorest]     - name: /AscOperations/get/AscOperations_Get
      cmderr	[Autorest]     - name: /Caches/put/Caches_CreateOrUpdate
      cmderr	[Autorest]     - name: /Caches/put/Caches_CreateOrUpdate_ldap_only
      cmderr	[Autorest]     - name: /Caches/get/Caches_Get
      cmderr	[Autorest]     - name: /Caches/get/Caches_List
      cmderr	[Autorest]     - name: /Caches/get/Caches_ListByResourceGroup
      cmderr	[Autorest]     - name: /Caches/patch/Caches_Update
      cmderr	[Autorest]     - name: /Caches/patch/Caches_Update_ldap_only
      cmderr	[Autorest]     - name: /Caches/post/Caches_DebugInfo
      cmderr	[Autorest]     - name: /Caches/post/Caches_Flush
      cmderr	[Autorest]     - name: /Caches/post/Caches_Start
      cmderr	[Autorest]     - name: /Caches/post/Caches_Stop
      cmderr	[Autorest]     - name: /Caches/post/Caches_UpgradeFirmware
      cmderr	[Autorest]     - name: /Caches/delete/Caches_Delete
      cmderr	[Autorest]     - name: /Skus/get/Skus_List
      cmderr	[Autorest]     - name: /StorageTargets/put/StorageTargets_CreateOrUpdate
      cmderr	[Autorest]     - name: /StorageTargets/put/StorageTargets_CreateOrUpdate_BlobNfs
      cmderr	[Autorest]     - name: /StorageTargets/put/StorageTargets_CreateOrUpdate_NoJunctions
      cmderr	[Autorest]     - name: /StorageTargets/get/StorageTargets_Get
      cmderr	[Autorest]     - name: /StorageTargets/get/StorageTargets_List
      cmderr	[Autorest]     - name: /StorageTargets/post/Caches_DnsRefresh
      cmderr	[Autorest]     - name: /StorageTargets/delete/StorageTargets_Delete
      cmderr	[Autorest]     - name: /UsageModels/get/UsageModels_List
      cmderr	[Autorest] --------------------------------------------------------
    • ️✔️storagecache [View full logs]  [Release Azure CLI Changes]
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from c18406c. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	autorest --version=V2 --typescript --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.typescript@4.4.4 --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js/azure-sdk-for-js ../../azure-rest-api-specs/specification/storagecache/resource-manager/readme.md
    • ️✔️@azure/arm-storagecache [View full logs]  [Release SDK Changes]
      cmderr	[npmPack] loaded rollup.config.js with warnings
      cmderr	[npmPack] (!) Unused external imports
      cmderr	[npmPack] default imported from external module 'rollup' but never used
      cmderr	[npmPack] ./esm/storageCacheManagementClient.js → ./dist/arm-storagecache.js...
      cmderr	[npmPack] created ./dist/arm-storagecache.js in 309ms
    ️️✔️ azure-resource-manager-schemas succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from c18406c. Schema Automation 14.0.0
      warn	Skip initScript due to not configured
      command	npx n 12
      command	autorest --use=@autorest/azureresourceschema@3.0.92 --version=3.0.6374 --azureresourceschema --multiapi --title=none --pass-thru:subset-reducer --azureresourceschema-folder=/home/vsts/work/1/s/azure-resource-manager-schemas/azure-resource-manager-schemas ../../azure-rest-api-specs/specification/storagecache/resource-manager/readme.md
    • ️✔️storagecache [View full logs]  [Release Schema Changes]
      cmderr	[resource-manager] node-pre-gyp
      cmderr	[resource-manager] WARN Using request for node-pre-gyp https download
      cmderr	[resource-manager]  template-schema-validation-tools@1.0.0 No repository field.
      cmderr	[resource-manager]  SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
      cmderr	[resource-manager] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
    ️🔄[Staging] ApiDocPreview inProgress [Detail]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-workflow-bot
    Copy link

    In the Window Period to fix mismatches between swagger and service, when PR is labelled with “FixS360”, breaking change can be approved by PR assignee; the Azure Breaking Change Board is no longer required to approve the PR. Please ensure to clarify what s360 action items to be solved, and @ mention PR assignee for awareness. Please check this wiki [Window to Fix Broken]( Window to Fix Broken - Overview (azure.com)) for more details.

    @brpanask brpanask added DoNotMerge <valid label in PR review process> use to hold merge after approval and removed FixS360 labels Feb 8, 2021
    @brpanask
    Copy link
    Contributor Author

    /azp run unifiedPipeline

    @azure-pipelines
    Copy link

    No pipelines are associated with this pull request.

    @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 Feb 10, 2021
    @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). cc @

    @brpanask brpanask marked this pull request as ready for review February 10, 2021 06:09
    @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). cc @markcowl

    @brpanask
    Copy link
    Contributor Author

    There's a customer expecting these feature updates in March, so it would be good if we can have the review approved and ready to merge soon. It doesn't have an ARM reviewer yet and its been open for 14 days.

    @markcowl
    Copy link
    Member

    @brpanask why is this marked as 'DoNotMerge' if it is an urgent customer ask? S360 items are for fixing reported S360 completeness and correctness issues, not for providing new customer features.

    @brpanask
    Copy link
    Contributor Author

    brpanask commented Feb 25, 2021

    @brpanask why is this marked as 'DoNotMerge' if it is an urgent customer ask? S360 items are for fixing reported S360 completeness and correctness issues, not for providing new customer features.

    @markcowl,
    The RP still needs to roll this out and the ARM Manifest for the rollout needs to completed before this is merged and available to customer. We also need it approved in case there are review comments. So I have to start the review and collect comments that may need to go into the RP before its rolled out to production, but block it from merging once its approved until the rollout is complete. Is there some other way to go about that?

    The new version of the api contains new features and fixes.
    There was a separate PR in the older versions for the s360 errors and this was created with the baseline copy from an older version before those s360 issues were merged.

    Let me know if you need more detail or if that's not clear.
    Thanks.

    @@ -554,18 +514,66 @@
    "operationId": "Caches_Update"
    }
    },
    "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/dnsRefresh": {
    Copy link
    Member

    Choose a reason for hiding this comment

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

    nit: POST action names are generally verbs. IMO, name 'refreshDns' is apt here. I will leave the call to you.

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    I discussed with others on the team and they requested that I keep it as is, so I did not update it here.

    @@ -1461,10 +1387,26 @@
    "type": "string"
    },
    "type": "array"
    },
    "dnsServers": {
    "description": "DNS servers for the cache to use. The default is determined by the network configuration.",
    Copy link
    Member

    Choose a reason for hiding this comment

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

    What does 'default is determined by the network configuration' mean? Say, if user doesn't provide dnsServers values during PUT, would the default values be returned by RP in GET? If so please be aware that PUT & GET mismatch and you will run into issues in What-If testing. The PUT should be as close as possible to GET payload.
    Refer https://armwiki.azurewebsites.net/api_contracts/WhatIfNoiseFix.html#put-as-patch-properties and https://armwiki.azurewebsites.net/api_contracts/WhatIfNoise.html

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    I tried to reword this but I'm not sure how much else to add or how to phrase it.
    With DNS, DHCP or AD or other services on the network can provide the DNS configuration. In Azure I think virtual networks have a variety of options for setting up dns servers on virtual networks which could also provide the configuration. Whatever the network provides will be sent back in a GET and can be supplied in a PUT again or left out of a PUT. Either way would work.

    @@ -1795,6 +1743,28 @@
    "statusDescription": {
    "description": "Describes explanation of state.",
    "type": "string"
    },
    "conditions": {
    Copy link
    Member

    Choose a reason for hiding this comment

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

    Is this a readOnly property? If yes, please mark it as readonly.

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    Updated in latest commit.

    "type": "object",
    "description": "Outstanding conditions that will need to be resolved.",
    "properties": {
    "timestamp": {
    Copy link
    Member

    Choose a reason for hiding this comment

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

    Sounds like timestamp and message are readonly properties? If yes, please mark them as readonly.

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    Updated in latest commit.

    "$ref": "#/definitions/URLString"
    },
    "usageModel": {
    "description": "Identifies the usage model to be used for this Storage Target. Get choices from .../usageModels",
    Copy link
    Member

    Choose a reason for hiding this comment

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

    Description text 'Get choices from .../usageModels' is not intuitive. Recommend to re-word it as these text will be published in docs.

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    Updated in latest commit.

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    Also updated an existing description with a similar message.

    @RamyasreeChakka RamyasreeChakka added the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Feb 27, 2021
    @chiragg4u chiragg4u added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Mar 4, 2021
    @chiragg4u
    Copy link
    Contributor

    Thank you for copying the existing version into new folder for first commit. It helps in reviewing the change. Marked as ARMApproved,

    Copy link
    Contributor

    @chiragg4u chiragg4u left a comment

    Choose a reason for hiding this comment

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

    :shipit:

    @brpanask brpanask removed the DoNotMerge <valid label in PR review process> use to hold merge after approval label Mar 4, 2021
    @brpanask
    Copy link
    Contributor Author

    brpanask commented Mar 4, 2021

    @markcowl
    The RP side of things is ready and this can be merged now.

    @markcowl markcowl merged commit c18406c into Azure:master Mar 5, 2021
    mkarmark pushed a commit to mkarmark/azure-rest-api-specs that referenced this pull request Jul 21, 2021
    …ion stable/2021-03-01 (Azure#12875)
    
    * Adds base for updating Microsoft.StorageCache from version stable/2020-10-01 to version 2021-03-01
    
    * Updates readme
    
    * Updates API version in new specs and examples
    
    * Add storagecache 2021-03-01 content
    
    * Add blobNfs and fix issues found by autorest.
    
    * Updating anonymous UID and GID
    
    * Update dns and storage target descriptions and condition readonly status.
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review CI-BreakingChange-Go CI-BreakingChange-Python
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    4 participants