public Observable<OpenShiftManagedClusterInner> createOrUpdateAsync(String resourceGroupName, String resourceName, OpenShiftManagedClusterInner parameters) {
        return createOrUpdateWithServiceResponseAsync(resourceGroupName, resourceName, parameters).map(new Func1<ServiceResponse<OpenShiftManagedClusterInner>, OpenShiftManagedClusterInner>() {
            @Override
            public OpenShiftManagedClusterInner call(ServiceResponse<OpenShiftManagedClusterInner> response) {
                return response.body();
            }
        });
    }
public Observable < OpenShiftManagedClusterInner > createOrUpdateAsync ( String resourceGroupName , String resourceName , OpenShiftManagedClusterInner parameters ) { return createOrUpdateWithServiceResponseAsync ( resourceGroupName , resourceName , parameters ) . map ( new Func1 < ServiceResponse < OpenShiftManagedClusterInner > , OpenShiftManagedClusterInner > ( ) { @ Override public OpenShiftManagedClusterInner call ( ServiceResponse < OpenShiftManagedClusterInner > response ) { return response . body ( ) ; } } ) ; }
Creates or updates an OpenShift managed cluster.
Creates or updates a OpenShift managed cluster with the specified configuration for agents and OpenShift version.

@param resourceGroupName The name of the resource group.
@param resourceName The name of the OpenShift managed cluster resource.
@param parameters Parameters supplied to the Create or Update an OpenShift Managed Cluster operation.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable for the request