@@ -20,6 +20,7 @@ export class DocLinksService {
2020 const DOC_LINK_VERSION = injectedMetadata . getKibanaBranch ( ) ;
2121 const ELASTIC_WEBSITE_URL = 'https://www.elastic.co/' ;
2222 const ELASTICSEARCH_DOCS = `${ ELASTIC_WEBSITE_URL } guide/en/elasticsearch/reference/${ DOC_LINK_VERSION } /` ;
23+ const PLUGIN_DOCS = `${ ELASTIC_WEBSITE_URL } guide/en/elasticsearch/plugins/${ DOC_LINK_VERSION } /` ;
2324
2425 return deepFreeze ( {
2526 DOC_LINK_VERSION ,
@@ -126,6 +127,7 @@ export class DocLinksService {
126127 addData : `${ ELASTIC_WEBSITE_URL } guide/en/kibana/${ DOC_LINK_VERSION } /connect-to-elasticsearch.html` ,
127128 kibana : `${ ELASTIC_WEBSITE_URL } guide/en/kibana/${ DOC_LINK_VERSION } /index.html` ,
128129 elasticsearch : {
130+ indexModules : `${ ELASTICSEARCH_DOCS } index-modules.html` ,
129131 mapping : `${ ELASTICSEARCH_DOCS } mapping.html` ,
130132 remoteClusters : `${ ELASTICSEARCH_DOCS } modules-remote-clusters.html` ,
131133 remoteClustersProxy : `${ ELASTICSEARCH_DOCS } modules-remote-clusters.html#proxy-mode` ,
@@ -145,6 +147,7 @@ export class DocLinksService {
145147 } ,
146148 date : {
147149 dateMath : `${ ELASTICSEARCH_DOCS } common-options.html#date-math` ,
150+ dateMathIndexNames : `${ ELASTICSEARCH_DOCS } date-math-index-names.html` ,
148151 } ,
149152 management : {
150153 kibanaSearchSettings : `${ ELASTIC_WEBSITE_URL } guide/en/kibana/${ DOC_LINK_VERSION } /advanced-options.html#kibana-search-settings` ,
@@ -239,16 +242,34 @@ export class DocLinksService {
239242 createApiKey : `${ ELASTICSEARCH_DOCS } security-api-create-api-key.html` ,
240243 createPipeline : `${ ELASTICSEARCH_DOCS } put-pipeline-api.html` ,
241244 createTransformRequest : `${ ELASTICSEARCH_DOCS } put-transform.html#put-transform-request-body` ,
245+ cronExpressions : `${ ELASTICSEARCH_DOCS } cron-expressions.html` ,
242246 executeWatchActionModes : `${ ELASTICSEARCH_DOCS } watcher-api-execute-watch.html#watcher-api-execute-watch-action-mode` ,
243247 indexExists : `${ ELASTICSEARCH_DOCS } indices-exists.html` ,
244248 openIndex : `${ ELASTICSEARCH_DOCS } indices-open-close.html` ,
245249 putComponentTemplate : `${ ELASTICSEARCH_DOCS } indices-component-template.html` ,
246250 painlessExecute : `${ ELASTIC_WEBSITE_URL } guide/en/elasticsearch/painless/${ DOC_LINK_VERSION } /painless-execute-api.html` ,
247251 painlessExecuteAPIContexts : `${ ELASTIC_WEBSITE_URL } guide/en/elasticsearch/painless/${ DOC_LINK_VERSION } /painless-execute-api.html#_contexts` ,
248252 putComponentTemplateMetadata : `${ ELASTICSEARCH_DOCS } indices-component-template.html#component-templates-metadata` ,
253+ putSnapshotLifecyclePolicy : `${ ELASTICSEARCH_DOCS } slm-api-put-policy.html` ,
249254 putWatch : `${ ELASTICSEARCH_DOCS } /watcher-api-put-watch.html` ,
250255 updateTransform : `${ ELASTICSEARCH_DOCS } update-transform.html` ,
251256 } ,
257+ plugins : {
258+ azureRepo : `${ PLUGIN_DOCS } repository-azure.html` ,
259+ gcsRepo : `${ PLUGIN_DOCS } repository-gcs.html` ,
260+ hdfsRepo : `${ PLUGIN_DOCS } repository-hdfs.html` ,
261+ s3Repo : `${ PLUGIN_DOCS } repository-s3.html` ,
262+ snapshotRestoreRepos : `${ PLUGIN_DOCS } repository.html` ,
263+ } ,
264+ snapshotRestore : {
265+ guide : `${ ELASTICSEARCH_DOCS } snapshot-restore.html` ,
266+ changeIndexSettings : `${ ELASTICSEARCH_DOCS } snapshots-restore-snapshot.html#change-index-settings-during-restore` ,
267+ createSnapshot : `${ ELASTICSEARCH_DOCS } snapshots-take-snapshot.html` ,
268+ registerSharedFileSystem : `${ ELASTICSEARCH_DOCS } snapshots-register-repository.html#snapshots-filesystem-repository` ,
269+ registerSourceOnly : `${ ELASTICSEARCH_DOCS } snapshots-register-repository.html#snapshots-source-only-repository` ,
270+ registerUrl : `${ ELASTICSEARCH_DOCS } snapshots-register-repository.html#snapshots-read-only-repository` ,
271+ restoreSnapshot : `${ ELASTICSEARCH_DOCS } snapshots-restore-snapshot.html` ,
272+ } ,
252273 } ,
253274 } ) ;
254275 }
@@ -368,6 +389,7 @@ export interface DocLinksStart {
368389 } ;
369390 readonly date : {
370391 readonly dateMath : string ;
392+ readonly dateMathIndexNames : string ;
371393 } ;
372394 readonly management : Record < string , string > ;
373395 readonly ml : Record < string , string > ;
@@ -381,13 +403,15 @@ export interface DocLinksStart {
381403 createApiKey : string ;
382404 createPipeline : string ;
383405 createTransformRequest : string ;
406+ cronExpressions : string ;
384407 executeWatchActionModes : string ;
385408 indexExists : string ;
386409 openIndex : string ;
387410 putComponentTemplate : string ;
388411 painlessExecute : string ;
389412 painlessExecuteAPIContexts : string ;
390413 putComponentTemplateMetadata : string ;
414+ putSnapshotLifecyclePolicy : string ;
391415 putWatch : string ;
392416 updateTransform : string ;
393417 } > ;
@@ -409,5 +433,7 @@ export interface DocLinksStart {
409433 } > ;
410434 readonly watcher : Record < string , string > ;
411435 readonly ccs : Record < string , string > ;
436+ readonly plugins : Record < string , string > ;
437+ readonly snapshotRestore : Record < string , string > ;
412438 } ;
413439}
0 commit comments