GroupDeviceManagementEventGetListRequest22
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 GroupDeviceManagementEventGetListResponse22 or an ErrorResponse.
Attributes:
service_provider_id (str):
group_id (str):
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_fast/commands/commands.py
44568 44569 44570 44571 44572 44573 44574 44575 44576 44577 44578 44579 44580 44581 44582 44583 44584 44585 44586 44587 44588 44589 44590 44591 44592 44593 44594 44595 44596 44597 44598 44599 44600 44601 44602 44603 44604 44605 44606 44607 44608 44609 44610 44611 44612 44613 44614 44615 44616 44617 44618 44619 44620 44621 44622 44623 44624 44625 44626 44627 44628 44629 44630 44631 44632 44633 44634 44635 44636 44637 44638 44639 44640 44641 44642 44643 44644 44645 44646 44647 44648 44649 44650 44651 44652 44653 44654 44655 44656 44657 44658 44659 44660 44661 44662 44663 44664 44665 44666 44667 44668 44669 44670 44671 44672 44673 44674 44675 44676 44677 44678 44679 | |
Responses
Bases: OCIDataResponse
Response to GroupDeviceManagementEventGetListRequest22. 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_fast/commands/commands.py
124943 124944 124945 124946 124947 124948 124949 124950 124951 124952 124953 124954 124955 124956 124957 124958 124959 124960 124961 124962 124963 124964 124965 124966 124967 124968 124969 124970 124971 124972 124973 124974 124975 124976 124977 124978 124979 124980 124981 124982 124983 124984 124985 124986 124987 124988 124989 124990 124991 124992 124993 124994 124995 124996 124997 124998 | |
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import GroupDeviceManagementEventGetListRequest22
client = Client()
command = GroupDeviceManagementEventGetListRequest22(
service_provider_id=...,
group_id=...,
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_fast.client import Client
client = Client()
response = client.raw_command("GroupDeviceManagementEventGetListRequest22",
service_provider_id=...,
group_id=...,
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)