UpdateMaintenanceWindowDetails

class oci.stack_monitoring.models.UpdateMaintenanceWindowDetails(**kwargs)

Bases: object

Infomation to create a new Maintenance Window.

Methods:

__init__(**kwargs)

Initializes a new UpdateMaintenanceWindowDetails object with values from keyword arguments.

Attributes:

defined_tags

Gets the defined_tags of this UpdateMaintenanceWindowDetails.

description

Gets the description of this UpdateMaintenanceWindowDetails.

freeform_tags

Gets the freeform_tags of this UpdateMaintenanceWindowDetails.

resources

Gets the resources of this UpdateMaintenanceWindowDetails.

schedule

Gets the schedule of this UpdateMaintenanceWindowDetails.

__init__(**kwargs)

Initializes a new UpdateMaintenanceWindowDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • description (str) – The value to assign to the description property of this UpdateMaintenanceWindowDetails.

  • resources (list[oci.stack_monitoring.models.CreateMaintenanceWindowResourceDetails]) – The value to assign to the resources property of this UpdateMaintenanceWindowDetails.

  • schedule (oci.stack_monitoring.models.MaintenanceWindowSchedule) – The value to assign to the schedule property of this UpdateMaintenanceWindowDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateMaintenanceWindowDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateMaintenanceWindowDetails.

property defined_tags

Gets the defined_tags of this UpdateMaintenanceWindowDetails. 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 UpdateMaintenanceWindowDetails.

Return type

dict(str, dict(str, object))

property description

Gets the description of this UpdateMaintenanceWindowDetails. Maintenance Window description.

Returns

The description of this UpdateMaintenanceWindowDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this UpdateMaintenanceWindowDetails. 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 UpdateMaintenanceWindowDetails.

Return type

dict(str, str)

property resources

Gets the resources of this UpdateMaintenanceWindowDetails. List of resource Ids which are part of the Maintenance Window

Returns

The resources of this UpdateMaintenanceWindowDetails.

Return type

list[oci.stack_monitoring.models.CreateMaintenanceWindowResourceDetails]

property schedule

Gets the schedule of this UpdateMaintenanceWindowDetails.

Returns

The schedule of this UpdateMaintenanceWindowDetails.

Return type

oci.stack_monitoring.models.MaintenanceWindowSchedule