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 Compliance Records in Oracle Cloud Infrastructure Fleet Apps Management service. * * Gets a list of complianceDetails. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testComplianceRecords = oci.fleetappsmanagement.getComplianceRecords({ * compartmentId: compartmentId, * compartmentIdInSubtree: complianceRecordCompartmentIdInSubtree === "true", * complianceState: complianceRecordComplianceState, * entityId: testEntity.id, * productName: complianceRecordProductName, * productStack: complianceRecordProductStack, * resourceId: testResource.id, * targetName: testTarget.name, * }); * ``` */ export declare function getComplianceRecords(args: GetComplianceRecordsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getComplianceRecords. */ export interface GetComplianceRecordsArgs { /** * 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; /** * Target Compliance State. */ complianceState?: string; /** * Entity identifier.Ex:FleetId */ entityId?: string; filters?: inputs.FleetAppsManagement.GetComplianceRecordsFilter[]; /** * Product Name. */ productName?: string; /** * ProductStack name. */ productStack?: string; /** * Resource identifier. */ resourceId?: string; /** * Unique target name */ targetName?: string; } /** * A collection of values returned by getComplianceRecords. */ export interface GetComplianceRecordsResult { /** * Compartment OCID of the resource. */ readonly compartmentId: string; readonly compartmentIdInSubtree?: boolean; /** * The list of compliance_record_collection. */ readonly complianceRecordCollections: outputs.FleetAppsManagement.GetComplianceRecordsComplianceRecordCollection[]; /** * Last known compliance state of target. */ readonly complianceState?: string; /** * The OCID of the entity for which the compliance is calculated.Ex.FleetId */ readonly entityId?: string; readonly filters?: outputs.FleetAppsManagement.GetComplianceRecordsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Product Name. */ readonly productName?: string; /** * Product Stack. */ readonly productStack?: string; /** * The OCID to identify the resource. */ readonly resourceId?: string; /** * Target Name. */ readonly targetName?: string; } /** * This data source provides the list of Compliance Records in Oracle Cloud Infrastructure Fleet Apps Management service. * * Gets a list of complianceDetails. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testComplianceRecords = oci.fleetappsmanagement.getComplianceRecords({ * compartmentId: compartmentId, * compartmentIdInSubtree: complianceRecordCompartmentIdInSubtree === "true", * complianceState: complianceRecordComplianceState, * entityId: testEntity.id, * productName: complianceRecordProductName, * productStack: complianceRecordProductStack, * resourceId: testResource.id, * targetName: testTarget.name, * }); * ``` */ export declare function getComplianceRecordsOutput(args: GetComplianceRecordsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getComplianceRecords. */ export interface GetComplianceRecordsOutputArgs { /** * 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; /** * Target Compliance State. */ complianceState?: pulumi.Input; /** * Entity identifier.Ex:FleetId */ entityId?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Product Name. */ productName?: pulumi.Input; /** * ProductStack name. */ productStack?: pulumi.Input; /** * Resource identifier. */ resourceId?: pulumi.Input; /** * Unique target name */ targetName?: pulumi.Input; } //# sourceMappingURL=getComplianceRecords.d.ts.map