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