diff --git a/src/resources/zero-trust/dex/http-tests/http-tests.ts b/src/resources/zero-trust/dex/http-tests/http-tests.ts index 4fe49efcea..1a0598abc3 100644 --- a/src/resources/zero-trust/dex/http-tests/http-tests.ts +++ b/src/resources/zero-trust/dex/http-tests/http-tests.ts @@ -53,10 +53,16 @@ export interface DigitalExperienceMonitoringHTTPDetails { * The name of the HTTP synthetic application test */ name?: string; + + target_policies?: Array; + + targeted?: boolean; } export namespace DigitalExperienceMonitoringHTTPDetails { export interface HTTPStats { + availabilityPct: HTTPStats.AvailabilityPct; + dnsResponseTimeMs: HTTPStats.DNSResponseTimeMs; httpStatusCode: Array; @@ -72,6 +78,33 @@ export namespace DigitalExperienceMonitoringHTTPDetails { } export namespace HTTPStats { + export interface AvailabilityPct { + slots: Array; + + /** + * average observed in the time period + */ + avg?: number | null; + + /** + * highest observed in the time period + */ + max?: number | null; + + /** + * lowest observed in the time period + */ + min?: number | null; + } + + export namespace AvailabilityPct { + export interface Slot { + timestamp: string; + + value: number; + } + } + export interface DNSResponseTimeMs { slots: Array; @@ -167,6 +200,8 @@ export namespace DigitalExperienceMonitoringHTTPDetails { } export interface HTTPStatsByColo { + availabilityPct: HTTPStatsByColo.AvailabilityPct; + colo: string; dnsResponseTimeMs: HTTPStatsByColo.DNSResponseTimeMs; @@ -184,6 +219,33 @@ export namespace DigitalExperienceMonitoringHTTPDetails { } export namespace HTTPStatsByColo { + export interface AvailabilityPct { + slots: Array; + + /** + * average observed in the time period + */ + avg?: number | null; + + /** + * highest observed in the time period + */ + max?: number | null; + + /** + * lowest observed in the time period + */ + min?: number | null; + } + + export namespace AvailabilityPct { + export interface Slot { + timestamp: string; + + value: number; + } + } + export interface DNSResponseTimeMs { slots: Array; @@ -277,6 +339,17 @@ export namespace DigitalExperienceMonitoringHTTPDetails { } } } + + export interface TargetPolicy { + id: string; + + /** + * Whether the policy is the default for the account + */ + default: boolean; + + name: string; + } } export interface HTTPTestGetParams { diff --git a/src/resources/zero-trust/dex/tests/tests.ts b/src/resources/zero-trust/dex/tests/tests.ts index be3e3e8764..70fccf8edc 100644 --- a/src/resources/zero-trust/dex/tests/tests.ts +++ b/src/resources/zero-trust/dex/tests/tests.ts @@ -42,6 +42,11 @@ export namespace DigitalExperienceMonitoringTests { */ testsTotal: number; + /** + * percentage availability for all HTTP test results in response + */ + avgHttpAvailabilityPct?: number | null; + /** * percentage availability for all traceroutes results in response */ @@ -98,6 +103,10 @@ export namespace DigitalExperienceMonitoringTests { */ method?: string; + target_policies?: Array; + + targeted?: boolean; + tracerouteResults?: Test.TracerouteResults | null; tracerouteResultsByColo?: Array; @@ -213,6 +222,17 @@ export namespace DigitalExperienceMonitoringTests { } } + export interface TargetPolicy { + id: string; + + /** + * Whether the policy is the default for the account + */ + default: boolean; + + name: string; + } + export interface TracerouteResults { roundTripTime: TracerouteResults.RoundTripTime; } diff --git a/src/resources/zero-trust/dex/traceroute-tests.ts b/src/resources/zero-trust/dex/traceroute-tests.ts index add9d5bbdd..9945bcfdde 100644 --- a/src/resources/zero-trust/dex/traceroute-tests.ts +++ b/src/resources/zero-trust/dex/traceroute-tests.ts @@ -77,12 +77,27 @@ export interface DigitalExperienceMonitoringTracerouteDetails { */ name: string; + target_policies?: Array; + + targeted?: boolean; + tracerouteStats?: DigitalExperienceMonitoringTracerouteDetails.TracerouteStats | null; tracerouteStatsByColo?: Array; } export namespace DigitalExperienceMonitoringTracerouteDetails { + export interface TargetPolicy { + id: string; + + /** + * Whether the policy is the default for the account + */ + default: boolean; + + name: string; + } + export interface TracerouteStats { availabilityPct: TracerouteStats.AvailabilityPct;