@@ -171,6 +171,8 @@ export interface SnapshotGetResponse {
171
171
*/
172
172
cpu_time_user_ms ?: number ;
173
173
174
+ dhcp_leases ?: Array < SnapshotGetResponse . DHCPLease > ;
175
+
174
176
disks ?: Array < SnapshotGetResponse . Disk > ;
175
177
176
178
/**
@@ -184,6 +186,8 @@ export interface SnapshotGetResponse {
184
186
*/
185
187
ha_value ?: number ;
186
188
189
+ interfaces ?: Array < SnapshotGetResponse . Interface > ;
190
+
187
191
/**
188
192
* Percentage of time over a 10 second window that all tasks were stalled
189
193
*/
@@ -882,6 +886,8 @@ export interface SnapshotGetResponse {
882
886
883
887
thermals ?: Array < SnapshotGetResponse . Thermal > ;
884
888
889
+ tunnels ?: Array < SnapshotGetResponse . Tunnel > ;
890
+
885
891
/**
886
892
* Sum of how much time each core has spent idle
887
893
*/
@@ -894,6 +900,46 @@ export interface SnapshotGetResponse {
894
900
}
895
901
896
902
export namespace SnapshotGetResponse {
903
+ /**
904
+ * Snapshot DHCP lease
905
+ */
906
+ export interface DHCPLease {
907
+ /**
908
+ * Client ID of the device the IP Address was leased to
909
+ */
910
+ client_id : string ;
911
+
912
+ /**
913
+ * Expiry time of the DHCP lease (seconds since the Unix epoch)
914
+ */
915
+ expiry_time : number ;
916
+
917
+ /**
918
+ * Hostname of the device the IP Address was leased to
919
+ */
920
+ hostname : string ;
921
+
922
+ /**
923
+ * Name of the network interface
924
+ */
925
+ interface_name : string ;
926
+
927
+ /**
928
+ * IP Address that was leased
929
+ */
930
+ ip_address : string ;
931
+
932
+ /**
933
+ * MAC Address of the device the IP Address was leased to
934
+ */
935
+ mac_address : string ;
936
+
937
+ /**
938
+ * Connector identifier
939
+ */
940
+ connector_id ?: string ;
941
+ }
942
+
897
943
/**
898
944
* Snapshot Disk
899
945
*/
@@ -1004,6 +1050,55 @@ export namespace SnapshotGetResponse {
1004
1050
time_flushing_ms ?: number ;
1005
1051
}
1006
1052
1053
+ /**
1054
+ * Snapshot Interface
1055
+ */
1056
+ export interface Interface {
1057
+ /**
1058
+ * Name of the network interface
1059
+ */
1060
+ name : string ;
1061
+
1062
+ /**
1063
+ * UP/DOWN state of the network interface
1064
+ */
1065
+ operstate : string ;
1066
+
1067
+ /**
1068
+ * Connector identifier
1069
+ */
1070
+ connector_id ?: string ;
1071
+
1072
+ ip_addresses ?: Array < Interface . IPAddress > ;
1073
+
1074
+ /**
1075
+ * Speed of the network interface (bits per second)
1076
+ */
1077
+ speed ?: number ;
1078
+ }
1079
+
1080
+ export namespace Interface {
1081
+ /**
1082
+ * Snapshot Interface Address
1083
+ */
1084
+ export interface IPAddress {
1085
+ /**
1086
+ * Name of the network interface
1087
+ */
1088
+ interface_name : string ;
1089
+
1090
+ /**
1091
+ * IP address of the network interface
1092
+ */
1093
+ ip_address : string ;
1094
+
1095
+ /**
1096
+ * Connector identifier
1097
+ */
1098
+ connector_id ?: string ;
1099
+ }
1100
+ }
1101
+
1007
1102
/**
1008
1103
* Snapshot Mount
1009
1104
*/
@@ -1178,6 +1273,37 @@ export namespace SnapshotGetResponse {
1178
1273
*/
1179
1274
max_celcius ?: number ;
1180
1275
}
1276
+
1277
+ /**
1278
+ * Snapshot Tunnels
1279
+ */
1280
+ export interface Tunnel {
1281
+ /**
1282
+ * Name of tunnel health state (unknown, healthy, degraded, down)
1283
+ */
1284
+ health_state : string ;
1285
+
1286
+ /**
1287
+ * Numeric value associated with tunnel state (0 = unknown, 1 = healthy, 2 =
1288
+ * degraded, 3 = down)
1289
+ */
1290
+ health_value : number ;
1291
+
1292
+ /**
1293
+ * The tunnel interface name (i.e. xfrm1, xfrm3.99, etc.)
1294
+ */
1295
+ interface_name : string ;
1296
+
1297
+ /**
1298
+ * Tunnel identifier
1299
+ */
1300
+ tunnel_id : string ;
1301
+
1302
+ /**
1303
+ * Connector identifier
1304
+ */
1305
+ connector_id ?: string ;
1306
+ }
1181
1307
}
1182
1308
1183
1309
export interface SnapshotListParams {
0 commit comments