import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Security Policy resource in Oracle Cloud Infrastructure Data Safe service. * * Gets a security policy by the specified OCID of the security policy resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSecurityPolicy = oci.datasafe.getSecurityPolicy({ * securityPolicyId: testSecurityPolicyOciDataSafeSecurityPolicy.id, * }); * ``` */ export declare function getSecurityPolicy(args: GetSecurityPolicyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSecurityPolicy. */ export interface GetSecurityPolicyArgs { /** * The OCID of the security policy resource. */ securityPolicyId: string; } /** * A collection of values returned by getSecurityPolicy. */ export interface GetSecurityPolicyResult { /** * The OCID of the compartment containing the security policy. */ readonly compartmentId: string; /** * 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 security policy. */ readonly description: string; /** * The display name of the security policy. */ readonly displayName: 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 security policy. */ readonly id: string; /** * Details about the current state of the security policy in Data Safe. */ readonly lifecycleDetails: string; readonly securityPolicyId: string; /** * The type of the security policy. */ readonly securityPolicyType: string; /** * The current state of the security policy. */ readonly state: 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 that the security policy was created, in the format defined by RFC3339. */ readonly timeCreated: string; /** * The last date and time the security policy was updated, in the format defined by RFC3339. */ readonly timeUpdated: string; } /** * This data source provides details about a specific Security Policy resource in Oracle Cloud Infrastructure Data Safe service. * * Gets a security policy by the specified OCID of the security policy resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSecurityPolicy = oci.datasafe.getSecurityPolicy({ * securityPolicyId: testSecurityPolicyOciDataSafeSecurityPolicy.id, * }); * ``` */ export declare function getSecurityPolicyOutput(args: GetSecurityPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSecurityPolicy. */ export interface GetSecurityPolicyOutputArgs { /** * The OCID of the security policy resource. */ securityPolicyId: pulumi.Input; } //# sourceMappingURL=getSecurityPolicy.d.ts.map