public Observable<AutomationAccountInner> createOrUpdateAsync(String resourceGroupName, String automationAccountName, AutomationAccountCreateOrUpdateParameters parameters) {
        return createOrUpdateWithServiceResponseAsync(resourceGroupName, automationAccountName, parameters).map(new Func1<ServiceResponse<AutomationAccountInner>, AutomationAccountInner>() {
            @Override
            public AutomationAccountInner call(ServiceResponse<AutomationAccountInner> response) {
                return response.body();
            }
        });
    }
public Observable < AutomationAccountInner > createOrUpdateAsync ( String resourceGroupName , String automationAccountName , AutomationAccountCreateOrUpdateParameters parameters ) { return createOrUpdateWithServiceResponseAsync ( resourceGroupName , automationAccountName , parameters ) . map ( new Func1 < ServiceResponse < AutomationAccountInner > , AutomationAccountInner > ( ) { @ Override public AutomationAccountInner call ( ServiceResponse < AutomationAccountInner > response ) { return response . body ( ) ; } } ) ; }
Create or update automation account.

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