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

Add AppPlatform 2024-05-01-preview #28341

Conversation

haoozhang
Copy link
Contributor

@haoozhang haoozhang commented Mar 20, 2024

ARM (Control Plane) API Specification Update Pull Request

Tip

Overwhelmed by all this guidance? See the Getting help section at the bottom of this PR description.

Note

As of January 2024 there is no PR assignee. This is expected. See https://aka.ms/azsdk/pr-arm-review.

PR review workflow diagram

Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

diagram

Click here to see the details of Step 1, Breaking Changes review

If you are in purview of Step 1 of the diagram, follow the Breaking Changes review process.
IMPORTANT! This applies even if you believe your PR was mislabeled, for any reason, including tool failure.

Click here to see the details of Step 2, ARM review

See https://aka.ms/azsdk/pr-arm-review.

Click here to see the diagram footnotes

Diagram footnotes

[1] See ARM review queue (for PR merge queues, see [2]).
[2] public repo merge queue, private repo merge queue (for ARM review queue, [1])
The ARM reviewer on-call engineer visits the merge queue twice a day, so the approximate ETA for merges is 12 - 24 hours.

Purpose of this PR

What's the purpose of this PR? Check the specific option that applies. This is mandatory!

  • New resource provider.
  • New API version for an existing resource provider. (If API spec is not defined in TypeSpec, the PR should have been generated using OpenAPI Hub).
  • Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
  • Update existing version to fix OpenAPI spec quality issues in S360.
  • Other, please clarify:
    • edit this with your clarification

Due diligence checklist

To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:

  • I confirm this PR is modifying Azure Resource Manager (ARM) related specifications, and not data plane related specifications.
  • I have reviewed following Resource Provider guidelines, including
    ARM resource provider contract and
    REST guidelines (estimated time: 4 hours).
    I understand this is required before I can proceed to the diagram Step 2, "ARM API changes review", for this PR.

Additional information

Viewing API changes

For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.

Suppressing failures

If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
suppressions guide to get approval.

Getting help

  • First, please carefully read through this PR description, from top to bottom. Please fill out the Purpose of this PR and Due diligence checklist.
  • To understand what you must do next to merge this PR, see the Next Steps to Merge comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.
  • For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
    and https://aka.ms/ci-fix.
  • For help with PR workflow diagram Step 2 (ARM review), see https://aka.ms/azsdk/pr-arm-review.
  • If the PR CI checks appear to be stuck in queued state, please add a comment with contents /azp run.
    This should result in a new comment denoting a PR validation pipeline has started and the checks should be updated after few minutes.
  • If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.

Sneezry and others added 13 commits February 21, 2024 10:50
…4-01-01-preview to version 2024-05-01-preview
* Update readme.go.md

* Update readme.python.md
…ure#27966)

* add 'enablePrivateLinks' to ServiceResource.properties.vnetAddons

* fix comment
…zure#27989)

* feat: support mi for Spring Apps

* fix comments

---------

Co-authored-by: Frank Liu <[email protected]>
…e#28099)

* add 'privateDnsZoneId' to ServiceResource.properties.vnetAddons

* only allow private dns zone id

* test empty private dns zone id

* test null private dns zone id

* test null private dns id

* add private dns id

---------

