ResourceModules
ResourceModules copied to clipboard
[Feature Request]: Update diagnostic settings interface to object (to use User-Defined-Types down the line)
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
allLogscategory 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: ''
}
]
}
This was implemented since