Scaleway logo
Commands

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.

Manage your Cloud Essentials for OpenSearch deployment.

Create a new Cloud Essentials for OpenSearch deployment

Create a new Cloud Essentials for OpenSearch deployment.

Usage:

TerminalCode
scw searchdb deployment create [arg=value ...]

Arguments:

NameDescriptionArgument Specifications
project-idProject ID to use. If none is passed the default project ID will be used
nameName of the deployment
tags.{index}Tags
node-amountDEPRECATED: Use node_count instead. Number of nodesDeprecated
node-countNumber of nodes.
node-typeNode type
user-nameUsername for the deployment user
passwordPassword for the deployment user
volume.typeDefine the type of the VolumeOne of: unknown_type, sbs_5k, sbs_15k
volume.size-bytesDefine the size of the Volume
endpoints.{index}.public
endpoints.{index}.private-network.private-network-id
versionThe Opensearch version to use
regionRegion to target. If none is passed will use default region from the configDefault: fr-par
One of: fr-par

Delete a Cloud Essentials for OpenSearch deployment

Delete a Cloud Essentials for OpenSearch deployment.

Usage:

TerminalCode
scw searchdb deployment delete [arg=value ...]

Arguments:

NameDescriptionArgument Specifications
deployment-idID of the deploymentRequired
regionRegion to target. If none is passed will use default region from the configDefault: fr-par
One of: fr-par

Retrieve a specific Cloud Essentials for OpenSearch deployment

Retrieve a specific Cloud Essentials for OpenSearch deployment.

Usage:

TerminalCode
scw searchdb deployment get [arg=value ...]

Arguments:

NameDescriptionArgument Specifications
deployment-idID of the deploymentRequired
regionRegion to target. If none is passed will use default region from the configDefault: fr-par
One of: fr-par

Retrieve a list of Cloud Essentials for OpenSearch deployments

Retrieve a list of Cloud Essentials for OpenSearch deployments.

Usage:

TerminalCode
scw searchdb deployment list [arg=value ...]

Arguments:

NameDescriptionArgument Specifications
project-idID of the Project containing the deployments
order-byDefine the order of the returned deploymentsOne of: created_at_asc, created_at_desc, name_asc, name_desc, updated_at_asc, updated_at_desc
tags.{index}Filter by tag, only deployments with one or more matching tags will be returned
nameDeployment name to filter for
organization-idID of the Organization containing the deployments
regionRegion to target. If none is passed will use default region from the configDefault: fr-par
One of: fr-par, all

Update a Cloud Essentials for OpenSearch deployment

Update a Cloud Essentials for OpenSearch deployment.

Usage:

TerminalCode
scw searchdb deployment update [arg=value ...]

Arguments:

NameDescriptionArgument Specifications
deployment-idUUID of the deployment to updateRequired
nameName of the deployment
tags.{index}Tags of a deployment
regionRegion to target. If none is passed will use default region from the configDefault: fr-par
One of: fr-par

Upgrade a Cloud Essentials for OpenSearch deployment

Upgrade a Cloud Essentials for OpenSearch deployment.

Usage:

TerminalCode
scw searchdb deployment upgrade [arg=value ...]

Arguments:

NameDescriptionArgument Specifications
deployment-idUUID of the Deployment to upgradeRequired
node-amountDEPRECATED: Use node_count instead. Amount of node upgrade targetDeprecated
node-countThe target number of nodes for the upgrade.
volume-size-bytesVolume size upgrade target
regionRegion to target. If none is passed will use default region from the configDefault: fr-par
One of: fr-par

Manage your Cloud Essentials for OpenSearch deployment endpoint.

Create a new endpoint on a deployment

Create a new endpoint on a deployment.

Usage:

TerminalCode
scw searchdb endpoint create [arg=value ...]

Arguments:

NameDescriptionArgument Specifications
deployment-idID of the deployment for which to create an endpoint
endpoint-spec.public
endpoint-spec.private-network.private-network-id
regionRegion to target. If none is passed will use default region from the configDefault: fr-par
One of: fr-par

Delete an existing endpoint

Delete an existing endpoint.

Usage:

TerminalCode
scw searchdb endpoint delete [arg=value ...]

Arguments:

NameDescriptionArgument Specifications
endpoint-idID of the endpoint to deleteRequired
regionRegion to target. If none is passed will use default region from the configDefault: fr-par
One of: fr-par

List available node types.

Retrieve a list of available node types

Retrieve a list of available node types.

Usage:

TerminalCode
scw searchdb node-types list [arg=value ...]

Arguments:

NameDescriptionArgument Specifications
order-bySort order of nodes in the response (name, vcpus or memory)One of: name_asc, name_desc, vcpus_asc, vcpus_desc, memory_asc, memory_desc
regionRegion to target. If none is passed will use default region from the configDefault: fr-par
One of: fr-par, all

Manage your Cloud Essentials for OpenSearch deployment users.

Create a new user

Create a new user.

Usage:

TerminalCode
scw searchdb user create [arg=value ...]

Arguments:

NameDescriptionArgument Specifications
deployment-idID of the deployment in which to create the userRequired
usernameUsername of the deployment user
passwordPassword of the deployment user
regionRegion to target. If none is passed will use default region from the configDefault: fr-par
One of: fr-par

Delete an existing user

Delete an existing user.

Usage:

TerminalCode
scw searchdb user delete [arg=value ...]

Arguments:

NameDescriptionArgument Specifications
deployment-idID of the deployment in which to create the userRequired
usernameUsername of the deployment userRequired
regionRegion to target. If none is passed will use default region from the configDefault: fr-par
One of: fr-par

Retrieve a list of deployment users

Retrieve a list of deployment users.

Usage:

TerminalCode
scw searchdb user list [arg=value ...]

Arguments:

NameDescriptionArgument Specifications
order-byOne of: name_asc, name_desc
name
deployment-idRequired
regionRegion to target. If none is passed will use default region from the configDefault: fr-par
One of: fr-par, all

Update an existing user

Update an existing user.

Usage:

TerminalCode
scw searchdb user update [arg=value ...]

Arguments:

NameDescriptionArgument Specifications
deployment-idID of the deployment in which to create the userRequired
usernameUsername of the deployment userRequired
passwordPassword of the deployment user
regionRegion to target. If none is passed will use default region from the configDefault: fr-par
One of: fr-par

List your Cloud Essentials for OpenSearch versions.

List available Cloud Essentials for OpenSearch versions

List available Cloud Essentials for OpenSearch versions.

Usage:

TerminalCode
scw searchdb versions list [arg=value ...]

Arguments:

NameDescriptionArgument Specifications
order-byDefine the order of the returned versionOne of: version_asc, version_desc
versionFilter by version
regionRegion to target. If none is passed will use default region from the configDefault: fr-par
One of: fr-par, all