Skip to content

Commit

Permalink
Feature to opt-in/opt-out log collection (Azure#14521)
Browse files Browse the repository at this point in the history
  • Loading branch information
visingl authored and mkarmark committed Jul 20, 2021
1 parent deed010 commit 4557c26
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,10 @@
"items": {
"$ref": "#/definitions/IotHubSettings"
}
},
"enableDiagnostics": {
"description": "Enables or Disables the diagnostic logs collection",
"type": "boolean"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"ioTHubConnectionString": "string",
"eventHubConnectionString": "string"
}
]
],
"enableDiagnostics": false
}
}
},
Expand All @@ -32,7 +33,8 @@
{
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Devices/IotHubs/blue-contoso-hub"
}
]
],
"enableDiagnostics": false
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
{
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Devices/IotHubs/blue-contoso-hub"
}
]
],
"enableDiagnostics": false
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
{
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Devices/IotHubs/blue-contoso-hub"
}
]
],
"enableDiagnostics": false
}
},
{
Expand All @@ -37,7 +38,8 @@
{
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Devices/IotHubs/red-contoso-hub"
}
]
],
"enableDiagnostics": false
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
{
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Devices/IotHubs/blue-contoso-hub"
}
]
],
"enableDiagnostics": false
},
"tags": {
"tagKey": "tagValue"
Expand Down

0 comments on commit 4557c26

Please sign in to comment.