code: public SharedAccessAuthorizationRuleResourceInner getAuthorizationRule(String resourceGroupName, String namespaceName, String authorizationRuleName) {
          return getAuthorizationRuleWithServiceResponseAsync(resourceGroupName, namespaceName, authorizationRuleName).toBlocking().single().body();
      }
docs: Gets an authorization rule for a namespace by name.
  
  @param resourceGroupName The name of the resource group.
  @param namespaceName The namespace name
  @param authorizationRuleName Authorization rule name.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the SharedAccessAuthorizationRuleResourceInner object if successful.