SystemDeviceManagementEventGetListRequest22
Bases: OCIRequest
Request device management's events for a specific queue. It is possible to restrict the number of rows returned using responseSizeLimit. If eventQueueType is not specified, the events from all the event queues are returned. The response is either a SystemDeviceManagementEventGetListResponse22 or an ErrorResponse.
Attributes:
event_queue_type (Optional[str]):
response_size_limit (Optional[int]):
search_criteria_exact_device_management_event_status_in_progress_or_pending (Optional[SearchCriteriaExactDeviceManagementEventStatusInProgressOrPending]):
search_criteria_exact_device_management_event_status_completed (Optional[SearchCriteriaExactDeviceManagementEventStatusCompleted]):
search_criteria_exact_device_management_event_action (Optional[SearchCriteriaExactDeviceManagementEventAction]):
search_criteria_exact_device_management_event_level (Optional[SearchCriteriaExactDeviceManagementEventLevel]):
search_criteria_exact_device_management_event_type (Optional[SearchCriteriaExactDeviceManagementEventType]):
search_criteria_device_management_event_additional_info (Optional[List[SearchCriteriaDeviceManagementEventAdditionalInfo]]):
search_criteria_device_management_event_login_id (Optional[List[SearchCriteriaDeviceManagementEventLoginId]]):
search_criteria_device_management_event_request (Optional[List[SearchCriteriaDeviceManagementEventRequest]]):
search_criteria_device_management_event_request_tracking_id (Optional[List[SearchCriteriaDeviceManagementEventRequestTrackingId]]):
Source code in src/mercury_ocip/commands/commands.py
84594 84595 84596 84597 84598 84599 84600 84601 84602 84603 84604 84605 84606 84607 84608 84609 84610 84611 84612 84613 84614 84615 84616 84617 84618 84619 84620 84621 84622 84623 84624 84625 84626 84627 84628 84629 84630 84631 84632 84633 84634 84635 84636 84637 84638 84639 84640 84641 84642 84643 84644 84645 84646 84647 84648 84649 84650 84651 84652 84653 84654 84655 84656 84657 84658 84659 84660 84661 84662 84663 84664 84665 84666 84667 84668 84669 84670 84671 84672 84673 84674 84675 84676 84677 84678 84679 84680 84681 84682 84683 84684 84685 84686 84687 84688 84689 84690 84691 84692 84693 84694 84695 84696 84697 | |
Responses
Bases: OCIDataResponse
Response to SystemDeviceManagementEventGetListRequest22. Contains a table with column headings: "Event Id", "Status", "Action", "Level", "Type", "Additional Info", "Is Local", "Completion %", "Pushed/ Same Hash/ Not Pushed", "Login Id", "Start Time", "Process Time", "Rx Time", "Total Time", "Request", "Priority", "Tracking Id", "End Time". "Event Id" is a unique identifier for the event. "Status" can be: Pending, Queued, In Progress, Process On Other Host, Stale, Completed, Canceled. "Action" can be: Delete, Download, Rebuild, Reset, Upload. "Level" can be: Device, Device Type, Device Type Group, Group, User. "Type" can be: Automatic, Manual. "Additional Info" includes the affected device type, device or group. It depends on the level of the event: Device Profile: "Device Name" "Service Provider Id" "Group Id" Device Type: "Device Type Name" Device Type Service Provider: "Service Provider Id" "Device Type Name" Service Provider: "Service Provider Id" Device Type Group: "Service Provider Id" "Group Id" "Device Type Name" Group: "Service Provider Id" "Group Id" User: "User Id" "Is Local" is set to "yes" if the event is processed on the server who received the request, "no" otherwise meaning that the event is processed on another server. "Completion %" provides an estimate of the completion of the event. A percentage is given, the current number of completed expanded event, and the total number of expanded event. "Pushed/ Same Hash/ Not Pushed" gives the total number of files that were pushed, not pushed because of same hash, and not pushed when processing the event. "LoginId" is the user or admin id who triggered the event. "Start Time" is the date when the event's processing started. The display shows the month, day, hours, minutes, and seconds (MM-dd hh:mm:ss). "Process Time" is the time taken to process the event in hours, minutes, seconds, and milliseconds (hhhh:mm:ss.SSS). "Rx Time" is the date when the event was received via OCI-P and stored in the system. The display shows the month, day, hours, minutes, and seconds (MM-dd hh:mm:ss). "Total Time" is the total time the event was in the system, from the moment it was received and stored until its processing ended, in hours, minutes, seconds, and milliseconds (hhhh:mm:ss.SSS). "Request" is the name of the OCI-P request that triggered the event. "Priority" is the priority of the event. "Tracking Id" is the tracking id of the OCI-P request that triggered the event. "End Time" is the difference, measured in milliseconds, between the event's end time and midnight, January 1, 1970 UTC
Attributes:
event_table (OCITable):
Source code in src/mercury_ocip/commands/commands.py
143404 143405 143406 143407 143408 143409 143410 143411 143412 143413 143414 143415 143416 143417 143418 143419 143420 143421 143422 143423 143424 143425 143426 143427 143428 143429 143430 143431 143432 143433 143434 143435 143436 143437 143438 143439 143440 143441 143442 143443 143444 143445 143446 143447 143448 143449 143450 143451 143452 143453 143454 143455 143456 143457 143458 143459 | |
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import SystemDeviceManagementEventGetListRequest22
client = Client()
command = SystemDeviceManagementEventGetListRequest22(
event_queue_type=...,
response_size_limit=...,
search_criteria_exact_device_management_event_status_in_progress_or_pending=...,
search_criteria_exact_device_management_event_status_completed=...,
search_criteria_exact_device_management_event_action=...,
search_criteria_exact_device_management_event_level=...,
search_criteria_exact_device_management_event_type=...,
search_criteria_device_management_event_additional_info=...,
search_criteria_device_management_event_login_id=...,
search_criteria_device_management_event_request=...,
search_criteria_device_management_event_request_tracking_id=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("SystemDeviceManagementEventGetListRequest22",
event_queue_type=...,
response_size_limit=...,
search_criteria_exact_device_management_event_status_in_progress_or_pending=...,
search_criteria_exact_device_management_event_status_completed=...,
search_criteria_exact_device_management_event_action=...,
search_criteria_exact_device_management_event_level=...,
search_criteria_exact_device_management_event_type=...,
search_criteria_device_management_event_additional_info=...,
search_criteria_device_management_event_login_id=...,
search_criteria_device_management_event_request=...,
search_criteria_device_management_event_request_tracking_id=...,
)
print(response)