DiagnosticSettingsResource interface

The diagnostic setting resource.

Extends

Properties

eventHubAuthorizationRuleId

The resource Id for the event hub authorization rule.

eventHubName

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

logAnalyticsDestinationType

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.)

logs

The list of logs settings.

metrics

The list of metric settings.

serviceBusRuleId

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

storageAccountId

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

workspaceId

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

Inherited Properties

id

Azure resource Id NOTE: This property will not be serialized. It can only be populated by the server.

name

Azure resource name NOTE: This property will not be serialized. It can only be populated by the server.

type

Azure resource type NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

eventHubAuthorizationRuleId

The resource Id for the event hub authorization rule.

eventHubAuthorizationRuleId?: string

Property Value

string

eventHubName

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

eventHubName?: string

Property Value

string

logAnalyticsDestinationType

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.)

logAnalyticsDestinationType?: string

Property Value

string

logs

The list of logs settings.

logs?: LogSettings[]

Property Value

metrics

The list of metric settings.

metrics?: MetricSettings[]

Property Value

serviceBusRuleId

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

serviceBusRuleId?: string

Property Value

string

storageAccountId

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

storageAccountId?: string

Property Value

string

workspaceId

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

workspaceId?: string

Property Value

string

Inherited Property Details

id

Azure resource Id NOTE: This property will not be serialized. It can only be populated by the server.

id?: string

Property Value

string

Inherited From ProxyOnlyResource.id

name

Azure resource name NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

Property Value

string

Inherited From ProxyOnlyResource.name

type

Azure resource type NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

Property Value

string

Inherited From ProxyOnlyResource.type