Share via


DiagnosticSettingsResource Constructors

Definition

Overloads

DiagnosticSettingsResource()
DiagnosticSettingsResource(String, String, String, String, String, String, String, IList<MetricSettings>, IList<LogSettings>, String)

DiagnosticSettingsResource()

public DiagnosticSettingsResource ();
Public Sub New ()

Applies to

DiagnosticSettingsResource(String, String, String, String, String, String, String, IList<MetricSettings>, IList<LogSettings>, String)

public DiagnosticSettingsResource (string id = default, string name = default, string type = default, string storageAccountId = default, string serviceBusRuleId = default, string eventHubAuthorizationRuleId = default, string eventHubName = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.MetricSettings> metrics = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.LogSettings> logs = default, string workspaceId = default);
new Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.DiagnosticSettingsResource : string * string * string * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.MetricSettings> * System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.LogSettings> * string -> Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.DiagnosticSettingsResource
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional storageAccountId As String = Nothing, Optional serviceBusRuleId As String = Nothing, Optional eventHubAuthorizationRuleId As String = Nothing, Optional eventHubName As String = Nothing, Optional metrics As IList(Of MetricSettings) = Nothing, Optional logs As IList(Of LogSettings) = Nothing, Optional workspaceId As String = Nothing)

Parameters

id
String
name
String
type
String
storageAccountId
String
serviceBusRuleId
String
eventHubAuthorizationRuleId
String
eventHubName
String
workspaceId
String

Applies to