public Observable<OpenShiftManagedClusterInner> getByResourceGroupAsync(String resourceGroupName, String resourceName) {
        return getByResourceGroupWithServiceResponseAsync(resourceGroupName, resourceName).map(new Func1<ServiceResponse<OpenShiftManagedClusterInner>, OpenShiftManagedClusterInner>() {
            @Override
            public OpenShiftManagedClusterInner call(ServiceResponse<OpenShiftManagedClusterInner> response) {
                return response.body();
            }
        });
    }
public Observable < OpenShiftManagedClusterInner > getByResourceGroupAsync ( String resourceGroupName , String resourceName ) { return getByResourceGroupWithServiceResponseAsync ( resourceGroupName , resourceName ) . map ( new Func1 < ServiceResponse < OpenShiftManagedClusterInner > , OpenShiftManagedClusterInner > ( ) { @ Override public OpenShiftManagedClusterInner call ( ServiceResponse < OpenShiftManagedClusterInner > response ) { return response . body ( ) ; } } ) ; }
Gets a OpenShift managed cluster.
Gets the details of the managed OpenShift cluster with a specified resource group and name.

@param resourceGroupName The name of the resource group.
@param resourceName The name of the OpenShift managed cluster resource.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the OpenShiftManagedClusterInner object