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