Use this API to disable nsacl resources of given names.
515197
public static base_responses disable(nitro_service client, String aclname[]) throws Exception {
		base_responses result = null;
		if (aclname != null && aclname.length > 0) {
			nsacl disableresources[] = new nsacl[aclname.length];
			for (int i=0;i<aclname.length;i++){
				disableresources[i] = new nsacl();
				disableresources[i].aclname = aclname[i];
			}
			result = perform_operation_bulk_request(client, disableresources,"disable");
		}
		return result;
	}
222036
public static nsacl get(nitro_service service, String aclname) throws Exception{
		nsacl obj = new nsacl();
		obj.set_aclname(aclname);
		nsacl response = (nsacl) obj.get_resource(service);
		return response;
	}
433471
public static base_response disable(nitro_service client, lbmonitor resource) throws Exception {
		lbmonitor disableresource = new lbmonitor();
		disableresource.servicename = resource.servicename;
		disableresource.servicegroupname = resource.servicegroupname;
		disableresource.monitorname = resource.monitorname;
		return disableresource.perform_operation(client,"disable");
	}
348325
def disable():
        """"""
        if os.name != 'nt' or not Windows.is_enabled():
            return False

        getattr(sys.stderr, '_reset_colors', lambda: False)()
        getattr(sys.stdout, '_reset_colors', lambda: False)()

        if isinstance(sys.stderr, _WindowsStream):
            sys.stderr = getattr(sys.stderr, 'original_stream')
        if isinstance(sys.stderr, _WindowsStream):
            sys.stdout = getattr(sys.stdout, 'original_stream')

        return True
1140313
public static base_responses disable(nitro_service client, nstrafficdomain resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			nstrafficdomain disableresources[] = new nstrafficdomain[resources.length];
			for (int i=0;i<resources.length;i++){
				disableresources[i] = new nstrafficdomain();
				disableresources[i].td = resources[i].td;
				disableresources[i].state = resources[i].state;
			}
			result = perform_operation_bulk_request(client, disableresources,"disable");
		}
		return result;
	}
1189318
public static base_response disable(nitro_service client, String monitorname) throws Exception {
		lbmonitor disableresource = new lbmonitor();
		disableresource.monitorname = monitorname;
		return disableresource.perform_operation(client,"disable");
	}
155183
public static base_responses unset(nitro_service client, String acl6name[], String args[]) throws Exception {
		base_responses result = null;
		if (acl6name != null && acl6name.length > 0) {
			nsacl6 unsetresources[] = new nsacl6[acl6name.length];
			for (int i=0;i<acl6name.length;i++){
				unsetresources[i] = new nsacl6();
				unsetresources[i].acl6name = acl6name[i];
			}
			result = unset_bulk_request(client, unsetresources,args);
		}
		return result;
	}
526015
public static base_responses disable(nitro_service client, service resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			service disableresources[] = new service[resources.length];
			for (int i=0;i<resources.length;i++){
				disableresources[i] = new service();
				disableresources[i].name = resources[i].name;
				disableresources[i].delay = resources[i].delay;
				disableresources[i].graceful = resources[i].graceful;
			}
			result = perform_operation_bulk_request(client, disableresources,"disable");
		}
		return result;
	}
893639
def disable(name, **kwargs):
    '''
    
    '''
    if _service_is_upstart(name):
        return _upstart_disable(name)
    executable = _get_service_exec()
    cmd = [executable, '-f', name, 'remove']
    return not __salt__['cmd.retcode'](cmd, python_shell=False)
1006121
public static base_responses delete(nitro_service client, nssimpleacl6 resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			nssimpleacl6 deleteresources[] = new nssimpleacl6[resources.length];
			for (int i=0;i<resources.length;i++){
				deleteresources[i] = new nssimpleacl6();
				deleteresources[i].aclname = resources[i].aclname;
			}
			result = delete_bulk_request(client, deleteresources);
		}
		return result;
	}
401809
public static base_response disable(nitro_service client, service resource) throws Exception {
		service disableresource = new service();
		disableresource.name = resource.name;
		disableresource.delay = resource.delay;
		disableresource.graceful = resource.graceful;
		return disableresource.perform_operation(client,"disable");
	}
132254
public static base_response clear(nitro_service client) throws Exception {
		nsacls6 clearresource = new nsacls6();
		return clearresource.perform_operation(client,"clear");
	}
126412
public static base_response disable(nitro_service client, nsfeature resource) throws Exception {
		nsfeature disableresource = new nsfeature();
		disableresource.feature = resource.feature;
		return disableresource.perform_operation(client,"disable");
	}
92313
public static base_response delete(nitro_service client, nssimpleacl resource) throws Exception {
		nssimpleacl deleteresource = new nssimpleacl();
		deleteresource.aclname = resource.aclname;
		return deleteresource.delete_resource(client);
	}
167967
def disable(name, **kwargs):
    '''
    
    '''
    cmd = '/usr/sbin/svcadm disable {0}'.format(name)
    return not __salt__['cmd.retcode'](cmd, python_shell=False)
1165536
public function disableLegacyNamespace()
    {
        $this->enableLegacyNamespace = false;
        $this->disable();
        $this->activateAutoloaders();
        $this->enable();
    }
718936
public void free()
    {
        if (m_env != null)
        {
            m_env.removeApplication(this);
            m_env.freeIfDone();
        }
        
        super.free();

        if (m_databaseCollection != null)
            m_databaseCollection.free();
        m_databaseCollection = null;

        m_env = null;

        m_resources = null;
    }