Use the setDiskUsage API to set the limit for your disk usage.
 
########====CDP Server Configuration Start====########
#set CDP server host name
$HOST="10.230.131.25";
#set CDP server to access API
$PORT="9443";
#set CDP user
$USER="admin";
#set CDP user password
$PASS="admin";
########====CDP Server Configuration End====########
# arguments
$HARD="5.8";
$SOFT="2.3";
#Set the limit for your disk usage.
try{
	$client = new soapclient("https://$HOST:$PORT/Configuration?wsdl",
		array('login'=>"$USER",
		'password'=>"$PASS",
		'trace'=>1
		)
	);
	$client->setDiskQuotas(array('softQuota'=>"$SOFT", 'hardQuota'=>"$HARD")) ;
	echo "Successfully executed setDiskQuotas.php\n";
}
catch (SoapFault $exception)
{
	echo $exception;
	exit(1);
}
exit(0);
}
 
 
        
        
            Labels:
        
        
            
                None
            
            
                            
                    
        
        
    