Variable promotionSchemaConst
promotionSchema: ZodReadonly<
ZodObject<
{
credit_monthly_cap: ZodOptional<ZodString>;
credit_remaining: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
expire_dt: ZodOptional<ZodString>;
image_url: ZodOptional<ZodString>;
service_type: ZodOptional<
ZodEnum<
{
all: "all";
backup: "backup";
blockstorage: "blockstorage";
db_mysql: "db_mysql";
ip_v4: "ip_v4";
linode: "linode";
linode_disk: "linode_disk";
linode_memory: "linode_memory";
longview: "longview";
managed: "managed";
nodebalancer: "nodebalancer";
objectstorage: "objectstorage";
placement_group: "placement_group";
transfer_tx: "transfer_tx";
},
>,
>;
summary: ZodOptional<ZodString>;
this_month_credit_remaining: ZodOptional<ZodString>;
},
$strip,
>,
> = ...
Read-only Promotions generally offer a set amount of credit that can be used toward your Linode services, and the promotion expires after a specified date. As well, a monthly cap on the promotional offer is set.
Simply put, a promotion offers a certain amount of credit month, until either the expiration date is passed, or until the total promotional credit is used, whichever comes first.