CreateSchedulingPlanDetails¶
- class oci.database.models.CreateSchedulingPlanDetails(**kwargs)¶
Bases:
objectRequest to create Scheduling Plan.
Attributes:
A constant which can be used with the plan_intent property of a CreateSchedulingPlanDetails.
A constant which can be used with the plan_intent property of a CreateSchedulingPlanDetails.
A constant which can be used with the service_type property of a CreateSchedulingPlanDetails.
A constant which can be used with the service_type property of a CreateSchedulingPlanDetails.
A constant which can be used with the service_type property of a CreateSchedulingPlanDetails.
[Required] Gets the compartment_id of this CreateSchedulingPlanDetails.
Gets the defined_tags of this CreateSchedulingPlanDetails.
Gets the freeform_tags of this CreateSchedulingPlanDetails.
Gets the is_using_recommended_scheduled_actions of this CreateSchedulingPlanDetails.
Gets the plan_intent of this CreateSchedulingPlanDetails.
[Required] Gets the resource_id of this CreateSchedulingPlanDetails.
[Required] Gets the scheduling_policy_id of this CreateSchedulingPlanDetails.
[Required] Gets the service_type of this CreateSchedulingPlanDetails.
Methods:
__init__(**kwargs)Initializes a new CreateSchedulingPlanDetails object with values from keyword arguments.
- 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 CreateSchedulingPlanDetails. This constant has a value of “EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE”
- PLAN_INTENT_EXADATA_INFRASTRUCTURE_SECURITY_UPDATE = 'EXADATA_INFRASTRUCTURE_SECURITY_UPDATE'¶
A constant which can be used with the plan_intent property of a CreateSchedulingPlanDetails. This constant has a value of “EXADATA_INFRASTRUCTURE_SECURITY_UPDATE”
- SERVICE_TYPE_EXACC = 'EXACC'¶
A constant which can be used with the service_type property of a CreateSchedulingPlanDetails. This constant has a value of “EXACC”
- SERVICE_TYPE_EXACS = 'EXACS'¶
A constant which can be used with the service_type property of a CreateSchedulingPlanDetails. This constant has a value of “EXACS”
- SERVICE_TYPE_FPPPCS = 'FPPPCS'¶
A constant which can be used with the service_type property of a CreateSchedulingPlanDetails. This constant has a value of “FPPPCS”
- __init__(**kwargs)¶
Initializes a new CreateSchedulingPlanDetails 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 CreateSchedulingPlanDetails.
scheduling_policy_id (str) – The value to assign to the scheduling_policy_id property of this CreateSchedulingPlanDetails.
resource_id (str) – The value to assign to the resource_id property of this CreateSchedulingPlanDetails.
service_type (str) – The value to assign to the service_type property of this CreateSchedulingPlanDetails. Allowed values for this property are: “EXACC”, “EXACS”, “FPPPCS”
is_using_recommended_scheduled_actions (bool) – The value to assign to the is_using_recommended_scheduled_actions property of this CreateSchedulingPlanDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateSchedulingPlanDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateSchedulingPlanDetails.
plan_intent (str) – The value to assign to the plan_intent property of this CreateSchedulingPlanDetails. Allowed values for this property are: “EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE”, “EXADATA_INFRASTRUCTURE_SECURITY_UPDATE”
- property compartment_id¶
[Required] Gets the compartment_id of this CreateSchedulingPlanDetails. The OCID of the compartment.
- Returns
The compartment_id of this CreateSchedulingPlanDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateSchedulingPlanDetails. 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 CreateSchedulingPlanDetails.
- Return type
dict(str, dict(str, object))
- property freeform_tags¶
Gets the freeform_tags of this CreateSchedulingPlanDetails. 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 CreateSchedulingPlanDetails.
- Return type
dict(str, str)
- property is_using_recommended_scheduled_actions¶
Gets the is_using_recommended_scheduled_actions of this CreateSchedulingPlanDetails. If true, recommended scheduled actions will be generated for the scheduling plan.
- Returns
The is_using_recommended_scheduled_actions of this CreateSchedulingPlanDetails.
- Return type
bool
- property plan_intent¶
Gets the plan_intent of this CreateSchedulingPlanDetails. The current intent of the Scheduling Plan. Valid states are EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE and EXADATA_INFRASTRUCTURE_SECURITY_UPDATE.
Allowed values for this property are: “EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE”, “EXADATA_INFRASTRUCTURE_SECURITY_UPDATE”
- Returns
The plan_intent of this CreateSchedulingPlanDetails.
- Return type
str
- property resource_id¶
[Required] Gets the resource_id of this CreateSchedulingPlanDetails. The OCID of the resource.
- Returns
The resource_id of this CreateSchedulingPlanDetails.
- Return type
str
- property scheduling_policy_id¶
[Required] Gets the scheduling_policy_id of this CreateSchedulingPlanDetails. The OCID of the Scheduling Policy.
- Returns
The scheduling_policy_id of this CreateSchedulingPlanDetails.
- Return type
str
- property service_type¶
[Required] Gets the service_type of this CreateSchedulingPlanDetails. The service type of the Scheduling Plan.
Allowed values for this property are: “EXACC”, “EXACS”, “FPPPCS”
- Returns
The service_type of this CreateSchedulingPlanDetails.
- Return type
str