SchedulingPlanSummary¶
-
class
oci.database.models.
SchedulingPlanSummary
(**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 SchedulingPlanSummary. LIFECYCLE_STATE_CREATING
A constant which can be used with the lifecycle_state property of a SchedulingPlanSummary. LIFECYCLE_STATE_DELETED
A constant which can be used with the lifecycle_state property of a SchedulingPlanSummary. LIFECYCLE_STATE_DELETING
A constant which can be used with the lifecycle_state property of a SchedulingPlanSummary. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a SchedulingPlanSummary. LIFECYCLE_STATE_NEEDS_ATTENTION
A constant which can be used with the lifecycle_state property of a SchedulingPlanSummary. LIFECYCLE_STATE_UPDATING
A constant which can be used with the lifecycle_state property of a SchedulingPlanSummary. PLAN_INTENT_EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE
A constant which can be used with the plan_intent property of a SchedulingPlanSummary. SERVICE_TYPE_EXACC
A constant which can be used with the service_type property of a SchedulingPlanSummary. SERVICE_TYPE_EXACS
A constant which can be used with the service_type property of a SchedulingPlanSummary. SERVICE_TYPE_FPPPCS
A constant which can be used with the service_type property of a SchedulingPlanSummary. compartment_id
[Required] Gets the compartment_id of this SchedulingPlanSummary. defined_tags
Gets the defined_tags of this SchedulingPlanSummary. display_name
Gets the display_name of this SchedulingPlanSummary. estimated_time_in_mins
Gets the estimated_time_in_mins of this SchedulingPlanSummary. freeform_tags
Gets the freeform_tags of this SchedulingPlanSummary. id
[Required] Gets the id of this SchedulingPlanSummary. is_using_recommended_scheduled_actions
Gets the is_using_recommended_scheduled_actions of this SchedulingPlanSummary. lifecycle_details
Gets the lifecycle_details of this SchedulingPlanSummary. lifecycle_state
[Required] Gets the lifecycle_state of this SchedulingPlanSummary. plan_intent
Gets the plan_intent of this SchedulingPlanSummary. resource_id
[Required] Gets the resource_id of this SchedulingPlanSummary. scheduling_policy_id
[Required] Gets the scheduling_policy_id of this SchedulingPlanSummary. service_type
[Required] Gets the service_type of this SchedulingPlanSummary. system_tags
Gets the system_tags of this SchedulingPlanSummary. time_created
[Required] Gets the time_created of this SchedulingPlanSummary. time_updated
Gets the time_updated of this SchedulingPlanSummary. Methods
__init__
(**kwargs)Initializes a new SchedulingPlanSummary object with values from keyword arguments. -
LIFECYCLE_STATE_AVAILABLE
= 'AVAILABLE'¶ A constant which can be used with the lifecycle_state property of a SchedulingPlanSummary. This constant has a value of “AVAILABLE”
-
LIFECYCLE_STATE_CREATING
= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a SchedulingPlanSummary. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED
= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a SchedulingPlanSummary. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING
= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a SchedulingPlanSummary. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a SchedulingPlanSummary. 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 SchedulingPlanSummary. 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 SchedulingPlanSummary. 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 SchedulingPlanSummary. 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 SchedulingPlanSummary. This constant has a value of “EXACC”
-
SERVICE_TYPE_EXACS
= 'EXACS'¶ A constant which can be used with the service_type property of a SchedulingPlanSummary. This constant has a value of “EXACS”
-
SERVICE_TYPE_FPPPCS
= 'FPPPCS'¶ A constant which can be used with the service_type property of a SchedulingPlanSummary. This constant has a value of “FPPPCS”
-
__init__
(**kwargs)¶ Initializes a new SchedulingPlanSummary 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 SchedulingPlanSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this SchedulingPlanSummary.
- scheduling_policy_id (str) – The value to assign to the scheduling_policy_id property of this SchedulingPlanSummary.
- resource_id (str) – The value to assign to the resource_id property of this SchedulingPlanSummary.
- display_name (str) – The value to assign to the display_name property of this SchedulingPlanSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this SchedulingPlanSummary. 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 SchedulingPlanSummary.
- is_using_recommended_scheduled_actions (bool) – The value to assign to the is_using_recommended_scheduled_actions property of this SchedulingPlanSummary.
- plan_intent (str) – The value to assign to the plan_intent property of this SchedulingPlanSummary. 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 SchedulingPlanSummary.
- service_type (str) – The value to assign to the service_type property of this SchedulingPlanSummary. 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 SchedulingPlanSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this SchedulingPlanSummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this SchedulingPlanSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this SchedulingPlanSummary.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this SchedulingPlanSummary.
-
compartment_id
¶ [Required] Gets the compartment_id of this SchedulingPlanSummary. The OCID of the compartment.
Returns: The compartment_id of this SchedulingPlanSummary. Return type: str
Gets the defined_tags of this SchedulingPlanSummary. 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 SchedulingPlanSummary. Return type: dict(str, dict(str, object))
-
display_name
¶ Gets the display_name of this SchedulingPlanSummary. The display name of the Scheduling Plan.
Returns: The display_name of this SchedulingPlanSummary. Return type: str
-
estimated_time_in_mins
¶ Gets the estimated_time_in_mins of this SchedulingPlanSummary. The estimated time for the Scheduling Plan.
Returns: The estimated_time_in_mins of this SchedulingPlanSummary. Return type: int
Gets the freeform_tags of this SchedulingPlanSummary. 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 SchedulingPlanSummary. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this SchedulingPlanSummary. The OCID of the Scheduling Plan.
Returns: The id of this SchedulingPlanSummary. Return type: str
-
is_using_recommended_scheduled_actions
¶ Gets the is_using_recommended_scheduled_actions of this SchedulingPlanSummary. If true, recommended scheduled actions will be generated for the scheduling plan.
Returns: The is_using_recommended_scheduled_actions of this SchedulingPlanSummary. Return type: bool
-
lifecycle_details
¶ Gets the lifecycle_details of this SchedulingPlanSummary. Additional information about the current lifecycle state.
Returns: The lifecycle_details of this SchedulingPlanSummary. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this SchedulingPlanSummary. 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 SchedulingPlanSummary. Return type: str
-
plan_intent
¶ Gets the plan_intent of this SchedulingPlanSummary. 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 SchedulingPlanSummary. Return type: str
-
resource_id
¶ [Required] Gets the resource_id of this SchedulingPlanSummary. The OCID of the resource.
Returns: The resource_id of this SchedulingPlanSummary. Return type: str
-
scheduling_policy_id
¶ [Required] Gets the scheduling_policy_id of this SchedulingPlanSummary. The OCID of the Scheduling Policy.
Returns: The scheduling_policy_id of this SchedulingPlanSummary. Return type: str
-
service_type
¶ [Required] Gets the service_type of this SchedulingPlanSummary. 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 SchedulingPlanSummary. Return type: str
Gets the system_tags of this SchedulingPlanSummary. 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 SchedulingPlanSummary. Return type: dict(str, dict(str, object))
-
time_created
¶ [Required] Gets the time_created of this SchedulingPlanSummary. The date and time the Scheduling Plan Resource was created.
Returns: The time_created of this SchedulingPlanSummary. Return type: datetime
-
time_updated
¶ Gets the time_updated of this SchedulingPlanSummary. The date and time the Scheduling Plan Resource was updated.
Returns: The time_updated of this SchedulingPlanSummary. Return type: datetime
-