Variable getFirewallResponseSchemaConst
getFirewallResponseSchema: ZodObject<
{
created: ZodReadonly<ZodISODateTime>;
entities: ZodReadonly<
ZodArray<
ZodObject<
{
id: ZodInt;
label: ZodReadonly<ZodString>;
parent_entity: ZodReadonly<
ZodUnion<readonly [ZodReadonly<ZodObject<(...), (...)>>, ZodNull]>,
>;
type: ZodEnum<
{
linode: "linode";
linode_interface: "linode_interface";
nodebalancer: "nodebalancer";
},
>;
url: ZodReadonly<ZodString>;
},
$strip,
>,
>,
>;
id: ZodReadonly<ZodInt>;
label: ZodString;
rules: ZodObject<
{
fingerprint: ZodReadonly<ZodString>;
inbound: ZodArray<
ZodObject<
{
action: ZodEnum<{ ACCEPT: "ACCEPT"; DROP: "DROP" }>;
addresses: ZodObject<
{ ipv4: ZodArray<ZodString>; ipv6: ZodArray<ZodString> },
$strip,
>;
description: ZodString;
label: ZodString;
ports: ZodUnion<readonly [ZodString, ZodNull]>;
protocol: ZodEnum<
{ ICMP: "ICMP"; IPENCAP: "IPENCAP"; TCP: "TCP"; UDP: "UDP" },
>;
},
$strip,
>,
>;
inbound_policy: ZodEnum<{ ACCEPT: "ACCEPT"; DROP: "DROP" }>;
outbound: ZodArray<
ZodObject<
{
action: ZodEnum<{ ACCEPT: "ACCEPT"; DROP: "DROP" }>;
addresses: ZodObject<
{ ipv4: ZodArray<ZodString>; ipv6: ZodArray<ZodString> },
$strip,
>;
description: ZodString;
label: ZodString;
ports: ZodUnion<readonly [ZodString, ZodNull]>;
protocol: ZodEnum<
{ ICMP: "ICMP"; IPENCAP: "IPENCAP"; TCP: "TCP"; UDP: "UDP" },
>;
},
$strip,
>,
>;
outbound_policy: ZodEnum<{ ACCEPT: "ACCEPT"; DROP: "DROP" }>;
version: ZodReadonly<ZodInt>;
},
$strip,
>;
status: ZodEnum<
{ deleted: "deleted"; disabled: "disabled"; enabled: "enabled" },
>;
tags: ZodArray<ZodString>;
updated: ZodReadonly<ZodISODateTime>;
},
$strip,
> = ...
A resource that controls incoming and outgoing network traffic to a compute service. Only one enabled Firewall can be attached to a particular service at any given time. Create a firewall device to assign a Firewall to a service. Currently, Firewalls can assigned to Linode compute instances and NodeBalancers.