ServiceProviderDeviceManagementEventGetListRequest22
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 ServiceProviderDeviceManagementEventGetListResponse22 or an ErrorResponse.
Attributes:
service_provider_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
65496 65497 65498 65499 65500 65501 65502 65503 65504 65505 65506 65507 65508 65509 65510 65511 65512 65513 65514 65515 65516 65517 65518 65519 65520 65521 65522 65523 65524 65525 65526 65527 65528 65529 65530 65531 65532 65533 65534 65535 65536 65537 65538 65539 65540 65541 65542 65543 65544 65545 65546 65547 65548 65549 65550 65551 65552 65553 65554 65555 65556 65557 65558 65559 65560 65561 65562 65563 65564 65565 65566 65567 65568 65569 65570 65571 65572 65573 65574 65575 65576 65577 65578 65579 65580 65581 65582 65583 65584 65585 65586 65587 65588 65589 65590 65591 65592 65593 65594 65595 65596 65597 65598 65599 65600 65601 65602 65603 | |
Responses
Bases: OCIDataResponse
Response to ServiceProviderDeviceManagementEventGetListRequest22. 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
133356 133357 133358 133359 133360 133361 133362 133363 133364 133365 133366 133367 133368 133369 133370 133371 133372 133373 133374 133375 133376 133377 133378 133379 133380 133381 133382 133383 133384 133385 133386 133387 133388 133389 133390 133391 133392 133393 133394 133395 133396 133397 133398 133399 133400 133401 133402 133403 133404 133405 133406 133407 133408 133409 133410 133411 | |
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import ServiceProviderDeviceManagementEventGetListRequest22
client = Client()
command = ServiceProviderDeviceManagementEventGetListRequest22(
service_provider_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("ServiceProviderDeviceManagementEventGetListRequest22",
service_provider_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)