public virtual Response CheckExistence(CancellationToken cancellationToken = default) { using var scope = _deploymentClientDiagnostics.CreateScope("Deployment.CheckExistence"); scope.Start(); try { var response = _deploymentRestClient.CheckExistenceAtScope(Id.Parent, Id.Name, cancellationToken); return(response); } catch (Exception e) { scope.Failed(e); throw; } }