Show / Hide Table of Contents

Class Data

The payload of the event. Information within data comes from the resource emitting the event.

Inheritance
object
Data
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.AuditService.Models
Assembly: OCI.DotNetSDK.Audit.dll
Syntax
public class Data

Properties

AdditionalDetails

Declaration
[JsonProperty(PropertyName = "additionalDetails")]
public Dictionary<string, object> AdditionalDetails { get; set; }
Property Value
Type Description
Dictionary<string, object>

AvailabilityDomain

Declaration
[JsonProperty(PropertyName = "availabilityDomain")]
public string AvailabilityDomain { get; set; }
Property Value
Type Description
string

The availability domain where the resource resides.

CompartmentId

Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the compartment of the resource emitting the event.

CompartmentName

Declaration
[JsonProperty(PropertyName = "compartmentName")]
public string CompartmentName { get; set; }
Property Value
Type Description
string

The name of the compartment. This value is the friendly name associated with compartmentId. This value can change, but the service logs the value that appeared at the time of the audit event.
Example: CompartmentA

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}

EventGroupingId

Declaration
[JsonProperty(PropertyName = "eventGroupingId")]
public string EventGroupingId { get; set; }
Property Value
Type Description
string

This value links multiple audit events that are part of the same API operation. For example, a long running API operations that emit an event at the start and the end of an operation would use the same value in this field for both events.

EventName

Declaration
[JsonProperty(PropertyName = "eventName")]
public string EventName { get; set; }
Property Value
Type Description
string

Name of the API operation that generated this event.
Example: GetInstance

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Exists for cross-compatibility only. For more information, see Resource Tags.
Example: {"Department": "Finance"}

Identity

Declaration
[JsonProperty(PropertyName = "identity")]
public Identity Identity { get; set; }
Property Value
Type Description
Identity

Request

Declaration
[JsonProperty(PropertyName = "request")]
public Request Request { get; set; }
Property Value
Type Description
Request

ResourceId

Declaration
[JsonProperty(PropertyName = "resourceId")]
public string ResourceId { get; set; }
Property Value
Type Description
string

An OCID or some other ID for the resource emitting the event.

ResourceName

Declaration
[JsonProperty(PropertyName = "resourceName")]
public string ResourceName { get; set; }
Property Value
Type Description
string

The name of the resource emitting the event.

Response

Declaration
[JsonProperty(PropertyName = "response")]
public Response Response { get; set; }
Property Value
Type Description
Response

StateChange

Declaration
[JsonProperty(PropertyName = "stateChange")]
public StateChange StateChange { get; set; }
Property Value
Type Description
StateChange
In this article
Back to top