SecurityEvent Constructors

Definition

Overloads

SecurityEvent()

Initializes a new instance of the SecurityEvent class.

SecurityEvent(String, String, String, Nullable<DateTime>, Nullable<SecurityEventType>, String, String, String, String, String, String, SecurityEventSqlInjectionAdditionalProperties)

Initializes a new instance of the SecurityEvent class.

SecurityEvent()

Initializes a new instance of the SecurityEvent class.

public SecurityEvent ();
Public Sub New ()

Applies to

SecurityEvent(String, String, String, Nullable<DateTime>, Nullable<SecurityEventType>, String, String, String, String, String, String, SecurityEventSqlInjectionAdditionalProperties)

Initializes a new instance of the SecurityEvent class.

public SecurityEvent (string id = default, string name = default, string type = default, DateTime? eventTime = default, Microsoft.Azure.Management.Sql.Models.SecurityEventType? securityEventType = default, string subscription = default, string server = default, string database = default, string clientIp = default, string applicationName = default, string principalName = default, Microsoft.Azure.Management.Sql.Models.SecurityEventSqlInjectionAdditionalProperties securityEventSqlInjectionAdditionalProperties = default);
new Microsoft.Azure.Management.Sql.Models.SecurityEvent : string * string * string * Nullable<DateTime> * Nullable<Microsoft.Azure.Management.Sql.Models.SecurityEventType> * string * string * string * string * string * string * Microsoft.Azure.Management.Sql.Models.SecurityEventSqlInjectionAdditionalProperties -> Microsoft.Azure.Management.Sql.Models.SecurityEvent
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional eventTime As Nullable(Of DateTime) = Nothing, Optional securityEventType As Nullable(Of SecurityEventType) = Nothing, Optional subscription As String = Nothing, Optional server As String = Nothing, Optional database As String = Nothing, Optional clientIp As String = Nothing, Optional applicationName As String = Nothing, Optional principalName As String = Nothing, Optional securityEventSqlInjectionAdditionalProperties As SecurityEventSqlInjectionAdditionalProperties = Nothing)

Parameters

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

eventTime
Nullable<DateTime>

The time when the security event occurred.

securityEventType
Nullable<SecurityEventType>

The type of the security event. Possible values include: 'Undefined', 'SqlInjectionVulnerability', 'SqlInjectionExploit'

subscription
String

The subscription name

server
String

The server name

database
String

The database name

clientIp
String

The IP address of the client who executed the statement.

applicationName
String

The application used to execute the statement.

principalName
String

The principal user who executed the statement

securityEventSqlInjectionAdditionalProperties
SecurityEventSqlInjectionAdditionalProperties

The sql injection additional properties, populated only if the type of the security event is sql injection.

Applies to