File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1345,3 +1345,4 @@ def __init__(
13451345 get_appliance_stats_minute_file ,
13461346 get_appliance_stats_minute_range ,
13471347 )
1348+ from .ecos ._time import get_appliance_time
Original file line number Diff line number Diff line change 1+ # MIT License
2+ # (C) Copyright 2022 Hewlett Packard Enterprise Development LP.
3+ #
4+ # time : Current time
5+
6+
7+ def get_appliance_time (
8+ self ,
9+ ) -> dict :
10+ """Get the current time on the appliance
11+
12+ .. list-table::
13+ :header-rows: 1
14+
15+ * - Swagger Section
16+ - Method
17+ - Endpoint
18+ * - time
19+ - GET
20+ - /time
21+
22+ :return: Returns dictionary of current appliance time \n
23+ * keyword **current** (`int`): Current unix epoch time in
24+ milliseconds
25+ * keyword **gmtOffset** (`int`): Hours offset from GMT
26+ :rtype: dict
27+ """
28+ return self ._get ("/time" )
You can’t perform that action at this time.
0 commit comments