Co-authored-by: Wenhao Zhang <[email protected]>
* update typescript.md for sapvirtualinstance (Azure#27819)

* Add job related API

* empty line

* workload

* lint

* lint

* part

* lint

* lint

* lint

* example

* change env model

* remove addon

* prettier

* Refine

* lint

* Add snapshot

* add test

* fix example

* comments

* Make job execution resource

* remove resource

---------

Co-authored-by: ZiWei Chen <[email protected]>
* add 'enablePrivateLinks' to ServiceResource.properties.vnetAddons

* fix comment

* rename as 'privateStorageAccess'

* remove default value
* Support config server in enterprise tier

* Add readonly

* Update config server delete API

Remove 200 and add Location header for 202 response

* Add list config servers API

* Update delete operation metadata

* Add 201 for PUT config server API

* fix build failure

* fix check errors

* do not change response code

* fix typo

---------

Co-authored-by: ninpan-ms <[email protected]>
* Update appplatform.json

* Update appplatform.json

* Update appplatform.json

* Update appplatform.json

* Create BuildSettings_Get.json

* Update appplatform.json

* Update BuildSettings_Get.json

* Create BuildSettings_CreateOrUpdate.json

* Update BuildSettings_Get.json

* Create BuildSettings_Delete.json

* Update BuildSettings_Get.json

* Update BuildSettings_CreateOrUpdate.json

* Create BuildSettings_List.json

* Update appplatform.json

* Update appplatform.json

* Update appplatform.json

* Update appplatform.json

* Update appplatform.json

* Update appplatform.json

* Update appplatform.json

* Create BuildSettings_ListSupportedBuildSettingTypes.json

* Update BuildSettings_ListSupportedBuildSettingTypes.json

* Update appplatform.json

* Update BuildSettings_List.json

* Update BuildSettings_Get.json

* Update BuildSettings_Get.json

* Update BuildSettings_CreateOrUpdate.json

* Update BuildSettings_Delete.json

* Update BuildSettings_List.json

* Update appplatform.json

* Update appplatform.json

* Update appplatform.json

* rename file

* update

* update

---------

Co-authored-by: Zhe Li <[email protected]>
Copy link

Hi @haoozhang, this service has enabled ShiftLeft Toolset. All spec updates MUST be initiated from service ADO project repo, so that to guarantee it to be the source of truth., please review this pull request if it is intentional or reject it if it is not expected. Normally, all the specification or example changes should start with PR created in ADO.

  • You can refer to ShiftLeft Toolset Introduction for details.
  • Please contact service focal contacts or ShiftLeft Toolset Support Channel if need further help.
  • Copy link

    openapi-pipeline-app bot commented Mar 20, 2024

    Next Steps to Merge

    ✅ All automated merging requirements have been met! To get your PR merged, see aka.ms/azsdk/specreview/merge.

    Copy link

    openapi-pipeline-app bot commented Mar 20, 2024

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
    There are no breaking changes.
    Compared specs (v0.10.5) new version base version
    appplatform.json 2024-05-01-preview(24de488) 2023-12-01(main)
    appplatform.json 2024-05-01-preview(24de488) 2024-01-01-preview(main)
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️❌LintDiff: 1 Errors, 3 Warnings failed [Detail]
    Compared specs (v2.2.0) new version base version
    package-preview-2024-05 package-preview-2024-05(24de488) default(main)

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

    Rule Message Related RPC [For API reviewers]
    PatchBodyParametersSchema Properties of a PATCH request body must not be required, property:type.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L202
    RPC-Patch-V1-10
    ⚠️ OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'JobExecutionModel'. Consider using the plural form of 'JobExecution' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L9162
    ⚠️ OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'JobExecutionModel'. Consider using the plural form of 'JobExecution' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L9264
    ⚠️ OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'JobExecutionModel'. Consider using the plural form of 'JobExecution' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L9312


    The following errors/warnings exist before current PR submission:

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

    Rule Message
    PutResponseCodes Synchronous and long-running PUT operations must have responses with 200, 201 and default return codes. They also must not have other response codes.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L63
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L105
    DeleteResponseCodes Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L134
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L158
    UnSupportedPatchProperties Mark the top-level property 'location', specified in the patch operation body, as readOnly or immutable. You could also choose to remove it from the request payload of the Patch operation. This property is not patchable.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L197
    PatchBodyParametersSchema Properties of a PATCH request body must not be required, property:frequency.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L202
    PatchBodyParametersSchema Properties of a PATCH request body must not have default value, property:name.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L202
    PatchBodyParametersSchema Properties of a PATCH request body must not have default value, property:tier.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L202
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L214
    PostResponseCodes Long-running POST operations must have responses with 202 and default return codes. They must also have a 200 return code if only if the final response is intended to have a schema, if not the 200 return code must not be specified. They also must not have other response codes.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L410
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L431
    NoErrorCodeResponses Invalid status code specified. Please refer to the documentation for the allowed set.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L434
    NoErrorCodeResponses Invalid status code specified. Please refer to the documentation for the allowed set.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L438
    PostResponseCodes Long-running POST operations must have responses with 202 and default return codes. They must also have a 200 return code if only if the final response is intended to have a schema, if not the 200 return code must not be specified. They also must not have other response codes.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L458
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L479
    NoErrorCodeResponses Invalid status code specified. Please refer to the documentation for the allowed set.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L482
    NoErrorCodeResponses Invalid status code specified. Please refer to the documentation for the allowed set.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L486
    PostResponseCodes 200 return code does not have a schema specified. LRO POST must have a 200 return code if only if the final response is intended to have a schema, if not the 200 return code must not be specified.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L641
    PostResponseCodes 200 return code does not have a schema specified. LRO POST must have a 200 return code if only if the final response is intended to have a schema, if not the 200 return code must not be specified.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L701
    XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L1007
    EvenSegmentedPathForPutOperation API path with PUT operation defined MUST have even number of segments (i.e. end in {resourceType}/{resourceName} segments).
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L1048
    XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L1049
    EvenSegmentedPathForPutOperation API path with PUT operation defined MUST have even number of segments (i.e. end in {resourceType}/{resourceName} segments).
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L1218
    XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L1219
    ProvisioningStateSpecifiedForLROPut 201 response schema in long running PUT operation is missing ProvisioningState property. A LRO PUT operations response schema must have ProvisioningState specified for the 200 and 201 status codes.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L1262
    PutResponseCodes Synchronous and long-running PUT operations must have responses with 200, 201 and default return codes. They also must not have other response codes.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L1262
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L1298
    PatchBodyParametersSchema Properties of a PATCH request body must not be required, property:uri.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L1345
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L1357
    PathForResourceAction Path for 'post' method on a resource type MUST follow valid resource naming.
    Location: Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json#L1472
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️SwaggerAPIView succeeded [Detail] [Expand]
    ️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️PoliCheck succeeded [Detail] [Expand]
    Validation passed for PoliCheck.
    ️️✔️SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    ️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
    Validation passes for Lint(RPaaS).
    ️️✔️PR Summary succeeded [Detail] [Expand]
    Validation passes for Summary.
    ️️✔️Automated merging requirements met succeeded [Detail] [Expand]
    Posted by Swagger Pipeline | How to fix these errors?

    Copy link

    openapi-pipeline-app bot commented Mar 20, 2024

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]
     Please click here to preview with your @microsoft account. 
    ️️✔️ azure-powershell succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from 467a0275a9a1866efb2e3e0318d7806e046dbf1b. 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.appplatform.DefaultTag [View full logs]  [Preview SDK Changes]
    ️⚠️ azure-sdk-for-python warning [Detail]
    • ⚠️Warning [Logs] Generate from 467a0275a9a1866efb2e3e0318d7806e046dbf1b. 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: azure-devtools 1.2.1 does not provide the extra 'ci-tools'
      cmderr	[automation_init.sh] WARNING: azure-devtools 1.2.1 does not provide the extra 'ci-tools'
      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]  New minor version of npm available! 10.2.4 -> 10.5.0
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.5.0>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-appplatform [View full logs]  [Preview SDK Changes]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog]   - Added operation ConfigServersOperations.begin_delete
      info	[Changelog]   - Added operation ConfigServersOperations.list
      info	[Changelog]   - Added operation GatewaysOperations.begin_update_capacity
      info	[Changelog]   - Added operation group JobExecutionOperations
      info	[Changelog]   - Added operation group JobExecutionsOperations
      info	[Changelog]   - Added operation group JobOperations
      info	[Changelog]   - Added operation group JobsOperations
      info	[Changelog]   - Model AppResourceProperties has a new parameter secrets
      info	[Changelog]   - Model AppResourceProperties has a new parameter test_endpoint_auth_state
      info	[Changelog]   - Model AppResourceProperties has a new parameter workload_profile_name
      info	[Changelog]   - Model BuildpackProperties has a new parameter version
      info	[Changelog]   - Model ClusterResourceProperties has a new parameter infra_resource_group
      info	[Changelog]   - Model ClusterResourceProperties has a new parameter maintenance_schedule_configuration
      info	[Changelog]   - Model ClusterResourceProperties has a new parameter managed_environment_id
      info	[Changelog]   - Model ConfigServerProperties has a new parameter enabled_state
      info	[Changelog]   - Model ConfigServerProperties has a new parameter instances
      info	[Changelog]   - Model ConfigServerProperties has a new parameter resource_requests
      info	[Changelog]   - Model ConfigurationServiceSettings has a new parameter refresh_interval_in_seconds
      info	[Changelog]   - Model DeploymentSettings has a new parameter scale
      info	[Changelog]   - Model GatewayProperties has a new parameter addon_configs
      info	[Changelog]   - Model GatewayProperties has a new parameter apm_types
      info	[Changelog]   - Model GatewayProperties has a new parameter response_cache_properties
      info	[Changelog]   - Model ServiceResource has a new parameter identity
      info	[Changelog]   - Model ServiceVNetAddons has a new parameter private_dns_zone_id
      info	[Changelog]   - Model ServiceVNetAddons has a new parameter private_storage_access
      info	[Changelog]   - Model SupportedBuildpackResourceProperties has a new parameter version
      info	[Changelog]   - Operation DeploymentsOperations.list has a new optional parameter expand
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs] Generate from 467a0275a9a1866efb2e3e0318d7806e046dbf1b. SDK Automation 14.0.0
      command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
      cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 24.0
      cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
      cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 24.0
      cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
      cmderr	[init.sh] ceived % Xferd  Average Speed   Time    Time     Time  Current
      cmderr	[init.sh]                                  Dload  Upload   Total   Spent    Left  Speed
      cmderr	[init.sh] 
        0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
      cmderr	[init.sh]  notice
      cmderr	[init.sh] npm notice New minor version of npm available! 10.2.4 -> 10.5.0
      cmderr	[init.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.5.0>
      cmderr	[init.sh] npm notice Run `npm install -g [email protected]` to update!
      cmderr	[init.sh] npm notice
      cmderr	[init.sh] Downloading https://nodejs.org/dist/v18.15.0/node-v18.15.0-linux-x64.tar.xz...
      cmderr	[init.sh] Computing checksum with sha256sum
      cmderr	[init.sh] Checksums matched!
      command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
    • ️✔️azure-resourcemanager-appplatform-generated [View full logs]  [Preview SDK Changes]
    ️❌ azure-sdk-for-net-track2 failed [Detail]
    • Failed [Logs] Generate from 467a0275a9a1866efb2e3e0318d7806e046dbf1b. 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:714�[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[0m�[36;1mLine |�[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[0m�[36;1m�[36;1m 714 | �[0m         �[36;1mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s�[0m …�[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[0m�[36;1m�[36;1m�[0m�[36;1m�[0m�[36;1m     | �[31;1m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[0m�[36;1m�[36;1m�[0m�[36;1m�[0m�[36;1m�[31;1m�[31;1m�[36;1m     | �[31;1mFailed to generate sdk. exit code: False�[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1mGet-ChildItem: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:807�[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[0m�[36;1mLine |�[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[0m�[36;1m�[36;1m 807 | �[0m … rtifacts += �[36;1mGet-ChildItem $artifactsPath -Filter *.nupkg -exclude *.s�[0m …�[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[0m�[36;1m�[36;1m�[0m�[36;1m�[0m�[36;1m     | �[31;1m               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[0m�[36;1m�[36;1m�[0m�[36;1m�[0m�[36;1m�[31;1m�[31;1m�[36;1m     | �[31;1mCannot find path�[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[0m�[36;1m�[36;1m�[0m�[36;1m�[0m�[36;1m�[31;1m�[31;1m�[36;1m�[31;1m�[36;1m     | �[31;1m'/mnt/vss/_work/1/s/azure-sdk-for-net/artifacts/packages/Debug/' because�[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[0m�[36;1m�[36;1m�[0m�[36;1m�[0m�[36;1m�[31;1m�[31;1m�[36;1m�[31;1m�[36;1m�[31;1m�[36;1m     | �[31;1mit does not exist.�[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1mGeneratePackage: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:714�[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[0m�[36;1mLine |�[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[0m�[36;1m�[36;1m 714 | �[0m         �[36;1mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s�[0m …�[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[0m�[36;1m�[36;1m�[0m�[36;1m�[0m�[36;1m     | �[31;1m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[0m�[36;1m�[36;1m�[0m�[36;1m�[0m�[36;1m�[31;1m�[31;1m�[36;1m     | �[31;1mFailed to generate sdk artifact�[0m
    • Azure.ResourceManager.AppPlatform [View full logs]  [Preview SDK Changes]
      info	[Changelog]
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from 467a0275a9a1866efb2e3e0318d7806e046dbf1b. 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-appplatform [View full logs]  [Preview SDK Changes]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from 467a0275a9a1866efb2e3e0318d7806e046dbf1b. 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/appplatform/armappplatform [View full logs]  [Preview SDK Changes]
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs] Generate from 467a0275a9a1866efb2e3e0318d7806e046dbf1b. 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] npm notice
      cmderr	[initScript.sh] npm notice New minor version of npm available! 10.2.4 -> 10.5.0
      cmderr	[initScript.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.5.0>
      cmderr	[initScript.sh] npm notice Run `npm install -g [email protected]` to update!
      cmderr	[initScript.sh] npm notice
      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
    • ️✔️appplatform [View full logs]  [Preview Schema Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @Sneezry
    Copy link
    Member

    Sneezry commented Mar 20, 2024

    image

    This error is not introduced by current PR:

    2024-01-01-preview (previour version):

    image

    2024-05-01-preview (current version):

    image

    @ms-zhenhua ms-zhenhua added ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review and removed WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Mar 21, 2024
    Copy link

    Please address or respond to feedback from the ARM API reviewer.
    When you are ready to continue the ARM API review, please remove the ARMChangesRequested label.
    This will notify the reviewer to have another look.
    If the feedback provided needs further discussion, please use this Teams channel to post your questions - aka.ms/azsdk/support/specreview-channel.
    Please include [ARM Query] in the title of your question to indicate that it is ARM-related.

    ninpan-ms and others added 2 commits March 21, 2024 18:00
    …preview' into dev-appplatform-Microsoft.AppPlatform-2024-05-01-preview
    @ninpan-ms ninpan-ms removed the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Mar 22, 2024
    @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 Mar 22, 2024
    @ms-zhenhua ms-zhenhua added Approved-LintDiff ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Mar 22, 2024
    @haoozhang
    Copy link
    Contributor Author

    /pr RequestMerge

    @Sneezry
    Copy link
    Member

    Sneezry commented Apr 18, 2024

    /pr RequestMerge

    @raosuhas
    Copy link

    /pr RequestMerge

    This PR has the DoNotMerge tag on it. PLease remove that if you really need it to be merged

    @Sneezry Sneezry removed the DoNotMerge <valid label in PR review process> use to hold merge after approval label Apr 19, 2024
    @Sneezry
    Copy link
    Member

    Sneezry commented Apr 19, 2024

    /pr RequestMerge

    This PR has the DoNotMerge tag on it. PLease remove that if you really need it to be merged

    removed

    @raosuhas raosuhas merged commit ab93e3a into Azure:main Apr 19, 2024
    31 of 32 checks passed
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Approved-LintDiff ARMReview ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review customer-reported Issues that are reported by GitHub users external to the Azure organization. new-api-version resource-manager ShiftLeftViolation
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    10 participants