Skip to main content

billing_status

Creates, updates, deletes, gets or lists a billing_status resource.

Overview

Namebilling_status
TypeResource
Idvercel.rolling_release.billing_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
available_slotsnumber (0) (wire: availableSlots)
enabled_projectsarray (wire: enabledProjects)
messagestring
reasonstring (plan_not_supported)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectid_or_nameteam_id, slugGet the Rolling Releases billing status for a project. The team level billing status is used to determine if the project can be configured for rolling releases.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
id_or_namestringProject ID or project name (URL-encoded)
slugstringThe Team slug to perform the request on behalf of.
team_idstringThe Team identifier to perform the request on behalf of. (wire: teamId)

SELECT examples

Get the Rolling Releases billing status for a project. The team level billing status is used to determine if the project can be configured for rolling releases.

SELECT
available_slots,
enabled_projects,
message,
reason
FROM vercel.rolling_release.billing_status
WHERE id_or_name = '{{ id_or_name }}' -- required
AND team_id = '{{ team_id }}'
AND slug = '{{ slug }}'
;