CreateScheduleDetails¶
- class oci.data_science.models.CreateScheduleDetails(**kwargs)¶
Bases:
objectCreation details for a new schedule.
Methods:
__init__(**kwargs)Initializes a new CreateScheduleDetails object with values from keyword arguments.
Attributes:
[Required] Gets the action of this CreateScheduleDetails.
[Required] Gets the compartment_id of this CreateScheduleDetails.
Gets the defined_tags of this CreateScheduleDetails.
Gets the description of this CreateScheduleDetails.
[Required] Gets the display_name of this CreateScheduleDetails.
Gets the freeform_tags of this CreateScheduleDetails.
Gets the log_details of this CreateScheduleDetails.
[Required] Gets the project_id of this CreateScheduleDetails.
[Required] Gets the trigger of this CreateScheduleDetails.
- __init__(**kwargs)¶
Initializes a new CreateScheduleDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
display_name (str) – The value to assign to the display_name property of this CreateScheduleDetails.
description (str) – The value to assign to the description property of this CreateScheduleDetails.
project_id (str) – The value to assign to the project_id property of this CreateScheduleDetails.
compartment_id (str) – The value to assign to the compartment_id property of this CreateScheduleDetails.
trigger (oci.data_science.models.ScheduleTrigger) – The value to assign to the trigger property of this CreateScheduleDetails.
action (oci.data_science.models.ScheduleAction) – The value to assign to the action property of this CreateScheduleDetails.
log_details (oci.data_science.models.ScheduleLogDetails) – The value to assign to the log_details property of this CreateScheduleDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateScheduleDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateScheduleDetails.
- property action¶
[Required] Gets the action of this CreateScheduleDetails.
- Returns
The action of this CreateScheduleDetails.
- Return type
- property compartment_id¶
[Required] Gets the compartment_id of this CreateScheduleDetails. The OCID of the compartment that contains the schedule.
- Returns
The compartment_id of this CreateScheduleDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateScheduleDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Returns
The defined_tags of this CreateScheduleDetails.
- Return type
dict(str, dict(str, object))
- property description¶
Gets the description of this CreateScheduleDetails. A short description of the schedule.
- Returns
The description of this CreateScheduleDetails.
- Return type
str
- property display_name¶
[Required] Gets the display_name of this CreateScheduleDetails. A user-friendly name. Avoid entering confidential information.
- Returns
The display_name of this CreateScheduleDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateScheduleDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {“Department”: “Finance”}
- Returns
The freeform_tags of this CreateScheduleDetails.
- Return type
dict(str, str)
- property log_details¶
Gets the log_details of this CreateScheduleDetails.
- Returns
The log_details of this CreateScheduleDetails.
- Return type
- property project_id¶
[Required] Gets the project_id of this CreateScheduleDetails. The OCID of the project to associate the schedule with.
- Returns
The project_id of this CreateScheduleDetails.
- Return type
str
- property trigger¶
[Required] Gets the trigger of this CreateScheduleDetails.
- Returns
The trigger of this CreateScheduleDetails.
- Return type