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 Masking Policy Health Reports in Oracle Cloud Infrastructure Data Safe service. * * Gets a list of masking policy health reports based on the specified query parameters. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMaskingPolicyHealthReports = oci.datasafe.getMaskingPolicyHealthReports({ * compartmentId: compartmentId, * accessLevel: maskingPolicyHealthReportAccessLevel, * compartmentIdInSubtree: maskingPolicyHealthReportCompartmentIdInSubtree === "true", * displayName: maskingPolicyHealthReportDisplayName, * maskingPolicyHealthReportId: testMaskingPolicyHealthReport.id, * maskingPolicyId: testMaskingPolicy.id, * state: maskingPolicyHealthReportState, * targetId: testTarget.id, * }); * ``` */ export declare function getMaskingPolicyHealthReports(args: GetMaskingPolicyHealthReportsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getMaskingPolicyHealthReports. */ export interface GetMaskingPolicyHealthReportsArgs { /** * 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; /** * 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; /** * A filter to return only resources that match the specified display name. */ displayName?: string; filters?: inputs.DataSafe.GetMaskingPolicyHealthReportsFilter[]; /** * A filter to return only the resources that match the specified masking policy health report OCID. */ maskingPolicyHealthReportId?: string; /** * A filter to return only the resources that match the specified masking policy OCID. */ maskingPolicyId?: string; /** * A filter to return only the resources that match the specified lifecycle states. */ state?: string; /** * A filter to return only items related to a specific target OCID. */ targetId?: string; } /** * A collection of values returned by getMaskingPolicyHealthReports. */ export interface GetMaskingPolicyHealthReportsResult { readonly accessLevel?: string; /** * The OCID of the compartment that contains the health report. */ readonly compartmentId: string; readonly compartmentIdInSubtree?: boolean; /** * The display name of the health report. */ readonly displayName?: string; readonly filters?: outputs.DataSafe.GetMaskingPolicyHealthReportsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of masking_policy_health_report_collection. */ readonly maskingPolicyHealthReportCollections: outputs.DataSafe.GetMaskingPolicyHealthReportsMaskingPolicyHealthReportCollection[]; readonly maskingPolicyHealthReportId?: string; /** * The OCID of the masking policy. */ readonly maskingPolicyId?: string; /** * The current state of the health report. */ readonly state?: string; /** * The OCID of the target database for which this report was created. */ readonly targetId?: string; } /** * This data source provides the list of Masking Policy Health Reports in Oracle Cloud Infrastructure Data Safe service. * * Gets a list of masking policy health reports based on the specified query parameters. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMaskingPolicyHealthReports = oci.datasafe.getMaskingPolicyHealthReports({ * compartmentId: compartmentId, * accessLevel: maskingPolicyHealthReportAccessLevel, * compartmentIdInSubtree: maskingPolicyHealthReportCompartmentIdInSubtree === "true", * displayName: maskingPolicyHealthReportDisplayName, * maskingPolicyHealthReportId: testMaskingPolicyHealthReport.id, * maskingPolicyId: testMaskingPolicy.id, * state: maskingPolicyHealthReportState, * targetId: testTarget.id, * }); * ``` */ export declare function getMaskingPolicyHealthReportsOutput(args: GetMaskingPolicyHealthReportsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getMaskingPolicyHealthReports. */ export interface GetMaskingPolicyHealthReportsOutputArgs { /** * 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; /** * 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; /** * A filter to return only resources that match the specified display name. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only the resources that match the specified masking policy health report OCID. */ maskingPolicyHealthReportId?: pulumi.Input; /** * A filter to return only the resources that match the specified masking policy OCID. */ maskingPolicyId?: pulumi.Input; /** * A filter to return only the resources that match the specified lifecycle states. */ state?: pulumi.Input; /** * A filter to return only items related to a specific target OCID. */ targetId?: pulumi.Input; } //# sourceMappingURL=getMaskingPolicyHealthReports.d.ts.map