CreateSchedulingPolicyDetails¶
-
class
oci.database.models.CreateSchedulingPolicyDetails(**kwargs)¶ Bases:
objectRequest to create Scheduling Policy resource with Maintenance windows per cadence.
Attributes
CADENCE_HALFYEARLYA constant which can be used with the cadence property of a CreateSchedulingPolicyDetails. CADENCE_MONTHLYA constant which can be used with the cadence property of a CreateSchedulingPolicyDetails. CADENCE_QUARTERLYA constant which can be used with the cadence property of a CreateSchedulingPolicyDetails. cadence[Required] Gets the cadence of this CreateSchedulingPolicyDetails. cadence_start_monthGets the cadence_start_month of this CreateSchedulingPolicyDetails. compartment_id[Required] Gets the compartment_id of this CreateSchedulingPolicyDetails. defined_tagsGets the defined_tags of this CreateSchedulingPolicyDetails. display_name[Required] Gets the display_name of this CreateSchedulingPolicyDetails. freeform_tagsGets the freeform_tags of this CreateSchedulingPolicyDetails. Methods
__init__(**kwargs)Initializes a new CreateSchedulingPolicyDetails object with values from keyword arguments. -
CADENCE_HALFYEARLY= 'HALFYEARLY'¶ A constant which can be used with the cadence property of a CreateSchedulingPolicyDetails. This constant has a value of “HALFYEARLY”
-
CADENCE_MONTHLY= 'MONTHLY'¶ A constant which can be used with the cadence property of a CreateSchedulingPolicyDetails. This constant has a value of “MONTHLY”
-
CADENCE_QUARTERLY= 'QUARTERLY'¶ A constant which can be used with the cadence property of a CreateSchedulingPolicyDetails. This constant has a value of “QUARTERLY”
-
__init__(**kwargs)¶ Initializes a new CreateSchedulingPolicyDetails 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 CreateSchedulingPolicyDetails.
- display_name (str) – The value to assign to the display_name property of this CreateSchedulingPolicyDetails.
- cadence (str) – The value to assign to the cadence property of this CreateSchedulingPolicyDetails. Allowed values for this property are: “HALFYEARLY”, “QUARTERLY”, “MONTHLY”
- cadence_start_month (oci.database.models.Month) – The value to assign to the cadence_start_month property of this CreateSchedulingPolicyDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateSchedulingPolicyDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateSchedulingPolicyDetails.
-
cadence¶ [Required] Gets the cadence of this CreateSchedulingPolicyDetails. The cadence period.
Allowed values for this property are: “HALFYEARLY”, “QUARTERLY”, “MONTHLY”
Returns: The cadence of this CreateSchedulingPolicyDetails. Return type: str
-
cadence_start_month¶ Gets the cadence_start_month of this CreateSchedulingPolicyDetails. Start of the month to be followed during the cadence period.
Returns: The cadence_start_month of this CreateSchedulingPolicyDetails. Return type: oci.database.models.Month
-
compartment_id¶ [Required] Gets the compartment_id of this CreateSchedulingPolicyDetails. The OCID of the compartment.
Returns: The compartment_id of this CreateSchedulingPolicyDetails. Return type: str
Gets the defined_tags of this CreateSchedulingPolicyDetails. 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 CreateSchedulingPolicyDetails. Return type: dict(str, dict(str, object))
-
display_name¶ [Required] Gets the display_name of this CreateSchedulingPolicyDetails. The user-friendly name for the Scheduling Policy. The name does not need to be unique.
Returns: The display_name of this CreateSchedulingPolicyDetails. Return type: str
Gets the freeform_tags of this CreateSchedulingPolicyDetails. 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 CreateSchedulingPolicyDetails. Return type: dict(str, str)
-