Skip to content

Commit 0d49c39

Browse files
authored
Merge pull request #144 from stackql/feature/doc-updates
Feature/doc updates
2 parents c329ddb + f179bd9 commit 0d49c39

File tree

622 files changed

+7431
-5835
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

622 files changed

+7431
-5835
lines changed

docs/digitalocean-docs/index.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ custom_edit_url: null
1313
image: /img/providers/digitalocean/stackql-digitalocean-provider-featured-image.png
1414
id: digitalocean-doc
1515
slug: /providers/digitalocean
16-
1716
---
17+
18+
import CopyableCode from '@site/src/components/CopyableCode/CopyableCode';
19+
1820
Cloud computing services and Infrastructure as a Service (IaaS).
1921

2022
:::info Provider Summary (v23.04.00139)
@@ -49,7 +51,7 @@ REGISTRY PULL digitalocean;
4951

5052
The following system environment variables are used for authentication by default:
5153

52-
- `DIGITALOCEAN_ACCESS_TOKEN` - DigitalOcean API token (see [How to Create a Personal Access Token](https://docs.digitalocean.com/reference/api/create-personal-access-token/))
54+
- <CopyableCode code="DIGITALOCEAN_ACCESS_TOKEN" /> - DigitalOcean API token (see [How to Create a Personal Access Token](https://docs.digitalocean.com/reference/api/create-personal-access-token/))
5355

5456
These variables are sourced at runtime (from the local machine or as CI variables/secrets).
5557

@@ -109,4 +111,4 @@ stackql.exe shell --auth=$Auth
109111
<a href="/providers/digitalocean/uptime/">uptime</a><br />
110112
<a href="/providers/digitalocean/vpcs/">vpcs</a><br />
111113
</div>
112-
</div>
114+
</div>

docs/digitalocean-docs/providers/digitalocean/account/account/index.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,29 +14,32 @@ description: Query, deploy and manage Sumologic resources using SQL
1414
custom_edit_url: null
1515
image: /img/providers/digitalocean/stackql-digitalocean-provider-featured-image.png
1616
---
17-
18-
17+
18+
import CopyableCode from '@site/src/components/CopyableCode/CopyableCode';
19+
20+
21+
1922

2023
## Overview
2124
<table><tbody>
2225
<tr><td><b>Name</b></td><td><code>account</code></td></tr>
2326
<tr><td><b>Type</b></td><td>Resource</td></tr>
24-
<tr><td><b>Id</b></td><td><code>digitalocean.account.account</code></td></tr>
27+
<tr><td><b>Id</b></td><td><CopyableCode code="digitalocean.account.account" /></td></tr>
2528
</tbody></table>
2629

2730
## Fields
2831
| Name | Datatype | Description |
2932
|:-----|:---------|:------------|
30-
| `email` | `string` | The email address used by the current user to register for DigitalOcean. |
31-
| `email_verified` | `boolean` | If true, the user has verified their account via email. False otherwise. |
32-
| `floating_ip_limit` | `integer` | The total number of Floating IPs the current user or team may have. |
33-
| `status` | `string` | This value is one of "active", "warning" or "locked". |
34-
| `status_message` | `string` | A human-readable message giving more details about the status of the account. |
35-
| `team` | `object` | When authorized in a team context, includes information about the current team. |
36-
| `uuid` | `string` | The unique universal identifier for the current user. |
37-
| `droplet_limit` | `integer` | The total number of Droplets current user or team may have active at one time. |
33+
| <CopyableCode code="droplet_limit" /> | `integer` | The total number of Droplets current user or team may have active at one time. |
34+
| <CopyableCode code="email" /> | `string` | The email address used by the current user to register for DigitalOcean. |
35+
| <CopyableCode code="email_verified" /> | `boolean` | If true, the user has verified their account via email. False otherwise. |
36+
| <CopyableCode code="floating_ip_limit" /> | `integer` | The total number of Floating IPs the current user or team may have. |
37+
| <CopyableCode code="status" /> | `string` | This value is one of "active", "warning" or "locked". |
38+
| <CopyableCode code="status_message" /> | `string` | A human-readable message giving more details about the status of the account. |
39+
| <CopyableCode code="team" /> | `object` | When authorized in a team context, includes information about the current team. |
40+
| <CopyableCode code="uuid" /> | `string` | The unique universal identifier for the current user. |
3841
## Methods
3942
| Name | Accessible by | Required Params |
4043
|:-----|:--------------|:----------------|
41-
| `get` | `SELECT` | |
42-
| `_get` | `EXEC` | |
44+
| <CopyableCode code="get" /> | `SELECT` | |
45+
| <CopyableCode code="_get" /> | `EXEC` | |

docs/digitalocean-docs/providers/digitalocean/account/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ description: Query, deploy and manage Sumologic resources using SQL
1313
custom_edit_url: null
1414
image: /img/providers/digitalocean/stackql-digitalocean-provider-featured-image.png
1515
---
16+
1617
Account
1718

1819
:::info Service Summary

docs/digitalocean-docs/providers/digitalocean/actions/actions/index.md

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,32 +14,35 @@ description: Query, deploy and manage Sumologic resources using SQL
1414
custom_edit_url: null
1515
image: /img/providers/digitalocean/stackql-digitalocean-provider-featured-image.png
1616
---
17-
18-
17+
18+
import CopyableCode from '@site/src/components/CopyableCode/CopyableCode';
19+
20+
21+
1922

2023
## Overview
2124
<table><tbody>
2225
<tr><td><b>Name</b></td><td><code>actions</code></td></tr>
2326
<tr><td><b>Type</b></td><td>Resource</td></tr>
24-
<tr><td><b>Id</b></td><td><code>digitalocean.actions.actions</code></td></tr>
27+
<tr><td><b>Id</b></td><td><CopyableCode code="digitalocean.actions.actions" /></td></tr>
2528
</tbody></table>
2629

2730
## Fields
2831
| Name | Datatype | Description |
2932
|:-----|:---------|:------------|
30-
| `id` | `integer` | A unique numeric ID that can be used to identify and reference an action. |
31-
| `resource_id` | `integer` | A unique identifier for the resource that the action is associated with. |
32-
| `completed_at` | `string` | A time value given in ISO8601 combined date and time format that represents when the action was completed. |
33-
| `status` | `string` | The current status of the action. This can be "in-progress", "completed", or "errored". |
34-
| `started_at` | `string` | A time value given in ISO8601 combined date and time format that represents when the action was initiated. |
35-
| `type` | `string` | This is the type of action that the object represents. For example, this could be "transfer" to represent the state of an image transfer action. |
36-
| `region` | `object` | |
37-
| `region_slug` | `string` | A human-readable string that is used as a unique identifier for each region. |
38-
| `resource_type` | `string` | The type of resource that the action is associated with. |
33+
| <CopyableCode code="id" /> | `integer` | A unique numeric ID that can be used to identify and reference an action. |
34+
| <CopyableCode code="completed_at" /> | `string` | A time value given in ISO8601 combined date and time format that represents when the action was completed. |
35+
| <CopyableCode code="region" /> | `object` | |
36+
| <CopyableCode code="region_slug" /> | `string` | A human-readable string that is used as a unique identifier for each region. |
37+
| <CopyableCode code="resource_id" /> | `integer` | A unique identifier for the resource that the action is associated with. |
38+
| <CopyableCode code="resource_type" /> | `string` | The type of resource that the action is associated with. |
39+
| <CopyableCode code="started_at" /> | `string` | A time value given in ISO8601 combined date and time format that represents when the action was initiated. |
40+
| <CopyableCode code="status" /> | `string` | The current status of the action. This can be "in-progress", "completed", or "errored". |
41+
| <CopyableCode code="type" /> | `string` | This is the type of action that the object represents. For example, this could be "transfer" to represent the state of an image transfer action. |
3942
## Methods
4043
| Name | Accessible by | Required Params | Description |
4144
|:-----|:--------------|:----------------|:------------|
42-
| `get` | `SELECT` | `action_id` | To retrieve a specific action object, send a GET request to `/v2/actions/$ACTION_ID`. |
43-
| `list` | `SELECT` | | This will be the entire list of actions taken on your account, so it will be quite large. As with any large collection returned by the API, the results will be paginated with only 20 on each page by default. |
44-
| `_get` | `EXEC` | `action_id` | To retrieve a specific action object, send a GET request to `/v2/actions/$ACTION_ID`. |
45-
| `_list` | `EXEC` | | This will be the entire list of actions taken on your account, so it will be quite large. As with any large collection returned by the API, the results will be paginated with only 20 on each page by default. |
45+
| <CopyableCode code="get" /> | `SELECT` | <CopyableCode code="action_id" /> | To retrieve a specific action object, send a GET request to `/v2/actions/$ACTION_ID`. |
46+
| <CopyableCode code="list" /> | `SELECT` | | This will be the entire list of actions taken on your account, so it will be quite large. As with any large collection returned by the API, the results will be paginated with only 20 on each page by default. |
47+
| <CopyableCode code="_get" /> | `EXEC` | <CopyableCode code="action_id" /> | To retrieve a specific action object, send a GET request to `/v2/actions/$ACTION_ID`. |
48+
| <CopyableCode code="_list" /> | `EXEC` | | This will be the entire list of actions taken on your account, so it will be quite large. As with any large collection returned by the API, the results will be paginated with only 20 on each page by default. |

docs/digitalocean-docs/providers/digitalocean/actions/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ description: Query, deploy and manage Sumologic resources using SQL
1313
custom_edit_url: null
1414
image: /img/providers/digitalocean/stackql-digitalocean-provider-featured-image.png
1515
---
16+
1617
Actions
1718

1819
:::info Service Summary

docs/digitalocean-docs/providers/digitalocean/apps/alerts/index.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,29 +14,32 @@ description: Query, deploy and manage Sumologic resources using SQL
1414
custom_edit_url: null
1515
image: /img/providers/digitalocean/stackql-digitalocean-provider-featured-image.png
1616
---
17-
18-
17+
18+
import CopyableCode from '@site/src/components/CopyableCode/CopyableCode';
19+
20+
21+
1922

2023
## Overview
2124
<table><tbody>
2225
<tr><td><b>Name</b></td><td><code>alerts</code></td></tr>
2326
<tr><td><b>Type</b></td><td>Resource</td></tr>
24-
<tr><td><b>Id</b></td><td><code>digitalocean.apps.alerts</code></td></tr>
27+
<tr><td><b>Id</b></td><td><CopyableCode code="digitalocean.apps.alerts" /></td></tr>
2528
</tbody></table>
2629

2730
## Fields
2831
| Name | Datatype |
2932
|:-----|:---------|
30-
| `id` | `string` |
31-
| `slack_webhooks` | `array` |
32-
| `spec` | `object` |
33-
| `component_name` | `string` |
34-
| `emails` | `array` |
35-
| `phase` | `string` |
36-
| `progress` | `object` |
33+
| <CopyableCode code="id" /> | `string` |
34+
| <CopyableCode code="component_name" /> | `string` |
35+
| <CopyableCode code="emails" /> | `array` |
36+
| <CopyableCode code="phase" /> | `string` |
37+
| <CopyableCode code="progress" /> | `object` |
38+
| <CopyableCode code="slack_webhooks" /> | `array` |
39+
| <CopyableCode code="spec" /> | `object` |
3740
## Methods
3841
| Name | Accessible by | Required Params | Description |
3942
|:-----|:--------------|:----------------|:------------|
40-
| `list_alerts` | `SELECT` | `app_id` | List alerts associated to the app and any components. This includes configuration information about the alerts including emails, slack webhooks, and triggering events or conditions. |
41-
| `_list_alerts` | `EXEC` | `app_id` | List alerts associated to the app and any components. This includes configuration information about the alerts including emails, slack webhooks, and triggering events or conditions. |
42-
| `assign_alertDestinations` | `EXEC` | `alert_id, app_id` | Updates the emails and slack webhook destinations for app alerts. Emails must be associated to a user with access to the app. |
43+
| <CopyableCode code="list_alerts" /> | `SELECT` | <CopyableCode code="app_id" /> | List alerts associated to the app and any components. This includes configuration information about the alerts including emails, slack webhooks, and triggering events or conditions. |
44+
| <CopyableCode code="_list_alerts" /> | `EXEC` | <CopyableCode code="app_id" /> | List alerts associated to the app and any components. This includes configuration information about the alerts including emails, slack webhooks, and triggering events or conditions. |
45+
| <CopyableCode code="assign_alertDestinations" /> | `EXEC` | <CopyableCode code="alert_id, app_id" /> | Updates the emails and slack webhook destinations for app alerts. Emails must be associated to a user with access to the app. |

docs/digitalocean-docs/providers/digitalocean/apps/apps/index.md

Lines changed: 32 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -14,45 +14,48 @@ description: Query, deploy and manage Sumologic resources using SQL
1414
custom_edit_url: null
1515
image: /img/providers/digitalocean/stackql-digitalocean-provider-featured-image.png
1616
---
17-
18-
17+
18+
import CopyableCode from '@site/src/components/CopyableCode/CopyableCode';
19+
20+
21+
1922

2023
## Overview
2124
<table><tbody>
2225
<tr><td><b>Name</b></td><td><code>apps</code></td></tr>
2326
<tr><td><b>Type</b></td><td>Resource</td></tr>
24-
<tr><td><b>Id</b></td><td><code>digitalocean.apps.apps</code></td></tr>
27+
<tr><td><b>Id</b></td><td><CopyableCode code="digitalocean.apps.apps" /></td></tr>
2528
</tbody></table>
2629

2730
## Fields
2831
| Name | Datatype | Description |
2932
|:-----|:---------|:------------|
30-
| `id` | `string` | |
31-
| `project_id` | `string` | |
32-
| `pending_deployment` | `object` | The most recent pending deployment. For CreateApp and UpdateApp transactions this is guaranteed to reflect the associated deployment. |
33-
| `domains` | `array` | |
34-
| `live_domain` | `string` | |
35-
| `last_deployment_created_at` | `string` | |
36-
| `tier_slug` | `string` | |
37-
| `region` | `object` | |
38-
| `pinned_deployment` | `object` | The deployment that the app is pinned to. |
39-
| `created_at` | `string` | |
40-
| `active_deployment` | `object` | |
41-
| `in_progress_deployment` | `object` | |
42-
| `default_ingress` | `string` | |
43-
| `owner_uuid` | `string` | |
44-
| `live_url_base` | `string` | |
45-
| `updated_at` | `string` | |
46-
| `live_url` | `string` | |
47-
| `spec` | `object` | The desired configuration of an application. |
33+
| <CopyableCode code="id" /> | `string` | |
34+
| <CopyableCode code="active_deployment" /> | `object` | |
35+
| <CopyableCode code="created_at" /> | `string` | |
36+
| <CopyableCode code="default_ingress" /> | `string` | |
37+
| <CopyableCode code="domains" /> | `array` | |
38+
| <CopyableCode code="in_progress_deployment" /> | `object` | |
39+
| <CopyableCode code="last_deployment_created_at" /> | `string` | |
40+
| <CopyableCode code="live_domain" /> | `string` | |
41+
| <CopyableCode code="live_url" /> | `string` | |
42+
| <CopyableCode code="live_url_base" /> | `string` | |
43+
| <CopyableCode code="owner_uuid" /> | `string` | |
44+
| <CopyableCode code="pending_deployment" /> | `object` | The most recent pending deployment. For CreateApp and UpdateApp transactions this is guaranteed to reflect the associated deployment. |
45+
| <CopyableCode code="pinned_deployment" /> | `object` | The deployment that the app is pinned to. |
46+
| <CopyableCode code="project_id" /> | `string` | |
47+
| <CopyableCode code="region" /> | `object` | |
48+
| <CopyableCode code="spec" /> | `object` | The desired configuration of an application. |
49+
| <CopyableCode code="tier_slug" /> | `string` | |
50+
| <CopyableCode code="updated_at" /> | `string` | |
4851
## Methods
4952
| Name | Accessible by | Required Params | Description |
5053
|:-----|:--------------|:----------------|:------------|
51-
| `get` | `SELECT` | `id` | Retrieve details about an existing app by either its ID or name. To retrieve an app by its name, do not include an ID in the request path. Information about the current active deployment as well as any in progress ones will also be included in the response. |
52-
| `list` | `SELECT` | | List all apps on your account. Information about the current active deployment as well as any in progress ones will also be included for each app. |
53-
| `create` | `INSERT` | `data__spec` | Create a new app by submitting an app specification. For documentation on app specifications (`AppSpec` objects), please refer to [the product documentation](https://docs.digitalocean.com/products/app-platform/reference/app-spec/). |
54-
| `delete` | `DELETE` | `id` | Delete an existing app. Once deleted, all active deployments will be permanently shut down and the app deleted. If needed, be sure to back up your app specification so that you may re-create it at a later time. |
55-
| `_get` | `EXEC` | `id` | Retrieve details about an existing app by either its ID or name. To retrieve an app by its name, do not include an ID in the request path. Information about the current active deployment as well as any in progress ones will also be included in the response. |
56-
| `_list` | `EXEC` | | List all apps on your account. Information about the current active deployment as well as any in progress ones will also be included for each app. |
57-
| `update` | `EXEC` | `id, data__spec` | Update an existing app by submitting a new app specification. For documentation on app specifications (`AppSpec` objects), please refer to [the product documentation](https://docs.digitalocean.com/products/app-platform/reference/app-spec/). |
58-
| `validate_appSpec` | `EXEC` | `data__spec` | To propose and validate a spec for a new or existing app, send a POST request to the `/v2/apps/propose` endpoint. The request returns some information about the proposed app, including app cost and upgrade cost. If an existing app ID is specified, the app spec is treated as a proposed update to the existing app. |
54+
| <CopyableCode code="get" /> | `SELECT` | <CopyableCode code="id" /> | Retrieve details about an existing app by either its ID or name. To retrieve an app by its name, do not include an ID in the request path. Information about the current active deployment as well as any in progress ones will also be included in the response. |
55+
| <CopyableCode code="list" /> | `SELECT` | | List all apps on your account. Information about the current active deployment as well as any in progress ones will also be included for each app. |
56+
| <CopyableCode code="create" /> | `INSERT` | <CopyableCode code="data__spec" /> | Create a new app by submitting an app specification. For documentation on app specifications (`AppSpec` objects), please refer to [the product documentation](https://docs.digitalocean.com/products/app-platform/reference/app-spec/). |
57+
| <CopyableCode code="delete" /> | `DELETE` | <CopyableCode code="id" /> | Delete an existing app. Once deleted, all active deployments will be permanently shut down and the app deleted. If needed, be sure to back up your app specification so that you may re-create it at a later time. |
58+
| <CopyableCode code="_get" /> | `EXEC` | <CopyableCode code="id" /> | Retrieve details about an existing app by either its ID or name. To retrieve an app by its name, do not include an ID in the request path. Information about the current active deployment as well as any in progress ones will also be included in the response. |
59+
| <CopyableCode code="_list" /> | `EXEC` | | List all apps on your account. Information about the current active deployment as well as any in progress ones will also be included for each app. |
60+
| <CopyableCode code="update" /> | `EXEC` | <CopyableCode code="id, data__spec" /> | Update an existing app by submitting a new app specification. For documentation on app specifications (`AppSpec` objects), please refer to [the product documentation](https://docs.digitalocean.com/products/app-platform/reference/app-spec/). |
61+
| <CopyableCode code="validate_appSpec" /> | `EXEC` | <CopyableCode code="data__spec" /> | To propose and validate a spec for a new or existing app, send a POST request to the `/v2/apps/propose` endpoint. The request returns some information about the proposed app, including app cost and upgrade cost. If an existing app ID is specified, the app spec is treated as a proposed update to the existing app. |

0 commit comments

Comments
 (0)