Azure Monitor Create or update a diagnostic setting

Creates or updates diagnostic settings for the specified resource. Diagnostic settings determine where platform logs and metrics are routed.