Class Event
Description of Event.
Inherited Members
Namespace: Oci.OsmanagementService.Models
Assembly: OCI.DotNetSDK.Osmanagement.dll
Syntax
[JsonConverter(typeof(EventModelConverter))]
public class Event
Properties
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | OCI identifier of the compartement where the instance is |
Count
Declaration
[JsonProperty(PropertyName = "count")]
public int? Count { get; set; }
Property Value
Type | Description |
---|---|
int? | Event occurrence count. Number of time the event has happen on the system. |
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. Example: {"foo-namespace": {"bar-key": "value"}} |
EventFingerprint
Declaration
[JsonProperty(PropertyName = "eventFingerprint")]
public string EventFingerprint { get; set; }
Property Value
Type | Description |
---|---|
string | Unique ID used to group event with the same characteristics together. The list of such groups of event can be retrieved via /recurringEvents/{EventFingerprint} |
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"} |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | OCID identifier of the event |
Remarks
Required
InstanceId
Declaration
[JsonProperty(PropertyName = "instanceId")]
public string InstanceId { get; set; }
Property Value
Type | Description |
---|---|
string | OCI identifier of the instance where the event occurred |
Summary
Declaration
[JsonProperty(PropertyName = "summary")]
public string Summary { get; set; }
Property Value
Type | Description |
---|---|
string | human readable description of the event |
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}} |
TenancyId
Declaration
[JsonProperty(PropertyName = "tenancyId")]
public string TenancyId { get; set; }
Property Value
Type | Description |
---|---|
string | OCID identifier of the instance tenancy. |
Timestamp
Declaration
[JsonProperty(PropertyName = "timestamp")]
public DateTime? Timestamp { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Time of the occurrence of the event |