Skip to content

Add 2026-06-01-preview API version for Microsoft.Devices/DeviceProvisioningServices#42934

Open
mollyiverson wants to merge 44 commits into
mainfrom
AdrLinkState-deviceprovisioningservice-controlplane
Open

Add 2026-06-01-preview API version for Microsoft.Devices/DeviceProvisioningServices#42934
mollyiverson wants to merge 44 commits into
mainfrom
AdrLinkState-deviceprovisioningservice-controlplane

Conversation

@mollyiverson

@mollyiverson mollyiverson commented May 6, 2026

Copy link
Copy Markdown

Description

Adds the 2026-06-01-preview API version to Microsoft.Devices/DeviceProvisioningServices (DPS).

New properties on IotDpsPropertiesDescription

  • deviceRegistryNamespaces (read-only) — array of linked Device Registry namespaces (@maxItems(1); @identifiers(#["namespaceUuid"])).
  • disableLocalAuth — disables all authentication methods other than Azure RBAC. Default false.

New properties on DeviceRegistryNamespaceDescription

All properties are optional and gated by @added(Versions.v2026_06_01_preview).

  • namespaceUuid (string) — unique identifier of the linked namespace.
  • dataAddress (string) — data plane address of the linked namespace.
  • location (Azure.Core.azureLocation) — Azure region of the linked namespace.
  • linkingState (LinkingState) — current ADR linking state for this namespace.

New union: LinkingState

Values: NotLinked, InProgress, Succeeded, Orphaned.

Removed properties on IotDpsPropertiesDescription

  • deviceRegistryNamespace (singular) is removed in 2026-06-01-preview via @removed(Versions.v2026_06_01_preview). It remains unchanged in 2025-02-01-preview. Replaced by the new deviceRegistryNamespaces array.

Changes

  • main.tsp: add v2026_06_01_preview to the Versions enum.
  • models.tsp:
    • add @typespec/versioning import and Azure.ResourceManager using;
    • new LinkingState union;
    • add deviceRegistryNamespaces and disableLocalAuth on IotDpsPropertiesDescription, gated by @added(Versions.v2026_06_01_preview);
    • add namespaceUuid, dataAddress, location, and linkingState on DeviceRegistryNamespaceDescription, gated by @added(Versions.v2026_06_01_preview);
    • mark singular deviceRegistryNamespace with @removed(Versions.v2026_06_01_preview) so it disappears from the 2026 swagger only.
  • readme.md: add package-preview-2026-06 tag (set as default).
  • examples/2026-06-01-preview/: 28 example JSONs.
  • Regenerated preview/2026-06-01-preview/iotdps.json via tsp compile. preview/2025-02-01-preview/iotdps.json remains byte-identical.

ARM Manifest Changes

No manifest changes — additive properties on an existing tracked resource only.

@github-actions

github-actions Bot commented May 6, 2026

Copy link
Copy Markdown

Next Steps to Merge

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

Comment generated by summarize-checks workflow run.

@github-actions github-actions Bot added resource-manager TypeSpec Authored with TypeSpec BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required labels May 6, 2026
@github-actions

github-actions Bot commented May 6, 2026

Copy link
Copy Markdown

API Change Check

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

Language API Review for Package
Swagger Microsoft.Devices-DeviceProvisioningServices
TypeSpec Microsoft.Devices
Go sdk/resourcemanager/deviceprovisioningservices/armdeviceprovisioningservices
JavaScript @azure/arm-deviceprovisioningservices
Python azure-mgmt-iothubprovisioningservices
Java com.azure.resourcemanager:azure-resourcemanager-deviceprovisioningservices
C# Azure.ResourceManager.DeviceProvisioningServices

Comment generated by After APIView workflow run.

…amespaces, and disableLocalAuth

Introduces the 2026-06-01-preview API version for Microsoft.Devices/DeviceProvisioningServices, adding three read/write properties on IotDpsPropertiesDescription:
- adrLinkState (read-only): linking state with the new AdrLinkingState enum (Linking, Linked, LinkingFailed, NamespaceDeleted)
- deviceRegistryNamespaces (read-only): Record of linked Device Registry namespaces keyed by resource ID
- disableLocalAuth: disables non-Azure-RBAC authentication methods

Includes regenerated swagger and 29 example payloads.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mollyiverson mollyiverson force-pushed the AdrLinkState-deviceprovisioningservice-controlplane branch from 7e95c97 to bbd0d99 Compare May 6, 2026 16:59
@mollyiverson mollyiverson force-pushed the AdrLinkState-deviceprovisioningservice-controlplane branch from 86f091a to fee3e68 Compare May 6, 2026 17:40
@mollyiverson mollyiverson self-assigned this May 6, 2026
@mollyiverson mollyiverson added the PublishToCustomers Acknowledgement the changes will be published to Azure customers. label May 6, 2026
@mollyiverson mollyiverson requested a review from Copilot May 6, 2026 17:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot encountered an error: Your billing is not configured or you have Copilot licenses from multiple standalone organizations or enterprises. To use premium requests, select a billing entity via the GitHub site, under Settings > Copilot > Features.

@github-actions github-actions Bot added BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required SuppressionReviewRequired and removed BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required SuppressionReviewRequired labels May 6, 2026
Co-authored-by: Copilot <copilot@github.com>
@github-actions github-actions Bot added WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required ARMAutoSignedOff-IncrementalTSP ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed ARMAutoSignedOff-IncrementalTSP ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels May 8, 2026
Molly Iverson and others added 4 commits May 8, 2026 14:45
Match the field shapes used in azure-rest-api-specs-pr#28400:

- DeviceRegistryNamespaceDescription fields all made optional

- Rename dataEndpoint -> dataAddress, region -> location, adrLinkState -> linkingState

- Replace AdrLinkingState enum values: NotLinked, InProgress, Succeeded, Failed, Orphaned

- Keep disableLocalAuth property

- Update DPSGet examples accordingly

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot removed ARMAutoSignedOff-IncrementalTSP ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review labels May 27, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command.

@mollyiverson

Copy link
Copy Markdown
Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list.

@github-actions github-actions Bot added WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required ARMAutoSignedOff-IncrementalTSP labels May 27, 2026
Molly Iverson and others added 2 commits May 27, 2026 23:06
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Molly Iverson and others added 7 commits June 2, 2026 10:01
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ription

Mirror the IoT Hub linkingProperties pattern in DPS v2026-06-01-preview:
replace the flat linkingState property with a nested linkingProperties
object that contains state and error. Add LinkingProperties and
LinkingError models. Update example responses and regenerate swagger.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Reverts commit 7e4f4f8 (Wrap linkingState in linkingProperties).

Restores the flat linkingState property on DeviceRegistryNamespaceDescription and removes the LinkingProperties and LinkingError models. Updates source examples and regenerates the swagger and copied examples via tsp compile.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ARMAutoSignedOff-IncrementalTSP ARMReview ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review BreakingChange-Approved-Benign Changes are not breaking at the REST API level and have at most minor impact to generated SDKs. BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required new-api-version PublishToCustomers Acknowledgement the changes will be published to Azure customers. resource-manager TypeSpec Authored with TypeSpec

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants