public Observable<RedisResourceInner> createAsync(String resourceGroupName, String name, RedisCreateParameters parameters) {
        return createWithServiceResponseAsync(resourceGroupName, name, parameters).map(new Func1<ServiceResponse<RedisResourceInner>, RedisResourceInner>() {
            @Override
            public RedisResourceInner call(ServiceResponse<RedisResourceInner> response) {
                return response.body();
            }
        });
    }
public Observable < RedisResourceInner > createAsync ( String resourceGroupName , String name , RedisCreateParameters parameters ) { return createWithServiceResponseAsync ( resourceGroupName , name , parameters ) . map ( new Func1 < ServiceResponse < RedisResourceInner > , RedisResourceInner > ( ) { @ Override public RedisResourceInner call ( ServiceResponse < RedisResourceInner > response ) { return response . body ( ) ; } } ) ; }
Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.

@param resourceGroupName The name of the resource group.
@param name The name of the Redis cache.
@param parameters Parameters supplied to the Create Redis operation.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable for the request