def _get_management_client(self, client_class):
try:<EOL><INDENT>client = get_client_from_auth_file(<EOL>client_class, auth_path=self.service_account_file<EOL>)<EOL><DEDENT>except ValueError as error:<EOL><INDENT>raise AzureCloudException(<EOL>'<STR_LIT>'.format(error)<EOL>)<EOL><DEDENT>except KeyError as error:<EOL><INDENT>raise AzureCloudException(<EOL>'<STR_LIT>'.format(error)<EOL>)<EOL><DEDENT>except Exception as error:<EOL><INDENT>raise AzureCloudException(<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'.format(error)<EOL>)<EOL><DEDENT>return client<EOL>
Return instance of resource management client.