public Observable<Page<PolicySetDefinitionInner>> listAsync() {
        return listWithServiceResponseAsync()
            .map(new Func1<ServiceResponse<Page<PolicySetDefinitionInner>>, Page<PolicySetDefinitionInner>>() {
                @Override
                public Page<PolicySetDefinitionInner> call(ServiceResponse<Page<PolicySetDefinitionInner>> response) {
                    return response.body();
                }
            });
    }
public Observable < Page < PolicySetDefinitionInner > > listAsync ( ) { return listWithServiceResponseAsync ( ) . map ( new Func1 < ServiceResponse < Page < PolicySetDefinitionInner > > , Page < PolicySetDefinitionInner > > ( ) { @ Override public Page < PolicySetDefinitionInner > call ( ServiceResponse < Page < PolicySetDefinitionInner > > response ) { return response . body ( ) ; } } ) ; }
Retrieves the policy set definitions for a subscription.
This operation retrieves a list of all the policy set definitions in the given subscription.

@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the PagedList&lt;PolicySetDefinitionInner&gt; object