public Observable<SharedAccessAuthorizationRuleResourceInner> getAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String authorizationRuleName) {
        return getAuthorizationRuleWithServiceResponseAsync(resourceGroupName, namespaceName, authorizationRuleName).map(new Func1<ServiceResponse<SharedAccessAuthorizationRuleResourceInner>, SharedAccessAuthorizationRuleResourceInner>() {
            @Override
            public SharedAccessAuthorizationRuleResourceInner call(ServiceResponse<SharedAccessAuthorizationRuleResourceInner> response) {
                return response.body();
            }
        });
    }
public Observable < SharedAccessAuthorizationRuleResourceInner > getAuthorizationRuleAsync ( String resourceGroupName , String namespaceName , String authorizationRuleName ) { return getAuthorizationRuleWithServiceResponseAsync ( resourceGroupName , namespaceName , authorizationRuleName ) . map ( new Func1 < ServiceResponse < SharedAccessAuthorizationRuleResourceInner > , SharedAccessAuthorizationRuleResourceInner > ( ) { @ Override public SharedAccessAuthorizationRuleResourceInner call ( ServiceResponse < SharedAccessAuthorizationRuleResourceInner > response ) { return response . body ( ) ; } } ) ; }
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
@return the observable to the SharedAccessAuthorizationRuleResourceInner object