| description | Automatically generated file. DO NOT MODIFY |
|---|
<?php
use Microsoft\Graph\Beta\GraphServiceClient;
$graphServiceClient = new GraphServiceClient($tokenRequestContext, $scopes);
$result = $graphServiceClient->directory()->recovery()->snapshots()->bySnapshotId('snapshot-id')->recoveryPreviewJobs()->byRecoveryPreviewJobId('recoveryPreviewJob-id')->get()->wait();