import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Compliance Policy Rule resource in Oracle Cloud Infrastructure Fleet Apps Management service. * * Gets information about a compliance policy rule. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCompliancePolicyRule = oci.fleetappsmanagement.getCompliancePolicyRule({ * compliancePolicyRuleId: testCompliancePolicyRuleOciFleetAppsManagementCompliancePolicyRule.id, * }); * ``` */ export declare function getCompliancePolicyRule(args: GetCompliancePolicyRuleArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCompliancePolicyRule. */ export interface GetCompliancePolicyRuleArgs { /** * unique CompliancePolicyRule identifier. */ compliancePolicyRuleId: string; } /** * A collection of values returned by getCompliancePolicyRule. */ export interface GetCompliancePolicyRuleResult { /** * The OCID of the compartment the CompliancePolicyRule belongs to. */ readonly compartmentId: string; /** * Unique OCID of the CompliancePolicy. */ readonly compliancePolicyId: string; readonly compliancePolicyRuleId: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: { [key: string]: string; }; /** * 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; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: { [key: string]: string; }; /** * Grace period in days,weeks,months or years the exemption is applicable for the rule. This enables a grace period when Fleet Application Management doesn't report the product as noncompliant when patch is not applied. */ readonly gracePeriod: string; /** * Unique OCID of the CompliancePolicyRule. */ readonly id: string; /** * A message that describes the current state of the CompliancePolicyRule in more detail. For example, can be used to provide actionable information for a resource in the Failed state. */ readonly lifecycleDetails: string; /** * Patch Selection Details */ readonly patchSelections: outputs.FleetAppsManagement.GetCompliancePolicyRulePatchSelection[]; /** * PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies. */ readonly patchTypeIds: string[]; /** * A specific product version or a specific version and succeeding. Example: 12.1 or 12.1 and above for Oracle WebLogic Application server. The policy applies to the next version only, and not to other versions such as, 12.1.x. */ readonly productVersions: outputs.FleetAppsManagement.GetCompliancePolicyRuleProductVersion[]; /** * Severity to which this CompliancePolicyRule applies. */ readonly severities: string[]; /** * The current state of the CompliancePolicyRule. */ readonly state: string; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * The date and time the CompliancePolicyRule was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeCreated: string; /** * The date and time the CompliancePolicyRule was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeUpdated: string; } /** * This data source provides details about a specific Compliance Policy Rule resource in Oracle Cloud Infrastructure Fleet Apps Management service. * * Gets information about a compliance policy rule. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCompliancePolicyRule = oci.fleetappsmanagement.getCompliancePolicyRule({ * compliancePolicyRuleId: testCompliancePolicyRuleOciFleetAppsManagementCompliancePolicyRule.id, * }); * ``` */ export declare function getCompliancePolicyRuleOutput(args: GetCompliancePolicyRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCompliancePolicyRule. */ export interface GetCompliancePolicyRuleOutputArgs { /** * unique CompliancePolicyRule identifier. */ compliancePolicyRuleId: pulumi.Input; } //# sourceMappingURL=getCompliancePolicyRule.d.ts.map