public ServiceFuture<List<SharedAccessAuthorizationRuleResourceInner>> listAuthorizationRulesAsync(final String resourceGroupName, final String namespaceName, final ListOperationCallback<SharedAccessAuthorizationRuleResourceInner> serviceCallback) {
        return AzureServiceFuture.fromPageResponse(
            listAuthorizationRulesSinglePageAsync(resourceGroupName, namespaceName),
            new Func1<String, Observable<ServiceResponse<Page<SharedAccessAuthorizationRuleResourceInner>>>>() {
                @Override
                public Observable<ServiceResponse<Page<SharedAccessAuthorizationRuleResourceInner>>> call(String nextPageLink) {
                    return listAuthorizationRulesNextSinglePageAsync(nextPageLink);
                }
            },
            serviceCallback);
    }
public ServiceFuture < List < SharedAccessAuthorizationRuleResourceInner > > listAuthorizationRulesAsync ( final String resourceGroupName , final String namespaceName , final ListOperationCallback < SharedAccessAuthorizationRuleResourceInner > serviceCallback ) { return AzureServiceFuture . fromPageResponse ( listAuthorizationRulesSinglePageAsync ( resourceGroupName , namespaceName ) , new Func1 < String , Observable < ServiceResponse < Page < SharedAccessAuthorizationRuleResourceInner > > > > ( ) { @ Override public Observable < ServiceResponse < Page < SharedAccessAuthorizationRuleResourceInner > > > call ( String nextPageLink ) { return listAuthorizationRulesNextSinglePageAsync ( nextPageLink ) ; } } , serviceCallback ) ; }
Gets the authorization rules for a namespace.

@param resourceGroupName The name of the resource group.
@param namespaceName The namespace name
@param serviceCallback the async ServiceCallback to handle successful and failed responses.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the {@link ServiceFuture} object