Class ScheduledAction
Details of a Scheduled Action.
Inherited Members
Namespace: Oci.DatabaseService.Models
Assembly: OCI.DotNetSDK.Database.dll
Syntax
public class ScheduledAction
Properties
ActionMembers
Declaration
[JsonProperty(PropertyName = "actionMembers")]
public List<ActionMember> ActionMembers { get; set; }
Property Value
Type | Description |
---|---|
List<ActionMember> | The list of action members in a scheduled action. |
ActionOrder
Declaration
[Required(ErrorMessage = "ActionOrder is required.")]
[JsonProperty(PropertyName = "actionOrder")]
public int? ActionOrder { get; set; }
Property Value
Type | Description |
---|---|
int? | The order of the scheduled action. |
Remarks
Required
ActionParams
Declaration
[JsonProperty(PropertyName = "actionParams")]
public Dictionary<string, string> ActionParams { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> |
ActionType
Declaration
[Required(ErrorMessage = "ActionType is required.")]
[JsonProperty(PropertyName = "actionType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ScheduledAction.ActionTypeEnum? ActionType { get; set; }
Property Value
Type | Description |
---|---|
ScheduledAction.ActionTypeEnum? | The type of the scheduled action being performed |
Remarks
Required
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
[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. |
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | The display name of the Scheduled Action. |
Remarks
Required
EstimatedTimeInMins
Declaration
[JsonProperty(PropertyName = "estimatedTimeInMins")]
public int? EstimatedTimeInMins { get; set; }
Property Value
Type | Description |
---|---|
int? | The estimated patching time for the scheduled action. |
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.
For more information, see Resource Tags.
|
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Scheduled Action. |
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ScheduledAction.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
ScheduledAction.LifecycleStateEnum? | The current state of the Scheduled Action. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED. |
Remarks
Required
SchedulingPlanId
Declaration
[Required(ErrorMessage = "SchedulingPlanId is required.")]
[JsonProperty(PropertyName = "schedulingPlanId")]
public string SchedulingPlanId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Scheduling Plan. |
Remarks
Required
SchedulingWindowId
Declaration
[JsonProperty(PropertyName = "schedulingWindowId")]
public string SchedulingWindowId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Scheduling Window. |
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. For more information, see Resource Tags. |
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the Scheduled Action Resource was created. |
Remarks
Required
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the Scheduled Action Resource was updated. |