billing_status
Creates, updates, deletes, gets or lists a billing_status resource.
Overview
| Name | billing_status |
| Type | Resource |
| Id | vercel.rolling_release.billing_status |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
available_slots | number | (0) (wire: availableSlots) |
enabled_projects | array | (wire: enabledProjects) |
message | string | |
reason | string | (plan_not_supported) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | id_or_name | team_id, slug | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
id_or_name | string | Project ID or project name (URL-encoded) |
slug | string | The Team slug to perform the request on behalf of. |
team_id | string | The Team identifier to perform the request on behalf of. (wire: teamId) |
SELECT examples
- get
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 }}'
;