public virtual Response <WebPubSubKeys> GetKeys(CancellationToken cancellationToken = default) { using var scope = _webPubSubClientDiagnostics.CreateScope("WebPubSub.GetKeys"); scope.Start(); try { var response = _webPubSubRestClient.ListKeys(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken); return(response); } catch (Exception e) { scope.Failed(e); throw; } }