Skip to main content

subscriptions

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

Overview

Namesubscriptions
TypeResource
Idlinode.longview.subscriptions

Fields

The following fields are returned by SELECT queries:

The requested Longview Subscription details.

NameDatatypeDescription
idstringRead-only The unique ID of this Subscription tier. (example: longview-10)
clients_includedintegerRead-only The number of Longview Clients that may be created with this Subscription tier.
labelstringRead-only A display name for this Subscription tier. (example: Longview Pro 10 pack)
priceobjectRead-only Pricing information about this Subscription tier.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_longview_subscriptionselectGet 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_subscriptionsselectpage, page_sizeReturns 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.

NameDatatypeDescription
pageintegerThe page of a collection to return.
page_sizeintegerThe number of items to return per page.

SELECT examples

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;