Skip to content

Commit fee3e68

Browse files
author
Molly Iverson
committed
Make deviceRegistryNamespace readonly
1 parent bbd0d99 commit fee3e68

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

  • specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/DeviceProvisioningServices

specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/DeviceProvisioningServices/models.tsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@ model IotDpsPropertiesDescription {
355355
/**
356356
* The Device Registry namespace that is linked to the provisioning service.
357357
*/
358+
@visibility(Lifecycle.Read)
358359
deviceRegistryNamespace?: DeviceRegistryNamespaceDescription;
359360

360361
/**

specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/DeviceProvisioningServices/preview/2026-06-01-preview/iotdps.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2044,7 +2044,8 @@
20442044
},
20452045
"deviceRegistryNamespace": {
20462046
"$ref": "#/definitions/DeviceRegistryNamespaceDescription",
2047-
"description": "The Device Registry namespace that is linked to the provisioning service."
2047+
"description": "The Device Registry namespace that is linked to the provisioning service.",
2048+
"readOnly": true
20482049
},
20492050
"deviceRegistryNamespaces": {
20502051
"type": "object",

0 commit comments

Comments
 (0)