import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Inventory Records in Oracle Cloud Infrastructure Fleet Apps Management service. * * Gets a list of inventoryDetails. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testInventoryRecords = oci.fleetappsmanagement.getInventoryRecords({ * compartmentId: compartmentId, * compartmentIdInSubtree: inventoryRecordCompartmentIdInSubtree === "true", * fleetId: testFleet.id, * isDetailsRequired: inventoryRecordIsDetailsRequired === "true", * resourceId: testResource.id, * }); * ``` */ export declare function getInventoryRecords(args: GetInventoryRecordsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getInventoryRecords. */ export interface GetInventoryRecordsArgs { /** * The ID of the compartment in which to list resources. */ compartmentId: string; /** * If set to true, resources will be returned for not only the provided compartment, but all compartments which descend from it. Which resources are returned and their field contents depends on the value of accessLevel. */ compartmentIdInSubtree?: boolean; filters?: inputs.FleetAppsManagement.GetInventoryRecordsFilter[]; /** * unique Fleet identifier */ fleetId?: string; /** * If set to true, inventory details will be returned. */ isDetailsRequired?: boolean; /** * Resource Identifier */ resourceId?: string; } /** * A collection of values returned by getInventoryRecords. */ export interface GetInventoryRecordsResult { /** * OCID of the compartment to which the resource belongs to. */ readonly compartmentId: string; readonly compartmentIdInSubtree?: boolean; readonly filters?: outputs.FleetAppsManagement.GetInventoryRecordsFilter[]; readonly fleetId?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of inventory_record_collection. */ readonly inventoryRecordCollections: outputs.FleetAppsManagement.GetInventoryRecordsInventoryRecordCollection[]; readonly isDetailsRequired?: boolean; readonly resourceId?: string; } /** * This data source provides the list of Inventory Records in Oracle Cloud Infrastructure Fleet Apps Management service. * * Gets a list of inventoryDetails. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testInventoryRecords = oci.fleetappsmanagement.getInventoryRecords({ * compartmentId: compartmentId, * compartmentIdInSubtree: inventoryRecordCompartmentIdInSubtree === "true", * fleetId: testFleet.id, * isDetailsRequired: inventoryRecordIsDetailsRequired === "true", * resourceId: testResource.id, * }); * ``` */ export declare function getInventoryRecordsOutput(args: GetInventoryRecordsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getInventoryRecords. */ export interface GetInventoryRecordsOutputArgs { /** * The ID of the compartment in which to list resources. */ compartmentId: pulumi.Input; /** * If set to true, resources will be returned for not only the provided compartment, but all compartments which descend from it. Which resources are returned and their field contents depends on the value of accessLevel. */ compartmentIdInSubtree?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * unique Fleet identifier */ fleetId?: pulumi.Input; /** * If set to true, inventory details will be returned. */ isDetailsRequired?: pulumi.Input; /** * Resource Identifier */ resourceId?: pulumi.Input; } //# sourceMappingURL=getInventoryRecords.d.ts.map