Skip to content

TreeDeviceInfo

Bases: OCIType

Information related to a tree device. A tree device is a device associated with a device type that has the option supportLinks set to "Support Links from Devices".. Many leaf devices can link to it. When a tree device is created, it is assigned a system-wide unique linkId.

Attributes:

tree_device_key (AccessDeviceKey):

link_id (str):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class TreeDeviceInfo(OCIType):
    """Information related to a tree device.
        A tree device is a device associated with a device type that has the option
        supportLinks set to \"Support Links from Devices\"..  Many leaf devices can link to it.
        When a tree device is created, it is assigned a system-wide unique linkId.

    Attributes:

        tree_device_key (AccessDeviceKey):

        link_id (str):

    """

    tree_device_key: AccessDeviceKey = field(metadata={"alias": "treeDeviceKey"})

    link_id: str = field(metadata={"alias": "linkId"})