Azure Monitor · Arazzo Workflow
Azure Monitor Diagnostic Setting Provision
Version 1.0.0
Inventory existing diagnostic settings on a resource, route its logs and metrics to a destination, and confirm.
Provider
Workflows
provision-diagnostic-setting
List, create or update, and confirm a diagnostic setting on a resource.
Surveys the resource's existing diagnostic settings, routes its platform metrics and logs to a Log Analytics workspace, and reads the setting back to confirm.
1
listDiagnosticSettings
DiagnosticSettings_List
List the diagnostic settings already configured on the resource so the caller can confirm whether the named setting already exists.
2
createDiagnosticSetting
DiagnosticSettings_CreateOrUpdate
Create or update the diagnostic setting to route the resource's platform metrics and logs to the supplied Log Analytics workspace.
3
confirmDiagnosticSetting
DiagnosticSettings_Get
Read the diagnostic setting back to confirm the destination workspace and enabled categories were persisted.