Gets the specified cluster.

@param resourceGroupName The name of the resource group.
@param clusterName The name of the cluster.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the ClusterInner object
505735
public Observable<ClusterInner> getByResourceGroupAsync(String resourceGroupName, String clusterName) {
        return getByResourceGroupWithServiceResponseAsync(resourceGroupName, clusterName).map(new Func1<ServiceResponse<ClusterInner>, ClusterInner>() {
            @Override
            public ClusterInner call(ServiceResponse<ClusterInner> response) {
                return response.body();
            }
        });
    }
761796
public Observable<OrderInner> getAsync(String deviceName, String resourceGroupName) {
        return getWithServiceResponseAsync(deviceName, resourceGroupName).map(new Func1<ServiceResponse<OrderInner>, OrderInner>() {
            @Override
            public OrderInner call(ServiceResponse<OrderInner> response) {
                return response.body();
            }
        });
    }
1347330
public PagedList<NetworkWatcherInner> listByResourceGroup(String resourceGroupName) {
        PageImpl1<NetworkWatcherInner> page = new PageImpl1<>();
        page.setItems(listByResourceGroupWithServiceResponseAsync(resourceGroupName).toBlocking().single().body());
        page.setNextPageLink(null);
        return new PagedList<NetworkWatcherInner>(page) {
            @Override
            public Page<NetworkWatcherInner> nextPage(String nextPageLink) {
                return null;
            }
        };
    }
280254
public static server_servicegroup_binding[] get(nitro_service service, String name) throws Exception{
		server_servicegroup_binding obj = new server_servicegroup_binding();
		obj.set_name(name);
		server_servicegroup_binding response[] = (server_servicegroup_binding[]) obj.get_resources(service);
		return response;
	}
744732
public Observable<WorkflowInner> getByResourceGroupAsync(String resourceGroupName, String workflowName) {
        return getByResourceGroupWithServiceResponseAsync(resourceGroupName, workflowName).map(new Func1<ServiceResponse<WorkflowInner>, WorkflowInner>() {
            @Override
            public WorkflowInner call(ServiceResponse<WorkflowInner> response) {
                return response.body();
            }
        });
    }
952043
public static lbgroup_binding get(nitro_service service, String name) throws Exception{
		lbgroup_binding obj = new lbgroup_binding();
		obj.set_name(name);
		lbgroup_binding response = (lbgroup_binding) obj.get_resource(service);
		return response;
	}
1094981
public static boolean available(String groupName) {
        return LocalUnitsManager.getGroupByName(groupName) != null ||
                (GroupDiscovery.singleton != null && GroupDiscovery.singleton.firstInstance(groupName) != null);
    }
226502
public Observable<Page<DenyAssignmentInner>> listByResourceGroupAsync(final String resourceGroupName) {
        return listByResourceGroupWithServiceResponseAsync(resourceGroupName)
            .map(new Func1<ServiceResponse<Page<DenyAssignmentInner>>, Page<DenyAssignmentInner>>() {
                @Override
                public Page<DenyAssignmentInner> call(ServiceResponse<Page<DenyAssignmentInner>> response) {
                    return response.body();
                }
            });
    }
1192509
public static clusterinstance[] get(nitro_service service) throws Exception{
		clusterinstance obj = new clusterinstance();
		clusterinstance[] response = (clusterinstance[])obj.get_resources(service);
		return response;
	}
1277014
public Observable<Page<CognitiveServicesAccountInner>> listByResourceGroupAsync(String resourceGroupName) {
        return listByResourceGroupWithServiceResponseAsync(resourceGroupName).map(new Func1<ServiceResponse<List<CognitiveServicesAccountInner>>, Page<CognitiveServicesAccountInner>>() {
            @Override
            public Page<CognitiveServicesAccountInner> call(ServiceResponse<List<CognitiveServicesAccountInner>> response) {
                PageImpl<CognitiveServicesAccountInner> page = new PageImpl<>();
                page.setItems(response.body());
                return page;
            }
        });
    }
518521
public Observable<Page<SpatialAnchorsAccountInner>> listByResourceGroupAsync(final String resourceGroupName) {
        return listByResourceGroupWithServiceResponseAsync(resourceGroupName)
            .map(new Func1<ServiceResponse<Page<SpatialAnchorsAccountInner>>, Page<SpatialAnchorsAccountInner>>() {
                @Override
                public Page<SpatialAnchorsAccountInner> call(ServiceResponse<Page<SpatialAnchorsAccountInner>> response) {
                    return response.body();
                }
            });
    }
278181
public Observable<ResourceGroupInner> getAsync(String resourceGroupName) {
        return getWithServiceResponseAsync(resourceGroupName).map(new Func1<ServiceResponse<ResourceGroupInner>, ResourceGroupInner>() {
            @Override
            public ResourceGroupInner call(ServiceResponse<ResourceGroupInner> response) {
                return response.body();
            }
        });
    }
358220
public static sslservicegroup get(nitro_service service, String servicegroupname) throws Exception{
		sslservicegroup obj = new sslservicegroup();
		obj.set_servicegroupname(servicegroupname);
		sslservicegroup response = (sslservicegroup) obj.get_resource(service);
		return response;
	}
1091860
public Observable<Page<DiskInner>> listByResourceGroupAsync(final String resourceGroupName) {
        return listByResourceGroupWithServiceResponseAsync(resourceGroupName)
            .map(new Func1<ServiceResponse<Page<DiskInner>>, Page<DiskInner>>() {
                @Override
                public Page<DiskInner> call(ServiceResponse<Page<DiskInner>> response) {
                    return response.body();
                }
            });
    }
957382
public Observable<Page<RouteFilterInner>> listByResourceGroupAsync(final String resourceGroupName) {
        return listByResourceGroupWithServiceResponseAsync(resourceGroupName)
            .map(new Func1<ServiceResponse<Page<RouteFilterInner>>, Page<RouteFilterInner>>() {
                @Override
                public Page<RouteFilterInner> call(ServiceResponse<Page<RouteFilterInner>> response) {
                    return response.body();
                }
            });
    }
228322
public Observable<Page<AvailabilitySetInner>> listByResourceGroupAsync(String resourceGroupName) {
        return listByResourceGroupWithServiceResponseAsync(resourceGroupName).map(new Func1<ServiceResponse<List<AvailabilitySetInner>>, Page<AvailabilitySetInner>>() {
            @Override
            public Page<AvailabilitySetInner> call(ServiceResponse<List<AvailabilitySetInner>> response) {
                PageImpl<AvailabilitySetInner> page = new PageImpl<>();
                page.setItems(response.body());
                return page;
            }
        });
    }
799285
public static servicegroup_servicegroupentitymonbindings_binding[] get(nitro_service service, String servicegroupname) throws Exception{
		servicegroup_servicegroupentitymonbindings_binding obj = new servicegroup_servicegroupentitymonbindings_binding();
		obj.set_servicegroupname(servicegroupname);
		servicegroup_servicegroupentitymonbindings_binding response[] = (servicegroup_servicegroupentitymonbindings_binding[]) obj.get_resources(service);
		return response;
	}