Use this API to disable snmpalarm resources of given names.
17973
public static base_responses disable(nitro_service client, String trapname[]) throws Exception {
		base_responses result = null;
		if (trapname != null && trapname.length > 0) {
			snmpalarm disableresources[] = new snmpalarm[trapname.length];
			for (int i=0;i<trapname.length;i++){
				disableresources[i] = new snmpalarm();
				disableresources[i].trapname = trapname[i];
			}
			result = perform_operation_bulk_request(client, disableresources,"disable");
		}
		return result;
	}
248215
public static base_response unset(nitro_service client, nsspparams resource, String[] args) throws Exception{
		nsspparams unsetresource = new nsspparams();
		return unsetresource.unset_resource(client,args);
	}
256677
def disable(self):
        """"""
        core_napps_manager = CoreNAppsManager(base_path=self._enabled)
        core_napps_manager.disable(self.user, self.napp)
1106166
public static base_response disable(nitro_service client, String name) throws Exception {
		vserver disableresource = new vserver();
		disableresource.name = name;
		return disableresource.perform_operation(client,"disable");
	}
732222
public static snmpalarm[] get(nitro_service service) throws Exception{
		snmpalarm obj = new snmpalarm();
		snmpalarm[] response = (snmpalarm[])obj.get_resources(service);
		return response;
	}
1120591
public static base_responses disable(nitro_service client, lbmonitor resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			lbmonitor disableresources[] = new lbmonitor[resources.length];
			for (int i=0;i<resources.length;i++){
				disableresources[i] = new lbmonitor();
				disableresources[i].servicename = resources[i].servicename;
				disableresources[i].servicegroupname = resources[i].servicegroupname;
				disableresources[i].monitorname = resources[i].monitorname;
			}
			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)
1299718
public static snmp_manager delete(nitro_service client, snmp_manager resource) throws Exception
	{
		resource.validate("delete");
		return ((snmp_manager[]) resource.delete_resource(client))[0];
	}
997731
public static function disableAll()
    {
        $app = Application::getFacadeApplication();
        $app->make('cache/request')->disable();
        $app->make('cache/expensive')->disable();
        $app->make('cache')->disable();
    }
275622
public static base_responses disable(nitro_service client, String monitorname[]) throws Exception {
		base_responses result = null;
		if (monitorname != null && monitorname.length > 0) {
			lbmonitor disableresources[] = new lbmonitor[monitorname.length];
			for (int i=0;i<monitorname.length;i++){
				disableresources[i] = new lbmonitor();
				disableresources[i].monitorname = monitorname[i];
			}
			result = perform_operation_bulk_request(client, disableresources,"disable");
		}
		return result;
	}
1018757
private void stop() {
        //unregister and free all resources;
        if (updateTask != null)
            updateTask.cancel();
        for (GenericStatsProducer producer : producers) {
            producer.genericStats.destroy();
            ProducerRegistryFactory.getProducerRegistryInstance().unregisterProducer(producer);
        }
        producers.clear();
    }
1017303
public static base_response unset(nitro_service client, nsacl resource, String[] args) throws Exception{
		nsacl unsetresource = new nsacl();
		unsetresource.aclname = resource.aclname;
		return unsetresource.unset_resource(client,args);
	}
662162
public void unsetResourceAdaptorContext() {
        resourceAdaptorContext = null;
        tracer = null;
        eventIdCache = null;
        eventIDFilter = null;
        sleeEndpoint = null;
        eventLookup = null;
        requestLock = null;
        httpRaSbbinterface = null;
    }
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");
	}
598347
public static base_response unset(nitro_service client, arpparam resource, String[] args) throws Exception{
		arpparam unsetresource = new arpparam();
		return unsetresource.unset_resource(client,args);
	}
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;
	}
168120
def disable(resource_group_name, workflow_name, custom_headers:nil)
      response = disable_async(resource_group_name, workflow_name, custom_headers:custom_headers).value!
      nil
    end