Class ExecutionWindow
Details of an execution window.
Inherited Members
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
DeferredExecutionWindowId
Declaration
[JsonProperty(PropertyName = "deferredExecutionWindowId")]
public string DeferredExecutionWindowId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the new execution window created as part of reschedule for the execution window failure. |
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.
|
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 |
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. |
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
[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. |
WindowDetails
Declaration
[JsonProperty(PropertyName = "windowDetails")]
public string WindowDetails { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A message that gives a description of its creation. For example, if the window type is unplanned, the message must specify the window display name. If the window has been deferred from another window, the message should additionally reference the deferred window\u2019s display name and provide the justification for creating the unplanned window. |
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. |