10
10
__all__ = [
11
11
"DigitalExperienceMonitoringHTTPDetails" ,
12
12
"HTTPStats" ,
13
+ "HTTPStatsAvailabilityPct" ,
14
+ "HTTPStatsAvailabilityPctSlot" ,
13
15
"HTTPStatsDNSResponseTimeMs" ,
14
16
"HTTPStatsDNSResponseTimeMsSlot" ,
15
17
"HTTPStatsHTTPStatusCode" ,
18
20
"HTTPStatsServerResponseTimeMs" ,
19
21
"HTTPStatsServerResponseTimeMsSlot" ,
20
22
"HTTPStatsByColo" ,
23
+ "HTTPStatsByColoAvailabilityPct" ,
24
+ "HTTPStatsByColoAvailabilityPctSlot" ,
21
25
"HTTPStatsByColoDNSResponseTimeMs" ,
22
26
"HTTPStatsByColoDNSResponseTimeMsSlot" ,
23
27
"HTTPStatsByColoHTTPStatusCode" ,
24
28
"HTTPStatsByColoResourceFetchTimeMs" ,
25
29
"HTTPStatsByColoResourceFetchTimeMsSlot" ,
26
30
"HTTPStatsByColoServerResponseTimeMs" ,
27
31
"HTTPStatsByColoServerResponseTimeMsSlot" ,
32
+ "TargetPolicy" ,
28
33
]
29
34
30
35
36
+ class HTTPStatsAvailabilityPctSlot (BaseModel ):
37
+ timestamp : str
38
+
39
+ value : float
40
+
41
+
42
+ class HTTPStatsAvailabilityPct (BaseModel ):
43
+ slots : List [HTTPStatsAvailabilityPctSlot ]
44
+
45
+ avg : Optional [float ] = None
46
+ """average observed in the time period"""
47
+
48
+ max : Optional [float ] = None
49
+ """highest observed in the time period"""
50
+
51
+ min : Optional [float ] = None
52
+ """lowest observed in the time period"""
53
+
54
+
31
55
class HTTPStatsDNSResponseTimeMsSlot (BaseModel ):
32
56
timestamp : str
33
57
@@ -98,6 +122,8 @@ class HTTPStatsServerResponseTimeMs(BaseModel):
98
122
99
123
100
124
class HTTPStats (BaseModel ):
125
+ availability_pct : HTTPStatsAvailabilityPct = FieldInfo (alias = "availabilityPct" )
126
+
101
127
dns_response_time_ms : HTTPStatsDNSResponseTimeMs = FieldInfo (alias = "dnsResponseTimeMs" )
102
128
103
129
http_status_code : List [HTTPStatsHTTPStatusCode ] = FieldInfo (alias = "httpStatusCode" )
@@ -110,6 +136,25 @@ class HTTPStats(BaseModel):
110
136
"""Count of unique devices that have run this test in the given time period"""
111
137
112
138
139
+ class HTTPStatsByColoAvailabilityPctSlot (BaseModel ):
140
+ timestamp : str
141
+
142
+ value : float
143
+
144
+
145
+ class HTTPStatsByColoAvailabilityPct (BaseModel ):
146
+ slots : List [HTTPStatsByColoAvailabilityPctSlot ]
147
+
148
+ avg : Optional [float ] = None
149
+ """average observed in the time period"""
150
+
151
+ max : Optional [float ] = None
152
+ """highest observed in the time period"""
153
+
154
+ min : Optional [float ] = None
155
+ """lowest observed in the time period"""
156
+
157
+
113
158
class HTTPStatsByColoDNSResponseTimeMsSlot (BaseModel ):
114
159
timestamp : str
115
160
@@ -180,6 +225,8 @@ class HTTPStatsByColoServerResponseTimeMs(BaseModel):
180
225
181
226
182
227
class HTTPStatsByColo (BaseModel ):
228
+ availability_pct : HTTPStatsByColoAvailabilityPct = FieldInfo (alias = "availabilityPct" )
229
+
183
230
colo : str
184
231
185
232
dns_response_time_ms : HTTPStatsByColoDNSResponseTimeMs = FieldInfo (alias = "dnsResponseTimeMs" )
@@ -194,6 +241,15 @@ class HTTPStatsByColo(BaseModel):
194
241
"""Count of unique devices that have run this test in the given time period"""
195
242
196
243
244
+ class TargetPolicy (BaseModel ):
245
+ id : str
246
+
247
+ default : bool
248
+ """Whether the policy is the default for the account"""
249
+
250
+ name : str
251
+
252
+
197
253
class DigitalExperienceMonitoringHTTPDetails (BaseModel ):
198
254
host : Optional [str ] = None
199
255
"""The url of the HTTP synthetic application test"""
@@ -212,3 +268,7 @@ class DigitalExperienceMonitoringHTTPDetails(BaseModel):
212
268
213
269
name : Optional [str ] = None
214
270
"""The name of the HTTP synthetic application test"""
271
+
272
+ target_policies : Optional [List [TargetPolicy ]] = None
273
+
274
+ targeted : Optional [bool ] = None
0 commit comments