GetDiagnosticSettingResult

data class GetDiagnosticSettingResult(val eventHubAuthorizationRuleId: String? = null, val eventHubName: String? = null, val id: String, val logAnalyticsDestinationType: String? = null, val logs: List<LogSettingsResponse>? = null, val metrics: List<MetricSettingsResponse>? = null, val name: String, val serviceBusRuleId: String? = null, val storageAccountId: String? = null, val type: String, val workspaceId: String? = null)

The diagnostic setting resource.

Constructors

Link copied to clipboard
constructor(eventHubAuthorizationRuleId: String? = null, eventHubName: String? = null, id: String, logAnalyticsDestinationType: String? = null, logs: List<LogSettingsResponse>? = null, metrics: List<MetricSettingsResponse>? = null, name: String, serviceBusRuleId: String? = null, storageAccountId: String? = null, type: String, workspaceId: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The resource Id for the event hub authorization rule.

Link copied to clipboard
val eventHubName: String? = null

The name of the event hub. If none is specified, the default event hub will be selected.

Link copied to clipboard
val id: String

Azure resource Id

Link copied to clipboard

A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type constructed as follows: _. Possible values are: Dedicated and null (null is default.)

Link copied to clipboard

The list of logs settings.

Link copied to clipboard

The list of metric settings.

Link copied to clipboard

Azure resource name

Link copied to clipboard

The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility.

Link copied to clipboard

The resource ID of the storage account to which you would like to send Diagnostic Logs.

Link copied to clipboard

Azure resource type

Link copied to clipboard
val workspaceId: String? = null

The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2