CreateExecutionWindowDetails

class oci.database.models.CreateExecutionWindowDetails(**kwargs)

Bases: object

Request to create an execution window resource under an execution resource.

Methods:

__init__(**kwargs)

Initializes a new CreateExecutionWindowDetails object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this CreateExecutionWindowDetails.

defined_tags

Gets the defined_tags of this CreateExecutionWindowDetails.

execution_resource_id

[Required] Gets the execution_resource_id of this CreateExecutionWindowDetails.

freeform_tags

Gets the freeform_tags of this CreateExecutionWindowDetails.

is_enforced_duration

Gets the is_enforced_duration of this CreateExecutionWindowDetails.

time_scheduled

[Required] Gets the time_scheduled of this CreateExecutionWindowDetails.

window_duration_in_mins

[Required] Gets the window_duration_in_mins of this CreateExecutionWindowDetails.

__init__(**kwargs)

Initializes a new CreateExecutionWindowDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateExecutionWindowDetails.

  • execution_resource_id (str) – The value to assign to the execution_resource_id property of this CreateExecutionWindowDetails.

  • time_scheduled (datetime) – The value to assign to the time_scheduled property of this CreateExecutionWindowDetails.

  • window_duration_in_mins (int) – The value to assign to the window_duration_in_mins property of this CreateExecutionWindowDetails.

  • is_enforced_duration (bool) – The value to assign to the is_enforced_duration property of this CreateExecutionWindowDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateExecutionWindowDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateExecutionWindowDetails.

property compartment_id

[Required] Gets the compartment_id of this CreateExecutionWindowDetails. The OCID of the compartment.

Returns

The compartment_id of this CreateExecutionWindowDetails.

Return type

str

property defined_tags

Gets the defined_tags of this CreateExecutionWindowDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Returns

The defined_tags of this CreateExecutionWindowDetails.

Return type

dict(str, dict(str, object))

property execution_resource_id

[Required] Gets the execution_resource_id of this CreateExecutionWindowDetails. The OCID of the execution resource the execution window belongs to.

Returns

The execution_resource_id of this CreateExecutionWindowDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this CreateExecutionWindowDetails. 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”}

Returns

The freeform_tags of this CreateExecutionWindowDetails.

Return type

dict(str, str)

property is_enforced_duration

Gets the is_enforced_duration of this CreateExecutionWindowDetails. Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is FALSE.

Returns

The is_enforced_duration of this CreateExecutionWindowDetails.

Return type

bool

property time_scheduled

[Required] Gets the time_scheduled of this CreateExecutionWindowDetails. The scheduled start date and time of the execution window.

Returns

The time_scheduled of this CreateExecutionWindowDetails.

Return type

datetime

property window_duration_in_mins

[Required] Gets the window_duration_in_mins of this CreateExecutionWindowDetails. Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.

Returns

The window_duration_in_mins of this CreateExecutionWindowDetails.

Return type

int