Class Action
An object that represents an action to trigger for events that match a rule.
Inherited Members
Namespace: Oci.EventsService.Models
Assembly: OCI.DotNetSDK.Events.dll
Syntax
[JsonConverter(typeof(ActionModelConverter))]
public class ActionProperties
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }Property Value
| Type | Description | 
|---|---|
| string | A string that describes the details of the action. It does not have to be unique, and you can change it. Avoid entering confidential information. | 
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The OCID of the action. | 
Remarks
Required
IsEnabled
Declaration
[JsonProperty(PropertyName = "isEnabled")]
public bool? IsEnabled { get; set; }Property Value
| Type | Description | 
|---|---|
| bool? | Whether or not this action is currently enabled.
 | 
LifecycleMessage
Declaration
[Required(ErrorMessage = "LifecycleMessage is required.")]
[JsonProperty(PropertyName = "lifecycleMessage")]
public string LifecycleMessage { get; set; }Property Value
| Type | Description | 
|---|---|
| string | A message generated by the Events service about the current state of this action. | 
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Action.LifecycleStateEnum? LifecycleState { get; set; }Property Value
| Type | Description | 
|---|---|
| Action.LifecycleStateEnum? | The current state of the rule. | 
Remarks
Required