Skip to content
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{

Check notice on line 1 in specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/preview/2025-02-01-preview/iotdps.json

View workflow job for this annotation

GitHub Actions / TypeSpec Requirement

Brownfield services will soon be required to convert from OpenAPI to TypeSpec. See https://aka.ms/azsdk/typespec.
"swagger": "2.0",
"info": {
"version": "2025-02-01-preview",
Expand Down Expand Up @@ -1847,6 +1847,45 @@
"modelAsString": true
}
},
"deviceRegistryNamespace": {
"description": "The Device Registry namespace that is linked to the provisioning service.",
"type": "object",
"properties": {
"resourceId": {
"type": "string",
"format": "arm-id",
"description": "The ARM resource ID of the Device Registry namespace."
},
"authenticationType": {
"description": "Device Registry Namespace MI authentication type: UserAssigned, SystemAssigned.",
"enum": [
"UserAssigned",
"SystemAssigned"
],
"type": "string",
"x-ms-enum": {
"name": "DeviceRegistryNamespaceAuthenticationType",
"modelAsString": true
}
},
"selectedUserAssignedIdentityResourceId": {
"type": "string",
"format": "arm-id",
"description": "The selected user-assigned identity resource Id associated with Device Registry namespace. This is required when authenticationType is UserAssigned.",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.ManagedIdentity/userAssignedIdentities"
}
]
}
}
},
"required": [
"resourceId",
"authenticationType"
]
},
"publicNetworkAccess": {
"type": "string",
"description": "Whether requests from Public Network are allowed",
Expand Down Expand Up @@ -1954,34 +1993,10 @@
"location": {
"type": "string",
"description": "ARM region of the IoT hub."
},
"authenticationType": {
"description": "IotHub MI authentication type: KeyBased, UserAssigned, SystemAssigned.",
"enum": [
"KeyBased",
"UserAssigned",
"SystemAssigned"
],
"type": "string",
"x-ms-enum": {
"name": "IotHubAuthenticationType",
"modelAsString": true
}
},
"selectedUserAssignedIdentityResourceId": {
"type": "string",
"format": "arm-id",
"description": "The selected user-assigned identity resource Id associated with IoT Hub. This is required when authenticationType is UserAssigned.",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.ManagedIdentity/userAssignedIdentities"
}
]
}
}
},
"required": [
"connectionString",
"location"
]
},
Expand Down