public Observable<IotHubDescriptionInner> getByResourceGroupAsync(String resourceGroupName, String resourceName) {
        return getByResourceGroupWithServiceResponseAsync(resourceGroupName, resourceName).map(new Func1<ServiceResponse<IotHubDescriptionInner>, IotHubDescriptionInner>() {
            @Override
            public IotHubDescriptionInner call(ServiceResponse<IotHubDescriptionInner> response) {
                return response.body();
            }
        });
    }
public Observable < IotHubDescriptionInner > getByResourceGroupAsync ( String resourceGroupName , String resourceName ) { return getByResourceGroupWithServiceResponseAsync ( resourceGroupName , resourceName ) . map ( new Func1 < ServiceResponse < IotHubDescriptionInner > , IotHubDescriptionInner > ( ) { @ Override public IotHubDescriptionInner call ( ServiceResponse < IotHubDescriptionInner > response ) { return response . body ( ) ; } } ) ; }
Get the non-security related metadata of an IoT hub.
Get the non-security related metadata of 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 IotHubDescriptionInner object