Share via


SqlAuditAdapter<AuditPolicyType,AuditModelType>.CreateDiagnosticSettings Method

Definition

protected virtual Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.DiagnosticSettingsResource CreateDiagnosticSettings (string resourceGroup, string workspaceName, string settingsName, string eventHubName, string eventHubAuthorizationRuleId, string workspaceId);
abstract member CreateDiagnosticSettings : string * string * string * string * string * string -> Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.DiagnosticSettingsResource
override this.CreateDiagnosticSettings : string * string * string * string * string * string -> Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.DiagnosticSettingsResource
Protected Overridable Function CreateDiagnosticSettings (resourceGroup As String, workspaceName As String, settingsName As String, eventHubName As String, eventHubAuthorizationRuleId As String, workspaceId As String) As DiagnosticSettingsResource

Parameters

resourceGroup
String
workspaceName
String
settingsName
String
eventHubName
String
eventHubAuthorizationRuleId
String
workspaceId
String

Returns

Applies to