[Microsoft.Web] Added staticSitesOperations and staticSitesOperationResults paths#40983
Merged
mishapos merged 772 commits intoMay 5, 2026
Merged
Conversation
Next Steps to MergeNext steps that must be taken to merge this PR:
Important checks have failed. As of today they are not blocking this PR, but in near future they may. Addressing the following failures is highly recommended:
Comment generated by summarize-checks workflow run. |
* Fix 404 URLs in api-version-evolution.md Update versioning documentation URLs to match the new site structure: - 01-preview-version -> 01-about-versioning/ - Remove /arm/ segment from preview-after-preview, stable-after-preview, preview-after-stable, and stable-after-stable URLs Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fix prettier formatting for api-version-evolution.md Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Added client customizations to adhere to .NET naming guidelines * Adding few more client customizations * Fixing typespec errors. * Update the client customizations to follow .NET guidelines. --------- Co-authored-by: Sumedh Sandeep Parvatikar <sparvatikar@microsoft.com>
…date (#42701) Bumps the eslint group with 1 update in the /.github directory: [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint). Bumps the eslint group with 1 update in the /.github/shared directory: [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint). Updates `typescript-eslint` from 8.58.2 to 8.59.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.59.0/packages/typescript-eslint) Updates `typescript-eslint` from 8.58.2 to 8.59.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.59.0/packages/typescript-eslint) Updates `typescript-eslint` from 8.58.2 to 8.59.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.59.0/packages/typescript-eslint) Updates `typescript-eslint` from 8.58.2 to 8.59.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.59.0/packages/typescript-eslint) --- updated-dependencies: - dependency-name: typescript-eslint dependency-version: 8.59.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: eslint - dependency-name: typescript-eslint dependency-version: 8.59.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: eslint ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 4.1.4 to 4.1.5. - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.5/packages/vitest) --- updated-dependencies: - dependency-name: vitest dependency-version: 4.1.5 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) from 4.1.4 to 4.1.5. - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.5/packages/coverage-v8) --- updated-dependencies: - dependency-name: "@vitest/coverage-v8" dependency-version: 4.1.5 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…42738) Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 4.1.4 to 4.1.5. - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.5/packages/vitest) --- updated-dependencies: - dependency-name: vitest dependency-version: 4.1.5 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) from 4.1.4 to 4.1.5. - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.5/packages/coverage-v8) --- updated-dependencies: - dependency-name: "@vitest/coverage-v8" dependency-version: 4.1.5 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
) Bumps the typespec-client-generator-cli group with 1 update in the / directory: [@azure-tools/typespec-client-generator-cli](https://github.com/Azure/azure-sdk-tools). Updates `@azure-tools/typespec-client-generator-cli` from 0.32.1 to 0.33.0 - [Release notes](https://github.com/Azure/azure-sdk-tools/releases) - [Commits](https://github.com/Azure/azure-sdk-tools/commits) --- updated-dependencies: - dependency-name: "@azure-tools/typespec-client-generator-cli" dependency-version: 0.33.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: typespec-client-generator-cli ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Pin actionlint docker image to sha256 digest Agent-Logs-Url: https://github.com/Azure/azure-rest-api-specs/sessions/de091f51-8df0-4e27-9560-c21d7edec6e3 Co-authored-by: mikeharder <9459391+mikeharder@users.noreply.github.com> * Apply suggestion from @mikeharder --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: mikeharder <9459391+mikeharder@users.noreply.github.com> Co-authored-by: Mike Harder <mharder@microsoft.com>
…2775) Bumps the typespec group with 1 update in the / directory: [@azure-tools/typespec-client-generator-core](https://github.com/Azure/typespec-azure). Updates `@azure-tools/typespec-client-generator-core` from 0.67.3 to 0.67.4 - [Release notes](https://github.com/Azure/typespec-azure/releases) - [Commits](https://github.com/Azure/typespec-azure/compare/@azure-tools/typespec-client-generator-core@0.67.3...@azure-tools/typespec-client-generator-core@0.67.4) --- updated-dependencies: - dependency-name: "@azure-tools/typespec-client-generator-core" dependency-version: 0.67.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: typespec ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add @@clientName decorators for PipelineGroups C# SDK naming
* Add FileShares 2026-06-01 examples and stable Add generated examples for Microsoft.FileShares/fileShares for API version 2026-06-01, including FileShareSnapshot (create/update/get/list/delete), FileShares (create/update/get/delete/list/listByParent/listBySubscription), limits, provisioning recommendation, usage data, name availability checks, private endpoint/PrivateLink resources, and operations examples. Also add stable copies under the stable/2026-06-01 path and a new stable fileshares.json, and update fileshares.tsp to include the new API surface. These examples provide test/usage payloads and responses for the new API version. * Update readme.md * add encryption in transit to nfsprotocolproperties * add added marker * add compiled json * add identity * Revert "add identity" This reverts commit 5ece48a. * Add encryptionInTransitRequired to 2026-06-01 FileShares examples * add identity, generate examples, lint, run validation (cherry picked from commit 216610a) * fixes to generated examples (cherry picked from commit b9d5f21) * Add patch models and restrict mutability for FileShare Introduce FileSharePatchProperties and FileShareSnapshotPatchProperties (TypeSpec + JSON definitions) and switch FileShare/FileShareSnapshot update operations to use these patch models. Adjust x-ms-mutability for several FileShare properties (provisionedStorageGiB, provisionedIOPerSec, provisionedThroughputMiBPerSec, nfsProtocolProperties, publicAccessProperties, publicNetworkAccess) and snapshot metadata to be update-only. Add suppress annotations for new patch models and update tspconfig.yaml to set azure-resource-provider-folder. Changes applied across preview and stable specs. * Revert "FileShares 2026-06-01 Identity" * fix initiatorId to Create + Read; add visibility to metadata * attempt 'post-generation patching' fix * Revert "attempt 'post-generation patching' fix" This reverts commit 9c8a487. * regenerated examples * tsp format * revert changes to examples; ONLY include initiatorId updates * remove new PrivateEndpointConnection and PrivateLinkResource files * add back PEC/PLR tests that were inadvertently removed --------- Co-authored-by: Stephanie Fong <stefong@microsoft.com> Co-authored-by: James Lindamood <jlindamood@microsoft.com> Co-authored-by: James Lindamood <jameslindamood@gmail.com>
* Define contract for Batch RuleSet feature * Update allow pattern for the rule name field * Remove redundant imports * Making the request body optional with handcraft typespec op * Updating default value for batchMode to null It will be treated as false * Versioning LRO for RuleSet Create/Update * Remove conditional readonly attribute name, rename it to ruleName * Setting batchMode as immutable * Retrigger validation pipeline * Fix format issue in readme.md file * add 2025-09-preview examples to 2025-12-01 * Merge 2025-09-01-preview back * Fallback old version of RuleSets_Create example * Address validation error * Address PR validation error * Seems like the version is mixing up with preview version in the typespec entity, try to address it * Fix preview version decorator * Rename ruleName to name for BatchRule, and remove deploymentStatus and provisioningState attributes. * Commit openapi.json * Do not use readonly property name, create a ruleName field * Correct the way we version the preview version * Fix the missing example issue from the pipeline * Commit all undetected change from preview version * Rename name the existing operation rather than create a new one for batch process * Fix LintDiff issue with ProvisioningStateMustBeReadOnly * Fix ProvisioningState reaonly issue * Make PUT request body not optional So it will be compliance with the ARM spec that requires the body. * Follow the advice from reviewer, to keep the request body optional. * Marking batchMode immutable * Marking ruleName and batchMode immutable * Supress warnings/errors from previous version * Improve suppress logic * Replace @OpenAPI.extension with @Identifiers decorator for BatchRuleProperties * Fix createV1 name --------- Co-authored-by: Deven Chen <devenchen@microsoft.com> Co-authored-by: Tianren Shen <tianrenshen@microsoft.com> Co-authored-by: Tianren Shen <1279011+Tianrens@users.noreply.github.com>
…api-specs into mishapos-Microsoft.Web-add-staticsite-async-operations
Contributor
|
This PR has breaking change validation error, will need to get breaking approval at some point. |
Contributor
|
Please address swagger lintdiff, avocado, model validation, semantic validation and typespec validation errors. |
Contributor
|
As per PR description the change is for Microsoft.Web couple of APIs however it has 1000s of files changed including other RPs, mostly lease yml files. Is it expected/intentional? |
API Change CheckAPIView identified API level changes in this PR and created the following API reviews
Comment generated by After APIView workflow run. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ARM (Control Plane) API Specification Update Pull Request Add async operation status and result endpoints for Static Sites
Summary
This PR adds two new GET endpoints for tracking asynchronous operations on
Microsoft.Web/staticSitesresources, following the ARM async API reference contract:GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/staticSiteOperationStatuses/{operationId}— returns the current status of an async operation (200 + default)GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/staticSitesOperationResults/{operationId}— returns the result of an async operation (200 + 202 for polling + default)Changes
StaticSitesAsyncOperations.tspStaticSitesAsyncOperationsinterface using ARM library helpers (@armResourceOperations,@autoRoute,Foundations.OperationIdParameter,LocationResourceParameter) with@@segmentaugment decorators for custom path segmentsmodels.tspStaticSitesOperationStatusPropertiesmodel and restructuredStaticSitesOperationStatusto neststatus,startTime,endTime,staticSiteProperties, anderrorinside apropertiesbag for ARMBodyTopLevelPropertiescompliancemain.tspStaticSitesAsyncOperations.tsproutes.tsp@typespec/versioningimport/using (the inline async operations were removed and replaced by the new dedicated file)examples/2026-03-15/GetStaticSiteOperationStatus.jsonexamples/2026-03-15/GetStaticSiteOperationResult.jsonGetResponseCodescontractAPI version
These endpoints are added under
@added(Versions.v2026_03_15).ARM compliance
All previously reported violations have been resolved:
status,startTime,endTime,errormoved inside thepropertiesenvelopeTip
Overwhelmed by all this guidance? See the
Getting helpsection at the bottom of this PR description.PR review workflow diagram
Please understand this diagram before proceeding. It explains how to get your PR approved & merged.
Purpose of this PR
What's the purpose of this PR? Check the specific option that applies. This is mandatory!
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:
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 ApiViewcomment 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
Purpose of this PRandDue diligence checklist.write accessper aka.ms/azsdk/access#request-access-to-rest-api-or-sdk-repositoriesNext Steps to Mergecomment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.and https://aka.ms/ci-fix.
queuedstate, please add a comment with contents/azp run.This should result in a new comment denoting a
PR validation pipelinehas started and the checks should be updated after few minutes.