Gets a specific order by name.

@param deviceName The device name.
@param resourceGroupName The resource group name.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the OrderInner object
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();
            }
        });
    }
1369273
public static com.liferay.commerce.model.CommerceOrder fetchCommerceOrderByUuidAndGroupId(
		String uuid, long groupId) {
		return getService().fetchCommerceOrderByUuidAndGroupId(uuid, groupId);
	}
555101
public Observable<Page<RedisResourceInner>> listByResourceGroupAsync(final String resourceGroupName) {
        return listByResourceGroupWithServiceResponseAsync(resourceGroupName)
            .map(new Func1<ServiceResponse<Page<RedisResourceInner>>, Page<RedisResourceInner>>() {
                @Override
                public Page<RedisResourceInner> call(ServiceResponse<Page<RedisResourceInner>> response) {
                    return response.body();
                }
            });
    }
82946
public Observable<OperationStatusResponseInner> deleteAsync(String resourceGroupName, String vmScaleSetName) {
        return deleteWithServiceResponseAsync(resourceGroupName, vmScaleSetName).map(new Func1<ServiceResponse<OperationStatusResponseInner>, OperationStatusResponseInner>() {
            @Override
            public OperationStatusResponseInner call(ServiceResponse<OperationStatusResponseInner> response) {
                return response.body();
            }
        });
    }
1254511
public static servicegroup_stats get(nitro_service service, String servicegroupname) throws Exception{
		servicegroup_stats obj = new servicegroup_stats();
		obj.set_servicegroupname(servicegroupname);
		servicegroup_stats response = (servicegroup_stats) obj.stat_resource(service);
		return response;
	}
423260
public static aaagroup_vpnintranetapplication_binding[] get(nitro_service service, String groupname) throws Exception{
		aaagroup_vpnintranetapplication_binding obj = new aaagroup_vpnintranetapplication_binding();
		obj.set_groupname(groupname);
		aaagroup_vpnintranetapplication_binding response[] = (aaagroup_vpnintranetapplication_binding[]) obj.get_resources(service);
		return response;
	}
626607
public Observable<Void> scanForUpdatesAsync(String deviceName, String resourceGroupName) {
        return scanForUpdatesWithServiceResponseAsync(deviceName, resourceGroupName).map(new Func1<ServiceResponse<Void>, Void>() {
            @Override
            public Void call(ServiceResponse<Void> 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;
	}
642818
@Override
	public CommerceOrder getCommerceOrderByUuidAndGroupId(String uuid,
		long groupId) throws PortalException {
		return commerceOrderPersistence.findByUUID_G(uuid, groupId);
	}
865247
public static base_response rename(nitro_service client, servicegroup resource, String new_servicegroupname) throws Exception {
		servicegroup renameresource = new servicegroup();
		renameresource.servicegroupname = resource.servicegroupname;
		return renameresource.rename_resource(client,new_servicegroupname);
	}
1183647
public static aaagroup_vpnurl_binding[] get(nitro_service service, String groupname) throws Exception{
		aaagroup_vpnurl_binding obj = new aaagroup_vpnurl_binding();
		obj.set_groupname(groupname);
		aaagroup_vpnurl_binding response[] = (aaagroup_vpnurl_binding[]) obj.get_resources(service);
		return response;
	}
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;
	}
1315189
public Observable<Page<NetworkWatcherInner>> listByResourceGroupAsync(String resourceGroupName) {
        return listByResourceGroupWithServiceResponseAsync(resourceGroupName).map(new Func1<ServiceResponse<List<NetworkWatcherInner>>, Page<NetworkWatcherInner>>() {
            @Override
            public Page<NetworkWatcherInner> call(ServiceResponse<List<NetworkWatcherInner>> response) {
                PageImpl1<NetworkWatcherInner> page = new PageImpl1<>();
                page.setItems(response.body());
                return page;
            }
        });
    }
27024
public Observable<Page<PublicIPPrefixInner>> listByResourceGroupAsync(final String resourceGroupName) {
        return listByResourceGroupWithServiceResponseAsync(resourceGroupName)
            .map(new Func1<ServiceResponse<Page<PublicIPPrefixInner>>, Page<PublicIPPrefixInner>>() {
                @Override
                public Page<PublicIPPrefixInner> call(ServiceResponse<Page<PublicIPPrefixInner>> response) {
                    return response.body();
                }
            });
    }
585584
public static aaagroup_binding get(nitro_service service, String groupname) throws Exception{
		aaagroup_binding obj = new aaagroup_binding();
		obj.set_groupname(groupname);
		aaagroup_binding response = (aaagroup_binding) obj.get_resource(service);
		return response;
	}
35827
def _servicegroup_get(sg_name, **connection_args):
    '''
    
    '''
    nitro = _connect(**connection_args)
    if nitro is None:
        return None
    sg = NSServiceGroup()
    sg.set_servicegroupname(sg_name)
    try:
        sg = NSServiceGroup.get(nitro, sg)
    except NSNitroError as error:
        log.debug('netscaler module error - NSServiceGroup.get() failed: %s', error)
        sg = None
    _disconnect(nitro)
    return sg
950338
public Observable<Void> downloadUpdatesAsync(String deviceName, String resourceGroupName) {
        return downloadUpdatesWithServiceResponseAsync(deviceName, resourceGroupName).map(new Func1<ServiceResponse<Void>, Void>() {
            @Override
            public Void call(ServiceResponse<Void> response) {
                return response.body();
            }
        });
    }