Skip to content

[Az.DeviceRegistry] - add support for DeviceRegistry public preview API version 2025-07-01-preview #28291

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

Merged
merged 34 commits into from
Aug 5, 2025

Conversation

mryanlo
Copy link
Contributor

@mryanlo mryanlo commented Jul 28, 2025

Description

This PR adds support for Device Registry service's public preview api version 2025-07-01-preview version. The Asset, AssetEndpointProfile, and Billing commandlet operations are still the same and have no change, but now there are new resources to add:

  1. Schema Registry
  2. Schema
  3. Schema Version
  4. Namespaces
  5. Namespace Asset
  6. Namespace Device
  7. Namespace Discovered Asset
  8. Namespace Discovered Device

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • Update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

@Copilot Copilot AI review requested due to automatic review settings July 28, 2025 22:44
Copy link

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for Device Registry service's public preview API version 2025-07-01-preview. It introduces PowerShell cmdlets for new resources while maintaining existing Asset, AssetEndpointProfile, and Billing functionality.

Key Changes

  • Added Schema Registry resource management (Schema, Schema Version)
  • Added Namespace resource management (Namespace, Namespace Asset, Namespace Device)
  • Added Namespace Discovered resource management (Discovered Asset, Discovered Device)
  • Added migration functionality for moving assets to namespaces

Reviewed Changes

Copilot reviewed 71 out of 186 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
New-AzDeviceRegistrySchema.md Example documentation for creating Device Registry schemas
New-AzDeviceRegistry*.md (namespace resources) Example documentation for new namespace-scoped resources
Get-AzDeviceRegistry*.md (various resources) Example documentation for retrieving new resources
Update-AzDeviceRegistry*.md (schema resources) Documentation for updating schema-related resources
Get-AzDeviceRegistryAsset.md Minor example numbering correction
Move-AzDeviceRegistryNamespace.md Documentation for asset migration functionality

@YanaXu
Copy link
Contributor

YanaXu commented Jul 29, 2025

/azp run azure-powershell - security-tools

Copy link
Contributor

Azure Pipelines successfully started running 1 pipeline(s).

@NoriZC NoriZC self-assigned this Jul 30, 2025
@NoriZC
Copy link
Contributor

NoriZC commented Aug 1, 2025

/azp run azure-powershell - security-tools

Copy link
Contributor

Azure Pipelines successfully started running 1 pipeline(s).

@NoriZC
Copy link
Contributor

NoriZC commented Aug 5, 2025

/azp run azure-powershell - security-tools

Copy link
Contributor

Azure Pipelines successfully started running 1 pipeline(s).

@NoriZC NoriZC merged commit a8ab243 into Azure:main Aug 5, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants