SchedulingPlan

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

Bases: object

Details of a Scheduling Plan.

Attributes

LIFECYCLE_STATE_AVAILABLE A constant which can be used with the lifecycle_state property of a SchedulingPlan.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a SchedulingPlan.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a SchedulingPlan.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a SchedulingPlan.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a SchedulingPlan.
LIFECYCLE_STATE_NEEDS_ATTENTION A constant which can be used with the lifecycle_state property of a SchedulingPlan.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a SchedulingPlan.
PLAN_INTENT_EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE A constant which can be used with the plan_intent property of a SchedulingPlan.
SERVICE_TYPE_EXACC A constant which can be used with the service_type property of a SchedulingPlan.
SERVICE_TYPE_EXACS A constant which can be used with the service_type property of a SchedulingPlan.
SERVICE_TYPE_FPPPCS A constant which can be used with the service_type property of a SchedulingPlan.
compartment_id [Required] Gets the compartment_id of this SchedulingPlan.
defined_tags Gets the defined_tags of this SchedulingPlan.
display_name Gets the display_name of this SchedulingPlan.
estimated_time_in_mins Gets the estimated_time_in_mins of this SchedulingPlan.
freeform_tags Gets the freeform_tags of this SchedulingPlan.
id [Required] Gets the id of this SchedulingPlan.
is_using_recommended_scheduled_actions Gets the is_using_recommended_scheduled_actions of this SchedulingPlan.
lifecycle_details Gets the lifecycle_details of this SchedulingPlan.
lifecycle_state [Required] Gets the lifecycle_state of this SchedulingPlan.
plan_intent Gets the plan_intent of this SchedulingPlan.
resource_id [Required] Gets the resource_id of this SchedulingPlan.
scheduling_policy_id [Required] Gets the scheduling_policy_id of this SchedulingPlan.
service_type [Required] Gets the service_type of this SchedulingPlan.
system_tags Gets the system_tags of this SchedulingPlan.
time_created [Required] Gets the time_created of this SchedulingPlan.
time_updated Gets the time_updated of this SchedulingPlan.

Methods

__init__(**kwargs) Initializes a new SchedulingPlan object with values from keyword arguments.
LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE'

A constant which can be used with the lifecycle_state property of a SchedulingPlan. This constant has a value of “AVAILABLE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a SchedulingPlan. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a SchedulingPlan. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a SchedulingPlan. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a SchedulingPlan. This constant has a value of “FAILED”

LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'

A constant which can be used with the lifecycle_state property of a SchedulingPlan. This constant has a value of “NEEDS_ATTENTION”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a SchedulingPlan. This constant has a value of “UPDATING”

PLAN_INTENT_EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE = 'EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE'

A constant which can be used with the plan_intent property of a SchedulingPlan. This constant has a value of “EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE”

SERVICE_TYPE_EXACC = 'EXACC'

A constant which can be used with the service_type property of a SchedulingPlan. This constant has a value of “EXACC”

SERVICE_TYPE_EXACS = 'EXACS'

A constant which can be used with the service_type property of a SchedulingPlan. This constant has a value of “EXACS”

SERVICE_TYPE_FPPPCS = 'FPPPCS'

A constant which can be used with the service_type property of a SchedulingPlan. This constant has a value of “FPPPCS”

__init__(**kwargs)

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

Parameters:
  • id (str) – The value to assign to the id property of this SchedulingPlan.
  • compartment_id (str) – The value to assign to the compartment_id property of this SchedulingPlan.
  • scheduling_policy_id (str) – The value to assign to the scheduling_policy_id property of this SchedulingPlan.
  • resource_id (str) – The value to assign to the resource_id property of this SchedulingPlan.
  • display_name (str) – The value to assign to the display_name property of this SchedulingPlan.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this SchedulingPlan. Allowed values for this property are: “CREATING”, “NEEDS_ATTENTION”, “AVAILABLE”, “UPDATING”, “FAILED”, “DELETING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this SchedulingPlan.
  • is_using_recommended_scheduled_actions (bool) – The value to assign to the is_using_recommended_scheduled_actions property of this SchedulingPlan.
  • plan_intent (str) – The value to assign to the plan_intent property of this SchedulingPlan. Allowed values for this property are: “EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • estimated_time_in_mins (int) – The value to assign to the estimated_time_in_mins property of this SchedulingPlan.
  • service_type (str) – The value to assign to the service_type property of this SchedulingPlan. Allowed values for this property are: “EXACC”, “EXACS”, “FPPPCS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_created (datetime) – The value to assign to the time_created property of this SchedulingPlan.
  • time_updated (datetime) – The value to assign to the time_updated property of this SchedulingPlan.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this SchedulingPlan.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this SchedulingPlan.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this SchedulingPlan.
compartment_id

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

Returns:The compartment_id of this SchedulingPlan.
Return type:str
defined_tags

Gets the defined_tags of this SchedulingPlan. 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 SchedulingPlan.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this SchedulingPlan. The display name of the Scheduling Plan.

Returns:The display_name of this SchedulingPlan.
Return type:str
estimated_time_in_mins

Gets the estimated_time_in_mins of this SchedulingPlan. The estimated time for the Scheduling Plan.

Returns:The estimated_time_in_mins of this SchedulingPlan.
Return type:int
freeform_tags

Gets the freeform_tags of this SchedulingPlan. 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 SchedulingPlan.
Return type:dict(str, str)
id

[Required] Gets the id of this SchedulingPlan. The OCID of the Scheduling Plan.

Returns:The id of this SchedulingPlan.
Return type:str

Gets the is_using_recommended_scheduled_actions of this SchedulingPlan. If true, recommended scheduled actions will be generated for the scheduling plan.

Returns:The is_using_recommended_scheduled_actions of this SchedulingPlan.
Return type:bool
lifecycle_details

Gets the lifecycle_details of this SchedulingPlan. Additional information about the current lifecycle state.

Returns:The lifecycle_details of this SchedulingPlan.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this SchedulingPlan. The current state of the Scheduling Plan. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.

Allowed values for this property are: “CREATING”, “NEEDS_ATTENTION”, “AVAILABLE”, “UPDATING”, “FAILED”, “DELETING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this SchedulingPlan.
Return type:str
plan_intent

Gets the plan_intent of this SchedulingPlan. The current intent the Scheduling Plan. Valid states is EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE.

Allowed values for this property are: “EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The plan_intent of this SchedulingPlan.
Return type:str
resource_id

[Required] Gets the resource_id of this SchedulingPlan. The OCID of the resource.

Returns:The resource_id of this SchedulingPlan.
Return type:str
scheduling_policy_id

[Required] Gets the scheduling_policy_id of this SchedulingPlan. The OCID of the Scheduling Policy.

Returns:The scheduling_policy_id of this SchedulingPlan.
Return type:str
service_type

[Required] Gets the service_type of this SchedulingPlan. The service type of the Scheduling Plan.

Allowed values for this property are: “EXACC”, “EXACS”, “FPPPCS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The service_type of this SchedulingPlan.
Return type:str
system_tags

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

Returns:The system_tags of this SchedulingPlan.
Return type:dict(str, dict(str, object))
time_created

[Required] Gets the time_created of this SchedulingPlan. The date and time the Scheduling Plan Resource was created.

Returns:The time_created of this SchedulingPlan.
Return type:datetime
time_updated

Gets the time_updated of this SchedulingPlan. The date and time the Scheduling Plan Resource was updated.

Returns:The time_updated of this SchedulingPlan.
Return type:datetime