import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Masking Analytic resource in Oracle Cloud Infrastructure Data Safe service. * * Gets consolidated masking analytics data based on the specified query parameters. * If CompartmentIdInSubtreeQueryParam is specified as true, the behaviour * is equivalent to accessLevel "ACCESSIBLE" by default. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMaskingAnalytic = oci.datasafe.getMaskingAnalytic({ * compartmentId: compartmentId, * compartmentIdInSubtree: maskingAnalyticCompartmentIdInSubtree === "true", * groupBy: maskingAnalyticGroupBy, * maskingPolicyId: testMaskingPolicy.id, * targetId: testTarget.id, * }); * ``` */ export declare function getMaskingAnalytic(args: GetMaskingAnalyticArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getMaskingAnalytic. */ export interface GetMaskingAnalyticArgs { /** * 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; /** * Attribute by which the masking analytics data should be grouped. */ groupBy?: string; /** * A filter to return only the resources that match the specified masking policy OCID. */ maskingPolicyId?: string; /** * A filter to return only items related to a specific target OCID. */ targetId?: string; } /** * A collection of values returned by getMaskingAnalytic. */ export interface GetMaskingAnalyticResult { readonly compartmentId: string; readonly compartmentIdInSubtree?: boolean; readonly groupBy?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * An array of masking analytics summary objects. */ readonly items: outputs.DataSafe.GetMaskingAnalyticItem[]; readonly maskingPolicyId?: string; /** * The OCID of the target database. */ readonly targetId?: string; } /** * This data source provides details about a specific Masking Analytic resource in Oracle Cloud Infrastructure Data Safe service. * * Gets consolidated masking analytics data based on the specified query parameters. * If CompartmentIdInSubtreeQueryParam is specified as true, the behaviour * is equivalent to accessLevel "ACCESSIBLE" by default. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMaskingAnalytic = oci.datasafe.getMaskingAnalytic({ * compartmentId: compartmentId, * compartmentIdInSubtree: maskingAnalyticCompartmentIdInSubtree === "true", * groupBy: maskingAnalyticGroupBy, * maskingPolicyId: testMaskingPolicy.id, * targetId: testTarget.id, * }); * ``` */ export declare function getMaskingAnalyticOutput(args: GetMaskingAnalyticOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getMaskingAnalytic. */ export interface GetMaskingAnalyticOutputArgs { /** * 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; /** * Attribute by which the masking analytics data should be grouped. */ groupBy?: pulumi.Input; /** * A filter to return only the resources that match the specified masking policy OCID. */ maskingPolicyId?: pulumi.Input; /** * A filter to return only items related to a specific target OCID. */ targetId?: pulumi.Input; } //# sourceMappingURL=getMaskingAnalytic.d.ts.map