Skip to content

[Python] TypeSpec migration for azure-mgmt-iothub - #46490

Closed
ChenxiJiang333 wants to merge 5 commits into
Azure:mainfrom
ChenxiJiang333:sdk-azure-mgmt-iothub
Closed

ChenxiJiang333 wants to merge 5 commits into
Azure:mainfrom
ChenxiJiang333:sdk-azure-mgmt-iothub

Conversation

@ChenxiJiang333

Copy link
Copy Markdown
Member

[Python] TypeSpec migration for azure-mgmt-iothub

Source

Spec PR: Azure/azure-rest-api-specs#42465
Pre-migration swagger source: specification/iothub/resource-manager@5a8b568d
Swagger API version: 2025-08-01-preview (default tag: package-preview-2025-08)
Generated with apiVersion: 2025-08-01-preview (matched from swagger default tag)

Breaking Changes Analysis

# Breaking Change Classification Reason
1 Deleted or renamed client IotHubClient MITIGATE Category 4: Client naming — added "python" to @@clientName
2 Model Resource deleted or renamed its instance variable location ACCEPT Category 6: Common types upgrade
3 Model Resource deleted or renamed its instance variable tags ACCEPT Category 6: Common types upgrade
4 Deleted or renamed model CertificateBodyDescription ACCEPT Category 7: Unreferenced model removal
5 Method CertificatesOperations.create_or_update deleted parameter if_match ACCEPT Category 10: if_match → etag/match_condition
6 Method CertificatesOperations.delete deleted parameter if_match ACCEPT Category 10: if_match → etag/match_condition
7 Method CertificatesOperations.generate_verification_code deleted parameter if_match ACCEPT Category 10: if_match → etag/match_condition
8 Method CertificatesOperations.verify deleted parameter if_match ACCEPT Category 10: if_match → etag/match_condition
9 Method IotHubResourceOperations.begin_create_or_update deleted parameter if_match ACCEPT Category 10: if_match → etag/match_condition

Summary: 1 mitigated, 8 accepted

Spec Mitigation PR

cxznmhdcxz/azure-rest-api-specs#9

Accepted Breaking Changes (will remain)

  • Model Resource lost location and tags properties (common types v3 upgrade)
  • Model CertificateBodyDescription removed (unreferenced)
  • 5 methods: if_match parameter replaced by etag/match_condition (standard TypeSpec pattern)

@github-actions

Copy link
Copy Markdown
Contributor

Hi ChenxiJiang333. Thank you for your interest in helping to improve the Azure SDK experience and for your contribution. We've noticed that there hasn't been recent engagement on this pull request. If this is still an active work stream, please let us know by pushing some changes or leaving a comment. Otherwise, we'll close this out in 7 days.

@github-actions github-actions Bot added the no-recent-activity There has been no recent activity on this issue. label Jun 26, 2026
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Hi ChenxiJiang333. Thank you for your contribution. Since there hasn't been recent engagement, we're going to close this out. Feel free to respond with a comment containing /reopen if you'd like to continue working on these changes. Please be sure to use the command to reopen or remove the no-recent-activity label; otherwise, this is likely to be closed again with the next cleanup pass.

@github-actions github-actions Bot closed this Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-recent-activity There has been no recent activity on this issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant