Skip to content
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

[IoT] Support IoT Hub and DPS Data Residency feature #21348

Merged
merged 7 commits into from
Feb 24, 2022

Conversation

c-ryan-k
Copy link
Member

@c-ryan-k c-ryan-k commented Feb 17, 2022

Description

This PR updates the control-plane SDKs for both IoT Hub and DPS to support new API-versions, as well as a new creation property to enforce data residency on these resources.

Testing Guide

az iot hub|dps create -g resource_group -n iot_hub --enforce-data-residency: Creates an IoT Hub with data-residency enforced (and thereby disabling cross-region disaster recovery).

History Notes

[IoT] az iot hub create: Add the --enforce-data-residency parameter to support creating resources with data residency enforced (and cross-region disaster recovery disabled).
[IoT] az iot dps create: Add the --enforce-data-residency parameter to support creating resources with data residency enforced (and cross-region disaster recovery disabled).


This checklist is used to make sure that common guidelines for a pull request are followed.

@yonzhan
Copy link
Collaborator

yonzhan commented Feb 18, 2022

IoT

@yonzhan yonzhan added this to the Feb 2022 (2022-03-01) milestone Feb 18, 2022
@c-ryan-k c-ryan-k marked this pull request as ready for review February 18, 2022 01:02
@c-ryan-k
Copy link
Member Author

Looks like some external tests are failing since we updated the default control-plane API-version for hub, will update and push those recordings in a bit

VerificationCodeResponse)
if isinstance(certificate_response, CertificateListDescription) and certificate_response.value:
for cert in certificate_response.value:
cert = _replace_certificate_bytes(cert)
Copy link
Member

Choose a reason for hiding this comment

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

nit, is this assignment needed?

@zhoxing-ms zhoxing-ms merged commit 97fa049 into Azure:dev Feb 24, 2022
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.

6 participants