Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions provider-dev/docgen/provider-data/headerContent2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@ stackql.exe shell --auth=$Auth
```
</details>

## Compute inventory
## Example Queries

Try the following queries using `stackql shell`, or run them from a script or CI pipeline with `stackql exec`.

### Compute inventory

All Linode instances on your account, with placement, plan and status:

Expand All @@ -56,7 +60,7 @@ SELECT
FROM linode.linode.instances;
```

## Find the right plan and region
### Find the right plan and region

The plan catalog with pricing - `price` is an object, so project the hourly and monthly rates with `json_extract`:

Expand Down Expand Up @@ -96,7 +100,7 @@ FROM linode.images.images
WHERE vendor = 'Debian';
```

## Launch a Linode
### Launch a Linode

`INSERT` columns are the native Linode API body properties (no prefixes). This launches the smallest available plan running Debian 12:

Expand Down Expand Up @@ -139,7 +143,7 @@ DELETE FROM linode.linode.instances
WHERE linodeId = 12345678;
```

## Storage
### Storage

Block storage volumes and Object Storage buckets across the account:

Expand All @@ -162,7 +166,7 @@ SELECT
FROM linode.object_storage.buckets;
```

## Kubernetes
### Kubernetes

LKE clusters on the account:

Expand All @@ -175,7 +179,7 @@ SELECT
FROM linode.lke.clusters;
```

## Account and billing
### Account and billing

Your account standing at a glance:

Expand Down
16 changes: 10 additions & 6 deletions website/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ stackql.exe shell --auth=$Auth
```
</details>

## Compute inventory
## Example Queries

Try the following queries using `stackql shell`, or run them from a script or CI pipeline with `stackql exec`.

### Compute inventory

All Linode instances on your account, with placement, plan and status:

Expand All @@ -83,7 +87,7 @@ SELECT
FROM linode.linode.instances;
```

## Find the right plan and region
### Find the right plan and region

The plan catalog with pricing - `price` is an object, so project the hourly and monthly rates with `json_extract`:

Expand Down Expand Up @@ -123,7 +127,7 @@ FROM linode.images.images
WHERE vendor = 'Debian';
```

## Launch a Linode
### Launch a Linode

`INSERT` columns are the native Linode API body properties (no prefixes). This launches the smallest available plan running Debian 12:

Expand Down Expand Up @@ -166,7 +170,7 @@ DELETE FROM linode.linode.instances
WHERE linodeId = 12345678;
```

## Storage
### Storage

Block storage volumes and Object Storage buckets across the account:

Expand All @@ -189,7 +193,7 @@ SELECT
FROM linode.object_storage.buckets;
```

## Kubernetes
### Kubernetes

LKE clusters on the account:

Expand All @@ -202,7 +206,7 @@ SELECT
FROM linode.lke.clusters;
```

## Account and billing
### Account and billing

Your account standing at a glance:

Expand Down