management¶
This sections contains machine management and notebook persistence related functions.
-
TH.
deisolate
(muids: Union[str, list]) → list¶ - Deisolates a list of muids
This query requires the MUID or MUID list for the target machines
- Parameters
muids – The MUID to query
- Returns
Information regarding remediation
-
TH.
details_remediation
(muids: Union[str, List[str]]) → list¶ - Obtain information regarding remediatons from muid or list of muids
This query requires the MUID or MUID list for the target machines
- Parameters
muid – The MUID to query
- Returns
Information regarding remediation
-
TH.
get_user_including_clients
()¶ - Get all users with its clients in the organization where the user belongs
- Returns
List of users
-
TH.
isolate
(muids: Union[str, list]) → list¶ - Isolates a list of muids
This query requires the MUID or MUID list for the target machines
- Parameters
muids – The MUID to query
- Returns
Information regarding remediation
-
TH.
reboot
(muids: Union[str, list]) → list¶ - Reboots a list of muids
This query requires the MUID or MUID list for the target machines
- Parameters
muids – The MUID to query
- Returns
Information regarding remediation
-
TH.
tracking
(muids: Union[str, list]) → list¶ - Gets the tracking of a list of muids
This query requires the MUID or MUID list for the target machines
- Parameters
muids – The MUID to query
- Returns
Information regarding remediation
-
TH.
delete_blob
(name: str) → bool¶ - Delete Blob(Binary large object) file
This query requires the name of a blob previously uploaded with your notebook_id
- Parameters
name – The name blob
- Returns
True if removed and False otherwise
-
TH.
download_blob
(name: str) → bytes¶ - Download Blob(Binary large object) file
This query requires the name of a blob previously uploaded with your notebook_id
- Parameters
name – The name to query
- Returns
The file in binary format
-
TH.
get_blobs
() → list¶ - Get a list with the names of the Blobs(Binary large objects) uploaded with your notebook_id
- Returns
List of blobs
-
TH.
get_statistics
(user_emails: Optional[Union[List[str], str]] = None, date_from: Optional[Union[int, float]] = None, date_to: Optional[Union[int, float]] = None, prd: Optional[TH.Core.period.TimePeriod] = None) → list¶ - Gets queries statistics of organization
This query requires one or more user_emails, date_from and date_to
- Parameters
user_emails – type int, float or TimePeriod
date_from – Optional type int, float
date_to – Optional type int, float
prd – Optional type TimePeriod
- Returns
statistics in json