Skip to content

DiskRP Swagger — Add snapshotAccessState to DiskRestorePointProperties for InstantAccess#42620

Open
akashpargat wants to merge 1 commit intoAzure:compute-2026-03-02from
akashpargat:diskRP/akashpargat/swagger/InstantAccessRestorePoint
Open

DiskRP Swagger — Add snapshotAccessState to DiskRestorePointProperties for InstantAccess#42620
akashpargat wants to merge 1 commit intoAzure:compute-2026-03-02from
akashpargat:diskRP/akashpargat/swagger/InstantAccessRestorePoint

Conversation

@akashpargat
Copy link
Copy Markdown
Contributor

ARM (Control Plane) API Specification Update Pull Request

Purpose of this PR

  • Other, please clarify:
    • Add snapshotAccessState property to DiskRestorePointProperties starting from API version 2026-03-02

Due diligence checklist

  • 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.
  • A release plan has been created.

Summary

Adds \snapshotAccessState\ (read-only) to \DiskRestorePointProperties\ for the InstantAccess Restore Point feature. This property already exists on \SnapshotProperties\ and uses the existing \SnapshotAccessState\ enum from \common/models.tsp. The DiskRP backend already computes and returns this field.

Changes

  • \ComputeDisk/models.tsp\ — Added \snapshotAccessState\ to \DiskRestorePointProperties\
  • \stable/2026-03-02/DiskRP.json\ — Generated swagger output
  • Example JSON files for DiskRestorePoint GET with InstantAccess

Added snapshotAccessState property to DiskRestorePointProperties in TypeSpec
and generated OpenAPI spec for API version 2026-03-02. This property already
exists on SnapshotProperties. The SnapshotAccessState enum already exists in
common/models.tsp — no new types needed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 23, 2026

Next Steps to Merge

Next steps that must be taken to merge this PR:
  • ❌ Your PR has breaking changes in the generated SDK for Go (label: BreakingChange-Go-Sdk). Refer to step 3 in the PR workflow diagram.
  • ❌ Your PR has breaking changes in the generated SDK for JavaScript (label: BreakingChange-JavaScript-Sdk). Refer to step 3 in the PR workflow diagram.
  • ❌ Your PR has breaking changes in the generated SDK for Python (label: BreakingChange-Python-Sdk). Refer to step 3 in the PR workflow diagram.


Comment generated by summarize-checks workflow run.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 23, 2026

API Change Check

APIView identified API level changes in this PR and created the following API reviews

Language API Review for Package
TypeSpec ComputeDisk
Go sdk/resourcemanager/compute/armcompute
Java com.azure.resourcemanager:azure-resourcemanager-compute
JavaScript @azure/arm-compute
Python azure-mgmt-compute

Comment generated by After APIView workflow run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant