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 Report Definitions in Oracle Cloud Infrastructure Data Safe service. * * Gets a list of report definitions. * The ListReportDefinitions operation returns only the report definitions in the specified `compartmentId`. * It also returns the seeded report definitions which are available to all the compartments. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testReportDefinitions = oci.datasafe.getReportDefinitions({ * compartmentId: compartmentId, * accessLevel: reportDefinitionAccessLevel, * category: reportDefinitionCategory, * compartmentIdInSubtree: reportDefinitionCompartmentIdInSubtree === "true", * dataSource: reportDefinitionDataSource, * displayName: reportDefinitionDisplayName, * isSeeded: reportDefinitionIsSeeded === "true", * state: reportDefinitionState, * }); * ``` */ export declare function getReportDefinitions(args: GetReportDefinitionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getReportDefinitions. */ export interface GetReportDefinitionsArgs { /** * Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. */ accessLevel?: string; /** * An optional filter to return only resources that match the specified category. */ category?: string; /** * A filter to return only resources that match the specified compartment OCID. */ compartmentId: string; /** * Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting. */ compartmentIdInSubtree?: boolean; /** * Specifies the name of a resource that provides data for the report. For example alerts, events. */ dataSource?: string; /** * The name of the report definition to query. */ displayName?: string; filters?: inputs.DataSafe.GetReportDefinitionsFilter[]; /** * A boolean flag indicating to list seeded report definitions. Set this parameter to get list of seeded report definitions. */ isSeeded?: boolean; /** * An optional filter to return only resources that match the specified lifecycle state. */ state?: string; } /** * A collection of values returned by getReportDefinitions. */ export interface GetReportDefinitionsResult { readonly accessLevel?: string; /** * Specifies the name of the category that this report belongs to. */ readonly category?: string; /** * The OCID of the compartment containing the report definition. */ readonly compartmentId: string; readonly compartmentIdInSubtree?: boolean; /** * Specifies the name of a resource that provides data for the report. For example alerts, events. */ readonly dataSource?: string; /** * Name of the report definition. */ readonly displayName?: string; readonly filters?: outputs.DataSafe.GetReportDefinitionsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Signifies whether the definition is seeded or user defined. Values can either be 'true' or 'false'. */ readonly isSeeded?: boolean; /** * The list of report_definition_collection. */ readonly reportDefinitionCollections: outputs.DataSafe.GetReportDefinitionsReportDefinitionCollection[]; /** * The current state of the report. */ readonly state?: string; } /** * This data source provides the list of Report Definitions in Oracle Cloud Infrastructure Data Safe service. * * Gets a list of report definitions. * The ListReportDefinitions operation returns only the report definitions in the specified `compartmentId`. * It also returns the seeded report definitions which are available to all the compartments. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testReportDefinitions = oci.datasafe.getReportDefinitions({ * compartmentId: compartmentId, * accessLevel: reportDefinitionAccessLevel, * category: reportDefinitionCategory, * compartmentIdInSubtree: reportDefinitionCompartmentIdInSubtree === "true", * dataSource: reportDefinitionDataSource, * displayName: reportDefinitionDisplayName, * isSeeded: reportDefinitionIsSeeded === "true", * state: reportDefinitionState, * }); * ``` */ export declare function getReportDefinitionsOutput(args: GetReportDefinitionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getReportDefinitions. */ export interface GetReportDefinitionsOutputArgs { /** * Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. */ accessLevel?: pulumi.Input; /** * An optional filter to return only resources that match the specified category. */ category?: pulumi.Input; /** * A filter to return only resources that match the specified compartment OCID. */ compartmentId: pulumi.Input; /** * Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting. */ compartmentIdInSubtree?: pulumi.Input; /** * Specifies the name of a resource that provides data for the report. For example alerts, events. */ dataSource?: pulumi.Input; /** * The name of the report definition to query. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A boolean flag indicating to list seeded report definitions. Set this parameter to get list of seeded report definitions. */ isSeeded?: pulumi.Input; /** * An optional filter to return only resources that match the specified lifecycle state. */ state?: pulumi.Input; } //# sourceMappingURL=getReportDefinitions.d.ts.map