public Observable<AutomationAccountInner> getByResourceGroupAsync(String resourceGroupName, String automationAccountName) {
        return getByResourceGroupWithServiceResponseAsync(resourceGroupName, automationAccountName).map(new Func1<ServiceResponse<AutomationAccountInner>, AutomationAccountInner>() {
            @Override
            public AutomationAccountInner call(ServiceResponse<AutomationAccountInner> response) {
                return response.body();
            }
        });
    }
public Observable < AutomationAccountInner > getByResourceGroupAsync ( String resourceGroupName , String automationAccountName ) { return getByResourceGroupWithServiceResponseAsync ( resourceGroupName , automationAccountName ) . map ( new Func1 < ServiceResponse < AutomationAccountInner > , AutomationAccountInner > ( ) { @ Override public AutomationAccountInner call ( ServiceResponse < AutomationAccountInner > response ) { return response . body ( ) ; } } ) ; }
Get information about an Automation Account.

@param resourceGroupName Name of an Azure Resource group.
@param automationAccountName The name of the automation account.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the AutomationAccountInner object