Language

AuditRecord Class

Definition

Audit record model.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ChangeSafety.Models.AuditRecordTypeConverter))]
public class AuditRecord : Microsoft.Azure.PowerShell.Cmdlets.ChangeSafety.Models.IAuditRecord
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ChangeSafety.Models.AuditRecordTypeConverter))>]
type AuditRecord = class
    interface IAuditRecord
    interface IJsonSerializable
Public Class AuditRecord
Implements IAuditRecord
Inheritance
AuditRecord
Attributes
Implements

Constructors

Name Description
AuditRecord()

Creates an new AuditRecord instance.

Properties

Name Description
Id

Identifier for event as defined by source in the format of ARM resource Id.

InitiatedBy

Identifier of the actor that triggered the event

InitiatedByType

Categorical type of the initiator "User", "Application", "System", etc.

Property

A property bag containing detailed, record-specific data. The structure varies depending on the record type.

Timestamp

Timestamp indicating when the event occurred.

Type

The ARM formatted type of the record.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AuditRecord.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AuditRecord.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ChangeSafety.Models.IAuditRecord.

FromJsonString(String)

Creates a new instance of AuditRecord, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of AuditRecord into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to