  def GetDisk(self, disk_name: str) -> 'AZComputeDisk':
    """Get a disk attached to the instance by ID.

    Args:
      disk_name (str): The ID of the disk to get.

    Returns:
      AZComputeDisk: The disk object.

    Raises:
      ResourceNotFoundError: If disk_name is not found amongst the disks
          attached to the instance.
    """
    disks = self.ListDisks()
    if disk_name not in disks:
      raise errors.ResourceNotFoundError(
          'Disk {0:s} was not found in instance {1:s}'.format(
              disk_name, self.resource_id), __name__)
    return disks[disk_name]
Get a disk attached to the instance by ID.

Args:
disk_name (str): The ID of the disk to get.

Returns:
AZComputeDisk: The disk object.

Raises:
ResourceNotFoundError: If disk_name is not found amongst the disks
attached to the instance.
libcloudforensics/providers/azure/internal/compute.py