Variable LoadBalancingSchemaConst
LoadBalancingSchema: ZodObject<
{
retries: ZodOptional<ZodNumber>;
selection_policy: ZodOptional<
ZodObject<
{
policy: ZodEnum<
[
"first",
"random",
"least_conn",
"round_robin",
"ip_hash",
"uri_hash",
"header",
"cookie",
],
>;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{
policy: ZodEnum<
[
"first",
"random",
"least_conn",
"round_robin",
"ip_hash",
"uri_hash",
"header",
"cookie",
],
>;
},
ZodTypeAny,
"passthrough",
>,
objectInputType<
{
policy: ZodEnum<
[
"first",
"random",
"least_conn",
"round_robin",
"ip_hash",
"uri_hash",
"header",
"cookie",
],
>;
},
ZodTypeAny,
"passthrough",
>,
>,
>;
try_duration: ZodOptional<ZodUnion<[ZodNumber, ZodString]>>;
try_interval: ZodOptional<ZodUnion<[ZodNumber, ZodString]>>;
},
"strip",
ZodTypeAny,
{
retries?: number;
selection_policy?: objectOutputType<
{
policy: ZodEnum<
[
"first",
"random",
"least_conn",
"round_robin",
"ip_hash",
"uri_hash",
"header",
"cookie",
],
>;
},
ZodTypeAny,
"passthrough",
>;
try_duration?: string
| number;
try_interval?: string | number;
},
{
retries?: number;
selection_policy?: objectInputType<
{
policy: ZodEnum<
[
"first",
"random",
"least_conn",
"round_robin",
"ip_hash",
"uri_hash",
"header",
"cookie",
],
>;
},
ZodTypeAny,
"passthrough",
>;
try_duration?: string
| number;
try_interval?: string | number;
},
> = ...
Load balancing configuration schema