You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cosmos-db/monitor-resource-logs.md
+45-20Lines changed: 45 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -151,18 +151,22 @@ Use the [Azure Monitor REST API](/rest/api/monitor/diagnosticsettings/createorup
151
151
--output "tsv" \
152
152
)
153
153
154
-
az rest --method PUT --url "$resourceId/providers/Microsoft.Insights/diagnosticSettings/$diagnosticSettingName" --url-parameters "api-version=2021-05-01-preview" --body '{
@@ -180,7 +184,10 @@ Use the [Azure Monitor REST API](/rest/api/monitor/diagnosticsettings/createorup
180
184
--output "tsv" \
181
185
)
182
186
183
-
az rest --method GET --url "$resourceId/providers/Microsoft.Insights/diagnosticSettings/$diagnosticSettingName" --url-parameters "api-version=2021-05-01-preview"
0 commit comments