Compartilhar via


ArmSqlModelFactory.SecurityEvent Método

Definição

Inicializa uma nova instância de SecurityEvent.

public static Azure.ResourceManager.Sql.Models.SecurityEvent SecurityEvent (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? eventOn = default, Azure.ResourceManager.Sql.Models.SecurityEventType? securityEventType = default, string subscription = default, string server = default, string database = default, System.Net.IPAddress clientIP = default, string applicationName = default, string principalName = default, Azure.ResourceManager.Sql.Models.SecurityEventSqlInjectionAdditionalProperties securityEventSqlInjectionAdditionalProperties = default);
static member SecurityEvent : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Sql.Models.SecurityEventType> * string * string * string * System.Net.IPAddress * string * string * Azure.ResourceManager.Sql.Models.SecurityEventSqlInjectionAdditionalProperties -> Azure.ResourceManager.Sql.Models.SecurityEvent
Public Shared Function SecurityEvent (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional eventOn As Nullable(Of DateTimeOffset) = 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 IPAddress = Nothing, Optional applicationName As String = Nothing, Optional principalName As String = Nothing, Optional securityEventSqlInjectionAdditionalProperties As SecurityEventSqlInjectionAdditionalProperties = Nothing) As SecurityEvent

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

eventOn
Nullable<DateTimeOffset>

A hora em que o evento de segurança ocorreu.

securityEventType
Nullable<SecurityEventType>

O tipo do evento de segurança.

subscription
String

O nome da assinatura.

server
String

O nome do servidor.

database
String

Nome do banco de dados.

clientIP
IPAddress

O endereço IP do cliente que executou a instrução .

applicationName
String

O aplicativo usado para executar a instrução .

principalName
String

O usuário principal que executou a instrução .

securityEventSqlInjectionAdditionalProperties
SecurityEventSqlInjectionAdditionalProperties

As propriedades adicionais de injeção de sql, preenchidas somente se o tipo do evento de segurança for injeção de sql.

Retornos

Uma nova SecurityEvent instância para zombar.

Aplica-se a