Variable getAlertDefinitionsForServiceTypeResponseSchemaConst
getAlertDefinitionsForServiceTypeResponseSchema: ZodObject<
{
data: ZodArray<
ZodObject<
{
alert_channels: ZodArray<
ZodObject<
{
id: ZodInt;
label: ZodString;
type: ZodEnum<{ email: "email" }>;
url: ZodString;
},
$strip,
>,
>;
class: ZodEnum<{ dedicated: "dedicated"; shared: "shared" }>;
created: ZodISODateTime;
created_by: ZodString;
description: ZodString;
entity_ids: ZodArray<ZodString>;
has_more_resources: ZodBoolean;
id: ZodInt;
label: ZodString;
rule_criteria: ZodObject<
{
rules: ZodArray<
ZodObject<
{
aggregate_function: ZodEnum<(...)>;
dimension_filters: ZodArray<(...)>;
label: ZodString;
metric: ZodString;
operator: ZodEnum<(...)>;
threshold: ZodNumber;
unit: ZodEnum<(...)>;
},
$strip,
>,
>;
},
$strip,
>;
service_type: ZodString;
severity: ZodUnion<
readonly [
ZodLiteral<0>,
ZodLiteral<1>,
ZodLiteral<2>,
ZodLiteral<3>,
],
>;
status: ZodEnum<
{
disabled: "disabled";
enabled: "enabled";
failed: "failed";
"in progress": "in progress";
},
>;
trigger_conditions: ZodObject<
{
criteria_condition: ZodEnum<{ ALL: "ALL" }>;
evaluation_period_seconds: ZodInt;
polling_interval_seconds: ZodInt;
trigger_occurrences: ZodInt;
},
$strip,
>;
type: ZodEnum<{ system: "system"; user: "user" }>;
updated: ZodISODateTime;
updated_by: ZodString;
},
$strip,
>,
>;
page: ZodReadonly<ZodInt>;
pages: ZodReadonly<ZodInt>;
results: ZodReadonly<ZodInt>;
},
$strip,
> = ...
Returns a paginated list of alert definitions for the specified service type.