共用方式為


LogSettings interface

Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log.

Properties

category

Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation.

enabled

a value indicating whether this log is enabled.

retentionPolicy

the retention policy for this log.

Property Details

category

Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation.

category?: string

Property Value

string

enabled

a value indicating whether this log is enabled.

enabled: boolean

Property Value

boolean

retentionPolicy

the retention policy for this log.

retentionPolicy?: RetentionPolicy

Property Value