SecurityEvent Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A security event.
public class SecurityEvent : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Sql.Models.SecurityEvent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Sql.Models.SecurityEvent>
type SecurityEvent = class
inherit ResourceData
interface IJsonModel<SecurityEvent>
interface IPersistableModel<SecurityEvent>
Public Class SecurityEvent
Inherits ResourceData
Implements IJsonModel(Of SecurityEvent), IPersistableModel(Of SecurityEvent)
- Inheritance
- Implements
Constructors
SecurityEvent() |
Initializes a new instance of SecurityEvent. |
Properties
ApplicationName |
The application used to execute the statement. |
ClientIP |
The IP address of the client who executed the statement. |
Database |
The database name. |
EventOn |
The time when the security event occurred. |
Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. (Inherited from ResourceData) |
Name |
The name of the resource. (Inherited from ResourceData) |
PrincipalName |
The principal user who executed the statement. |
ResourceType |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". (Inherited from ResourceData) |
SecurityEventSqlInjectionAdditionalProperties |
The sql injection additional properties, populated only if the type of the security event is sql injection. |
SecurityEventType |
The type of the security event. |
Server |
The server name. |
Subscription |
The subscription name. |
SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from ResourceData) |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | (Inherited from ResourceData) |
Explicit Interface Implementations
IJsonModel<SecurityEvent>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<SecurityEvent>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<SecurityEvent>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<SecurityEvent>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<SecurityEvent>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET