Auto-generated code for main (#2320)
Co-authored-by: Josh Mock <joshua.mock@elastic.co>
This commit is contained in:
@ -45,7 +45,7 @@ export default class Cat {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get aliases. Retrieves the cluster’s index aliases, including filter and routing information. The API does not return data stream aliases. > info > CAT APIs are only intended for human consumption using the command line or the Kibana console. They are not intended for use by applications. For application consumption, use [the /_alias endpoints](#endpoint-alias).
|
||||
* Get aliases. Retrieves the cluster’s index aliases, including filter and routing information. The API does not return data stream aliases. CAT APIs are only intended for human consumption using the command line or the Kibana console. They are not intended for use by applications. For application consumption, use the aliases API.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async aliases (this: That, params?: T.CatAliasesRequest | TB.CatAliasesRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatAliasesResponse>
|
||||
@ -125,7 +125,7 @@ export default class Cat {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get component templates. Returns information about component templates in a cluster. Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. > info > CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use [the /_component_template endpoints](#endpoint-component-template).
|
||||
* Get component templates. Returns information about component templates in a cluster. Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get component template API.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-component-templates.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async componentTemplates (this: That, params?: T.CatComponentTemplatesRequest | TB.CatComponentTemplatesRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatComponentTemplatesResponse>
|
||||
@ -165,7 +165,7 @@ export default class Cat {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a document count. Provides quick access to a document count for a data stream, an index, or an entire cluster.n/ The document count only includes live documents, not deleted documents which have not yet been removed by the merge process. > info > CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use [the /_count endpoints](#endpoint-count).
|
||||
* Get a document count. Provides quick access to a document count for a data stream, an index, or an entire cluster.n/ The document count only includes live documents, not deleted documents which have not yet been removed by the merge process. CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the count API.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async count (this: That, params?: T.CatCountRequest | TB.CatCountRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatCountResponse>
|
||||
@ -305,7 +305,7 @@ export default class Cat {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get index information. Returns high-level information about indices in a cluster, including backing indices for data streams. > info > CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use an index endpoint. Use this request to get the following information for each index in a cluster: - shard count - document count - deleted document count - primary store size - total store size of all shards, including shard replicas These metrics are retrieved directly from Lucene, which Elasticsearch uses internally to power indexing and search. As a result, all document counts include hidden nested documents. To get an accurate count of Elasticsearch documents, use the [/_cat/count](#operation-cat-count) or [count](#endpoint-count) endpoints.
|
||||
* Get index information. Returns high-level information about indices in a cluster, including backing indices for data streams. Use this request to get the following information for each index in a cluster: - shard count - document count - deleted document count - primary store size - total store size of all shards, including shard replicas These metrics are retrieved directly from Lucene, which Elasticsearch uses internally to power indexing and search. As a result, all document counts include hidden nested documents. To get an accurate count of Elasticsearch documents, use the cat count or count APIs. CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use an index endpoint.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async indices (this: That, params?: T.CatIndicesRequest | TB.CatIndicesRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatIndicesResponse>
|
||||
@ -375,7 +375,7 @@ export default class Cat {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get data frame analytics jobs. Returns configuration and usage information about data frame analytics jobs. > info > CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use [the /_ml/data_frame/analytics endpoints](#endpoint-ml).
|
||||
* Get data frame analytics jobs. Returns configuration and usage information about data frame analytics jobs. CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get data frame analytics jobs statistics API.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-dfanalytics.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async mlDataFrameAnalytics (this: That, params?: T.CatMlDataFrameAnalyticsRequest | TB.CatMlDataFrameAnalyticsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatMlDataFrameAnalyticsResponse>
|
||||
@ -415,7 +415,7 @@ export default class Cat {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get datafeeds. Returns configuration and usage information about datafeeds. This API returns a maximum of 10,000 datafeeds. If the Elasticsearch security features are enabled, you must have `monitor_ml`, `monitor`, `manage_ml`, or `manage` cluster privileges to use this API. > info > CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use [the /_ml/datafeeds endpoints](#endpoint-ml).
|
||||
* Get datafeeds. Returns configuration and usage information about datafeeds. This API returns a maximum of 10,000 datafeeds. If the Elasticsearch security features are enabled, you must have `monitor_ml`, `monitor`, `manage_ml`, or `manage` cluster privileges to use this API. CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get datafeed statistics API.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-datafeeds.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async mlDatafeeds (this: That, params?: T.CatMlDatafeedsRequest | TB.CatMlDatafeedsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatMlDatafeedsResponse>
|
||||
@ -455,7 +455,7 @@ export default class Cat {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get anomaly detection jobs. Returns configuration and usage information for anomaly detection jobs. This API returns a maximum of 10,000 jobs. If the Elasticsearch security features are enabled, you must have `monitor_ml`, `monitor`, `manage_ml`, or `manage` cluster privileges to use this API. > info > CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use [the /_ml/anomaly_detectors endpoints](#endpoint-ml).
|
||||
* Get anomaly detection jobs. Returns configuration and usage information for anomaly detection jobs. This API returns a maximum of 10,000 jobs. If the Elasticsearch security features are enabled, you must have `monitor_ml`, `monitor`, `manage_ml`, or `manage` cluster privileges to use this API. CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get anomaly detection job statistics API.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-anomaly-detectors.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async mlJobs (this: That, params?: T.CatMlJobsRequest | TB.CatMlJobsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatMlJobsResponse>
|
||||
@ -495,7 +495,7 @@ export default class Cat {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get trained models. Returns configuration and usage information about inference trained models. > info > CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use [the /_ml/trained_models endpoints](#endpoint-ml).
|
||||
* Get trained models. Returns configuration and usage information about inference trained models. CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get trained models statistics API.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-trained-model.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async mlTrainedModels (this: That, params?: T.CatMlTrainedModelsRequest | TB.CatMlTrainedModelsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatMlTrainedModelsResponse>
|
||||
@ -955,7 +955,7 @@ export default class Cat {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get transforms. Returns configuration and usage information about transforms. > info > CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use [the /_transform endpoints](#endpoint-transform).
|
||||
* Get transforms. Returns configuration and usage information about transforms. CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get transform statistics API.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-transforms.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async transforms (this: That, params?: T.CatTransformsRequest | TB.CatTransformsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatTransformsResponse>
|
||||
|
||||
1318
src/api/api/connector.ts
Normal file
1318
src/api/api/connector.ts
Normal file
File diff suppressed because it is too large
Load Diff
@ -45,7 +45,7 @@ export default class Ml {
|
||||
}
|
||||
|
||||
/**
|
||||
* Clears a trained model deployment cache on all nodes where the trained model is assigned. A trained model deployment may have an inference cache enabled. As requests are handled by each allocated node, their responses may be cached on that individual node. Calling this API clears the caches without restarting the deployment.
|
||||
* Clear trained model deployment cache. Cache will be cleared on all nodes where the trained model is assigned. A trained model deployment may have an inference cache enabled. As requests are handled by each allocated node, their responses may be cached on that individual node. Calling this API clears the caches without restarting the deployment.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/clear-trained-model-deployment-cache.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async clearTrainedModelDeploymentCache (this: That, params: T.MlClearTrainedModelDeploymentCacheRequest | TB.MlClearTrainedModelDeploymentCacheRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlClearTrainedModelDeploymentCacheResponse>
|
||||
@ -121,7 +121,7 @@ export default class Ml {
|
||||
}
|
||||
|
||||
/**
|
||||
* Removes all scheduled events from a calendar, then deletes it.
|
||||
* Delete a calendar. Removes all scheduled events from a calendar, then deletes it.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/ml-delete-calendar.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async deleteCalendar (this: That, params: T.MlDeleteCalendarRequest | TB.MlDeleteCalendarRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlDeleteCalendarResponse>
|
||||
@ -153,7 +153,7 @@ export default class Ml {
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes scheduled events from a calendar.
|
||||
* Delete events from a calendar.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/ml-delete-calendar-event.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async deleteCalendarEvent (this: That, params: T.MlDeleteCalendarEventRequest | TB.MlDeleteCalendarEventRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlDeleteCalendarEventResponse>
|
||||
@ -186,7 +186,7 @@ export default class Ml {
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes anomaly detection jobs from a calendar.
|
||||
* Delete anomaly jobs from a calendar.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/ml-delete-calendar-job.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async deleteCalendarJob (this: That, params: T.MlDeleteCalendarJobRequest | TB.MlDeleteCalendarJobRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlDeleteCalendarJobResponse>
|
||||
@ -219,7 +219,7 @@ export default class Ml {
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes a data frame analytics job.
|
||||
* Delete a data frame analytics job.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-dfanalytics.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async deleteDataFrameAnalytics (this: That, params: T.MlDeleteDataFrameAnalyticsRequest | TB.MlDeleteDataFrameAnalyticsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlDeleteDataFrameAnalyticsResponse>
|
||||
@ -251,7 +251,7 @@ export default class Ml {
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes an existing datafeed.
|
||||
* Delete a datafeed.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/ml-delete-datafeed.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async deleteDatafeed (this: That, params: T.MlDeleteDatafeedRequest | TB.MlDeleteDatafeedRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlDeleteDatafeedResponse>
|
||||
@ -283,7 +283,7 @@ export default class Ml {
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes expired and unused machine learning data. Deletes all job results, model snapshots and forecast data that have exceeded their retention days period. Machine learning state documents that are not associated with any job are also deleted. You can limit the request to a single or set of anomaly detection jobs by using a job identifier, a group name, a comma-separated list of jobs, or a wildcard expression. You can delete expired data for all anomaly detection jobs by using _all, by specifying * as the <job_id>, or by omitting the <job_id>.
|
||||
* Delete expired ML data. Deletes all job results, model snapshots and forecast data that have exceeded their retention days period. Machine learning state documents that are not associated with any job are also deleted. You can limit the request to a single or set of anomaly detection jobs by using a job identifier, a group name, a comma-separated list of jobs, or a wildcard expression. You can delete expired data for all anomaly detection jobs by using _all, by specifying * as the <job_id>, or by omitting the <job_id>.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/ml-delete-expired-data.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async deleteExpiredData (this: That, params?: T.MlDeleteExpiredDataRequest | TB.MlDeleteExpiredDataRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlDeleteExpiredDataResponse>
|
||||
@ -335,7 +335,7 @@ export default class Ml {
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes a filter. If an anomaly detection job references the filter, you cannot delete the filter. You must update or delete the job before you can delete the filter.
|
||||
* Delete a filter. If an anomaly detection job references the filter, you cannot delete the filter. You must update or delete the job before you can delete the filter.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/ml-delete-filter.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async deleteFilter (this: That, params: T.MlDeleteFilterRequest | TB.MlDeleteFilterRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlDeleteFilterResponse>
|
||||
@ -367,7 +367,7 @@ export default class Ml {
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes forecasts from a machine learning job. By default, forecasts are retained for 14 days. You can specify a different retention period with the `expires_in` parameter in the forecast jobs API. The delete forecast API enables you to delete one or more forecasts before they expire.
|
||||
* Delete forecasts from a job. By default, forecasts are retained for 14 days. You can specify a different retention period with the `expires_in` parameter in the forecast jobs API. The delete forecast API enables you to delete one or more forecasts before they expire.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/ml-delete-forecast.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async deleteForecast (this: That, params: T.MlDeleteForecastRequest | TB.MlDeleteForecastRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlDeleteForecastResponse>
|
||||
@ -439,7 +439,7 @@ export default class Ml {
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes an existing model snapshot. You cannot delete the active model snapshot. To delete that snapshot, first revert to a different one. To identify the active model snapshot, refer to the `model_snapshot_id` in the results from the get jobs API.
|
||||
* Delete a model snapshot. You cannot delete the active model snapshot. To delete that snapshot, first revert to a different one. To identify the active model snapshot, refer to the `model_snapshot_id` in the results from the get jobs API.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/ml-delete-snapshot.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async deleteModelSnapshot (this: That, params: T.MlDeleteModelSnapshotRequest | TB.MlDeleteModelSnapshotRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlDeleteModelSnapshotResponse>
|
||||
@ -472,7 +472,7 @@ export default class Ml {
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes an existing trained inference model that is currently not referenced by an ingest pipeline.
|
||||
* Delete an unreferenced trained model. The request deletes a trained inference model that is not referenced by an ingest pipeline.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-trained-models.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async deleteTrainedModel (this: That, params: T.MlDeleteTrainedModelRequest | TB.MlDeleteTrainedModelRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlDeleteTrainedModelResponse>
|
||||
@ -504,7 +504,7 @@ export default class Ml {
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes a trained model alias. This API deletes an existing model alias that refers to a trained model. If the model alias is missing or refers to a model other than the one identified by the `model_id`, this API returns an error.
|
||||
* Delete a trained model alias. This API deletes an existing model alias that refers to a trained model. If the model alias is missing or refers to a model other than the one identified by the `model_id`, this API returns an error.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-trained-models-aliases.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async deleteTrainedModelAlias (this: That, params: T.MlDeleteTrainedModelAliasRequest | TB.MlDeleteTrainedModelAliasRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlDeleteTrainedModelAliasResponse>
|
||||
@ -537,7 +537,7 @@ export default class Ml {
|
||||
}
|
||||
|
||||
/**
|
||||
* Makes an estimation of the memory usage for an anomaly detection job model. It is based on analysis configuration details for the job and cardinality estimates for the fields it references.
|
||||
* Estimate job model memory usage. Makes an estimation of the memory usage for an anomaly detection job model. It is based on analysis configuration details for the job and cardinality estimates for the fields it references.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/ml-apis.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async estimateModelMemory (this: That, params?: T.MlEstimateModelMemoryRequest | TB.MlEstimateModelMemoryRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlEstimateModelMemoryResponse>
|
||||
@ -579,7 +579,7 @@ export default class Ml {
|
||||
}
|
||||
|
||||
/**
|
||||
* Evaluates the data frame analytics for an annotated index. The API packages together commonly used evaluation metrics for various types of machine learning features. This has been designed for use on indexes created by data frame analytics. Evaluation requires both a ground truth field and an analytics result field to be present.
|
||||
* Evaluate data frame analytics. The API packages together commonly used evaluation metrics for various types of machine learning features. This has been designed for use on indexes created by data frame analytics. Evaluation requires both a ground truth field and an analytics result field to be present.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/evaluate-dfanalytics.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async evaluateDataFrame (this: That, params: T.MlEvaluateDataFrameRequest | TB.MlEvaluateDataFrameRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlEvaluateDataFrameResponse>
|
||||
@ -620,7 +620,7 @@ export default class Ml {
|
||||
}
|
||||
|
||||
/**
|
||||
* Explains a data frame analytics config. This API provides explanations for a data frame analytics config that either exists already or one that has not been created yet. The following explanations are provided: * which fields are included or not in the analysis and why, * how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on. If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
|
||||
* Explain data frame analytics config. This API provides explanations for a data frame analytics config that either exists already or one that has not been created yet. The following explanations are provided: * which fields are included or not in the analysis and why, * how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on. If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
|
||||
* @see {@link http://www.elastic.co/guide/en/elasticsearch/reference/master/explain-dfanalytics.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async explainDataFrameAnalytics (this: That, params?: T.MlExplainDataFrameAnalyticsRequest | TB.MlExplainDataFrameAnalyticsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlExplainDataFrameAnalyticsResponse>
|
||||
|
||||
@ -35,6 +35,7 @@ import CcrApi from './api/ccr'
|
||||
import clearScrollApi from './api/clear_scroll'
|
||||
import closePointInTimeApi from './api/close_point_in_time'
|
||||
import ClusterApi from './api/cluster'
|
||||
import ConnectorApi from './api/connector'
|
||||
import countApi from './api/count'
|
||||
import createApi from './api/create'
|
||||
import DanglingIndicesApi from './api/dangling_indices'
|
||||
@ -123,6 +124,7 @@ export default interface API {
|
||||
clearScroll: typeof clearScrollApi
|
||||
closePointInTime: typeof closePointInTimeApi
|
||||
cluster: ClusterApi
|
||||
connector: ConnectorApi
|
||||
count: typeof countApi
|
||||
create: typeof createApi
|
||||
danglingIndices: DanglingIndicesApi
|
||||
@ -206,6 +208,7 @@ const kAutoscaling = Symbol('Autoscaling')
|
||||
const kCat = Symbol('Cat')
|
||||
const kCcr = Symbol('Ccr')
|
||||
const kCluster = Symbol('Cluster')
|
||||
const kConnector = Symbol('Connector')
|
||||
const kDanglingIndices = Symbol('DanglingIndices')
|
||||
const kEnrich = Symbol('Enrich')
|
||||
const kEql = Symbol('Eql')
|
||||
@ -248,6 +251,7 @@ export default class API {
|
||||
[kCat]: symbol | null
|
||||
[kCcr]: symbol | null
|
||||
[kCluster]: symbol | null
|
||||
[kConnector]: symbol | null
|
||||
[kDanglingIndices]: symbol | null
|
||||
[kEnrich]: symbol | null
|
||||
[kEql]: symbol | null
|
||||
@ -289,6 +293,7 @@ export default class API {
|
||||
this[kCat] = null
|
||||
this[kCcr] = null
|
||||
this[kCluster] = null
|
||||
this[kConnector] = null
|
||||
this[kDanglingIndices] = null
|
||||
this[kEnrich] = null
|
||||
this[kEql] = null
|
||||
@ -389,6 +394,9 @@ Object.defineProperties(API.prototype, {
|
||||
cluster: {
|
||||
get () { return this[kCluster] === null ? (this[kCluster] = new ClusterApi(this.transport)) : this[kCluster] }
|
||||
},
|
||||
connector: {
|
||||
get () { return this[kConnector] === null ? (this[kConnector] = new ConnectorApi(this.transport)) : this[kConnector] }
|
||||
},
|
||||
danglingIndices: {
|
||||
get () { return this[kDanglingIndices] === null ? (this[kDanglingIndices] = new DanglingIndicesApi(this.transport)) : this[kDanglingIndices] }
|
||||
},
|
||||
|
||||
@ -9125,9 +9125,9 @@ export interface ConnectorConnectorConfigProperties {
|
||||
required: boolean
|
||||
sensitive: boolean
|
||||
tooltip?: string | null
|
||||
type: ConnectorConnectorFieldType
|
||||
ui_restrictions: string[]
|
||||
validations: ConnectorValidation[]
|
||||
type?: ConnectorConnectorFieldType
|
||||
ui_restrictions?: string[]
|
||||
validations?: ConnectorValidation[]
|
||||
value: any
|
||||
}
|
||||
|
||||
@ -9989,22 +9989,51 @@ export interface GraphExploreResponse {
|
||||
vertices: GraphVertex[]
|
||||
}
|
||||
|
||||
export type IlmActions = any
|
||||
|
||||
export interface IlmConfigurations {
|
||||
rollover?: IndicesRolloverRolloverConditions
|
||||
forcemerge?: IlmForceMergeConfiguration
|
||||
shrink?: IlmShrinkConfiguration
|
||||
export interface IlmActions {
|
||||
allocate?: IlmAllocateAction
|
||||
delete?: IlmDeleteAction
|
||||
downsample?: IlmDownsampleAction
|
||||
freeze?: EmptyObject
|
||||
forcemerge?: IlmForceMergeAction
|
||||
migrate?: IlmMigrateAction
|
||||
readonly?: EmptyObject
|
||||
rollover?: IlmRolloverAction
|
||||
set_priority?: IlmSetPriorityAction
|
||||
searchable_snapshot?: IlmSearchableSnapshotAction
|
||||
shrink?: IlmShrinkAction
|
||||
unfollow?: EmptyObject
|
||||
wait_for_snapshot?: IlmWaitForSnapshotAction
|
||||
}
|
||||
|
||||
export interface IlmForceMergeConfiguration {
|
||||
export interface IlmAllocateAction {
|
||||
number_of_replicas?: integer
|
||||
total_shards_per_node?: integer
|
||||
include?: Record<string, string>
|
||||
exclude?: Record<string, string>
|
||||
require?: Record<string, string>
|
||||
}
|
||||
|
||||
export interface IlmDeleteAction {
|
||||
delete_searchable_snapshot?: boolean
|
||||
}
|
||||
|
||||
export interface IlmDownsampleAction {
|
||||
fixed_interval: DurationLarge
|
||||
wait_timeout?: Duration
|
||||
}
|
||||
|
||||
export interface IlmForceMergeAction {
|
||||
max_num_segments: integer
|
||||
index_codec?: string
|
||||
}
|
||||
|
||||
export interface IlmMigrateAction {
|
||||
enabled?: boolean
|
||||
}
|
||||
|
||||
export interface IlmPhase {
|
||||
actions?: IlmActions
|
||||
min_age?: Duration | long
|
||||
configurations?: IlmConfigurations
|
||||
}
|
||||
|
||||
export interface IlmPhases {
|
||||
@ -10020,8 +10049,36 @@ export interface IlmPolicy {
|
||||
_meta?: Metadata
|
||||
}
|
||||
|
||||
export interface IlmShrinkConfiguration {
|
||||
number_of_shards: integer
|
||||
export interface IlmRolloverAction {
|
||||
max_size?: ByteSize
|
||||
max_primary_shard_size?: ByteSize
|
||||
max_age?: Duration
|
||||
max_docs?: long
|
||||
max_primary_shard_docs?: long
|
||||
min_size?: ByteSize
|
||||
min_primary_shard_size?: ByteSize
|
||||
min_age?: Duration
|
||||
min_docs?: long
|
||||
min_primary_shard_docs?: long
|
||||
}
|
||||
|
||||
export interface IlmSearchableSnapshotAction {
|
||||
snapshot_repository: string
|
||||
force_merge_index?: boolean
|
||||
}
|
||||
|
||||
export interface IlmSetPriorityAction {
|
||||
priority?: integer
|
||||
}
|
||||
|
||||
export interface IlmShrinkAction {
|
||||
number_of_shards?: integer
|
||||
max_primary_shard_size?: ByteSize
|
||||
allow_write_after_shrink?: boolean
|
||||
}
|
||||
|
||||
export interface IlmWaitForSnapshotAction {
|
||||
policy: string
|
||||
}
|
||||
|
||||
export interface IlmDeleteLifecycleRequest extends RequestBase {
|
||||
|
||||
@ -9226,9 +9226,9 @@ export interface ConnectorConnectorConfigProperties {
|
||||
required: boolean
|
||||
sensitive: boolean
|
||||
tooltip?: string | null
|
||||
type: ConnectorConnectorFieldType
|
||||
ui_restrictions: string[]
|
||||
validations: ConnectorValidation[]
|
||||
type?: ConnectorConnectorFieldType
|
||||
ui_restrictions?: string[]
|
||||
validations?: ConnectorValidation[]
|
||||
value: any
|
||||
}
|
||||
|
||||
@ -10154,22 +10154,51 @@ export interface GraphExploreResponse {
|
||||
vertices: GraphVertex[]
|
||||
}
|
||||
|
||||
export type IlmActions = any
|
||||
|
||||
export interface IlmConfigurations {
|
||||
rollover?: IndicesRolloverRolloverConditions
|
||||
forcemerge?: IlmForceMergeConfiguration
|
||||
shrink?: IlmShrinkConfiguration
|
||||
export interface IlmActions {
|
||||
allocate?: IlmAllocateAction
|
||||
delete?: IlmDeleteAction
|
||||
downsample?: IlmDownsampleAction
|
||||
freeze?: EmptyObject
|
||||
forcemerge?: IlmForceMergeAction
|
||||
migrate?: IlmMigrateAction
|
||||
readonly?: EmptyObject
|
||||
rollover?: IlmRolloverAction
|
||||
set_priority?: IlmSetPriorityAction
|
||||
searchable_snapshot?: IlmSearchableSnapshotAction
|
||||
shrink?: IlmShrinkAction
|
||||
unfollow?: EmptyObject
|
||||
wait_for_snapshot?: IlmWaitForSnapshotAction
|
||||
}
|
||||
|
||||
export interface IlmForceMergeConfiguration {
|
||||
export interface IlmAllocateAction {
|
||||
number_of_replicas?: integer
|
||||
total_shards_per_node?: integer
|
||||
include?: Record<string, string>
|
||||
exclude?: Record<string, string>
|
||||
require?: Record<string, string>
|
||||
}
|
||||
|
||||
export interface IlmDeleteAction {
|
||||
delete_searchable_snapshot?: boolean
|
||||
}
|
||||
|
||||
export interface IlmDownsampleAction {
|
||||
fixed_interval: DurationLarge
|
||||
wait_timeout?: Duration
|
||||
}
|
||||
|
||||
export interface IlmForceMergeAction {
|
||||
max_num_segments: integer
|
||||
index_codec?: string
|
||||
}
|
||||
|
||||
export interface IlmMigrateAction {
|
||||
enabled?: boolean
|
||||
}
|
||||
|
||||
export interface IlmPhase {
|
||||
actions?: IlmActions
|
||||
min_age?: Duration | long
|
||||
configurations?: IlmConfigurations
|
||||
}
|
||||
|
||||
export interface IlmPhases {
|
||||
@ -10185,8 +10214,36 @@ export interface IlmPolicy {
|
||||
_meta?: Metadata
|
||||
}
|
||||
|
||||
export interface IlmShrinkConfiguration {
|
||||
number_of_shards: integer
|
||||
export interface IlmRolloverAction {
|
||||
max_size?: ByteSize
|
||||
max_primary_shard_size?: ByteSize
|
||||
max_age?: Duration
|
||||
max_docs?: long
|
||||
max_primary_shard_docs?: long
|
||||
min_size?: ByteSize
|
||||
min_primary_shard_size?: ByteSize
|
||||
min_age?: Duration
|
||||
min_docs?: long
|
||||
min_primary_shard_docs?: long
|
||||
}
|
||||
|
||||
export interface IlmSearchableSnapshotAction {
|
||||
snapshot_repository: string
|
||||
force_merge_index?: boolean
|
||||
}
|
||||
|
||||
export interface IlmSetPriorityAction {
|
||||
priority?: integer
|
||||
}
|
||||
|
||||
export interface IlmShrinkAction {
|
||||
number_of_shards?: integer
|
||||
max_primary_shard_size?: ByteSize
|
||||
allow_write_after_shrink?: boolean
|
||||
}
|
||||
|
||||
export interface IlmWaitForSnapshotAction {
|
||||
policy: string
|
||||
}
|
||||
|
||||
export interface IlmDeleteLifecycleRequest extends RequestBase {
|
||||
|
||||
Reference in New Issue
Block a user