kibana/docs/development/core/server/kibana-plugin-server.savedobjectscreateoptions.md
Gidi Meir Morris 2ac82dec61
[Saved Objects] Adds support for custom Refresh settings on mutating operations (#48932)
Adds the ability to override the Refresh setting of mutating operations (Update, Delete, Bulk, Index) of Saved Objects.
2019-10-25 08:28:55 +01:00

1.5 KiB

Home > kibana-plugin-server > SavedObjectsCreateOptions

SavedObjectsCreateOptions interface

Signature:

export interface SavedObjectsCreateOptions extends SavedObjectsBaseOptions 

Properties

Property Type Description
id string (not recommended) Specify an id for the document
migrationVersion SavedObjectsMigrationVersion Information about the migrations that have been applied to this SavedObject. When Kibana starts up, KibanaMigrator detects outdated documents and migrates them based on this value. For each migration that has been applied, the plugin's name is used as a key and the latest migration version as the value.
overwrite boolean Overwrite existing documents (defaults to false)
references SavedObjectReference[]
refresh MutatingOperationRefreshSetting The Elasticsearch Refresh setting for this operation