Class EventSummary
Provides summary information about an event.
Inherited Members
Namespace: Oci.OsmanagementhubService.Models
Assembly: OCI.DotNetSDK.Osmanagementhub.dll
Syntax
public class EventSummary
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment. |
Remarks
Required
DefinedTags
Declaration
[Required(ErrorMessage = "DefinedTags is required.")]
[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"}} |
Remarks
Required
EventSummaryProp
Declaration
[Required(ErrorMessage = "EventSummaryProp is required.")]
[JsonProperty(PropertyName = "eventSummary")]
public string EventSummaryProp { get; set; }
Property Value
Type | Description |
---|---|
string | Summary of the event. |
Remarks
Required
FreeformTags
Declaration
[Required(ErrorMessage = "FreeformTags is required.")]
[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. For more information, see Resource Tags. Example: {"Department": "Finance"} |
Remarks
Required
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the event. |
Remarks
Required
IsManagedByAutonomousLinux
Declaration
[JsonProperty(PropertyName = "isManagedByAutonomousLinux")]
public bool? IsManagedByAutonomousLinux { get; set; }
Property Value
Type | Description |
---|---|
bool? | Indicates whether the event occurred on a resource that is managed by the Autonomous Linux service. |
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
string | Describes the current state of the event in more detail. For example, the message can provide actionable information for a resource in the 'FAILED' state. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Event.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
Event.LifecycleStateEnum? | The current state of the event. |
Remarks
Required
ResourceId
Declaration
[JsonProperty(PropertyName = "resourceId")]
public string ResourceId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the managed instance or resource where the event occurred. |
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud": {"free-tier-retained": "true"}} |
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time that the event was created (in RFC 3339 format).
|
Remarks
Required
TimeOccurred
Declaration
[Required(ErrorMessage = "TimeOccurred is required.")]
[JsonProperty(PropertyName = "timeOccurred")]
public DateTime? TimeOccurred { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time that the event occurred (in RFC 3339 format).
|
Remarks
Required
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time that the event was updated (in RFC 3339 format).
|
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(ResponseEnumConverter))]
public EventType? Type { get; set; }
Property Value
Type | Description |
---|---|
EventType? | Type of event. |
Remarks
Required