Gets all the resource groups for a subscription.

@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the PagedList&lt;ResourceGroupInner&gt; object
774833
public Observable<Page<ResourceGroupInner>> listAsync() {
        return listWithServiceResponseAsync()
            .map(new Func1<ServiceResponse<Page<ResourceGroupInner>>, Page<ResourceGroupInner>>() {
                @Override
                public Page<ResourceGroupInner> call(ServiceResponse<Page<ResourceGroupInner>> response) {
                    return response.body();
                }
            });
    }
483241
public Observable<Page<ManagedInstanceInner>> listAsync() {
        return listWithServiceResponseAsync()
            .map(new Func1<ServiceResponse<Page<ManagedInstanceInner>>, Page<ManagedInstanceInner>>() {
                @Override
                public Page<ManagedInstanceInner> call(ServiceResponse<Page<ManagedInstanceInner>> response) {
                    return response.body();
                }
            });
    }
121613
public Observable<ServiceResponse<OperationsListResultsInner>> listWithServiceResponseAsync() {
        if (this.client.apiVersion() == null) {
            throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
        }
        return service.list(this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent())
            .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<OperationsListResultsInner>>>() {
                @Override
                public Observable<ServiceResponse<OperationsListResultsInner>> call(Response<ResponseBody> response) {
                    try {
                        ServiceResponse<OperationsListResultsInner> clientResponse = listDelegate(response);
                        return Observable.just(clientResponse);
                    } catch (Throwable t) {
                        return Observable.error(t);
                    }
                }
            });
    }
1301050
public Observable<Page<BillingMeterInner>> listAsync() {
        return listWithServiceResponseAsync()
            .map(new Func1<ServiceResponse<Page<BillingMeterInner>>, Page<BillingMeterInner>>() {
                @Override
                public Page<BillingMeterInner> call(ServiceResponse<Page<BillingMeterInner>> response) {
                    return response.body();
                }
            });
    }
300019
public Observable<Page<ApplicationSecurityGroupInner>> listAsync() {
        return listWithServiceResponseAsync()
            .map(new Func1<ServiceResponse<Page<ApplicationSecurityGroupInner>>, Page<ApplicationSecurityGroupInner>>() {
                @Override
                public Page<ApplicationSecurityGroupInner> call(ServiceResponse<Page<ApplicationSecurityGroupInner>> response) {
                    return response.body();
                }
            });
    }
18570
public Observable<Page<SignalRResourceInner>> listAsync() {
        return listWithServiceResponseAsync()
            .map(new Func1<ServiceResponse<Page<SignalRResourceInner>>, Page<SignalRResourceInner>>() {
                @Override
                public Page<SignalRResourceInner> call(ServiceResponse<Page<SignalRResourceInner>> response) {
                    return response.body();
                }
            });
    }
1297074
public Observable<Page<TopicInner>> listAsync() {
        return listWithServiceResponseAsync().map(new Func1<ServiceResponse<List<TopicInner>>, Page<TopicInner>>() {
            @Override
            public Page<TopicInner> call(ServiceResponse<List<TopicInner>> response) {
                PageImpl<TopicInner> page = new PageImpl<>();
                page.setItems(response.body());
                return page;
            }
        });
    }
1071748
public Observable<Page<RegistryInner>> listAsync() {
        return listWithServiceResponseAsync()
            .map(new Func1<ServiceResponse<Page<RegistryInner>>, Page<RegistryInner>>() {
                @Override
                public Page<RegistryInner> call(ServiceResponse<Page<RegistryInner>> response) {
                    return response.body();
                }
            });
    }
937511
public Observable<Page<NetworkWatcherInner>> listAsync() {
        return listWithServiceResponseAsync().map(new Func1<ServiceResponse<List<NetworkWatcherInner>>, Page<NetworkWatcherInner>>() {
            @Override
            public Page<NetworkWatcherInner> call(ServiceResponse<List<NetworkWatcherInner>> response) {
                PageImpl1<NetworkWatcherInner> page = new PageImpl1<>();
                page.setItems(response.body());
                return page;
            }
        });
    }
392727
public PagedList<MediaServiceInner> listByResourceGroup(String resourceGroupName) {
        PageImpl<MediaServiceInner> page = new PageImpl<>();
        page.setItems(listByResourceGroupWithServiceResponseAsync(resourceGroupName).toBlocking().single().body());
        page.setNextPageLink(null);
        return new PagedList<MediaServiceInner>(page) {
            @Override
            public Page<MediaServiceInner> nextPage(String nextPageLink) {
                return null;
            }
        };
    }
680005
public Observable<Page<RedisResourceInner>> listAsync() {
        return listWithServiceResponseAsync()
            .map(new Func1<ServiceResponse<Page<RedisResourceInner>>, Page<RedisResourceInner>>() {
                @Override
                public Page<RedisResourceInner> call(ServiceResponse<Page<RedisResourceInner>> response) {
                    return response.body();
                }
            });
    }
1037
public Observable<Page<DomainInner>> listAsync() {
        return listWithServiceResponseAsync()
            .map(new Func1<ServiceResponse<Page<DomainInner>>, Page<DomainInner>>() {
                @Override
                public Page<DomainInner> call(ServiceResponse<Page<DomainInner>> response) {
                    return response.body();
                }
            });
    }
1116348
public Observable<Page<NamespaceResourceInner>> listAsync() {
        return listWithServiceResponseAsync()
            .map(new Func1<ServiceResponse<Page<NamespaceResourceInner>>, Page<NamespaceResourceInner>>() {
                @Override
                public Page<NamespaceResourceInner> call(ServiceResponse<Page<NamespaceResourceInner>> response) {
                    return response.body();
                }
            });
    }
226502
public Observable<Page<DenyAssignmentInner>> listByResourceGroupAsync(final String resourceGroupName) {
        return listByResourceGroupWithServiceResponseAsync(resourceGroupName)
            .map(new Func1<ServiceResponse<Page<DenyAssignmentInner>>, Page<DenyAssignmentInner>>() {
                @Override
                public Page<DenyAssignmentInner> call(ServiceResponse<Page<DenyAssignmentInner>> response) {
                    return response.body();
                }
            });
    }
1326701
public Observable<Page<PolicyDefinitionInner>> listBuiltInAsync() {
        return listBuiltInWithServiceResponseAsync()
            .map(new Func1<ServiceResponse<Page<PolicyDefinitionInner>>, Page<PolicyDefinitionInner>>() {
                @Override
                public Page<PolicyDefinitionInner> call(ServiceResponse<Page<PolicyDefinitionInner>> response) {
                    return response.body();
                }
            });
    }
521199
public Observable<Page<SkuInner>> listAsync() {
        return listWithServiceResponseAsync().map(new Func1<ServiceResponse<List<SkuInner>>, Page<SkuInner>>() {
            @Override
            public Page<SkuInner> call(ServiceResponse<List<SkuInner>> response) {
                PageImpl<SkuInner> page = new PageImpl<>();
                page.setItems(response.body());
                return page;
            }
        });
    }
361551
public Observable<Page<AppInner>> listAsync() {
        return listWithServiceResponseAsync()
            .map(new Func1<ServiceResponse<Page<AppInner>>, Page<AppInner>>() {
                @Override
                public Page<AppInner> call(ServiceResponse<Page<AppInner>> response) {
                    return response.body();
                }
            });
    }