ResourceModules icon indicating copy to clipboard operation
ResourceModules copied to clipboard

[Feature Request]: Update diagnostic settings interface to object (to use User-Defined-Types down the line)

Open AlexanderSehr opened this issue 3 years ago • 1 comments

Description

  • NOT maintaining list of categories, category groups, or metrics per resource, no allowed decorator or constraints on inputs
    • If incorrect value supplied, error from RP will be thrown and that's okay
  • Default for logs will be the allLogs category group
  • Default for metric will be AllMetrics
  • Default to 30 days retention period
  • Default to Dedicated (aka Resource Specific) Diagnostic Tables
{
  diagnosticSettings: [
    {
      retentionInDays: int =30
      logCategoriesAndGroups: [] =['allLogs']
      metricCategories: [] =['AllMetrics]
      logAnalyticsDestinationType: '' (allowed == 'Dedicated' || 'AzureDiagnostics' || 'null')
      workspaceId: ''
      storageAccountId: ''
      eventHubAuthorizationRuleId: ''
      eventHubName: ''
      marketplacePartnerId: ''
    }
  ]
}

AlexanderSehr avatar Aug 07 '23 09:08 AlexanderSehr

This was implemented since

AlexanderSehr avatar Jun 14 '24 13:06 AlexanderSehr