GetSubscriptionDiagnosticSettingResult

data class GetSubscriptionDiagnosticSettingResult(val eventHubAuthorizationRuleId: String? = null, val eventHubName: String? = null, val id: String, val location: String? = null, val logs: List<SubscriptionLogSettingsResponse>? = null, val name: String, val serviceBusRuleId: String? = null, val storageAccountId: String? = null, val type: String, val workspaceId: String? = null)

The subscription diagnostic setting resource.

Constructors

Link copied to clipboard
constructor(eventHubAuthorizationRuleId: String? = null, eventHubName: String? = null, id: String, location: String? = null, logs: List<SubscriptionLogSettingsResponse>? = 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
val location: String? = null

Location of the resource

Link copied to clipboard

The list of logs 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