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 Policy Rules in Oracle Cloud Infrastructure Fleet Apps Management service. * * Gets a list of Compliance policy rules in a compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCompliancePolicyRules = oci.fleetappsmanagement.getCompliancePolicyRules({ * compartmentId: compartmentId, * compliancePolicyId: testCompliancePolicy.id, * displayName: compliancePolicyRuleDisplayName, * id: compliancePolicyRuleId, * patchName: testPatch.name, * state: compliancePolicyRuleState, * }); * ``` */ export declare function getCompliancePolicyRules(args?: GetCompliancePolicyRulesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCompliancePolicyRules. */ export interface GetCompliancePolicyRulesArgs { /** * The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified. */ compartmentId?: string; /** * unique CompliancePolicy identifier. */ compliancePolicyId?: string; /** * A filter to return only resources that match the entire display name given. */ displayName?: string; filters?: inputs.FleetAppsManagement.GetCompliancePolicyRulesFilter[]; /** * Unique identifier or OCID for listing a single Compliance Policy Rule by id. Either compartmentId or id must be provided. */ id?: string; /** * A filter to return only resources that match the patch selection against the given patch name. */ patchName?: string; /** * A filter to return only resources that match the given lifecycle state. The state value is case-insensitive. */ state?: string; } /** * A collection of values returned by getCompliancePolicyRules. */ export interface GetCompliancePolicyRulesResult { /** * The OCID of the compartment the CompliancePolicyRule belongs to. */ readonly compartmentId?: string; /** * Unique OCID of the CompliancePolicy. */ readonly compliancePolicyId?: string; /** * The list of compliance_policy_rule_collection. */ readonly compliancePolicyRuleCollections: outputs.FleetAppsManagement.GetCompliancePolicyRulesCompliancePolicyRuleCollection[]; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource` */ readonly displayName?: string; readonly filters?: outputs.FleetAppsManagement.GetCompliancePolicyRulesFilter[]; /** * Unique OCID of the CompliancePolicyRule. */ readonly id?: string; /** * Patch Name. */ readonly patchName?: string; /** * The current state of the CompliancePolicyRule. */ readonly state?: string; } /** * This data source provides the list of Compliance Policy Rules in Oracle Cloud Infrastructure Fleet Apps Management service. * * Gets a list of Compliance policy rules in a compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCompliancePolicyRules = oci.fleetappsmanagement.getCompliancePolicyRules({ * compartmentId: compartmentId, * compliancePolicyId: testCompliancePolicy.id, * displayName: compliancePolicyRuleDisplayName, * id: compliancePolicyRuleId, * patchName: testPatch.name, * state: compliancePolicyRuleState, * }); * ``` */ export declare function getCompliancePolicyRulesOutput(args?: GetCompliancePolicyRulesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCompliancePolicyRules. */ export interface GetCompliancePolicyRulesOutputArgs { /** * The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified. */ compartmentId?: pulumi.Input; /** * unique CompliancePolicy identifier. */ compliancePolicyId?: pulumi.Input; /** * A filter to return only resources that match the entire display name given. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Unique identifier or OCID for listing a single Compliance Policy Rule by id. Either compartmentId or id must be provided. */ id?: pulumi.Input; /** * A filter to return only resources that match the patch selection against the given patch name. */ patchName?: pulumi.Input; /** * A filter to return only resources that match the given lifecycle state. The state value is case-insensitive. */ state?: pulumi.Input; } //# sourceMappingURL=getCompliancePolicyRules.d.ts.map