Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
Expand Up @@ -11,6 +11,15 @@
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub/providers/Microsoft.Security/iotSensors/mySensor",
"type": "Microsoft.Security/iotSensors",
"properties": {
"connectivityTime": "2020-11-17T12:31:25Z",
"creationTime": "2020-11-17T12:31:25Z",
"dynamicLearning": true,
"learningMode": true,
"sensorStatus": "Ok",
"sensorVersion": "2020.11.01.1643",
"tiAutomaticUpdates": true,
"tiStatus": "Ok",
"tiVersion": "2020-11-17T12:31:25Z",
"zone": "Zone Name"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub/providers/Microsoft.Security/iotSensors/mySensor",
"type": "Microsoft.Security/iotSensors",
"properties": {
"connectivityTime": "2020-11-17T12:31:25Z",
"creationTime": "2020-11-17T12:31:25Z",
"dynamicLearning": true,
"learningMode": true,
"sensorStatus": "Ok",
"sensorVersion": "2020.11.01.1643",
"tiAutomaticUpdates": true,
"tiStatus": "Ok",
"tiVersion": "2020-11-17T12:31:25Z",
"zone": "Zone Name"
}
},
Expand All @@ -20,6 +29,15 @@
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub/providers/Microsoft.Security/iotSensors/otherSensor",
"type": "Microsoft.Security/iotSensors",
"properties": {
"connectivityTime": "2020-11-17T12:31:25Z",
"creationTime": "2020-11-17T12:31:25Z",
"dynamicLearning": false,
"learningMode": false,
"sensorStatus": "Disconnected",
"sensorVersion": "2020.11.01.1643",
"tiAutomaticUpdates": true,
"tiStatus": "Ok",
"tiVersion": "2020-11-17T12:31:25Z",
"zone": "Zone Name"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"iotSensorName": "mySensor",
"iotSensorsModel": {
"properties": {
"tiAutomaticUpdates": true,
"zone": "Zone Name"
}
}
Expand All @@ -16,6 +17,15 @@
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub/providers/Microsoft.Security/iotSensors/mySensor",
"type": "Microsoft.Security/iotSensors",
"properties": {
"connectivityTime": "2020-11-17T12:31:25Z",
"creationTime": "2020-11-17T12:31:25Z",
"dynamicLearning": true,
"learningMode": true,
"sensorStatus": "Ok",
"sensorVersion": "2020.11.01.1643",
"tiAutomaticUpdates": true,
"tiStatus": "Ok",
"tiVersion": "2020-11-17T12:31:25Z",
"zone": "Zone Name"
}
}
Expand All @@ -26,6 +36,15 @@
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub/providers/Microsoft.Security/iotSensors/mySensor",
"type": "Microsoft.Security/iotSensors",
"properties": {
"connectivityTime": "2020-11-17T12:31:25Z",
"creationTime": "2020-11-17T12:31:25Z",
"dynamicLearning": true,
"learningMode": true,
"sensorStatus": "Ok",
"sensorVersion": "2020.11.01.1643",
"tiAutomaticUpdates": true,
"tiStatus": "Ok",
"tiVersion": "2020-11-17T12:31:25Z",
"zone": "Zone Name"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -324,9 +324,107 @@
"type": "object",
"description": "IoT sensor properties",
"properties": {
"connectivityTime": {
"description": "Last connectivity time of the IoT sensor",
"readOnly": true,
"type": "string",
"example": "2020-11-17T12:31:25Z"
},
"creationTime": {
"description": "Creation time of the IoT sensor",
"readOnly": true,
"type": "string",
"example": "2020-11-17T12:31:25Z"
},
"dynamicLearning": {
"description": "Dynamic mode status of the IoT sensor",
"example": true,
"readOnly": true,
"type": "boolean"
},
"learningMode": {
"description": "Learning mode status of the IoT sensor",
"example": true,
"readOnly": true,
"type": "boolean"
},
"sensorStatus": {
"readOnly": true,
"type": "string",
"example": "Ok",
"description": "Status of the IoT sensor",
"enum": [
"Ok",
"Disconnected",
"Unavailable"
],
"x-ms-enum": {
"name": "sensorStatus",
"modelAsString": true,
"values": [
{
"value": "Ok"
},
{
"value": "Disconnected"
},
{
"value": "Unavailable"
}
]
}
},
"sensorVersion": {
"description": "Version of the IoT sensor",
"readOnly": true,
"type": "string",
"example": "2020.11.01.1643"
},
"tiAutomaticUpdates": {
"description": "TI Automatic mode status of the IoT sensor",
"example": true,
"type": "boolean"
},
"tiStatus": {
"readOnly": true,
"type": "string",
"example": "Ok",
"description": "TI Status of the IoT sensor",
"enum": [
"Ok",
"Failed",
"InProgress",
"UpdateAvailable"
],
"x-ms-enum": {
"name": "tiStatus",
"modelAsString": true,
"values": [
{
"value": "Ok"
},
{
"value": "Failed"
},
{
"value": "InProgress"
},
{
"value": "UpdateAvailable"
}
]
}
},
"tiVersion": {
"description": "TI Version of the IoT sensor",
"readOnly": true,
"type": "string",
"example": "2020-11-17T12:31:25Z"
},
"zone": {
"type": "string",
"description": "Display name of the IoT zone"
"description": "Zone of the IoT sensor",
"example": "A12"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion specification/security/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ input-file:
- Microsoft.Security/stable/2020-01-01/securitySolutionsReferenceData.json
- Microsoft.Security/stable/2020-01-01/externalSecuritySolutions.json
- Microsoft.Security/stable/2020-01-01/jitNetworkAccessPolicies.json
- Microsoft.Security/stable/2020-01-01/serverVulnerabilityAssessments.json
- Microsoft.Security/stable/2020-01-01/serverVulnerabilityAssessments.json
- Microsoft.Security/stable/2020-01-01/topologies.json
- Microsoft.Security/stable/2020-01-01/secureScore.json

Expand Down