Skip to content

Commit 9c03818

Browse files
authored
[Backport 8.15] Add Delete geoip database configuration API (#2824) (#2827)
(cherry picked from commit 21ef232)
1 parent b385d5e commit 9c03818

File tree

6 files changed

+236
-6
lines changed

6 files changed

+236
-6
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 57 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 96 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
/*
2+
* Licensed to Elasticsearch B.V. under one or more contributor
3+
* license agreements. See the NOTICE file distributed with
4+
* this work for additional information regarding copyright
5+
* ownership. Elasticsearch B.V. licenses this file to you under
6+
* the Apache License, Version 2.0 (the "License"); you may
7+
* not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
20+
import { RequestBase } from '@_types/Base'
21+
import { Ids } from '@_types/common'
22+
import { Duration } from '@_types/Time'
23+
24+
/**
25+
* Deletes a geoip database configuration.
26+
* @rest_spec_name ingest.delete_geoip_database
27+
* @availability stack since=8.15.0 stability=stable
28+
* @availability serverless visibility=private
29+
*/
30+
export interface Request extends RequestBase {
31+
path_parts: {
32+
/**
33+
* A comma-separated list of geoip database configurations to delete
34+
*/
35+
id?: Ids
36+
}
37+
query_parameters: {
38+
/**
39+
* Period to wait for a connection to the master node.
40+
* If no response is received before the timeout expires, the request fails and returns an error.
41+
* @server_default 30s */
42+
master_timeout?: Duration
43+
/**
44+
* Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
45+
* @server_default 30s */
46+
timeout?: Duration
47+
}
48+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
* Licensed to Elasticsearch B.V. under one or more contributor
3+
* license agreements. See the NOTICE file distributed with
4+
* this work for additional information regarding copyright
5+
* ownership. Elasticsearch B.V. licenses this file to you under
6+
* the Apache License, Version 2.0 (the "License"); you may
7+
* not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
20+
import { AcknowledgedResponseBase } from '@_types/Base'
21+
22+
export class Response {
23+
body: AcknowledgedResponseBase
24+
}

0 commit comments

Comments
 (0)