SecurityEventInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. SecurityEventInner
- com.
- com.
public final class SecurityEventInner
extends ProxyResource
A security event.
Constructor Summary
Constructor | Description |
---|---|
SecurityEventInner() |
Creates an instance of Security |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
applicationName()
Get the application |
String |
clientIp()
Get the client |
String |
database()
Get the database property: The database name. |
Offset |
eventTime()
Get the event |
static
Security |
fromJson(JsonReader jsonReader)
Reads an instance of Security |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
String |
principalName()
Get the principal |
Security |
securityEventSqlInjectionAdditionalProperties()
Get the security |
Security |
securityEventType()
Get the security |
String |
server()
Get the server property: The server name. |
String |
subscription()
Get the subscription property: The subscription name. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
SecurityEventInner
public SecurityEventInner()
Creates an instance of SecurityEventInner class.
Method Details
applicationName
public String applicationName()
Get the applicationName property: The application used to execute the statement.
Returns:
clientIp
public String clientIp()
Get the clientIp property: The IP address of the client who executed the statement.
Returns:
database
public String database()
Get the database property: The database name.
Returns:
eventTime
public OffsetDateTime eventTime()
Get the eventTime property: The time when the security event occurred.
Returns:
fromJson
public static SecurityEventInner fromJson(JsonReader jsonReader)
Reads an instance of SecurityEventInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SecurityEventInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SecurityEventInner.name()Returns:
principalName
public String principalName()
Get the principalName property: The principal user who executed the statement.
Returns:
securityEventSqlInjectionAdditionalProperties
public SecurityEventSqlInjectionAdditionalProperties securityEventSqlInjectionAdditionalProperties()
Get the securityEventSqlInjectionAdditionalProperties property: The sql injection additional properties, populated only if the type of the security event is sql injection.
Returns:
securityEventType
public SecurityEventType securityEventType()
Get the securityEventType property: The type of the security event.
Returns:
server
public String server()
Get the server property: The server name.
Returns:
subscription
public String subscription()
Get the subscription property: The subscription name.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SecurityEventInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SecurityEventInner.type()Returns:
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java