Show / Hide Table of Contents

Class ExecutionWindow

Details of an execution window.

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

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
[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.

Description

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

Description of the execution window.

DisplayName

Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

The user-friendly name for the execution window. The name does not need to be unique.

Remarks

Required

EstimatedTimeInMins

Declaration
[JsonProperty(PropertyName = "estimatedTimeInMins")]
public int? EstimatedTimeInMins { get; set; }
Property Value
Type Description
int?

The estimated time of the execution window in minutes.

ExecutionResourceId

Declaration
[Required(ErrorMessage = "ExecutionResourceId is required.")]
[JsonProperty(PropertyName = "executionResourceId")]
public string ExecutionResourceId { get; set; }
Property Value
Type Description
string

The OCID of the execution resource the execution window belongs to.

Remarks

Required

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.
Example: {"Department": "Finance"}

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

The OCID of the execution window.

Remarks

Required

IsEnforcedDuration

Declaration
[JsonProperty(PropertyName = "isEnforcedDuration")]
public bool? IsEnforcedDuration { get; set; }
Property Value
Type Description
bool?

Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is FALSE.

LifecycleDetails

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

Additional information about the current lifecycle state.

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ExecutionWindow.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
ExecutionWindow.LifecycleStateEnum?

The current state of the Schedule Policy. Valid states are CREATED, SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.

Remarks

Required

LifecycleSubstate

Declaration
[JsonProperty(PropertyName = "lifecycleSubstate")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ExecutionWindow.LifecycleSubstateEnum? LifecycleSubstate { get; set; }
Property Value
Type Description
ExecutionWindow.LifecycleSubstateEnum?

The current sub-state of the execution window. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.

TimeCreated

Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The date and time the execution window was created.

TimeEnded

Declaration
[JsonProperty(PropertyName = "timeEnded")]
public DateTime? TimeEnded { get; set; }
Property Value
Type Description
DateTime?

The date and time that the execution window ended.

TimeScheduled

Declaration
[Required(ErrorMessage = "TimeScheduled is required.")]
[JsonProperty(PropertyName = "timeScheduled")]
public DateTime? TimeScheduled { get; set; }
Property Value
Type Description
DateTime?

The scheduled start date and time of the execution window.

Remarks

Required

TimeStarted

Declaration
[JsonProperty(PropertyName = "timeStarted")]
public DateTime? TimeStarted { get; set; }
Property Value
Type Description
DateTime?

The date and time that the execution window was started.

TimeUpdated

Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

The last date and time that the execution window was updated.

TotalTimeTakenInMins

Declaration
[JsonProperty(PropertyName = "totalTimeTakenInMins")]
public int? TotalTimeTakenInMins { get; set; }
Property Value
Type Description
int?

The total time taken by corresponding resource activity in minutes.

WindowDurationInMins

Declaration
[Required(ErrorMessage = "WindowDurationInMins is required.")]
[JsonProperty(PropertyName = "windowDurationInMins")]
public int? WindowDurationInMins { get; set; }
Property Value
Type Description
int?

Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.

Remarks

Required

WindowType

Declaration
[JsonProperty(PropertyName = "windowType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ExecutionWindow.WindowTypeEnum? WindowType { get; set; }
Property Value
Type Description
ExecutionWindow.WindowTypeEnum?

The execution window is of PLANNED or UNPLANNED type.

In this article
Back to top