GetDiagnosticSettingResult

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

The diagnostic setting resource.

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The Azure API version of the resource.

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

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

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 full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs.

Link copied to clipboard

The list of metric settings.

Link copied to clipboard

The name of the resource

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

The system metadata related to this resource.

Link copied to clipboard

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

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