import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Unified Audit Policy resource in Oracle Cloud Infrastructure Data Safe service. * * Gets a Unified Audit policy by identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testUnifiedAuditPolicy = oci.datasafe.getUnifiedAuditPolicy({ * unifiedAuditPolicyId: testUnifiedAuditPolicyOciDataSafeUnifiedAuditPolicy.id, * }); * ``` */ export declare function getUnifiedAuditPolicy(args: GetUnifiedAuditPolicyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getUnifiedAuditPolicy. */ export interface GetUnifiedAuditPolicyArgs { /** * The OCID of the Unified Audit policy resource. */ unifiedAuditPolicyId: string; } /** * A collection of values returned by getUnifiedAuditPolicy. */ export interface GetUnifiedAuditPolicyResult { /** * The OCID of the compartment containing the unified audit policy. */ readonly compartmentId: string; /** * Lists the audit policy provisioning conditions. */ readonly conditions: outputs.DataSafe.GetUnifiedAuditPolicyCondition[]; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: string; }; /** * The description of the unified audit policy. */ readonly description: string; /** * The display name of the unified audit policy. */ readonly displayName: string; /** * Indicates on whom the audit policy is enabled. */ readonly enabledEntities: string; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The OCID of the unified audit policy. */ readonly id: string; /** * Indicates whether the unified audit policy is seeded or not. */ readonly isSeeded: boolean; /** * The details of the current state of the unified audit policy in Data Safe. */ readonly lifecycleDetails: string; /** * The OCID of the security policy corresponding to the unified audit policy. */ readonly securityPolicyId: string; /** * The current state of the unified audit policy. */ readonly state: string; /** * Indicates whether the policy has been enabled or disabled. */ readonly status: string; /** * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * The time the the unified audit policy was created, in the format defined by RFC3339. */ readonly timeCreated: string; /** * The last date and time the unified audit policy was updated, in the format defined by RFC3339. */ readonly timeUpdated: string; /** * The OCID of the associated unified audit policy definition. */ readonly unifiedAuditPolicyDefinitionId: string; readonly unifiedAuditPolicyId: string; } /** * This data source provides details about a specific Unified Audit Policy resource in Oracle Cloud Infrastructure Data Safe service. * * Gets a Unified Audit policy by identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testUnifiedAuditPolicy = oci.datasafe.getUnifiedAuditPolicy({ * unifiedAuditPolicyId: testUnifiedAuditPolicyOciDataSafeUnifiedAuditPolicy.id, * }); * ``` */ export declare function getUnifiedAuditPolicyOutput(args: GetUnifiedAuditPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getUnifiedAuditPolicy. */ export interface GetUnifiedAuditPolicyOutputArgs { /** * The OCID of the Unified Audit policy resource. */ unifiedAuditPolicyId: pulumi.Input; } //# sourceMappingURL=getUnifiedAuditPolicy.d.ts.map