public Observable<Page<IotHubSkuDescriptionInner>> getValidSkusAsync(final String resourceGroupName, final String resourceName) {
        return getValidSkusWithServiceResponseAsync(resourceGroupName, resourceName)
            .map(new Func1<ServiceResponse<Page<IotHubSkuDescriptionInner>>, Page<IotHubSkuDescriptionInner>>() {
                @Override
                public Page<IotHubSkuDescriptionInner> call(ServiceResponse<Page<IotHubSkuDescriptionInner>> response) {
                    return response.body();
                }
            });
    }
public Observable < Page < IotHubSkuDescriptionInner > > getValidSkusAsync ( final String resourceGroupName , final String resourceName ) { return getValidSkusWithServiceResponseAsync ( resourceGroupName , resourceName ) . map ( new Func1 < ServiceResponse < Page < IotHubSkuDescriptionInner > > , Page < IotHubSkuDescriptionInner > > ( ) { @ Override public Page < IotHubSkuDescriptionInner > call ( ServiceResponse < Page < IotHubSkuDescriptionInner > > response ) { return response . body ( ) ; } } ) ; }
Get the list of valid SKUs for an IoT hub.
Get the list of valid SKUs for an IoT hub.

@param resourceGroupName The name of the resource group that contains the IoT hub.
@param resourceName The name of the IoT hub.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the PagedList&lt;IotHubSkuDescriptionInner&gt; object