Documentation for `scw searchdb`
The CLI documentation pages are currently under construction
The content is up to date. We're making improvements to the site over the next few weeks for a better experience.
Cloud Essentials for Opensearch API.
-
- Create a new Cloud Essentials for OpenSearch deployment
- Delete a Cloud Essentials for OpenSearch deployment
- Retrieve a specific Cloud Essentials for OpenSearch deployment
- Retrieve a list of Cloud Essentials for OpenSearch deployments
- Update a Cloud Essentials for OpenSearch deployment
- Upgrade a Cloud Essentials for OpenSearch deployment
Manage your Cloud Essentials for OpenSearch deployment.
Create a new Cloud Essentials for OpenSearch deployment
Create a new Cloud Essentials for OpenSearch deployment.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| project-id | Project ID to use. If none is passed the default project ID will be used | |
| name | Name of the deployment | |
| tags.{index} | Tags | |
| Deprecated | DEPRECATED: Use node_count instead. Number of nodes | |
| node-count | Number of nodes. | |
| node-type | Node type | |
| user-name | Username for the deployment user | |
| password | Password for the deployment user | |
| volume.type | One of: unknown_type, sbs_5k, sbs_15k | Define the type of the Volume |
| volume.size-bytes | Define the size of the Volume | |
| endpoints.{index}.private-network.private-network-id | ||
| version | The Opensearch version to use | |
| region | Default: fr-parOne of: fr-par | Region to target. If none is passed will use default region from the config |
Delete a Cloud Essentials for OpenSearch deployment
Delete a Cloud Essentials for OpenSearch deployment.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| deployment-id | Required | ID of the deployment |
| region | Default: fr-parOne of: fr-par | Region to target. If none is passed will use default region from the config |
Retrieve a specific Cloud Essentials for OpenSearch deployment
Retrieve a specific Cloud Essentials for OpenSearch deployment.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| deployment-id | Required | ID of the deployment |
| region | Default: fr-parOne of: fr-par | Region to target. If none is passed will use default region from the config |
Retrieve a list of Cloud Essentials for OpenSearch deployments
Retrieve a list of Cloud Essentials for OpenSearch deployments.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| project-id | ID of the Project containing the deployments | |
| order-by | One of: created_at_asc, created_at_desc, name_asc, name_desc, updated_at_asc, updated_at_desc | Define the order of the returned deployments |
| tags.{index} | Filter by tag, only deployments with one or more matching tags will be returned | |
| name | Deployment name to filter for | |
| organization-id | ID of the Organization containing the deployments | |
| region | Default: fr-parOne of: fr-par, all | Region to target. If none is passed will use default region from the config |
Update a Cloud Essentials for OpenSearch deployment
Update a Cloud Essentials for OpenSearch deployment.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| deployment-id | Required | UUID of the deployment to update |
| name | Name of the deployment | |
| tags.{index} | Tags of a deployment | |
| region | Default: fr-parOne of: fr-par | Region to target. If none is passed will use default region from the config |
Upgrade a Cloud Essentials for OpenSearch deployment
Upgrade a Cloud Essentials for OpenSearch deployment.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| deployment-id | Required | UUID of the Deployment to upgrade |
| Deprecated | DEPRECATED: Use node_count instead. Amount of node upgrade target | |
| node-count | The target number of nodes for the upgrade. | |
| volume-size-bytes | Volume size upgrade target | |
| region | Default: fr-parOne of: fr-par | Region to target. If none is passed will use default region from the config |
Manage your Cloud Essentials for OpenSearch deployment endpoint.
Create a new endpoint on a deployment
Create a new endpoint on a deployment.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| deployment-id | ID of the deployment for which to create an endpoint | |
| endpoint-spec.private-network.private-network-id | ||
| region | Default: fr-parOne of: fr-par | Region to target. If none is passed will use default region from the config |
Delete an existing endpoint
Delete an existing endpoint.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| endpoint-id | Required | ID of the endpoint to delete |
| region | Default: fr-parOne of: fr-par | Region to target. If none is passed will use default region from the config |
List available node types.
Retrieve a list of available node types
Retrieve a list of available node types.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| order-by | One of: name_asc, name_desc, vcpus_asc, vcpus_desc, memory_asc, memory_desc | Sort order of nodes in the response (name, vcpus or memory) |
| region | Default: fr-parOne of: fr-par, all | Region to target. If none is passed will use default region from the config |
Manage your Cloud Essentials for OpenSearch deployment users.
Create a new user
Create a new user.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| deployment-id | Required | ID of the deployment in which to create the user |
| username | Username of the deployment user | |
| password | Password of the deployment user | |
| region | Default: fr-parOne of: fr-par | Region to target. If none is passed will use default region from the config |
Delete an existing user
Delete an existing user.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| deployment-id | Required | ID of the deployment in which to create the user |
| username | Required | Username of the deployment user |
| region | Default: fr-parOne of: fr-par | Region to target. If none is passed will use default region from the config |
Retrieve a list of deployment users
Retrieve a list of deployment users.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| order-by | One of: name_asc, name_desc | |
| name | ||
| deployment-id | Required | |
| region | Default: fr-parOne of: fr-par, all | Region to target. If none is passed will use default region from the config |
Update an existing user
Update an existing user.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| deployment-id | Required | ID of the deployment in which to create the user |
| username | Required | Username of the deployment user |
| password | Password of the deployment user | |
| region | Default: fr-parOne of: fr-par | Region to target. If none is passed will use default region from the config |
List your Cloud Essentials for OpenSearch versions.
List available Cloud Essentials for OpenSearch versions
List available Cloud Essentials for OpenSearch versions.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| order-by | One of: version_asc, version_desc | Define the order of the returned version |
| version | Filter by version | |
| region | Default: fr-parOne of: fr-par, all | Region to target. If none is passed will use default region from the config |