DBaaS Opensearch
Opensearch, the popular open-source search and analytics database.
update-dbaas-opensearch-acl-config
Create a DBaaS OpenSearch ACL configuration
PUT /dbaas-opensearch/{name}/acl-confignull
Path parameters
nameinpath(required)
Request body
application/jsonacls(array[object]): List of OpenSearch ACLs - schema detailsacl-enabled(boolean): Enable OpenSearch ACLs. When disabled authenticated service users have unrestricted access.extended-acl-enabled(boolean): Enable to enforce index rules in a limited fashion for requests that use the _mget, _msearch, and _bulk APIs
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for update-dbaas-opensearch-acl-config: golang | Python | Java
CLI: exo api update-dbaas-opensearch-acl-config
get-dbaas-opensearch-acl-config
Get DBaaS OpenSearch ACL configuration
GET /dbaas-opensearch/{name}/acl-confignull
Path parameters
nameinpath(required)
Responses
200: 200application/jsonacls(array[object]): List of OpenSearch ACLs - schema detailsacl-enabled(boolean): Enable OpenSearch ACLs. When disabled authenticated service users have unrestricted access.extended-acl-enabled(boolean): Enable to enforce index rules in a limited fashion for requests that use the _mget, _msearch, and _bulk APIs
SDK reference for get-dbaas-opensearch-acl-config: golang | Python | Java
CLI: exo api get-dbaas-opensearch-acl-config
create-dbaas-opensearch-user
Create a DBaaS OpenSearch user
POST /dbaas-opensearch/{service-name}/usernull
Path parameters
service-nameinpath(required)
Request body
application/jsonusername(required) (string)
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for create-dbaas-opensearch-user: golang | Python | Java
CLI: exo api create-dbaas-opensearch-user
delete-dbaas-opensearch-user
Delete a DBaaS OpenSearch user
DELETE /dbaas-opensearch/{service-name}/user/{username}null
Path parameters
service-nameinpath(required)usernameinpath(required)
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for delete-dbaas-opensearch-user: golang | Python | Java
CLI: exo api delete-dbaas-opensearch-user
reveal-dbaas-opensearch-user-password
Reveal the secrets of a DBaaS OpenSearch user
GET /dbaas-opensearch/{service-name}/user/{username}/password/revealnull
Path parameters
service-nameinpath(required)usernameinpath(required)
Responses
200: 200application/jsonusername(string): Opensearch usernamepassword(string): Opensearch password
SDK reference for reveal-dbaas-opensearch-user-password: golang | Python | Java
CLI: exo api reveal-dbaas-opensearch-user-password
reset-dbaas-opensearch-user-password
Reset the credentials of a DBaaS OpenSearch user
PUT /dbaas-opensearch/{service-name}/user/{username}/password/resetIf no password is provided one will be generated automatically.
Path parameters
service-nameinpath(required)usernameinpath(required)
Request body
application/jsonpassword(string)
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for reset-dbaas-opensearch-user-password: golang | Python | Java
CLI: exo api reset-dbaas-opensearch-user-password
create-dbaas-service-opensearch
Create a DBaaS OpenSearch service
POST /dbaas-opensearch/{name}Create a DBaaS OpenSearch service
Path parameters
nameinpath(required)
Request body
application/jsonmax-index-count(integer): Maximum number of indexes to keep before deleting the oldest onekeep-index-refresh-interval(boolean): Aiven automation resets index.refresh_interval to default value for every index to be sure that indices are always visible to search. If it doesn’t fit your case, you can disable this by setting up this flag to true.ip-filter(array[string]): Allow incoming connections from CIDR address block, e.g. ‘10.20.0.0/16’termination-protection(boolean): Service is protected against termination and powering offfork-from-service(string)index-patterns(array[object]): Allows you to create glob style patterns and set a max number of indexes matching this pattern you want to keep. Creating indexes exceeding this value will cause the oldest one to get deleted. You could for example create a pattern looking like ’logs.?’ and then create index logs.1, logs.2 etc, it will delete logs.1 once you create logs.6. Do note ’logs.?’ does not apply to logs.10. Note: Setting max_index_count to 0 will do nothing and the pattern gets ignored. - schema detailsmaintenance(object): Automatic maintenance settings - schema detailsindex-template(object): Template settings for all new indexes - schema detailsopensearch-settings(object) - schema detailsversion(string): OpenSearch major versionrecovery-backup-name(string): Name of a backup to recover from for services that support backup namesplan(required) (string): Subscription planopensearch-dashboards(object): OpenSearch Dashboards settings - schema details
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for create-dbaas-service-opensearch: golang | Python | Java
CLI: exo api create-dbaas-service-opensearch
get-dbaas-service-opensearch
Get a DBaaS OpenSearch service
GET /dbaas-opensearch/{name}Get a DBaaS OpenSearch service
Path parameters
nameinpath(required)
Responses
200: 200application/jsondescription(string): DbaaS service descriptionmax-index-count(integer): Maximum number of indexes to keep before deleting the oldest oneupdated-at(string): Service last update timestamp (ISO 8601)node-count(integer): Number of service nodes in the active planconnection-info(object): Opensearch connection information properties - schema detailsnode-cpu-count(integer): Number of CPUs for each nodeprometheus-uri(object): Prometheus integration URI - schema detailsintegrations(array[object]): Service integrations - schema detailszone(string): The zone where the service is runningnode-states(array[object]): State of individual service nodes - schema detailsname(string)keep-index-refresh-interval(boolean): Aiven automation resets index.refresh_interval to default value for every index to be sure that indices are always visible to search. If it doesn’t fit your case, you can disable this by setting up this flag to true.type(string)state(string)ip-filter(array[string]): Allowed CIDR address blocks for incoming connectionsbackups(array[object]): List of backups for the service - schema detailstermination-protection(boolean): Service is protected against termination and powering offnotifications(array[object]): Service notifications - schema detailscomponents(array[object]): Service component information objects - schema detailsindex-patterns(array[object]): Allows you to create glob style patterns and set a max number of indexes matching this pattern you want to keep. Creating indexes exceeding this value will cause the oldest one to get deleted. You could for example create a pattern looking like ’logs.?’ and then create index logs.1, logs.2 etc, it will delete logs.1 once you create logs.6. Do note ’logs.?’ does not apply to logs.10. Note: Setting max_index_count to 0 will do nothing and the pattern gets ignored. - schema detailsmaintenance(object): Automatic maintenance settings - schema detailsindex-template(object): Template settings for all new indexes - schema detailsdisk-size(integer): TODO UNIT disk space for data storagenode-memory(integer): TODO UNIT of memory for each nodeuri(string): URI for connecting to the service (may be absent)opensearch-settings(object) - schema detailsuri-params(object): service_uri parameterized into key-value pairsversion(string): OpenSearch versioncreated-at(string): Service creation timestamp (ISO 8601)plan(string): Subscription planopensearch-dashboards(object): OpenSearch Dashboards settings - schema detailsusers(array[object]): List of service users - schema details
SDK reference for get-dbaas-service-opensearch: golang | Python | Java
CLI: exo api get-dbaas-service-opensearch
update-dbaas-service-opensearch
Update a DBaaS OpenSearch service
PUT /dbaas-opensearch/{name}Update a DBaaS OpenSearch service
Path parameters
nameinpath(required)
Request body
application/jsonmax-index-count(integer): Maximum number of indexes to keep before deleting the oldest onekeep-index-refresh-interval(boolean): Aiven automation resets index.refresh_interval to default value for every index to be sure that indices are always visible to search. If it doesn’t fit your case, you can disable this by setting up this flag to true.ip-filter(array[string]): Allow incoming connections from CIDR address block, e.g. ‘10.20.0.0/16’termination-protection(boolean): Service is protected against termination and powering offindex-patterns(array[object]): Allows you to create glob style patterns and set a max number of indexes matching this pattern you want to keep. Creating indexes exceeding this value will cause the oldest one to get deleted. You could for example create a pattern looking like ’logs.?’ and then create index logs.1, logs.2 etc, it will delete logs.1 once you create logs.6. Do note ’logs.?’ does not apply to logs.10. Note: Setting max_index_count to 0 will do nothing and the pattern gets ignored. - schema detailsmaintenance(object): Automatic maintenance settings - schema detailsindex-template(object): Template settings for all new indexes - schema detailsopensearch-settings(object) - schema detailsversion(string): Versionplan(string): Subscription planopensearch-dashboards(object): OpenSearch Dashboards settings - schema details
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for update-dbaas-service-opensearch: golang | Python | Java
CLI: exo api update-dbaas-service-opensearch
delete-dbaas-service-opensearch
Delete a OpenSearch service
DELETE /dbaas-opensearch/{name}null
Path parameters
nameinpath(required)
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for delete-dbaas-service-opensearch: golang | Python | Java
CLI: exo api delete-dbaas-service-opensearch
Other Operations
start-dbaas-opensearch-maintenance
Initiate OpenSearch maintenance update
PUT /dbaas-opensearch/{name}/maintenance/startnull
Path parameters
nameinpath(required)
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for start-dbaas-opensearch-maintenance: golang | Python | Java
CLI: exo api start-dbaas-opensearch-maintenance
get-dbaas-settings-opensearch
Get DBaaS OpenSearch settings
GET /dbaas-settings-opensearchGet DBaaS OpenSearch settings
Responses
200: 200application/jsonsettings(object) - schema details
SDK reference for get-dbaas-settings-opensearch: golang | Python | Java
CLI: exo api get-dbaas-settings-opensearch