ManagementStationEventData¶
-
class
oci.os_management_hub.models.ManagementStationEventData(**kwargs)¶ Bases:
objectProvides additional information for a management station event.
Attributes
HEALTH_STATE_HEALTHYA constant which can be used with the health_state property of a ManagementStationEventData. HEALTH_STATE_UNAVAILABLEA constant which can be used with the health_state property of a ManagementStationEventData. HEALTH_STATE_UNHEALTHYA constant which can be used with the health_state property of a ManagementStationEventData. OPERATION_TYPE_SET_MANAGEMENT_STATION_CONFIGA constant which can be used with the operation_type property of a ManagementStationEventData. OPERATION_TYPE_SET_MANAGEMENT_STATION_HEALTH_STATEA constant which can be used with the operation_type property of a ManagementStationEventData. OPERATION_TYPE_SYNC_MANAGEMENT_STATION_MIRRORA constant which can be used with the operation_type property of a ManagementStationEventData. OPERATION_TYPE_UPDATE_MANAGEMENT_STATION_SOFTWAREA constant which can be used with the operation_type property of a ManagementStationEventData. STATUS_FAILEDA constant which can be used with the status property of a ManagementStationEventData. STATUS_SUCCEEDEDA constant which can be used with the status property of a ManagementStationEventData. additional_detailsGets the additional_details of this ManagementStationEventData. health_stateGets the health_state of this ManagementStationEventData. operation_type[Required] Gets the operation_type of this ManagementStationEventData. status[Required] Gets the status of this ManagementStationEventData. Methods
__init__(**kwargs)Initializes a new ManagementStationEventData object with values from keyword arguments. -
HEALTH_STATE_HEALTHY= 'HEALTHY'¶ A constant which can be used with the health_state property of a ManagementStationEventData. This constant has a value of “HEALTHY”
-
HEALTH_STATE_UNAVAILABLE= 'UNAVAILABLE'¶ A constant which can be used with the health_state property of a ManagementStationEventData. This constant has a value of “UNAVAILABLE”
-
HEALTH_STATE_UNHEALTHY= 'UNHEALTHY'¶ A constant which can be used with the health_state property of a ManagementStationEventData. This constant has a value of “UNHEALTHY”
-
OPERATION_TYPE_SET_MANAGEMENT_STATION_CONFIG= 'SET_MANAGEMENT_STATION_CONFIG'¶ A constant which can be used with the operation_type property of a ManagementStationEventData. This constant has a value of “SET_MANAGEMENT_STATION_CONFIG”
-
OPERATION_TYPE_SET_MANAGEMENT_STATION_HEALTH_STATE= 'SET_MANAGEMENT_STATION_HEALTH_STATE'¶ A constant which can be used with the operation_type property of a ManagementStationEventData. This constant has a value of “SET_MANAGEMENT_STATION_HEALTH_STATE”
-
OPERATION_TYPE_SYNC_MANAGEMENT_STATION_MIRROR= 'SYNC_MANAGEMENT_STATION_MIRROR'¶ A constant which can be used with the operation_type property of a ManagementStationEventData. This constant has a value of “SYNC_MANAGEMENT_STATION_MIRROR”
-
OPERATION_TYPE_UPDATE_MANAGEMENT_STATION_SOFTWARE= 'UPDATE_MANAGEMENT_STATION_SOFTWARE'¶ A constant which can be used with the operation_type property of a ManagementStationEventData. This constant has a value of “UPDATE_MANAGEMENT_STATION_SOFTWARE”
-
STATUS_FAILED= 'FAILED'¶ A constant which can be used with the status property of a ManagementStationEventData. This constant has a value of “FAILED”
-
STATUS_SUCCEEDED= 'SUCCEEDED'¶ A constant which can be used with the status property of a ManagementStationEventData. This constant has a value of “SUCCEEDED”
-
__init__(**kwargs)¶ Initializes a new ManagementStationEventData object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - operation_type (str) – The value to assign to the operation_type property of this ManagementStationEventData. Allowed values for this property are: “SET_MANAGEMENT_STATION_CONFIG”, “SYNC_MANAGEMENT_STATION_MIRROR”, “UPDATE_MANAGEMENT_STATION_SOFTWARE”, “SET_MANAGEMENT_STATION_HEALTH_STATE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- health_state (str) – The value to assign to the health_state property of this ManagementStationEventData. Allowed values for this property are: “HEALTHY”, “UNHEALTHY”, “UNAVAILABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- status (str) – The value to assign to the status property of this ManagementStationEventData. Allowed values for this property are: “SUCCEEDED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- additional_details (oci.os_management_hub.models.WorkRequestEventDataAdditionalDetails) – The value to assign to the additional_details property of this ManagementStationEventData.
-
additional_details¶ Gets the additional_details of this ManagementStationEventData.
Returns: The additional_details of this ManagementStationEventData. Return type: oci.os_management_hub.models.WorkRequestEventDataAdditionalDetails
-
health_state¶ Gets the health_state of this ManagementStationEventData. Health state of the management station
Allowed values for this property are: “HEALTHY”, “UNHEALTHY”, “UNAVAILABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The health_state of this ManagementStationEventData. Return type: str
-
operation_type¶ [Required] Gets the operation_type of this ManagementStationEventData. Type of management station operation.
Allowed values for this property are: “SET_MANAGEMENT_STATION_CONFIG”, “SYNC_MANAGEMENT_STATION_MIRROR”, “UPDATE_MANAGEMENT_STATION_SOFTWARE”, “SET_MANAGEMENT_STATION_HEALTH_STATE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The operation_type of this ManagementStationEventData. Return type: str
-
status¶ [Required] Gets the status of this ManagementStationEventData. Status of the management station operation.
Allowed values for this property are: “SUCCEEDED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The status of this ManagementStationEventData. Return type: str
-