subscriptions
Creates, updates, deletes, gets or lists a subscriptions
resource.
Overview
Name | subscriptions |
Type | Resource |
Id | linode.longview.subscriptions |
Fields
The following fields are returned by SELECT
queries:
- get_longview_subscription
- get_longview_subscriptions
The requested Longview Subscription details.
Name | Datatype | Description |
---|---|---|
id | string | Read-only The unique ID of this Subscription tier. (example: longview-10) |
clients_included | integer | Read-only The number of Longview Clients that may be created with this Subscription tier. |
label | string | Read-only A display name for this Subscription tier. (example: Longview Pro 10 pack) |
price | object | Read-only Pricing information about this Subscription tier. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get_longview_subscription | select | Get the Longview plan details as a single LongviewSubscription object for the provided subscription ID. This is a public endpoint and requires no authentication.Learn more... | ||
get_longview_subscriptions | select | page , page_size | Returns a paginated list of available Longview Subscriptions. This is a public endpoint and requires no authentication. Learn more... |
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 |
---|---|---|
page | integer | The page of a collection to return. |
page_size | integer | The number of items to return per page. |
SELECT
examples
- get_longview_subscription
- get_longview_subscriptions
Get the Longview plan details as a single LongviewSubscription
object for the provided subscription ID. This is a public endpoint and requires no authentication.
Learn more...
SELECT
id,
clients_included,
label,
price
FROM linode.longview.subscriptions;
Returns a paginated list of available Longview Subscriptions. This is a public endpoint and requires no authentication.
Learn more...
SELECT
data,
page,
pages,
results
FROM linode.longview.subscriptions
WHERE page = '{{ page }}'
AND page_size = '{{ page_size }}';