import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Compliance Policy resource in Oracle Cloud Infrastructure Fleet Apps Management service. * * Gets information about a compliance policy. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCompliancePolicy = oci.fleetappsmanagement.getCompliancePolicy({ * compliancePolicyId: testCompliancePolicyOciFleetAppsManagementCompliancePolicy.id, * }); * ``` */ export declare function getCompliancePolicy(args: GetCompliancePolicyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCompliancePolicy. */ export interface GetCompliancePolicyArgs { /** * unique CompliancePolicy identifier. */ compliancePolicyId: string; } /** * A collection of values returned by getCompliancePolicy. */ export interface GetCompliancePolicyResult { /** * The OCID of the compartment the CompliancePolicy belongs to. */ readonly compartmentId: string; readonly compliancePolicyId: 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; }; /** * Display name for the CompliancePolicy. */ 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; }; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * A message that describes the current state of the CompliancePolicy in more detail. For example, can be used to provide actionable information for a resource in the Failed state. */ readonly lifecycleDetails: string; /** * platformConfiguration OCID corresponding to the Product. */ readonly productId: string; /** * The current state of the CompliancePolicy. */ 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 CompliancePolicy 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 CompliancePolicy 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; /** * The type of the Compliance Policy. */ readonly type: string; } /** * This data source provides details about a specific Compliance Policy resource in Oracle Cloud Infrastructure Fleet Apps Management service. * * Gets information about a compliance policy. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCompliancePolicy = oci.fleetappsmanagement.getCompliancePolicy({ * compliancePolicyId: testCompliancePolicyOciFleetAppsManagementCompliancePolicy.id, * }); * ``` */ export declare function getCompliancePolicyOutput(args: GetCompliancePolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCompliancePolicy. */ export interface GetCompliancePolicyOutputArgs { /** * unique CompliancePolicy identifier. */ compliancePolicyId: pulumi.Input; } //# sourceMappingURL=getCompliancePolicy.d.ts.map