CreateMaintenanceWindowDetails¶
-
class
oci.stack_monitoring.models.
CreateMaintenanceWindowDetails
(**kwargs)¶ Bases:
object
Infomation to create a new Maintenance Window.
Methods
__init__
(**kwargs)Initializes a new CreateMaintenanceWindowDetails object with values from keyword arguments. Attributes
compartment_id
[Required] Gets the compartment_id of this CreateMaintenanceWindowDetails. description
Gets the description of this CreateMaintenanceWindowDetails. name
[Required] Gets the name of this CreateMaintenanceWindowDetails. resources
[Required] Gets the resources of this CreateMaintenanceWindowDetails. schedule
[Required] Gets the schedule of this CreateMaintenanceWindowDetails. -
__init__
(**kwargs)¶ Initializes a new CreateMaintenanceWindowDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - name (str) – The value to assign to the name property of this CreateMaintenanceWindowDetails.
- description (str) – The value to assign to the description property of this CreateMaintenanceWindowDetails.
- compartment_id (str) – The value to assign to the compartment_id property of this CreateMaintenanceWindowDetails.
- resources (list[oci.stack_monitoring.models.CreateMaintenanceWindowResourceDetails]) – The value to assign to the resources property of this CreateMaintenanceWindowDetails.
- schedule (oci.stack_monitoring.models.MaintenanceWindowSchedule) – The value to assign to the schedule property of this CreateMaintenanceWindowDetails.
-
compartment_id
¶ [Required] Gets the compartment_id of this CreateMaintenanceWindowDetails. Compartment Identifier OCID.
Returns: The compartment_id of this CreateMaintenanceWindowDetails. Return type: str
-
description
¶ Gets the description of this CreateMaintenanceWindowDetails. Maintenance Window description.
Returns: The description of this CreateMaintenanceWindowDetails. Return type: str
-
name
¶ [Required] Gets the name of this CreateMaintenanceWindowDetails. Maintenance Window name.
Returns: The name of this CreateMaintenanceWindowDetails. Return type: str
-
resources
¶ [Required] Gets the resources of this CreateMaintenanceWindowDetails. List of resource Ids which are part of the Maintenance Window
Returns: The resources of this CreateMaintenanceWindowDetails. Return type: list[oci.stack_monitoring.models.CreateMaintenanceWindowResourceDetails]
-
schedule
¶ [Required] Gets the schedule of this CreateMaintenanceWindowDetails.
Returns: The schedule of this CreateMaintenanceWindowDetails. Return type: oci.stack_monitoring.models.MaintenanceWindowSchedule
-