// tslint:disable /** * Copyright 2022 Splunk, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"): you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations * under the License. * * Ingest API * Use the Ingest service in Splunk Cloud Services to send event and metrics data, or upload a static file, to Splunk Cloud Services. * * OpenAPI spec version: v1beta2.32 (recommended default) * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * POST /collector/tokens * @export * @interface HECTokenCreateRequest */ export interface HECTokenCreateRequest { /** * name is the name of the token (unique within the tenant that it belongs to). type: string * @type {string} * @memberof HECTokenCreateRequest */ name: string; /** * ack_enabled is set to true if events sent with the auth token should support indexer acknowledgement type: bool * @type {boolean} * @memberof HECTokenCreateRequest */ ack_enabled?: boolean; /** * allow_query_string_auth is set to true if this token can be passed into the ingest endpoint's query parameter for auth type: bool * @type {boolean} * @memberof HECTokenCreateRequest */ allow_query_string_auth?: boolean; /** * description is an optional description of the token. type: string * @type {string} * @memberof HECTokenCreateRequest */ description?: string; /** * disabled is set to true if this auth token has been disabled and cannot be used to send events to HECv1 type: bool * @type {boolean} * @memberof HECTokenCreateRequest */ disabled?: boolean; /** * index is the default value of the index field for records collected using this token. type: string * @type {string} * @memberof HECTokenCreateRequest */ index?: string; /** * indexes is a list of index names that this token is allowed to send events to type: []string * @type {Array} * @memberof HECTokenCreateRequest */ indexes?: Array; /** * source is the default value of the source field for records collected using this token. type: string * @type {string} * @memberof HECTokenCreateRequest */ source?: string; /** * sourcetype is the default value of the sourcetype field for records collected using this token. type: string * @type {string} * @memberof HECTokenCreateRequest */ sourcetype?: string; }