Use this API to enable servicegroup resources of given names.
18620
public static base_responses enable(nitro_service client, String servicegroupname[]) throws Exception {
		base_responses result = null;
		if (servicegroupname != null && servicegroupname.length > 0) {
			servicegroup enableresources[] = new servicegroup[servicegroupname.length];
			for (int i=0;i<servicegroupname.length;i++){
				enableresources[i] = new servicegroup();
				enableresources[i].servicegroupname = servicegroupname[i];
			}
			result = perform_operation_bulk_request(client, enableresources,"enable");
		}
		return result;
	}
734794
public void setResourceGroups(java.util.Collection<ResourceGroup> resourceGroups) {
        if (resourceGroups == null) {
            this.resourceGroups = null;
            return;
        }

        this.resourceGroups = new java.util.ArrayList<ResourceGroup>(resourceGroups);
    }
304763
public static base_responses disable(nitro_service client, String servicegroupname[]) throws Exception {
		base_responses result = null;
		if (servicegroupname != null && servicegroupname.length > 0) {
			servicegroup disableresources[] = new servicegroup[servicegroupname.length];
			for (int i=0;i<servicegroupname.length;i++){
				disableresources[i] = new servicegroup();
				disableresources[i].servicegroupname = servicegroupname[i];
			}
			result = perform_operation_bulk_request(client, disableresources,"disable");
		}
		return result;
	}
211677
public static servicegroup get(nitro_service service, String servicegroupname) throws Exception{
		servicegroup obj = new servicegroup();
		obj.set_servicegroupname(servicegroupname);
		servicegroup response = (servicegroup) obj.get_resource(service);
		return response;
	}
53854
public static servicegroupbindings get(nitro_service service, String servicegroupname) throws Exception{
		servicegroupbindings obj = new servicegroupbindings();
		obj.set_servicegroupname(servicegroupname);
		servicegroupbindings response = (servicegroupbindings) obj.get_resource(service);
		return response;
	}
908236
public static base_response disable(nitro_service client, servicegroup resource) throws Exception {
		servicegroup disableresource = new servicegroup();
		disableresource.servicegroupname = resource.servicegroupname;
		disableresource.servername = resource.servername;
		disableresource.port = resource.port;
		disableresource.delay = resource.delay;
		disableresource.graceful = resource.graceful;
		return disableresource.perform_operation(client,"disable");
	}
392727
public PagedList<MediaServiceInner> listByResourceGroup(String resourceGroupName) {
        PageImpl<MediaServiceInner> page = new PageImpl<>();
        page.setItems(listByResourceGroupWithServiceResponseAsync(resourceGroupName).toBlocking().single().body());
        page.setNextPageLink(null);
        return new PagedList<MediaServiceInner>(page) {
            @Override
            public Page<MediaServiceInner> nextPage(String nextPageLink) {
                return null;
            }
        };
    }
846237
public static servicegroup[] get(nitro_service service, servicegroup_args args) throws Exception{
		servicegroup obj = new servicegroup();
		options option = new options();
		option.set_args(nitro_util.object_to_string_withoutquotes(args));
		servicegroup[] response = (servicegroup[])obj.get_resources(service, option);
		return response;
	}
453009
public static snmpgroup[] get(nitro_service service) throws Exception{
		snmpgroup obj = new snmpgroup();
		snmpgroup[] response = (snmpgroup[])obj.get_resources(service);
		return response;
	}
1259960
def groups_with_resources(cls, instance):
        
        return instance.groups_dynamic.options(
            sa.orm.eagerload(cls.models_proxy.Group.resources)
        )
170326
function(groupName, resources, callback) {
        this.resourceGroupExists(groupName, function onGroupExistsResponse(err, exists) {
            if (err) {
                return callback(err);
            }

            if (exists) {
                return callback(new Error(
                    'Resource group `' + groupName + '` already exists'
                ));
            }

            this.editResourceGroup(groupName, resources, callback);
        }.bind(this));

        return this;
    }
1287331
public static base_responses update(nitro_service client, servicegroup resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			servicegroup updateresources[] = new servicegroup[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new servicegroup();
				updateresources[i].servicegroupname = resources[i].servicegroupname;
				updateresources[i].servername = resources[i].servername;
				updateresources[i].port = resources[i].port;
				updateresources[i].weight = resources[i].weight;
				updateresources[i].customserverid = resources[i].customserverid;
				updateresources[i].serverid = resources[i].serverid;
				updateresources[i].hashid = resources[i].hashid;
				updateresources[i].monitor_name_svc = resources[i].monitor_name_svc;
				updateresources[i].dup_weight = resources[i].dup_weight;
				updateresources[i].maxclient = resources[i].maxclient;
				updateresources[i].maxreq = resources[i].maxreq;
				updateresources[i].healthmonitor = resources[i].healthmonitor;
				updateresources[i].cacheable = resources[i].cacheable;
				updateresources[i].cip = resources[i].cip;
				updateresources[i].cipheader = resources[i].cipheader;
				updateresources[i].usip = resources[i].usip;
				updateresources[i].pathmonitor = resources[i].pathmonitor;
				updateresources[i].pathmonitorindv = resources[i].pathmonitorindv;
				updateresources[i].useproxyport = resources[i].useproxyport;
				updateresources[i].sc = resources[i].sc;
				updateresources[i].sp = resources[i].sp;
				updateresources[i].rtspsessionidremap = resources[i].rtspsessionidremap;
				updateresources[i].clttimeout = resources[i].clttimeout;
				updateresources[i].svrtimeout = resources[i].svrtimeout;
				updateresources[i].cka = resources[i].cka;
				updateresources[i].tcpb = resources[i].tcpb;
				updateresources[i].cmp = resources[i].cmp;
				updateresources[i].maxbandwidth = resources[i].maxbandwidth;
				updateresources[i].monthreshold = resources[i].monthreshold;
				updateresources[i].downstateflush = resources[i].downstateflush;
				updateresources[i].tcpprofilename = resources[i].tcpprofilename;
				updateresources[i].httpprofilename = resources[i].httpprofilename;
				updateresources[i].comment = resources[i].comment;
				updateresources[i].appflowlog = resources[i].appflowlog;
				updateresources[i].netprofile = resources[i].netprofile;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
858131
public static base_response add(nitro_service client, systemgroup resource) throws Exception {
		systemgroup addresource = new systemgroup();
		addresource.groupname = resource.groupname;
		addresource.promptstring = resource.promptstring;
		addresource.timeout = resource.timeout;
		return addresource.add_resource(client);
	}
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;
	}
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;
	}
972894
public Observable<Page<ClusterInner>> listByResourceGroupAsync(String resourceGroupName) {
        return listByResourceGroupWithServiceResponseAsync(resourceGroupName).map(new Func1<ServiceResponse<List<ClusterInner>>, Page<ClusterInner>>() {
            @Override
            public Page<ClusterInner> call(ServiceResponse<List<ClusterInner>> response) {
                PageImpl<ClusterInner> page = new PageImpl<>();
                page.setItems(response.body());
                return page;
            }
        });
    }
690600
public Observable<Page<ClusterInner>> listByResourceGroupAsync(final String resourceGroupName) {
        return listByResourceGroupWithServiceResponseAsync(resourceGroupName)
            .map(new Func1<ServiceResponse<Page<ClusterInner>>, Page<ClusterInner>>() {
                @Override
                public Page<ClusterInner> call(ServiceResponse<Page<ClusterInner>> response) {
                    return response.body();
                }
            });
    }