import type { AxiosRequestConfig } from 'axios'; import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base'; import type { SystemsForRule } from '../types'; export type RuleSystemsRetrieveParams = { /** * * @type { string } * @memberof RuleSystemsRetrieveApi */ ruleId: string; /** * Is this an Ansible system? * @type { boolean } * @memberof RuleSystemsRetrieveApi */ filterSystemProfileAnsible?: boolean; /** * Is this a Microsoft SQL system? * @type { boolean } * @memberof RuleSystemsRetrieveApi */ filterSystemProfileMssql?: boolean; /** * Are there systems which contain these SAP SIDs? * @type { Array } * @memberof RuleSystemsRetrieveApi */ filterSystemProfileSapSidsContains?: Array; /** * Is this a SAP system? * @type { boolean } * @memberof RuleSystemsRetrieveApi */ filterSystemProfileSapSystem?: boolean; /** * * @type { RuleSystemsRetrieveFormatEnum } * @memberof RuleSystemsRetrieveApi */ format?: RuleSystemsRetrieveFormatEnum; /** * List of Inventory host group names * @type { Array } * @memberof RuleSystemsRetrieveApi */ groups?: Array; /** * Search for systems that include this in their display name * @type { string } * @memberof RuleSystemsRetrieveApi */ name?: string; /** * Display only systems with these versions of RHEL * @type { Array } * @memberof RuleSystemsRetrieveApi */ rhelVersion?: Array; /** * Order by this field * @type { Array } * @memberof RuleSystemsRetrieveApi */ sort?: Array; /** * Display only systems with this type (\'all\' = both types) * @type { RuleSystemsRetrieveSystemTypeEnum } * @memberof RuleSystemsRetrieveApi */ systemType?: RuleSystemsRetrieveSystemTypeEnum; /** * Tags have a namespace, key and value in the form namespace/key=value * @type { Array } * @memberof RuleSystemsRetrieveApi */ tags?: Array; /** * Search for systems with this updater type * @type { Array } * @memberof RuleSystemsRetrieveApi */ updateMethod?: Array; options?: AxiosRequestConfig; }; /** * @export * @enum {string} */ export declare const RuleSystemsRetrieveFormatEnum: { readonly Csv: "csv"; readonly Json: "json"; }; export type RuleSystemsRetrieveFormatEnum = typeof RuleSystemsRetrieveFormatEnum[keyof typeof RuleSystemsRetrieveFormatEnum]; /** * @export * @enum {string} */ export declare const RuleSystemsRetrieveRhelVersionEnum: { readonly _100: "10.0"; readonly _101: "10.1"; readonly _102: "10.2"; readonly _60: "6.0"; readonly _61: "6.1"; readonly _610: "6.10"; readonly _62: "6.2"; readonly _63: "6.3"; readonly _64: "6.4"; readonly _65: "6.5"; readonly _66: "6.6"; readonly _67: "6.7"; readonly _68: "6.8"; readonly _69: "6.9"; readonly _70: "7.0"; readonly _71: "7.1"; readonly _710: "7.10"; readonly _72: "7.2"; readonly _73: "7.3"; readonly _74: "7.4"; readonly _75: "7.5"; readonly _76: "7.6"; readonly _77: "7.7"; readonly _78: "7.8"; readonly _79: "7.9"; readonly _80: "8.0"; readonly _81: "8.1"; readonly _810: "8.10"; readonly _82: "8.2"; readonly _83: "8.3"; readonly _84: "8.4"; readonly _85: "8.5"; readonly _86: "8.6"; readonly _87: "8.7"; readonly _88: "8.8"; readonly _89: "8.9"; readonly _90: "9.0"; readonly _91: "9.1"; readonly _92: "9.2"; readonly _93: "9.3"; readonly _94: "9.4"; readonly _95: "9.5"; readonly _96: "9.6"; readonly _97: "9.7"; readonly _98: "9.8"; }; export type RuleSystemsRetrieveRhelVersionEnum = typeof RuleSystemsRetrieveRhelVersionEnum[keyof typeof RuleSystemsRetrieveRhelVersionEnum]; /** * @export * @enum {string} */ export declare const RuleSystemsRetrieveSortEnum: { readonly NotDisplayName: "-display_name"; readonly NotLastSeen: "-last_seen"; readonly NotStaleAt: "-stale_at"; readonly NotSystemUuid: "-system_uuid"; readonly NotUpdated: "-updated"; readonly DisplayName: "display_name"; readonly LastSeen: "last_seen"; readonly StaleAt: "stale_at"; readonly SystemUuid: "system_uuid"; readonly Updated: "updated"; }; export type RuleSystemsRetrieveSortEnum = typeof RuleSystemsRetrieveSortEnum[keyof typeof RuleSystemsRetrieveSortEnum]; /** * @export * @enum {string} */ export declare const RuleSystemsRetrieveSystemTypeEnum: { readonly All: "all"; readonly Bootc: "bootc"; readonly Conventional: "conventional"; readonly Edge: "edge"; }; export type RuleSystemsRetrieveSystemTypeEnum = typeof RuleSystemsRetrieveSystemTypeEnum[keyof typeof RuleSystemsRetrieveSystemTypeEnum]; /** * @export * @enum {string} */ export declare const RuleSystemsRetrieveUpdateMethodEnum: { readonly Dnfyum: "dnfyum"; readonly Ostree: "ostree"; }; export type RuleSystemsRetrieveUpdateMethodEnum = typeof RuleSystemsRetrieveUpdateMethodEnum[keyof typeof RuleSystemsRetrieveUpdateMethodEnum]; export type RuleSystemsRetrieveReturnType = SystemsForRule; /** * List all systems affected by this rule. All systems owned by the user\'s account, with a current upload reporting the given rule, are listed. Systems are simply listed by Insights Inventory UUID. * @param {RuleSystemsRetrieveParams} config with all available params. * @param {*} [options] Override http request option. * @throws {RequiredError} */ export declare const ruleSystemsRetrieveParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([RuleSystemsRetrieveParams] | [string, boolean, boolean, Array, boolean, RuleSystemsRetrieveFormatEnum, Array, string, Array, Array, RuleSystemsRetrieveSystemTypeEnum, Array, Array, AxiosRequestConfig])) => Promise>; export default ruleSystemsRetrieveParamCreator; //# sourceMappingURL=index.d.ts.map