AvailabilityHistorySummary

class oci.management_agent.models.AvailabilityHistorySummary(**kwargs)

Bases: object

Availability history of Management Agent.

Attributes

AVAILABILITY_STATUS_ACTIVE A constant which can be used with the availability_status property of a AvailabilityHistorySummary.
AVAILABILITY_STATUS_NOT_AVAILABLE A constant which can be used with the availability_status property of a AvailabilityHistorySummary.
AVAILABILITY_STATUS_SILENT A constant which can be used with the availability_status property of a AvailabilityHistorySummary.
availability_status [Required] Gets the availability_status of this AvailabilityHistorySummary.
management_agent_id [Required] Gets the management_agent_id of this AvailabilityHistorySummary.
time_availability_status_ended Gets the time_availability_status_ended of this AvailabilityHistorySummary.
time_availability_status_started Gets the time_availability_status_started of this AvailabilityHistorySummary.

Methods

__init__(**kwargs) Initializes a new AvailabilityHistorySummary object with values from keyword arguments.
AVAILABILITY_STATUS_ACTIVE = 'ACTIVE'

A constant which can be used with the availability_status property of a AvailabilityHistorySummary. This constant has a value of “ACTIVE”

AVAILABILITY_STATUS_NOT_AVAILABLE = 'NOT_AVAILABLE'

A constant which can be used with the availability_status property of a AvailabilityHistorySummary. This constant has a value of “NOT_AVAILABLE”

AVAILABILITY_STATUS_SILENT = 'SILENT'

A constant which can be used with the availability_status property of a AvailabilityHistorySummary. This constant has a value of “SILENT”

__init__(**kwargs)

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

Parameters:
  • management_agent_id (str) – The value to assign to the management_agent_id property of this AvailabilityHistorySummary.
  • availability_status (str) – The value to assign to the availability_status property of this AvailabilityHistorySummary. Allowed values for this property are: “ACTIVE”, “SILENT”, “NOT_AVAILABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_availability_status_started (datetime) – The value to assign to the time_availability_status_started property of this AvailabilityHistorySummary.
  • time_availability_status_ended (datetime) – The value to assign to the time_availability_status_ended property of this AvailabilityHistorySummary.
availability_status

[Required] Gets the availability_status of this AvailabilityHistorySummary. The availability status of managementAgent

Allowed values for this property are: “ACTIVE”, “SILENT”, “NOT_AVAILABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The availability_status of this AvailabilityHistorySummary.
Return type:str
management_agent_id

[Required] Gets the management_agent_id of this AvailabilityHistorySummary. agent identifier

Returns:The management_agent_id of this AvailabilityHistorySummary.
Return type:str
time_availability_status_ended

Gets the time_availability_status_ended of this AvailabilityHistorySummary. The time till which the Management Agent was known to be in the availability status. An RFC3339 formatted datetime string

Returns:The time_availability_status_ended of this AvailabilityHistorySummary.
Return type:datetime
time_availability_status_started

Gets the time_availability_status_started of this AvailabilityHistorySummary. The time at which the Management Agent moved to the availability status. An RFC3339 formatted datetime string

Returns:The time_availability_status_started of this AvailabilityHistorySummary.
Return type:datetime