SystemDeviceManagementGetAccessDeviceCountForDeviceTypeRequest
Bases: OCIRequest
Request the number of access device of a particular device type or all device types if deviceType is not specified. If countOnlyResetSupportedDevice is true, count only access devices if the device type supports reset. By default unmanaged device types are not allowed and devices are counted only if their device type supports Device Management. An error is returned if deviceType is specified but does not support device management. When allowUnmanagedDeviceType is true, unmanaged device type will be counted and a successful response is returned. The response is either SystemDeviceManagementGetAccessDeviceCountForDeviceTypeResponse or ErrorResponse.
Attributes:
device_type (Optional[str]):
count_only_reset_supported_device (Optional[bool]):
allow_unmanaged_device_type (Optional[bool]):
Source code in src/mercury_ocip/commands/commands.py
Responses
Bases: OCIDataResponse
Response to SystemDeviceManagementGetAccessDeviceCountForDeviceTypeRequest.
Attributes:
access_device_count (int):
Source code in src/mercury_ocip/commands/commands.py
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import SystemDeviceManagementGetAccessDeviceCountForDeviceTypeRequest
client = Client()
command = SystemDeviceManagementGetAccessDeviceCountForDeviceTypeRequest(
device_type=...,
count_only_reset_supported_device=...,
allow_unmanaged_device_type=...,
)
response = client.command(command)
print(response)