def __init__(self, api_url, username, password, verify_ssl=False, LiaPassword=None, debugLevel=None):
        """
        Initializes the class

        :param api_url: Base URL for the API.  Often the MDM host.
        :type api_url: str
        :param username: Username to login with
        :type username: str
        :param password: Password
        :type password: str
        :return: A ScaleIO object
        :rtype: ScaleIO
        """

        self._username = username
        self._password = password
        self._im_api_url = api_url
        self._im_session = requests.Session()
        #self._im_session.headers.update({'Accept': 'application/json', 'Version': '1.0'}) # Accept only json
        self._im_session.mount('https://', TLS1Adapter())
        self._im_verify_ssl = verify_ssl
        self._im_logged_in = False
        requests.packages.urllib3.disable_warnings() # Disable unverified connection warning.
        self._cluster_config_cached = None
        self._cache_contains_uncommitted = None
        logging.basicConfig(format='%(asctime)s: %(levelname)s %(module)s:%(funcName)s | %(message)s',
            level=self._get_log_level(debugLevel))
        self.logger = logging.getLogger(__name__)
        self.logger.debug("Logger initialized!")
        
        self.SIO_Configuration_Object = None
def __init__ ( self , api_url , username , password , verify_ssl = False , LiaPassword = None , debugLevel = None ) : self . _username = username self . _password = password self . _im_api_url = api_url self . _im_session = requests . Session ( ) self . _im_session . mount ( 'https://' , TLS1Adapter ( ) ) self . _im_verify_ssl = verify_ssl self . _im_logged_in = False requests . packages . urllib3 . disable_warnings ( ) self . _cluster_config_cached = None self . _cache_contains_uncommitted = None logging . basicConfig ( format = '%(asctime)s: %(levelname)s %(module)s:%(funcName)s | %(message)s' , level = self . _get_log_level ( debugLevel ) ) self . logger = logging . getLogger ( __name__ ) self . logger . debug ( "Logger initialized!" ) self . SIO_Configuration_Object = None
Initializes the class

        :param api_url: Base URL for the API.  Often the MDM host.
        :type api_url: str
        :param username: Username to login with
        :type username: str
        :param password: Password
        :type password: str
        :return: A ScaleIO object
        :rtype: ScaleIO