CreateMaintenanceWindowDetails¶
- class oci.stack_monitoring.models.CreateMaintenanceWindowDetails(**kwargs)¶
Bases:
objectInfomation to create a new Maintenance Window.
Methods:
__init__(**kwargs)Initializes a new CreateMaintenanceWindowDetails object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this CreateMaintenanceWindowDetails.
Gets the defined_tags of this CreateMaintenanceWindowDetails.
Gets the description of this CreateMaintenanceWindowDetails.
Gets the freeform_tags of this CreateMaintenanceWindowDetails.
[Required] Gets the name of this CreateMaintenanceWindowDetails.
[Required] Gets the resources of this CreateMaintenanceWindowDetails.
[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.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateMaintenanceWindowDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateMaintenanceWindowDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this CreateMaintenanceWindowDetails. Compartment Identifier OCID.
- Returns
The compartment_id of this CreateMaintenanceWindowDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateMaintenanceWindowDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns
The defined_tags of this CreateMaintenanceWindowDetails.
- Return type
dict(str, dict(str, object))
- property description¶
Gets the description of this CreateMaintenanceWindowDetails. Maintenance Window description.
- Returns
The description of this CreateMaintenanceWindowDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateMaintenanceWindowDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Returns
The freeform_tags of this CreateMaintenanceWindowDetails.
- Return type
dict(str, str)
- property name¶
[Required] Gets the name of this CreateMaintenanceWindowDetails. Maintenance Window name.
- Returns
The name of this CreateMaintenanceWindowDetails.
- Return type
str
- property 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]
- property schedule¶
[Required] Gets the schedule of this CreateMaintenanceWindowDetails.
- Returns
The schedule of this CreateMaintenanceWindowDetails.
- Return type