CreateSchedulingPlanDetails

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

Bases: object

Request to create Scheduling Plan.

Attributes

SERVICE_TYPE_EXACC A constant which can be used with the service_type property of a CreateSchedulingPlanDetails.
SERVICE_TYPE_EXACS A constant which can be used with the service_type property of a CreateSchedulingPlanDetails.
SERVICE_TYPE_FPPPCS A constant which can be used with the service_type property of a CreateSchedulingPlanDetails.
compartment_id [Required] Gets the compartment_id of this CreateSchedulingPlanDetails.
defined_tags Gets the defined_tags of this CreateSchedulingPlanDetails.
freeform_tags Gets the freeform_tags of this CreateSchedulingPlanDetails.
is_using_recommended_scheduled_actions Gets the is_using_recommended_scheduled_actions of this CreateSchedulingPlanDetails.
resource_id [Required] Gets the resource_id of this CreateSchedulingPlanDetails.
scheduling_policy_id [Required] Gets the scheduling_policy_id of this CreateSchedulingPlanDetails.
service_type [Required] Gets the service_type of this CreateSchedulingPlanDetails.

Methods

__init__(**kwargs) Initializes a new CreateSchedulingPlanDetails object with values from keyword arguments.
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.
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
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))
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)

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
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
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
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