Add 2026-06-01-preview API version for Microsoft.Devices/DeviceProvisioningServices#42934
Open
mollyiverson wants to merge 44 commits into
Open
Add 2026-06-01-preview API version for Microsoft.Devices/DeviceProvisioningServices#42934mollyiverson wants to merge 44 commits into
mollyiverson wants to merge 44 commits into
Conversation
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. |
API Change CheckAPIView identified API level changes in this PR and created the following API reviews
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>
7e95c97 to
bbd0d99
Compare
86f091a to
fee3e68
Compare
Contributor
There was a problem hiding this comment.
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.
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
…p invalid PATCH example
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>
|
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. |
Author
|
/azp run |
|
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. |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
pratik11jain
approved these changes
Jun 2, 2026
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>
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.
Description
Adds the
2026-06-01-previewAPI version toMicrosoft.Devices/DeviceProvisioningServices(DPS).New properties on
IotDpsPropertiesDescriptiondeviceRegistryNamespaces(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
DeviceRegistryNamespaceDescriptionAll 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:
LinkingStateValues:
NotLinked,InProgress,Succeeded,Orphaned.Removed properties on
IotDpsPropertiesDescriptiondeviceRegistryNamespace(singular) is removed in2026-06-01-previewvia@removed(Versions.v2026_06_01_preview). It remains unchanged in2025-02-01-preview. Replaced by the newdeviceRegistryNamespacesarray.Changes
main.tsp: addv2026_06_01_previewto theVersionsenum.models.tsp:@typespec/versioningimport andAzure.ResourceManagerusing;LinkingStateunion;deviceRegistryNamespacesanddisableLocalAuthonIotDpsPropertiesDescription, gated by@added(Versions.v2026_06_01_preview);namespaceUuid,dataAddress,location, andlinkingStateonDeviceRegistryNamespaceDescription, gated by@added(Versions.v2026_06_01_preview);deviceRegistryNamespacewith@removed(Versions.v2026_06_01_preview)so it disappears from the 2026 swagger only.readme.md: addpackage-preview-2026-06tag (set as default).examples/2026-06-01-preview/: 28 example JSONs.preview/2026-06-01-preview/iotdps.jsonviatsp compile.preview/2025-02-01-preview/iotdps.jsonremains byte-identical.ARM Manifest Changes
No manifest changes — additive properties on an existing tracked resource only.