ServiceDiagnosticSettingsResourcePatch interface

Service diagnostic setting resource for patch operations

Properties

eventHubAuthorizationRuleId

The resource Id for the event hub namespace authorization rule.

logs

the list of logs settings.

metrics

the list of metric settings.

serviceBusRuleId

The service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming Diagnostic Logs. The rule ID is of the format: '{service bus resource ID}/authorizationrules/{key name}'.

storageAccountId

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

tags

Resource tags

workspaceId

The workspace ID (resource ID of a Log Analytics workspace) for a 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

Property Details

eventHubAuthorizationRuleId

The resource Id for the event hub namespace authorization rule.

eventHubAuthorizationRuleId?: 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 service bus namespace in which you would like to have Event Hubs created for streaming Diagnostic Logs. The rule ID is of the format: '{service bus resource ID}/authorizationrules/{key name}'.

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

tags

Resource tags

tags?: Record<string, string>

Property Value

Record<string, string>

workspaceId

The workspace ID (resource ID of a Log Analytics workspace) for a 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