MaintenanceWindowSummary

class oci.fleet_apps_management.models.MaintenanceWindowSummary(**kwargs)

Bases: object

Summary of the MaintenanceWindow.

Methods:

__init__(**kwargs)

Initializes a new MaintenanceWindowSummary object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this MaintenanceWindowSummary.

defined_tags

[Required] Gets the defined_tags of this MaintenanceWindowSummary.

description

Gets the description of this MaintenanceWindowSummary.

display_name

[Required] Gets the display_name of this MaintenanceWindowSummary.

duration

[Required] Gets the duration of this MaintenanceWindowSummary.

freeform_tags

[Required] Gets the freeform_tags of this MaintenanceWindowSummary.

id

[Required] Gets the id of this MaintenanceWindowSummary.

is_outage

[Required] Gets the is_outage of this MaintenanceWindowSummary.

is_recurring

[Required] Gets the is_recurring of this MaintenanceWindowSummary.

lifecycle_details

Gets the lifecycle_details of this MaintenanceWindowSummary.

lifecycle_state

[Required] Gets the lifecycle_state of this MaintenanceWindowSummary.

recurrences

Gets the recurrences of this MaintenanceWindowSummary.

resource_region

Gets the resource_region of this MaintenanceWindowSummary.

system_tags

Gets the system_tags of this MaintenanceWindowSummary.

time_created

[Required] Gets the time_created of this MaintenanceWindowSummary.

time_schedule_start

Gets the time_schedule_start of this MaintenanceWindowSummary.

time_updated

Gets the time_updated of this MaintenanceWindowSummary.

__init__(**kwargs)

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

Parameters
  • id (str) – The value to assign to the id property of this MaintenanceWindowSummary.

  • compartment_id (str) – The value to assign to the compartment_id property of this MaintenanceWindowSummary.

  • resource_region (str) – The value to assign to the resource_region property of this MaintenanceWindowSummary.

  • display_name (str) – The value to assign to the display_name property of this MaintenanceWindowSummary.

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

  • time_created (datetime) – The value to assign to the time_created property of this MaintenanceWindowSummary.

  • time_updated (datetime) – The value to assign to the time_updated property of this MaintenanceWindowSummary.

  • is_outage (bool) – The value to assign to the is_outage property of this MaintenanceWindowSummary.

  • time_schedule_start (datetime) – The value to assign to the time_schedule_start property of this MaintenanceWindowSummary.

  • duration (str) – The value to assign to the duration property of this MaintenanceWindowSummary.

  • is_recurring (bool) – The value to assign to the is_recurring property of this MaintenanceWindowSummary.

  • recurrences (str) – The value to assign to the recurrences property of this MaintenanceWindowSummary.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this MaintenanceWindowSummary.

  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this MaintenanceWindowSummary.

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

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

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

property compartment_id

[Required] Gets the compartment_id of this MaintenanceWindowSummary. Compartment OCID

Returns

The compartment_id of this MaintenanceWindowSummary.

Return type

str

property defined_tags

[Required] Gets the defined_tags of this MaintenanceWindowSummary. 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 MaintenanceWindowSummary.

Return type

dict(str, dict(str, object))

property description

Gets the description of this MaintenanceWindowSummary. A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.

Returns

The description of this MaintenanceWindowSummary.

Return type

str

property display_name

[Required] Gets the display_name of this MaintenanceWindowSummary. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.

Example: My new resource

Returns

The display_name of this MaintenanceWindowSummary.

Return type

str

property duration

[Required] Gets the duration of this MaintenanceWindowSummary. Duration of the maintenance window. Specify how long the maintenance window remains open.

Returns

The duration of this MaintenanceWindowSummary.

Return type

str

property freeform_tags

[Required] Gets the freeform_tags of this MaintenanceWindowSummary. 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 MaintenanceWindowSummary.

Return type

dict(str, str)

property id

[Required] Gets the id of this MaintenanceWindowSummary. The OCID of the resource.

Returns

The id of this MaintenanceWindowSummary.

Return type

str

property is_outage

[Required] Gets the is_outage of this MaintenanceWindowSummary. Does the maintenenace window cause outage? An outage indicates whether a maintenance window can consider operations that require downtime. It means a period when the application is not accessible.

Returns

The is_outage of this MaintenanceWindowSummary.

Return type

bool

property is_recurring

[Required] Gets the is_recurring of this MaintenanceWindowSummary. Is this a recurring maintenance window?

Returns

The is_recurring of this MaintenanceWindowSummary.

Return type

bool

property lifecycle_details

Gets the lifecycle_details of this MaintenanceWindowSummary. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

Returns

The lifecycle_details of this MaintenanceWindowSummary.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this MaintenanceWindowSummary. The current state of the MaintenanceWindow.

Returns

The lifecycle_state of this MaintenanceWindowSummary.

Return type

str

property recurrences

Gets the recurrences of this MaintenanceWindowSummary. Recurrence rule specification if maintenance window recurring. Specify the frequency of running the maintenance window.

Returns

The recurrences of this MaintenanceWindowSummary.

Return type

str

property resource_region

Gets the resource_region of this MaintenanceWindowSummary. Associated region

Returns

The resource_region of this MaintenanceWindowSummary.

Return type

str

property system_tags

Gets the system_tags of this MaintenanceWindowSummary. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns

The system_tags of this MaintenanceWindowSummary.

Return type

dict(str, dict(str, object))

property time_created

[Required] Gets the time_created of this MaintenanceWindowSummary. The time this resource was created. An RFC3339 formatted datetime string.

Returns

The time_created of this MaintenanceWindowSummary.

Return type

datetime

property time_schedule_start

Gets the time_schedule_start of this MaintenanceWindowSummary. Specify the date and time of the day that the maintenance window starts.

Returns

The time_schedule_start of this MaintenanceWindowSummary.

Return type

datetime

property time_updated

Gets the time_updated of this MaintenanceWindowSummary. The time this resource was last updated. An RFC3339 formatted datetime string.

Returns

The time_updated of this MaintenanceWindowSummary.

Return type

datetime