public async virtual Task <Response> CheckExistenceAsync(CancellationToken cancellationToken = default) { using var scope = _deploymentClientDiagnostics.CreateScope("Deployment.CheckExistence"); scope.Start(); try { var response = await _deploymentRestClient.CheckExistenceAtScopeAsync(Id.Parent, Id.Name, cancellationToken).ConfigureAwait(false); return(response); } catch (Exception e) { scope.Failed(e); throw; } }